[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
Download
/
Senam Line Dance Sidoarjo_files
/
[
Home
]
File: 5jh_Gkm9oUT.js.download
;/*FB_PKG_DELIM*/ __d("Hpke",["$InternalEnum","asyncToGeneratorRuntime"],(function(a,b,c,d,e,f){"use strict";var g=new Uint8Array([0]);a=new TextEncoder();var h=a.encode("psk_id_hash"),i=a.encode("info_hash"),j=a.encode("secret"),k=a.encode("key"),l=a.encode("base_nonce"),m=a.encode("exp"),n=a.encode("HPKE"),o=a.encode("sec");c=b("$InternalEnum")({KemX25519HkdfSha256Id:32});d=b("$InternalEnum")({KdfHkdfSha256Id:1});e=b("$InternalEnum")({AeadAes128GcmId:1,AeadChaCha20Poly1305Id:3});a=function(){function a(a,b,c){this.kem=a,this.kdf=b,this.aead=c}var c=a.prototype;c.setupBaseS=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b){a=(yield this.kem.encap(a));b=(yield this.keySchedule(a.sharedSecret,b));return{enc:a.enc,ctx:b}});function c(b,c){return a.apply(this,arguments)}return c}();c.setupBaseR=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b,c){a=(yield this.kem.decap(a,b));b=(yield this.keySchedule(a,c));return b});function c(b,c,d){return a.apply(this,arguments)}return c}();c.keySchedule=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b){var c=s(this.kem.kem_id,this.kdf.kdf_id,this.aead.aead_id),d=(yield this.kdf.labeledExtract(new Uint8Array(0),h,new Uint8Array(0),c));b=(yield this.kdf.labeledExtract(new Uint8Array(0),i,b,c));d=q(g,d,b);b=(yield this.kdf.labeledExtract(a,j,new Uint8Array(0),c));a=(yield this.kdf.labeledExpand(b,k,d,this.aead.nK,c));var e=(yield this.kdf.labeledExpand(b,l,d,this.aead.nN,c));b=(yield this.kdf.labeledExpand(b,m,d,this.kdf.nH,c));return new p(a,e,p.defaultSeq(this.aead.nN),b,this.aead,this.kdf,c)});function c(b,c){return a.apply(this,arguments)}return c}();c.sealSingleShot=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b,c,d){a=(yield this.setupBaseS(a,b));b=(yield a.ctx.seal(c,d));return{ct:b,enc:a.enc}});function c(b,c,d,e){return a.apply(this,arguments)}return c}();c.openSingleShot=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b,c,d,e){a=(yield this.setupBaseR(a,b,c));b=a.open(d,e);return b});function c(b,c,d,e,f){return a.apply(this,arguments)}return c}();return a}();var p=function(){function a(a,b,c,d,e,f,g){this.key=a,this.base_nonce=b,this.seq=c,this.exporter_secret=d,this.aead=e,this.kdf=f,this.suite_id=g}a.defaultSeq=function(a){return new Uint8Array(a).fill(0)};var c=a.prototype;c.seal=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b){a=(yield this.aead.seal(this.key,this.computeNonce(),a,b));this.incrementSeq();return a});function c(b,c){return a.apply(this,arguments)}return c}();c.open=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b){a=(yield this.aead.open(this.key,this.computeNonce(),a,b));this.incrementSeq();return a});function c(b,c){return a.apply(this,arguments)}return c}();c.computeNonce=function(){return t(this.base_nonce,this.seq)};c.incrementSeq=function(){var a=!1;for(var b=this.seq.byteLength-1;b>=0&&!a;b--)this.seq[b]!==255?(this.seq[b]+=1,a=!0):this.seq[b]=0};c.setSeq=function(a){this.seq=a};c["export"]=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b){a=(yield this.kdf.labeledExpand(this.exporter_secret,o,a,b,this.suite_id));return a});function a(b,c){return a.apply(this,arguments)}return a}();return a}();function q(){var a=0;for(var b=arguments.length,c=new Array(b),d=0;d<b;d++)c[d]=arguments[d];c.forEach(function(b){return a+=b.byteLength});var e=new Uint8Array(a),f=0;c.forEach(function(a){e.set(a,f),f+=a.byteLength});return e}function r(a,b){var c=new Uint8Array(b);a=a;for(var d=0;d<b&&a;d++)c[b-(d+1)]=a%256,a>>=8;return c}function s(a,b,c){a=q(n,r(a,2),r(b,2),r(c,2));return a}function t(a,b){if(a.byteLength!==b.byteLength){var c=new Error("Xor: different length inputs");c.stack;throw c}c=new Uint8Array(a.byteLength);for(var d=0;d<a.byteLength;d++)c[d]=a[d]^b[d];return c}f.KemID=c;f.KdfID=d;f.AeadID=e;f.Hpke=a;f.HpkeCtx=p;f.concat=q;f.i2osp=r;f.hpkeSuiteId=s;f.xor=t}),66); __d("AeadAes128Gcm",["Hpke","asyncToGeneratorRuntime"],(function(a,b,c,d,e,f,g){"use strict";var h=window.crypto||window.msCrypto;a=function(){function a(a){a===void 0&&(a=h.subtle),this.aead_id=d("Hpke").AeadID.AeadAes128GcmId,this.nK=16,this.nN=12,this.nT=16,this.internalCryptoProvider=null,this.internalCryptoProvider=a}var c=a.prototype;c.seal=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b,c,d){a=(yield this.internalCryptoProvider.importKey("raw",a,{name:"AES-GCM"},!0,["encrypt"]));b={name:"AES-GCM",iv:b,additionalData:c};c=(yield this.internalCryptoProvider.encrypt(b,a,d));return new Uint8Array(c)});function c(b,c,d,e){return a.apply(this,arguments)}return c}();c.open=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b,c,d){a=(yield this.internalCryptoProvider.importKey("raw",a,{name:"AES-GCM"},!0,["decrypt"]));b={name:"AES-GCM",iv:b,additionalData:c};c=(yield this.internalCryptoProvider.decrypt(b,a,d));return new Uint8Array(c)});function c(b,c,d,e){return a.apply(this,arguments)}return c}();return a}();g.AeadAes128Gcm=a}),98); /** * License: https://www.facebook.com/legal/license/t3hOLs8wlXy/ */ __d("stablelib-int-1.0.1",[],(function(a,b,c,d,e,f){"use strict";var g={},h={exports:g};function i(){Object.defineProperty(g,"__esModule",{value:!0});function a(a,b){var c=a>>>16&65535;a=a&65535;var d=b>>>16&65535;b=b&65535;return a*b+(c*b+a*d<<16>>>0)|0}g.mul=Math.imul||a;function b(a,b){return a+b|0}g.add=b;function c(a,b){return a-b|0}g.sub=c;function d(a,b){return a<<b|a>>>32-b}g.rotl=d;function e(a,b){return a<<32-b|a>>>b}g.rotr=e;function f(a){return typeof a==="number"&&isFinite(a)&&Math.floor(a)===a}g.isInteger=Number.isInteger||f;g.MAX_SAFE_INTEGER=9007199254740991;g.isSafeInteger=function(a){return g.isInteger(a)&&a>=-g.MAX_SAFE_INTEGER&&a<=g.MAX_SAFE_INTEGER}}var j=!1;function k(){j||(j=!0,i());return h.exports}function a(a){switch(a){case void 0:return k()}}e.exports=a}),null); /** * License: https://www.facebook.com/legal/license/t3hOLs8wlXy/ */ __d("stablelib-binary-1.0.1",["stablelib-int-1.0.1"],(function(a,b,c,d,e,f){"use strict";function a(a){return a&&typeof a==="object"&&"default"in a?a["default"]:a}var g=a(b("stablelib-int-1.0.1")),h={},i={exports:h};function j(){Object.defineProperty(h,"__esModule",{value:!0});var a=g();function b(a,b){b===void 0&&(b=0);return(a[b+0]<<8|a[b+1])<<16>>16}h.readInt16BE=b;function c(a,b){b===void 0&&(b=0);return(a[b+0]<<8|a[b+1])>>>0}h.readUint16BE=c;function d(a,b){b===void 0&&(b=0);return(a[b+1]<<8|a[b])<<16>>16}h.readInt16LE=d;function e(a,b){b===void 0&&(b=0);return(a[b+1]<<8|a[b])>>>0}h.readUint16LE=e;function f(a,b,c){b===void 0&&(b=new Uint8Array(2));c===void 0&&(c=0);b[c+0]=a>>>8;b[c+1]=a>>>0;return b}h.writeUint16BE=f;h.writeInt16BE=f;function i(a,b,c){b===void 0&&(b=new Uint8Array(2));c===void 0&&(c=0);b[c+0]=a>>>0;b[c+1]=a>>>8;return b}h.writeUint16LE=i;h.writeInt16LE=i;function j(a,b){b===void 0&&(b=0);return a[b]<<24|a[b+1]<<16|a[b+2]<<8|a[b+3]}h.readInt32BE=j;function k(a,b){b===void 0&&(b=0);return(a[b]<<24|a[b+1]<<16|a[b+2]<<8|a[b+3])>>>0}h.readUint32BE=k;function l(a,b){b===void 0&&(b=0);return a[b+3]<<24|a[b+2]<<16|a[b+1]<<8|a[b]}h.readInt32LE=l;function m(a,b){b===void 0&&(b=0);return(a[b+3]<<24|a[b+2]<<16|a[b+1]<<8|a[b])>>>0}h.readUint32LE=m;function n(a,b,c){b===void 0&&(b=new Uint8Array(4));c===void 0&&(c=0);b[c+0]=a>>>24;b[c+1]=a>>>16;b[c+2]=a>>>8;b[c+3]=a>>>0;return b}h.writeUint32BE=n;h.writeInt32BE=n;function o(a,b,c){b===void 0&&(b=new Uint8Array(4));c===void 0&&(c=0);b[c+0]=a>>>0;b[c+1]=a>>>8;b[c+2]=a>>>16;b[c+3]=a>>>24;return b}h.writeUint32LE=o;h.writeInt32LE=o;function p(a,b){b===void 0&&(b=0);var c=j(a,b);a=j(a,b+4);return c*4294967296+a-(a>>31)*4294967296}h.readInt64BE=p;function q(a,b){b===void 0&&(b=0);var c=k(a,b);a=k(a,b+4);return c*4294967296+a}h.readUint64BE=q;function r(a,b){b===void 0&&(b=0);var c=l(a,b);a=l(a,b+4);return a*4294967296+c-(c>>31)*4294967296}h.readInt64LE=r;function s(a,b){b===void 0&&(b=0);var c=m(a,b);a=m(a,b+4);return a*4294967296+c}h.readUint64LE=s;function t(a,b,c){b===void 0&&(b=new Uint8Array(8));c===void 0&&(c=0);n(a/4294967296>>>0,b,c);n(a>>>0,b,c+4);return b}h.writeUint64BE=t;h.writeInt64BE=t;function u(a,b,c){b===void 0&&(b=new Uint8Array(8));c===void 0&&(c=0);o(a>>>0,b,c);o(a/4294967296>>>0,b,c+4);return b}h.writeUint64LE=u;h.writeInt64LE=u;function v(a,b,c){c===void 0&&(c=0);if(a%8!==0)throw new Error("readUintBE supports only bitLengths divisible by 8");if(a/8>b.length-c)throw new Error("readUintBE: array is too short for the given bitLength");var d=0,e=1;for(a=a/8+c-1;a>=c;a--)d+=b[a]*e,e*=256;return d}h.readUintBE=v;function w(a,b,c){c===void 0&&(c=0);if(a%8!==0)throw new Error("readUintLE supports only bitLengths divisible by 8");if(a/8>b.length-c)throw new Error("readUintLE: array is too short for the given bitLength");var d=0,e=1;for(var f=c;f<c+a/8;f++)d+=b[f]*e,e*=256;return d}h.readUintLE=w;function x(b,c,d,e){d===void 0&&(d=new Uint8Array(b/8));e===void 0&&(e=0);if(b%8!==0)throw new Error("writeUintBE supports only bitLengths divisible by 8");if(!a.isSafeInteger(c))throw new Error("writeUintBE value must be an integer");var f=1;for(b=b/8+e-1;b>=e;b--)d[b]=c/f&255,f*=256;return d}h.writeUintBE=x;function y(b,c,d,e){d===void 0&&(d=new Uint8Array(b/8));e===void 0&&(e=0);if(b%8!==0)throw new Error("writeUintLE supports only bitLengths divisible by 8");if(!a.isSafeInteger(c))throw new Error("writeUintLE value must be an integer");var f=1;for(var g=e;g<e+b/8;g++)d[g]=c/f&255,f*=256;return d}h.writeUintLE=y;function z(a,b){b===void 0&&(b=0);a=new DataView(a.buffer,a.byteOffset,a.byteLength);return a.getFloat32(b)}h.readFloat32BE=z;function A(a,b){b===void 0&&(b=0);a=new DataView(a.buffer,a.byteOffset,a.byteLength);return a.getFloat32(b,!0)}h.readFloat32LE=A;function B(a,b){b===void 0&&(b=0);a=new DataView(a.buffer,a.byteOffset,a.byteLength);return a.getFloat64(b)}h.readFloat64BE=B;function C(a,b){b===void 0&&(b=0);a=new DataView(a.buffer,a.byteOffset,a.byteLength);return a.getFloat64(b,!0)}h.readFloat64LE=C;function D(a,b,c){b===void 0&&(b=new Uint8Array(4));c===void 0&&(c=0);var d=new DataView(b.buffer,b.byteOffset,b.byteLength);d.setFloat32(c,a);return b}h.writeFloat32BE=D;function E(a,b,c){b===void 0&&(b=new Uint8Array(4));c===void 0&&(c=0);var d=new DataView(b.buffer,b.byteOffset,b.byteLength);d.setFloat32(c,a,!0);return b}h.writeFloat32LE=E;function F(a,b,c){b===void 0&&(b=new Uint8Array(8));c===void 0&&(c=0);var d=new DataView(b.buffer,b.byteOffset,b.byteLength);d.setFloat64(c,a);return b}h.writeFloat64BE=F;function G(a,b,c){b===void 0&&(b=new Uint8Array(8));c===void 0&&(c=0);var d=new DataView(b.buffer,b.byteOffset,b.byteLength);d.setFloat64(c,a,!0);return b}h.writeFloat64LE=G}var k=!1;function l(){k||(k=!0,j());return i.exports}function c(a){switch(a){case void 0:return l()}}e.exports=c}),null); /** * License: https://www.facebook.com/legal/license/t3hOLs8wlXy/ */ __d("stablelib-wipe-1.0.1",[],(function(a,b,c,d,e,f){"use strict";var g={},h={exports:g};function i(){Object.defineProperty(g,"__esModule",{value:!0});function a(a){for(var b=0;b<a.length;b++)a[b]=0;return a}g.wipe=a}var j=!1;function k(){j||(j=!0,i());return h.exports}function a(a){switch(a){case void 0:return k()}}e.exports=a}),null); /** * License: https://www.facebook.com/legal/license/t3hOLs8wlXy/ */ __d("stablelib-chacha-1.0.1",["stablelib-binary-1.0.1","stablelib-wipe-1.0.1"],(function(a,b,c,d,e,f){"use strict";function a(a){return a&&typeof a==="object"&&"default"in a?a["default"]:a}var g=a(b("stablelib-binary-1.0.1")),h=a(b("stablelib-wipe-1.0.1")),i={},j={exports:i};function k(){Object.defineProperty(i,"__esModule",{value:!0});var a=g(),b=h(),c=20;function d(b,d,e){var f=1634760805,g=857760878,h=2036477234,i=1797285236,j=e[3]<<24|e[2]<<16|e[1]<<8|e[0],k=e[7]<<24|e[6]<<16|e[5]<<8|e[4],l=e[11]<<24|e[10]<<16|e[9]<<8|e[8],m=e[15]<<24|e[14]<<16|e[13]<<8|e[12],n=e[19]<<24|e[18]<<16|e[17]<<8|e[16],o=e[23]<<24|e[22]<<16|e[21]<<8|e[20],p=e[27]<<24|e[26]<<16|e[25]<<8|e[24];e=e[31]<<24|e[30]<<16|e[29]<<8|e[28];var q=d[3]<<24|d[2]<<16|d[1]<<8|d[0],r=d[7]<<24|d[6]<<16|d[5]<<8|d[4],s=d[11]<<24|d[10]<<16|d[9]<<8|d[8];d=d[15]<<24|d[14]<<16|d[13]<<8|d[12];var t=f,u=g,v=h,w=i,x=j,y=k,z=l,A=m,B=n,C=o,D=p,E=e,F=q,G=r,H=s,I=d;for(var J=0;J<c;J+=2)t=t+x|0,F^=t,F=F>>>32-16|F<<16,B=B+F|0,x^=B,x=x>>>32-12|x<<12,u=u+y|0,G^=u,G=G>>>32-16|G<<16,C=C+G|0,y^=C,y=y>>>32-12|y<<12,v=v+z|0,H^=v,H=H>>>32-16|H<<16,D=D+H|0,z^=D,z=z>>>32-12|z<<12,w=w+A|0,I^=w,I=I>>>32-16|I<<16,E=E+I|0,A^=E,A=A>>>32-12|A<<12,v=v+z|0,H^=v,H=H>>>32-8|H<<8,D=D+H|0,z^=D,z=z>>>32-7|z<<7,w=w+A|0,I^=w,I=I>>>32-8|I<<8,E=E+I|0,A^=E,A=A>>>32-7|A<<7,u=u+y|0,G^=u,G=G>>>32-8|G<<8,C=C+G|0,y^=C,y=y>>>32-7|y<<7,t=t+x|0,F^=t,F=F>>>32-8|F<<8,B=B+F|0,x^=B,x=x>>>32-7|x<<7,t=t+y|0,I^=t,I=I>>>32-16|I<<16,D=D+I|0,y^=D,y=y>>>32-12|y<<12,u=u+z|0,F^=u,F=F>>>32-16|F<<16,E=E+F|0,z^=E,z=z>>>32-12|z<<12,v=v+A|0,G^=v,G=G>>>32-16|G<<16,B=B+G|0,A^=B,A=A>>>32-12|A<<12,w=w+x|0,H^=w,H=H>>>32-16|H<<16,C=C+H|0,x^=C,x=x>>>32-12|x<<12,v=v+A|0,G^=v,G=G>>>32-8|G<<8,B=B+G|0,A^=B,A=A>>>32-7|A<<7,w=w+x|0,H^=w,H=H>>>32-8|H<<8,C=C+H|0,x^=C,x=x>>>32-7|x<<7,u=u+z|0,F^=u,F=F>>>32-8|F<<8,E=E+F|0,z^=E,z=z>>>32-7|z<<7,t=t+y|0,I^=t,I=I>>>32-8|I<<8,D=D+I|0,y^=D,y=y>>>32-7|y<<7;a.writeUint32LE(t+f|0,b,0);a.writeUint32LE(u+g|0,b,4);a.writeUint32LE(v+h|0,b,8);a.writeUint32LE(w+i|0,b,12);a.writeUint32LE(x+j|0,b,16);a.writeUint32LE(y+k|0,b,20);a.writeUint32LE(z+l|0,b,24);a.writeUint32LE(A+m|0,b,28);a.writeUint32LE(B+n|0,b,32);a.writeUint32LE(C+o|0,b,36);a.writeUint32LE(D+p|0,b,40);a.writeUint32LE(E+e|0,b,44);a.writeUint32LE(F+q|0,b,48);a.writeUint32LE(G+r|0,b,52);a.writeUint32LE(H+s|0,b,56);a.writeUint32LE(I+d|0,b,60)}function e(a,c,e,f,g){g===void 0&&(g=0);if(a.length!==32)throw new Error("ChaCha: key size must be 32 bytes");if(f.length<e.length)throw new Error("ChaCha: destination is shorter than source");var h,i;if(g===0){if(c.length!==8&&c.length!==12)throw new Error("ChaCha nonce must be 8 or 12 bytes");h=new Uint8Array(16);i=h.length-c.length;h.set(c,i)}else{if(c.length!==16)throw new Error("ChaCha nonce with counter must be 16 bytes");h=c;i=g}c=new Uint8Array(64);for(var k=0;k<e.length;k+=64){d(c,h,a);for(var l=k;l<k+64&&l<e.length;l++)f[l]=e[l]^c[l-k];j(h,0,i)}b.wipe(c);g===0&&b.wipe(h);return f}i.streamXOR=e;function f(a,c,d,f){f===void 0&&(f=0);b.wipe(d);return e(a,c,d,d,f)}i.stream=f;function j(a,b,c){var d=1;while(c--)d=d+(a[b]&255)|0,a[b]=d&255,d>>>=8,b++;if(d>0)throw new Error("ChaCha: counter overflow")}}var l=!1;function m(){l||(l=!0,k());return j.exports}function c(a){switch(a){case void 0:return m()}}e.exports=c}),null); /** * License: https://www.facebook.com/legal/license/t3hOLs8wlXy/ */ __d("stablelib-constant-time-1.0.1",[],(function(a,b,c,d,e,f){"use strict";var g={},h={exports:g};function i(){Object.defineProperty(g,"__esModule",{value:!0});function a(a,b,c){return~(a-1)&b|a-1&c}g.select=a;function b(a,b){return(a|0)-(b|0)-1>>>31&1}g.lessOrEqual=b;function c(a,b){if(a.length!==b.length)return 0;var c=0;for(var d=0;d<a.length;d++)c|=a[d]^b[d];return 1&c-1>>>8}g.compare=c;function d(a,b){return a.length===0||b.length===0?!1:c(a,b)!==0}g.equal=d}var j=!1;function k(){j||(j=!0,i());return h.exports}function a(a){switch(a){case void 0:return k()}}e.exports=a}),null); /** * License: https://www.facebook.com/legal/license/t3hOLs8wlXy/ */ __d("stablelib-poly1305-1.0.1",["stablelib-constant-time-1.0.1","stablelib-wipe-1.0.1"],(function(a,b,c,d,e,f){"use strict";function a(a){return a&&typeof a==="object"&&"default"in a?a["default"]:a}var g=a(b("stablelib-constant-time-1.0.1")),h=a(b("stablelib-wipe-1.0.1")),i={},j={exports:i};function k(){Object.defineProperty(i,"__esModule",{value:!0});var a=g(),b=h();i.DIGEST_LENGTH=16;var c=function(){function a(a){this.digestLength=i.DIGEST_LENGTH;this._buffer=new Uint8Array(16);this._r=new Uint16Array(10);this._h=new Uint16Array(10);this._pad=new Uint16Array(8);this._leftover=0;this._fin=0;this._finished=!1;var b=a[0]|a[1]<<8;this._r[0]=b&8191;var c=a[2]|a[3]<<8;this._r[1]=(b>>>13|c<<3)&8191;b=a[4]|a[5]<<8;this._r[2]=(c>>>10|b<<6)&7939;c=a[6]|a[7]<<8;this._r[3]=(b>>>7|c<<9)&8191;b=a[8]|a[9]<<8;this._r[4]=(c>>>4|b<<12)&255;this._r[5]=b>>>1&8190;c=a[10]|a[11]<<8;this._r[6]=(b>>>14|c<<2)&8191;b=a[12]|a[13]<<8;this._r[7]=(c>>>11|b<<5)&8065;c=a[14]|a[15]<<8;this._r[8]=(b>>>8|c<<8)&8191;this._r[9]=c>>>5&127;this._pad[0]=a[16]|a[17]<<8;this._pad[1]=a[18]|a[19]<<8;this._pad[2]=a[20]|a[21]<<8;this._pad[3]=a[22]|a[23]<<8;this._pad[4]=a[24]|a[25]<<8;this._pad[5]=a[26]|a[27]<<8;this._pad[6]=a[28]|a[29]<<8;this._pad[7]=a[30]|a[31]<<8}a.prototype._blocks=function(a,b,c){var d=this._fin?0:1<<11,e=this._h[0],f=this._h[1],g=this._h[2],h=this._h[3],i=this._h[4],j=this._h[5],k=this._h[6],l=this._h[7],m=this._h[8],n=this._h[9],o=this._r[0],p=this._r[1],q=this._r[2],r=this._r[3],s=this._r[4],t=this._r[5],u=this._r[6],v=this._r[7],w=this._r[8],x=this._r[9];while(c>=16){var y=a[b+0]|a[b+1]<<8;e+=y&8191;var z=a[b+2]|a[b+3]<<8;f+=(y>>>13|z<<3)&8191;y=a[b+4]|a[b+5]<<8;g+=(z>>>10|y<<6)&8191;z=a[b+6]|a[b+7]<<8;h+=(y>>>7|z<<9)&8191;y=a[b+8]|a[b+9]<<8;i+=(z>>>4|y<<12)&8191;j+=y>>>1&8191;z=a[b+10]|a[b+11]<<8;k+=(y>>>14|z<<2)&8191;y=a[b+12]|a[b+13]<<8;l+=(z>>>11|y<<5)&8191;z=a[b+14]|a[b+15]<<8;m+=(y>>>8|z<<8)&8191;n+=z>>>5|d;y=0;z=y;z+=e*o;z+=f*(5*x);z+=g*(5*w);z+=h*(5*v);z+=i*(5*u);y=z>>>13;z&=8191;z+=j*(5*t);z+=k*(5*s);z+=l*(5*r);z+=m*(5*q);z+=n*(5*p);y+=z>>>13;z&=8191;var A=y;A+=e*p;A+=f*o;A+=g*(5*x);A+=h*(5*w);A+=i*(5*v);y=A>>>13;A&=8191;A+=j*(5*u);A+=k*(5*t);A+=l*(5*s);A+=m*(5*r);A+=n*(5*q);y+=A>>>13;A&=8191;var B=y;B+=e*q;B+=f*p;B+=g*o;B+=h*(5*x);B+=i*(5*w);y=B>>>13;B&=8191;B+=j*(5*v);B+=k*(5*u);B+=l*(5*t);B+=m*(5*s);B+=n*(5*r);y+=B>>>13;B&=8191;var C=y;C+=e*r;C+=f*q;C+=g*p;C+=h*o;C+=i*(5*x);y=C>>>13;C&=8191;C+=j*(5*w);C+=k*(5*v);C+=l*(5*u);C+=m*(5*t);C+=n*(5*s);y+=C>>>13;C&=8191;var D=y;D+=e*s;D+=f*r;D+=g*q;D+=h*p;D+=i*o;y=D>>>13;D&=8191;D+=j*(5*x);D+=k*(5*w);D+=l*(5*v);D+=m*(5*u);D+=n*(5*t);y+=D>>>13;D&=8191;var E=y;E+=e*t;E+=f*s;E+=g*r;E+=h*q;E+=i*p;y=E>>>13;E&=8191;E+=j*o;E+=k*(5*x);E+=l*(5*w);E+=m*(5*v);E+=n*(5*u);y+=E>>>13;E&=8191;var F=y;F+=e*u;F+=f*t;F+=g*s;F+=h*r;F+=i*q;y=F>>>13;F&=8191;F+=j*p;F+=k*o;F+=l*(5*x);F+=m*(5*w);F+=n*(5*v);y+=F>>>13;F&=8191;var G=y;G+=e*v;G+=f*u;G+=g*t;G+=h*s;G+=i*r;y=G>>>13;G&=8191;G+=j*q;G+=k*p;G+=l*o;G+=m*(5*x);G+=n*(5*w);y+=G>>>13;G&=8191;var H=y;H+=e*w;H+=f*v;H+=g*u;H+=h*t;H+=i*s;y=H>>>13;H&=8191;H+=j*r;H+=k*q;H+=l*p;H+=m*o;H+=n*(5*x);y+=H>>>13;H&=8191;var I=y;I+=e*x;I+=f*w;I+=g*v;I+=h*u;I+=i*t;y=I>>>13;I&=8191;I+=j*s;I+=k*r;I+=l*q;I+=m*p;I+=n*o;y+=I>>>13;I&=8191;y=(y<<2)+y|0;y=y+z|0;z=y&8191;y=y>>>13;A+=y;e=z;f=A;g=B;h=C;i=D;j=E;k=F;l=G;m=H;n=I;b+=16;c-=16}this._h[0]=e;this._h[1]=f;this._h[2]=g;this._h[3]=h;this._h[4]=i;this._h[5]=j;this._h[6]=k;this._h[7]=l;this._h[8]=m;this._h[9]=n};a.prototype.finish=function(a,b){b===void 0&&(b=0);var c=new Uint16Array(10),d,e;if(this._leftover){e=this._leftover;this._buffer[e++]=1;for(;e<16;e++)this._buffer[e]=0;this._fin=1;this._blocks(this._buffer,0,16)}d=this._h[1]>>>13;this._h[1]&=8191;for(e=2;e<10;e++)this._h[e]+=d,d=this._h[e]>>>13,this._h[e]&=8191;this._h[0]+=d*5;d=this._h[0]>>>13;this._h[0]&=8191;this._h[1]+=d;d=this._h[1]>>>13;this._h[1]&=8191;this._h[2]+=d;c[0]=this._h[0]+5;d=c[0]>>>13;c[0]&=8191;for(e=1;e<10;e++)c[e]=this._h[e]+d,d=c[e]>>>13,c[e]&=8191;c[9]-=1<<13;d=(d^1)-1;for(e=0;e<10;e++)c[e]&=d;d=~d;for(e=0;e<10;e++)this._h[e]=this._h[e]&d|c[e];this._h[0]=(this._h[0]|this._h[1]<<13)&65535;this._h[1]=(this._h[1]>>>3|this._h[2]<<10)&65535;this._h[2]=(this._h[2]>>>6|this._h[3]<<7)&65535;this._h[3]=(this._h[3]>>>9|this._h[4]<<4)&65535;this._h[4]=(this._h[4]>>>12|this._h[5]<<1|this._h[6]<<14)&65535;this._h[5]=(this._h[6]>>>2|this._h[7]<<11)&65535;this._h[6]=(this._h[7]>>>5|this._h[8]<<8)&65535;this._h[7]=(this._h[8]>>>8|this._h[9]<<5)&65535;c=this._h[0]+this._pad[0];this._h[0]=c&65535;for(e=1;e<8;e++)c=(this._h[e]+this._pad[e]|0)+(c>>>16)|0,this._h[e]=c&65535;a[b+0]=this._h[0]>>>0;a[b+1]=this._h[0]>>>8;a[b+2]=this._h[1]>>>0;a[b+3]=this._h[1]>>>8;a[b+4]=this._h[2]>>>0;a[b+5]=this._h[2]>>>8;a[b+6]=this._h[3]>>>0;a[b+7]=this._h[3]>>>8;a[b+8]=this._h[4]>>>0;a[b+9]=this._h[4]>>>8;a[b+10]=this._h[5]>>>0;a[b+11]=this._h[5]>>>8;a[b+12]=this._h[6]>>>0;a[b+13]=this._h[6]>>>8;a[b+14]=this._h[7]>>>0;a[b+15]=this._h[7]>>>8;this._finished=!0;return this};a.prototype.update=function(a){var b=0,c=a.length,d;if(this._leftover){d=16-this._leftover;d>c&&(d=c);for(var e=0;e<d;e++)this._buffer[this._leftover+e]=a[b+e];c-=d;b+=d;this._leftover+=d;if(this._leftover<16)return this;this._blocks(this._buffer,0,16);this._leftover=0}c>=16&&(d=c-c%16,this._blocks(a,b,d),b+=d,c-=d);if(c){for(var e=0;e<c;e++)this._buffer[this._leftover+e]=a[b+e];this._leftover+=c}return this};a.prototype.digest=function(){if(this._finished)throw new Error("Poly1305 was finished");var a=new Uint8Array(16);this.finish(a);return a};a.prototype.clean=function(){b.wipe(this._buffer);b.wipe(this._r);b.wipe(this._h);b.wipe(this._pad);this._leftover=0;this._fin=0;this._finished=!0;return this};return a}();i.Poly1305=c;function d(a,b){a=new c(a);a.update(b);b=a.digest();a.clean();return b}i.oneTimeAuth=d;function e(b,c){return b.length!==i.DIGEST_LENGTH||c.length!==i.DIGEST_LENGTH?!1:a.equal(b,c)}i.equal=e}var l=!1;function m(){l||(l=!0,k());return j.exports}function c(a){switch(a){case void 0:return m()}}e.exports=c}),null); /** * License: https://www.facebook.com/legal/license/t3hOLs8wlXy/ */ __d("stablelib-chacha20poly1305-1.0.1",["stablelib-chacha-1.0.1","stablelib-poly1305-1.0.1","stablelib-wipe-1.0.1","stablelib-binary-1.0.1","stablelib-constant-time-1.0.1"],(function(a,b,c,d,e,f){"use strict";function a(a){return a&&typeof a==="object"&&"default"in a?a["default"]:a}var g=a(b("stablelib-chacha-1.0.1")),h=a(b("stablelib-poly1305-1.0.1")),i=a(b("stablelib-wipe-1.0.1")),j=a(b("stablelib-binary-1.0.1")),k=a(b("stablelib-constant-time-1.0.1")),l={},m={exports:l};function n(){Object.defineProperty(l,"__esModule",{value:!0});var a=g(),b=h(),c=i(),d=j(),e=k();l.KEY_LENGTH=32;l.NONCE_LENGTH=12;l.TAG_LENGTH=16;var f=new Uint8Array(16),m=function(){function g(a){this.nonceLength=l.NONCE_LENGTH;this.tagLength=l.TAG_LENGTH;if(a.length!==l.KEY_LENGTH)throw new Error("ChaCha20Poly1305 needs 32-byte key");this._key=new Uint8Array(a)}g.prototype.seal=function(b,d,e,f){if(b.length>16)throw new Error("ChaCha20Poly1305: incorrect nonce length");var g=new Uint8Array(16);g.set(b,g.length-b.length);b=new Uint8Array(32);a.stream(this._key,g,b,4);var h=d.length+this.tagLength;if(f){if(f.length!==h)throw new Error("ChaCha20Poly1305: incorrect destination length");f=f}else f=new Uint8Array(h);a.streamXOR(this._key,g,d,f,4);this._authenticate(f.subarray(f.length-this.tagLength,f.length),b,f.subarray(0,f.length-this.tagLength),e);c.wipe(g);return f};g.prototype.open=function(b,d,f,g){if(b.length>16)throw new Error("ChaCha20Poly1305: incorrect nonce length");if(d.length<this.tagLength)return null;var h=new Uint8Array(16);h.set(b,h.length-b.length);b=new Uint8Array(32);a.stream(this._key,h,b,4);var i=new Uint8Array(this.tagLength);this._authenticate(i,b,d.subarray(0,d.length-this.tagLength),f);if(!e.equal(i,d.subarray(d.length-this.tagLength,d.length)))return null;b=d.length-this.tagLength;if(g){if(g.length!==b)throw new Error("ChaCha20Poly1305: incorrect destination length");f=g}else f=new Uint8Array(b);a.streamXOR(this._key,h,d.subarray(0,d.length-this.tagLength),f,4);c.wipe(h);return f};g.prototype.clean=function(){c.wipe(this._key);return this};g.prototype._authenticate=function(a,e,g,h){e=new b.Poly1305(e);h&&(e.update(h),h.length%16>0&&e.update(f.subarray(h.length%16)));e.update(g);g.length%16>0&&e.update(f.subarray(g.length%16));var i=new Uint8Array(8);h&&d.writeUint64LE(h.length,i);e.update(i);d.writeUint64LE(g.length,i);e.update(i);h=e.digest();for(g=0;g<h.length;g++)a[g]=h[g];e.clean();c.wipe(h);c.wipe(i)};return g}();l.ChaCha20Poly1305=m}var o=!1;function p(){o||(o=!0,n());return m.exports}function c(a){switch(a){case void 0:return p()}}e.exports=c}),null); __d("AeadChaPoly",["Hpke","stablelib-chacha20poly1305-1.0.1"],(function(a,b,c,d,e,f,g){"use strict";var h=c("stablelib-chacha20poly1305-1.0.1")();a=function(){function a(){this.aead_id=d("Hpke").AeadID.AeadChaCha20Poly1305Id,this.nK=32,this.nN=12,this.nT=16}var b=a.prototype;b.seal=function(a,b,c,d){a=new h.ChaCha20Poly1305(a);a=a.seal(b,d,c);return a};b.open=function(a,b,c,d){a=new h.ChaCha20Poly1305(a);a=a.open(b,d,c);return a};return a}();g.AeadChaPoly=a}),98); __d("QuicIntCodec",["FBLogger"],(function(a,b,c,d,e,f,g){"use strict";var h=63,i=255,j=64,k=128,l=192,m=64,n=16384,o=1073741824,p=2147483647;function q(a){if(a<m)return 1;if(a<n)return 2;if(a<o)return 4;if(a>p)throw c("FBLogger")("quic_codec").mustfixThrow("Number too large to encode");return 8}function r(a,b){var d=a[b],e=d>>6;e=1<<e;d&=h;if(e===8&&(d>0||a[b+1]>0||a[b+2]>0||a[b+3]>0))throw c("FBLogger")("quic_codec").mustfixThrow("Number is too large to decode");for(var f=1;f<e;f++)d=d<<8|a[b+f];return[d,b+e]}function s(a,b,c){a=a;var d=q(a);for(var e=d-1;e>0;e--)b[c+e]=a&i,a>>=8;e=d===8?l:d===4?k:d===2?j:0;b[c]=e|a&h;return c+d}function a(a){a=r(a,0);var b=a[0];a[1];return b}function b(a){var b=q(a);b=new Uint8Array(b);s(a,b,0);return b}g.getByteLength=q;g.decodeQuicIntWithExistingBuffer=r;g.encodeWithExistingBuffer=s;g.decode=a;g.encode=b}),98); __d("HttpRequestBinaryEncode",["QuicIntCodec","asyncToGeneratorRuntime"],(function(a,b,c,d,e,f,g){"use strict";function h(a){a=new URL(a.url);return{host:a.host,path:a.pathname+a.search,scheme:a.protocol.replace(":","")}}function i(a,b){var c,e=0,f=[],g=b.encode(a.method),i=g.byteLength;e+=(c=d("QuicIntCodec")).getByteLength(i)+i;f.push(g);i=h(a);g=i.host;a=i.path;i=i.scheme;i=b.encode(i);var j=i.byteLength;e+=c.getByteLength(j)+j;f.push(i);j=b.encode(g);i=j.byteLength;e+=c.getByteLength(i)+i;f.push(j);g=b.encode(a);i=g.byteLength;e+=c.getByteLength(i)+i;f.push(g);return{length:e,steps:f}}function j(a,b,c){var e=0,f=[],g=new Map(a.headers);c&&!g.has("Host")&&g.set("Host",new URL(a.url).host);for(c of g){a=c[0];g=c[1];a=b.encode(a);var h=a.byteLength;e+=d("QuicIntCodec").getByteLength(h)+h;f.push(a);h=b.encode(g);a=h.byteLength;e+=d("QuicIntCodec").getByteLength(h.byteLength)+a;f.push(h)}return{length:e,steps:[e].concat(f)}}function k(a,b){return l.apply(this,arguments)}function l(){l=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b){var c=new TextEncoder(),e=0,f=[];f.push(0);e++;var g=i(a,c),h=g.length;g=g.steps;e+=h;f.push.apply(f,g);h=j(a,c,b);g=h.length;c=h.steps;e+=d("QuicIntCodec").getByteLength(g)+g;f.push.apply(f,c);b=new Uint8Array(yield a.arrayBuffer());h=b.byteLength;e+=d("QuicIntCodec").getByteLength(h)+h;f.push(b);f.push(0);e++;return{length:e,steps:f}});return l.apply(this,arguments)}function a(a,b){return m.apply(this,arguments)}function m(){m=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b){b===void 0&&(b=!1);a=(yield k(a,b));b=a.length;a=a.steps;b=new Uint8Array(b);var c=0;for(a of a)typeof a==="number"?c=d("QuicIntCodec").encodeWithExistingBuffer(a,b,c):(c=d("QuicIntCodec").encodeWithExistingBuffer(a.length,b,c),b.set(a,c),c+=a.length);return b});return m.apply(this,arguments)}g.binaryEncodeRequest=a}),98); __d("HttpResponseBinaryDecode",["FBLogger","QuicIntCodec"],(function(a,b,c,d,e,f,g){"use strict";function h(a,b,e){e=e;var f=new Headers(),g=d("QuicIntCodec").decodeQuicIntWithExistingBuffer(a,e),h=g[0];g=g[1];h=g+h;e=g;while(e<h){g=d("QuicIntCodec").decodeQuicIntWithExistingBuffer(a,e);var i=g[0];g=g[1];var j=b.decode(a.slice(g,g+i));e=g+i;g=d("QuicIntCodec").decodeQuicIntWithExistingBuffer(a,e);i=g[0];g=g[1];var k=b.decode(a.slice(g,g+i));e=g+i;f.append(j,k)}if(h!==e)throw c("FBLogger")("http_binary").mustfixThrow("Decode response with header length mismatch");return{headers:f,offset:e}}function a(a){var b=a[0];if(b!==1)throw c("FBLogger")("http_binary").mustfixThrow("Framing indicator must be 1, but got %s instead",b);b=1;var e=new TextDecoder(),f=d("QuicIntCodec").decodeQuicIntWithExistingBuffer(a,b),g=f[0];f=f[1];b=f;f=b>=a.byteLength?{offset:b,headers:new Headers()}:h(a,e,b);b=f.offset;e=b>=a.byteLength?[0,b]:d("QuicIntCodec").decodeQuicIntWithExistingBuffer(a,b);var i=e[0];e=e[1];b=e;e=i<1?void 0:a.slice(b,b+i);return new Response(e,{headers:f.headers,status:g})}g.binaryDecodeResponse=a}),98); __d("HttpXHRRequestBinaryEncode",["QuicIntCodec","fbjs/lib/invariant"],(function(a,b,c,d,e,f,g){"use strict";function h(a){a=new URL(a.getURI().toString());return{host:a.host,path:a.pathname+a.search,scheme:a.protocol.replace(":","")}}function i(a,b){var c,e=0,f=[],g=b.encode(a.getMethod()),i=g.byteLength;e+=(c=d("QuicIntCodec")).getByteLength(i)+i;f.push(g);i=h(a);g=i.host;a=i.path;i=i.scheme;i=b.encode(i);var j=i.byteLength;e+=c.getByteLength(j)+j;f.push(i);j=b.encode(g);i=j.byteLength;e+=c.getByteLength(i)+i;f.push(j);g=b.encode(a);i=g.byteLength;e+=c.getByteLength(i)+i;f.push(g);return{length:e,steps:f}}function j(a,b,e){var f=0,g=[],h=a.getAllRequestHeaders();h!=null||c("fbjs/lib/invariant")(0,87335);h=new Map(Object.entries(h));e&&!h.has("Host")&&h.set("Host",new URL(a.getURI().toString()).host);for(e of h){a=e[0];h=e[1];a=b.encode(a);var i=a.byteLength;f+=d("QuicIntCodec").getByteLength(i)+i;g.push(a);i=b.encode(h);a=i.byteLength;f+=d("QuicIntCodec").getByteLength(i.byteLength)+a;g.push(i)}return{length:f,steps:[f].concat(g)}}function k(a,b){var e=new TextEncoder(),f=0,g=[];g.push(0);f++;var h=i(a,e),k=h.length;h=h.steps;f+=k;g.push.apply(g,h);k=j(a,e,b);h=k.length;b=k.steps;f+=d("QuicIntCodec").getByteLength(h)+h;g.push.apply(g,b);k=a.getData();k!=null||c("fbjs/lib/invariant")(0,21489);h=e.encode(k);b=h.byteLength;f+=d("QuicIntCodec").getByteLength(b)+b;g.push(h);g.push(0);f++;return{length:f,steps:g}}function a(a,b){b===void 0&&(b=!1);a=k(a,b);b=a.length;a=a.steps;b=new Uint8Array(b);var c=0;for(a of a)typeof a==="number"?c=d("QuicIntCodec").encodeWithExistingBuffer(a,b,c):(c=d("QuicIntCodec").encodeWithExistingBuffer(a.length,b,c),b.set(a,c),c+=a.length);return b}g.binaryEncodeRelayAPIRequest=a}),98); __d("KdfHkdfSha256",["Hpke","asyncToGeneratorRuntime"],(function(a,b,c,d,e,f,g){"use strict";var h=window.crypto||window.msCrypto;a=new TextEncoder();var i=a.encode("HPKE-v1");c=function(){function a(a){a===void 0&&(a=h.subtle),this.kdf_id=d("Hpke").KdfID.KdfHkdfSha256Id,this.nH=32,this.internalCryptoProvider=null,this.internalCryptoProvider=a}var c=a.prototype;c.hmac=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b){a=(yield this.internalCryptoProvider.importKey("raw",a.byteLength===0?new Uint8Array(32):a,{name:"HMAC",hash:{name:"SHA-256"}},!1,["sign"]));a=(yield this.internalCryptoProvider.sign("HMAC",a,b));return new Uint8Array(a)});function c(b,c){return a.apply(this,arguments)}return c}();c.extract=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b){a=(yield this.hmac(a,b));return a});function c(b,c){return a.apply(this,arguments)}return c}();c.expand=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b,c){var d=new Uint8Array(c),e=new Uint8Array(0);b=new Uint8Array(b);var f=new Uint8Array(1);if(c>255*32){c=new Error("KDF expand: entropy limit reached");c.stack;throw c}c=new Uint8Array(32+b.length+1);for(var g=1,h=0;h<d.length;g++)f[0]=g,c.set(e,0),c.set(b,e.length),c.set(f,e.length+b.length),e=(yield this.hmac(a,c.slice(0,e.length+b.length+1))),d.length-h>=e.length?(d.set(e,h),h+=e.length):(d.set(e.slice(0,d.length-h),h),h+=d.length-h);return d});function c(b,c,d){return a.apply(this,arguments)}return c}();c.labeledExtract=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b,c,e){e=d("Hpke").concat(i,e,b,c);b=(yield this.extract(a,e));return b});function c(b,c,d,e){return a.apply(this,arguments)}return c}();c.labeledExpand=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b,c,e,f){f=d("Hpke").concat(new Uint8Array([0,e]),i,f,b,c);return yield this.expand(a,f,e)});function c(b,c,d,e,f){return a.apply(this,arguments)}return c}();return a}();g.KdfHkdfSha256=c}),98); __d("x25519FromNacl",[],(function(a,b,c,d,e,f){"use strict";var g=function(a){var b,c=new Float64Array(16);if(a)for(b=0;b<a.length;b++)c[b]=a[b];return c},h=new Uint8Array(32);h[0]=9;g();g([1]);var i=g([56129,1]);g([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]);a=g([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]);g([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]);g([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]);g([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function j(a){var b,c;for(c=0;c<16;c++)a[c]+=65536,b=Math.floor(a[c]/65536),a[(c+1)*(c<15?1:0)]+=b-1+37*(b-1)*(c===15?1:0),a[c]-=b*65536}function k(a,b,c){var d;c=~(c-1);for(var e=0;e<16;e++)d=c&(a[e]^b[e]),a[e]^=d,b[e]^=d}function l(a,b){var c,d,e=g(),f=g();for(c=0;c<16;c++)f[c]=b[c];j(f);j(f);j(f);for(b=0;b<2;b++){e[0]=f[0]-65517;for(c=1;c<15;c++)e[c]=f[c]-65535-(e[c-1]>>16&1),e[c-1]&=65535;e[15]=f[15]-32767-(e[14]>>16&1);d=e[15]>>16&1;e[14]&=65535;k(f,e,1-d)}for(c=0;c<16;c++)a[2*c]=f[c]&255,a[2*c+1]=f[c]>>8}function m(a,b){var c;for(c=0;c<16;c++)a[c]=b[2*c]+(b[2*c+1]<<8);a[15]&=32767}function n(a,b,c){var d;for(d=0;d<16;d++)a[d]=b[d]+c[d]|0}function o(a,b,c){var d;for(d=0;d<16;d++)a[d]=b[d]-c[d]|0}function p(a,b,c){var d,e,f=new Float64Array(31);for(d=0;d<31;d++)f[d]=0;for(d=0;d<16;d++)for(e=0;e<16;e++)f[d+e]+=b[d]*c[e];for(d=0;d<15;d++)f[d]+=38*f[d+16];for(d=0;d<16;d++)a[d]=f[d];j(a);j(a)}function q(a,b){p(a,b,b)}function r(a,b){var c=g(),d;for(d=0;d<16;d++)c[d]=b[d];for(d=253;d>=0;d--)q(c,c),d!==2&&d!==4&&p(c,c,b);for(d=0;d<16;d++)a[d]=c[d]}function s(a,b,c){var d=new Uint8Array(32),e=new Float64Array(80),f,h=g(),j=g(),s=g(),t=g(),u=g(),v=g();for(f=0;f<31;f++)d[f]=b[f];d[31]=b[31]&127|64;d[0]&=248;m(e,c);for(f=0;f<16;f++)j[f]=e[f],t[f]=h[f]=s[f]=0;h[0]=t[0]=1;for(f=254;f>=0;--f)b=d[f>>>3]>>>(f&7)&1,k(h,j,b),k(s,t,b),n(u,h,s),o(h,h,s),n(s,j,t),o(j,j,t),q(t,u),q(v,h),p(h,s,h),p(s,j,u),n(u,h,s),o(h,h,s),q(j,h),o(s,t,v),p(h,s,i),n(h,h,t),p(s,s,h),p(h,t,v),p(t,j,e),q(j,u),k(h,j,b),k(s,t,b);for(f=0;f<16;f++)e[f+16]=h[f],e[f+32]=s[f],e[f+48]=j[f],e[f+64]=t[f];c=e.subarray(32);b=e.subarray(16);r(c,c);p(b,b,c);l(a,b);return 0}function t(a,b){return s(a,b,h)}function u(a,b,c){c(b,32);return t(a,b)}var v=32,w=32,x=32,y=32;function z(){for(var a=0;a<arguments.length;a++)if(!(arguments[a]instanceof Uint8Array))throw new TypeError("unexpected type, use Uint8Array")}function A(a){for(var b=0;b<a.length;b++)a[b]=0}b=function(){function a(){this.randombytesFn=function(){throw new Error("no CSPRNG")};var a=typeof self!=="undefined"?self.crypto||self.msCrypto:null;if(a&&a.getRandomValues){var b=65536;this.randombytesFn=function(c,d){var e,f=new Uint8Array(d);for(e=0;e<d;e+=b)a.getRandomValues(f.subarray(e,e+Math.min(d-e,b)));for(e=0;e<d;e++)c[e]=f[e];A(f)}}else a&&a.randomBytes&&(this.randombytesFn=function(b,c){var d,e=a.randomBytes(c);for(d=0;d<c;d++)b[d]=e[d];A(e)})}var b=a.prototype;b.scalarMult=function(a,b){z(a,b);if(a.length!==w)throw new Error("bad n size");if(b.length!==v)throw new Error("bad p size");var c=new Uint8Array(v);s(c,a,b);return c};b.scalarMultBase=function(a){z(a);if(a.length!==w)throw new Error("bad n size");var b=new Uint8Array(v);t(b,a);return b};b.boxKeyPair=function(){var a=new Uint8Array(x),b=new Uint8Array(y);u(a,b,this.randombytesFn);return{publicKey:a,secretKey:b}};b.boxKeyPairFromSecretKey=function(a){z(a);if(a.length!==y)throw new Error("bad secret key size");var b=new Uint8Array(x);t(b,a);return{publicKey:b,secretKey:new Uint8Array(a)}};b.setPRNG=function(a){this.randombytesFn=a};return a}();f["default"]=b}),66); __d("KemX25519HkdfSha256",["Hpke","KdfHkdfSha256","asyncToGeneratorRuntime","x25519FromNacl"],(function(a,b,c,d,e,f,g){"use strict";var h=new(c("x25519FromNacl"))();a=new TextEncoder();var i=a.encode("eae_prk"),j=a.encode("shared_secret"),k=a.encode("KEM");e=function(){function a(a){a===void 0&&(a=new(d("KdfHkdfSha256").KdfHkdfSha256)()),this.kem_id=d("Hpke").KemID.KemX25519HkdfSha256Id,this.nSecret=32,this.nEnc=32,this.kdf=a}var c=a.prototype;c.createKeyPair=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(){var a=(yield h.boxKeyPair());return{pk:a.publicKey,sk:a.secretKey}});function c(){return a.apply(this,arguments)}return c}();c.pk=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a){a=(yield h.boxKeyPairFromSecretKey(a));return a.publicKey});function c(b){return a.apply(this,arguments)}return c}();c.encap=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a){var b=(yield this.createKeyPair()),c=h.scalarMult(b.sk,a);a=d("Hpke").concat(b.pk,a);var e=d("Hpke").concat(k,d("Hpke").i2osp(this.kem_id,2));c=(yield this.kdf.labeledExtract(new Uint8Array(0),i,c,e));c=(yield this.kdf.labeledExpand(c,j,a,this.nSecret,e));return{sharedSecret:c,enc:b.pk}});function c(b){return a.apply(this,arguments)}return c}();c.decap=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b){var c=h.scalarMult(b,a);b=h.scalarMultBase(b);a=d("Hpke").concat(a,b);b=d("Hpke").concat(k,d("Hpke").i2osp(this.kem_id,2));c=(yield this.kdf.labeledExtract(new Uint8Array(0),i,c,b));c=(yield this.kdf.labeledExpand(c,j,a,this.nSecret,b));return c});function c(b,c){return a.apply(this,arguments)}return c}();return a}();g.KemX25519HkdfSha256=e}),98); __d("MediaPlaybackTagMetadataHighFrequencyCategory",[],(function(a,b,c,d,e,f){a=Object.freeze({FB_BANDWIDTH:"fb_bandwidth",VIDEO_BANDWIDTH:"video_bandwidth",TOTAL_FRAME_COUNT:"total_frame_count",DROPPED_FRAME_COUNT:"dropped_frame_count",LARGE_DROPPED_FRAME_COUNT:"large_dropped_frame_count",VERY_LARGE_DROPPED_FRAME_COUNT:"very_large_dropped_frame_count",LIVE_LATENCY_FRAMES:"live_latency_frames"});f["default"]=a}),66); __d("hashString",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b=0;for(var c=0;c<a.length;c++){var d=a.charCodeAt(c);b=(b<<5)-b+d;b|=0}return b}f["default"]=a}),66); __d("MediaPlaybackCompoundEventStateMachineLogger",["MediaPlaybackTagMetadataHighFrequencyCategory","NetworkStatus","emptyFunction","hashString"],(function(a,b,c,d,e,f,g){"use strict";var h=6e4,i=1e3,j=Object.freeze(["paused","completed","cancelled","error","heartbeat"]);d=b=c("emptyFunction");e=b;f=b;d=b;function k(){return{canLogPausedOrFinishedPlaying:!1,canLogPlayingEvent:!0,errorRecoveryAttemptState:{eventsLogged:0},hasPendingRequestedPlaying:!1,isLoggingBufferingSequence:!1,isLoggingScrubbingSequence:!1,lastLoggedError:null,lastLoggedTagMetadata:{},nextHeartbeatTime:null,shouldIgnoreDomPause:!1,shouldIgnoreDomPlay:!1,shouldLogRequestedPlayingForScrub:!1}}function a(a){var b={},d=a.initialLoggingMetaData;d;var e=[],f=k(),g=[],l={};function m(b){var c,f=b.events;b=b.state;var g=babelHelpers["extends"]({},d.coreVideoPlayerMetaData.loggingToSNAPLAdditionalData,l);g=(c=(c=a.metadataProvider)==null?void 0:c.getRequiredMetadata({logDataAdditions:g,loggingMetaData:d,state:b}))!=null?c:{current_watching_module:"",media_id:"",tracking_type:""};b={events:f,required_metadata:g};e.push(b)}function n(a){var c=a.event;a=a.state;g.push(c);if(j.includes(c.event_name)){c=[].concat(g);g=[];m({events:c,state:a})}return b}function o(a,b){var e=a.uncontrolledState.videoElementDuration;return{client_time_ms:a.uncontrolledState.clockTimestamp.toString(),event_name:b,media_time_ms:a.uncontrolledState.videoElementPlayheadPosition!=null?Math.round(a.uncontrolledState.videoElementPlayheadPosition*1e3).toString():"0",player_instance_id:Math.abs(c("hashString")(d.instanceKey)).toString(),player_instance_key:d.instanceKey,video_client_duration:e!=null?Math.trunc(e*1e3).toString():void 0}}function p(a){d;if(a.type==="notify_logging_metadata_change"){a=a.payload.loggingMetaData;d=a}}function q(a,c,d){if(a.controlledState.playbackState!==c.controlledState.playbackState&&c.controlledState.playbackState==="ended"&&f.canLogPausedOrFinishedPlaying){s(c);d=o(c,"completed");n({event:d,state:c});f.canLogPausedOrFinishedPlaying=!1;return b}else return b}function r(a,c){var d=o(a,"requested_playing");c=c!=null?babelHelpers["extends"]({},d,{media_time_ms:Math.round(c*1e3).toString()}):d;n({event:c,state:a});f.hasPendingRequestedPlaying=!0;f.canLogPausedOrFinishedPlaying=!0;return b}function s(c){var e,f=babelHelpers["extends"]({},d.coreVideoPlayerMetaData.loggingToSNAPLAdditionalData,l);e=(e=a.metadataProvider)==null?void 0:e.getTagMetadata({logDataAdditions:f,loggingMetaData:d,state:c});if(Object.keys((f=e)!=null?f:{}).length>0){f=babelHelpers["extends"]({},o(c,"tags_changed"),{tag_metadata:e});n({event:f,state:c})}return b}function t(a){if(!f.canLogPausedOrFinishedPlaying)return b;else if(f.hasPendingRequestedPlaying){s(a);u(a);f.canLogPausedOrFinishedPlaying=!1;f.hasPendingRequestedPlaying=!1;return b}else{s(a);var c=o(a,"paused");n({event:c,state:a});f.canLogPausedOrFinishedPlaying=!1;f.hasPendingRequestedPlaying=!1;return b}}function u(a){var c=o(a,"cancelled");n({event:c,state:a});return b}function v(a,c,d){if(d.type==="dom_event_play_promise_rejected"&&f.hasPendingRequestedPlaying){a=d.payload.playPromiseRejectionReason;if(a!=null&&a.name==="NotAllowedError"){u(c);return b}else return b}else return b}function w(a,c,d){if((d.type==="controller_play_requested"||d.type==="dom_event_play"&&!f.shouldIgnoreDomPlay)&&a.controlledState.playbackState!==c.controlledState.playbackState){r(c);return b}else return b}function x(a){var c=o(a,"requested_seek");n({event:c,state:a});return b}function y(a,c,d){var e=c.controlledState.playbackState,g=a.controlledState.playbackState;if(d.type==="controller_scrub_begin_requested"&&!a.controlledState.scrubbing&&e!=="paused"&&e!=="ended"){t(c);x(c);f.isLoggingScrubbingSequence=!0;return b}else if(!a.controlledState.seeking&&c.controlledState.seeking&&!f.isLoggingScrubbingSequence&&e!=="paused"&&e!=="ended"&&!f.hasPendingRequestedPlaying){t(c);x(c);f.shouldLogRequestedPlayingForScrub=!0;return b}else if(d.type==="controller_scrub_end_requested"&&a.controlledState.scrubbing&&e!=="paused"&&e!=="ended"){r(c,d.payload.seekTargetPosition);return b}else if(a.controlledState.seeking&&!c.controlledState.seeking){f.shouldLogRequestedPlayingForScrub&&e!=="paused"&&e!=="ended"&&r(c);f.isLoggingScrubbingSequence=!1;f.shouldLogRequestedPlayingForScrub=!1;g!=="paused"&&g!=="ended"&&(f.canLogPlayingEvent=!0);return b}else return b}function z(a,c,d){if(a.controlledState.playbackState==="stalling"&&c.controlledState.playbackState==="playing"&&f.canLogPlayingEvent){d=o(c,"started_playing");n({event:d,state:c});f.canLogPlayingEvent=!1;f.hasPendingRequestedPlaying=!1;s(c);return b}else return b}function A(a,c,d){if((d.type==="controller_pause_requested"||d.type==="dom_event_pause"&&!f.shouldIgnoreDomPause)&&a.controlledState.playbackState!==c.controlledState.playbackState){t(c);return b}else return b}function B(a,c,d){var e=c.controlledState.playbackState;if(e!=="paused"&&e!=="ended"){d.type==="implementation_video_node_unmounted"?t(a):(d.type==="implementation_unmounted"||d.type==="implementation_engine_destroy_requested")&&t(c);return b}else return b}function C(c,d,e){c=d.controlledState.error;if(c!=null&&c!==f.lastLoggedError&&c.errorCode!=="410"){s(d);e=babelHelpers["extends"]({},(e=a.metadataProvider)==null?void 0:e.getErrorMetadata({videoPlayerError:c}),{name:"failed_playing"});e=babelHelpers["extends"]({},o(d,"error"),{error_metadata:e});n({event:e,state:d});f.lastLoggedError=c}return b}function D(d,e,g){if(g.type==="error_recovery_attempt"&&f.errorRecoveryAttemptState.eventsLogged<i){d=g.payload.recoverableError;if(d!=null&&d.errorName==="OZ_NETWORK"&&!c("NetworkStatus").isOnline())return b;g=babelHelpers["extends"]({},(g=a.metadataProvider)==null?void 0:g.getErrorMetadata({videoPlayerError:d}),{name:"error_recovery_attempt"});d=babelHelpers["extends"]({},o(e,"error"),{error_metadata:g});n({event:d,state:e});f.errorRecoveryAttemptState.eventsLogged++}return b}function E(a,c,d){d=a.controlledState.playbackState;a=c.controlledState.playbackState;if(f.hasPendingRequestedPlaying||f.shouldLogRequestedPlayingForScrub||f.isLoggingBufferingSequence)return b;if(d!=="stalling"&&a==="stalling"){d=o(c,"started_buffering");n({event:d,state:c});f.isLoggingBufferingSequence=!0;f.shouldIgnoreDomPause=!0;f.shouldIgnoreDomPlay=!0}return b}function F(a,c,d){a=a.controlledState.playbackState;var e=c.controlledState.playbackState;if(!f.isLoggingBufferingSequence)return b;if((d.type==="dom_event_playing"||d.type==="buffering_end_requested")&&a==="stalling"&&e!=="stalling"){a=0;d.payload.domEventPerfTimestamp!=null&&(a=Math.max(c.uncontrolledState.perfTimestamp-d.payload.domEventPerfTimestamp,0));e=c.uncontrolledState.clockTimestamp-a;d=babelHelpers["extends"]({},o(c,"stopped_buffering"),{client_time_ms:e.toString()});n({event:d,state:c});f.isLoggingBufferingSequence=!1;f.shouldIgnoreDomPause=!1;f.shouldIgnoreDomPlay=!1}return b}function G(a,c,d){a=c.controlledState.playbackState;a==="paused"||a==="ended"?f.nextHeartbeatTime=null:a!=="stalling"&&f.nextHeartbeatTime==null&&(f.nextHeartbeatTime=c.uncontrolledState.clockTimestamp+h);d=f.nextHeartbeatTime;if(d!=null){var e=c.uncontrolledState.clockTimestamp;if(e>=d){if(a!=="stalling"){d=o(c,"heartbeat");n({event:d,state:c})}f.nextHeartbeatTime=e+h}}return b}function H(e,g,h){e=babelHelpers["extends"]({},d.coreVideoPlayerMetaData.loggingToSNAPLAdditionalData,l);var i=f.lastLoggedTagMetadata,j=(h=a.metadataProvider)==null?void 0:h.getTagMetadata({logDataAdditions:e,loggingMetaData:d,state:g});if(j&&JSON.stringify(j)!==JSON.stringify(i)){var k={};Object.keys(j).forEach(function(a){if(j[a]!==i[a]){var b;k=babelHelpers["extends"]({},k,(b={},b[a]=j[a],b))}});var m=Object.values(c("MediaPlaybackTagMetadataHighFrequencyCategory"));h=Object.keys(k).every(function(a){return m.includes(a)});if(h)return b;e=babelHelpers["extends"]({},o(g,"tags_changed"),{tag_metadata:k});n({event:e,state:g});f.lastLoggedTagMetadata=babelHelpers["extends"]({},i,j)}return b}return{consumeLoggerEvents:function(){return e.length>0?e.splice(0):[]},handleStateMachine:function(a,b,c){p(c);var d=b.controlledState.playbackState,e=[H,v,w,y,E,F,z,q,A,B,C,D,G];e.forEach(function(d){d(a,b,c)});(d==="paused"||d==="ended")&&(f.canLogPlayingEvent=!0);c.type==="controller_pause_requested"&&(f.shouldIgnoreDomPause=!0);c.type==="controller_play_requested"&&(f.shouldIgnoreDomPlay=!0);c.type==="dom_event_pause"&&(f.shouldIgnoreDomPause=!1);c.type==="dom_event_play"&&(f.shouldIgnoreDomPlay=!1)},setLoggingToSNAPLAdditionalData:function(a){Object.assign(l,a)}}}g.HEARTBEAT_INTERVAL=h;g.createMediaPlaybackCompoundEventStateMachineLogger=a}),98); __d("OhaiCommonUtils",[],(function(a,b,c,d,e,f){"use strict";e="message/bhttp request";var g="message/bhttp response";function a(a){var b=window.crypto||window.msCrypto;a=new Uint8Array(a);b.getRandomValues(a);return a}function b(a,b){var c=new Uint8Array(b);a=a;for(b=b-1;b>=0;b--)c[b]=a&255,a>>=8;return c}function c(a,b){var c=0;for(var d=0;d<b;d++)c<<=8,c|=a[d];return c}function d(){for(var a=arguments.length,b=new Array(a),c=0;c<a;c++)b[c]=arguments[c];var d=b.reduce(function(a,b){return a+b.length},0),e=new Uint8Array(d),f=0;for(var g of b)e.set(g,f),f+=g.length;return e}var h=new TextEncoder().encode("");f.REQUEST_LABEL=e;f.RESPONSE_LABEL=g;f.randomBytes=a;f.encodeNumber=b;f.decodeNumber=c;f.concat=d;f.EMPTY_AAD=h}),66); __d("getHpkeFromConfigIds",["AeadAes128Gcm","AeadChaPoly","Hpke","KdfHkdfSha256","KemX25519HkdfSha256"],(function(a,b,c,d,e,f,g){"use strict";function h(a){switch(a){case d("Hpke").KemID.KemX25519HkdfSha256Id:return new(d("KemX25519HkdfSha256").KemX25519HkdfSha256)()}}function i(a){switch(a){case d("Hpke").KdfID.KdfHkdfSha256Id:return new(d("KdfHkdfSha256").KdfHkdfSha256)()}}function j(a){switch(a){case d("Hpke").AeadID.AeadAes128GcmId:return new(d("AeadAes128Gcm").AeadAes128Gcm)();case d("Hpke").AeadID.AeadChaCha20Poly1305Id:return new(d("AeadChaPoly").AeadChaPoly)()}}function a(a){var b=a.kemId,c=a.kdfId;a=a.aeadId;return new(d("Hpke").Hpke)(h(b),i(c),j(a))}g["default"]=a}),98); __d("OhaiClient",["HttpRequestBinaryEncode","HttpResponseBinaryDecode","HttpXHRRequestBinaryEncode","OhaiCommonUtils","asyncToGeneratorRuntime","getHpkeFromConfigIds"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,c){return h.apply(this,arguments)}function h(){h=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b,e){e===void 0&&(e=!1);var f=a.keyId,g=a.kemId,h=a.kdfId,i=a.aeadId;a=a.publicKey;var j=c("getHpkeFromConfigIds")({kemId:g,kdfId:h,aeadId:i}),k=new TextEncoder();b=(yield d("HttpRequestBinaryEncode").binaryEncodeRequest(b,e));e=d("OhaiCommonUtils").concat(d("OhaiCommonUtils").encodeNumber(f,1),d("OhaiCommonUtils").encodeNumber(g,2),d("OhaiCommonUtils").encodeNumber(h,2),d("OhaiCommonUtils").encodeNumber(i,2));f=k.encode(d("OhaiCommonUtils").REQUEST_LABEL);g=(yield j.setupBaseS(a,f));h=g.enc;i=g.ctx;k=(yield i.seal(e,b));j=d("OhaiCommonUtils").concat(e,h,k);return{ctx:i,enc:h,encapsulatedRequest:j}});return h.apply(this,arguments)}function e(a,b,c){return i.apply(this,arguments)}function i(){i=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b,e){e===void 0&&(e=!1);var f=a.keyId,g=a.kemId,h=a.kdfId,i=a.aeadId;a=a.publicKey;var j=c("getHpkeFromConfigIds")({kemId:g,kdfId:h,aeadId:i}),k=new TextEncoder();b=(yield d("HttpXHRRequestBinaryEncode").binaryEncodeRelayAPIRequest(b,e));e=d("OhaiCommonUtils").concat(d("OhaiCommonUtils").encodeNumber(f,1),d("OhaiCommonUtils").encodeNumber(g,2),d("OhaiCommonUtils").encodeNumber(h,2),d("OhaiCommonUtils").encodeNumber(i,2));f=k.encode(d("OhaiCommonUtils").REQUEST_LABEL);g=(yield j.setupBaseS(a,f));h=g.enc;i=g.ctx;k=(yield i.seal(e,b));j=d("OhaiCommonUtils").concat(e,h,k);return{ctx:i,enc:h,encapsulatedRequest:j}});return i.apply(this,arguments)}function f(a,b,c){return j.apply(this,arguments)}function j(){j=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b,c){var e=a.aead,f=a.kdf,g=e.nN,h=e.nK,i=Math.max(g,h),j=c.slice(0,i);c=c.slice(i);i=new TextEncoder();a=(yield a["export"](i.encode(d("OhaiCommonUtils").RESPONSE_LABEL),h));b=d("OhaiCommonUtils").concat(b,j);j=(yield f.extract(b,a));b=(yield f.expand(j,i.encode("key"),h));a=(yield f.expand(j,i.encode("nonce"),g));h=(yield e.open(b,a,d("OhaiCommonUtils").EMPTY_AAD,c));f=(yield d("HttpResponseBinaryDecode").binaryDecodeResponse(h));return f});return j.apply(this,arguments)}g.encapsulateRequest=a;g.encapsulateRelayAPIRequest=e;g.decapsulateResponse=f}),98); __d("VideoPlaybackQuality",[],(function(a,b,c,d,e,f){function a(a){if(typeof a.getVideoPlaybackQuality==="function")return a.getVideoPlaybackQuality().droppedVideoFrames;a=a.webkitDroppedFrameCount;return typeof a==="number"?a:0}function b(a){if(typeof a.getVideoPlaybackQuality==="function")return a.getVideoPlaybackQuality().totalVideoFrames;a=a.webkitDecodedFrameCount;return typeof a==="number"?a:0}f.getDroppedFrames=a;f.getTotalFrames=b}),66); __d("VideoPlayerContextSensitiveConfigUtils",[],(function(a,b,c,d,e,f){"use strict";var g=function(a,b){return b.every(function(b){return a[b.name]===b.value})};a=function(a,b){return b.find(function(b){return g(a,b.contexts)})};f.getFirstMatchingValueAndContextTargets=a}),66); __d("VideoPlayerContextSensitiveConfigResolver",["VideoPlayerContextSensitiveConfigPayload","VideoPlayerContextSensitiveConfigUtils","cr:1724253"],(function(a,b,c,d,e,f,g){"use strict";a=function(){function a(a){this.$1={},this.$2={},a==null?(this.$3=c("VideoPlayerContextSensitiveConfigPayload").static_values,this.$4=c("VideoPlayerContextSensitiveConfigPayload").context_sensitive_values):(this.$3=a.staticValues,this.$4=a.contextSensitiveValues)}var e=a.prototype;e.setContexts=function(a){this.$1=a,this.$2=this.$5(a)};e.getValue=function(a){if(this.$2[a]!=null)return this.$2[a];return this.$3[a]!=null?this.$3[a]:null};e.$5=function(a){var b=this;return Object.keys(this.$4).reduce(function(c,e){var f=b.$4[e];if(f!=null){f=d("VideoPlayerContextSensitiveConfigUtils").getFirstMatchingValueAndContextTargets(a,f);f!=null&&(c[e]=f.value)}return c},{})};a.getPayload=function(){return c("VideoPlayerContextSensitiveConfigPayload")};a.getSources=function(){return b("cr:1724253")};return a}();g["default"]=a}),98); __d("VideoPlayerEmsgForStateMachine",["deepEquals"],(function(a,b,c,d,e,f,g){"use strict";function h(a,b){var c;return[a.type,a.emsgScheme,(c=a.emsgId)!=null?c:""].concat(b?[(c=a.emsgStartTimeInSec)!=null?c:"",(b=a.emsgDurationInSec)!=null?b:""]:[]).join(":")}function i(a,b){a.set(h(b,!0),b);return a}function a(a,b){return b.reduce(i,new Map(a))}function b(a,b,d){a=b==null?[]:Array.from(a.values()).filter(function(a){var c=a.emsgStartTimeInSec;a=a.emsgDurationInSec||0;return c!=null&&b>=c&&b<c+a}).sort(function(a,b){return(a.emsgStartTimeInSec||0)-(b.emsgStartTimeInSec||0)});a=Array.from(a.reduce(function(a,b){a.set(h(b,!1),b);return a},new Map()).values());return c("deepEquals")(d,a)?d:a}g.makeEmsgBoxDedupKey=h;g.makeUpdatedAllEmsgBoxes=a;g.makeUpdatedActiveEmsgBoxes=b}),98); __d("VideoPlayerShakaGlobalConfig",["VideoPlayerContextSensitiveConfigResolver"],(function(a,b,c,d,e,f,g){var h=new(c("VideoPlayerContextSensitiveConfigResolver"))(),i={};a=function(a){i=a};b=function(a,b){if(!!i&&typeof i[a]==="boolean")return i[a];a=h.getValue(a);return a!=null&&typeof a==="boolean"?a:b};d=function(a,b){if(!!i&&typeof i[a]==="number")return i[a];a=h.getValue(a);return a!=null&&typeof a==="number"?a:b};e=function(a,b){if(!!i&&typeof i[a]==="string")return i[a];a=h.getValue(a);return a!=null&&typeof a==="string"?a:b};g.setGlobalOverrideConfig=a;g.getBool=b;g.getNumber=d;g.getString=e}),98); __d("VideoPlayerOzWWWGlobalConfig",["VideoPlayerShakaGlobalConfig"],(function(a,b,c,d,e,f,g){"use strict";var h="oz_www_";a={getBool:function(a,b){return d("VideoPlayerShakaGlobalConfig").getBool(h+a,b)},getNumber:function(a,b){return d("VideoPlayerShakaGlobalConfig").getNumber(h+a,b)},getString:function(a,b){return d("VideoPlayerShakaGlobalConfig").getString(h+a,b)}};b=a;g["default"]=b}),98); __d("VideoPlayerImplementationEngineVideoElementAPI",["Promise","VideoPlaybackQuality","VideoPlayerOzWWWGlobalConfig"],(function(a,b,c,d,e,f,g){"use strict";var h;function i(a){return isNaN(a)?0:a}function j(a){return i(a.duration)}function k(a){var b=[];try{a=a.buffered;for(var c=0;c<a.length;++c)b.push({endTime:a.end(c),startTime:a.start(c)})}catch(a){}return b}function l(a){try{a=a.buffered;if(a.length>0)return a.end(a.length-1)}catch(a){}return 0}function m(a){return i(a.currentTime)}function n(a){try{a=a.buffered;if(a.length>0)return a.start(0)}catch(a){}return 0}function a(a){return{exitPictureInPicture:function(){window.document.exitPictureInPicture()},getBufferedRanges:function(){return k(a)},getCanPlayPromise:function(){return new(h||(h=b("Promise")))(function(b,c){a.readyState===4?b():a.addEventListener("canplay",function(){return b()})})},getDOMLoadedMetadataPromise:function(){return new(h||(h=b("Promise")))(function(b,c){a.addEventListener("loadedmetadata",function(){return b()})})},getDroppedFrameCount:function(){return d("VideoPlaybackQuality").getDroppedFrames(a)},getDuration:function(){return j(a)},getEnded:function(){return a.ended},getError:function(){return a.error},getLastBufferEndPosition:function(){return l(a)},getMuted:function(){return a.muted},getNetworkState:function(){return a.networkState},getPaused:function(){return a.paused},getPlaybackRate:function(){return a.playbackRate},getPlayheadPosition:function(){return m(a)},getReadyState:function(){return a.readyState},getTotalFrameCount:function(){return d("VideoPlaybackQuality").getTotalFrames(a)},getUnderlyingVideoElement:function(){return a},getVideoPixelsDimensions:function(){if(a.readyState<a.HAVE_CURRENT_DATA)return null;var b=a.videoWidth,c=a.videoHeight;if(b<=0||c<=0)return null;var d=a.offsetWidth,e=a.offsetHeight;if(d<=0||e<=0)return null;b=b/c;c=d/e;c>b?d=e*b:e=d/b;return{height:e,width:d}},getVolume:function(){return a.volume},pause:function(){a.pause()},play:function(){var c=a.play();c=c&&typeof c.then==="function"?(h||(h=b("Promise"))).resolve(c):null;return c},requestPictureInPicture:function(){typeof a.requestPictureInPicture==="function"&&a.requestPictureInPicture()},setDuration:function(b){a.duration=b},setMuted:function(b){a.muted=b},setPlaybackRate:function(b){a.playbackRate=b},setPlayheadPosition:function(b){var d=b;if(b===0){b=c("VideoPlayerOzWWWGlobalConfig").getNumber("clamp_seek_to_first_buffer_range_epsilon",0);if(b>0){var e=n(a);e>0&&e<=b&&(d=e)}}a.currentTime=d},setVolume:function(b){a.volume=b}}}g.getDurationFromVideoElement=j;g.getBufferedRangesFromVideoElement=k;g.getLastBufferEndPositionFromVideoElement=l;g.getPlayheadPositionFromVideoElement=m;g.createVideoPlayerImplementationEngineVideoElementAPI=a}),98); __d("VideoPlayerImplementationErrorNormalization",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b=a.getType(),c=a.getDescription();switch(b){case"OZ_NETWORK":b=(b=(b=a.getExtra())==null?void 0:b.code)!=null?b:"0";b=parseInt(b,10);return b<100||b>599?"NetworkError":"HTTPError";case"OZ_SOURCE_BUFFER_QUOTA_EXCEEDED":a=(b=a.getExtra())==null?void 0:b.mimeType;if(a!=null&&a.indexOf("video")>-1)return"VideoDecodeError";else if(a!=null&&a.indexOf("audio")>-1)return"AudioDecodeError";else return"GenericDecodeError";case"OZ_XML_PARSER":case"OZ_MPD_PARSER":case"OZ_REPRESENTATION_PARSER":return"ManifestParseError";case"OZ_DRM_MANAGER":case"OZ_INITIALIZATION":if(/(OZ_XML_PARSER)|(OZ_MPD_PARSER)|(OZ_REPRESENTATION_PARSER)/.test(c))return"ManifestParseError";else return"RuntimeError";case"OZ_JAVASCRIPT_NATIVE":case"OZ_SOURCE_BUFFER":case"OZ_STREAM_APPEND_QUOTA_EXCEEDED_HANDLER_ERROR":case"OZ_NETWORK_REQUEST_STREAM_RETRY_HANDLER_ERROR":return"RuntimeError"}return null}function b(a,b){switch(a){case"OZ_XML_PARSER":case"OZ_MPD_PARSER":case"OZ_REPRESENTATION_PARSER":return"ManifestParseError";case"OZ_DRM_MANAGER":case"OZ_INITIALIZATION":if(/(OZ_XML_PARSER)|(OZ_MPD_PARSER)|(OZ_REPRESENTATION_PARSER)/.test(b))return"ManifestParseError";else return"RuntimeError";case"OZ_JAVASCRIPT_NATIVE":case"OZ_SOURCE_BUFFER":case"OZ_STREAM_APPEND_QUOTA_EXCEEDED_HANDLER_ERROR":case"OZ_NETWORK_REQUEST_STREAM_RETRY_HANDLER_ERROR":return"RuntimeError";case"BUFFERING_TIMEOUT":return"RuntimeError";default:b=[[["MEDIA_ERR_NETWORK"],"NetworkError"],[["MEDIA_ERR_ABORTED","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_UNKNOWN"],"GenericDecodeError"]];for(b of b){var c=b[0],d=b[1];if(c.some(function(b){return a.includes(b)}))return d}}return null}f.getVideoPlayerNormalizedErrorTypeFromOzError=a;f.getErrorTypeFromErrorName=b}),66); __d("getErrorMessageFromMediaErrorCode",[],(function(a,b,c,d,e,f){"use strict";function a(a){switch(a){case 1:return"The fetching process for the media resource was aborted by the user agent at the users request.";case 2:return"A network error of some description caused the user agent to stop fetching the media resource, after the resource was established to be usable.";case 3:return"An error of some description occurred while decoding the media resource, after the resource was established to be usable.";case 4:return"The media resource indicated by the src attribute was not suitable."}return null}f["default"]=a}),66); __d("getErrorNameFromMediaErrorCode",[],(function(a,b,c,d,e,f){"use strict";function a(a){switch(a){case 1:return"MEDIA_ERR_ABORTED";case 2:return"MEDIA_ERR_NETWORK";case 3:return"MEDIA_ERR_DECODE";case 4:return"MEDIA_ERR_SRC_NOT_SUPPORTED";default:return"MEDIA_ERR_UNKNOWN_"+((a=a)!=null?a:"UNDEFINED")}}f["default"]=a}),66); __d("VideoPlayerImplementationErrors",["VideoPlayerImplementationErrorNormalization","getErrorMessageFromMediaErrorCode","getErrorNameFromMediaErrorCode","getErrorSafe","oz-player/utils/OzErrorUtils"],(function(a,b,c,d,e,f,g){"use strict";function h(a){var b;a=/^([A-Z_]+:)|([A-Z_]+\s+\(0x[0-9A-Fa-f]+\))/.exec(a);a=((b=(b=a==null?void 0:a[1])!=null?b:a==null?void 0:a[2])!=null?b:"").replace(/\s+/,"_").replace(/[^A-Za-z0-9_]/g,"");return a!==""?a:null}function a(a){var b=a.errorLocation,d=a.hostCallError,e=a.videoElementError,f=a.videoElementNetworkState;a=a.videoElementReadyState;var g=e==null?void 0:e.code,h=d!=null&&typeof d.message==="string"?d.message:null;h==null&&(h=e==null?void 0:e.message);h==null&&g!=null&&(h=c("getErrorMessageFromMediaErrorCode")(g));e=c("getErrorNameFromMediaErrorCode")(g);return{createdTimestamp:Date.now(),errorLocation:b,errorMessageFormat:((b=h)!=null?b:"Empty error")+("; code: "+((h=g)!=null?h:"undefined"))+("; readyState: "+a)+("; networkState: "+f),errorMessageParams:[],errorName:e,originalError:d}}function b(a,b){var d=c("getErrorSafe")(a);return{createdTimestamp:Date.now(),errorCode:typeof a==="object"&&a!=null?typeof a.code==="string"?a.code:typeof a.code==="number"?String(a.code):void 0:void 0,errorLocation:b,errorMessageFormat:(a=d.messageFormat)!=null?a:d.message,errorMessageParams:d.messageFormat!=null?(b=d.messageParams)!=null?b:[]:[],errorName:"VideoElementPlayPromiseRejectionReason_"+(d.name||"UnknownError")}}function i(a,b,d,e){e===void 0&&(e=null);b=c("getErrorSafe")(b);return{createdTimestamp:Date.now(),errorCode:null,errorLocation:d,errorMessageFormat:(b.name||"UnknownError")+" "+((d=b.messageFormat)!=null?d:b.message),errorMessageParams:b.messageFormat!=null?(d=b.messageParams)!=null?d:[]:[],errorName:a,stack:b.stack,url:(d=e)!=null?d:null}}function e(a,b){if(d("oz-player/utils/OzErrorUtils").isOzError(a)){var c=a,e=c.getExtra();return{createdTimestamp:Date.now(),errorCode:e.code,errorLocation:b,errorMessageFormat:c.getDescription(),errorMessageParams:[],errorName:c.getType(),errorType:d("VideoPlayerImplementationErrorNormalization").getVideoPlayerNormalizedErrorTypeFromOzError(c),stack:c.stack,url:e.url}}else return i("OZ_JAVASCRIPT_NATIVE",a,b)}function f(a,b){var c=h(a.message);c=c!=null?a.name+"_"+c:a.name;a=a.message;var d=[];return{createdTimestamp:Date.now(),errorLocation:b,errorMessageFormat:a,errorMessageParams:d,errorName:c,errorType:"GenericDecodeError"}}g.getMoreGranularErrorNameFromHTMLVideoElementErrorMessage=h;g.createVideoPlayerErrorFromHTMLVideoElementError=a;g.createVideoPlayerErrorFromVideoElementPlayPromiseRejectionReason=b;g.createVideoPlayerErrorFromGenericError=i;g.createVideoPlayerErrorFromOzImplementationError=e;g.createVideoPlayerErrorFromOzImplementationVideoNodeError=f}),98); __d("VideoPlayerODS",["ODS","Random"],(function(a,b,c,d,e,f,g){"use strict";var h;a=function(a,b,c){d("Random").coinflip(c)&&(h||(h=d("ODS"))).bumpEntityKey(2079,a,b,c)};g.bumpEntityKey=a}),98); __d("VideoPlayerImplementationStateMachine",["VideoPlayerEmsgForStateMachine","VideoPlayerImplementationErrors","VideoPlayerODS","gkx","recoverableViolation","shallowEqual","unrecoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";function h(a){var b=a.bufferingDetected,c=a.seeking;a=a.waitingForDomPlaying;return!b&&!c&&!a}function i(a){var b=a.bufferingDetected,d=a.prevPlaybackState,e=a.seeking;a=a.waitingForDomPlaying;b=h({bufferingDetected:b,seeking:e,waitingForDomPlaying:a});e=d;switch(d){case"stalling":e=b?"playing":"stalling";break;case"ended":case"paused":case"playing":break;default:d;c("recoverableViolation")("unexpected playbackState: "+d,"comet_video_player");break}return e}function j(a){return a.loopCount>0&&a.loopCurrent<a.loopCount||a.loopCount===-1}function k(a,b,e){switch(e.type){case"host_call_pause":case"host_call_play":case"host_call_set_current_time":case"host_call_set_volume":case"host_call_set_muted":case"host_call_set_playback_rate":case"host_call_set_video_quality":case"host_call_set_latency_level":return babelHelpers["extends"]({},a,{hostCallQueue:a.hostCallQueue.concat([e])});case"controller_set_latency_level_requested":case"implementation_set_latency_level_requested":return babelHelpers["extends"]({},a,{latencyLevel:e.payload.latencyLevel,ullIneligibilityReason:e.payload.ullIneligibilityReason});case"dom_event_loadedmetadata":return babelHelpers["extends"]({},a,{domEventsLatestPerfMs:babelHelpers["extends"]({},a.domEventsLatestPerfMs,{clockMs:b.clockTimestamp,loadedmetadata:e.payload.domEventPerfTimestamp,perfMs:b.perfTimestamp})});case"dom_event_loadeddata":return babelHelpers["extends"]({},a,{domEventsLatestPerfMs:babelHelpers["extends"]({},a.domEventsLatestPerfMs,{clockMs:b.clockTimestamp,loadeddata:e.payload.domEventPerfTimestamp,perfMs:b.perfTimestamp})});case"dom_event_canplay":return babelHelpers["extends"]({},a,{domEventsLatestPerfMs:babelHelpers["extends"]({},a.domEventsLatestPerfMs,{canplay:e.payload.domEventPerfTimestamp,clockMs:b.clockTimestamp,perfMs:b.perfTimestamp})});case"dom_event_ended":return babelHelpers["extends"]({},a,{playbackState:"ended",waitingForDomPlaying:!1});case"dom_event_pause":if(a.playbackState==="ended")return a;if(b.videoElementEnded===!0)return babelHelpers["extends"]({},a,{playbackState:"ended",waitingForDomPlaying:!1});return a.playbackState==="paused"?a:babelHelpers["extends"]({},a,{playbackState:"paused",waitingForDomPlaying:!1});case"dom_event_play":var f=a.playbackState,g=f;switch(f){case"playing":case"stalling":case"ended":case"paused":g="stalling";break;default:f;c("recoverableViolation")("unexpected playbackState: "+f,"comet_video_player");break}f=!0;return babelHelpers["extends"]({},a,{playbackState:g,waitingForDomPlaying:f});case"dom_event_playing":g=a.bufferingDetected;f=a.seeking;var h=!1,k=a.playbackState;return babelHelpers["extends"]({},a,{playbackState:i({bufferingDetected:g,prevPlaybackState:k,seeking:f,waitingForDomPlaying:h}),waitingForDomPlaying:h});case"dom_event_timeupdate":g=d("VideoPlayerEmsgForStateMachine").makeUpdatedActiveEmsgBoxes(a.allEmsgBoxes,b.videoElementPlayheadPosition,a.activeEmsgBoxes);if(a.waitingForDomTimeUpdateAfterSeeked){k=a.bufferingDetected;f=a.seeking;h=!1;var l=a.playbackState;return babelHelpers["extends"]({},a,{activeEmsgBoxes:g,playbackState:i({bufferingDetected:k,prevPlaybackState:l,seeking:f,waitingForDomPlaying:h}),waitingForDomPlaying:h,waitingForDomTimeUpdateAfterSeeked:!1})}return babelHelpers["extends"]({},a,{activeEmsgBoxes:g});case"dom_event_seeking":k=a.playbackState;l=k;switch(k){case"paused":case"ended":break;case"stalling":case"playing":l="stalling";break;default:k,c("recoverableViolation")("unexpected playbackState: "+k,"comet_video_player")}return babelHelpers["extends"]({},a,{playbackState:l,seeking:!0,waitingForDomPlaying:!0});case"dom_event_seeked":f=a.bufferingDetected;h=a.waitingForDomPlaying;g=!1;k=a.playbackState;return babelHelpers["extends"]({},a,{implementationSeekSourcePosition:null,playbackState:i({bufferingDetected:f,prevPlaybackState:k,seeking:g,waitingForDomPlaying:h}),seeking:g,waitingForDomTimeUpdateAfterSeeked:!0});case"dom_event_error":e.payload.videoElementError==null&&d("VideoPlayerODS").bumpEntityKey("comet_video_player","dom_event_error.error_is_nullish",14);return babelHelpers["extends"]({},a,{playbackState:"paused",waitingForDomPlaying:!1});case"dom_event_play_promise_created":return babelHelpers["extends"]({},a,{hostCallPlayIDLast:e.payload.hostCallPlayID});case"dom_event_play_promise_resolved":return a.hostCallPlayIDLast!==e.payload.hostCallPlayID?a:babelHelpers["extends"]({},a,{hostCallPlayIDLast:null});case"dom_event_play_promise_rejected":if(a.hostCallPlayIDLast!==e.payload.hostCallPlayID)return a;if(c("gkx")("30214")){l=e.payload.playPromiseRejectionReason;return babelHelpers["extends"]({},a,{hostCallPlayIDLast:null},!(l!=null&&l.name==="AbortError")&&a.playbackState==="stalling"?{playbackState:"paused",waitingForDomPlaying:!1}:{})}return babelHelpers["extends"]({},a,{hostCallPlayIDLast:null,playbackState:a.playbackState==="stalling"?"paused":a.playbackState,waitingForDomPlaying:!1});case"dom_event_durationchange":if(c("gkx")("30214")){f=b.videoElementEnded===!0?"ended":b.videoElementPaused===!0?"paused":a.playbackState;if((a.playbackState==="stalling"||a.playbackState==="playing")&&f!==a.playbackState)return babelHelpers["extends"]({},a,{playbackState:f,waitingForDomPlaying:!1})}return a;case"implementation_host_call_queue_flushed":return babelHelpers["extends"]({},a,{hostCallQueue:[]});case"implementation_host_call_failed":k=d("VideoPlayerImplementationErrors").createVideoPlayerErrorFromHTMLVideoElementError({errorLocation:e.payload.errorLocation,hostCallError:e.payload.hostCallError,videoElementError:e.payload.videoElementError,videoElementNetworkState:e.payload.videoElementNetworkState,videoElementReadyState:e.payload.videoElementReadyState});return babelHelpers["extends"]({},a,{error:k,playbackState:"paused",waitingForDomPlaying:!1});case"implementation_mounted":return babelHelpers["extends"]({},a,{mountState:"mounted_onscreen"});case"implementation_unmounted":return babelHelpers["extends"]({},a,{mountState:"unmounted"});case"implementation_onscreen":return babelHelpers["extends"]({},a,{mountState:"mounted_onscreen"});case"implementation_offscreen":return babelHelpers["extends"]({},a,{mountState:"mounted_offscreen"});case"implementation_video_node_unmounted":return babelHelpers["extends"]({},a,{hostCallPlayIDLast:null});case"implementation_engine_initialized":g=(h=e.payload.streamingFormat)!=null?h:a.streamingFormat;return babelHelpers["extends"]({},a,{selectedVideoQuality:e.payload.selectedVideoQuality,streamingFormat:g});case"implementation_engine_qualities_changed":f=(l=e.payload.streamingFormat)!=null?l:a.streamingFormat;return babelHelpers["extends"]({},a,{selectedVideoQuality:e.payload.selectedVideoQuality,streamingFormat:f});case"implementation_engine_destroyed":return babelHelpers["extends"]({},a,{hostCallPlayIDLast:null});case"implementation_fatal_error":return babelHelpers["extends"]({},a,{error:e.payload.fatalError,hostCallPlayIDLast:null,playbackState:"paused",waitingForDomPlaying:!1});case"implementation_seek_requested":return babelHelpers["extends"]({},a,{implementationSeekSourcePosition:e.payload.seekSourcePosition});case"representation_changed":return babelHelpers["extends"]({},a);case"controller_pause_requested":return a.playbackState==="ended"?a:babelHelpers["extends"]({},a,{lastPausedTimeMs:Date.now(),lastPauseReason:e.payload.reason,lastPlayedTimeMs:0,playbackState:"paused",waitingForDomPlaying:!1,watchTimeMs:a.lastPlayedTimeMs>0?a.watchTimeMs+(Date.now()-a.lastPlayedTimeMs):a.watchTimeMs});case"controller_play_requested":return a.playbackState!=="paused"&&a.playbackState!=="ended"?a:babelHelpers["extends"]({},a,{hasPlayEverBeenRequested:!0,lastPlayedTimeMs:a.lastPlayedTimeMs===0?Date.now():a.lastPlayedTimeMs,lastPlayReason:e.payload.reason,loopCurrent:j(a)?e.payload.reason==="loop_initiated"?a.loopCurrent+1:a.loopCurrent:0,playbackState:"stalling",waitingForDomPlaying:!0});case"controller_seek_requested":return babelHelpers["extends"]({},a,{implementationSeekSourcePosition:(k=b.videoElementPlayheadPosition)!=null?k:a.implementationSeekSourcePosition,seeking:!0,seekTargetPosition:e.payload.seekTargetPosition});case"controller_quality_requested":return babelHelpers["extends"]({},a,{selectedVideoQuality:e.payload.selectedVideoQuality});case"controller_video_variant_requested":return babelHelpers["extends"]({},a,{selectedVideoVariant:e.payload.selectedVideoVariant});case"controller_set_caption_display_style_requested":return babelHelpers["extends"]({},a,{captionDisplayStyle:e.payload.captionDisplayStyle});case"controller_set_picture_in_picture_state_requested":return babelHelpers["extends"]({},a,{isDesktopPictureInPicture:e.payload.isInPictureInPictureMode});case"controller_set_caption_format_requested":return babelHelpers["extends"]({},a,{captionFormat:e.payload.captionFormat});case"controller_set_playback_rate":return babelHelpers["extends"]({},a,{targetPlaybackRate:e.payload.playbackRate});case"controller_muted_requested":return babelHelpers["extends"]({},a,{lastMuteReason:e.payload.reason,muted:e.payload.muted});case"controller_volume_requested":return babelHelpers["extends"]({},a,{volume:e.payload.volume});case"controller_scrub_begin_requested":return a.scrubbing?a:babelHelpers["extends"]({},a,{scrubbing:!0,seekTargetPosition:null});case"controller_scrub_end_requested":return!a.scrubbing?a:babelHelpers["extends"]({},a,{implementationSeekSourcePosition:(h=b.videoElementPlayheadPosition)!=null?h:a.implementationSeekSourcePosition,scrubbing:!1,seeking:e.payload.seekTargetPosition!=null,seekTargetPosition:e.payload.seekTargetPosition});case"buffering_begin_requested":g=a.playbackState;l=g;switch(g){case"paused":case"ended":break;case"playing":case"stalling":l="stalling";break;default:g;c("recoverableViolation")("unexpected playbackState: "+g,"comet_video_player");break}f=e.payload.bufferingType;return babelHelpers["extends"]({},a,{bufferingDetected:!0,lastBufferingType:f,playbackState:l});case"buffering_end_requested":k=a.seeking;h=a.waitingForDomPlaying;g=!1;f=a.playbackState;return babelHelpers["extends"]({},a,{bufferingDetected:g,playbackState:i({bufferingDetected:g,prevPlaybackState:f,seeking:k,waitingForDomPlaying:h})});case"controller_set_captions_visible_requested":l=e.payload.captionsVisible;return a.captionsVisible===l?a:babelHelpers["extends"]({},a,{activeCaptions:l?a.activeCaptions:null,captionsLocale:l?a.captionsLocale:null,captionsVisible:l});case"controller_set_active_captions_requested":g=e.payload.activeCaptions;k=(f=g==null?void 0:g.rows)!=null?f:[];h=e.payload.captionsLocale;l=a.activeCaptions;var m=(f=l==null?void 0:l.rows)!=null?f:[];return m.length===k.length&&k.every(function(a,b){return m[b]===a})?a:babelHelpers["extends"]({},a,{activeCaptions:g,captionsLocale:h});case"captions_loaded":return babelHelpers["extends"]({},a,{activeCaptions:a.activeCaptions,captionsLoaded:!0});case"captions_unloaded":return babelHelpers["extends"]({},a,{activeCaptions:null,captionsLoaded:!1,captionsLocale:null});case"inband_captions_autogenerated_changed":l=e.payload.inbandCaptionsAutogenerated;return a.inbandCaptionsAutogenerated===l?a:babelHelpers["extends"]({},a,{inbandCaptionsAutogenerated:l});case"stream_ended":return babelHelpers["extends"]({},a,{streamEnded:!0});case"stream_gone_before_start":return babelHelpers["extends"]({},a,{playbackState:"ended",streamEnded:!0,waitingForDomPlaying:!1});case"stream_interrupted":return babelHelpers["extends"]({},a,{streamInterrupted:!0});case"stream_resumed":return babelHelpers["extends"]({},a,{streamInterrupted:!1});case"seekable_ranges_changed":f=e.payload.seekableRanges;return babelHelpers["extends"]({},a,{seekableRanges:f});case"controller_set_is_live_rewind_active_requested":k=e.payload.isLiveRewindActive;return babelHelpers["extends"]({},a,{isLiveRewindActive:k});case"loop_count_change_requested":g=e.payload.loopCount;return g===a.loopCount?a:babelHelpers["extends"]({},a,{loopCount:g,loopCurrent:0});case"player_dimensions_changed":h=e.payload.dimensions;l=h.height;f=h.width;return f===a.dimensions.width&&l===a.dimensions.height?a:babelHelpers["extends"]({},a,{dimensions:{height:l,width:f}});case"emsg_boxes_parsed":k=d("VideoPlayerEmsgForStateMachine").makeUpdatedAllEmsgBoxes(a.allEmsgBoxes,e.payload.emsgBoxes);g=d("VideoPlayerEmsgForStateMachine").makeUpdatedActiveEmsgBoxes(k,b.videoElementPlayheadPosition,a.activeEmsgBoxes);return babelHelpers["extends"]({},a,{activeEmsgBoxes:g,allEmsgBoxes:k});case"register_emsg_observer":h=new Set(a.emsgObserverTokens);h.add(e.payload.token);return babelHelpers["extends"]({},a,{emsgObserverTokens:h});case"unregister_emsg_observer":l=new Set(a.emsgObserverTokens);l["delete"](e.payload.token);return babelHelpers["extends"]({},a,{emsgObserverTokens:l});default:return a}}function l(a,b,d){var e=b.type!=="dom_seeking";e=e?d:a.uncontrolledState;d=!c("shallowEqual")(e,a.uncontrolledState);b=k(a.controlledState,e,b);var f=!c("shallowEqual")(b,a.controlledState);return d||f?babelHelpers["extends"]({},a,{controlledState:f?b:a.controlledState,uncontrolledState:d?e:a.uncontrolledState}):a}var m,n;function o(a){var b=a.collectUncontrolledState,d=a.debugLogId;d=a.initialState;var e=a.onDispatched,f=a.onFatalError,g=d,h=g,i=0,j=!1,k=!1,m=!0,n=!0;return{dispatch:function(a){if(!n)return;var d=null,g=null;try{++i;if(i>=10)if(!j){j=!0;throw c("unrecoverableViolation")("Video player state machine loop detected","comet_video_player")}else return;var o=h.uncontrolledState;if(m)try{o=b()}catch(a){m=!1,g=a}var p=h;o=l(p,a,o);h=o;e(p,o,a)}catch(a){n=!1,d=a}finally{if(!k&&(d!=null||g!=null)){k=!0;try{f((p=d)!=null?p:g)}catch(a){}}--i}},getCurrentState:function(){return h},getInitialState:function(){return g}}}var p,q;function a(a){var b=a.collectUncontrolledState,c=a.debugLogId,d=a.initialState,e=a.onFatalError,f=a.stateTransitionHandlers;function g(a,b,c){try{var d=!0,e=0;while(d&&e<f.length){var g=f[e];d=g(a,b,c);++e}}finally{}}return o({collectUncontrolledState:b,debugLogId:c,initialState:d,onDispatched:g,onFatalError:e})}function b(a,b){function c(){}function d(a){return a}function e(c){return function(e){var f=d(e.currentTarget);b(f,["reactEvent("+e.type+")"]);a.dispatch(c)}}function f(c){return function(e){var f=d(e.currentTarget);b(f,["reactEvent("+e.type+")"]);a.dispatch(c(e,f))}}return{onAbort:c,onCanPlay:f(function(a){return{payload:{domEventPerfTimestamp:a.timeStamp},type:"dom_event_canplay"}}),onCanPlayThrough:c,onDurationChange:e({type:"dom_event_durationchange"}),onEmptied:c,onEncrypted:c,onEnded:e({type:"dom_event_ended"}),onError:f(function(a,b){return{payload:{videoElementError:b.error,videoElementNetworkState:b.networkState,videoElementReadyState:b.readyState},type:"dom_event_error"}}),onLoadedData:f(function(a){return{payload:{domEventPerfTimestamp:a.timeStamp},type:"dom_event_loadeddata"}}),onLoadedMetadata:f(function(a){return{payload:{domEventPerfTimestamp:a.timeStamp},type:"dom_event_loadedmetadata"}}),onLoadStart:c,onPause:e({type:"dom_event_pause"}),onPlay:e({type:"dom_event_play"}),onPlaying:f(function(a){return{payload:{domEventPerfTimestamp:a.timeStamp},type:"dom_event_playing"}}),onProgress:e({type:"dom_event_progress"}),onRateChange:e({type:"dom_event_ratechange"}),onSeeked:e({type:"dom_event_seeked"}),onSeeking:e({type:"dom_event_seeking"}),onStalled:c,onSuspend:c,onTimeUpdate:e({type:"dom_event_timeupdate"}),onVolumeChange:e({type:"dom_event_volumechange"}),onWaiting:e({type:"dom_event_waiting"})}}g.createVideoPlayerImplementationStateMachine=o;g.createVideoPlayerImplementationStateMachineWithStateTransitionHandlers=a;g.createReactVideoElementCallbacksForStateMachine=b}),98); __d("convertToViewabilityPercentage",[],(function(a,b,c,d,e,f){"use strict";function a(a){if(a>=.99)return 100;else if(a>=.75)return 75;else if(a>=.5)return 50;else if(a>=.25)return 25;else if(a>=0)return 0;else return-2}f["default"]=a}),66); __d("VideoPlayerImplementationStateMachineStateUncontrolledState",["NetworkStatus","convertToViewabilityPercentage","gkx","performance"],(function(a,b,c,d,e,f,g){"use strict";var h;function a(a){var b,d=a.engineExtrasAPI,e=a.fullscreenControllerRef,f=a.videoElementAPI,g=a.videoLiveTraceRef;a=a.videoPlayerPassiveViewabilityInfoRef;g=g.current;var i=Date.now(),j=typeof (h||(h=c("performance"))).now==="function"?(h||(h=c("performance"))).now():0;if(f==null){var k;return{audioRepresentationID:void 0,availableAudioTracks:[],availableQualities:[],availableVideoTracks:[],clockTimestamp:i,currentPlayingAudioTrackID:void 0,currentPlayingVideoQuality:void 0,currentPlayingVideoTrackID:void 0,estimatedBandwidth:void 0,isDocumentHidden:document.hidden,isDRM:void 0,isFBIsLiveTemplated:void 0,isFBMS:void 0,isFBWasLive:void 0,isFullscreen:e.current?e.current.getIsFullscreen():void 0,isLiveRewindAvailable:void 0,isMixedCodecManifest:null,isPredictiveDash:void 0,liveTraceContext:g?(k=g.getLiveTraceContext())!=null?k:void 0:void 0,manifestIdentifier:void 0,mpdValidationErrors:void 0,networkConnected:void 0,perfTimestamp:j,targetAudioTrack:null,targetVideoQuality:"",videoElementDebugCurrentSrc:void 0,videoElementDebugSrc:void 0,videoElementDroppedFrameCount:void 0,videoElementDuration:void 0,videoElementEnded:void 0,videoElementError:void 0,videoElementLastBufferEndPosition:void 0,videoElementMuted:void 0,videoElementNetworkState:void 0,videoElementPaused:void 0,videoElementPlaybackRate:void 0,videoElementPlayheadPosition:void 0,videoElementReadyState:void 0,videoElementTotalFrameCount:void 0,videoElementVolume:void 0,videoProjection:void 0,videoRepresentationID:void 0,viewabilityPercentage:void 0}}k=f.getPlayheadPosition();a=a&&a.current;a=a&&a.getCurrent();return{audioRepresentationID:d?d.getCurrentPlayingAudioRepresentationID():void 0,availableAudioTracks:(b=d==null?void 0:d.getAvailableAudioTracks())!=null?b:[],availableQualities:(b=d==null?void 0:d.getAvailableVideoQualities())!=null?b:[],availableVideoTracks:(b=d==null?void 0:d.getAvailableVideoTracks())!=null?b:[],clockTimestamp:i,currentPlayingAudioTrackID:d?d.getCurrentPlayingAudioRepresentationID():void 0,currentPlayingVideoQuality:d?d.getCurrentPlayingVideoQuality():void 0,currentPlayingVideoTrackID:d?d.getCurrentPlayingVideoRepresentationID():void 0,estimatedBandwidth:d?d.getEstimatedBandwidth():void 0,isDocumentHidden:document.hidden,isDRM:d?d.isDrm():void 0,isFBIsLiveTemplated:d?d.isFBIsLiveTemplated():void 0,isFBMS:d?d.isFBMS():void 0,isFBWasLive:d?d.isFBWasLive():void 0,isFullscreen:e.current?e.current.getIsFullscreen():void 0,isLiveRewindAvailable:d?d.isLiveRewindAvailable():void 0,isMixedCodecManifest:d?d.isMixedCodecManifest():null,isPredictiveDash:d?d.isPredictiveDash():void 0,liveTraceContext:g?(b=g.getLiveTraceContext())!=null?b:void 0:void 0,manifestIdentifier:d?d.getManifestIdentifier():void 0,mpdValidationErrors:d?d.getMpdValidationErrors():void 0,networkConnected:c("NetworkStatus").isOnline(),perfTimestamp:j,targetAudioTrack:(i=d==null?void 0:d.getTargetAudioTrack())!=null?i:null,targetVideoQuality:(e=d==null?void 0:d.getCurrentTargetVideoQuality())!=null?e:"",videoElementDebugCurrentSrc:c("gkx")("24351")?(g=f.getUnderlyingVideoElement())==null?void 0:g.currentSrc:void 0,videoElementDebugSrc:c("gkx")("24351")?(b=f.getUnderlyingVideoElement())==null?void 0:b.src:void 0,videoElementDroppedFrameCount:f.getDroppedFrameCount(),videoElementDuration:f.getDuration(),videoElementEnded:f.getEnded(),videoElementError:f.getError(),videoElementLastBufferEndPosition:f.getLastBufferEndPosition(),videoElementMuted:f.getMuted(),videoElementNetworkState:f.getNetworkState(),videoElementPaused:f.getPaused(),videoElementPlaybackRate:f.getPlaybackRate(),videoElementPlayheadPosition:k,videoElementReadyState:f.getReadyState(),videoElementTotalFrameCount:f.getTotalFrameCount(),videoElementVolume:f.getVolume(),videoProjection:d==null?void 0:d.getVideoProjectionType(),videoRepresentationID:d?d.getCurrentPlayingVideoRepresentationID():void 0,viewabilityPercentage:a?c("convertToViewabilityPercentage")(a.visiblePercentage):void 0}}g.createVideoPlayerImplementationStateMachineStateUncontrolledState=a}),98); __d("VideoPlayerImplementationStateMachineState",["VideoPlayerImplementationStateMachineStateUncontrolledState"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=a.alwaysShowCaptions,c=a.areCaptionsAutogenerated,e=a.captionDisplayStyle,f=a.dimensions,g=a.isAbrEnabled,h=a.playerVersion;a=a.streamingFormat;var i=!0,j=1,k=d("VideoPlayerImplementationStateMachineStateUncontrolledState").createVideoPlayerImplementationStateMachineStateUncontrolledState({engineExtrasAPI:null,fullscreenControllerRef:{current:null},videoElementAPI:null,videoLiveTraceRef:{current:null},videoPlayerPassiveViewabilityInfoRef:{current:null}});return{controlledState:{activeCaptions:null,activeEmsgBoxes:[],allEmsgBoxes:new Map(),bufferingDetected:!1,captionDisplayStyle:e,captionFormat:null,captionsLoaded:!1,captionsLocale:null,captionsVisible:b,dimensions:f,domEventsLatestPerfMs:{},emsgObserverTokens:new Set(),error:null,hasPlayEverBeenRequested:!1,hostCallPlayIDLast:null,hostCallQueue:[],implementationSeekSourcePosition:null,inbandCaptionsAutogenerated:c,isDesktopPictureInPicture:!1,isLiveRewindActive:!1,lastBufferingType:null,lastMuteReason:null,lastPausedTimeMs:0,lastPauseReason:null,lastPlayedTimeMs:0,lastPlayReason:null,latencyLevel:"normal",loopCount:0,loopCurrent:0,mountState:"before_mounted",muted:i,playbackState:"paused",scrubbing:!1,seekableRanges:null,seeking:!1,seekTargetPosition:null,selectedVideoQuality:"notselected",selectedVideoVariant:null,streamEnded:!1,streamingFormat:a,streamInterrupted:!1,targetPlaybackRate:1,ullIneligibilityReason:null,volume:j,waitingForDomPlaying:!1,waitingForDomTimeUpdateAfterSeeked:!1,watchTimeMs:0},isAbrEnabled:g,playerVersion:h,uncontrolledState:k}}g.createVideoPlayerImplementationStateMachineInitialState=a}),98); __d("WASmaxInPrivatestatsIQErrorBadRequestMixin",["WAResultOrError","WASmaxParseUtils"],(function(a,b,c,d,e,f,g){function a(a){var b=d("WASmaxParseUtils").assertTag(a,"error");if(!b.success)return b;b=d("WASmaxParseUtils").literal(d("WASmaxParseUtils").attrString,a,"text","bad-request");if(!b.success)return b;a=d("WASmaxParseUtils").literal(d("WASmaxParseUtils").attrInt,a,"code",400);return!a.success?a:d("WAResultOrError").makeResult({text:b.value,code:a.value})}g.parseIQErrorBadRequestMixin=a}),98); __d("WASmaxInPrivatestatsIQErrorFeatureNotImplementedMixin",["WAResultOrError","WASmaxParseUtils"],(function(a,b,c,d,e,f,g){function a(a){var b=d("WASmaxParseUtils").assertTag(a,"error");if(!b.success)return b;b=d("WASmaxParseUtils").literal(d("WASmaxParseUtils").attrString,a,"text","feature-not-implemented");if(!b.success)return b;a=d("WASmaxParseUtils").literal(d("WASmaxParseUtils").attrInt,a,"code",501);return!a.success?a:d("WAResultOrError").makeResult({text:b.value,code:a.value})}g.parseIQErrorFeatureNotImplementedMixin=a}),98); __d("WASmaxInPrivatestatsIQErrorInternalServerErrorMixin",["WAResultOrError","WASmaxParseUtils"],(function(a,b,c,d,e,f,g){function a(a){var b=d("WASmaxParseUtils").assertTag(a,"error");if(!b.success)return b;b=d("WASmaxParseUtils").literal(d("WASmaxParseUtils").attrString,a,"text","internal-server-error");if(!b.success)return b;a=d("WASmaxParseUtils").literal(d("WASmaxParseUtils").attrInt,a,"code",500);return!a.success?a:d("WAResultOrError").makeResult({text:b.value,code:a.value})}g.parseIQErrorInternalServerErrorMixin=a}),98); __d("WASmaxInPrivatestatsIQErrorResponseMixin",["WAResultOrError","WASmaxParseReference","WASmaxParseUtils"],(function(a,b,c,d,e,f,g){function a(a,b){var c=d("WASmaxParseUtils").assertTag(a,"iq");if(!c.success)return c;c=d("WASmaxParseReference").attrStringFromReference(b,["id"]);if(!c.success)return c;c=d("WASmaxParseUtils").literal(d("WASmaxParseUtils").attrString,a,"id",c.value);if(!c.success)return c;c=d("WASmaxParseReference").attrStringFromReference(b,["to"]);if(!c.success)return c;b=d("WASmaxParseUtils").literal(d("WASmaxParseUtils").attrString,a,"from",c.value);if(!b.success)return b;c=d("WASmaxParseUtils").literal(d("WASmaxParseUtils").attrString,a,"type","error");return!c.success?c:d("WAResultOrError").makeResult({type:c.value})}g.parseIQErrorResponseMixin=a}),98); __d("WASmaxInPrivatestatsIQErrorServiceUnavailableMixin",["WAResultOrError","WASmaxParseUtils"],(function(a,b,c,d,e,f,g){function a(a){var b=d("WASmaxParseUtils").assertTag(a,"error");if(!b.success)return b;b=d("WASmaxParseUtils").literal(d("WASmaxParseUtils").attrString,a,"text","service-unavailable");if(!b.success)return b;a=d("WASmaxParseUtils").literal(d("WASmaxParseUtils").attrInt,a,"code",503);return!a.success?a:d("WAResultOrError").makeResult({text:b.value,code:a.value})}g.parseIQErrorServiceUnavailableMixin=a}),98); __d("WASmaxInPrivatestatsSignCredentialNoRetryError",["WAResultOrError","WASmaxInPrivatestatsIQErrorBadRequestMixin","WASmaxInPrivatestatsIQErrorFeatureNotImplementedMixin","WASmaxInPrivatestatsIQErrorServiceUnavailableMixin","WASmaxParseUtils"],(function(a,b,c,d,e,f,g){function a(a){var b=d("WASmaxInPrivatestatsIQErrorBadRequestMixin").parseIQErrorBadRequestMixin(a);if(b.success)return d("WAResultOrError").makeResult({name:"IQErrorBadRequest",value:b.value});var c=d("WASmaxInPrivatestatsIQErrorFeatureNotImplementedMixin").parseIQErrorFeatureNotImplementedMixin(a);if(c.success)return d("WAResultOrError").makeResult({name:"IQErrorFeatureNotImplemented",value:c.value});var e=d("WASmaxInPrivatestatsIQErrorServiceUnavailableMixin").parseIQErrorServiceUnavailableMixin(a);return e.success?d("WAResultOrError").makeResult({name:"IQErrorServiceUnavailable",value:e.value}):d("WASmaxParseUtils").errorMixinDisjunction(a,["IQErrorBadRequest","IQErrorFeatureNotImplemented","IQErrorServiceUnavailable"],[b,c,e])}g.parseSignCredentialNoRetryError=a}),98); __d("WASmaxInPrivatestatsSignCredentialResponseErrorNoRetry",["WAResultOrError","WASmaxInPrivatestatsIQErrorResponseMixin","WASmaxInPrivatestatsSignCredentialNoRetryError","WASmaxParseUtils"],(function(a,b,c,d,e,f,g){function a(a,b){var c=d("WASmaxParseUtils").assertTag(a,"iq");if(!c.success)return c;c=d("WASmaxParseUtils").flattenedChildWithTag(a,"error");if(!c.success)return c;a=d("WASmaxInPrivatestatsIQErrorResponseMixin").parseIQErrorResponseMixin(a,b);if(!a.success)return a;b=d("WASmaxInPrivatestatsSignCredentialNoRetryError").parseSignCredentialNoRetryError(c.value);return!b.success?b:d("WAResultOrError").makeResult(babelHelpers["extends"]({},a.value,{errorSignCredentialNoRetryError:b.value}))}g.parseSignCredentialResponseErrorNoRetry=a}),98); __d("WASmaxInPrivatestatsSignCredentialResponseErrorRetry",["WAResultOrError","WASmaxInPrivatestatsIQErrorInternalServerErrorMixin","WASmaxInPrivatestatsIQErrorResponseMixin","WASmaxParseUtils"],(function(a,b,c,d,e,f,g){function a(a,b){var c=d("WASmaxParseUtils").assertTag(a,"iq");if(!c.success)return c;c=d("WASmaxParseUtils").flattenedChildWithTag(a,"error");if(!c.success)return c;c=d("WASmaxInPrivatestatsIQErrorInternalServerErrorMixin").parseIQErrorInternalServerErrorMixin(c.value);if(!c.success)return c;a=d("WASmaxInPrivatestatsIQErrorResponseMixin").parseIQErrorResponseMixin(a,b);return!a.success?a:d("WAResultOrError").makeResult(babelHelpers["extends"]({errorIQErrorInternalServerErrorMixin:c.value},a.value))}g.parseSignCredentialResponseErrorRetry=a}),98); __d("WASmaxInPrivatestatsSignCredentialResponseSuccess",["WAResultOrError","WASmaxParseReference","WASmaxParseUtils"],(function(a,b,c,d,e,f,g){function a(a,b){var c=d("WASmaxParseUtils").assertTag(a,"iq");if(!c.success)return c;c=d("WASmaxParseUtils").flattenedChildWithTag(a,"sign_credential");if(!c.success)return c;var e=d("WASmaxParseUtils").flattenedChildWithTag(c.value,"signed_credential");if(!e.success)return e;var f=d("WASmaxParseUtils").flattenedChildWithTag(c.value,"acs_public_key");if(!f.success)return f;var g=d("WASmaxParseUtils").flattenedChildWithTag(c.value,"dleq_proof");if(!g.success)return g;var h=d("WASmaxParseUtils").flattenedChildWithTag(g.value,"c");if(!h.success)return h;g=d("WASmaxParseUtils").flattenedChildWithTag(g.value,"s");if(!g.success)return g;var i=d("WASmaxParseUtils").flattenedChildWithTag(c.value,"project_name");if(!i.success)return i;var j=d("WASmaxParseReference").attrStringFromReference(b,["id"]);if(!j.success)return j;j=d("WASmaxParseUtils").literal(d("WASmaxParseUtils").attrString,a,"id",j.value);if(!j.success)return j;j=d("WASmaxParseUtils").literal(d("WASmaxParseUtils").attrString,a,"type","result");if(!j.success)return j;b=d("WASmaxParseReference").attrStringFromReference(b,["to"]);if(!b.success)return b;a=d("WASmaxParseUtils").literal(d("WASmaxParseUtils").attrString,a,"from",b.value);if(!a.success)return a;b=d("WASmaxParseUtils").attrIntRange(c.value,"t",0,void 0);if(!b.success)return b;a=d("WASmaxParseUtils").contentBytesRange(e.value,32,32);if(!a.success)return a;c=d("WASmaxParseUtils").contentBytesRange(f.value,32,32);if(!c.success)return c;e=d("WASmaxParseUtils").contentBytesRange(h.value,32,32);if(!e.success)return e;f=d("WASmaxParseUtils").contentBytesRange(g.value,32,32);if(!f.success)return f;h=d("WASmaxParseUtils").contentString(i.value);return!h.success?h:d("WAResultOrError").makeResult({type:j.value,signCredentialT:b.value,signCredentialSignedCredentialElementValue:a.value,signCredentialAcsPublicKeyElementValue:c.value,signCredentialDleqProofCElementValue:e.value,signCredentialDleqProofSElementValue:f.value,signCredentialProjectNameElementValue:h.value})}g.parseSignCredentialResponseSuccess=a}),98); __d("WASmaxOutPrivatestatsSignCredentialRequest",["WASmaxJsx","WAWap"],(function(a,b,c,d,e,f,g){function a(a){var b,c=a.blindedCredentialElementValue;a=a.projectNameElementValue;c=(b=d("WASmaxJsx")).smax("iq",{xmlns:"privatestats",id:d("WAWap").generateId(),type:"get",to:d("WAWap").S_WHATSAPP_NET},b.smax("sign_credential",{version:"2"},b.smax("blinded_credential",null,c),b.smax("project_name",null,a)));return c}g.makeSignCredentialRequest=a}),98); __d("WASmaxPrivatestatsSignCredentialRPC",["WAComms","WASmaxInPrivatestatsSignCredentialResponseErrorNoRetry","WASmaxInPrivatestatsSignCredentialResponseErrorRetry","WASmaxInPrivatestatsSignCredentialResponseSuccess","WASmaxOutPrivatestatsSignCredentialRequest","WASmaxParsingFailure","WASmaxRpcUtils","asyncToGeneratorRuntime"],(function(a,b,c,d,e,f,g){function a(a,b){return h.apply(this,arguments)}function h(){h=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b){a=d("WASmaxOutPrivatestatsSignCredentialRequest").makeSignCredentialRequest(a);b=(yield d("WAComms").sendSmaxStanza(a,b));var c=d("WASmaxInPrivatestatsSignCredentialResponseSuccess").parseSignCredentialResponseSuccess(b,a);if(c.success)return{name:"SignCredentialResponseSuccess",value:c.value};var e=d("WASmaxInPrivatestatsSignCredentialResponseErrorNoRetry").parseSignCredentialResponseErrorNoRetry(b,a);if(e.success)return{name:"SignCredentialResponseErrorNoRetry",value:e.value};b=d("WASmaxInPrivatestatsSignCredentialResponseErrorRetry").parseSignCredentialResponseErrorRetry(b,a);if(b.success)return{name:"SignCredentialResponseErrorRetry",value:b.value};throw new(d("WASmaxParsingFailure").SmaxParsingFailure)(d("WASmaxRpcUtils").errorMessageRpcParsing("SignCredential",{Success:c,ErrorNoRetry:e,ErrorRetry:b}))});return h.apply(this,arguments)}g.sendSignCredentialRPC=a}),98); __d("WAWeb-lottie-light",[],(function(a,b,c,d,e,f){typeof navigator!=="undefined"&&(function(b,c){e.exports=c()})(this,function(){"use strict";var a="http://www.w3.org/2000/svg",b="",c=!1,d=-999999,g=function(a){c=!!a},h=function(){return c},i=function(a){b=a},j=function(){return b};function k(a){return document.createElement(a)}function l(a,b){var c,d=a.length,e;for(c=0;c<d;c+=1){e=a[c].prototype;for(var f in e)Object.prototype.hasOwnProperty.call(e,f)&&(b.prototype[f]=e[f])}}function m(a){function b(){}b.prototype=a;return b}var n=function(){function a(a){this.audios=[],this.audioFactory=a,this._volume=1,this._isMuted=!1}a.prototype={addAudio:function(a){this.audios.push(a)},pause:function(){var a,b=this.audios.length;for(a=0;a<b;a+=1)this.audios[a].pause()},resume:function(){var a,b=this.audios.length;for(a=0;a<b;a+=1)this.audios[a].resume()},setRate:function(a){var b,c=this.audios.length;for(b=0;b<c;b+=1)this.audios[b].setRate(a)},createAudio:function(a){if(this.audioFactory)return this.audioFactory(a);return window.Howl?new window.Howl({src:[a]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(a){this.audioFactory=a},setVolume:function(a){this._volume=a,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var a,b=this.audios.length;for(a=0;a<b;a+=1)this.audios[a].volume(this._volume*(this._isMuted?0:1))}};return function(){return new a()}}(),o=function(){function a(a,b){var c=0,d=[],e;switch(a){case"int16":case"uint8c":e=1;break;default:e=1.1;break}for(c=0;c<b;c+=1)d.push(e);return d}function b(b,c){if(b==="float32")return new Float32Array(c);if(b==="int16")return new Int16Array(c);return b==="uint8c"?new Uint8ClampedArray(c):a(b,c)}return typeof Uint8ClampedArray==="function"&&typeof Float32Array==="function"?b:a}();function p(a){return Array.apply(null,{length:a})}function q(a){typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?q=function(a){return typeof a}:q=function(a){return a&&typeof Symbol==="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a};return q(a)}var r=!0,s=null,t=null,u="",v=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),w=!1,x=Math.pow,y=Math.sqrt,z=Math.floor;Math.max;var A=Math.min,B={};(function(){var a=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],b,c=a.length;for(b=0;b<c;b+=1)B[a[b]]=Math[a[b]]})();B.random=Math.random;B.abs=function(a){var b=q(a);if(b==="object"&&a.length){b=p(a.length);var c,d=a.length;for(c=0;c<d;c+=1)b[c]=Math.abs(a[c]);return b}return Math.abs(a)};var C=150,D=Math.PI/180,E=.5519;function F(a){w=!!a}function G(a,b,c,d){this.type=a,this.currentTime=b,this.totalTime=c,this.direction=d<0?-1:1}function aa(a,b){this.type=a,this.direction=b<0?-1:1}function ba(a,b,c,d){this.type=a,this.currentLoop=c,this.totalLoops=b,this.direction=d<0?-1:1}function ca(a,b,c){this.type=a,this.firstFrame=b,this.totalFrames=c}function da(a,b){this.type=a,this.target=b}function ea(a,b){this.type="renderFrameError",this.nativeError=a,this.currentTime=b}function fa(a){this.type="configError",this.nativeError=a}var H=function(){var a=0;return function(){a+=1;return u+"__lottie_element_"+a}}();function ga(a,b,c){var d,e,f,g,h,i;g=Math.floor(a*6);a=a*6-g;h=c*(1-b);i=c*(1-a*b);a=c*(1-(1-a)*b);switch(g%6){case 0:d=c;e=a;f=h;break;case 1:d=i;e=c;f=h;break;case 2:d=h;e=c;f=a;break;case 3:d=h;e=i;f=c;break;case 4:d=a;e=h;f=c;break;case 5:d=c;e=h;f=i;break;default:break}return[d,e,f]}function ha(a,b,c){var d=Math.max(a,b,c),e=Math.min(a,b,c),f=d-e,g,h=d===0?0:f/d,i=d/255;switch(d){case e:g=0;break;case a:g=b-c+f*(b<c?6:0);g/=6*f;break;case b:g=c-a+f*2;g/=6*f;break;case c:g=a-b+f*4;g/=6*f;break;default:break}return[g,h,i]}function ia(a,b){a=ha(a[0]*255,a[1]*255,a[2]*255);a[1]+=b;a[1]>1?a[1]=1:a[1]<=0&&(a[1]=0);return ga(a[0],a[1],a[2])}function ja(a,b){a=ha(a[0]*255,a[1]*255,a[2]*255);a[2]+=b;a[2]>1?a[2]=1:a[2]<0&&(a[2]=0);return ga(a[0],a[1],a[2])}function ka(a,b){a=ha(a[0]*255,a[1]*255,a[2]*255);a[0]+=b/360;a[0]>1?a[0]-=1:a[0]<0&&(a[0]+=1);return ga(a[0],a[1],a[2])}(function(){var a=[],b,c;for(b=0;b<256;b+=1)c=b.toString(16),a[b]=c.length===1?"0"+c:c;return function(b,c,d){b<0&&(b=0);c<0&&(c=0);d<0&&(d=0);return"#"+a[b]+a[c]+a[d]}})();var la=function(a){r=!!a},ma=function(){return r},na=function(a){s=a},I=function(){return s};(function(a){t=a});var J=function(){return t},K=function(a){C=a},L=function(){return C},oa=function(a){u=a};(function(){return u});function M(b){return document.createElementNS(a,b)}function pa(a){typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?pa=function(a){return typeof a}:pa=function(a){return a&&typeof Symbol==="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a};return pa(a)}var qa=function(){var b=1,c=[],d,e,f={onmessage:function(){},postMessage:function(a){d({data:a})}},g={postMessage:function(a){f.onmessage({data:a})}};function i(a){if(window.Worker&&window.Blob&&h()){var b=new Blob(["var _workerSelf = self; self.onmessage = ",a.toString()],{type:"text/javascript"});b=URL.createObjectURL(b);return new Worker(b)}d=a;return f}function j(){e||(e=i(function(a){function b(){function a(b,c){var g,h,i=b.length,j,k,l,m;for(h=0;h<i;h+=1){g=b[h];if("ks"in g&&!g.completed){g.completed=!0;if(g.hasMask){var o=g.masksProperties;k=o.length;for(j=0;j<k;j+=1)if(o[j].pt.k.i)f(o[j].pt.k);else{m=o[j].pt.k.length;for(l=0;l<m;l+=1)o[j].pt.k[l].s&&f(o[j].pt.k[l].s[0]),o[j].pt.k[l].e&&f(o[j].pt.k[l].e[0])}}g.ty===0?(g.layers=d(g.refId,c),a(g.layers,c)):g.ty===4?e(g.shapes):g.ty===5&&n(g)}}}function b(b,c){if(b){var e=0,f=b.length;for(e=0;e<f;e+=1)b[e].t===1&&(b[e].data.layers=d(b[e].data.refId,c),a(b[e].data.layers,c))}}function c(a,b){var c=0,d=b.length;while(c<d){if(b[c].id===a)return b[c];c+=1}return null}function d(a,b){a=c(a,b);if(a){if(!a.layers.__used){a.layers.__used=!0;return a.layers}return JSON.parse(JSON.stringify(a.layers))}return null}function e(a){var b=a.length,c,d;for(b=b-1;b>=0;b-=1)if(a[b].ty==="sh")if(a[b].ks.k.i)f(a[b].ks.k);else{d=a[b].ks.k.length;for(c=0;c<d;c+=1)a[b].ks.k[c].s&&f(a[b].ks.k[c].s[0]),a[b].ks.k[c].e&&f(a[b].ks.k[c].e[0])}else a[b].ty==="gr"&&e(a[b].it)}function f(a){var b,c=a.i.length;for(b=0;b<c;b+=1)a.i[b][0]+=a.v[b][0],a.i[b][1]+=a.v[b][1],a.o[b][0]+=a.v[b][0],a.o[b][1]+=a.v[b][1]}function g(a,b){b=b?b.split("."):[100,100,100];if(a[0]>b[0])return!0;if(b[0]>a[0])return!1;if(a[1]>b[1])return!0;if(b[1]>a[1])return!1;if(a[2]>b[2])return!0;return b[2]>a[2]?!1:null}var h=function(){var a=[4,4,14];function b(a){var b=a.t.d;a.t.d={k:[{s:b,t:0}]}}function c(a){var c,d=a.length;for(c=0;c<d;c+=1)a[c].ty===5&&b(a[c])}return function(b){if(g(a,b.v)){c(b.layers);if(b.assets){var d,e=b.assets.length;for(d=0;d<e;d+=1)b.assets[d].layers&&c(b.assets[d].layers)}}}}(),i=function(){var a=[4,7,99];return function(b){if(b.chars&&!g(a,b.v)){var c,d=b.chars.length;for(c=0;c<d;c+=1){var f=b.chars[c];f.data&&f.data.shapes&&(e(f.data.shapes),f.data.ip=0,f.data.op=99999,f.data.st=0,f.data.sr=1,f.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},b.chars[c].t||(f.data.shapes.push({ty:"no"}),f.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),j=function(){var a=[5,7,15];function b(a){a=a.t.p;typeof a.a==="number"&&(a.a={a:0,k:a.a});typeof a.p==="number"&&(a.p={a:0,k:a.p});typeof a.r==="number"&&(a.r={a:0,k:a.r})}function c(a){var c,d=a.length;for(c=0;c<d;c+=1)a[c].ty===5&&b(a[c])}return function(b){if(g(a,b.v)){c(b.layers);if(b.assets){var d,e=b.assets.length;for(d=0;d<e;d+=1)b.assets[d].layers&&c(b.assets[d].layers)}}}}(),k=function(){var a=[4,1,9];function b(a){var c,d=a.length,e,f;for(c=0;c<d;c+=1)if(a[c].ty==="gr")b(a[c].it);else if(a[c].ty==="fl"||a[c].ty==="st")if(a[c].c.k&&a[c].c.k[0].i){f=a[c].c.k.length;for(e=0;e<f;e+=1)a[c].c.k[e].s&&(a[c].c.k[e].s[0]/=255,a[c].c.k[e].s[1]/=255,a[c].c.k[e].s[2]/=255,a[c].c.k[e].s[3]/=255),a[c].c.k[e].e&&(a[c].c.k[e].e[0]/=255,a[c].c.k[e].e[1]/=255,a[c].c.k[e].e[2]/=255,a[c].c.k[e].e[3]/=255)}else a[c].c.k[0]/=255,a[c].c.k[1]/=255,a[c].c.k[2]/=255,a[c].c.k[3]/=255}function c(a){var c,d=a.length;for(c=0;c<d;c+=1)a[c].ty===4&&b(a[c].shapes)}return function(b){if(g(a,b.v)){c(b.layers);if(b.assets){var d,e=b.assets.length;for(d=0;d<e;d+=1)b.assets[d].layers&&c(b.assets[d].layers)}}}}(),l=function(){var a=[4,4,18];function b(a){var c=a.length,d,e;for(c=c-1;c>=0;c-=1)if(a[c].ty==="sh")if(a[c].ks.k.i)a[c].ks.k.c=a[c].closed;else{e=a[c].ks.k.length;for(d=0;d<e;d+=1)a[c].ks.k[d].s&&(a[c].ks.k[d].s[0].c=a[c].closed),a[c].ks.k[d].e&&(a[c].ks.k[d].e[0].c=a[c].closed)}else a[c].ty==="gr"&&b(a[c].it)}function c(a){var c,d,e=a.length,f,g,h,i;for(d=0;d<e;d+=1){c=a[d];if(c.hasMask){var j=c.masksProperties;g=j.length;for(f=0;f<g;f+=1)if(j[f].pt.k.i)j[f].pt.k.c=j[f].cl;else{i=j[f].pt.k.length;for(h=0;h<i;h+=1)j[f].pt.k[h].s&&(j[f].pt.k[h].s[0].c=j[f].cl),j[f].pt.k[h].e&&(j[f].pt.k[h].e[0].c=j[f].cl)}}c.ty===4&&b(c.shapes)}}return function(b){if(g(a,b.v)){c(b.layers);if(b.assets){var d,e=b.assets.length;for(d=0;d<e;d+=1)b.assets[d].layers&&c(b.assets[d].layers)}}}}();function m(c){if(c.__complete)return;k(c);h(c);i(c);j(c);l(c);a(c.layers,c.assets);b(c.chars,c.assets);c.__complete=!0}function n(a){a.t.a.length===0&&!("m"in a.t.p)}var o={};o.completeData=m;o.checkColors=k;o.checkChars=i;o.checkPathProperties=j;o.checkShapes=l;o.completeLayers=a;return o}g.dataManager||(g.dataManager=b());g.assetLoader||(g.assetLoader=function(){function a(a){var b=a.getResponseHeader("content-type");if(b&&a.responseType==="json"&&b.indexOf("json")!==-1)return a.response;if(a.response&&pa(a.response)==="object")return a.response;if(a.response&&typeof a.response==="string")return JSON.parse(a.response);return a.responseText?JSON.parse(a.responseText):null}function b(b,c,d,e){var f,g=new XMLHttpRequest();try{g.responseType="json"}catch(a){}g.onreadystatechange=function(){if(g.readyState===4)if(g.status===200)f=a(g),d(f);else try{f=a(g),d(f)}catch(a){e&&e(a)}};try{g.open(["G","E","T"].join(""),b,!0)}catch(a){g.open(["G","E","T"].join(""),c+"/"+b,!0)}g.send()}return{load:b}}());if(a.data.type==="loadAnimation")g.assetLoader.load(a.data.path,a.data.fullPath,function(b){g.dataManager.completeData(b),g.postMessage({id:a.data.id,payload:b,status:"success"})},function(){g.postMessage({id:a.data.id,status:"error"})});else if(a.data.type==="complete"){b=a.data.animation;g.dataManager.completeData(b);g.postMessage({id:a.data.id,payload:b,status:"success"})}else a.data.type==="loadData"&&g.assetLoader.load(a.data.path,a.data.fullPath,function(b){g.postMessage({id:a.data.id,payload:b,status:"success"})},function(){g.postMessage({id:a.data.id,status:"error"})})}),e.onmessage=function(a){a=a.data;var b=a.id,d=c[b];c[b]=null;a.status==="success"?d.onComplete(a.payload):d.onError&&d.onError()})}function k(a,d){b+=1;var e="processId_"+b;c[e]={onComplete:a,onError:d};return e}function a(a,b,c){j();b=k(b,c);e.postMessage({type:"loadAnimation",path:a,fullPath:window.location.origin+window.location.pathname,id:b})}function l(a,b,c){j();b=k(b,c);e.postMessage({type:"loadData",path:a,fullPath:window.location.origin+window.location.pathname,id:b})}function m(a,b,c){j();b=k(b,c);e.postMessage({type:"complete",animation:a,id:b})}return{loadAnimation:a,loadData:l,completeAnimation:m}}(),ra=function(){var a=function(){var a=k("canvas");a.width=1;a.height=1;var b=a.getContext("2d");b.fillStyle="rgba(0,0,0,0)";b.fillRect(0,0,1,1);return a}();function b(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&(this.imagesLoadedCb&&this.imagesLoadedCb(null))}function c(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&(this.imagesLoadedCb&&this.imagesLoadedCb(null))}function d(a,b,c){var d;if(a.e)d=a.p;else if(b){var e=a.p;e.indexOf("images/")!==-1&&(e=e.split("/")[1]);d=b+e}else d=c,d+=a.u?a.u:"",d+=a.p;return d}function e(a){var b=0,c=setInterval(function(){var d=a.getBBox();(d.width||b>500)&&(this._imageLoaded(),clearInterval(c));b+=1}.bind(this),50)}function f(b){var c=d(b,this.assetsPath,this.path),e=M("image");v?this.testImageLoaded(e):e.addEventListener("load",this._imageLoaded,!1);e.addEventListener("error",function(){f.img=a,this._imageLoaded()}.bind(this),!1);e.setAttributeNS("http://www.w3.org/1999/xlink","href",c);this._elementHelper.append?this._elementHelper.append(e):this._elementHelper.appendChild(e);var f={img:e,assetData:b};return f}function g(b){var c=d(b,this.assetsPath,this.path),e=k("img");e.crossOrigin="anonymous";e.addEventListener("load",this._imageLoaded,!1);e.addEventListener("error",function(){f.img=a,this._imageLoaded()}.bind(this),!1);e.src=c;var f={img:e,assetData:b};return f}function h(a){var b={assetData:a};a=d(a,this.assetsPath,this.path);qa.loadData(a,function(a){b.img=a,this._footageLoaded()}.bind(this),function(){b.img={},this._footageLoaded()}.bind(this));return b}function i(a,b){this.imagesLoadedCb=b;var c;b=a.length;for(c=0;c<b;c+=1)a[c].layers||(!a[c].t||a[c].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(a[c]))):a[c].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(a[c]))))}function j(a){this.path=a||""}function l(a){this.assetsPath=a||""}function m(a){var b=0,c=this.images.length;while(b<c){if(this.images[b].assetData===a)return this.images[b].img;b+=1}return null}function n(){this.imagesLoadedCb=null,this.images.length=0}function o(){return this.totalImages===this.loadedAssets}function p(){return this.totalFootages===this.loadedFootagesCount}function q(a,b){a==="svg"?(this._elementHelper=b,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function r(){this._imageLoaded=b.bind(this),this._footageLoaded=c.bind(this),this.testImageLoaded=e.bind(this),this.createFootageData=h.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}r.prototype={loadAssets:i,setAssetsPath:l,setPath:j,loadedImages:o,loadedFootages:p,destroy:n,getAsset:m,createImgData:g,createImageData:f,imageLoaded:b,footageLoaded:c,setCacheType:q};return r}();function N(){}N.prototype={triggerEvent:function(a,b){if(this._cbs[a]){a=this._cbs[a];for(var c=0;c<a.length;c+=1)a[c](b)}},addEventListener:function(a,b){this._cbs[a]||(this._cbs[a]=[]);this._cbs[a].push(b);return function(){this.removeEventListener(a,b)}.bind(this)},removeEventListener:function(a,b){if(!b)this._cbs[a]=null;else if(this._cbs[a]){var c=0,d=this._cbs[a].length;while(c<d)this._cbs[a][c]===b&&(this._cbs[a].splice(c,1),c-=1,d-=1),c+=1;this._cbs[a].length||(this._cbs[a]=null)}}};var sa=function(){function a(a){a=a.split("\r\n");var b={},c,d=0;for(var e=0;e<a.length;e+=1)c=a[e].split(":"),c.length===2&&(b[c[0]]=c[1].trim(),d+=1);if(d===0)throw new Error();return b}return function(b){var c=[];for(var d=0;d<b.length;d+=1){var e=b[d];e={time:e.tm,duration:e.dr};try{e.payload=JSON.parse(b[d].cm)}catch(c){try{e.payload=a(b[d].cm)}catch(a){e.payload={name:b[d].cm}}}c.push(e)}return c}}(),ta=function(){function a(a){this.compositions.push(a)}return function(){function b(a){var b=0,c=this.compositions.length;while(b<c){if(this.compositions[b].data&&this.compositions[b].data.nm===a){this.compositions[b].prepareFrame&&this.compositions[b].data.xt&&this.compositions[b].prepareFrame(this.currentFrame);return this.compositions[b].compInterface}b+=1}return null}b.compositions=[];b.currentFrame=0;b.registerComposition=a;return b}}(),ua={},va=function(a,b){ua[a]=b};function wa(a){return ua[a]}function xa(){if(ua.canvas)return"canvas";for(var a in ua)if(ua[a])return a;return""}function ya(a){typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?ya=function(a){return typeof a}:ya=function(a){return a&&typeof Symbol==="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a};return ya(a)}var O=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=H(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=ma(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ta(),this.imagePreloader=new ra(),this.audioController=n(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new G("drawnFrame",0,0,0),this.expressionsPlugin=I()};l([N],O);O.prototype.setParams=function(a){(a.wrapper||a.container)&&(this.wrapper=a.wrapper||a.container);var b="svg";a.animType?b=a.animType:a.renderer&&(b=a.renderer);var c=wa(b);this.renderer=new c(this,a.rendererSettings);this.imagePreloader.setCacheType(b,this.renderer.globalData.defs);this.renderer.setProjectInterface(this.projectInterface);this.animType=b;a.loop===""||a.loop===null||a.loop===void 0||a.loop===!0?this.loop=!0:a.loop===!1?this.loop=!1:this.loop=parseInt(a.loop,10);this.autoplay="autoplay"in a?a.autoplay:!0;this.name=a.name?a.name:"";this.autoloadSegments=Object.prototype.hasOwnProperty.call(a,"autoloadSegments")?a.autoloadSegments:!0;this.assetsPath=a.assetsPath;this.initialSegment=a.initialSegment;a.audioFactory&&this.audioController.setAudioFactory(a.audioFactory);a.animationData?this.setupAnimation(a.animationData):a.path&&(a.path.lastIndexOf("\\")!==-1?this.path=a.path.substr(0,a.path.lastIndexOf("\\")+1):this.path=a.path.substr(0,a.path.lastIndexOf("/")+1),this.fileName=a.path.substr(a.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),qa.loadAnimation(a.path,this.configAnimation,this.onSetupError))};O.prototype.onSetupError=function(){this.trigger("data_failed")};O.prototype.setupAnimation=function(a){qa.completeAnimation(a,this.configAnimation)};O.prototype.setData=function(b,a){a&&(ya(a)!=="object"&&(a=JSON.parse(a)));a={wrapper:b,animationData:a};b=b.attributes;a.path=b.getNamedItem("data-animation-path")?b.getNamedItem("data-animation-path").value:b.getNamedItem("data-bm-path")?b.getNamedItem("data-bm-path").value:b.getNamedItem("bm-path")?b.getNamedItem("bm-path").value:"";a.animType=b.getNamedItem("data-anim-type")?b.getNamedItem("data-anim-type").value:b.getNamedItem("data-bm-type")?b.getNamedItem("data-bm-type").value:b.getNamedItem("bm-type")?b.getNamedItem("bm-type").value:b.getNamedItem("data-bm-renderer")?b.getNamedItem("data-bm-renderer").value:b.getNamedItem("bm-renderer")?b.getNamedItem("bm-renderer").value:xa()||"canvas";var c=b.getNamedItem("data-anim-loop")?b.getNamedItem("data-anim-loop").value:b.getNamedItem("data-bm-loop")?b.getNamedItem("data-bm-loop").value:b.getNamedItem("bm-loop")?b.getNamedItem("bm-loop").value:"";c==="false"?a.loop=!1:c==="true"?a.loop=!0:c!==""&&(a.loop=parseInt(c,10));c=b.getNamedItem("data-anim-autoplay")?b.getNamedItem("data-anim-autoplay").value:b.getNamedItem("data-bm-autoplay")?b.getNamedItem("data-bm-autoplay").value:b.getNamedItem("bm-autoplay")?b.getNamedItem("bm-autoplay").value:!0;a.autoplay=c!=="false";a.name=b.getNamedItem("data-name")?b.getNamedItem("data-name").value:b.getNamedItem("data-bm-name")?b.getNamedItem("data-bm-name").value:b.getNamedItem("bm-name")?b.getNamedItem("bm-name").value:"";c=b.getNamedItem("data-anim-prerender")?b.getNamedItem("data-anim-prerender").value:b.getNamedItem("data-bm-prerender")?b.getNamedItem("data-bm-prerender").value:b.getNamedItem("bm-prerender")?b.getNamedItem("bm-prerender").value:"";c==="false"&&(a.prerender=!1);!a.path?this.trigger("destroy"):this.setParams(a)};O.prototype.includeLayers=function(a){a.op>this.animationData.op&&(this.animationData.op=a.op,this.totalFrames=Math.floor(a.op-this.animationData.ip));var b=this.animationData.layers,c,d=b.length,e=a.layers,f,g=e.length;for(f=0;f<g;f+=1){c=0;while(c<d){if(b[c].id===e[f].id){b[c]=e[f];break}c+=1}}(a.chars||a.fonts)&&(this.renderer.globalData.fontManager.addChars(a.chars),this.renderer.globalData.fontManager.addFonts(a.fonts,this.renderer.globalData.defs));if(a.assets){d=a.assets.length;for(c=0;c<d;c+=1)this.animationData.assets.push(a.assets[c])}this.animationData.__complete=!1;qa.completeAnimation(this.animationData,this.onSegmentComplete)};O.prototype.onSegmentComplete=function(a){this.animationData=a;a=I();a&&a.initExpressions(this);this.loadNextSegment()};O.prototype.loadNextSegment=function(){var a=this.animationData.segments;if(!a||a.length===0||!this.autoloadSegments){this.trigger("data_ready");this.timeCompleted=this.totalFrames;return}a=a.shift();this.timeCompleted=a.time*this.frameRate;a=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1;qa.loadData(a,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))};O.prototype.loadSegments=function(){var a=this.animationData.segments;a||(this.timeCompleted=this.totalFrames);this.loadNextSegment()};O.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()};O.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))};O.prototype.configAnimation=function(a){if(!this.renderer)return;try{this.animationData=a,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(a),a.assets||(a.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(a.assets),this.markers=sa(a.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(a){this.triggerConfigError(a)}};O.prototype.waitForFontsLoaded=function(){if(!this.renderer)return;this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20)};O.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var a=I();a&&a.initExpressions(this);this.renderer.initItems();setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0);this.gotoFrame();this.autoplay&&this.play()}};O.prototype.resize=function(a,b){a=typeof a==="number"?a:void 0;b=typeof b==="number"?b:void 0;this.renderer.updateContainerSize(a,b)};O.prototype.setSubframe=function(a){this.isSubframeEnabled=!!a};O.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")};O.prototype.renderFrame=function(){if(this.isLoaded===!1||!this.renderer)return;try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(a){this.triggerRenderFrameError(a)}};O.prototype.play=function(a){if(a&&this.name!==a)return;this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))};O.prototype.pause=function(a){if(a&&this.name!==a)return;this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())};O.prototype.togglePause=function(a){if(a&&this.name!==a)return;this.isPaused===!0?this.play():this.pause()};O.prototype.stop=function(a){if(a&&this.name!==a)return;this.pause();this.playCount=0;this._completedLoop=!1;this.setCurrentRawFrameValue(0)};O.prototype.getMarkerData=function(a){var b;for(var c=0;c<this.markers.length;c+=1){b=this.markers[c];if(b.payload&&b.payload.name===a)return b}return null};O.prototype.goToAndStop=function(a,b,c){if(c&&this.name!==c)return;c=Number(a);if(isNaN(c)){c=this.getMarkerData(a);c&&this.goToAndStop(c.time,!0)}else b?this.setCurrentRawFrameValue(a):this.setCurrentRawFrameValue(a*this.frameModifier);this.pause()};O.prototype.goToAndPlay=function(a,b,c){if(c&&this.name!==c)return;var d=Number(a);if(isNaN(d)){a=this.getMarkerData(a);a&&(!a.duration?this.goToAndStop(a.time,!0):this.playSegments([a.time,a.time+a.duration],!0))}else this.goToAndStop(d,b,c);this.play()};O.prototype.advanceTime=function(a){if(this.isPaused===!0||this.isLoaded===!1)return;a=this.currentRawFrame+a*this.frameModifier;var b=!1;a>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(a>this.totalFrames?a%this.totalFrames:0)||(b=!0,a=this.totalFrames-1):a>=this.totalFrames?(this.playCount+=1,this.checkSegments(a%this.totalFrames)||(this.setCurrentRawFrameValue(a%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(a):a<0?this.checkSegments(a%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+a%this.totalFrames),!this._completedLoop?this._completedLoop=!0:this.trigger("loopComplete")):(b=!0,a=0)):this.setCurrentRawFrameValue(a);b&&(this.setCurrentRawFrameValue(a),this.pause(),this.trigger("complete"))};O.prototype.adjustSegment=function(a,b){this.playCount=0,a[1]<a[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=a[0]-a[1],this.timeCompleted=this.totalFrames,this.firstFrame=a[1],this.setCurrentRawFrameValue(this.totalFrames-.001-b)):a[1]>a[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=a[1]-a[0],this.timeCompleted=this.totalFrames,this.firstFrame=a[0],this.setCurrentRawFrameValue(.001+b)),this.trigger("segmentStart")};O.prototype.setSegment=function(a,b){var c=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<a?c=a:this.currentRawFrame+this.firstFrame>b&&(c=b-a));this.firstFrame=a;this.totalFrames=b-a;this.timeCompleted=this.totalFrames;c!==-1&&this.goToAndStop(c,!0)};O.prototype.playSegments=function(a,b){b&&(this.segments.length=0);if(ya(a[0])==="object"){var c,d=a.length;for(c=0;c<d;c+=1)this.segments.push(a[c])}else this.segments.push(a);this.segments.length&&b&&this.adjustSegment(this.segments.shift(),0);this.isPaused&&this.play()};O.prototype.resetSegments=function(a){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),a&&this.checkSegments(0)};O.prototype.checkSegments=function(a){if(this.segments.length){this.adjustSegment(this.segments.shift(),a);return!0}return!1};O.prototype.destroy=function(a){if(a&&this.name!==a||!this.renderer)return;this.renderer.destroy();this.imagePreloader.destroy();this.trigger("destroy");this._cbs=null;this.onEnterFrame=null;this.onLoopComplete=null;this.onComplete=null;this.onSegmentStart=null;this.onDestroy=null;this.renderer=null;this.expressionsPlugin=null;this.imagePreloader=null;this.projectInterface=null};O.prototype.setCurrentRawFrameValue=function(a){this.currentRawFrame=a,this.gotoFrame()};O.prototype.setSpeed=function(a){this.playSpeed=a,this.updaFrameModifier()};O.prototype.setDirection=function(a){this.playDirection=a<0?-1:1,this.updaFrameModifier()};O.prototype.setLoop=function(a){this.loop=a};O.prototype.setVolume=function(a,b){if(b&&this.name!==b)return;this.audioController.setVolume(a)};O.prototype.getVolume=function(){return this.audioController.getVolume()};O.prototype.mute=function(a){if(a&&this.name!==a)return;this.audioController.mute()};O.prototype.unmute=function(a){if(a&&this.name!==a)return;this.audioController.unmute()};O.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)};O.prototype.getPath=function(){return this.path};O.prototype.getAssetsPath=function(a){var b;if(a.e)b=a.p;else if(this.assetsPath){var c=a.p;c.indexOf("images/")!==-1&&(c=c.split("/")[1]);b=this.assetsPath+c}else b=this.path,b+=a.u?a.u:"",b+=a.p;return b};O.prototype.getAssetData=function(a){var b=0,c=this.assets.length;while(b<c){if(a===this.assets[b].id)return this.assets[b];b+=1}return null};O.prototype.hide=function(){this.renderer.hide()};O.prototype.show=function(){this.renderer.show()};O.prototype.getDuration=function(a){return a?this.totalFrames:this.totalFrames/this.frameRate};O.prototype.updateDocumentData=function(a,b,c){try{a=this.renderer.getElementByPath(a);a.updateDocumentData(b,c)}catch(a){}};O.prototype.trigger=function(a){if(this._cbs&&this._cbs[a])switch(a){case"enterFrame":this.triggerEvent(a,new G(a,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame;this.drawnFrameEvent.totalTime=this.totalFrames;this.drawnFrameEvent.direction=this.frameModifier;this.triggerEvent(a,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(a,new ba(a,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(a,new aa(a,this.frameMult));break;case"segmentStart":this.triggerEvent(a,new ca(a,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(a,new da(a,this));break;default:this.triggerEvent(a)}a==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new G(a,this.currentFrame,this.totalFrames,this.frameMult));a==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new ba(a,this.loop,this.playCount,this.frameMult));a==="complete"&&this.onComplete&&this.onComplete.call(this,new aa(a,this.frameMult));a==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new ca(a,this.firstFrame,this.totalFrames));a==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new da(a,this))};O.prototype.triggerRenderFrameError=function(a){a=new ea(a,this.currentFrame);this.triggerEvent("error",a);this.onError&&this.onError.call(this,a)};O.prototype.triggerConfigError=function(a){a=new fa(a,this.currentFrame);this.triggerEvent("error",a);this.onError&&this.onError.call(this,a)};var P=function(){var c={},d=[],e=0,f=0,g=0,h=!0,i=!1;function j(a){var b=0;a=a.target;while(b<f)d[b].animation===a&&(d.splice(b,1),b-=1,f-=1,a.isPaused||o()),b+=1}function l(b,a){if(!b)return null;var c=0;while(c<f){if(d[c].elem===b&&d[c].elem!==null)return d[c].animation;c+=1}c=new O();p(c,b);c.setData(b,a);return c}function m(){var a,b=d.length,c=[];for(a=0;a<b;a+=1)c.push(d[a].animation);return c}function n(){g+=1,B()}function o(){g-=1}function p(a,b){a.addEventListener("destroy",j),a.addEventListener("_active",n),a.addEventListener("_idle",o),d.push({elem:b,animation:a}),f+=1}function b(a){var b=new O();p(b,null);b.setParams(a);return b}function q(a,b){var c;for(c=0;c<f;c+=1)d[c].animation.setSpeed(a,b)}function r(a,b){var c;for(c=0;c<f;c+=1)d[c].animation.setDirection(a,b)}function s(a){var b;for(b=0;b<f;b+=1)d[b].animation.play(a)}function t(a){var b=a-e,c;for(c=0;c<f;c+=1)d[c].animation.advanceTime(b);e=a;g&&!i?window.requestAnimationFrame(t):h=!0}function u(a){e=a,window.requestAnimationFrame(t)}function v(a){var b;for(b=0;b<f;b+=1)d[b].animation.pause(a)}function w(a,b,c){var e;for(e=0;e<f;e+=1)d[e].animation.goToAndStop(a,b,c)}function x(a){var b;for(b=0;b<f;b+=1)d[b].animation.stop(a)}function y(a){var b;for(b=0;b<f;b+=1)d[b].animation.togglePause(a)}function z(a){var b;for(b=f-1;b>=0;b-=1)d[b].animation.destroy(a)}function a(b,a,c){var d=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),e,f=d.length;for(e=0;e<f;e+=1)c&&d[e].setAttribute("data-bm-type",c),l(d[e],b);if(a&&f===0){c||(c="svg");d=document.getElementsByTagName("body")[0];d.innerText="";e=k("div");e.style.width="100%";e.style.height="100%";e.setAttribute("data-bm-type",c);d.appendChild(e);l(e,b)}}function A(){var a;for(a=0;a<f;a+=1)d[a].animation.resize()}function B(){!i&&g&&(h&&(window.requestAnimationFrame(u),h=!1))}function C(){i=!0}function D(){i=!1,B()}function E(a,b){var c;for(c=0;c<f;c+=1)d[c].animation.setVolume(a,b)}function F(a){var b;for(b=0;b<f;b+=1)d[b].animation.mute(a)}function G(a){var b;for(b=0;b<f;b+=1)d[b].animation.unmute(a)}c.registerAnimation=l;c.loadAnimation=b;c.setSpeed=q;c.setDirection=r;c.play=s;c.pause=v;c.stop=x;c.togglePause=y;c.searchAnimations=a;c.resize=A;c.goToAndStop=w;c.destroy=z;c.freeze=C;c.unfreeze=D;c.setVolume=E;c.mute=F;c.unmute=G;c.getRegisteredAnimations=m;return c}(),za=function(){var a={};a.getBezierEasing=c;var b={};function c(a,c,d,e,f){f=f||("bez_"+a+"_"+c+"_"+d+"_"+e).replace(/\./g,"p");if(b[f])return b[f];a=new r([a,c,d,e]);b[f]=a;return a}var d=4,e=.001,f=1e-7,g=10,h=11,i=1/(h-1),j=typeof Float32Array==="function";function k(a,b){return 1-3*b+3*a}function l(a,b){return 3*b-6*a}function m(a){return 3*a}function n(a,b,c){return((k(b,c)*a+l(b,c))*a+m(b))*a}function o(a,b,c){return 3*k(b,c)*a*a+2*l(b,c)*a+m(b)}function p(a,b,c,d,e){var h,i,j=0;do i=b+(c-b)/2,h=n(i,d,e)-a,h>0?c=i:b=i;while(Math.abs(h)>f&&++j<g);return i}function q(a,b,c,e){for(var f=0;f<d;++f){var g=o(b,c,e);if(g===0)return b;var h=n(b,c,e)-a;b-=h/g}return b}function r(a){this._p=a,this._mSampleValues=j?new Float32Array(h):new Array(h),this._precomputed=!1,this.get=this.get.bind(this)}r.prototype={get:function(a){var b=this._p[0],c=this._p[1],d=this._p[2],e=this._p[3];this._precomputed||this._precompute();if(b===c&&d===e)return a;if(a===0)return 0;return a===1?1:n(this._getTForX(a),c,e)},_precompute:function(){var a=this._p[0],b=this._p[1],c=this._p[2],d=this._p[3];this._precomputed=!0;(a!==b||c!==d)&&this._calcSampleValues()},_calcSampleValues:function(){var a=this._p[0],b=this._p[2];for(var c=0;c<h;++c)this._mSampleValues[c]=n(c*i,a,b)},_getTForX:function(a){var b=this._p[0],c=this._p[2],d=this._mSampleValues,f=0,g=1,j=h-1;for(;g!==j&&d[g]<=a;++g)f+=i;--g;j=(a-d[g])/(d[g+1]-d[g]);d=f+j*i;g=o(d,b,c);if(g>=e)return q(a,d,b,c);return g===0?d:p(a,f,f+i,b,c)}};return a}(),Aa=function(){function a(a){return a.concat(p(a.length))}return{"double":a}}(),Ba=function(){return function(a,b,c){var d=0,e=a,f=p(e);a={newElement:g,release:h};function g(){var a;d?(d-=1,a=f[d]):a=b();return a}function h(a){d===e&&(f=Aa["double"](f),e*=2),c&&c(a),f[d]=a,d+=1}return a}}(),Ca=function(){function a(){return{addedLength:0,percents:o("float32",L()),lengths:o("float32",L())}}return Ba(8,a)}(),Da=function(){function a(){return{lengths:[],totalLength:0}}function b(a){var b,c=a.lengths.length;for(b=0;b<c;b+=1)Ca.release(a.lengths[b]);a.lengths.length=0}return Ba(8,a,b)}();function Ea(){var a=Math;function b(a,b,c,d,e,f){e=a*d+b*e+c*f-e*d-f*a-c*b;return e>-.001&&e<.001}function c(c,d,e,f,g,h,i,j,k){if(e===0&&h===0&&k===0)return b(c,d,f,g,i,j);var l=a.sqrt(a.pow(f-c,2)+a.pow(g-d,2)+a.pow(h-e,2));c=a.sqrt(a.pow(i-c,2)+a.pow(j-d,2)+a.pow(k-e,2));d=a.sqrt(a.pow(i-f,2)+a.pow(j-g,2)+a.pow(k-h,2));l>c?l>d?e=l-c-d:e=d-c-l:d>c?e=d-c-l:e=c-l-d;return e>-1e-4&&e<1e-4}var d=function(){return function(a,b,c,d){var e=L(),f,g,h,i,j,k=0,l,m=[],n=[],o=Ca.newElement();h=c.length;for(f=0;f<e;f+=1){j=f/(e-1);l=0;for(g=0;g<h;g+=1)i=x(1-j,3)*a[g]+3*x(1-j,2)*j*c[g]+3*(1-j)*x(j,2)*d[g]+x(j,3)*b[g],m[g]=i,n[g]!==null&&(l+=x(m[g]-n[g],2)),n[g]=m[g];l&&(l=y(l),k+=l);o.percents[f]=j;o.lengths[f]=k}o.addedLength=k;return o}}();function e(a){var b=Da.newElement(),c=a.c,e=a.v,f=a.o,g=a.i,h;a=a._length;var i=b.lengths,j=0;for(h=0;h<a-1;h+=1)i[h]=d(e[h],e[h+1],f[h],g[h+1]),j+=i[h].addedLength;c&&a&&(i[h]=d(e[h],e[0],f[h],g[0]),j+=i[h].addedLength);b.totalLength=j;return b}function f(a){this.segmentLength=0,this.points=new Array(a)}function g(a,b){this.partialLength=a,this.point=b}var h=function(){var a={};return function(c,d,e,h){var i=(c[0]+"_"+c[1]+"_"+d[0]+"_"+d[1]+"_"+e[0]+"_"+e[1]+"_"+h[0]+"_"+h[1]).replace(/\./g,"p");if(!a[i]){var j=L(),k,l,m,n,o,q=0,r,s,t=null;c.length===2&&(c[0]!==d[0]||c[1]!==d[1])&&b(c[0],c[1],d[0],d[1],c[0]+e[0],c[1]+e[1])&&b(c[0],c[1],d[0],d[1],d[0]+h[0],d[1]+h[1])&&(j=2);var u=new f(j);m=e.length;for(k=0;k<j;k+=1){s=p(m);o=k/(j-1);r=0;for(l=0;l<m;l+=1)n=x(1-o,3)*c[l]+3*x(1-o,2)*o*(c[l]+e[l])+3*(1-o)*x(o,2)*(d[l]+h[l])+x(o,3)*d[l],s[l]=n,t!==null&&(r+=x(s[l]-t[l],2));r=y(r);q+=r;u.points[k]=new g(r,s);t=s}u.segmentLength=q;a[i]=u}return a[i]}}();function i(a,b){var c=b.percents,d=b.lengths,e=c.length,f=z((e-1)*a);a=a*b.addedLength;b=0;if(f===e-1||f===0||a===d[f])return c[f];var g=d[f]>a?-1:1,h=!0;while(h){d[f]<=a&&d[f+1]>a?(b=(a-d[f])/(d[f+1]-d[f]),h=!1):f+=g;if(f<0||f>=e-1){if(f===e-1)return c[f];h=!1}}return c[f]+(c[f+1]-c[f])*b}function j(b,c,d,e,f,g){f=i(f,g);g=1-f;var h=a.round((g*g*g*b[0]+(f*g*g+g*f*g+g*g*f)*d[0]+(f*f*g+g*f*f+f*g*f)*e[0]+f*f*f*c[0])*1e3)/1e3;b=a.round((g*g*g*b[1]+(f*g*g+g*f*g+g*g*f)*d[1]+(f*f*g+g*f*f+f*g*f)*e[1]+f*f*f*c[1])*1e3)/1e3;return[h,b]}var k=o("float32",8);function l(b,c,d,e,f,g,h){f<0?f=0:f>1&&(f=1);f=i(f,h);g=g>1?1:g;g=i(g,h);var j;h=b.length;var l=1-f,m=1-g,n=l*l*l,o=f*l*l*3,p=f*f*l*3,q=f*f*f,r=l*l*m,s=f*l*m+l*f*m+l*l*g,t=f*f*m+l*f*g+f*l*g,u=f*f*g,v=l*m*m,w=f*m*m+l*g*m+l*m*g;l=f*g*m+l*g*g+f*m*g;f=f*g*g;var x=m*m*m,y=g*m*m+m*g*m+m*m*g;m=g*g*m+m*g*g+g*m*g;g=g*g*g;for(j=0;j<h;j+=1)k[j*4]=a.round((n*b[j]+o*d[j]+p*e[j]+q*c[j])*1e3)/1e3,k[j*4+1]=a.round((r*b[j]+s*d[j]+t*e[j]+u*c[j])*1e3)/1e3,k[j*4+2]=a.round((v*b[j]+w*d[j]+l*e[j]+f*c[j])*1e3)/1e3,k[j*4+3]=a.round((x*b[j]+y*d[j]+m*e[j]+g*c[j])*1e3)/1e3;return k}return{getSegmentsLength:e,getNewSegment:l,getPointInSegment:j,buildBezierData:h,pointOnLine2D:b,pointOnLine3D:c}}var Fa=Ea(),Ga=d,Ha=Math.abs;function Ia(a,b){var c=this.offsetTime,d;this.propType==="multidimensional"&&(d=o("float32",this.pv.length));var e=b.lastIndex,f=e,g=this.keyframes.length-1,h=!0,i,j,k;while(h){i=this.keyframes[f];j=this.keyframes[f+1];if(f===g-1&&a>=j.t-c){i.h&&(i=j);e=0;break}if(j.t-c>a){e=f;break}f<g-1?f+=1:(e=0,h=!1)}k=this.keyframesMetadata[f]||{};var l,m,n,p,q,r=j.t-c;c=i.t-c;if(i.to){k.bezierData||(k.bezierData=Fa.buildBezierData(i.s,j.s||i.e,i.to,i.ti));var s=k.bezierData;if(a>=r||a<c){var t=a>=r?s.points.length-1:0;m=s.points[t].point.length;for(l=0;l<m;l+=1)d[l]=s.points[t].point[l]}else{k.__fnct?t=k.__fnct:(t=za.getBezierEasing(i.o.x,i.o.y,i.i.x,i.i.y,i.n).get,k.__fnct=t);n=t((a-c)/(r-c));var u=s.segmentLength*n,v,w=b.lastFrame<a&&b._lastKeyframeIndex===f?b._lastAddedLength:0;q=b.lastFrame<a&&b._lastKeyframeIndex===f?b._lastPoint:0;h=!0;p=s.points.length;while(h){w+=s.points[q].partialLength;if(u===0||n===0||q===s.points.length-1){m=s.points[q].point.length;for(l=0;l<m;l+=1)d[l]=s.points[q].point[l];break}else if(u>=w&&u<w+s.points[q+1].partialLength){v=(u-w)/s.points[q+1].partialLength;m=s.points[q].point.length;for(l=0;l<m;l+=1)d[l]=s.points[q].point[l]+(s.points[q+1].point[l]-s.points[q].point[l])*v;break}q<p-1?q+=1:h=!1}b._lastPoint=q;b._lastAddedLength=w-s.points[q].partialLength;b._lastKeyframeIndex=f}}else{g=i.s.length;l=j.s||i.e;if(this.sh&&i.h!==1)if(a>=r)d[0]=l[0],d[1]=l[1],d[2]=l[2];else if(a<=c)d[0]=i.s[0],d[1]=i.s[1],d[2]=i.s[2];else{m=La(i.s);v=La(l);u=(a-c)/(r-c);Ka(d,Ja(m,v,u))}else for(f=0;f<g;f+=1)i.h!==1&&(a>=r?n=1:a<c?n=0:(i.o.x.constructor===Array?(k.__fnct||(k.__fnct=[]),!k.__fnct[f]?(h=i.o.x[f]===void 0?i.o.x[0]:i.o.x[f],p=i.o.y[f]===void 0?i.o.y[0]:i.o.y[f],w=i.i.x[f]===void 0?i.i.x[0]:i.i.x[f],s=i.i.y[f]===void 0?i.i.y[0]:i.i.y[f],t=za.getBezierEasing(h,p,w,s).get,k.__fnct[f]=t):t=k.__fnct[f]):!k.__fnct?(h=i.o.x,p=i.o.y,w=i.i.x,s=i.i.y,t=za.getBezierEasing(h,p,w,s).get,i.keyframeMetadata=t):t=k.__fnct,n=t((a-c)/(r-c)))),l=j.s||i.e,q=i.h===1?i.s[f]:i.s[f]+(l[f]-i.s[f])*n,this.propType==="multidimensional"?d[f]=q:d=q}b.lastIndex=e;return d}function Ja(a,b,c){var d=[],e=a[0],f=a[1],g=a[2];a=a[3];var h=b[0],i=b[1],j=b[2];b=b[3];var k,l,m;k=e*h+f*i+g*j+a*b;k<0&&(k=-k,h=-h,i=-i,j=-j,b=-b);1-k>1e-6?(k=Math.acos(k),l=Math.sin(k),m=Math.sin((1-c)*k)/l,k=Math.sin(c*k)/l):(m=1-c,k=c);d[0]=m*e+k*h;d[1]=m*f+k*i;d[2]=m*g+k*j;d[3]=m*a+k*b;return d}function Ka(a,b){var c=b[0],d=b[1],e=b[2];b=b[3];var f=Math.atan2(2*d*b-2*c*e,1-2*d*d-2*e*e),g=Math.asin(2*c*d+2*e*b);b=Math.atan2(2*c*b-2*d*e,1-2*c*c-2*e*e);a[0]=f/D;a[1]=g/D;a[2]=b/D}function La(a){var b=a[0]*D,c=a[1]*D;a=a[2]*D;var d=Math.cos(b/2),e=Math.cos(c/2),f=Math.cos(a/2);b=Math.sin(b/2);c=Math.sin(c/2);a=Math.sin(a/2);var g=d*e*f-b*c*a,h=b*c*f+d*e*a,i=b*e*f+d*c*a;d=d*c*f-b*e*a;return[h,i,d,g]}function Ma(){var a=this.comp.renderedFrame-this.offsetTime,b=this.keyframes[0].t-this.offsetTime,c=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(a===this._caching.lastFrame||this._caching.lastFrame!==Ga&&(this._caching.lastFrame>=c&&a>=c||this._caching.lastFrame<b&&a<b))){this._caching.lastFrame>=a&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);c=this.interpolateValue(a,this._caching);this.pv=c}this._caching.lastFrame=a;return this.pv}function Na(a){var b;if(this.propType==="unidimensional")b=a*this.mult,Ha(this.v-b)>1e-5&&(this.v=b,this._mdf=!0);else{var c=0,d=this.v.length;while(c<d)b=a[c]*this.mult,Ha(this.v[c]-b)>1e-5&&(this.v[c]=b,this._mdf=!0),c+=1}}function Oa(){if(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)return;if(this.lock){this.setVValue(this.pv);return}this.lock=!0;this._mdf=this._isFirstFrame;var a,b=this.effectsSequence.length,c=this.kf?this.pv:this.data.k;for(a=0;a<b;a+=1)c=this.effectsSequence[a](c);this.setVValue(c);this._isFirstFrame=!1;this.lock=!1;this.frameId=this.elem.globalData.frameId}function Pa(a){this.effectsSequence.push(a),this.container.addDynamicProperty(this)}function Qa(a,b,c,d){this.propType="unidimensional",this.mult=c||1,this.data=b,this.v=c?b.k*c:b.k,this.pv=b.k,this._mdf=!1,this.elem=a,this.container=d,this.comp=a.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=Oa,this.setVValue=Na,this.addEffect=Pa}function Ra(a,b,c,d){this.propType="multidimensional";this.mult=c||1;this.data=b;this._mdf=!1;this.elem=a;this.container=d;this.comp=a.comp;this.k=!1;this.kf=!1;this.frameId=-1;c=b.k.length;this.v=o("float32",c);this.pv=o("float32",c);this.vel=o("float32",c);for(d=0;d<c;d+=1)this.v[d]=b.k[d]*this.mult,this.pv[d]=b.k[d];this._isFirstFrame=!0;this.effectsSequence=[];this.getValue=Oa;this.setVValue=Na;this.addEffect=Pa}function Sa(a,b,c,d){this.propType="unidimensional",this.keyframes=b.k,this.keyframesMetadata=[],this.offsetTime=a.data.st,this.frameId=-1,this._caching={lastFrame:Ga,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=b,this.mult=c||1,this.elem=a,this.container=d,this.comp=a.comp,this.v=Ga,this.pv=Ga,this._isFirstFrame=!0,this.getValue=Oa,this.setVValue=Na,this.interpolateValue=Ia,this.effectsSequence=[Ma.bind(this)],this.addEffect=Pa}function Ta(a,b,c,d){this.propType="multidimensional";var e,f=b.k.length,g,h,i,j;for(e=0;e<f-1;e+=1)b.k[e].to&&b.k[e].s&&b.k[e+1]&&b.k[e+1].s&&(g=b.k[e].s,h=b.k[e+1].s,i=b.k[e].to,j=b.k[e].ti,(g.length===2&&!(g[0]===h[0]&&g[1]===h[1])&&Fa.pointOnLine2D(g[0],g[1],h[0],h[1],g[0]+i[0],g[1]+i[1])&&Fa.pointOnLine2D(g[0],g[1],h[0],h[1],h[0]+j[0],h[1]+j[1])||g.length===3&&!(g[0]===h[0]&&g[1]===h[1]&&g[2]===h[2])&&Fa.pointOnLine3D(g[0],g[1],g[2],h[0],h[1],h[2],g[0]+i[0],g[1]+i[1],g[2]+i[2])&&Fa.pointOnLine3D(g[0],g[1],g[2],h[0],h[1],h[2],h[0]+j[0],h[1]+j[1],h[2]+j[2]))&&(b.k[e].to=null,b.k[e].ti=null),g[0]===h[0]&&g[1]===h[1]&&i[0]===0&&i[1]===0&&j[0]===0&&j[1]===0&&((g.length===2||g[2]===h[2]&&i[2]===0&&j[2]===0)&&(b.k[e].to=null,b.k[e].ti=null)));this.effectsSequence=[Ma.bind(this)];this.data=b;this.keyframes=b.k;this.keyframesMetadata=[];this.offsetTime=a.data.st;this.k=!0;this.kf=!0;this._isFirstFrame=!0;this.mult=c||1;this.elem=a;this.container=d;this.comp=a.comp;this.getValue=Oa;this.setVValue=Na;this.interpolateValue=Ia;this.frameId=-1;g=b.k[0].s.length;this.v=o("float32",g);this.pv=o("float32",g);for(e=0;e<g;e+=1)this.v[e]=Ga,this.pv[e]=Ga;this._caching={lastFrame:Ga,lastIndex:0,value:o("float32",g)};this.addEffect=Pa}var Q=function(){function a(a,b,c,d,e){b.sid&&(b=a.globalData.slotManager.getProp(b));var f;if(!b.k.length)f=new Qa(a,b,d,e);else if(typeof b.k[0]==="number")f=new Ra(a,b,d,e);else switch(c){case 0:f=new Sa(a,b,d,e);break;case 1:f=new Ta(a,b,d,e);break;default:break}f.effectsSequence.length&&e.addDynamicProperty(f);return f}a={getProp:a};return a}();function R(){}R.prototype={addDynamicProperty:function(a){this.dynamicProperties.indexOf(a)===-1&&(this.dynamicProperties.push(a),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var a,b=this.dynamicProperties.length;for(a=0;a<b;a+=1)this.dynamicProperties[a].getValue(),this.dynamicProperties[a]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(a){this.container=a,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var Ua=function(){function a(){return o("float32",2)}return Ba(8,a)}();function Va(){this.c=!1,this._length=0,this._maxLength=8,this.v=p(this._maxLength),this.o=p(this._maxLength),this.i=p(this._maxLength)}Va.prototype.setPathData=function(a,b){this.c=a;this.setLength(b);a=0;while(a<b)this.v[a]=Ua.newElement(),this.o[a]=Ua.newElement(),this.i[a]=Ua.newElement(),a+=1};Va.prototype.setLength=function(a){while(this._maxLength<a)this.doubleArrayLength();this._length=a};Va.prototype.doubleArrayLength=function(){this.v=this.v.concat(p(this._maxLength)),this.i=this.i.concat(p(this._maxLength)),this.o=this.o.concat(p(this._maxLength)),this._maxLength*=2};Va.prototype.setXYAt=function(a,b,c,d,e){var f;this._length=Math.max(this._length,d+1);this._length>=this._maxLength&&this.doubleArrayLength();switch(c){case"v":f=this.v;break;case"i":f=this.i;break;case"o":f=this.o;break;default:f=[];break}(!f[d]||f[d]&&!e)&&(f[d]=Ua.newElement());f[d][0]=a;f[d][1]=b};Va.prototype.setTripleAt=function(a,b,c,d,e,f,g,h){this.setXYAt(a,b,"v",g,h),this.setXYAt(c,d,"o",g,h),this.setXYAt(e,f,"i",g,h)};Va.prototype.reverse=function(){var a=new Va();a.setPathData(this.c,this._length);var b=this.v,c=this.o,d=this.i,e=0;this.c&&(a.setTripleAt(b[0][0],b[0][1],d[0][0],d[0][1],c[0][0],c[0][1],0,!1),e=1);var f=this._length-1,g=this._length;for(e=e;e<g;e+=1)a.setTripleAt(b[f][0],b[f][1],d[f][0],d[f][1],c[f][0],c[f][1],e,!1),f-=1;return a};Va.prototype.length=function(){return this._length};var S=function(){function a(){return new Va()}function b(a){var b=a._length,c;for(c=0;c<b;c+=1)Ua.release(a.v[c]),Ua.release(a.i[c]),Ua.release(a.o[c]),a.v[c]=null,a.i[c]=null,a.o[c]=null;a._length=0;a.c=!1}function c(a){var b=d.newElement(),c,e=a._length===void 0?a.v.length:a._length;b.setLength(e);b.c=a.c;for(c=0;c<e;c+=1)b.setTripleAt(a.v[c][0],a.v[c][1],a.o[c][0],a.o[c][1],a.i[c][0],a.i[c][1],c);return b}var d=Ba(4,a,b);d.clone=c;return d}();function Wa(){this._length=0,this._maxLength=4,this.shapes=p(this._maxLength)}Wa.prototype.addShape=function(a){this._length===this._maxLength&&(this.shapes=this.shapes.concat(p(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=a,this._length+=1};Wa.prototype.releaseShapes=function(){var a;for(a=0;a<this._length;a+=1)S.release(this.shapes[a]);this._length=0};var Xa=function(){d={newShapeCollection:d,release:e};var a=0,b=4,c=p(b);function d(){var b;a?(a-=1,b=c[a]):b=new Wa();return b}function e(d){var e,f=d._length;for(e=0;e<f;e+=1)S.release(d.shapes[e]);d._length=0;a===b&&(c=Aa["double"](c),b*=2);c[a]=d;a+=1}return d}(),Ya=function(){var a=-999999;function e(a,b,c){var d=c.lastIndex,e,f,g,h,i=this.keyframes;if(a<i[0].t-this.offsetTime)e=i[0].s[0],g=!0,d=0;else if(a>=i[i.length-1].t-this.offsetTime)e=i[i.length-1].s?i[i.length-1].s[0]:i[i.length-2].e[0],g=!0;else{var j=d,k=i.length-1,l=!0,m,n;while(l){m=i[j];n=i[j+1];if(n.t-this.offsetTime>a)break;j<k-1?j+=1:l=!1}l=this.keyframesMetadata[j]||{};g=m.h===1;d=j;if(!g){if(a>=n.t-this.offsetTime)h=1;else if(a<m.t-this.offsetTime)h=0;else{l.__fnct?i=l.__fnct:(i=za.getBezierEasing(m.o.x,m.o.y,m.i.x,m.i.y).get,l.__fnct=i);h=i((a-(m.t-this.offsetTime))/(n.t-this.offsetTime-(m.t-this.offsetTime)))}f=n.s?n.s[0]:m.e[0]}e=m.s[0]}k=b._length;j=e.i[0].length;c.lastIndex=d;for(l=0;l<k;l+=1)for(i=0;i<j;i+=1)a=g?e.i[l][i]:e.i[l][i]+(f.i[l][i]-e.i[l][i])*h,b.i[l][i]=a,a=g?e.o[l][i]:e.o[l][i]+(f.o[l][i]-e.o[l][i])*h,b.o[l][i]=a,a=g?e.v[l][i]:e.v[l][i]+(f.v[l][i]-e.v[l][i])*h,b.v[l][i]=a}function f(){var b=this.comp.renderedFrame-this.offsetTime,c=this.keyframes[0].t-this.offsetTime,d=this.keyframes[this.keyframes.length-1].t-this.offsetTime,e=this._caching.lastFrame;e!==a&&(e<c&&b<c||e>d&&b>d)||(this._caching.lastIndex=e<b?this._caching.lastIndex:0,this.interpolateShape(b,this.pv,this._caching));this._caching.lastFrame=b;return this.pv}function g(){this.paths=this.localShapeCollection}function h(a,b){if(a._length!==b._length||a.c!==b.c)return!1;var c,d=a._length;for(c=0;c<d;c+=1)if(a.v[c][0]!==b.v[c][0]||a.v[c][1]!==b.v[c][1]||a.o[c][0]!==b.o[c][0]||a.o[c][1]!==b.o[c][1]||a.i[c][0]!==b.i[c][0]||a.i[c][1]!==b.i[c][1])return!1;return!0}function b(a){h(this.v,a)||(this.v=S.clone(a),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function c(){if(this.elem.globalData.frameId===this.frameId)return;if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0;this._mdf=!1;var a;this.kf?a=this.pv:this.data.ks?a=this.data.ks.k:a=this.data.pt.k;var b,c=this.effectsSequence.length;for(b=0;b<c;b+=1)a=this.effectsSequence[b](a);this.setVValue(a);this.lock=!1;this.frameId=this.elem.globalData.frameId}function i(a,b,c){this.propType="shape";this.comp=a.comp;this.container=a;this.elem=a;this.data=b;this.k=!1;this.kf=!1;this._mdf=!1;a=c===3?b.pt.k:b.ks.k;this.v=S.clone(a);this.pv=S.clone(this.v);this.localShapeCollection=Xa.newShapeCollection();this.paths=this.localShapeCollection;this.paths.addShape(this.v);this.reset=g;this.effectsSequence=[]}function d(a){this.effectsSequence.push(a),this.container.addDynamicProperty(this)}i.prototype.interpolateShape=e;i.prototype.getValue=c;i.prototype.setVValue=b;i.prototype.addEffect=d;function j(b,c,d){this.propType="shape";this.comp=b.comp;this.elem=b;this.container=b;this.offsetTime=b.data.st;this.keyframes=d===3?c.pt.k:c.ks.k;this.keyframesMetadata=[];this.k=!0;this.kf=!0;b=this.keyframes[0].s[0].i.length;this.v=S.newElement();this.v.setPathData(this.keyframes[0].s[0].c,b);this.pv=S.clone(this.v);this.localShapeCollection=Xa.newShapeCollection();this.paths=this.localShapeCollection;this.paths.addShape(this.v);this.lastFrame=a;this.reset=g;this._caching={lastFrame:a,lastIndex:0};this.effectsSequence=[f.bind(this)]}j.prototype.getValue=c;j.prototype.interpolateShape=e;j.prototype.setVValue=b;j.prototype.addEffect=d;var k=function(){var a=E;function b(a,b){this.v=S.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=Xa.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=b.d,this.elem=a,this.comp=a.comp,this.frameId=-1,this.initDynamicPropertyContainer(a),this.p=Q.getProp(a,b.p,1,0,this),this.s=Q.getProp(a,b.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}b.prototype={reset:g,getValue:function(){if(this.elem.globalData.frameId===this.frameId)return;this.frameId=this.elem.globalData.frameId;this.iterateDynamicProperties();this._mdf&&this.convertEllToPath()},convertEllToPath:function(){var b=this.p.v[0],c=this.p.v[1],d=this.s.v[0]/2,e=this.s.v[1]/2,f=this.d!==3,g=this.v;g.v[0][0]=b;g.v[0][1]=c-e;g.v[1][0]=f?b+d:b-d;g.v[1][1]=c;g.v[2][0]=b;g.v[2][1]=c+e;g.v[3][0]=f?b-d:b+d;g.v[3][1]=c;g.i[0][0]=f?b-d*a:b+d*a;g.i[0][1]=c-e;g.i[1][0]=f?b+d:b-d;g.i[1][1]=c-e*a;g.i[2][0]=f?b+d*a:b-d*a;g.i[2][1]=c+e;g.i[3][0]=f?b-d:b+d;g.i[3][1]=c+e*a;g.o[0][0]=f?b+d*a:b-d*a;g.o[0][1]=c-e;g.o[1][0]=f?b+d:b-d;g.o[1][1]=c+e*a;g.o[2][0]=f?b-d*a:b+d*a;g.o[2][1]=c+e;g.o[3][0]=f?b-d:b+d;g.o[3][1]=c-e*a}};l([R],b);return b}(),m=function(){function a(a,b){this.v=S.newElement(),this.v.setPathData(!0,0),this.elem=a,this.comp=a.comp,this.data=b,this.frameId=-1,this.d=b.d,this.initDynamicPropertyContainer(a),b.sy===1?(this.ir=Q.getProp(a,b.ir,0,0,this),this.is=Q.getProp(a,b.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=Q.getProp(a,b.pt,0,0,this),this.p=Q.getProp(a,b.p,1,0,this),this.r=Q.getProp(a,b.r,0,D,this),this.or=Q.getProp(a,b.or,0,0,this),this.os=Q.getProp(a,b.os,0,.01,this),this.localShapeCollection=Xa.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}a.prototype={reset:g,getValue:function(){if(this.elem.globalData.frameId===this.frameId)return;this.frameId=this.elem.globalData.frameId;this.iterateDynamicProperties();this._mdf&&this.convertToPath()},convertStarToPath:function(){var a=Math.floor(this.pt.v)*2,b=Math.PI*2/a,c=!0,d=this.or.v,e=this.ir.v,f=this.os.v,g=this.is.v,h=2*Math.PI*d/(a*2),i=2*Math.PI*e/(a*2),j,k,l,m,n=-Math.PI/2;n+=this.r.v;var o=this.data.d===3?-1:1;this.v._length=0;for(j=0;j<a;j+=1){k=c?d:e;l=c?f:g;m=c?h:i;var p=k*Math.cos(n);k=k*Math.sin(n);var q=p===0&&k===0?0:k/Math.sqrt(p*p+k*k),r=p===0&&k===0?0:-p/Math.sqrt(p*p+k*k);p+=+this.p.v[0];k+=+this.p.v[1];this.v.setTripleAt(p,k,p-q*m*l*o,k-r*m*l*o,p+q*m*l*o,k+r*m*l*o,j,!0);c=!c;n+=b*o}},convertPolygonToPath:function(){var a=Math.floor(this.pt.v),b=Math.PI*2/a,c=this.or.v,d=this.os.v,e=2*Math.PI*c/(a*4),f,g=-Math.PI*.5,h=this.data.d===3?-1:1;g+=this.r.v;this.v._length=0;for(f=0;f<a;f+=1){var i=c*Math.cos(g),j=c*Math.sin(g),k=i===0&&j===0?0:j/Math.sqrt(i*i+j*j),l=i===0&&j===0?0:-i/Math.sqrt(i*i+j*j);i+=+this.p.v[0];j+=+this.p.v[1];this.v.setTripleAt(i,j,i-k*e*d*h,j-l*e*d*h,i+k*e*d*h,j+l*e*d*h,f,!0);g+=b*h}this.paths.length=0;this.paths[0]=this.v}};l([R],a);return a}(),n=function(){function a(a,b){this.v=S.newElement(),this.v.c=!0,this.localShapeCollection=Xa.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=a,this.comp=a.comp,this.frameId=-1,this.d=b.d,this.initDynamicPropertyContainer(a),this.p=Q.getProp(a,b.p,1,0,this),this.s=Q.getProp(a,b.s,1,0,this),this.r=Q.getProp(a,b.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}a.prototype={convertRectToPath:function(){var a=this.p.v[0],b=this.p.v[1],c=this.s.v[0]/2,d=this.s.v[1]/2,e=A(c,d,this.r.v),f=e*(1-E);this.v._length=0;this.d===2||this.d===1?(this.v.setTripleAt(a+c,b-d+e,a+c,b-d+e,a+c,b-d+f,0,!0),this.v.setTripleAt(a+c,b+d-e,a+c,b+d-f,a+c,b+d-e,1,!0),e!==0?(this.v.setTripleAt(a+c-e,b+d,a+c-e,b+d,a+c-f,b+d,2,!0),this.v.setTripleAt(a-c+e,b+d,a-c+f,b+d,a-c+e,b+d,3,!0),this.v.setTripleAt(a-c,b+d-e,a-c,b+d-e,a-c,b+d-f,4,!0),this.v.setTripleAt(a-c,b-d+e,a-c,b-d+f,a-c,b-d+e,5,!0),this.v.setTripleAt(a-c+e,b-d,a-c+e,b-d,a-c+f,b-d,6,!0),this.v.setTripleAt(a+c-e,b-d,a+c-f,b-d,a+c-e,b-d,7,!0)):(this.v.setTripleAt(a-c,b+d,a-c+f,b+d,a-c,b+d,2),this.v.setTripleAt(a-c,b-d,a-c,b-d+f,a-c,b-d,3))):(this.v.setTripleAt(a+c,b-d+e,a+c,b-d+f,a+c,b-d+e,0,!0),e!==0?(this.v.setTripleAt(a+c-e,b-d,a+c-e,b-d,a+c-f,b-d,1,!0),this.v.setTripleAt(a-c+e,b-d,a-c+f,b-d,a-c+e,b-d,2,!0),this.v.setTripleAt(a-c,b-d+e,a-c,b-d+e,a-c,b-d+f,3,!0),this.v.setTripleAt(a-c,b+d-e,a-c,b+d-f,a-c,b+d-e,4,!0),this.v.setTripleAt(a-c+e,b+d,a-c+e,b+d,a-c+f,b+d,5,!0),this.v.setTripleAt(a+c-e,b+d,a+c-f,b+d,a+c-e,b+d,6,!0),this.v.setTripleAt(a+c,b+d-e,a+c,b+d-e,a+c,b+d-f,7,!0)):(this.v.setTripleAt(a-c,b-d,a-c+f,b-d,a-c,b-d,1,!0),this.v.setTripleAt(a-c,b+d,a-c,b+d-f,a-c,b+d,2,!0),this.v.setTripleAt(a+c,b+d,a+c-f,b+d,a+c,b+d,3,!0)))},getValue:function(){if(this.elem.globalData.frameId===this.frameId)return;this.frameId=this.elem.globalData.frameId;this.iterateDynamicProperties();this._mdf&&this.convertRectToPath()},reset:g};l([R],a);return a}();function o(a,b,c){var d;if(c===3||c===4){var e=c===3?b.pt:b.ks;e=e.k;e.length?d=new j(a,b,c):d=new i(a,b,c)}else c===5?d=new n(a,b):c===6?d=new k(a,b):c===7&&(d=new m(a,b));d.k&&a.addDynamicProperty(d);return d}function p(){return i}function q(){return j}c={};c.getShapeProp=o;c.getConstructorFunction=p;c.getKeyframedConstructorFunction=q;return c}(),T=function(){var a=Math.cos,b=Math.sin,c=Math.tan,d=Math.round;function e(){this.props[0]=1;this.props[1]=0;this.props[2]=0;this.props[3]=0;this.props[4]=0;this.props[5]=1;this.props[6]=0;this.props[7]=0;this.props[8]=0;this.props[9]=0;this.props[10]=1;this.props[11]=0;this.props[12]=0;this.props[13]=0;this.props[14]=0;this.props[15]=1;return this}function f(c){if(c===0)return this;var d=a(c);c=b(c);return this._t(d,-c,0,0,c,d,0,0,0,0,1,0,0,0,0,1)}function g(c){if(c===0)return this;var d=a(c);c=b(c);return this._t(1,0,0,0,0,d,-c,0,0,c,d,0,0,0,0,1)}function h(c){if(c===0)return this;var d=a(c);c=b(c);return this._t(d,0,c,0,0,1,0,0,-c,0,d,0,0,0,0,1)}function i(c){if(c===0)return this;var d=a(c);c=b(c);return this._t(d,-c,0,0,c,d,0,0,0,0,1,0,0,0,0,1)}function j(a,b){return this._t(1,b,a,1,0,0)}function k(a,b){return this.shear(c(a),c(b))}function l(d,e){var f=a(e);e=b(e);return this._t(f,e,0,0,-e,f,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,c(d),1,0,0,0,0,1,0,0,0,0,1)._t(f,-e,0,0,e,f,0,0,0,0,1,0,0,0,0,1)}function m(a,b,c){!c&&c!==0&&(c=1);return a===1&&b===1&&c===1?this:this._t(a,0,0,0,0,b,0,0,0,0,c,0,0,0,0,1)}function n(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){this.props[0]=a;this.props[1]=b;this.props[2]=c;this.props[3]=d;this.props[4]=e;this.props[5]=f;this.props[6]=g;this.props[7]=h;this.props[8]=i;this.props[9]=j;this.props[10]=k;this.props[11]=l;this.props[12]=m;this.props[13]=n;this.props[14]=o;this.props[15]=p;return this}function p(a,b,c){c=c||0;return a!==0||b!==0||c!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,a,b,c,1):this}function q(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){var q=this.props;if(a===1&&b===0&&c===0&&d===0&&e===0&&f===1&&g===0&&h===0&&i===0&&j===0&&k===1&&l===0){q[12]=q[12]*a+q[15]*m;q[13]=q[13]*f+q[15]*n;q[14]=q[14]*k+q[15]*o;q[15]*=p;this._identityCalculated=!1;return this}var r=q[0],s=q[1],t=q[2],u=q[3],v=q[4],w=q[5],x=q[6],y=q[7],z=q[8],A=q[9],B=q[10],C=q[11],D=q[12],E=q[13],F=q[14],G=q[15];q[0]=r*a+s*e+t*i+u*m;q[1]=r*b+s*f+t*j+u*n;q[2]=r*c+s*g+t*k+u*o;q[3]=r*d+s*h+t*l+u*p;q[4]=v*a+w*e+x*i+y*m;q[5]=v*b+w*f+x*j+y*n;q[6]=v*c+w*g+x*k+y*o;q[7]=v*d+w*h+x*l+y*p;q[8]=z*a+A*e+B*i+C*m;q[9]=z*b+A*f+B*j+C*n;q[10]=z*c+A*g+B*k+C*o;q[11]=z*d+A*h+B*l+C*p;q[12]=D*a+E*e+F*i+G*m;q[13]=D*b+E*f+F*j+G*n;q[14]=D*c+E*g+F*k+G*o;q[15]=D*d+E*h+F*l+G*p;this._identityCalculated=!1;return this}function r(a){a=a.props;return this.transform(a[0],a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9],a[10],a[11],a[12],a[13],a[14],a[15])}function s(){this._identityCalculated||(this._identity=!(this.props[0]!==1||this.props[1]!==0||this.props[2]!==0||this.props[3]!==0||this.props[4]!==0||this.props[5]!==1||this.props[6]!==0||this.props[7]!==0||this.props[8]!==0||this.props[9]!==0||this.props[10]!==1||this.props[11]!==0||this.props[12]!==0||this.props[13]!==0||this.props[14]!==0||this.props[15]!==1),this._identityCalculated=!0);return this._identity}function t(a){var b=0;while(b<16){if(a.props[b]!==this.props[b])return!1;b+=1}return!0}function u(a){var b;for(b=0;b<16;b+=1)a.props[b]=this.props[b];return a}function v(a){var b;for(b=0;b<16;b+=1)this.props[b]=a[b]}function w(a,b,c){return{x:a*this.props[0]+b*this.props[4]+c*this.props[8]+this.props[12],y:a*this.props[1]+b*this.props[5]+c*this.props[9]+this.props[13],z:a*this.props[2]+b*this.props[6]+c*this.props[10]+this.props[14]}}function x(a,b,c){return a*this.props[0]+b*this.props[4]+c*this.props[8]+this.props[12]}function y(a,b,c){return a*this.props[1]+b*this.props[5]+c*this.props[9]+this.props[13]}function z(a,b,c){return a*this.props[2]+b*this.props[6]+c*this.props[10]+this.props[14]}function A(){var a=this.props[0]*this.props[5]-this.props[1]*this.props[4],b=this.props[5]/a,c=-this.props[1]/a,d=-this.props[4]/a,e=this.props[0]/a,f=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/a;a=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/a;var g=new T();g.props[0]=b;g.props[1]=c;g.props[4]=d;g.props[5]=e;g.props[12]=f;g.props[13]=a;return g}function B(a){var b=this.getInverseMatrix();return b.applyToPointArray(a[0],a[1],a[2]||0)}function C(a){var b,c=a.length,d=[];for(b=0;b<c;b+=1)d[b]=B(a[b]);return d}function D(a,b,c){var d=o("float32",6);if(this.isIdentity())d[0]=a[0],d[1]=a[1],d[2]=b[0],d[3]=b[1],d[4]=c[0],d[5]=c[1];else{var e=this.props[0],f=this.props[1],g=this.props[4],h=this.props[5],i=this.props[12],j=this.props[13];d[0]=a[0]*e+a[1]*g+i;d[1]=a[0]*f+a[1]*h+j;d[2]=b[0]*e+b[1]*g+i;d[3]=b[0]*f+b[1]*h+j;d[4]=c[0]*e+c[1]*g+i;d[5]=c[0]*f+c[1]*h+j}return d}function E(a,b,c){var d;this.isIdentity()?d=[a,b,c]:d=[a*this.props[0]+b*this.props[4]+c*this.props[8]+this.props[12],a*this.props[1]+b*this.props[5]+c*this.props[9]+this.props[13],a*this.props[2]+b*this.props[6]+c*this.props[10]+this.props[14]];return d}function F(a,b){if(this.isIdentity())return a+","+b;var c=this.props;return Math.round((a*c[0]+b*c[4]+c[12])*100)/100+","+Math.round((a*c[1]+b*c[5]+c[13])*100)/100}function G(){var a=0,b=this.props,c="matrix3d(",e=1e4;while(a<16)c+=d(b[a]*e)/e,c+=a===15?")":",",a+=1;return c}function aa(a){var b=1e4;return a<1e-6&&a>0||a>-1e-6&&a<0?d(a*b)/b:a}function ba(){var a=this.props,b=aa(a[0]),c=aa(a[1]),d=aa(a[4]),e=aa(a[5]),f=aa(a[12]);a=aa(a[13]);return"matrix("+b+","+c+","+d+","+e+","+f+","+a+")"}return function(){this.reset=e,this.rotate=f,this.rotateX=g,this.rotateY=h,this.rotateZ=i,this.skew=k,this.skewFromAxis=l,this.shear=j,this.scale=m,this.setTransform=n,this.translate=p,this.transform=q,this.multiply=r,this.applyToPoint=w,this.applyToX=x,this.applyToY=y,this.applyToZ=z,this.applyToPointArray=E,this.applyToTriplePoints=D,this.applyToPointStringified=F,this.toCSS=G,this.to2dCSS=ba,this.clone=u,this.cloneFromProps=v,this.equals=t,this.inversePoints=C,this.inversePoint=B,this.getInverseMatrix=A,this._t=this.transform,this.isIdentity=s,this._identity=!0,this._identityCalculated=!1,this.props=o("float32",16),this.reset()}}();function Za(a){typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?Za=function(a){return typeof a}:Za=function(a){return a&&typeof Symbol==="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a};return Za(a)}N={};var $a="__[STANDALONE]__",ab="__[ANIMATIONDATA]__",bb="";function cb(a){i(a)}function db(){$a===!0?P.searchAnimations(ab,$a,bb):P.searchAnimations()}function eb(a){la(a)}function fb(a){oa(a)}function gb(a){$a===!0&&(a.animationData=JSON.parse(ab));return P.loadAnimation(a)}function hb(a){if(typeof a==="string")switch(a){case"high":K(200);break;default:case"medium":K(50);break;case"low":K(10);break}else!isNaN(a)&&a>1&&K(a);L()>=50?F(!1):F(!0)}function ib(){return typeof navigator!=="undefined"}function jb(a,b){a==="expressions"&&na(b)}function kb(a){switch(a){case"propertyFactory":return Q;case"shapePropertyFactory":return Ya;case"matrix":return T;default:return null}}N.play=P.play;N.pause=P.pause;N.setLocationHref=cb;N.togglePause=P.togglePause;N.setSpeed=P.setSpeed;N.setDirection=P.setDirection;N.stop=P.stop;N.searchAnimations=db;N.registerAnimation=P.registerAnimation;N.loadAnimation=gb;N.setSubframeRendering=eb;N.resize=P.resize;N.goToAndStop=P.goToAndStop;N.destroy=P.destroy;N.setQuality=hb;N.inBrowser=ib;N.installPlugin=jb;N.freeze=P.freeze;N.unfreeze=P.unfreeze;N.setVolume=P.setVolume;N.mute=P.mute;N.unmute=P.unmute;N.getRegisteredAnimations=P.getRegisteredAnimations;N.useWebWorker=g;N.setIDPrefix=fb;N.__getFactory=kb;N.version="5.12.2";function lb(){document.readyState==="complete"&&(clearInterval(ob),db())}function mb(a){var b=nb.split("&");for(var c=0;c<b.length;c+=1){var d=b[c].split("=");if(decodeURIComponent(d[0])==a)return decodeURIComponent(d[1])}return null}var nb="";if($a){Ea=document.getElementsByTagName("script");cb=Ea.length-1;gb=Ea[cb]||{src:""};nb=gb.src?gb.src.replace(/^[^\?]+\??/,""):"";bb=mb("renderer")}var ob=setInterval(lb,100);try{!((typeof f==="undefined"?"undefined":Za(f))==="object"&&typeof e!=="undefined")&&!(typeof define==="function"&&define.amd)&&(window.bodymovin=N)}catch(a){}var pb=function(){var a={},b={};a.registerModifier=c;a.getModifier=d;function c(a,c){b[a]||(b[a]=c)}function d(a,c,d){return new b[a](c,d)}return a}();function U(){}U.prototype.initModifierProperties=function(){};U.prototype.addShapeToModifier=function(){};U.prototype.addShape=function(a){if(!this.closed){a.sh.container.addDynamicProperty(a.sh);var b={shape:a.sh,data:a,localShapeCollection:Xa.newShapeCollection()};this.shapes.push(b);this.addShapeToModifier(b);this._isAnimated&&a.setAsAnimated()}};U.prototype.init=function(a,b){this.shapes=[],this.elem=a,this.initDynamicPropertyContainer(a),this.initModifierProperties(a,b),this.frameId=d,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)};U.prototype.processKeys=function(){if(this.elem.globalData.frameId===this.frameId)return;this.frameId=this.elem.globalData.frameId;this.iterateDynamicProperties()};l([R],U);function qb(){}l([U],qb);qb.prototype.initModifierProperties=function(a,b){this.s=Q.getProp(a,b.s,0,.01,this),this.e=Q.getProp(a,b.e,0,.01,this),this.o=Q.getProp(a,b.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=b.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length};qb.prototype.addShapeToModifier=function(a){a.pathsData=[]};qb.prototype.calculateShapeEdges=function(a,b,c,d,e){var f=[];b<=1?f.push({s:a,e:b}):a>=1?f.push({s:a-1,e:b-1}):(f.push({s:a,e:1}),f.push({s:0,e:b-1}));a=[];var g;b=f.length;var h;for(g=0;g<b;g+=1){h=f[g];if(!(h.e*e<d||h.s*e>d+c)){var i,j;h.s*e<=d?i=0:i=(h.s*e-d)/c;h.e*e>=d+c?j=1:j=(h.e*e-d)/c;a.push([i,j])}}a.length||a.push([0,0]);return a};qb.prototype.releasePathsData=function(a){var b,c=a.length;for(b=0;b<c;b+=1)Da.release(a[b]);a.length=0;return a};qb.prototype.processShapes=function(a){var b,c;if(this._mdf||a){var d=this.o.v%360/360;d<0&&(d+=1);this.s.v>1?b=1+d:this.s.v<0?b=0+d:b=this.s.v+d;this.e.v>1?c=1+d:this.e.v<0?c=0+d:c=this.e.v+d;if(b>c){d=b;b=c;c=d}b=Math.round(b*1e4)*1e-4;c=Math.round(c*1e4)*1e-4;this.sValue=b;this.eValue=c}else b=this.sValue,c=this.eValue;var e,f;d=this.shapes.length;var g,h,i,j,k,l=0;if(c===b)for(f=0;f<d;f+=1)this.shapes[f].localShapeCollection.releaseShapes(),this.shapes[f].shape._mdf=!0,this.shapes[f].shape.paths=this.shapes[f].localShapeCollection,this._mdf&&(this.shapes[f].pathsData.length=0);else if(!(c===1&&b===0||c===0&&b===1)){var m=[],n;for(f=0;f<d;f+=1){n=this.shapes[f];if(!n.shape._mdf&&!this._mdf&&!a&&this.m!==2)n.shape.paths=n.localShapeCollection;else{e=n.shape.paths;h=e._length;k=0;if(!n.shape._mdf&&n.pathsData.length)k=n.totalShapeLength;else{i=this.releasePathsData(n.pathsData);for(g=0;g<h;g+=1)j=Fa.getSegmentsLength(e.shapes[g]),i.push(j),k+=j.totalLength;n.totalShapeLength=k;n.pathsData=i}l+=k;n.shape._mdf=!0}}j=b;e=c;i=0;for(f=d-1;f>=0;f-=1){n=this.shapes[f];if(n.shape._mdf){k=n.localShapeCollection;k.releaseShapes();this.m===2&&d>1?(a=this.calculateShapeEdges(b,c,n.totalShapeLength,i,l),i+=n.totalShapeLength):a=[[j,e]];h=a.length;for(g=0;g<h;g+=1){j=a[g][0];e=a[g][1];m.length=0;e<=1?m.push({s:n.totalShapeLength*j,e:n.totalShapeLength*e}):j>=1?m.push({s:n.totalShapeLength*(j-1),e:n.totalShapeLength*(e-1)}):(m.push({s:n.totalShapeLength*j,e:n.totalShapeLength}),m.push({s:0,e:n.totalShapeLength*(e-1)}));var o=this.addShapes(n,m[0]);if(m[0].s!==m[0].e){if(m.length>1){var p=n.shape.paths.shapes[n.shape.paths._length-1];if(p.c){p=o.pop();this.addPaths(o,k);o=this.addShapes(n,m[1],p)}else this.addPaths(o,k),o=this.addShapes(n,m[1])}this.addPaths(o,k)}}n.shape.paths=k}}}else if(this._mdf)for(f=0;f<d;f+=1)this.shapes[f].pathsData.length=0,this.shapes[f].shape._mdf=!0};qb.prototype.addPaths=function(a,b){var c,d=a.length;for(c=0;c<d;c+=1)b.addShape(a[c])};qb.prototype.addSegment=function(a,b,c,d,e,f,g){e.setXYAt(b[0],b[1],"o",f),e.setXYAt(c[0],c[1],"i",f+1),g&&e.setXYAt(a[0],a[1],"v",f),e.setXYAt(d[0],d[1],"v",f+1)};qb.prototype.addSegmentFromArray=function(a,b,c,d){b.setXYAt(a[1],a[5],"o",c),b.setXYAt(a[2],a[6],"i",c+1),d&&b.setXYAt(a[0],a[4],"v",c),b.setXYAt(a[3],a[7],"v",c+1)};qb.prototype.addShapes=function(a,b,c){var d=a.pathsData,e=a.shape.paths.shapes,f;a=a.shape.paths._length;var g,h,i=0,j,k,l,m,n=[],o,p=!0;!c?(c=S.newElement(),k=0,o=0):(k=c._length,o=c._length);n.push(c);for(f=0;f<a;f+=1){l=d[f].lengths;c.c=e[f].c;h=e[f].c?l.length:l.length+1;for(g=1;g<h;g+=1){j=l[g-1];if(i+j.addedLength<b.s)i+=j.addedLength,c.c=!1;else if(i>b.e){c.c=!1;break}else b.s<=i&&b.e>=i+j.addedLength?(this.addSegment(e[f].v[g-1],e[f].o[g-1],e[f].i[g],e[f].v[g],c,k,p),p=!1):(m=Fa.getNewSegment(e[f].v[g-1],e[f].v[g],e[f].o[g-1],e[f].i[g],(b.s-i)/j.addedLength,(b.e-i)/j.addedLength,l[g-1]),this.addSegmentFromArray(m,c,k,p),p=!1,c.c=!1),i+=j.addedLength,k+=1}if(e[f].c&&l.length){j=l[g-1];if(i<=b.e){h=l[g-1].addedLength;b.s<=i&&b.e>=i+h?(this.addSegment(e[f].v[g-1],e[f].o[g-1],e[f].i[0],e[f].v[0],c,k,p),p=!1):(m=Fa.getNewSegment(e[f].v[g-1],e[f].v[0],e[f].o[g-1],e[f].i[0],(b.s-i)/h,(b.e-i)/h,l[g-1]),this.addSegmentFromArray(m,c,k,p),p=!1,c.c=!1)}else c.c=!1;i+=j.addedLength;k+=1}c._length&&(c.setXYAt(c.v[o][0],c.v[o][1],"i",o),c.setXYAt(c.v[c._length-1][0],c.v[c._length-1][1],"o",c._length-1));if(i>b.e)break;f<a-1&&(c=S.newElement(),p=!0,n.push(c),k=0)}return n};function rb(){}l([U],rb);rb.prototype.initModifierProperties=function(a,b){this.getValue=this.processKeys,this.amount=Q.getProp(a,b.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length};rb.prototype.processPath=function(a,b){b=b/100;var c=[0,0],d=a._length,e=0;for(e=0;e<d;e+=1)c[0]+=a.v[e][0],c[1]+=a.v[e][1];c[0]/=d;c[1]/=d;var f=S.newElement();f.c=a.c;var g,h,i,j,k,l;for(e=0;e<d;e+=1)g=a.v[e][0]+(c[0]-a.v[e][0])*b,h=a.v[e][1]+(c[1]-a.v[e][1])*b,i=a.o[e][0]+(c[0]-a.o[e][0])*-b,j=a.o[e][1]+(c[1]-a.o[e][1])*-b,k=a.i[e][0]+(c[0]-a.i[e][0])*-b,l=a.i[e][1]+(c[1]-a.i[e][1])*-b,f.setTripleAt(g,h,i,j,k,l,e);return f};rb.prototype.processShapes=function(a){var b,c,d=this.shapes.length,e,f,g=this.amount.v;if(g!==0){var h,i;for(c=0;c<d;c+=1){h=this.shapes[c];i=h.localShapeCollection;if(!(!h.shape._mdf&&!this._mdf&&!a)){i.releaseShapes();h.shape._mdf=!0;b=h.shape.paths.shapes;f=h.shape.paths._length;for(e=0;e<f;e+=1)i.addShape(this.processPath(b[e],g))}h.shape.paths=h.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var sb=function(){var a=[0,0];function b(a){var b=this._mdf;this.iterateDynamicProperties();this._mdf=this._mdf||b;this.a&&a.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]);this.s&&a.scale(this.s.v[0],this.s.v[1],this.s.v[2]);this.sk&&a.skewFromAxis(-this.sk.v,this.sa.v);this.r?a.rotate(-this.r.v):a.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]);this.data.p.s?this.data.p.z?a.translate(this.px.v,this.py.v,-this.pz.v):a.translate(this.px.v,this.py.v,0):a.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function c(b){if(this.elem.globalData.frameId===this.frameId)return;this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1);this.iterateDynamicProperties();if(this._mdf||b){this.v.cloneFromProps(this.pre.props);this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]);this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]);this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v);this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]);if(this.autoOriented){var c,d;b=this.elem.globalData.frameRate;if(this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(c=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/b,0),d=this.p.getValueAtTime(this.p.keyframes[0].t/b,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(c=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/b,0),d=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/b,0)):(c=this.p.pv,d=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/b,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){c=[];d=[];var e=this.px,f=this.py;e._caching.lastFrame+e.offsetTime<=e.keyframes[0].t?(c[0]=e.getValueAtTime((e.keyframes[0].t+.01)/b,0),c[1]=f.getValueAtTime((f.keyframes[0].t+.01)/b,0),d[0]=e.getValueAtTime(e.keyframes[0].t/b,0),d[1]=f.getValueAtTime(f.keyframes[0].t/b,0)):e._caching.lastFrame+e.offsetTime>=e.keyframes[e.keyframes.length-1].t?(c[0]=e.getValueAtTime(e.keyframes[e.keyframes.length-1].t/b,0),c[1]=f.getValueAtTime(f.keyframes[f.keyframes.length-1].t/b,0),d[0]=e.getValueAtTime((e.keyframes[e.keyframes.length-1].t-.01)/b,0),d[1]=f.getValueAtTime((f.keyframes[f.keyframes.length-1].t-.01)/b,0)):(c=[e.pv,f.pv],d[0]=e.getValueAtTime((e._caching.lastFrame+e.offsetTime-.01)/b,e.offsetTime),d[1]=f.getValueAtTime((f._caching.lastFrame+f.offsetTime-.01)/b,f.offsetTime))}else d=a,c=d;this.v.rotate(-Math.atan2(c[1]-d[1],c[0]-d[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}function d(){this.appliedTransformations=0;this.pre.reset();if(!this.a.effectsSequence.length)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):!this.rz.effectsSequence.length&&!this.ry.effectsSequence.length&&!this.rx.effectsSequence.length&&!this.or.effectsSequence.length&&(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}function e(){}function f(a){this._addDynamicProperty(a),this.elem.addDynamicProperty(a),this._isDirty=!0}function g(a,b,c){this.elem=a;this.frameId=-1;this.propType="transform";this.data=b;this.v=new T();this.pre=new T();this.appliedTransformations=0;this.initDynamicPropertyContainer(c||a);b.p&&b.p.s?(this.px=Q.getProp(a,b.p.x,0,0,this),this.py=Q.getProp(a,b.p.y,0,0,this),b.p.z&&(this.pz=Q.getProp(a,b.p.z,0,0,this))):this.p=Q.getProp(a,b.p||{k:[0,0,0]},1,0,this);if(b.rx){this.rx=Q.getProp(a,b.rx,0,D,this);this.ry=Q.getProp(a,b.ry,0,D,this);this.rz=Q.getProp(a,b.rz,0,D,this);if(b.or.k[0].ti){var d;c=b.or.k.length;for(d=0;d<c;d+=1)b.or.k[d].to=null,b.or.k[d].ti=null}this.or=Q.getProp(a,b.or,1,D,this);this.or.sh=!0}else this.r=Q.getProp(a,b.r||{k:0},0,D,this);b.sk&&(this.sk=Q.getProp(a,b.sk,0,D,this),this.sa=Q.getProp(a,b.sa,0,D,this));this.a=Q.getProp(a,b.a||{k:[0,0,0]},1,0,this);this.s=Q.getProp(a,b.s||{k:[100,100,100]},1,.01,this);b.o?this.o=Q.getProp(a,b.o,0,.01,a):this.o={_mdf:!1,v:1};this._isDirty=!0;this.dynamicProperties.length||this.getValue(!0)}g.prototype={applyToMatrix:b,getValue:c,precalculateMatrix:d,autoOrient:e};l([R],g);g.prototype.addDynamicProperty=f;g.prototype._addDynamicProperty=R.prototype.addDynamicProperty;function h(a,b,c){return new g(a,b,c)}return{getTransformProperty:h}}();function tb(){}l([U],tb);tb.prototype.initModifierProperties=function(a,b){this.getValue=this.processKeys,this.c=Q.getProp(a,b.c,0,null,this),this.o=Q.getProp(a,b.o,0,null,this),this.tr=sb.getTransformProperty(a,b.tr,this),this.so=Q.getProp(a,b.tr.so,0,.01,this),this.eo=Q.getProp(a,b.tr.eo,0,.01,this),this.data=b,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new T(),this.rMatrix=new T(),this.sMatrix=new T(),this.tMatrix=new T(),this.matrix=new T()};tb.prototype.applyTransforms=function(a,b,c,d,e,f){var g=f?-1:1,h=d.s.v[0]+(1-d.s.v[0])*(1-e),i=d.s.v[1]+(1-d.s.v[1])*(1-e);a.translate(d.p.v[0]*g*e,d.p.v[1]*g*e,d.p.v[2]);b.translate(-d.a.v[0],-d.a.v[1],d.a.v[2]);b.rotate(-d.r.v*g*e);b.translate(d.a.v[0],d.a.v[1],d.a.v[2]);c.translate(-d.a.v[0],-d.a.v[1],d.a.v[2]);c.scale(f?1/h:h,f?1/i:i);c.translate(d.a.v[0],d.a.v[1],d.a.v[2])};tb.prototype.init=function(a,b,c,d){this.elem=a;this.arr=b;this.pos=c;this.elemsData=d;this._currentCopies=0;this._elements=[];this._groups=[];this.frameId=-1;this.initDynamicPropertyContainer(a);this.initModifierProperties(a,b[c]);while(c>0)c-=1,this._elements.unshift(b[c]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)};tb.prototype.resetElements=function(a){var b,c=a.length;for(b=0;b<c;b+=1)a[b]._processed=!1,a[b].ty==="gr"&&this.resetElements(a[b].it)};tb.prototype.cloneElements=function(a){a=JSON.parse(JSON.stringify(a));this.resetElements(a);return a};tb.prototype.changeGroupRender=function(a,b){var c,d=a.length;for(c=0;c<d;c+=1)a[c]._render=b,a[c].ty==="gr"&&this.changeGroupRender(a[c].it,b)};tb.prototype.processShapes=function(a){var b,c=!1;if(this._mdf||a){a=Math.ceil(this.c.v);if(this._groups.length<a){while(this._groups.length<a){var d={it:this.cloneElements(this._elements),ty:"gr"};d.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"});this.arr.splice(0,0,d);this._groups.splice(0,0,d);this._currentCopies+=1}this.elem.reloadShapes();c=!0}d=0;var e;for(b=0;b<=this._groups.length-1;b+=1){e=d<a;this._groups[b]._render=e;this.changeGroupRender(this._groups[b].it,e);if(!e){e=this.elemsData[b].it;e=e[e.length-1];e.transform.op.v!==0?(e.transform.op._mdf=!0,e.transform.op.v=0):e.transform.op._mdf=!1}d+=1}this._currentCopies=a;e=this.o.v;a=e%1;var f=e>0?Math.floor(e):Math.ceil(e),g=this.pMatrix.props,h=this.rMatrix.props,i=this.sMatrix.props;this.pMatrix.reset();this.rMatrix.reset();this.sMatrix.reset();this.tMatrix.reset();this.matrix.reset();var j=0;if(e>0){while(j<f)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),j+=1;a&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,a,!1),j+=a)}else if(e<0){while(j>f)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),j-=1;a&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-a,!0),j-=a)}b=this.data.m===1?0:this._currentCopies-1;e=this.data.m===1?1:-1;d=this._currentCopies;var k,l;while(d){f=this.elemsData[b].it;a=f[f.length-1].transform.mProps.v.props;l=a.length;f[f.length-1].transform.mProps._mdf=!0;f[f.length-1].transform.op._mdf=!0;f[f.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(b/(this._currentCopies-1));if(j!==0){(b!==0&&e===1||b!==this._currentCopies-1&&e===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1);this.matrix.transform(h[0],h[1],h[2],h[3],h[4],h[5],h[6],h[7],h[8],h[9],h[10],h[11],h[12],h[13],h[14],h[15]);this.matrix.transform(i[0],i[1],i[2],i[3],i[4],i[5],i[6],i[7],i[8],i[9],i[10],i[11],i[12],i[13],i[14],i[15]);this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]);for(k=0;k<l;k+=1)a[k]=this.matrix.props[k];this.matrix.reset()}else{this.matrix.reset();for(k=0;k<l;k+=1)a[k]=this.matrix.props[k]}j+=1;d-=1;b+=e}}else{d=this._currentCopies;b=0;e=1;while(d)f=this.elemsData[b].it,a=f[f.length-1].transform.mProps.v.props,f[f.length-1].transform.mProps._mdf=!1,f[f.length-1].transform.op._mdf=!1,d-=1,b+=e}return c};tb.prototype.addShape=function(){};function ub(){}l([U],ub);ub.prototype.initModifierProperties=function(a,b){this.getValue=this.processKeys,this.rd=Q.getProp(a,b.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length};ub.prototype.processPath=function(a,b){var c=S.newElement();c.c=a.c;var d,e=a._length,f,g,h,i,j=0,k,l,m,n,o,p;for(d=0;d<e;d+=1)f=a.v[d],h=a.o[d],g=a.i[d],f[0]===h[0]&&f[1]===h[1]&&f[0]===g[0]&&f[1]===g[1]?(d===0||d===e-1)&&!a.c?(c.setTripleAt(f[0],f[1],h[0],h[1],g[0],g[1],j),j+=1):(d===0?h=a.v[e-1]:h=a.v[d-1],g=Math.sqrt(Math.pow(f[0]-h[0],2)+Math.pow(f[1]-h[1],2)),i=g?Math.min(g/2,b)/g:0,o=f[0]+(h[0]-f[0])*i,k=o,p=f[1]-(f[1]-h[1])*i,l=p,m=k-(k-f[0])*E,n=l-(l-f[1])*E,c.setTripleAt(k,l,m,n,o,p,j),j+=1,d===e-1?h=a.v[0]:h=a.v[d+1],g=Math.sqrt(Math.pow(f[0]-h[0],2)+Math.pow(f[1]-h[1],2)),i=g?Math.min(g/2,b)/g:0,m=f[0]+(h[0]-f[0])*i,k=m,n=f[1]+(h[1]-f[1])*i,l=n,o=k-(k-f[0])*E,p=l-(l-f[1])*E,c.setTripleAt(k,l,m,n,o,p,j),j+=1):(c.setTripleAt(a.v[d][0],a.v[d][1],a.o[d][0],a.o[d][1],a.i[d][0],a.i[d][1],j),j+=1);return c};ub.prototype.processShapes=function(a){var b,c,d=this.shapes.length,e,f,g=this.rd.v;if(g!==0){var h,i;for(c=0;c<d;c+=1){h=this.shapes[c];i=h.localShapeCollection;if(!(!h.shape._mdf&&!this._mdf&&!a)){i.releaseShapes();h.shape._mdf=!0;b=h.shape.paths.shapes;f=h.shape.paths._length;for(e=0;e<f;e+=1)i.addShape(this.processPath(b[e],g))}h.shape.paths=h.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function vb(a,b){return Math.abs(a-b)*1e5<=Math.min(Math.abs(a),Math.abs(b))}function wb(a){return Math.abs(a)<=1e-5}function xb(a,b,c){return a*(1-c)+b*c}function yb(a,b,c){return[xb(a[0],b[0],c),xb(a[1],b[1],c)]}function zb(a,b,c){if(a===0)return[];c=b*b-4*a*c;if(c<0)return[];b=-b/(2*a);if(c===0)return[b];c=Math.sqrt(c)/(2*a);return[b-c,b+c]}function Ab(a,b,c,d){return[-a+3*b-3*c+d,3*a-6*b+3*c,-3*a+3*b,a]}function Bb(a){return new V(a,a,a,a,!1)}function V(a,b,c,d,e){e&&Lb(a,b)&&(b=yb(a,d,1/3));e&&Lb(c,d)&&(c=yb(a,d,2/3));e=Ab(a[0],b[0],c[0],d[0]);var f=Ab(a[1],b[1],c[1],d[1]);this.a=[e[0],f[0]];this.b=[e[1],f[1]];this.c=[e[2],f[2]];this.d=[e[3],f[3]];this.points=[a,b,c,d]}V.prototype.point=function(a){return[((this.a[0]*a+this.b[0])*a+this.c[0])*a+this.d[0],((this.a[1]*a+this.b[1])*a+this.c[1])*a+this.d[1]]};V.prototype.derivative=function(a){return[(3*a*this.a[0]+2*this.b[0])*a+this.c[0],(3*a*this.a[1]+2*this.b[1])*a+this.c[1]]};V.prototype.tangentAngle=function(a){a=this.derivative(a);return Math.atan2(a[1],a[0])};V.prototype.normalAngle=function(a){a=this.derivative(a);return Math.atan2(a[0],a[1])};V.prototype.inflectionPoints=function(){var a=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(wb(a))return[];var b=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/a;a=b*b-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/a;if(a<0)return[];a=Math.sqrt(a);return wb(a)?a>0&&a<1?[b]:[]:[b-a,b+a].filter(function(a){return a>0&&a<1})};V.prototype.split=function(a){if(a<=0)return[Bb(this.points[0]),this];if(a>=1)return[this,Bb(this.points[this.points.length-1])];var b=yb(this.points[0],this.points[1],a),c=yb(this.points[1],this.points[2],a),d=yb(this.points[2],this.points[3],a),e=yb(b,c,a);c=yb(c,d,a);a=yb(e,c,a);return[new V(this.points[0],b,e,a,!0),new V(a,c,d,this.points[3],!0)]};function Cb(a,b){var c=a.points[0][b],d=a.points[a.points.length-1][b];if(c>d){var e=d;d=c;c=e}e=zb(3*a.a[b],2*a.b[b],a.c[b]);for(var f=0;f<e.length;f+=1)if(e[f]>0&&e[f]<1){var g=a.point(e[f])[b];g<c?c=g:g>d&&(d=g)}return{min:c,max:d}}V.prototype.bounds=function(){return{x:Cb(this,0),y:Cb(this,1)}};V.prototype.boundingBox=function(){var a=this.bounds();return{left:a.x.min,right:a.x.max,top:a.y.min,bottom:a.y.max,width:a.x.max-a.x.min,height:a.y.max-a.y.min,cx:(a.x.max+a.x.min)/2,cy:(a.y.max+a.y.min)/2}};function Db(a,b,c){var d=a.boundingBox();return{cx:d.cx,cy:d.cy,width:d.width,height:d.height,bez:a,t:(b+c)/2,t1:b,t2:c}}function Eb(a){var b=a.bez.split(.5);return[Db(b[0],a.t1,a.t),Db(b[1],a.t,a.t2)]}function Fb(a,b){return Math.abs(a.cx-b.cx)*2<a.width+b.width&&Math.abs(a.cy-b.cy)*2<a.height+b.height}function Gb(a,b,c,d,e,f){if(!Fb(a,b))return;if(c>=f||a.width<=d&&a.height<=d&&b.width<=d&&b.height<=d){e.push([a.t,b.t]);return}a=Eb(a);b=Eb(b);Gb(a[0],b[0],c+1,d,e,f);Gb(a[0],b[1],c+1,d,e,f);Gb(a[1],b[0],c+1,d,e,f);Gb(a[1],b[1],c+1,d,e,f)}V.prototype.intersections=function(a,b,c){b===void 0&&(b=2);c===void 0&&(c=7);var d=[];Gb(Db(this,0,1),Db(a,0,1),0,b,d,c);return d};V.shapeSegment=function(a,b){var c=(b+1)%a.length();return new V(a.v[b],a.o[b],a.i[c],a.v[c],!0)};V.shapeSegmentInverted=function(a,b){var c=(b+1)%a.length();return new V(a.v[c],a.i[c],a.o[b],a.v[b],!0)};function Hb(a,b){return[a[1]*b[2]-a[2]*b[1],a[2]*b[0]-a[0]*b[2],a[0]*b[1]-a[1]*b[0]]}function Ib(a,b,c,d){a=[a[0],a[1],1];b=[b[0],b[1],1];c=[c[0],c[1],1];d=[d[0],d[1],1];a=Hb(Hb(a,b),Hb(c,d));return wb(a[2])?null:[a[0]/a[2],a[1]/a[2]]}function Jb(a,b,c){return[a[0]+Math.cos(b)*c,a[1]-Math.sin(b)*c]}function Kb(a,b){return Math.hypot(a[0]-b[0],a[1]-b[1])}function Lb(a,b){return vb(a[0],b[0])&&vb(a[1],b[1])}function Mb(){}l([U],Mb);Mb.prototype.initModifierProperties=function(a,b){this.getValue=this.processKeys,this.amplitude=Q.getProp(a,b.s,0,null,this),this.frequency=Q.getProp(a,b.r,0,null,this),this.pointsType=Q.getProp(a,b.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function Nb(a,b,c,d,e,f,g){var h=c-Math.PI/2,i=c+Math.PI/2,j=b[0]+Math.cos(c)*d*e;b=b[1]-Math.sin(c)*d*e;a.setTripleAt(j,b,j+Math.cos(h)*f,b-Math.sin(h)*f,j+Math.cos(i)*g,b-Math.sin(i)*g,a.length())}function Ob(a,b){b=[b[0]-a[0],b[1]-a[1]];a=-Math.PI*.5;a=[Math.cos(a)*b[0]-Math.sin(a)*b[1],Math.sin(a)*b[0]+Math.cos(a)*b[1]];return a}function Pb(a,b){var c=b===0?a.length()-1:b-1;b=(b+1)%a.length();c=a.v[c];a=a.v[b];b=Ob(c,a);return Math.atan2(0,1)-Math.atan2(b[1],b[0])}function Qb(a,b,c,d,e,f,g){var h=Pb(b,c),i=b.v[c%b._length],j=b.v[c===0?b._length-1:c-1],k=b.v[(c+1)%b._length];j=f===2?Math.sqrt(Math.pow(i[0]-j[0],2)+Math.pow(i[1]-j[1],2)):0;i=f===2?Math.sqrt(Math.pow(i[0]-k[0],2)+Math.pow(i[1]-k[1],2)):0;Nb(a,b.v[c%b._length],h,g,d,i/((e+1)*2),j/((e+1)*2),f)}function Rb(a,b,c,d,e,f){for(var g=0;g<d;g+=1){var h=(g+1)/(d+1),i=e===2?Math.sqrt(Math.pow(b.points[3][0]-b.points[0][0],2)+Math.pow(b.points[3][1]-b.points[0][1],2)):0,j=b.normalAngle(h);h=b.point(h);Nb(a,h,j,f,c,i/((d+1)*2),i/((d+1)*2),e);f=-f}return f}Mb.prototype.processPath=function(a,b,c,d){var e=a._length,f=S.newElement();f.c=a.c;a.c||(e-=1);if(e===0)return f;var g=-1,h=V.shapeSegment(a,0);Qb(f,a,0,b,c,d,g);for(var i=0;i<e;i+=1)g=Rb(f,h,b,c,d,-g),i===e-1&&!a.c?h=null:h=V.shapeSegment(a,(i+1)%e),Qb(f,a,i+1,b,c,d,g);return f};Mb.prototype.processShapes=function(a){var b,c,d=this.shapes.length,e,f,g=this.amplitude.v,h=Math.max(0,Math.round(this.frequency.v)),i=this.pointsType.v;if(g!==0){var j,k;for(c=0;c<d;c+=1){j=this.shapes[c];k=j.localShapeCollection;if(!(!j.shape._mdf&&!this._mdf&&!a)){k.releaseShapes();j.shape._mdf=!0;b=j.shape.paths.shapes;f=j.shape.paths._length;for(e=0;e<f;e+=1)k.addShape(this.processPath(b[e],g,h,i))}j.shape.paths=j.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Sb(a,b,c){var d=Math.atan2(b[0]-a[0],b[1]-a[1]);return[Jb(a,d,c),Jb(b,d,c)]}function Tb(a,b){var c,d,e,f,g;g=Sb(a.points[0],a.points[1],b);c=g[0];d=g[1];g=Sb(a.points[1],a.points[2],b);e=g[0];f=g[1];g=Sb(a.points[2],a.points[3],b);a=g[0];b=g[1];g=Ib(c,d,e,f);g===null&&(g=d);d=Ib(a,b,e,f);d===null&&(d=a);return new V(c,g,d,b)}function Ub(a,b,c,d,e){var f=b.points[3],g=c.points[0];if(d===3)return f;if(Lb(f,g))return f;if(d===2){d=-b.tangentAngle(1);var h=-c.tangentAngle(0)+Math.PI,i=Ib(f,Jb(f,d+Math.PI/2,100),g,Jb(g,d+Math.PI/2,100));i=i?Kb(i,f):Kb(f,g)/2;d=Jb(f,d,2*i*E);a.setXYAt(d[0],d[1],"o",a.length()-1);d=Jb(g,h,2*i*E);a.setTripleAt(g[0],g[1],g[0],g[1],d[0],d[1],a.length());return g}h=Lb(f,b.points[2])?b.points[0]:b.points[2];i=Lb(g,c.points[1])?c.points[3]:c.points[1];d=Ib(h,f,g,i);if(d&&Kb(d,f)<e){a.setTripleAt(d[0],d[1],d[0],d[1],d[0],d[1],a.length());return d}return f}function Vb(a,b){a=a.intersections(b);a.length&&vb(a[0][0],1)&&a.shift();return a.length?a[0]:null}function Wb(a,b){var c=a.slice(),d=b.slice(),e=Vb(a[a.length-1],b[0]);e&&(c[a.length-1]=a[a.length-1].split(e[0])[0],d[0]=b[0].split(e[1])[1]);if(a.length>1&&b.length>1){e=Vb(a[0],b[b.length-1]);if(e)return[[a[0].split(e[0])[0]],[b[b.length-1].split(e[1])[1]]]}return[c,d]}function Xb(a){var b;for(var c=1;c<a.length;c+=1)b=Wb(a[c-1],a[c]),a[c-1]=b[0],a[c]=b[1];a.length>1&&(b=Wb(a[a.length-1],a[0]),a[a.length-1]=b[0],a[0]=b[1]);return a}function Yb(a,b){var c=a.inflectionPoints(),d,e,f;if(c.length===0)return[Tb(a,b)];if(c.length===1||vb(c[1],1)){f=a.split(c[0]);d=f[0];e=f[1];return[Tb(d,b),Tb(e,b)]}f=a.split(c[0]);d=f[0];a=(c[1]-c[0])/(1-c[0]);f=f[1].split(a);c=f[0];e=f[1];return[Tb(d,b),Tb(c,b),Tb(e,b)]}function Zb(){}l([U],Zb);Zb.prototype.initModifierProperties=function(a,b){this.getValue=this.processKeys,this.amount=Q.getProp(a,b.a,0,null,this),this.miterLimit=Q.getProp(a,b.ml,0,null,this),this.lineJoin=b.lj,this._isAnimated=this.amount.effectsSequence.length!==0};Zb.prototype.processPath=function(a,b,c,d){var e=S.newElement();e.c=a.c;var f=a.length();a.c||(f-=1);var g,h,i,j=[];for(g=0;g<f;g+=1)i=V.shapeSegment(a,g),j.push(Yb(i,b));if(!a.c)for(g=f-1;g>=0;g-=1)i=V.shapeSegmentInverted(a,g),j.push(Yb(i,b));j=Xb(j);f=null;b=null;for(g=0;g<j.length;g+=1){a=j[g];b&&(f=Ub(e,b,a[0],c,d));b=a[a.length-1];for(h=0;h<a.length;h+=1)i=a[h],f&&Lb(i.points[0],f)?e.setXYAt(i.points[1][0],i.points[1][1],"o",e.length()-1):e.setTripleAt(i.points[0][0],i.points[0][1],i.points[1][0],i.points[1][1],i.points[0][0],i.points[0][1],e.length()),e.setTripleAt(i.points[3][0],i.points[3][1],i.points[3][0],i.points[3][1],i.points[2][0],i.points[2][1],e.length()),f=i.points[3]}j.length&&Ub(e,b,j[0][0],c,d);return e};Zb.prototype.processShapes=function(a){var b,c,d=this.shapes.length,e,f,g=this.amount.v,h=this.miterLimit.v,i=this.lineJoin;if(g!==0){var j,k;for(c=0;c<d;c+=1){j=this.shapes[c];k=j.localShapeCollection;if(!(!j.shape._mdf&&!this._mdf&&!a)){k.releaseShapes();j.shape._mdf=!0;b=j.shape.paths.shapes;f=j.shape.paths._length;for(e=0;e<f;e+=1)k.addShape(this.processPath(b[e],g,i,h))}j.shape.paths=j.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function $b(a){var b=a.fStyle?a.fStyle.split(" "):[],c="normal",d="normal",e=b.length,f;for(var g=0;g<e;g+=1){f=b[g].toLowerCase();switch(f){case"italic":d="italic";break;case"bold":c="700";break;case"black":c="900";break;case"medium":c="500";break;case"regular":case"normal":c="400";break;case"light":case"thin":c="200";break;default:break}}return{style:d,weight:a.fWeight||c}}var ac=function(){var a=5e3,b={w:0,size:0,shapes:[],data:{shapes:[]}},c=[];c=c.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var d=127988,e=917631,f=917601,g=917626,h=65039,i=8205,j=127462,l=127487,m=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function n(a){a=a.split(",");var b,c=a.length,d=[];for(b=0;b<c;b+=1)a[b]!=="sans-serif"&&a[b]!=="monospace"&&d.push(a[b]);return d.join(",")}function o(a,b){var c=k("span");c.setAttribute("aria-hidden",!0);c.style.fontFamily=b;var d=k("span");d.innerText="giItT1WQy@!-/#";c.style.position="absolute";c.style.left="-10000px";c.style.top="-10000px";c.style.fontSize="300px";c.style.fontVariant="normal";c.style.fontStyle="normal";c.style.fontWeight="normal";c.style.letterSpacing="0";c.appendChild(d);document.body.appendChild(c);var e=d.offsetWidth;d.style.fontFamily=n(a)+", "+b;return{node:d,w:e,parent:c}}function p(){var b,c=this.fonts.length,d,e,f=c;for(b=0;b<c;b+=1)this.fonts[b].loaded?f-=1:this.fonts[b].fOrigin==="n"||this.fonts[b].origin===0?this.fonts[b].loaded=!0:(d=this.fonts[b].monoCase.node,e=this.fonts[b].monoCase.w,d.offsetWidth!==e?(f-=1,this.fonts[b].loaded=!0):(d=this.fonts[b].sansCase.node,e=this.fonts[b].sansCase.w,d.offsetWidth!==e&&(f-=1,this.fonts[b].loaded=!0)),this.fonts[b].loaded&&(this.fonts[b].sansCase.parent.parentNode.removeChild(this.fonts[b].sansCase.parent),this.fonts[b].monoCase.parent.parentNode.removeChild(this.fonts[b].monoCase.parent)));f!==0&&Date.now()-this.initTime<a?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function q(a,b){var c=document.body&&b?"svg":"canvas",d,e=$b(a);if(c==="svg"){var f=M("text");f.style.fontSize="100px";f.setAttribute("font-family",a.fFamily);f.setAttribute("font-style",e.style);f.setAttribute("font-weight",e.weight);f.textContent="1";a.fClass?(f.style.fontFamily="inherit",f.setAttribute("class",a.fClass)):f.style.fontFamily=a.fFamily;b.appendChild(f);d=f}else{b=new OffscreenCanvas(500,500).getContext("2d");b.font=e.style+" "+e.weight+" 100px "+a.fFamily;d=b}function g(a){if(c==="svg"){d.textContent=a;return d.getComputedTextLength()}return d.measureText(a).width}return{measureText:g}}function r(a,b){if(!a){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0;this.fonts=a.list;return}if(!document.body){this.isLoaded=!0;a.list.forEach(function(a){a.helper=q(a),a.cache={}});this.fonts=a.list;return}a=a.list;var c,d=a.length,e=d;for(c=0;c<d;c+=1){var f=!0,g;a[c].loaded=!1;a[c].monoCase=o(a[c].fFamily,"monospace");a[c].sansCase=o(a[c].fFamily,"sans-serif");if(!a[c].fPath)a[c].loaded=!0,e-=1;else if(a[c].fOrigin==="p"||a[c].origin===3){g=document.querySelectorAll('style[f-forigin="p"][f-family="'+a[c].fFamily+'"], style[f-origin="3"][f-family="'+a[c].fFamily+'"]');g.length>0&&(f=!1);if(f){var h=k("style");h.setAttribute("f-forigin",a[c].fOrigin);h.setAttribute("f-origin",a[c].origin);h.setAttribute("f-family",a[c].fFamily);h.type="text/css";h.innerText="@font-face {font-family: "+a[c].fFamily+"; font-style: normal; src: url('"+a[c].fPath+"');}";b.appendChild(h)}}else if(a[c].fOrigin==="g"||a[c].origin===1){g=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]');for(h=0;h<g.length;h+=1)g[h].href.indexOf(a[c].fPath)!==-1&&(f=!1);if(f){var i=k("link");i.setAttribute("f-forigin",a[c].fOrigin);i.setAttribute("f-origin",a[c].origin);i.type="text/css";i.rel="stylesheet";i.href=a[c].fPath;document.body.appendChild(i)}}else if(a[c].fOrigin==="t"||a[c].origin===2){g=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]');for(h=0;h<g.length;h+=1)a[c].fPath===g[h].src&&(f=!1);if(f){i=k("link");i.setAttribute("f-forigin",a[c].fOrigin);i.setAttribute("f-origin",a[c].origin);i.setAttribute("rel","stylesheet");i.setAttribute("href",a[c].fPath);b.appendChild(i)}}a[c].helper=q(a[c],b);a[c].cache={};this.fonts.push(a[c])}e===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function s(a){if(!a)return;this.chars||(this.chars=[]);var b,c=a.length,d,e=this.chars.length,f;for(b=0;b<c;b+=1){d=0;f=!1;while(d<e)this.chars[d].style===a[b].style&&this.chars[d].fFamily===a[b].fFamily&&this.chars[d].ch===a[b].ch&&(f=!0),d+=1;f||(this.chars.push(a[b]),e+=1)}}function t(a,c,d){var e=0,f=this.chars.length;while(e<f){if(this.chars[e].ch===a&&this.chars[e].style===c&&this.chars[e].fFamily===d)return this.chars[e];e+=1}(typeof a==="string"&&a.charCodeAt(0)!==13||!a)&&console&&emptyFunction&&!this._warned&&(this._warned=!0);return b}function u(a,b,c){b=this.getFontByName(b);var d=a;if(!b.cache[d]){var e=b.helper;if(a===" "){var f=e.measureText("|"+a+"|"),g=e.measureText("||");b.cache[d]=(f-g)/100}else b.cache[d]=e.measureText(a)/100}return b.cache[d]*c}function v(a){var b=0,c=this.fonts.length;while(b<c){if(this.fonts[b].fName===a)return this.fonts[b];b+=1}return this.fonts[0]}function w(a){var b=0,c=a.charCodeAt(0);if(c>=55296&&c<=56319){a=a.charCodeAt(1);a>=56320&&a<=57343&&(b=(c-55296)*1024+a-56320+65536)}return b}function x(a,b){a=a.toString(16)+b.toString(16);return m.indexOf(a)!==-1}function y(a){return a===i}function z(a){return a===h}function A(a){a=w(a);return a>=j&&a<=l?!0:!1}function B(a){return A(a.substr(0,2))&&A(a.substr(2,2))}function C(a){return c.indexOf(a)!==-1}function D(a,b){var c=w(a.substr(b,2));if(c!==d)return!1;var h=0;b+=2;while(h<5){c=w(a.substr(b,2));if(c<f||c>g)return!1;h+=1;b+=2}return w(a.substr(b,2))===e}function E(){this.isLoaded=!0}var F=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};F.isModifier=x;F.isZeroWidthJoiner=y;F.isFlagEmoji=B;F.isRegionalCode=A;F.isCombinedCharacter=C;F.isRegionalFlag=D;F.isVariationSelector=z;F.BLACK_FLAG_CODE_POINT=d;x={addChars:s,addFonts:r,getCharData:t,getFontByName:v,measureText:u,checkLoadedFonts:p,setIsLoaded:E};F.prototype=x;return F}();function bc(a){this.animationData=a}bc.prototype.getProp=function(a){return this.animationData.slots&&this.animationData.slots[a.sid]?Object.assign(a,this.animationData.slots[a.sid].p):a};function cc(a){return new bc(a)}function dc(){}dc.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(a){this.renderableComponents.indexOf(a)===-1&&this.renderableComponents.push(a)},removeRenderableComponent:function(a){this.renderableComponents.indexOf(a)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(a),1)},prepareRenderableFrame:function(a){this.checkLayerLimits(a)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(a){this.data.ip-this.data.st<=a&&this.data.op-this.data.st>a?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var a,b=this.renderableComponents.length;for(a=0;a<b;a+=1)this.renderableComponents[a].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var ec=function(){var a={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(b){return a[b]||""}}();function fc(a,b,c){this.p=Q.getProp(b,a.v,0,0,c)}function gc(a,b,c){this.p=Q.getProp(b,a.v,0,0,c)}function hc(a,b,c){this.p=Q.getProp(b,a.v,1,0,c)}function ic(a,b,c){this.p=Q.getProp(b,a.v,1,0,c)}function jc(a,b,c){this.p=Q.getProp(b,a.v,0,0,c)}function kc(a,b,c){this.p=Q.getProp(b,a.v,0,0,c)}function lc(a,b,c){this.p=Q.getProp(b,a.v,0,0,c)}function mc(){this.p={}}function nc(a,b){a=a.ef||[];this.effectElements=[];var c,d=a.length,e;for(c=0;c<d;c+=1)e=new oc(a[c],b),this.effectElements.push(e)}function oc(a,b){this.init(a,b)}l([R],oc);oc.prototype.getValue=oc.prototype.iterateDynamicProperties;oc.prototype.init=function(a,b){this.data=a;this.effectElements=[];this.initDynamicPropertyContainer(b);var c;a=this.data.ef.length;var d,e=this.data.ef;for(c=0;c<a;c+=1){d=null;switch(e[c].ty){case 0:d=new fc(e[c],b,this);break;case 1:d=new gc(e[c],b,this);break;case 2:d=new hc(e[c],b,this);break;case 3:d=new ic(e[c],b,this);break;case 4:case 7:d=new lc(e[c],b,this);break;case 10:d=new jc(e[c],b,this);break;case 11:d=new kc(e[c],b,this);break;case 5:d=new nc(e[c],b,this);break;default:d=new mc(e[c],b,this);break}d&&this.effectElements.push(d)}};function pc(){}pc.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;var a=0,b=this.data.masksProperties.length;while(a<b){if(this.data.masksProperties[a].mode!=="n"&&this.data.masksProperties[a].cl!==!1)return!0;a+=1}return!1},initExpressions:function(){var a=J();if(!a)return;var b=a("layer"),c=a("effects"),d=a("shape"),e=a("text");a=a("comp");this.layerInterface=b(this);this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);b=c.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(b);this.data.ty===0||this.data.xt?this.compInterface=a(this):this.data.ty===4?(this.layerInterface.shapeInterface=d(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=e(this),this.layerInterface.text=this.layerInterface.textInterface)},setBlendMode:function(){var a=ec(this.data.bm),b=this.baseElement||this.layerElement;b.style["mix-blend-mode"]=a},initBaseData:function(a,b,c){this.globalData=b,this.comp=c,this.data=a,this.layerId=H(),this.data.sr||(this.data.sr=1),this.effectsManager=new nc(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function qc(){}qc.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(a,b){var c;a=this.dynamicProperties.length;for(c=0;c<a;c+=1)(b||this._isParent&&this.dynamicProperties[c].propType==="transform")&&(this.dynamicProperties[c].getValue(),this.dynamicProperties[c]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(a){this.dynamicProperties.indexOf(a)===-1&&this.dynamicProperties.push(a)}};function rc(a,b,c){this.initFrame(),this.initRenderable(),this.assetData=b.getAssetData(a.refId),this.footageData=b.imageLoader.getAsset(this.assetData),this.initBaseData(a,b,c)}rc.prototype.prepareFrame=function(){};l([dc,pc,qc],rc);rc.prototype.getBaseElement=function(){return null};rc.prototype.renderFrame=function(){};rc.prototype.destroy=function(){};rc.prototype.initExpressions=function(){var a=J();if(!a)return;a=a("footage");this.layerInterface=a(this)};rc.prototype.getFootageData=function(){return this.footageData};function W(a,b,c){this.initFrame();this.initRenderable();this.assetData=b.getAssetData(a.refId);this.initBaseData(a,b,c);this._isPlaying=!1;this._canPlay=!1;c=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(c);this._currentTime=0;this.globalData.audioController.addAudio(this);this._volumeMultiplier=1;this._volume=1;this._previousVolume=null;this.tm=a.tm?Q.getProp(this,a.tm,0,b.frameRate,this):{_placeholder:!0};this.lv=Q.getProp(this,a.au&&a.au.lv?a.au.lv:{k:[100]},1,.01,this)}W.prototype.prepareFrame=function(a){this.prepareRenderableFrame(a,!0);this.prepareProperties(a,!0);if(!this.tm._placeholder){var b=this.tm.v;this._currentTime=b}else this._currentTime=a/this.data.sr;this._volume=this.lv.v[0];b=this._volume*this._volumeMultiplier;this._previousVolume!==b&&(this._previousVolume=b,this.audio.volume(b))};l([dc,pc,qc],W);W.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(!this._isPlaying?(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0):(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate))};W.prototype.show=function(){};W.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1};W.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1};W.prototype.resume=function(){this._canPlay=!0};W.prototype.setRate=function(a){this.audio.rate(a)};W.prototype.volume=function(a){this._volumeMultiplier=a,this._previousVolume=a*this._volume,this.audio.volume(this._previousVolume)};W.prototype.getBaseElement=function(){return null};W.prototype.destroy=function(){};W.prototype.sourceRectAtTime=function(){};W.prototype.initExpressions=function(){};function X(){}X.prototype.checkLayers=function(a){var b=this.layers.length,c;this.completeLayers=!0;for(b=b-1;b>=0;b-=1)this.elements[b]||(c=this.layers[b],c.ip-c.st<=a-this.layers[b].st&&c.op-c.st>a-this.layers[b].st&&this.buildItem(b)),this.completeLayers=this.elements[b]?this.completeLayers:!1;this.checkPendingElements()};X.prototype.createItem=function(a){switch(a.ty){case 2:return this.createImage(a);case 0:return this.createComp(a);case 1:return this.createSolid(a);case 3:return this.createNull(a);case 4:return this.createShape(a);case 5:return this.createText(a);case 6:return this.createAudio(a);case 13:return this.createCamera(a);case 15:return this.createFootage(a);default:return this.createNull(a)}};X.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")};X.prototype.createAudio=function(a){return new W(a,this.globalData,this)};X.prototype.createFootage=function(a){return new rc(a,this.globalData,this)};X.prototype.buildAllItems=function(){var a,b=this.layers.length;for(a=0;a<b;a+=1)this.buildItem(a);this.checkPendingElements()};X.prototype.includeLayers=function(a){this.completeLayers=!1;var b,c=a.length,d,e=this.layers.length;for(b=0;b<c;b+=1){d=0;while(d<e){if(this.layers[d].id===a[b].id){this.layers[d]=a[b];break}d+=1}}};X.prototype.setProjectInterface=function(a){this.globalData.projectInterface=a};X.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()};X.prototype.buildElementParenting=function(a,b,c){var d=this.elements,e=this.layers,f=0,g=e.length;while(f<g)e[f].ind==b&&(!d[f]||d[f]===!0?(this.buildItem(f),this.addPendingElement(a)):(c.push(d[f]),d[f].setAsParent(),e[f].parent!==void 0?this.buildElementParenting(a,e[f].parent,c):a.setHierarchy(c))),f+=1};X.prototype.addPendingElement=function(a){this.pendingElements.push(a)};X.prototype.searchExtraCompositions=function(a){var b,c=a.length;for(b=0;b<c;b+=1)if(a[b].xt){var d=this.createComp(a[b]);d.initExpressions();this.globalData.projectInterface.registerComposition(d)}};X.prototype.getElementById=function(a){var b,c=this.elements.length;for(b=0;b<c;b+=1)if(this.elements[b].data.ind===a)return this.elements[b];return null};X.prototype.getElementByPath=function(a){var b=a.shift(),c;if(typeof b==="number")c=this.elements[b];else{var d,e=this.elements.length;for(d=0;d<e;d+=1)if(this.elements[d].data.nm===b){c=this.elements[d];break}}return a.length===0?c:c.getElementByPath(a)};X.prototype.setupGlobalData=function(a,b){this.globalData.fontManager=new ac(),this.globalData.slotManager=cc(a),this.globalData.fontManager.addChars(a.chars),this.globalData.fontManager.addFonts(a.fonts,b),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=a.fr,this.globalData.nm=a.nm,this.globalData.compSize={w:a.w,h:a.h}};var sc={TRANSFORM_EFFECT:"transformEFfect"};function tc(){}tc.prototype={initTransform:function(){var a=new T();this.finalTransform={mProp:this.data.ks?sb.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:a,localMat:a,localOpacity:1};this.data.ao&&(this.finalTransform.mProp.autoOriented=!0);this.data.ty!==11},renderTransform:function(){this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame;this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame;if(this.hierarchy){var a,b=this.finalTransform.mat,c=0,d=this.hierarchy.length;if(!this.finalTransform._matMdf)while(c<d){if(this.hierarchy[c].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}c+=1}if(this.finalTransform._matMdf){a=this.finalTransform.mProp.v.props;b.cloneFromProps(a);for(c=0;c<d;c+=1)b.multiply(this.hierarchy[c].finalTransform.mProp.v)}}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf);this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var a=0,b=this.localTransforms.length;this.finalTransform._localMatMdf=this.finalTransform._matMdf;if(!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)while(a<b)this.localTransforms[a]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[a]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),a+=1;if(this.finalTransform._localMatMdf){var c=this.finalTransform.localMat;this.localTransforms[0].matrix.clone(c);for(a=1;a<b;a+=1){var d=this.localTransforms[a].matrix;c.multiply(d)}c.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){d=this.finalTransform.localOpacity;for(a=0;a<b;a+=1)d*=this.localTransforms[a].opacity*.01;this.finalTransform.localOpacity=d}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var a=this.renderableEffectsManager.getEffects(sc.TRANSFORM_EFFECT);if(a.length){this.localTransforms=[];this.finalTransform.localMat=new T();var b=0,c=a.length;for(b=0;b<c;b+=1)this.localTransforms.push(a[b])}}},globalToLocal:function(a){var b=[];b.push(this.finalTransform);var c=!0,d=this.comp;while(c)d.finalTransform?(d.data.hasMask&&b.splice(0,0,d.finalTransform),d=d.comp):c=!1;d=b.length;var e;for(c=0;c<d;c+=1)e=b[c].mat.applyToPointArray(0,0,0),a=[a[0]-e[0],a[1]-e[1],0];return a},mHelper:new T()};function uc(a,b,c){this.data=a;this.element=b;this.globalData=c;this.storedData=[];this.masksProperties=this.data.masksProperties||[];this.maskElement=null;a=this.globalData.defs;var d;b=this.masksProperties?this.masksProperties.length:0;this.viewData=p(b);this.solidPath="";var e;c=this.masksProperties;var f=0,g=[],h=H(),i,k,l,m,n="clipPath",o="clip-path";for(d=0;d<b;d+=1){(c[d].mode!=="a"&&c[d].mode!=="n"||c[d].inv||c[d].o.k!==100||c[d].o.x)&&(n="mask",o="mask");(c[d].mode==="s"||c[d].mode==="i")&&f===0?(i=M("rect"),i.setAttribute("fill","#ffffff"),i.setAttribute("width",this.element.comp.data.w||0),i.setAttribute("height",this.element.comp.data.h||0),g.push(i)):i=null;e=M("path");if(c[d].mode==="n")this.viewData[d]={op:Q.getProp(this.element,c[d].o,0,.01,this.element),prop:Ya.getShapeProp(this.element,c[d],3),elem:e,lastPath:""},a.appendChild(e);else{f+=1;e.setAttribute("fill",c[d].mode==="s"?"#000000":"#ffffff");e.setAttribute("clip-rule","nonzero");var q;c[d].x.k!==0?(n="mask",o="mask",m=Q.getProp(this.element,c[d].x,0,null,this.element),q=H(),k=M("filter"),k.setAttribute("id",q),l=M("feMorphology"),l.setAttribute("operator","erode"),l.setAttribute("in","SourceGraphic"),l.setAttribute("radius","0"),k.appendChild(l),a.appendChild(k),e.setAttribute("stroke",c[d].mode==="s"?"#000000":"#ffffff")):(l=null,m=null);this.storedData[d]={elem:e,x:m,expan:l,lastPath:"",lastOperator:"",filterId:q,lastRadius:0};if(c[d].mode==="i"){k=g.length;m=M("g");for(l=0;l<k;l+=1)m.appendChild(g[l]);l=M("mask");l.setAttribute("mask-type","alpha");l.setAttribute("id",h+"_"+f);l.appendChild(e);a.appendChild(l);m.setAttribute("mask","url("+j()+"#"+h+"_"+f+")");g.length=0;g.push(m)}else g.push(e);c[d].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath());this.viewData[d]={elem:e,lastPath:"",op:Q.getProp(this.element,c[d].o,0,.01,this.element),prop:Ya.getShapeProp(this.element,c[d],3),invRect:i};this.viewData[d].prop.k||this.drawPath(c[d],this.viewData[d].prop.v,this.viewData[d])}}this.maskElement=M(n);b=g.length;for(d=0;d<b;d+=1)this.maskElement.appendChild(g[d]);f>0&&(this.maskElement.setAttribute("id",h),this.element.maskedElement.setAttribute(o,"url("+j()+"#"+h+")"),a.appendChild(this.maskElement));this.viewData.length&&this.element.addRenderableComponent(this)}uc.prototype.getMaskProperty=function(a){return this.viewData[a].prop};uc.prototype.renderFrame=function(a){var b=this.element.finalTransform.mat,c,d=this.masksProperties.length;for(c=0;c<d;c+=1){(this.viewData[c].prop._mdf||a)&&this.drawPath(this.masksProperties[c],this.viewData[c].prop.v,this.viewData[c]);(this.viewData[c].op._mdf||a)&&this.viewData[c].elem.setAttribute("fill-opacity",this.viewData[c].op.v);if(this.masksProperties[c].mode!=="n"){this.viewData[c].invRect&&(this.element.finalTransform.mProp._mdf||a)&&this.viewData[c].invRect.setAttribute("transform",b.getInverseMatrix().to2dCSS());if(this.storedData[c].x&&(this.storedData[c].x._mdf||a)){var e=this.storedData[c].expan;this.storedData[c].x.v<0?(this.storedData[c].lastOperator!=="erode"&&(this.storedData[c].lastOperator="erode",this.storedData[c].elem.setAttribute("filter","url("+j()+"#"+this.storedData[c].filterId+")")),e.setAttribute("radius",-this.storedData[c].x.v)):(this.storedData[c].lastOperator!=="dilate"&&(this.storedData[c].lastOperator="dilate",this.storedData[c].elem.setAttribute("filter",null)),this.storedData[c].elem.setAttribute("stroke-width",this.storedData[c].x.v*2))}}}};uc.prototype.getMaskelement=function(){return this.maskElement};uc.prototype.createLayerSolidPath=function(){var a="M0,0 ";a+=" h"+this.globalData.compSize.w;a+=" v"+this.globalData.compSize.h;a+=" h-"+this.globalData.compSize.w;a+=" v-"+this.globalData.compSize.h+" ";return a};uc.prototype.drawPath=function(a,b,c){var d=" M"+b.v[0][0]+","+b.v[0][1],e,f;f=b._length;for(e=1;e<f;e+=1)d+=" C"+b.o[e-1][0]+","+b.o[e-1][1]+" "+b.i[e][0]+","+b.i[e][1]+" "+b.v[e][0]+","+b.v[e][1];b.c&&f>1&&(d+=" C"+b.o[e-1][0]+","+b.o[e-1][1]+" "+b.i[0][0]+","+b.i[0][1]+" "+b.v[0][0]+","+b.v[0][1]);if(c.lastPath!==d){f="";c.elem&&(b.c&&(f=a.inv?this.solidPath+d:d),c.elem.setAttribute("d",f));c.lastPath=d}};uc.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var vc=function(){var a={};a.createFilter=b;a.createAlphaToLuminanceFilter=c;function b(a,b){var c=M("filter");c.setAttribute("id",a);b!==!0&&(c.setAttribute("filterUnits","objectBoundingBox"),c.setAttribute("x","0%"),c.setAttribute("y","0%"),c.setAttribute("width","100%"),c.setAttribute("height","100%"));return c}function c(){var a=M("feColorMatrix");a.setAttribute("type","matrix");a.setAttribute("color-interpolation-filters","sRGB");a.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1");return a}return a}(),wc=function(){var a={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas!=="undefined"};(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(a.maskType=!1);/firefox/i.test(navigator.userAgent)&&(a.svgLumaHidden=!1);return a}(),xc={},yc="filter_result_";function zc(a){var b,c="SourceGraphic",d=a.data.ef?a.data.ef.length:0,e=H(),f=vc.createFilter(e,!0),g=0;this.filters=[];var h;for(b=0;b<d;b+=1){h=null;var i=a.data.ef[b].ty;if(xc[i]){var k=xc[i].effect;h=new k(f,a.effectsManager.effectElements[b],a,yc+g,c);c=yc+g;xc[i].countsAsEffect&&(g+=1)}h&&this.filters.push(h)}g&&(a.globalData.defs.appendChild(f),a.layerElement.setAttribute("filter","url("+j()+"#"+e+")"));this.filters.length&&a.addRenderableComponent(this)}zc.prototype.renderFrame=function(a){var b,c=this.filters.length;for(b=0;b<c;b+=1)this.filters[b].renderFrame(a)};zc.prototype.getEffects=function(a){var b,c=this.filters.length,d=[];for(b=0;b<c;b+=1)this.filters[b].type===a&&d.push(this.filters[b]);return d};function Ac(){}Ac.prototype={initRendererElement:function(){this.layerElement=M("g")},createContainerElements:function(){this.matteElement=M("g");this.transformedElement=this.layerElement;this.maskedElement=this.layerElement;this._sizeChanged=!1;var a=null;if(this.data.td){this.matteMasks={};var b=M("g");b.setAttribute("id",this.layerId);b.appendChild(this.layerElement);a=b;this.globalData.defs.appendChild(b)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),a=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;this.data.ln&&this.layerElement.setAttribute("id",this.data.ln);this.data.cl&&this.layerElement.setAttribute("class",this.data.cl);if(this.data.ty===0&&!this.data.hd){b=M("clipPath");var c=M("path");c.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var d=H();b.setAttribute("id",d);b.appendChild(c);this.globalData.defs.appendChild(b);if(this.checkMasks()){c=M("g");c.setAttribute("clip-path","url("+j()+"#"+d+")");c.appendChild(this.layerElement);this.transformedElement=c;a?a.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+j()+"#"+d+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new uc(this.data,this,this.globalData),this.renderableEffectsManager=new zc(this),this.searchEffectTransforms()},getMatte:function(a){this.matteMasks||(this.matteMasks={});if(!this.matteMasks[a]){var b=this.layerId+"_"+a,c,d,e,f;if(a===1||a===3){var g=M("mask");g.setAttribute("id",b);g.setAttribute("mask-type",a===3?"luminance":"alpha");e=M("use");e.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId);g.appendChild(e);this.globalData.defs.appendChild(g);!wc.maskType&&a===1&&(g.setAttribute("mask-type","luminance"),c=H(),d=vc.createFilter(c),this.globalData.defs.appendChild(d),d.appendChild(vc.createAlphaToLuminanceFilter()),f=M("g"),f.appendChild(e),g.appendChild(f),f.setAttribute("filter","url("+j()+"#"+c+")"))}else if(a===2){g=M("mask");g.setAttribute("id",b);g.setAttribute("mask-type","alpha");var h=M("g");g.appendChild(h);c=H();d=vc.createFilter(c);var i=M("feComponentTransfer");i.setAttribute("in","SourceGraphic");d.appendChild(i);var k=M("feFuncA");k.setAttribute("type","table");k.setAttribute("tableValues","1.0 0.0");i.appendChild(k);this.globalData.defs.appendChild(d);i=M("rect");i.setAttribute("width",this.comp.data.w);i.setAttribute("height",this.comp.data.h);i.setAttribute("x","0");i.setAttribute("y","0");i.setAttribute("fill","#ffffff");i.setAttribute("opacity","0");h.setAttribute("filter","url("+j()+"#"+c+")");h.appendChild(i);e=M("use");e.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId);h.appendChild(e);wc.maskType||(g.setAttribute("mask-type","luminance"),d.appendChild(vc.createAlphaToLuminanceFilter()),f=M("g"),h.appendChild(i),f.appendChild(this.layerElement),h.appendChild(f));this.globalData.defs.appendChild(g)}this.matteMasks[a]=b}return this.matteMasks[a]},setMatte:function(a){if(!this.matteElement)return;this.matteElement.setAttribute("mask","url("+j()+"#"+a+")")}};function Bc(){}Bc.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(a){this.hierarchy=a},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function Cc(){}(function(){var a={initElement:function(a,b,c){this.initFrame(),this.initBaseData(a,b,c),this.initTransform(a,b,c),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var a=this.baseElement||this.layerElement;a.style.display="none";this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var a=this.baseElement||this.layerElement;a.style.display="block"}this.hidden=!1;this._isFirstFrame=!0}},renderFrame:function(){if(this.data.hd||this.hidden)return;this.renderTransform();this.renderRenderable();this.renderLocalTransform();this.renderElement();this.renderInnerContent();this._isFirstFrame&&(this._isFirstFrame=!1)},renderInnerContent:function(){},prepareFrame:function(a){this._mdf=!1,this.prepareRenderableFrame(a),this.prepareProperties(a,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};l([dc,m(a)],Cc)})();function Dc(a,b,c){this.assetData=b.getAssetData(a.refId),this.assetData&&this.assetData.sid&&(this.assetData=b.slotManager.getProp(this.assetData)),this.initElement(a,b,c),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}l([pc,tc,Ac,Bc,qc,Cc],Dc);Dc.prototype.createContent=function(){var a=this.globalData.getAssetsPath(this.assetData);this.innerElem=M("image");this.innerElem.setAttribute("width",this.assetData.w+"px");this.innerElem.setAttribute("height",this.assetData.h+"px");this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio);this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",a);this.layerElement.appendChild(this.innerElem)};Dc.prototype.sourceRectAtTime=function(){return this.sourceRect};function Ec(a,b){this.elem=a,this.pos=b}function Fc(){}Fc.prototype={addShapeToModifiers:function(a){var b,c=this.shapeModifiers.length;for(b=0;b<c;b+=1)this.shapeModifiers[b].addShape(a)},isShapeInAnimatedModifiers:function(a){var b=0,c=this.shapeModifiers.length;while(b<c)if(this.shapeModifiers[b].isAnimatedWithShape(a))return!0;return!1},renderModifiers:function(){if(!this.shapeModifiers.length)return;var a,b=this.shapes.length;for(a=0;a<b;a+=1)this.shapes[a].sh.reset();b=this.shapeModifiers.length;for(a=b-1;a>=0;a-=1){b=this.shapeModifiers[a].processShapes(this._isFirstFrame);if(b)break}},searchProcessedElement:function(a){var b=this.processedElements,c=0,d=b.length;while(c<d){if(b[c].elem===a)return b[c].pos;c+=1}return 0},addProcessedElement:function(a,b){var c=this.processedElements,d=c.length;while(d){d-=1;if(c[d].elem===a){c[d].pos=b;return}}c.push(new Ec(a,b))},prepareFrame:function(a){this.prepareRenderableFrame(a),this.prepareProperties(a,this.isInRange)}};var Gc={1:"butt",2:"round",3:"square"},Hc={1:"miter",2:"round",3:"bevel"};function Ic(a,b,c){this.caches=[];this.styles=[];this.transformers=a;this.lStr="";this.sh=c;this.lvl=b;this._isAnimated=!!c.k;b=0;c=a.length;while(b<c){if(a[b].mProps.dynamicProperties.length){this._isAnimated=!0;break}b+=1}}Ic.prototype.setAsAnimated=function(){this._isAnimated=!0};function Jc(a,b){this.data=a,this.type=a.ty,this.d="",this.lvl=b,this._mdf=!1,this.closed=a.hd===!0,this.pElem=M("path"),this.msElem=null}Jc.prototype.reset=function(){this.d="",this._mdf=!1};function Kc(b,c,a,d){this.elem=b;this.frameId=-1;this.dataProps=p(c.length);this.renderer=a;this.k=!1;this.dashStr="";this.dashArray=o("float32",c.length?c.length-1:0);this.dashoffset=o("float32",1);this.initDynamicPropertyContainer(d);a=c.length||0;var e;for(d=0;d<a;d+=1)e=Q.getProp(b,c[d].v,0,0,this),this.k=e.k||this.k,this.dataProps[d]={n:c[d].n,p:e};this.k||this.getValue(!0);this._isAnimated=this.k}Kc.prototype.getValue=function(a){if(this.elem.globalData.frameId===this.frameId&&!a)return;this.frameId=this.elem.globalData.frameId;this.iterateDynamicProperties();this._mdf=this._mdf||a;if(this._mdf){var b;a=this.dataProps.length;this.renderer==="svg"&&(this.dashStr="");for(b=0;b<a;b+=1)this.dataProps[b].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[b].p.v:this.dashArray[b]=this.dataProps[b].p.v:this.dashoffset[0]=this.dataProps[b].p.v}};l([R],Kc);function Lc(a,b,c){this.initDynamicPropertyContainer(a),this.getValue=this.iterateDynamicProperties,this.o=Q.getProp(a,b.o,0,.01,this),this.w=Q.getProp(a,b.w,0,null,this),this.d=new Kc(a,b.d||{},"svg",this),this.c=Q.getProp(a,b.c,1,255,this),this.style=c,this._isAnimated=!!this._isAnimated}l([R],Lc);function Mc(a,b,c){this.initDynamicPropertyContainer(a),this.getValue=this.iterateDynamicProperties,this.o=Q.getProp(a,b.o,0,.01,this),this.c=Q.getProp(a,b.c,1,255,this),this.style=c}l([R],Mc);function Nc(a,b,c){this.initDynamicPropertyContainer(a),this.getValue=this.iterateDynamicProperties,this.style=c}l([R],Nc);function Oc(a,b,c){this.data=b;this.c=o("uint8c",b.p*4);var d=b.k.k[0].s?b.k.k[0].s.length-b.p*4:b.k.k.length-b.p*4;this.o=o("float32",d);this._cmdf=!1;this._omdf=!1;this._collapsable=this.checkCollapsable();this._hasOpacity=d;this.initDynamicPropertyContainer(c);this.prop=Q.getProp(a,b.k,1,null,this);this.k=this.prop.k;this.getValue(!0)}Oc.prototype.comparePoints=function(a,b){var c=0,d=this.o.length/2,e;while(c<d){e=Math.abs(a[c*4]-a[b*4+c*2]);if(e>.01)return!1;c+=1}return!0};Oc.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s){var a=0,b=this.data.k.k.length;while(a<b){if(!this.comparePoints(this.data.k.k[a].s,this.data.p))return!1;a+=1}}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0};Oc.prototype.getValue=function(a){this.prop.getValue();this._mdf=!1;this._cmdf=!1;this._omdf=!1;if(this.prop._mdf||a){var b,c=this.data.p*4,d;for(b=0;b<c;b+=1)d=b%4===0?100:255,d=Math.round(this.prop.v[b]*d),this.c[b]!==d&&(this.c[b]=d,this._cmdf=!a);if(this.o.length){c=this.prop.v.length;for(b=this.data.p*4;b<c;b+=1)b%2===0?100:1,d=b%2===0?Math.round(this.prop.v[b]*100):this.prop.v[b],this.o[b-this.data.p*4]!==d&&(this.o[b-this.data.p*4]=d,this._omdf=!a)}this._mdf=!a}};l([R],Oc);function Pc(a,b,c){this.initDynamicPropertyContainer(a),this.getValue=this.iterateDynamicProperties,this.initGradientData(a,b,c)}Pc.prototype.initGradientData=function(a,b,c){this.o=Q.getProp(a,b.o,0,.01,this),this.s=Q.getProp(a,b.s,1,null,this),this.e=Q.getProp(a,b.e,1,null,this),this.h=Q.getProp(a,b.h||{k:0},0,.01,this),this.a=Q.getProp(a,b.a||{k:0},0,D,this),this.g=new Oc(a,b.g,this),this.style=c,this.stops=[],this.setGradientData(c.pElem,b),this.setGradientOpacity(b,c),this._isAnimated=!!this._isAnimated};Pc.prototype.setGradientData=function(a,b){var c=H(),d=M(b.t===1?"linearGradient":"radialGradient");d.setAttribute("id",c);d.setAttribute("spreadMethod","pad");d.setAttribute("gradientUnits","userSpaceOnUse");var e=[],f,g,h;h=b.g.p*4;for(g=0;g<h;g+=4)f=M("stop"),d.appendChild(f),e.push(f);a.setAttribute(b.ty==="gf"?"fill":"stroke","url("+j()+"#"+c+")");this.gf=d;this.cst=e};Pc.prototype.setGradientOpacity=function(a,b){if(this.g._hasOpacity&&!this.g._collapsable){var c,d,e,f=M("mask"),g=M("path");f.appendChild(g);var h=H(),i=H();f.setAttribute("id",i);var k=M(a.t===1?"linearGradient":"radialGradient");k.setAttribute("id",h);k.setAttribute("spreadMethod","pad");k.setAttribute("gradientUnits","userSpaceOnUse");e=a.g.k.k[0].s?a.g.k.k[0].s.length:a.g.k.k.length;var l=this.stops;for(d=a.g.p*4;d<e;d+=2)c=M("stop"),c.setAttribute("stop-color","rgb(255,255,255)"),k.appendChild(c),l.push(c);g.setAttribute(a.ty==="gf"?"fill":"stroke","url("+j()+"#"+h+")");a.ty==="gs"&&(g.setAttribute("stroke-linecap",Gc[a.lc||2]),g.setAttribute("stroke-linejoin",Hc[a.lj||2]),a.lj===1&&g.setAttribute("stroke-miterlimit",a.ml));this.of=k;this.ms=f;this.ost=l;this.maskId=i;b.msElem=g}};l([R],Pc);function Qc(a,b,c){this.initDynamicPropertyContainer(a),this.getValue=this.iterateDynamicProperties,this.w=Q.getProp(a,b.w,0,null,this),this.d=new Kc(a,b.d||{},"svg",this),this.initGradientData(a,b,c),this._isAnimated=!!this._isAnimated}l([Pc,R],Qc);function Rc(){this.it=[],this.prevViewData=[],this.gr=M("g")}function Sc(a,b,c){this.transform={mProps:a,op:b,container:c},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var Tc=function(a,b,c,d){if(b===0)return"";var e=a.o,f=a.i;a=a.v;var g,h=" M"+d.applyToPointStringified(a[0][0],a[0][1]);for(g=1;g<b;g+=1)h+=" C"+d.applyToPointStringified(e[g-1][0],e[g-1][1])+" "+d.applyToPointStringified(f[g][0],f[g][1])+" "+d.applyToPointStringified(a[g][0],a[g][1]);c&&b&&(h+=" C"+d.applyToPointStringified(e[g-1][0],e[g-1][1])+" "+d.applyToPointStringified(f[0][0],f[0][1])+" "+d.applyToPointStringified(a[0][0],a[0][1]),h+="z");return h},Uc=function(){var a=new T(),b=new T();c={createRenderFunction:c};function c(a){switch(a.ty){case"fl":return g;case"gf":return i;case"gs":return h;case"st":return j;case"sh":case"el":case"rc":case"sr":return f;case"tr":return d;case"no":return e;default:return null}}function d(a,b,c){(c||b.transform.op._mdf)&&b.transform.container.setAttribute("opacity",b.transform.op.v),(c||b.transform.mProps._mdf)&&b.transform.container.setAttribute("transform",b.transform.mProps.v.to2dCSS())}function e(){}function f(c,d,e){var f,g,h,i,j,k=d.styles.length,l=d.lvl,m,n,o;for(j=0;j<k;j+=1){h=d.sh._mdf||e;if(d.styles[j].lvl<l){m=b.reset();n=l-d.styles[j].lvl;o=d.transformers.length-1;while(!h&&n>0)h=d.transformers[o].mProps._mdf||h,n-=1,o-=1;if(h){n=l-d.styles[j].lvl;o=d.transformers.length-1;while(n>0)m.multiply(d.transformers[o].mProps.v),n-=1,o-=1}}else m=a;n=d.sh.paths;o=n._length;if(h){g="";for(f=0;f<o;f+=1)i=n.shapes[f],i&&i._length&&(g+=Tc(i,i._length,i.c,m));d.caches[j]=g}else g=d.caches[j];d.styles[j].d+=c.hd===!0?"":g;d.styles[j]._mdf=h||d.styles[j]._mdf}}function g(a,b,c){a=b.style;(b.c._mdf||c)&&a.pElem.setAttribute("fill","rgb("+z(b.c.v[0])+","+z(b.c.v[1])+","+z(b.c.v[2])+")");(b.o._mdf||c)&&a.pElem.setAttribute("fill-opacity",b.o.v)}function h(a,b,c){i(a,b,c),j(a,b,c)}function i(a,b,c){var d=b.gf,e=b.g._hasOpacity,f=b.s.v,g=b.e.v;if(b.o._mdf||c){var h=a.ty==="gf"?"fill-opacity":"stroke-opacity";b.style.pElem.setAttribute(h,b.o.v)}if(b.s._mdf||c){h=a.t===1?"x1":"cx";var i=h==="x1"?"y1":"cy";d.setAttribute(h,f[0]);d.setAttribute(i,f[1]);e&&!b.g._collapsable&&(b.of.setAttribute(h,f[0]),b.of.setAttribute(i,f[1]))}var j,k,l;if(b.g._cmdf||c){h=b.cst;i=b.g.c;k=h.length;for(j=0;j<k;j+=1)l=h[j],l.setAttribute("offset",i[j*4]+"%"),l.setAttribute("stop-color","rgb("+i[j*4+1]+","+i[j*4+2]+","+i[j*4+3]+")")}if(e&&(b.g._omdf||c)){i=b.g.o;b.g._collapsable?h=b.cst:h=b.ost;k=h.length;for(j=0;j<k;j+=1)l=h[j],b.g._collapsable||l.setAttribute("offset",i[j*2]+"%"),l.setAttribute("stop-opacity",i[j*2+1])}if(a.t===1)(b.e._mdf||c)&&(d.setAttribute("x2",g[0]),d.setAttribute("y2",g[1]),e&&!b.g._collapsable&&(b.of.setAttribute("x2",g[0]),b.of.setAttribute("y2",g[1])));else{var m;(b.s._mdf||b.e._mdf||c)&&(m=Math.sqrt(Math.pow(f[0]-g[0],2)+Math.pow(f[1]-g[1],2)),d.setAttribute("r",m),e&&!b.g._collapsable&&b.of.setAttribute("r",m));if(b.e._mdf||b.h._mdf||b.a._mdf||c){m||(m=Math.sqrt(Math.pow(f[0]-g[0],2)+Math.pow(f[1]-g[1],2)));j=Math.atan2(g[1]-f[1],g[0]-f[0]);k=b.h.v;k>=1?k=.99:k<=-1&&(k=-.99);i=m*k;l=Math.cos(j+b.a.v)*i+f[0];h=Math.sin(j+b.a.v)*i+f[1];d.setAttribute("fx",l);d.setAttribute("fy",h);e&&!b.g._collapsable&&(b.of.setAttribute("fx",l),b.of.setAttribute("fy",h))}}}function j(a,b,c){a=b.style;var d=b.d;d&&(d._mdf||c)&&d.dashStr&&(a.pElem.setAttribute("stroke-dasharray",d.dashStr),a.pElem.setAttribute("stroke-dashoffset",d.dashoffset[0]));b.c&&(b.c._mdf||c)&&a.pElem.setAttribute("stroke","rgb("+z(b.c.v[0])+","+z(b.c.v[1])+","+z(b.c.v[2])+")");(b.o._mdf||c)&&a.pElem.setAttribute("stroke-opacity",b.o.v);(b.w._mdf||c)&&(a.pElem.setAttribute("stroke-width",b.w.v),a.msElem&&a.msElem.setAttribute("stroke-width",b.w.v))}return c}();function Y(a,b,c){this.shapes=[],this.shapesData=a.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(a,b,c),this.prevViewData=[]}l([pc,tc,Ac,Fc,Bc,qc,Cc],Y);Y.prototype.initSecondaryElement=function(){};Y.prototype.identityMatrix=new T();Y.prototype.buildExpressionInterface=function(){};Y.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()};Y.prototype.filterUniqueShapes=function(){var a,b=this.shapes.length,c,d,e=this.stylesList.length,f,g=[],h=!1;for(d=0;d<e;d+=1){f=this.stylesList[d];h=!1;g.length=0;for(a=0;a<b;a+=1)c=this.shapes[a],c.styles.indexOf(f)!==-1&&(g.push(c),h=c._isAnimated||h);g.length>1&&h&&this.setShapesAsAnimated(g)}};Y.prototype.setShapesAsAnimated=function(a){var b,c=a.length;for(b=0;b<c;b+=1)a[b].setAsAnimated()};Y.prototype.createStyleElement=function(a,b){var c;b=new Jc(a,b);var d=b.pElem;if(a.ty==="st")c=new Lc(this,a,b);else if(a.ty==="fl")c=new Mc(this,a,b);else if(a.ty==="gf"||a.ty==="gs"){var e=a.ty==="gf"?Pc:Qc;c=new e(this,a,b);this.globalData.defs.appendChild(c.gf);c.maskId&&(this.globalData.defs.appendChild(c.ms),this.globalData.defs.appendChild(c.of),d.setAttribute("mask","url("+j()+"#"+c.maskId+")"))}else a.ty==="no"&&(c=new Nc(this,a,b));(a.ty==="st"||a.ty==="gs")&&(d.setAttribute("stroke-linecap",Gc[a.lc||2]),d.setAttribute("stroke-linejoin",Hc[a.lj||2]),d.setAttribute("fill-opacity","0"),a.lj===1&&d.setAttribute("stroke-miterlimit",a.ml));a.r===2&&d.setAttribute("fill-rule","evenodd");a.ln&&d.setAttribute("id",a.ln);a.cl&&d.setAttribute("class",a.cl);a.bm&&(d.style["mix-blend-mode"]=ec(a.bm));this.stylesList.push(b);this.addToAnimatedContents(a,c);return c};Y.prototype.createGroupElement=function(a){var b=new Rc();a.ln&&b.gr.setAttribute("id",a.ln);a.cl&&b.gr.setAttribute("class",a.cl);a.bm&&(b.gr.style["mix-blend-mode"]=ec(a.bm));return b};Y.prototype.createTransformElement=function(a,b){var c=sb.getTransformProperty(this,a,this);c=new Sc(c,c.o,b);this.addToAnimatedContents(a,c);return c};Y.prototype.createShapeElement=function(a,b,c){var d=4;a.ty==="rc"?d=5:a.ty==="el"?d=6:a.ty==="sr"&&(d=7);d=Ya.getShapeProp(this,a,d,this);b=new Ic(b,c,d);this.shapes.push(b);this.addShapeToModifiers(b);this.addToAnimatedContents(a,b);return b};Y.prototype.addToAnimatedContents=function(a,b){var c=0,d=this.animatedContents.length;while(c<d){if(this.animatedContents[c].element===b)return;c+=1}this.animatedContents.push({fn:Uc.createRenderFunction(a),element:b,data:a})};Y.prototype.setElementStyles=function(a){a=a.styles;var b,c=this.stylesList.length;for(b=0;b<c;b+=1)this.stylesList[b].closed||a.push(this.stylesList[b])};Y.prototype.reloadShapes=function(){this._isFirstFrame=!0;var a,b=this.itemsData.length;for(a=0;a<b;a+=1)this.prevViewData[a]=this.itemsData[a];this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0);this.filterUniqueShapes();b=this.dynamicProperties.length;for(a=0;a<b;a+=1)this.dynamicProperties[a].getValue();this.renderModifiers()};Y.prototype.searchShapes=function(a,b,c,d,e,f,g){f=[].concat(f);var h,i=a.length-1,j,k,l=[],m=[],n;for(h=i;h>=0;h-=1){n=this.searchProcessedElement(a[h]);!n?a[h]._render=g:b[h]=c[n-1];if(a[h].ty==="fl"||a[h].ty==="st"||a[h].ty==="gf"||a[h].ty==="gs"||a[h].ty==="no")!n?b[h]=this.createStyleElement(a[h],e):b[h].style.closed=!1,a[h]._render&&(b[h].style.pElem.parentNode!==d&&d.appendChild(b[h].style.pElem)),l.push(b[h].style);else if(a[h].ty==="gr"){if(!n)b[h]=this.createGroupElement(a[h]);else{k=b[h].it.length;for(j=0;j<k;j+=1)b[h].prevViewData[j]=b[h].it[j]}this.searchShapes(a[h].it,b[h].it,b[h].prevViewData,b[h].gr,e+1,f,g);a[h]._render&&(b[h].gr.parentNode!==d&&d.appendChild(b[h].gr))}else a[h].ty==="tr"?(n||(b[h]=this.createTransformElement(a[h],d)),j=b[h].transform,f.push(j)):a[h].ty==="sh"||a[h].ty==="rc"||a[h].ty==="el"||a[h].ty==="sr"?(n||(b[h]=this.createShapeElement(a[h],f,e)),this.setElementStyles(b[h])):a[h].ty==="tm"||a[h].ty==="rd"||a[h].ty==="ms"||a[h].ty==="pb"||a[h].ty==="zz"||a[h].ty==="op"?(!n?(k=pb.getModifier(a[h].ty),k.init(this,a[h]),b[h]=k,this.shapeModifiers.push(k)):(k=b[h],k.closed=!1),m.push(k)):a[h].ty==="rp"&&(!n?(k=pb.getModifier(a[h].ty),b[h]=k,k.init(this,a,h,b),this.shapeModifiers.push(k),g=!1):(k=b[h],k.closed=!0),m.push(k));this.addProcessedElement(a[h],h+1)}i=l.length;for(h=0;h<i;h+=1)l[h].closed=!0;i=m.length;for(h=0;h<i;h+=1)m[h].closed=!0};Y.prototype.renderInnerContent=function(){this.renderModifiers();var a,b=this.stylesList.length;for(a=0;a<b;a+=1)this.stylesList[a].reset();this.renderShape();for(a=0;a<b;a+=1)(this.stylesList[a]._mdf||this._isFirstFrame)&&(this.stylesList[a].msElem&&(this.stylesList[a].msElem.setAttribute("d",this.stylesList[a].d),this.stylesList[a].d="M0 0"+this.stylesList[a].d),this.stylesList[a].pElem.setAttribute("d",this.stylesList[a].d||"M0 0"))};Y.prototype.renderShape=function(){var a,b=this.animatedContents.length,c;for(a=0;a<b;a+=1)c=this.animatedContents[a],(this._isFirstFrame||c.element._isAnimated)&&c.data!==!0&&c.fn(c.data,c.element,this._isFirstFrame)};Y.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function Vc(a,b,c,d,e,f){this.o=a,this.sw=b,this.sc=c,this.fc=d,this.m=e,this.p=f,this._mdf={o:!0,sw:!!b,sc:!!c,fc:!!d,m:!0,p:!0}}Vc.prototype.update=function(a,b,c,d,e,f){this._mdf.o=!1;this._mdf.sw=!1;this._mdf.sc=!1;this._mdf.fc=!1;this._mdf.m=!1;this._mdf.p=!1;var g=!1;this.o!==a&&(this.o=a,this._mdf.o=!0,g=!0);this.sw!==b&&(this.sw=b,this._mdf.sw=!0,g=!0);this.sc!==c&&(this.sc=c,this._mdf.sc=!0,g=!0);this.fc!==d&&(this.fc=d,this._mdf.fc=!0,g=!0);this.m!==e&&(this.m=e,this._mdf.m=!0,g=!0);f.length&&(this.p[0]!==f[0]||this.p[1]!==f[1]||this.p[4]!==f[4]||this.p[5]!==f[5]||this.p[12]!==f[12]||this.p[13]!==f[13])&&(this.p=f,this._mdf.p=!0,g=!0);return g};function Z(a,b){this._frameId=d,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,b.d&&b.d.sid&&(b.d=a.globalData.slotManager.getProp(b.d)),this.data=b,this.elem=a,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}Z.prototype.defaultBoxWidth=[0,0];Z.prototype.copyData=function(a,b){for(var c in b)Object.prototype.hasOwnProperty.call(b,c)&&(a[c]=b[c]);return a};Z.prototype.setCurrentData=function(a){a.__complete||this.completeTextData(a),this.currentData=a,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0};Z.prototype.searchProperty=function(){return this.searchKeyframes()};Z.prototype.searchKeyframes=function(){this.kf=this.data.d.k.length>1;this.kf&&this.addEffect(this.getKeyframeValue.bind(this));return this.kf};Z.prototype.addEffect=function(a){this.effectsSequence.push(a),this.elem.addDynamicProperty(this)};Z.prototype.getValue=function(a){if((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!a)return;this.currentData.t=this.data.d.k[this.keysIndex].s.t;var b=this.currentData,c=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0;this._mdf=!1;var d,e=this.effectsSequence.length;a=a||this.data.d.k[this.keysIndex].s;for(d=0;d<e;d+=1)c!==this.keysIndex?a=this.effectsSequence[d](a,a.t):a=this.effectsSequence[d](this.currentData,a.t);b!==a&&this.setCurrentData(a);this.v=this.currentData;this.pv=this.v;this.lock=!1;this.frameId=this.elem.globalData.frameId};Z.prototype.getKeyframeValue=function(){var a=this.data.d.k,b=this.elem.comp.renderedFrame,c=0,d=a.length;while(c<=d-1){if(c===d-1||a[c+1].t>b)break;c+=1}this.keysIndex!==c&&(this.keysIndex=c);return this.data.d.k[this.keysIndex].s};Z.prototype.buildFinalText=function(a){var b=[],c=0,d=a.length,e,f,g=!1,h=!1,i="";while(c<d)g=h,h=!1,e=a.charCodeAt(c),i=a.charAt(c),ac.isCombinedCharacter(e)?g=!0:e>=55296&&e<=56319?ac.isRegionalFlag(a,c)?i=a.substr(c,14):(f=a.charCodeAt(c+1),f>=56320&&f<=57343&&(ac.isModifier(e,f)?(i=a.substr(c,2),g=!0):ac.isFlagEmoji(a.substr(c,4))?i=a.substr(c,4):i=a.substr(c,2))):e>56319?(a.charCodeAt(c+1),ac.isVariationSelector(e)&&(g=!0)):ac.isZeroWidthJoiner(e)&&(g=!0,h=!0),g?(b[b.length-1]+=i,g=!1):b.push(i),c+=i.length;return b};Z.prototype.completeTextData=function(a){a.__complete=!0;var b=this.elem.globalData.fontManager,c=this.data,d=[],e,f,g=0,h=c.m.g,i=0,j=0,k=0,l=[],m=0,n=0,o=b.getFontByName(a.f),p,q=0,r=$b(o);a.fWeight=r.weight;a.fStyle=r.style;a.finalSize=a.s;a.finalText=this.buildFinalText(a.t);r=a.finalText.length;a.finalLineHeight=a.lh;var s=a.tr/1e3*a.finalSize,t;if(a.sz){var u=!0,v=a.sz[0],w=a.sz[1],x,y;while(u){y=this.buildFinalText(a.t);x=0;m=0;r=y.length;s=a.tr/1e3*a.finalSize;var z=-1;for(e=0;e<r;e+=1)t=y[e].charCodeAt(0),f=!1,y[e]===" "?z=e:(t===13||t===3)&&(m=0,f=!0,x+=a.finalLineHeight||a.finalSize*1.2),b.chars?(p=b.getCharData(y[e],o.fStyle,o.fFamily),q=f?0:p.w*a.finalSize/100):q=b.measureText(y[e],a.f,a.finalSize),m+q>v&&y[e]!==" "?(z===-1?r+=1:e=z,x+=a.finalLineHeight||a.finalSize*1.2,y.splice(e,z===e?1:0,"\r"),z=-1,m=0):(m+=q,m+=s);x+=o.ascent*a.finalSize/100;this.canResize&&a.finalSize>this.minimumFontSize&&w<x?(a.finalSize-=1,a.finalLineHeight=a.finalSize*a.lh/a.s):(a.finalText=y,r=a.finalText.length,u=!1)}}m=-s;q=0;z=0;for(e=0;e<r;e+=1){f=!1;x=a.finalText[e];t=x.charCodeAt(0);t===13||t===3?(z=0,l.push(m),n=m>n?m:n,m=-2*s,y="",f=!0,k+=1):y=x;b.chars?(p=b.getCharData(x,o.fStyle,b.getFontByName(a.f).fFamily),q=f?0:p.w*a.finalSize/100):q=b.measureText(y,a.f,a.finalSize);x===" "?z+=q+s:(m+=q+s+z,z=0);d.push({l:q,an:q,add:i,n:f,anIndexes:[],val:y,line:k,animatorJustifyOffset:0});if(h==2){i+=q;if(y===""||y===" "||e===r-1){(y===""||y===" ")&&(i-=q);while(j<=e)d[j].an=i,d[j].ind=g,d[j].extra=q,j+=1;g+=1;i=0}}else if(h==3){i+=q;if(y===""||e===r-1){y===""&&(i-=q);while(j<=e)d[j].an=i,d[j].ind=g,d[j].extra=q,j+=1;i=0;g+=1}}else d[g].ind=g,d[g].extra=0,g+=1}a.l=d;n=m>n?m:n;l.push(m);if(a.sz)a.boxWidth=a.sz[0],a.justifyOffset=0;else{a.boxWidth=n;switch(a.j){case 1:a.justifyOffset=-a.boxWidth;break;case 2:a.justifyOffset=-a.boxWidth/2;break;default:a.justifyOffset=0}}a.lineWidths=l;w=c.a;v=w.length;u=[];for(t=0;t<v;t+=1){p=w[t];p.a.sc&&(a.strokeColorAnim=!0);p.a.sw&&(a.strokeWidthAnim=!0);(p.a.fc||p.a.fh||p.a.fs||p.a.fb)&&(a.fillColorAnim=!0);x=0;y=p.s.b;for(e=0;e<r;e+=1)h=d[e],h.anIndexes[t]=x,(y==1&&h.val!==""||y==2&&h.val!==""&&h.val!==" "||y==3&&(h.n||h.val==" "||e==r-1)||y==4&&(h.n||e==r-1))&&(p.s.rn===1&&u.push(x),x+=1);c.a[t].s.totalChars=x;q=-1;var A;if(p.s.rn===1)for(e=0;e<r;e+=1)h=d[e],q!=h.anIndexes[t]&&(q=h.anIndexes[t],A=u.splice(Math.floor(Math.random()*u.length),1)[0]),h.anIndexes[t]=A}a.yOffset=a.finalLineHeight||a.finalSize*1.2;a.ls=a.ls||0;a.ascent=o.ascent*a.finalSize/100};Z.prototype.updateDocumentData=function(a,b){b=b===void 0?this.keysIndex:b;var c=this.copyData({},this.data.d.k[b].s);c=this.copyData(c,a);this.data.d.k[b].s=c;this.recalculate(b);this.setCurrentData(c);this.elem.addDynamicProperty(this)};Z.prototype.recalculate=function(a){a=this.data.d.k[a].s;a.__complete=!1;this.keysIndex=0;this._isFirstFrame=!0;this.getValue(a)};Z.prototype.canResizeFont=function(a){this.canResize=a,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};Z.prototype.setMinimumFontSize=function(a){this.minimumFontSize=Math.floor(a)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var Wc=function(){var a=Math.max,b=Math.min,c=Math.floor;function d(a,b){this._currentTextLength=-1,this.k=!1,this.data=b,this.elem=a,this.comp=a.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(a),this.s=Q.getProp(a,b.s||{k:0},0,0,this),"e"in b?this.e=Q.getProp(a,b.e,0,0,this):this.e={v:100},this.o=Q.getProp(a,b.o||{k:0},0,0,this),this.xe=Q.getProp(a,b.xe||{k:0},0,0,this),this.ne=Q.getProp(a,b.ne||{k:0},0,0,this),this.sm=Q.getProp(a,b.sm||{k:100},0,0,this),this.a=Q.getProp(a,b.a,0,.01,this),this.dynamicProperties.length||this.getValue()}d.prototype={getMult:function(d){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var e=0,f=0,g=1,h=1;this.ne.v>0?e=this.ne.v/100:f=-this.ne.v/100;this.xe.v>0?g=1-this.xe.v/100:h=1+this.xe.v/100;e=za.getBezierEasing(e,f,g,h).get;f=0;g=this.finalS;h=this.finalE;var i=this.data.sh;if(i===2)h===g?f=d>=h?1:0:f=a(0,b(.5/(h-g)+(d-g)/(h-g),1)),f=e(f);else if(i===3)h===g?f=d>=h?0:1:f=1-a(0,b(.5/(h-g)+(d-g)/(h-g),1)),f=e(f);else if(i===4)h===g?f=0:(f=a(0,b(.5/(h-g)+(d-g)/(h-g),1)),f<.5?f*=2:f=1-2*(f-.5)),f=e(f);else if(i===5){if(h===g)f=0;else{var j=h-g;d=b(a(0,d+.5-g),h-g);var k=-j/2+d;j=j/2;f=Math.sqrt(1-k*k/(j*j))}f=e(f)}else i===6?(h===g?f=0:(d=b(a(0,d+.5-g),h-g),f=(1+Math.cos(Math.PI+Math.PI*2*d/(h-g)))/2),f=e(f)):(d>=c(g)&&(d-g<0?f=a(0,b(b(h,1)-(g-d),1)):f=a(0,b(h-d,1))),f=e(f));if(this.sm.v!==100){k=this.sm.v*.01;k===0&&(k=1e-8);j=.5-k*.5;f<j?f=0:(f=(f-j)/k,f>1&&(f=1))}return f*this.a.v},getValue:function(a){this.iterateDynamicProperties();this._mdf=a||this._mdf;this._currentTextLength=this.elem.textProperty.currentData.l.length||0;a&&this.data.r===2&&(this.e.v=this._currentTextLength);a=this.data.r===2?1:100/this.data.totalChars;var b=this.o.v/a,c=this.s.v/a+b;a=this.e.v/a+b;if(c>a){b=c;c=a;a=b}this.finalS=c;this.finalE=a}};l([R],d);function e(a,b,c){return new d(a,b,c)}return{getTextSelectorProp:e}}();function Xc(a,b,c){var d={propType:!1},e=Q.getProp,f=b.a;this.a={r:f.r?e(a,f.r,0,D,c):d,rx:f.rx?e(a,f.rx,0,D,c):d,ry:f.ry?e(a,f.ry,0,D,c):d,sk:f.sk?e(a,f.sk,0,D,c):d,sa:f.sa?e(a,f.sa,0,D,c):d,s:f.s?e(a,f.s,1,.01,c):d,a:f.a?e(a,f.a,1,0,c):d,o:f.o?e(a,f.o,0,.01,c):d,p:f.p?e(a,f.p,1,0,c):d,sw:f.sw?e(a,f.sw,0,0,c):d,sc:f.sc?e(a,f.sc,1,0,c):d,fc:f.fc?e(a,f.fc,1,0,c):d,fh:f.fh?e(a,f.fh,0,0,c):d,fs:f.fs?e(a,f.fs,0,.01,c):d,fb:f.fb?e(a,f.fb,0,.01,c):d,t:f.t?e(a,f.t,0,0,c):d};this.s=Wc.getTextSelectorProp(a,b.s,c);this.s.t=b.s.t}function Yc(a,b,c){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=a,this._renderType=b,this._elem=c,this._animatorsData=p(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(c)}Yc.prototype.searchProperties=function(){var a,b=this._textData.a.length,c,d=Q.getProp;for(a=0;a<b;a+=1)c=this._textData.a[a],this._animatorsData[a]=new Xc(this._elem,c,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:d(this._elem,this._textData.p.a,0,0,this),f:d(this._elem,this._textData.p.f,0,0,this),l:d(this._elem,this._textData.p.l,0,0,this),r:d(this._elem,this._textData.p.r,0,0,this),p:d(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1;this._moreOptions.alignment=d(this._elem,this._textData.m.a,1,0,this)};Yc.prototype.getMeasures=function(a,b){this.lettersChangedFlag=b;if(!this._mdf&&!this._isFirstFrame&&!b&&(!this._hasMaskedPath||!this._pathData.m._mdf))return;this._isFirstFrame=!1;b=this._moreOptions.alignment.v;var c=this._animatorsData,d=this._textData,e=this.mHelper,f=this._renderType,g=this.renderedLetters.length,h,i,j=a.l,k,l,m,n,o,p,q,r,s,t,u,v;if(this._hasMaskedPath){v=this._pathData.m;if(!this._pathData.n||this._pathData._mdf){var w=v.v;this._pathData.r.v&&(w=w.reverse());k={tLength:0,segments:[]};i=w._length-1;var x;u=0;for(h=0;h<i;h+=1)x=Fa.buildBezierData(w.v[h],w.v[h+1],[w.o[h][0]-w.v[h][0],w.o[h][1]-w.v[h][1]],[w.i[h+1][0]-w.v[h+1][0],w.i[h+1][1]-w.v[h+1][1]]),k.tLength+=x.segmentLength,k.segments.push(x),u+=x.segmentLength;h=i;v.v.c&&(x=Fa.buildBezierData(w.v[h],w.v[0],[w.o[h][0]-w.v[h][0],w.o[h][1]-w.v[h][1]],[w.i[0][0]-w.v[0][0],w.i[0][1]-w.v[0][1]]),k.tLength+=x.segmentLength,k.segments.push(x),u+=x.segmentLength);this._pathData.pi=k}k=this._pathData.pi;l=this._pathData.f.v;p=0;o=1;n=0;s=k.segments;if(l<0&&v.v.c){k.tLength<Math.abs(l)&&(l=-Math.abs(l)%k.tLength);p=s.length-1;r=s[p].points;o=r.length-1;while(l<0)l+=r[o].partialLength,o-=1,o<0&&(p-=1,r=s[p].points,o=r.length-1)}r=s[p].points;q=r[o-1];m=r[o];t=m.partialLength}i=j.length;w=0;x=0;k=a.finalSize*1.2*.714;var y=!0,z,A,B,C;C=c.length;var D,E=-1,F,G,aa=l,ba=p,ca=o,da=-1,ea,fa,H,ga,ha,la,ma="",na=this.defaultPropsArray;if(a.j===2||a.j===1){var I=0,J=0,K=a.j===2?-.5:-1,L=0,oa=!0;for(h=0;h<i;h+=1)if(j[h].n){I&&(I+=J);while(L<h)j[L].animatorJustifyOffset=I,L+=1;I=0;oa=!0}else{for(B=0;B<C;B+=1)z=c[B].a,z.t.propType&&(oa&&a.j===2&&(J+=z.t.v*K),A=c[B].s,D=A.getMult(j[h].anIndexes[B],d.a[B].s.totalChars),D.length?I+=z.t.v*D[0]*K:I+=z.t.v*D*K);oa=!1}I&&(I+=J);while(L<h)j[L].animatorJustifyOffset=I,L+=1}for(h=0;h<i;h+=1){e.reset();oa=1;if(j[h].n)w=0,x+=a.yOffset,x+=y?1:0,l=aa,y=!1,this._hasMaskedPath&&(p=ba,o=ca,r=s[p].points,q=r[o-1],m=r[o],t=m.partialLength,n=0),ma="",la="",ga="",K="",na=this.defaultPropsArray;else{if(this._hasMaskedPath){if(da!==j[h].line){switch(a.j){case 1:l+=u-a.lineWidths[j[h].line];break;case 2:l+=(u-a.lineWidths[j[h].line])/2;break;default:break}da=j[h].line}E!==j[h].ind&&(j[E]&&(l+=j[E].extra),l+=j[h].an/2,E=j[h].ind);l+=b[0]*j[h].an*.005;J=0;for(B=0;B<C;B+=1)z=c[B].a,z.p.propType&&(A=c[B].s,D=A.getMult(j[h].anIndexes[B],d.a[B].s.totalChars),D.length?J+=z.p.v[0]*D[0]:J+=z.p.v[0]*D),z.a.propType&&(A=c[B].s,D=A.getMult(j[h].anIndexes[B],d.a[B].s.totalChars),D.length?J+=z.a.v[0]*D[0]:J+=z.a.v[0]*D);I=!0;this._pathData.a.v&&(l=j[0].an*.5+(u-this._pathData.f.v-j[0].an*.5-j[j.length-1].an*.5)*E/(i-1),l+=this._pathData.f.v);while(I)n+t>=l+J||!r?(L=(l+J-n)/m.partialLength,F=q.point[0]+(m.point[0]-q.point[0])*L,G=q.point[1]+(m.point[1]-q.point[1])*L,e.translate(-b[0]*j[h].an*.005,-(b[1]*k)*.01),I=!1):r&&(n+=m.partialLength,o+=1,o>=r.length&&(o=0,p+=1,!s[p]?v.v.c?(o=0,p=0,r=s[p].points):(n-=m.partialLength,r=null):r=s[p].points),r&&(q=m,m=r[o],t=m.partialLength));L=j[h].an/2-j[h].add;e.translate(-L,0,0)}else L=j[h].an/2-j[h].add,e.translate(-L,0,0),e.translate(-b[0]*j[h].an*.005,-b[1]*k*.01,0);for(B=0;B<C;B+=1)z=c[B].a,z.t.propType&&(A=c[B].s,D=A.getMult(j[h].anIndexes[B],d.a[B].s.totalChars),(w!==0||a.j!==0)&&(this._hasMaskedPath?D.length?l+=z.t.v*D[0]:l+=z.t.v*D:D.length?w+=z.t.v*D[0]:w+=z.t.v*D));a.strokeWidthAnim&&(fa=a.sw||0);a.strokeColorAnim&&(a.sc?ea=[a.sc[0],a.sc[1],a.sc[2]]:ea=[0,0,0]);a.fillColorAnim&&a.fc&&(H=[a.fc[0],a.fc[1],a.fc[2]]);for(B=0;B<C;B+=1)z=c[B].a,z.a.propType&&(A=c[B].s,D=A.getMult(j[h].anIndexes[B],d.a[B].s.totalChars),D.length?e.translate(-z.a.v[0]*D[0],-z.a.v[1]*D[1],z.a.v[2]*D[2]):e.translate(-z.a.v[0]*D,-z.a.v[1]*D,z.a.v[2]*D));for(B=0;B<C;B+=1)z=c[B].a,z.s.propType&&(A=c[B].s,D=A.getMult(j[h].anIndexes[B],d.a[B].s.totalChars),D.length?e.scale(1+(z.s.v[0]-1)*D[0],1+(z.s.v[1]-1)*D[1],1):e.scale(1+(z.s.v[0]-1)*D,1+(z.s.v[1]-1)*D,1));for(B=0;B<C;B+=1){z=c[B].a;A=c[B].s;D=A.getMult(j[h].anIndexes[B],d.a[B].s.totalChars);z.sk.propType&&(D.length?e.skewFromAxis(-z.sk.v*D[0],z.sa.v*D[1]):e.skewFromAxis(-z.sk.v*D,z.sa.v*D));z.r.propType&&(D.length?e.rotateZ(-z.r.v*D[2]):e.rotateZ(-z.r.v*D));z.ry.propType&&(D.length?e.rotateY(z.ry.v*D[1]):e.rotateY(z.ry.v*D));z.rx.propType&&(D.length?e.rotateX(z.rx.v*D[0]):e.rotateX(z.rx.v*D));z.o.propType&&(D.length?oa+=(z.o.v*D[0]-oa)*D[0]:oa+=(z.o.v*D-oa)*D);a.strokeWidthAnim&&z.sw.propType&&(D.length?fa+=z.sw.v*D[0]:fa+=z.sw.v*D);if(a.strokeColorAnim&&z.sc.propType)for(J=0;J<3;J+=1)D.length?ea[J]+=(z.sc.v[J]-ea[J])*D[0]:ea[J]+=(z.sc.v[J]-ea[J])*D;if(a.fillColorAnim&&a.fc){if(z.fc.propType)for(J=0;J<3;J+=1)D.length?H[J]+=(z.fc.v[J]-H[J])*D[0]:H[J]+=(z.fc.v[J]-H[J])*D;z.fh.propType&&(D.length?H=ka(H,z.fh.v*D[0]):H=ka(H,z.fh.v*D));z.fs.propType&&(D.length?H=ia(H,z.fs.v*D[0]):H=ia(H,z.fs.v*D));z.fb.propType&&(D.length?H=ja(H,z.fb.v*D[0]):H=ja(H,z.fb.v*D))}}for(B=0;B<C;B+=1)z=c[B].a,z.p.propType&&(A=c[B].s,D=A.getMult(j[h].anIndexes[B],d.a[B].s.totalChars),this._hasMaskedPath?D.length?e.translate(0,z.p.v[1]*D[0],-z.p.v[2]*D[1]):e.translate(0,z.p.v[1]*D,-z.p.v[2]*D):D.length?e.translate(z.p.v[0]*D[0],z.p.v[1]*D[1],-z.p.v[2]*D[2]):e.translate(z.p.v[0]*D,z.p.v[1]*D,-z.p.v[2]*D));a.strokeWidthAnim&&(ga=fa<0?0:fa);a.strokeColorAnim&&(ha="rgb("+Math.round(ea[0]*255)+","+Math.round(ea[1]*255)+","+Math.round(ea[2]*255)+")");a.fillColorAnim&&a.fc&&(la="rgb("+Math.round(H[0]*255)+","+Math.round(H[1]*255)+","+Math.round(H[2]*255)+")");if(this._hasMaskedPath){e.translate(0,-a.ls);e.translate(0,b[1]*k*.01+x,0);if(this._pathData.p.v){I=(m.point[1]-q.point[1])/(m.point[0]-q.point[0]);J=Math.atan(I)*180/Math.PI;m.point[0]<q.point[0]&&(J+=180);e.rotate(-J*Math.PI/180)}e.translate(F,G,0);l-=b[0]*j[h].an*.005;j[h+1]&&E!==j[h+1].ind&&(l+=j[h].an/2,l+=a.tr*.001*a.finalSize)}else{e.translate(w,x,0);a.ps&&e.translate(a.ps[0],a.ps[1]+a.ascent,0);switch(a.j){case 1:e.translate(j[h].animatorJustifyOffset+a.justifyOffset+(a.boxWidth-a.lineWidths[j[h].line]),0,0);break;case 2:e.translate(j[h].animatorJustifyOffset+a.justifyOffset+(a.boxWidth-a.lineWidths[j[h].line])/2,0,0);break;default:break}e.translate(0,-a.ls);e.translate(L,0,0);e.translate(b[0]*j[h].an*.005,b[1]*k*.01,0);w+=j[h].l+a.tr*.001*a.finalSize}f==="html"?ma=e.toCSS():f==="svg"?ma=e.to2dCSS():na=[e.props[0],e.props[1],e.props[2],e.props[3],e.props[4],e.props[5],e.props[6],e.props[7],e.props[8],e.props[9],e.props[10],e.props[11],e.props[12],e.props[13],e.props[14],e.props[15]];K=oa}g<=h?(A=new Vc(K,ga,ha,la,ma,na),this.renderedLetters.push(A),g+=1,this.lettersChangedFlag=!0):(A=this.renderedLetters[h],this.lettersChangedFlag=A.update(K,ga,ha,la,ma,na)||this.lettersChangedFlag)}};Yc.prototype.getValue=function(){if(this._elem.globalData.frameId===this._frameId)return;this._frameId=this._elem.globalData.frameId;this.iterateDynamicProperties()};Yc.prototype.mHelper=new T();Yc.prototype.defaultPropsArray=[];l([R],Yc);function Zc(){}Zc.prototype.initElement=function(a,b,c){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(a,b,c),this.textProperty=new Z(this,a.t,this.dynamicProperties),this.textAnimator=new Yc(a.t,this.renderType,this),this.initTransform(a,b,c),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)};Zc.prototype.prepareFrame=function(a){this._mdf=!1,this.prepareRenderableFrame(a),this.prepareProperties(a,this.isInRange)};Zc.prototype.createPathShape=function(a,b){var c,d=b.length,e,f="";for(c=0;c<d;c+=1)b[c].ty==="sh"&&(e=b[c].ks.k,f+=Tc(e,e.i.length,!0,a));return f};Zc.prototype.updateDocumentData=function(a,b){this.textProperty.updateDocumentData(a,b)};Zc.prototype.canResizeFont=function(a){this.textProperty.canResizeFont(a)};Zc.prototype.setMinimumFontSize=function(a){this.textProperty.setMinimumFontSize(a)};Zc.prototype.applyTextPropertiesToMatrix=function(a,b,c,d,e){a.ps&&b.translate(a.ps[0],a.ps[1]+a.ascent,0);b.translate(0,-a.ls,0);switch(a.j){case 1:b.translate(a.justifyOffset+(a.boxWidth-a.lineWidths[c]),0,0);break;case 2:b.translate(a.justifyOffset+(a.boxWidth-a.lineWidths[c])/2,0,0);break;default:break}b.translate(d,e,0)};Zc.prototype.buildColor=function(a){return"rgb("+Math.round(a[0]*255)+","+Math.round(a[1]*255)+","+Math.round(a[2]*255)+")"};Zc.prototype.emptyProp=new Vc();Zc.prototype.destroy=function(){};Zc.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var $c={shapes:[]};function ad(a,b,c){this.textSpans=[],this.renderType="svg",this.initElement(a,b,c)}l([pc,tc,Ac,Bc,qc,Cc,Zc],ad);ad.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=M("text"))};ad.prototype.buildTextContents=function(a){var b=0,c=a.length,d=[],e="";while(b<c)a[b]===String.fromCharCode(13)||a[b]===String.fromCharCode(3)?(d.push(e),e=""):e+=a[b],b+=1;d.push(e);return d};ad.prototype.buildShapeData=function(a,b){if(a.shapes&&a.shapes.length){var c=a.shapes[0];if(c.it){c=c.it[c.it.length-1];c.s&&(c.s.k[0]=b,c.s.k[1]=b)}}return a};ad.prototype.buildNewText=function(){this.addDynamicProperty(this);var a,b,c=this.textProperty.currentData;this.renderedLetters=p(c?c.l.length:0);c.fc?this.layerElement.setAttribute("fill",this.buildColor(c.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)");c.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(c.sc)),this.layerElement.setAttribute("stroke-width",c.sw));this.layerElement.setAttribute("font-size",c.finalSize);var d=this.globalData.fontManager.getFontByName(c.f);if(d.fClass)this.layerElement.setAttribute("class",d.fClass);else{this.layerElement.setAttribute("font-family",d.fFamily);var e=c.fWeight,f=c.fStyle;this.layerElement.setAttribute("font-style",f);this.layerElement.setAttribute("font-weight",e)}this.layerElement.setAttribute("aria-label",c.t);f=c.l||[];e=!!this.globalData.fontManager.chars;b=f.length;var g,h=this.mHelper,i="",j=this.data.singleShape,k=0,l=0,m=!0,n=c.tr*.001*c.finalSize;if(j&&!e&&!c.sz){var o=this.textContainer,q="start";switch(c.j){case 1:q="end";break;case 2:q="middle";break;default:q="start";break}o.setAttribute("text-anchor",q);o.setAttribute("letter-spacing",n);q=this.buildTextContents(c.finalText);b=q.length;l=c.ps?c.ps[1]+c.ascent:0;for(a=0;a<b;a+=1)g=this.textSpans[a].span||M("tspan"),g.textContent=q[a],g.setAttribute("x",0),g.setAttribute("y",l),g.style.display="inherit",o.appendChild(g),this.textSpans[a]||(this.textSpans[a]={span:null,glyph:null}),this.textSpans[a].span=g,l+=c.finalLineHeight;this.layerElement.appendChild(o)}else{q=this.textSpans.length;for(a=0;a<b;a+=1){this.textSpans[a]||(this.textSpans[a]={span:null,childSpan:null,glyph:null});if(!e||!j||a===0){g=q>a?this.textSpans[a].span:M(e?"g":"text");if(q<=a){g.setAttribute("stroke-linecap","butt");g.setAttribute("stroke-linejoin","round");g.setAttribute("stroke-miterlimit","4");this.textSpans[a].span=g;if(e){o=M("g");g.appendChild(o);this.textSpans[a].childSpan=o}this.textSpans[a].span=g;this.layerElement.appendChild(g)}g.style.display="inherit"}h.reset();j&&(f[a].n&&(k=-n,l+=c.yOffset,l+=m?1:0,m=!1),this.applyTextPropertiesToMatrix(c,h,f[a].line,k,l),k+=f[a].l||0,k+=n);if(e){o=this.globalData.fontManager.getCharData(c.finalText[a],d.fStyle,this.globalData.fontManager.getFontByName(c.f).fFamily);var r;if(o.t===1)r=new ed(o.data,this.globalData,this);else{var s=$c;o.data&&o.data.shapes&&(s=this.buildShapeData(o.data,c.finalSize));r=new Y(s,this.globalData,this)}if(this.textSpans[a].glyph){s=this.textSpans[a].glyph;this.textSpans[a].childSpan.removeChild(s.layerElement);s.destroy()}this.textSpans[a].glyph=r;r._debug=!0;r.prepareFrame(0);r.renderFrame();this.textSpans[a].childSpan.appendChild(r.layerElement);o.t===1&&this.textSpans[a].childSpan.setAttribute("transform","scale("+c.finalSize/100+","+c.finalSize/100+")")}else j&&g.setAttribute("transform","translate("+h.props[12]+","+h.props[13]+")"),g.textContent=f[a].val,g.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}j&&g&&g.setAttribute("d",i)}while(a<this.textSpans.length)this.textSpans[a].span.style.display="none",a+=1;this._sizeChanged=!0};ad.prototype.sourceRectAtTime=function(){this.prepareFrame(this.comp.renderedFrame-this.data.st);this.renderInnerContent();if(this._sizeChanged){this._sizeChanged=!1;var a=this.layerElement.getBBox();this.bbox={top:a.y,left:a.x,width:a.width,height:a.height}}return this.bbox};ad.prototype.getValue=function(){var a,b=this.textSpans.length,c;this.renderedFrame=this.comp.renderedFrame;for(a=0;a<b;a+=1)c=this.textSpans[a].glyph,c&&(c.prepareFrame(this.comp.renderedFrame-this.data.st),c._mdf&&(this._mdf=!0))};ad.prototype.renderInnerContent=function(){this.validateText();if(!this.data.singleShape||this._mdf){this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);if(this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){this._sizeChanged=!0;var a,b,c=this.textAnimator.renderedLetters,d=this.textProperty.currentData.l;b=d.length;var e,f,g;for(a=0;a<b;a+=1)d[a].n||(e=c[a],f=this.textSpans[a].span,g=this.textSpans[a].glyph,g&&g.renderFrame(),e._mdf.m&&f.setAttribute("transform",e.m),e._mdf.o&&f.setAttribute("opacity",e.o),e._mdf.sw&&f.setAttribute("stroke-width",e.sw),e._mdf.sc&&f.setAttribute("stroke",e.sc),e._mdf.fc&&f.setAttribute("fill",e.fc))}}};function bd(a,b,c){this.initElement(a,b,c)}l([Dc],bd);bd.prototype.createContent=function(){var a=M("rect");a.setAttribute("width",this.data.sw);a.setAttribute("height",this.data.sh);a.setAttribute("fill",this.data.sc);this.layerElement.appendChild(a)};function cd(a,b,c){this.initFrame(),this.initBaseData(a,b,c),this.initFrame(),this.initTransform(a,b,c),this.initHierarchy()}cd.prototype.prepareFrame=function(a){this.prepareProperties(a,!0)};cd.prototype.renderFrame=function(){};cd.prototype.getBaseElement=function(){return null};cd.prototype.destroy=function(){};cd.prototype.sourceRectAtTime=function(){};cd.prototype.hide=function(){};l([pc,tc,Bc,qc],cd);function $(){}l([X],$);$.prototype.createNull=function(a){return new cd(a,this.globalData,this)};$.prototype.createShape=function(a){return new Y(a,this.globalData,this)};$.prototype.createText=function(a){return new ad(a,this.globalData,this)};$.prototype.createImage=function(a){return new Dc(a,this.globalData,this)};$.prototype.createSolid=function(a){return new bd(a,this.globalData,this)};$.prototype.configAnimation=function(a){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg");this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink");this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+a.w+" "+a.h);this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",a.w),this.svgElement.setAttribute("height",a.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility);this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width);this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height);this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className);this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id);this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable);this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio);this.animationItem.wrapper.appendChild(this.svgElement);var b=this.globalData.defs;this.setupGlobalData(a,b);this.globalData.progressiveLoad=this.renderConfig.progressiveLoad;this.data=a;var c=M("clipPath"),d=M("rect");d.setAttribute("width",a.w);d.setAttribute("height",a.h);d.setAttribute("x",0);d.setAttribute("y",0);var e=H();c.setAttribute("id",e);c.appendChild(d);this.layerElement.setAttribute("clip-path","url("+j()+"#"+e+")");b.appendChild(c);this.layers=a.layers;this.elements=p(a.layers.length)};$.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText="");this.layerElement=null;this.globalData.defs=null;var a,b=this.layers?this.layers.length:0;for(a=0;a<b;a+=1)this.elements[a]&&this.elements[a].destroy&&this.elements[a].destroy();this.elements.length=0;this.destroyed=!0;this.animationItem=null};$.prototype.updateContainerSize=function(){};$.prototype.findIndexByInd=function(a){var b,c=this.layers.length;for(b=0;b<c;b+=1)if(this.layers[b].ind===a)return b;return-1};$.prototype.buildItem=function(a){var b=this.elements;if(b[a]||this.layers[a].ty===99)return;b[a]=!0;var c=this.createItem(this.layers[a]);b[a]=c;I()&&(this.layers[a].ty===0&&this.globalData.projectInterface.registerComposition(c),c.initExpressions());this.appendElementInPos(c,a);if(this.layers[a].tt){var d="tp"in this.layers[a]?this.findIndexByInd(this.layers[a].tp):a-1;if(d===-1)return;if(!this.elements[d]||this.elements[d]===!0)this.buildItem(d),this.addPendingElement(c);else{b=b[d];d=b.getMatte(this.layers[a].tt);c.setMatte(d)}}};$.prototype.checkPendingElements=function(){while(this.pendingElements.length){var a=this.pendingElements.pop();a.checkParenting();if(a.data.tt){var b=0,c=this.elements.length;while(b<c){if(this.elements[b]===a){var d="tp"in a.data?this.findIndexByInd(a.data.tp):b-1;d=this.elements[d];d=d.getMatte(this.layers[b].tt);a.setMatte(d);break}b+=1}}}};$.prototype.renderFrame=function(a){if(this.renderedFrame===a||this.destroyed)return;a===null?a=this.renderedFrame:this.renderedFrame=a;this.globalData.frameNum=a;this.globalData.frameId+=1;this.globalData.projectInterface.currentFrame=a;this.globalData._mdf=!1;var b,c=this.layers.length;this.completeLayers||this.checkLayers(a);for(b=c-1;b>=0;b-=1)(this.completeLayers||this.elements[b])&&this.elements[b].prepareFrame(a-this.layers[b].st);if(this.globalData._mdf)for(b=0;b<c;b+=1)(this.completeLayers||this.elements[b])&&this.elements[b].renderFrame()};$.prototype.appendElementInPos=function(a,b){a=a.getBaseElement();if(!a)return;var c=0,d;while(c<b)this.elements[c]&&this.elements[c]!==!0&&this.elements[c].getBaseElement()&&(d=this.elements[c].getBaseElement()),c+=1;d?this.layerElement.insertBefore(a,d):this.layerElement.appendChild(a)};$.prototype.hide=function(){this.layerElement.style.display="none"};$.prototype.show=function(){this.layerElement.style.display="block"};function dd(){}l([pc,tc,Bc,qc,Cc],dd);dd.prototype.initElement=function(a,b,c){this.initFrame(),this.initBaseData(a,b,c),this.initTransform(a,b,c),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!b.progressiveLoad)&&this.buildAllItems(),this.hide()};dd.prototype.prepareFrame=function(a){this._mdf=!1;this.prepareRenderableFrame(a);this.prepareProperties(a,this.isInRange);if(!this.isInRange&&!this.data.xt)return;if(!this.tm._placeholder){var b=this.tm.v;b===this.data.op&&(b=this.data.op-1);this.renderedFrame=b}else this.renderedFrame=a/this.data.sr;b=this.elements.length;this.completeLayers||this.checkLayers(this.renderedFrame);for(a=b-1;a>=0;a-=1)(this.completeLayers||this.elements[a])&&(this.elements[a].prepareFrame(this.renderedFrame-this.layers[a].st),this.elements[a]._mdf&&(this._mdf=!0))};dd.prototype.renderInnerContent=function(){var a,b=this.layers.length;for(a=0;a<b;a+=1)(this.completeLayers||this.elements[a])&&this.elements[a].renderFrame()};dd.prototype.setElements=function(a){this.elements=a};dd.prototype.getElements=function(){return this.elements};dd.prototype.destroyElements=function(){var a,b=this.layers.length;for(a=0;a<b;a+=1)this.elements[a]&&this.elements[a].destroy()};dd.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function ed(a,b,c){this.layers=a.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?p(this.layers.length):[],this.initElement(a,b,c),this.tm=a.tm?Q.getProp(this,a.tm,0,b.frameRate,this):{_placeholder:!0}}l([$,dd,Ac],ed);ed.prototype.createComp=function(a){return new ed(a,this.globalData,this)};function fd(a,b){this.animationItem=a;this.layers=null;this.renderedFrame=-1;this.svgElement=M("svg");a="";if(b&&b.title){var c=M("title"),d=H();c.setAttribute("id",d);c.textContent=b.title;this.svgElement.appendChild(c);a+=d}if(b&&b.description){c=M("desc");d=H();c.setAttribute("id",d);c.textContent=b.description;this.svgElement.appendChild(c);a+=" "+d}a&&this.svgElement.setAttribute("aria-labelledby",a);c=M("defs");this.svgElement.appendChild(c);d=M("g");this.svgElement.appendChild(d);this.layerElement=d;this.renderConfig={preserveAspectRatio:b&&b.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:b&&b.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:b&&b.contentVisibility||"visible",progressiveLoad:b&&b.progressiveLoad||!1,hideOnTransparent:!(b&&b.hideOnTransparent===!1),viewBoxOnly:b&&b.viewBoxOnly||!1,viewBoxSize:b&&b.viewBoxSize||!1,className:b&&b.className||"",id:b&&b.id||"",focusable:b&&b.focusable,filterSize:{width:b&&b.filterSize&&b.filterSize.width||"100%",height:b&&b.filterSize&&b.filterSize.height||"100%",x:b&&b.filterSize&&b.filterSize.x||"0%",y:b&&b.filterSize&&b.filterSize.y||"0%"},width:b&&b.width,height:b&&b.height,runExpressions:!b||b.runExpressions===void 0||b.runExpressions};this.globalData={_mdf:!1,frameNum:-1,defs:c,renderConfig:this.renderConfig};this.elements=[];this.pendingElements=[];this.destroyed=!1;this.rendererType="svg"}l([$],fd);fd.prototype.createComp=function(a){return new ed(a,this.globalData,this)};va("svg",fd);pb.registerModifier("tm",qb);pb.registerModifier("pb",rb);pb.registerModifier("rp",tb);pb.registerModifier("rd",ub);pb.registerModifier("zz",Mb);pb.registerModifier("op",Zb);return N})}),null); __d("WAWebCRUDOperationsACSTokens",["WAWebSchemaACSTokens","asyncToGeneratorRuntime"],(function(a,b,c,d,e,f,g){"use strict";function h(a,b){b===void 0&&(b=d("WAWebSchemaACSTokens").getACSTokensTable());return b.createOrReplace(a)}function a(a,b){var c=a+"-default";return h(babelHelpers["extends"]({project:a},b,{tokenName:c}))}function c(a,b){b=b.map(function(b,c){return babelHelpers["extends"]({},b,{project:a,tokenName:a+"-"+c})});return d("WAWebSchemaACSTokens").getACSTokensTable().bulkCreateOrReplace(b)}function i(a,b){b===void 0&&(b=d("WAWebSchemaACSTokens").getACSTokensTable());return b.anyOf(["project"],[a])}function e(a,b){return j.apply(this,arguments)}function j(){j=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b){b===void 0&&(b=d("WAWebSchemaACSTokens").getACSTokensTable());a=(yield i(a,b));return a.length>0?a[0]:null});return j.apply(this,arguments)}function f(a){return d("WAWebSchemaACSTokens").getACSTokensTable().get(a)}function k(a,b){b===void 0&&(b=d("WAWebSchemaACSTokens").getACSTokensTable());return b.remove(a)}function l(a,b){return m.apply(this,arguments)}function m(){m=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b){a=(yield i(a,b));yield b.bulkRemove(a.map(function(a){return a.tokenName}))});return m.apply(this,arguments)}g.upsertACSToken=h;g.storeACSTokenForProject=a;g.storeACSTokensForProject=c;g.getACSTokensByProject=i;g.getACSTokenByProject=e;g.getACSTokenByName=f;g.deleteACSTokenByName=k;g.deleteAllACSTokensByProject=l}),98); __d("WAWebFetchACSTokens",["WAPromiseRetryLoop","WASmaxPrivatestatsSignCredentialRPC","asyncToGeneratorRuntime"],(function(a,b,c,d,e,f,g){"use strict";var h=3;function i(a,b){return j.apply(this,arguments)}function j(){j=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b){return d("WASmaxPrivatestatsSignCredentialRPC").sendSignCredentialRPC({projectNameElementValue:a,blindedCredentialElementValue:b})});return j.apply(this,arguments)}function a(a,b){return k.apply(this,arguments)}function k(){k=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,c){var e=1,f=function(){var d=b("asyncToGeneratorRuntime").asyncToGenerator(function*(b){var d=(yield i(a,c));switch(d.name){case"SignCredentialResponseErrorNoRetry":return b({result:null});case"SignCredentialResponseErrorRetry":e+=1;if(e>h)return b({result:null});return;default:d.name;return b({result:d.value})}});return function(a){return d.apply(this,arguments)}}();f=new(d("WAPromiseRetryLoop").PromiseRetryLoop)({name:"issueACSTokenForProject-"+a,timer:{algo:{type:"exponential",first:250},max:1e3},code:f});f.start();return f.promise()});return k.apply(this,arguments)}g.fetchACSTokenForProject=i;g.fetchACSTokenForProjectWithRetry=a}),98); __d("WAWebACSTokenConfig",["WATimeUtils","keyMirror"],(function(a,b,c,d,e,f,g){"use strict";var h={WA_StatusMusic:{getMaxRedeemCount:function(){return 50},getMaxExpirySeconds:function(){return d("WATimeUtils").DAY_SECONDS}},WA_StatusMusicReporting:{getMaxRedeemCount:function(){return 50},getMaxExpirySeconds:function(){return d("WATimeUtils").DAY_SECONDS}}};function a(a){return{maxRedeemCount:h[a].getMaxRedeemCount(),maxExpirySeconds:h[a].getMaxExpirySeconds()}}b=c("keyMirror")(h);g.getACSTokenConfig=a;g.ACS_PROJECTS=b}),98); __d("WAWebACSTokenUtils",["WALogger","WATimeUtils","WAWebACSTokenConfig"],(function(a,b,c,d,e,f,g){"use strict";function h(){var a=babelHelpers.taggedTemplateLiteralLoose(["The "," ACS token was redeemed maximum number of time. The client shall re-issue a new one"]);h=function(){return a};return a}function i(){var a=babelHelpers.taggedTemplateLiteralLoose(["The "," ACS token expired. The client shall re-issue a new one"]);i=function(){return a};return a}function a(a){var b=a.redeemCount,c=a.creationTs;a=a.projectName;var e=d("WAWebACSTokenConfig").getACSTokenConfig(a),f=e.maxExpirySeconds;e=e.maxRedeemCount;if(!d("WATimeUtils").happenedWithin(c,f)){d("WALogger").LOG(i(),a);return!1}if(b>=e){d("WALogger").LOG(h(),a);return!1}return!0}g.isValidACSToken=a}),98); __d("WAWebRedeemACSTokenFromStorage",["WAWebACSTokenUtils","WAWebCRUDOperationsACSTokens","WAWebModelStorageUtils","asyncToGeneratorRuntime"],(function(a,b,c,d,e,f,g){"use strict";function a(a){return h.apply(this,arguments)}function h(){h=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a){return d("WAWebModelStorageUtils").getStorage().lock(["acs-tokens"],function(){var c=b("asyncToGeneratorRuntime").asyncToGenerator(function*(b){b=b[0];var c=(yield d("WAWebCRUDOperationsACSTokens").getACSTokensByProject(a,b));if(c.length===0)return null;c=c.filter(function(b){return d("WAWebACSTokenUtils").isValidACSToken({creationTs:b.creationTs,projectName:a,redeemCount:b.redeemCount})});if(c.length===0){yield d("WAWebCRUDOperationsACSTokens").deleteAllACSTokensByProject(a,b);return null}c=i(c);if(c==null)return null;var e=c.redeemCount+1;yield d("WAWebCRUDOperationsACSTokens").upsertACSToken(babelHelpers["extends"]({},c,{redeemCount:e}),b);return c.token});return function(a){return c.apply(this,arguments)}}())});return h.apply(this,arguments)}function i(a){var b=Math.min.apply(Math,a.map(function(a){return a.redeemCount}));return a.find(function(a){return a.redeemCount===b})}g.redeemACSTokenFromStorage=a}),98); __d("WAWebRedeemACSToken",["Promise","WAACSTokenUtils","WATimeUtils","WAWamPrivateStatsToken","WAWebCRUDOperationsACSTokens","WAWebFetchACSTokens","WAWebRedeemACSTokenFromStorage","asyncToGeneratorRuntime"],(function(a,b,c,d,e,f,g){"use strict";var h,i=5;function a(a){return j.apply(this,arguments)}function j(){j=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a){a=a.projectName;var b=(yield d("WAWebRedeemACSTokenFromStorage").redeemACSTokenFromStorage(a));if(b!=null)return b;b=(yield k(a));if(b.length===0)return;var c=b[0];b=b.slice(1);var e=c.sharedSecret,f=c.token;c=c.t;yield d("WAWebCRUDOperationsACSTokens").storeACSTokenForProject(a,{creationTs:c,redeemCount:1,token:{sharedSecret:e,token:f}});yield d("WAWebCRUDOperationsACSTokens").storeACSTokensForProject(a,b.map(function(c){var a=c.sharedSecret,b=c.token;c=c.t;return{token:{sharedSecret:a,token:b},creationTs:c,redeemCount:0}}));return{sharedSecret:e,token:f}});return j.apply(this,arguments)}function k(a,b){return l.apply(this,arguments)}function l(){l=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,c){c===void 0&&(c=i);c=Array.from({length:c}).fill().map(function(){return m(a)});c=(yield (h||(h=b("Promise"))).allSettled(c));return c.filter(function(a){return a.status==="fulfilled"}).map(function(a){return a.value}).filter(Boolean)});return l.apply(this,arguments)}function m(a){return n.apply(this,arguments)}function n(){n=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a){var b=d("WAACSTokenUtils").getBlindedToken(),c=b.token,e=b.blindedToken;b=b.blindingFactor;a=(yield d("WAWebFetchACSTokens").fetchACSTokenForProjectWithRetry(a,e));if(a.result==null)return;e=a.result;a=e.signCredentialAcsPublicKeyElementValue;var f=e.signCredentialSignedCredentialElementValue;e=e.signCredentialT;f=d("WAWamPrivateStatsToken").unblindToken(f,b,a);if(f==null)return;b=d("WAACSTokenUtils").getSharedSecret({token:c,unblindedSignedToken:f});return{token:c,sharedSecret:b,t:d("WATimeUtils").castToUnixTime(e)}});return n.apply(this,arguments)}g.redeemACSToken=a}),98); __d("WAWebRedeemACSCredential",["WABase64","WACryptoHmac","WAWebRedeemACSToken","asyncToGeneratorRuntime"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){return h.apply(this,arguments)}function h(){h=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b){b===void 0&&(b=new ArrayBuffer(0));a=(yield d("WAWebRedeemACSToken").redeemACSToken({projectName:a}));if(a==null)return;var c=d("WABase64").encodeB64UrlSafe(a.token,!0);a=(yield d("WACryptoHmac").hmacSha256(a.sharedSecret,b));b=d("WABase64").encodeB64UrlSafe(a,!0);a=c+"+"+b;return a});return h.apply(this,arguments)}g.redeemACSCredential=a}),98); __d("WAWebACSNetwork",["WAWebHttpExtendedFetch","WAWebRedeemACSCredential","asyncToGeneratorRuntime","err"],(function(a,b,c,d,e,f,g){"use strict";function a(a){return h.apply(this,arguments)}function h(){h=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a){var b=a.url,c=a.project;a=a.data;c=(yield i(c,a));return d("WAWebHttpExtendedFetch").extendedFetch(b,{body:c,method:"POST"})});return h.apply(this,arguments)}function i(a,b){return j.apply(this,arguments)}function j(){j=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b){var e=(yield d("WAWebRedeemACSCredential").redeemACSCredential(a));if(e==null)throw c("err")("Failed to redeem ACS credential");b.set("acs_token",e);b.set("acs_project",a);return b});return j.apply(this,arguments)}g.fetchWithACSCredential=a;g.addACSCredential=i}),98); __d("WAWebAudioWaveThumbIcon.react",["WAWebSvgComponentBase","react","stylex"],(function(a,b,c,d,e,f,g){var h,i,j=h||c("react"),k="audio-wave-thumb";function a(a){var b=a.iconXstyle,e=a.height,f=a.width,g=a.viewBox;a=babelHelpers.objectWithoutPropertiesLoose(a,["iconXstyle","height","width","viewBox"]);var h;if(g){var l=g.x;l=l===void 0?0:l;var m=g.y;m=m===void 0?0:m;var n=g.width;n=n===void 0?0:n;g=g.height;g=g===void 0?0:g;h=[l,m,n,g].join(" ")}l=40;m=40;(e!=null||f!=null)&&(l=e,m=f);return j.jsx(d("WAWebSvgComponentBase").BaseSvgSpan,babelHelpers["extends"]({name:k},a,{children:j.jsxs("svg",{viewBox:(n=h)!=null?n:"0 0 40 40",height:l,width:m,preserveAspectRatio:"xMidYMid meet",className:(i||(i=c("stylex")))(b),fill:"none",children:[j.jsx("title",{children:k}),j.jsx("path",{d:"M18.1953 31.4492C18.7461 31.4492 19.1562 31.0156 19.1562 30.4883V10.6016C19.1562 10.0625 18.7344 9.64062 18.1953 9.64062C17.6562 9.64062 17.2344 10.0625 17.2344 10.6016V30.4883C17.2344 31.0156 17.6562 31.4492 18.1953 31.4492ZM25.4023 29.1172C25.9531 29.1172 26.3633 28.6953 26.3633 28.1562V12.9336C26.3633 12.3945 25.9414 11.9727 25.4023 11.9727C24.8516 11.9727 24.4414 12.3945 24.4414 12.9336V28.1562C24.4414 28.6953 24.8516 29.1172 25.4023 29.1172ZM14.5859 27.4414C15.1367 27.4414 15.5586 27.0195 15.5586 26.4805V14.6094C15.5586 14.0703 15.1367 13.6484 14.5859 13.6484C14.0469 13.6484 13.6367 14.0703 13.6367 14.6094V26.4805C13.6367 27.0195 14.0469 27.4414 14.5859 27.4414ZM21.8047 25.9648C22.3438 25.9648 22.7539 25.5312 22.7539 25.0039V16.0859C22.7539 15.5469 22.3438 15.125 21.8047 15.125C21.2539 15.125 20.8438 15.5586 20.8438 16.0859V25.0039C20.8438 25.5312 21.2539 25.9648 21.8047 25.9648ZM29 23.9727C29.5508 23.9727 29.9609 23.5508 29.9609 23.0117V18.0781C29.9609 17.5391 29.5508 17.1172 29 17.1172C28.4492 17.1172 28.0391 17.5391 28.0391 18.0781V23.0117C28.0391 23.5508 28.4609 23.9727 29 23.9727ZM10.9883 23.0469C11.5391 23.0469 11.9492 22.625 11.9492 22.0859V19.0039C11.9492 18.4648 11.5273 18.0312 10.9883 18.0312C10.4375 18.0312 10.0273 18.4648 10.0273 19.0039V22.0859C10.0273 22.625 10.4375 23.0469 10.9883 23.0469Z",fill:"currentColor"})]})}))}a.displayName=a.name+" [from "+f.id+"]";g.AudioWaveThumbIcon=a}),98); __d("WAWebCRUDOperationsMediaPlaybackEvent",["WAWebSchemaMediaPlaybackEvent","asyncToGeneratorRuntime"],(function(a,b,c,d,e,f,g){"use strict";function a(a){return d("WAWebSchemaMediaPlaybackEvent").getMediaPlaybackEventTable().bulkCreateOrReplace(a.map(function(a){return{event:a}}))}function c(a){return d("WAWebSchemaMediaPlaybackEvent").getMediaPlaybackEventTable().all({limit:a,offset:0})}function e(){return h.apply(this,arguments)}function h(){h=b("asyncToGeneratorRuntime").asyncToGenerator(function*(){return d("WAWebSchemaMediaPlaybackEvent").getMediaPlaybackEventTable().count()});return h.apply(this,arguments)}function f(a){return d("WAWebSchemaMediaPlaybackEvent").getMediaPlaybackEventTable().bulkRemove(a)}g.addEvents=a;g.getOldestEvents=c;g.getRowCount=e;g.deleteEvents=f}),98); __d("WAWebChatGroupMsgInfoCell.react",["WAWebChatCell.react","WAWebChatContactUtils","WAWebClock","WAWebContactGetters","WAWebDetailImage.react","WAWebElevatedPushNamesFlag","WAWebEmojiText.react","WAWebFrontendContactGetters","react","useWAWebContactFormattedPhoneByChat","useWAWebContactValues","useWAWebModelValues"],(function(a,b,c,d,e,f,g){var h,i=h||c("react");function a(a){var b=d("useWAWebModelValues").useModelValues(a.msgInfoParticipant,["t"]),e=d("useWAWebContactValues").useContactValues(a.contact.id,[d("WAWebContactGetters").getId,d("WAWebContactGetters").getName,d("WAWebFrontendContactGetters").getFormattedName,d("WAWebContactGetters").getNotifyName]),f=e[0],g=e[1],h=e[2];e=e[3];var j=c("useWAWebContactFormattedPhoneByChat")(a.chat,a.contact),k=j.formattedPhone;j=j.isPhoneNumberForceMasked;var l=a.image,m=a.contact,n=a.elevatedPushNamesEnabled;n=n===void 0?!1:n;var o={cursor:"auto"};b=d("WAWebClock").Clock.relativeDateAndTimeStr(b.t);b=i.jsx("span",{title:b,children:b});var p;!g&&(h===k||j===!0)&&e&&(p=n?i.jsx(d("WAWebEmojiText.react").EmojiText,{direction:"auto",text:k}):i.jsx(d("WAWebEmojiText.react").EmojiText,{className:"xxayilr",direction:"auto",text:e}));var q;d("WAWebElevatedPushNamesFlag").pushNameCanBeUsed(m)&&n?(g=d("WAWebChatContactUtils").getFormattedNotifyName(e),q=d("WAWebChatContactUtils").getAccessibleNotifyName(e)):g=h;return i.jsx(c("WAWebChatCell.react"),{contextEnabled:function(){return!1},image:(j=l)!=null?j:i.jsx(d("WAWebDetailImage.react").DetailImage,{id:f}),primary:i.jsx(d("WAWebEmojiText.react").EmojiText,{direction:"auto",text:g,ariaLabel:q,titlify:!0,ellipsify:!0}),secondary:b,secondaryDetail:p,style:o,theme:a.theme,idle:!0})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("WAWebMediaPlaybackEventLoggerCache",[],(function(a,b,c,d,e,f){"use strict";a=function(){function a(){this.$1=[]}var b=a.prototype;b.write=function(a){if(Array.isArray(a)){var b;(b=this.$1).push.apply(b,a);return}this.$1.push(a)};b.consume=function(){var a=this.$1;this.$1=[];return a};return a}();f.MediaPlaybackEventLoggerCache=a}),66); __d("WAWebMediaPlaybackEventPersistentQueue",["WALogger","WAWebCRUDOperationsMediaPlaybackEvent","WAWebPromiseQueue","lodash"],(function(a,b,c,d,e,f,g){"use strict";function h(){var a=babelHelpers.taggedTemplateLiteralLoose(["[MediaPlaybackEventPersistentQueue] write failed"]);h=function(){return a};return a}function i(){var a=babelHelpers.taggedTemplateLiteralLoose(["[MediaPlaybackEventPersistentQueue] write success"]);i=function(){return a};return a}var j=new(d("WAWebPromiseQueue").PromiseQueue)();a=200;b=c("lodash").throttle(function(a){return k(a)},a);function k(a){return j.enqueue(function(){var b=a.consume();if(b.length===0)return;return d("WAWebCRUDOperationsMediaPlaybackEvent").addEvents(b).then(function(){d("WALogger").DEV(i()).devConsole(b)})["catch"](function(c){d("WALogger").ERROR(h()).devConsole(c).sendLogs("media-playback-event-persistent-queue-write-failed"),a.write(b)})})}g.writePromiseQueue=j;g.WRITE_THROTTLE_INTERVAL=a;g.addToQueue=b}),98); __d("WAWebFetchOHAIKeyConfigJobQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"aead_id",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"expiration_date",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"kdf_id",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"kem_id",storageKey:null},e={alias:null,args:null,kind:"ScalarField",name:"key_id",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"last_updated_time",storageKey:null},g={alias:null,args:null,kind:"ScalarField",name:"public_key",storageKey:null};return{fragment:{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"WAWebFetchOHAIKeyConfigJobQuery",selections:[{alias:null,args:null,concreteType:"XWA2OHAIConfigsResponse",kind:"LinkedField",name:"xwa2_ohai_configurations",plural:!1,selections:[{alias:null,args:null,concreteType:"XWA2OHAIConfig",kind:"LinkedField",name:"ohai_configs",plural:!0,selections:[{kind:"RequiredField",field:a,action:"THROW"},{kind:"RequiredField",field:b,action:"THROW"},{kind:"RequiredField",field:c,action:"THROW"},{kind:"RequiredField",field:d,action:"THROW"},{kind:"RequiredField",field:e,action:"THROW"},{kind:"RequiredField",field:f,action:"THROW"},{kind:"RequiredField",field:g,action:"THROW"}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[],kind:"Operation",name:"WAWebFetchOHAIKeyConfigJobQuery",selections:[{alias:null,args:null,concreteType:"XWA2OHAIConfigsResponse",kind:"LinkedField",name:"xwa2_ohai_configurations",plural:!1,selections:[{alias:null,args:null,concreteType:"XWA2OHAIConfig",kind:"LinkedField",name:"ohai_configs",plural:!0,selections:[a,b,c,d,e,f,g],storageKey:null}],storageKey:null}]},params:{id:"8611051222276023",metadata:{},name:"WAWebFetchOHAIKeyConfigJobQuery",operationKind:"query",text:null}}}();e.exports=a}),null); __d("WAWebFetchOHAIKeyConfigJob",["WATimeUtils","WAWebFetchOHAIKeyConfigJobQuery.graphql","WAWebMexClient","asyncToGeneratorRuntime"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h!==void 0?h:h=b("WAWebFetchOHAIKeyConfigJobQuery.graphql");function a(){return j.apply(this,arguments)}function j(){j=b("asyncToGeneratorRuntime").asyncToGenerator(function*(){var a=(yield d("WAWebMexClient").fetchQuery(i,{}));a=(a=a.xwa2_ohai_configurations)==null?void 0:a.ohai_configs;return a==null?null:a.reduce(function(a,b){var c=b.expiration_date,e=b.last_updated_time;c=Number.parseInt(c,10);e=Number.parseInt(e,10);if(!Number.isSafeInteger(c)||!Number.isSafeInteger(e))return a;return a!=null&&a.expirationDate>c?a:{aeadId:b.aead_id,expirationDate:d("WATimeUtils").castToUnixTime(c),kdfId:b.kdf_id,kemId:b.kem_id,keyId:b.key_id,lastUpdatedTime:d("WATimeUtils").castToUnixTime(e),publicKey:b.public_key}},null)});return j.apply(this,arguments)}g.mexFetchOHAIKeyConfig=a}),98); __d("WAWebOHAIUserPrefs",["WATimeUtils","WAWebUserPrefsKeys","WAWebUserPrefsStore"],(function(a,b,c,d,e,f,g){"use strict";function a(a){c("WAWebUserPrefsStore").setUser(d("WAWebUserPrefsKeys").UserPrefs.OHAIKeyConfig,a)}function b(){var a=c("WAWebUserPrefsStore").getUser(d("WAWebUserPrefsKeys").UserPrefs.OHAIKeyConfig);if(a==null||typeof a!=="object")return null;var b=a.aeadId,e=a.kdfId,f=a.kemId,g=a.expirationDate,h=a.keyId,i=a.lastUpdatedTime;a=a.publicKey;return typeof g!=="number"||typeof b!=="number"||typeof e!=="number"||typeof f!=="number"||typeof h!=="number"||typeof i!=="number"||typeof a!=="string"?null:{aeadId:b,kdfId:e,kemId:f,keyId:h,publicKey:a,expirationDate:d("WATimeUtils").castToUnixTime(g),lastUpdatedTime:d("WATimeUtils").castToUnixTime(i)}}g.setOHAIKeyConfig=a;g.getOHAIKeyConfig=b}),98); __d("WAWebOHAIKeyConfigProvider",["Hpke","WAHex","WALogger","WATimeUtils","WAWebFetchOHAIKeyConfigJob","WAWebNewsletterRpcUtils","WAWebOHAIUserPrefs","asyncToGeneratorRuntime"],(function(a,b,c,d,e,f,g){"use strict";function h(){var a=babelHelpers.taggedTemplateLiteralLoose(["[OHAI] Failed to parse OHAI key config"]);h=function(){return a};return a}function i(){var a=babelHelpers.taggedTemplateLiteralLoose(["[OHAI] Failed to cast OHAI parameters"]);i=function(){return a};return a}function j(){var a=babelHelpers.taggedTemplateLiteralLoose(["[OHAI] Failed to retrieve OHAI key"]);j=function(){return a};return a}var k=60*60;function a(){return l.apply(this,arguments)}function l(){l=b("asyncToGeneratorRuntime").asyncToGenerator(function*(){var a=(yield m());if(a==null){d("WALogger").ERROR(j()).sendLogs("ohai-retrieve-failed");return null}var b=d("Hpke").AeadID.cast(a.aeadId),c=d("Hpke").KdfID.cast(a.kdfId),e=d("Hpke").KemID.cast(a.kemId),f=a.keyId;if(b==null||c==null||e==null||f==null){d("WALogger").ERROR(i()).sendLogs("ohai-cast-failed");return null}try{return{aeadId:b,kdfId:c,kemId:e,keyId:f,expirationDate:a.expirationDate,publicKey:new Uint8Array(d("WAHex").parseHex(a.publicKey))}}catch(a){d("WALogger").ERROR(h()).devConsole(a).sendLogs("ohai-parse-failed");return null}});return l.apply(this,arguments)}function m(){return n.apply(this,arguments)}function n(){n=b("asyncToGeneratorRuntime").asyncToGenerator(function*(){var a=d("WAWebOHAIUserPrefs").getOHAIKeyConfig();if(a!=null&&o(a))return a;a=(yield d("WAWebNewsletterRpcUtils").runWithBackoff(function(){return d("WAWebFetchOHAIKeyConfigJob").mexFetchOHAIKeyConfig()}));a!=null&&d("WAWebOHAIUserPrefs").setOHAIKeyConfig(a);return a});return n.apply(this,arguments)}function o(a){return a.expirationDate-k>d("WATimeUtils").unixTime()}g.provideOHAIKeyConfig=a}),98); __d("WAWebOHAIClient",["OhaiClient","WALogger","WAWebABProps","WAWebACSNetwork","WAWebHttpExtendedFetch","WAWebOHAIKeyConfigProvider","asyncToGeneratorRuntime","err"],(function(a,b,c,d,e,f,g){"use strict";function h(){var a=babelHelpers.taggedTemplateLiteralLoose(["No OHAI key config available"]);h=function(){return a};return a}function i(){var a=babelHelpers.taggedTemplateLiteralLoose(["Invalid OHAI proxy URL: ",""]);i=function(){return a};return a}var j=new Set(["https://meta-ohttp-relay-prod.fastly-edge.com/"]);function a(a){return k.apply(this,arguments)}function k(){k=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a){var b=a.url,e=a.project;a=a.payload;var f=(yield d("WAWebOHAIKeyConfigProvider").provideOHAIKeyConfig());if(f==null){d("WALogger").ERROR(h()).sendLogs("failed-to-fetch-ohai-key").tags("ohai");throw c("err")("No OHAI key config available")}e=(yield l({project:e,url:b,payload:a}));b=(yield d("OhaiClient").encapsulateRequest(f,e,!0));a=b.ctx;f=b.enc;e=b.encapsulatedRequest;b=n();b=(yield d("WAWebHttpExtendedFetch").extendedFetch(b,{body:e,headers:{"Content-Type":"message/ohttp-req"},method:"POST"}));if(!b.ok)return b;e=(yield b.arrayBuffer());b=new Uint8Array(e);return d("OhaiClient").decapsulateResponse(a,f,b)});return k.apply(this,arguments)}function l(a){return m.apply(this,arguments)}function m(){m=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a){var b=a.url,c=a.project;a=a.payload;if(a==null||c==null)return new Request(b);c=(yield d("WAWebACSNetwork").addACSCredential(c,a));return new Request(b,{body:c,method:"POST"})});return m.apply(this,arguments)}function n(){var a=d("WAWebABProps").getABPropConfigValue("music_ohai_proxy_url");a=new URL(a);o(a);return a}function o(a){if(!j.has(a.href)){d("WALogger").ERROR(i(),a.href).sendLogs("ohai-invalid-proxy-"+a.href).tags("ohai");throw c("err")("Invalid OHAI proxy URL")}}g.fetchOHAI=a}),98); __d("WAWebSNAPLUploadMusicConsumptionLogs",["WALogger","WAWebACSTokenConfig","WAWebBuildConstants","WAWebFileUtils","WAWebMobilePlatforms","WAWebNetworkStatus","WAWebOHAIClient","asyncToGeneratorRuntime"],(function(a,b,c,d,e,f,g){"use strict";function h(){var a=babelHelpers.taggedTemplateLiteralLoose(["[SNAPL] logs uploaded via OHAI"]);h=function(){return a};return a}var i=new URL("https://acs.whatsapp.com/music/reporting"),j=656096963291760..toString(),k=167028690535322..toString();function a(a){return l.apply(this,arguments)}function l(){l=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a){yield c("WAWebNetworkStatus").waitIfOffline();a=m(a);a=(yield d("WAWebOHAIClient").fetchOHAI({url:i,project:d("WAWebACSTokenConfig").ACS_PROJECTS.WA_StatusMusicReporting,payload:a}));d("WALogger").DEV(h()).devConsole(a);return a});return l.apply(this,arguments)}function m(a){var b=new FormData(),c=d("WAWebMobilePlatforms").isSMB()?j:k;b.append("app_id",c);b.append("app_version",d("WAWebBuildConstants").VERSION_STR);b.append("events",d("WAWebFileUtils").createFile([n(a)],"snapl.txt"));return b}function n(a){return a.map(function(a){return JSON.stringify(a)}).join("\n")}g.uploadMusicConsumptionLogs=a}),98); __d("WAWebMediaPlaybackEventUploader",["WAExponentialBackoff","WALogger","WAWebABProps","WAWebCRUDOperationsMediaPlaybackEvent","WAWebNetworkStatus","WAWebPromiseQueue","WAWebSNAPLUploadMusicConsumptionLogs","asyncToGeneratorRuntime","err","lodash"],(function(a,b,c,d,e,f,g){"use strict";function h(){var a=babelHelpers.taggedTemplateLiteralLoose(["[MediaPlaybackEventUploader] failed to upload events"]);h=function(){return a};return a}function i(){var a=babelHelpers.taggedTemplateLiteralLoose(["[MediaPlaybackEventUploader.upload] success"]);i=function(){return a};return a}function j(){var a=babelHelpers.taggedTemplateLiteralLoose(["[MediaPlaybackEventUploader.upload] attempt # ",""]);j=function(){return a};return a}function k(){var a=babelHelpers.taggedTemplateLiteralLoose(["[MediaPlaybackEventUploader] starting upload"]);k=function(){return a};return a}var l=100;e=3e3;var m=new(d("WAWebPromiseQueue").PromiseQueue)(),n=c("lodash").throttle(a,e);function a(){return o.apply(this,arguments)}function o(){o=b("asyncToGeneratorRuntime").asyncToGenerator(function*(){var a=(yield m.enqueue(b("asyncToGeneratorRuntime").asyncToGenerator(function*(){var a=(yield d("WAWebCRUDOperationsMediaPlaybackEvent").getRowCount());if(a===0)return{success:!0,leftover:0};var b=(yield s()),e=b.events;b=b.ids;var f=e.length;if(f===0)return{success:!0,leftover:0};try{e=(yield p(e));if(!e.ok)throw c("err")("upload failed")}catch(b){d("WALogger").ERROR(h()).devConsole(b);return{success:!1,leftover:a}}yield d("WAWebCRUDOperationsMediaPlaybackEvent").deleteEvents(b);return a>f?{success:!0,leftover:a-f}:{success:!0,leftover:0}}))),e=a.success;a=a.leftover;if(e&&a>0)return n()});return o.apply(this,arguments)}function p(a){d("WALogger").DEV(k()).devConsole(a);var e=new AbortController();e=e.signal;return d("WAExponentialBackoff").exponentialBackoff({retries:3,signal:e,minTimeout:1e3},function(){var e=b("asyncToGeneratorRuntime").asyncToGenerator(function*(b,e){d("WALogger").DEV(j(),e+1);yield c("WAWebNetworkStatus").waitIfOffline();e=(yield d("WAWebSNAPLUploadMusicConsumptionLogs").uploadMusicConsumptionLogs(a));if(e==null)throw c("err")("upload failed");if(e.ok){d("WALogger").DEV(i());return e}if(q(e))return b(c("err")("upload failed with status code: "+e.status));throw c("err")("upload failed")});return function(a,b){return e.apply(this,arguments)}}())}function q(a){return a.status>=500}function r(){return Math.max(d("WAWebABProps").getABPropConfigValue("ohai_request_kb_size")-1,1)*1e3}function s(){return t.apply(this,arguments)}function t(){t=b("asyncToGeneratorRuntime").asyncToGenerator(function*(){var a=0,b=(yield d("WAWebCRUDOperationsMediaPlaybackEvent").getOldestEvents(l)),c=new TextEncoder();return b.reduce(function(b,d){var e=c.encode(JSON.stringify(d.event)).length;if(a+e>r())return b;a+=e;b.events.push(d.event);b.ids.push(d.id);return b},{events:[],ids:[]})});return t.apply(this,arguments)}g.MAX_BATCH_SIZE=l;g.UPLOAD_THROTTLE_INTERVAL=e;g.uploadQueue=m;g.requestUpload=n}),98); __d("WAWebMediaPlaybackEventLogger",["WALogger","WAWebMediaPlaybackEventLoggerCache","WAWebMediaPlaybackEventPersistentQueue","WAWebMediaPlaybackEventUploader"],(function(a,b,c,d,e,f,g){"use strict";function h(){var a=babelHelpers.taggedTemplateLiteralLoose(["[MediaPlaybackEventLogger] Failed to flush logs"]);h=function(){return a};return a}function i(){var a=babelHelpers.taggedTemplateLiteralLoose(["[MediaPlaybackEventLogger][","] log"]);i=function(){return a};return a}a=function(){function a(a){this.$1=a}var b=a.prototype;b.log=function(a){d("WALogger").DEV(i(),a.required_metadata.media_id).devConsole(a),this.$1.write(a),this.$2()};b.$2=function(){d("WAWebMediaPlaybackEventPersistentQueue").addToQueue(this.$1).then(d("WAWebMediaPlaybackEventUploader").requestUpload)["catch"](function(a){d("WALogger").ERROR(h()).devConsole(a).sendLogs("media-playback-event-logger-flush-failed")})};return a}();b=new a(new(d("WAWebMediaPlaybackEventLoggerCache").MediaPlaybackEventLoggerCache)());g.MediaPlaybackEventLoggerImpl=a;g.MediaPlaybackEventLogger=b}),98); __d("WAWebPsChannelsSnaplEventWamEvent",["WAWebWamCodegenUtils"],(function(a,b,c,d,e,f,g){a=d("WAWebWamCodegenUtils").defineEvents({PsChannelsSnaplEvent:[6254,{appId:[2,d("WAWebWamCodegenUtils").TYPES.INTEGER],videoEventJson:[1,d("WAWebWamCodegenUtils").TYPES.STRING]},[1,1,1],"private",0]},{PsChannelsSnaplEvent:[]});g.PsChannelsSnaplEventWamEvent=a}),98); __d("WAWebMediaPlaybackLogFlusher",["WALogger","WAWebCrashlog","WAWebMediaPlaybackEventLogger","WAWebPsChannelsSnaplEventWamEvent","WAWebWamEnumMessageType","err"],(function(a,b,c,d,e,f,g){"use strict";function h(){var a=babelHelpers.taggedTemplateLiteralLoose(["[mediaplaybacklogflusher][","] Discarding events"]);h=function(){return a};return a}a=function(){function a(a,b){this.$1=a,this.$2=b}var b=a.prototype;b.flushLogs=function(){var a=this.$1.consumeLoggerEvents();switch(this.$2){case d("WAWebWamEnumMessageType").MESSAGE_TYPE.CHANNEL:a.forEach(function(a){new(d("WAWebPsChannelsSnaplEventWamEvent").PsChannelsSnaplEventWamEvent)({appId:167028690535322,videoEventJson:JSON.stringify({events:a.events,required_metadata:a.required_metadata})}).commit()});break;case d("WAWebWamEnumMessageType").MESSAGE_TYPE.STATUS:a.forEach(function(a){d("WAWebMediaPlaybackEventLogger").MediaPlaybackEventLogger.log(a)});break;default:void d("WAWebCrashlog").upload({reason:"invalid video origin"});throw c("err")("Invalid video origin")}};b.discardLogsWithoutFlushing=function(){var a=this.$1.consumeLoggerEvents();a.forEach(function(a){d("WALogger").DEV(h(),a.required_metadata.media_id).devConsole(a)})};return a}();g.WhatsAppMediaPlaybackLogFlusher=a}),98); __d("WAWebCometVideoPlayerStateMachine",["MediaPlaybackCompoundEventStateMachineLogger","VideoPlayerImplementationEngineVideoElementAPI","VideoPlayerImplementationStateMachine","VideoPlayerImplementationStateMachineState","VideoPlayerImplementationStateMachineStateUncontrolledState","WALogger","WAWebMediaPlaybackLogFlusher","WAWebNoop"],(function(a,b,c,d,e,f,g){"use strict";function h(){var a=babelHelpers.taggedTemplateLiteralLoose(["[mediaplayback][snapl] Fatal error in SNAPL machine"]);h=function(){return a};return a}function a(a){var b=a.initialLoggingMetaData,e=a.debugLogId,f=a.fullscreenControllerRef,g=a.videoEl,j=a.videoLiveTraceRef,k=a.videoPlayerPassiveViewabilityInfoRef,l=a.metadataProvider;a=a.videoOrigin;var m=d("MediaPlaybackCompoundEventStateMachineLogger").createMediaPlaybackCompoundEventStateMachineLogger({debugLogId:e,initialLoggingMetaData:b,metadataProvider:l}),n=new(d("WAWebMediaPlaybackLogFlusher").WhatsAppMediaPlaybackLogFlusher)(m,a);l=[function(a,b,c){m.handleStateMachine(a,b,c);n.flushLogs();return!0}];a=d("VideoPlayerImplementationStateMachineState").createVideoPlayerImplementationStateMachineInitialState({alwaysShowCaptions:!1,captionDisplayStyle:null,dimensions:b.dimensions,areCaptionsAutogenerated:!1,isAbrEnabled:!1,playerVersion:"comet_whatsapp_snapl_only",streamingFormat:"progressive"});var o=d("VideoPlayerImplementationStateMachine").createVideoPlayerImplementationStateMachineWithStateTransitionHandlers({collectUncontrolledState:i(g,j,f,k),stateTransitionHandlers:l,debugLogId:e,initialState:a,onFatalError:function(a){a=a instanceof Error?a.message:String(a);d("WALogger").ERROR(h()).sendLogs("snapl-fatal-error").devConsole(a)}});return{machine:o,callbacks:d("VideoPlayerImplementationStateMachine").createReactVideoElementCallbacksForStateMachine(o,c("WAWebNoop")),handleReactEffectInit:function(){var a=o.getCurrentState().controlledState.mountState;a==="before_mounted"&&o.dispatch({type:"implementation_mounted"})},handleReactEffectCleanup:function(){o.dispatch({payload:{reason:"react_effect_cleanup"},type:"implementation_unmounted"})}}}function i(a,b,c,e){return function(){return d("VideoPlayerImplementationStateMachineStateUncontrolledState").createVideoPlayerImplementationStateMachineStateUncontrolledState({engineExtrasAPI:null,fullscreenControllerRef:c,videoElementAPI:d("VideoPlayerImplementationEngineVideoElementAPI").createVideoPlayerImplementationEngineVideoElementAPI(a),videoLiveTraceRef:b,videoPlayerPassiveViewabilityInfoRef:e})}}g.makeCometVideoPlayerStateMachine=a}),98); __d("videoPlayerUniqueID",["guid"],(function(a,b,c,d,e,f,g){"use strict";function a(a){return"id-vpuid-"+((a=a)!=null?a:c("guid")())}g["default"]=a}),98); __d("WAWebCometVideoPlayerUtils",["videoPlayerUniqueID"],(function(a,b,c,d,e,f,g){"use strict";function a(a){a={height:a.clientHeight,width:a.clientWidth};return{accessToken:null,dimensions:a,productAttribution:null,downstreamShareSignalTracking:null,trackingNodes:"",trackingDataEncrypted:"",playerImplementationInstanceCountRef:{current:1},coreVideoPlayerMetaData:{loggingConfig:{loggingToSNAPLCreateMetadataProvider:null}},instanceKey:c("videoPlayerUniqueID")()}}g.getInitialMetadata=a}),98); __d("WAWebPaletteIcon.react",["WAWebSvgComponentBase","react","stylex"],(function(a,b,c,d,e,f,g){var h,i,j=h||c("react"),k="palette";function a(a){var b=a.iconXstyle,e=a.height,f=a.width,g=a.viewBox;a=babelHelpers.objectWithoutPropertiesLoose(a,["iconXstyle","height","width","viewBox"]);var h;if(g){var l=g.x;l=l===void 0?0:l;var m=g.y;m=m===void 0?0:m;var n=g.width;n=n===void 0?0:n;g=g.height;g=g===void 0?0:g;h=[l,m,n,g].join(" ")}l=28;m=28;(e!=null||f!=null)&&(l=e,m=f);return j.jsx(d("WAWebSvgComponentBase").BaseSvgSpan,babelHelpers["extends"]({name:k},a,{children:j.jsxs("svg",{viewBox:(n=h)!=null?n:"0 0 28 28",height:l,width:m,preserveAspectRatio:"xMidYMid meet",className:(i||(i=c("stylex")))(b),fill:"none",children:[j.jsx("title",{children:k}),j.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 3.5C8.20167 3.5 3.5 8.20167 3.5 14C3.5 19.7983 8.20167 24.5 14 24.5C14.9683 24.5 15.75 23.7183 15.75 22.75C15.75 22.295 15.575 21.8867 15.295 21.5717C15.0267 21.2683 14.8517 20.86 14.8517 20.4167C14.8517 19.4483 15.6333 18.6667 16.6017 18.6667H18.6667C21.8867 18.6667 24.5 16.0533 24.5 12.8333C24.5 7.67667 19.7983 3.5 14 3.5ZM7.58333 14C6.615 14 5.83333 13.2183 5.83333 12.25C5.83333 11.2817 6.615 10.5 7.58333 10.5C8.55167 10.5 9.33333 11.2817 9.33333 12.25C9.33333 13.2183 8.55167 14 7.58333 14ZM9.33333 7.58333C9.33333 8.55167 10.115 9.33333 11.0833 9.33333C12.0517 9.33333 12.8333 8.55167 12.8333 7.58333C12.8333 6.615 12.0517 5.83333 11.0833 5.83333C10.115 5.83333 9.33333 6.615 9.33333 7.58333ZM16.9167 9.33333C15.9483 9.33333 15.1667 8.55167 15.1667 7.58333C15.1667 6.615 15.9483 5.83333 16.9167 5.83333C17.885 5.83333 18.6667 6.615 18.6667 7.58333C18.6667 8.55167 17.885 9.33333 16.9167 9.33333ZM18.6667 12.25C18.6667 13.2183 19.4483 14 20.4167 14C21.385 14 22.1667 13.2183 22.1667 12.25C22.1667 11.2817 21.385 10.5 20.4167 10.5C19.4483 10.5 18.6667 11.2817 18.6667 12.25Z",fill:"currentColor"}),j.jsx("path",{d:"M14 3.16667C8.01757 3.16667 3.16667 8.01757 3.16667 14C3.16667 19.9824 8.01757 24.8333 14 24.8333C15.1524 24.8333 16.0833 23.9024 16.0833 22.75C16.0833 22.2065 15.8737 21.7209 15.5441 21.3502L15.295 21.5717L15.5447 21.3508C15.3256 21.1031 15.185 20.7719 15.185 20.4167C15.185 19.6324 15.8174 19 16.6017 19H18.6667C22.0708 19 24.8333 16.2374 24.8333 12.8333C24.8333 7.45669 19.9444 3.16667 14 3.16667ZM7.58333 13.6667C6.79909 13.6667 6.16667 13.0342 6.16667 12.25C6.16667 11.4658 6.79909 10.8333 7.58333 10.8333C8.36757 10.8333 9 11.4658 9 12.25C9 13.0342 8.36757 13.6667 7.58333 13.6667ZM11.0833 9C10.2991 9 9.66667 8.36757 9.66667 7.58333C9.66667 6.79909 10.2991 6.16667 11.0833 6.16667C11.8676 6.16667 12.5 6.79909 12.5 7.58333C12.5 8.36757 11.8676 9 11.0833 9ZM16.9167 9C16.1324 9 15.5 8.36757 15.5 7.58333C15.5 6.79909 16.1324 6.16667 16.9167 6.16667C17.7009 6.16667 18.3333 6.79909 18.3333 7.58333C18.3333 8.36757 17.7009 9 16.9167 9ZM20.4167 13.6667C19.6324 13.6667 19 13.0342 19 12.25C19 11.4658 19.6324 10.8333 20.4167 10.8333C21.2009 10.8333 21.8333 11.4658 21.8333 12.25C21.8333 13.0342 21.2009 13.6667 20.4167 13.6667Z"})]})}))}a.displayName=a.name+" [from "+f.id+"]";g.PaletteIcon=a}),98); __d("WAWebStatusPostingTextView.react",["fbt","Promise","WAJids","WAWebChatModel","WAWebChatPreferenceCollection","WAWebCmd","WAWebEditGroupProfileDrawerEmojiStickerPanelPopup.react","WAWebEmojiNode","WAWebFlex.react","WAWebFontLoader","WAWebMediaEditorEmojiIcon.react","WAWebMenuBar.react","WAWebModalManager","WAWebPaletteIcon.react","WAWebPrepareMessageSendingAction","WAWebProtobufsE2E.pb","WAWebRichTextInput.react","WAWebSendButtonWithCount.react","WAWebSendStatusMsgAction","WAWebStatusChangePrivacyPopup.react","WAWebStatusPrivacySettingButton.react","WAWebTimeSpentLoggingNavigation","WAWebToast.react","WAWebToastManager","WAWebUISpacing","WAWebUserPrefsStatusType","WAWebWidFactory","WAWebXViewerIcon.react","react","stylex","useWAWebModelValues","useWAWebStatusPrivacySettingConfig"],(function(a,b,c,d,e,f,g,h){var i,j,k,l;e=l||d("react");var m=k||(k=c("react")),n=e.useEffect,o=e.useImperativeHandle,p=e.useRef,q=e.useState,r=700,s=10,t={textInputWrapper:{color:"x1fpc5dy",wordWrap:"x1vvkbs",whiteSpace:"x126k92a",maxHeight:"x9hq9vl",flexGrow:"x1iyjqo2",overflowY:"x1odjw0f",marginTop:"xb8qb8r",marginEnd:"xkrivgy",marginBottom:"x14ihc8f",marginStart:"x1gryazu",alignSelf:"xamitd3",$$css:!0},input:{textAlign:"x2b8uid",$$css:!0},inputText:{width:"xh8yej3",fontSize:"xcg35fi",$$css:!0},sendWrapper:{backgroundColor:"xj4c5ne",position:"x10l6tqk",bottom:"x1ey2m1c",start:"x17qophe",height:"x1peatla",display:"x78zum5",alignItems:"x6s0dn4",$$css:!0},fullWidth:{width:"xh8yej3",$$css:!0},optionWrapper:{position:"x10l6tqk",top:"xomnu4r",start:"x17qophe",height:"xsdox4t",display:"x78zum5",alignItems:"x6s0dn4",justifyContent:"x13a6bvl",boxSizing:"x9f619",$$css:!0},optionIconWrapper:{color:"x1fpc5dy",$$css:!0},fontIcon:{width:"xgd8bvy",height:"x1fgtraw",fontSize:"x1q74xe4",textAlign:"x2b8uid",$$css:!0},fontIconButton:{paddingTop:"x1y1aw1k",paddingEnd:"x1sxyh0",paddingBottom:"xwib8y2",paddingStart:"xurb0ha",height:"x1fgtraw",width:"xgd8bvy",lineHeight:"xeqr9p9",$$css:!0},font_0:{$$css:!0},font_1:{fontFamily:"x12n1cvc",$$css:!0},font_2:{fontFamily:"xs8eguv",$$css:!0},textLarge:{fontSize:"xvzvg7y",lineHeight:"x1xuplte",textAlign:"x2b8uid",$$css:!0},textMedium:{fontSize:"xdhfpv1",lineHeight:"x1swossr",textAlign:"x2b8uid",$$css:!0},textSmall:{fontSize:"x1jchvi3",lineHeight:"x3gokd0",textAlign:"x2b8uid",$$css:!0},placeholderText:{color:"xr3d4wh",$$css:!0}},u=new Map([[d("WAWebProtobufsE2E.pb").Message$ExtendedTextMessage$FontType.SYSTEM,t.font_0],[d("WAWebProtobufsE2E.pb").Message$ExtendedTextMessage$FontType.SYSTEM_TEXT,t.font_1],[d("WAWebProtobufsE2E.pb").Message$ExtendedTextMessage$FontType.FB_SCRIPT,t.font_2]]),v=[4289080433,4287670337,4290879551,4286128440,4289628020,4293964592,4290163495,4291207116,4287326608,4294937228,4283744869,4294933355,4280730844,4283943423,4285818730,4286484643,4283864831,4285408638,4286237605,4280563264,4286747850],w=function(){return v[Math.floor(Math.random()*v.length)]},x=function(a){if(a<=60)return t.textLarge;return a<=240?t.textMedium:t.textSmall},y=function(a){if(a<=60)return d("WAWebEmojiNode").EmojiSize.Large;return a<=240?d("WAWebEmojiNode").EmojiSize.Medium:d("WAWebEmojiNode").EmojiSize.Small};function z(a){var b=a>>24&255,c=a>>16&255,d=a>>8&255;a=a&255;return"rgba("+c+", "+d+", "+a+", "+b+")"}function A(){d("WAWebToastManager").ToastManager.open(m.jsx(d("WAWebToast.react").Toast,{msg:h._(/*BTDS*/"__JHASH__ozXbZ2NIEs___JHASH__",[h._param("character-length",r),h._param("lines-length",s)]),id:"WA_STATUS_MAX_INPUT_EXCEEDED"}),d("WAWebToastManager").ToastPosition.CENTER)}function a(a){a=a.ref;var e=q(d("WAWebProtobufsE2E.pb").Message$ExtendedTextMessage$FontType.SYSTEM),f=e[0],g=e[1];e=q(w());var k=e[0],l=e[1];e=q(!1);var v=e[0],B=e[1];e=q("");var C=e[0],D=e[1];e=d("useWAWebStatusPrivacySettingConfig").useWAWebStatusPrivacySettingConfig();var E=e.statusPostingPrivacyConfig,F=e.setStatusPostingPrivacyConfig;e=p();var G=p(),H=p(),I=d("useWAWebModelValues").useModelValues(c("WAWebChatPreferenceCollection").getDefault(),["spellcheck","transformTextEmoji"]);n(function(){d("WAWebCmd").Cmd.onStatusPostingFlow(),void (i||(i=b("Promise"))).all([d("WAWebFontLoader").Font.SANS_SERIF,d("WAWebFontLoader").Font.SERIF,d("WAWebFontLoader").Font.NORICAN_REGULAR].map(function(a){return d("WAWebFontLoader").FontLoader.load(a)}))},[]);d("WAWebTimeSpentLoggingNavigation").useTsNavigation({surface:"status-composer-text"});var J=new(d("WAWebChatModel").Chat)({id:d("WAWebWidFactory").createWid(d("WAJids").STATUS_JID)}),K=function(){var a=u.keys();for(var b;b=a.next();b!=null)if(b.value===f)break;g((b=a.next().value)!=null?b:d("WAWebProtobufsE2E.pb").Message$ExtendedTextMessage$FontType.SYSTEM)},L=function(){l(w())},M=function(){var a=C,b=f;(E==null?void 0:E.setting)===d("WAWebUserPrefsStatusType").StatusPrivacySettingType.AllowList&&(E==null?void 0:E.allowList.length)===0?d("WAWebModalManager").ModalManager.open(m.jsx(d("WAWebStatusChangePrivacyPopup.react").StatusChangePrivacyPopup,{statusPostingPrivacyConfig:E,setStatusPostingPrivacyConfig:F})):(d("WAWebModalManager").ModalManager.closeMedia(),void d("WAWebSendStatusMsgAction").sendStatusTextMsgAction({text:a,color:k,font:b}))},N=function(){B(!0)},O=function(a){var b=G.current;b&&(b.focus(),b.replaceSelection(a));B(!1)},P=function(){return H.current},Q=function(){d("WAWebModalManager").ModalManager.closeMedia();return!0};o(a,function(){return{getElement:P,handleRequestDismiss:Q}});a=v&&e.current&&m.jsx(d("WAWebEditGroupProfileDrawerEmojiStickerPanelPopup.react").EmojiPanelPopup,{anchor:e.current,onSelect:O,onClose:function(){B(!1)}});return m.jsxs("div",{className:"x10l6tqk x13vifvy x17qophe xh8yej3 x5yr21d x1larqbn xo5hfjf x1y61xfy x78zum5",style:{backgroundColor:z(k)},ref:H,children:[m.jsxs("div",babelHelpers["extends"]({},(j||(j=c("stylex"))).props([t.optionWrapper,d("WAWebUISpacing").uiPadding.end18,t.fullWidth]),{children:[m.jsxs(d("WAWebMenuBar.react").MenuBar,{children:[m.jsx(d("WAWebMenuBar.react").MenuBarItem,{ref:e,icon:m.jsx(d("WAWebMediaEditorEmojiIcon.react").MediaEditorEmojiIcon,{iconXstyle:t.optionIconWrapper,height:28,width:28}),testid:void 0,title:h._(/*BTDS*/"__JHASH__Adz_n_XyHVO__JHASH__"),onClick:N},"emoji-button"),m.jsx(d("WAWebMenuBar.react").MenuBarItem,{icon:m.jsx("span",babelHelpers["extends"]({},j.props([t.fontIcon,t.optionIconWrapper,u.get(f)]),{children:"T"})),buttonStyle:t.fontIconButton,testid:void 0,title:h._(/*BTDS*/"__JHASH__xrFfNhtyXm0__JHASH__"),onClick:K},"font-button"),m.jsx(d("WAWebMenuBar.react").MenuBarItem,{icon:m.jsx(d("WAWebPaletteIcon.react").PaletteIcon,{iconXstyle:t.optionIconWrapper}),testid:void 0,title:h._(/*BTDS*/"__JHASH__OvvNElRKcKE__JHASH__"),onClick:L},"palette-button")]}),m.jsx("button",babelHelpers["extends"]({className:"x1fpc5dy x10l6tqk x149uil0"},{onClick:function(){return d("WAWebModalManager").ModalManager.closeMedia()},children:m.jsx(d("WAWebXViewerIcon.react").XViewerIcon,{})}))]})),m.jsx("div",babelHelpers["extends"]({},j.props([t.textInputWrapper,u.get(f)]),{children:m.jsx(d("WAWebRichTextInput.react").RichTextInput,{ref:G,xstyle:t.input,textXstyle:[t.inputText,x(C.length)],placeholderTextXStyle:t.placeholderText,placeholder:h._(/*BTDS*/"__JHASH__je26wsyeJXC__JHASH__"),onChange:function(a){D(a.text),void d("WAWebPrepareMessageSendingAction").prepareChatForMessageSending(J)},emojiSize:y(C.length),multiline:!0,focusOnMount:!0,textFormatEnabled:!0,linksEnabled:!0,textFormatShortcutsEnabled:!0,spellCheck:I.spellcheck,transformTextEmoji:I.transformTextEmoji,maxLength:r,maxLineCount:s,onMaxInputExceeded:A,onMaxPasteExceeded:A})})),m.jsx("div",babelHelpers["extends"]({},j.props([t.sendWrapper,t.fullWidth,d("WAWebUISpacing").uiPadding.vert16]),{children:m.jsxs(d("WAWebFlex.react").FlexRow,{align:"center",xstyle:[t.fullWidth,d("WAWebUISpacing").uiPadding.horiz28],children:[m.jsx(d("WAWebFlex.react").FlexItem,{grow:1,children:m.jsx(c("WAWebStatusPrivacySettingButton.react"),{statusPostingPrivacyConfig:E,setStatusPostingPrivacyConfig:F})}),m.jsx(d("WAWebFlex.react").FlexItem,{children:m.jsx(c("WAWebSendButtonWithCount.react"),{disabled:C.length===0,ariaLabel:h._(/*BTDS*/"__JHASH__q53Wz1Hq262__JHASH__"),large:!0,onClick:function(){M()}})})]})})),a]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226); __d("WAWebCreateTextStatusFlow.react",["WAWebStatusPostingTextView.react","WAWebUimUie.react","react"],(function(a,b,c,d,e,f,g){var h,i,j=i||c("react"),k=(h||(h=d("react"))).useRef;function a(){var a=k(),b=function(b){var c;(c=a.current)==null?void 0:c.handleRequestDismiss(b)};return j.jsx(d("WAWebUimUie.react").UIE,{displayName:"CreateTextStatusFlow",escapable:!0,requestDismiss:b,children:j.jsx(c("WAWebStatusPostingTextView.react"),{ref:a})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("WAWebEightNoteIcon.react",["WAWebSvgComponentBase","react","stylex"],(function(a,b,c,d,e,f,g){var h,i,j=h||c("react"),k="eight-note";function a(a){var b=a.iconXstyle,e=a.height,f=a.width,g=a.viewBox;a=babelHelpers.objectWithoutPropertiesLoose(a,["iconXstyle","height","width","viewBox"]);var h;if(g){var l=g.x;l=l===void 0?0:l;var m=g.y;m=m===void 0?0:m;var n=g.width;n=n===void 0?0:n;g=g.height;g=g===void 0?0:g;h=[l,m,n,g].join(" ")}l=24;m=24;(e!=null||f!=null)&&(l=e,m=f);return j.jsx(d("WAWebSvgComponentBase").BaseSvgSpan,babelHelpers["extends"]({name:k},a,{children:j.jsxs("svg",{viewBox:(n=h)!=null?n:"0 0 24 24",height:l,width:m,preserveAspectRatio:"xMidYMid meet",className:(i||(i=c("stylex")))(b),fill:"none",color:"#0A1014",children:[j.jsx("title",{children:k}),j.jsx("path",{d:"M10 21C8.9 21 7.95833 20.6083 7.175 19.825C6.39167 19.0417 6 18.1 6 17C6 15.9 6.39167 14.9583 7.175 14.175C7.95833 13.3917 8.9 13 10 13C10.3833 13 10.7375 13.0458 11.0625 13.1375C11.3875 13.2292 11.7 13.3667 12 13.55V4C12 3.71667 12.0958 3.47917 12.2875 3.2875C12.4792 3.09583 12.7167 3 13 3H17C17.2833 3 17.5208 3.09583 17.7125 3.2875C17.9042 3.47917 18 3.71667 18 4V6C18 6.28333 17.9042 6.52083 17.7125 6.7125C17.5208 6.90417 17.2833 7 17 7H14V17C14 18.1 13.6083 19.0417 12.825 19.825C12.0417 20.6083 11.1 21 10 21Z",fill:"currentColor"})]})}))}a.displayName=a.name+" [from "+f.id+"]";g.EightNoteIcon=a}),98); __d("WAWebExplicitIcon.react",["WAWebSvgComponentBase","react","stylex"],(function(a,b,c,d,e,f,g){var h,i,j=h||c("react"),k="explicit";function a(a){var b=a.iconXstyle,e=a.height,f=a.width,g=a.viewBox;a=babelHelpers.objectWithoutPropertiesLoose(a,["iconXstyle","height","width","viewBox"]);var h;if(g){var l=g.x;l=l===void 0?0:l;var m=g.y;m=m===void 0?0:m;var n=g.width;n=n===void 0?0:n;g=g.height;g=g===void 0?0:g;h=[l,m,n,g].join(" ")}l=16;m=16;(e!=null||f!=null)&&(l=e,m=f);return j.jsx(d("WAWebSvgComponentBase").BaseSvgSpan,babelHelpers["extends"]({name:k},a,{children:j.jsxs("svg",{viewBox:(n=h)!=null?n:"0 0 16 16",height:l,width:m,preserveAspectRatio:"xMidYMid meet",className:(i||(i=c("stylex")))(b),fill:"none",color:"#737373",children:[j.jsx("title",{children:k}),j.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0.5C1.84315 0.5 0.5 1.84315 0.5 3.5V12.5C0.5 14.1569 1.84315 15.5 3.5 15.5H12.5C14.1569 15.5 15.5 14.1569 15.5 12.5V3.5C15.5 1.84315 14.1569 0.5 12.5 0.5H3.5ZM11.0371 12.375V11.0139H6.91113V8.5481H10.8113V7.26636H6.91113V4.92871H11.0371V3.56763H5.33643V12.375H11.0371Z",fill:"currentColor"})]})}))}a.displayName=a.name+" [from "+f.id+"]";g.ExplicitIcon=a}),98); __d("WAWebFetchMusicEligibleCountries",["WALogger","WAWebACSNetwork","WAWebCountriesUtils","WAWebNetworkStatus","asyncToGeneratorRuntime","err"],(function(a,b,c,d,e,f,g){"use strict";function h(){var a=babelHelpers.taggedTemplateLiteralLoose(["Failed to fetch music eligible countries"]);h=function(){return a};return a}var i="8360352280687329",j="https://acs.whatsapp.com/graphql";function a(){return k.apply(this,arguments)}function k(){k=b("asyncToGeneratorRuntime").asyncToGenerator(function*(){yield c("WAWebNetworkStatus").waitIfOffline();try{var a=new FormData();a.append("doc_id",i);a=(yield d("WAWebACSNetwork").fetchWithACSCredential({project:"WA_StatusMusic",url:j,data:a}));if(a==null)throw c("err")("Failed to fetch music eligible countries");a=(yield a.json());a=a.data.xwa_music_eligible_countries.reduce(function(a,b){if(typeof b!=="string")return a;b=d("WAWebCountriesUtils").asISOCountryCode(b);b!=null&&a.add(b);return a},new Set());return a}catch(a){d("WALogger").ERROR(h()).devConsole(a);throw a}});return k.apply(this,arguments)}g.fetchMusicEligibleCountries=a}),98); __d("WAWebNetworkResourceCache",["WAPromiseCache","err"],(function(a,b,c,d,e,f,g){var h=function(){if(i)throw c("err")("An instance of NetworkResourceCache is already created, use getNetworkResourceCache.");var a=function(a){return self.fetch(a).then(function(a){return a.json()})};this.cache==null&&(this.cache=new(c("WAPromiseCache"))(function(b){return a(b)},{maxCached:100,maxAge:36e4,shouldCache:function(a){return!!a}}))},i;function a(){i||(i=new h());return i}g.getNetworkResourceCache=a}),98); __d("WAWebUseLottie.react",["invariant","$InternalEnum","WALogger","WAWeb-lottie-light","WAWebNetworkResourceCache","lodash","react","stylex"],(function(a,b,c,d,e,f,g,h){var i,j,k;function l(){var a=babelHelpers.taggedTemplateLiteralLoose(["Destroying animation failed"]);l=function(){return a};return a}e=k||d("react");var m=i||(i=c("react")),n=e.useCallback,o=e.useEffect,p=e.useRef,q=e.useState,r=b("$InternalEnum")({SVG:"svg",Canvas:"canvas"});function a(a){var b=a.autoplay,e=b===void 0?!1:b,f=a.data;b=a.direction;var g=b===void 0?1:b;b=a.fallback;b=b===void 0?null:b;var i=a.loop,k=i===void 0?!1:i,s=a.path;i=a.placeholder;i=i===void 0?null:i;var t=a.renderer,u=t===void 0?r.SVG:t;t=a.speed;var v=t===void 0?1:t;t=a.xstyle;var w=a.wrapperXstyle,x=a.onComplete,y=a.onLoopComplete;a=q(f);var z=a[0],A=a[1];f==null&&s!=null||f!=null&&s==null||h(0,56323);var B=p(),C=p(),D=d("WAWebNetworkResourceCache").getNetworkResourceCache().cache;a=q(s!=null&&(D==null?void 0:D.isCached(s))===!1);var E=a[0],F=a[1];a=q(!1);var G=a[0],H=a[1];o(function(){A(f)},[f]);a=n(function(){var a;(a=B.current)==null?void 0:a.play()},[]);var I=n(function(){var a;(a=B.current)==null?void 0:a.stop()},[]),J=n(function(){var a;(a=B.current)==null?void 0:a.pause()},[]),K=n(function(a,b){var c;(c=B.current)==null?void 0:c.goToAndPlay(a,b)},[]),L=n(function(a,b){var c;(c=B.current)==null?void 0:c.goToAndStop(a,b)},[]),M=n(function(a){var b;(b=B.current)==null?void 0:b.getDuration(a)},[]),N=n(function(a){B.current!=null&&(B.current.loop=a)},[]),O=n(function(a){var b;(b=B.current)==null?void 0:b.addEventListener("loopComplete",a)},[]),P=n(function(){var a;(a=B.current)==null?void 0:a.removeEventListener("loopComplete")},[]);a={play:a,stop:I,pause:J,goToAndPlay:K,goToAndStop:L,getDuration:M,setLoop:N,addOnLoopCompleteHandler:O,removeOnLoopCompleteHandler:P};o(function(){s!=null&&s!==""&&(D==null?void 0:D.getOrRun(s).then(function(a){A(a),F(!1)})["catch"](function(a){return H(!0)}))},[D,s]);o(function(){var a=c("WAWeb-lottie-light").loadAnimation({container:C.current,animationData:c("lodash").cloneDeep(z),renderer:u,loop:k,autoplay:e});a.setSubframe(!1);B.current=a;var b=[{name:"data_failed",handler:function(){return H(!0)}},{name:"complete",handler:function(){x==null?void 0:x()}},{name:"loopComplete",handler:function(){y==null?void 0:y()}}],f=b.map(function(b){a.addEventListener(b.name,b.handler);return function(){return a.removeEventListener(b.name,b.handler)}});return function(){f.forEach(function(a){return a()});try{a.destroy()}catch(a){d("WALogger").DEV(l())}}},[z,u,k,e,x,y]);o(function(){var a;(a=B.current)==null?void 0:a.setSpeed(v)},[v]);o(function(){var a;(a=B.current)==null?void 0:a.setDirection(g)},[g]);I=E&&!G;J=m.jsxs("div",babelHelpers["extends"]({},(j||(j=c("stylex"))).props(w),{children:[m.jsx("div",babelHelpers["extends"]({},j.props(t),{ref:C})),I?i:null,G?b:null]}));return[J,a]}g.Renderer=r;g.useLottie=a}),98); __d("WAWebLottieAnimation.react",["WAWebUseLottie.react","react"],(function(a,b,c,d,e,f,g){var h;h||(h=d("react"));var i=h.useImperativeHandle;function a(a){var b=a.ref;a=babelHelpers.objectWithoutPropertiesLoose(a,["ref"]);a=d("WAWebUseLottie.react").useLottie(a);var c=a[0],e=a[1];i(b,function(){return e});return c}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("WAWebMediaDownloadMmsMusicArtwork",["WAAbortError","WABase64","WALogger","WAWebDownloadManager","WAWebMmsMediaTypes","WAWebSerializeError","asyncToGeneratorRuntime"],(function(a,b,c,d,e,f,g){"use strict";function h(){var a=babelHelpers.taggedTemplateLiteralLoose(["media.downloadMusicArtwork"]);h=function(){return a};return a}function i(){var a=babelHelpers.taggedTemplateLiteralLoose(["media.downloadMusicArtwork aborted"]);i=function(){return a};return a}function a(a){return j.apply(this,arguments)}function j(){j=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a){var b=a.msg,e=a.musicMetadata;a=a.signal;try{var f=e.artworkDirectPath,g=e.artworkSha256,j=e.artworkEncSha256;if(f==null||g==null||j==null)return;f=(yield d("WAWebDownloadManager").downloadManager.downloadAndMaybeDecrypt({directPath:f,encFilehash:j,filehash:g,mediaKey:e.artworkMediaKey,signal:a||new AbortController().signal,type:d("WAWebMmsMediaTypes").MEDIA_TYPES.MUSIC_ARTWORK,userDownloadAttemptCount:0}));j=d("WABase64").encodeB64(f);b.musicArtwork=j;return j}catch(a){if(a.name===d("WAAbortError").ABORT_ERROR){d("WALogger").LOG(i());return}d("WALogger").WARN(h()).verbose().devConsole(c("WAWebSerializeError")(a))}});return j.apply(this,arguments)}g.downloadMusicArtwork=a}),98); __d("WAWebMusicArtwork.react",["fbt","WALogger","WAWebAlertIcon.react","WAWebEightNoteIcon.react","WAWebFlex.react","WAWebImg.react","WAWebMediaDownloadMmsMusicArtwork","WAWebMsgGetters","WAWebSpinner.react","react","useWAWebMsgValues"],(function(a,b,c,d,e,f,g,h){"use strict";var i;function j(){var a=babelHelpers.taggedTemplateLiteralLoose(["music: failed to download music artwork"]);j=function(){return a};return a}var k=i||(i=d("react"));b=i;var l=b.useEffect,m=b.useState,n={icon:{color:"xht95ry",$$css:!0},spinner:{stroke:"xgl03ia",$$css:!0}},o=25;function a(a){var b=a.msg,c=a.musicMetadata;a=m(!0);var e=a[0],f=a[1];a=m(!1);var g=a[0],h=a[1];a=d("useWAWebMsgValues").useMsgValues(b.id,[d("WAWebMsgGetters").getMusicArtwork]);a=a[0];var i=c.title,n=c.author;l(function(){d("WAWebMediaDownloadMmsMusicArtwork").downloadMusicArtwork({musicMetadata:c,msg:b})["catch"](function(){d("WALogger").WARN(j()).devConsole(c),h(!0)})["finally"](function(){return f(!1)})},[c,b]);return k.jsx(d("WAWebFlex.react").FlexRow,{align:"center",justify:"center",className:"x29ncy0 x14nwjz3 x1lq5wgf xgqcy7u x30kzoy x9jhf4c x1786zcw",children:k.jsx(p,{artworkSrc:a,author:n,hasError:g,isLoading:e,title:i})})}a.displayName=a.name+" [from "+f.id+"]";function p(a){var b=a.artworkSrc,e=a.author,f=a.hasError,g=a.isLoading;a=a.title;if(g)return k.jsx(d("WAWebSpinner.react").Spinner,{size:40,color:n.spinner});if(f)return k.jsx(d("WAWebAlertIcon.react").AlertIcon,{height:o,width:o,xstyle:n.icon,"aria-label":q.error(e,a).toString()});return b==null?k.jsx(d("WAWebEightNoteIcon.react").EightNoteIcon,{height:o,width:o,iconXstyle:n.icon,"aria-label":q.alt(e,a).toString()}):k.jsx(c("WAWebImg.react"),{alt:q.alt(e,a).toString(),className:"x29ncy0 x14nwjz3 x1lq5wgf xgqcy7u x30kzoy x9jhf4c x1786zcw",src:"data:image/jpeg;base64,"+b})}p.displayName=p.name+" [from "+f.id+"]";var q={alt:function(a,b){return h._(/*BTDS*/"__JHASH__Z2lDBpuKar-__JHASH__",[h._param("song_title",b),h._param("song_author",a)])},error:function(a,b){return h._(/*BTDS*/"__JHASH__nZ19E-K5Vw4__JHASH__",[h._param("song_title",b),h._param("song_author",a)])}};g["default"]=a}),226); __d("WAWebMusicGatingUtils",["WAWebABProps"],(function(a,b,c,d,e,f,g){"use strict";function a(){return d("WAWebABProps").getABPropConfigValue("wabba_receiver_enabled")}function b(){return d("WAWebABProps").getABPropConfigValue("wabba_save_to_camera_roll_enabled")}g.isStatusMusicReceiverEnabled=a;g.isStatusMusicSaveToDiskEnabled=b}),98); __d("WAWebMusicUserPrefs",["WATimeUtils","WAWebCountriesUtils","WAWebUserPrefsKeys","WAWebUserPrefsStore"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b=d("WATimeUtils").unixTime();c("WAWebUserPrefsStore").setUser(d("WAWebUserPrefsKeys").UserPrefs.MusicEligibleCountries,{countries:Array.from(a),epoch:b})}function b(){var a=c("WAWebUserPrefsStore").getUser(d("WAWebUserPrefsKeys").UserPrefs.MusicEligibleCountries);if(a==null||typeof a!=="object")return null;var b=a.countries;a=a.epoch;if(!Array.isArray(b)||typeof a!=="number")return null;return d("WATimeUtils").unixTime()-a>d("WATimeUtils").WEEK_SECONDS?null:b.reduce(function(a,b){if(typeof b!=="string")return a;b=d("WAWebCountriesUtils").asISOCountryCode(b);b!=null&&a.add(b);return a},new Set())}g.setMusicEligibleCountries=a;g.getMusicEligibleCountries=b}),98); __d("WAWebMusicEligibleCountriesProvider",["WALogger","WAWebCountriesUtils","WAWebFetchMusicEligibleCountries","WAWebMusicGatingUtils","WAWebMusicUserPrefs"],(function(a,b,c,d,e,f,g){"use strict";function h(){var a=babelHelpers.taggedTemplateLiteralLoose(["Failed to fetch music eligible countries"]);h=function(){return a};return a}function a(){if(!d("WAWebMusicGatingUtils").isStatusMusicReceiverEnabled())return new Set();var a=d("WAWebMusicUserPrefs").getMusicEligibleCountries();if(a!=null)return a;d("WAWebFetchMusicEligibleCountries").fetchMusicEligibleCountries().then(d("WAWebMusicUserPrefs").setMusicEligibleCountries)["catch"](function(a){return d("WALogger").ERROR(h()).devConsole(a)});return i()}var i=function(){return new Set(["AS","AU","GU","MP","NZ","PR","US","GB","FR","DE","SE","IT","MX","PT","CZ","BE","CH","LI","ES","IE","LU","MC","GP","GF","RE","YT","MQ","CY","GI","MT","DZ","BF","EG","GH","KE","LS","MW","MA","NA","NG","ZA","SZ","TZ","TN","UG","ZM","ZW","VN","ID","MY","AR","BR","RO","NL","DK","FI","NO","IS","CO","CL","PE","UY","PY","VE","VI","EC","BO","HN","CR","DO","PA","NI","GT","SV","SK","AL","AM","GE","LV","CM","CV","GN","ML","RW","SN","SC","CA","TR","JP","HR","IN","AT","LT","EE","RS","BA","ME","MK","IL","KR","BG","TH","SA","AE","IQ","JO","KW","LB","LY","OM","PS","QA","TJ","YE","IM","JE","GG","AF","BD","KH","LK","NP","PK","RU","KG","UZ","TM","XK","SM","VA","LA","PL","SG","PH","KZ","MN","CX","CC","HM","NF","SB","VU","FJ","FM","NR","PW","KI","WS","TV","CK","TK","TO","NU","JM","TT","AI","AG","AW","BB","BZ","BM","BS","CW","DM","FK","GS","GY","GD","KY","MS","KN","LC","VC","SX","TC","SR","HK","MO","TW","UA","TF","AO","TG","BW","BJ","IO","MZ","SH","PF","WF","PG","MH","PN","BN","FO","SJ","HU","GR","BL","MF","PM","GL"].map(d("WAWebCountriesUtils").asISOCountryCode).filter(Boolean))};g.provideMusicEligibleCountries=a;g.getDefaultMusicEligibleCountries=i}),98); __d("WAWebMusicPlaybackUtils",["WAWebCountriesUtils","WAWebL10NCountryCodes","WAWebUserPrefsMeUser"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){var c=h();return c!=null&&b.has(c)&&!a.has(c)}function h(){var a=d("WAWebUserPrefsMeUser").getMaybeMeUser();return a==null?null:d("WAWebCountriesUtils").asISOCountryCode(d("WAWebL10NCountryCodes").getCountryShortcodeByPhone(a.user))}function b(){var a=h();if(a==null)return null;switch(a){case"AC":return"SH";default:a;return a}}g.canPlaybackMusic=a;g.getUserCountryCode=h;g.getUserCountryCodeForSNAPL=b}),98); __d("WAWebMusicSoundAnimationData",[],(function(a,b,c,d,e,f){"use strict";a={v:"5.8.1",fr:60,ip:0,op:120,w:24,h:24,nm:"wds_icon_animated_equalizer_v2",ddd:0,assets:[],layers:[{ddd:0,ind:1,ty:4,nm:"Shape Layer 3",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[25.422,12,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.6,y:1},o:{x:.4,y:0},t:0,s:[{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[-6.906,5.891],[-6.906,-1.987]],c:!1}]},{i:{x:.6,y:1},o:{x:.4,y:0},t:24,s:[{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[-6.906,5.891],[-6.906,0]],c:!1}]},{i:{x:.6,y:1},o:{x:.4,y:0},t:43,s:[{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[-6.906,5.891],[-6.906,-5.984]],c:!1}]},{i:{x:.6,y:1},o:{x:.4,y:0},t:67,s:[{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[-6.906,5.891],[-6.906,0]],c:!1}]},{i:{x:.6,y:1},o:{x:.4,y:0},t:86,s:[{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[-6.906,5.891],[-6.906,-5.984]],c:!1}]},{i:{x:.6,y:1},o:{x:.4,y:0},t:104,s:[{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[-6.906,5.891],[-6.906,0]],c:!1}]},{t:120,s:[{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[-6.906,5.891],[-6.906,-1.987]],c:!1}]}],ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.914,.929,.937,.76],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:3,ix:5},lc:2,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:695,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"Shape Layer 2",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[19.398,12,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.6,y:1},o:{x:.4,y:0},t:0,s:[{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[-6.906,5.891],[-6.906,0]],c:!1}]},{i:{x:.6,y:1},o:{x:.4,y:0},t:12,s:[{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[-6.906,5.891],[-6.906,-5.984]],c:!1}]},{i:{x:.6,y:1},o:{x:.4,y:0},t:31,s:[{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[-6.906,5.891],[-6.906,0]],c:!1}]},{i:{x:.6,y:1},o:{x:.4,y:0},t:60,s:[{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[-6.906,5.891],[-6.906,-5.984]],c:!1}]},{i:{x:.6,y:1},o:{x:.4,y:0},t:77,s:[{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[-6.906,5.891],[-6.906,0]],c:!1}]},{i:{x:.6,y:1},o:{x:.4,y:0},t:92,s:[{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[-6.906,5.891],[-6.906,-5.984]],c:!1}]},{t:120,s:[{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[-6.906,5.891],[-6.906,0]],c:!1}]}],ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.914,.929,.937,.76],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:3,ix:5},lc:2,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:695,st:0,bm:0},{ddd:0,ind:3,ty:4,nm:"Shape Layer 1",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[13.422,12,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.667,y:1},o:{x:.333,y:0},t:0,s:[{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[-6.906,5.891],[-6.906,-5.984]],c:!1}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:17,s:[{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[-6.906,5.891],[-6.906,-1.987]],c:!1}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:36,s:[{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[-6.906,5.891],[-6.906,-5.984]],c:!1}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:52,s:[{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[-6.906,5.891],[-6.906,-1.987]],c:!1}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:73,s:[{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[-6.906,5.891],[-6.906,-5.984]],c:!1}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:96,s:[{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[-6.906,5.891],[-6.906,-1.987]],c:!1}]},{t:120,s:[{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[-6.906,5.891],[-6.906,-5.984]],c:!1}]}],ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.914,.929,.937,.76],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:3,ix:5},lc:2,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:695,st:0,bm:0}],markers:[{tm:120,cm:"End",dr:0}]};f["default"]=a}),66); __d("WAWebMusicSoundAnimation.react",["WAWebLottieAnimation.react","WAWebMusicSoundAnimationData","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){a=a.play;return i.jsx(c("WAWebLottieAnimation.react"),{loop:!0,autoplay:a,data:c("WAWebMusicSoundAnimationData")})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("useWAWebStatusCanPlaybackAudio",["WAWebMsgGetters","WAWebMusicEligibleCountriesProvider","WAWebMusicGatingUtils","WAWebMusicPlaybackUtils","react","useWAWebMsgValues"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useMemo;function a(a){a=d("useWAWebMsgValues").useMsgValues(a.id,[d("WAWebMsgGetters").getFirstMusicAnnotationEmbeddedContent]);var b=a[0],c=d("WAWebMusicEligibleCountriesProvider").provideMusicEligibleCountries(),e=d("WAWebMusicGatingUtils").isStatusMusicReceiverEnabled();return i(function(){if(b==null)return!0;return!e?!1:d("WAWebMusicPlaybackUtils").canPlaybackMusic(b.countryBlocklist,c)},[c,b,e])}g.useStatusCanPlaybackAudio=a}),98); __d("WAWebMusicStatusAttribution.react",["fbt","WALogger","WAWebConfirmPopup.react","WAWebEightNoteIcon.react","WAWebExplicitIcon.react","WAWebExternalLink.react","WAWebFbtCommon","WAWebFlex.react","WAWebL10N","WAWebMediaDownloadMmsMusicArtwork","WAWebModal.react","WAWebModalManager","WAWebMusicArtwork.react","WAWebMusicSoundAnimation.react","WAWebText.react","react","useWAWebStatusCanPlaybackAudio"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j;function k(){var a=babelHelpers.taggedTemplateLiteralLoose(["music: failed to download music artwork"]);k=function(){return a};return a}var l=j||c("react"),m=(i||(i=d("react"))).useEffect,n={explicitIcon:{color:"xlikyye",$$css:!0},noteIcon:{color:"xlikyye",$$css:!0},animationWrapper:{width:"x1kky2od",height:"xlup9mm",$$css:!0}};function a(a){var b=a.msg,e=a.musicMetadata;a=a.playing;b=d("useWAWebStatusCanPlaybackAudio").useStatusCanPlaybackAudio(b);if(!b)return l.jsxs(d("WAWebFlex.react").FlexRow,{align:"center",gap:4,testid:void 0,children:[l.jsx(d("WAWebFlex.react").FlexItem,{shrink:0,children:l.jsx(p,{})}),l.jsx(d("WAWebFlex.react").FlexItem,{className:"xlyipyv x6ikm8r x10wlt62 xuxw1ft",children:q.songUnavailable()})]});b=e.isExplicit?l.jsx(d("WAWebExplicitIcon.react").ExplicitIcon,{height:12,width:12,"aria-label":q.explicitContent(),iconXstyle:n.explicitIcon}):null;var f=l.jsx("strong",{children:e.author},"author");f=c("WAWebL10N").isRTL()?[e.title,f]:[f,e.title];e=f[0];f=f[1];return l.jsxs(d("WAWebFlex.react").FlexRow,{align:"center",gap:4,children:[l.jsx(d("WAWebFlex.react").FlexItem,{shrink:0,xstyle:n.animationWrapper,children:l.jsx(c("WAWebMusicSoundAnimation.react"),{play:a})}),l.jsxs(d("WAWebFlex.react").FlexItem,{testid:void 0,className:"xlyipyv x6ikm8r x10wlt62 xuxw1ft",children:[e," ",f]}),l.jsx(d("WAWebFlex.react").FlexItem,{shrink:0,children:b})]})}a.displayName=a.name+" [from "+f.id+"]";function o(a){var b=a.msg,e=a.musicMetadata,f=a.statusMediaController;a=e.artistAttribution;var g=d("useWAWebStatusCanPlaybackAudio").useStatusCanPlaybackAudio(b);m(function(){g&&d("WAWebMediaDownloadMmsMusicArtwork").downloadMusicArtwork({musicMetadata:e,msg:b})["catch"](function(){d("WALogger").WARN(k()).devConsole(e)})},[e,b,g]);a=g?l.jsxs(l.Fragment,{children:[l.jsx(c("WAWebMusicArtwork.react"),{msg:b,musicMetadata:e}),l.jsx(d("WAWebText.react").WAWebTextLarge,{marginBottom:12,marginTop:16,children:e.title}),l.jsx(d("WAWebText.react").WAWebTextTitle,{marginBottom:12,children:e.author}),a!=null&&l.jsx(d("WAWebExternalLink.react").ExternalLink,{href:a,children:q.artistLinkText()})]}):l.jsx("span",{children:q.songUnavailableModal()});var h=function(){d("WAWebModalManager").ModalManager.close(),f.play()};return l.jsx(d("WAWebConfirmPopup.react").ConfirmPopup,{type:d("WAWebModal.react").ModalTheme.MusicAttribution,onCancel:h,cancelText:g?c("WAWebFbtCommon")("Close"):c("WAWebFbtCommon")("OK"),children:l.jsx(d("WAWebFlex.react").FlexColumn,{align:g?"center":"start",justify:"center",paddingTop:20,children:a})})}o.displayName=o.name+" [from "+f.id+"]";function b(a,b,c){c.pause();return d("WAWebModalManager").ModalManager.open(l.jsx(o,{msg:b,musicMetadata:a,statusMediaController:c}))}function p(){return l.jsx(d("WAWebEightNoteIcon.react").EightNoteIcon,{iconXstyle:n.noteIcon,height:18,viewBox:{x:6,y:0,height:24,width:14}})}p.displayName=p.name+" [from "+f.id+"]";var q={songUnavailable:function(){return h._(/*BTDS*/"__JHASH__S5d9EM9JgdO__JHASH__")},songUnavailableModal:function(){return h._(/*BTDS*/"__JHASH__hh6CW1SMeLF__JHASH__")},artistLinkText:function(){return h._(/*BTDS*/"__JHASH__CDEz4ztlc6Q__JHASH__")},explicitContent:function(){return h._(/*BTDS*/"__JHASH__ck--iTrjSHt__JHASH__")}};g.MusicStatusAttribution=a;g.showMusicStatusAttributionModal=b}),226); __d("WAWebRepeatIcon.react",["WAWebSvgComponentBase","react","stylex"],(function(a,b,c,d,e,f,g){var h,i,j=h||c("react"),k="repeat";function a(a){var b=a.iconXstyle,e=a.height,f=a.width,g=a.viewBox;a=babelHelpers.objectWithoutPropertiesLoose(a,["iconXstyle","height","width","viewBox"]);var h;if(g){var l=g.x;l=l===void 0?0:l;var m=g.y;m=m===void 0?0:m;var n=g.width;n=n===void 0?0:n;g=g.height;g=g===void 0?0:g;h=[l,m,n,g].join(" ")}l=24;m=24;(e!=null||f!=null)&&(l=e,m=f);return j.jsx(d("WAWebSvgComponentBase").BaseSvgSpan,babelHelpers["extends"]({name:k},a,{children:j.jsxs("svg",{viewBox:(n=h)!=null?n:"0 0 24 24",height:l,width:m,preserveAspectRatio:"xMidYMid meet",className:(i||(i=c("stylex")))(b),fill:"none",children:[j.jsx("title",{children:k}),j.jsx("mask",{id:"mask0_9226_27743",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:0,width:24,height:24,children:j.jsx("rect",{width:24,height:24,fill:"#D9D9D9"})}),j.jsx("g",{mask:"url(#mask0_9226_27743)",children:j.jsx("path",{d:"M7 22L3 18L7 14L8.4 15.45L6.85 17H17V13H19V19H6.85L8.4 20.55L7 22ZM5 11V5H17.15L15.6 3.45L17 2L21 6L17 10L15.6 8.55L17.15 7H7V11H5Z",fill:"currentColor"})})]})}))}a.displayName=a.name+" [from "+f.id+"]";g.RepeatIcon=a}),98); __d("WAWebReportStatusPopup.react",["fbt","WAWebBlocklistUtils","WAWebCheckBox.react","WAWebConfirmPopup.react","WAWebExternalLink.react","WAWebFaqUrl","WAWebFbtCommon","WAWebFrontendContactGetters","WAWebModal.react","WAWebName.react","WAWebReportGatingUtils","WAWebReportPopupBase.react","WAWebText_DONOTUSE.react","WAWebUIRefreshGatingUtils","WAWebUISpacing","asyncToGeneratorRuntime","react","stylex","useWAWebContactValues"],(function(a,b,c,d,e,f,g,h){var i,j,k,l=k||c("react"),m=(i||(i=d("react"))).useState,n={border:{borderBottomWidth:"xso031l",borderBottomStyle:"x1q0q8m5",borderBottomColor:"x1uqklw9",$$css:!0}},o=l.jsx(d("WAWebExternalLink.react").ExternalLink,{href:d("WAWebFaqUrl").getBlockingReportingFaqUrl(),testid:void 0,children:c("WAWebFbtCommon")("Learn more")});function p(a){var c=a.onCancel,e=a.onReport,f=a.contact;a=d("useWAWebContactValues").useContactValues(f.id,[d("WAWebFrontendContactGetters").getIsContactBlocked]);a=a[0];var g=l.jsx(d("WAWebName.react").Name,{contact:f}),i=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(){e(!1)});return function(){return a.apply(this,arguments)}}(),j=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(){e(!0)});return function(){return a.apply(this,arguments)}}(),k=function(){return f.isBusiness?h._(/*BTDS*/"__JHASH__aD2LEEnNDiY__JHASH__",[h._param("link to learn more",o)]):h._(/*BTDS*/"__JHASH__NZrrwxvou7c__JHASH__",[h._param("link to learn more",o)])};return l.jsx(d("WAWebReportPopupBase.react").ReportPopupBase,{hasAdditionalAction:!a,reportSubText:k(),additionalActionLabelText:d("WAWebReportPopupBase.react").getBlockLabelText(!1,g),additionalActionSubText:d("WAWebReportPopupBase.react").getBlockSubText({isBizBot3p:!1,isBusiness:f.isBusiness,isGroup:!1,isCommunityAnnouncementGroup:!1}),onSendReport:i,onSendReportAndAdditionalAction:j,onCancel:c,type:d("WAWebModal.react").ModalTheme.StatusReport})}p.displayName=p.name+" [from "+f.id+"]";function a(a){var b=a.onCancel,e=a.onReport,f=a.contact,g=m(!1),i=g[0],k=g[1];if(d("WAWebBlocklistUtils").isRBIRevampedBlockReportDesignEnabled())return l.jsx(p,babelHelpers["extends"]({},a));g=l.jsx(d("WAWebName.react").Name,{contact:f});a=h._(/*BTDS*/"__JHASH__t9dxD19afx4__JHASH__",[h._param("contact",g)]);f.isBusiness?g=d("WAWebReportGatingUtils").isUKOSAReportingEnabled()?h._(/*BTDS*/"__JHASH__4EpEbd30pIy__JHASH__",[h._param("link to learn more",o)]):h._(/*BTDS*/"__JHASH__VDmLHtB6rOq__JHASH__"):g=d("WAWebReportGatingUtils").isUKOSAReportingEnabled()?h._(/*BTDS*/"__JHASH__oIVUJjhyzHj__JHASH__",[h._param("link to learn more",o)]):h._(/*BTDS*/"__JHASH__s4B5sVPGE43__JHASH__");f=h._(/*BTDS*/"__JHASH__SE0E52sgwm4__JHASH__");return l.jsxs(d("WAWebConfirmPopup.react").ConfirmPopup,{onOK:function(){return e(i)},okButtonType:d("WAWebUIRefreshGatingUtils").uiRefreshM1Enabled()?"solid-warning":void 0,type:d("WAWebModal.react").ModalTheme.StatusReport,okText:h._(/*BTDS*/"__JHASH___ukvLkmB7Jw__JHASH__"),onCancel:b,title:a,children:[l.jsxs("div",babelHelpers["extends"]({},(j||(j=c("stylex"))).props(d("WAWebUISpacing").uiMargin.vert12,d("WAWebUISpacing").uiPadding.bottom20,n.border,d("WAWebUISpacing").uiMargin.end0),{children:[l.jsx(d("WAWebCheckBox.react").CheckBox,{onChange:function(){return k(function(a){return!a})},checked:i,id:"status-report-upsell-block"}),l.jsx(d("WAWebText_DONOTUSE.react").TextLabel,{className:j(d("WAWebUISpacing").uiMargin.start8),htmlFor:"status-report-upsell-block",children:f})]})),l.jsx(d("WAWebText_DONOTUSE.react").TextParagraph,{xstyle:d("WAWebUISpacing").uiMargin.bottom12,children:g})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226); __d("WAWebRevokeStatusAction",["invariant","WAJids","WALogger","WATimeUtils","WAWebAck","WAWebDBMessageDelete","WAWebDBProcessMessage","WAWebEncryptAndSendStatusMsg","WAWebMessageSendPerfReporter","WAWebMsgKey","WAWebMsgModel","WAWebMsgType","WAWebOutgoingMessage","WAWebPostSendStatusFailure","WAWebSendMsgMetricReporter","WAWebSendMsgTypes","WAWebUserPrefsMeUser","WAWebViewMode.flow","WAWebWidFactory","asyncToGeneratorRuntime"],(function(a,b,c,d,e,f,g,h){function i(){var a=babelHelpers.taggedTemplateLiteralLoose(["sendStatusRevokeMsgAction: failed"]);i=function(){return a};return a}function j(){var a=babelHelpers.taggedTemplateLiteralLoose(["sendStatusRevokeMsgAction: remove status from storage"]);j=function(){return a};return a}function k(){var a=babelHelpers.taggedTemplateLiteralLoose(["sendStatusRevokeMsgAction: done"]);k=function(){return a};return a}function l(){var a=babelHelpers.taggedTemplateLiteralLoose(["sendStatusRevokeMsgAction: generate protobuf ",""]);l=function(){return a};return a}function m(){var a=babelHelpers.taggedTemplateLiteralLoose(["sendStatusRevokeMsgAction: start to send revoke status messege ",""]);m=function(){return a};return a}function n(){var a=babelHelpers.taggedTemplateLiteralLoose(["sendStatusRevokeMsgAction: send revoke status messege ",""]);n=function(){return a};return a}function a(a,b){return o.apply(this,arguments)}function o(){o=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b){var c;d("WALogger").LOG(n(),b.id);var e=(yield p(b));e!=null||h(0,74709);var f=new(d("WAWebMsgModel").Msg)(e);f.wamMessageSendPerfReporter=new(d("WAWebMessageSendPerfReporter").MessageSendPerfReporter)({chatWid:b.to,mediaType:b.getWamMediaType(),messageType:b.getWamMessageType()});var g=d("WAWebSendMsgMetricReporter").createMsgModelMetricReporter(f);g.sendReporter=(c=g.sendReporter)!=null?c:g.createSendReporter();(c=g.sendPerfReporter)==null?void 0:c.startSavedStage();yield d("WAWebDBProcessMessage").storeMessages([e],f.to);(c=g.sendPerfReporter)==null?void 0:c.postSavedStage();(c=g.sendPerfReporter)==null?void 0:c.startRenderedStage();a.revokeMsgs([b.id.toString()]);d("WALogger").LOG(m(),b.id).devConsole(e);(c=g.sendPerfReporter)==null?void 0:c.postRenderedStage();a={type:d("WAWebSendMsgTypes").SendMessageRecordType.Message,data:f};e=d("WAWebOutgoingMessage").createOutgoingMessageProtobuf(d("WAWebOutgoingMessage").OutgoingMessageOriginType.Status,a);d("WALogger").LOG(l(),b.id).devConsole(e);try{yield d("WAWebEncryptAndSendStatusMsg").encryptAndSendStatusMsg(a,e,g);d("WALogger").LOG(k());(c=g.sendReporter)==null?void 0:c.postSuccess();yield d("WAWebDBMessageDelete").removeStatusMessage([b.id.toString()]);d("WALogger").LOG(j())}catch(a){d("WALogger").LOG(i()),d("WAWebPostSendStatusFailure").postStatusSendFailure(a,g)}});return o.apply(this,arguments)}function p(a){return q.apply(this,arguments)}function q(){q=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a){var b=d("WAWebWidFactory").createWid(d("WAJids").STATUS_JID),e=d("WAWebUserPrefsMeUser").getMeUser(),f=e;f=new(c("WAWebMsgKey"))({from:e,to:b,id:yield c("WAWebMsgKey").newId(),participant:f,selfDir:"out"});var g=d("WATimeUtils").unixTime();f={id:f,author:e,type:d("WAWebMsgType").MSG_TYPE.PROTOCOL,kind:d("WAWebMsgType").MsgKind.ProtocolRevoke,viewMode:d("WAWebViewMode.flow").ViewModeType.VISIBLE,subtype:"sender_revoke",t:g,from:e,to:b,local:!0,revokeDuration:g-a.t,revokeTimestamp:g,protocolMessageKey:a.id,ack:d("WAWebAck").ACK.CLOCK};return f});return q.apply(this,arguments)}g["default"]=a}),98); __d("WAWebSNAPLPersistentId",["WAWebPonyfillsCryptoRandomUUID"],(function(a,b,c,d,e,f,g){"use strict";function a(){return c("WAWebPonyfillsCryptoRandomUUID")()}function b(a){return a}g.computeSNAPLPersistentId=a;g.castToSNAPLPersistentId=b}),98); __d("WAWebSNAPLUserPrefs",["WAWebSNAPLPersistentId","WAWebUserPrefsKeys","WAWebUserPrefsStore","WAWebWamEnumMessageType","err"],(function(a,b,c,d,e,f,g){"use strict";function h(a,b,e){switch(e){case d("WAWebWamEnumMessageType").MESSAGE_TYPE.CHANNEL:c("WAWebUserPrefsStore").setUser(d("WAWebUserPrefsKeys").UserPrefs.SNAPLNewsLetterPersistentId,{persistentId:a,mediaId:b});break;case d("WAWebWamEnumMessageType").MESSAGE_TYPE.STATUS:c("WAWebUserPrefsStore").setUser(d("WAWebUserPrefsKeys").UserPrefs.SNAPLPersistentId,{persistentId:a,mediaId:b});break;default:throw c("err")("Invalid video origin")}}function a(a,b){var e=null;switch(b){case d("WAWebWamEnumMessageType").MESSAGE_TYPE.CHANNEL:e=d("WAWebUserPrefsKeys").UserPrefs.SNAPLNewsLetterPersistentId;break;case d("WAWebWamEnumMessageType").MESSAGE_TYPE.STATUS:e=d("WAWebUserPrefsKeys").UserPrefs.SNAPLPersistentId;break;default:throw c("err")("Invalid video origin")}if(e==null)throw c("err")("Invalid video origin");e=c("WAWebUserPrefsStore").getUser(e);if(e==null||typeof e!=="object")return i(a,b);var f=e.persistentId;e=e.mediaId;return typeof f!=="string"||typeof e!=="string"?i(a,b):d("WAWebSNAPLPersistentId").castToSNAPLPersistentId(f)}function i(a,b){var c=d("WAWebSNAPLPersistentId").computeSNAPLPersistentId();h(c,a,b);return c}g.getSNAPLPersistentId=a}),98); __d("WAWebStatusSetAndSyncMute",["WATimeUtils","WAWebLidAwareContactsDB","WAWebSyncdCoreApi","WAWebUserStatusMuteSync","asyncToGeneratorRuntime"],(function(a,b,c,d,e,f,g){function a(a,b){return h.apply(this,arguments)}function h(){h=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b){var e=(yield c("WAWebUserStatusMuteSync").getMutationForStatusMute(a,b,d("WATimeUtils").unixTimeMs()));yield d("WAWebSyncdCoreApi").lockForSync(["contact"],[e],function(){return c("WAWebLidAwareContactsDB").merge(a.toString({legacy:!0}),{statusMute:b})})});return h.apply(this,arguments)}g.setAndSyncStatusMute=a}),98); __d("WAWebSendStatusMuteAction",["WAWebContactCollection","WAWebStatusSetAndSyncMute","asyncToGeneratorRuntime"],(function(a,b,c,d,e,f,g){function a(a,b){return h.apply(this,arguments)}function h(){h=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a,b){return d("WAWebStatusSetAndSyncMute").setAndSyncStatusMute(a,b).then(function(){var c=d("WAWebContactCollection").ContactCollection.get(a);c={id:a,pushname:(c==null?void 0:c.pushname)||"",type:(c==null?void 0:c.type)||"out",name:c==null?void 0:c.name,statusMute:b};d("WAWebContactCollection").ContactCollection.add(c,{merge:!0})})});return h.apply(this,arguments)}g.setStatusMute=a}),98); __d("WAWebStatusEventHandlersMap",["objectEntries"],(function(a,b,c,d,e,f,g){a=Object.freeze({OnPlay:"onPlay",OnPause:"onPause",OnEnd:"onEnd",OnTimeUpdate:"onTimeUpdate",OnLoad:"onLoad",OnMetadataLoad:"onMetadataLoad",OnMute:"onMute",OnUnmute:"onUnmute",OnResume:"onResume"});b=function(){var a={},b=function(b){return a[b]},d=function(c,d){if(!d)return;var e=b(c);e?e.add(d):a[c]=new Set([d])},e={execute:function(a){var c;for(var d=arguments.length,e=new Array(d>1?d-1:0),f=1;f<d;f++)e[f-1]=arguments[f];(c=b(a))==null?void 0:c.forEach(function(a){a.apply(void 0,e)})},set:d,remove:function(b,c){(b=a[b])==null?void 0:b["delete"](c)},clear:function(){Object.values(a).forEach(function(a){return a.clear()})},bulkSet:function(a){c("objectEntries")(a).forEach(function(a){var b=a[0];a=a[1];return d(b,a)})}};return e};g.MediaEvents=a;g.createHandlersMap=b}),98); __d("WAWebStatusAudioBubble.react",["WAPttComposerScaleWaveform","WAWebClassnames","WAWebClock","WAWebDetailImage.react","WAWebMsgGetters","WAWebNoop","WAWebPttComposerWaveform.react","WAWebPttGetDurationFromMediaOrProtobuf","WAWebPttMessageStatus.scss","WAWebPttStatusIcon.react","WAWebStatusEventHandlersMap","react","useWAWebAnimationFrames","useWAWebModelValues"],(function(a,b,c,d,e,f,g){var h,i;b=i||d("react");var j=h||(h=c("react")),k=b.useEffect,l=b.useMemo,m=b.useState,n=72,o=27,p=280,q=.15,r=.25,s=function(a){a=d("WAWebMsgGetters").getStatusCanvasColor(a);return a==null?null:{fill:a,stroke:a}};function t(a){var b=a.duration,c=a.playbackController;a=m(c.currentTime);var e=a[0],f=a[1];k(function(){var a=function(a){f(a)};c.addListeners({onTimeUpdate:a});return function(){c.removeListener(d("WAWebStatusEventHandlersMap").MediaEvents.OnTimeUpdate,a)}},[]);return j.jsx("div",babelHelpers["extends"]({className:"xseo6mj x17adc0v x1i47q4g x1f6kntn xo1l8bm x10h3iyq x1gnnpzl x78zum5 x6s0dn4 xf4yft xqcmdr3 x1q3qbx4 x4hg4is"},{children:d("WAWebClock").Clock.durationStr(b-e)}))}t.displayName=t.name+" [from "+f.id+"]";function u(a){var b=a.duration,e=a.playbackController,f=a.waveformData,g=d("WAWebPttComposerWaveform.react").WaveformLocation.STATUS_MESSAGE;a=d("WAWebPttComposerWaveform.react").getWaveformBarDimensions(g);var h=a.barWidth;a=a.barSpacing;var i=Math.round(p/(h+a));h=m(e.isPlaying);var k=h[0],n=h[1];a=function(){n(e.isPlaying)};c("useWAWebAnimationFrames")(a,{active:!0});var o=l(function(){var a;a=(a=f)!=null?a:new Uint8Array(64);var d=b/q;d=d*(i*r)+i;a=c("WAPttComposerScaleWaveform")(Array.from(a).map(function(a){return a/100}),d);return a},[b,i,f]);h=l(function(){return j.jsx(d("WAWebPttComposerWaveform.react").Waveform,{getSamples:function(){return o},getCurrentTime:function(){return e.currentTime},getDuration:function(){return b+1},sampleRate:i,mode:d("WAWebPttComposerWaveform.react").WaveformMode.VOICE_STATUS,onSeekEnd:c("WAWebNoop"),location:g,live:k,heightJitterFactor:.2,jitterValuesCount:20})},[e,g,i,b,o,k]);return j.jsx("div",babelHelpers["extends"]({className:"xcxhlts x17adc0v x1dz1jew xy75621 x78zum5 xqcmdr3 x1q3qbx4 x4hg4is"},{children:h}))}u.displayName=u.name+" [from "+f.id+"]";function a(a){var b=a.msg,e=a.playbackController,f=a.isPreview;a=d("useWAWebModelValues").useModelValues(a.mediaData,["waveform","duration"]);var g=Number.isNaN(e.duration)?d("WAWebPttGetDurationFromMediaOrProtobuf").getDurationFromProto(a):e.duration/1e3,h=s(b);a=f?null:j.jsx(u,{duration:g,playbackController:e,waveformData:a.waveform});f=f?null:j.jsx(t,{duration:g,playbackController:e});return j.jsxs("div",babelHelpers["extends"]({className:"x1czfd9k xwc1p85 x1nh4oco xyi19xy x1ccrb07 xtf3nb5 x1pc53ja x78zum5 x1fpc5dy"},{children:[j.jsxs("div",babelHelpers["extends"]({className:"xni59qk xy75621 x187xtus xcxhlts x13ibhcj x78zum5 xl56j7k x6s0dn4 x1a02dak x1n2onr6"},{children:[j.jsx(d("WAWebDetailImage.react").DetailImage,{id:b.senderObj.id,size:n}),j.jsx("span",{className:d("WAWebClassnames").classnamesConvertMeToStylexPlease("x11uqc5h x10l6tqk xuufjb4 x1coevs8",c("WAWebPttMessageStatus.scss").voiceStatus),style:h,children:j.jsx(d("WAWebPttStatusIcon.react").PttStatusIcon,{width:o,height:o})})]})),a,f]}))}a.displayName=a.name+" [from "+f.id+"]";g.StatusAudioBubble=a}),98); __d("WAWebStatusAudio.react",["fbt","WAWebMediaTypes","WAWebMediaUrlProvider","WAWebPttAudioTag.react","WAWebStatusAudioBubble.react","WAWebUIRefreshGatingUtils","WAWebWamEnumWebcRmrReasonCode","react","useWAWebModelValues","useWAWebOnUnmount","useWAWebStableCallback"],(function(a,b,c,d,e,f,g,h){var i,j;b=j||d("react");var k=i||(i=c("react")),l=b.useEffect,m=b.useRef,n=function(a){return a.downloadMedia({downloadEvenIfExpensive:!0,rmrReason:d("WAWebWamEnumWebcRmrReasonCode").WEBC_RMR_REASON_CODE.STATUS_V3,isUserInitiated:!0})};function a(a){var b=a.msg,e=a.play,f=a.markRead,g=a.status,i=a.pause,j=a.playbackController,o=m(null),p=d("useWAWebModelValues").useModelValues(a.mediaData,["mediaStage"]);l(function(){p.mediaStage!==d("WAWebMediaTypes").MediaDataStage.RESOLVED&&n(b)},[]);c("useWAWebOnUnmount")(function(){i()});var q=c("useWAWebStableCallback")(function(a){o.current=a.current,j.setMedia(o.current)});l(function(){e(),p.mediaStage===d("WAWebMediaTypes").MediaDataStage.RESOLVED&&f(g,b)},[f,p.mediaStage,b,e,g]);var r=d("WAWebUIRefreshGatingUtils").checkIfShouldBeEnabledInWindowsEnv()?h._(/*BTDS*/"__JHASH__BzOMUiDgSJw__JHASH__"):h._(/*BTDS*/"__JHASH__M0oEh1ph3Ob__JHASH__");return k.jsx("div",babelHelpers["extends"]({className:"x10l6tqk x78zum5 x13vifvy x17qophe xh8yej3 x5yr21d"},{onMouseDown:a.onMouseDown,onMouseUp:a.onMouseUp,children:k.jsx(c("WAWebMediaUrlProvider"),{mediaData:p,placeholderRenderer:function(){return k.jsx("div",babelHelpers["extends"]({className:"x9f619 x78zum5 x6s0dn4 xl56j7k xh8yej3 x1lwm3bp xkrivgy x1gryazu x47corl xmz0i5r x1sbjjv6"},{children:k.jsx(d("WAWebStatusAudioBubble.react").StatusAudioBubble,{msg:b,mediaData:p,status:g,playbackController:j,isPreview:!0})}))},downloadMedia:function(){return n(b)},children:function(a){return k.jsxs(k.Fragment,{children:[k.jsx("div",babelHelpers["extends"]({className:"x9f619 x78zum5 x6s0dn4 xl56j7k xh8yej3 x1lwm3bp xkrivgy x1gryazu x47corl xmz0i5r"},{children:k.jsx(d("WAWebStatusAudioBubble.react").StatusAudioBubble,{msg:b,mediaData:p,status:g,playbackController:j,isPreview:!1})})),k.jsx(d("WAWebPttAudioTag.react").AudioTag,{url:a,autoPlay:!0,msg:b,controls:!1,refAudio:q,children:r})]})}})}))}a.displayName=a.name+" [from "+f.id+"]";g.StatusAudio=a}),226); __d("WAWebStatusBaseMediaController",["WAWebABProps","WAWebStatusEventHandlersMap","WAWebStatusSetupController"],(function(a,b,c,d,e,f,g){a=function(){function a(a){var b=this;this.$2=!0;this.addListeners=function(a){b.$3.bulkSet(a)};this.removeListener=function(a,c){b.$3.remove(a,c)};this.setMedia=function(a,c){if(b.$1===a)return;b.$5();b.$1=a;if(a==null)return;a.addEventListener("playing",b.$6);a.addEventListener("pause",b.$7);a.addEventListener("ended",b.$8);a.addEventListener("timeupdate",b.$9);a.addEventListener("loadeddata",b.$10);a.addEventListener("loadedmetadata",b.$11);b.$4===d("WAWebStatusSetupController").MediaType.Audio&&a.load()};this.$5=function(){var a=b.$1;a&&(b.stop(),a.removeEventListener("playing",b.$6),a.removeEventListener("pause",b.$7),a.removeEventListener("ended",b.$8),a.removeEventListener("timeupdate",b.$9),a.removeEventListener("loadeddata",b.$10),a.removeEventListener("loadedmetadata",b.$11))};this.play=function(){var a;(a=b.$1)==null?void 0:a.play()};this.pause=function(){b.$1&&!b.$1.paused&&b.$1.pause()};this.resume=function(){b.$1&&!b.$2&&b.$1.play()};this.stop=function(){b.$1&&!b.$1.paused&&b.$1.pause()};this.$12=function(a){b.$1&&(b.$1.muted=a,b.$3.execute(a?d("WAWebStatusEventHandlersMap").MediaEvents.OnMute:d("WAWebStatusEventHandlersMap").MediaEvents.OnUnmute))};this.mute=function(){b.$12(!0)};this.unmute=function(){b.$12(!1)};this.$6=function(){b.$2=!0;var a=b.$1;if(a==null)return;var c=h(a.duration,b.$4);a=(c-a.currentTime)*1e3;c=c*1e3;b.$3.execute(d("WAWebStatusEventHandlersMap").MediaEvents.OnPlay,a,c)};this.$7=function(){b.$2=!1,b.$3.execute(d("WAWebStatusEventHandlersMap").MediaEvents.OnPause)};this.$8=function(){b.$3.execute(d("WAWebStatusEventHandlersMap").MediaEvents.OnEnd)};this.$9=function(){var a;a=(a=b.$1)==null?void 0:a.currentTime;if(a==null)return;b.$3.execute(d("WAWebStatusEventHandlersMap").MediaEvents.OnTimeUpdate,a);var c=d("WAWebABProps").getABPropConfigValue("status_video_max_duration");if(b.$4===d("WAWebStatusSetupController").MediaType.Video&&a>=c){b.stop();b.$8();a=b.$1;a&&(a.removeEventListener("timeupdate",b.$9),a.removeEventListener("ended",b.$8))}};this.$10=function(){var a=b.$1;if(a){var c=b.$4===d("WAWebStatusSetupController").MediaType.Audio?!0:a.audioTracks&&a.audioTracks.length>0||a.mozHasAudio===!0||a.webkitAudioDecodedByteCount>0;a=a.muted;b.$3.execute(d("WAWebStatusEventHandlersMap").MediaEvents.OnLoad,c,a)}};this.$11=function(){b.$3.execute(d("WAWebStatusEventHandlersMap").MediaEvents.OnMetadataLoad)};this.removeListeners=function(){b.stop(),b.$3.clear()};this.$4=a;this.$3=d("WAWebStatusEventHandlersMap").createHandlersMap()}babelHelpers.createClass(a,[{key:"duration",get:function(){return this.$1==null?0:h(this.$1.duration,this.$4)*1e3}},{key:"currentTime",get:function(){return this.$1==null?0:this.$1.currentTime}},{key:"isPlaying",get:function(){return!!this.$1&&!this.$1.paused}}]);return a}();function h(a,b){if(b===d("WAWebStatusSetupController").MediaType.Video){b=d("WAWebABProps").getABPropConfigValue("status_video_max_duration");return Math.min(a,b)}return a}g["default"]=a}),98); __d("WAWebStatusCountdownController",["WALogger","WAWebStatusEventHandlersMap"],(function(a,b,c,d,e,f,g){function h(){var a=babelHelpers.taggedTemplateLiteralLoose(["Timer stop called on stopped timer"]);h=function(){return a};return a}function i(){var a=babelHelpers.taggedTemplateLiteralLoose(["Duplicate timer start"]);i=function(){return a};return a}var j=function(){};a=function(){function a(a){var b=this;this.addListeners=function(a){b.$5.bulkSet(a)};this.removeListener=function(a,c){b.$5.remove(a,c)};this.removeListeners=function(){b.$5.clear()};this.play=function(){if(b.$2){d("WALogger").LOG(i());return}b.$2=self.setTimeout(b.$6,b.$3);b.$4=new Date().getTime();b.$5.execute(d("WAWebStatusEventHandlersMap").MediaEvents.OnPlay,b.$3,b.$1);b.$5.execute(d("WAWebStatusEventHandlersMap").MediaEvents.OnLoad,!1,!0)};this.stop=function(){if(b.$2){self.clearTimeout(b.$2);b.$2=null;var a=new Date().getTime();b.$3-=a-b.$4;b.$5.execute(d("WAWebStatusEventHandlersMap").MediaEvents.OnPause)}else d("WALogger").LOG(h())};this.resume=function(){b.play()};this.pause=function(){b.stop()};this.$6=function(){b.$5.execute(d("WAWebStatusEventHandlersMap").MediaEvents.OnEnd)};this.mute=j;this.unmute=j;this.$1=a;this.$3=this.$1;this.$4=0;this.$5=d("WAWebStatusEventHandlersMap").createHandlersMap()}babelHelpers.createClass(a,[{key:"duration",get:function(){return this.$1}}]);return a}();g["default"]=a}),98); __d("WAWebStatusGifController",["WAWebStatusBaseMediaController","WAWebStatusCountdownController","WAWebStatusEventHandlersMap","WAWebStatusSetupController"],(function(a,b,c,d,e,f,g){var h=function(){},i=6e3,j=3;a=function(){function a(){var a=this;this.addListeners=function(b){a.$8.bulkSet(b)};this.removeListeners=function(){a.$8.clear(),a.$6.removeListeners(),a.$7.removeListeners()};this.removeListener=function(b,c){a.$8.remove(b,c)};this.setMedia=function(b,c){if(a.$1===b)return;a.$1=b;c!=null&&(a.$2=c);a.$6.setMedia(b)};this.$9=function(){var b=a.$1;if(b==null)return;var c=b.duration||a.$2,e=Math.max(j*c*1e3,i);c=e-c*1e3*a.$3-b.currentTime*1e3;a.$8.execute(d("WAWebStatusEventHandlersMap").MediaEvents.OnPlay,c,e)};this.$10=function(){a.$8.execute(d("WAWebStatusEventHandlersMap").MediaEvents.OnPause)};this.$11=function(){var b=a.$1;if(b==null)return;a.$3++;a.$3===j&&(a.$5=!0,a.$4&&a.$8.execute(d("WAWebStatusEventHandlersMap").MediaEvents.OnEnd));b.currentTime=0;(!a.$5||!a.$4)&&self.setTimeout(function(){a.$6.play()},0)};this.$12=function(){a.$8.execute(d("WAWebStatusEventHandlersMap").MediaEvents.OnLoad,!1,!0)};this.$13=function(){a.$8.execute(d("WAWebStatusEventHandlersMap").MediaEvents.OnMetadataLoad)};this.$14=function(){a.$4=!0,a.$5&&a.$8.execute(d("WAWebStatusEventHandlersMap").MediaEvents.OnEnd)};this.play=function(){a.$6.play(),a.$7.play()};this.stop=function(){a.$6.stop(),a.$7.stop()};this.resume=function(){a.$6.resume(),a.$7.resume()};this.pause=function(){a.$6.pause(),a.$7.pause()};this.mute=h;this.unmute=h;this.$8=d("WAWebStatusEventHandlersMap").createHandlersMap();this.$3=0;this.$4=!1;this.$5=!1;this.$6=new(c("WAWebStatusBaseMediaController"))(d("WAWebStatusSetupController").MediaType.Video);this.$7=new(c("WAWebStatusCountdownController"))(i);this.$6.addListeners({onPlay:this.$9,onPause:this.$10,onEnd:this.$11,onLoad:this.$12,onMetadataLoad:this.$13});this.$7.addListeners({onEnd:this.$14})}babelHelpers.createClass(a,[{key:"duration",get:function(){var a;return Math.max(j*(((a=this.$1)==null?void 0:a.duration)||this.$2)*1e3,i)}}]);return a}();g["default"]=a}),98); __d("WAWebStatusSetupController",["$InternalEnum","WAWebMediaData","WAWebMsgType","WAWebStatusBaseMediaController","WAWebStatusCountdownController","WAWebStatusGifController","isStringNullOrEmpty"],(function(a,b,c,d,e,f,g){var h=4500,i=2e3,j=3e3,k=2e3,l=b("$InternalEnum")({Audio:"audio",Video:"video"});function a(a,b){if(a)switch(a.type){case c("WAWebMediaData").TYPE.IMAGE:a=h;c("isStringNullOrEmpty")(b.caption)||(a+=i*Math.min(b.caption.length/150,1));return new(c("WAWebStatusCountdownController"))(a);case c("WAWebMediaData").TYPE.VIDEO:return b.isGif?new(c("WAWebStatusGifController"))():new(c("WAWebStatusBaseMediaController"))(l.Video);case c("WAWebMediaData").TYPE.AUDIO:case c("WAWebMediaData").TYPE.PTT:return new(c("WAWebStatusBaseMediaController"))(l.Audio);default:return new(c("WAWebStatusCountdownController"))(j)}else if(b.type===d("WAWebMsgType").MSG_TYPE.CHAT){a=k+60*Math.min((b=(a=b.body)==null?void 0:a.length)!=null?b:0,1e3);return new(c("WAWebStatusCountdownController"))(a)}return new(c("WAWebStatusCountdownController"))(j)}g.MediaType=l;g.setupStatusController=a}),98); __d("WAWebStatusButton.react",["WAWebExternalLink.react","WAWebUnstyledButton.react","react"],(function(a,b,c,d,e,f,g){var h,i=h||c("react"),j={button:{display:"x78zum5",borderTopStartRadius:"x1z11no5",borderTopEndRadius:"xjy5m1g",borderBottomEndRadius:"x1mnwbp6",borderBottomStartRadius:"x4pb5v6",width:"xeq5yr9",paddingTop:"xz9dl7a",paddingEnd:"x1pi30zi",paddingBottom:"xsag5q8",paddingStart:"x1swvt13",maxWidth:"x1lr1uin",fontSize:"x1jchvi3",height:"xqvfhly",lineHeight:"xdod15v",transform:"x1eu86dj",opacity:"xg01cxk",backgroundColor:"x6n7w7t",color:"xzqyxu6",alignItems:"x6s0dn4",justifyContent:"xl56j7k",animationName:"x1l9ybt0",animationFillMode:"x10e4vud",animationDuration:"x2h4a58",animationDelay:"x5m6rv0",":hover_backgroundColor":"x1ulvavg",$$css:!0}};function a(a){var b=a.text,e=a.url;a=function(){d("WAWebExternalLink.react").openExternalLink(e)};return i.jsx(c("WAWebUnstyledButton.react"),{xstyle:j.button,onClick:a,children:b})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("WAWebStatusCaptionText.react",["fbt","WAWebEmojiText.react","WAWebFormatConfiguration","WAWebUnstyledButton.react","react"],(function(a,b,c,d,e,f,g,h){var i,j=i||c("react"),k=120;function a(a){var b=a.isExpandedCaptionText,e=a.onExpandCaptionText,f=a.text;a=a.withHostedDisclosurePadding;var g=k,i=f.length>g;i=!i||b?j.jsx(d("WAWebEmojiText.react").EmojiText,{formatters:d("WAWebFormatConfiguration").StatusCaption(),text:f}):j.jsxs(j.Fragment,{children:[j.jsx(d("WAWebEmojiText.react").EmojiText,{formatters:d("WAWebFormatConfiguration").StatusCaption(),text:Array.from(f).slice(0,g-1).join("")}),h._(/*BTDS*/"__JHASH__gmypGhkuzhc__JHASH__"),j.jsxs("strong",{children:[" ",h._(/*BTDS*/"__JHASH__YmkFxppzHPq__JHASH__")]})]});return j.jsx("div",babelHelpers["extends"]({className:"x1n2onr6 xh8yej3 x5yr21d"},{children:j.jsx("div",babelHelpers["extends"]({className:"x10l6tqk xh8yej3 x1ey2m1c x1vjfegm xkrivgy x1gryazu x1fpc5dy x2b8uid x1c8ul09 x1ypdohk x1c3i2sq xwn7fz2"},{children:j.jsx(c("WAWebUnstyledButton.react"),{onClick:e,children:j.jsxs("div",babelHelpers["extends"]({},{0:{className:"xyamay9 xkxsfb x19mlwdh x1kki2sl xuix1fa x13faqbe"},1:{className:"xyamay9 x19mlwdh x1kki2sl xuix1fa x13faqbe x1l90r2v"}}[!!(a===!0)<<0],{children:[" ",i," "]}))})}))}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226); __d("WAWebStatusLinkPreview.react",["WAWebDisplayType","WAWebMediaLinkPreviewContainer.react","WAWebMediaLinkPreviewUtils","react","useWAWebUnmountSignal"],(function(a,b,c,d,e,f,g){var h,i;b=i||d("react");var j=h||(h=c("react")),k=b.useEffect,l=b.useState,m=300,n=250,o=250;function a(a){var b=a.length;a=a.msg;var e=b<n,f=d("WAWebMediaLinkPreviewUtils").displayHighQualityLinkPreview(a.unsafe()),g=l(!1),h=g[0],i=g[1],p=c("useWAWebUnmountSignal")(),q=a.thumbnail;k(function(){if(f&&e||!q)return;var a=new Image();a.onload=function(){if(p.aborted)return;var b=a.width>m;i(b)};a.src="data:image/jpeg;base64,"+q},[q,f,e]);g=e&&(f||h);return j.jsx("div",babelHelpers["extends"]({},{0:{className:"x78zum5 xs83m0k x6ikm8r x10wlt62 x67bb7w xh8yej3 x1hq5gj4 x14wi4xw"},1:{className:"x78zum5 xs83m0k x6ikm8r x10wlt62 x67bb7w xh8yej3 x1hq5gj4 x14wi4xw x1j9u4d2"}}[!!(b<=o)<<0],{children:j.jsx(d("WAWebMediaLinkPreviewContainer.react").LinkPreviewContainer,{msg:a,theme:g?"high-quality":void 0,displayType:d("WAWebDisplayType").DISPLAY_TYPE.STATUS})}))}a.displayName=a.name+" [from "+f.id+"]";g.StatusLinkPreview=a}),98); __d("WAWebWamEnumUrlStatusType",[],(function(a,b,c,d,e,f){a=Object.freeze({NO_PREVIEW:1,TRUNCATED:2,NON_TRUNCATED:3,INTERACTABLE:4,TOP_BAR_ATTRIBUTION:5});f.URL_STATUS_TYPE=a}),66); __d("WAWebStatusText.react",["WALinkify","WAUnicodeUtils","WAWebEmojiText.react","WAWebFontLoader","WAWebFormatConfiguration","WAWebFrontendMsgGetters","WAWebL10N","WAWebMsgGetters","WAWebMsgLinks","WAWebNoop","WAWebProtobufsE2E.pb","WAWebStatusContext","WAWebStatusLinkFormatMutator","WAWebStatusLinkPreview.react","WAWebWamEnumUrlStatusClicked","WAWebWamEnumUrlStatusType","react","stylex"],(function(a,b,c,d,e,f,g){var h,i,j;b=j||d("react");var k=h||(h=c("react")),l=b.useEffect,m=b.useState,n={textLargeEmoji:{width:"x1cvuv27",height:"x9uazi4",transform:"xanp114",display:"x1rg5ohu",$$css:!0},textMediumEmoji:{transform:"xanp114",display:"x1rg5ohu",$$css:!0},textSmallEmoji:{width:"x1yyxrnf",height:"x1r35sqa",transform:"x1ni14s7",display:"x1rg5ohu",$$css:!0},textLargeEmojiWithLinkPreview:{width:"x1qybzeu",height:"x1vdgx54",transform:"x1rbuhwb",display:"x1rg5ohu",$$css:!0},textMediumEmojiWithLinkPreview:{width:"x1dddjuj",height:"xfoc215",transform:"x15ypmcq",display:"x1rg5ohu",$$css:!0},text:{position:"x10l6tqk",left:"x1nrll8i",transform:"x11lhmoz",top:"xwa60dl",boxSizing:"x9f619",display:"x78zum5",flexDirection:"x1q0g3np",alignItems:"x6s0dn4",justifyContent:"xl56j7k",width:"xh8yej3",maxWidth:"x1lwm3bp",paddingTop:"xnk5j39",paddingBottom:"xn4wywj",paddingStart:"x5ib6vp",paddingEnd:"xc73u3c",marginEnd:"xkrivgy",marginStart:"x1gryazu",color:"x1fpc5dy",wordWrap:"x1vvkbs",whiteSpace:"x126k92a",pointerEvents:"x47corl",maxHeight:"xmz0i5r",wordBreak:"x13faqbe",$$css:!0},textAnchor:{paddingEnd:"x1qs2fmu",paddingStart:"xkno6b3",color:"x1fpc5dy",pointerEvents:"x3gnuav",backgroundColor:"x1casotk",borderTopStartRadius:"xyi19xy",borderTopEndRadius:"x1ccrb07",borderBottomEndRadius:"xtf3nb5",borderBottomStartRadius:"x1pc53ja",$$css:!0},column:{flexDirection:"xdt5ytf",$$css:!0},columnTextSmall:{alignItems:"x1cy8zhl",$$css:!0},textLarge:{fontSize:"xvzvg7y",lineHeight:"x1xuplte",textAlign:"x2b8uid",$$css:!0},textLargeLinkPreview:{fontSize:"xdhfpv1",$$css:!0},textMedium:{fontSize:"xdhfpv1",lineHeight:"x1swossr",textAlign:"x2b8uid",$$css:!0},textMediumLinkPreview:{fontSize:"x1q74xe4",$$css:!0},textSmall:{fontSize:"x1jchvi3",lineHeight:"x3gokd0",textAlign:"xdpxx8g",$$css:!0},font_0:{$$css:!0},font_1:{fontFamily:"x1kp91nz",$$css:!0},font_2:{fontFamily:"xspkpnd",$$css:!0}},o=new Map([[d("WAWebProtobufsE2E.pb").Message$ExtendedTextMessage$FontType.SYSTEM,n.font_0],[d("WAWebProtobufsE2E.pb").Message$ExtendedTextMessage$FontType.SYSTEM_TEXT,n.font_1],[d("WAWebProtobufsE2E.pb").Message$ExtendedTextMessage$FontType.FB_SCRIPT,n.font_2]]),p=function(a,b){b===void 0&&(b=!1);if(a<=60)return[[n.textLarge,b&&n.textLargeLinkPreview,n.column],b?n.textLargeEmojiWithLinkPreview:n.textLargeEmoji];return a<=240?[[n.textMedium,b&&n.textMediumLinkPreview,n.column],b?n.textMediumEmojiWithLinkPreview:n.textMediumEmoji]:[[n.textSmall,n.column,n.columnTextSmall],n.textSmallEmoji]},q=function(a){if(a==null)return null;var b=800,d=c("WAWebL10N").isRTL(),e=150,f=d?e:-e;d=d?"right":"left";a=a==="status-panel"?.16:.08;return{transformOrigin:"top "+d,transform:"scale("+a+") translateX("+f+"px) translateY("+-e+"px)",width:b,height:b}};function a(a){var b=a.msg,e=a.statusItemViewEventRef,f=d("WAWebMsgGetters").getLinkPreview(b)&&d("WAWebFrontendMsgGetters").getAsUrl(b)!=null&&d("WAWebMsgLinks").getSuspiciousLinks(b).filter(function(a){a=a.url;return b.matchedText===a}).length===0,g=m(0),h=g[0],j=g[1];l(function(){d("WAWebFontLoader").FontLoader.loadMessageFont(b.font)["catch"](c("WAWebNoop"))},[]);g=function(a){j(d("WAUnicodeUtils").numCodepoints(a==null?void 0:a.innerText));a=a==null?void 0:a.querySelector("a");var b=e==null?void 0:e.current;if(!f||a==null||b==null)return;var c=d("WALinkify").findLink(a.href);if(!c)return;c=d("WAWebStatusLinkFormatMutator").cleanUrl(c);c.join("")!==((c=a.innerText)==null?void 0:c.trim())&&(b.urlStatusType=d("WAWebWamEnumUrlStatusType").URL_STATUS_TYPE.TRUNCATED)};var r=p(h,f),s=r[0];r=r[1];var t=d("WAWebMsgLinks").getLinksFromMsg(b),u=n.textAnchor;t=d("WAWebFormatConfiguration").StatusText({links:t,linkXstyle:u,emojiXstyle:r});f&&(e==null?void 0:e.current)&&e.current.urlStatusType===d("WAWebWamEnumUrlStatusType").URL_STATUS_TYPE.NO_PREVIEW&&(e.current.urlStatusType=d("WAWebWamEnumUrlStatusType").URL_STATUS_TYPE.NON_TRUNCATED);u=function(a){var b=e==null?void 0:e.current;if(!b)return;a.target instanceof HTMLAnchorElement&&b.urlStatusClicked===d("WAWebWamEnumUrlStatusClicked").URL_STATUS_CLICKED.NO_CLICK&&(b.urlStatusClicked=d("WAWebWamEnumUrlStatusClicked").URL_STATUS_CLICKED.ONE_CLICK)};r=q(a.theme);return k.jsx("div",{className:"x10l6tqk x13vifvy x17qophe xh8yej3 x5yr21d",onClick:u,onMouseDown:a.onMouseDown,onMouseUp:a.onMouseUp,style:r,children:k.jsx(d("WAWebStatusContext").StatusContext.Provider,{value:{statusItemViewEventRef:e},children:k.jsxs("div",babelHelpers["extends"]({},(i||(i=c("stylex"))).props(n.text,s,o.get(b.font)),{"data-testid":void 0,children:[f?k.jsx(d("WAWebStatusLinkPreview.react").StatusLinkPreview,{msg:b.unsafe(),length:h}):null,k.jsx("div",{ref:g,children:k.jsx(d("WAWebEmojiText.react").EmojiText,{text:a.msg.body,formatters:t})})]}))})})}a.displayName=a.name+" [from "+f.id+"]";g.StatusText=a}),98); __d("WAWebStatusThumbnail.react",["WAWebAudioWaveThumbIcon.react","WAWebContactGetters","WAWebDetailImage.react","WAWebFrontendStatusGetters","WAWebMediaThumbnail.react","WAWebMsgGetters","WAWebMsgType","WAWebStateUtils","WAWebStatusImageRing.react","WAWebStatusText.react","WAWebUISpacing","WAWebUseIsKeyboardUser","WAWebWid","WDSFocusStateStyles","gkx","react","stylex","useWAWebContactValues","useWAWebStaticButtonA11y","useWAWebStatusValues"],(function(a,b,c,d,e,f,g){var h,i,j=h||c("react"),k={container:{paddingTop:"xz9dl7a",paddingEnd:"x14uny0o",paddingBottom:"xsag5q8",paddingStart:"x1vobaek",position:"x1n2onr6",borderTopStartRadius:"xm3z3ea",borderTopEndRadius:"x1x8b98j",borderBottomEndRadius:"x131883w",borderBottomStartRadius:"x16mih1h",$$css:!0},statusImage:{backgroundPosition:"x1xsqp64",backgroundRepeat:"xiy17q3",backgroundSize:"x18d0r48",borderTopStartRadius:"x14yjl9h",borderTopEndRadius:"xudhj91",borderBottomEndRadius:"x18nykt9",borderBottomStartRadius:"xww2gxu",overflowX:"x6ikm8r",overflowY:"x10wlt62",$$css:!0},statusImageFallbackBackground:{backgroundColor:"xkfcepe",$$css:!0},textThumb:{position:"x1n2onr6",$$css:!0},thumbContainer:{borderTopStartRadius:"x14yjl9h",borderTopEndRadius:"xudhj91",borderBottomEndRadius:"x18nykt9",borderBottomStartRadius:"xww2gxu",$$css:!0},thumbSizeLarge:{height:"xwzfr38",width:"x1dmp6jm",$$css:!0},thumbSizeSmall:{height:"x1vqgdyp",width:"x100vrsf",$$css:!0}};function l(a){return a==="status-panel"?k.thumbSizeLarge:k.thumbSizeSmall}function m(a){var b=a.msg;a=a.theme;var e=l(a);return j.jsx("div",{className:(i||(i=c("stylex")))(k.statusImage,e),style:{backgroundColor:d("WAWebMsgGetters").getStatusCanvasColor(b)},children:j.jsx("div",babelHelpers["extends"]({},i.props(k.textThumb,e),{children:j.jsx(d("WAWebStatusText.react").StatusText,{msg:b,theme:(e=a)!=null?e:"status-thumbnail"})}))})}m.displayName=m.name+" [from "+f.id+"]";function n(a){var b=a.msg;a=a.theme;a=l(a);return j.jsx("div",{className:(i||(i=c("stylex")))(k.statusImage,a),style:{backgroundColor:d("WAWebMsgGetters").getStatusCanvasColor(b)},children:j.jsx(d("WAWebAudioWaveThumbIcon.react").AudioWaveThumbIcon,{iconXstyle:a})})}n.displayName=n.name+" [from "+f.id+"]";function o(a){var b=a.msg,e=a.theme;a=a.thumbnailPlaceholder;var f=l(e),g=k.statusImage;if(b){if(c("WAWebWid").isPSA(d("WAWebMsgGetters").getSender(b)))return j.jsx("div",babelHelpers["extends"]({},(i||(i=c("stylex"))).props(k.thumbContainer,f,k.statusImageFallbackBackground),{children:a}));a=j.jsx(c("WAWebMediaThumbnail.react"),{containerClassName:(i||(i=c("stylex")))(k.thumbContainer,f,k.statusImageFallbackBackground),childClassName:i(g,f),msg:b,thumbnailPlaceholder:a});switch(b.type){case d("WAWebMsgType").MSG_TYPE.CHAT:return j.jsx(m,{msg:b,theme:e});case d("WAWebMsgType").MSG_TYPE.PTT:case d("WAWebMsgType").MSG_TYPE.AUDIO:return j.jsx(n,{msg:b,theme:e});default:return a}}return j.jsx("div",babelHelpers["extends"]({},(i||(i=c("stylex"))).props(g,f,k.statusImageFallbackBackground)))}o.displayName=o.name+" [from "+f.id+"]";function a(a){var b=a.id,e=a.theme,f=a.thumbnailPlaceholder,g=a.msg,h=a.tabIndex,m=a.ariaLabel,n=d("useWAWebStatusValues").useStatusValues(b,[d("WAWebFrontendStatusGetters").getLastStatus]);n=n[0];var p=d("useWAWebContactValues").useContactValues(a.contact.id,[d("WAWebContactGetters").getStatusMute]);p=p[0];var q=c("WAWebUseIsKeyboardUser")();q=q.isKeyboardUser;var r=c("useWAWebStaticButtonA11y")(a.onClick),s=r[0];r=r[1];var t=(g=g)!=null?g:n;g=function(){if(!c("gkx")("26258")&&t){var a=d("WAWebStateUtils").unproxy(t);window.msg=a}};n=l(e);f!=null?f=f:f=t?j.jsx(d("WAWebDetailImage.react").DetailImage,{id:d("WAWebMsgGetters").getSender(t),theme:"status",size:40}):null;return j.jsxs("div",babelHelpers["extends"]({ref:s},r,{tabIndex:h,className:(i||(i=c("stylex")))(k.container,n,d("WAWebUISpacing").uiMargin.top2,q&&d("WDSFocusStateStyles").WDSFocusStateStyles.genericFocus),"aria-label":m,role:a.role||"",onContextMenu:c("gkx")("26258")?null:g,onClickCapture:function(b){a.onClick==null?void 0:a.onClick(),b.stopPropagation(),b.preventDefault()},"data-testid":void 0,children:[p||e==="status-panel"?null:j.jsx(d("WAWebStatusImageRing.react").StatusImageRing,{id:b,breakRing:!0}),j.jsx(o,{msg:t,theme:e,thumbnailPlaceholder:f})]}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("WAWebStatusCell.react",["WAWebChatCell.react","WAWebClock","WAWebContactGetters","WAWebFrontendContactGetters","WAWebMiscGatingUtils","WAWebPsaVerifiedBlueIcon.react","WAWebPsaVerifiedIcon.react","WAWebStatusGetters","WAWebStatusThumbnail.react","react","useWAWebContactValues","useWAWebStatusValues"],(function(a,b,c,d,e,f,g){var h,i=h||c("react");function a(a){var b=a.status,e=a.contact,f=a.onClick;a=a.isModalView;a=a===void 0?!0:a;var g=d("useWAWebStatusValues").useStatusValues(b.id,[d("WAWebStatusGetters").getId,d("WAWebStatusGetters").getT]),h=g[0];g=g[1];var j=d("useWAWebContactValues").useContactValues(e.id,[d("WAWebFrontendContactGetters").getFormattedName,d("WAWebContactGetters").getStatusMute,d("WAWebContactGetters").getIsPSA]),k=j[0],l=j[1];j=j[2];g=j?null:d("WAWebClock").Clock.relativeDateAndTimeStr(g);j=j?i.jsxs("span",babelHelpers["extends"]({className:"x1jfb8zj xuce83p x1bft6iq x1i7k8ik xq9mrsl"},{children:[k,i.jsx("div",babelHelpers["extends"]({className:"x1rg5ohu x1c4vz4f x2lah0s xdl72j9 xvijh9v x1w4ip6v x16dsc37"},{children:d("WAWebMiscGatingUtils").isBlueEnabled()?i.jsx(d("WAWebPsaVerifiedBlueIcon.react").PsaVerifiedBlueIcon,{}):i.jsx(d("WAWebPsaVerifiedIcon.react").PsaVerifiedIcon,{})}))]})):k;return i.jsx(c("WAWebChatCell.react"),{className:{0:"",1:"x1ks1olk"}[!!l<<0],customImage:!0,theme:a?"status-list-modal":null,image:i.jsx(c("WAWebStatusThumbnail.react"),{id:b.id,contact:e,onClick:f}),tabIndex:-1,handleKeyboardClick:!0,focusid:"status-row-item",primary:j,secondary:g,onClick:f,contextEnabled:function(){return!1}},h.toString())}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("WAWebStatusPlayerQuickRepliesBar.react",["fbt","WAWebEmoji","WAWebEmoji.react","WAWebFlex.react","WAWebNux","WAWebStatusGatingUtils","react","useWAWebListener","useWAWebNux","useWAWebTimeout"],(function(a,b,c,d,e,f,g,h){var i,j;b=j||d("react");var k=i||(i=c("react")),l=b.useRef,m=b.useState,n={emoji:{display:"x1lliihq",textAlign:"x2b8uid",fontSize:"x13wtedm",marginStart:"x1d52u69",transition:"x1trvaba",":first-child_marginStart":"x1uw6ca5",":hover_transform":"xg0443",":hover_cursor":"x1277o0a",$$css:!0},emojiClicked:{animationName:"x1mn8m9y",animationDuration:"xof6966",animationTimingFunction:"xb40q3p",animationFillMode:"x10e4vud",transformOrigin:"x1g0ag68",pointerEvents:"x47corl",$$css:!0},emojiClickedNeighbours:{animationName:"x14avz4r",animationDuration:"xs4xyr0",animationFillMode:"x10e4vud",animationTimingFunction:"xb40q3p",pointerEvents:"x47corl",$$css:!0}};function a(a){var b=a.onClick,e=a.onClickAnimateEnd;a=l(null);var f=l(0),g=m(null),i=g[0],j=g[1],o=d("WAWebStatusGatingUtils").statusQuickReplyEmojis();g=d("useWAWebTimeout").useTimeout(function(){f.current=0,j(null)},200);var p=g[0];d("useWAWebListener").useListener(e&&a.current,"animationend",function(a){++f.current===o.length&&(e==null?void 0:e(),p())});g=c("useWAWebNux")(d("WAWebNux").NUX.STATUS_QUICK_REPLIES);var q=g[0],r=g[1];return k.jsxs("div",{ref:a,children:[q?k.jsx("div",babelHelpers["extends"]({className:"x2b8uid x1awj2ng x1jchvi3 xyorhqc"},{children:h._(/*BTDS*/"__JHASH__Vn72fdMU2ff__JHASH__")})):null,k.jsx(d("WAWebFlex.react").FlexRow,{justify:"center",className:"xh8yej3 xieb3on",children:o.map(function(a,e){var f=d("WAWebEmoji").EmojiUtil.normalizeEmojiFromString(a);return f==null?null:k.jsx(c("WAWebEmoji.react"),{emoji:f,xstyle:[n.emoji,i!=null&&(i===e?n.emojiClicked:n.emojiClickedNeighbours)],tabIndex:"-1","data-unicode":a,"data-variant":f,"data-emoji-index":e,onClick:function(c){b(c,a),r(),j(e)},size:"large"},a)})})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226); __d("WAWebWamEnumStatusReplyMessageType",[],(function(a,b,c,d,e,f){a=Object.freeze({UNKNOWN:1,TEXT:2,IMAGE:3,VOICE:4,DOCUMENT:5,AUDIO:6,STICKER:7,LOCATION:8,PRODUCT:9,CONTACT:10,CONTACT_ARRAY:11,CAMERA_CAPTURE_IMAGE:12,MEDIA_GALLERY:13,GIF_VIDEO:14,QUICK_REPLY:15,POLL:16,AVATAR_QUICK_REPLY:17});f.STATUS_REPLY_MESSAGE_TYPE=a}),66); __d("WAWebWamEnumStatusReplyResult",[],(function(a,b,c,d,e,f){a=Object.freeze({OK:1,CANCELLED:2,ERROR_UNKNOWN:3});f.STATUS_REPLY_RESULT=a}),66); __d("WAWebStatusComposeBox.react",["fbt","Promise","WAAbortError","WAFilteredCatch","WANullthrows","WAWebChatPreferenceCollection","WAWebComposeBoxExpressionPanels.react","WAWebComposeBoxPanelsMenu.react","WAWebContactBlockedErrorAction","WAWebEmojiSuggestions.react","WAWebFindChatAction","WAWebFrontendContactGetters","WAWebKeyboardHotKeys.react","WAWebMsgGetters","WAWebNoop","WAWebResizeObserver.react","WAWebRichTextInput.react","WAWebSendIcon.react","WAWebSendStickerAction","WAWebSendTextMsgChatAction","WAWebStatusPlayerQuickRepliesBar.react","WAWebSuggestionsPanelContainer.react","WAWebTabOrder","WAWebToast.react","WAWebToastManager","WAWebUISpacing","WAWebUimUie.react","WAWebUimUieMenu.react","WAWebUnstyledButton.react","WAWebVelocityTransitionGroup","WAWebWamEnumStatusReplyMessageType","WAWebWamEnumStatusReplyResult","react","stylex","useWAWebModelValues","useWAWebUnmountSignal"],(function(a,b,c,d,e,f,g,h){var i,j,k,l;e=l||d("react");var m=k||(k=c("react")),n=e.useEffect,o=e.useImperativeHandle,p=e.useRef,q=e.useState,r={iconButtonColourFocused:{color:"xfect85",$$css:!0},iconButtonColourOutOfFocus:{color:"x1fpc5dy",$$css:!0},replyPlaceholderColourFocused:{color:"xfect85",$$css:!0},replyPlaceholderColourOutOfFocus:{color:"x7o08j2",$$css:!0},square26Svg:{width:"x23j0i4",height:"xd7y6wv",$$css:!0},inputContainer:{boxSizing:"x9f619",width:"xh8yej3",minHeight:"x1ba4aug",paddingTop:"x1iorvi4",paddingEnd:"x1pi30zi",paddingBottom:"xjkvuk6",paddingStart:"x1swvt13",borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",$$css:!0},inputInFocus:{backgroundColor:"xe7vic5",borderTopColor:"x1716072",borderEndColor:"xgde2yp",borderBottomColor:"x89wmna",borderStartColor:"xbjl0o0",borderTopStyle:"x13fuv20",borderEndStyle:"xu3j5b3",borderBottomStyle:"x1q0q8m5",borderStartStyle:"x26u7qi",borderTopWidth:"x178xt8z",borderEndWidth:"xm81vs4",borderBottomWidth:"xso031l",borderStartWidth:"xy80clv",$$css:!0},inputOutOfFocus:{backgroundColor:"x1gaxu4n",$$css:!0},inputText:{fontSize:"x1lkfr7t",$$css:!0}},s=function(a,b,c){return Boolean(a)||b||Boolean(c)},t=function(){var a=d("WAWebToast.react").genId();d("WAWebToastManager").ToastManager.open(m.jsx(d("WAWebToast.react").Toast,{msg:h._(/*BTDS*/"__JHASH__e4WMYXW43f4__JHASH__"),id:a}))};function a(a){var e=a.ref,f=babelHelpers.objectWithoutPropertiesLoose(a,["ref"]),g=f.onFocusChange;a=d("useWAWebModelValues").useModelValues(c("WAWebChatPreferenceCollection").getDefault(),["spellcheck","transformTextEmoji","enterIsSend"]);var k=p(null),l=q(!1),u=l[0],v=l[1];l=q(void 0);var w=l[0],x=l[1];l=q(void 0);var y=l[0],z=l[1];l=q(null);var A=l[0],B=l[1];l=q(300);var C=l[0],D=l[1];l=q("");var E=l[0],F=l[1];l=q(!1);var G=l[0],H=l[1],I=p(null);l=q(null);var J=l[0];l=l[1];var aa=p(null),ba=c("useWAWebUnmountSignal")();n(function(){var a=c("WANullthrows")(d("WAWebMsgGetters").getSender(f.msg));d("WAWebFindChatAction").findOrCreateLatestChat(a,"statusComposeBox").then(function(a){a=a.chat;if(ba.aborted)return;z(a)})},[]);var K=s(w,u,A);n(function(){K?f.pause():f.play()},[K]);var ca=function(){return K},L=function(){J==null?void 0:J.focus()},M=function(){x(void 0),L()},N=function(){B(null),L()},O=function(){x(void 0),B(null)},P=function(){if(y)return(i||(i=b("Promise"))).resolve(y);var a=c("WANullthrows")(d("WAWebMsgGetters").getSender(f.msg));return d("WAWebFindChatAction").findOrCreateLatestChat(a,"statusComposeBox").then(function(a){return a.chat})},Q=function(){t(),O(),J==null?void 0:J.reset(),f.dismissReply()},R=function(a,b){f.statusReplyMetric.statusReplyMessageType=b;var e=d("WAWebToast.react").genId();a.then(function(){f.statusReplyMetric.statusReplyResult=d("WAWebWamEnumStatusReplyResult").STATUS_REPLY_RESULT.OK,f.onSend()})["catch"](d("WAAbortError").catchAbort(c("WAWebNoop")))["catch"](d("WAFilteredCatch").filteredCatch(c("WAWebContactBlockedErrorAction"),function(){y&&(d("WAWebToastManager").ToastManager.open(m.jsx(d("WAWebToast.react").Toast,{msg:h._(/*BTDS*/"__JHASH__DtHPxhz4yh-__JHASH__",[h._param("contact",d("WAWebFrontendContactGetters").getFormattedName(y.contact))]),id:e})),f.statusReplyMetric.statusReplyResult=d("WAWebWamEnumStatusReplyResult").STATUS_REPLY_RESULT.ERROR_UNKNOWN)}));b!==d("WAWebWamEnumStatusReplyMessageType").STATUS_REPLY_MESSAGE_TYPE.QUICK_REPLY&&Q()},S=function(a){a==null?void 0:a.stopPropagation();a==null?void 0:a.preventDefault();if(!E.length)return;P().then(function(a){a=d("WAWebSendTextMsgChatAction").sendTextMsgToChat(a,E,{quotedMsg:f.msg});R(a,d("WAWebWamEnumStatusReplyMessageType").STATUS_REPLY_MESSAGE_TYPE.TEXT)})},T=function(a){v(a),g(a)},da=function(){T(!0)},ea=function(){if(document.activeElement!==document.body)return},U=function(){return u},fa=function(){T(!1),O(),H(!1)},V=function(a){J==null?void 0:J.replaceSelection(a)},W=function(a,b){if(a.isCreateButton)return;P().then(function(c){c=d("WAWebSendStickerAction").sendStickerToChat(c,a,{stickerSendOrigin:b,quotedMsg:f.msg});R(c,d("WAWebWamEnumStatusReplyMessageType").STATUS_REPLY_MESSAGE_TYPE.STICKER)})},X=function(){var a;(a=aa.current)==null?void 0:a.restoreFocus()},Y=function(a){D(a.width)},Z=function(a){I.current=a},$=function(a){a==null?N():(B(a),T(!0))},ga=function(a,b){a.stopPropagation(),H(!0),P().then(function(a){a=d("WAWebSendTextMsgChatAction").sendTextMsgToChat(a,b,{quotedMsg:f.msg});R(a,d("WAWebWamEnumStatusReplyMessageType").STATUS_REPLY_MESSAGE_TYPE.QUICK_REPLY)})};o(e,function(){return{isFocused:U,isPaused:ca,restoreFocus:L,blur:fa}});e=U()||A!=null;Y=C!=null&&A!=null?m.jsx(c("WAWebResizeObserver.react"),{onResize:Y,children:m.jsx(c("WAWebComposeBoxExpressionPanels.react"),{displayCache:I.current,width:C,onDisplayCache:Z,onEmoji:V,onFocusRelease:c("WAWebNoop"),onGif:c("WAWebNoop"),onExpressionPanelChange:$,onSticker:W,requestDismiss:N,selectedExpressionPanel:A,theme:d("WAWebComposeBoxPanelsMenu.react").PanelsTheme.StatusReplyComposeBox})}):null;C=w?m.jsx(d("WAWebUimUie.react").UIE,{displayName:"EmojiPicker",escapable:!0,dismissOnWindowResize:!0,requestFocus:X,children:m.jsx("div",{children:m.jsx(d("WAWebUimUie.react").UIE,{displayName:"EmojiPicker",escapable:!0,popable:!0,dismissOnWindowResize:!0,requestDismiss:M,requestFocus:X,children:m.jsx(c("WAWebUimUieMenu.react"),{contextMenu:w})})})}):null;Z=E.length===0?m.jsx(c("WAWebStatusPlayerQuickRepliesBar.react"),{onClick:ga,onClickAnimateEnd:Q}):null;V=u&&A==null?m.jsx(d("WAWebUimUie.react").UIE,{displayName:"StatusQuickReply",escapable:!0,requestDismiss:function(){f.dismissReply()},children:m.jsx("div",babelHelpers["extends"]({className:"xyw6214 x4uap5 x18d9i69 xkrivgy x1gryazu x6my1t9 x1nrll8i xuuh30 x10l6tqk xxzp1fc"},{children:Z}))}):null;W=m.jsx("div",babelHelpers["extends"]({className:"x4o9ep9"},{children:m.jsx(d("WAWebComposeBoxPanelsMenu.react").ComposeBoxExpressionPanelsMenu,{chat:y,selectedExpressionPanel:A,onChange:$,theme:d("WAWebComposeBoxPanelsMenu.react").PanelsTheme.StatusReplyComposeBox,buttonStyle:[e?r.iconButtonColourFocused:r.iconButtonColourOutOfFocus],buttonProps:{closePanel:{"data-tab":d("WAWebTabOrder").TAB_ORDER.STATUS_BOTTOM_SECTION},openEmoji:{"data-tab":d("WAWebTabOrder").TAB_ORDER.STATUS_BOTTOM_SECTION},openGif:{"data-tab":d("WAWebTabOrder").TAB_ORDER.STATUS_BOTTOM_SECTION},openSticker:{"data-tab":d("WAWebTabOrder").TAB_ORDER.STATUS_BOTTOM_SECTION}}})}));M=J==null?void 0:J.editor;X=m.jsxs(m.Fragment,{children:[m.jsx("div",babelHelpers["extends"]({className:"x10l6tqk x160vmok xs7f9wi xoyjkpr"},{children:M&&m.jsx(d("WAWebEmojiSuggestions.react").EmojiSuggestions,{editor:M,kind:d("WAWebSuggestionsPanelContainer.react").SuggestionsPanelKind.Menu})})),m.jsx(d("WAWebKeyboardHotKeys.react").HotKeys,{className:(j||(j=c("stylex")))(r.inputContainer,d("WAWebUISpacing").uiPadding.vert3,e?r.inputInFocus:r.inputOutOfFocus),onClick:L,children:m.jsx(d("WAWebRichTextInput.react").RichTextInput,{tabOrder:d("WAWebTabOrder").TAB_ORDER.STATUS_BOTTOM_SECTION,xstyle:d("WAWebUISpacing").uiMargin.vert6,textXstyle:r.inputText,placeholderTextXStyle:e?r.replyPlaceholderColourFocused:r.replyPlaceholderColourOutOfFocus,ref:l,placeholder:h._(/*BTDS*/"__JHASH__MyxxAiBTQag__JHASH__"),multiline:!0,spellCheck:a.spellcheck,transformTextEmoji:a.transformTextEmoji,enterIsNewLine:!a.enterIsSend,textFormatEnabled:!0,bulletPointsEnabled:!0,numberedListEnabled:!0,inlineCodeEnabled:!0,blockQuoteEnabled:!0,internLinksEnabled:!0,phoneNumbersEnabled:!0,linksEnabled:!0,textFormatShortcutsEnabled:!0,onChange:function(a){return F(a.text)},onFocus:da,onBlur:ea,onEnter:S})})]});w=G?null:m.jsxs("div",babelHelpers["extends"]({},{0:{className:"x107yiy2 xv8uw2v x1tfwpuw x2g32xy xa1v5g2 x1n2onr6"},1:{className:"x1bmpntp x1h2kqdt x107yiy2 xv8uw2v x1tfwpuw x2g32xy xa1v5g2 x1n2onr6"}}[!!e<<0],{children:[m.jsx(c("WAWebVelocityTransitionGroup"),{transitionName:"status-panel",appear:!0,children:Y}),m.jsxs("div",babelHelpers["extends"]({className:"xa1v5g2 x78zum5 x1q0g3np x889kno x1iji9kk x1a8lsjc x1sln4lm"},{children:[W,m.jsx("div",babelHelpers["extends"]({className:"x1n2onr6 x13vifvy xu96u03 x1rg5ohu x10kpxic"},{children:X})),m.jsx(c("WAWebUnstyledButton.react"),{dataTab:d("WAWebTabOrder").TAB_ORDER.STATUS_BOTTOM_SECTION,className_DONOTUSE:{0:"x1rg5ohu xpvyfi4 xfitlp5 xnfveip x1hwekxz x1fpc5dy",1:"x1rg5ohu xpvyfi4 xfitlp5 xnfveip x1hwekxz xfect85"}[!!e<<0],onClick:S,children:m.jsx(d("WAWebSendIcon.react").SendIcon,{directional:!0,iconXstyle:[r.square26Svg,e?r.iconButtonColourFocused:r.iconButtonColourOutOfFocus]})}),C]}))]}));n(function(){var a=function(){var a,b=document.activeElement;!((a=k.current)==null?void 0:a.contains(b))&&u&&f.dismissReply(!1)};document.addEventListener("focusin",a);return function(){document.removeEventListener("focusin",a)}},[u]);return m.jsxs("div",babelHelpers["extends"]({ref:k},{className:"x10l6tqk x3m8u43 xn0vg7t xu96u03 xa1v5g2 x19sv2k2 x1kozois xkrivgy x1gryazu x1a8lsjc"},{children:[m.jsx(c("WAWebVelocityTransitionGroup"),{transitionName:"status-quick-reply",appear:!0,children:V}),w]}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226); __d("WAWebStatusDeletePopup.react",["fbt","WAWebConfirmPopup.react","WAWebModal.react","react"],(function(a,b,c,d,e,f,g,h){var i,j=i||c("react");function a(a){var b=a.onCancel;a=a.onDelete;var c=h._(/*BTDS*/"__JHASH__OHl8RH_lwGJ__JHASH__"),e=h._(/*BTDS*/"__JHASH__YnNcQRjKhxW__JHASH__");return j.jsx(d("WAWebConfirmPopup.react").ConfirmPopup,{type:d("WAWebModal.react").ModalTheme.StatusReport,title:c,okText:h._(/*BTDS*/"__JHASH__YqIOohcfW0a__JHASH__"),onOK:a,cancelText:h._(/*BTDS*/"__JHASH__Dh6IjPI0YCf__JHASH__"),onCancel:b,children:e})}a.displayName=a.name+" [from "+f.id+"]";g.DeleteStatusPopup=a}),226); __d("WAWebStatusFutureproofFooter.react",["fbt","WAWebText.react","WAWebUISpacing","WAWebWarningOutlineIcon.react","react","stylex"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||d("react"),l={container:{width:"xlybum",position:"x10l6tqk",bottom:"x11unvnq",start:"x17qophe",end:"xds687c",$$css:!0},warningIcon:{color:"x1elzesk",display:"x3nfvp2",$$css:!0}};function a(){var a=h._(/*BTDS*/"__JHASH__Dr7BEEKZqlz__JHASH__");return k.jsx("div",babelHelpers["extends"]({},(i||(i=c("stylex"))).props(l.container,d("WAWebUISpacing").uiMargin.startAuto,d("WAWebUISpacing").uiMargin.endAuto),{children:k.jsx("div",babelHelpers["extends"]({className:"x1lq5wgf xgqcy7u x30kzoy x9jhf4c x10l6tqk xh8yej3 x1ey2m1c x1vjfegm x1fpc5dy x2b8uid x1c8ul09"},{children:k.jsxs(d("WAWebText.react").WAWebTextSectionTitle,{color:"white",xstyle:[d("WAWebUISpacing").uiPadding.horiz40,d("WAWebUISpacing").uiPadding.vert12],children:[k.jsx(d("WAWebWarningOutlineIcon.react").WarningOutlineIcon,{width:14,height:14,displayInline:!0,iconXstyle:[l.warningIcon,d("WAWebUISpacing").uiPadding.top1,d("WAWebUISpacing").uiPadding.end7]})," ",a]})}))}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226); __d("WAWebStatusHostedDisclosure.react",["fbt","WAWebTextWithLearnMoreLink","WAWebUISpacing","WAWebUnstyledButton.react","react","stylex"],(function(a,b,c,d,e,f,g,h){var i,j,k=i||c("react"),l={container:{width:"xlybum",position:"x10l6tqk",bottom:"x11unvnq",start:"x17qophe",end:"xds687c",$$css:!0},withFutureproofing:{bottom:"x4tydyf",$$css:!0}};function a(a){var b=a.handleClick;a=a.withFutureproofing;var e=h._(/*BTDS*/"__JHASH__bjCT9kBN78y__JHASH__");e=k.jsx("div",{children:k.jsx(c("WAWebTextWithLearnMoreLink"),{text:e,handleClick:function(){b()}})});return k.jsx("div",babelHelpers["extends"]({},(j||(j=c("stylex"))).props(l.container,a&&l.withFutureproofing,d("WAWebUISpacing").uiMargin.startAuto,d("WAWebUISpacing").uiMargin.endAuto),{children:k.jsx("div",babelHelpers["extends"]({className:"x10l6tqk xh8yej3 x1ey2m1c x1vjfegm xkrivgy x1gryazu x1fpc5dy x2b8uid x1c8ul09 x1ypdohk x1c3i2sq xwn7fz2"},{children:k.jsx(c("WAWebUnstyledButton.react"),{onClick:b,children:k.jsxs("div",babelHelpers["extends"]({className:"xyamay9 x1l90r2v x19mlwdh x1kki2sl xuix1fa x13faqbe"},{children:[" ",e," "]}))})}))}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226); __d("WAWebStatusImg.react",["WAWebAnnotation.react","WAWebImg.react","WAWebMediaDataUtils","WAWebMediaTypes","WAWebMediaUrlProvider","WAWebObjectFit.react","WAWebStatusButton.react","WAWebWamEnumWebcRmrReasonCode","react","useWAWebModelValues"],(function(a,b,c,d,e,f,g){var h,i,j=i||c("react"),k=(h||(h=d("react"))).useEffect;function l(a){var b=a.mediaData,d=a.msg,e=a.onMouseDown,f=a.onMouseUp;a=a.src;var g=d.actionLink||{},h=g.buttonTitle;g=g.url;return j.jsx("div",babelHelpers["extends"]({className:"x10l6tqk x13vifvy x17qophe xh8yej3 x5yr21d"},{onMouseDown:e,onMouseUp:f,onDragEnd:f,"data-testid":void 0,children:j.jsx(c("WAWebObjectFit.react"),{type:"contain",size:{width:b.fullWidth,height:b.fullHeight},children:j.jsxs("div",babelHelpers["extends"]({className:"x1n2onr6 xh8yej3 x5yr21d x6ikm8r x10wlt62"},{children:[j.jsx(c("WAWebImg.react"),{className:"x1n2onr6 x1lliihq x5yr21d xkrivgy x1gryazu",src:a,disableContextMenu:!0}),d.interactiveAnnotations&&d.interactiveAnnotations.length>0&&j.jsx(c("WAWebAnnotation.react"),{annotations:d.interactiveAnnotations,onTooltipDisplay:e,onTooltipDismiss:f}),h&&g&&j.jsx("div",babelHelpers["extends"]({className:"x10l6tqk x1kiq0my x78zum5 x6s0dn4 xl56j7k xh8yej3"},{children:j.jsx(c("WAWebStatusButton.react"),{text:h,url:g})}))]}))})}))}l.displayName=l.name+" [from "+f.id+"]";function m(a){var b=a.mediaData,e=a.onMouseDown;a=a.onMouseUp;return j.jsx("div",babelHelpers["extends"]({className:"x10l6tqk x13vifvy x17qophe xh8yej3 x5yr21d x14tgpju"},{onMouseDown:e,onMouseUp:a,children:j.jsx(c("WAWebObjectFit.react"),{type:"contain",size:{width:b.aspectRatio,height:1},children:j.jsx(c("WAWebImg.react"),{className:"x1n2onr6 x1lliihq x5yr21d xkrivgy x1gryazu",src:(e=d("WAWebMediaDataUtils").getHighestQualityThumbnailUrl(b))!=null?e:""})})}))}m.displayName=m.name+" [from "+f.id+"]";function a(a){var b=a.msg,e=a.onMouseDown,f=a.onMouseUp,g=a.play,h=a.markRead,i=a.status,n=a.pause,o=d("useWAWebModelValues").useModelValues(a.mediaData,["mediaStage","renderableUrl","preview","fullWidth","fullHeight","aspectRatio","fullPreviewData"]);k(function(){o.mediaStage!==d("WAWebMediaTypes").MediaDataStage.RESOLVED&&b.downloadMedia({downloadEvenIfExpensive:!0,rmrReason:d("WAWebWamEnumWebcRmrReasonCode").WEBC_RMR_REASON_CODE.STATUS_V3,isUserInitiated:!0});return function(){n()}},[]);a=function(){return b.downloadMedia({downloadEvenIfExpensive:!0,rmrReason:d("WAWebWamEnumWebcRmrReasonCode").WEBC_RMR_REASON_CODE.STATUS_V3,isUserInitiated:!0})};k(function(){g(),o.mediaStage===d("WAWebMediaTypes").MediaDataStage.RESOLVED&&h(i,b)},[h,o.mediaStage,b,g,i]);return j.jsx(c("WAWebMediaUrlProvider"),{mediaData:o,placeholderRenderer:function(){return j.jsx(m,{mediaData:o,onMouseDown:e,onMouseUp:f})},downloadMedia:a,renderProgressively:!0,children:function(a){return j.jsx(l,{src:a,msg:b,mediaData:o,onMouseUp:f,onMouseDown:e})}})}a.displayName=a.name+" [from "+f.id+"]";g.StatusImg=a}),98); __d("WAWebWamEnumPsaLinkOpenResult",[],(function(a,b,c,d,e,f){a=Object.freeze({SUCCESS:1,CANCEL:2,ERROR:3});f.PSA_LINK_OPEN_RESULT=a}),66); __d("WAWebWamEnumStatusItemViewResult",[],(function(a,b,c,d,e,f){a=Object.freeze({OK:1,CANCELLED:2,ERROR_UNKNOWN:3,MEDIA_ERROR_UNKNOWN:4,MEDIA_ERROR_DNS:5,MEDIA_ERROR_TIMEOUT:6,MEDIA_ERROR_INSUFFICIENT_SPACE:7,MEDIA_ERROR_TOO_OLD:8,MEDIA_ERROR_CANNOT_RESUME:9,MEDIA_ERROR_HASH_MISMATCH:10,MEDIA_ERROR_INVALID_URL:11,MEDIA_ERROR_OUTPUT_STREAM:12,MEDIA_ERROR_MEDIA_CONN:13,MEDIA_ERROR_THROTTLE:14,MEDIA_DOWNLOAD_CANCEL:15,MEDIA_PREFETCH_END:16,MEDIA_ERROR_WATLS:17,MEDIA_ERROR_SERVER:18,MEDIA_ERROR_WAMSYS:19,MEDIA_ERROR_NETWORK:20,MEDIA_ERROR_CONNECT:21,MEDIE_HOST_SWTICH_REQUIRED:22,MEDIA_INVALID_CODE:23,MEDIA_SUSPICIOUS_CONTENT:24,MEDIA_ERROR_CRONET:25,PARTIAL_IMAGE_DOWNLOAD:26});f.STATUS_ITEM_VIEW_RESULT=a}),66); __d("WAWebWamEnumStatusType",[],(function(a,b,c,d,e,f){a=Object.freeze({IMAGE:1,VIDEO:2,GIF:3,AUDIO:4,TEXT:5,MUSIC_STANDALONE:6});f.STATUS_TYPE=a}),66); __d("WAWebStatusItemViewWamEvent",["WAWebWamCodegenUtils","WAWebWamEnumInlineVideoType","WAWebWamEnumMediaType","WAWebWamEnumPsaLinkOpenResult","WAWebWamEnumStatusItemViewResult","WAWebWamEnumStatusRowSection","WAWebWamEnumStatusType","WAWebWamEnumUrlStatusClicked","WAWebWamEnumUrlStatusType"],(function(a,b,c,d,e,f,g){b=(a=d("WAWebWamCodegenUtils")).defineEvents({StatusItemView:[1658,{externalSourceDomainType:[34,d("WAWebWamEnumInlineVideoType").INLINE_VIDEO_TYPE],isAlreadyDownloaded:[35,a.TYPES.BOOLEAN],isPosterBiz:[23,a.TYPES.BOOLEAN],isPosterInAddressBook:[25,a.TYPES.BOOLEAN],isResharable:[37,a.TYPES.BOOLEAN],isViewedInLandscape:[29,a.TYPES.BOOLEAN],mediaType:[4,d("WAWebWamEnumMediaType").MEDIA_TYPE],musicBlocked:[32,a.TYPES.BOOLEAN],psaCampaignId:[17,a.TYPES.STRING],psaCampaignItemIndex:[18,a.TYPES.INTEGER],psaLinkAvailable:[19,a.TYPES.BOOLEAN],psaLinkClick:[22,a.TYPES.BOOLEAN],psaLinkLoadTime:[21,a.TYPES.TIMER],psaLinkOpenResult:[20,d("WAWebWamEnumPsaLinkOpenResult").PSA_LINK_OPEN_RESULT],statusContainsMusic:[30,a.TYPES.BOOLEAN],statusItem3sViewCount:[31,a.TYPES.INTEGER],statusItemImpressionCount:[14,a.TYPES.INTEGER],statusItemIndex:[16,a.TYPES.INTEGER],statusItemLength:[7,a.TYPES.TIMER],statusItemLoadTime:[5,a.TYPES.TIMER],statusItemReplied:[8,a.TYPES.INTEGER],statusItemUnread:[9,a.TYPES.BOOLEAN],statusItemViewCount:[10,a.TYPES.INTEGER],statusItemViewResult:[3,d("WAWebWamEnumStatusItemViewResult").STATUS_ITEM_VIEW_RESULT],statusItemViewTime:[6,a.TYPES.TIMER],statusRowIndex:[2,a.TYPES.INTEGER],statusRowSection:[11,d("WAWebWamEnumStatusRowSection").STATUS_ROW_SECTION],statusType:[36,d("WAWebWamEnumStatusType").STATUS_TYPE],statusViewerSessionId:[1,a.TYPES.INTEGER],urlStatusClicked:[26,d("WAWebWamEnumUrlStatusClicked").URL_STATUS_CLICKED],urlStatusType:[27,d("WAWebWamEnumUrlStatusType").URL_STATUS_TYPE]},[1,1,1],"regular"]},{StatusItemView:[]});g.StatusItemViewWamEvent=b}),98); __d("WAWebStatusLastPostPreview.react",["fbt","WAWebAck","WAWebClock","WAWebMsgTimeIcon.react","WAWebUISpacing","react","useWAWebModelValues"],(function(a,b,c,d,e,f,g,h){var i,j=i||c("react"),k={statusAck:{verticalAlign:"x16dsc37",display:"x1rg5ohu",color:"x1ozewix",$$css:!0}};function a(a){a=a.msg;a=d("useWAWebModelValues").useModelValues(a,["ack","t"]);var b=a.ack;a=a.t;a=j.jsx("span",{children:d("WAWebClock").Clock.relativeDateAndTimeStr(a)});b===d("WAWebAck").ACK.CLOCK&&(a=j.jsxs("span",{children:[j.jsx(d("WAWebMsgTimeIcon.react").MsgTimeIcon,{xstyle:[k.statusAck,d("WAWebUISpacing").uiMargin.end2]}),h._(/*BTDS*/"__JHASH__BXdQZvQvNk0__JHASH__")]}));return j.jsx("span",babelHelpers["extends"]({className:"x1f6kntn x16cd2qt"},{children:a}))}a.displayName=a.name+" [from "+f.id+"]";g.StatusLastPostPreview=a}),226); __d("WAWebStatusLikeIcon.react",["WAWebSvgComponentBase","react","stylex"],(function(a,b,c,d,e,f,g){var h,i,j=h||c("react"),k="status-like";function a(a){var b=a.iconXstyle,e=a.height,f=a.width,g=a.viewBox,h=a.innerStyles;a=babelHelpers.objectWithoutPropertiesLoose(a,["iconXstyle","height","width","viewBox","innerStyles"]);var l;if(g){var m=g.x;m=m===void 0?0:m;var n=g.y;n=n===void 0?0:n;var o=g.width;o=o===void 0?0:o;g=g.height;g=g===void 0?0:g;l=[m,n,o,g].join(" ")}m=17;n=18;(e!=null||f!=null)&&(m=e,n=f);return j.jsx(d("WAWebSvgComponentBase").BaseSvgSpan,babelHelpers["extends"]({name:k},a,{children:j.jsxs("svg",{viewBox:(o=l)!=null?o:"0 0 18 17",height:m,width:n,preserveAspectRatio:"xMidYMid meet",className:(i||(i=c("stylex")))(b),fill:"none",children:[j.jsx("title",{children:k}),j.jsx("path",{fill:"#25D366",d:"M8.46488 3.12843C6.98118 1.62981 4.58085 1.62253 3.10357 3.11467C1.62629 4.6068 1.6335 7.03128 3.11719 8.5299L8.60947 14.0774C8.83729 14.3075 9.20665 14.3075 9.43446 14.0774L14.8982 8.56198C16.372 7.06499 16.3674 4.64731 14.8834 3.14842C13.3971 1.64712 10.9956 1.63984 9.51569 3.13464L8.99386 3.66273L8.46488 3.12843Z"}),j.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"none",d:"M16.3191 9.96952L10.8557 15.4845C9.84525 16.5047 8.19851 16.505 7.1882 15.4845L1.69593 9.93703C-0.552382 7.66611 -0.573625 3.98616 1.6823 1.70755C3.67116 -0.301315 6.74551 -0.531042 8.99542 0.983327C11.2521 -0.525092 14.3225 -0.260789 16.3047 1.74131C18.5559 4.01515 18.568 7.68525 16.3234 9.96514L16.3191 9.96952ZM9.72885 2.93507C9.65591 2.99832 9.5848 3.06485 9.51569 3.13465L8.99387 3.66274L8.46488 3.12843C8.39391 3.05674 8.32083 2.98846 8.24585 2.92359C6.75364 1.63255 4.51018 1.69392 3.10357 3.11467C1.62629 4.60681 1.6335 7.03129 3.1172 8.52991L8.60948 14.0774C8.83729 14.3075 9.20665 14.3075 9.43446 14.0774L14.8982 8.56199C16.372 7.065 16.3674 4.64731 14.8834 3.14843C13.4665 1.71723 11.2179 1.64378 9.72885 2.93507Z",className:i(h==null?void 0:h.border)})]})}))}a.displayName=a.name+" [from "+f.id+"]";g.StatusLikeIcon=a}),98); __d("WAWebStatusLikesAnimationData",[],(function(a,b,c,d,e,f){a={v:"5.9.0",fr:24,ip:0,op:48,w:720,h:1e3,nm:"hearts-float-WA",ddd:0,assets:[],layers:[{ddd:0,ind:1,ty:4,nm:"Layer 1/heart Outlines 6",sr:1,ks:{o:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:23.083,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:26,s:[100]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:44.166,s:[100]},{t:47.0830078125,s:[0]}],ix:11},r:{a:0,k:1.801,ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:23.083,s:[324.5,1002.5,0],to:[67.333,-56.333,0],ti:[-12.917,84.667,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:32.966,s:[223.5,744.5,0],to:[12.917,-84.667,0],ti:[81.417,85.667,0]},{t:47.0830078125,s:[402,494.5,0]}],ix:2,l:2},a:{a:0,k:[14.5,12,0],ix:1,l:2},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:23.083,s:[140,140,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:26,s:[204.365,204.365,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:27.083,s:[279,279,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:43.083,s:[279,279,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:44,s:[194.135,194.135,100]},{t:47.0830078125,s:[140,140,100]}],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.477,-1.523],[.005,.151],[6.021,-1.119],[-.13,-3.05],[-4.44,-2.83],[0,0],[0,0],[-.9,.58],[-.21,4.8],[3.92,.73]],o:[[-5.669,-1.052],[-.081,.259],[-.046,-1.522],[-3.93,.73],[.21,4.8],[.89,.57],[0,0],[0,0],[4.44,-2.84],[.14,-3.06],[0,0]],v:[[8.265,-10.354],[.062,-4.706],[-.007,-4.625],[-8.265,-10.354],[-13.735,-3.414],[-5.125,8.206],[-.095,11.256],[-.005,11.256],[5.115,8.206],[13.725,-3.414],[8.255,-10.354]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.129411764706,.752941176471,.388235294118,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[14.492,11.257],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"st",c:{a:0,k:[0,0,0,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:0,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1}],ip:22,op:48,st:-35,bm:0},{ddd:0,ind:2,ty:4,nm:"Layer 1/heart Outlines 2",sr:1,ks:{o:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:18,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:20.917,s:[100]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:34,s:[100]},{t:36.9169921875,s:[0]}],ix:11},r:{a:0,k:1.801,ix:10},p:{a:1,k:[{i:{x:.421,y:1},o:{x:.333,y:0},t:18,s:[413.5,999,0],to:[105.333,-160.333,0],ti:[-190.583,333.667,0]},{t:42,s:[456,450,0]}],ix:2,l:2},a:{a:0,k:[14.5,12,0],ix:1,l:2},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:18,s:[140,140,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:22,s:[279,279,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:38,s:[279,279,100]},{t:42,s:[140,140,100]}],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.477,-1.523],[.005,.151],[6.021,-1.119],[-.13,-3.05],[-4.44,-2.83],[0,0],[0,0],[-.9,.58],[-.21,4.8],[3.92,.73]],o:[[-5.669,-1.052],[-.081,.259],[-.046,-1.522],[-3.93,.73],[.21,4.8],[.89,.57],[0,0],[0,0],[4.44,-2.84],[.14,-3.06],[0,0]],v:[[8.265,-10.354],[.062,-4.706],[-.007,-4.625],[-8.265,-10.354],[-13.735,-3.414],[-5.125,8.206],[-.095,11.256],[-.005,11.256],[5.115,8.206],[13.725,-3.414],[8.255,-10.354]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.129411764706,.752941176471,.388235294118,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[14.492,11.257],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"st",c:{a:0,k:[0,0,0,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:0,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1}],ip:17,op:45,st:-36,bm:0},{ddd:0,ind:3,ty:4,nm:"Layer 1/heart Outlines 4",sr:1,ks:{o:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:13,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:15.917,s:[100]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:26,s:[100]},{t:28.9169921875,s:[0]}],ix:11},r:{a:0,k:1.801,ix:10},p:{a:1,k:[{i:{x:.46,y:1},o:{x:.177,y:0},t:13,s:[339.5,1001,0],to:[13.333,-20.333,0],ti:[181.417,171.667,0]},{t:37,s:[382,624,0]}],ix:2,l:2},a:{a:0,k:[14.5,12,0],ix:1,l:2},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:13,s:[140,140,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:17,s:[279,279,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:33,s:[279,279,100]},{t:37,s:[140,140,100]}],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.477,-1.523],[.005,.151],[6.021,-1.119],[-.13,-3.05],[-4.44,-2.83],[0,0],[0,0],[-.9,.58],[-.21,4.8],[3.92,.73]],o:[[-5.669,-1.052],[-.081,.259],[-.046,-1.522],[-3.93,.73],[.21,4.8],[.89,.57],[0,0],[0,0],[4.44,-2.84],[.14,-3.06],[0,0]],v:[[8.265,-10.354],[.062,-4.706],[-.007,-4.625],[-8.265,-10.354],[-13.735,-3.414],[-5.125,8.206],[-.095,11.256],[-.005,11.256],[5.115,8.206],[13.725,-3.414],[8.255,-10.354]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.129411764706,.752941176471,.388235294118,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[14.492,11.257],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"st",c:{a:0,k:[0,0,0,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:0,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1}],ip:12,op:39,st:-49,bm:0},{ddd:0,ind:4,ty:4,nm:"Layer 1/heart Outlines 3",sr:1,ks:{o:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:7.083,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:10,s:[100]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:28.166,s:[100]},{t:31.0830078125,s:[0]}],ix:11},r:{a:0,k:1.801,ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:7.083,s:[324.5,1002.5,0],to:[67.333,-56.333,0],ti:[-10.917,78.333,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:16.966,s:[227.5,824.5,0],to:[10.917,-78.333,0],ti:[81.417,85.667,0]},{t:31.0830078125,s:[390,532.5,0]}],ix:2,l:2},a:{a:0,k:[14.5,12,0],ix:1,l:2},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:7.083,s:[140,140,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:10,s:[204.365,204.365,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:11.083,s:[279,279,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:27.083,s:[279,279,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:28,s:[194.135,194.135,100]},{t:31.0830078125,s:[140,140,100]}],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.477,-1.523],[.005,.151],[6.021,-1.119],[-.13,-3.05],[-4.44,-2.83],[0,0],[0,0],[-.9,.58],[-.21,4.8],[3.92,.73]],o:[[-5.669,-1.052],[-.081,.259],[-.046,-1.522],[-3.93,.73],[.21,4.8],[.89,.57],[0,0],[0,0],[4.44,-2.84],[.14,-3.06],[0,0]],v:[[8.265,-10.354],[.062,-4.706],[-.007,-4.625],[-8.265,-10.354],[-13.735,-3.414],[-5.125,8.206],[-.095,11.256],[-.005,11.256],[5.115,8.206],[13.725,-3.414],[8.255,-10.354]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.129411764706,.752941176471,.388235294118,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[14.492,11.257],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"st",c:{a:0,k:[0,0,0,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:0,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1}],ip:6,op:33,st:-51,bm:0},{ddd:0,ind:5,ty:4,nm:"Layer 1/heart Outlines 5",sr:1,ks:{o:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:0,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:2.917,s:[100]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:16,s:[100]},{t:18.9169921875,s:[0]}],ix:11},r:{a:0,k:1.801,ix:10},p:{a:1,k:[{i:{x:.421,y:1},o:{x:.333,y:0},t:0,s:[413.5,999,0],to:[73.333,-88.333,0],ti:[-116.583,131.667,0]},{t:24,s:[362,522,0]}],ix:2,l:2},a:{a:0,k:[14.5,12,0],ix:1,l:2},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:0,s:[140,140,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:4,s:[279,279,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:20,s:[279,279,100]},{t:24,s:[140,140,100]}],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.477,-1.523],[.005,.151],[6.021,-1.119],[-.13,-3.05],[-4.44,-2.83],[0,0],[0,0],[-.9,.58],[-.21,4.8],[3.92,.73]],o:[[-5.669,-1.052],[-.081,.259],[-.046,-1.522],[-3.93,.73],[.21,4.8],[.89,.57],[0,0],[0,0],[4.44,-2.84],[.14,-3.06],[0,0]],v:[[8.265,-10.354],[.062,-4.706],[-.007,-4.625],[-8.265,-10.354],[-13.735,-3.414],[-5.125,8.206],[-.095,11.256],[-.005,11.256],[5.115,8.206],[13.725,-3.414],[8.255,-10.354]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.129411764706,.752941176471,.388235294118,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[14.492,11.257],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"st",c:{a:0,k:[0,0,0,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:0,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1}],ip:0,op:26,st:-54,bm:0}],markers:[]};f.statusLikes=a}),66); __d("WAWebStatusMentionsReceiverNuxIcon.react",["WAWebSvgComponentBase","react","stylex"],(function(a,b,c,d,e,f,g){var h,i,j=h||c("react"),k="status-mentions-receiver-nux";function a(a){var b=a.iconXstyle,e=a.height,f=a.width,g=a.viewBox;a=babelHelpers.objectWithoutPropertiesLoose(a,["iconXstyle","height","width","viewBox"]);var h;if(g){var l=g.x;l=l===void 0?0:l;var m=g.y;m=m===void 0?0:m;var n=g.width;n=n===void 0?0:n;g=g.height;g=g===void 0?0:g;h=[l,m,n,g].join(" ")}l=88;m=132;(e!=null||f!=null)&&(l=e,m=f);return j.jsx(d("WAWebSvgComponentBase").BaseSvgSpan,babelHelpers["extends"]({name:k},a,{children:j.jsxs("svg",{viewBox:(n=h)!=null?n:"0 0 132 88",height:l,width:m,preserveAspectRatio:"xMidYMid meet",className:(i||(i=c("stylex")))(b),fill:"none",children:[j.jsx("title",{children:k}),j.jsx("path",{d:"M46.4704 77.5C51.5504 77.5 56.4604 76.89 59.6404 75.83C61.9804 75.1 63.2704 73.65 63.2704 71.76C63.2704 69.87 61.8803 68.52 60.0303 68.52C59.5803 68.52 58.9104 68.69 58.3004 68.85C54.6203 69.69 51.6103 70.24 47.4203 70.24C31.0203 70.24 20.7504 60.31 20.7504 44.36C20.7504 28.41 31.0704 17.69 46.3004 17.69C61.5303 17.69 71.1804 27.01 71.1804 41.01C71.1804 49.66 68.3904 55.18 64.3204 55.18C61.6404 55.18 60.3004 53.79 60.3004 51.11V30.52C60.3004 28.23 58.8504 26.67 56.5604 26.67C54.5004 26.67 53.1003 28.34 53.1003 29.68V30.8C51.0403 28.4 47.6304 26.67 44.0604 26.67C35.5204 26.67 29.4404 33.98 29.4404 44.24C29.4404 54.5 35.5204 61.98 44.2204 61.98C48.4004 61.98 51.9704 60.03 54.1504 56.62C55.7104 59.91 59.1203 61.98 63.5204 61.98C72.5004 61.98 78.4704 53.39 78.4704 40.78C78.4704 22.82 65.3604 10.49 46.3404 10.49C27.3204 10.49 13.1104 24.22 13.1104 44.2C13.1104 64.18 26.5004 77.5 46.4704 77.5ZM45.5204 54.52C40.7804 54.52 37.8204 50.56 37.8204 44.09C37.8204 37.62 40.8304 33.66 45.5704 33.66C50.3103 33.66 53.4403 37.56 53.4403 43.92C53.4403 50.28 50.3204 54.52 45.5204 54.52Z",fill:"#25D366",stroke:"#111B21",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),j.jsx("path",{d:"M117.07 35.32C116.47 34.71 115.8 34.24 115.06 33.94C114.34 33.63 113.55 33.48 112.69 33.48H109.6V27.19C109.6 25.87 109.45 24.64 109.17 23.44C109.17 23.38 109.17 23.33 109.15 23.27C109.11 23.1 109.05 22.94 109.01 22.77L108.92 22.46C108.79 22.04 108.65 21.62 108.48 21.21C108.45 21.13 108.41 21.07 108.38 20.99C108.24 20.64 108.07 20.31 107.91 19.98C107.85 19.88 107.81 19.78 107.76 19.68C107.55 19.29 107.32 18.91 107.07 18.53C107.04 18.49 107.01 18.44 106.97 18.4C106.74 18.07 106.5 17.74 106.25 17.42C106.17 17.32 106.1 17.23 106.02 17.14C105.72 16.78 105.42 16.43 105.08 16.09C103.57 14.55 101.9 13.4 100.08 12.65C99.3999 12.36 98.6899 12.15 97.9499 11.97C96.7299 11.67 95.4699 11.5 94.1299 11.5C92.7899 11.5 91.5199 11.67 90.3099 11.97C89.5899 12.15 88.8599 12.36 88.1799 12.65C86.3599 13.42 84.6899 14.57 83.1799 16.09C82.8399 16.44 82.5299 16.78 82.2399 17.14C82.1599 17.23 82.0899 17.33 82.0099 17.42C81.7599 17.74 81.5099 18.07 81.2899 18.4L81.1899 18.53C80.9399 18.91 80.7199 19.29 80.4999 19.68C80.4499 19.78 80.3899 19.88 80.3499 19.98C80.1699 20.31 80.0199 20.65 79.8799 20.99C79.8499 21.07 79.8099 21.14 79.7799 21.21C79.6199 21.62 79.4699 22.03 79.3399 22.46C79.3099 22.56 79.2899 22.66 79.2499 22.77C79.2099 22.94 79.1499 23.1 79.1099 23.27C79.0999 23.33 79.1099 23.38 79.0899 23.44C78.8199 24.63 78.6599 25.88 78.6599 27.19V33.48H75.5699C74.7099 33.48 73.9299 33.64 73.1999 33.94C72.4799 34.24 71.8099 34.71 71.1999 35.32C69.9899 36.55 69.3799 38.03 69.3799 39.77V71.22C69.3799 72.95 69.9799 74.43 71.1999 75.67C71.7999 76.28 72.4699 76.75 73.1999 77.05C73.9199 77.35 74.7099 77.51 75.5699 77.51H112.69C113.55 77.51 114.33 77.35 115.06 77.05C115.78 76.74 116.45 76.28 117.07 75.67C118.28 74.44 118.89 72.96 118.89 71.22V39.77C118.89 38.04 118.29 36.56 117.07 35.32ZM84.8599 33.47V27.18C84.8599 26.27 84.9799 25.41 85.1899 24.59C85.2799 24.26 85.3899 23.93 85.5099 23.61C85.5099 23.59 85.5199 23.58 85.5299 23.55C85.6599 23.22 85.8299 22.89 85.9999 22.57C86.0499 22.48 86.1099 22.39 86.1599 22.3C86.2999 22.07 86.4599 21.84 86.6099 21.62C86.6799 21.53 86.7399 21.44 86.8099 21.35C87.0399 21.06 87.2799 20.77 87.5599 20.5C87.8999 20.15 88.2499 19.85 88.6199 19.57C89.7199 18.73 90.9299 18.18 92.2699 17.91C93.4994 17.6822 94.7603 17.6822 95.9899 17.91C97.3299 18.17 98.5399 18.72 99.6399 19.57C99.9999 19.85 100.36 20.15 100.7 20.5C100.97 20.78 101.21 21.06 101.44 21.35C101.51 21.44 101.57 21.53 101.64 21.62C101.81 21.84 101.96 22.07 102.09 22.3C102.336 22.6974 102.547 23.1157 102.72 23.55C102.72 23.57 102.73 23.58 102.74 23.61C102.86 23.93 102.97 24.26 103.06 24.59C103.28 25.4 103.39 26.26 103.39 27.18V33.47H84.8299H84.8399H84.8599Z",fill:"#E6FFDA",stroke:"#111B21",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),j.jsx("path",{d:"M94.5496 59.43C96.7296 59.43 98.4996 57.66 98.4996 55.48C98.4996 53.3 96.7296 51.53 94.5496 51.53C92.3696 51.53 90.5996 53.3 90.5996 55.48C90.5996 57.66 92.3696 59.43 94.5496 59.43Z",fill:"#E6FFDA",stroke:"#111B21",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})]})}))}a.displayName=a.name+" [from "+f.id+"]";g.StatusMentionsReceiverNuxIcon=a}),98); __d("WAWebStatusMentionsPopup.react",["fbt","WAWebConfirmPopup.react","WAWebFbtCommon","WAWebFlex.react","WAWebHandIcon.react","WAWebModal.react","WAWebPeopleIcon.react","WAWebRepeatIcon.react","WAWebStatusMentionsReceiverNuxIcon.react","WAWebStatusMentionsSenderNuxIcon.react","WAWebText.react","WAWebUISpacing","react","stylex"],(function(a,b,c,d,e,f,g,h){var i,j,k=i||c("react"),l={icon:{color:"xfect85",fill:"x1tp1yzw",$$css:!0},sectionIcon:{width:"xvy4d1p",$$css:!0},sectionTitle:{width:"x1cvmir6",lineHeight:"x1o2sk6j",$$css:!0},fullWidth:{width:"xh8yej3",$$css:!0}};function a(a){var b=a.onOk,e=a.onOverlayClick;a=a.isSentByMe;return k.jsx(d("WAWebConfirmPopup.react").ConfirmPopup,{type:d("WAWebModal.react").ModalTheme.StatusReport,title:h._(/*BTDS*/"__JHASH__E6rcf1RcJE1__JHASH__"),okText:c("WAWebFbtCommon")("OK"),onOK:b,onOverlayClick:e,children:k.jsxs(d("WAWebFlex.react").FlexColumn,{className:(j||(j=c("stylex")))(d("WAWebUISpacing").uiMargin.top32),children:[k.jsx(d("WAWebFlex.react").FlexRow,{justify:"center",className:j(d("WAWebUISpacing").uiMargin.horiz8,d("WAWebUISpacing").uiMargin.vert16,l.fullWidth),children:k.jsx(d("WAWebFlex.react").FlexItem,{children:a?k.jsx(d("WAWebStatusMentionsSenderNuxIcon.react").StatusMentionsSenderNuxIcon,{width:88*1.25,height:88*1.25}):k.jsx(d("WAWebStatusMentionsReceiverNuxIcon.react").StatusMentionsReceiverNuxIcon,{width:132*1.25,height:88*1.25})})}),k.jsxs(d("WAWebFlex.react").FlexRow,{className:j(d("WAWebUISpacing").uiMargin.horiz8,d("WAWebUISpacing").uiMargin.vert16),children:[k.jsx(d("WAWebFlex.react").FlexItem,{xstyle:[d("WAWebUISpacing").uiPadding.horiz8,l.sectionIcon],children:k.jsx(d("WAWebPeopleIcon.react").PeopleIcon,{width:24,height:24,iconXstyle:l.icon})}),k.jsx(d("WAWebFlex.react").FlexItem,{xstyle:[d("WAWebUISpacing").uiPadding.horiz8,l.sectionTitle],children:k.jsx(d("WAWebText.react").WAWebTextMuted,{children:h._(/*BTDS*/"__JHASH__QTQXFgNkk4W__JHASH__")})})]}),k.jsxs(d("WAWebFlex.react").FlexRow,{className:j(d("WAWebUISpacing").uiMargin.horiz8,d("WAWebUISpacing").uiMargin.vert16),children:[k.jsx(d("WAWebFlex.react").FlexItem,{xstyle:[d("WAWebUISpacing").uiPadding.horiz8,l.sectionIcon],children:k.jsx(d("WAWebHandIcon.react").HandIcon,{width:24,height:24,iconXstyle:l.icon})}),k.jsx(d("WAWebFlex.react").FlexItem,{xstyle:[d("WAWebUISpacing").uiPadding.horiz8,l.sectionTitle],children:k.jsx(d("WAWebText.react").WAWebTextMuted,{children:h._(/*BTDS*/"__JHASH__XqkgovvUiOE__JHASH__")})})]}),k.jsxs(d("WAWebFlex.react").FlexRow,{className:j(d("WAWebUISpacing").uiMargin.horiz8,d("WAWebUISpacing").uiMargin.vert16),children:[k.jsx(d("WAWebFlex.react").FlexItem,{xstyle:[d("WAWebUISpacing").uiPadding.horiz8,l.sectionIcon],children:k.jsx(d("WAWebRepeatIcon.react").RepeatIcon,{width:24,height:24,iconXstyle:l.icon})}),k.jsx(d("WAWebFlex.react").FlexItem,{xstyle:[d("WAWebUISpacing").uiPadding.horiz8,l.sectionTitle],children:k.jsx(d("WAWebText.react").WAWebTextMuted,{children:h._(/*BTDS*/"__JHASH__hAkhED7dsFJ__JHASH__")})})]})]})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226); __d("WAWebStatusMuteContactPopup.react",["fbt","WAWebConfirmPopup.react","WAWebEmojiText.react","WAWebFlex.react","WAWebFrontendContactGetters","WAWebModal.react","WAWebStatusGatingUtils","WAWebText.react","WAWebUISpacing","react","useWAWebContactValues"],(function(a,b,c,d,e,f,g,h){var i,j=i||c("react");function a(a){var b=a.onCancel,c=a.onMute;a=a.contact;a=d("useWAWebContactValues").useContactValues(a.id,[d("WAWebFrontendContactGetters").getFormattedName]);a=a[0];var e=h._(/*BTDS*/"__JHASH__RZKWdUTSrqu__JHASH__",[h._param("name-of-contact-being-muted",a)]);a=d("WAWebStatusGatingUtils").isStatusPrivateMentionsReceiveEnabled()?h._(/*BTDS*/"__JHASH__xpimOZTGPUc__JHASH__"):h._(/*BTDS*/"__JHASH__EbuZe8um_Up__JHASH__",[h._param("name-of-contact-being-muted",a)]);return j.jsx(d("WAWebConfirmPopup.react").ConfirmPopup,{type:d("WAWebModal.react").ModalTheme.StatusReport,title:j.jsx(d("WAWebEmojiText.react").EmojiText,{text:e}),okText:h._(/*BTDS*/"__JHASH__Ga8LuP_oefs__JHASH__"),onOK:c,cancelText:h._(/*BTDS*/"__JHASH__yY0tKxhs5_a__JHASH__"),onCancel:b,children:j.jsx(d("WAWebFlex.react").FlexRow,{align:"center",justify:"center",children:j.jsx(d("WAWebText.react").WAWebTextTitle,{xstyle:d("WAWebUISpacing").uiMargin.bottom32,children:j.jsx(d("WAWebEmojiText.react").EmojiText,{text:a})})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226); __d("WAWebStatusMediaControlsNoSoundIcon.react",["WAWebSvgComponentBase","react","stylex"],(function(a,b,c,d,e,f,g){var h,i,j=h||c("react"),k="status-media-controls-no-sound";function a(a){var b=a.iconXstyle,e=a.height,f=a.width,g=a.viewBox;a=babelHelpers.objectWithoutPropertiesLoose(a,["iconXstyle","height","width","viewBox"]);var h;if(g){var l=g.x;l=l===void 0?0:l;var m=g.y;m=m===void 0?0:m;var n=g.width;n=n===void 0?0:n;g=g.height;g=g===void 0?0:g;h=[l,m,n,g].join(" ")}l=24;m=24;(e!=null||f!=null)&&(l=e,m=f);return j.jsx(d("WAWebSvgComponentBase").BaseSvgSpan,babelHelpers["extends"]({name:k},a,{children:j.jsxs("svg",{viewBox:(n=h)!=null?n:"0 0 24 24",height:l,width:m,preserveAspectRatio:"xMidYMid meet",className:(i||(i=c("stylex")))(b),fill:"none",children:[j.jsx("title",{children:k}),j.jsx("path",{d:"M3 9.99977V13.9998C3 14.5498 3.45 14.9998 4 14.9998H7L10.29 18.2898C10.92 18.9198 12 18.4698 12 17.5798V6.40977C12 5.51977 10.92 5.06977 10.29 5.69977L7 8.99977H4C3.45 8.99977 3 9.44977 3 9.99977Z",fill:"currentColor"}),j.jsx("path",{d:"M18.5025 12.0923L19.8825 10.7123C20.2725 10.3223 20.2725 9.69227 19.8825 9.30227C19.4925 8.91227 18.8625 8.91227 18.4725 9.30227L17.0825 10.6723L15.7025 9.29227C15.3125 8.90227 14.6825 8.90227 14.2925 9.29227C13.9025 9.68227 13.9025 10.3123 14.2925 10.7023L15.6725 12.0823L14.2925 13.4623C13.9025 13.8523 13.9025 14.4823 14.2925 14.8723C14.6825 15.2623 15.3125 15.2623 15.7025 14.8723L17.0825 13.5123L18.4625 14.8923C18.8525 15.2823 19.4825 15.2823 19.8725 14.8923C20.2625 14.5023 20.2625 13.8723 19.8725 13.4823L18.5025 12.0923Z",fill:"currentColor"})]})}))}a.displayName=a.name+" [from "+f.id+"]";g.StatusMediaControlsNoSoundIcon=a}),98); __d("WAWebStatusMediaControlsPlayIcon.react",["WAWebSvgComponentBase","react","stylex"],(function(a,b,c,d,e,f,g){var h,i,j=h||c("react"),k="status-media-controls-play";function a(a){var b=a.iconXstyle,e=a.height,f=a.width,g=a.viewBox;a=babelHelpers.objectWithoutPropertiesLoose(a,["iconXstyle","height","width","viewBox"]);var h;if(g){var l=g.x;l=l===void 0?0:l;var m=g.y;m=m===void 0?0:m;var n=g.width;n=n===void 0?0:n;g=g.height;g=g===void 0?0:g;h=[l,m,n,g].join(" ")}l=24;m=24;(e!=null||f!=null)&&(l=e,m=f);return j.jsx(d("WAWebSvgComponentBase").BaseSvgSpan,babelHelpers["extends"]({name:k},a,{children:j.jsxs("svg",{viewBox:(n=h)!=null?n:"0 0 24 24",height:l,width:m,preserveAspectRatio:"xMidYMid meet",className:(i||(i=c("stylex")))(b),fill:"none",children:[j.jsx("title",{children:k}),j.jsx("path",{d:"M8 6.81976V17.1798C8 17.9698 8.87 18.4498 9.54 18.0198L17.68 12.8398C18.3 12.4498 18.3 11.5498 17.68 11.1498L9.54 5.97976C8.87 5.54976 8 6.02976 8 6.81976Z",fill:"currentColor"})]})}))}a.displayName=a.name+" [from "+f.id+"]";g.StatusMediaControlsPlayIcon=a}),98); __d("WAWebStatusMediaControlsVolumeOffIcon.react",["WAWebSvgComponentBase","react","stylex"],(function(a,b,c,d,e,f,g){var h,i,j=h||c("react"),k="status-media-controls-volume-off";function a(a){var b=a.iconXstyle,e=a.height,f=a.width,g=a.viewBox;a=babelHelpers.objectWithoutPropertiesLoose(a,["iconXstyle","height","width","viewBox"]);var h;if(g){var l=g.x;l=l===void 0?0:l;var m=g.y;m=m===void 0?0:m;var n=g.width;n=n===void 0?0:n;g=g.height;g=g===void 0?0:g;h=[l,m,n,g].join(" ")}l=24;m=24;(e!=null||f!=null)&&(l=e,m=f);return j.jsx(d("WAWebSvgComponentBase").BaseSvgSpan,babelHelpers["extends"]({name:k},a,{children:j.jsxs("svg",{viewBox:(n=h)!=null?n:"0 0 24 24",height:l,width:m,preserveAspectRatio:"xMidYMid meet",className:(i||(i=c("stylex")))(b),fill:"none",children:[j.jsx("title",{children:k}),j.jsx("path",{d:"M3.63 3.6299C3.24 4.0199 3.24 4.6499 3.63 5.0399L7.29 8.6999L7 8.9999H4C3.45 8.9999 3 9.4499 3 9.9999V13.9999C3 14.5499 3.45 14.9999 4 14.9999H7L10.29 18.2899C10.92 18.9199 12 18.4699 12 17.5799V13.4099L16.18 17.5899C15.69 17.9599 15.16 18.2699 14.58 18.4999C14.22 18.6499 14 19.0299 14 19.4199C14 20.1399 14.73 20.5999 15.39 20.3299C16.19 19.9999 16.94 19.5599 17.61 19.0199L18.95 20.3599C19.34 20.7499 19.97 20.7499 20.36 20.3599C20.75 19.9699 20.75 19.3399 20.36 18.9499L5.05 3.6299C4.66 3.2399 4.03 3.2399 3.63 3.6299ZM19 11.9999C19 12.8199 18.85 13.6099 18.59 14.3399L20.12 15.8699C20.68 14.6999 21 13.3899 21 11.9999C21 8.1699 18.6 4.8899 15.22 3.5999C14.63 3.3699 14 3.8299 14 4.4599V4.6499C14 5.0299 14.25 5.3599 14.61 5.4999C17.18 6.5399 19 9.0599 19 11.9999ZM10.29 5.7099L10.12 5.8799L12 7.7599V6.4099C12 5.5199 10.92 5.0799 10.29 5.7099ZM16.5 11.9999C16.5 10.2299 15.48 8.7099 14 7.9699V9.7599L16.48 12.2399C16.49 12.1599 16.5 12.0799 16.5 11.9999Z",fill:"currentColor"})]})}))}a.displayName=a.name+" [from "+f.id+"]";g.StatusMediaControlsVolumeOffIcon=a}),98); __d("WAWebStatusMediaControlsVolumeOnIcon.react",["WAWebSvgComponentBase","react","stylex"],(function(a,b,c,d,e,f,g){var h,i,j=h||c("react"),k="status-media-controls-volume-on";function a(a){var b=a.iconXstyle,e=a.height,f=a.width,g=a.viewBox;a=babelHelpers.objectWithoutPropertiesLoose(a,["iconXstyle","height","width","viewBox"]);var h;if(g){var l=g.x;l=l===void 0?0:l;var m=g.y;m=m===void 0?0:m;var n=g.width;n=n===void 0?0:n;g=g.height;g=g===void 0?0:g;h=[l,m,n,g].join(" ")}l=24;m=24;(e!=null||f!=null)&&(l=e,m=f);return j.jsx(d("WAWebSvgComponentBase").BaseSvgSpan,babelHelpers["extends"]({name:k},a,{children:j.jsxs("svg",{viewBox:(n=h)!=null?n:"0 0 24 24",height:l,width:m,preserveAspectRatio:"xMidYMid meet",className:(i||(i=c("stylex")))(b),fill:"none",children:[j.jsx("title",{children:k}),j.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 4.65204V4.45204C14 3.82204 14.63 3.37204 15.21 3.60204C18.6 4.89204 21 8.16204 21 12.002C21 15.842 18.6 19.112 15.21 20.402C14.63 20.622 14 20.182 14 19.552V19.352C14 18.972 14.24 18.642 14.6 18.502C17.18 17.472 19 14.942 19 12.002C19 9.06204 17.18 6.53204 14.6 5.50204C14.25 5.36204 14 5.03204 14 4.65204ZM3 10.002V14.002C3 14.552 3.45 15.002 4 15.002H7L10.29 18.292C10.92 18.922 12 18.472 12 17.582V6.41204C12 5.52204 10.92 5.07204 10.29 5.70204L7 9.00204H4C3.45 9.00204 3 9.45204 3 10.002ZM16.5 12.002C16.5 10.232 15.48 8.71204 14 7.97204V16.022C15.48 15.292 16.5 13.772 16.5 12.002Z",fill:"currentColor"})]})}))}a.displayName=a.name+" [from "+f.id+"]";g.StatusMediaControlsVolumeOnIcon=a}),98); __d("WAWebStatusPlayerOverflowMenu.react",["fbt","WAWebContactGetters","WAWebDeleteRefreshedIcon.react","WAWebDownloadRefreshedIcon.react","WAWebDropdown.react","WAWebDropdownItem.react","WAWebMenuBar.react","WAWebMenuIcon.react","WAWebMoreRefreshedIcon.react","WAWebMuteNotificationsRefreshedIcon.react","WAWebReportRefreshedIcon.react","WAWebTabOrder","WAWebUIRefreshGatingUtils","WAWebUnmuteNotificationsRefreshedIcon.react","WAWebVelocityTransitionGroup","react","useWAWebModelValues"],(function(a,b,c,d,e,f,g,h){var i,j=i||c("react"),k={menuButtonStyle:{paddingTop:"x19p2yjq",paddingEnd:"x1q1cq6n",paddingBottom:"x1jdd0k0",paddingStart:"x1bjr7am",color:"x1fpc5dy",$$css:!0}};function a(a){var b=a.contact,e=a.onReport,f=a.onDelete,g=a.onMuteOrUnmute,i=a.onOverflowMenuShown,l=a.onOverflowMenuDismissed;a=a.onDownload;var m=d("WAWebUIRefreshGatingUtils").uiRefreshM1Enabled(),n=[];e=j.jsx(d("WAWebDropdownItem.react").DropdownItem,{action:e,testid:void 0,icon:m===!0?j.jsx(d("WAWebReportRefreshedIcon.react").ReportRefreshedIcon,{}):null,children:h._(/*BTDS*/"__JHASH__GmXGBW5qCw-__JHASH__")},"status-player-header-overflow-menu-report");!d("WAWebContactGetters").getIsMe(b)&&!d("WAWebContactGetters").getIsPSA(b)&&n.push(e);a!=null&&n.push(j.jsx(d("WAWebDropdownItem.react").DropdownItem,{action:a,testid:void 0,icon:m===!0?j.jsx(d("WAWebDownloadRefreshedIcon.react").DownloadRefreshedIcon,{}):null,children:h._(/*BTDS*/"__JHASH__BoXpgxWugVa__JHASH__")},"status-player-header-overflow-menu-save"));d("WAWebContactGetters").getIsMe(b)&&n.push(j.jsx(d("WAWebDropdownItem.react").DropdownItem,{action:f,testid:void 0,icon:m===!0?j.jsx(d("WAWebDeleteRefreshedIcon.react").DeleteRefreshedIcon,{}):null,children:h._(/*BTDS*/"__JHASH__kcBkKGP0YUN__JHASH__")},"status-player-header-overflow-menu-revoke"));e=d("useWAWebModelValues").useModelValues(b,["statusMute"]);var o=e.statusMute;if(!d("WAWebContactGetters").getIsMe(b)&&!d("WAWebContactGetters").getIsPSA(b)){a=null;f=function(){g(!o)};o?(a=j.jsx(d("WAWebUnmuteNotificationsRefreshedIcon.react").UnmuteNotificationsRefreshedIcon,{}),e=h._(/*BTDS*/"__JHASH__IK40eGEq849__JHASH__"),b="status-player-header-overflow-menu-unmute"):(a=j.jsx(d("WAWebMuteNotificationsRefreshedIcon.react").MuteNotificationsRefreshedIcon,{}),e=h._(/*BTDS*/"__JHASH__-Ac8YvUuHmX__JHASH__"),b="status-player-header-overflow-menu-mute");f=j.jsx(d("WAWebDropdownItem.react").DropdownItem,{action:f,testid:void 0,icon:m===!0?a:null,children:e},b);n.push(f)}return n.length===0?null:j.jsx("div",{children:j.jsx(c("WAWebVelocityTransitionGroup"),{transitionName:"dropdown",children:j.jsx(d("WAWebMenuBar.react").MenuBarItem,{tabOrder:d("WAWebTabOrder").TAB_ORDER.STATUS_HEADER_SECTION,testid:void 0,icon:d("WAWebUIRefreshGatingUtils").uiRefreshM1Enabled()?j.jsx(d("WAWebMoreRefreshedIcon.react").MoreRefreshedIcon,{}):j.jsx(d("WAWebMenuIcon.react").MenuIcon,{}),onTransitionStart:i,onTransitionEnd:l,buttonStyle:k.menuButtonStyle,title:h._(/*BTDS*/"__JHASH__kPfUzfW6BI6__JHASH__"),dropdownMenu:{menu:n,type:d("WAWebDropdown.react").MenuType.DropdownMenu,flipOnRTL:!0,key:"StatusOverflowMenu",dirX:d("WAWebDropdown.react").DirX.LEFT,dirY:d("WAWebDropdown.react").DirY.BOTTOM,testid:"status-player-header-overflow-menu"}})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226); __d("WAWebStatusPlayerControlsMenu.react",["fbt","WAWebFlex.react","WAWebPauseIcon.react","WAWebStatusMediaControlsNoSoundIcon.react","WAWebStatusMediaControlsPlayIcon.react","WAWebStatusMediaControlsVolumeOffIcon.react","WAWebStatusMediaControlsVolumeOnIcon.react","WAWebStatusPlayerOverflowMenu.react","WAWebSvgButton.react","WAWebTabOrder","WAWebUnstyledButton.react","WDSFocusStateStyles","react"],(function(a,b,c,d,e,f,g,h){var i,j=i||c("react"),k={buttonStyle:{cursor:"xt0e3qv",width:"xvy4d1p",height:"xxk0z11",color:"x17t9dm2",$$css:!0},playPauseButton:{borderTopStartRadius:"xejsn0x",borderTopEndRadius:"x1m0zscd",borderBottomEndRadius:"x11atp78",borderBottomStartRadius:"xthbduj",marginEnd:"x1emribx",$$css:!0}};function l(a){var b=a.handlePlayPauseButton;a=a.isPaused;return j.jsx(c("WAWebUnstyledButton.react"),{dataTab:d("WAWebTabOrder").TAB_ORDER.STATUS_HEADER_SECTION,onClick:b,xstyle:[k.buttonStyle,k.playPauseButton,d("WDSFocusStateStyles").WDSFocusStateStyles.genericFocus],children:j.jsx(c("WAWebSvgButton.react"),{"aria-label":a?h._(/*BTDS*/"__JHASH__wmHaYL7UPvE__JHASH__"):h._(/*BTDS*/"__JHASH___NG8JgG8AQh__JHASH__"),onClick:b,Icon:a?d("WAWebStatusMediaControlsPlayIcon.react").StatusMediaControlsPlayIcon:d("WAWebPauseIcon.react").PauseIcon})})}l.displayName=l.name+" [from "+f.id+"]";function m(a){var b=a.handleMuteButton,e=a.hasAudio;a=a.isMuted;return e?j.jsx("div",babelHelpers["extends"]({className:"xt0e3qv xvy4d1p xxk0z11 x17t9dm2"},{children:j.jsx(c("WAWebSvgButton.react"),{dataTab:d("WAWebTabOrder").TAB_ORDER.STATUS_HEADER_SECTION,"aria-label":a?h._(/*BTDS*/"__JHASH__Dp1gvD4Qj3u__JHASH__"):h._(/*BTDS*/"__JHASH__c1zigfyHutU__JHASH__"),onClick:b,Icon:a?d("WAWebStatusMediaControlsVolumeOffIcon.react").StatusMediaControlsVolumeOffIcon:d("WAWebStatusMediaControlsVolumeOnIcon.react").StatusMediaControlsVolumeOnIcon})})):j.jsx("div",babelHelpers["extends"]({className:"x1ks1olk xt0e3qv xvy4d1p xxk0z11 x17t9dm2"},{children:j.jsx(d("WAWebStatusMediaControlsNoSoundIcon.react").StatusMediaControlsNoSoundIcon,{})}))}m.displayName=m.name+" [from "+f.id+"]";function a(a){var b=a.isPaused,e=a.hasAudio,f=a.isMuted,g=a.onPlay,h=a.onPauseButtonClick,i=a.onMute,k=a.onUnmute,n=a.contact,o=a.onReport,p=a.onDelete,q=a.onMuteOrUnmute,r=a.onOverflowMenuShown,s=a.onOverflowMenuDismissed;a=a.onDownload;var t=function(){b?g():h()},u=function(){f?k():i()},v=function(a){return a.stopPropagation()};return j.jsx("div",{onClick:v,children:j.jsxs(d("WAWebFlex.react").FlexRow,{children:[j.jsx(l,{isPaused:b,handlePlayPauseButton:t}),j.jsx(m,{hasAudio:e,isMuted:f,handleMuteButton:u}),j.jsx(c("WAWebStatusPlayerOverflowMenu.react"),{onOverflowMenuShown:r,onOverflowMenuDismissed:s,contact:n,onReport:o,onDelete:p,onDownload:a,onMuteOrUnmute:q})]})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226); __d("WAWebStatusProgressBar.react",["Promise","WALogger","WAWebNoop","WAWebVelocityAnimate","react","useWAWebStableCallback"],(function(a,b,c,d,e,f,g){var h,i,j;function k(){var a=babelHelpers.taggedTemplateLiteralLoose(["Assertion failed!"]);k=function(){return a};return a}function l(){var a=babelHelpers.taggedTemplateLiteralLoose(["Current index: ",", total count: ",""]);l=function(){return a};return a}e=j||d("react");var m=i||(i=c("react")),n=e.useEffect,o=e.useImperativeHandle,p=e.useMemo,q=e.useRef;function a(a){var e=a.ref;a=babelHelpers.objectWithoutPropertiesLoose(a,["ref"]);var f=a.onClick,g=a.current,i=a.total,j=q(null),r=q(null);n(function(){d("WALogger").LOG(l(),g,i),g>=0&&g<i||d("WALogger").ERROR(k()).sendLogs("bad current status v3 index")},[]);var s=c("useWAWebStableCallback")(function(a){f==null?void 0:f(a)}),t=function(a,b){if(!j.current)return;b="-"+a/b*100+"%";c("WAWebVelocityAnimate")(j.current,"stop");r.current=c("WAWebVelocityAnimate")(j.current,{translateX:["0%",b]},{duration:a,easing:"linear"})},u=function(){if(!j.current)return;c("WAWebVelocityAnimate")(j.current,"stop")},v=function(){var a=r.current;return a?a:(h||(h=b("Promise"))).resolve()};o(e,function(){return{handleStart:t,handlePause:u,handleEnded:v}});a=p(function(){var a=100/i+"%";return new Array(i).fill(void 0).map(function(b,d){b={width:a};return m.jsxs("div",{className:"x1n2onr6 x13vifvy x1ey2m1c x1rg5ohu x152qxlz x5yr21d x12mruv9 xfs2ol5",style:b,onClick:function(){return s(d)},children:[m.jsx("div",{className:"x10l6tqk x13vifvy x17qophe xh8yej3 x5yr21d x1q9q7m4 x1inr27j x1vcqv9c xfrm7hi xpbad92"}),m.jsx("div",babelHelpers["extends"]({className:"x10l6tqk x13vifvy x17qophe xh8yej3 x5yr21d x6ikm8r x10wlt62 x1inr27j x1vcqv9c xfrm7hi xpbad92 x17dzmu4"},{children:m.jsx("div",babelHelpers["extends"]({},{0:{className:"x10l6tqk x13vifvy x17qophe xh8yej3 x5yr21d x1fuxy61"},4:{className:"x10l6tqk x13vifvy x17qophe xh8yej3 x5yr21d x1fuxy61 x1ewzhrl"},2:{className:"x10l6tqk x13vifvy x17qophe xh8yej3 x5yr21d x1fuxy61 x5fxwdf"},6:{className:"x10l6tqk x13vifvy x17qophe xh8yej3 x5yr21d x1fuxy61 x5fxwdf"},1:{className:"x10l6tqk x13vifvy x17qophe xh8yej3 x5yr21d x1fuxy61 x5i6ehr"},5:{className:"x10l6tqk x13vifvy x17qophe xh8yej3 x5yr21d x1fuxy61 x5i6ehr"},3:{className:"x10l6tqk x13vifvy x17qophe xh8yej3 x5yr21d x1fuxy61 x5i6ehr"},7:{className:"x10l6tqk x13vifvy x17qophe xh8yej3 x5yr21d x1fuxy61 x5i6ehr"}}[!!(d<g)<<2|!!(d>g)<<1|!!(d===g)<<0],{ref:d===g?j:c("WAWebNoop")}))}))]},d)})},[g,i,s]);return m.jsx("div",babelHelpers["extends"]({className:"x10l6tqk xds687c x17qophe xa1v5g2 x78zum5 x1hagigm x1sy10c2 xkrivgy x1gryazu xzt5al7 xvue9z"},{children:a}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("WAWebWamEnumReplyEntryMethod",[],(function(a,b,c,d,e,f){a=Object.freeze({SWIPE_UP:1,TAP_REPLY_BAR:2});f.REPLY_ENTRY_METHOD=a}),66); __d("WAWebWamEnumReplyExitMethod",[],(function(a,b,c,d,e,f){a=Object.freeze({BACK_BUTTON:1,SWIPE_DOWN:2,TAP_SCREEN:3,OTHER:4});f.REPLY_EXIT_METHOD=a}),66); __d("WAWebWamEnumStatusContentType",[],(function(a,b,c,d,e,f){a=Object.freeze({PHOTO:1,TEXT:2,URL:3,VIDEO:4,GIF:5,VOICE:6});f.STATUS_CONTENT_TYPE=a}),66); __d("WAWebStatusReplyWamEvent",["WAWebWamCodegenUtils","WAWebWamEnumReplyEntryMethod","WAWebWamEnumReplyExitMethod","WAWebWamEnumStatusContentType","WAWebWamEnumStatusReplyMessageType","WAWebWamEnumStatusReplyResult"],(function(a,b,c,d,e,f,g){b=(a=d("WAWebWamCodegenUtils")).defineEvents({StatusReply:[1180,{isMentioned:[7,a.TYPES.BOOLEAN],isPosterBiz:[4,a.TYPES.BOOLEAN],isPosterInAddressBook:[6,a.TYPES.BOOLEAN],isReplyBarBelowCanvas:[9,a.TYPES.BOOLEAN],isReplyBarOverMedia:[10,a.TYPES.BOOLEAN],mediaHeight:[11,a.TYPES.INTEGER],mediaWidth:[12,a.TYPES.INTEGER],postContainedPrompt:[15,a.TYPES.BOOLEAN],replyEntryMethod:[13,d("WAWebWamEnumReplyEntryMethod").REPLY_ENTRY_METHOD],replyExitMethod:[14,d("WAWebWamEnumReplyExitMethod").REPLY_EXIT_METHOD],statusContentType:[8,d("WAWebWamEnumStatusContentType").STATUS_CONTENT_TYPE],statusReplyMessageType:[3,d("WAWebWamEnumStatusReplyMessageType").STATUS_REPLY_MESSAGE_TYPE],statusReplyResult:[2,d("WAWebWamEnumStatusReplyResult").STATUS_REPLY_RESULT],statusSessionId:[1,a.TYPES.INTEGER]},[1,1,1],"regular"]},{StatusReply:[]});g.StatusReplyWamEvent=b}),98); __d("WAWebStatusSeenCount.react",["fbt","WAWebFlex.react","WAWebLottieAnimationLoadable","WAWebSpinner.react","WAWebStatusLikesAnimationData","WAWebUISpacing","WAWebUnstyledButton.react","WAWebUserPrefsGeneral","WAWebVisibilityOffIcon.react","WAWebVisibilityOnIcon.react","react","stylex"],(function(a,b,c,d,e,f,g,h){var i,j,k=i||c("react"),l={container:{display:"x78zum5",flexDirection:"x1q0g3np",alignItems:"x6s0dn4",justifyContent:"xl56j7k",color:"x1fpc5dy",$$css:!0},animation:{height:"xpnc28q",width:"xop8lp1",$$css:!0}};function a(a){var b=a.hasLikes;b=b===void 0?!1:b;var e=a.onClick;a=a.seenCount;b=Boolean(b)&&k.jsx(d("WAWebLottieAnimationLoadable").LottieAnimation,{loop:!1,autoplay:!0,data:d("WAWebStatusLikesAnimationData").statusLikes,xstyle:[l.animation,d("WAWebUISpacing").uiMargin.vert10]});var f=d("WAWebUserPrefsGeneral").getUserPrivacySettings().readReceipts==="none";b=f?k.jsx(d("WAWebVisibilityOffIcon.react").VisibilityOffIcon,{}):k.jsxs(d("WAWebFlex.react").FlexColumn,{align:"center",justify:"center",children:[k.jsx(d("WAWebFlex.react").FlexItem,{children:b}),k.jsxs(d("WAWebFlex.react").FlexRow,{align:"center",justify:"center",children:[k.jsx(d("WAWebVisibilityOnIcon.react").VisibilityOnIcon,{}),k.jsx("div",babelHelpers["extends"]({},(j||(j=c("stylex"))).props(d("WAWebUISpacing").uiMargin.start5),{children:a}))]})]});e=e?k.jsx(c("WAWebUnstyledButton.react"),{xstyle:l.container,onClick:e,"aria-label":h._(/*BTDS*/"__JHASH__wvoyqymIcIt__JHASH__"),children:b}):b;return f||a!=null?k.jsx("div",babelHelpers["extends"]({className:"x78zum5 x1q0g3np x6s0dn4 xl56j7k x1fpc5dy"},{"aria-label":h._(/*BTDS*/"__JHASH__7dCZH-27El7__JHASH__"),children:e})):k.jsx(d("WAWebSpinner.react").Spinner,{stroke:3,size:12})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226); __d("WAWebStatusNewsletterCTA.react",["fbt","WAWebChatEntryPoint","WAWebChevronIcon.react","WAWebClock","WAWebCmd","WAWebFlex.react","WAWebKeyboardHotKeys.react","WAWebNewsletterApiParse","WAWebNewsletterExecApiCmd","WAWebNewsletterIcon.react","WAWebUISpacing","react","stylex"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=i||c("react"),l=14,m={cta:{cursor:"x1ypdohk",$$css:!0}};function a(a){var b=a.msg;a=a.xstyle;var e=b.forwardedNewsletterMessageInfo;if(e==null)return null;var f=e.newsletterId,g=e.serverMessageId;if(f==null)return null;e=function(){d("WAWebCmd").Cmd.closeStatusViewer(),void d("WAWebNewsletterExecApiCmd").execNewsletterApiCmd({identifier:f.toString(),identifierType:d("WAWebNewsletterApiParse").NewsletterIdentifierType.Id,type:"view",chatEntryPoint:d("WAWebChatEntryPoint").ChatEntryPoint.NewsletterCTAOnStatus,serverId:g})};e=k.jsx(d("WAWebKeyboardHotKeys.react").HotKeys,{onClick:e,children:k.jsxs(d("WAWebFlex.react").FlexRow,{columnGap:4,children:[k.jsx(d("WAWebFlex.react").FlexItem,{children:k.jsx(d("WAWebNewsletterIcon.react").NewsletterIcon,{height:l,width:l})}),k.jsx(d("WAWebFlex.react").FlexItem,{xstyle:m.cta,children:k.jsxs(d("WAWebFlex.react").FlexRow,{children:[h._(/*BTDS*/"__JHASH__uA63r55hgSR__JHASH__"),k.jsx(d("WAWebChevronIcon.react").ChevronIcon,{directional:!0,height:l,width:l})]})})]})});return k.jsxs(d("WAWebFlex.react").FlexRow,{className:(j||(j=c("stylex")))(a),children:[k.jsx("div",{children:d("WAWebClock").Clock.statusTimePassedString(b.t)}),k.jsx("div",babelHelpers["extends"]({},j.props(d("WAWebUISpacing").uiPadding.horiz4),{children:"\xb7"})),e]})}a.displayName=a.name+" [from "+f.id+"]";g.ViewNewsletterCTA=a}),226); __d("WAWebStatusSubtitleAttribution.react",["WAWebChevronIcon.react","WAWebClickable.react","WAWebFlex.react","WAWebUISpacing","react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){var b=a.children,e=a.icon,f=a.onClick;a=f!=null?function(a){a.preventDefault(),a.stopPropagation(),f(a)}:void 0;return j.jsxs(d("WAWebFlex.react").FlexRow,{align:"center",justify:"start",children:[j.jsx(d("WAWebFlex.react").FlexItem,{className:(h||(h=c("stylex")))(d("WAWebUISpacing").uiMargin.horiz4),children:"\u2022"}),j.jsx(d("WAWebClickable.react").Clickable,{onClick:a,className:"xeuugli",children:j.jsxs(d("WAWebFlex.react").FlexRow,{align:"center",children:[j.jsx(d("WAWebFlex.react").FlexItem,{xstyle:d("WAWebUISpacing").uiMargin.end2,children:e}),j.jsx(d("WAWebFlex.react").FlexItem,{testid:void 0,children:b}),j.jsx(d("WAWebFlex.react").FlexItem,{children:j.jsx(d("WAWebChevronIcon.react").ChevronIcon,{directional:!0,height:20,width:18})})]})})]})}a.displayName=a.name+" [from "+f.id+"]";g.StatusSubtitleAttribution=a}),98); __d("WAWebStatusSubtitle.react",["fbt","WAWebClock","WAWebContactGetters","WAWebFlex.react","WAWebMentionsRefreshedIcon.react","WAWebMsgGetters","WAWebMusicStatusAttribution.react","WAWebNewsletterGatingUtils","WAWebStatusGatingUtils","WAWebStatusNewsletterCTA.react","WAWebStatusSubtitleAttribution.react","react","stylex","useWAWebMsgValues"],(function(a,b,c,d,e,f,g,h){var i,j,k=i||c("react"),l={statusMeta:{display:"x78zum5",alignItems:"x6s0dn4",minHeight:"xisnujt",$$css:!0}};function a(a){var b=a.msg,e=a.onMentionsClick,f=a.playing,g=a.status,i=a.statusMediaController;a=a.xstyle;g=g.contact;var m=d("useWAWebMsgValues").useMsgValues(b.id,[d("WAWebMsgGetters").getFirstMusicAnnotationEmbeddedContent,d("WAWebMsgGetters").getStatusMentioned]),n=m[0];m=m[1];if(d("WAWebContactGetters").getIsPSA(g))return null;if(b.forwardedNewsletterMessageInfo!=null&&d("WAWebNewsletterGatingUtils").isNewsletterLinksOnStatusConsumptionEnabled())return k.jsx(d("WAWebStatusNewsletterCTA.react").ViewNewsletterCTA,{msg:b,xstyle:[l.statusMeta,a]});g=null;var o=null,p=null;n!=null?(g=k.jsx(d("WAWebMusicStatusAttribution.react").MusicStatusAttribution,{musicMetadata:n,msg:b,playing:f}),o=function(){return d("WAWebMusicStatusAttribution.react").showMusicStatusAttributionModal(n,b,i)}):m===!0&&d("WAWebStatusGatingUtils").isStatusPrivateMentionsReceiveEnabled()&&(g=h._(/*BTDS*/"__JHASH__i3c9J6wFN_N__JHASH__"),o=e,p=k.jsx(d("WAWebMentionsRefreshedIcon.react").MentionsRefreshedIcon,{width:14,height:14}));return k.jsxs(d("WAWebFlex.react").FlexRow,{align:"center",justify:"start",className:(j||(j=c("stylex")))([a]),children:[k.jsx(d("WAWebFlex.react").FlexItem,{align:"center",grow:0,shrink:0,children:k.jsx("div",babelHelpers["extends"]({className:"x78zum5 x6s0dn4 xisnujt"},{children:d("WAWebClock").Clock.relativeDateAndTimeStr(b.t)}))}),g!=null&&k.jsx(d("WAWebStatusSubtitleAttribution.react").StatusSubtitleAttribution,{onClick:o,icon:p,children:g})]})}a.displayName=a.name+" [from "+f.id+"]";g.StatusSubtitle=a}),226); __d("WAWebStatusUnknown.react",["fbt","react"],(function(a,b,c,d,e,f,g,h){var i,j=i||c("react");function a(a){var b=a.onMouseDown;a=a.onMouseUp;return j.jsx("div",babelHelpers["extends"]({className:"x10l6tqk x13vifvy x17qophe xh8yej3 x5yr21d"},{onMouseDown:b,onMouseUp:a,children:j.jsx("div",babelHelpers["extends"]({className:"x1n2onr6 x9f619 x78zum5 x1q0g3np x6s0dn4 xl56j7k xwnkcuf x5yr21d xc73u3c x5ib6vp xkrivgy x1gryazu xngnso2 x3gokd0 x88nbbm x2b8uid x1vvkbs x47corl"},{children:h._(/*BTDS*/"__JHASH__kGILadF7RSE__JHASH__")}))}))}a.displayName=a.name+" [from "+f.id+"]";g.StatusUnknown=a}),226); __d("WAWebVideoTag.react",["WAWebDomVideoDisposeMediaPlayer","WAWebMediaOpaqueData","WAWebPipVideoStreaming","WAWebPttAudioChannels","WAWebSocketConstants","WAWebSocketModel","WAWebUA","WAWebUserPrefsGeneral","lodash","react","useLazyRef","useWAWebModelValues"],(function(a,b,c,d,e,f,g){var h,i;b=i||d("react");var j=h||(h=c("react")),k=b.useEffect,l=b.useRef,m=c("lodash").debounce(function(a,b){d("WAWebUserPrefsGeneral").setMediaVolumeSettings(a,b)},500);function a(a){var b=a.onLoadedMetadata,e=a.startTime,f=a.disableContextMenu,g=a.autoPlay,h=a.msg,i=a.refVideo,o=a.videoCallbacks,p=d("useWAWebModelValues").useModelValues(a.mediaData,["mediaBlob","streamable"]),q=p.mediaBlob,r=c("useLazyRef")(function(){return Boolean(q)}),s=l(null),t=l(),u=l(),v=l(0),w=function(){u.current!==void 0&&(self.clearInterval(u.current),v.current=0,u.current=void 0)},x=function(a){w(),o==null?void 0:o.onPlaying(a)},y=function(){if(d("WAWebSocketModel").Socket.state!==d("WAWebSocketConstants").SOCKET_STATE.CONNECTED)return;v.current++;var a=s.current;a=a==null?void 0:a.buffered;((a==null?void 0:a.length)&&a.end(0)>0||v.current>240)&&w()},z=function(){var a=s.current;t.current==null?void 0:t.current();a!=null&&(t.current=d("WAWebPttAudioChannels").MainAudioChannel.registerMedia(a))},A=function(){v.current=0,u.current===void 0&&(u.current=self.setInterval(y,250))},B=function(){var b=s.current;if(b&&a.canChangeVolume){var c=d("WAWebUserPrefsGeneral").getMediaVolumeSettings(),e=c.volume;c=c.muted;e!=null&&(b.volume=e);b.muted=c;n()&&g===!0&&A()}},C=function(){var a;(a=s.current)==null?void 0:a.pause==null?void 0:a.pause()};k(function(){B();z();i==null?void 0:i(s);var a=s.current;return function(){t.current==null?void 0:t.current(),m.flush(),w(),C(),d("WAWebUA").UA.isBlink&&a&&c("WAWebDomVideoDisposeMediaPlayer")(a)}},[]);var D=function(a){o==null?void 0:o.onVolumeChange(a);a=s.current;a&&m(a.volume,a.muted)},E=function(){var a=s.current;e!=null&&e!==0&&(a&&(a.currentTime=e))},F=function(a){E(),b==null?void 0:b(a),o==null?void 0:o.onLoadedMetadata(a)},G=function(a){f&&a.preventDefault()};k(function(){z(),E(),i==null?void 0:i(s)});var H=p.streamable&&p.isStreamable();if((r.current||!H)&&q instanceof c("WAWebMediaOpaqueData"))r=q.url();else if(p.streamable&&p.isStreamable())r=d("WAWebPipVideoStreaming").VIDEO_STREAM_URL+"?key="+h.id.toString();else return null;H=function(b){n()&&a.autoPlay!==!0&&A(),o==null?void 0:o.onPlay(b)};p=function(a){w(),o==null?void 0:o.onError(a)};return j.jsx("video",babelHelpers["extends"]({},o,{ref:s,src:r,poster:a.poster,className:a.className,controls:a.controls,autoPlay:a.autoPlay,muted:a.muted,onClick:a.onClick,onDoubleClick:a.onDoubleClick,onVolumeChange:D,onLoadedMetadata:F,onPlay:H,onPlaying:x,onError:p,onContextMenu:G,children:a.children}))}a.displayName=a.name+" [from "+f.id+"]";function n(){return d("WAWebUA").UA.isGecko||d("WAWebUA").UA.isSafari}g["default"]=a}),98); __d("useWAWebCometVideoPlayerStateMachine",["WAWebCometVideoPlayerStateMachine","WAWebCometVideoPlayerUtils","WAWebMusicGatingUtils","WAWebMusicPlaybackUtils","WAWebNewsletterGatingUtils","WAWebNoop","WAWebSNAPLUserPrefs","WAWebWamEnumMessageType","WAWebWamMediaMetricUtils","react","useWAWebUnmountSignal"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useCallback,j=b.useEffect,k=b.useRef,l=b.useState,m={current:null},n={current:null},o={current:null},p=function(){return{}},q={StatusViewer:"status_viewer",NewsletterViewer:"whatsapp_channels"},r=new Set([d("WAWebWamEnumMessageType").MESSAGE_TYPE.CHANNEL,d("WAWebWamEnumMessageType").MESSAGE_TYPE.STATUS]),s=function(a){switch(a){case d("WAWebWamEnumMessageType").MESSAGE_TYPE.STATUS:return!d("WAWebMusicGatingUtils").isStatusMusicReceiverEnabled();case d("WAWebWamEnumMessageType").MESSAGE_TYPE.CHANNEL:return!d("WAWebNewsletterGatingUtils").isNewsletterVideoPlaybackLoggingEnabled();default:return!0}},t=function(a){switch(a){case d("WAWebWamEnumMessageType").MESSAGE_TYPE.STATUS:return q.StatusViewer;case d("WAWebWamEnumMessageType").MESSAGE_TYPE.CHANNEL:return q.NewsletterViewer;default:return""}};function a(a){var b=a.mediaId,e=a.isCopyrightMuted,f=a.videoOrigin,g=a.mediaIdString,h=c("useWAWebUnmountSignal")(),q=k(null),u=k(e),v=k(null);a=l(function(){return s(f)});var w=a[0],x=a[1];a=l({handleReactEffectInit:c("WAWebNoop"),handleReactEffectCleanup:c("WAWebNoop"),callbacks:null});var y=a[0],z=a[1],A=function(a){if(!r.has(a))return!1;else if(d("WAWebMusicGatingUtils").isStatusMusicReceiverEnabled()&&a===d("WAWebWamEnumMessageType").MESSAGE_TYPE.STATUS)return!0;else if(d("WAWebNewsletterGatingUtils").isNewsletterVideoPlaybackLoggingEnabled()&&a===d("WAWebWamEnumMessageType").MESSAGE_TYPE.CHANNEL)return!0;return!1};a=i(function(a){var e=q.current;if(e===a)return;q.current=a;var i=q.current;if(i==null||b==null||!A(f)){z({handleReactEffectInit:c("WAWebNoop"),handleReactEffectCleanup:c("WAWebNoop"),callbacks:null});b==null&&x(!0);return}var j=d("WAWebSNAPLUserPrefs").getSNAPLPersistentId(b,f);e=d("WAWebCometVideoPlayerUtils").getInitialMetadata(i);v.current=e;a=d("WAWebCometVideoPlayerStateMachine").makeCometVideoPlayerStateMachine({initialLoggingMetaData:e,debugLogId:d("WAWebWamMediaMetricUtils").generateMediaEventId().toString(10),videoEl:i,fullscreenControllerRef:m,videoLiveTraceRef:n,videoPlayerPassiveViewabilityInfoRef:o,metadataProvider:{getErrorMetadata:p,getRequiredMetadata:function(){var a;return{current_watching_module:t(f),media_id:b,tracking_type:"organic",persistent_id:j,media_id_string:(a=g)!=null?a:""}},getTagMetadata:function(){return{is_copyright_muted:u.current,country:d("WAWebMusicPlaybackUtils").getUserCountryCodeForSNAPL(),player_sound_on:!i.muted}}},videoOrigin:f});e=a.callbacks;var k=a.handleReactEffectInit,l=a.handleReactEffectCleanup;a=a.machine;if(h.aborted===!0)return;z({machine:a,handleReactEffectInit:k,handleReactEffectCleanup:l,callbacks:e});x(!0)},[b,h.aborted,f,g]);j(function(){u.current=e;var a=y.machine,b=v.current;if(a==null||b==null)return;a.dispatch({payload:{loggingMetaData:b},type:"notify_logging_metadata_change"})},[y.machine,e]);return{callbacks:y.callbacks,handleReactEffectInit:y.handleReactEffectInit,handleReactEffectCleanup:y.handleReactEffectCleanup,ready:w,videoElementRefCallback:a}}g["default"]=a}),98); __d("WAWebStatusVideo.react",["fbt","WALogger","WAWebAnnotation.react","WAWebMediaDataUtils","WAWebMediaTypes","WAWebMsgGetters","WAWebMusicGatingUtils","WAWebNormalizeStack","WAWebObjectFit.react","WAWebStatusButton.react","WAWebUIRefreshGatingUtils","WAWebVideoTag.react","WAWebWamEnumMessageType","WAWebWamEnumWebcRmrReasonCode","react","useWAWebCometVideoPlayerStateMachine","useWAWebModelValues","useWAWebMsgValues","useWAWebOnUnmount","useWAWebStableCallback","useWAWebStatusCanPlaybackAudio"],(function(a,b,c,d,e,f,g,h){var i,j;function k(){var a=babelHelpers.taggedTemplateLiteralLoose(["Failed to play status video"]);k=function(){return a};return a}b=j||d("react");var l=i||(i=c("react")),m=b.useEffect,n=b.useRef;function a(a){var b=a.msg,e=a.onMouseDown,f=a.onMouseUp,g=a.playbackController,i=a.play,j=a.markRead,o=a.status,p=a.pause,q=n(null),r=d("useWAWebMsgValues").useMsgValues(b.id,[d("WAWebMsgGetters").getFirstMusicAnnotationEmbeddedContent,d("WAWebMsgGetters").isStatusWithMusic]),s=r[0];r=r[1];var t=d("useWAWebStatusCanPlaybackAudio").useStatusCanPlaybackAudio(b);s=c("useWAWebCometVideoPlayerStateMachine")({mediaId:s==null?void 0:s.musicContentMediaId,isCopyrightMuted:!t,videoOrigin:d("WAWebWamEnumMessageType").MESSAGE_TYPE.STATUS,mediaIdString:null});var u=s.callbacks,v=s.videoElementRefCallback,w=s.handleReactEffectCleanup,x=s.handleReactEffectInit,y=s.ready;s=b.actionLink||{};var z=s.buttonTitle;s=s.url;var A=!d("WAWebMusicGatingUtils").isStatusMusicReceiverEnabled()||!r,B=d("useWAWebModelValues").useModelValues(a.mediaData,["preview","mediaStage","fullWidth","fullHeight","streamable","fullPreviewData"]);m(function(){!B.streamable&&!B.isStreamable()&&b.downloadMedia({downloadEvenIfExpensive:!0,rmrReason:d("WAWebWamEnumWebcRmrReasonCode").WEBC_RMR_REASON_CODE.STATUS_V3,isUserInitiated:!0})},[]);m(function(){x()},[x]);c("useWAWebOnUnmount")(function(){p(),w()});r=c("useWAWebStableCallback")(function(a){q.current=a.current,v(a.current),g.setMedia(q.current)});m(function(){function a(){i(),B.mediaStage===d("WAWebMediaTypes").MediaDataStage.RESOLVED&&j(o,b)}if(A)a();else{var c;if(!y)return;(c=q.current)==null?void 0:c.play().then(a)["catch"](function(a){var b=d("WAWebNormalizeStack").normalizeError(a);d("WALogger").WARN(k()).devConsole(a).sendLogs("failed-to-play-status-video: "+b.name,{sendLogsType:d("WALogger").SendLogsType.INVESTIGATION})})}},[A,j,B.mediaStage,b,i,o,y]);var C=d("WAWebUIRefreshGatingUtils").checkIfShouldBeEnabledInWindowsEnv()?h._(/*BTDS*/"__JHASH__5CQYgTNOsn5__JHASH__"):h._(/*BTDS*/"__JHASH__bqPn8SMV9PB__JHASH__");return l.jsx("div",babelHelpers["extends"]({className:"x10l6tqk x13vifvy x17qophe xh8yej3 x5yr21d"},{onMouseDown:e,onMouseUp:f,"data-testid":void 0,children:l.jsx(c("WAWebObjectFit.react"),{type:"contain",size:{width:B.fullWidth,height:B.fullHeight},children:l.jsxs("div",babelHelpers["extends"]({className:"x1n2onr6 xh8yej3 x5yr21d x6ikm8r x10wlt62"},{children:[l.jsx(c("WAWebVideoTag.react"),{canChangeVolume:t,videoCallbacks:u,className:"x1n2onr6 x1lliihq xh8yej3 x5yr21d",msg:b,mediaData:B,autoPlay:A,muted:!t,refVideo:r,poster:(e=d("WAWebMediaDataUtils").getHighestQualityThumbnailUrl(B))!=null?e:"",disableContextMenu:!0,children:C}),b.interactiveAnnotations&&b.interactiveAnnotations.length>0&&l.jsx(c("WAWebAnnotation.react"),{annotations:b.interactiveAnnotations,onTooltipDisplay:a.onMouseDown,onTooltipDismiss:a.onMouseUp}),z&&s&&l.jsx("div",babelHelpers["extends"]({className:"x10l6tqk x1kiq0my x78zum5 x6s0dn4 xl56j7k xh8yej3"},{children:l.jsx(c("WAWebStatusButton.react"),{text:z,url:s})}))]}))})}))}a.displayName=a.name+" [from "+f.id+"]";g.StatusVideo=a}),226); __d("WAWebStatusViewerInfoCellImage.react",["WANullthrows","WAWebContactGetters","WAWebDetailImage.react","WAWebReactionEmoji.react","WAWebRound.react","WAWebStatusLikeIcon.react","WAWebThemeContext","react","useWAWebContactValues"],(function(a,b,c,d,e,f,g){var h,i=h||c("react"),j={absolutePosition:{position:"x10l6tqk",$$css:!0},emojiBadgeWrapper:{top:"x12eol54",start:"x149uil0",left:null,right:null,height:"xxk0z11",width:"xvy4d1p",backgroundColor:"x150wa6m",transitionProperty:"x13b0p5u",boxShadow:"x1gnnqk1",$$css:!0},lightIcon:{fill:"x1k3bfnh",$$css:!0},darkIcon:{fill:"x1p9vlwm",$$css:!0}};function a(a){var b=a.contact;a=a.reactionText;b=d("useWAWebContactValues").useContactValues(b.id,[d("WAWebContactGetters").getId]);b=b[0];var e=d("WAWebThemeContext").useIsDarkTheme(),f=null;Boolean(a)&&(f=a===String.fromCodePoint(128154)?i.jsx("span",babelHelpers["extends"]({className:"x10l6tqk x12mlbjr x7bi4t9"},{children:i.jsx(d("WAWebStatusLikeIcon.react").StatusLikeIcon,{innerStyles:{border:e?j.darkIcon:j.lightIcon}})})):i.jsx(d("WAWebRound.react").Round,{xstyle:[j.absolutePosition,j.emojiBadgeWrapper],children:i.jsx(d("WAWebReactionEmoji.react").ReactionEmoji,{scale:"bubble",reaction:c("WANullthrows")(a)})}));return i.jsxs("div",babelHelpers["extends"]({className:"x1n2onr6 xvni27 xdd8jsf"},{children:[i.jsx(d("WAWebDetailImage.react").DetailImage,{id:b,size:52,shape:d("WAWebDetailImage.react").DetailImageShape.Circle}),f]}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("WAWebStatusViewerListModal.react",["fbt","WAWebChatGroupMsgInfoCell.react","WAWebDrawer.react","WAWebDrawerBody.react","WAWebDrawerHeader.react","WAWebEmptyState.react","WAWebFlatList.react","WAWebFlatListController","WAWebModal.react","WAWebNoop","WAWebStatusGatingUtils","WAWebStatusViewerInfoCellImage.react","WAWebUserPrefsGeneral","react","useWAWebReactions"],(function(a,b,c,d,e,f,g,h){var i,j;b=j||d("react");var k=i||(i=c("react")),l=b.useEffect,m=b.useMemo,n=72,o=59,p=500,q=100,r=400;function s(a){var b=a.participant;a=a.reactionText;a=d("WAWebStatusGatingUtils").isStatusLikesReceiveEnabled()?k.jsx(c("WAWebStatusViewerInfoCellImage.react"),{contact:b.contact,reactionText:a}):null;return k.jsx(c("WAWebChatGroupMsgInfoCell.react"),{msgInfoParticipant:b,contact:b.contact,image:a},b.id.toString())}s.displayName=s.name+" [from "+f.id+"]";function t(a){a=a>0?n*a:q;return Math.min(p,a+o)}function u(a){a=a.readReaceiptsOff;return k.jsx(d("WAWebEmptyState.react").Empty,{children:a?h._(/*BTDS*/"__JHASH__VQf86SgPi4E__JHASH__"):h._(/*BTDS*/"__JHASH__JrorbHSP5kc__JHASH__")})}u.displayName=u.name+" [from "+f.id+"]";function v(a,b){a=a.map(function(a){var c=a.id.toString();return{participant:a,reactionText:b[c],itemKey:c,height:d("WAWebFlatList.react").DEFAULT_ITEM_HEIGHT}});a.sort(function(a,b){if(a.reactionText!=null&&b.reactionText==null)return-1;else if(a.reactionText==null&&b.reactionText!=null)return 1;return b.participant.t-a.participant.t});return a}function w(a){var b={};a.forEach(function(a){a.reactionSenders.forEach(function(a){b[a.senderUserJid]=a.reactionText})});return b}function a(a){var b=a.msgId,e=a.onClose;a=a.viewers;var f=m(function(){return d("WAWebFlatList.react").FlatListFactory()},[]),g=m(function(){return new(c("WAWebFlatListController"))()},[]);l(function(){return e},[e]);var i=c("WAWebNoop");b=c("useWAWebReactions")([b.toString()],i);i=w(b.reactionArrayEmojis);b=d("WAWebUserPrefsGeneral").getUserPrivacySettings().readReceipts==="none";a=v(a,i);i=a.length&&b!==!0?k.jsx(f,{flatListController:g,direction:"vertical",forceConsistentRenderCount:!0,data:a,renderItem:s}):k.jsx(u,{readReaceiptsOff:b});f=b?0:a.length;a=b?h._(/*BTDS*/"__JHASH__HRFaBVz9nJp__JHASH__"):h._(/*BTDS*/"__JHASH__Yj4ZFHXkphe__JHASH__",[h._param("status-viewer-count",f)]);b={width:r,height:t(f)};return k.jsx(d("WAWebModal.react").Modal,{type:d("WAWebModal.react").ModalTheme.StatusViewerList,dimensions:b,children:k.jsxs(c("WAWebDrawer.react"),{theme:"settings",children:[k.jsx(d("WAWebDrawerHeader.react").DrawerHeader,{onCancel:e,title:a,type:d("WAWebDrawerHeader.react").DRAWER_HEADER_TYPE.POPUP}),k.jsx(c("WAWebDrawerBody.react"),{flatListControllers:[g],children:i})]})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226); __d("WAWebWamEnumStatusReportInteraction",[],(function(a,b,c,d,e,f){a=Object.freeze({CLICK_REPORT:0,CLICK_SUBMIT_REPORT:1,CLICK_CANCEL_REPORT:2,CLICK_SUBMIT_REPORT_BLOCK:3});f.STATUS_REPORT_INTERACTION=a}),66); __d("WAWebWamEnumStatusRowEntryMethod",[],(function(a,b,c,d,e,f){a=Object.freeze({DIRECT_ROW_TAP:1,BACKWARDS_SWIPE:2,FOWARDS_SWIPE:3,BACKWARDS_TAP:4,FOWARDS_TAP:5,PREVIOUS_ROW_TIMEOUT:6});f.STATUS_ROW_ENTRY_METHOD=a}),66); __d("WAWebStatusReportingEventsWamEvent",["WAWebWamCodegenUtils","WAWebWamEnumStatusReportInteraction"],(function(a,b,c,d,e,f,g){a=d("WAWebWamCodegenUtils").defineEvents({StatusReportingEvents:[3920,{statusReportInteraction:[1,d("WAWebWamEnumStatusReportInteraction").STATUS_REPORT_INTERACTION]},[1,1,1],"regular"]},{StatusReportingEvents:[]});g.StatusReportingEventsWamEvent=a}),98); __d("WAWebWamStatusReportingEventsLogger",["WAWebStatusReportingEventsWamEvent"],(function(a,b,c,d,e,f,g){function a(a){a=a.statusReportingInteraction;new(d("WAWebStatusReportingEventsWamEvent").StatusReportingEventsWamEvent)({statusReportInteraction:a}).commit()}g.logStatusReportingEvent=a}),98); __d("useWAWebCanDownloadStatus",["WAWebMsgGetters","WAWebMusicGatingUtils","WAWebStatusGatingUtils","useWAWebMsgValues"],(function(a,b,c,d,e,f,g){"use strict";function a(a){a=d("useWAWebMsgValues").useMsgValues(a.id,[d("WAWebMsgGetters").getIsSentByMe,d("WAWebMsgGetters").getIsMedia,d("WAWebMsgGetters").isStatusWithMusic]);var b=a[0],c=a[1];a=a[2];return!b||!c||!d("WAWebStatusGatingUtils").isStatusSaveToDiskEnabled()?!1:!a||d("WAWebMusicGatingUtils").isStatusMusicSaveToDiskEnabled()}g["default"]=a}),98); __d("useWAWebStatusContainsFutureproofEmbeddedContentBanner",["WAWebMsgGetters","WAWebStatusFutureproofFooter.react","WAWebStatusGatingUtils","react","useWAWebMsgValues"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react")),j=h.useMemo;function a(a){a=d("useWAWebMsgValues").useMsgValues(a.id,[d("WAWebMsgGetters").isStatusWithEmbeddedMessages]);var b=a[0],e=d("WAWebStatusGatingUtils").isStatusEmbeddedContentFutureproofingEnabled();return j(function(){if(!e)return null;return b?i.jsx(c("WAWebStatusFutureproofFooter.react"),{}):null},[b,e])}g.useWAWebStatusContainsFutureproofEmbeddedContentBanner=a}),98); __d("WAWebStatusPlayer.react",["$InternalEnum","WAFilteredCatch","WALogger","WATimeUtils","WAWebABProps","WAWebApiContact","WAWebAusOSAReportModalLoadable","WAWebBackendErrors","WAWebBizCoexGatingUtils","WAWebBizGatingUtils","WAWebBlockContactAction","WAWebBlockContants","WAWebChatThreadLogging","WAWebClock","WAWebCmd","WAWebCoexSystemMessageModalContent.react","WAWebComplianceUtil","WAWebConnModel","WAWebContactCollection","WAWebContactGetters","WAWebDetailImage.react","WAWebErrorBoundary.react","WAWebFaqUrl","WAWebFileSaver","WAWebFindChatAction","WAWebFocusTracer","WAWebFormatNotificationTemplateModalText","WAWebL10N","WAWebLid1X1MigrationGating","WAWebLidMigrationUtils","WAWebMediaData","WAWebMediaDataUtils","WAWebMediaTypes","WAWebModalManager","WAWebMsgGetters","WAWebMsgInfoCollection","WAWebMsgLinks","WAWebMsgType","WAWebMusicGatingUtils","WAWebName.react","WAWebNoop","WAWebNux","WAWebObjectFit.react","WAWebReportGatingUtils","WAWebReportStatusPopup.react","WAWebRevokeStatusAction","WAWebSendSpamChatAction","WAWebSendStatusMuteAction","WAWebSpamConstants","WAWebSpinner.react","WAWebStatusAudio.react","WAWebStatusCaptionText.react","WAWebStatusComposeBox.react","WAWebStatusDeletePopup.react","WAWebStatusGatingUtils","WAWebStatusHostedDisclosure.react","WAWebStatusImg.react","WAWebStatusItemViewWamEvent","WAWebStatusMentionsPopup.react","WAWebStatusMuteContactPopup.react","WAWebStatusPlayerControlsMenu.react","WAWebStatusProgressBar.react","WAWebStatusReplyWamEvent","WAWebStatusSeenCount.react","WAWebStatusSetupController","WAWebStatusSubtitle.react","WAWebStatusText.react","WAWebStatusUnknown.react","WAWebStatusVideo.react","WAWebStatusViewerListModal.react","WAWebUISpacing","WAWebUim","WAWebUimUie.react","WAWebVelocityTransitionGroup","WAWebVerificationDrawerLoadable","WAWebWamEnumMediaType","WAWebWamEnumStatusItemViewResult","WAWebWamEnumStatusReplyResult","WAWebWamEnumStatusReportInteraction","WAWebWamEnumStatusRowEntryMethod","WAWebWamEnumStatusRowSection","WAWebWamEnumUrlStatusClicked","WAWebWamEnumUrlStatusType","WAWebWamStatusReportingEventsLogger","WAWebWidFactory","cr:1925","cr:6010","gkx","react","stylex","useLazyRef","useWAWebCanDownloadStatus","useWAWebDebouncedCallback","useWAWebListener","useWAWebModelValues","useWAWebMsgValues","useWAWebNux","useWAWebOnUnmount","useWAWebReactions","useWAWebStableCallback","useWAWebStatusCanPlaybackAudio","useWAWebStatusContainsFutureproofEmbeddedContentBanner","useWAWebUnmountSignal"],(function(a,b,c,d,e,f,g){var h,i,j;function k(){var a=babelHelpers.taggedTemplateLiteralLoose(["[status mentions] status has a mention"]);k=function(){return a};return a}function l(){var a=babelHelpers.taggedTemplateLiteralLoose(["status report dropped"]);l=function(){return a};return a}function aa(){var a=babelHelpers.taggedTemplateLiteralLoose(["StatusPlayer - LID and the respective phone number is missing"]);aa=function(){return a};return a}function m(){var a=babelHelpers.taggedTemplateLiteralLoose(["Unexpected Status media type: ",""]);m=function(){return a};return a}e=j||d("react");var n=h||(h=c("react")),ba=e.useCallback,ca=e.useEffect,da=e.useLayoutEffect,ea=e.useMemo,o=e.useRef,p=e.useState,q={timestamp:{marginBottom:"x12nagc",fontSize:"x1nxh6w3",color:"x12chr5t",$$css:!0},profile:{position:"x10l6tqk",top:"xg4rxxw",start:"x3oeypg",zIndex:"xa1v5g2",display:"x78zum5",cursor:"x1ypdohk",flexDirection:"x1q0g3np",maxWidth:"x65f84u",textAlign:"x1yc453h",$$css:!0},profileNarrow:{top:"x2vplmn",end:"xds687c",start:"x17qophe",marginEnd:"xkrivgy",marginStart:"x1gryazu",$$css:!0},nonClickProfile:{cursor:"xt0e3qv",$$css:!0}},fa=6e4;function ga(a,b){d("WAWebBizGatingUtils").btmThreadsLoggingEnabled()&&!d("WAWebContactGetters").getIsMe(a)&&d("WAWebFindChatAction").findOrCreateLatestChat(a.id,"statusPlayer").then(function(a){a=a.chat;d("WAWebChatThreadLogging").handleActivitiesForChatThreadLogging([{activityType:b,ts:d("WATimeUtils").unixTime(),chatId:a.id}])})}function r(a){var b;b=[(b=c("WAWebMediaData")).TYPE.VIDEO,b.TYPE.IMAGE,b.TYPE.AUDIO,b.TYPE.PTT];return a!=null&&b.includes(a.type)}function ha(a){var b=[c("WAWebMediaData").TYPE.VIDEO,c("WAWebMediaData").TYPE.AUDIO,c("WAWebMediaData").TYPE.PTT];return a!=null&&b.includes(a.type)}function ia(a){var b=[c("WAWebMediaData").TYPE.AUDIO,c("WAWebMediaData").TYPE.PTT];return a!=null&&b.includes(a.type)}function ja(a,b){if(a)switch(a.type){case c("WAWebMediaData").TYPE.IMAGE:case c("WAWebMediaData").TYPE.VIDEO:a=d("WAWebMediaDataUtils").getHighestQualityThumbnailUrl(a);return a!=null?{backgroundImage:"url("+a+")"}:null;case c("WAWebMediaData").TYPE.PTT:case c("WAWebMediaData").TYPE.AUDIO:return{backgroundColor:d("WAWebMsgGetters").getStatusCanvasColor(b)}}else if(b.type===d("WAWebMsgType").MSG_TYPE.CHAT){a=d("WAWebMsgGetters").getStatusCanvasColor(b);return{backgroundColor:a}}}function s(a){var b=a.markRead,e=a.mediaData,f=a.msg,g=a.onMouseDown,h=a.onMouseUp,i=a.pause,j=a.play,k=a.playbackController,l=a.status;a=a.statusItemViewEventRef;if(e)switch(e.type){case c("WAWebMediaData").TYPE.IMAGE:return n.jsx(d("WAWebStatusImg.react").StatusImg,{msg:f,status:l,mediaData:e,markRead:b,play:j,pause:i,onMouseDown:g,onMouseUp:h});case c("WAWebMediaData").TYPE.VIDEO:return n.jsx(d("WAWebStatusVideo.react").StatusVideo,{msg:f,status:l,mediaData:e,markRead:b,play:j,pause:i,playbackController:k,onMouseDown:g,onMouseUp:h});case c("WAWebMediaData").TYPE.PTT:case c("WAWebMediaData").TYPE.AUDIO:return n.jsx(d("WAWebStatusAudio.react").StatusAudio,{msg:f,mediaData:e,status:l,markRead:b,play:j,pause:i,playbackController:k,onMouseDown:g,onMouseUp:h});default:d("WALogger").WARN(m(),e.type);return n.jsx(d("WAWebStatusUnknown.react").StatusUnknown,{onMouseDown:g,onMouseUp:h})}else if(f.type===d("WAWebMsgType").MSG_TYPE.CHAT)return n.jsx(d("WAWebStatusText.react").StatusText,{msg:f,onMouseDown:g,onMouseUp:h,statusItemViewEventRef:a});else return n.jsx(d("WAWebStatusUnknown.react").StatusUnknown,{onMouseDown:g,onMouseUp:h})}s.displayName=s.name+" [from "+f.id+"]";var t=b("$InternalEnum").Mirrored(["PAUSE_BUTTON","MOUSEDOWN","WINDOW_BLUR","OPEN_SEE_VIEWERS_MODAL","LINK_MODAL_OPEN","OVERFLOW_MENU_BUTTON","STATUS_REPORT_MODAL_OPEN"]);function a(a){var e,f=a.msg,g=a.mediaData,h=a.status,j=a.msgIdx,m=a.sessionId,x=a.viewerSessionId,ka=a.rowIdx,y=a.rowSection,la=a.onNext,z=a.markRead,A=a.closeStatusViewer,ma=a.statusItemViewMap,na=a.statusItemLastImpressionTimestampMap,oa=c("useWAWebUnmountSignal")();e=(e=b("cr:1925")==null?void 0:b("cr:1925").isWindowsHybridEnabled())!=null?e:!1;var B=c("useLazyRef")(function(){return d("WAWebStatusSetupController").setupStatusController(g,f)}),C=d("useWAWebStatusContainsFutureproofEmbeddedContentBanner").useWAWebStatusContainsFutureproofEmbeddedContentBanner(f),D=ea(function(){return C!=null},[C]),E=o(!0),F=c("useLazyRef")(function(){var a;return(a=ma.get(f.id.toString()))!=null?a:new(d("WAWebStatusItemViewWamEvent").StatusItemViewWamEvent)({statusItemViewResult:d("WAWebWamEnumStatusItemViewResult").STATUS_ITEM_VIEW_RESULT.ERROR_UNKNOWN,statusItemReplied:0,statusItemViewTime:0,statusItemViewCount:0,statusItemImpressionCount:0,statusItem3sViewCount:0})}),G=c("useLazyRef")(function(){return new(d("WAWebStatusReplyWamEvent").StatusReplyWamEvent)({statusReplyResult:d("WAWebWamEnumStatusReplyResult").STATUS_REPLY_RESULT.CANCELLED})}),H=o(null),I=o(null),J=o(null),pa=o(null),K=o(null),qa=o(null),ra=o(null),L=p(!1),sa=L[0],ta=L[1];L=p(!1);var ua=L[0],M=L[1];L=p(!1);var N=L[0],va=L[1],O=d("useWAWebStatusCanPlaybackAudio").useStatusCanPlaybackAudio(f);L=d("useWAWebMsgValues").useMsgValues(f.id,[d("WAWebMsgGetters").isStatusWithMusic]);var wa=L[0];L=p(!1);var xa=L[0],ya=L[1];L=p(!1);var za=L[0],Aa=L[1];L=p(!1);var Ba=L[0],Ca=L[1];L=p(null);var P=L[0],Da=L[1];L=p(!1);var Ea=L[0],Fa=L[1];L=c("useWAWebCanDownloadStatus")(f);var Ga=ba(function(){d("WAWebFileSaver").FileSaver.initDownload(f.unsafe())},[f]),Q=p(!1),Ha=Q[0],Ia=Q[1];Q=p(!1);var Ja=Q[0],Ka=Q[1],R=h.contact,La=function(){d("WAWebMsgInfoCollection").MsgInfoCollection.find(f.id).then(function(a){if(oa.aborted)return;Da(a.read)})["catch"](d("WAFilteredCatch").filteredCatch(d("WAWebBackendErrors").EphemeralDrop,c("WAWebNoop")))},Ma=function(){var a=qa.current,b=pa.current;if(!a||!b)return;a=a.getBoundingClientRect();b=b.getBoundingClientRect();!c("WAWebL10N").isRTL()&&a.right>b.left-5||c("WAWebL10N").isRTL()&&a.left<b.right+5?ta(!0):ta(!1)};Q=c("useWAWebDebouncedCallback")(Ma);var Na=function(){var a=f.id.toString(),b=Math.floor(window.performance.now()),c=na.get(a);if(c==null||b-c>fa){na.set(a,b);return!0}return!1},Oa=function(){F.current.statusItemLoadTime||(F.current.markStatusItemLoadTime(),F.current.statusItemViewResult=d("WAWebWamEnumStatusItemViewResult").STATUS_ITEM_VIEW_RESULT.OK)},S=c("useWAWebStableCallback")(function(a){if(r(g)&&g.mediaStage!==d("WAWebMediaTypes").MediaDataStage.RESOLVED)return;var b=H.current;b!=null&&(F.current.statusItemViewTime+=Math.round(window.performance.now()-b),H.current=void 0);B.current.pause();I.current=a}),T=c("useWAWebStableCallback")(function(){var a;if(r(g)){if(g.mediaStage!==d("WAWebMediaTypes").MediaDataStage.RESOLVED)return;Oa()}if((a=J.current)==null?void 0:a.isPaused())return;if(!E.current)return;H.current=window.performance.now();B.current.resume()}),Pa=function(a){a=(a=a)!=null?a:{};a=a.focusWrapper;a=a===void 0?!0:a;if(a===!0){a=ra.current;a&&c("WAWebFocusTracer").focus(a)}(a=J.current)==null?void 0:a.blur();Fa(!1)},U=function(){d("WAWebModalManager").ModalManager.close(),T(),M(!1)},Qa=function(){P&&(d("WAWebModalManager").ModalManager.open(n.jsx(c("WAWebStatusViewerListModal.react"),{onClose:U,viewers:P,msgId:f.id})),S(t.OPEN_SEE_VIEWERS_MODAL),M(!0))},Ra=function(){Ca(!Ba)},Sa=function(){E.current=!0,!ua&&I.current===t.WINDOW_BLUR&&T()},Ta=function(){E.current=!1,N||S(t.WINDOW_BLUR)},Ua=function(){var a=R.id;if(a.isLid()&&d("WAWebABProps").getABPropConfigValue("lid_status_create_individual_lid_chats")===!1){var b=d("WAWebApiContact").getPhoneNumber(d("WAWebWidFactory").toUserWid(a));b!=null?a=b:d("WALogger").WARN(aa()).tags("status-player","non-sad")}d("WAWebFindChatAction").findOrCreateLatestChat(a,"statusComposeBox").then(function(a){a=a.chat;return d("WAWebCmd").Cmd.openChatBottom(a)}).then(function(){A(!0)})},Va=function(){B.current.mute(),ya(!0)},Wa=function(){if(!O)return;B.current.unmute();ya(!1)},V=c("useWAWebStableCallback")(function(){S(t.MOUSEDOWN)}),W=c("useWAWebStableCallback")(function(){T()}),Xa=function(){S(t.PAUSE_BUTTON)},Ya=function(){S(t.OVERFLOW_MENU_BUTTON)},X=function(){I.current===t.OVERFLOW_MENU_BUTTON&&T()},Za=function(){d("WAWebWamStatusReportingEventsLogger").logStatusReportingEvent({statusReportingInteraction:d("WAWebWamEnumStatusReportInteraction").STATUS_REPORT_INTERACTION.CLICK_CANCEL_REPORT}),U()},$a=function(a){d("WAWebWamStatusReportingEventsLogger").logStatusReportingEvent({statusReportingInteraction:a===!0?d("WAWebWamEnumStatusReportInteraction").STATUS_REPORT_INTERACTION.CLICK_SUBMIT_REPORT_BLOCK:d("WAWebWamEnumStatusReportInteraction").STATUS_REPORT_INTERACTION.CLICK_SUBMIT_REPORT}),d("WAWebSendSpamChatAction").sendReport({spamFlow:d("WAWebSpamConstants").SpamFlow.StatusPostReport,msg:f,msgType:d("WAWebMsgType").MSG_TYPE.STATUS}).then(function(b){a&&void d("WAWebBlockContactAction").blockContact(babelHelpers["extends"]({contact:R,blockEntryPoint:d("WAWebBlockContants").BlockEntryPoint.StatusPostReport},R.isBusiness&&{bizOptOutArgs:{entryPoint:d("WAWebBlockContants").BlockEntryPoint.StatusPostReport}})),d("WAWebModalManager").ModalManager.close(),M(!1),A(),b!=null&&d("WAWebReportGatingUtils").isAusOSAReportingEnabled()&&(d("WAWebModalManager").ModalManager.open(n.jsx(d("WAWebAusOSAReportModalLoadable").AusOSAReportModalLoadable,{contactFormId:d("WAWebComplianceUtil").WA_CF_RES_OSA_ID,contactFormIdentifier:d("WAWebComplianceUtil").WA_CF_RES_OSA,reportId:b,onPrimaryActionClick:function(){M(!1)}})),M(!0))})["catch"](function(a){d("WALogger").WARN(l()).devConsole(a).tags("wa-ice","report")})},Y=function(){S(t.STATUS_REPORT_MODAL_OPEN),d("WAWebWamStatusReportingEventsLogger").logStatusReportingEvent({statusReportingInteraction:d("WAWebWamEnumStatusReportInteraction").STATUS_REPORT_INTERACTION.CLICK_REPORT}),d("WAWebModalManager").ModalManager.open(n.jsx(c("WAWebReportStatusPopup.react"),{contact:R,onCancel:Za,onReport:$a})),M(!0)},ab=function(){S(),d("WAWebModalManager").ModalManager.open(n.jsx(d("WAWebStatusDeletePopup.react").DeleteStatusPopup,{onCancel:U,onDelete:function(){void c("WAWebRevokeStatusAction")(h,f),d("WAWebModalManager").ModalManager.close(),M(!1),A()}})),M(!0)},bb=function(a){d("WAWebSendStatusMuteAction").setStatusMute(R.id,a)["finally"](function(){d("WAWebModalManager").ModalManager.close(),M(!1),A()})},cb=function(a){a?(S(),d("WAWebModalManager").ModalManager.open(n.jsx(c("WAWebStatusMuteContactPopup.react"),{contact:R,onCancel:U,onMute:function(){bb(a)}})),M(!0)):bb(a);return},db=function(){F.current.statusItemReplied++,ga(R,"statusReplies")},eb=function(a){Fa(a)};da(function(){if(x!=null&&y!=null){y===d("WAWebWamEnumStatusRowSection").STATUS_ROW_SECTION.MY_STATUS&&La();var a=ka,b=h.msgs.length-1-j<h.unreadCount,e;if(g)switch(g.type){case c("WAWebMediaData").TYPE.VIDEO:e=g.isGif?d("WAWebWamEnumMediaType").MEDIA_TYPE.GIF:d("WAWebWamEnumMediaType").MEDIA_TYPE.VIDEO;break;case c("WAWebMediaData").TYPE.IMAGE:e=d("WAWebWamEnumMediaType").MEDIA_TYPE.PHOTO;break;case c("WAWebMediaData").TYPE.AUDIO:e=d("WAWebWamEnumMediaType").MEDIA_TYPE.AUDIO;break;case c("WAWebMediaData").TYPE.PTT:e=d("WAWebWamEnumMediaType").MEDIA_TYPE.PTT;break;default:e=d("WAWebWamEnumMediaType").MEDIA_TYPE.NONE;break}else d("WAWebMsgLinks").getLinksFromMsg(f).length?(e=d("WAWebWamEnumMediaType").MEDIA_TYPE.URL,F.current.urlStatusClicked==null&&(F.current.urlStatusClicked=d("WAWebWamEnumUrlStatusClicked").URL_STATUS_CLICKED.NO_CLICK),F.current.urlStatusType=d("WAWebWamEnumUrlStatusType").URL_STATUS_TYPE.NO_PREVIEW):e=d("WAWebWamEnumMediaType").MEDIA_TYPE.NONE,Oa();F.current.statusViewerSessionId=x;d("WAWebMusicGatingUtils").isStatusMusicReceiverEnabled()&&(F.current.statusContainsMusic=wa,wa&&(F.current.musicBlocked=!O));F.current.statusItemViewCount+=1;F.current.statusRowSection=y;F.current.statusRowIndex=a;F.current.mediaType=e;F.current.statusItemImpressionCount+=Na()?1:0;F.current.statusItemUnread==null&&(F.current.statusItemUnread=b);d("WAWebConnModel").Conn.isSMB&&(F.current.isPosterBiz=R.isBusiness,G.current.isPosterBiz=R.isBusiness,F.current.isPosterInAddressBook=d("WAWebContactGetters").getIsMyContact(R),G.current.isPosterInAddressBook=d("WAWebContactGetters").getIsMyContact(R))}m!=null&&(G.current.statusSessionId=m,d("WAWebConnModel").Conn.isSMB&&(G.current.isPosterBiz=R.isBusiness,G.current.isPosterInAddressBook=d("WAWebContactGetters").getIsMyContact(R)));(a=B.current)==null?void 0:a.addListeners==null?void 0:a.addListeners({onPlay:function(a,b){var c=K.current;c==null?void 0:c.handleStart(a,b);va(!1);I.current=null},onPause:function(){var a=K.current;a==null?void 0:a.handlePause();va(!0)},onEnd:function(){var a=K.current;a==null?void 0:a.handleEnded().then(function(){if(oa.aborted)return;la(d("WAWebWamEnumStatusRowEntryMethod").STATUS_ROW_ENTRY_METHOD.PREVIOUS_ROW_TIMEOUT)})},onLoad:function(a,b){ya(O?b:!0),Aa(O?a:!1)}});g?(T(),(g==null?void 0:g.mediaStage)===d("WAWebMediaTypes").MediaDataStage.RESOLVED&&z(h,f)):f.type===d("WAWebMsgType").MSG_TYPE.CHAT?(T(),z(h,f)):(T(),z(h,f));b=ra.current;b==null?void 0:b.focus();Ma()},[]);c("useWAWebOnUnmount")(function(){B.current.removeListeners();if(x!=null&&y!=null){var a=H.current;a!=null&&(F.current.statusItemViewTime+=Math.round(window.performance.now()-a),F.current.statusItemViewTime>=3e3&&d("WAWebMusicGatingUtils").isStatusMusicReceiverEnabled()&&(F.current.statusItem3sViewCount+=1),H.current=void 0);a=Number.isNaN(B.current.duration)?0:Math.round(B.current.duration);F.current.statusItemLength=a;ma.set(f.id.toString(),F.current)}m!=null&&G.current.commit();ga(R,"statusViews")});var fb=c("useWAWebStableCallback")(z);d("useWAWebListener").useListener(window,"focus",Sa);d("useWAWebListener").useListener(window,"blur",Ta);d("useWAWebListener").useListener(window,"resize",Q);d("useWAWebListener").useListener(d("WAWebCmd").Cmd,"open_long_link_modal",function(){N||S(t.LINK_MODAL_OPEN)});d("useWAWebListener").useListener(d("WAWebCmd").Cmd,"close_long_link_modal",function(a){a===!0&&I.current===t.LINK_MODAL_OPEN&&T()});Sa=ja(g,f);Ta=n.jsx(s,{mediaData:g,msg:f,status:h,markRead:fb,play:T,pause:S,onMouseDown:V,onMouseUp:W,playbackController:B.current,statusItemViewEventRef:F});Q=n.jsx("div",babelHelpers["extends"]({ref:pa},(i||(i=c("stylex"))).props(e&&d("WAWebUISpacing").uiMargin.top40),{children:n.jsx(c("WAWebStatusProgressBar.react"),{ref:K,current:a.msgIdx,total:a.totalMsgs,onClick:a.onClickProgressBar})}));fb=function(b){b!==d("WAWebUim").DismissReason.LIFECYCLE&&a.closeStatusViewer()};V=d("WAWebMsgGetters").getIsSentByMe(f)||d("WAWebContactGetters").getIsPSA(R);var gb=function(a){return a.stopPropagation()};W=n.jsx(d("WAWebName.react").ContactName,{className:"x1jchvi3 x1fpc5dy",contact:R,you:!0,ellipsify:!0,showBusinessCheckmark:d("WAWebContactGetters").getShowBusinessCheckmarkAsPrimary(R)});var Z=c("useWAWebNux")(d("WAWebNux").NUX.STATUS_PRIVATE_MENTIONS),$=Z[0],hb=Z[1];Z=d("WAWebStatusGatingUtils").isStatusPrivateMentionsReceiveEnabled()&&Boolean(d("WAWebMsgGetters").getStatusMentioned(f));d("WALogger").DEV(k()).devConsole(Z);var ib=Z&&$,jb=function(){d("WAWebModalManager").ModalManager.close(),M(!1),T()},kb=function(){S(),d("WAWebModalManager").ModalManager.open(n.jsx(c("WAWebStatusMentionsPopup.react"),{onOk:function(){hb(),jb()},onOverlayClick:jb,isSentByMe:d("WAWebMsgGetters").getIsSentByMe(f)})),M(!0)};$=function(a){gb(a),kb()};ca(function(){ib&&kb()},[]);ib&&ua&&S();Ua=n.jsxs("div",babelHelpers["extends"]({},i.props(q.profile,V&&q.nonClickProfile,sa&&q.profileNarrow,e&&d("WAWebUISpacing").uiMargin.top40),{onClick:V?null:Ua,children:[n.jsx("div",babelHelpers["extends"]({className:"xr1yuqi xq8finb x4ii5y1 x12mruv9 x1rg5ohu"},{children:n.jsx(d("WAWebDetailImage.react").DetailImage,{id:R.id,theme:"status",size:40})})),n.jsxs("div",babelHelpers["extends"]({className:"x78zum5 xdt5ytf xl56j7k xw5ewwj"},{children:[n.jsx("div",babelHelpers["extends"]({},{0:{},2:{className:"x78zum5 xr9ek0c xzueoph x6ikm8r x10wlt62"},1:{className:"xdj266r x11i5rnm xat24cr x1mh8g0r"},3:{className:"x78zum5 x6ikm8r x10wlt62 xdj266r x11i5rnm xat24cr x1mh8g0r"}}[!!!V<<1|!!d("WAWebContactGetters").getIsPSA(R)<<0],{children:W})),n.jsx(d("WAWebStatusSubtitle.react").StatusSubtitle,{statusMediaController:B.current,status:h,playing:!N,msg:f,xstyle:q.timestamp,onMentionsClick:Z?$:null})]})),n.jsx("div",babelHelpers["extends"]({className:"x78zum5 x15zctf7 x1ikap7u xfs2ol5 xt0e3qv"},{onClick:gb,children:n.jsx(c("WAWebStatusPlayerControlsMenu.react"),{isPaused:N,hasAudio:ha(g)&&za,isMuted:xa,onPlay:T,onPauseButtonClick:Xa,onOverflowMenuShown:Ya,onOverflowMenuDismissed:X,onMute:Va,onUnmute:Wa,onReport:Y,onDelete:ab,onDownload:L?Ga:null,onMuteOrUnmute:cb,contact:R})}))]}));V=n.jsxs("div",babelHelpers["extends"]({ref:qa},{className:"x10l6tqk xg4rxxw x3oeypg xa1v5g2 x78zum5 x1ypdohk x1q0g3np x65f84u x1yc453h x47corl xg01cxk"},{children:[n.jsx("div",babelHelpers["extends"]({className:"xr1yuqi xq8finb x4ii5y1 x12mruv9 x1rg5ohu"},{children:n.jsx(d("WAWebDetailImage.react").DetailImage,{id:R.id,theme:"status",size:40})})),n.jsxs("div",babelHelpers["extends"]({className:"x78zum5 xdt5ytf xl56j7k xw5ewwj"},{children:[W,n.jsx("div",babelHelpers["extends"]({className:"x12nagc x1nxh6w3 x12chr5t"},{children:d("WAWebClock").Clock.relativeDateAndTimeStr(f.t)}))]}))]}));Z=g?n.jsx(v,{mediaData:g}):null;$=!d("WAWebContactGetters").getIsMe(R)&&!d("WAWebContactGetters").getIsPSA(R)?n.jsx(c("WAWebStatusComposeBox.react"),{msg:a.msg,dismissReply:function(){Pa()},onSend:db,onFocusChange:eb,pause:S,play:T,ref:function(a){J.current=a},statusReplyMetric:G.current}):null;za=c("WAWebNoop");xa=c("useWAWebReactions")([f.id.toString()],za);Xa=d("WAWebContactGetters").getIsMe(R)&&P?n.jsx("div",babelHelpers["extends"]({className:"x10l6tqk xds687c xfqi8uc x17qophe xa1v5g2 x19sv2k2 x1kozois xkrivgy x1gryazu"},{children:n.jsx(c("WAWebStatusSeenCount.react"),{seenCount:P.length,onClick:Qa,hasLikes:d("WAWebStatusGatingUtils").isStatusLikesReceiveEnabled()&&xa.numberOfSenderReactions>0})})):null;Ya=f.type!==d("WAWebMsgType").MSG_TYPE.CHAT&&!ia(g)?n.jsx("div",babelHelpers["extends"]({},{0:{className:"x10l6tqk xyw6214 xh8yej3 xnxb3zj x47corl x14qp83e"},1:{className:"x10l6tqk xyw6214 xh8yej3 x47corl x14qp83e x1jn9k7v"}}[!!sa<<0])):null;X=d("WAWebBizCoexGatingUtils").smbHostedstatusReplyPrivacyDisclaimerEnabled()&&d("WAWebContactGetters").getIsHosted(R)===!0;Va=X?n.jsx(c("WAWebStatusHostedDisclosure.react"),{handleClick:function(){var a;Ia(!0);B==null?void 0:(a=B.current)==null?void 0:a.pause()},withFutureproofing:D}):null;Wa=f.type!==d("WAWebMsgType").MSG_TYPE.CHAT&&typeof f.caption==="string"?n.jsx("div",babelHelpers["extends"]({},{0:{className:"x10l6tqk x1ey2m1c xh8yej3 x5yr21d"},4:{className:"x10l6tqk xh8yej3 x5yr21d xdpez57"},2:{className:"x10l6tqk xh8yej3 x5yr21d x4tydyf"},6:{className:"x10l6tqk xh8yej3 x5yr21d x4tydyf"},1:{className:"x10l6tqk xh8yej3 x5yr21d x1m2atwk"},5:{className:"x10l6tqk xh8yej3 x5yr21d x1m2atwk"},3:{className:"x10l6tqk xh8yej3 x5yr21d x1m2atwk"},7:{className:"x10l6tqk xh8yej3 x5yr21d x1m2atwk"}}[!!(X&&!D)<<2|!!(!X&&D)<<1|!!(X&&D)<<0],{children:n.jsx(c("WAWebObjectFit.react"),{type:"contain",size:{width:g.fullWidth,height:g.fullHeight},children:n.jsx(c("WAWebStatusCaptionText.react"),{text:f.caption,isExpandedCaptionText:Ba,onExpandCaptionText:Ra,withHostedDisclosurePadding:X||D})})})):null;Y=d("WAWebLid1X1MigrationGating").Lid1X1MigrationUtils.isLidMigrated()?d("WAWebLidMigrationUtils").toUserLid(R.id):void 0;ab=function(){var a;Ka(!1);B==null?void 0:(a=B.current)==null?void 0:a.resume()};L=d("WAWebBizCoexGatingUtils").smbHostedstatusReplyPrivacyDisclaimerEnabled()&&d("WAWebContactGetters").getIsHosted(R)===!0&&Ja?n.jsx("div",babelHelpers["extends"]({className:"xixxii4 xwa60dl xtzzx4i x39lw6i xvue9z x11lhmoz x1vjfegm"},{children:n.jsx(d("WAWebErrorBoundary.react").ErrorBoundary,{name:"status-player",children:n.jsx(u,{msgAuthor:a.msg.author,lid:Y,handleVerificationDrawerClose:ab})})})):null;Ga=d("WAWebBizCoexGatingUtils").smbHostedstatusReplyPrivacyDisclaimerEnabled()&&d("WAWebContactGetters").getIsHosted(R)===!0&&Ha?n.jsx(c("WAWebCoexSystemMessageModalContent.react"),{text:d("WAWebFormatNotificationTemplateModalText").formatCoexSecurityModalText(),textLast:d("WAWebFormatNotificationTemplateModalText").formatCoexSecurityModalTextLastParagraph(),faqUrl:d("WAWebFaqUrl").getCoexHostedFaqUrl(),wid:a.msg.id.remote,lid:Y,onClose:function(){var a;Ia(!1);B==null?void 0:(a=B.current)==null?void 0:a.resume()},onVerificationClick:function(){var a;Ia(!1);Ka(!0);B==null?void 0:(a=B.current)==null?void 0:a.pause()}}):null;return n.jsx("div",{"data-testid":void 0,children:n.jsx(d("WAWebUimUie.react").UIE,{displayName:"StatusPlayer",escapable:!0,requestDismiss:fb,requestFocus:Pa,children:n.createElement("div",babelHelpers["extends"]({className:"x10l6tqk x13vifvy x17qophe xh8yej3 x5yr21d x66m237"},{key:f.id.toString(),tabIndex:-1,ref:ra}),V,Ua,Ea?n.jsx(w,{}):null,Ya,Q,n.jsx("div",{className:{0:"x10l6tqk x13vifvy x17qophe xh8yej3 x5yr21d xiy17q3 x1xsqp64 x18d0r48",1:"x10l6tqk x13vifvy x17qophe xh8yej3 x5yr21d xiy17q3 x1xsqp64 x18d0r48 x1bs05mj xbyyjgo"}[!!(g!=null&&!ia(g))<<0],style:Sa}),!c("gkx")("26258")&&!e&&b("cr:6010")?n.jsx(b("cr:6010"),{msg:f}):null,Ta,d("WAWebBizCoexGatingUtils").smbHostedstatusReplyPrivacyDisclaimerEnabled()&&Va,C,Wa,Z,$,d("WAWebBizCoexGatingUtils").smbHostedstatusReplyPrivacyDisclaimerEnabled()&&Ga,d("WAWebBizCoexGatingUtils").smbHostedstatusReplyPrivacyDisclaimerEnabled()&&L,Xa)})})}a.displayName=a.name+" [from "+f.id+"]";function u(a){var b=a.handleVerificationDrawerClose,e=a.lid;a=a.msgAuthor;a=d("WAWebContactCollection").ContactCollection.assertGet(a);return n.jsx(c("WAWebVerificationDrawerLoadable").VerificationDrawerLoadable,{lid:e,contact:a,isFirstLevel:!0,onClose:b})}u.displayName=u.name+" [from "+f.id+"]";function v(a){a=a.mediaData;var b=d("useWAWebModelValues").useModelValues(a,["mediaStage"]);if(!r(a))return null;a=b.mediaStage!==d("WAWebMediaTypes").MediaDataStage.RESOLVED;b=a?n.jsx("div",babelHelpers["extends"]({className:"x10l6tqk x13vifvy xds687c x1ey2m1c x17qophe x1pju0fl x10wjd1d xr1yuqi xkrivgy x4ii5y1 x1gryazu x47corl"},{children:n.jsx("button",{className:"icon-media-disabled",children:n.jsx(d("WAWebSpinner.react").Spinner,{size:50,stroke:4,color:"white"})})})):null;return n.jsx(c("WAWebVelocityTransitionGroup"),{transitionName:"status-media-loading",appear:!0,children:b})}v.displayName=v.name+" [from "+f.id+"]";function w(){return n.jsx("div",{className:"xh8yej3 x5yr21d x42x0ya x10l6tqk x13vifvy x17qophe x197sbye xa1v5g2"})}w.displayName=w.name+" [from "+f.id+"]";g.StatusPlayer=a}),98); __d("WAWebStatusRowViewWamEvent",["WAWebWamCodegenUtils","WAWebWamEnumStatusRowEntryMethod","WAWebWamEnumStatusRowSection"],(function(a,b,c,d,e,f,g){b=(a=d("WAWebWamCodegenUtils")).defineEvents({StatusRowView:[1656,{psaCampaigns:[8,a.TYPES.STRING],statusRowEntryMethod:[5,d("WAWebWamEnumStatusRowEntryMethod").STATUS_ROW_ENTRY_METHOD],statusRowIndex:[4,a.TYPES.INTEGER],statusRowSection:[3,d("WAWebWamEnumStatusRowSection").STATUS_ROW_SECTION],statusRowUnreadItemCount:[7,a.TYPES.INTEGER],statusRowViewCount:[6,a.TYPES.INTEGER],statusSessionId:[1,a.TYPES.INTEGER],statusViewerSessionId:[2,a.TYPES.INTEGER]},[1,1,1],"regular"]},{StatusRowView:[]});g.StatusRowViewWamEvent=b}),98); __d("WAWebStatusSnapshot",["Promise","WABackoffUtils","WACustomError","WALogger","WAPromiseDelays","WAPromiseLoop","WAWebContactGetters","WAWebMsgModelUtils","WAWebStatusCollection","asyncToGeneratorRuntime"],(function(a,b,c,d,e,f,g){var h;function i(){var a=babelHelpers.taggedTemplateLiteralLoose(["error while loading more status msgs: ",""]);i=function(){return a};return a}function j(){var a=babelHelpers.taggedTemplateLiteralLoose(["error while loading more status msgs: ",""]);j=function(){return a};return a}function k(){var a=babelHelpers.taggedTemplateLiteralLoose(["Loaded "," messages with total count ",", but noEarlierMsgs set. Attempting re-sync"]);k=function(){return a};return a}function l(){var a=babelHelpers.taggedTemplateLiteralLoose(["error while getting first unread status: ",""]);l=function(){return a};return a}function m(){var a=babelHelpers.taggedTemplateLiteralLoose(["Total count: ",", unread count: ",", msgs length: ",""]);m=function(){return a};return a}var n=function(b){babelHelpers.inheritsLoose(a,b);function a(){return b.apply(this,arguments)||this}return a}(d("WACustomError").customError("InvalidStatusIterator")),o=function(b){babelHelpers.inheritsLoose(a,b);function a(){return b.apply(this,arguments)||this}return a}(d("WACustomError").customError("StatusLoadingError")),p=function(b){babelHelpers.inheritsLoose(a,b);function a(){return b.apply(this,arguments)||this}return a}(d("WACustomError").customError("StatusMsgNotFound"));a=function(a,c,e){var f=this;c===void 0&&(c=!1);this.$1=function(a){var b=a.msgs.getModelsArray();return{status:a,totalCount:a.totalCount,unreadCount:a.unreadCount,msgs:b,readMsgKeys:f.$3(b)}};this.$3=function(a){return new Set(d("WAWebMsgModelUtils").getReadMsgKeys(a))};this.$2=function(){f.statuses.forEach(function(a){d("WALogger").LOG(m(),a.totalCount,a.unreadCount,a.msgs.length)})};this.getFirstUnread=function(a,c,e){var g=f.statuses.findIndex(function(b){return b.status===a});if(g!==-1){var i=f.statuses[g],j=i.readMsgKeys,k;if(e){k=i.msgs?i.msgs.findIndex(function(a){return e&&a.id.toString()===e.toString()}):-1;return k>=0?(h||(h=b("Promise"))).resolve({msgIdx:k,statusIdx:g}):(h||(h=b("Promise"))).reject(new n())}k=i.msgs?i.msgs.findIndex(function(a){return!j.has(a.id.toString())}):-1;if(k===-1&&a.msgs.msgLoadState.noEarlierMsgs){c?k=0:k=i.msgs.length-1;return(h||(h=b("Promise"))).resolve({msgIdx:k,statusIdx:g})}else if(k!==-1)return(h||(h=b("Promise"))).resolve({msgIdx:k,statusIdx:g});else if(i.unreadCount===0&&c&&i.msgs.length>0)return(h||(h=b("Promise"))).resolve({msgIdx:0,statusIdx:g});return f.$4(a).then(function(){return f.getFirstUnread(a,c,e)})["catch"](function(a){d("WALogger").WARN(l(),String(a));throw new n()})}return(h||(h=b("Promise"))).reject(new n())};this.hasNext=function(a){var b=f.statuses[a.statusIdx];if(a.msgIdx+1<b.totalCount)return!0;else if(a.statusIdx+1<f.statuses.length)return!0;return!1};this.getNext=function(a){var c=f.statuses[a.statusIdx],e=c.status;if(a.msgIdx+1<c.totalCount&&a.msgIdx+1<c.msgs.length)return(h||(h=b("Promise"))).resolve({msgIdx:a.msgIdx+1,statusIdx:a.statusIdx});else if(a.msgIdx+1<c.totalCount){if(e.msgs.msgLoadState.noEarlierMsgs){d("WALogger").WARN(k(),c.msgs.length,c.totalCount);d("WAWebStatusCollection").StatusCollection.sync();return(h||(h=b("Promise"))).reject(new n())}return f.$4(e).then(function(){return f.getNext(a)})["catch"](function(b){d("WALogger").WARN(j(),String(b));if(a.statusIdx+1<f.statuses.length){b=f.statuses[a.statusIdx+1].status;return f.getFirstUnread(b,!0)}throw new n()})}else if(a.statusIdx+1<f.statuses.length){c=f.statuses[a.statusIdx+1].status;return f.getFirstUnread(c,!0)}return(h||(h=b("Promise"))).reject(new n())};this.hasPrev=function(a){if(a.msgIdx>0)return!0;else if(a.statusIdx>0)return!0;return!1};this.getPrev=function(a){if(a.msgIdx>0)return(h||(h=b("Promise"))).resolve({msgIdx:a.msgIdx-1,statusIdx:a.statusIdx});else if(a.statusIdx>0){a=f.statuses[a.statusIdx-1].status;return f.getFirstUnread(a,!1)}return(h||(h=b("Promise"))).reject(new n())};this.statusAt=function(a,c){var e=f.statuses[a.statusIdx],g=e.status;if(c<e.msgs.length)return(h||(h=b("Promise"))).resolve({msgIdx:c,statusIdx:a.statusIdx});else if(!g.msgs.msgLoadState.noEarlierMsgs)return f.$4(g).then(function(){return f.statusAt(a,c)})["catch"](function(a){d("WALogger").WARN(i(),String(a));throw new n()});return(h||(h=b("Promise"))).reject(new n())};this.$4=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a){var c=(yield d("WAPromiseLoop").promiseLoop(function(){var c=b("asyncToGeneratorRuntime").asyncToGenerator(function*(b,c,e){c=d("WAPromiseDelays").delayMs(d("WABackoffUtils").expBackoff(e,12e4,1e3,.1));try{yield a.loadMore();var g=f.statuses.findIndex(function(b){return b.status===a});if(g!==-1){g=f.statuses[g];var h=g.totalCount;h=a.msgs.getModelsArray().slice(0,h);var i=f.$3(h);g.msgs=h;g.readMsgKeys=new Set([].concat(g.readMsgKeys,i));b(!0)}else if(e>=4)b(!1);else return c}catch(a){if(e>=4)b(!1);else return c}});return function(a,b,d){return c.apply(this,arguments)}}()));if(!c)throw new o()});return function(b){return a.apply(this,arguments)}}();if(e){var g=a.msgs.getModelsArray().find(function(a){return e&&a.id.toString()===e.toString()});if(!g)throw new p();this.statuses=[{status:a,totalCount:1,unreadCount:0,msgs:[g],readMsgKeys:new Set([g.id.toString()])}]}else if(c&&a.unreadCount>0&&!d("WAWebContactGetters").getIsMe(a.contact)&&!a.contact.statusMute){g=d("WAWebStatusCollection").StatusCollection.getUnexpired(!0);var q=[];g.forEach(function(a){if(a.contact.statusMute)return;a=f.$1(a);q.push(a)});this.statuses=q}else this.statuses=[this.$1(a)];this.$2()};g.InvalidStatusIterator=n;g.StatusLoadingError=o;g.StatusMsgNotFound=p;g.StatusSnapshot=a}),98); __d("WAWebStatusViewer.react",["fbt","Promise","WAFilteredCatch","WALogger","WAPromiseDelays","WATimeUtils","WAWebAck","WAWebBackIcon.react","WAWebBackendErrors","WAWebChevronCustomIcons","WAWebChevronIcon.react","WAWebCmd","WAWebFontLoader","WAWebKeyboardHotKeys.react","WAWebMediaTypes","WAWebMsgType","WAWebNoop","WAWebSpinner.react","WAWebStatusPlayer.react","WAWebStatusRowViewWamEvent","WAWebStatusSnapshot","WAWebTimeSpentLoggingNavigation","WAWebToast.react","WAWebToastManager","WAWebUISpacing","WAWebVelocityTransitionGroup","WAWebWamEnumStatusRowEntryMethod","WAWebWamEnumStatusRowSection","WAWebWamEnumWebcRmrReasonCode","WAWebXViewerIcon.react","cr:1925","react","stylex","useLazyRef","useWAWebListener","useWAWebOnUnmount","useWAWebUnmountSignal"],(function(a,b,c,d,e,f,g,h){var i,j,k,l;function m(){var a=babelHelpers.taggedTemplateLiteralLoose(["No more status while preloading next status"]);m=function(){return a};return a}function n(){var a=babelHelpers.taggedTemplateLiteralLoose(["No more status while preloading next status"]);n=function(){return a};return a}function o(){var a=babelHelpers.taggedTemplateLiteralLoose(["No more status while preloading next status"]);o=function(){return a};return a}function p(){var a=babelHelpers.taggedTemplateLiteralLoose(["Error finding next status while preloading next status"]);p=function(){return a};return a}function q(){var a=babelHelpers.taggedTemplateLiteralLoose(["No more status while preloading next status"]);q=function(){return a};return a}function r(){var a=babelHelpers.taggedTemplateLiteralLoose(["InvalidStatusIterator: ",""]);r=function(){return a};return a}e=l||d("react");var s=k||(k=c("react")),t=e.useEffect,u=e.useRef,v=e.useState,w={closeIcon:{position:"x10l6tqk",top:"xoyzfg9",end:"x4p3wbt",zIndex:"xhtitgo",color:"x1fpc5dy",$$css:!0},backIcon:{position:"x10l6tqk",top:"xoyzfg9",start:"x10ick3y",zIndex:"xhtitgo",display:"x78zum5",color:"x1fpc5dy",$$css:!0}},x=function(a){d("WALogger").WARN(r(),a).tags("status-iterator","non-sad").sendLogs("InvalidStatusIterator",{sampling:.01})};function a(a){var e=a.ref,f=babelHelpers.objectWithoutPropertiesLoose(a,["ref"]),g=f.initialStatus,k=f.quotedMsgKey,l=f.initialStatusMsg,r=f.onMsgNotFound,y=c("useWAWebUnmountSignal")();a=v(null);var z=a[0],A=a[1];a=v(null);var B=a[0],C=a[1];a=v(!0);var D=a[0],E=a[1],F=u(null),G=(a=c("useLazyRef"))(function(){return Math.round(Math.random()*1e9)}),H=a(function(){return new Map()}),I=a(function(){return new Map()});a=a(function(){return new Map()});var J=u(-1),K=u(d("WAWebWamEnumStatusRowEntryMethod").STATUS_ROW_ENTRY_METHOD.DIRECT_ROW_TAP);d("useWAWebListener").useListener(d("WAWebCmd").Cmd,"close_status_viewer",function(){M(!0)});var L=function(a){if(z&&a===z.msgIdx)return;if(z&&F.current){a=F.current.statusAt(z,a);E(!0);a.then(function(a){if(y.aborted)return;A(a)})["catch"](d("WAFilteredCatch").filteredCatch(d("WAWebStatusSnapshot").InvalidStatusIterator,function(){x("Invalid iterator while getting next status msg")}))["catch"](d("WAFilteredCatch").filteredCatch(d("WAWebBackendErrors").EphemeralDrop,c("WAWebNoop")))["catch"](d("WAFilteredCatch").filteredCatch(d("WAWebStatusSnapshot").StatusLoadingError,function(){d("WALogger").WARN(q())}))["finally"](function(){E(!1)})}};t(function(){var a=F.current;if(z&&a&&a.hasNext(z)){var b=a.getNext(z);b.then(function(e){if(y.aborted)return;var b=a.statuses[e.statusIdx];b=b.msgs[e.msgIdx];if(!b)throw new(d("WAWebStatusSnapshot").StatusMsgNotFound)();if(b.type===d("WAWebMsgType").MSG_TYPE.CHAT)d("WAWebFontLoader").FontLoader.loadMessageFont(b.font)["catch"](c("WAWebNoop"));else{e=b.mediaData;e&&e.mediaStage!==d("WAWebMediaTypes").MediaDataStage.RESOLVED&&b.downloadMedia({downloadEvenIfExpensive:!0,rmrReason:d("WAWebWamEnumWebcRmrReasonCode").WEBC_RMR_REASON_CODE.STATUS_V3,isUserInitiated:!1})}})["catch"]((b=d("WAFilteredCatch")).filteredCatch(d("WAWebStatusSnapshot").StatusMsgNotFound,function(){d("WALogger").WARN(p())}))["catch"](b.filteredCatch(d("WAWebStatusSnapshot").InvalidStatusIterator,function(){x("Invalid iterator while preloading next status")}))["catch"](b.filteredCatch(d("WAWebBackendErrors").EphemeralDrop,c("WAWebNoop")))["catch"](b.filteredCatch(d("WAWebStatusSnapshot").StatusLoadingError,function(){d("WALogger").WARN(o())}))}},[z,F,y.aborted]);d("WAWebTimeSpentLoggingNavigation").useTsNavigation({surface:"status-view"});var M=function(a){C(!0),d("WAPromiseDelays").delayMs(200).then(function(){if(y.aborted)return;f.closeStatusViewer(a)})},N=function(){K.current=d("WAWebWamEnumStatusRowEntryMethod").STATUS_ROW_ENTRY_METHOD.BACKWARDS_TAP;var a=F.current;if(z&&a&&a.hasPrev(z)){var b=z.statusIdx;a=a.getPrev(z);a.then(function(a){if(y.aborted)return;a.statusIdx===b?A(a):(C(!0),d("WAPromiseDelays").delayMs(200).then(function(){if(y.aborted)return;A(a);C(!1)}))})["catch"](d("WAFilteredCatch").filteredCatch(d("WAWebStatusSnapshot").InvalidStatusIterator,function(){x("Invalid iterator while getting previous status msg")}))["catch"](d("WAFilteredCatch").filteredCatch(d("WAWebBackendErrors").EphemeralDrop,c("WAWebNoop")))["catch"](d("WAFilteredCatch").filteredCatch(d("WAWebStatusSnapshot").StatusLoadingError,function(){d("WALogger").WARN(n())}))}},O=function(a){K.current=a;a=F.current;if(z&&a&&a.hasNext(z)){var b=z.statusIdx;a=a.getNext(z);E(!0);a.then(function(a){if(y.aborted)return;a.statusIdx===b?A(a):(C(!0),E(!1),d("WAPromiseDelays").delayMs(200).then(function(){if(y.aborted)return;A(a);C(!1)}))})["catch"](d("WAFilteredCatch").filteredCatch(d("WAWebStatusSnapshot").InvalidStatusIterator,function(){x("Invalid iterator while getting next status msg"),M()}))["catch"](d("WAFilteredCatch").filteredCatch(d("WAWebBackendErrors").EphemeralDrop,c("WAWebNoop")))["catch"](d("WAFilteredCatch").filteredCatch(d("WAWebStatusSnapshot").StatusLoadingError,function(){d("WALogger").WARN(m())}))["finally"](function(){E(!1)})}else M()},P=function(b,c){var a=F.current;if(!c)return;if(c.ack!==d("WAWebAck").ACK.READ){var e=d("WATimeUtils").unixTime(),f=c.id.participant;f&&f.isPSA()&&c.set("statusPSAReadTimestamp",e);b.sendReadStatus(c,e)}f=a==null?void 0:a.statuses.find(function(a){return a.status===b});f&&f.readMsgKeys.add(c.id.toString())};t(function(){var a=g;if(!k){var b=l;F.current=new(d("WAWebStatusSnapshot").StatusSnapshot)(a,f.continuousPlay);b=F.current.getFirstUnread(a,!0,b==null?void 0:b.id);b.then(function(a){if(y.aborted)return;A(a);E(!1)})["catch"](d("WAFilteredCatch").filteredCatch(d("WAWebBackendErrors").EphemeralDrop,c("WAWebNoop")))["catch"](d("WAFilteredCatch").filteredCatch(d("WAWebStatusSnapshot").InvalidStatusIterator,function(){x("Invalid iterator while loading first unread msg"),d("WAWebToastManager").ToastManager.open(s.jsx(d("WAWebToast.react").Toast,{msg:h._(/*BTDS*/"__JHASH__DeFnLHkzQLY__JHASH__")})),f.closeStatusViewer()}))}else{var e=k;b=a.msgs.getModelsArray().findIndex(function(a){return a.id.toString()===e.toString()});if(b!==-1){F.current=new(d("WAWebStatusSnapshot").StatusSnapshot)(a,f.continuousPlay,e);b=F.current.getFirstUnread(a,!0,e);b.then(function(a){if(y.aborted)return;A(a);E(!1)})["catch"](d("WAFilteredCatch").filteredCatch(d("WAWebBackendErrors").EphemeralDrop,c("WAWebNoop")))["catch"](d("WAFilteredCatch").filteredCatch(d("WAWebStatusSnapshot").InvalidStatusIterator,function(){x("Invalid iterator while loading first unread msg"),d("WAWebToastManager").ToastManager.open(s.jsx(d("WAWebToast.react").Toast,{msg:h._(/*BTDS*/"__JHASH__DeFnLHkzQLY__JHASH__")})),f.closeStatusViewer()}))}else E(!0),a.loadMore(a.totalCount).then(function(){E(!1);var b=a.msgs.getModelsArray().findIndex(function(a){return a.id.toString()===e.toString()})!==-1;if(b){F.current=new(d("WAWebStatusSnapshot").StatusSnapshot)(a,f.continuousPlay,e);b=F.current.getFirstUnread(a,!0,e);b.then(function(a){if(y.aborted)return;A(a);E(!1)})["catch"](d("WAFilteredCatch").filteredCatch(d("WAWebBackendErrors").EphemeralDrop,c("WAWebNoop")))["catch"](d("WAFilteredCatch").filteredCatch(d("WAWebStatusSnapshot").InvalidStatusIterator,function(){x("Invalid iterator while loading first unread msg"),d("WAWebToastManager").ToastManager.open(s.jsx(d("WAWebToast.react").Toast,{msg:h._(/*BTDS*/"__JHASH__DeFnLHkzQLY__JHASH__")})),f.closeStatusViewer()}))}else r==null?void 0:r(),d("WAWebToastManager").ToastManager.open(s.jsx(d("WAWebToast.react").Toast,{msg:h._(/*BTDS*/"__JHASH__DeFnLHkzQLY__JHASH__")})),f.closeStatusViewer()})["catch"](function(){d("WAWebToastManager").ToastManager.open(s.jsx(d("WAWebToast.react").Toast,{msg:h._(/*BTDS*/"__JHASH__DeFnLHkzQLY__JHASH__")})),M()})["finally"](function(){E(!1)})}},[]);c("useWAWebOnUnmount")(function(){(i||(i=b("Promise"))).resolve().then(function(){I.current.forEach(function(a){a.commit()}),H.current.forEach(function(a){a.commit()})})});var Q=function(){var a=f.rowSection,b=f.rowIdx,c=z==null?void 0:z.statusIdx;a=a===d("WAWebWamEnumStatusRowSection").STATUS_ROW_SECTION.RECENT_STORIES?c:b;return(c=a)!=null?c:0},R=function(a){var b=f.rowSection,c=f.sessionId,e=z==null?void 0:z.statusIdx,g=Q();if(e!=null&&J.current!==e&&b!=null){var h;h=(h=H.current.get(e))!=null?h:new(d("WAWebStatusRowViewWamEvent").StatusRowViewWamEvent)({statusRowEntryMethod:K.current,statusRowIndex:g,statusRowSection:b,statusRowUnreadItemCount:a.unreadCount,statusRowViewCount:0,statusSessionId:c,statusViewerSessionId:G.current});h.statusRowViewCount+=1;H.current.set(e,h);J.current=e}},S,T,U,V,W,X,Y,Z;z&&F.current&&(W=F.current,X=W.statuses[z.statusIdx],Y=X.status,R(Y),Z=X.msgs[z.msgIdx],W.hasPrev(z)&&(U=s.jsx("div",babelHelpers["extends"]({className:"x10l6tqk x13vifvy x1ey2m1c x5wcktk x1avl20t x78zum5 x6s0dn4 x1fpc5dy x47corl"},{children:s.jsx(d("WAWebChevronCustomIcons").ChevronLeftCustomIcon,{})})),V=s.jsx("div",babelHelpers["extends"]({className:"x10l6tqk x13vifvy x1ey2m1c x10ick3y xv97iv4 xzuapc8 xqvfhly xr1yuqi x4ii5y1 x1ypdohk x66m237 x14yjl9h xudhj91 x18nykt9 xww2gxu x1vx7kgm"},{onClick:N}))),W.hasNext(z)&&(S=s.jsx("div",babelHelpers["extends"]({className:"x10l6tqk x13vifvy x1ey2m1c x3i2s9x x1avl20t x78zum5 x6s0dn4 x1fpc5dy x47corl"},{children:s.jsx(d("WAWebChevronIcon.react").ChevronIcon,{})})),T=s.jsx("div",babelHelpers["extends"]({className:"x10l6tqk x13vifvy x1tav4y9 x1ey2m1c xv97iv4 xzuapc8 xqvfhly xr1yuqi x4ii5y1 x1ypdohk x66m237 x14yjl9h xudhj91 x18nykt9 xww2gxu x1vx7kgm"},{onClick:function(){O(d("WAWebWamEnumStatusRowEntryMethod").STATUS_ROW_ENTRY_METHOD.FOWARDS_TAP),P(Y,Z)}}))));R={left:N,right:function(){O(d("WAWebWamEnumStatusRowEntryMethod").STATUS_ROW_ENTRY_METHOD.FOWARDS_TAP)}};var $;!Boolean(B)&&!D&&Z&&z&&X&&Y&&($=s.createElement("div",babelHelpers["extends"]({className:"x10l6tqk x13vifvy x17qophe xh8yej3 x5yr21d x1larqbn"},{key:Z.id.toString()}),s.jsx(d("WAWebStatusPlayer.react").StatusPlayer,{status:Y,msg:Z,mediaData:Z.mediaData,msgIdx:z.msgIdx,totalMsgs:Y.totalCount,markRead:P,closeStatusViewer:M,onClickProgressBar:L,onNext:O,onPrev:N,sessionId:f.sessionId,rowIdx:Q(),rowSection:f.rowSection,viewerSessionId:G.current,statusItemViewMap:I.current,statusItemLastImpressionTimestampMap:a.current},Z.id.toString())));B=(W=b("cr:1925")==null?void 0:b("cr:1925").isWindowsHybridEnabled())!=null?W:!1;L=s.jsx("button",babelHelpers["extends"]({},(j||(j=c("stylex"))).props(w.closeIcon,B&&d("WAWebUISpacing").uiMargin.top24),{onClick:function(){return f.closeStatusViewer(!0)},children:s.jsx(d("WAWebXViewerIcon.react").XViewerIcon,{})}));N=s.jsx("button",babelHelpers["extends"]({},j.props(w.backIcon,B&&d("WAWebUISpacing").uiMargin.top24),{onClick:function(){return f.closeStatusViewer()},children:s.jsx(d("WAWebBackIcon.react").BackIcon,{directional:!0})}));var aa;D&&(aa=s.jsx("div",babelHelpers["extends"]({className:"x10l6tqk x13vifvy xds687c x1ey2m1c x17qophe x1pju0fl x10wjd1d xr1yuqi xkrivgy x4ii5y1 x1gryazu"},{children:s.jsx("button",{children:s.jsx(d("WAWebSpinner.react").Spinner,{size:50,stroke:4,color:"white"})})})));return s.jsx(d("WAWebKeyboardHotKeys.react").HotKeys,{ref:e,handlers:R,children:s.jsxs("div",babelHelpers["extends"]({className:"x10l6tqk x13vifvy x17qophe x1bpt9pm xh8yej3 x5yr21d x66m237"},{"data-animate-status-viewer":!0,children:[L,N,V,U,T,S,aa,s.jsx(c("WAWebVelocityTransitionGroup"),{transitionName:"status-player",appear:!0,children:$})]}))})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226); __d("WAWebStatusList.react",["fbt","WAWebClickable.react","WAWebContactCollection","WAWebContactGetters","WAWebEmptyState.react","WAWebFlatList.react","WAWebFlatListContainer.react","WAWebFlatListController","WAWebFlex.react","WAWebKeyboardTabUtils","WAWebMiscGatingUtils","WAWebModalManager","WAWebPrivacyNarrativeE2EMessage.react","WAWebSectionHeader.react","WAWebStatusCell.react","WAWebStatusCollection","WAWebStatusGetters","WAWebStatusViewer.react","WAWebText.react","WAWebUISpacing","WAWebWamEnumStatusRowSection","react","useLazyRef","useWAWebListener"],(function(a,b,c,d,e,f,g,h){var i,j;b=j||d("react");var k=i||(i=c("react")),l=b.useMemo,m=b.useState,n={SEC_UNREAD:"SEC_UNREAD",SEC_READ:"SEC_READ",SEC_MUTED:"SEC_MUTED",SEC_E2E_MESSAGE:"SEC_E2E_MESSAGE",ROW_STATUS:"ROW_STATUS"};function o(a){if(d("WAWebContactGetters").getIsMe(a.contact))return d("WAWebWamEnumStatusRowSection").STATUS_ROW_SECTION.MY_STATUS;if(a.contact.statusMute)return d("WAWebWamEnumStatusRowSection").STATUS_ROW_SECTION.MUTED_STORIES;return d("WAWebStatusGetters").getHasUnread(a)?d("WAWebWamEnumStatusRowSection").STATUS_ROW_SECTION.RECENT_STORIES:d("WAWebWamEnumStatusRowSection").STATUS_ROW_SECTION.PREVIOUS_STORIES}function p(a){var b=a.data,e=a.onOpenStatus,f=a.onToggleMute,g=a.sessionIdRef;a=h._(/*BTDS*/"__JHASH__tE9izu1SgTQ__JHASH__");var i=h._(/*BTDS*/"__JHASH__bjecUW0uKiB__JHASH__"),j=h._(/*BTDS*/"__JHASH__tVg5l3rRN2Y__JHASH__"),l=h._(/*BTDS*/"__JHASH__q0sU9y4qxuC__JHASH__"),m=h._(/*BTDS*/"__JHASH__ei4MVPN59JY__JHASH__");switch(b.type){case n.SEC_UNREAD:return k.jsx(c("WAWebSectionHeader.react"),{header:a,isTransparent:!0});case n.SEC_READ:return k.jsx(c("WAWebSectionHeader.react"),{header:i,isTransparent:!0});case n.SEC_MUTED:return k.jsxs(d("WAWebFlex.react").FlexRow,{align:"center",xstyle:d("WAWebUISpacing").uiPadding.end10,children:[k.jsx(d("WAWebFlex.react").FlexItem,{grow:1,children:k.jsx(c("WAWebSectionHeader.react"),{header:j,isTransparent:!0,testid:void 0})}),k.jsx(d("WAWebFlex.react").FlexItem,{grow:0,align:"center",children:k.jsx(d("WAWebClickable.react").Clickable,{onClick:f,children:k.jsx(d("WAWebText.react").WAWebTextSmall,{as:"span",color:"teal",children:Boolean(b.expanded)?l:m})})})]});case n.ROW_STATUS:var p=o(b.status);return k.jsx(c("WAWebStatusCell.react"),{isModalView:!1,status:b.status,onClick:function(){e?e(b.status,void 0,b.index,p):d("WAWebModalManager").ModalManager.openMedia(k.jsx(c("WAWebStatusViewer.react"),{initialStatus:b.status,initialStatusMsg:void 0,closeStatusViewer:function(){d("WAWebModalManager").ModalManager.closeMedia()},sessionId:g==null?void 0:g.current,rowIdx:b.index,rowSection:p,continuousPlay:!0}),{transition:"status-modal",focusType:{type:d("WAWebKeyboardTabUtils").FocusType.CUSTOM}})},contact:b.status.contact});case n.SEC_E2E_MESSAGE:return k.jsx(d("WAWebPrivacyNarrativeE2EMessage.react").E2eMessageStatusList,{});default:throw new(d("WAWebFlatList.react").UnknownDataError)(b)}}p.displayName=p.name+" [from "+f.id+"]";var q=d("WAWebFlatList.react").FlatListFactory();function a(a){var b=a.onOpenStatus;a=c("useLazyRef")(function(){return new(c("WAWebFlatListController"))()});var e=function(){return d("WAWebStatusCollection").StatusCollection.getUnexpired(!0)},f=function(){return d("WAWebStatusCollection").StatusCollection.getUnexpired(!1)},g=function(){var a=e(),b=f(),c=[].concat(a,b).filter(function(a){return a.contact.statusMute});return{unread:a,read:b,muted:c}},h=l(g,[]),i=h.unread,j=h.read;h=h.muted;var o=m(function(){return i.filter(function(a){return!a.contact.statusMute})}),r=o[0],s=o[1];o=m(function(){return j.filter(function(a){return!a.contact.statusMute})});var t=o[0],u=o[1];o=m(h);var v=o[0],w=o[1];h=m(!1);var x=h[0],y=h[1];o=function(){var a=g(),b=a.unread,c=a.read;a=a.muted;s(b.filter(function(a){return!a.contact.statusMute}));u(c.filter(function(a){return!a.contact.statusMute}));w(a)};d("useWAWebListener").useListener(d("WAWebStatusCollection").StatusCollection,"add remove bulk_add sort change:msgsChanged change:unreadCount",o);h=function(){var a=g(),b=a.unread,c=a.read;a=a.muted;s(b.filter(function(a){return!a.contact.statusMute}));u(c.filter(function(a){return!a.contact.statusMute}));w(a)};d("useWAWebListener").useListener(d("WAWebContactCollection").ContactCollection,"change:statusMute",h);var z=function(){y(!x)},A=72,B=72;o=l(function(){var a=[];r.length>0&&(a.push({type:n.SEC_UNREAD,itemKey:"section-unread",height:A}),a.push.apply(a,r.map(function(a,b){return{type:n.ROW_STATUS,itemKey:a.id.toString(),height:B,status:a,index:b}})));t.length>0&&(a.push({type:n.SEC_READ,itemKey:"section-read",height:A}),a.push.apply(a,t.map(function(a,b){return{type:n.ROW_STATUS,itemKey:a.id.toString(),height:B,status:a,index:b}})));v.length>0&&(a.push({type:n.SEC_MUTED,itemKey:"section-muted",height:A,expanded:x}),x&&a.push.apply(a,v.map(function(a,b){return{type:n.ROW_STATUS,itemKey:a.id.toString(),height:B,status:a,index:b}})));d("WAWebMiscGatingUtils").isPrivacyNarrativeV1Enabled()&&a.push({type:n.SEC_E2E_MESSAGE,itemKey:"section-e2e-message"});return a},[r,t,v,A,B,x]);d("WAWebStatusCollection").StatusCollection.hasSynced()&&o.length>0?h=k.jsx(c("WAWebFlatListContainer.react"),{className:"x1iyjqo2 xs83m0k xdl72j9 xwxc41k x1odjw0f x122zoth x16jf5lm",flatListControllers:[a.current],children:k.jsx(q,{className_DONOTUSE:"statusList",itemEnterAnimationsEnabled:!0,flatListController:a.current,direction:"vertical",data:o,handleKeyboardNavigation:!0,role:"list",focusableItemSelector:"[data-focusid='status-row-item']",renderItem:function(a){return k.jsx(p,{data:a,onOpenStatus:b,onToggleMute:z})}})}):h=k.jsx(d("WAWebEmptyState.react").ListStatus,{});return h}a.displayName=a.name+" [from "+f.id+"]";g.StatusList=a}),226); __d("WAWebStatusPostingDropdown.react",["fbt","WAWebCreateTextStatusFlow.react","WAWebDropdownItem.react","WAWebMediaEditorDrawingIcon.react","WAWebMediaMultipleIcon.react","WAWebMediaRefreshedIcon.react","WAWebModalManager","WAWebPencilRefreshedIcon.react","WAWebStatusAttachMediaFlow.react","WAWebUIRefreshGatingUtils","react"],(function(a,b,c,d,e,f,g,h){var i,j=i||c("react"),k={textIcon:{width:"x1xp8n7a",$$css:!0}};function a(){var a=d("WAWebUIRefreshGatingUtils").uiRefreshM1Enabled(),b=[];b.push(j.jsx(d("WAWebDropdownItem.react").DropdownItem,{testid:void 0,action:function(){d("WAWebModalManager").ModalManager.open(j.jsx(d("WAWebStatusAttachMediaFlow.react").StatusAttachMediaFlow,{}))},icon:a?j.jsx(d("WAWebMediaRefreshedIcon.react").MediaRefreshedIcon,{}):j.jsx(d("WAWebMediaMultipleIcon.react").MediaMultipleIcon,{}),children:h._(/*BTDS*/"__JHASH__sY0x7VVQ2dv__JHASH__")},"option-media-status"));b.push(j.jsx(d("WAWebDropdownItem.react").DropdownItem,{testid:void 0,action:function(){d("WAWebModalManager").ModalManager.openMedia(j.jsx(c("WAWebCreateTextStatusFlow.react"),{}),{transition:"status-modal"})},icon:a?j.jsx(d("WAWebPencilRefreshedIcon.react").PencilRefreshedIcon,{}):j.jsx(d("WAWebMediaEditorDrawingIcon.react").MediaEditorDrawingIcon,{iconXstyle:k.textIcon}),children:h._(/*BTDS*/"__JHASH__3Joqmqhzhlo__JHASH__")},"option-text-status"));return b}g.getStatusPostDropdownItems=a}),226); __d("WAWebStatusListHeader.react",["fbt","WANullthrows","WAWebContactCollection","WAWebDetailImage.react","WAWebDropdown.react","WAWebKeyboardTabUtils","WAWebModalManager","WAWebPlusIcon.react","WAWebRound.react","WAWebStatusCollection","WAWebStatusLastPostPreview.react","WAWebStatusPostingDropdown.react","WAWebStatusThumbnail.react","WAWebStatusViewer.react","WAWebUISpacing","WAWebUimUie.react","WAWebUimUieMenu.react","WAWebUnstyledButton.react","WAWebUseIsKeyboardUser","WAWebUserPrefsMeUser","WAWebVelocityTransitionGroup","WAWebWamEnumStatusRowSection","WDSFocusStateStyles","react","stylex","useWAWebFocusState","useWAWebListener"],(function(a,b,c,d,e,f,g,h){var i,j,k;b=k||d("react");var l=i||(i=c("react")),m=b.useRef,n=b.useState,o={panelHeader:{display:"x78zum5",flexGrow:"x1c4vz4f",flexShrink:"x2lah0s",flexBasis:"xdl72j9",flexDirection:"x1q0g3np",alignItems:"x6s0dn4",justifyContent:"x1qughib",width:"xh8yej3",height:"xwnsf4a",textAlign:"x1yc453h",paddingStart:"x1h0ha7o",$$css:!0},clickable:{cursor:"x1ypdohk",$$css:!0},headerText:{display:"x78zum5",flexDirection:"xdt5ytf",justifyContent:"x1qughib",minWidth:"x9hgts1",height:"xc9qbxq",marginEnd:"xkrivgy",$$css:!0},roundComponent:{height:"x1ta3ar0",width:"x1se2ifz",transitionProperty:"x13b0p5u",boxShadow:"x1gnnqk1",$$css:!0},wrappingRoundComponent:{position:"x10l6tqk",bottom:"xqo3gd",zIndex:"xyw6214",end:"x1923su1",left:null,right:null,backgroundColor:"x150wa6m",$$css:!0}};function a(a){var b,e=a.onOpenStatus,f=a.sessionIdRef;a=c("WAWebUseIsKeyboardUser")();var g=a.isKeyboardUser;a=c("useWAWebFocusState")();var i=a[0];a=a[1];var k=m(null),p=n(function(){return d("WAWebStatusCollection").StatusCollection.getMyStatus()}),q=p[0],r=p[1];p=n(function(){return q==null?void 0:q.msgs.last()});var s=p[0],t=p[1];p=n(null);var u=p[0],v=p[1];p=function(){var a;r(d("WAWebStatusCollection").StatusCollection.getMyStatus());t((a=d("WAWebStatusCollection").StatusCollection.getMyStatus())==null?void 0:a.msgs.last())};d("useWAWebListener").useListener(d("WAWebStatusCollection").StatusCollection,"add remove bulk_add sort change:msgsChanged change:unreadCount",p);d("useWAWebListener").useListener(d("WAWebContactCollection").ContactCollection,"change:statusMute",p);var w;q&&(w=q.msgs);p=function(){var a=q==null?void 0:q.msgs;q&&(a==null?void 0:a.length)&&(e?e(q,a.head(),0,d("WAWebWamEnumStatusRowSection").STATUS_ROW_SECTION.MY_STATUS):d("WAWebModalManager").ModalManager.openMedia(l.jsx(c("WAWebStatusViewer.react"),{initialStatus:q,initialStatusMsg:a.head(),closeStatusViewer:function(){d("WAWebModalManager").ModalManager.closeMedia()},sessionId:f==null?void 0:f.current,rowIdx:0,rowSection:d("WAWebWamEnumStatusRowSection").STATUS_ROW_SECTION.MY_STATUS,continuousPlay:!0}),{transition:"status-modal",focusType:{type:d("WAWebKeyboardTabUtils").FocusType.CUSTOM}}))};var x=function(){v({DirX:d("WAWebDropdown.react").DirX.RIGHT,DirY:d("WAWebDropdown.react").DirY.BOTTOM,menu:d("WAWebStatusPostingDropdown.react").getStatusPostDropdownItems(),anchor:k.current,autoFocus:g})},y=function(){v(null)},z=null,A=null,B=q!=null&&q.msgs.length>0;if(q&&((b=w)==null?void 0:b.length))b=l.jsx(c("WAWebStatusThumbnail.react"),{tabIndex:B?0:-1,role:B?"button":null,ariaLabel:h._(/*BTDS*/"__JHASH__SovlfEgoL7i__JHASH__"),id:q.id,contact:q.contact,onClick:p}),B=l.jsx(d("WAWebStatusLastPostPreview.react").StatusLastPostPreview,{msg:c("WANullthrows")(s)}),A=p;else{z=l.jsx(d("WAWebRound.react").Round,{xstyle:[o.roundComponent,o.wrappingRoundComponent,d("WAWebUISpacing").uiPadding.all2],children:l.jsx(d("WAWebRound.react").Round,{xstyle:o.roundComponent,ref:k,children:l.jsx(d("WAWebPlusIcon.react").PlusIcon,{width:14,height:14})})});s=d("WAWebUserPrefsMeUser").getMeUser();b=l.jsx(d("WAWebDetailImage.react").DetailImage,{id:s,theme:"status",size:40});p=h._(/*BTDS*/"__JHASH__a4z17mhYKRw__JHASH__");B=l.jsx("span",babelHelpers["extends"]({"data-testid":void 0},{className:"x1nxh6w3 x16cd2qt"},{children:p}));A=x}s=l.jsx("span",babelHelpers["extends"]({"data-testid":void 0},{className:"x1jchvi3"},{children:h._(/*BTDS*/"__JHASH__SovlfEgoL7i__JHASH__")}));p=l.jsxs(c("WAWebUnstyledButton.react"),{xstyle:[o.panelHeader,A!=null&&o.clickable],onClick:A,ref:i,children:[l.jsx("div",babelHelpers["extends"]({className:"x1n2onr6"},{children:l.jsxs("div",babelHelpers["extends"]({className:"x78zum5 x1q0g3np x6s0dn4 xl56j7k x13zx6y x1peatla x1fpc5dy"},{children:[b,z]}))})),l.jsxs("div",babelHelpers["extends"]({},(j||(j=c("stylex"))).props(o.headerText,a&&d("WDSFocusStateStyles").WDSFocusStateStyles.genericFocusPersistent),{children:[s,B]})),l.jsx(c("WAWebVelocityTransitionGroup"),{transitionName:"pop-fast",children:u==null?null:l.jsx(d("WAWebUimUie.react").UIE,{displayName:"ContextMenu",escapable:!0,popable:!0,dismissOnWindowResize:!0,requestDismiss:y,children:l.jsx(c("WAWebUimUieMenu.react"),{contextMenu:u})})})]});return p}a.displayName=a.name+" [from "+f.id+"]";g.StatusListHeader=a}),226);