Module 679314

1,849 characters · in no known chunk
Dependencies
Required by (3)
Lazily required by (0)none
Requires (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){"use strict";function r(){let e=0,t=0;for(let n=0;n<28;n+=7){let r=this.buf[this.pos++];if(e|=(127&r)<<n,(128&r)==0)return this.assertBounds(),[e,t]}let n=this.buf[this.pos++];if(e|=(15&n)<<28,t=(112&n)>>4,(128&n)==0)return this.assertBounds(),[e,t];for(let n=3;n<=31;n+=7){let r=this.buf[this.pos++];if(t|=(127&r)<<n,(128&r)==0)return this.assertBounds(),[e,t]}throw Error("invalid varint")}function i(e,t,n){for(let r=0;r<28;r+=7){let i=e>>>r,s=i>>>7!=0||0!=t,a=(s?128|i:i)&255;if(n.push(a),!s)return}let r=e>>>28&15|(7&t)<<4,i=t>>3!=0;if(n.push((i?128|r:r)&255),i){for(let e=3;e<31;e+=7){let r=t>>>e,i=r>>>7!=0,s=(i?128|r:r)&255;if(n.push(s),!i)return}n.push(t>>>31&1)}}n.d(t,{Gn:()=>u,Jg:()=>a,cV:()=>i,f7:()=>l,ls:()=>r,oJ:()=>o});let s=0x100000000;function a(e){let t="-"==e[0];t&&(e=e.slice(1));let n=1e6,r=0,i=0;function a(t,a){let o=Number(e.slice(t,a));i*=n,(r=r*n+o)>=s&&(i+=r/s|0,r%=s)}return a(-24,-18),a(-18,-12),a(-12,-6),a(-6),[t,r,i]}function o(e,t){if(t<=2097151)return""+(s*t+(e>>>0));let n=0xffffff&e,r=(e>>>24|t<<8)>>>0&0xffffff,i=t>>16&65535,a=n+6777216*r+6710656*i,o=r+8147497*i,l=2*i,u=1e7;function c(e,t){let n=e?String(e):"";return t?"0000000".slice(n.length)+n:n}return a>=1e7&&(o+=Math.floor(a/u),a%=u),o>=u&&(l+=Math.floor(o/u),o%=u),c(l,0)+c(o,l)+c(a,1)}function l(e,t){if(e>=0){for(;e>127;)t.push(127&e|128),e>>>=7;t.push(e)}else{for(let n=0;n<9;n++)t.push(127&e|128),e>>=7;t.push(1)}}function u(){let e=this.buf[this.pos++],t=127&e;if((128&e)==0||(t|=(127&(e=this.buf[this.pos++]))<<7,(128&e)==0)||(t|=(127&(e=this.buf[this.pos++]))<<14,(128&e)==0)||(t|=(127&(e=this.buf[this.pos++]))<<21,(128&e)==0))return this.assertBounds(),t;t|=(15&(e=this.buf[this.pos++]))<<28;for(let t=5;(128&e)!=0&&t<10;t++)e=this.buf[this.pos++];if((128&e)!=0)throw Error("invalid varint");return this.assertBounds(),t>>>0}}