@powersync/react-native
Version:
PowerSync React Native SDK. Sync Postgres, MongoDB or MySQL with SQLite in your React Native app
10 lines • 1.27 MB
JavaScript
"use strict";var l=require("@powersync/common"),n=require("@powersync/react"),u=require("react-native"),e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}function r(l){if(l.__esModule)return l;var n=l.default;if("function"==typeof n){var u=function l(){return this instanceof l?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};u.prototype=n.prototype}else u={};return Object.defineProperty(u,"__esModule",{value:!0}),Object.keys(l).forEach((function(n){var e=Object.getOwnPropertyDescriptor(l,n);Object.defineProperty(u,n,e.get?e:{enumerable:!0,get:function(){return l[n]}})})),u}var o={};const i=u.NativeModules.QuickBase64;function s(l,n=!1){return new Uint8Array(global.base64ToArrayBuffer(l,n))}function a(l){return global.base64FromArrayBuffer(function(l){const n=new ArrayBuffer(l.length),u=new Uint8Array(n);for(let n=0;n<l.length;n++)u[n]=l.charCodeAt(n);return n}(l))}function f(l){return function(l){let n="";for(let u=0;u<l.length;u++){const e=l[u];void 0!==e&&(n+=String.fromCharCode(e))}return n}(s(l))}i&&"function"!=typeof global.base64FromArrayBuffer&&i.install();var c=Object.freeze({__proto__:null,atob:f,btoa:a,byteLength:function(l){const[n,u]=function(l){const n=l.length;if(n%4>0)throw new Error("Invalid string. Length must be a multiple of 4");let u=l.indexOf("=");return-1===u&&(u=n),[u,u===n?0:4-u%4]}(l);return 3*(n+u)/4-u},fromByteArray:function(l,n=!1){if(l.buffer.byteLength>l.byteLength||l.byteOffset>0){const u=l.buffer instanceof ArrayBuffer?l.buffer.slice(l.byteOffset,l.byteOffset+l.byteLength):new ArrayBuffer(l.byteLength);if(u instanceof ArrayBuffer)return global.base64FromArrayBuffer(u,n)}const u=l.buffer instanceof ArrayBuffer?l.buffer:new ArrayBuffer(l.byteLength);return global.base64FromArrayBuffer(u,n)},getNative:()=>({base64FromArrayBuffer:global.base64FromArrayBuffer,base64ToArrayBuffer:global.base64ToArrayBuffer}),shim:function(){global.btoa=a,global.atob=f},toByteArray:s,trimBase64Padding:l=>l.replace(/[.=]{1,2}$/,"")}),h=r(c),d={byteLength:function(l){var n=_(l),u=n[0],e=n[1];return 3*(u+e)/4-e}},p=d.toByteArray=function(l){var n,u,e=_(l),t=e[0],r=e[1],o=new y(function(l,n,u){return 3*(n+u)/4-u}(0,t,r)),i=0,s=r>0?t-4:t;for(u=0;u<s;u+=4)n=g[l.charCodeAt(u)]<<18|g[l.charCodeAt(u+1)]<<12|g[l.charCodeAt(u+2)]<<6|g[l.charCodeAt(u+3)],o[i++]=n>>16&255,o[i++]=n>>8&255,o[i++]=255&n;2===r&&(n=g[l.charCodeAt(u)]<<2|g[l.charCodeAt(u+1)]>>4,o[i++]=255&n);1===r&&(n=g[l.charCodeAt(u)]<<10|g[l.charCodeAt(u+1)]<<4|g[l.charCodeAt(u+2)]>>2,o[i++]=n>>8&255,o[i++]=255&n);return o};d.fromByteArray=function(l){for(var n,u=l.length,e=u%3,t=[],r=16383,o=0,i=u-e;o<i;o+=r)t.push(v(l,o,o+r>i?i:o+r));1===e?(n=l[u-1],t.push(b[n>>2]+b[n<<4&63]+"==")):2===e&&(n=(l[u-2]<<8)+l[u-1],t.push(b[n>>10]+b[n>>4&63]+b[n<<2&63]+"="));return t.join("")};for(var b=[],g=[],y="undefined"!=typeof Uint8Array?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",w=0;w<64;++w)b[w]=m[w],g[m.charCodeAt(w)]=w;function _(l){var n=l.length;if(n%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var u=l.indexOf("=");return-1===u&&(u=n),[u,u===n?0:4-u%4]}function v(l,n,u){for(var e,t,r=[],o=n;o<u;o+=3)e=(l[o]<<16&16711680)+(l[o+1]<<8&65280)+(255&l[o+2]),r.push(b[(t=e)>>18&63]+b[t>>12&63]+b[t>>6&63]+b[63&t]);return r.join("")}g["-".charCodeAt(0)]=62,g["_".charCodeAt(0)]=63;var S={
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
read:function(l,n,u,e,t){var r,o,i=8*t-e-1,s=(1<<i)-1,a=s>>1,f=-7,c=u?t-1:0,h=u?-1:1,d=l[n+c];for(c+=h,r=d&(1<<-f)-1,d>>=-f,f+=i;f>0;r=256*r+l[n+c],c+=h,f-=8);for(o=r&(1<<-f)-1,r>>=-f,f+=e;f>0;o=256*o+l[n+c],c+=h,f-=8);if(0===r)r=1-a;else{if(r===s)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,e),r-=a}return(d?-1:1)*o*Math.pow(2,r-e)},write:function(l,n,u,e,t,r){var o,i,s,a=8*r-t-1,f=(1<<a)-1,c=f>>1,h=23===t?Math.pow(2,-24)-Math.pow(2,-77):0,d=e?0:r-1,p=e?1:-1,b=n<0||0===n&&1/n<0?1:0;for(n=Math.abs(n),isNaN(n)||n===1/0?(i=isNaN(n)?1:0,o=f):(o=Math.floor(Math.log(n)/Math.LN2),n*(s=Math.pow(2,-o))<1&&(o--,s*=2),(n+=o+c>=1?h/s:h*Math.pow(2,1-c))*s>=2&&(o++,s/=2),o+c>=f?(i=0,o=f):o+c>=1?(i=(n*s-1)*Math.pow(2,t),o+=c):(i=n*Math.pow(2,c-1)*Math.pow(2,t),o=0));t>=8;l[u+d]=255&i,d+=p,i/=256,t-=8);for(o=o<<t|i,a+=t;a>0;l[u+d]=255&o,d+=p,o/=256,a-=8);l[u+d-p]|=128*b}};
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/
!function(l){const n="object"==typeof navigator&&null!=navigator&&"ReactNative"===navigator.product?h:d,u=S,e="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;l.Buffer=i,l.SlowBuffer=function(l){+l!=l&&(l=0);return i.alloc(+l)},l.INSPECT_MAX_BYTES=50;const t=2147483647;l.kMaxLength=t;const r=268435440;function o(l){if(l>t)throw new RangeError('The value "'+l+'" is invalid for option "size"');const n=new Uint8Array(l);return Object.setPrototypeOf(n,i.prototype),n}function i(l,n,u){if("number"==typeof l){if("string"==typeof n)throw new TypeError('The "string" argument must be of type string. Received type number');return f(l)}return s(l,n,u)}function s(l,n,u){if("string"==typeof l)return function(l,n){"string"==typeof n&&""!==n||(n="utf8");if(!i.isEncoding(n))throw new TypeError("Unknown encoding: "+n);const u=0|g(l,n);let e=o(u);const t=e.write(l,n);t!==u&&(e=e.slice(0,t));return e}(l,n);if(ArrayBuffer.isView(l))return function(l){if(ul(l,Uint8Array)){const n=new Uint8Array(l);return p(n.buffer,n.byteOffset,n.byteLength)}return c(l)}(l);if(null==l)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof l);if(ul(l,ArrayBuffer)||l&&ul(l.buffer,ArrayBuffer))return p(l,n,u);if("undefined"!=typeof SharedArrayBuffer&&(ul(l,SharedArrayBuffer)||l&&ul(l.buffer,SharedArrayBuffer)))return p(l,n,u);if("number"==typeof l)throw new TypeError('The "value" argument must not be of type number. Received type number');const e=l.valueOf&&l.valueOf();if(null!=e&&e!==l)return i.from(e,n,u);const t=function(l){if(i.isBuffer(l)){const n=0|b(l.length),u=o(n);return 0===u.length||l.copy(u,0,0,n),u}if(void 0!==l.length)return"number"!=typeof l.length||el(l.length)?o(0):c(l);if("Buffer"===l.type&&Array.isArray(l.data))return c(l.data)}(l);if(t)return t;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof l[Symbol.toPrimitive])return i.from(l[Symbol.toPrimitive]("string"),n,u);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof l)}function a(l){if("number"!=typeof l)throw new TypeError('"size" argument must be of type number');if(l<0)throw new RangeError('The value "'+l+'" is invalid for option "size"')}function f(l){return a(l),o(l<0?0:0|b(l))}function c(l){const n=l.length<0?0:0|b(l.length),u=o(n);for(let e=0;e<n;e+=1)u[e]=255&l[e];return u}function p(l,n,u){if(n<0||l.byteLength<n)throw new RangeError('"offset" is outside of buffer bounds');if(l.byteLength<n+(u||0))throw new RangeError('"length" is outside of buffer bounds');let e;return e=void 0===n&&void 0===u?new Uint8Array(l):void 0===u?new Uint8Array(l,n):new Uint8Array(l,n,u),Object.setPrototypeOf(e,i.prototype),e}function b(l){if(l>=t)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+t.toString(16)+" bytes");return 0|l}function g(l,n){if(ArrayBuffer.isView(l)||ul(l,ArrayBuffer))return l.byteLength;if("undefined"!=typeof SharedArrayBuffer&&ul(l,SharedArrayBuffer))return l.byteLength;if("string"!=typeof l)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof l);const u=l.length,e=arguments.length>2&&!0===arguments[2];if(!e&&0===u)return 0;let t=!1;for(;;)switch(n){case"ascii":case"latin1":case"binary":return u;case"utf8":case"utf-8":return Z(l).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*u;case"hex":return u>>>1;case"base64":return X(l).length;case"base64url":return Q(l).length;default:if(t)return e?-1:Z(l).length;n=(""+n).toLowerCase(),t=!0}}function y(l,n,u){let e=!1;if((void 0===n||n<0)&&(n=0),n>this.length)return"";if((void 0===u||u>this.length)&&(u=this.length),u<=0)return"";if((u>>>=0)<=(n>>>=0))return"";for(l||(l="utf8");;)switch(l){case"hex":return j(this,n,u);case"utf8":case"utf-8":return R(this,n,u);case"ascii":return N(this,n,u);case"latin1":case"binary":return L(this,n,u);case"base64":return A(this,n,u);case"base64url":return I(this,n,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,n,u);default:if(e)throw new TypeError("Unknown encoding: "+l);l=(l+"").toLowerCase(),e=!0}}function m(l,n,u){const e=l[n];l[n]=l[u],l[u]=e}function w(l,n,u,e,t){if(0===l.length)return-1;if("string"==typeof u?(e=u,u=0):u>2147483647?u=2147483647:u<-2147483648&&(u=-2147483648),el(u=+u)&&(u=t?0:l.length-1),u<0&&(u=l.length+u),u>=l.length){if(t)return-1;u=l.length-1}else if(u<0){if(!t)return-1;u=0}if("string"==typeof n&&(n=i.from(n,e)),i.isBuffer(n))return 0===n.length?-1:_(l,n,u,e,t);if("number"==typeof n)return n&=255,"function"==typeof Uint8Array.prototype.indexOf?t?Uint8Array.prototype.indexOf.call(l,n,u):Uint8Array.prototype.lastIndexOf.call(l,n,u):_(l,[n],u,e,t);throw new TypeError("val must be string, number or Buffer")}function _(l,n,u,e,t){let r,o=1,i=l.length,s=n.length;if(void 0!==e&&("ucs2"===(e=String(e).toLowerCase())||"ucs-2"===e||"utf16le"===e||"utf-16le"===e)){if(l.length<2||n.length<2)return-1;o=2,i/=2,s/=2,u/=2}function a(l,n){return 1===o?l[n]:l.readUInt16BE(n*o)}if(t){let e=-1;for(r=u;r<i;r++)if(a(l,r)===a(n,-1===e?0:r-e)){if(-1===e&&(e=r),r-e+1===s)return e*o}else-1!==e&&(r-=r-e),e=-1}else for(u+s>i&&(u=i-s),r=u;r>=0;r--){let u=!0;for(let e=0;e<s;e++)if(a(l,r+e)!==a(n,e)){u=!1;break}if(u)return r}return-1}function v(l,n,u,e){u=Number(u)||0;const t=l.length-u;e?(e=Number(e))>t&&(e=t):e=t;const r=n.length;e>r>>>1&&(e=r>>>1);for(let t=0;t<e;++t){const e=n.charCodeAt(2*t+0),r=n.charCodeAt(2*t+1),o=rl[127&e],i=rl[127&r];if(-128&(e|r|o|i))return t;l[u+t]=o<<4|i}return e}function E(l,n,u,e){return nl(Z(n,l.length-u),l,u,e)}function B(l,n,u,e){return nl(function(l){const n=[];for(let u=0;u<l.length;++u)n.push(255&l.charCodeAt(u));return n}(n),l,u,e)}function T(l,n,u,e){return nl(X(n),l,u,e)}function O(l,n,u,e){return nl(Q(n),l,u,e)}function x(l,n,u,e){return nl(function(l,n){let u,e,t;const r=[];for(let o=0;o<l.length&&!((n-=2)<0);++o)u=l.charCodeAt(o),e=u>>8,t=u%256,r.push(t),r.push(e);return r}(n,l.length-u),l,u,e)}function A(l,u,e){return 0===u&&e===l.length?n.fromByteArray(l):n.fromByteArray(l.slice(u,e))}function I(l,u,e){return 0===u&&e===l.length?ll(n.fromByteArray(l)):ll(n.fromByteArray(l.slice(u,e)))}function R(l,n,u){u=Math.min(l.length,u);const e=[];let t=n;for(;t<u;){const n=l[t];let r=null,o=n>239?4:n>223?3:n>191?2:1;if(t+o<=u){let u,e,i,s;switch(o){case 1:n<128&&(r=n);break;case 2:u=l[t+1],128==(192&u)&&(s=(31&n)<<6|63&u,s>127&&(r=s));break;case 3:u=l[t+1],e=l[t+2],128==(192&u)&&128==(192&e)&&(s=(15&n)<<12|(63&u)<<6|63&e,s>2047&&(s<55296||s>57343)&&(r=s));break;case 4:u=l[t+1],e=l[t+2],i=l[t+3],128==(192&u)&&128==(192&e)&&128==(192&i)&&(s=(15&n)<<18|(63&u)<<12|(63&e)<<6|63&i,s>65535&&s<1114112&&(r=s))}}null===r?(r=65533,o=1):r>65535&&(r-=65536,e.push(r>>>10&1023|55296),r=56320|1023&r),e.push(r),t+=o}return function(l){const n=l.length;if(n<=U)return String.fromCharCode.apply(String,l);let u="",e=0;for(;e<n;)u+=String.fromCharCode.apply(String,l.slice(e,e+=U));return u}(e)}l.kStringMaxLength=r,l.constants={MAX_LENGTH:t,MAX_STRING_LENGTH:r},l.Blob="undefined"!=typeof Blob?Blob:void 0,l.File="undefined"!=typeof File?File:void 0,l.atob="undefined"!=typeof atob?atob:void 0,l.btoa="undefined"!=typeof btoa?btoa:void 0,i.TYPED_ARRAY_SUPPORT=function(){try{const l=new Uint8Array(1),n={foo:function(){return 42}};return Object.setPrototypeOf(n,Uint8Array.prototype),Object.setPrototypeOf(l,n),42===l.foo()}catch(l){return!1}}(),i.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(i.prototype,"parent",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.buffer}}),Object.defineProperty(i.prototype,"offset",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.byteOffset}}),i.poolSize=8192,i.from=function(l,n,u){return s(l,n,u)},Object.setPrototypeOf(i.prototype,Uint8Array.prototype),Object.setPrototypeOf(i,Uint8Array),i.alloc=function(l,n,u){return function(l,n,u){return a(l),l<=0?o(l):void 0!==n?"string"==typeof u?o(l).fill(n,u):o(l).fill(n):o(l)}(l,n,u)},i.allocUnsafe=function(l){return f(l)},i.allocUnsafeSlow=function(l){return f(l)},i.isBuffer=function(l){return null!=l&&!0===l._isBuffer&&l!==i.prototype},i.compare=function(l,n){if(!ul(l,Uint8Array)||!ul(n,Uint8Array))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(l===n)return 0;let u=l.length,e=n.length;for(let t=0,r=Math.min(u,e);t<r;++t)if(l[t]!==n[t]){u=l[t],e=n[t];break}return u<e?-1:e<u?1:0},i.isEncoding=function(l){switch(String(l).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"base64url":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.concat=function(l,n){if(!Array.isArray(l))throw new TypeError('"list" argument must be an Array of Buffers');if(0===l.length)return i.alloc(0);let u;if(void 0===n)for(n=0,u=0;u<l.length;++u)n+=l[u].length;const e=i.allocUnsafe(n);let t=0;for(u=0;u<l.length;++u){const n=l[u];if(!ul(n,Uint8Array))throw new TypeError('"list" argument must be an Array of Buffers');if(t+n.length>e.length){e.set(n.subarray(0,e.length-t),t);break}e.set(n,t),t+=n.length}return e},i.byteLength=g,i.prototype._isBuffer=!0,i.prototype.swap16=function(){const l=this.length;if(l%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let n=0;n<l;n+=2)m(this,n,n+1);return this},i.prototype.swap32=function(){const l=this.length;if(l%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let n=0;n<l;n+=4)m(this,n,n+3),m(this,n+1,n+2);return this},i.prototype.swap64=function(){const l=this.length;if(l%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let n=0;n<l;n+=8)m(this,n,n+7),m(this,n+1,n+6),m(this,n+2,n+5),m(this,n+3,n+4);return this},i.prototype.toString=function(){const l=this.length;return 0===l?"":0===arguments.length?R(this,0,l):y.apply(this,arguments)},i.prototype.toLocaleString=i.prototype.toString,i.prototype.equals=function(l){return this===l||0===i.compare(this,l)},i.prototype.inspect=function(){let n="";const u=l.INSPECT_MAX_BYTES;return n=this.toString("hex",0,u).replace(/(.{2})/g,"$1 ").trim(),this.length>u&&(n+=" ... "),"<Buffer "+n+">"},e&&(i.prototype[e]=i.prototype.inspect),i.prototype.compare=function(l,n,u,e,t){if(!ul(l,Uint8Array))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof l);if(void 0===n&&(n=0),void 0===u&&(u=l?l.length:0),void 0===e&&(e=0),void 0===t&&(t=this.length),n<0||u>l.length||e<0||t>this.length)throw new RangeError("out of range index");if(e>=t&&n>=u)return 0;if(e>=t)return-1;if(n>=u)return 1;if(this===l)return 0;let r=(t>>>=0)-(e>>>=0),o=(u>>>=0)-(n>>>=0);const i=Math.min(r,o);for(let u=0;u<i;++u)if(this[e+u]!==l[n+u]){r=this[e+u],o=l[n+u];break}return r<o?-1:o<r?1:0},i.prototype.includes=function(l,n,u){return-1!==this.indexOf(l,n,u)},i.prototype.indexOf=function(l,n,u){return w(this,l,n,u,!0)},i.prototype.lastIndexOf=function(l,n,u){return w(this,l,n,u,!1)},i.prototype.write=function(l,n,u,e){if(void 0===n)e="utf8",u=this.length,n=0;else if(void 0===u&&"string"==typeof n)e=n,u=this.length,n=0;else{if(!isFinite(n))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");n>>>=0,isFinite(u)?(u>>>=0,void 0===e&&(e="utf8")):(e=u,u=void 0)}const t=this.length-n;if((void 0===u||u>t)&&(u=t),l.length>0&&(u<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");e||(e="utf8");let r=!1;for(;;)switch(e){case"hex":return v(this,l,n,u);case"utf8":case"utf-8":return E(this,l,n,u);case"ascii":case"latin1":case"binary":return B(this,l,n,u);case"base64":return T(this,l,n,u);case"base64url":return O(this,l,n,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,l,n,u);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(""+e).toLowerCase(),r=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this,0)}};const U=4096;function N(l,n,u){let e="";u=Math.min(l.length,u);for(let t=n;t<u;++t)e+=String.fromCharCode(127&l[t]);return e}function L(l,n,u){let e="";u=Math.min(l.length,u);for(let t=n;t<u;++t)e+=String.fromCharCode(l[t]);return e}function j(l,n,u){const e=l.length;(!n||n<0)&&(n=0),(!u||u<0||u>e)&&(u=e);let t="";for(let e=n;e<u;++e)t+=tl[l[e]];return t}function C(l,n,u){const e=l.slice(n,u);let t="";for(let l=0;l<e.length-1;l+=2)t+=String.fromCharCode(e[l]+256*e[l+1]);return t}function P(l,n,u){if(l%1!=0||l<0)throw new RangeError("offset is not uint");if(l+n>u)throw new RangeError("Trying to access beyond buffer length")}function k(l,n,u,e,t,r){if(!i.isBuffer(l))throw new TypeError('"buffer" argument must be a Buffer instance');if(n>t||n<r)throw new RangeError('"value" argument is out of bounds');if(u+e>l.length)throw new RangeError("Index out of range")}function $(l,n,u,e,t){J(n,e,t,l,u,7);let r=Number(n&BigInt(4294967295));l[u++]=r,r>>=8,l[u++]=r,r>>=8,l[u++]=r,r>>=8,l[u++]=r;let o=Number(n>>BigInt(32)&BigInt(4294967295));return l[u++]=o,o>>=8,l[u++]=o,o>>=8,l[u++]=o,o>>=8,l[u++]=o,u}function q(l,n,u,e,t){J(n,e,t,l,u,7);let r=Number(n&BigInt(4294967295));l[u+7]=r,r>>=8,l[u+6]=r,r>>=8,l[u+5]=r,r>>=8,l[u+4]=r;let o=Number(n>>BigInt(32)&BigInt(4294967295));return l[u+3]=o,o>>=8,l[u+2]=o,o>>=8,l[u+1]=o,o>>=8,l[u]=o,u+8}function F(l,n,u,e,t,r){if(u+e>l.length)throw new RangeError("Index out of range");if(u<0)throw new RangeError("Index out of range")}function D(l,n,e,t,r){return n=+n,e>>>=0,r||F(l,0,e,4),u.write(l,n,e,t,23,4),e+4}function M(l,n,e,t,r){return n=+n,e>>>=0,r||F(l,0,e,8),u.write(l,n,e,t,52,8),e+8}i.prototype.slice=function(l,n){const u=this.length;(l=~~l)<0?(l+=u)<0&&(l=0):l>u&&(l=u),(n=void 0===n?u:~~n)<0?(n+=u)<0&&(n=0):n>u&&(n=u),n<l&&(n=l);const e=this.subarray(l,n);return Object.setPrototypeOf(e,i.prototype),e},i.prototype.subarray=function(l,n){const u=Uint8Array.prototype.subarray.call(this,l,n);return Object.setPrototypeOf(u,i.prototype),u},i.prototype.readUintLE=i.prototype.readUIntLE=function(l,n,u){l>>>=0,n>>>=0,u||P(l,n,this.length);let e=this[l],t=1,r=0;for(;++r<n&&(t*=256);)e+=this[l+r]*t;return e},i.prototype.readUintBE=i.prototype.readUIntBE=function(l,n,u){l>>>=0,n>>>=0,u||P(l,n,this.length);let e=this[l+--n],t=1;for(;n>0&&(t*=256);)e+=this[l+--n]*t;return e},i.prototype.readUint8=i.prototype.readUInt8=function(l,n){return l>>>=0,n||P(l,1,this.length),this[l]},i.prototype.readUint16LE=i.prototype.readUInt16LE=function(l,n){return l>>>=0,n||P(l,2,this.length),this[l]|this[l+1]<<8},i.prototype.readUint16BE=i.prototype.readUInt16BE=function(l,n){return l>>>=0,n||P(l,2,this.length),this[l]<<8|this[l+1]},i.prototype.readUint32LE=i.prototype.readUInt32LE=function(l,n){return l>>>=0,n||P(l,4,this.length),(this[l]|this[l+1]<<8|this[l+2]<<16)+16777216*this[l+3]},i.prototype.readUint32BE=i.prototype.readUInt32BE=function(l,n){return l>>>=0,n||P(l,4,this.length),16777216*this[l]+(this[l+1]<<16|this[l+2]<<8|this[l+3])},i.prototype.readBigUInt64LE=ol((function(l){H(l>>>=0,"offset");const n=this[l],u=this[l+7];void 0!==n&&void 0!==u||Y(l,this.length-8);const e=n+256*this[++l]+65536*this[++l]+this[++l]*2**24,t=this[++l]+256*this[++l]+65536*this[++l]+u*2**24;return BigInt(e)+(BigInt(t)<<BigInt(32))})),i.prototype.readBigUInt64BE=ol((function(l){H(l>>>=0,"offset");const n=this[l],u=this[l+7];void 0!==n&&void 0!==u||Y(l,this.length-8);const e=n*2**24+65536*this[++l]+256*this[++l]+this[++l],t=this[++l]*2**24+65536*this[++l]+256*this[++l]+u;return(BigInt(e)<<BigInt(32))+BigInt(t)})),i.prototype.readIntLE=function(l,n,u){l>>>=0,n>>>=0,u||P(l,n,this.length);let e=this[l],t=1,r=0;for(;++r<n&&(t*=256);)e+=this[l+r]*t;return t*=128,e>=t&&(e-=Math.pow(2,8*n)),e},i.prototype.readIntBE=function(l,n,u){l>>>=0,n>>>=0,u||P(l,n,this.length);let e=n,t=1,r=this[l+--e];for(;e>0&&(t*=256);)r+=this[l+--e]*t;return t*=128,r>=t&&(r-=Math.pow(2,8*n)),r},i.prototype.readInt8=function(l,n){return l>>>=0,n||P(l,1,this.length),128&this[l]?-1*(255-this[l]+1):this[l]},i.prototype.readInt16LE=function(l,n){l>>>=0,n||P(l,2,this.length);const u=this[l]|this[l+1]<<8;return 32768&u?4294901760|u:u},i.prototype.readInt16BE=function(l,n){l>>>=0,n||P(l,2,this.length);const u=this[l+1]|this[l]<<8;return 32768&u?4294901760|u:u},i.prototype.readInt32LE=function(l,n){return l>>>=0,n||P(l,4,this.length),this[l]|this[l+1]<<8|this[l+2]<<16|this[l+3]<<24},i.prototype.readInt32BE=function(l,n){return l>>>=0,n||P(l,4,this.length),this[l]<<24|this[l+1]<<16|this[l+2]<<8|this[l+3]},i.prototype.readBigInt64LE=ol((function(l){H(l>>>=0,"offset");const n=this[l],u=this[l+7];void 0!==n&&void 0!==u||Y(l,this.length-8);const e=this[l+4]+256*this[l+5]+65536*this[l+6]+(u<<24);return(BigInt(e)<<BigInt(32))+BigInt(n+256*this[++l]+65536*this[++l]+this[++l]*2**24)})),i.prototype.readBigInt64BE=ol((function(l){H(l>>>=0,"offset");const n=this[l],u=this[l+7];void 0!==n&&void 0!==u||Y(l,this.length-8);const e=(n<<24)+65536*this[++l]+256*this[++l]+this[++l];return(BigInt(e)<<BigInt(32))+BigInt(this[++l]*2**24+65536*this[++l]+256*this[++l]+u)})),i.prototype.readFloatLE=function(l,n){return l>>>=0,n||P(l,4,this.length),u.read(this,l,!0,23,4)},i.prototype.readFloatBE=function(l,n){return l>>>=0,n||P(l,4,this.length),u.read(this,l,!1,23,4)},i.prototype.readDoubleLE=function(l,n){return l>>>=0,n||P(l,8,this.length),u.read(this,l,!0,52,8)},i.prototype.readDoubleBE=function(l,n){return l>>>=0,n||P(l,8,this.length),u.read(this,l,!1,52,8)},i.prototype.writeUintLE=i.prototype.writeUIntLE=function(l,n,u,e){if(l=+l,n>>>=0,u>>>=0,!e){k(this,l,n,u,Math.pow(2,8*u)-1,0)}let t=1,r=0;for(this[n]=255&l;++r<u&&(t*=256);)this[n+r]=l/t&255;return n+u},i.prototype.writeUintBE=i.prototype.writeUIntBE=function(l,n,u,e){if(l=+l,n>>>=0,u>>>=0,!e){k(this,l,n,u,Math.pow(2,8*u)-1,0)}let t=u-1,r=1;for(this[n+t]=255&l;--t>=0&&(r*=256);)this[n+t]=l/r&255;return n+u},i.prototype.writeUint8=i.prototype.writeUInt8=function(l,n,u){return l=+l,n>>>=0,u||k(this,l,n,1,255,0),this[n]=255&l,n+1},i.prototype.writeUint16LE=i.prototype.writeUInt16LE=function(l,n,u){return l=+l,n>>>=0,u||k(this,l,n,2,65535,0),this[n]=255&l,this[n+1]=l>>>8,n+2},i.prototype.writeUint16BE=i.prototype.writeUInt16BE=function(l,n,u){return l=+l,n>>>=0,u||k(this,l,n,2,65535,0),this[n]=l>>>8,this[n+1]=255&l,n+2},i.prototype.writeUint32LE=i.prototype.writeUInt32LE=function(l,n,u){return l=+l,n>>>=0,u||k(this,l,n,4,4294967295,0),this[n+3]=l>>>24,this[n+2]=l>>>16,this[n+1]=l>>>8,this[n]=255&l,n+4},i.prototype.writeUint32BE=i.prototype.writeUInt32BE=function(l,n,u){return l=+l,n>>>=0,u||k(this,l,n,4,4294967295,0),this[n]=l>>>24,this[n+1]=l>>>16,this[n+2]=l>>>8,this[n+3]=255&l,n+4},i.prototype.writeBigUInt64LE=ol((function(l,n=0){return $(this,l,n,BigInt(0),BigInt("0xffffffffffffffff"))})),i.prototype.writeBigUInt64BE=ol((function(l,n=0){return q(this,l,n,BigInt(0),BigInt("0xffffffffffffffff"))})),i.prototype.writeIntLE=function(l,n,u,e){if(l=+l,n>>>=0,!e){const e=Math.pow(2,8*u-1);k(this,l,n,u,e-1,-e)}let t=0,r=1,o=0;for(this[n]=255&l;++t<u&&(r*=256);)l<0&&0===o&&0!==this[n+t-1]&&(o=1),this[n+t]=(l/r|0)-o&255;return n+u},i.prototype.writeIntBE=function(l,n,u,e){if(l=+l,n>>>=0,!e){const e=Math.pow(2,8*u-1);k(this,l,n,u,e-1,-e)}let t=u-1,r=1,o=0;for(this[n+t]=255&l;--t>=0&&(r*=256);)l<0&&0===o&&0!==this[n+t+1]&&(o=1),this[n+t]=(l/r|0)-o&255;return n+u},i.prototype.writeInt8=function(l,n,u){return l=+l,n>>>=0,u||k(this,l,n,1,127,-128),l<0&&(l=255+l+1),this[n]=255&l,n+1},i.prototype.writeInt16LE=function(l,n,u){return l=+l,n>>>=0,u||k(this,l,n,2,32767,-32768),this[n]=255&l,this[n+1]=l>>>8,n+2},i.prototype.writeInt16BE=function(l,n,u){return l=+l,n>>>=0,u||k(this,l,n,2,32767,-32768),this[n]=l>>>8,this[n+1]=255&l,n+2},i.prototype.writeInt32LE=function(l,n,u){return l=+l,n>>>=0,u||k(this,l,n,4,2147483647,-2147483648),this[n]=255&l,this[n+1]=l>>>8,this[n+2]=l>>>16,this[n+3]=l>>>24,n+4},i.prototype.writeInt32BE=function(l,n,u){return l=+l,n>>>=0,u||k(this,l,n,4,2147483647,-2147483648),l<0&&(l=4294967295+l+1),this[n]=l>>>24,this[n+1]=l>>>16,this[n+2]=l>>>8,this[n+3]=255&l,n+4},i.prototype.writeBigInt64LE=ol((function(l,n=0){return $(this,l,n,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),i.prototype.writeBigInt64BE=ol((function(l,n=0){return q(this,l,n,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),i.prototype.writeFloatLE=function(l,n,u){return D(this,l,n,!0,u)},i.prototype.writeFloatBE=function(l,n,u){return D(this,l,n,!1,u)},i.prototype.writeDoubleLE=function(l,n,u){return M(this,l,n,!0,u)},i.prototype.writeDoubleBE=function(l,n,u){return M(this,l,n,!1,u)},i.prototype.copy=function(l,n,u,e){if(!ul(l,Uint8Array))throw new TypeError("argument should be a Buffer");if(u||(u=0),e||0===e||(e=this.length),n>=l.length&&(n=l.length),n||(n=0),e>0&&e<u&&(e=u),e===u)return 0;if(0===l.length||0===this.length)return 0;if(n<0)throw new RangeError("targetStart out of bounds");if(u<0||u>=this.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("sourceEnd out of bounds");e>this.length&&(e=this.length),l.length-n<e-u&&(e=l.length-n+u);const t=e-u;return this===l&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(n,u,e):Uint8Array.prototype.set.call(l,this.subarray(u,e),n),t},i.prototype.fill=function(l,n,u,e){if("string"==typeof l){if("string"==typeof n?(e=n,n=0,u=this.length):"string"==typeof u&&(e=u,u=this.length),void 0!==e&&"string"!=typeof e)throw new TypeError("encoding must be a string");if("string"==typeof e&&!i.isEncoding(e))throw new TypeError("Unknown encoding: "+e);if(1===l.length){const n=l.charCodeAt(0);("utf8"===e&&n<128||"latin1"===e)&&(l=n)}}else"number"==typeof l?l&=255:"boolean"==typeof l&&(l=Number(l));if(n<0||this.length<n||this.length<u)throw new RangeError("Out of range index");if(u<=n)return this;let t;if(n>>>=0,u=void 0===u?this.length:u>>>0,l||(l=0),"number"==typeof l)for(t=n;t<u;++t)this[t]=l;else{const r=ul(l,Uint8Array)?l:i.from(l,e),o=r.length;if(0===o)throw new TypeError('The value "'+l+'" is invalid for argument "value"');for(t=0;t<u-n;++t)this[t+n]=r[t%o]}return this};const z={};function V(l,n,u){function e(){const t=new u(n.apply(null,arguments));return Object.setPrototypeOf(t,e.prototype),t.code=l,t.name=`${t.name} [${l}]`,Error.captureStackTrace&&Error.captureStackTrace(t,e),t.stack,delete t.name,t}Object.setPrototypeOf(e.prototype,u.prototype),Object.setPrototypeOf(e,u),e.prototype.toString=function(){return`${this.name} [${l}]: ${this.message}`},z[l]=e}function W(l){let n="",u=l.length;const e="-"===l[0]?1:0;for(;u>=e+4;u-=3)n=`_${l.slice(u-3,u)}${n}`;return`${l.slice(0,u)}${n}`}function J(l,n,u,e,t,r){if(l>u||l<n){const e="bigint"==typeof n?"n":"";let t;throw t=r>3?0===n||n===BigInt(0)?`>= 0${e} and < 2${e} ** ${8*(r+1)}${e}`:`>= -(2${e} ** ${8*(r+1)-1}${e}) and < 2 ** ${8*(r+1)-1}${e}`:`>= ${n}${e} and <= ${u}${e}`,new z.ERR_OUT_OF_RANGE("value",t,l)}!function(l,n,u){H(n,"offset"),void 0!==l[n]&&void 0!==l[n+u]||Y(n,l.length-(u+1))}(e,t,r)}function H(l,n){if("number"!=typeof l)throw new z.ERR_INVALID_ARG_TYPE(n,"number",l)}function Y(l,n,u){if(Math.floor(l)!==l)throw H(l,u),new z.ERR_OUT_OF_RANGE(u||"offset","an integer",l);if(n<0)throw new z.ERR_BUFFER_OUT_OF_BOUNDS;throw new z.ERR_OUT_OF_RANGE(u||"offset",`>= ${u?1:0} and <= ${n}`,l)}V("ERR_BUFFER_OUT_OF_BOUNDS",(function(l){return l?`${l} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),V("ERR_INVALID_ARG_TYPE",(function(l,n){return`The "${l}" argument must be of type number. Received type ${typeof n}`}),TypeError),V("ERR_OUT_OF_RANGE",(function(l,n,u){let e=`The value of "${l}" is out of range.`,t=u;return Number.isInteger(u)&&Math.abs(u)>2**32?t=W(String(u)):"bigint"==typeof u&&(t=String(u),(u>BigInt(2)**BigInt(32)||u<-(BigInt(2)**BigInt(32)))&&(t=W(t)),t+="n"),e+=` It must be ${n}. Received ${t}`,e}),RangeError);const K=/[^+/0-9A-Za-z-_]/g;function G(l){if((l=(l=l.split("=")[0]).trim().replace(K,"")).length<2)return"";for(;l.length%4!=0;)l+="=";return l}function Z(l,n){let u;n=n||1/0;const e=l.length;let t=null;const r=[];for(let o=0;o<e;++o){if(u=l.charCodeAt(o),u>55295&&u<57344){if(!t){if(u>56319){(n-=3)>-1&&r.push(239,191,189);continue}if(o+1===e){(n-=3)>-1&&r.push(239,191,189);continue}t=u;continue}if(u<56320){(n-=3)>-1&&r.push(239,191,189),t=u;continue}u=65536+(t-55296<<10|u-56320)}else t&&(n-=3)>-1&&r.push(239,191,189);if(t=null,u<128){if((n-=1)<0)break;r.push(u)}else if(u<2048){if((n-=2)<0)break;r.push(u>>6|192,63&u|128)}else if(u<65536){if((n-=3)<0)break;r.push(u>>12|224,u>>6&63|128,63&u|128)}else{if(!(u<1114112))throw new Error("Invalid code point");if((n-=4)<0)break;r.push(u>>18|240,u>>12&63|128,u>>6&63|128,63&u|128)}}return r}function X(l){return n.toByteArray(G(l))}function Q(l){return n.toByteArray(G(function(l){return l.replace(/-/g,"+").replace(/_/g,"/").padEnd(l.length+(4-l.length%4)%4,"=")}(l)))}function ll(l){return l.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function nl(l,n,u,e){let t;for(t=0;t<e&&!(t+u>=n.length||t>=l.length);++t)n[t+u]=l[t];return t}function ul(l,n){return l instanceof n||null!=l&&null!=l.constructor&&null!=l.constructor.name&&l.constructor.name===n.name||n===Uint8Array&&i.isBuffer(l)}function el(l){return l!=l}const tl=function(){const l="0123456789abcdef",n=new Array(256);for(let u=0;u<16;++u){const e=16*u;for(let t=0;t<16;++t)n[e+t]=l[u]+l[t]}return n}(),rl=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,-1,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1];function ol(l){return"undefined"==typeof BigInt?il:l}function il(){throw new Error("BigInt not supported")}}(o);const E=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,62,0,62,0,63,52,53,54,55,56,57,58,59,60,61,0,0,0,0,0,0,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,0,0,0,0,63,0,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51]);const{NativeModules:B}=require("react-native");class T extends Error{}class O extends Error{}let x=!1;var A,I,R={getRandomValues:function(l){if(!(l instanceof Int8Array||l instanceof Uint8Array||l instanceof Int16Array||l instanceof Uint16Array||l instanceof Int32Array||l instanceof Uint32Array||l instanceof Uint8ClampedArray))throw new T("Expected an integer array");if(l.byteLength>65536)throw new O("Can only request a maximum of 65536 bytes");return global.expo&&global.expo.modules&&global.expo.modules.ExpoCrypto&&global.expo.modules.ExpoCrypto.getRandomValues?(global.expo.modules.ExpoCrypto.getRandomValues(l),l):function(){if("RN$Bridgeless"in global&&!0===RN$Bridgeless)return!1;return __DEV__&&void 0===global.nativeCallSyncHook}()?function(l){x||(console.warn("Using an insecure random number generator, this should only happen when running in a debugger without support for crypto.getRandomValues"),x=!0);for(let n,u=0;u<l.length;u++)3&u||(n=4294967296*Math.random()),l[u]=n>>>((3&u)<<3)&255;return l}(l):(function(l,n){const u=l.length,e="="===l[u-2]?2:"="===l[u-1]?1:0,t=u-e&4294967292;let r,o=0,i=0;for(;o<t;o+=4)r=E[l.charCodeAt(o)]<<18|E[l.charCodeAt(o+1)]<<12|E[l.charCodeAt(o+2)]<<6|E[l.charCodeAt(o+3)],n[i++]=r>>16&255,n[i++]=r>>8&255,n[i++]=255&r;1===e&&(r=E[l.charCodeAt(o)]<<10|E[l.charCodeAt(o+1)]<<4|E[l.charCodeAt(o+2)]>>2,n[i++]=r>>8&255,n[i++]=255&r),2===e&&(r=E[l.charCodeAt(o)]<<2|E[l.charCodeAt(o+1)]>>4,n[i++]=255&r)}(function(l){if(B.RNGetRandomValues)return B.RNGetRandomValues.getRandomBase64(l);if(B.ExpoRandom)return B.ExpoRandom.getRandomBase64String(l);if(global.ExpoModules)return global.ExpoModules.ExpoRandom.getRandomBase64String(l);throw new Error("Native module not found")}(l.byteLength),new Uint8Array(l.buffer,l.byteOffset,l.byteLength)),l)}},U={exports:{}},N={exports:{}};function L(){return A||(A=1,l=N,function(n){l.exports&&(l.exports=n),n["encoding-indexes"]={big5:[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,17392,19506,17923,17830,17784,160359,19831,17843,162993,19682,163013,15253,18230,18244,19527,19520,148159,144919,160594,159371,159954,19543,172881,18255,17882,19589,162924,19719,19108,18081,158499,29221,154196,137827,146950,147297,26189,22267,null,32149,22813,166841,15860,38708,162799,23515,138590,23204,13861,171696,23249,23479,23804,26478,34195,170309,29793,29853,14453,138579,145054,155681,16108,153822,15093,31484,40855,147809,166157,143850,133770,143966,17162,33924,40854,37935,18736,34323,22678,38730,37400,31184,31282,26208,27177,34973,29772,31685,26498,31276,21071,36934,13542,29636,155065,29894,40903,22451,18735,21580,16689,145038,22552,31346,162661,35727,18094,159368,16769,155033,31662,140476,40904,140481,140489,140492,40905,34052,144827,16564,40906,17633,175615,25281,28782,40907,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,12736,12737,12738,12739,12740,131340,12741,131281,131277,12742,12743,131275,139240,12744,131274,12745,12746,12747,12748,131342,12749,12750,256,193,461,192,274,201,282,200,332,211,465,210,null,7870,null,7872,202,257,225,462,224,593,275,233,283,232,299,237,464,236,333,243,466,242,363,250,468,249,470,472,474,476,252,null,7871,null,7873,234,609,9178,9179,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,172969,135493,null,25866,null,null,20029,28381,40270,37343,null,null,161589,25745,20250,20264,20392,20822,20852,20892,20964,21153,21160,21307,21326,21457,21464,22242,22768,22788,22791,22834,22836,23398,23454,23455,23706,24198,24635,25993,26622,26628,26725,27982,28860,30005,32420,32428,32442,32455,32463,32479,32518,32567,33402,33487,33647,35270,35774,35810,36710,36711,36718,29713,31996,32205,26950,31433,21031,null,null,null,null,37260,30904,37214,32956,null,36107,33014,133607,null,null,32927,40647,19661,40393,40460,19518,171510,159758,40458,172339,13761,null,28314,33342,29977,null,18705,39532,39567,40857,31111,164972,138698,132560,142054,20004,20097,20096,20103,20159,20203,20279,13388,20413,15944,20483,20616,13437,13459,13477,20870,22789,20955,20988,20997,20105,21113,21136,21287,13767,21417,13649,21424,13651,21442,21539,13677,13682,13953,21651,21667,21684,21689,21712,21743,21784,21795,21800,13720,21823,13733,13759,21975,13765,163204,21797,null,134210,134421,151851,21904,142534,14828,131905,36422,150968,169189,16467,164030,30586,142392,14900,18389,164189,158194,151018,25821,134524,135092,134357,135412,25741,36478,134806,134155,135012,142505,164438,148691,null,134470,170573,164073,18420,151207,142530,39602,14951,169460,16365,13574,152263,169940,161992,142660,40302,38933,null,17369,155813,25780,21731,142668,142282,135287,14843,135279,157402,157462,162208,25834,151634,134211,36456,139681,166732,132913,null,18443,131497,16378,22643,142733,null,148936,132348,155799,134988,134550,21881,16571,17338,null,19124,141926,135325,33194,39157,134556,25465,14846,141173,36288,22177,25724,15939,null,173569,134665,142031,142537,null,135368,145858,14738,14854,164507,13688,155209,139463,22098,134961,142514,169760,13500,27709,151099,null,null,161140,142987,139784,173659,167117,134778,134196,157724,32659,135375,141315,141625,13819,152035,134796,135053,134826,16275,134960,134471,135503,134732,null,134827,134057,134472,135360,135485,16377,140950,25650,135085,144372,161337,142286,134526,134527,142417,142421,14872,134808,135367,134958,173618,158544,167122,167321,167114,38314,21708,33476,21945,null,171715,39974,39606,161630,142830,28992,33133,33004,23580,157042,33076,14231,21343,164029,37302,134906,134671,134775,134907,13789,151019,13833,134358,22191,141237,135369,134672,134776,135288,135496,164359,136277,134777,151120,142756,23124,135197,135198,135413,135414,22428,134673,161428,164557,135093,134779,151934,14083,135094,135552,152280,172733,149978,137274,147831,164476,22681,21096,13850,153405,31666,23400,18432,19244,40743,18919,39967,39821,154484,143677,22011,13810,22153,20008,22786,138177,194680,38737,131206,20059,20155,13630,23587,24401,24516,14586,25164,25909,27514,27701,27706,28780,29227,20012,29357,149737,32594,31035,31993,32595,156266,13505,null,156491,32770,32896,157202,158033,21341,34916,35265,161970,35744,36125,38021,38264,38271,38376,167439,38886,39029,39118,39134,39267,17e4,40060,40479,40644,27503,63751,20023,131207,38429,25143,38050,null,20539,28158,171123,40870,15817,34959,147790,28791,23797,19232,152013,13657,154928,24866,166450,36775,37366,29073,26393,29626,144001,172295,15499,137600,19216,30948,29698,20910,165647,16393,27235,172730,16931,34319,133743,31274,170311,166634,38741,28749,21284,139390,37876,30425,166371,40871,30685,20131,20464,20668,20015,20247,40872,21556,32139,22674,22736,138678,24210,24217,24514,141074,25995,144377,26905,27203,146531,27903,null,29184,148741,29580,16091,150035,23317,29881,35715,154788,153237,31379,31724,31939,32364,33528,34199,40873,34960,40874,36537,40875,36815,34143,39392,37409,40876,167353,136255,16497,17058,23066,null,null,null,39016,26475,17014,22333,null,34262,149883,33471,160013,19585,159092,23931,158485,159678,40877,40878,23446,40879,26343,32347,28247,31178,15752,17603,143958,141206,17306,17718,null,23765,146202,35577,23672,15634,144721,23928,40882,29015,17752,147692,138787,19575,14712,13386,131492,158785,35532,20404,131641,22975,33132,38998,170234,24379,134047,null,139713,166253,16642,18107,168057,16135,40883,172469,16632,14294,18167,158790,16764,165554,160767,17773,14548,152730,17761,17691,19849,19579,19830,17898,16328,150287,13921,17630,17597,16877,23870,23880,23894,15868,14351,23972,23993,14368,14392,24130,24253,24357,24451,14600,14612,14655,14669,24791,24893,23781,14729,25015,25017,25039,14776,25132,25232,25317,25368,14840,22193,14851,25570,25595,25607,25690,14923,25792,23829,22049,40863,14999,25990,15037,26111,26195,15090,26258,15138,26390,15170,26532,26624,15192,26698,26756,15218,15217,15227,26889,26947,29276,26980,27039,27013,15292,27094,15325,27237,27252,27249,27266,15340,27289,15346,27307,27317,27348,27382,27521,27585,27626,27765,27818,15563,27906,27910,27942,28033,15599,28068,28081,28181,28184,28201,28294,166336,28347,28386,28378,40831,28392,28393,28452,28468,15686,147265,28545,28606,15722,15733,29111,23705,15754,28716,15761,28752,28756,28783,28799,28809,131877,17345,13809,134872,147159,22462,159443,28990,153568,13902,27042,166889,23412,31305,153825,169177,31333,31357,154028,31419,31408,31426,31427,29137,156813,16842,31450,31453,31466,16879,21682,154625,31499,31573,31529,152334,154878,31650,31599,33692,154548,158847,31696,33825,31634,31672,154912,15789,154725,33938,31738,31750,31797,154817,31812,31875,149634,31910,26237,148856,31945,31943,31974,31860,31987,31989,31950,32359,17693,159300,32093,159446,29837,32137,32171,28981,32179,32210,147543,155689,32228,15635,32245,137209,32229,164717,32285,155937,155994,32366,32402,17195,37996,32295,32576,32577,32583,31030,156368,39393,32663,156497,32675,136801,131176,17756,145254,17667,164666,32762,156809,32773,32776,32797,32808,32815,172167,158915,32827,32828,32865,141076,18825,157222,146915,157416,26405,32935,166472,33031,33050,22704,141046,27775,156824,151480,25831,136330,33304,137310,27219,150117,150165,17530,33321,133901,158290,146814,20473,136445,34018,33634,158474,149927,144688,137075,146936,33450,26907,194964,16859,34123,33488,33562,134678,137140,14017,143741,144730,33403,33506,33560,147083,159139,158469,158615,144846,15807,33565,21996,33669,17675,159141,33708,33729,33747,13438,159444,27223,34138,13462,159298,143087,33880,154596,33905,15827,17636,27303,33866,146613,31064,33960,158614,159351,159299,34014,33807,33681,17568,33939,34020,154769,16960,154816,17731,34100,23282,159385,17703,34163,17686,26559,34326,165413,165435,34241,159880,34306,136578,159949,194994,17770,34344,13896,137378,21495,160666,34430,34673,172280,34798,142375,34737,34778,34831,22113,34412,26710,17935,34885,34886,161248,146873,161252,34910,34972,18011,34996,34997,25537,35013,30583,161551,35207,35210,35238,35241,35239,35260,166437,35303,162084,162493,35484,30611,37374,35472,162393,31465,162618,147343,18195,162616,29052,35596,35615,152624,152933,35647,35660,35661,35497,150138,35728,35739,35503,136927,17941,34895,35995,163156,163215,195028,14117,163155,36054,163224,163261,36114,36099,137488,36059,28764,36113,150729,16080,36215,36265,163842,135188,149898,15228,164284,160012,31463,36525,36534,36547,37588,36633,36653,164709,164882,36773,37635,172703,133712,36787,18730,166366,165181,146875,24312,143970,36857,172052,165564,165121,140069,14720,159447,36919,165180,162494,36961,165228,165387,37032,165651,37060,165606,37038,37117,37223,15088,37289,37316,31916,166195,138889,37390,27807,37441,37474,153017,37561,166598,146587,166668,153051,134449,37676,37739,166625,166891,28815,23235,166626,166629,18789,37444,166892,166969,166911,37747,37979,36540,38277,38310,37926,38304,28662,17081,140922,165592,135804,146990,18911,27676,38523,38550,16748,38563,159445,25050,38582,30965,166624,38589,21452,18849,158904,131700,156688,168111,168165,150225,137493,144138,38705,34370,38710,18959,17725,17797,150249,28789,23361,38683,38748,168405,38743,23370,168427,38751,37925,20688,143543,143548,38793,38815,38833,38846,38848,38866,38880,152684,38894,29724,169011,38911,38901,168989,162170,19153,38964,38963,38987,39014,15118,160117,15697,132656,147804,153350,39114,39095,39112,39111,19199,159015,136915,21936,39137,39142,39148,37752,39225,150057,19314,170071,170245,39413,39436,39483,39440,39512,153381,14020,168113,170965,39648,39650,170757,39668,19470,39700,39725,165376,20532,39732,158120,14531,143485,39760,39744,171326,23109,137315,39822,148043,39938,39935,39948,171624,40404,171959,172434,172459,172257,172323,172511,40318,40323,172340,40462,26760,40388,139611,172435,172576,137531,172595,40249,172217,172724,40592,40597,40606,40610,19764,40618,40623,148324,40641,15200,14821,15645,20274,14270,166955,40706,40712,19350,37924,159138,40727,40726,40761,22175,22154,40773,39352,168075,38898,33919,40802,40809,31452,40846,29206,19390,149877,149947,29047,150008,148296,150097,29598,166874,137466,31135,166270,167478,37737,37875,166468,37612,37761,37835,166252,148665,29207,16107,30578,31299,28880,148595,148472,29054,137199,28835,137406,144793,16071,137349,152623,137208,14114,136955,137273,14049,137076,137425,155467,14115,136896,22363,150053,136190,135848,136134,136374,34051,145062,34051,33877,149908,160101,146993,152924,147195,159826,17652,145134,170397,159526,26617,14131,15381,15847,22636,137506,26640,16471,145215,147681,147595,147727,158753,21707,22174,157361,22162,135135,134056,134669,37830,166675,37788,20216,20779,14361,148534,20156,132197,131967,20299,20362,153169,23144,131499,132043,14745,131850,132116,13365,20265,131776,167603,131701,35546,131596,20120,20685,20749,20386,20227,150030,147082,20290,20526,20588,20609,20428,20453,20568,20732,20825,20827,20829,20830,28278,144789,147001,147135,28018,137348,147081,20904,20931,132576,17629,132259,132242,132241,36218,166556,132878,21081,21156,133235,21217,37742,18042,29068,148364,134176,149932,135396,27089,134685,29817,16094,29849,29716,29782,29592,19342,150204,147597,21456,13700,29199,147657,21940,131909,21709,134086,22301,37469,38644,37734,22493,22413,22399,13886,22731,23193,166470,136954,137071,136976,23084,22968,37519,23166,23247,23058,153926,137715,137313,148117,14069,27909,29763,23073,155267,23169,166871,132115,37856,29836,135939,28933,18802,37896,166395,37821,14240,23582,23710,24158,24136,137622,137596,146158,24269,23375,137475,137476,14081,137376,14045,136958,14035,33066,166471,138682,144498,166312,24332,24334,137511,137131,23147,137019,23364,34324,161277,34912,24702,141408,140843,24539,16056,140719,140734,168072,159603,25024,131134,131142,140827,24985,24984,24693,142491,142599,149204,168269,25713,149093,142186,14889,142114,144464,170218,142968,25399,173147,2578