streamlit-toggle-diy 1.0.1__py3-none-any.whl → 1.1.3__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- streamlit_toggle_diy/__init__.py +208 -53
- streamlit_toggle_diy/frontend/build/asset-manifest.json +19 -0
- streamlit_toggle_diy/frontend/build/bootstrap.min.css +9501 -0
- streamlit_toggle_diy/frontend/build/index.html +1 -0
- streamlit_toggle_diy/frontend/build/precache-manifest.208239bd31634c912148876425127f2c.js +22 -0
- streamlit_toggle_diy/frontend/build/precache-manifest.669f85f994ea2c0d193915faa9d91f97.js +22 -0
- streamlit_toggle_diy/frontend/build/precache-manifest.b7df6085566f07f8f27b94ee8ed2d302.js +22 -0
- streamlit_toggle_diy/frontend/build/service-worker.js +39 -0
- streamlit_toggle_diy/frontend/build/static/js/2.82cd69ef.chunk.js +3 -0
- streamlit_toggle_diy/frontend/build/static/js/2.82cd69ef.chunk.js.LICENSE.txt +68 -0
- streamlit_toggle_diy/frontend/build/static/js/2.82cd69ef.chunk.js.map +1 -0
- streamlit_toggle_diy/frontend/build/static/js/2.9720bf9e.chunk.js +3 -0
- streamlit_toggle_diy/frontend/build/static/js/2.9720bf9e.chunk.js.LICENSE.txt +68 -0
- streamlit_toggle_diy/frontend/build/static/js/2.9720bf9e.chunk.js.map +1 -0
- streamlit_toggle_diy/frontend/build/static/js/main.72a874a0.chunk.js +2 -0
- streamlit_toggle_diy/frontend/build/static/js/main.72a874a0.chunk.js.map +1 -0
- streamlit_toggle_diy/frontend/build/static/js/main.93eb9d37.chunk.js +2 -0
- streamlit_toggle_diy/frontend/build/static/js/main.93eb9d37.chunk.js.map +1 -0
- streamlit_toggle_diy/frontend/build/static/js/main.9f3c3eed.chunk.js +2 -0
- streamlit_toggle_diy/frontend/build/static/js/main.9f3c3eed.chunk.js.map +1 -0
- streamlit_toggle_diy/frontend/build/static/js/runtime-main.cc20bba3.js +2 -0
- streamlit_toggle_diy/frontend/build/static/js/runtime-main.cc20bba3.js.map +1 -0
- streamlit_toggle_diy/frontend/build/static/js/runtime-main.d76c522e.js +2 -0
- streamlit_toggle_diy/frontend/build/static/js/runtime-main.d76c522e.js.map +1 -0
- streamlit_toggle_diy/frontend/public/bootstrap.min.css +9501 -0
- streamlit_toggle_diy/frontend/public/index.html +25 -0
- streamlit_toggle_diy/frontend/src/index.tsx +11 -0
- streamlit_toggle_diy/frontend/src/react-app-env.d.ts +1 -0
- streamlit_toggle_diy/frontend/src/streamlit_toggle.tsx +170 -0
- streamlit_toggle_diy/frontend/src/style.css +6 -0
- streamlit_toggle_diy-1.1.3.dist-info/METADATA +92 -0
- streamlit_toggle_diy-1.1.3.dist-info/RECORD +35 -0
- {streamlit_toggle_diy-1.0.1.dist-info → streamlit_toggle_diy-1.1.3.dist-info}/WHEEL +1 -1
- streamlit_toggle_diy-1.0.1.dist-info/METADATA +0 -10
- streamlit_toggle_diy-1.0.1.dist-info/RECORD +0 -6
- {streamlit_toggle_diy-1.0.1.dist-info → streamlit_toggle_diy-1.1.3.dist-info}/LICENSE +0 -0
- {streamlit_toggle_diy-1.0.1.dist-info → streamlit_toggle_diy-1.1.3.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,3 @@
|
|
1
|
+
/*! For license information please see 2.9720bf9e.chunk.js.LICENSE.txt */
|
2
|
+
(this.webpackJsonpstreamlit_toggle_diy=this.webpackJsonpstreamlit_toggle_diy||[]).push([[2],[function(t,e,n){"use strict";t.exports=n(39)},function(t,e,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(14);function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(s){i=!0,o=s}finally{try{r||null==u.return||u.return()}finally{if(i)throw o}}return n}}(t,e)||Object(r.a)(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(5);function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(15);function i(t,e){if(null==t)return{};var n,i,o=Object(r.a)(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t){var e,n,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(n=r(t[e]))&&(i&&(i+=" "),i+=n);else for(e in t)t[e]&&(i&&(i+=" "),i+=e);return i}e.a=function(){for(var t,e,n=0,i="";n<arguments.length;)(t=arguments[n++])&&(e=r(t))&&(i&&(i+=" "),i+=e);return i}},,function(t,e,n){"use strict";var r=n(1),i=n(4),o=n(0),a=n.n(o),u=n(21),s=n.n(u),c="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l="object"===("undefined"===typeof window?"undefined":c(window))&&"object"===("undefined"===typeof document?"undefined":c(document))&&9===document.nodeType;var f=n(25);function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Object(f.a)(r.key),r)}}function d(t,e,n){return e&&h(t.prototype,e),n&&h(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}var p=n(19),y=n(20),v=n(15),b={}.constructor;function g(t){if(null==t||"object"!==typeof t)return t;if(Array.isArray(t))return t.map(g);if(t.constructor!==b)return t;var e={};for(var n in t)e[n]=g(t[n]);return e}function m(t,e,n){void 0===t&&(t="unnamed");var r=n.jss,i=g(e),o=r.plugins.onCreateRule(t,i,n);return o||(t[0],null)}var w=function(t,e){for(var n="",r=0;r<t.length&&"!important"!==t[r];r++)n&&(n+=e),n+=t[r];return n},k=function(t){if(!Array.isArray(t))return t;var e="";if(Array.isArray(t[0]))for(var n=0;n<t.length&&"!important"!==t[n];n++)e&&(e+=", "),e+=w(t[n]," ");else e=w(t,", ");return"!important"===t[t.length-1]&&(e+=" !important"),e};function _(t){return t&&!1===t.format?{linebreak:"",space:""}:{linebreak:"\n",space:" "}}function x(t,e){for(var n="",r=0;r<e;r++)n+=" ";return n+t}function S(t,e,n){void 0===n&&(n={});var r="";if(!e)return r;var i=n.indent,o=void 0===i?0:i,a=e.fallbacks;!1===n.format&&(o=-1/0);var u=_(n),s=u.linebreak,c=u.space;if(t&&o++,a)if(Array.isArray(a))for(var l=0;l<a.length;l++){var f=a[l];for(var h in f){var d=f[h];null!=d&&(r&&(r+=s),r+=x(h+":"+c+k(d)+";",o))}}else for(var p in a){var y=a[p];null!=y&&(r&&(r+=s),r+=x(p+":"+c+k(y)+";",o))}for(var v in e){var b=e[v];null!=b&&"fallbacks"!==v&&(r&&(r+=s),r+=x(v+":"+c+k(b)+";",o))}return(r||n.allowEmpty)&&t?(r&&(r=""+s+r+s),x(""+t+c+"{"+r,--o)+x("}",o)):r}var E=/([[\].#*$><+~=|^:(),"'`\s])/g,T="undefined"!==typeof CSS&&CSS.escape,O=function(t){return T?T(t):t.replace(E,"\\$1")},L=function(){function t(t,e,n){this.type="style",this.isProcessed=!1;var r=n.sheet,i=n.Renderer;this.key=t,this.options=n,this.style=e,r?this.renderer=r.renderer:i&&(this.renderer=new i)}return t.prototype.prop=function(t,e,n){if(void 0===e)return this.style[t];var r=!!n&&n.force;if(!r&&this.style[t]===e)return this;var i=e;n&&!1===n.process||(i=this.options.jss.plugins.onChangeValue(e,t,this));var o=null==i||!1===i,a=t in this.style;if(o&&!a&&!r)return this;var u=o&&a;if(u?delete this.style[t]:this.style[t]=i,this.renderable&&this.renderer)return u?this.renderer.removeProperty(this.renderable,t):this.renderer.setProperty(this.renderable,t,i),this;var s=this.options.sheet;return s&&s.attached,this},t}(),I=function(t){function e(e,n,r){var i;i=t.call(this,e,n,r)||this;var o=r.selector,a=r.scoped,u=r.sheet,s=r.generateId;return o?i.selectorText=o:!1!==a&&(i.id=s(Object(y.a)(Object(y.a)(i)),u),i.selectorText="."+O(i.id)),i}Object(p.a)(e,t);var n=e.prototype;return n.applyTo=function(t){var e=this.renderer;if(e){var n=this.toJSON();for(var r in n)e.setProperty(t,r,n[r])}return this},n.toJSON=function(){var t={};for(var e in this.style){var n=this.style[e];"object"!==typeof n?t[e]=n:Array.isArray(n)&&(t[e]=k(n))}return t},n.toString=function(t){var e=this.options.sheet,n=!!e&&e.options.link?Object(r.a)({},t,{allowEmpty:!0}):t;return S(this.selectorText,this.style,n)},d(e,[{key:"selector",set:function(t){if(t!==this.selectorText){this.selectorText=t;var e=this.renderer,n=this.renderable;if(n&&e)e.setSelector(n,t)||e.replaceRule(n,this)}},get:function(){return this.selectorText}}]),e}(L),A={onCreateRule:function(t,e,n){return"@"===t[0]||n.parent&&"keyframes"===n.parent.type?null:new I(t,e,n)}},j={indent:1,children:!0},N=/@([\w-]+)/,B=function(){function t(t,e,n){this.type="conditional",this.isProcessed=!1,this.key=t;var i=t.match(N);for(var o in this.at=i?i[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new nt(Object(r.a)({},n,{parent:this})),e)this.rules.add(o,e[o]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.indexOf=function(t){return this.rules.indexOf(t)},e.addRule=function(t,e,n){var r=this.rules.add(t,e,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},e.replaceRule=function(t,e,n){var r=this.rules.replace(t,e,n);return r&&this.options.jss.plugins.onProcessRule(r),r},e.toString=function(t){void 0===t&&(t=j);var e=_(t).linebreak;if(null==t.indent&&(t.indent=j.indent),null==t.children&&(t.children=j.children),!1===t.children)return this.query+" {}";var n=this.rules.toString(t);return n?this.query+" {"+e+n+e+"}":""},t}(),P=/@container|@media|@supports\s+/,C={onCreateRule:function(t,e,n){return P.test(t)?new B(t,e,n):null}},F={indent:1,children:!0},D=/@keyframes\s+([\w-]+)/,M=function(){function t(t,e,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var i=t.match(D);i&&i[1]?this.name=i[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,a=n.sheet,u=n.generateId;for(var s in this.id=!1===o?this.name:O(u(this,a)),this.rules=new nt(Object(r.a)({},n,{parent:this})),e)this.rules.add(s,e[s],Object(r.a)({},n,{parent:this}));this.rules.process()}return t.prototype.toString=function(t){void 0===t&&(t=F);var e=_(t).linebreak;if(null==t.indent&&(t.indent=F.indent),null==t.children&&(t.children=F.children),!1===t.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(t);return n&&(n=""+e+n+e),this.at+" "+this.id+" {"+n+"}"},t}(),R=/@keyframes\s+/,U=/\$([\w-]+)/g,z=function(t,e){return"string"===typeof t?t.replace(U,(function(t,n){return n in e?e[n]:t})):t},V=function(t,e,n){var r=t[e],i=z(r,n);i!==r&&(t[e]=i)},G={onCreateRule:function(t,e,n){return"string"===typeof t&&R.test(t)?new M(t,e,n):null},onProcessStyle:function(t,e,n){return"style"===e.type&&n?("animation-name"in t&&V(t,"animation-name",n.keyframes),"animation"in t&&V(t,"animation",n.keyframes),t):t},onChangeValue:function(t,e,n){var r=n.options.sheet;if(!r)return t;switch(e){case"animation":case"animation-name":return z(t,r.keyframes);default:return t}}},W=function(t){function e(){return t.apply(this,arguments)||this}return Object(p.a)(e,t),e.prototype.toString=function(t){var e=this.options.sheet,n=!!e&&e.options.link?Object(r.a)({},t,{allowEmpty:!0}):t;return S(this.key,this.style,n)},e}(L),Y={onCreateRule:function(t,e,n){return n.parent&&"keyframes"===n.parent.type?new W(t,e,n):null}},H=function(){function t(t,e,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=t,this.style=e,this.options=n}return t.prototype.toString=function(t){var e=_(t).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r<this.style.length;r++)n+=S(this.at,this.style[r]),this.style[r+1]&&(n+=e);return n}return S(this.at,this.style,t)},t}(),$=/@font-face/,K={onCreateRule:function(t,e,n){return $.test(t)?new H(t,e,n):null}},q=function(){function t(t,e,n){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=t,this.style=e,this.options=n}return t.prototype.toString=function(t){return S(this.key,this.style,t)},t}(),Q={onCreateRule:function(t,e,n){return"@viewport"===t||"@-ms-viewport"===t?new q(t,e,n):null}},J=function(){function t(t,e,n){this.type="simple",this.isProcessed=!1,this.key=t,this.value=e,this.options=n}return t.prototype.toString=function(t){if(Array.isArray(this.value)){for(var e="",n=0;n<this.value.length;n++)e+=this.key+" "+this.value[n]+";",this.value[n+1]&&(e+="\n");return e}return this.key+" "+this.value+";"},t}(),X={"@charset":!0,"@import":!0,"@namespace":!0},Z=[A,C,G,Y,K,Q,{onCreateRule:function(t,e,n){return t in X?new J(t,e,n):null}}],tt={process:!0},et={force:!0,process:!0},nt=function(){function t(t){this.map={},this.raw={},this.index=[],this.counter=0,this.options=t,this.classes=t.classes,this.keyframes=t.keyframes}var e=t.prototype;return e.add=function(t,e,n){var i=this.options,o=i.parent,a=i.sheet,u=i.jss,s=i.Renderer,c=i.generateId,l=i.scoped,f=Object(r.a)({classes:this.classes,parent:o,sheet:a,jss:u,Renderer:s,generateId:c,scoped:l,name:t,keyframes:this.keyframes,selector:void 0},n),h=t;t in this.raw&&(h=t+"-d"+this.counter++),this.raw[h]=e,h in this.classes&&(f.selector="."+O(this.classes[h]));var d=m(h,e,f);if(!d)return null;this.register(d);var p=void 0===f.index?this.index.length:f.index;return this.index.splice(p,0,d),d},e.replace=function(t,e,n){var i=this.get(t),o=this.index.indexOf(i);i&&this.remove(i);var a=n;return-1!==o&&(a=Object(r.a)({},n,{index:o})),this.add(t,e,a)},e.get=function(t){return this.map[t]},e.remove=function(t){this.unregister(t),delete this.raw[t.key],this.index.splice(this.index.indexOf(t),1)},e.indexOf=function(t){return this.index.indexOf(t)},e.process=function(){var t=this.options.jss.plugins;this.index.slice(0).forEach(t.onProcessRule,t)},e.register=function(t){this.map[t.key]=t,t instanceof I?(this.map[t.selector]=t,t.id&&(this.classes[t.key]=t.id)):t instanceof M&&this.keyframes&&(this.keyframes[t.name]=t.id)},e.unregister=function(t){delete this.map[t.key],t instanceof I?(delete this.map[t.selector],delete this.classes[t.key]):t instanceof M&&delete this.keyframes[t.name]},e.update=function(){var t,e,n;if("string"===typeof(arguments.length<=0?void 0:arguments[0])?(t=arguments.length<=0?void 0:arguments[0],e=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(e=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],t=null),t)this.updateOne(this.get(t),e,n);else for(var r=0;r<this.index.length;r++)this.updateOne(this.index[r],e,n)},e.updateOne=function(e,n,r){void 0===r&&(r=tt);var i=this.options,o=i.jss.plugins,a=i.sheet;if(e.rules instanceof t)e.rules.update(n,r);else{var u=e.style;if(o.onUpdate(n,e,a,r),r.process&&u&&u!==e.style){for(var s in o.onProcessStyle(e.style,e,a),e.style){var c=e.style[s];c!==u[s]&&e.prop(s,c,et)}for(var l in u){var f=e.style[l],h=u[l];null==f&&f!==h&&e.prop(l,null,et)}}}},e.toString=function(t){for(var e="",n=this.options.sheet,r=!!n&&n.options.link,i=_(t).linebreak,o=0;o<this.index.length;o++){var a=this.index[o].toString(t);(a||r)&&(e&&(e+=i),e+=a)}return e},t}(),rt=function(){function t(t,e){for(var n in this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=Object(r.a)({},e,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),e.Renderer&&(this.renderer=new e.Renderer(this)),this.rules=new nt(this.options),t)this.rules.add(n,t[n]);this.rules.process()}var e=t.prototype;return e.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},e.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},e.addRule=function(t,e,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var i=this.rules.add(t,e,n);return i?(this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(r?r.push(i):(this.insertRule(i),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),i):i:(this.deployed=!1,i)):null},e.replaceRule=function(t,e,n){var r=this.rules.get(t);if(!r)return this.addRule(t,e,n);var i=this.rules.replace(t,e,n);return i&&this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(this.renderer&&(i?r.renderable&&this.renderer.replaceRule(r.renderable,i):this.renderer.deleteRule(r)),i):i:(this.deployed=!1,i)},e.insertRule=function(t){this.renderer&&this.renderer.insertRule(t)},e.addRules=function(t,e){var n=[];for(var r in t){var i=this.addRule(r,t[r],e);i&&n.push(i)}return n},e.getRule=function(t){return this.rules.get(t)},e.deleteRule=function(t){var e="object"===typeof t?t:this.rules.get(t);return!(!e||this.attached&&!e.renderable)&&(this.rules.remove(e),!(this.attached&&e.renderable&&this.renderer)||this.renderer.deleteRule(e.renderable))},e.indexOf=function(t){return this.rules.indexOf(t)},e.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},e.update=function(){var t;return(t=this.rules).update.apply(t,arguments),this},e.updateOne=function(t,e,n){return this.rules.updateOne(t,e,n),this},e.toString=function(t){return this.rules.toString(t)},t}(),it=function(){function t(){this.plugins={internal:[],external:[]},this.registry={}}var e=t.prototype;return e.onCreateRule=function(t,e,n){for(var r=0;r<this.registry.onCreateRule.length;r++){var i=this.registry.onCreateRule[r](t,e,n);if(i)return i}return null},e.onProcessRule=function(t){if(!t.isProcessed){for(var e=t.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](t,e);t.style&&this.onProcessStyle(t.style,t,e),t.isProcessed=!0}},e.onProcessStyle=function(t,e,n){for(var r=0;r<this.registry.onProcessStyle.length;r++)e.style=this.registry.onProcessStyle[r](e.style,e,n)},e.onProcessSheet=function(t){for(var e=0;e<this.registry.onProcessSheet.length;e++)this.registry.onProcessSheet[e](t)},e.onUpdate=function(t,e,n,r){for(var i=0;i<this.registry.onUpdate.length;i++)this.registry.onUpdate[i](t,e,n,r)},e.onChangeValue=function(t,e,n){for(var r=t,i=0;i<this.registry.onChangeValue.length;i++)r=this.registry.onChangeValue[i](r,e,n);return r},e.use=function(t,e){void 0===e&&(e={queue:"external"});var n=this.plugins[e.queue];-1===n.indexOf(t)&&(n.push(t),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(t,e){for(var n in e)n in t&&t[n].push(e[n]);return t}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},t}(),ot=new(function(){function t(){this.registry=[]}var e=t.prototype;return e.add=function(t){var e=this.registry,n=t.options.index;if(-1===e.indexOf(t))if(0===e.length||n>=this.index)e.push(t);else for(var r=0;r<e.length;r++)if(e[r].options.index>n)return void e.splice(r,0,t)},e.reset=function(){this.registry=[]},e.remove=function(t){var e=this.registry.indexOf(t);this.registry.splice(e,1)},e.toString=function(t){for(var e=void 0===t?{}:t,n=e.attached,r=Object(v.a)(e,["attached"]),i=_(r).linebreak,o="",a=0;a<this.registry.length;a++){var u=this.registry[a];null!=n&&u.attached!==n||(o&&(o+=i),o+=u.toString(r))}return o},d(t,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),t}()),at="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window&&window.Math===Math?window:"undefined"!==typeof self&&self.Math===Math?self:Function("return this")(),ut="2f1acc6c3a606b082e5eef5e54414ffb";null==at[ut]&&(at[ut]=0);var st=at[ut]++,ct=function(t){void 0===t&&(t={});var e=0;return function(n,r){e+=1;var i="",o="";return r&&(r.options.classNamePrefix&&(o=r.options.classNamePrefix),null!=r.options.jss.id&&(i=String(r.options.jss.id))),t.minify?""+(o||"c")+st+i+e:o+n.key+"-"+st+(i?"-"+i:"")+"-"+e}},lt=function(t){var e;return function(){return e||(e=t()),e}},ft=function(t,e){try{return t.attributeStyleMap?t.attributeStyleMap.get(e):t.style.getPropertyValue(e)}catch(n){return""}},ht=function(t,e,n){try{var r=n;if(Array.isArray(n)&&(r=k(n)),t.attributeStyleMap)t.attributeStyleMap.set(e,r);else{var i=r?r.indexOf("!important"):-1,o=i>-1?r.substr(0,i-1):r;t.style.setProperty(e,o,i>-1?"important":"")}}catch(a){return!1}return!0},dt=function(t,e){try{t.attributeStyleMap?t.attributeStyleMap.delete(e):t.style.removeProperty(e)}catch(n){}},pt=function(t,e){return t.selectorText=e,t.selectorText===e},yt=lt((function(){return document.querySelector("head")}));function vt(t){var e=ot.registry;if(e.length>0){var n=function(t,e){for(var n=0;n<t.length;n++){var r=t[n];if(r.attached&&r.options.index>e.index&&r.options.insertionPoint===e.insertionPoint)return r}return null}(e,t);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(t,e){for(var n=t.length-1;n>=0;n--){var r=t[n];if(r.attached&&r.options.insertionPoint===e.insertionPoint)return r}return null}(e,t))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=t.insertionPoint;if(r&&"string"===typeof r){var i=function(t){for(var e=yt(),n=0;n<e.childNodes.length;n++){var r=e.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===t)return r}return null}(r);if(i)return{parent:i.parentNode,node:i.nextSibling}}return!1}var bt=lt((function(){var t=document.querySelector('meta[property="csp-nonce"]');return t?t.getAttribute("content"):null})),gt=function(t,e,n){try{"insertRule"in t?t.insertRule(e,n):"appendRule"in t&&t.appendRule(e)}catch(r){return!1}return t.cssRules[n]},mt=function(t,e){var n=t.cssRules.length;return void 0===e||e>n?n:e},wt=function(){function t(t){this.getPropertyValue=ft,this.setProperty=ht,this.removeProperty=dt,this.setSelector=pt,this.hasInsertedRules=!1,this.cssRules=[],t&&ot.add(t),this.sheet=t;var e=this.sheet?this.sheet.options:{},n=e.media,r=e.meta,i=e.element;this.element=i||function(){var t=document.createElement("style");return t.textContent="\n",t}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var o=bt();o&&this.element.setAttribute("nonce",o)}var e=t.prototype;return e.attach=function(){if(!this.element.parentNode&&this.sheet){!function(t,e){var n=e.insertionPoint,r=vt(e);if(!1!==r&&r.parent)r.parent.insertBefore(t,r.node);else if(n&&"number"===typeof n.nodeType){var i=n,o=i.parentNode;o&&o.insertBefore(t,i.nextSibling)}else yt().appendChild(t)}(this.element,this.sheet.options);var t=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&t&&(this.hasInsertedRules=!1,this.deploy())}},e.detach=function(){if(this.sheet){var t=this.element.parentNode;t&&t.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},e.deploy=function(){var t=this.sheet;t&&(t.options.link?this.insertRules(t.rules):this.element.textContent="\n"+t.toString()+"\n")},e.insertRules=function(t,e){for(var n=0;n<t.index.length;n++)this.insertRule(t.index[n],n,e)},e.insertRule=function(t,e,n){if(void 0===n&&(n=this.element.sheet),t.rules){var r=t,i=n;if("conditional"===t.type||"keyframes"===t.type){var o=mt(n,e);if(!1===(i=gt(n,r.toString({children:!1}),o)))return!1;this.refCssRule(t,o,i)}return this.insertRules(r.rules,i),i}var a=t.toString();if(!a)return!1;var u=mt(n,e),s=gt(n,a,u);return!1!==s&&(this.hasInsertedRules=!0,this.refCssRule(t,u,s),s)},e.refCssRule=function(t,e,n){t.renderable=n,t.options.parent instanceof rt&&this.cssRules.splice(e,0,n)},e.deleteRule=function(t){var e=this.element.sheet,n=this.indexOf(t);return-1!==n&&(e.deleteRule(n),this.cssRules.splice(n,1),!0)},e.indexOf=function(t){return this.cssRules.indexOf(t)},e.replaceRule=function(t,e){var n=this.indexOf(t);return-1!==n&&(this.element.sheet.deleteRule(n),this.cssRules.splice(n,1),this.insertRule(e,n))},e.getRules=function(){return this.element.sheet.cssRules},t}(),kt=0,_t=function(){function t(t){this.id=kt++,this.version="10.10.0",this.plugins=new it,this.options={id:{minify:!1},createGenerateId:ct,Renderer:l?wt:null,plugins:[]},this.generateId=ct({minify:!1});for(var e=0;e<Z.length;e++)this.plugins.use(Z[e],{queue:"internal"});this.setup(t)}var e=t.prototype;return e.setup=function(t){return void 0===t&&(t={}),t.createGenerateId&&(this.options.createGenerateId=t.createGenerateId),t.id&&(this.options.id=Object(r.a)({},this.options.id,t.id)),(t.createGenerateId||t.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=t.insertionPoint&&(this.options.insertionPoint=t.insertionPoint),"Renderer"in t&&(this.options.Renderer=t.Renderer),t.plugins&&this.use.apply(this,t.plugins),this},e.createStyleSheet=function(t,e){void 0===e&&(e={});var n=e.index;"number"!==typeof n&&(n=0===ot.index?0:ot.index+1);var i=new rt(t,Object(r.a)({},e,{jss:this,generateId:e.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(i),i},e.removeStyleSheet=function(t){return t.detach(),ot.remove(t),this},e.createRule=function(t,e,n){if(void 0===e&&(e={}),void 0===n&&(n={}),"object"===typeof t)return this.createRule(void 0,t,e);var i=Object(r.a)({},n,{name:t,jss:this,Renderer:this.options.Renderer});i.generateId||(i.generateId=this.generateId),i.classes||(i.classes={}),i.keyframes||(i.keyframes={});var o=m(t,e,i);return o&&this.plugins.onProcessRule(o),o},e.use=function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return n.forEach((function(e){t.plugins.use(e)})),this},t}(),xt=function(t){return new _t(t)},St="object"===typeof CSS&&null!=CSS&&"number"in CSS;xt();function Et(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.baseClasses,n=t.newClasses;t.Component;if(!n)return e;var i=Object(r.a)({},e);return Object.keys(n).forEach((function(t){n[t]&&(i[t]="".concat(e[t]," ").concat(n[t]))})),i}var Tt={set:function(t,e,n,r){var i=t.get(e);i||(i=new Map,t.set(e,i)),i.set(n,r)},get:function(t,e,n){var r=t.get(e);return r?r.get(n):void 0},delete:function(t,e,n){t.get(e).delete(n)}},Ot=n(46),Lt=n(24),It=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];var At=Date.now(),jt="fnValues"+At,Nt="fnStyle"+ ++At,Bt=function(){return{onCreateRule:function(t,e,n){if("function"!==typeof e)return null;var r=m(t,{},n);return r[Nt]=e,r},onProcessStyle:function(t,e){if(jt in e||Nt in e)return t;var n={};for(var r in t){var i=t[r];"function"===typeof i&&(delete t[r],n[r]=i)}return e[jt]=n,t},onUpdate:function(t,e,n,r){var i=e,o=i[Nt];o&&(i.style=o(t)||{});var a=i[jt];if(a)for(var u in a)i.prop(u,a[u](t),r)}}},Pt="@global",Ct=function(){function t(t,e,n){for(var i in this.type="global",this.at=Pt,this.isProcessed=!1,this.key=t,this.options=n,this.rules=new nt(Object(r.a)({},n,{parent:this})),e)this.rules.add(i,e[i]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.addRule=function(t,e,n){var r=this.rules.add(t,e,n);return r&&this.options.jss.plugins.onProcessRule(r),r},e.replaceRule=function(t,e,n){var r=this.rules.replace(t,e,n);return r&&this.options.jss.plugins.onProcessRule(r),r},e.indexOf=function(t){return this.rules.indexOf(t)},e.toString=function(t){return this.rules.toString(t)},t}(),Ft=function(){function t(t,e,n){this.type="global",this.at=Pt,this.isProcessed=!1,this.key=t,this.options=n;var i=t.substr("@global ".length);this.rule=n.jss.createRule(i,e,Object(r.a)({},n,{parent:this}))}return t.prototype.toString=function(t){return this.rule?this.rule.toString(t):""},t}(),Dt=/\s*,\s*/g;function Mt(t,e){for(var n=t.split(Dt),r="",i=0;i<n.length;i++)r+=e+" "+n[i].trim(),n[i+1]&&(r+=", ");return r}var Rt=function(){return{onCreateRule:function(t,e,n){if(!t)return null;if(t===Pt)return new Ct(t,e,n);if("@"===t[0]&&"@global "===t.substr(0,"@global ".length))return new Ft(t,e,n);var r=n.parent;return r&&("global"===r.type||r.options.parent&&"global"===r.options.parent.type)&&(n.scoped=!1),n.selector||!1!==n.scoped||(n.selector=t),null},onProcessRule:function(t,e){"style"===t.type&&e&&(function(t,e){var n=t.options,i=t.style,o=i?i[Pt]:null;if(o){for(var a in o)e.addRule(a,o[a],Object(r.a)({},n,{selector:Mt(a,t.selector)}));delete i[Pt]}}(t,e),function(t,e){var n=t.options,i=t.style;for(var o in i)if("@"===o[0]&&o.substr(0,Pt.length)===Pt){var a=Mt(o.substr(Pt.length),t.selector);e.addRule(a,i[o],Object(r.a)({},n,{selector:a})),delete i[o]}}(t,e))}}},Ut=/\s*,\s*/g,zt=/&/g,Vt=/\$([\w-]+)/g;var Gt=function(){function t(t,e){return function(n,r){var i=t.getRule(r)||e&&e.getRule(r);return i?i.selector:r}}function e(t,e){for(var n=e.split(Ut),r=t.split(Ut),i="",o=0;o<n.length;o++)for(var a=n[o],u=0;u<r.length;u++){var s=r[u];i&&(i+=", "),i+=-1!==s.indexOf("&")?s.replace(zt,a):a+" "+s}return i}function n(t,e,n){if(n)return Object(r.a)({},n,{index:n.index+1});var i=t.options.nestingLevel;i=void 0===i?1:i+1;var o=Object(r.a)({},t.options,{nestingLevel:i,index:e.indexOf(t)+1});return delete o.name,o}return{onProcessStyle:function(i,o,a){if("style"!==o.type)return i;var u,s,c=o,l=c.options.parent;for(var f in i){var h=-1!==f.indexOf("&"),d="@"===f[0];if(h||d){if(u=n(c,l,u),h){var p=e(f,c.selector);s||(s=t(l,a)),p=p.replace(Vt,s);var y=c.key+"-"+f;"replaceRule"in l?l.replaceRule(y,i[f],Object(r.a)({},u,{selector:p})):l.addRule(y,i[f],Object(r.a)({},u,{selector:p}))}else d&&l.addRule(f,{},u).addRule(c.key,i[f],{selector:c.selector});delete i[f]}}return i}}},Wt=/[A-Z]/g,Yt=/^ms-/,Ht={};function $t(t){return"-"+t.toLowerCase()}var Kt=function(t){if(Ht.hasOwnProperty(t))return Ht[t];var e=t.replace(Wt,$t);return Ht[t]=Yt.test(e)?"-"+e:e};function qt(t){var e={};for(var n in t){e[0===n.indexOf("--")?n:Kt(n)]=t[n]}return t.fallbacks&&(Array.isArray(t.fallbacks)?e.fallbacks=t.fallbacks.map(qt):e.fallbacks=qt(t.fallbacks)),e}var Qt=function(){return{onProcessStyle:function(t){if(Array.isArray(t)){for(var e=0;e<t.length;e++)t[e]=qt(t[e]);return t}return qt(t)},onChangeValue:function(t,e,n){if(0===e.indexOf("--"))return t;var r=Kt(e);return e===r?t:(n.prop(r,t),null)}}},Jt=St&&CSS?CSS.px:"px",Xt=St&&CSS?CSS.ms:"ms",Zt=St&&CSS?CSS.percent:"%";function te(t){var e=/(-[a-z])/g,n=function(t){return t[1].toUpperCase()},r={};for(var i in t)r[i]=t[i],r[i.replace(e,n)]=t[i];return r}var ee=te({"animation-delay":Xt,"animation-duration":Xt,"background-position":Jt,"background-position-x":Jt,"background-position-y":Jt,"background-size":Jt,border:Jt,"border-bottom":Jt,"border-bottom-left-radius":Jt,"border-bottom-right-radius":Jt,"border-bottom-width":Jt,"border-left":Jt,"border-left-width":Jt,"border-radius":Jt,"border-right":Jt,"border-right-width":Jt,"border-top":Jt,"border-top-left-radius":Jt,"border-top-right-radius":Jt,"border-top-width":Jt,"border-width":Jt,"border-block":Jt,"border-block-end":Jt,"border-block-end-width":Jt,"border-block-start":Jt,"border-block-start-width":Jt,"border-block-width":Jt,"border-inline":Jt,"border-inline-end":Jt,"border-inline-end-width":Jt,"border-inline-start":Jt,"border-inline-start-width":Jt,"border-inline-width":Jt,"border-start-start-radius":Jt,"border-start-end-radius":Jt,"border-end-start-radius":Jt,"border-end-end-radius":Jt,margin:Jt,"margin-bottom":Jt,"margin-left":Jt,"margin-right":Jt,"margin-top":Jt,"margin-block":Jt,"margin-block-end":Jt,"margin-block-start":Jt,"margin-inline":Jt,"margin-inline-end":Jt,"margin-inline-start":Jt,padding:Jt,"padding-bottom":Jt,"padding-left":Jt,"padding-right":Jt,"padding-top":Jt,"padding-block":Jt,"padding-block-end":Jt,"padding-block-start":Jt,"padding-inline":Jt,"padding-inline-end":Jt,"padding-inline-start":Jt,"mask-position-x":Jt,"mask-position-y":Jt,"mask-size":Jt,height:Jt,width:Jt,"min-height":Jt,"max-height":Jt,"min-width":Jt,"max-width":Jt,bottom:Jt,left:Jt,top:Jt,right:Jt,inset:Jt,"inset-block":Jt,"inset-block-end":Jt,"inset-block-start":Jt,"inset-inline":Jt,"inset-inline-end":Jt,"inset-inline-start":Jt,"box-shadow":Jt,"text-shadow":Jt,"column-gap":Jt,"column-rule":Jt,"column-rule-width":Jt,"column-width":Jt,"font-size":Jt,"font-size-delta":Jt,"letter-spacing":Jt,"text-decoration-thickness":Jt,"text-indent":Jt,"text-stroke":Jt,"text-stroke-width":Jt,"word-spacing":Jt,motion:Jt,"motion-offset":Jt,outline:Jt,"outline-offset":Jt,"outline-width":Jt,perspective:Jt,"perspective-origin-x":Zt,"perspective-origin-y":Zt,"transform-origin":Zt,"transform-origin-x":Zt,"transform-origin-y":Zt,"transform-origin-z":Zt,"transition-delay":Xt,"transition-duration":Xt,"vertical-align":Jt,"flex-basis":Jt,"shape-margin":Jt,size:Jt,gap:Jt,grid:Jt,"grid-gap":Jt,"row-gap":Jt,"grid-row-gap":Jt,"grid-column-gap":Jt,"grid-template-rows":Jt,"grid-template-columns":Jt,"grid-auto-rows":Jt,"grid-auto-columns":Jt,"box-shadow-x":Jt,"box-shadow-y":Jt,"box-shadow-blur":Jt,"box-shadow-spread":Jt,"font-line-height":Jt,"text-shadow-x":Jt,"text-shadow-y":Jt,"text-shadow-blur":Jt});function ne(t,e,n){if(null==e)return e;if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]=ne(t,e[r],n);else if("object"===typeof e)if("fallbacks"===t)for(var i in e)e[i]=ne(i,e[i],n);else for(var o in e)e[o]=ne(t+"-"+o,e[o],n);else if("number"===typeof e&&!1===isNaN(e)){var a=n[t]||ee[t];return!a||0===e&&a===Jt?e.toString():"function"===typeof a?a(e).toString():""+e+a}return e}var re=function(t){void 0===t&&(t={});var e=te(t);return{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r in t)t[r]=ne(r,t[r],e);return t},onChangeValue:function(t,n){return ne(n,t,e)}}},ie=n(16),oe="",ae="",ue="",se="",ce=l&&"ontouchstart"in document.documentElement;if(l){var le={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},fe=document.createElement("p").style;for(var he in le)if(he+"Transform"in fe){oe=he,ae=le[he];break}"Webkit"===oe&&"msHyphens"in fe&&(oe="ms",ae=le.ms,se="edge"),"Webkit"===oe&&"-apple-trailing-word"in fe&&(ue="apple")}var de=oe,pe=ae,ye=ue,ve=se,be=ce;var ge={noPrefill:["appearance"],supportedProperty:function(t){return"appearance"===t&&("ms"===de?"-webkit-"+t:pe+t)}},me={noPrefill:["color-adjust"],supportedProperty:function(t){return"color-adjust"===t&&("Webkit"===de?pe+"print-"+t:t)}},we=/[-\s]+(.)?/g;function ke(t,e){return e?e.toUpperCase():""}function _e(t){return t.replace(we,ke)}function xe(t){return _e("-"+t)}var Se,Ee={noPrefill:["mask"],supportedProperty:function(t,e){if(!/^mask/.test(t))return!1;if("Webkit"===de){if(_e("mask-image")in e)return t;if(de+xe("mask-image")in e)return pe+t}return t}},Te={noPrefill:["text-orientation"],supportedProperty:function(t){return"text-orientation"===t&&("apple"!==ye||be?t:pe+t)}},Oe={noPrefill:["transform"],supportedProperty:function(t,e,n){return"transform"===t&&(n.transform?t:pe+t)}},Le={noPrefill:["transition"],supportedProperty:function(t,e,n){return"transition"===t&&(n.transition?t:pe+t)}},Ie={noPrefill:["writing-mode"],supportedProperty:function(t){return"writing-mode"===t&&("Webkit"===de||"ms"===de&&"edge"!==ve?pe+t:t)}},Ae={noPrefill:["user-select"],supportedProperty:function(t){return"user-select"===t&&("Moz"===de||"ms"===de||"apple"===ye?pe+t:t)}},je={supportedProperty:function(t,e){return!!/^break-/.test(t)&&("Webkit"===de?"WebkitColumn"+xe(t)in e&&pe+"column-"+t:"Moz"===de&&("page"+xe(t)in e&&"page-"+t))}},Ne={supportedProperty:function(t,e){if(!/^(border|margin|padding)-inline/.test(t))return!1;if("Moz"===de)return t;var n=t.replace("-inline","");return de+xe(n)in e&&pe+n}},Be={supportedProperty:function(t,e){return _e(t)in e&&t}},Pe={supportedProperty:function(t,e){var n=xe(t);return"-"===t[0]||"-"===t[0]&&"-"===t[1]?t:de+n in e?pe+t:"Webkit"!==de&&"Webkit"+n in e&&"-webkit-"+t}},Ce={supportedProperty:function(t){return"scroll-snap"===t.substring(0,11)&&("ms"===de?""+pe+t:t)}},Fe={supportedProperty:function(t){return"overscroll-behavior"===t&&("ms"===de?pe+"scroll-chaining":t)}},De={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},Me={supportedProperty:function(t,e){var n=De[t];return!!n&&(de+xe(n)in e&&pe+n)}},Re={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},Ue=Object.keys(Re),ze=function(t){return pe+t},Ve=[ge,me,Ee,Te,Oe,Le,Ie,Ae,je,Ne,Be,Pe,Ce,Fe,Me,{supportedProperty:function(t,e,n){var r=n.multiple;if(Ue.indexOf(t)>-1){var i=Re[t];if(!Array.isArray(i))return de+xe(i)in e&&pe+i;if(!r)return!1;for(var o=0;o<i.length;o++)if(!(de+xe(i[0])in e))return!1;return i.map(ze)}return!1}}],Ge=Ve.filter((function(t){return t.supportedProperty})).map((function(t){return t.supportedProperty})),We=Ve.filter((function(t){return t.noPrefill})).reduce((function(t,e){return t.push.apply(t,Object(ie.a)(e.noPrefill)),t}),[]),Ye={};if(l){Se=document.createElement("p");var He=window.getComputedStyle(document.documentElement,"");for(var $e in He)isNaN($e)||(Ye[He[$e]]=He[$e]);We.forEach((function(t){return delete Ye[t]}))}function Ke(t,e){if(void 0===e&&(e={}),!Se)return t;if(null!=Ye[t])return Ye[t];"transition"!==t&&"transform"!==t||(e[t]=t in Se.style);for(var n=0;n<Ge.length&&(Ye[t]=Ge[n](t,Se.style,e),!Ye[t]);n++);try{Se.style[t]=""}catch(r){return!1}return Ye[t]}var qe,Qe={},Je={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Xe=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Ze(t,e,n){if("var"===e)return"var";if("all"===e)return"all";if("all"===n)return", all";var r=e?Ke(e):", "+Ke(n);return r||(e||n)}function tn(t,e){var n=e;if(!qe||"content"===t)return e;if("string"!==typeof n||!isNaN(parseInt(n,10)))return n;var r=t+n;if(null!=Qe[r])return Qe[r];try{qe.style[t]=n}catch(i){return Qe[r]=!1,!1}if(Je[t])n=n.replace(Xe,Ze);else if(""===qe.style[t]&&("-ms-flex"===(n=pe+n)&&(qe.style[t]="-ms-flexbox"),qe.style[t]=n,""===qe.style[t]))return Qe[r]=!1,!1;return qe.style[t]="",Qe[r]=n,Qe[r]}l&&(qe=document.createElement("p"));var en=function(){function t(e){for(var n in e){var r=e[n];if("fallbacks"===n&&Array.isArray(r))e[n]=r.map(t);else{var i=!1,o=Ke(n);o&&o!==n&&(i=!0);var a=!1,u=tn(o,k(r));u&&u!==r&&(a=!0),(i||a)&&(i&&delete e[n],e[o||n]=u||r)}}return e}return{onProcessRule:function(t){if("keyframes"===t.type){var e=t;e.at="-"===(n=e.at)[1]||"ms"===de?n:"@"+pe+"keyframes"+n.substr(10)}var n},onProcessStyle:function(e,n){return"style"!==n.type?e:t(e)},onChangeValue:function(t,e){return tn(e,k(t))||t}}};var nn=function(){var t=function(t,e){return t.length===e.length?t>e?1:-1:t.length-e.length};return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r={},i=Object.keys(e).sort(t),o=0;o<i.length;o++)r[i[o]]=e[i[o]];return r}}};function rn(){return{plugins:[Bt(),Rt(),Gt(),Qt(),re(),"undefined"===typeof window?null:en(),nn()]}}var on=xt(rn()),an={disableGeneration:!1,generateClassName:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.disableGlobal,n=void 0!==e&&e,r=t.productionPrefix,i=void 0===r?"jss":r,o=t.seed,a=void 0===o?"":o,u=""===a?"":"".concat(a,"-"),s=0,c=function(){return s+=1};return function(t,e){var r=e.options.name;if(r&&0===r.indexOf("Mui")&&!e.options.link&&!n){if(-1!==It.indexOf(t.key))return"Mui-".concat(t.key);var o="".concat(u).concat(r,"-").concat(t.key);return e.options.theme[Lt.a]&&""===a?"".concat(o,"-").concat(c()):o}return"".concat(u).concat(i).concat(c())}}(),jss:on,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},un=a.a.createContext(an);var sn=-1e9;function cn(){return sn+=1}n(11);var ln=n(62);function fn(t){var e="function"===typeof t;return{create:function(n,i){var o;try{o=e?t(n):t}catch(s){throw s}if(!i||!n.overrides||!n.overrides[i])return o;var a=n.overrides[i],u=Object(r.a)({},o);return Object.keys(a).forEach((function(t){u[t]=Object(ln.a)(u[t],a[t])})),u},options:{}}}var hn={};function dn(t,e,n){var r=t.state;if(t.stylesOptions.disableGeneration)return e||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var i=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,i=!0),e!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=e,i=!0),i&&(r.cacheClasses.value=Et({baseClasses:r.cacheClasses.lastJSS,newClasses:e,Component:n})),r.cacheClasses.value}function pn(t,e){var n=t.state,i=t.theme,o=t.stylesOptions,a=t.stylesCreator,u=t.name;if(!o.disableGeneration){var s=Tt.get(o.sheetsManager,a,i);s||(s={refs:0,staticSheet:null,dynamicStyles:null},Tt.set(o.sheetsManager,a,i,s));var c=Object(r.a)({},a.options,o,{theme:i,flip:"boolean"===typeof o.flip?o.flip:"rtl"===i.direction});c.generateId=c.serverGenerateClassName||c.generateClassName;var l=o.sheetsRegistry;if(0===s.refs){var f;o.sheetsCache&&(f=Tt.get(o.sheetsCache,a,i));var h=a.create(i,u);f||((f=o.jss.createStyleSheet(h,Object(r.a)({link:!1},c))).attach(),o.sheetsCache&&Tt.set(o.sheetsCache,a,i,f)),l&&l.add(f),s.staticSheet=f,s.dynamicStyles=function t(e){var n=null;for(var r in e){var i=e[r],o=typeof i;if("function"===o)n||(n={}),n[r]=i;else if("object"===o&&null!==i&&!Array.isArray(i)){var a=t(i);a&&(n||(n={}),n[r]=a)}}return n}(h)}if(s.dynamicStyles){var d=o.jss.createStyleSheet(s.dynamicStyles,Object(r.a)({link:!0},c));d.update(e),d.attach(),n.dynamicSheet=d,n.classes=Et({baseClasses:s.staticSheet.classes,newClasses:d.classes}),l&&l.add(d)}else n.classes=s.staticSheet.classes;s.refs+=1}}function yn(t,e){var n=t.state;n.dynamicSheet&&n.dynamicSheet.update(e)}function vn(t){var e=t.state,n=t.theme,r=t.stylesOptions,i=t.stylesCreator;if(!r.disableGeneration){var o=Tt.get(r.sheetsManager,i,n);o.refs-=1;var a=r.sheetsRegistry;0===o.refs&&(Tt.delete(r.sheetsManager,i,n),r.jss.removeStyleSheet(o.staticSheet),a&&a.remove(o.staticSheet)),e.dynamicSheet&&(r.jss.removeStyleSheet(e.dynamicSheet),a&&a.remove(e.dynamicSheet))}}function bn(t,e){var n,r=a.a.useRef([]),i=a.a.useMemo((function(){return{}}),e);r.current!==i&&(r.current=i,n=t()),a.a.useEffect((function(){return function(){n&&n()}}),[i])}function gn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.name,o=e.classNamePrefix,u=e.Component,s=e.defaultTheme,c=void 0===s?hn:s,l=Object(i.a)(e,["name","classNamePrefix","Component","defaultTheme"]),f=fn(t),h=n||o||"makeStyles";f.options={index:cn(),name:n,meta:h,classNamePrefix:h};var d=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object(Ot.a)()||c,i=Object(r.a)({},a.a.useContext(un),l),o=a.a.useRef(),s=a.a.useRef();bn((function(){var r={name:n,state:{},stylesCreator:f,stylesOptions:i,theme:e};return pn(r,t),s.current=!1,o.current=r,function(){vn(r)}}),[e,f]),a.a.useEffect((function(){s.current&&yn(o.current,t),s.current=!0}));var h=dn(o.current,t.classes,u);return h};return d}function mn(t){var e=t.theme,n=t.name,r=t.props;if(!e||!e.props||!e.props[n])return r;var i,o=e.props[n];for(i in o)void 0===r[i]&&(r[i]=o[i]);return r}var wn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var o=e.defaultTheme,u=e.withTheme,c=void 0!==u&&u,l=e.name,f=Object(i.a)(e,["defaultTheme","withTheme","name"]);var h=l,d=gn(t,Object(r.a)({defaultTheme:o,Component:n,name:l||n.displayName,classNamePrefix:h},f)),p=a.a.forwardRef((function(t,e){t.classes;var u,s=t.innerRef,f=Object(i.a)(t,["classes","innerRef"]),h=d(Object(r.a)({},n.defaultProps,t)),p=f;return("string"===typeof l||c)&&(u=Object(Ot.a)()||o,l&&(p=mn({theme:u,name:l,props:f})),c&&!p.theme&&(p.theme=u)),a.a.createElement(n,Object(r.a)({ref:s||e,classes:h},p))}));return s()(p,n),p}},kn=n(34),_n=Object(kn.a)();e.a=function(t,e){return wn(t,Object(r.a)({defaultTheme:_n},e))}},,function(t,e,n){"use strict";n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return l})),n.d(e,"d",(function(){return f}));var r=n(35);function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(e,t),n)}function o(t){if(t.type)return t;if("#"===t.charAt(0))return o(function(t){t=t.substr(1);var e=new RegExp(".{1,".concat(t.length>=6?2:1,"}"),"g"),n=t.match(e);return n&&1===n[0].length&&(n=n.map((function(t){return t+t}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(t,e){return e<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3})).join(", "),")"):""}(t));var e=t.indexOf("("),n=t.substring(0,e);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(Object(r.a)(3,t));var i=t.substring(e+1,t.length-1).split(",");return{type:n,values:i=i.map((function(t){return parseFloat(t)}))}}function a(t){var e=t.type,n=t.values;return-1!==e.indexOf("rgb")?n=n.map((function(t,e){return e<3?parseInt(t,10):t})):-1!==e.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(e,"(").concat(n.join(", "),")")}function u(t,e){var n=s(t),r=s(e);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function s(t){var e="hsl"===(t=o(t)).type?o(function(t){var e=(t=o(t)).values,n=e[0],r=e[1]/100,i=e[2]/100,u=r*Math.min(i,1-i),s=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(t+n/30)%12;return i-u*Math.max(Math.min(e-3,9-e,1),-1)},c="rgb",l=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===t.type&&(c+="a",l.push(e[3])),a({type:c,values:l})}(t)).values:t.values;return e=e.map((function(t){return(t/=255)<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)})),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function c(t,e){return t=o(t),e=i(e),"rgb"!==t.type&&"hsl"!==t.type||(t.type+="a"),t.values[3]=e,a(t)}function l(t,e){if(t=o(t),e=i(e),-1!==t.type.indexOf("hsl"))t.values[2]*=1-e;else if(-1!==t.type.indexOf("rgb"))for(var n=0;n<3;n+=1)t.values[n]*=1-e;return a(t)}function f(t,e){if(t=o(t),e=i(e),-1!==t.type.indexOf("hsl"))t.values[2]+=(100-t.values[2])*e;else if(-1!==t.type.indexOf("rgb"))for(var n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;return a(t)}},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(35);function i(t){if("string"!==typeof t)throw new Error(Object(r.a)(7));return t.charAt(0).toUpperCase()+t.slice(1)}},function(t,e,n){"use strict";!function t(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}}(),t.exports=n(40)},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(17);function i(t,e){if(t){if("string"===typeof t)return Object(r.a)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(t,e):void 0}}},function(t,e,n){"use strict";function r(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(18);var i=n(32),o=n(22);function a(t){return function(t){if(Array.isArray(t))return Object(r.a)(t)}(t)||Object(i.a)(t)||Object(o.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(33);function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Object(r.a)(t,e)}},function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(43),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function s(t){return r.isMemo(t)?a:u[t.$$typeof]||i}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u[r.Memo]=a;var c=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,p=Object.prototype;t.exports=function t(e,n,r){if("string"!==typeof n){if(p){var i=d(n);i&&i!==p&&t(e,i,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var u=s(e),y=s(n),v=0;v<a.length;++v){var b=a[v];if(!o[b]&&(!r||!r[b])&&(!y||!y[b])&&(!u||!u[b])){var g=h(n,b);try{c(e,b,g)}catch(m){}}}}return e}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(18);function i(t,e){if(t){if("string"===typeof t)return Object(r.a)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(t,e):void 0}}},function(t,e,n){"use strict";var r=n(0),i=n.n(r).a.createContext(null);e.a=i},function(t,e,n){"use strict";var r="function"===typeof Symbol&&Symbol.for;e.a=r?Symbol.for("mui.nested"):"__THEME_NESTED__"},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(11);function i(t){var e=function(t,e){if("object"!==Object(r.a)(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!==Object(r.a)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Object(r.a)(e)?e:String(e)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(30);var i=n(22),o=n(31);function a(t,e){return Object(r.a)(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,u=[],s=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(u.push(r.value),u.length!==e);s=!0);}catch(l){c=!0,i=l}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(t,e)||Object(i.a)(t,e)||Object(o.a)()}},function(t,e,n){"use strict";n.d(e,"b",(function(){return ql})),n.d(e,"a",(function(){return Hl}));var r={};n.r(r),n.d(r,"memcpy",(function(){return Yt})),n.d(r,"joinUint8Arrays",(function(){return Ht})),n.d(r,"toArrayBufferView",(function(){return $t})),n.d(r,"toInt8Array",(function(){return Kt})),n.d(r,"toInt16Array",(function(){return qt})),n.d(r,"toInt32Array",(function(){return Qt})),n.d(r,"toBigInt64Array",(function(){return Jt})),n.d(r,"toUint8Array",(function(){return Xt})),n.d(r,"toUint16Array",(function(){return Zt})),n.d(r,"toUint32Array",(function(){return te})),n.d(r,"toBigUint64Array",(function(){return ee})),n.d(r,"toFloat32Array",(function(){return ne})),n.d(r,"toFloat64Array",(function(){return re})),n.d(r,"toUint8ClampedArray",(function(){return ie})),n.d(r,"toArrayBufferViewIterator",(function(){return ae})),n.d(r,"toInt8ArrayIterator",(function(){return ue})),n.d(r,"toInt16ArrayIterator",(function(){return se})),n.d(r,"toInt32ArrayIterator",(function(){return ce})),n.d(r,"toUint8ArrayIterator",(function(){return le})),n.d(r,"toUint16ArrayIterator",(function(){return fe})),n.d(r,"toUint32ArrayIterator",(function(){return he})),n.d(r,"toFloat32ArrayIterator",(function(){return de})),n.d(r,"toFloat64ArrayIterator",(function(){return pe})),n.d(r,"toUint8ClampedArrayIterator",(function(){return ye})),n.d(r,"toArrayBufferViewAsyncIterator",(function(){return ve})),n.d(r,"toInt8ArrayAsyncIterator",(function(){return ge})),n.d(r,"toInt16ArrayAsyncIterator",(function(){return me})),n.d(r,"toInt32ArrayAsyncIterator",(function(){return we})),n.d(r,"toUint8ArrayAsyncIterator",(function(){return ke})),n.d(r,"toUint16ArrayAsyncIterator",(function(){return _e})),n.d(r,"toUint32ArrayAsyncIterator",(function(){return xe})),n.d(r,"toFloat32ArrayAsyncIterator",(function(){return Se})),n.d(r,"toFloat64ArrayAsyncIterator",(function(){return Ee})),n.d(r,"toUint8ClampedArrayAsyncIterator",(function(){return Te})),n.d(r,"rebaseValueOffsets",(function(){return Oe})),n.d(r,"compareArrayLike",(function(){return Le}));var i={};n.r(i),n.d(i,"getBool",(function(){return sn})),n.d(i,"getBit",(function(){return cn})),n.d(i,"setBool",(function(){return ln})),n.d(i,"truncateBitmap",(function(){return fn})),n.d(i,"packBools",(function(){return hn})),n.d(i,"iterateBits",(function(){return dn})),n.d(i,"popcnt_bit_range",(function(){return pn})),n.d(i,"popcnt_array",(function(){return yn})),n.d(i,"popcnt_uint32",(function(){return vn}));var o={};n.r(o),n.d(o,"uint16ToFloat64",(function(){return zr})),n.d(o,"float64ToUint16",(function(){return Vr}));var a={};n.r(a),n.d(a,"isArrowBigNumSymbol",(function(){return Qr})),n.d(a,"bignumToString",(function(){return Kr})),n.d(a,"bignumToBigInt",(function(){return qr})),n.d(a,"BN",(function(){return ii}));var u={};n.r(u),n.d(u,"clampIndex",(function(){return Wi})),n.d(u,"clampRange",(function(){return Yi})),n.d(u,"createElementComparator",(function(){return Ki}));var s={};n.r(s),n.d(s,"BaseInt64",(function(){return va})),n.d(s,"Uint64",(function(){return ba})),n.d(s,"Int64",(function(){return ga})),n.d(s,"Int128",(function(){return ma}));var c=n(21),l=n.n(c),f=n(0),h=n.n(f),d=new WeakMap,p=new WeakMap;function y(t){var e=d.get(t);return console.assert(null!=e,"'this' is expected an Event object, but got",t),e}function v(t){null==t.passiveListener?t.event.cancelable&&(t.canceled=!0,"function"===typeof t.event.preventDefault&&t.event.preventDefault()):"undefined"!==typeof console&&"function"===typeof console.error&&console.error("Unable to preventDefault inside passive event listener invocation.",t.passiveListener)}function b(t,e){d.set(this,{eventTarget:t,event:e,eventPhase:2,currentTarget:t,canceled:!1,stopped:!1,immediateStopped:!1,passiveListener:null,timeStamp:e.timeStamp||Date.now()}),Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});for(var n=Object.keys(e),r=0;r<n.length;++r){var i=n[r];i in this||Object.defineProperty(this,i,g(i))}}function g(t){return{get:function(){return y(this).event[t]},set:function(e){y(this).event[t]=e},configurable:!0,enumerable:!0}}function m(t){return{value:function(){var e=y(this).event;return e[t].apply(e,arguments)},configurable:!0,enumerable:!0}}function w(t){if(null==t||t===Object.prototype)return b;var e=p.get(t);return null==e&&(e=function(t,e){var n=Object.keys(e);if(0===n.length)return t;function r(e,n){t.call(this,e,n)}r.prototype=Object.create(t.prototype,{constructor:{value:r,configurable:!0,writable:!0}});for(var i=0;i<n.length;++i){var o=n[i];if(!(o in t.prototype)){var a="function"===typeof Object.getOwnPropertyDescriptor(e,o).value;Object.defineProperty(r.prototype,o,a?m(o):g(o))}}return r}(w(Object.getPrototypeOf(t)),t),p.set(t,e)),e}function k(t){return y(t).immediateStopped}function _(t,e){y(t).passiveListener=e}b.prototype={get type(){return y(this).event.type},get target(){return y(this).eventTarget},get currentTarget(){return y(this).currentTarget},composedPath:function(){var t=y(this).currentTarget;return null==t?[]:[t]},get NONE(){return 0},get CAPTURING_PHASE(){return 1},get AT_TARGET(){return 2},get BUBBLING_PHASE(){return 3},get eventPhase(){return y(this).eventPhase},stopPropagation:function(){var t=y(this);t.stopped=!0,"function"===typeof t.event.stopPropagation&&t.event.stopPropagation()},stopImmediatePropagation:function(){var t=y(this);t.stopped=!0,t.immediateStopped=!0,"function"===typeof t.event.stopImmediatePropagation&&t.event.stopImmediatePropagation()},get bubbles(){return Boolean(y(this).event.bubbles)},get cancelable(){return Boolean(y(this).event.cancelable)},preventDefault:function(){v(y(this))},get defaultPrevented(){return y(this).canceled},get composed(){return Boolean(y(this).event.composed)},get timeStamp(){return y(this).timeStamp},get srcElement(){return y(this).eventTarget},get cancelBubble(){return y(this).stopped},set cancelBubble(t){if(t){var e=y(this);e.stopped=!0,"boolean"===typeof e.event.cancelBubble&&(e.event.cancelBubble=!0)}},get returnValue(){return!y(this).canceled},set returnValue(t){t||v(y(this))},initEvent:function(){}},Object.defineProperty(b.prototype,"constructor",{value:b,configurable:!0,writable:!0}),"undefined"!==typeof window&&"undefined"!==typeof window.Event&&(Object.setPrototypeOf(b.prototype,window.Event.prototype),p.set(window.Event.prototype,b));var x=new WeakMap;function S(t){return null!==t&&"object"===typeof t}function E(t){var e=x.get(t);if(null==e)throw new TypeError("'this' is expected an EventTarget object, but got another value.");return e}function T(t,e){Object.defineProperty(t,"on".concat(e),function(t){return{get:function(){for(var e=E(this).get(t);null!=e;){if(3===e.listenerType)return e.listener;e=e.next}return null},set:function(e){"function"===typeof e||S(e)||(e=null);for(var n=E(this),r=null,i=n.get(t);null!=i;)3===i.listenerType?null!==r?r.next=i.next:null!==i.next?n.set(t,i.next):n.delete(t):r=i,i=i.next;if(null!==e){var o={listener:e,listenerType:3,passive:!1,once:!1,next:null};null===r?n.set(t,o):r.next=o}},configurable:!0,enumerable:!0}}(e))}function O(t){function e(){L.call(this)}e.prototype=Object.create(L.prototype,{constructor:{value:e,configurable:!0,writable:!0}});for(var n=0;n<t.length;++n)T(e.prototype,t[n]);return e}function L(){if(!(this instanceof L)){if(1===arguments.length&&Array.isArray(arguments[0]))return O(arguments[0]);if(arguments.length>0){for(var t=new Array(arguments.length),e=0;e<arguments.length;++e)t[e]=arguments[e];return O(t)}throw new TypeError("Cannot call a class as a function")}x.set(this,new Map)}L.prototype={addEventListener:function(t,e,n){if(null!=e){if("function"!==typeof e&&!S(e))throw new TypeError("'listener' should be a function or an object.");var r=E(this),i=S(n),o=(i?Boolean(n.capture):Boolean(n))?1:2,a={listener:e,listenerType:o,passive:i&&Boolean(n.passive),once:i&&Boolean(n.once),next:null},u=r.get(t);if(void 0!==u){for(var s=null;null!=u;){if(u.listener===e&&u.listenerType===o)return;s=u,u=u.next}s.next=a}else r.set(t,a)}},removeEventListener:function(t,e,n){if(null!=e)for(var r=E(this),i=(S(n)?Boolean(n.capture):Boolean(n))?1:2,o=null,a=r.get(t);null!=a;){if(a.listener===e&&a.listenerType===i)return void(null!==o?o.next=a.next:null!==a.next?r.set(t,a.next):r.delete(t));o=a,a=a.next}},dispatchEvent:function(t){if(null==t||"string"!==typeof t.type)throw new TypeError('"event.type" should be a string.');var e=E(this),n=t.type,r=e.get(n);if(null==r)return!0;for(var i=function(t,e){return new(w(Object.getPrototypeOf(e)))(t,e)}(this,t),o=null;null!=r;){if(r.once?null!==o?o.next=r.next:null!==r.next?e.set(n,r.next):e.delete(n):o=r,_(i,r.passive?r.listener:null),"function"===typeof r.listener)try{r.listener.call(this,i)}catch(a){"undefined"!==typeof console&&"function"===typeof console.error&&console.error(a)}else 3!==r.listenerType&&"function"===typeof r.listener.handleEvent&&r.listener.handleEvent(i);if(k(i))break;r=r.next}return _(i,null),function(t,e){y(t).eventPhase=e}(i,0),function(t,e){y(t).currentTarget=e}(i,null),!i.defaultPrevented}},Object.defineProperty(L.prototype,"constructor",{value:L,configurable:!0,writable:!0}),"undefined"!==typeof window&&"undefined"!==typeof window.EventTarget&&Object.setPrototypeOf(L.prototype,window.EventTarget.prototype);var I=n(14);function A(t){if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=Object(I.a)(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,o=!0,a=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return o=t.done,t},e:function(t){a=!0,i=t},f:function(){try{o||null==r.return||r.return()}finally{if(a)throw i}}}}function j(t,e,n,r,i,o,a){try{var u=t[o](a),s=u.value}catch(c){return void n(c)}u.done?e(s):Promise.resolve(s).then(r,i)}function N(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){j(o,r,i,a,u,"next",t)}function u(t){j(o,r,i,a,u,"throw",t)}a(void 0)}))}}function B(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function P(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function C(t,e,n){return e&&P(t.prototype,e),n&&P(t,n),t}var F=n(2);function D(t){this.wrapped=t}function M(t){return new D(t)}function R(t){var e,n;function r(e,n){try{var o=t[e](n),a=o.value,u=a instanceof D;Promise.resolve(u?a.wrapped:a).then((function(t){u?r("return"===e?"return":"next",t):i(o.done?"return":"normal",t)}),(function(t){r("throw",t)}))}catch(s){i("throw",s)}}function i(t,i){switch(t){case"return":e.resolve({value:i,done:!0});break;case"throw":e.reject(i);break;default:e.resolve({value:i,done:!1})}(e=e.next)?r(e.key,e.arg):n=null}this._invoke=function(t,i){return new Promise((function(o,a){var u={key:t,arg:i,resolve:o,reject:a,next:null};n?n=n.next=u:(e=n=u,r(t,i))}))},"function"!==typeof t.return&&(this.return=void 0)}function U(t){return function(){return new R(t.apply(this,arguments))}}function z(t,e){var n={},r=!1;function i(n,i){return r=!0,i=new Promise((function(e){e(t[n](i))})),{done:!1,value:e(i)}}return"function"===typeof Symbol&&Symbol.iterator&&(n[Symbol.iterator]=function(){return this}),n.next=function(t){return r?(r=!1,t):i("next",t)},"function"===typeof t.throw&&(n.throw=function(t){if(r)throw r=!1,t;return i("throw",t)}),"function"===typeof t.return&&(n.return=function(t){return r?(r=!1,t):i("return",t)}),n}"function"===typeof Symbol&&Symbol.asyncIterator&&(R.prototype[Symbol.asyncIterator]=function(){return this}),R.prototype.next=function(t){return this._invoke("next",t)},R.prototype.throw=function(t){return this._invoke("throw",t)},R.prototype.return=function(t){return this._invoke("return",t)};var V={};function G(t,e,n){return e<=t&&t<=n}function W(t){if(void 0===t)return{};if(t===Object(t))return t;throw TypeError("Could not convert argument to dictionary")}V.Offset,V.Table,V.SIZEOF_SHORT=2,V.SIZEOF_INT=4,V.FILE_IDENTIFIER_LENGTH=4,V.Encoding={UTF8_BYTES:1,UTF16_STRING:2},V.int32=new Int32Array(2),V.float32=new Float32Array(V.int32.buffer),V.float64=new Float64Array(V.int32.buffer),V.isLittleEndian=1===new Uint16Array(new Uint8Array([1,0]).buffer)[0],V.Long=function(t,e){this.low=0|t,this.high=0|e},V.Long.create=function(t,e){return 0==t&&0==e?V.Long.ZERO:new V.Long(t,e)},V.Long.prototype.toFloat64=function(){return(this.low>>>0)+4294967296*this.high},V.Long.prototype.equals=function(t){return this.low==t.low&&this.high==t.high},V.Long.ZERO=new V.Long(0,0),V.Builder=function(t){if(t)e=t;else var e=1024;this.bb=V.ByteBuffer.allocate(e),this.space=e,this.minalign=1,this.vtable=null,this.vtable_in_use=0,this.isNested=!1,this.object_start=0,this.vtables=[],this.vector_num_elems=0,this.force_defaults=!1},V.Builder.prototype.clear=function(){this.bb.clear(),this.space=this.bb.capacity(),this.minalign=1,this.vtable=null,this.vtable_in_use=0,this.isNested=!1,this.object_start=0,this.vtables=[],this.vector_num_elems=0,this.force_defaults=!1},V.Builder.prototype.forceDefaults=function(t){this.force_defaults=t},V.Builder.prototype.dataBuffer=function(){return this.bb},V.Builder.prototype.asUint8Array=function(){return this.bb.bytes().subarray(this.bb.position(),this.bb.position()+this.offset())},V.Builder.prototype.prep=function(t,e){t>this.minalign&&(this.minalign=t);for(var n=1+~(this.bb.capacity()-this.space+e)&t-1;this.space<n+t+e;){var r=this.bb.capacity();this.bb=V.Builder.growByteBuffer(this.bb),this.space+=this.bb.capacity()-r}this.pad(n)},V.Builder.prototype.pad=function(t){for(var e=0;e<t;e++)this.bb.writeInt8(--this.space,0)},V.Builder.prototype.writeInt8=function(t){this.bb.writeInt8(this.space-=1,t)},V.Builder.prototype.writeInt16=function(t){this.bb.writeInt16(this.space-=2,t)},V.Builder.prototype.writeInt32=function(t){this.bb.writeInt32(this.space-=4,t)},V.Builder.prototype.writeInt64=function(t){this.bb.writeInt64(this.space-=8,t)},V.Builder.prototype.writeFloat32=function(t){this.bb.writeFloat32(this.space-=4,t)},V.Builder.prototype.writeFloat64=function(t){this.bb.writeFloat64(this.space-=8,t)},V.Builder.prototype.addInt8=function(t){this.prep(1,0),this.writeInt8(t)},V.Builder.prototype.addInt16=function(t){this.prep(2,0),this.writeInt16(t)},V.Builder.prototype.addInt32=function(t){this.prep(4,0),this.writeInt32(t)},V.Builder.prototype.addInt64=function(t){this.prep(8,0),this.writeInt64(t)},V.Builder.prototype.addFloat32=function(t){this.prep(4,0),this.writeFloat32(t)},V.Builder.prototype.addFloat64=function(t){this.prep(8,0),this.writeFloat64(t)},V.Builder.prototype.addFieldInt8=function(t,e,n){(this.force_defaults||e!=n)&&(this.addInt8(e),this.slot(t))},V.Builder.prototype.addFieldInt16=function(t,e,n){(this.force_defaults||e!=n)&&(this.addInt16(e),this.slot(t))},V.Builder.prototype.addFieldInt32=function(t,e,n){(this.force_defaults||e!=n)&&(this.addInt32(e),this.slot(t))},V.Builder.prototype.addFieldInt64=function(t,e,n){!this.force_defaults&&e.equals(n)||(this.addInt64(e),this.slot(t))},V.Builder.prototype.addFieldFloat32=function(t,e,n){(this.force_defaults||e!=n)&&(this.addFloat32(e),this.slot(t))},V.Builder.prototype.addFieldFloat64=function(t,e,n){(this.force_defaults||e!=n)&&(this.addFloat64(e),this.slot(t))},V.Builder.prototype.addFieldOffset=function(t,e,n){(this.force_defaults||e!=n)&&(this.addOffset(e),this.slot(t))},V.Builder.prototype.addFieldStruct=function(t,e,n){e!=n&&(this.nested(e),this.slot(t))},V.Builder.prototype.nested=function(t){if(t!=this.offset())throw new Error("FlatBuffers: struct must be serialized inline.")},V.Builder.prototype.notNested=function(){if(this.isNested)throw new Error("FlatBuffers: object serialization must not be nested.")},V.Builder.prototype.slot=function(t){this.vtable[t]=this.offset()},V.Builder.prototype.offset=function(){return this.bb.capacity()-this.space},V.Builder.growByteBuffer=function(t){var e=t.capacity();if(3221225472&e)throw new Error("FlatBuffers: cannot grow buffer beyond 2 gigabytes.");var n=e<<1,r=V.ByteBuffer.allocate(n);return r.setPosition(n-e),r.bytes().set(t.bytes(),n-e),r},V.Builder.prototype.addOffset=function(t){this.prep(V.SIZEOF_INT,0),this.writeInt32(this.offset()-t+V.SIZEOF_INT)},V.Builder.prototype.startObject=function(t){this.notNested(),null==this.vtable&&(this.vtable=[]),this.vtable_in_use=t;for(var e=0;e<t;e++)this.vtable[e]=0;this.isNested=!0,this.object_start=this.offset()},V.Builder.prototype.endObject=function(){if(null==this.vtable||!this.isNested)throw new Error("FlatBuffers: endObject called without startObject");this.addInt32(0);for(var t=this.offset(),e=this.vtable_in_use-1;e>=0&&0==this.vtable[e];e--);for(var n=e+1;e>=0;e--)this.addInt16(0!=this.vtable[e]?t-this.vtable[e]:0);this.addInt16(t-this.object_start);var r=(n+2)*V.SIZEOF_SHORT;this.addInt16(r);var i=0,o=this.space;t:for(e=0;e<this.vtables.length;e++){var a=this.bb.capacity()-this.vtables[e];if(r==this.bb.readInt16(a)){for(var u=V.SIZEOF_SHORT;u<r;u+=V.SIZEOF_SHORT)if(this.bb.readInt16(o+u)!=this.bb.readInt16(a+u))continue t;i=this.vtables[e];break}}return i?(this.space=this.bb.capacity()-t,this.bb.writeInt32(this.space,i-t)):(this.vtables.push(this.offset()),this.bb.writeInt32(this.bb.capacity()-t,this.offset()-t)),this.isNested=!1,t},V.Builder.prototype.finish=function(t,e){if(e){var n=e;if(this.prep(this.minalign,V.SIZEOF_INT+V.FILE_IDENTIFIER_LENGTH),n.length!=V.FILE_IDENTIFIER_LENGTH)throw new Error("FlatBuffers: file identifier must be length "+V.FILE_IDENTIFIER_LENGTH);for(var r=V.FILE_IDENTIFIER_LENGTH-1;r>=0;r--)this.writeInt8(n.charCodeAt(r))}this.prep(this.minalign,V.SIZEOF_INT),this.addOffset(t),this.bb.setPosition(this.space)},V.Builder.prototype.requiredField=function(t,e){var n=this.bb.capacity()-t,r=n-this.bb.readInt32(n);if(!(0!=this.bb.readInt16(r+e)))throw new Error("FlatBuffers: field "+e+" must be set")},V.Builder.prototype.startVector=function(t,e,n){this.notNested(),this.vector_num_elems=e,this.prep(V.SIZEOF_INT,t*e),this.prep(n,t*e)},V.Builder.prototype.endVector=function(){return this.writeInt32(this.vector_num_elems),this.offset()},V.Builder.prototype.createString=function(t){if(t instanceof Uint8Array)var e=t;else{e=[];for(var n=0;n<t.length;){var r,i=t.charCodeAt(n++);if(i<55296||i>=56320)r=i;else r=(i<<10)+t.charCodeAt(n++)+-56613888;r<128?e.push(r):(r<2048?e.push(r>>6&31|192):(r<65536?e.push(r>>12&15|224):e.push(r>>18&7|240,r>>12&63|128),e.push(r>>6&63|128)),e.push(63&r|128))}}this.addInt8(0),this.startVector(1,e.length,1),this.bb.setPosition(this.space-=e.length);n=0;for(var o=this.space,a=this.bb.bytes();n<e.length;n++)a[o++]=e[n];return this.endVector()},V.Builder.prototype.createLong=function(t,e){return V.Long.create(t,e)},V.ByteBuffer=function(t){this.bytes_=t,this.position_=0},V.ByteBuffer.allocate=function(t){return new V.ByteBuffer(new Uint8Array(t))},V.ByteBuffer.prototype.clear=function(){this.position_=0},V.ByteBuffer.prototype.bytes=function(){return this.bytes_},V.ByteBuffer.prototype.position=function(){return this.position_},V.ByteBuffer.prototype.setPosition=function(t){this.position_=t},V.ByteBuffer.prototype.capacity=function(){return this.bytes_.length},V.ByteBuffer.prototype.readInt8=function(t){return this.readUint8(t)<<24>>24},V.ByteBuffer.prototype.readUint8=function(t){return this.bytes_[t]},V.ByteBuffer.prototype.readInt16=function(t){return this.readUint16(t)<<16>>16},V.ByteBuffer.prototype.readUint16=function(t){return this.bytes_[t]|this.bytes_[t+1]<<8},V.ByteBuffer.prototype.readInt32=function(t){return this.bytes_[t]|this.bytes_[t+1]<<8|this.bytes_[t+2]<<16|this.bytes_[t+3]<<24},V.ByteBuffer.prototype.readUint32=function(t){return this.readInt32(t)>>>0},V.ByteBuffer.prototype.readInt64=function(t){return new V.Long(this.readInt32(t),this.readInt32(t+4))},V.ByteBuffer.prototype.readUint64=function(t){return new V.Long(this.readUint32(t),this.readUint32(t+4))},V.ByteBuffer.prototype.readFloat32=function(t){return V.int32[0]=this.readInt32(t),V.float32[0]},V.ByteBuffer.prototype.readFloat64=function(t){return V.int32[V.isLittleEndian?0:1]=this.readInt32(t),V.int32[V.isLittleEndian?1:0]=this.readInt32(t+4),V.float64[0]},V.ByteBuffer.prototype.writeInt8=function(t,e){this.bytes_[t]=e},V.ByteBuffer.prototype.writeUint8=function(t,e){this.bytes_[t]=e},V.ByteBuffer.prototype.writeInt16=function(t,e){this.bytes_[t]=e,this.bytes_[t+1]=e>>8},V.ByteBuffer.prototype.writeUint16=function(t,e){this.bytes_[t]=e,this.bytes_[t+1]=e>>8},V.ByteBuffer.prototype.writeInt32=function(t,e){this.bytes_[t]=e,this.bytes_[t+1]=e>>8,this.bytes_[t+2]=e>>16,this.bytes_[t+3]=e>>24},V.ByteBuffer.prototype.writeUint32=function(t,e){this.bytes_[t]=e,this.bytes_[t+1]=e>>8,this.bytes_[t+2]=e>>16,this.bytes_[t+3]=e>>24},V.ByteBuffer.prototype.writeInt64=function(t,e){this.writeInt32(t,e.low),this.writeInt32(t+4,e.high)},V.ByteBuffer.prototype.writeUint64=function(t,e){this.writeUint32(t,e.low),this.writeUint32(t+4,e.high)},V.ByteBuffer.prototype.writeFloat32=function(t,e){V.float32[0]=e,this.writeInt32(t,V.int32[0])},V.ByteBuffer.prototype.writeFloat64=function(t,e){V.float64[0]=e,this.writeInt32(t,V.int32[V.isLittleEndian?0:1]),this.writeInt32(t+4,V.int32[V.isLittleEndian?1:0])},V.ByteBuffer.prototype.getBufferIdentifier=function(){if(this.bytes_.length<this.position_+V.SIZEOF_INT+V.FILE_IDENTIFIER_LENGTH)throw new Error("FlatBuffers: ByteBuffer is too short to contain an identifier.");for(var t="",e=0;e<V.FILE_IDENTIFIER_LENGTH;e++)t+=String.fromCharCode(this.readInt8(this.position_+V.SIZEOF_INT+e));return t},V.ByteBuffer.prototype.__offset=function(t,e){var n=t-this.readInt32(t);return e<this.readInt16(n)?this.readInt16(n+e):0},V.ByteBuffer.prototype.__union=function(t,e){return t.bb_pos=e+this.readInt32(e),t.bb=this,t},V.ByteBuffer.prototype.__string=function(t,e){t+=this.readInt32(t);var n=this.readInt32(t),r="",i=0;if(t+=V.SIZEOF_INT,e===V.Encoding.UTF8_BYTES)return this.bytes_.subarray(t,t+n);for(;i<n;){var o,a=this.readUint8(t+i++);if(a<192)o=a;else{var u=this.readUint8(t+i++);if(a<224)o=(31&a)<<6|63&u;else{var s=this.readUint8(t+i++);if(a<240)o=(15&a)<<12|(63&u)<<6|63&s;else o=(7&a)<<18|(63&u)<<12|(63&s)<<6|63&this.readUint8(t+i++)}}o<65536?r+=String.fromCharCode(o):(o-=65536,r+=String.fromCharCode(55296+(o>>10),56320+(1023&o)))}return r},V.ByteBuffer.prototype.__indirect=function(t){return t+this.readInt32(t)},V.ByteBuffer.prototype.__vector=function(t){return t+this.readInt32(t)+V.SIZEOF_INT},V.ByteBuffer.prototype.__vector_len=function(t){return this.readInt32(t+this.readInt32(t))},V.ByteBuffer.prototype.__has_identifier=function(t){if(t.length!=V.FILE_IDENTIFIER_LENGTH)throw new Error("FlatBuffers: file identifier must be length "+V.FILE_IDENTIFIER_LENGTH);for(var e=0;e<V.FILE_IDENTIFIER_LENGTH;e++)if(t.charCodeAt(e)!=this.readInt8(this.position_+V.SIZEOF_INT+e))return!1;return!0},V.ByteBuffer.prototype.createLong=function(t,e){return V.Long.create(t,e)};function Y(t){this.tokens=[].slice.call(t)}Y.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.shift():-1},prepend:function(t){if(Array.isArray(t))for(var e=t;e.length;)this.tokens.unshift(e.pop());else this.tokens.unshift(t)},push:function(t){if(Array.isArray(t))for(var e=t;e.length;)this.tokens.push(e.shift());else this.tokens.push(t)}};function H(t,e){if(t)throw TypeError("Decoder error");return e||65533}function $(t,e){if(!(this instanceof $))return new $(t,e);if("utf-8"!==(t=void 0!==t?String(t).toLowerCase():"utf-8"))throw new Error("Encoding not supported. Only utf-8 is supported");e=W(e),this._streaming=!1,this._BOMseen=!1,this._decoder=null,this._fatal=Boolean(e.fatal),this._ignoreBOM=Boolean(e.ignoreBOM),Object.defineProperty(this,"encoding",{value:"utf-8"}),Object.defineProperty(this,"fatal",{value:this._fatal}),Object.defineProperty(this,"ignoreBOM",{value:this._ignoreBOM})}function K(t,e){if(!(this instanceof K))return new K(t,e);if("utf-8"!==(t=void 0!==t?String(t).toLowerCase():"utf-8"))throw new Error("Encoding not supported. Only utf-8 is supported");e=W(e),this._streaming=!1,this._encoder=null,this._options={fatal:Boolean(e.fatal)},Object.defineProperty(this,"encoding",{value:"utf-8"})}function q(t){var e=t.fatal,n=0,r=0,i=0,o=128,a=191;this.handler=function(t,u){if(-1===u&&0!==i)return i=0,H(e);if(-1===u)return-1;if(0===i){if(G(u,0,127))return u;if(G(u,194,223))i=1,n=u-192;else if(G(u,224,239))224===u&&(o=160),237===u&&(a=159),i=2,n=u-224;else{if(!G(u,240,244))return H(e);240===u&&(o=144),244===u&&(a=143),i=3,n=u-240}return n<<=6*i,null}if(!G(u,o,a))return n=i=r=0,o=128,a=191,t.prepend(u),H(e);if(o=128,a=191,n+=u-128<<6*(i-(r+=1)),r!==i)return null;var s=n;return n=i=r=0,s}}function Q(t){t.fatal;this.handler=function(t,e){if(-1===e)return-1;if(G(e,0,127))return e;var n,r;G(e,128,2047)?(n=1,r=192):G(e,2048,65535)?(n=2,r=224):G(e,65536,1114111)&&(n=3,r=240);for(var i=[(e>>6*n)+r];n>0;){var o=e>>6*(n-1);i.push(128|63&o),n-=1}return i}}$.prototype={decode:function(t,e){var n;n="object"===typeof t&&t instanceof ArrayBuffer?new Uint8Array(t):"object"===typeof t&&"buffer"in t&&t.buffer instanceof ArrayBuffer?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):new Uint8Array(0),e=W(e),this._streaming||(this._decoder=new q({fatal:this._fatal}),this._BOMseen=!1),this._streaming=Boolean(e.stream);for(var r,i=new Y(n),o=[];!i.endOfStream()&&-1!==(r=this._decoder.handler(i,i.read()));)null!==r&&(Array.isArray(r)?o.push.apply(o,r):o.push(r));if(!this._streaming){do{if(-1===(r=this._decoder.handler(i,i.read())))break;null!==r&&(Array.isArray(r)?o.push.apply(o,r):o.push(r))}while(!i.endOfStream());this._decoder=null}return o.length&&(-1===["utf-8"].indexOf(this.encoding)||this._ignoreBOM||this._BOMseen||(65279===o[0]?(this._BOMseen=!0,o.shift()):this._BOMseen=!0)),function(t){for(var e="",n=0;n<t.length;++n){var r=t[n];r<=65535?e+=String.fromCharCode(r):(r-=65536,e+=String.fromCharCode(55296+(r>>10),56320+(1023&r)))}return e}(o)}},K.prototype={encode:function(t,e){t=t?String(t):"",e=W(e),this._streaming||(this._encoder=new Q(this._options)),this._streaming=Boolean(e.stream);for(var n,r=[],i=new Y(function(t){for(var e=String(t),n=e.length,r=0,i=[];r<n;){var o=e.charCodeAt(r);if(o<55296||o>57343)i.push(o);else if(56320<=o&&o<=57343)i.push(65533);else if(55296<=o&&o<=56319)if(r===n-1)i.push(65533);else{var a=t.charCodeAt(r+1);if(56320<=a&&a<=57343){var u=1023&o,s=1023&a;i.push(65536+(u<<10)+s),r+=1}else i.push(65533)}r+=1}return i}(t));!i.endOfStream()&&-1!==(n=this._encoder.handler(i,i.read()));)Array.isArray(n)?r.push.apply(r,n):r.push(n);if(!this._streaming){for(;-1!==(n=this._encoder.handler(i,i.read()));)Array.isArray(n)?r.push.apply(r,n):r.push(n);this._encoder=null}return new Uint8Array(r)}};var J="function"===typeof Buffer?Buffer:null,X="function"===typeof TextDecoder&&"function"===typeof TextEncoder,Z=function(t){if(X||!J){var e=new t("utf-8");return function(t){return e.decode(t)}}return function(t){var e=Xt(t),n=e.buffer,r=e.byteOffset,i=e.length;return J.from(n,r,i).toString()}}("undefined"!==typeof TextDecoder?TextDecoder:$),tt=function(t){if(X||!J){var e=new t;return function(t){return e.encode(t)}}return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Xt(J.from(t,"utf8"))}}("undefined"!==typeof TextEncoder?TextEncoder:K);function et(t,e){return(et=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function nt(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&et(t,e)}function rt(t){return(rt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function it(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function ot(t){return(ot="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function at(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ut(t,e){return!e||"object"!==ot(e)&&"function"!==typeof e?at(t):e}function st(t){return function(){var e,n=rt(t);if(it()){var r=rt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ut(this,e)}}function ct(){ct=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(L){s=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),u=new E(i||[]);return r(a,"_invoke",{value:k(t,n,u)}),a}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(L){return{type:"throw",arg:L}}}t.wrap=c;var f={};function h(){}function d(){}function p(){}var y={};s(y,o,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(T([])));b&&b!==e&&n.call(b,o)&&(y=b);var g=p.prototype=h.prototype=Object.create(y);function m(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var i;r(this,"_invoke",{value:function(r,o){function a(){return new e((function(i,a){!function r(i,o,a,u){var s=l(t[i],t,o);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}(r,o,i,a)}))}return i=i?i.then(a,a):a()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return O()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var u=_(a,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(t,e,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function _(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=l(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function T(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return d.prototype=p,r(g,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:d,configurable:!0}),d.displayName=s(p,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,s(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},m(w.prototype),s(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},m(g),s(g,u,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=T,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),s=n.call(o,"finallyLoc");if(u&&s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:T(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}var lt=Object.freeze({done:!0,value:void 0}),ft=function(){function t(e){B(this,t),this._json=e}return C(t,[{key:"schema",get:function(){return this._json.schema}},{key:"batches",get:function(){return this._json.batches||[]}},{key:"dictionaries",get:function(){return this._json.dictionaries||[]}}]),t}(),ht=function(){function t(){B(this,t)}return C(t,[{key:"tee",value:function(){return this._getDOMStream().tee()}},{key:"pipe",value:function(t,e){return this._getNodeStream().pipe(t,e)}},{key:"pipeTo",value:function(t,e){return this._getDOMStream().pipeTo(t,e)}},{key:"pipeThrough",value:function(t,e){return this._getDOMStream().pipeThrough(t,e)}},{key:"_getDOMStream",value:function(){return this._DOMStream||(this._DOMStream=this.toDOMStream())}},{key:"_getNodeStream",value:function(){return this._nodeStream||(this._nodeStream=this.toNodeStream())}}]),t}(),dt=function(t,e){nt(r,t);var n=st(r);function r(){var t;return B(this,r),(t=n.call(this))._values=[],t.resolvers=[],t._closedPromise=new Promise((function(e){return t._closedPromiseResolve=e})),t}return C(r,[{key:"closed",get:function(){return this._closedPromise}},{key:"cancel",value:function(){var t=N(ct().mark((function t(e){return ct().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.return(e);case 2:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"write",value:function(t){this._ensureOpen()&&(this.resolvers.length<=0?this._values.push(t):this.resolvers.shift().resolve({done:!1,value:t}))}},{key:"abort",value:function(t){this._closedPromiseResolve&&(this.resolvers.length<=0?this._error={error:t}:this.resolvers.shift().reject({done:!0,value:t}))}},{key:"close",value:function(){if(this._closedPromiseResolve){for(var t=this.resolvers;t.length>0;)t.shift().resolve(lt);this._closedPromiseResolve(),this._closedPromiseResolve=void 0}}},{key:e,value:function(){return this}},{key:"toDOMStream",value:function(t){return je.toDOMStream(this._closedPromiseResolve||this._error?this:this._values,t)}},{key:"toNodeStream",value:function(t){return je.toNodeStream(this._closedPromiseResolve||this._error?this:this._values,t)}},{key:"throw",value:function(){var t=N(ct().mark((function t(e){return ct().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.abort(e);case 2:return t.abrupt("return",lt);case 3:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"return",value:function(){var t=N(ct().mark((function t(e){return ct().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.close();case 2:return t.abrupt("return",lt);case 3:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"read",value:function(){var t=N(ct().mark((function t(e){return ct().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.next(e,"read");case 2:return t.abrupt("return",t.sent.value);case 3:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"peek",value:function(){var t=N(ct().mark((function t(e){return ct().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.next(e,"peek");case 2:return t.abrupt("return",t.sent.value);case 3:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"next",value:function(){var t=this;return this._values.length>0?Promise.resolve({done:!1,value:this._values.shift()}):this._error?Promise.reject({done:!0,value:this._error.error}):this._closedPromiseResolve?new Promise((function(e,n){t.resolvers.push({resolve:e,reject:n})})):Promise.resolve(lt)}},{key:"_ensureOpen",value:function(){if(this._closedPromiseResolve)return!0;throw new Error("".concat(this," is closed"))}}]),r}(ht,Symbol.asyncIterator),pt=function(){var t=function(){throw new Error("BigInt is not available in this environment")};function e(){throw t()}return e.asIntN=function(){throw t()},e.asUintN=function(){throw t()},"undefined"!==typeof BigInt?[BigInt,!0]:[e,!1]}(),yt=Object(F.a)(pt,2),vt=yt[0],bt=yt[1],gt=function(){var t=function(){throw new Error("BigInt64Array is not available in this environment")};return"undefined"!==typeof BigInt64Array?[BigInt64Array,!0]:[function(){function e(){throw B(this,e),t()}return C(e,null,[{key:"BYTES_PER_ELEMENT",get:function(){return 8}},{key:"of",value:function(){throw t()}},{key:"from",value:function(){throw t()}}]),e}(),!1]}(),mt=Object(F.a)(gt,2),wt=mt[0],kt=(mt[1],function(){var t=function(){throw new Error("BigUint64Array is not available in this environment")};return"undefined"!==typeof BigUint64Array?[BigUint64Array,!0]:[function(){function e(){throw B(this,e),t()}return C(e,null,[{key:"BYTES_PER_ELEMENT",get:function(){return 8}},{key:"of",value:function(){throw t()}},{key:"from",value:function(){throw t()}}]),e}(),!1]}()),_t=Object(F.a)(kt,2),xt=_t[0],St=(_t[1],function(t){return"number"===typeof t}),Et=function(t){return"boolean"===typeof t},Tt=function(t){return"function"===typeof t},Ot=function(t){return null!=t&&Object(t)===t},Lt=function(t){return Ot(t)&&Tt(t.then)},It=function(t){return Ot(t)&&Tt(t[Symbol.iterator])},At=function(t){return Ot(t)&&Tt(t[Symbol.asyncIterator])},jt=function(t){return Ot(t)&&Ot(t.schema)},Nt=function(t){return Ot(t)&&"done"in t&&"value"in t},Bt=function(t){return Ot(t)&&Tt(t.stat)&&St(t.fd)},Pt=function(t){return Ot(t)&&Ft(t.body)},Ct=function(t){return Ot(t)&&Tt(t.abort)&&Tt(t.getWriter)&&!(t instanceof ht)},Ft=function(t){return Ot(t)&&Tt(t.cancel)&&Tt(t.getReader)&&!(t instanceof ht)},Dt=function(t){return Ot(t)&&Tt(t.end)&&Tt(t.write)&&Et(t.writable)&&!(t instanceof ht)},Mt=function(t){return Ot(t)&&Tt(t.read)&&Tt(t.pipe)&&Et(t.readable)&&!(t instanceof ht)},Rt=Ut().mark(ae);function Ut(){Ut=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(L){s=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),u=new E(i||[]);return r(a,"_invoke",{value:k(t,n,u)}),a}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(L){return{type:"throw",arg:L}}}t.wrap=c;var f={};function h(){}function d(){}function p(){}var y={};s(y,o,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(T([])));b&&b!==e&&n.call(b,o)&&(y=b);var g=p.prototype=h.prototype=Object.create(y);function m(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var i;r(this,"_invoke",{value:function(r,o){function a(){return new e((function(i,a){!function r(i,o,a,u){var s=l(t[i],t,o);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}(r,o,i,a)}))}return i=i?i.then(a,a):a()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return O()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var u=_(a,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(t,e,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function _(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=l(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function T(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return d.prototype=p,r(g,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:d,configurable:!0}),d.displayName=s(p,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,s(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},m(w.prototype),s(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},m(g),s(g,u,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=T,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),s=n.call(o,"finallyLoc");if(u&&s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:T(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function zt(t){var e,n,r,i=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,r=Symbol.iterator);i--;){if(n&&null!=(e=t[n]))return e.call(t);if(r&&null!=(e=t[r]))return new Vt(e.call(t));n="@@asyncIterator",r="@@iterator"}throw new TypeError("Object is not async iterable")}function Vt(t){function e(t){if(Object(t)!==t)return Promise.reject(new TypeError(t+" is not an object."));var e=t.done;return Promise.resolve(t.value).then((function(t){return{value:t,done:e}}))}return(Vt=function(t){this.s=t,this.n=t.next}).prototype={s:null,n:null,next:function(){return e(this.n.apply(this.s,arguments))},return:function(t){var n=this.s.return;return void 0===n?Promise.resolve({value:t,done:!0}):e(n.apply(this.s,arguments))},throw:function(t){var n=this.s.return;return void 0===n?Promise.reject(t):e(n.apply(this.s,arguments))}},new Vt(t)}var Gt=V.ByteBuffer,Wt="undefined"!==typeof SharedArrayBuffer?SharedArrayBuffer:ArrayBuffer;function Yt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.byteLength,i=t.byteLength,o=new Uint8Array(t.buffer,t.byteOffset,i),a=new Uint8Array(e.buffer,e.byteOffset,Math.min(r,i));return o.set(a,n),t}function Ht(t,e){for(var n,r,i,o=function(t){for(var e,n,r,i,o,a,u=t[0]?[t[0]]:[],s=0,c=0,l=t.length;++s<l;)if(o=u[c],a=t[s],!o||!a||o.buffer!==a.buffer||a.byteOffset<o.byteOffset)a&&(u[++c]=a);else{var f=o;e=f.byteOffset,r=f.byteLength;var h=a;n=h.byteOffset,i=h.byteLength,e+r<n||n+i<e?a&&(u[++c]=a):u[c]=new Uint8Array(o.buffer,e,n-e+i)}return u}(t),a=o.reduce((function(t,e){return t+e.byteLength}),0),u=0,s=-1,c=Math.min(e||1/0,a),l=o.length;++s<l;){if(c<=u+(r=(n=o[s]).subarray(0,Math.min(n.length,c-u))).length){r.length<n.length?o[s]=n.subarray(r.length):r.length===n.length&&s++,i?Yt(i,r,u):i=r;break}Yt(i||(i=new Uint8Array(c)),r,u),u+=r.length}return[i||new Uint8Array(0),o.slice(s),a-(i?i.byteLength:0)]}function $t(t,e){var n=Nt(e)?e.value:e;return n instanceof t?t===Uint8Array?new t(n.buffer,n.byteOffset,n.byteLength):n:n?("string"===typeof n&&(n=tt(n)),n instanceof ArrayBuffer||n instanceof Wt?new t(n):n instanceof Gt?$t(t,n.bytes()):ArrayBuffer.isView(n)?n.byteLength<=0?new t(0):new t(n.buffer,n.byteOffset,n.byteLength/t.BYTES_PER_ELEMENT):t.from(n)):new t(0)}var Kt=function(t){return $t(Int8Array,t)},qt=function(t){return $t(Int16Array,t)},Qt=function(t){return $t(Int32Array,t)},Jt=function(t){return $t(wt,t)},Xt=function(t){return $t(Uint8Array,t)},Zt=function(t){return $t(Uint16Array,t)},te=function(t){return $t(Uint32Array,t)},ee=function(t){return $t(xt,t)},ne=function(t){return $t(Float32Array,t)},re=function(t){return $t(Float64Array,t)},ie=function(t){return $t(Uint8ClampedArray,t)},oe=function(t){return t.next(),t};function ae(t,e){var n,r;return Ut().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return n=Ut().mark((function t(e){return Ut().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e;case 2:case"end":return t.stop()}}),t)})),r="string"===typeof e||ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof Wt?n(e):It(e)?e:n(e),i.delegateYield(oe(Ut().mark((function e(n){var r;return Ut().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=null;case 1:return e.t0=n,e.next=4,$t(t,r);case 4:e.t1=e.sent,r=e.t0.next.call(e.t0,e.t1);case 6:if(!r.done){e.next=1;break}case 7:case"end":return e.stop()}}),e)}))(r[Symbol.iterator]())),"t0",3);case 3:case"end":return i.stop()}}),Rt)}var ue=function(t){return ae(Int8Array,t)},se=function(t){return ae(Int16Array,t)},ce=function(t){return ae(Int32Array,t)},le=function(t){return ae(Uint8Array,t)},fe=function(t){return ae(Uint16Array,t)},he=function(t){return ae(Uint32Array,t)},de=function(t){return ae(Float32Array,t)},pe=function(t){return ae(Float64Array,t)},ye=function(t){return ae(Uint8ClampedArray,t)};function ve(t,e){return be.apply(this,arguments)}function be(){return(be=U(Ut().mark((function t(e,n){var r,i,o;return Ut().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!Lt(n)){t.next=13;break}return t.t0=z,t.t1=zt,t.t2=ve,t.t3=e,t.next=7,M(n);case 7:return t.t4=t.sent,t.t5=(0,t.t2)(t.t3,t.t4),t.t6=(0,t.t1)(t.t5),t.t7=M,t.delegateYield((0,t.t0)(t.t6,t.t7),"t8",12);case 12:return t.abrupt("return",t.t8);case 13:return r=function(){var t=U(Ut().mark((function t(e){return Ut().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,M(e);case 2:return t.next=4,t.sent;case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),i=function(){var t=U(Ut().mark((function t(e){return Ut().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.delegateYield(z(zt(oe(Ut().mark((function t(e){var n;return Ut().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=null;case 1:return t.t0=e,t.next=4,n&&n.value;case 4:t.t1=t.sent,n=t.t0.next.call(t.t0,t.t1);case 6:if(!n.done){t.next=1;break}case 7:case"end":return t.stop()}}),t)}))(e[Symbol.iterator]()))),M),"t0",1);case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),o="string"===typeof n||ArrayBuffer.isView(n)||n instanceof ArrayBuffer||n instanceof Wt?r(n):It(n)?i(n):At(n)?n:r(n),t.delegateYield(z(zt(oe(function(){var t=U(Ut().mark((function t(n){var r;return Ut().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=null;case 1:return t.t0=M,t.t1=n,t.next=5,$t(e,r);case 5:return t.t2=t.sent,t.t3=t.t1.next.call(t.t1,t.t2),t.next=9,(0,t.t0)(t.t3);case 9:r=t.sent;case 10:if(!r.done){t.next=1;break}case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()(o[Symbol.asyncIterator]()))),M),"t9",17);case 17:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var ge=function(t){return ve(Int8Array,t)},me=function(t){return ve(Int16Array,t)},we=function(t){return ve(Int32Array,t)},ke=function(t){return ve(Uint8Array,t)},_e=function(t){return ve(Uint16Array,t)},xe=function(t){return ve(Uint32Array,t)},Se=function(t){return ve(Float32Array,t)},Ee=function(t){return ve(Float64Array,t)},Te=function(t){return ve(Uint8ClampedArray,t)};function Oe(t,e,n){if(0!==t){n=n.slice(0,e+1);for(var r=-1;++r<=e;)n[r]+=t}return n}function Le(t,e){var n=0,r=t.length;if(r!==e.length)return!1;if(r>0)do{if(t[n]!==e[n])return!1}while(++n<r);return!0}function Ie(){Ie=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(L){s=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),u=new E(i||[]);return r(a,"_invoke",{value:k(t,n,u)}),a}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(L){return{type:"throw",arg:L}}}t.wrap=c;var f={};function h(){}function d(){}function p(){}var y={};s(y,o,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(T([])));b&&b!==e&&n.call(b,o)&&(y=b);var g=p.prototype=h.prototype=Object.create(y);function m(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var i;r(this,"_invoke",{value:function(r,o){function a(){return new e((function(i,a){!function r(i,o,a,u){var s=l(t[i],t,o);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}(r,o,i,a)}))}return i=i?i.then(a,a):a()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return O()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var u=_(a,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(t,e,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function _(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=l(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function T(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return d.prototype=p,r(g,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:d,configurable:!0}),d.displayName=s(p,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,s(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},m(w.prototype),s(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},m(g),s(g,u,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=T,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),s=n.call(o,"finallyLoc");if(u&&s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:T(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}var Ae=Ie().mark(Be),je={fromIterable:function(t){return Ne(Be(t))},fromAsyncIterable:function(t){return Ne(function(t){return Pe.apply(this,arguments)}(t))},fromDOMStream:function(t){return Ne(function(t){return Ce.apply(this,arguments)}(t))},fromNodeStream:function(t){return Ne(function(t){return Ue.apply(this,arguments)}(t))},toDOMStream:function(t,e){throw new Error('"toDOMStream" not available in this environment')},toNodeStream:function(t,e){throw new Error('"toNodeStream" not available in this environment')}},Ne=function(t){return t.next(),t};function Be(t){var e,n,r,i,o,a,u,s,c,l,f,h;return Ie().wrap((function(d){for(;;)switch(d.prev=d.next){case 0:return s=function(){if("peek"===o)return Ht(r,a)[0];var t=Ht(r,a),e=Object(F.a)(t,3);return i=e[0],r=e[1],u=e[2],i},n=!1,r=[],u=0,d.next=6,null;case 6:c=d.sent,o=c.cmd,a=c.size,l=le(t)[Symbol.iterator](),d.prev=10;case 11:if(f=isNaN(a-u)?l.next(void 0):l.next(a-u),e=f.done,i=f.value,!e&&i.byteLength>0&&(r.push(i),u+=i.byteLength),!(e||a<=u)){d.next=22;break}case 16:return d.next=18,s();case 18:h=d.sent,o=h.cmd,a=h.size;case 21:if(a<u){d.next=16;break}case 22:if(!e){d.next=11;break}case 23:d.next=28;break;case 25:d.prev=25,d.t0=d.catch(10),(n=!0)&&"function"===typeof l.throw&&l.throw(d.t0);case 28:return d.prev=28,!1===n&&"function"===typeof l.return&&l.return(),d.finish(28);case 31:case"end":return d.stop()}}),Ae,null,[[10,25,28,31]])}function Pe(){return(Pe=U(Ie().mark((function t(e){var n,r,i,o,a,u,s,c,l,f,h,d;return Ie().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c=function(){if("peek"===a)return Ht(i,u)[0];var t=Ht(i,u),e=Object(F.a)(t,3);return o=e[0],i=e[1],s=e[2],o},r=!1,i=[],s=0,t.next=6,null;case 6:l=t.sent,a=l.cmd,u=l.size,f=ke(e)[Symbol.asyncIterator](),t.prev=10;case 11:if(!isNaN(u-s)){t.next=17;break}return t.next=14,M(f.next(void 0));case 14:t.t0=t.sent,t.next=20;break;case 17:return t.next=19,M(f.next(u-s));case 19:t.t0=t.sent;case 20:if(h=t.t0,n=h.done,o=h.value,!n&&o.byteLength>0&&(i.push(o),s+=o.byteLength),!(n||u<=s)){t.next=31;break}case 25:return t.next=27,c();case 27:d=t.sent,a=d.cmd,u=d.size;case 30:if(u<s){t.next=25;break}case 31:if(!n){t.next=11;break}case 32:t.next=40;break;case 34:if(t.prev=34,t.t1=t.catch(10),t.t2=(r=!0)&&"function"===typeof f.throw,!t.t2){t.next=40;break}return t.next=40,M(f.throw(t.t1));case 40:if(t.prev=40,t.t3=!1===r&&"function"===typeof f.return,!t.t3){t.next=45;break}return t.next=45,M(f.return());case 45:return t.finish(40);case 46:case"end":return t.stop()}}),t,null,[[10,34,40,46]])})))).apply(this,arguments)}function Ce(){return(Ce=U(Ie().mark((function t(e){var n,r,i,o,a,u,s,c,l,f,h,d;return Ie().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c=function(){if("peek"===a)return Ht(i,u)[0];var t=Ht(i,u),e=Object(F.a)(t,3);return o=e[0],i=e[1],s=e[2],o},n=!1,r=!1,i=[],s=0,t.next=6,null;case 6:l=t.sent,a=l.cmd,u=l.size,f=new Fe(e),t.prev=10;case 11:if(!isNaN(u-s)){t.next=17;break}return t.next=14,M(f.read(void 0));case 14:t.t0=t.sent,t.next=20;break;case 17:return t.next=19,M(f.read(u-s));case 19:t.t0=t.sent;case 20:if(h=t.t0,n=h.done,o=h.value,!n&&o.byteLength>0&&(i.push(Xt(o)),s+=o.byteLength),!(n||u<=s)){t.next=31;break}case 25:return t.next=27,c();case 27:d=t.sent,a=d.cmd,u=d.size;case 30:if(u<s){t.next=25;break}case 31:if(!n){t.next=11;break}case 32:t.next=40;break;case 34:if(t.prev=34,t.t1=t.catch(10),t.t2=r=!0,!t.t2){t.next=40;break}return t.next=40,M(f.cancel(t.t1));case 40:if(t.prev=40,!1!==r){t.next=46;break}return t.next=44,M(f.cancel());case 44:t.next=47;break;case 46:e.locked&&f.releaseLock();case 47:return t.finish(40);case 48:case"end":return t.stop()}}),t,null,[[10,34,40,48]])})))).apply(this,arguments)}var Fe=function(){function t(e){B(this,t),this.source=e,this.byobReader=null,this.defaultReader=null;try{this.supportsBYOB=!!(this.reader=this.getBYOBReader())}catch(n){this.supportsBYOB=!(this.reader=this.getDefaultReader())}}return C(t,[{key:"closed",get:function(){return this.reader?this.reader.closed.catch((function(){})):Promise.resolve()}},{key:"releaseLock",value:function(){this.reader&&this.reader.releaseLock(),this.reader=this.byobReader=this.defaultReader=null}},{key:"cancel",value:function(){var t=N(Ie().mark((function t(e){var n,r;return Ie().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=this.reader,r=this.source,t.t0=n,!t.t0){t.next=5;break}return t.next=5,n.cancel(e).catch((function(){}));case 5:r&&r.locked&&this.releaseLock();case 6:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"read",value:function(){var t=N(Ie().mark((function t(e){var n;return Ie().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(0!==e){t.next=2;break}return t.abrupt("return",{done:null==this.reader,value:new Uint8Array(0)});case 2:if(this.supportsBYOB&&"number"===typeof e){t.next=8;break}return t.next=5,this.getDefaultReader().read();case 5:t.t0=t.sent,t.next=11;break;case 8:return t.next=10,this.readFromBYOBReader(e);case 10:t.t0=t.sent;case 11:return!(n=t.t0).done&&(n.value=Xt(n)),t.abrupt("return",n);case 14:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"getDefaultReader",value:function(){return this.byobReader&&this.releaseLock(),this.defaultReader||(this.defaultReader=this.source.getReader(),this.defaultReader.closed.catch((function(){}))),this.reader=this.defaultReader}},{key:"getBYOBReader",value:function(){return this.defaultReader&&this.releaseLock(),this.byobReader||(this.byobReader=this.source.getReader({mode:"byob"}),this.byobReader.closed.catch((function(){}))),this.reader=this.byobReader}},{key:"readFromBYOBReader",value:function(){var t=N(Ie().mark((function t(e){return Ie().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,De(this.getBYOBReader(),new ArrayBuffer(e),0,e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()}]),t}();function De(t,e,n,r){return Me.apply(this,arguments)}function Me(){return(Me=N(Ie().mark((function t(e,n,r,i){var o,a,u;return Ie().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r>=i)){t.next=2;break}return t.abrupt("return",{done:!1,value:new Uint8Array(n,0,i)});case 2:return t.next=4,e.read(new Uint8Array(n,r,i-r));case 4:if(o=t.sent,a=o.done,u=o.value,!((r+=u.byteLength)<i)||a){t.next=11;break}return t.next=10,De(e,u.buffer,r,i);case 10:return t.abrupt("return",t.sent);case 11:return t.abrupt("return",{done:a,value:new Uint8Array(u.buffer,0,r)});case 12:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var Re=function(t,e){var n,r=function(t){return n([e,t])};return[e,r,new Promise((function(i){return(n=i)&&t.once(e,r)}))]};function Ue(){return(Ue=U(Ie().mark((function t(e){var n,r,i,o,a,u,s,c,l,f,h,d,p,y,v;return Ie().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return v=function(t,n){return l=c=null,new Promise(function(){var r=N(Ie().mark((function r(i,o){var a,u,s,c,l,f;return Ie().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:a=A(t);try{for(a.s();!(u=a.n()).done;)s=Object(F.a)(u.value,2),c=s[0],l=s[1],e.off(c,l)}catch(n){a.e(n)}finally{a.f()}try{(f=e.destroy)&&f.call(e,n),n=void 0}catch(h){n=h||n}finally{null!=n?o(n):i()}case 3:case"end":return r.stop()}}),r)})));return function(t,e){return r.apply(this,arguments)}}())},f=function(){if("peek"===a)return Ht(c,u)[0];var t=Ht(c,u),e=Object(F.a)(t,3);return l=e[0],c=e[1],s=e[2],l},n=[],r="error",i=!1,o=null,s=0,c=[],t.next=9,null;case 9:if(h=t.sent,a=h.cmd,u=h.size,!e.isTTY){t.next=16;break}return t.next=15,new Uint8Array(0);case 15:return t.abrupt("return",t.sent);case 16:t.prev=16,n[0]=Re(e,"end"),n[1]=Re(e,"error");case 19:return n[2]=Re(e,"readable"),t.next=22,M(Promise.race(n.map((function(t){return t[2]}))));case 22:if(d=t.sent,p=Object(F.a)(d,2),r=p[0],o=p[1],"error"!==r){t.next=28;break}return t.abrupt("break",37);case 28:if((i="end"===r)||(isFinite(u-s)?(l=Xt(e.read(u-s))).byteLength<u-s&&(l=Xt(e.read(void 0))):l=Xt(e.read(void 0)),l.byteLength>0&&(c.push(l),s+=l.byteLength)),!(i||u<=s)){t.next=36;break}case 30:return t.next=32,f();case 32:y=t.sent,a=y.cmd,u=y.size;case 35:if(u<s){t.next=30;break}case 36:if(!i){t.next=19;break}case 37:return t.prev=37,t.next=40,M(v(n,"error"===r?o:null));case 40:return t.finish(37);case 41:case"end":return t.stop()}}),t,null,[[16,,37,41]])})))).apply(this,arguments)}var ze=n(3);function Ve(t,e,n){return(Ve="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=rt(t)););return t}(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(n):i.value}})(t,e,n||t)}var Ge,We,Ye,He,$e,Ke,qe=C((function t(){B(this,t)}));$e=Ge||(Ge={}),He=$e.apache||($e.apache={}),Ye=He.arrow||(He.arrow={}),function(t){t[t.V1=0]="V1",t[t.V2=1]="V2",t[t.V3=2]="V3",t[t.V4=3]="V4"}((We=Ye.flatbuf||(Ye.flatbuf={})).MetadataVersion||(We.MetadataVersion={})),function(t){!function(t){!function(t){!function(t){!function(t){t[t.Sparse=0]="Sparse",t[t.Dense=1]="Dense"}(t.UnionMode||(t.UnionMode={}))}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(t){!function(t){!function(t){!function(t){t[t.HALF=0]="HALF",t[t.SINGLE=1]="SINGLE",t[t.DOUBLE=2]="DOUBLE"}(t.Precision||(t.Precision={}))}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(t){!function(t){!function(t){!function(t){t[t.DAY=0]="DAY",t[t.MILLISECOND=1]="MILLISECOND"}(t.DateUnit||(t.DateUnit={}))}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(t){!function(t){!function(t){!function(t){t[t.SECOND=0]="SECOND",t[t.MILLISECOND=1]="MILLISECOND",t[t.MICROSECOND=2]="MICROSECOND",t[t.NANOSECOND=3]="NANOSECOND"}(t.TimeUnit||(t.TimeUnit={}))}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(t){!function(t){!function(t){!function(t){t[t.YEAR_MONTH=0]="YEAR_MONTH",t[t.DAY_TIME=1]="DAY_TIME"}(t.IntervalUnit||(t.IntervalUnit={}))}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(t){!function(t){!function(t){!function(t){t[t.NONE=0]="NONE",t[t.Null=1]="Null",t[t.Int=2]="Int",t[t.FloatingPoint=3]="FloatingPoint",t[t.Binary=4]="Binary",t[t.Utf8=5]="Utf8",t[t.Bool=6]="Bool",t[t.Decimal=7]="Decimal",t[t.Date=8]="Date",t[t.Time=9]="Time",t[t.Timestamp=10]="Timestamp",t[t.Interval=11]="Interval",t[t.List=12]="List",t[t.Struct_=13]="Struct_",t[t.Union=14]="Union",t[t.FixedSizeBinary=15]="FixedSizeBinary",t[t.FixedSizeList=16]="FixedSizeList",t[t.Map=17]="Map",t[t.Duration=18]="Duration",t[t.LargeBinary=19]="LargeBinary",t[t.LargeUtf8=20]="LargeUtf8",t[t.LargeList=21]="LargeList"}(t.Type||(t.Type={}))}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(t){!function(t){!function(t){!function(t){t[t.Little=0]="Little",t[t.Big=1]="Big"}(t.Endianness||(t.Endianness={}))}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(t){!function(t){!function(t){var e=function(){function t(){B(this,t),this.bb=null,this.bb_pos=0}return C(t,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}}],[{key:"getRootAsNull",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startNull",value:function(t){t.startObject(0)}},{key:"endNull",value:function(t){return t.endObject()}},{key:"createNull",value:function(e){return t.startNull(e),t.endNull(e)}}]),t}();t.Null=e}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(t){!function(t){!function(t){var e=function(){function t(){B(this,t),this.bb=null,this.bb_pos=0}return C(t,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}}],[{key:"getRootAsStruct_",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startStruct_",value:function(t){t.startObject(0)}},{key:"endStruct_",value:function(t){return t.endObject()}},{key:"createStruct_",value:function(e){return t.startStruct_(e),t.endStruct_(e)}}]),t}();t.Struct_=e}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(t){!function(t){!function(t){var e=function(){function t(){B(this,t),this.bb=null,this.bb_pos=0}return C(t,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}}],[{key:"getRootAsList",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startList",value:function(t){t.startObject(0)}},{key:"endList",value:function(t){return t.endObject()}},{key:"createList",value:function(e){return t.startList(e),t.endList(e)}}]),t}();t.List=e}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(t){!function(t){!function(t){var e=function(){function t(){B(this,t),this.bb=null,this.bb_pos=0}return C(t,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}}],[{key:"getRootAsLargeList",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startLargeList",value:function(t){t.startObject(0)}},{key:"endLargeList",value:function(t){return t.endObject()}},{key:"createLargeList",value:function(e){return t.startLargeList(e),t.endLargeList(e)}}]),t}();t.LargeList=e}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(t){!function(t){!function(t){var e=function(){function t(){B(this,t),this.bb=null,this.bb_pos=0}return C(t,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}},{key:"listSize",value:function(){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.readInt32(this.bb_pos+t):0}}],[{key:"getRootAsFixedSizeList",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startFixedSizeList",value:function(t){t.startObject(1)}},{key:"addListSize",value:function(t,e){t.addFieldInt32(0,e,0)}},{key:"endFixedSizeList",value:function(t){return t.endObject()}},{key:"createFixedSizeList",value:function(e,n){return t.startFixedSizeList(e),t.addListSize(e,n),t.endFixedSizeList(e)}}]),t}();t.FixedSizeList=e}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(t){!function(t){!function(t){var e=function(){function t(){B(this,t),this.bb=null,this.bb_pos=0}return C(t,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}},{key:"keysSorted",value:function(){var t=this.bb.__offset(this.bb_pos,4);return!!t&&!!this.bb.readInt8(this.bb_pos+t)}}],[{key:"getRootAsMap",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startMap",value:function(t){t.startObject(1)}},{key:"addKeysSorted",value:function(t,e){t.addFieldInt8(0,+e,0)}},{key:"endMap",value:function(t){return t.endObject()}},{key:"createMap",value:function(e,n){return t.startMap(e),t.addKeysSorted(e,n),t.endMap(e)}}]),t}();t.Map=e}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(e){!function(e){!function(e){var n=function(){function e(){B(this,e),this.bb=null,this.bb_pos=0}return C(e,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}},{key:"mode",value:function(){var e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):t.apache.arrow.flatbuf.UnionMode.Sparse}},{key:"typeIds",value:function(t){var e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readInt32(this.bb.__vector(this.bb_pos+e)+4*t):0}},{key:"typeIdsLength",value:function(){var t=this.bb.__offset(this.bb_pos,6);return t?this.bb.__vector_len(this.bb_pos+t):0}},{key:"typeIdsArray",value:function(){var t=this.bb.__offset(this.bb_pos,6);return t?new Int32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+t),this.bb.__vector_len(this.bb_pos+t)):null}}],[{key:"getRootAsUnion",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startUnion",value:function(t){t.startObject(2)}},{key:"addMode",value:function(e,n){e.addFieldInt16(0,n,t.apache.arrow.flatbuf.UnionMode.Sparse)}},{key:"addTypeIds",value:function(t,e){t.addFieldOffset(1,e,0)}},{key:"createTypeIdsVector",value:function(t,e){t.startVector(4,e.length,4);for(var n=e.length-1;n>=0;n--)t.addInt32(e[n]);return t.endVector()}},{key:"startTypeIdsVector",value:function(t,e){t.startVector(4,e,4)}},{key:"endUnion",value:function(t){return t.endObject()}},{key:"createUnion",value:function(t,n,r){return e.startUnion(t),e.addMode(t,n),e.addTypeIds(t,r),e.endUnion(t)}}]),e}();e.Union=n}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(t){!function(t){!function(t){var e=function(){function t(){B(this,t),this.bb=null,this.bb_pos=0}return C(t,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}},{key:"bitWidth",value:function(){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.readInt32(this.bb_pos+t):0}},{key:"isSigned",value:function(){var t=this.bb.__offset(this.bb_pos,6);return!!t&&!!this.bb.readInt8(this.bb_pos+t)}}],[{key:"getRootAsInt",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startInt",value:function(t){t.startObject(2)}},{key:"addBitWidth",value:function(t,e){t.addFieldInt32(0,e,0)}},{key:"addIsSigned",value:function(t,e){t.addFieldInt8(1,+e,0)}},{key:"endInt",value:function(t){return t.endObject()}},{key:"createInt",value:function(e,n,r){return t.startInt(e),t.addBitWidth(e,n),t.addIsSigned(e,r),t.endInt(e)}}]),t}();t.Int=e}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(e){!function(e){!function(e){var n=function(){function e(){B(this,e),this.bb=null,this.bb_pos=0}return C(e,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}},{key:"precision",value:function(){var e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):t.apache.arrow.flatbuf.Precision.HALF}}],[{key:"getRootAsFloatingPoint",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startFloatingPoint",value:function(t){t.startObject(1)}},{key:"addPrecision",value:function(e,n){e.addFieldInt16(0,n,t.apache.arrow.flatbuf.Precision.HALF)}},{key:"endFloatingPoint",value:function(t){return t.endObject()}},{key:"createFloatingPoint",value:function(t,n){return e.startFloatingPoint(t),e.addPrecision(t,n),e.endFloatingPoint(t)}}]),e}();e.FloatingPoint=n}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(t){!function(t){!function(t){var e=function(){function t(){B(this,t),this.bb=null,this.bb_pos=0}return C(t,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}}],[{key:"getRootAsUtf8",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startUtf8",value:function(t){t.startObject(0)}},{key:"endUtf8",value:function(t){return t.endObject()}},{key:"createUtf8",value:function(e){return t.startUtf8(e),t.endUtf8(e)}}]),t}();t.Utf8=e}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(t){!function(t){!function(t){var e=function(){function t(){B(this,t),this.bb=null,this.bb_pos=0}return C(t,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}}],[{key:"getRootAsBinary",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startBinary",value:function(t){t.startObject(0)}},{key:"endBinary",value:function(t){return t.endObject()}},{key:"createBinary",value:function(e){return t.startBinary(e),t.endBinary(e)}}]),t}();t.Binary=e}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(t){!function(t){!function(t){var e=function(){function t(){B(this,t),this.bb=null,this.bb_pos=0}return C(t,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}}],[{key:"getRootAsLargeUtf8",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startLargeUtf8",value:function(t){t.startObject(0)}},{key:"endLargeUtf8",value:function(t){return t.endObject()}},{key:"createLargeUtf8",value:function(e){return t.startLargeUtf8(e),t.endLargeUtf8(e)}}]),t}();t.LargeUtf8=e}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(t){!function(t){!function(t){var e=function(){function t(){B(this,t),this.bb=null,this.bb_pos=0}return C(t,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}}],[{key:"getRootAsLargeBinary",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startLargeBinary",value:function(t){t.startObject(0)}},{key:"endLargeBinary",value:function(t){return t.endObject()}},{key:"createLargeBinary",value:function(e){return t.startLargeBinary(e),t.endLargeBinary(e)}}]),t}();t.LargeBinary=e}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(t){!function(t){!function(t){var e=function(){function t(){B(this,t),this.bb=null,this.bb_pos=0}return C(t,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}},{key:"byteWidth",value:function(){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.readInt32(this.bb_pos+t):0}}],[{key:"getRootAsFixedSizeBinary",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startFixedSizeBinary",value:function(t){t.startObject(1)}},{key:"addByteWidth",value:function(t,e){t.addFieldInt32(0,e,0)}},{key:"endFixedSizeBinary",value:function(t){return t.endObject()}},{key:"createFixedSizeBinary",value:function(e,n){return t.startFixedSizeBinary(e),t.addByteWidth(e,n),t.endFixedSizeBinary(e)}}]),t}();t.FixedSizeBinary=e}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(t){!function(t){!function(t){var e=function(){function t(){B(this,t),this.bb=null,this.bb_pos=0}return C(t,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}}],[{key:"getRootAsBool",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startBool",value:function(t){t.startObject(0)}},{key:"endBool",value:function(t){return t.endObject()}},{key:"createBool",value:function(e){return t.startBool(e),t.endBool(e)}}]),t}();t.Bool=e}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(t){!function(t){!function(t){var e=function(){function t(){B(this,t),this.bb=null,this.bb_pos=0}return C(t,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}},{key:"precision",value:function(){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.readInt32(this.bb_pos+t):0}},{key:"scale",value:function(){var t=this.bb.__offset(this.bb_pos,6);return t?this.bb.readInt32(this.bb_pos+t):0}}],[{key:"getRootAsDecimal",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startDecimal",value:function(t){t.startObject(2)}},{key:"addPrecision",value:function(t,e){t.addFieldInt32(0,e,0)}},{key:"addScale",value:function(t,e){t.addFieldInt32(1,e,0)}},{key:"endDecimal",value:function(t){return t.endObject()}},{key:"createDecimal",value:function(e,n,r){return t.startDecimal(e),t.addPrecision(e,n),t.addScale(e,r),t.endDecimal(e)}}]),t}();t.Decimal=e}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(e){!function(e){!function(e){var n=function(){function e(){B(this,e),this.bb=null,this.bb_pos=0}return C(e,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}},{key:"unit",value:function(){var e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):t.apache.arrow.flatbuf.DateUnit.MILLISECOND}}],[{key:"getRootAsDate",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startDate",value:function(t){t.startObject(1)}},{key:"addUnit",value:function(e,n){e.addFieldInt16(0,n,t.apache.arrow.flatbuf.DateUnit.MILLISECOND)}},{key:"endDate",value:function(t){return t.endObject()}},{key:"createDate",value:function(t,n){return e.startDate(t),e.addUnit(t,n),e.endDate(t)}}]),e}();e.Date=n}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(e){!function(e){!function(e){var n=function(){function e(){B(this,e),this.bb=null,this.bb_pos=0}return C(e,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}},{key:"unit",value:function(){var e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):t.apache.arrow.flatbuf.TimeUnit.MILLISECOND}},{key:"bitWidth",value:function(){var t=this.bb.__offset(this.bb_pos,6);return t?this.bb.readInt32(this.bb_pos+t):32}}],[{key:"getRootAsTime",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startTime",value:function(t){t.startObject(2)}},{key:"addUnit",value:function(e,n){e.addFieldInt16(0,n,t.apache.arrow.flatbuf.TimeUnit.MILLISECOND)}},{key:"addBitWidth",value:function(t,e){t.addFieldInt32(1,e,32)}},{key:"endTime",value:function(t){return t.endObject()}},{key:"createTime",value:function(t,n,r){return e.startTime(t),e.addUnit(t,n),e.addBitWidth(t,r),e.endTime(t)}}]),e}();e.Time=n}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(e){!function(e){!function(e){var n=function(){function e(){B(this,e),this.bb=null,this.bb_pos=0}return C(e,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}},{key:"unit",value:function(){var e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):t.apache.arrow.flatbuf.TimeUnit.SECOND}},{key:"timezone",value:function(t){var e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__string(this.bb_pos+e,t):null}}],[{key:"getRootAsTimestamp",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startTimestamp",value:function(t){t.startObject(2)}},{key:"addUnit",value:function(e,n){e.addFieldInt16(0,n,t.apache.arrow.flatbuf.TimeUnit.SECOND)}},{key:"addTimezone",value:function(t,e){t.addFieldOffset(1,e,0)}},{key:"endTimestamp",value:function(t){return t.endObject()}},{key:"createTimestamp",value:function(t,n,r){return e.startTimestamp(t),e.addUnit(t,n),e.addTimezone(t,r),e.endTimestamp(t)}}]),e}();e.Timestamp=n}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(e){!function(e){!function(e){var n=function(){function e(){B(this,e),this.bb=null,this.bb_pos=0}return C(e,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}},{key:"unit",value:function(){var e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):t.apache.arrow.flatbuf.IntervalUnit.YEAR_MONTH}}],[{key:"getRootAsInterval",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startInterval",value:function(t){t.startObject(1)}},{key:"addUnit",value:function(e,n){e.addFieldInt16(0,n,t.apache.arrow.flatbuf.IntervalUnit.YEAR_MONTH)}},{key:"endInterval",value:function(t){return t.endObject()}},{key:"createInterval",value:function(t,n){return e.startInterval(t),e.addUnit(t,n),e.endInterval(t)}}]),e}();e.Interval=n}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(e){!function(e){!function(e){var n=function(){function e(){B(this,e),this.bb=null,this.bb_pos=0}return C(e,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}},{key:"unit",value:function(){var e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):t.apache.arrow.flatbuf.TimeUnit.MILLISECOND}}],[{key:"getRootAsDuration",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startDuration",value:function(t){t.startObject(1)}},{key:"addUnit",value:function(e,n){e.addFieldInt16(0,n,t.apache.arrow.flatbuf.TimeUnit.MILLISECOND)}},{key:"endDuration",value:function(t){return t.endObject()}},{key:"createDuration",value:function(t,n){return e.startDuration(t),e.addUnit(t,n),e.endDuration(t)}}]),e}();e.Duration=n}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(t){!function(t){!function(t){var e=function(){function t(){B(this,t),this.bb=null,this.bb_pos=0}return C(t,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}},{key:"key",value:function(t){var e=this.bb.__offset(this.bb_pos,4);return e?this.bb.__string(this.bb_pos+e,t):null}},{key:"value",value:function(t){var e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__string(this.bb_pos+e,t):null}}],[{key:"getRootAsKeyValue",value:function(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startKeyValue",value:function(t){t.startObject(2)}},{key:"addKey",value:function(t,e){t.addFieldOffset(0,e,0)}},{key:"addValue",value:function(t,e){t.addFieldOffset(1,e,0)}},{key:"endKeyValue",value:function(t){return t.endObject()}},{key:"createKeyValue",value:function(e,n,r){return t.startKeyValue(e),t.addKey(e,n),t.addValue(e,r),t.endKeyValue(e)}}]),t}();t.KeyValue=e}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(e){!function(e){!function(e){var n=function(){function e(){B(this,e),this.bb=null,this.bb_pos=0}return C(e,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}},{key:"id",value:function(){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.readInt64(this.bb_pos+t):this.bb.createLong(0,0)}},{key:"indexType",value:function(e){var n=this.bb.__offset(this.bb_pos,6);return n?(e||new t.apache.arrow.flatbuf.Int).__init(this.bb.__indirect(this.bb_pos+n),this.bb):null}},{key:"isOrdered",value:function(){var t=this.bb.__offset(this.bb_pos,8);return!!t&&!!this.bb.readInt8(this.bb_pos+t)}}],[{key:"getRootAsDictionaryEncoding",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startDictionaryEncoding",value:function(t){t.startObject(3)}},{key:"addId",value:function(t,e){t.addFieldInt64(0,e,t.createLong(0,0))}},{key:"addIndexType",value:function(t,e){t.addFieldOffset(1,e,0)}},{key:"addIsOrdered",value:function(t,e){t.addFieldInt8(2,+e,0)}},{key:"endDictionaryEncoding",value:function(t){return t.endObject()}},{key:"createDictionaryEncoding",value:function(t,n,r,i){return e.startDictionaryEncoding(t),e.addId(t,n),e.addIndexType(t,r),e.addIsOrdered(t,i),e.endDictionaryEncoding(t)}}]),e}();e.DictionaryEncoding=n}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(e){!function(e){!function(e){var n=function(){function e(){B(this,e),this.bb=null,this.bb_pos=0}return C(e,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}},{key:"name",value:function(t){var e=this.bb.__offset(this.bb_pos,4);return e?this.bb.__string(this.bb_pos+e,t):null}},{key:"nullable",value:function(){var t=this.bb.__offset(this.bb_pos,6);return!!t&&!!this.bb.readInt8(this.bb_pos+t)}},{key:"typeType",value:function(){var e=this.bb.__offset(this.bb_pos,8);return e?this.bb.readUint8(this.bb_pos+e):t.apache.arrow.flatbuf.Type.NONE}},{key:"type",value:function(t){var e=this.bb.__offset(this.bb_pos,10);return e?this.bb.__union(t,this.bb_pos+e):null}},{key:"dictionary",value:function(e){var n=this.bb.__offset(this.bb_pos,12);return n?(e||new t.apache.arrow.flatbuf.DictionaryEncoding).__init(this.bb.__indirect(this.bb_pos+n),this.bb):null}},{key:"children",value:function(e,n){var r=this.bb.__offset(this.bb_pos,14);return r?(n||new t.apache.arrow.flatbuf.Field).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+r)+4*e),this.bb):null}},{key:"childrenLength",value:function(){var t=this.bb.__offset(this.bb_pos,14);return t?this.bb.__vector_len(this.bb_pos+t):0}},{key:"customMetadata",value:function(e,n){var r=this.bb.__offset(this.bb_pos,16);return r?(n||new t.apache.arrow.flatbuf.KeyValue).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+r)+4*e),this.bb):null}},{key:"customMetadataLength",value:function(){var t=this.bb.__offset(this.bb_pos,16);return t?this.bb.__vector_len(this.bb_pos+t):0}}],[{key:"getRootAsField",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startField",value:function(t){t.startObject(7)}},{key:"addName",value:function(t,e){t.addFieldOffset(0,e,0)}},{key:"addNullable",value:function(t,e){t.addFieldInt8(1,+e,0)}},{key:"addTypeType",value:function(e,n){e.addFieldInt8(2,n,t.apache.arrow.flatbuf.Type.NONE)}},{key:"addType",value:function(t,e){t.addFieldOffset(3,e,0)}},{key:"addDictionary",value:function(t,e){t.addFieldOffset(4,e,0)}},{key:"addChildren",value:function(t,e){t.addFieldOffset(5,e,0)}},{key:"createChildrenVector",value:function(t,e){t.startVector(4,e.length,4);for(var n=e.length-1;n>=0;n--)t.addOffset(e[n]);return t.endVector()}},{key:"startChildrenVector",value:function(t,e){t.startVector(4,e,4)}},{key:"addCustomMetadata",value:function(t,e){t.addFieldOffset(6,e,0)}},{key:"createCustomMetadataVector",value:function(t,e){t.startVector(4,e.length,4);for(var n=e.length-1;n>=0;n--)t.addOffset(e[n]);return t.endVector()}},{key:"startCustomMetadataVector",value:function(t,e){t.startVector(4,e,4)}},{key:"endField",value:function(t){return t.endObject()}},{key:"createField",value:function(t,n,r,i,o,a,u,s){return e.startField(t),e.addName(t,n),e.addNullable(t,r),e.addTypeType(t,i),e.addType(t,o),e.addDictionary(t,a),e.addChildren(t,u),e.addCustomMetadata(t,s),e.endField(t)}}]),e}();e.Field=n}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(t){!function(t){!function(t){var e=function(){function t(){B(this,t),this.bb=null,this.bb_pos=0}return C(t,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}},{key:"offset",value:function(){return this.bb.readInt64(this.bb_pos)}},{key:"length",value:function(){return this.bb.readInt64(this.bb_pos+8)}}],[{key:"createBuffer",value:function(t,e,n){return t.prep(8,16),t.writeInt64(n),t.writeInt64(e),t.offset()}}]),t}();t.Buffer=e}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(e){!function(e){!function(e){var n=function(){function e(){B(this,e),this.bb=null,this.bb_pos=0}return C(e,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}},{key:"endianness",value:function(){var e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):t.apache.arrow.flatbuf.Endianness.Little}},{key:"fields",value:function(e,n){var r=this.bb.__offset(this.bb_pos,6);return r?(n||new t.apache.arrow.flatbuf.Field).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+r)+4*e),this.bb):null}},{key:"fieldsLength",value:function(){var t=this.bb.__offset(this.bb_pos,6);return t?this.bb.__vector_len(this.bb_pos+t):0}},{key:"customMetadata",value:function(e,n){var r=this.bb.__offset(this.bb_pos,8);return r?(n||new t.apache.arrow.flatbuf.KeyValue).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+r)+4*e),this.bb):null}},{key:"customMetadataLength",value:function(){var t=this.bb.__offset(this.bb_pos,8);return t?this.bb.__vector_len(this.bb_pos+t):0}}],[{key:"getRootAsSchema",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startSchema",value:function(t){t.startObject(3)}},{key:"addEndianness",value:function(e,n){e.addFieldInt16(0,n,t.apache.arrow.flatbuf.Endianness.Little)}},{key:"addFields",value:function(t,e){t.addFieldOffset(1,e,0)}},{key:"createFieldsVector",value:function(t,e){t.startVector(4,e.length,4);for(var n=e.length-1;n>=0;n--)t.addOffset(e[n]);return t.endVector()}},{key:"startFieldsVector",value:function(t,e){t.startVector(4,e,4)}},{key:"addCustomMetadata",value:function(t,e){t.addFieldOffset(2,e,0)}},{key:"createCustomMetadataVector",value:function(t,e){t.startVector(4,e.length,4);for(var n=e.length-1;n>=0;n--)t.addOffset(e[n]);return t.endVector()}},{key:"startCustomMetadataVector",value:function(t,e){t.startVector(4,e,4)}},{key:"endSchema",value:function(t){return t.endObject()}},{key:"finishSchemaBuffer",value:function(t,e){t.finish(e)}},{key:"createSchema",value:function(t,n,r,i){return e.startSchema(t),e.addEndianness(t,n),e.addFields(t,r),e.addCustomMetadata(t,i),e.endSchema(t)}}]),e}();e.Schema=n}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(t.apache||(t.apache={}))}(Ge||(Ge={})),function(t){!function(t){!function(t){!function(t){t.Schema=Ge.apache.arrow.flatbuf.Schema}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(t.apache||(t.apache={}))}(Ke||(Ke={})),function(t){!function(t){!function(t){!function(t){!function(t){t[t.NONE=0]="NONE",t[t.Schema=1]="Schema",t[t.DictionaryBatch=2]="DictionaryBatch",t[t.RecordBatch=3]="RecordBatch",t[t.Tensor=4]="Tensor",t[t.SparseTensor=5]="SparseTensor"}(t.MessageHeader||(t.MessageHeader={}))}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(t.apache||(t.apache={}))}(Ke||(Ke={})),function(t){!function(t){!function(t){!function(t){var e=function(){function t(){B(this,t),this.bb=null,this.bb_pos=0}return C(t,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}},{key:"length",value:function(){return this.bb.readInt64(this.bb_pos)}},{key:"nullCount",value:function(){return this.bb.readInt64(this.bb_pos+8)}}],[{key:"createFieldNode",value:function(t,e,n){return t.prep(8,16),t.writeInt64(n),t.writeInt64(e),t.offset()}}]),t}();t.FieldNode=e}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(t.apache||(t.apache={}))}(Ke||(Ke={})),function(t){!function(e){!function(e){!function(e){var n=function(){function e(){B(this,e),this.bb=null,this.bb_pos=0}return C(e,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}},{key:"length",value:function(){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.readInt64(this.bb_pos+t):this.bb.createLong(0,0)}},{key:"nodes",value:function(e,n){var r=this.bb.__offset(this.bb_pos,6);return r?(n||new t.apache.arrow.flatbuf.FieldNode).__init(this.bb.__vector(this.bb_pos+r)+16*e,this.bb):null}},{key:"nodesLength",value:function(){var t=this.bb.__offset(this.bb_pos,6);return t?this.bb.__vector_len(this.bb_pos+t):0}},{key:"buffers",value:function(t,e){var n=this.bb.__offset(this.bb_pos,8);return n?(e||new Ge.apache.arrow.flatbuf.Buffer).__init(this.bb.__vector(this.bb_pos+n)+16*t,this.bb):null}},{key:"buffersLength",value:function(){var t=this.bb.__offset(this.bb_pos,8);return t?this.bb.__vector_len(this.bb_pos+t):0}}],[{key:"getRootAsRecordBatch",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startRecordBatch",value:function(t){t.startObject(3)}},{key:"addLength",value:function(t,e){t.addFieldInt64(0,e,t.createLong(0,0))}},{key:"addNodes",value:function(t,e){t.addFieldOffset(1,e,0)}},{key:"startNodesVector",value:function(t,e){t.startVector(16,e,8)}},{key:"addBuffers",value:function(t,e){t.addFieldOffset(2,e,0)}},{key:"startBuffersVector",value:function(t,e){t.startVector(16,e,8)}},{key:"endRecordBatch",value:function(t){return t.endObject()}},{key:"createRecordBatch",value:function(t,n,r,i){return e.startRecordBatch(t),e.addLength(t,n),e.addNodes(t,r),e.addBuffers(t,i),e.endRecordBatch(t)}}]),e}();e.RecordBatch=n}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(t.apache||(t.apache={}))}(Ke||(Ke={})),function(t){!function(e){!function(e){!function(e){var n=function(){function e(){B(this,e),this.bb=null,this.bb_pos=0}return C(e,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}},{key:"id",value:function(){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.readInt64(this.bb_pos+t):this.bb.createLong(0,0)}},{key:"data",value:function(e){var n=this.bb.__offset(this.bb_pos,6);return n?(e||new t.apache.arrow.flatbuf.RecordBatch).__init(this.bb.__indirect(this.bb_pos+n),this.bb):null}},{key:"isDelta",value:function(){var t=this.bb.__offset(this.bb_pos,8);return!!t&&!!this.bb.readInt8(this.bb_pos+t)}}],[{key:"getRootAsDictionaryBatch",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startDictionaryBatch",value:function(t){t.startObject(3)}},{key:"addId",value:function(t,e){t.addFieldInt64(0,e,t.createLong(0,0))}},{key:"addData",value:function(t,e){t.addFieldOffset(1,e,0)}},{key:"addIsDelta",value:function(t,e){t.addFieldInt8(2,+e,0)}},{key:"endDictionaryBatch",value:function(t){return t.endObject()}},{key:"createDictionaryBatch",value:function(t,n,r,i){return e.startDictionaryBatch(t),e.addId(t,n),e.addData(t,r),e.addIsDelta(t,i),e.endDictionaryBatch(t)}}]),e}();e.DictionaryBatch=n}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(t.apache||(t.apache={}))}(Ke||(Ke={})),function(t){!function(e){!function(e){!function(e){var n=function(){function e(){B(this,e),this.bb=null,this.bb_pos=0}return C(e,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}},{key:"version",value:function(){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.readInt16(this.bb_pos+t):Ge.apache.arrow.flatbuf.MetadataVersion.V1}},{key:"headerType",value:function(){var e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readUint8(this.bb_pos+e):t.apache.arrow.flatbuf.MessageHeader.NONE}},{key:"header",value:function(t){var e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__union(t,this.bb_pos+e):null}},{key:"bodyLength",value:function(){var t=this.bb.__offset(this.bb_pos,10);return t?this.bb.readInt64(this.bb_pos+t):this.bb.createLong(0,0)}},{key:"customMetadata",value:function(t,e){var n=this.bb.__offset(this.bb_pos,12);return n?(e||new Ge.apache.arrow.flatbuf.KeyValue).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+4*t),this.bb):null}},{key:"customMetadataLength",value:function(){var t=this.bb.__offset(this.bb_pos,12);return t?this.bb.__vector_len(this.bb_pos+t):0}}],[{key:"getRootAsMessage",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startMessage",value:function(t){t.startObject(5)}},{key:"addVersion",value:function(t,e){t.addFieldInt16(0,e,Ge.apache.arrow.flatbuf.MetadataVersion.V1)}},{key:"addHeaderType",value:function(e,n){e.addFieldInt8(1,n,t.apache.arrow.flatbuf.MessageHeader.NONE)}},{key:"addHeader",value:function(t,e){t.addFieldOffset(2,e,0)}},{key:"addBodyLength",value:function(t,e){t.addFieldInt64(3,e,t.createLong(0,0))}},{key:"addCustomMetadata",value:function(t,e){t.addFieldOffset(4,e,0)}},{key:"createCustomMetadataVector",value:function(t,e){t.startVector(4,e.length,4);for(var n=e.length-1;n>=0;n--)t.addOffset(e[n]);return t.endVector()}},{key:"startCustomMetadataVector",value:function(t,e){t.startVector(4,e,4)}},{key:"endMessage",value:function(t){return t.endObject()}},{key:"finishMessageBuffer",value:function(t,e){t.finish(e)}},{key:"createMessage",value:function(t,n,r,i,o,a){return e.startMessage(t),e.addVersion(t,n),e.addHeaderType(t,r),e.addHeader(t,i),e.addBodyLength(t,o),e.addCustomMetadata(t,a),e.endMessage(t)}}]),e}();e.Message=n}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(t.apache||(t.apache={}))}(Ke||(Ke={}));Ge.apache.arrow.flatbuf.Type;var Qe,Je,Xe=Ge.apache.arrow.flatbuf.DateUnit,Ze=Ge.apache.arrow.flatbuf.TimeUnit,tn=Ge.apache.arrow.flatbuf.Precision,en=Ge.apache.arrow.flatbuf.UnionMode,nn=Ge.apache.arrow.flatbuf.IntervalUnit,rn=Ke.apache.arrow.flatbuf.MessageHeader,on=Ge.apache.arrow.flatbuf.MetadataVersion;function an(){an=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(L){s=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),u=new E(i||[]);return r(a,"_invoke",{value:k(t,n,u)}),a}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(L){return{type:"throw",arg:L}}}t.wrap=c;var f={};function h(){}function d(){}function p(){}var y={};s(y,o,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(T([])));b&&b!==e&&n.call(b,o)&&(y=b);var g=p.prototype=h.prototype=Object.create(y);function m(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var i;r(this,"_invoke",{value:function(r,o){function a(){return new e((function(i,a){!function r(i,o,a,u){var s=l(t[i],t,o);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}(r,o,i,a)}))}return i=i?i.then(a,a):a()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return O()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var u=_(a,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(t,e,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function _(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=l(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function T(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return d.prototype=p,r(g,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:d,configurable:!0}),d.displayName=s(p,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,s(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},m(w.prototype),s(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},m(g),s(g,u,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=T,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),s=n.call(o,"finallyLoc");if(u&&s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:T(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}!function(t){t[t.NONE=0]="NONE",t[t.Null=1]="Null",t[t.Int=2]="Int",t[t.Float=3]="Float",t[t.Binary=4]="Binary",t[t.Utf8=5]="Utf8",t[t.Bool=6]="Bool",t[t.Decimal=7]="Decimal",t[t.Date=8]="Date",t[t.Time=9]="Time",t[t.Timestamp=10]="Timestamp",t[t.Interval=11]="Interval",t[t.List=12]="List",t[t.Struct=13]="Struct",t[t.Union=14]="Union",t[t.FixedSizeBinary=15]="FixedSizeBinary",t[t.FixedSizeList=16]="FixedSizeList",t[t.Map=17]="Map",t[t.Dictionary=-1]="Dictionary",t[t.Int8=-2]="Int8",t[t.Int16=-3]="Int16",t[t.Int32=-4]="Int32",t[t.Int64=-5]="Int64",t[t.Uint8=-6]="Uint8",t[t.Uint16=-7]="Uint16",t[t.Uint32=-8]="Uint32",t[t.Uint64=-9]="Uint64",t[t.Float16=-10]="Float16",t[t.Float32=-11]="Float32",t[t.Float64=-12]="Float64",t[t.DateDay=-13]="DateDay",t[t.DateMillisecond=-14]="DateMillisecond",t[t.TimestampSecond=-15]="TimestampSecond",t[t.TimestampMillisecond=-16]="TimestampMillisecond",t[t.TimestampMicrosecond=-17]="TimestampMicrosecond",t[t.TimestampNanosecond=-18]="TimestampNanosecond",t[t.TimeSecond=-19]="TimeSecond",t[t.TimeMillisecond=-20]="TimeMillisecond",t[t.TimeMicrosecond=-21]="TimeMicrosecond",t[t.TimeNanosecond=-22]="TimeNanosecond",t[t.DenseUnion=-23]="DenseUnion",t[t.SparseUnion=-24]="SparseUnion",t[t.IntervalDayTime=-25]="IntervalDayTime",t[t.IntervalYearMonth=-26]="IntervalYearMonth"}(Qe||(Qe={})),function(t){t[t.OFFSET=0]="OFFSET",t[t.DATA=1]="DATA",t[t.VALIDITY=2]="VALIDITY",t[t.TYPE=3]="TYPE"}(Je||(Je={}));var un=an().mark(dn);function sn(t,e,n,r){return 0!==(n&1<<r)}function cn(t,e,n,r){return(n&1<<r)>>r}function ln(t,e,n){return n?!!(t[e>>3]|=1<<e%8)||!0:!(t[e>>3]&=~(1<<e%8))&&!1}function fn(t,e,n){var r=n.byteLength+7&-8;if(t>0||n.byteLength<r){var i=new Uint8Array(r);return i.set(t%8===0?n.subarray(t>>3):hn(dn(n,t,e,null,sn)).subarray(0,r)),i}return n}function hn(t){var e,n=[],r=0,i=0,o=0,a=A(t);try{for(a.s();!(e=a.n()).done;){e.value&&(o|=1<<i),8===++i&&(n[r++]=o,o=i=0)}}catch(s){a.e(s)}finally{a.f()}(0===r||i>0)&&(n[r++]=o);var u=new Uint8Array(n.length+7&-8);return u.set(n),u}function dn(t,e,n,r,i){var o,a,u,s,c;return an().wrap((function(l){for(;;)switch(l.prev=l.next){case 0:o=e%8,a=e>>3,u=0,s=n;case 3:if(!(s>0)){l.next=11;break}c=t[a++];case 5:return l.next=7,i(r,u++,c,o);case 7:if(--s>0&&++o<8){l.next=5;break}case 8:o=0,l.next=3;break;case 11:case"end":return l.stop()}}),un)}function pn(t,e,n){if(n-e<=0)return 0;if(n-e<8){var r,i=0,o=A(dn(t,e,n-e,t,cn));try{for(o.s();!(r=o.n()).done;){i+=r.value}}catch(s){o.e(s)}finally{o.f()}return i}var a=n>>3<<3,u=e+(e%8===0?0:8-e%8);return pn(t,e,u)+pn(t,a,n)+yn(t,u>>3,a-u>>3)}function yn(t,e,n){for(var r=0,i=0|e,o=new DataView(t.buffer,t.byteOffset,t.byteLength),a=void 0===n?t.byteLength:i+n;a-i>=4;)r+=vn(o.getUint32(i)),i+=4;for(;a-i>=2;)r+=vn(o.getUint16(i)),i+=2;for(;a-i>=1;)r+=vn(o.getUint8(i)),i+=1;return r}function vn(t){var e=0|t;return 16843009*((e=(858993459&(e-=e>>>1&1431655765))+(e>>>2&858993459))+(e>>>4)&252645135)>>>24}var bn=n(17);function gn(t){return function(t){if(Array.isArray(t))return Object(bn.a)(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||Object(I.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var mn=function(){function t(){B(this,t)}return C(t,[{key:"visitMany",value:function(t){for(var e=this,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.map((function(t,n){return e.visit.apply(e,[t].concat(gn(r.map((function(t){return t[n]})))))}))}},{key:"visit",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.getVisitFn(e[0],!1).apply(this,e)}},{key:"getVisitFn",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return wn(this,t,e)}},{key:"visitNull",value:function(t){return null}},{key:"visitBool",value:function(t){return null}},{key:"visitInt",value:function(t){return null}},{key:"visitFloat",value:function(t){return null}},{key:"visitUtf8",value:function(t){return null}},{key:"visitBinary",value:function(t){return null}},{key:"visitFixedSizeBinary",value:function(t){return null}},{key:"visitDate",value:function(t){return null}},{key:"visitTimestamp",value:function(t){return null}},{key:"visitTime",value:function(t){return null}},{key:"visitDecimal",value:function(t){return null}},{key:"visitList",value:function(t){return null}},{key:"visitStruct",value:function(t){return null}},{key:"visitUnion",value:function(t){return null}},{key:"visitDictionary",value:function(t){return null}},{key:"visitInterval",value:function(t){return null}},{key:"visitFixedSizeList",value:function(t){return null}},{key:"visitMap",value:function(t){return null}}]),t}();function wn(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=null,i=Qe.NONE;switch(e instanceof yr||e instanceof qe?i=kn(e.type):e instanceof Pn?i=kn(e):"number"!==typeof(i=e)&&(i=Qe[e]),i){case Qe.Null:r=t.visitNull;break;case Qe.Bool:r=t.visitBool;break;case Qe.Int:r=t.visitInt;break;case Qe.Int8:r=t.visitInt8||t.visitInt;break;case Qe.Int16:r=t.visitInt16||t.visitInt;break;case Qe.Int32:r=t.visitInt32||t.visitInt;break;case Qe.Int64:r=t.visitInt64||t.visitInt;break;case Qe.Uint8:r=t.visitUint8||t.visitInt;break;case Qe.Uint16:r=t.visitUint16||t.visitInt;break;case Qe.Uint32:r=t.visitUint32||t.visitInt;break;case Qe.Uint64:r=t.visitUint64||t.visitInt;break;case Qe.Float:r=t.visitFloat;break;case Qe.Float16:r=t.visitFloat16||t.visitFloat;break;case Qe.Float32:r=t.visitFloat32||t.visitFloat;break;case Qe.Float64:r=t.visitFloat64||t.visitFloat;break;case Qe.Utf8:r=t.visitUtf8;break;case Qe.Binary:r=t.visitBinary;break;case Qe.FixedSizeBinary:r=t.visitFixedSizeBinary;break;case Qe.Date:r=t.visitDate;break;case Qe.DateDay:r=t.visitDateDay||t.visitDate;break;case Qe.DateMillisecond:r=t.visitDateMillisecond||t.visitDate;break;case Qe.Timestamp:r=t.visitTimestamp;break;case Qe.TimestampSecond:r=t.visitTimestampSecond||t.visitTimestamp;break;case Qe.TimestampMillisecond:r=t.visitTimestampMillisecond||t.visitTimestamp;break;case Qe.TimestampMicrosecond:r=t.visitTimestampMicrosecond||t.visitTimestamp;break;case Qe.TimestampNanosecond:r=t.visitTimestampNanosecond||t.visitTimestamp;break;case Qe.Time:r=t.visitTime;break;case Qe.TimeSecond:r=t.visitTimeSecond||t.visitTime;break;case Qe.TimeMillisecond:r=t.visitTimeMillisecond||t.visitTime;break;case Qe.TimeMicrosecond:r=t.visitTimeMicrosecond||t.visitTime;break;case Qe.TimeNanosecond:r=t.visitTimeNanosecond||t.visitTime;break;case Qe.Decimal:r=t.visitDecimal;break;case Qe.List:r=t.visitList;break;case Qe.Struct:r=t.visitStruct;break;case Qe.Union:r=t.visitUnion;break;case Qe.DenseUnion:r=t.visitDenseUnion||t.visitUnion;break;case Qe.SparseUnion:r=t.visitSparseUnion||t.visitUnion;break;case Qe.Dictionary:r=t.visitDictionary;break;case Qe.Interval:r=t.visitInterval;break;case Qe.IntervalDayTime:r=t.visitIntervalDayTime||t.visitInterval;break;case Qe.IntervalYearMonth:r=t.visitIntervalYearMonth||t.visitInterval;break;case Qe.FixedSizeList:r=t.visitFixedSizeList;break;case Qe.Map:r=t.visitMap}if("function"===typeof r)return r;if(!n)return function(){return null};throw new Error("Unrecognized type '".concat(Qe[i],"'"))}function kn(t){switch(t.typeId){case Qe.Null:return Qe.Null;case Qe.Int:var e=t.bitWidth,n=t.isSigned;switch(e){case 8:return n?Qe.Int8:Qe.Uint8;case 16:return n?Qe.Int16:Qe.Uint16;case 32:return n?Qe.Int32:Qe.Uint32;case 64:return n?Qe.Int64:Qe.Uint64}return Qe.Int;case Qe.Float:switch(t.precision){case tn.HALF:return Qe.Float16;case tn.SINGLE:return Qe.Float32;case tn.DOUBLE:return Qe.Float64}return Qe.Float;case Qe.Binary:return Qe.Binary;case Qe.Utf8:return Qe.Utf8;case Qe.Bool:return Qe.Bool;case Qe.Decimal:return Qe.Decimal;case Qe.Time:switch(t.unit){case Ze.SECOND:return Qe.TimeSecond;case Ze.MILLISECOND:return Qe.TimeMillisecond;case Ze.MICROSECOND:return Qe.TimeMicrosecond;case Ze.NANOSECOND:return Qe.TimeNanosecond}return Qe.Time;case Qe.Timestamp:switch(t.unit){case Ze.SECOND:return Qe.TimestampSecond;case Ze.MILLISECOND:return Qe.TimestampMillisecond;case Ze.MICROSECOND:return Qe.TimestampMicrosecond;case Ze.NANOSECOND:return Qe.TimestampNanosecond}return Qe.Timestamp;case Qe.Date:switch(t.unit){case Xe.DAY:return Qe.DateDay;case Xe.MILLISECOND:return Qe.DateMillisecond}return Qe.Date;case Qe.Interval:switch(t.unit){case nn.DAY_TIME:return Qe.IntervalDayTime;case nn.YEAR_MONTH:return Qe.IntervalYearMonth}return Qe.Interval;case Qe.Map:return Qe.Map;case Qe.List:return Qe.List;case Qe.Struct:return Qe.Struct;case Qe.Union:switch(t.mode){case en.Dense:return Qe.DenseUnion;case en.Sparse:return Qe.SparseUnion}return Qe.Union;case Qe.FixedSizeBinary:return Qe.FixedSizeBinary;case Qe.FixedSizeList:return Qe.FixedSizeList;case Qe.Dictionary:return Qe.Dictionary}throw new Error("Unrecognized type '".concat(Qe[t.typeId],"'"))}mn.prototype.visitInt8=null,mn.prototype.visitInt16=null,mn.prototype.visitInt32=null,mn.prototype.visitInt64=null,mn.prototype.visitUint8=null,mn.prototype.visitUint16=null,mn.prototype.visitUint32=null,mn.prototype.visitUint64=null,mn.prototype.visitFloat16=null,mn.prototype.visitFloat32=null,mn.prototype.visitFloat64=null,mn.prototype.visitDateDay=null,mn.prototype.visitDateMillisecond=null,mn.prototype.visitTimestampSecond=null,mn.prototype.visitTimestampMillisecond=null,mn.prototype.visitTimestampMicrosecond=null,mn.prototype.visitTimestampNanosecond=null,mn.prototype.visitTimeSecond=null,mn.prototype.visitTimeMillisecond=null,mn.prototype.visitTimeMicrosecond=null,mn.prototype.visitTimeNanosecond=null,mn.prototype.visitDenseUnion=null,mn.prototype.visitSparseUnion=null,mn.prototype.visitIntervalDayTime=null,mn.prototype.visitIntervalYearMonth=null;var _n=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,[{key:"compareSchemas",value:function(t,e){return t===e||e instanceof t.constructor&&Bn.compareFields(t.fields,e.fields)}},{key:"compareFields",value:function(t,e){return t===e||Array.isArray(t)&&Array.isArray(e)&&t.length===e.length&&t.every((function(t,n){return Bn.compareField(t,e[n])}))}},{key:"compareField",value:function(t,e){return t===e||e instanceof t.constructor&&t.name===e.name&&t.nullable===e.nullable&&Bn.visit(t.type,e.type)}}]),n}(mn);function xn(t,e){return e instanceof t.constructor}function Sn(t,e){return t===e||xn(t,e)}function En(t,e){return t===e||xn(t,e)&&t.bitWidth===e.bitWidth&&t.isSigned===e.isSigned}function Tn(t,e){return t===e||xn(t,e)&&t.precision===e.precision}function On(t,e){return t===e||xn(t,e)&&t.unit===e.unit}function Ln(t,e){return t===e||xn(t,e)&&t.unit===e.unit&&t.timezone===e.timezone}function In(t,e){return t===e||xn(t,e)&&t.unit===e.unit&&t.bitWidth===e.bitWidth}function An(t,e){return t===e||xn(t,e)&&t.mode===e.mode&&t.typeIds.every((function(t,n){return t===e.typeIds[n]}))&&Bn.compareFields(t.children,e.children)}function jn(t,e){return t===e||xn(t,e)&&t.unit===e.unit}_n.prototype.visitNull=Sn,_n.prototype.visitBool=Sn,_n.prototype.visitInt=En,_n.prototype.visitInt8=En,_n.prototype.visitInt16=En,_n.prototype.visitInt32=En,_n.prototype.visitInt64=En,_n.prototype.visitUint8=En,_n.prototype.visitUint16=En,_n.prototype.visitUint32=En,_n.prototype.visitUint64=En,_n.prototype.visitFloat=Tn,_n.prototype.visitFloat16=Tn,_n.prototype.visitFloat32=Tn,_n.prototype.visitFloat64=Tn,_n.prototype.visitUtf8=Sn,_n.prototype.visitBinary=Sn,_n.prototype.visitFixedSizeBinary=function(t,e){return t===e||xn(t,e)&&t.byteWidth===e.byteWidth},_n.prototype.visitDate=On,_n.prototype.visitDateDay=On,_n.prototype.visitDateMillisecond=On,_n.prototype.visitTimestamp=Ln,_n.prototype.visitTimestampSecond=Ln,_n.prototype.visitTimestampMillisecond=Ln,_n.prototype.visitTimestampMicrosecond=Ln,_n.prototype.visitTimestampNanosecond=Ln,_n.prototype.visitTime=In,_n.prototype.visitTimeSecond=In,_n.prototype.visitTimeMillisecond=In,_n.prototype.visitTimeMicrosecond=In,_n.prototype.visitTimeNanosecond=In,_n.prototype.visitDecimal=Sn,_n.prototype.visitList=function(t,e){return t===e||xn(t,e)&&t.children.length===e.children.length&&Bn.compareFields(t.children,e.children)},_n.prototype.visitStruct=function(t,e){return t===e||xn(t,e)&&t.children.length===e.children.length&&Bn.compareFields(t.children,e.children)},_n.prototype.visitUnion=An,_n.prototype.visitDenseUnion=An,_n.prototype.visitSparseUnion=An,_n.prototype.visitDictionary=function(t,e){return t===e||xn(t,e)&&t.id===e.id&&t.isOrdered===e.isOrdered&&Bn.visit(t.indices,e.indices)&&Bn.visit(t.dictionary,e.dictionary)},_n.prototype.visitInterval=jn,_n.prototype.visitIntervalDayTime=jn,_n.prototype.visitIntervalYearMonth=jn,_n.prototype.visitFixedSizeList=function(t,e){return t===e||xn(t,e)&&t.listSize===e.listSize&&t.children.length===e.children.length&&Bn.compareFields(t.children,e.children)},_n.prototype.visitMap=function(t,e){return t===e||xn(t,e)&&t.keysSorted===e.keysSorted&&t.children.length===e.children.length&&Bn.compareFields(t.children,e.children)};var Nn,Bn=new _n,Pn=function(){function t(){B(this,t)}return C(t,[{key:"typeId",get:function(){return Qe.NONE}},{key:"compareTo",value:function(t){return Bn.visit(this,t)}}],[{key:"isNull",value:function(t){return t&&t.typeId===Qe.Null}},{key:"isInt",value:function(t){return t&&t.typeId===Qe.Int}},{key:"isFloat",value:function(t){return t&&t.typeId===Qe.Float}},{key:"isBinary",value:function(t){return t&&t.typeId===Qe.Binary}},{key:"isUtf8",value:function(t){return t&&t.typeId===Qe.Utf8}},{key:"isBool",value:function(t){return t&&t.typeId===Qe.Bool}},{key:"isDecimal",value:function(t){return t&&t.typeId===Qe.Decimal}},{key:"isDate",value:function(t){return t&&t.typeId===Qe.Date}},{key:"isTime",value:function(t){return t&&t.typeId===Qe.Time}},{key:"isTimestamp",value:function(t){return t&&t.typeId===Qe.Timestamp}},{key:"isInterval",value:function(t){return t&&t.typeId===Qe.Interval}},{key:"isList",value:function(t){return t&&t.typeId===Qe.List}},{key:"isStruct",value:function(t){return t&&t.typeId===Qe.Struct}},{key:"isUnion",value:function(t){return t&&t.typeId===Qe.Union}},{key:"isFixedSizeBinary",value:function(t){return t&&t.typeId===Qe.FixedSizeBinary}},{key:"isFixedSizeList",value:function(t){return t&&t.typeId===Qe.FixedSizeList}},{key:"isMap",value:function(t){return t&&t.typeId===Qe.Map}},{key:"isDictionary",value:function(t){return t&&t.typeId===Qe.Dictionary}}]),t}();Pn[Symbol.toStringTag]=((Nn=Pn.prototype).children=null,Nn.ArrayType=Array,Nn[Symbol.toStringTag]="DataType");var Cn=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,[{key:"toString",value:function(){return"Null"}},{key:"typeId",get:function(){return Qe.Null}}]),n}(Pn);Cn[Symbol.toStringTag]=function(t){return t[Symbol.toStringTag]="Null"}(Cn.prototype);var Fn=function(t){nt(n,t);var e=st(n);function n(t,r){var i;return B(this,n),(i=e.call(this)).isSigned=t,i.bitWidth=r,i}return C(n,[{key:"typeId",get:function(){return Qe.Int}},{key:"ArrayType",get:function(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array;case 16:return this.isSigned?Int16Array:Uint16Array;case 32:case 64:return this.isSigned?Int32Array:Uint32Array}throw new Error("Unrecognized ".concat(this[Symbol.toStringTag]," type"))}},{key:"toString",value:function(){return"".concat(this.isSigned?"I":"Ui","nt").concat(this.bitWidth)}}]),n}(Pn);Fn[Symbol.toStringTag]=function(t){return t.isSigned=null,t.bitWidth=null,t[Symbol.toStringTag]="Int"}(Fn.prototype);var Dn=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.call(this,!0,8)}return C(n)}(Fn),Mn=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.call(this,!0,16)}return C(n)}(Fn),Rn=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.call(this,!0,32)}return C(n)}(Fn),Un=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.call(this,!0,64)}return C(n)}(Fn),zn=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.call(this,!1,8)}return C(n)}(Fn),Vn=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.call(this,!1,16)}return C(n)}(Fn),Gn=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.call(this,!1,32)}return C(n)}(Fn),Wn=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.call(this,!1,64)}return C(n)}(Fn);Object.defineProperty(Dn.prototype,"ArrayType",{value:Int8Array}),Object.defineProperty(Mn.prototype,"ArrayType",{value:Int16Array}),Object.defineProperty(Rn.prototype,"ArrayType",{value:Int32Array}),Object.defineProperty(Un.prototype,"ArrayType",{value:Int32Array}),Object.defineProperty(zn.prototype,"ArrayType",{value:Uint8Array}),Object.defineProperty(Vn.prototype,"ArrayType",{value:Uint16Array}),Object.defineProperty(Gn.prototype,"ArrayType",{value:Uint32Array}),Object.defineProperty(Wn.prototype,"ArrayType",{value:Uint32Array});var Yn=function(t){nt(n,t);var e=st(n);function n(t){var r;return B(this,n),(r=e.call(this)).precision=t,r}return C(n,[{key:"typeId",get:function(){return Qe.Float}},{key:"ArrayType",get:function(){switch(this.precision){case tn.HALF:return Uint16Array;case tn.SINGLE:return Float32Array;case tn.DOUBLE:return Float64Array}throw new Error("Unrecognized ".concat(this[Symbol.toStringTag]," type"))}},{key:"toString",value:function(){return"Float".concat(this.precision<<5||16)}}]),n}(Pn);Yn[Symbol.toStringTag]=function(t){return t.precision=null,t[Symbol.toStringTag]="Float"}(Yn.prototype);var Hn=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.call(this,tn.HALF)}return C(n)}(Yn),$n=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.call(this,tn.SINGLE)}return C(n)}(Yn),Kn=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.call(this,tn.DOUBLE)}return C(n)}(Yn);Object.defineProperty(Hn.prototype,"ArrayType",{value:Uint16Array}),Object.defineProperty($n.prototype,"ArrayType",{value:Float32Array}),Object.defineProperty(Kn.prototype,"ArrayType",{value:Float64Array});var qn=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.call(this)}return C(n,[{key:"typeId",get:function(){return Qe.Binary}},{key:"toString",value:function(){return"Binary"}}]),n}(Pn);qn[Symbol.toStringTag]=function(t){return t.ArrayType=Uint8Array,t[Symbol.toStringTag]="Binary"}(qn.prototype);var Qn=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.call(this)}return C(n,[{key:"typeId",get:function(){return Qe.Utf8}},{key:"toString",value:function(){return"Utf8"}}]),n}(Pn);Qn[Symbol.toStringTag]=function(t){return t.ArrayType=Uint8Array,t[Symbol.toStringTag]="Utf8"}(Qn.prototype);var Jn=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.call(this)}return C(n,[{key:"typeId",get:function(){return Qe.Bool}},{key:"toString",value:function(){return"Bool"}}]),n}(Pn);Jn[Symbol.toStringTag]=function(t){return t.ArrayType=Uint8Array,t[Symbol.toStringTag]="Bool"}(Jn.prototype);var Xn=function(t){nt(n,t);var e=st(n);function n(t,r){var i;return B(this,n),(i=e.call(this)).scale=t,i.precision=r,i}return C(n,[{key:"typeId",get:function(){return Qe.Decimal}},{key:"toString",value:function(){return"Decimal[".concat(this.precision,"e").concat(this.scale>0?"+":"").concat(this.scale,"]")}}]),n}(Pn);Xn[Symbol.toStringTag]=function(t){return t.scale=null,t.precision=null,t.ArrayType=Uint32Array,t[Symbol.toStringTag]="Decimal"}(Xn.prototype);var Zn=function(t){nt(n,t);var e=st(n);function n(t){var r;return B(this,n),(r=e.call(this)).unit=t,r}return C(n,[{key:"typeId",get:function(){return Qe.Date}},{key:"toString",value:function(){return"Date".concat(32*(this.unit+1),"<").concat(Xe[this.unit],">")}}]),n}(Pn);Zn[Symbol.toStringTag]=function(t){return t.unit=null,t.ArrayType=Int32Array,t[Symbol.toStringTag]="Date"}(Zn.prototype);var tr=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.call(this,Xe.DAY)}return C(n)}(Zn),er=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.call(this,Xe.MILLISECOND)}return C(n)}(Zn),nr=function(t){nt(n,t);var e=st(n);function n(t,r){var i;return B(this,n),(i=e.call(this)).unit=t,i.bitWidth=r,i}return C(n,[{key:"typeId",get:function(){return Qe.Time}},{key:"toString",value:function(){return"Time".concat(this.bitWidth,"<").concat(Ze[this.unit],">")}}]),n}(Pn);nr[Symbol.toStringTag]=function(t){return t.unit=null,t.bitWidth=null,t.ArrayType=Int32Array,t[Symbol.toStringTag]="Time"}(nr.prototype);var rr=function(t){nt(n,t);var e=st(n);function n(t,r){var i;return B(this,n),(i=e.call(this)).unit=t,i.timezone=r,i}return C(n,[{key:"typeId",get:function(){return Qe.Timestamp}},{key:"toString",value:function(){return"Timestamp<".concat(Ze[this.unit]).concat(this.timezone?", ".concat(this.timezone):"",">")}}]),n}(Pn);rr[Symbol.toStringTag]=function(t){return t.unit=null,t.timezone=null,t.ArrayType=Int32Array,t[Symbol.toStringTag]="Timestamp"}(rr.prototype);var ir=function(t){nt(n,t);var e=st(n);function n(t){var r;return B(this,n),(r=e.call(this)).unit=t,r}return C(n,[{key:"typeId",get:function(){return Qe.Interval}},{key:"toString",value:function(){return"Interval<".concat(nn[this.unit],">")}}]),n}(Pn);ir[Symbol.toStringTag]=function(t){return t.unit=null,t.ArrayType=Int32Array,t[Symbol.toStringTag]="Interval"}(ir.prototype);var or=function(t){nt(n,t);var e=st(n);function n(t){var r;return B(this,n),(r=e.call(this)).children=[t],r}return C(n,[{key:"typeId",get:function(){return Qe.List}},{key:"toString",value:function(){return"List<".concat(this.valueType,">")}},{key:"valueType",get:function(){return this.children[0].type}},{key:"valueField",get:function(){return this.children[0]}},{key:"ArrayType",get:function(){return this.valueType.ArrayType}}]),n}(Pn);or[Symbol.toStringTag]=function(t){return t.children=null,t[Symbol.toStringTag]="List"}(or.prototype);var ar=function(t){nt(n,t);var e=st(n);function n(t){var r;return B(this,n),(r=e.call(this)).children=t,r}return C(n,[{key:"typeId",get:function(){return Qe.Struct}},{key:"toString",value:function(){return"Struct<{".concat(this.children.map((function(t){return"".concat(t.name,":").concat(t.type)})).join(", "),"}>")}}]),n}(Pn);ar[Symbol.toStringTag]=function(t){return t.children=null,t[Symbol.toStringTag]="Struct"}(ar.prototype);var ur=function(t){nt(n,t);var e=st(n);function n(t,r,i){var o;return B(this,n),(o=e.call(this)).mode=t,o.children=i,o.typeIds=r=Int32Array.from(r),o.typeIdToChildIndex=r.reduce((function(t,e,n){return(t[e]=n)&&t||t}),Object.create(null)),o}return C(n,[{key:"typeId",get:function(){return Qe.Union}},{key:"toString",value:function(){return"".concat(this[Symbol.toStringTag],"<").concat(this.children.map((function(t){return"".concat(t.type)})).join(" | "),">")}}]),n}(Pn);ur[Symbol.toStringTag]=function(t){return t.mode=null,t.typeIds=null,t.children=null,t.typeIdToChildIndex=null,t.ArrayType=Int8Array,t[Symbol.toStringTag]="Union"}(ur.prototype);var sr=function(t){nt(n,t);var e=st(n);function n(t){var r;return B(this,n),(r=e.call(this)).byteWidth=t,r}return C(n,[{key:"typeId",get:function(){return Qe.FixedSizeBinary}},{key:"toString",value:function(){return"FixedSizeBinary[".concat(this.byteWidth,"]")}}]),n}(Pn);sr[Symbol.toStringTag]=function(t){return t.byteWidth=null,t.ArrayType=Uint8Array,t[Symbol.toStringTag]="FixedSizeBinary"}(sr.prototype);var cr=function(t){nt(n,t);var e=st(n);function n(t,r){var i;return B(this,n),(i=e.call(this)).listSize=t,i.children=[r],i}return C(n,[{key:"typeId",get:function(){return Qe.FixedSizeList}},{key:"valueType",get:function(){return this.children[0].type}},{key:"valueField",get:function(){return this.children[0]}},{key:"ArrayType",get:function(){return this.valueType.ArrayType}},{key:"toString",value:function(){return"FixedSizeList[".concat(this.listSize,"]<").concat(this.valueType,">")}}]),n}(Pn);cr[Symbol.toStringTag]=function(t){return t.children=null,t.listSize=null,t[Symbol.toStringTag]="FixedSizeList"}(cr.prototype);var lr=function(t){nt(n,t);var e=st(n);function n(t){var r,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return B(this,n),(r=e.call(this)).children=[t],r.keysSorted=i,r}return C(n,[{key:"typeId",get:function(){return Qe.Map}},{key:"keyType",get:function(){return this.children[0].type.children[0].type}},{key:"valueType",get:function(){return this.children[0].type.children[1].type}},{key:"toString",value:function(){return"Map<{".concat(this.children[0].type.children.map((function(t){return"".concat(t.name,":").concat(t.type)})).join(", "),"}>")}}]),n}(Pn);lr[Symbol.toStringTag]=function(t){return t.children=null,t.keysSorted=null,t[Symbol.toStringTag]="Map_"}(lr.prototype);var fr,hr=(fr=-1,function(){return++fr}),dr=function(t){nt(n,t);var e=st(n);function n(t,r,i,o){var a;return B(this,n),(a=e.call(this)).indices=r,a.dictionary=t,a.isOrdered=o||!1,a.id=null==i?hr():"number"===typeof i?i:i.low,a}return C(n,[{key:"typeId",get:function(){return Qe.Dictionary}},{key:"children",get:function(){return this.dictionary.children}},{key:"valueType",get:function(){return this.dictionary}},{key:"ArrayType",get:function(){return this.dictionary.ArrayType}},{key:"toString",value:function(){return"Dictionary<".concat(this.indices,", ").concat(this.dictionary,">")}}]),n}(Pn);function pr(t){var e=t;switch(t.typeId){case Qe.Decimal:return 4;case Qe.Timestamp:return 2;case Qe.Date:case Qe.Interval:return 1+e.unit;case Qe.Int:case Qe.Time:return+(e.bitWidth>32)+1;case Qe.FixedSizeList:return e.listSize;case Qe.FixedSizeBinary:return e.byteWidth;default:return 1}}dr[Symbol.toStringTag]=function(t){return t.id=null,t.indices=null,t.isOrdered=null,t.dictionary=null,t[Symbol.toStringTag]="Dictionary"}(dr.prototype);var yr=function(){function t(e,n,r,i,o,a,u){var s;B(this,t),this.type=e,this.dictionary=u,this.offset=Math.floor(Math.max(n||0,0)),this.length=Math.floor(Math.max(r||0,0)),this._nullCount=Math.floor(Math.max(i||0,-1)),this.childData=(a||[]).map((function(e){return e instanceof t?e:e.data})),o instanceof t?(this.stride=o.stride,this.values=o.values,this.typeIds=o.typeIds,this.nullBitmap=o.nullBitmap,this.valueOffsets=o.valueOffsets):(this.stride=pr(e),o&&((s=o[0])&&(this.valueOffsets=s),(s=o[1])&&(this.values=s),(s=o[2])&&(this.nullBitmap=s),(s=o[3])&&(this.typeIds=s)))}return C(t,[{key:"typeId",get:function(){return this.type.typeId}},{key:"ArrayType",get:function(){return this.type.ArrayType}},{key:"buffers",get:function(){return[this.valueOffsets,this.values,this.nullBitmap,this.typeIds]}},{key:"byteLength",get:function(){var t=0,e=this.valueOffsets,n=this.values,r=this.nullBitmap,i=this.typeIds;return e&&(t+=e.byteLength),n&&(t+=n.byteLength),r&&(t+=r.byteLength),i&&(t+=i.byteLength),this.childData.reduce((function(t,e){return t+e.byteLength}),t)}},{key:"nullCount",get:function(){var t,e=this._nullCount;return e<=-1&&(t=this.nullBitmap)&&(this._nullCount=e=this.length-pn(t,this.offset,this.offset+this.length)),e}},{key:"clone",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.offset,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.length,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this._nullCount,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:this.childData;return new t(e,n,r,i,o,a,this.dictionary)}},{key:"slice",value:function(t,e){var n=this.stride,r=this.typeId,i=this.childData,o=+(0===this._nullCount)-1,a=16===r?n:1,u=this._sliceBuffers(t,e,n,r);return this.clone(this.type,this.offset+t,e,o,u,!i.length||this.valueOffsets?i:this._sliceChildren(i,a*t,a*e))}},{key:"_changeLengthAndBackfillNullBitmap",value:function(t){if(this.typeId===Qe.Null)return this.clone(this.type,0,t,0);var e=this.length,n=this.nullCount,r=new Uint8Array((t+63&-64)>>3).fill(255,0,e>>3);r[e>>3]=(1<<e-(-8&e))-1,n>0&&r.set(fn(this.offset,e,this.nullBitmap),0);var i=this.buffers;return i[Je.VALIDITY]=r,this.clone(this.type,0,t,n+(t-e),i)}},{key:"_sliceBuffers",value:function(t,e,n,r){var i,o=this.buffers;return(i=o[Je.TYPE])&&(o[Je.TYPE]=i.subarray(t,t+e)),(i=o[Je.OFFSET])&&(o[Je.OFFSET]=i.subarray(t,t+e+1))||(i=o[Je.DATA])&&(o[Je.DATA]=6===r?i:i.subarray(n*t,n*(t+e))),o}},{key:"_sliceChildren",value:function(t,e,n){return t.map((function(t){return t.slice(e,n)}))}}],[{key:"new",value:function(e,n,r,i,o,a,u){switch(o instanceof t?o=o.buffers:o||(o=[]),e.typeId){case Qe.Null:return t.Null(e,n,r);case Qe.Int:return t.Int(e,n,r,i||0,o[Je.VALIDITY],o[Je.DATA]||[]);case Qe.Dictionary:return t.Dictionary(e,n,r,i||0,o[Je.VALIDITY],o[Je.DATA]||[],u);case Qe.Float:return t.Float(e,n,r,i||0,o[Je.VALIDITY],o[Je.DATA]||[]);case Qe.Bool:return t.Bool(e,n,r,i||0,o[Je.VALIDITY],o[Je.DATA]||[]);case Qe.Decimal:return t.Decimal(e,n,r,i||0,o[Je.VALIDITY],o[Je.DATA]||[]);case Qe.Date:return t.Date(e,n,r,i||0,o[Je.VALIDITY],o[Je.DATA]||[]);case Qe.Time:return t.Time(e,n,r,i||0,o[Je.VALIDITY],o[Je.DATA]||[]);case Qe.Timestamp:return t.Timestamp(e,n,r,i||0,o[Je.VALIDITY],o[Je.DATA]||[]);case Qe.Interval:return t.Interval(e,n,r,i||0,o[Je.VALIDITY],o[Je.DATA]||[]);case Qe.FixedSizeBinary:return t.FixedSizeBinary(e,n,r,i||0,o[Je.VALIDITY],o[Je.DATA]||[]);case Qe.Binary:return t.Binary(e,n,r,i||0,o[Je.VALIDITY],o[Je.OFFSET]||[],o[Je.DATA]||[]);case Qe.Utf8:return t.Utf8(e,n,r,i||0,o[Je.VALIDITY],o[Je.OFFSET]||[],o[Je.DATA]||[]);case Qe.List:return t.List(e,n,r,i||0,o[Je.VALIDITY],o[Je.OFFSET]||[],(a||[])[0]);case Qe.FixedSizeList:return t.FixedSizeList(e,n,r,i||0,o[Je.VALIDITY],(a||[])[0]);case Qe.Struct:return t.Struct(e,n,r,i||0,o[Je.VALIDITY],a||[]);case Qe.Map:return t.Map(e,n,r,i||0,o[Je.VALIDITY],o[Je.OFFSET]||[],(a||[])[0]);case Qe.Union:return t.Union(e,n,r,i||0,o[Je.VALIDITY],o[Je.TYPE]||[],o[Je.OFFSET]||a,a)}throw new Error("Unrecognized typeId ".concat(e.typeId))}},{key:"Null",value:function(e,n,r){return new t(e,n,r,0)}},{key:"Int",value:function(e,n,r,i,o,a){return new t(e,n,r,i,[void 0,$t(e.ArrayType,a),Xt(o)])}},{key:"Dictionary",value:function(e,n,r,i,o,a,u){return new t(e,n,r,i,[void 0,$t(e.indices.ArrayType,a),Xt(o)],[],u)}},{key:"Float",value:function(e,n,r,i,o,a){return new t(e,n,r,i,[void 0,$t(e.ArrayType,a),Xt(o)])}},{key:"Bool",value:function(e,n,r,i,o,a){return new t(e,n,r,i,[void 0,$t(e.ArrayType,a),Xt(o)])}},{key:"Decimal",value:function(e,n,r,i,o,a){return new t(e,n,r,i,[void 0,$t(e.ArrayType,a),Xt(o)])}},{key:"Date",value:function(e,n,r,i,o,a){return new t(e,n,r,i,[void 0,$t(e.ArrayType,a),Xt(o)])}},{key:"Time",value:function(e,n,r,i,o,a){return new t(e,n,r,i,[void 0,$t(e.ArrayType,a),Xt(o)])}},{key:"Timestamp",value:function(e,n,r,i,o,a){return new t(e,n,r,i,[void 0,$t(e.ArrayType,a),Xt(o)])}},{key:"Interval",value:function(e,n,r,i,o,a){return new t(e,n,r,i,[void 0,$t(e.ArrayType,a),Xt(o)])}},{key:"FixedSizeBinary",value:function(e,n,r,i,o,a){return new t(e,n,r,i,[void 0,$t(e.ArrayType,a),Xt(o)])}},{key:"Binary",value:function(e,n,r,i,o,a,u){return new t(e,n,r,i,[Qt(a),Xt(u),Xt(o)])}},{key:"Utf8",value:function(e,n,r,i,o,a,u){return new t(e,n,r,i,[Qt(a),Xt(u),Xt(o)])}},{key:"List",value:function(e,n,r,i,o,a,u){return new t(e,n,r,i,[Qt(a),void 0,Xt(o)],[u])}},{key:"FixedSizeList",value:function(e,n,r,i,o,a){return new t(e,n,r,i,[void 0,void 0,Xt(o)],[a])}},{key:"Struct",value:function(e,n,r,i,o,a){return new t(e,n,r,i,[void 0,void 0,Xt(o)],a)}},{key:"Map",value:function(e,n,r,i,o,a,u){return new t(e,n,r,i,[Qt(a),void 0,Xt(o)],[u])}},{key:"Union",value:function(e,n,r,i,o,a,u,s){var c=[void 0,void 0,Xt(o),$t(e.ArrayType,a)];return e.mode===en.Sparse?new t(e,n,r,i,c,u):(c[Je.OFFSET]=Qt(u),new t(e,n,r,i,c,s))}}]),t}();yr.prototype.childData=Object.freeze([]);function vr(t){if(null===t)return"null";if(void 0===t)return"undefined";switch(typeof t){case"number":case"bigint":return"".concat(t);case"string":return'"'.concat(t,'"')}return"function"===typeof t[Symbol.toPrimitive]?t[Symbol.toPrimitive]("string"):ArrayBuffer.isView(t)?"[".concat(t,"]"):JSON.stringify(t)}function br(t){if(!t||t.length<=0)return function(t){return!0};var e="",n=t.filter((function(t){return t===t}));return n.length>0&&(e="\n switch (x) {".concat(n.map((function(t){return"\n case ".concat(function(t){if("bigint"!==typeof t)return vr(t);if(bt)return"".concat(vr(t),"n");return'"'.concat(vr(t),'"')}(t),":")})).join(""),"\n return false;\n }")),t.length!==n.length&&(e="if (x !== x) return false;\n".concat(e)),new Function("x","".concat(e,"\nreturn true;"))}var gr=function(t,e){return(t*e+63&-64||64)/e},mr=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t.length>=e?t.subarray(0,e):Yt(new t.constructor(e),t,0)},wr=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;B(this,t),this.buffer=e,this.stride=n,this.BYTES_PER_ELEMENT=e.BYTES_PER_ELEMENT,this.ArrayType=e.constructor,this._resize(this.length=e.length/n|0)}return C(t,[{key:"byteLength",get:function(){return this.length*this.stride*this.BYTES_PER_ELEMENT|0}},{key:"reservedLength",get:function(){return this.buffer.length/this.stride}},{key:"reservedByteLength",get:function(){return this.buffer.byteLength}},{key:"set",value:function(t,e){return this}},{key:"append",value:function(t){return this.set(this.length,t)}},{key:"reserve",value:function(t){if(t>0){this.length+=t;var e=this.stride,n=this.length*e,r=this.buffer.length;n>=r&&this._resize(gr(0===r?1*n:2*n,this.BYTES_PER_ELEMENT))}return this}},{key:"flush",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.length;t=gr(t*this.stride,this.BYTES_PER_ELEMENT);var e=mr(this.buffer,t);return this.clear(),e}},{key:"clear",value:function(){return this.length=0,this._resize(0),this}},{key:"_resize",value:function(t){return this.buffer=Yt(new this.ArrayType(t),this.buffer)}}]),t}();wr.prototype.offset=0;var kr=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,[{key:"last",value:function(){return this.get(this.length-1)}},{key:"get",value:function(t){return this.buffer[t]}},{key:"set",value:function(t,e){return this.reserve(t-this.length+1),this.buffer[t*this.stride]=e,this}}]),n}(wr),_r=function(t){nt(n,t);var e=st(n);function n(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Uint8Array(0);return B(this,n),(t=e.call(this,r,1/8)).numValid=0,t}return C(n,[{key:"numInvalid",get:function(){return this.length-this.numValid}},{key:"get",value:function(t){return this.buffer[t>>3]>>t%8&1}},{key:"set",value:function(t,e){var n=this.reserve(t-this.length+1).buffer,r=t>>3,i=t%8,o=n[r]>>i&1;return e?0===o&&(n[r]|=1<<i,++this.numValid):1===o&&(n[r]&=~(1<<i),--this.numValid),this}},{key:"clear",value:function(){return this.numValid=0,Ve(rt(n.prototype),"clear",this).call(this)}}]),n}(kr),xr=function(t){nt(n,t);var e=st(n);function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Int32Array(1);return B(this,n),e.call(this,t,1)}return C(n,[{key:"append",value:function(t){return this.set(this.length-1,t)}},{key:"set",value:function(t,e){var n=this.length-1,r=this.reserve(t-n+1).buffer;return n<t++&&r.fill(r[n],n,t),r[t]=r[t-1]+e,this}},{key:"flush",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.length-1;return t>this.length&&this.set(t-1,0),Ve(rt(n.prototype),"flush",this).call(this,t+1)}}]),n}(kr),Sr=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,[{key:"ArrayType64",get:function(){return this._ArrayType64||(this._ArrayType64=this.buffer instanceof Int32Array?wt:xt)}},{key:"set",value:function(t,e){switch(this.reserve(t-this.length+1),typeof e){case"bigint":this.buffer64[t]=e;break;case"number":this.buffer[t*this.stride]=e;break;default:this.buffer.set(e,t*this.stride)}return this}},{key:"_resize",value:function(t){var e=Ve(rt(n.prototype),"_resize",this).call(this,t),r=e.byteLength/(this.BYTES_PER_ELEMENT*this.stride);return bt&&(this.buffer64=new this.ArrayType64(e.buffer,e.byteOffset,r)),e}}]),n}(wr);function Er(){Er=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(L){s=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),u=new E(i||[]);return r(a,"_invoke",{value:k(t,n,u)}),a}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(L){return{type:"throw",arg:L}}}t.wrap=c;var f={};function h(){}function d(){}function p(){}var y={};s(y,o,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(T([])));b&&b!==e&&n.call(b,o)&&(y=b);var g=p.prototype=h.prototype=Object.create(y);function m(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var i;r(this,"_invoke",{value:function(r,o){function a(){return new e((function(i,a){!function r(i,o,a,u){var s=l(t[i],t,o);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}(r,o,i,a)}))}return i=i?i.then(a,a):a()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return O()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var u=_(a,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(t,e,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function _(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=l(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function T(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return d.prototype=p,r(g,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:d,configurable:!0}),d.displayName=s(p,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,s(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},m(w.prototype),s(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},m(g),s(g,u,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=T,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),s=n.call(o,"finallyLoc");if(u&&s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:T(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function Tr(t){var e,n,r,i=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,r=Symbol.iterator);i--;){if(n&&null!=(e=t[n]))return e.call(t);if(r&&null!=(e=t[r]))return new Or(e.call(t));n="@@asyncIterator",r="@@iterator"}throw new TypeError("Object is not async iterable")}function Or(t){function e(t){if(Object(t)!==t)return Promise.reject(new TypeError(t+" is not an object."));var e=t.done;return Promise.resolve(t.value).then((function(t){return{value:t,done:e}}))}return(Or=function(t){this.s=t,this.n=t.next}).prototype={s:null,n:null,next:function(){return e(this.n.apply(this.s,arguments))},return:function(t){var n=this.s.return;return void 0===n?Promise.resolve({value:t,done:!0}):e(n.apply(this.s,arguments))},throw:function(t){var n=this.s.return;return void 0===n?Promise.reject(t):e(n.apply(this.s,arguments))}},new Or(t)}var Lr=function(){function t(e){var n=e.type,r=e.nullValues;B(this,t),this.length=0,this.finished=!1,this.type=n,this.children=[],this.nullValues=r,this.stride=pr(n),this._nulls=new _r,r&&r.length>0&&(this._isValid=br(r))}return C(t,[{key:"toVector",value:function(){return qe.new(this.flush())}},{key:"ArrayType",get:function(){return this.type.ArrayType}},{key:"nullCount",get:function(){return this._nulls.numInvalid}},{key:"numChildren",get:function(){return this.children.length}},{key:"byteLength",get:function(){var t=0;return this._offsets&&(t+=this._offsets.byteLength),this._values&&(t+=this._values.byteLength),this._nulls&&(t+=this._nulls.byteLength),this._typeIds&&(t+=this._typeIds.byteLength),this.children.reduce((function(t,e){return t+e.byteLength}),t)}},{key:"reservedLength",get:function(){return this._nulls.reservedLength}},{key:"reservedByteLength",get:function(){var t=0;return this._offsets&&(t+=this._offsets.reservedByteLength),this._values&&(t+=this._values.reservedByteLength),this._nulls&&(t+=this._nulls.reservedByteLength),this._typeIds&&(t+=this._typeIds.reservedByteLength),this.children.reduce((function(t,e){return t+e.reservedByteLength}),t)}},{key:"valueOffsets",get:function(){return this._offsets?this._offsets.buffer:null}},{key:"values",get:function(){return this._values?this._values.buffer:null}},{key:"nullBitmap",get:function(){return this._nulls?this._nulls.buffer:null}},{key:"typeIds",get:function(){return this._typeIds?this._typeIds.buffer:null}},{key:"append",value:function(t){return this.set(this.length,t)}},{key:"isValid",value:function(t){return this._isValid(t)}},{key:"set",value:function(t,e){return this.setValid(t,this.isValid(e))&&this.setValue(t,e),this}},{key:"setValue",value:function(t,e){this._setValue(this,t,e)}},{key:"setValid",value:function(t,e){return this.length=this._nulls.set(t,+e).length,e}},{key:"addChild",value:function(t){arguments.length>1&&void 0!==arguments[1]||"".concat(this.numChildren);throw new Error('Cannot append children to non-nested type "'.concat(this.type,'"'))}},{key:"getChildAt",value:function(t){return this.children[t]||null}},{key:"flush",value:function(){var t=[],e=this._values,n=this._offsets,r=this._typeIds,i=this.length,o=this.nullCount;r?(t[Je.TYPE]=r.flush(i),n&&(t[Je.OFFSET]=n.flush(i))):n?(e&&(t[Je.DATA]=e.flush(n.last())),t[Je.OFFSET]=n.flush(i)):e&&(t[Je.DATA]=e.flush(i)),o>0&&(t[Je.VALIDITY]=this._nulls.flush(i));var a=yr.new(this.type,0,i,o,t,this.children.map((function(t){return t.flush()})));return this.clear(),a}},{key:"finish",value:function(){return this.finished=!0,this.children.forEach((function(t){return t.finish()})),this}},{key:"clear",value:function(){return this.length=0,this._offsets&&this._offsets.clear(),this._values&&this._values.clear(),this._nulls&&this._nulls.clear(),this._typeIds&&this._typeIds.clear(),this.children.forEach((function(t){return t.clear()})),this}}],[{key:"new",value:function(t){}},{key:"throughNode",value:function(t){throw new Error('"throughNode" not available in this environment')}},{key:"throughDOM",value:function(t){throw new Error('"throughDOM" not available in this environment')}},{key:"throughIterable",value:function(t){return function(t){var e=t.queueingStrategy,n=void 0===e?"count":e,r=t.highWaterMark,i=void 0===r?"bytes"!==n?1e3:Math.pow(2,14):r,o="bytes"!==n?"length":"byteLength";return Er().mark((function e(n){var r,a,u,s,c;return Er().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=0,a=Lr.new(t),u=A(n),e.prev=3,u.s();case 5:if((s=u.n()).done){e.next=14;break}if(c=s.value,!(a.append(c)[o]>=i)){e.next=12;break}if(e.t0=++r,!e.t0){e.next=12;break}return e.next=12,a.toVector();case 12:e.next=5;break;case 14:e.next=19;break;case 16:e.prev=16,e.t1=e.catch(3),u.e(e.t1);case 19:return e.prev=19,u.f(),e.finish(19);case 22:if(!(a.finish().length>0||0===r)){e.next=25;break}return e.next=25,a.toVector();case 25:case"end":return e.stop()}}),e,null,[[3,16,19,22]])}))}(t)}},{key:"throughAsyncIterable",value:function(t){return function(t){var e=t.queueingStrategy,n=void 0===e?"count":e,r=t.highWaterMark,i=void 0===r?"bytes"!==n?1e3:Math.pow(2,14):r,o="bytes"!==n?"length":"byteLength";return function(){var e=U(Er().mark((function e(n){var r,a,u,s,c,l,f,h;return Er().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=0,a=Lr.new(t),u=!1,s=!1,e.prev=4,l=Tr(n);case 6:return e.next=8,M(l.next());case 8:if(!(u=!(f=e.sent).done)){e.next=18;break}if(h=f.value,!(a.append(h)[o]>=i)){e.next=15;break}if(e.t0=++r,!e.t0){e.next=15;break}return e.next=15,a.toVector();case 15:u=!1,e.next=6;break;case 18:e.next=24;break;case 20:e.prev=20,e.t1=e.catch(4),s=!0,c=e.t1;case 24:if(e.prev=24,e.prev=25,!u||null==l.return){e.next=29;break}return e.next=29,M(l.return());case 29:if(e.prev=29,!s){e.next=32;break}throw c;case 32:return e.finish(29);case 33:return e.finish(24);case 34:if(!(a.finish().length>0||0===r)){e.next=37;break}return e.next=37,a.toVector();case 37:case"end":return e.stop()}}),e,null,[[4,20,24,34],[25,,29,33]])})));return function(t){return e.apply(this,arguments)}}()}(t)}}]),t}();Lr.prototype.length=1,Lr.prototype.stride=1,Lr.prototype.children=null,Lr.prototype.finished=!1,Lr.prototype.nullValues=null,Lr.prototype._isValid=function(){return!0};var Ir=function(t){nt(n,t);var e=st(n);function n(t){var r;return B(this,n),(r=e.call(this,t))._values=new kr(new r.ArrayType(0),r.stride),r}return C(n,[{key:"setValue",value:function(t,e){var r=this._values;return r.reserve(t-r.length+1),Ve(rt(n.prototype),"setValue",this).call(this,t,e)}}]),n}(Lr),Ar=function(t){nt(n,t);var e=st(n);function n(t){var r;return B(this,n),(r=e.call(this,t))._pendingLength=0,r._offsets=new xr,r}return C(n,[{key:"setValue",value:function(t,e){var n=this._pending||(this._pending=new Map),r=n.get(t);r&&(this._pendingLength-=r.length),this._pendingLength+=e.length,n.set(t,e)}},{key:"setValid",value:function(t,e){return!!Ve(rt(n.prototype),"setValid",this).call(this,t,e)||((this._pending||(this._pending=new Map)).set(t,void 0),!1)}},{key:"clear",value:function(){return this._pendingLength=0,this._pending=void 0,Ve(rt(n.prototype),"clear",this).call(this)}},{key:"flush",value:function(){return this._flush(),Ve(rt(n.prototype),"flush",this).call(this)}},{key:"finish",value:function(){return this._flush(),Ve(rt(n.prototype),"finish",this).call(this)}},{key:"_flush",value:function(){var t=this._pending,e=this._pendingLength;return this._pendingLength=0,this._pending=void 0,t&&t.size>0&&this._flushPending(t,e),this}}]),n}(Lr);var jr=function(t){nt(n,t);var e=st(n);function n(t){var r;return B(this,n),(r=e.call(this,t))._values=new _r,r}return C(n,[{key:"setValue",value:function(t,e){this._values.set(t,+e)}}]),n}(Lr),Nr=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,[{key:"setValue",value:function(t,e){}},{key:"setValid",value:function(t,e){return this.length=Math.max(t+1,this.length),e}}]),n}(Lr),Br=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(Ir),Pr=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(Br),Cr=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(Br),Fr=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(Ir),Dr=function(t){nt(n,t);var e=st(n);function n(t){var r,i=t.type,o=t.nullValues,a=t.dictionaryHashFunction;return B(this,n),(r=e.call(this,{type:new dr(i.dictionary,i.indices,i.id,i.isOrdered)}))._nulls=null,r._dictionaryOffset=0,r._keysToIndices=Object.create(null),r.indices=Lr.new({type:r.type.indices,nullValues:o}),r.dictionary=Lr.new({type:r.type.dictionary,nullValues:null}),"function"===typeof a&&(r.valueToKey=a),r}return C(n,[{key:"values",get:function(){return this.indices.values}},{key:"nullCount",get:function(){return this.indices.nullCount}},{key:"nullBitmap",get:function(){return this.indices.nullBitmap}},{key:"byteLength",get:function(){return this.indices.byteLength+this.dictionary.byteLength}},{key:"reservedLength",get:function(){return this.indices.reservedLength+this.dictionary.reservedLength}},{key:"reservedByteLength",get:function(){return this.indices.reservedByteLength+this.dictionary.reservedByteLength}},{key:"isValid",value:function(t){return this.indices.isValid(t)}},{key:"setValid",value:function(t,e){var n=this.indices;return e=n.setValid(t,e),this.length=n.length,e}},{key:"setValue",value:function(t,e){var n=this._keysToIndices,r=this.valueToKey(e),i=n[r];return void 0===i&&(n[r]=i=this._dictionaryOffset+this.dictionary.append(e).length-1),this.indices.setValue(t,i)}},{key:"flush",value:function(){var t=this.type,e=this._dictionary,n=this.dictionary.toVector(),r=this.indices.flush().clone(t);return r.dictionary=e?e.concat(n):n,this.finished||(this._dictionaryOffset+=n.length),this._dictionary=r.dictionary,this.clear(),r}},{key:"finish",value:function(){return this.indices.finish(),this.dictionary.finish(),this._dictionaryOffset=0,this._keysToIndices=Object.create(null),Ve(rt(n.prototype),"finish",this).call(this)}},{key:"clear",value:function(){return this.indices.clear(),this.dictionary.clear(),Ve(rt(n.prototype),"clear",this).call(this)}},{key:"valueToKey",value:function(t){return"string"===typeof t?t:"".concat(t)}}]),n}(Lr),Mr=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(Ir),Rr=new Float64Array(1),Ur=new Uint32Array(Rr.buffer);function zr(t){var e=(31744&t)>>10,n=(1023&t)/1024,r=Math.pow(-1,(32768&t)>>15);switch(e){case 31:return r*(n?NaN:1/0);case 0:return r*(n?6103515625e-14*n:0)}return r*Math.pow(2,e-15)*(1+n)}function Vr(t){if(t!==t)return 32256;Rr[0]=t;var e=(2147483648&Ur[1])>>16&65535,n=2146435072&Ur[1],r=0;return n>=1089470464?Ur[0]>0?n=31744:(n=(2080374784&n)>>16,r=(1048575&Ur[1])>>10):n<=1056964608?(r=1048576+((r=1048576+(1048575&Ur[1]))<<(n>>20)-998)>>21,n=0):(n=n-1056964608>>10,r=512+(1048575&Ur[1])>>10),e|n|65535&r}var Gr=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(Ir),Wr=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,[{key:"setValue",value:function(t,e){this._values.set(t,Vr(e))}}]),n}(Gr),Yr=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,[{key:"setValue",value:function(t,e){this._values.set(t,e)}}]),n}(Gr),Hr=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,[{key:"setValue",value:function(t,e){this._values.set(t,e)}}]),n}(Gr);function $r(t,e,n){return($r=it()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var i=new(Function.bind.apply(t,r));return n&&et(i,n.prototype),i}).apply(null,arguments)}var Kr,qr,Qr=Symbol.for("isArrowBigNum");function Jr(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return 0===n.length?Object.setPrototypeOf($t(this.TypedArray,t),this.constructor.prototype):Object.setPrototypeOf($r(this.TypedArray,[t].concat(n)),this.constructor.prototype)}function Xr(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return Jr.apply(this,e)}function Zr(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return Jr.apply(this,e)}function ti(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return Jr.apply(this,e)}function ei(t){for(var e,n,r=t.buffer,i=t.byteOffset,o=t.length,a=t.signed,u=new Int32Array(r,i,o),s=0,c=0,l=u.length;c<l;)n=u[c++],e=u[c++],a||(e>>>=0),s+=(n>>>0)+e*Math.pow(c,32);return s}function ni(t){var e="",n=new Uint32Array(2),r=new Uint16Array(t.buffer,t.byteOffset,t.byteLength/2),i=new Uint32Array((r=new Uint16Array(r).reverse()).buffer),o=-1,a=r.length-1;do{for(n[0]=r[o=0];o<a;)r[o++]=n[1]=n[0]/10,n[0]=(n[0]-10*n[1]<<16)+r[o];r[o]=n[1]=n[0]/10,n[0]=n[0]-10*n[1],e="".concat(n[0]).concat(e)}while(i[0]||i[1]||i[2]||i[3]);return e||"0"}Jr.prototype[Qr]=!0,Jr.prototype.toJSON=function(){return'"'.concat(Kr(this),'"')},Jr.prototype.valueOf=function(){return ei(this)},Jr.prototype.toString=function(){return Kr(this)},Jr.prototype[Symbol.toPrimitive]=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";switch(t){case"number":return ei(this);case"string":return Kr(this);case"default":return qr(this)}return Kr(this)},Object.setPrototypeOf(Xr.prototype,Object.create(Int32Array.prototype)),Object.setPrototypeOf(Zr.prototype,Object.create(Uint32Array.prototype)),Object.setPrototypeOf(ti.prototype,Object.create(Uint32Array.prototype)),Object.assign(Xr.prototype,Jr.prototype,{constructor:Xr,signed:!0,TypedArray:Int32Array,BigIntArray:wt}),Object.assign(Zr.prototype,Jr.prototype,{constructor:Zr,signed:!1,TypedArray:Uint32Array,BigIntArray:xt}),Object.assign(ti.prototype,Jr.prototype,{constructor:ti,signed:!0,TypedArray:Uint32Array,BigIntArray:xt}),bt?(qr=function(t){return 8===t.byteLength?new t.BigIntArray(t.buffer,t.byteOffset,1)[0]:ni(t)},Kr=function(t){return 8===t.byteLength?"".concat(new t.BigIntArray(t.buffer,t.byteOffset,1)[0]):ni(t)}):qr=Kr=ni;var ri,ii=function(){function t(e,n){return B(this,t),t.new(e,n)}return C(t,null,[{key:"new",value:function(t,e){switch(e){case!0:return new Xr(t);case!1:return new Zr(t)}switch(t.constructor){case Int8Array:case Int16Array:case Int32Array:case wt:return new Xr(t)}return 16===t.byteLength?new ti(t):new Zr(t)}},{key:"signed",value:function(t){return new Xr(t)}},{key:"unsigned",value:function(t){return new Zr(t)}},{key:"decimal",value:function(t){return new ti(t)}}]),t}(),oi=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,[{key:"setValue",value:function(t,e){this._values.set(t,e)}}]),n}(Ir),ai=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(oi),ui=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(oi),si=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(oi),ci=function(t){nt(n,t);var e=st(n);function n(t){var r;return B(this,n),t.nullValues&&(t.nullValues=t.nullValues.map(pi)),(r=e.call(this,t))._values=new Sr(new Int32Array(0),2),r}return C(n,[{key:"values64",get:function(){return this._values.buffer64}},{key:"isValid",value:function(t){return Ve(rt(n.prototype),"isValid",this).call(this,pi(t))}}]),n}(oi),li=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(oi),fi=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(oi),hi=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(oi),di=function(t){nt(n,t);var e=st(n);function n(t){var r;return B(this,n),t.nullValues&&(t.nullValues=t.nullValues.map(pi)),(r=e.call(this,t))._values=new Sr(new Uint32Array(0),2),r}return C(n,[{key:"values64",get:function(){return this._values.buffer64}},{key:"isValid",value:function(t){return Ve(rt(n.prototype),"isValid",this).call(this,pi(t))}}]),n}(oi),pi=(ri={BigIntArray:wt},function(t){return ArrayBuffer.isView(t)&&(ri.buffer=t.buffer,ri.byteOffset=t.byteOffset,ri.byteLength=t.byteLength,t=qr(ri),ri.buffer=null),t}),yi=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(Ir),vi=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(yi),bi=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(yi),gi=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(yi),mi=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(yi),wi=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(Ir),ki=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(wi),_i=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(wi),xi=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(wi),Si=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(wi),Ei=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(Ir),Ti=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(Ei),Oi=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(Ei),Li=function(t){nt(n,t);var e=st(n);function n(t){var r;return B(this,n),(r=e.call(this,t))._values=new wr(new Uint8Array(0)),r}return C(n,[{key:"byteLength",get:function(){var t=this._pendingLength+4*this.length;return this._offsets&&(t+=this._offsets.byteLength),this._values&&(t+=this._values.byteLength),this._nulls&&(t+=this._nulls.byteLength),t}},{key:"setValue",value:function(t,e){return Ve(rt(n.prototype),"setValue",this).call(this,t,Xt(e))}},{key:"_flushPending",value:function(t,e){var n,r,i=this._offsets,o=this._values.reserve(e).buffer,a=0,u=0,s=0,c=A(t);try{for(c.s();!(r=c.n()).done;){var l=Object(F.a)(r.value,2);a=l[0],void 0===(n=l[1])?i.set(a,0):(u=n.length,o.set(n,s),i.set(a,u),s+=u)}}catch(f){c.e(f)}finally{c.f()}}}]),n}(Ar),Ii=function(t){nt(n,t);var e=st(n);function n(t){var r;return B(this,n),(r=e.call(this,t))._values=new wr(new Uint8Array(0)),r}return C(n,[{key:"byteLength",get:function(){var t=this._pendingLength+4*this.length;return this._offsets&&(t+=this._offsets.byteLength),this._values&&(t+=this._values.byteLength),this._nulls&&(t+=this._nulls.byteLength),t}},{key:"setValue",value:function(t,e){return Ve(rt(n.prototype),"setValue",this).call(this,t,tt(e))}},{key:"_flushPending",value:function(t,e){}}]),n}(Ar);Ii.prototype._flushPending=Li.prototype._flushPending;var Ai=function(){function t(){B(this,t)}return C(t,[{key:"length",get:function(){return this._values.length}},{key:"get",value:function(t){return this._values[t]}},{key:"clear",value:function(){return this._values=null,this}},{key:"bind",value:function(t){return t instanceof qe?t:(this._values=t,this)}}]),t}(),ji=n(5);function Ni(){Ni=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(L){s=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),u=new E(i||[]);return r(a,"_invoke",{value:k(t,n,u)}),a}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(L){return{type:"throw",arg:L}}}t.wrap=c;var f={};function h(){}function d(){}function p(){}var y={};s(y,o,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(T([])));b&&b!==e&&n.call(b,o)&&(y=b);var g=p.prototype=h.prototype=Object.create(y);function m(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var i;r(this,"_invoke",{value:function(r,o){function a(){return new e((function(i,a){!function r(i,o,a,u){var s=l(t[i],t,o);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}(r,o,i,a)}))}return i=i?i.then(a,a):a()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return O()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var u=_(a,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(t,e,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function _(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=l(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function T(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return d.prototype=p,r(g,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:d,configurable:!0}),d.displayName=s(p,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,s(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},m(w.prototype),s(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},m(g),s(g,u,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=T,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),s=n.call(o,"finallyLoc");if(u&&s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:T(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}var Bi=Symbol.for("parent"),Pi=Symbol.for("rowIndex"),Ci=Symbol.for("keyToIdx"),Fi=Symbol.for("idxToVal"),Di=Symbol.for("nodejs.util.inspect.custom"),Mi=function(t){function e(t,n){B(this,e),this[Bi]=t,this.size=n}return C(e,[{key:"entries",value:function(){return this[Symbol.iterator]()}},{key:"has",value:function(t){return void 0!==this.get(t)}},{key:"get",value:function(t){var e=void 0;if(null!==t&&void 0!==t){var n=this[Ci]||(this[Ci]=new Map),r=n.get(t);if(void 0!==r){var i=this[Fi]||(this[Fi]=new Array(this.size));void 0!==(e=i[r])||(i[r]=e=this.getValue(r))}else if((r=this.getIndex(t))>-1){n.set(t,r);var o=this[Fi]||(this[Fi]=new Array(this.size));void 0!==(e=o[r])||(o[r]=e=this.getValue(r))}}return e}},{key:"set",value:function(t,e){if(null!==t&&void 0!==t){var n=this[Ci]||(this[Ci]=new Map),r=n.get(t);if(void 0===r&&n.set(t,r=this.getIndex(t)),r>-1)(this[Fi]||(this[Fi]=new Array(this.size)))[r]=this.setValue(r,e)}return this}},{key:"clear",value:function(){throw new Error("Clearing ".concat(this[Symbol.toStringTag]," not supported."))}},{key:"delete",value:function(t){throw new Error("Deleting ".concat(this[Symbol.toStringTag]," values not supported."))}},{key:Symbol.iterator,value:Ni().mark((function t(){var e,n,r,i,o,a,u,s,c;return Ni().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=this.keys(),n=this.values(),r=this[Ci]||(this[Ci]=new Map),i=this[Fi]||(this[Fi]=new Array(this.size)),u=0;case 5:if((s=e.next()).done||(c=n.next()).done){t.next=15;break}return o=s.value,a=c.value,i[u]=a,r.has(o)||r.set(o,u),t.next=12,[o,a];case 12:++u,t.next=5;break;case 15:case"end":return t.stop()}}),t,this)}))},{key:"forEach",value:function(t,e){for(var n,r,i,o,a=this.keys(),u=this.values(),s=void 0===e?t:function(n,r,i){return t.call(e,n,r,i)},c=this[Ci]||(this[Ci]=new Map),l=this[Fi]||(this[Fi]=new Array(this.size)),f=0;!(i=a.next()).done&&!(o=u.next()).done;++f)n=i.value,r=o.value,l[f]=r,c.has(n)||c.set(n,f),s(r,n,this)}},{key:"toArray",value:function(){return gn(this.values())}},{key:"toJSON",value:function(){var t={};return this.forEach((function(e,n){return t[n]=e})),t}},{key:"inspect",value:function(){return this.toString()}},{key:Di,value:function(){return this.toString()}},{key:"toString",value:function(){var t=[];return this.forEach((function(e,n){n=vr(n),e=vr(e),t.push("".concat(n,": ").concat(e))})),"{ ".concat(t.join(", ")," }")}}]),e}();Mi[Symbol.toStringTag]=function(t){var e;return Object.defineProperties(t,(e={size:{writable:!0,enumerable:!1,configurable:!1,value:0}},Object(ji.a)(e,Bi,{writable:!0,enumerable:!1,configurable:!1,value:null}),Object(ji.a)(e,Pi,{writable:!0,enumerable:!1,configurable:!1,value:-1}),e)),t[Symbol.toStringTag]="Row"}(Mi.prototype);var Ri=function(t){nt(n,t);var e=st(n);function n(t){var r;return B(this,n),ut(r=e.call(this,t,t.length),Gi(at(r)))}return C(n,[{key:"keys",value:function(){return this[Bi].getChildAt(0)[Symbol.iterator]()}},{key:"values",value:function(){return this[Bi].getChildAt(1)[Symbol.iterator]()}},{key:"getKey",value:function(t){return this[Bi].getChildAt(0).get(t)}},{key:"getIndex",value:function(t){return this[Bi].getChildAt(0).indexOf(t)}},{key:"getValue",value:function(t){return this[Bi].getChildAt(1).get(t)}},{key:"setValue",value:function(t,e){this[Bi].getChildAt(1).set(t,e)}}]),n}(Mi),Ui=function(t){nt(n,t);var e=st(n);function n(t){var r;return B(this,n),ut(r=e.call(this,t,t.type.children.length),Vi(at(r)))}return C(n,[{key:"keys",value:Ni().mark((function t(){var e,n,r;return Ni().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=A(this[Bi].type.children),t.prev=1,e.s();case 3:if((n=e.n()).done){t.next=9;break}return r=n.value,t.next=7,r.name;case 7:t.next=3;break;case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),e.e(t.t0);case 14:return t.prev=14,e.f(),t.finish(14);case 17:case"end":return t.stop()}}),t,this,[[1,11,14,17]])}))},{key:"values",value:Ni().mark((function t(){var e,n,r;return Ni().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=A(this[Bi].type.children),t.prev=1,e.s();case 3:if((n=e.n()).done){t.next=9;break}return r=n.value,t.next=7,this[r.name];case 7:t.next=3;break;case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),e.e(t.t0);case 14:return t.prev=14,e.f(),t.finish(14);case 17:case"end":return t.stop()}}),t,this,[[1,11,14,17]])}))},{key:"getKey",value:function(t){return this[Bi].type.children[t].name}},{key:"getIndex",value:function(t){return this[Bi].type.children.findIndex((function(e){return e.name===t}))}},{key:"getValue",value:function(t){return this[Bi].getChildAt(t).get(this[Pi])}},{key:"setValue",value:function(t,e){return this[Bi].getChildAt(t).set(this[Pi],e)}}]),n}(Mi);Object.setPrototypeOf(Mi.prototype,Map.prototype);var zi,Vi=function(){var t={enumerable:!0,configurable:!1,get:null,set:null};return function(e){var n,r=-1,i=e[Ci]||(e[Ci]=new Map),o=function(t){return function(){return this.get(t)}},a=function(t){return function(e){return this.set(t,e)}},u=A(e.keys());try{for(u.s();!(n=u.n()).done;){var s=n.value;i.set(s,++r),t.get=o(s),t.set=a(s),e.hasOwnProperty(s)||(t.enumerable=!0,Object.defineProperty(e,s,t)),e.hasOwnProperty(r)||(t.enumerable=!1,Object.defineProperty(e,r,t))}}catch(c){u.e(c)}finally{u.f()}return t.get=t.set=null,e}}(),Gi=function(){if("undefined"===typeof Proxy)return Vi;var t=Mi.prototype.has,e=Mi.prototype.get,n=Mi.prototype.set,r=Mi.prototype.getKey,i={isExtensible:function(){return!1},deleteProperty:function(){return!1},preventExtensions:function(){return!0},ownKeys:function(t){return gn(t.keys()).map((function(t){return"".concat(t)}))},has:function(t,e){switch(e){case"getKey":case"getIndex":case"getValue":case"setValue":case"toArray":case"toJSON":case"inspect":case"constructor":case"isPrototypeOf":case"propertyIsEnumerable":case"toString":case"toLocaleString":case"valueOf":case"size":case"has":case"get":case"set":case"clear":case"delete":case"keys":case"values":case"entries":case"forEach":case"__proto__":case"__defineGetter__":case"__defineSetter__":case"hasOwnProperty":case"__lookupGetter__":case"__lookupSetter__":case Symbol.iterator:case Symbol.toStringTag:case Bi:case Pi:case Fi:case Ci:case Di:return!0}return"number"!==typeof e||t.has(e)||(e=t.getKey(e)),t.has(e)},get:function(n,i,o){switch(i){case"getKey":case"getIndex":case"getValue":case"setValue":case"toArray":case"toJSON":case"inspect":case"constructor":case"isPrototypeOf":case"propertyIsEnumerable":case"toString":case"toLocaleString":case"valueOf":case"size":case"has":case"get":case"set":case"clear":case"delete":case"keys":case"values":case"entries":case"forEach":case"__proto__":case"__defineGetter__":case"__defineSetter__":case"hasOwnProperty":case"__lookupGetter__":case"__lookupSetter__":case Symbol.iterator:case Symbol.toStringTag:case Bi:case Pi:case Fi:case Ci:case Di:return Reflect.get(n,i,o)}return"number"!==typeof i||t.call(o,i)||(i=r.call(o,i)),e.call(o,i)},set:function(e,i,o,a){switch(i){case Bi:case Pi:case Fi:case Ci:return Reflect.set(e,i,o,a);case"getKey":case"getIndex":case"getValue":case"setValue":case"toArray":case"toJSON":case"inspect":case"constructor":case"isPrototypeOf":case"propertyIsEnumerable":case"toString":case"toLocaleString":case"valueOf":case"size":case"has":case"get":case"set":case"clear":case"delete":case"keys":case"values":case"entries":case"forEach":case"__proto__":case"__defineGetter__":case"__defineSetter__":case"hasOwnProperty":case"__lookupGetter__":case"__lookupSetter__":case Symbol.iterator:case Symbol.toStringTag:return!1}return"number"!==typeof i||t.call(a,i)||(i=r.call(a,i)),!!t.call(a,i)&&!!n.call(a,i,o)}};return function(t){return new Proxy(t,i)}}();function Wi(t,e,n){var r=t.length,i=e>-1?e:r+e%r;return n?n(t,i):i}function Yi(t,e,n,r){var i=t.length,o=void 0===i?0:i,a="number"!==typeof e?0:e,u="number"!==typeof n?o:n;return a<0&&(a=(a%o+o)%o),u<0&&(u=(u%o+o)%o),u<a&&(zi=a,a=u,u=zi),u>o&&(u=o),r?r(t,a,u):[a,u]}var Hi=bt?vt(0):0,$i=function(t){return t!==t};function Ki(t){var e=typeof t;if("object"!==e||null===t)return $i(t)?$i:"bigint"!==e?function(e){return e===t}:function(e){return Hi+e===t};if(t instanceof Date){var n=t.valueOf();return function(t){return t instanceof Date&&t.valueOf()===n}}return ArrayBuffer.isView(t)?function(e){return!!e&&Le(t,e)}:t instanceof Map?function(t){var e=-1,n=[];return t.forEach((function(t){return n[++e]=Ki(t)})),qi(n)}(t):Array.isArray(t)?function(t){for(var e=[],n=-1,r=t.length;++n<r;)e[n]=Ki(t[n]);return qi(e)}(t):t instanceof qe?function(t){for(var e=[],n=-1,r=t.length;++n<r;)e[n]=Ki(t.get(n));return qi(e)}(t):function(t){var e=Object.keys(t);if(0===e.length)return function(){return!1};for(var n=[],r=-1,i=e.length;++r<i;)n[r]=Ki(t[e[r]]);return qi(n,e)}(t)}function qi(t,e){return function(n){if(!n||"object"!==typeof n)return!1;switch(n.constructor){case Array:return function(t,e){var n=t.length;if(e.length!==n)return!1;for(var r=-1;++r<n;)if(!t[r](e[r]))return!1;return!0}(t,n);case Map:case Ri:case Ui:return Qi(t,n,n.keys());case Object:case void 0:return Qi(t,n,e||Object.keys(n))}return n instanceof qe&&function(t,e){var n=t.length;if(e.length!==n)return!1;for(var r=-1;++r<n;)if(!t[r](e.get(r)))return!1;return!0}(t,n)}}function Qi(t,e,n){for(var r=n[Symbol.iterator](),i=e instanceof Map?e.keys():Object.keys(e)[Symbol.iterator](),o=e instanceof Map?e.values():Object.values(e)[Symbol.iterator](),a=0,u=t.length,s=o.next(),c=r.next(),l=i.next();a<u&&!c.done&&!l.done&&!s.done&&(c.value===l.value&&t[a](s.value));++a,c=r.next(),l=i.next(),s=o.next());return!!(a===u&&c.done&&l.done&&s.done)||(r.return&&r.return(),i.return&&i.return(),o.return&&o.return(),!1)}function Ji(){Ji=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(L){s=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),u=new E(i||[]);return r(a,"_invoke",{value:k(t,n,u)}),a}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(L){return{type:"throw",arg:L}}}t.wrap=c;var f={};function h(){}function d(){}function p(){}var y={};s(y,o,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(T([])));b&&b!==e&&n.call(b,o)&&(y=b);var g=p.prototype=h.prototype=Object.create(y);function m(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var i;r(this,"_invoke",{value:function(r,o){function a(){return new e((function(i,a){!function r(i,o,a,u){var s=l(t[i],t,o);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}(r,o,i,a)}))}return i=i?i.then(a,a):a()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return O()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var u=_(a,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(t,e,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function _(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=l(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function T(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return d.prototype=p,r(g,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:d,configurable:!0}),d.displayName=s(p,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,s(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},m(w.prototype),s(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},m(g),s(g,u,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=T,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),s=n.call(o,"finallyLoc");if(u&&s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:T(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}var Xi=function(t,e){nt(r,t);var n=st(r);function r(t){var e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Zi(i);return B(this,r),(e=n.call(this))._nullCount=-1,e._type=t,e._chunks=i,e._chunkOffsets=o,e._length=o[o.length-1],e._numChildren=(e._type.children||[]).length,e}return C(r,[{key:"type",get:function(){return this._type}},{key:"length",get:function(){return this._length}},{key:"chunks",get:function(){return this._chunks}},{key:"typeId",get:function(){return this._type.typeId}},{key:"VectorName",get:function(){return"Chunked<".concat(this._type,">")}},{key:"data",get:function(){return this._chunks[0]?this._chunks[0].data:null}},{key:"ArrayType",get:function(){return this._type.ArrayType}},{key:"numChildren",get:function(){return this._numChildren}},{key:"stride",get:function(){return this._chunks[0]?this._chunks[0].stride:1}},{key:"byteLength",get:function(){return this._chunks.reduce((function(t,e){return t+e.byteLength}),0)}},{key:"nullCount",get:function(){var t=this._nullCount;return t<0&&(this._nullCount=t=this._chunks.reduce((function(t,e){return t+e.nullCount}),0)),t}},{key:"indices",get:function(){if(Pn.isDictionary(this._type)){if(!this._indices){var t=this._chunks;this._indices=1===t.length?t[0].indices:r.concat.apply(r,gn(t.map((function(t){return t.indices}))))}return this._indices}return null}},{key:"dictionary",get:function(){return Pn.isDictionary(this._type)?this._chunks[this._chunks.length-1].data.dictionary:null}},{key:e,value:Ji().mark((function t(){var e,n,r;return Ji().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=A(this._chunks),t.prev=1,e.s();case 3:if((n=e.n()).done){t.next=8;break}return r=n.value,t.delegateYield(r,"t0",6);case 6:t.next=3;break;case 8:t.next=13;break;case 10:t.prev=10,t.t1=t.catch(1),e.e(t.t1);case 13:return t.prev=13,e.f(),t.finish(13);case 16:case"end":return t.stop()}}),t,this,[[1,10,13,16]])}))},{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._chunks;return new r(this._type,t)}},{key:"concat",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.clone(r.flatten.apply(r,[this].concat(e)))}},{key:"slice",value:function(t,e){return Yi(this,t,e,this._sliceInternal)}},{key:"getChildAt",value:function(t){if(t<0||t>=this._numChildren)return null;var e,n,i,o=this._children||(this._children=[]);return(e=o[t])?e:(n=(this._type.children||[])[t])&&(i=this._chunks.map((function(e){return e.getChildAt(t)})).filter((function(t){return null!=t}))).length>0?o[t]=new r(n.type,i):null}},{key:"search",value:function(t,e){var n=t,r=this._chunkOffsets,i=r.length-1;if(n<0)return null;if(n>=r[i])return null;if(i<=1)return e?e(this,0,n):[0,n];var o=0,a=0,u=0;do{if(o+1===i)return e?e(this,o,n-a):[o,n-a];n>=r[u=o+(i-o)/2|0]?o=u:i=u}while(n<r[i]&&n>=(a=r[o]));return null}},{key:"isValid",value:function(t){return!!this.search(t,this.isValidInternal)}},{key:"get",value:function(t){return this.search(t,this.getInternal)}},{key:"set",value:function(t,e){this.search(t,(function(t,n,r){return t.chunks[n].set(r,e)}))}},{key:"indexOf",value:function(t,e){var n=this;return e&&"number"===typeof e?this.search(e,(function(e,r,i){return n.indexOfInternal(e,r,i,t)})):this.indexOfInternal(this,0,Math.max(0,e||0),t)}},{key:"toArray",value:function(){var t=this.chunks,e=t.length,n=this._type.ArrayType;if(e<=0)return new n(0);if(e<=1)return t[0].toArray();for(var r=0,i=new Array(e),o=-1;++o<e;)r+=(i[o]=t[o].toArray()).length;n!==i[0].constructor&&(n=i[0].constructor);for(var a=new n(r),u=n===Array?eo:to,s=-1,c=0;++s<e;)c=u(i[s],a,c);return a}},{key:"getInternal",value:function(t,e,n){return t._chunks[e].get(n)}},{key:"isValidInternal",value:function(t,e,n){return t._chunks[e].isValid(n)}},{key:"indexOfInternal",value:function(t,e,n,r){for(var i=t._chunks,o=e-1,a=i.length,u=n,s=0,c=-1;++o<a;){if(~(c=i[o].indexOf(r,u)))return s+c;u=0,s+=i[o].length}return-1}},{key:"_sliceInternal",value:function(t,e,n){for(var r=[],i=t.chunks,o=t._chunkOffsets,a=-1,u=i.length;++a<u;){var s=i[a],c=s.length,l=o[a];if(l>=n)break;if(!(e>=l+c))if(l>=e&&l+c<=n)r.push(s);else{var f=Math.max(0,e-l),h=Math.min(n-l,c);r.push(s.slice(f,h))}}return t.clone(r)}}],[{key:"flatten",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return so(qe,e)}},{key:"concat",value:function(){var t=r.flatten.apply(r,arguments);return new r(t[0].type,t)}}]),r}(qe,Symbol.iterator);function Zi(t){for(var e=new Uint32Array((t||[]).length+1),n=e[0]=0,r=e.length,i=0;++i<r;)e[i]=n+=t[i-1].length;return e}var to=function(t,e,n){return e.set(t,n),n+t.length},eo=function(t,e,n){for(var r=n,i=-1,o=t.length;++i<o;)e[r++]=t[i];return r},no=function(t){nt(n,t);var e=st(n);function n(t){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2?arguments[2]:void 0;return B(this,n),i=Xi.flatten.apply(Xi,gn(i)),(r=e.call(this,t.type,i,o))._field=t,1!==i.length||at(r)instanceof ro?r:ut(r,new ro(t,i[0],r._chunkOffsets))}return C(n,[{key:"field",get:function(){return this._field}},{key:"name",get:function(){return this._field.name}},{key:"nullable",get:function(){return this._field.nullable}},{key:"metadata",get:function(){return this._field.metadata}},{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._chunks;return new n(this._field,t)}},{key:"getChildAt",value:function(t){if(t<0||t>=this.numChildren)return null;var e,r,i,o=this._children||(this._children=[]);return(e=o[t])?e:(r=(this.type.children||[])[t])&&(i=this._chunks.map((function(e){return e.getChildAt(t)})).filter((function(t){return null!=t}))).length>0?o[t]=new n(r,i):null}}],[{key:"new",value:function(t,e){for(var r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];var a=Xi.flatten(Array.isArray(e)?[].concat(gn(e),i):e instanceof qe?[e].concat(i):[qe.new.apply(qe,[e].concat(i))]);if("string"===typeof t){var u=a[0].data.type;t=new yo(t,u,!0)}else!t.nullable&&a.some((function(t){return t.nullCount>0}))&&(t=t.clone({nullable:!0}));return new n(t,a)}}]),n}(Xi),ro=function(t){nt(n,t);var e=st(n);function n(t,r,i){var o;return B(this,n),(o=e.call(this,t,[r],i))._chunk=r,o}return C(n,[{key:"search",value:function(t,e){return e?e(this,0,t):[0,t]}},{key:"isValid",value:function(t){return this._chunk.isValid(t)}},{key:"get",value:function(t){return this._chunk.get(t)}},{key:"set",value:function(t,e){this._chunk.set(t,e)}},{key:"indexOf",value:function(t,e){return this._chunk.indexOf(t,e)}}]),n}(no),io=Array.isArray,oo=function(t,e){return lo(t,e,[],0)},ao=function(t){var e=ho(t,[[],[]]),n=Object(F.a)(e,2),r=n[0];return n[1].map((function(t,e){return t instanceof no?no.new(t.field.clone(r[e]),t):t instanceof qe?no.new(r[e],t):no.new(r[e],[])}))},uo=function(t){return ho(t,[[],[]])},so=function(t,e){return function t(e,n,r,i){var o,a=i,u=-1,s=n.length;for(;++u<s;)io(o=n[u])?a=t(e,o,r,a).length:o instanceof Xi?a=t(e,o.chunks,r,a).length:o instanceof e&&(r[a++]=o);return r}(t,e,[],0)},co=function(t,e){return function t(e,n,r,i){var o,a=i,u=-1,s=n.length;for(;++u<s;)io(o=n[u])?a=t(e,o,r,a).length:o instanceof e?a=lo(qe,o.schema.fields.map((function(t,e){return o.getChildAt(e)})),r,a).length:o instanceof qe&&(r[a++]=o);return r}(t,e,[],0)};function lo(t,e,n,r){for(var i,o=r,a=-1,u=e.length;++a<u;)io(i=e[a])?o=lo(t,i,n,o).length:i instanceof t&&(n[o++]=i);return n}var fo=function(t,e,n){var r=Object(F.a)(e,2),i=r[0],o=r[1];return t[0][n]=i,t[1][n]=o,t};function ho(t,e){var n,r;switch(r=t.length){case 0:return e;case 1:if(n=e[0],!t[0])return e;if(io(t[0]))return ho(t[0],e);if(!(t[0]instanceof yr||t[0]instanceof qe||t[0]instanceof Pn)){var i=Object.entries(t[0]).reduce(fo,e),o=Object(F.a)(i,2);n=o[0],t=o[1]}break;default:io(n=t[r-1])?t=io(t[0])?t[0]:t.slice(0,r-1):(t=io(t[0])?t[0]:t,n=[])}for(var a,u,s=-1,c=-1,l=-1,f=t.length,h=Object(F.a)(e,2),d=h[0],p=h[1];++l<f;)if((u=t[l])instanceof no&&(p[++c]=u))d[++s]=u.field.clone(n[l],u.type,!0);else{var y=n[l];a=void 0===y?l:y,u instanceof Pn&&(p[++c]=u)?d[++s]=yo.new(a,u,!0):u&&u.type&&(p[++c]=u)&&(u instanceof yr&&(p[c]=u=qe.new(u)),d[++s]=yo.new(a,u.type,!0))}return e}var po=function(t){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;B(this,e),this.fields=t||[],this.metadata=n||new Map,r||(r=bo(t)),this.dictionaries=r}return C(e,[{key:Symbol.toStringTag,get:function(){return"Schema"}},{key:"toString",value:function(){return"Schema<{ ".concat(this.fields.map((function(t,e){return"".concat(e,": ").concat(t)})).join(", ")," }>")}},{key:"compareTo",value:function(t){return Bn.compareSchemas(this,t)}},{key:"select",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n.reduce((function(t,e){return(t[e]=!0)&&t}),Object.create(null));return new e(this.fields.filter((function(t){return i[t.name]})),this.metadata)}},{key:"selectAt",value:function(){for(var t=this,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return new e(r.map((function(e){return t.fields[e]})).filter(Boolean),this.metadata)}},{key:"assign",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n[0]instanceof e?n[0]:new e(oo(yo,n)),o=gn(this.fields),a=vo(vo(new Map,this.metadata),i.metadata),u=i.fields.filter((function(t){var e=o.findIndex((function(e){return e.name===t.name}));return!~e||(o[e]=t.clone({metadata:vo(vo(new Map,o[e].metadata),t.metadata)}))&&!1})),s=bo(u,new Map);return new e([].concat(gn(o),gn(u)),a,new Map([].concat(gn(this.dictionaries),gn(s))))}}],[{key:"from",value:function(){return e.new(arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1])}},{key:"new",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return new e(uo(n)[0])}}]),e}(),yo=function(t){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0;B(this,e),this.name=t,this.type=n,this.nullable=r,this.metadata=i||new Map}return C(e,[{key:"typeId",get:function(){return this.type.typeId}},{key:Symbol.toStringTag,get:function(){return"Field"}},{key:"toString",value:function(){return"".concat(this.name,": ").concat(this.type)}},{key:"compareTo",value:function(t){return Bn.compareField(this,t)}},{key:"clone",value:function(){for(var t,n,r,i,o,a,u,s,c,l,f,h=arguments.length,d=new Array(h),p=0;p<h;p++)d[p]=arguments[p];var y=d[0],v=d[1],b=d[2],g=d[3];return d[0]&&"object"===typeof d[0]?(y=void 0===(s=(u=d[0]).name)?this.name:s,v=void 0===(c=u.type)?this.type:c,b=void 0===(l=u.nullable)?this.nullable:l,g=void 0===(f=u.metadata)?this.metadata:f):(t=d,y=void 0===(r=(n=Object(F.a)(t,4))[0])?this.name:r,v=void 0===(i=n[1])?this.type:i,b=void 0===(o=n[2])?this.nullable:o,g=void 0===(a=n[3])?this.metadata:a),e.new(y,v,b,g)}}],[{key:"new",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n[0],o=n[1],a=n[2],u=n[3];return n[0]&&"object"===typeof n[0]&&(i=n[0].name,void 0===o&&(o=n[0].type),void 0===a&&(a=n[0].nullable),void 0===u&&(u=n[0].metadata)),new e("".concat(i),o,a,u)}}]),e}();function vo(t,e){return new Map([].concat(gn(t||new Map),gn(e||new Map)))}function bo(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map,n=-1,r=t.length;++n<r;){var i=t[n],o=i.type;if(Pn.isDictionary(o))if(e.has(o.id)){if(e.get(o.id)!==o.dictionary)throw new Error("Cannot create Schema containing two different dictionaries with the same Id")}else e.set(o.id,o.dictionary);o.children&&o.children.length>0&&bo(o.children,e)}return e}po.prototype.fields=null,po.prototype.metadata=null,po.prototype.dictionaries=null,yo.prototype.type=null,yo.prototype.name=null,yo.prototype.nullable=null,yo.prototype.metadata=null;var go=function(t){nt(n,t);var e=st(n);function n(t){var r;return B(this,n),(r=e.call(this,t))._run=new Ai,r._offsets=new xr,r}return C(n,[{key:"addChild",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0";if(this.numChildren>0)throw new Error("ListBuilder can only have one child.");return this.children[this.numChildren]=t,this.type=new or(new yo(e,t.type,!0)),this.numChildren-1}},{key:"clear",value:function(){return this._run.clear(),Ve(rt(n.prototype),"clear",this).call(this)}},{key:"_flushPending",value:function(t){var e,n,r=this._run,i=this._offsets,o=this._setValue,a=0,u=A(t);try{for(u.s();!(n=u.n()).done;){var s=Object(F.a)(n.value,2);a=s[0],void 0===(e=s[1])?i.set(a,0):(i.set(a,e.length),o(this,a,r.bind(e)))}}catch(c){u.e(c)}finally{u.f()}}}]),n}(Ar),mo=function(t){nt(n,t);var e=st(n);function n(){var t;return B(this,n),(t=e.apply(this,arguments))._run=new Ai,t}return C(n,[{key:"setValue",value:function(t,e){Ve(rt(n.prototype),"setValue",this).call(this,t,this._run.bind(e))}},{key:"addChild",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0";if(this.numChildren>0)throw new Error("FixedSizeListBuilder can only have one child.");var n=this.children.push(t);return this.type=new cr(this.type.listSize,new yo(e,t.type,!0)),n}},{key:"clear",value:function(){return this._run.clear(),Ve(rt(n.prototype),"clear",this).call(this)}}]),n}(Lr),wo=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,[{key:"set",value:function(t,e){return Ve(rt(n.prototype),"set",this).call(this,t,e)}},{key:"setValue",value:function(t,e){e=e instanceof Map?e:new Map(Object.entries(e));var n=this._pending||(this._pending=new Map),r=n.get(t);r&&(this._pendingLength-=r.size),this._pendingLength+=e.size,n.set(t,e)}},{key:"addChild",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"".concat(this.numChildren);if(this.numChildren>0)throw new Error("ListBuilder can only have one child.");return this.children[this.numChildren]=t,this.type=new lr(new yo(e,t.type,!0),this.type.keysSorted),this.numChildren-1}},{key:"_flushPending",value:function(t){var e=this,n=this._offsets,r=this._setValue;t.forEach((function(t,i){void 0===t?n.set(i,0):(n.set(i,t.size),r(e,i,t))}))}}]),n}(Ar),ko=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,[{key:"addChild",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"".concat(this.numChildren),n=this.children.push(t);return this.type=new ar([].concat(gn(this.type.children),[new yo(e,t.type,!0)])),n}}]),n}(Lr),_o=function(t){nt(n,t);var e=st(n);function n(t){var r;return B(this,n),(r=e.call(this,t))._typeIds=new kr(new Int8Array(0),1),"function"===typeof t.valueToChildTypeId&&(r._valueToChildTypeId=t.valueToChildTypeId),r}return C(n,[{key:"typeIdToChildIndex",get:function(){return this.type.typeIdToChildIndex}},{key:"append",value:function(t,e){return this.set(this.length,t,e)}},{key:"set",value:function(t,e,n){return void 0===n&&(n=this._valueToChildTypeId(this,e,t)),this.setValid(t,this.isValid(e))&&this.setValue(t,e,n),this}},{key:"setValue",value:function(t,e,r){this._typeIds.set(t,r),Ve(rt(n.prototype),"setValue",this).call(this,t,e)}},{key:"addChild",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"".concat(this.children.length),n=this.children.push(t),r=this.type,i=r.children,o=r.mode,a=r.typeIds,u=[].concat(gn(i),[new yo(e,t.type)]);return this.type=new ur(o,[].concat(gn(a),[n]),u),n}},{key:"_valueToChildTypeId",value:function(t,e,n){throw new Error("Cannot map UnionBuilder value to child typeId. Pass the `childTypeId` as the second argument to unionBuilder.append(), or supply a `valueToChildTypeId` function as part of the UnionBuilder constructor options.")}}]),n}(Lr),xo=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(_o),So=function(t){nt(n,t);var e=st(n);function n(t){var r;return B(this,n),(r=e.call(this,t))._offsets=new kr(new Int32Array(0)),r}return C(n,[{key:"setValue",value:function(t,e,r){var i=this.type.typeIdToChildIndex[r];return this._offsets.set(t,this.getChildAt(i).length),Ve(rt(n.prototype),"setValue",this).call(this,t,e,r)}}]),n}(_o),Eo=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(mn),To=function(t,e,n){t[e]=n%4294967296|0,t[e+1]=n/4294967296|0},Oo=function(t,e,n,r){var i=e[n],o=e[n+1];null!=i&&null!=o&&t.set(r.subarray(0,o-i),i)},Lo=function(t,e,n){!function(t,e,n){t[e]=n/864e5|0}(t.values,e,n.valueOf())},Io=function(t,e,n){var r=t.values;To(r,2*e,n.valueOf())},Ao=function(t,e,n){var r=t.stride;t.values[r*e]=n},jo=function(t,e,n){var r=t.stride;t.values[r*e]=Vr(n)},No=function(t,e,n){switch(typeof n){case"bigint":t.values64[e]=n;break;case"number":t.values[e*t.stride]=n;break;default:var r=n,i=t.stride,o=$t(t.ArrayType,r);t.values.set(o.subarray(0,i),i*e)}},Bo=function(t,e,n){var r=t.values;return To(r,2*e,n/1e3)},Po=function(t,e,n){var r=t.values;return To(r,2*e,n)},Co=function(t,e,n){return function(t,e,n){t[e]=1e3*n%4294967296|0,t[e+1]=1e3*n/4294967296|0}(t.values,2*e,n)},Fo=function(t,e,n){return function(t,e,n){t[e]=1e6*n%4294967296|0,t[e+1]=1e6*n/4294967296|0}(t.values,2*e,n)},Do=function(t,e,n){t.values[t.stride*e]=n},Mo=function(t,e,n){t.values[t.stride*e]=n},Ro=function(t,e,n){t.values.set(n.subarray(0,2),2*e)},Uo=function(t,e,n){t.values.set(n.subarray(0,2),2*e)},zo=function(t,e,n){var r=t.typeIdToChildIndex[t.typeIds[e]],i=t.getChildAt(r);i&&i.set(t.valueOffsets[e],n)},Vo=function(t,e,n){var r=t.typeIdToChildIndex[t.typeIds[e]],i=t.getChildAt(r);i&&i.set(e,n)},Go=function(t,e,n){t.values.set(n.subarray(0,2),2*e)},Wo=function(t,e,n){t.values[e]=12*n[0]+n[1]%12};Eo.prototype.visitBool=function(t,e,n){var r=t.offset,i=t.values,o=r+e;n?i[o>>3]|=1<<o%8:i[o>>3]&=~(1<<o%8)},Eo.prototype.visitInt=function(t,e,n){t.type.bitWidth<64?Ao(t,e,n):No(t,e,n)},Eo.prototype.visitInt8=Ao,Eo.prototype.visitInt16=Ao,Eo.prototype.visitInt32=Ao,Eo.prototype.visitInt64=No,Eo.prototype.visitUint8=Ao,Eo.prototype.visitUint16=Ao,Eo.prototype.visitUint32=Ao,Eo.prototype.visitUint64=No,Eo.prototype.visitFloat=function(t,e,n){t.type.precision!==tn.HALF?Ao(t,e,n):jo(t,e,n)},Eo.prototype.visitFloat16=jo,Eo.prototype.visitFloat32=Ao,Eo.prototype.visitFloat64=Ao,Eo.prototype.visitUtf8=function(t,e,n){var r=t.values,i=t.valueOffsets;Oo(r,i,e,tt(n))},Eo.prototype.visitBinary=function(t,e,n){var r=t.values,i=t.valueOffsets;return Oo(r,i,e,n)},Eo.prototype.visitFixedSizeBinary=function(t,e,n){var r=t.stride;t.values.set(n.subarray(0,r),r*e)},Eo.prototype.visitDate=function(t,e,n){t.type.unit===Xe.DAY?Lo(t,e,n):Io(t,e,n)},Eo.prototype.visitDateDay=Lo,Eo.prototype.visitDateMillisecond=Io,Eo.prototype.visitTimestamp=function(t,e,n){switch(t.type.unit){case Ze.SECOND:return Bo(t,e,n);case Ze.MILLISECOND:return Po(t,e,n);case Ze.MICROSECOND:return Co(t,e,n);case Ze.NANOSECOND:return Fo(t,e,n)}},Eo.prototype.visitTimestampSecond=Bo,Eo.prototype.visitTimestampMillisecond=Po,Eo.prototype.visitTimestampMicrosecond=Co,Eo.prototype.visitTimestampNanosecond=Fo,Eo.prototype.visitTime=function(t,e,n){switch(t.type.unit){case Ze.SECOND:return Do(t,e,n);case Ze.MILLISECOND:return Mo(t,e,n);case Ze.MICROSECOND:return Ro(t,e,n);case Ze.NANOSECOND:return Uo(t,e,n)}},Eo.prototype.visitTimeSecond=Do,Eo.prototype.visitTimeMillisecond=Mo,Eo.prototype.visitTimeMicrosecond=Ro,Eo.prototype.visitTimeNanosecond=Uo,Eo.prototype.visitDecimal=function(t,e,n){t.values.set(n.subarray(0,4),4*e)},Eo.prototype.visitList=function(t,e,n){for(var r=t.getChildAt(0),i=t.valueOffsets,o=-1,a=i[e],u=i[e+1];a<u;)r.set(a++,n.get(++o))},Eo.prototype.visitStruct=function(t,e,n){var r,i,o=n instanceof Map?(r=e,i=n,function(t,e,n){return t&&t.set(r,i.get(e.name))}):n instanceof qe?function(t,e){return function(n,r,i){return n&&n.set(t,e.get(i))}}(e,n):Array.isArray(n)?function(t,e){return function(n,r,i){return n&&n.set(t,e[i])}}(e,n):function(t,e){return function(n,r,i){return n&&n.set(t,e[r.name])}}(e,n);t.type.children.forEach((function(e,n){return o(t.getChildAt(n),e,n)}))},Eo.prototype.visitUnion=function(t,e,n){t.type.mode===en.Dense?zo(t,e,n):Vo(t,e,n)},Eo.prototype.visitDenseUnion=zo,Eo.prototype.visitSparseUnion=Vo,Eo.prototype.visitDictionary=function(t,e,n){var r=t.getKey(e);null!==r&&t.setValue(r,n)},Eo.prototype.visitInterval=function(t,e,n){t.type.unit===nn.DAY_TIME?Go(t,e,n):Wo(t,e,n)},Eo.prototype.visitIntervalDayTime=Go,Eo.prototype.visitIntervalYearMonth=Wo,Eo.prototype.visitFixedSizeList=function(t,e,n){for(var r=t.getChildAt(0),i=t.stride,o=-1,a=e*i;++o<i;)r.set(a+o,n.get(o))},Eo.prototype.visitMap=function(t,e,n){for(var r=t.getChildAt(0),i=t.valueOffsets,o=n instanceof Map?gn(n):Object.entries(n),a=-1,u=i[e],s=i[e+1];u<s;)r.set(u++,o[++a])};var Yo,Ho=new Eo,$o=new(function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,[{key:"visitNull",value:function(){return Nr}},{key:"visitBool",value:function(){return jr}},{key:"visitInt",value:function(){return oi}},{key:"visitInt8",value:function(){return ai}},{key:"visitInt16",value:function(){return ui}},{key:"visitInt32",value:function(){return si}},{key:"visitInt64",value:function(){return ci}},{key:"visitUint8",value:function(){return li}},{key:"visitUint16",value:function(){return fi}},{key:"visitUint32",value:function(){return hi}},{key:"visitUint64",value:function(){return di}},{key:"visitFloat",value:function(){return Gr}},{key:"visitFloat16",value:function(){return Wr}},{key:"visitFloat32",value:function(){return Yr}},{key:"visitFloat64",value:function(){return Hr}},{key:"visitUtf8",value:function(){return Ii}},{key:"visitBinary",value:function(){return Li}},{key:"visitFixedSizeBinary",value:function(){return Mr}},{key:"visitDate",value:function(){return Br}},{key:"visitDateDay",value:function(){return Pr}},{key:"visitDateMillisecond",value:function(){return Cr}},{key:"visitTimestamp",value:function(){return wi}},{key:"visitTimestampSecond",value:function(){return ki}},{key:"visitTimestampMillisecond",value:function(){return _i}},{key:"visitTimestampMicrosecond",value:function(){return xi}},{key:"visitTimestampNanosecond",value:function(){return Si}},{key:"visitTime",value:function(){return yi}},{key:"visitTimeSecond",value:function(){return vi}},{key:"visitTimeMillisecond",value:function(){return bi}},{key:"visitTimeMicrosecond",value:function(){return gi}},{key:"visitTimeNanosecond",value:function(){return mi}},{key:"visitDecimal",value:function(){return Fr}},{key:"visitList",value:function(){return go}},{key:"visitStruct",value:function(){return ko}},{key:"visitUnion",value:function(){return _o}},{key:"visitDenseUnion",value:function(){return So}},{key:"visitSparseUnion",value:function(){return xo}},{key:"visitDictionary",value:function(){return Dr}},{key:"visitInterval",value:function(){return Ei}},{key:"visitIntervalDayTime",value:function(){return Ti}},{key:"visitIntervalYearMonth",value:function(){return Oi}},{key:"visitFixedSizeList",value:function(){return mo}},{key:"visitMap",value:function(){return wo}}]),n}(mn));function Ko(){Ko=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(L){s=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),u=new E(i||[]);return r(a,"_invoke",{value:k(t,n,u)}),a}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(L){return{type:"throw",arg:L}}}t.wrap=c;var f={};function h(){}function d(){}function p(){}var y={};s(y,o,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(T([])));b&&b!==e&&n.call(b,o)&&(y=b);var g=p.prototype=h.prototype=Object.create(y);function m(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var i;r(this,"_invoke",{value:function(r,o){function a(){return new e((function(i,a){!function r(i,o,a,u){var s=l(t[i],t,o);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}(r,o,i,a)}))}return i=i?i.then(a,a):a()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return O()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var u=_(a,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(t,e,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function _(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=l(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function T(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return d.prototype=p,r(g,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:d,configurable:!0}),d.displayName=s(p,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,s(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},m(w.prototype),s(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},m(g),s(g,u,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=T,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),s=n.call(o,"finallyLoc");if(u&&s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:T(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}Lr.new=function t(e){var n=e.type,r=new($o.getVisitFn(n)())(e);if(n.children&&n.children.length>0){var i=e.children||[],o={nullValues:e.nullValues},a=Array.isArray(i)?function(t,e){return i[e]||o}:function(t){var e=t.name;return i[e]||o};n.children.forEach((function(e,n){var i=e.type,o=a(e,n);r.children.push(t(Object(ze.a)(Object(ze.a)({},o),{},{type:i})))}))}return r},Object.keys(Qe).map((function(t){return Qe[t]})).filter((function(t){return"number"===typeof t&&t!==Qe.NONE})).forEach((function(t){$o.visit(t).prototype._setValue=Ho.getVisitFn(t)})),Ii.prototype._setValue=Ho.visitBinary,function(t){!function(e){!function(e){!function(e){var n=function(){function e(){B(this,e),this.bb=null,this.bb_pos=0}return C(e,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}},{key:"version",value:function(){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.readInt16(this.bb_pos+t):Ge.apache.arrow.flatbuf.MetadataVersion.V1}},{key:"schema",value:function(t){var e=this.bb.__offset(this.bb_pos,6);return e?(t||new Ge.apache.arrow.flatbuf.Schema).__init(this.bb.__indirect(this.bb_pos+e),this.bb):null}},{key:"dictionaries",value:function(e,n){var r=this.bb.__offset(this.bb_pos,8);return r?(n||new t.apache.arrow.flatbuf.Block).__init(this.bb.__vector(this.bb_pos+r)+24*e,this.bb):null}},{key:"dictionariesLength",value:function(){var t=this.bb.__offset(this.bb_pos,8);return t?this.bb.__vector_len(this.bb_pos+t):0}},{key:"recordBatches",value:function(e,n){var r=this.bb.__offset(this.bb_pos,10);return r?(n||new t.apache.arrow.flatbuf.Block).__init(this.bb.__vector(this.bb_pos+r)+24*e,this.bb):null}},{key:"recordBatchesLength",value:function(){var t=this.bb.__offset(this.bb_pos,10);return t?this.bb.__vector_len(this.bb_pos+t):0}}],[{key:"getRootAsFooter",value:function(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}},{key:"startFooter",value:function(t){t.startObject(4)}},{key:"addVersion",value:function(t,e){t.addFieldInt16(0,e,Ge.apache.arrow.flatbuf.MetadataVersion.V1)}},{key:"addSchema",value:function(t,e){t.addFieldOffset(1,e,0)}},{key:"addDictionaries",value:function(t,e){t.addFieldOffset(2,e,0)}},{key:"startDictionariesVector",value:function(t,e){t.startVector(24,e,8)}},{key:"addRecordBatches",value:function(t,e){t.addFieldOffset(3,e,0)}},{key:"startRecordBatchesVector",value:function(t,e){t.startVector(24,e,8)}},{key:"endFooter",value:function(t){return t.endObject()}},{key:"finishFooterBuffer",value:function(t,e){t.finish(e)}},{key:"createFooter",value:function(t,n,r,i,o){return e.startFooter(t),e.addVersion(t,n),e.addSchema(t,r),e.addDictionaries(t,i),e.addRecordBatches(t,o),e.endFooter(t)}}]),e}();e.Footer=n}(e.flatbuf||(e.flatbuf={}))}(e.arrow||(e.arrow={}))}(t.apache||(t.apache={}))}(Yo||(Yo={})),function(t){!function(t){!function(t){!function(t){var e=function(){function t(){B(this,t),this.bb=null,this.bb_pos=0}return C(t,[{key:"__init",value:function(t,e){return this.bb_pos=t,this.bb=e,this}},{key:"offset",value:function(){return this.bb.readInt64(this.bb_pos)}},{key:"metaDataLength",value:function(){return this.bb.readInt32(this.bb_pos+8)}},{key:"bodyLength",value:function(){return this.bb.readInt64(this.bb_pos+16)}}],[{key:"createBlock",value:function(t,e,n,r){return t.prep(8,24),t.writeInt64(r),t.pad(4),t.writeInt32(n),t.writeInt64(e),t.offset()}}]),t}();t.Block=e}(t.flatbuf||(t.flatbuf={}))}(t.arrow||(t.arrow={}))}(t.apache||(t.apache={}))}(Yo||(Yo={}));var qo=V.Long,Qo=V.Builder,Jo=V.ByteBuffer,Xo=Yo.apache.arrow.flatbuf.Block,Zo=Yo.apache.arrow.flatbuf.Footer,ta=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:on.V4,r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;B(this,t),this.schema=e,this.version=n,r&&(this._recordBatches=r),i&&(this._dictionaryBatches=i)}return C(t,[{key:"numRecordBatches",get:function(){return this._recordBatches.length}},{key:"numDictionaries",get:function(){return this._dictionaryBatches.length}},{key:"recordBatches",value:Ko().mark((function t(){var e,n,r;return Ko().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=-1,r=this.numRecordBatches;case 1:if(!(++n<r)){t.next=7;break}if(!(e=this.getRecordBatch(n))){t.next=5;break}return t.next=5,e;case 5:t.next=1;break;case 7:case"end":return t.stop()}}),t,this)}))},{key:"dictionaryBatches",value:Ko().mark((function t(){var e,n,r;return Ko().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=-1,r=this.numDictionaries;case 1:if(!(++n<r)){t.next=7;break}if(!(e=this.getDictionaryBatch(n))){t.next=5;break}return t.next=5,e;case 5:t.next=1;break;case 7:case"end":return t.stop()}}),t,this)}))},{key:"getRecordBatch",value:function(t){return t>=0&&t<this.numRecordBatches&&this._recordBatches[t]||null}},{key:"getDictionaryBatch",value:function(t){return t>=0&&t<this.numDictionaries&&this._dictionaryBatches[t]||null}}],[{key:"decode",value:function(t){t=new Jo(Xt(t));var e=Zo.getRootAsFooter(t),n=po.decode(e.schema());return new ea(n,e)}},{key:"encode",value:function(t){var e=new Qo,n=po.encode(e,t.schema);Zo.startRecordBatchesVector(e,t.numRecordBatches),gn(t.recordBatches()).slice().reverse().forEach((function(t){return na.encode(e,t)}));var r=e.endVector();Zo.startDictionariesVector(e,t.numDictionaries),gn(t.dictionaryBatches()).slice().reverse().forEach((function(t){return na.encode(e,t)}));var i=e.endVector();return Zo.startFooter(e),Zo.addSchema(e,n),Zo.addVersion(e,on.V4),Zo.addRecordBatches(e,r),Zo.addDictionaries(e,i),Zo.finishFooterBuffer(e,Zo.endFooter(e)),e.asUint8Array()}}]),t}(),ea=function(t){nt(n,t);var e=st(n);function n(t,r){var i;return B(this,n),(i=e.call(this,t,r.version()))._footer=r,i}return C(n,[{key:"numRecordBatches",get:function(){return this._footer.recordBatchesLength()}},{key:"numDictionaries",get:function(){return this._footer.dictionariesLength()}},{key:"getRecordBatch",value:function(t){if(t>=0&&t<this.numRecordBatches){var e=this._footer.recordBatches(t);if(e)return na.decode(e)}return null}},{key:"getDictionaryBatch",value:function(t){if(t>=0&&t<this.numDictionaries){var e=this._footer.dictionaries(t);if(e)return na.decode(e)}return null}}]),n}(ta),na=function(){function t(e,n,r){B(this,t),this.metaDataLength=e,this.offset="number"===typeof r?r:r.low,this.bodyLength="number"===typeof n?n:n.low}return C(t,null,[{key:"decode",value:function(e){return new t(e.metaDataLength(),e.bodyLength(),e.offset())}},{key:"encode",value:function(t,e){var n=e.metaDataLength,r=new qo(e.offset,0),i=new qo(e.bodyLength,0);return Xo.createBlock(t,r,n,i)}}]),t}();function ra(){ra=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(L){s=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),u=new E(i||[]);return r(a,"_invoke",{value:k(t,n,u)}),a}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(L){return{type:"throw",arg:L}}}t.wrap=c;var f={};function h(){}function d(){}function p(){}var y={};s(y,o,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(T([])));b&&b!==e&&n.call(b,o)&&(y=b);var g=p.prototype=h.prototype=Object.create(y);function m(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var i;r(this,"_invoke",{value:function(r,o){function a(){return new e((function(i,a){!function r(i,o,a,u){var s=l(t[i],t,o);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}(r,o,i,a)}))}return i=i?i.then(a,a):a()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return O()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var u=_(a,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(t,e,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function _(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=l(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function T(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return d.prototype=p,r(g,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:d,configurable:!0}),d.displayName=s(p,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,s(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},m(w.prototype),s(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},m(g),s(g,u,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=T,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),s=n.call(o,"finallyLoc");if(u&&s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:T(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function ia(t){var e,n,r,i=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,r=Symbol.iterator);i--;){if(n&&null!=(e=t[n]))return e.call(t);if(r&&null!=(e=t[r]))return new oa(e.call(t));n="@@asyncIterator",r="@@iterator"}throw new TypeError("Object is not async iterable")}function oa(t){function e(t){if(Object(t)!==t)return Promise.reject(new TypeError(t+" is not an object."));var e=t.done;return Promise.resolve(t.value).then((function(t){return{value:t,done:e}}))}return(oa=function(t){this.s=t,this.n=t.next}).prototype={s:null,n:null,next:function(){return e(this.n.apply(this.s,arguments))},return:function(t){var n=this.s.return;return void 0===n?Promise.resolve({value:t,done:!0}):e(n.apply(this.s,arguments))},throw:function(t){var n=this.s.return;return void 0===n?Promise.reject(t):e(n.apply(this.s,arguments))}},new oa(t)}var aa=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,[{key:"write",value:function(t){if((t=Xt(t)).byteLength>0)return Ve(rt(n.prototype),"write",this).call(this,t)}},{key:"toString",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t?Z(this.toUint8Array(!0)):this.toUint8Array(!1).then(Z)}},{key:"toUint8Array",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?Ht(this._values)[0]:N(ra().mark((function e(){var n,r,i,o,a,u,s,c;return ra().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=[],r=0,i=!1,o=!1,e.prev=3,u=ia(t);case 5:return e.next=7,u.next();case 7:if(!(i=!(s=e.sent).done)){e.next=14;break}c=s.value,n.push(c),r+=c.byteLength;case 11:i=!1,e.next=5;break;case 14:e.next=20;break;case 16:e.prev=16,e.t0=e.catch(3),o=!0,a=e.t0;case 20:if(e.prev=20,e.prev=21,!i||null==u.return){e.next=25;break}return e.next=25,u.return();case 25:if(e.prev=25,!o){e.next=28;break}throw a;case 28:return e.finish(25);case 29:return e.finish(20);case 30:return e.abrupt("return",Ht(n,r)[0]);case 31:case"end":return e.stop()}}),e,null,[[3,16,20,30],[21,,25,29]])})))()}}]),n}(dt),ua=function(t){function e(t){B(this,e),t&&(this.source=new ca(je.fromIterable(t)))}return C(e,[{key:Symbol.iterator,value:function(){return this}},{key:"next",value:function(t){return this.source.next(t)}},{key:"throw",value:function(t){return this.source.throw(t)}},{key:"return",value:function(t){return this.source.return(t)}},{key:"peek",value:function(t){return this.source.peek(t)}},{key:"read",value:function(t){return this.source.read(t)}}]),e}(),sa=function(t){function e(t){B(this,e),t instanceof e?this.source=t.source:t instanceof aa?this.source=new la(je.fromAsyncIterable(t)):Mt(t)?this.source=new la(je.fromNodeStream(t)):Ft(t)?this.source=new la(je.fromDOMStream(t)):Pt(t)?this.source=new la(je.fromDOMStream(t.body)):It(t)?this.source=new la(je.fromIterable(t)):(Lt(t)||At(t))&&(this.source=new la(je.fromAsyncIterable(t)))}return C(e,[{key:Symbol.asyncIterator,value:function(){return this}},{key:"next",value:function(t){return this.source.next(t)}},{key:"throw",value:function(t){return this.source.throw(t)}},{key:"return",value:function(t){return this.source.return(t)}},{key:"closed",get:function(){return this.source.closed}},{key:"cancel",value:function(t){return this.source.cancel(t)}},{key:"peek",value:function(t){return this.source.peek(t)}},{key:"read",value:function(t){return this.source.read(t)}}]),e}(),ca=function(){function t(e){B(this,t),this.source=e}return C(t,[{key:"cancel",value:function(t){this.return(t)}},{key:"peek",value:function(t){return this.next(t,"peek").value}},{key:"read",value:function(t){return this.next(t,"read").value}},{key:"next",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"read";return this.source.next({cmd:e,size:t})}},{key:"throw",value:function(t){return Object.create(this.source.throw&&this.source.throw(t)||lt)}},{key:"return",value:function(t){return Object.create(this.source.return&&this.source.return(t)||lt)}}]),t}(),la=function(){function t(e){var n=this;B(this,t),this.source=e,this._closedPromise=new Promise((function(t){return n._closedPromiseResolve=t}))}return C(t,[{key:"cancel",value:function(){var t=N(ra().mark((function t(e){return ra().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.return(e);case 2:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"closed",get:function(){return this._closedPromise}},{key:"read",value:function(){var t=N(ra().mark((function t(e){return ra().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.next(e,"read");case 2:return t.abrupt("return",t.sent.value);case 3:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"peek",value:function(){var t=N(ra().mark((function t(e){return ra().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.next(e,"peek");case 2:return t.abrupt("return",t.sent.value);case 3:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"next",value:function(){var t=N(ra().mark((function t(e){var n,r=arguments;return ra().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>1&&void 0!==r[1]?r[1]:"read",t.next=3,this.source.next({cmd:n,size:e});case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"throw",value:function(){var t=N(ra().mark((function t(e){var n;return ra().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.t1=this.source.throw,!t.t1){t.next=5;break}return t.next=4,this.source.throw(e);case 4:t.t1=t.sent;case 5:if(t.t0=t.t1,t.t0){t.next=8;break}t.t0=lt;case 8:return n=t.t0,this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,t.abrupt("return",Object.create(n));case 12:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"return",value:function(){var t=N(ra().mark((function t(e){var n;return ra().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.t1=this.source.return,!t.t1){t.next=5;break}return t.next=4,this.source.return(e);case 4:t.t1=t.sent;case 5:if(t.t0=t.t1,t.t0){t.next=8;break}t.t0=lt;case 8:return n=t.t0,this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,t.abrupt("return",Object.create(n));case 12:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()}]),t}();function fa(){fa=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(L){s=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),u=new E(i||[]);return r(a,"_invoke",{value:k(t,n,u)}),a}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(L){return{type:"throw",arg:L}}}t.wrap=c;var f={};function h(){}function d(){}function p(){}var y={};s(y,o,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(T([])));b&&b!==e&&n.call(b,o)&&(y=b);var g=p.prototype=h.prototype=Object.create(y);function m(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var i;r(this,"_invoke",{value:function(r,o){function a(){return new e((function(i,a){!function r(i,o,a,u){var s=l(t[i],t,o);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}(r,o,i,a)}))}return i=i?i.then(a,a):a()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return O()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var u=_(a,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(t,e,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function _(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=l(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function T(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return d.prototype=p,r(g,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:d,configurable:!0}),d.displayName=s(p,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,s(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},m(w.prototype),s(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},m(g),s(g,u,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=T,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),s=n.call(o,"finallyLoc");if(u&&s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:T(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}var ha=function(t){nt(n,t);var e=st(n);function n(t,r){var i;return B(this,n),(i=e.call(this)).position=0,i.buffer=Xt(t),i.size="undefined"===typeof r?i.buffer.byteLength:r,i}return C(n,[{key:"readInt32",value:function(t){var e=this.readAt(t,4),n=e.buffer,r=e.byteOffset;return new DataView(n,r).getInt32(0,!0)}},{key:"seek",value:function(t){return this.position=Math.min(t,this.size),t<this.size}},{key:"read",value:function(t){var e=this.buffer,n=this.size,r=this.position;return e&&r<n?("number"!==typeof t&&(t=1/0),this.position=Math.min(n,r+Math.min(n-r,t)),e.subarray(r,this.position)):null}},{key:"readAt",value:function(t,e){var n=this.buffer,r=Math.min(this.size,t+e);return n?n.subarray(t,r):new Uint8Array(e)}},{key:"close",value:function(){this.buffer&&(this.buffer=null)}},{key:"throw",value:function(t){return this.close(),{done:!0,value:t}}},{key:"return",value:function(t){return this.close(),{done:!0,value:t}}}]),n}(ua),da=function(t){nt(n,t);var e=st(n);function n(t,r){var i;return B(this,n),(i=e.call(this)).position=0,i._handle=t,"number"===typeof r?i.size=r:i._pending=N(fa().mark((function e(){return fa().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.stat();case 2:i.size=e.sent.size,delete i._pending;case 4:case"end":return e.stop()}}),e)})))(),i}return C(n,[{key:"readInt32",value:function(){var t=N(fa().mark((function t(e){var n,r,i;return fa().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.readAt(e,4);case 2:return n=t.sent,r=n.buffer,i=n.byteOffset,t.abrupt("return",new DataView(r,i).getInt32(0,!0));case 6:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"seek",value:function(){var t=N(fa().mark((function t(e){return fa().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.t0=this._pending,!t.t0){t.next=4;break}return t.next=4,this._pending;case 4:return this.position=Math.min(e,this.size),t.abrupt("return",e<this.size);case 6:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"read",value:function(){var t=N(fa().mark((function t(e){var n,r,i,o,a,u,s,c,l;return fa().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.t0=this._pending,!t.t0){t.next=4;break}return t.next=4,this._pending;case 4:if(n=this._handle,r=this.size,i=this.position,!(n&&i<r)){t.next=18;break}"number"!==typeof e&&(e=1/0),o=i,a=0,u=0,s=Math.min(r,o+Math.min(r-o,e)),c=new Uint8Array(Math.max(0,(this.position=s)-o));case 10:if(!((o+=u)<s&&(a+=u)<c.byteLength)){t.next=17;break}return t.next=13,n.read(c,a,c.byteLength-a,o);case 13:l=t.sent,u=l.bytesRead,t.next=10;break;case 17:return t.abrupt("return",c);case 18:return t.abrupt("return",null);case 19:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"readAt",value:function(){var t=N(fa().mark((function t(e,n){var r,i,o,a;return fa().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.t0=this._pending,!t.t0){t.next=4;break}return t.next=4,this._pending;case 4:if(r=this._handle,i=this.size,!(r&&e+n<i)){t.next=11;break}return o=Math.min(i,e+n),a=new Uint8Array(o-e),t.next=10,r.read(a,0,n,e);case 10:return t.abrupt("return",t.sent.buffer);case 11:return t.abrupt("return",new Uint8Array(n));case 12:case"end":return t.stop()}}),t,this)})));return function(e,n){return t.apply(this,arguments)}}()},{key:"close",value:function(){var t=N(fa().mark((function t(){var e;return fa().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=this._handle,this._handle=null,t.t0=e,!t.t0){t.next=6;break}return t.next=6,e.close();case 6:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"throw",value:function(){var t=N(fa().mark((function t(e){return fa().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.close();case 2:return t.abrupt("return",{done:!0,value:e});case 3:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"return",value:function(){var t=N(fa().mark((function t(e){return fa().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.close();case 2:return t.abrupt("return",{done:!0,value:e});case 3:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()}]),n}(sa);function pa(t){return t<0&&(t=4294967295+t+1),"0x".concat(t.toString(16))}var ya=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8],va=function(){function t(e){B(this,t),this.buffer=e}return C(t,[{key:"high",value:function(){return this.buffer[1]}},{key:"low",value:function(){return this.buffer[0]}},{key:"_times",value:function(t){var e=new Uint32Array([this.buffer[1]>>>16,65535&this.buffer[1],this.buffer[0]>>>16,65535&this.buffer[0]]),n=new Uint32Array([t.buffer[1]>>>16,65535&t.buffer[1],t.buffer[0]>>>16,65535&t.buffer[0]]),r=e[3]*n[3];this.buffer[0]=65535&r;var i=r>>>16;return i+=r=e[2]*n[3],i+=r=e[3]*n[2]>>>0,this.buffer[0]+=i<<16,this.buffer[1]=i>>>0<r?65536:0,this.buffer[1]+=i>>>16,this.buffer[1]+=e[1]*n[3]+e[2]*n[2]+e[3]*n[1],this.buffer[1]+=e[0]*n[3]+e[1]*n[2]+e[2]*n[1]+e[3]*n[0]<<16,this}},{key:"_plus",value:function(t){var e=this.buffer[0]+t.buffer[0]>>>0;this.buffer[1]+=t.buffer[1],e<this.buffer[0]>>>0&&++this.buffer[1],this.buffer[0]=e}},{key:"lessThan",value:function(t){return this.buffer[1]<t.buffer[1]||this.buffer[1]===t.buffer[1]&&this.buffer[0]<t.buffer[0]}},{key:"equals",value:function(t){return this.buffer[1]===t.buffer[1]&&this.buffer[0]==t.buffer[0]}},{key:"greaterThan",value:function(t){return t.lessThan(this)}},{key:"hex",value:function(){return"".concat(pa(this.buffer[1])," ").concat(pa(this.buffer[0]))}}]),t}(),ba=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,[{key:"times",value:function(t){return this._times(t),this}},{key:"plus",value:function(t){return this._plus(t),this}}],[{key:"from",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(2);return n.fromString("string"===typeof t?t:t.toString(),e)}},{key:"fromNumber",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(2);return n.fromString(t.toString(),e)}},{key:"fromString",value:function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(2),r=t.length,i=new n(e),o=0;o<r;){var a=8<r-o?8:r-o,u=new n(new Uint32Array([parseInt(t.substr(o,a),10),0])),s=new n(new Uint32Array([ya[a],0]));i.times(s),i.plus(u),o+=a}return i}},{key:"convertArray",value:function(t){for(var e=new Uint32Array(2*t.length),r=-1,i=t.length;++r<i;)n.from(t[r],new Uint32Array(e.buffer,e.byteOffset+2*r*4,2));return e}},{key:"multiply",value:function(t,e){return new n(new Uint32Array(t.buffer)).times(e)}},{key:"add",value:function(t,e){return new n(new Uint32Array(t.buffer)).plus(e)}}]),n}(va),ga=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,[{key:"negate",value:function(){return this.buffer[0]=1+~this.buffer[0],this.buffer[1]=~this.buffer[1],0==this.buffer[0]&&++this.buffer[1],this}},{key:"times",value:function(t){return this._times(t),this}},{key:"plus",value:function(t){return this._plus(t),this}},{key:"lessThan",value:function(t){var e=this.buffer[1]<<0,n=t.buffer[1]<<0;return e<n||e===n&&this.buffer[0]<t.buffer[0]}}],[{key:"from",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(2);return n.fromString("string"===typeof t?t:t.toString(),e)}},{key:"fromNumber",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(2);return n.fromString(t.toString(),e)}},{key:"fromString",value:function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(2),r=t.startsWith("-"),i=t.length,o=new n(e),a=r?1:0;a<i;){var u=8<i-a?8:i-a,s=new n(new Uint32Array([parseInt(t.substr(a,u),10),0])),c=new n(new Uint32Array([ya[u],0]));o.times(c),o.plus(s),a+=u}return r?o.negate():o}},{key:"convertArray",value:function(t){for(var e=new Uint32Array(2*t.length),r=-1,i=t.length;++r<i;)n.from(t[r],new Uint32Array(e.buffer,e.byteOffset+2*r*4,2));return e}},{key:"multiply",value:function(t,e){return new n(new Uint32Array(t.buffer)).times(e)}},{key:"add",value:function(t,e){return new n(new Uint32Array(t.buffer)).plus(e)}}]),n}(va),ma=function(){function t(e){B(this,t),this.buffer=e}return C(t,[{key:"high",value:function(){return new ga(new Uint32Array(this.buffer.buffer,this.buffer.byteOffset+8,2))}},{key:"low",value:function(){return new ga(new Uint32Array(this.buffer.buffer,this.buffer.byteOffset,2))}},{key:"negate",value:function(){return this.buffer[0]=1+~this.buffer[0],this.buffer[1]=~this.buffer[1],this.buffer[2]=~this.buffer[2],this.buffer[3]=~this.buffer[3],0==this.buffer[0]&&++this.buffer[1],0==this.buffer[1]&&++this.buffer[2],0==this.buffer[2]&&++this.buffer[3],this}},{key:"times",value:function(t){var e=new ba(new Uint32Array([this.buffer[3],0])),n=new ba(new Uint32Array([this.buffer[2],0])),r=new ba(new Uint32Array([this.buffer[1],0])),i=new ba(new Uint32Array([this.buffer[0],0])),o=new ba(new Uint32Array([t.buffer[3],0])),a=new ba(new Uint32Array([t.buffer[2],0])),u=new ba(new Uint32Array([t.buffer[1],0])),s=new ba(new Uint32Array([t.buffer[0],0])),c=ba.multiply(i,s);this.buffer[0]=c.low();var l=new ba(new Uint32Array([c.high(),0]));return c=ba.multiply(r,s),l.plus(c),c=ba.multiply(i,u),l.plus(c),this.buffer[1]=l.low(),this.buffer[3]=l.lessThan(c)?1:0,this.buffer[2]=l.high(),new ba(new Uint32Array(this.buffer.buffer,this.buffer.byteOffset+8,2)).plus(ba.multiply(n,s)).plus(ba.multiply(r,u)).plus(ba.multiply(i,a)),this.buffer[3]+=ba.multiply(e,s).plus(ba.multiply(n,u)).plus(ba.multiply(r,a)).plus(ba.multiply(i,o)).low(),this}},{key:"plus",value:function(t){var e=new Uint32Array(4);return e[3]=this.buffer[3]+t.buffer[3]>>>0,e[2]=this.buffer[2]+t.buffer[2]>>>0,e[1]=this.buffer[1]+t.buffer[1]>>>0,e[0]=this.buffer[0]+t.buffer[0]>>>0,e[0]<this.buffer[0]>>>0&&++e[1],e[1]<this.buffer[1]>>>0&&++e[2],e[2]<this.buffer[2]>>>0&&++e[3],this.buffer[3]=e[3],this.buffer[2]=e[2],this.buffer[1]=e[1],this.buffer[0]=e[0],this}},{key:"hex",value:function(){return"".concat(pa(this.buffer[3])," ").concat(pa(this.buffer[2])," ").concat(pa(this.buffer[1])," ").concat(pa(this.buffer[0]))}}],[{key:"multiply",value:function(e,n){return new t(new Uint32Array(e.buffer)).times(n)}},{key:"add",value:function(e,n){return new t(new Uint32Array(e.buffer)).plus(n)}},{key:"from",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(4);return t.fromString("string"===typeof e?e:e.toString(),n)}},{key:"fromNumber",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(4);return t.fromString(e.toString(),n)}},{key:"fromString",value:function(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(4),r=e.startsWith("-"),i=e.length,o=new t(n),a=r?1:0;a<i;){var u=8<i-a?8:i-a,s=new t(new Uint32Array([parseInt(e.substr(a,u),10),0,0,0])),c=new t(new Uint32Array([ya[u],0,0,0]));o.times(c),o.plus(s),a+=u}return r?o.negate():o}},{key:"convertArray",value:function(e){for(var n=new Uint32Array(4*e.length),r=-1,i=e.length;++r<i;)t.from(e[r],new Uint32Array(n.buffer,n.byteOffset+16*r,4));return n}}]),t}(),wa=function(t){nt(n,t);var e=st(n);function n(t,r,i,o){var a;return B(this,n),(a=e.call(this)).nodesIndex=-1,a.buffersIndex=-1,a.bytes=t,a.nodes=r,a.buffers=i,a.dictionaries=o,a}return C(n,[{key:"visit",value:function(t){return Ve(rt(n.prototype),"visit",this).call(this,t instanceof yo?t.type:t)}},{key:"visitNull",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=e.length;return yr.Null(t,0,n)}},{key:"visitBool",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=e.length,r=e.nullCount;return yr.Bool(t,0,n,r,this.readNullBitmap(t,r),this.readData(t))}},{key:"visitInt",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=e.length,r=e.nullCount;return yr.Int(t,0,n,r,this.readNullBitmap(t,r),this.readData(t))}},{key:"visitFloat",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=e.length,r=e.nullCount;return yr.Float(t,0,n,r,this.readNullBitmap(t,r),this.readData(t))}},{key:"visitUtf8",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=e.length,r=e.nullCount;return yr.Utf8(t,0,n,r,this.readNullBitmap(t,r),this.readOffsets(t),this.readData(t))}},{key:"visitBinary",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=e.length,r=e.nullCount;return yr.Binary(t,0,n,r,this.readNullBitmap(t,r),this.readOffsets(t),this.readData(t))}},{key:"visitFixedSizeBinary",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=e.length,r=e.nullCount;return yr.FixedSizeBinary(t,0,n,r,this.readNullBitmap(t,r),this.readData(t))}},{key:"visitDate",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=e.length,r=e.nullCount;return yr.Date(t,0,n,r,this.readNullBitmap(t,r),this.readData(t))}},{key:"visitTimestamp",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=e.length,r=e.nullCount;return yr.Timestamp(t,0,n,r,this.readNullBitmap(t,r),this.readData(t))}},{key:"visitTime",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=e.length,r=e.nullCount;return yr.Time(t,0,n,r,this.readNullBitmap(t,r),this.readData(t))}},{key:"visitDecimal",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=e.length,r=e.nullCount;return yr.Decimal(t,0,n,r,this.readNullBitmap(t,r),this.readData(t))}},{key:"visitList",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=e.length,r=e.nullCount;return yr.List(t,0,n,r,this.readNullBitmap(t,r),this.readOffsets(t),this.visit(t.children[0]))}},{key:"visitStruct",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=e.length,r=e.nullCount;return yr.Struct(t,0,n,r,this.readNullBitmap(t,r),this.visitMany(t.children))}},{key:"visitUnion",value:function(t){return t.mode===en.Sparse?this.visitSparseUnion(t):this.visitDenseUnion(t)}},{key:"visitDenseUnion",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=e.length,r=e.nullCount;return yr.Union(t,0,n,r,this.readNullBitmap(t,r),this.readTypeIds(t),this.readOffsets(t),this.visitMany(t.children))}},{key:"visitSparseUnion",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=e.length,r=e.nullCount;return yr.Union(t,0,n,r,this.readNullBitmap(t,r),this.readTypeIds(t),this.visitMany(t.children))}},{key:"visitDictionary",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=e.length,r=e.nullCount;return yr.Dictionary(t,0,n,r,this.readNullBitmap(t,r),this.readData(t.indices),this.readDictionary(t))}},{key:"visitInterval",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=e.length,r=e.nullCount;return yr.Interval(t,0,n,r,this.readNullBitmap(t,r),this.readData(t))}},{key:"visitFixedSizeList",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=e.length,r=e.nullCount;return yr.FixedSizeList(t,0,n,r,this.readNullBitmap(t,r),this.visit(t.children[0]))}},{key:"visitMap",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode(),n=e.length,r=e.nullCount;return yr.Map(t,0,n,r,this.readNullBitmap(t,r),this.readOffsets(t),this.visit(t.children[0]))}},{key:"nextFieldNode",value:function(){return this.nodes[++this.nodesIndex]}},{key:"nextBufferRange",value:function(){return this.buffers[++this.buffersIndex]}},{key:"readNullBitmap",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.nextBufferRange();return e>0&&this.readData(t,n)||new Uint8Array(0)}},{key:"readOffsets",value:function(t,e){return this.readData(t,e)}},{key:"readTypeIds",value:function(t,e){return this.readData(t,e)}},{key:"readData",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextBufferRange(),n=e.length,r=e.offset;return this.bytes.subarray(r,r+n)}},{key:"readDictionary",value:function(t){return this.dictionaries.get(t.id)}}]),n}(mn),ka=function(t){nt(n,t);var e=st(n);function n(t,r,i,o){var a;return B(this,n),(a=e.call(this,new Uint8Array(0),r,i,o)).sources=t,a}return C(n,[{key:"readNullBitmap",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.nextBufferRange(),r=n.offset;return e<=0?new Uint8Array(0):hn(this.sources[r])}},{key:"readOffsets",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextBufferRange(),n=e.offset;return $t(Uint8Array,$t(Int32Array,this.sources[n]))}},{key:"readTypeIds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextBufferRange(),n=e.offset;return $t(Uint8Array,$t(t.ArrayType,this.sources[n]))}},{key:"readData",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextBufferRange(),n=e.offset,r=this.sources;return Pn.isTimestamp(t)||(Pn.isInt(t)||Pn.isTime(t))&&64===t.bitWidth||Pn.isDate(t)&&t.unit===Xe.MILLISECOND?$t(Uint8Array,ga.convertArray(r[n])):Pn.isDecimal(t)?$t(Uint8Array,ma.convertArray(r[n])):Pn.isBinary(t)||Pn.isFixedSizeBinary(t)?_a(r[n]):Pn.isBool(t)?hn(r[n]):Pn.isUtf8(t)?tt(r[n].join("")):$t(Uint8Array,$t(t.ArrayType,r[n].map((function(t){return+t}))))}}]),n}(wa);function _a(t){for(var e=t.join(""),n=new Uint8Array(e.length/2),r=0;r<e.length;r+=2)n[r>>1]=parseInt(e.substr(r,2),16);return n}var xa=V.Long,Sa=Ge.apache.arrow.flatbuf.Null,Ea=Ge.apache.arrow.flatbuf.Int,Ta=Ge.apache.arrow.flatbuf.FloatingPoint,Oa=Ge.apache.arrow.flatbuf.Binary,La=Ge.apache.arrow.flatbuf.Bool,Ia=Ge.apache.arrow.flatbuf.Utf8,Aa=Ge.apache.arrow.flatbuf.Decimal,ja=Ge.apache.arrow.flatbuf.Date,Na=Ge.apache.arrow.flatbuf.Time,Ba=Ge.apache.arrow.flatbuf.Timestamp,Pa=Ge.apache.arrow.flatbuf.Interval,Ca=Ge.apache.arrow.flatbuf.List,Fa=Ge.apache.arrow.flatbuf.Struct_,Da=Ge.apache.arrow.flatbuf.Union,Ma=Ge.apache.arrow.flatbuf.DictionaryEncoding,Ra=Ge.apache.arrow.flatbuf.FixedSizeBinary,Ua=Ge.apache.arrow.flatbuf.FixedSizeList,za=Ge.apache.arrow.flatbuf.Map,Va=new(function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,[{key:"visit",value:function(t,e){return null==t||null==e?void 0:Ve(rt(n.prototype),"visit",this).call(this,t,e)}},{key:"visitNull",value:function(t,e){return Sa.startNull(e),Sa.endNull(e)}},{key:"visitInt",value:function(t,e){return Ea.startInt(e),Ea.addBitWidth(e,t.bitWidth),Ea.addIsSigned(e,t.isSigned),Ea.endInt(e)}},{key:"visitFloat",value:function(t,e){return Ta.startFloatingPoint(e),Ta.addPrecision(e,t.precision),Ta.endFloatingPoint(e)}},{key:"visitBinary",value:function(t,e){return Oa.startBinary(e),Oa.endBinary(e)}},{key:"visitBool",value:function(t,e){return La.startBool(e),La.endBool(e)}},{key:"visitUtf8",value:function(t,e){return Ia.startUtf8(e),Ia.endUtf8(e)}},{key:"visitDecimal",value:function(t,e){return Aa.startDecimal(e),Aa.addScale(e,t.scale),Aa.addPrecision(e,t.precision),Aa.endDecimal(e)}},{key:"visitDate",value:function(t,e){return ja.startDate(e),ja.addUnit(e,t.unit),ja.endDate(e)}},{key:"visitTime",value:function(t,e){return Na.startTime(e),Na.addUnit(e,t.unit),Na.addBitWidth(e,t.bitWidth),Na.endTime(e)}},{key:"visitTimestamp",value:function(t,e){var n=t.timezone&&e.createString(t.timezone)||void 0;return Ba.startTimestamp(e),Ba.addUnit(e,t.unit),void 0!==n&&Ba.addTimezone(e,n),Ba.endTimestamp(e)}},{key:"visitInterval",value:function(t,e){return Pa.startInterval(e),Pa.addUnit(e,t.unit),Pa.endInterval(e)}},{key:"visitList",value:function(t,e){return Ca.startList(e),Ca.endList(e)}},{key:"visitStruct",value:function(t,e){return Fa.startStruct_(e),Fa.endStruct_(e)}},{key:"visitUnion",value:function(t,e){Da.startTypeIdsVector(e,t.typeIds.length);var n=Da.createTypeIdsVector(e,t.typeIds);return Da.startUnion(e),Da.addMode(e,t.mode),Da.addTypeIds(e,n),Da.endUnion(e)}},{key:"visitDictionary",value:function(t,e){var n=this.visit(t.indices,e);return Ma.startDictionaryEncoding(e),Ma.addId(e,new xa(t.id,0)),Ma.addIsOrdered(e,t.isOrdered),void 0!==n&&Ma.addIndexType(e,n),Ma.endDictionaryEncoding(e)}},{key:"visitFixedSizeBinary",value:function(t,e){return Ra.startFixedSizeBinary(e),Ra.addByteWidth(e,t.byteWidth),Ra.endFixedSizeBinary(e)}},{key:"visitFixedSizeList",value:function(t,e){return Ua.startFixedSizeList(e),Ua.addListSize(e,t.listSize),Ua.endFixedSizeList(e)}},{key:"visitMap",value:function(t,e){return za.startMap(e),za.addKeysSorted(e,t.keysSorted),za.endMap(e)}}]),n}(mn));function Ga(t){return new cu(t.count,function t(e){return(e||[]).reduce((function(e,n){return[].concat(gn(e),[new hu(n.count,(r=n.VALIDITY,(r||[]).reduce((function(t,e){return t+ +(0===e)}),0)))],gn(t(n.children)));var r}),[])}(t.columns),function t(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=-1,i=(e||[]).length;++r<i;){var o=e[r];o.VALIDITY&&n.push(new fu(n.length,o.VALIDITY.length)),o.TYPE&&n.push(new fu(n.length,o.TYPE.length)),o.OFFSET&&n.push(new fu(n.length,o.OFFSET.length)),o.DATA&&n.push(new fu(n.length,o.DATA.length)),n=t(o.children,n)}return n}(t.columns))}function Wa(t,e){return(t.fields||[]).filter(Boolean).map((function(t){return yo.fromJSON(t,e)}))}function Ya(t,e){return(t.children||[]).filter(Boolean).map((function(t){return yo.fromJSON(t,e)}))}function Ha(t){return new Map(Object.entries(t||{}))}function $a(t){return new Fn(t.isSigned,t.bitWidth)}function Ka(t,e){var n=t.type.name;switch(n){case"NONE":case"null":return new Cn;case"binary":return new qn;case"utf8":return new Qn;case"bool":return new Jn;case"list":return new or((e||[])[0]);case"struct":case"struct_":return new ar(e||[])}switch(n){case"int":var r=t.type;return new Fn(r.isSigned,r.bitWidth);case"floatingpoint":var i=t.type;return new Yn(tn[i.precision]);case"decimal":var o=t.type;return new Xn(o.scale,o.precision);case"date":var a=t.type;return new Zn(Xe[a.unit]);case"time":var u=t.type;return new nr(Ze[u.unit],u.bitWidth);case"timestamp":var s=t.type;return new rr(Ze[s.unit],s.timezone);case"interval":var c=t.type;return new ir(nn[c.unit]);case"union":var l=t.type;return new ur(en[l.mode],l.typeIds||[],e||[]);case"fixedsizebinary":var f=t.type;return new sr(f.byteWidth);case"fixedsizelist":var h=t.type;return new cr(h.listSize,(e||[])[0]);case"map":var d=t.type;return new lr((e||[])[0],d.keysSorted)}throw new Error('Unrecognized type: "'.concat(n,'"'))}var qa=V.Long,Qa=V.Builder,Ja=V.ByteBuffer,Xa=Ge.apache.arrow.flatbuf.Type,Za=Ge.apache.arrow.flatbuf.Field,tu=Ge.apache.arrow.flatbuf.Schema,eu=Ge.apache.arrow.flatbuf.Buffer,nu=Ke.apache.arrow.flatbuf.Message,ru=Ge.apache.arrow.flatbuf.KeyValue,iu=Ke.apache.arrow.flatbuf.FieldNode,ou=Ge.apache.arrow.flatbuf.Endianness,au=Ke.apache.arrow.flatbuf.RecordBatch,uu=Ke.apache.arrow.flatbuf.DictionaryBatch,su=function(){function t(e,n,r,i){B(this,t),this._version=n,this._headerType=r,this.body=new Uint8Array(0),i&&(this._createHeader=function(){return i}),this._bodyLength="number"===typeof e?e:e.low}return C(t,[{key:"type",get:function(){return this.headerType}},{key:"version",get:function(){return this._version}},{key:"headerType",get:function(){return this._headerType}},{key:"bodyLength",get:function(){return this._bodyLength}},{key:"header",value:function(){return this._createHeader()}},{key:"isSchema",value:function(){return this.headerType===rn.Schema}},{key:"isRecordBatch",value:function(){return this.headerType===rn.RecordBatch}},{key:"isDictionaryBatch",value:function(){return this.headerType===rn.DictionaryBatch}}],[{key:"fromJSON",value:function(e,n){var r=new t(0,on.V4,n);return r._createHeader=function(t,e){return function(){switch(e){case rn.Schema:return po.fromJSON(t);case rn.RecordBatch:return cu.fromJSON(t);case rn.DictionaryBatch:return lu.fromJSON(t)}throw new Error("Unrecognized Message type: { name: ".concat(rn[e],", type: ").concat(e," }"))}}(e,n),r}},{key:"decode",value:function(e){e=new Ja(Xt(e));var n=nu.getRootAsMessage(e),r=n.bodyLength(),i=n.version(),o=n.headerType(),a=new t(r,i,o);return a._createHeader=function(t,e){return function(){switch(e){case rn.Schema:return po.decode(t.header(new tu));case rn.RecordBatch:return cu.decode(t.header(new au),t.version());case rn.DictionaryBatch:return lu.decode(t.header(new uu),t.version())}throw new Error("Unrecognized Message type: { name: ".concat(rn[e],", type: ").concat(e," }"))}}(n,o),a}},{key:"encode",value:function(t){var e=new Qa,n=-1;return t.isSchema()?n=po.encode(e,t.header()):t.isRecordBatch()?n=cu.encode(e,t.header()):t.isDictionaryBatch()&&(n=lu.encode(e,t.header())),nu.startMessage(e),nu.addVersion(e,on.V4),nu.addHeader(e,n),nu.addHeaderType(e,t.headerType),nu.addBodyLength(e,new qa(t.bodyLength,0)),nu.finishMessageBuffer(e,nu.endMessage(e)),e.asUint8Array()}},{key:"from",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(e instanceof po)return new t(0,on.V4,rn.Schema,e);if(e instanceof cu)return new t(n,on.V4,rn.RecordBatch,e);if(e instanceof lu)return new t(n,on.V4,rn.DictionaryBatch,e);throw new Error("Unrecognized Message header: ".concat(e))}}]),t}(),cu=function(){function t(e,n,r){B(this,t),this._nodes=n,this._buffers=r,this._length="number"===typeof e?e:e.low}return C(t,[{key:"nodes",get:function(){return this._nodes}},{key:"length",get:function(){return this._length}},{key:"buffers",get:function(){return this._buffers}}]),t}(),lu=function(){function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];B(this,t),this._data=e,this._isDelta=r,this._id="number"===typeof n?n:n.low}return C(t,[{key:"id",get:function(){return this._id}},{key:"data",get:function(){return this._data}},{key:"isDelta",get:function(){return this._isDelta}},{key:"length",get:function(){return this.data.length}},{key:"nodes",get:function(){return this.data.nodes}},{key:"buffers",get:function(){return this.data.buffers}}]),t}(),fu=C((function t(e,n){B(this,t),this.offset="number"===typeof e?e:e.low,this.length="number"===typeof n?n:n.low})),hu=C((function t(e,n){B(this,t),this.length="number"===typeof e?e:e.low,this.nullCount="number"===typeof n?n:n.low}));function du(t){for(var e,n=[],r=-1,i=-1,o=t.nodesLength();++r<o;)(e=t.nodes(r))&&(n[++i]=hu.decode(e));return n}function pu(t,e){for(var n,r=[],i=-1,o=-1,a=t.buffersLength();++i<a;)(n=t.buffers(i))&&(e<on.V4&&(n.bb_pos+=8*(i+1)),r[++o]=fu.decode(n));return r}function yu(t,e){for(var n,r=[],i=-1,o=-1,a=t.fieldsLength();++i<a;)(n=t.fields(i))&&(r[++o]=yo.decode(n,e));return r}function vu(t,e){for(var n,r=[],i=-1,o=-1,a=t.childrenLength();++i<a;)(n=t.children(i))&&(r[++o]=yo.decode(n,e));return r}function bu(t){var e=new Map;if(t)for(var n,r,i=-1,o=0|t.customMetadataLength();++i<o;)(n=t.customMetadata(i))&&null!=(r=n.key())&&e.set(r,n.value());return e}function gu(t){return new Fn(t.isSigned(),t.bitWidth())}function mu(t,e){var n=t.typeType();switch(n){case Xa.NONE:case Xa.Null:return new Cn;case Xa.Binary:return new qn;case Xa.Utf8:return new Qn;case Xa.Bool:return new Jn;case Xa.List:return new or((e||[])[0]);case Xa.Struct_:return new ar(e||[])}switch(n){case Xa.Int:var r=t.type(new Ge.apache.arrow.flatbuf.Int);return new Fn(r.isSigned(),r.bitWidth());case Xa.FloatingPoint:var i=t.type(new Ge.apache.arrow.flatbuf.FloatingPoint);return new Yn(i.precision());case Xa.Decimal:var o=t.type(new Ge.apache.arrow.flatbuf.Decimal);return new Xn(o.scale(),o.precision());case Xa.Date:var a=t.type(new Ge.apache.arrow.flatbuf.Date);return new Zn(a.unit());case Xa.Time:var u=t.type(new Ge.apache.arrow.flatbuf.Time);return new nr(u.unit(),u.bitWidth());case Xa.Timestamp:var s=t.type(new Ge.apache.arrow.flatbuf.Timestamp);return new rr(s.unit(),s.timezone());case Xa.Interval:var c=t.type(new Ge.apache.arrow.flatbuf.Interval);return new ir(c.unit());case Xa.Union:var l=t.type(new Ge.apache.arrow.flatbuf.Union);return new ur(l.mode(),l.typeIdsArray()||[],e||[]);case Xa.FixedSizeBinary:var f=t.type(new Ge.apache.arrow.flatbuf.FixedSizeBinary);return new sr(f.byteWidth());case Xa.FixedSizeList:var h=t.type(new Ge.apache.arrow.flatbuf.FixedSizeList);return new cr(h.listSize(),(e||[])[0]);case Xa.Map:var d=t.type(new Ge.apache.arrow.flatbuf.Map);return new lr((e||[])[0],d.keysSorted())}throw new Error('Unrecognized type: "'.concat(Xa[n],'" (').concat(n,")"))}yo.encode=function(t,e){var n=-1,r=-1,i=-1,o=e.type,a=e.typeId;Pn.isDictionary(o)?(a=o.dictionary.typeId,i=Va.visit(o,t),r=Va.visit(o.dictionary,t)):r=Va.visit(o,t);var u=(o.children||[]).map((function(e){return yo.encode(t,e)})),s=Za.createChildrenVector(t,u),c=e.metadata&&e.metadata.size>0?Za.createCustomMetadataVector(t,gn(e.metadata).map((function(e){var n=Object(F.a)(e,2),r=n[0],i=n[1],o=t.createString("".concat(r)),a=t.createString("".concat(i));return ru.startKeyValue(t),ru.addKey(t,o),ru.addValue(t,a),ru.endKeyValue(t)}))):-1;e.name&&(n=t.createString(e.name));Za.startField(t),Za.addType(t,r),Za.addTypeType(t,a),Za.addChildren(t,s),Za.addNullable(t,!!e.nullable),-1!==n&&Za.addName(t,n);-1!==i&&Za.addDictionary(t,i);-1!==c&&Za.addCustomMetadata(t,c);return Za.endField(t)},yo.decode=function(t,e){var n,r,i,o,a,u;e&&(u=t.dictionary())?e.has(n=u.id().low)?(o=(o=u.indexType())?gu(o):new Rn,a=new dr(e.get(n),o,n,u.isOrdered()),r=new yo(t.name(),a,t.nullable(),bu(t))):(o=(o=u.indexType())?gu(o):new Rn,e.set(n,i=mu(t,vu(t,e))),a=new dr(i,o,n,u.isOrdered()),r=new yo(t.name(),a,t.nullable(),bu(t))):(i=mu(t,vu(t,e)),r=new yo(t.name(),i,t.nullable(),bu(t)));return r||null},yo.fromJSON=function(t,e){var n,r,i,o,a,u;return e&&(o=t.dictionary)?e.has(n=o.id)?(r=(r=o.indexType)?$a(r):new Rn,u=new dr(e.get(n),r,n,o.isOrdered),i=new yo(t.name,u,t.nullable,Ha(t.customMetadata))):(r=(r=o.indexType)?$a(r):new Rn,e.set(n,a=Ka(t,Ya(t,e))),u=new dr(a,r,n,o.isOrdered),i=new yo(t.name,u,t.nullable,Ha(t.customMetadata))):(a=Ka(t,Ya(t,e)),i=new yo(t.name,a,t.nullable,Ha(t.customMetadata))),i||null},po.encode=function(t,e){var n=e.fields.map((function(e){return yo.encode(t,e)}));tu.startFieldsVector(t,n.length);var r=tu.createFieldsVector(t,n),i=e.metadata&&e.metadata.size>0?tu.createCustomMetadataVector(t,gn(e.metadata).map((function(e){var n=Object(F.a)(e,2),r=n[0],i=n[1],o=t.createString("".concat(r)),a=t.createString("".concat(i));return ru.startKeyValue(t),ru.addKey(t,o),ru.addValue(t,a),ru.endKeyValue(t)}))):-1;tu.startSchema(t),tu.addFields(t,r),tu.addEndianness(t,wu?ou.Little:ou.Big),-1!==i&&tu.addCustomMetadata(t,i);return tu.endSchema(t)},po.decode=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map,n=yu(t,e);return new po(n,bu(t),e)},po.fromJSON=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map;return new po(Wa(t,e),Ha(t.customMetadata),e)},cu.encode=function(t,e){var n=e.nodes||[],r=e.buffers||[];au.startNodesVector(t,n.length),n.slice().reverse().forEach((function(e){return hu.encode(t,e)}));var i=t.endVector();au.startBuffersVector(t,r.length),r.slice().reverse().forEach((function(e){return fu.encode(t,e)}));var o=t.endVector();return au.startRecordBatch(t),au.addLength(t,new qa(e.length,0)),au.addNodes(t,i),au.addBuffers(t,o),au.endRecordBatch(t)},cu.decode=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:on.V4;return new cu(t.length(),du(t),pu(t,e))},cu.fromJSON=Ga,lu.encode=function(t,e){var n=cu.encode(t,e.data);return uu.startDictionaryBatch(t),uu.addId(t,new qa(e.id,0)),uu.addIsDelta(t,e.isDelta),uu.addData(t,n),uu.endDictionaryBatch(t)},lu.decode=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:on.V4;return new lu(cu.decode(t.data(),e),t.id(),t.isDelta())},lu.fromJSON=function(t){return new lu(Ga(t.data),t.id,t.isDelta)},hu.encode=function(t,e){return iu.createFieldNode(t,new qa(e.length,0),new qa(e.nullCount,0))},hu.decode=function(t){return new hu(t.length(),t.nullCount())},fu.encode=function(t,e){return eu.createBuffer(t,new qa(e.offset,0),new qa(e.length,0))},fu.decode=function(t){return new fu(t.offset(),t.length())};var wu=function(){var t=new ArrayBuffer(2);return new DataView(t).setInt16(0,256,!0),256===new Int16Array(t)[0]}();function ku(){ku=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(L){s=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),u=new E(i||[]);return r(a,"_invoke",{value:k(t,n,u)}),a}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(L){return{type:"throw",arg:L}}}t.wrap=c;var f={};function h(){}function d(){}function p(){}var y={};s(y,o,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(T([])));b&&b!==e&&n.call(b,o)&&(y=b);var g=p.prototype=h.prototype=Object.create(y);function m(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var i;r(this,"_invoke",{value:function(r,o){function a(){return new e((function(i,a){!function r(i,o,a,u){var s=l(t[i],t,o);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}(r,o,i,a)}))}return i=i?i.then(a,a):a()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return O()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var u=_(a,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(t,e,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function _(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=l(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function T(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return d.prototype=p,r(g,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:d,configurable:!0}),d.displayName=s(p,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,s(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},m(w.prototype),s(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},m(g),s(g,u,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=T,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),s=n.call(o,"finallyLoc");if(u&&s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:T(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}for(var _u=V.ByteBuffer,xu=function(t){return"Expected ".concat(rn[t]," Message in stream, but was null or length 0.")},Su=function(t){return"Header pointer of flatbuffer-encoded ".concat(rn[t]," Message is null or length 0.")},Eu=function(t,e){return"Expected to read ".concat(t," metadata bytes, but only read ").concat(e,".")},Tu=function(t,e){return"Expected to read ".concat(t," bytes for message body, but only read ").concat(e,".")},Ou=function(t){function e(t){B(this,e),this.source=t instanceof ua?t:new ua(t)}return C(e,[{key:Symbol.iterator,value:function(){return this}},{key:"next",value:function(){var t;return(t=this.readMetadataLength()).done||-1===t.value&&(t=this.readMetadataLength()).done||(t=this.readMetadata(t.value)).done?lt:t}},{key:"throw",value:function(t){return this.source.throw(t)}},{key:"return",value:function(t){return this.source.return(t)}},{key:"readMessage",value:function(t){var e;if((e=this.next()).done)return null;if(null!=t&&e.value.headerType!==t)throw new Error(xu(t));return e.value}},{key:"readMessageBody",value:function(t){if(t<=0)return new Uint8Array(0);var e=Xt(this.source.read(t));if(e.byteLength<t)throw new Error(Tu(t,e.byteLength));return e.byteOffset%8===0&&e.byteOffset+e.byteLength<=e.buffer.byteLength?e:e.slice()}},{key:"readSchema",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=rn.Schema,n=this.readMessage(e),r=n&&n.header();if(t&&!r)throw new Error(Su(e));return r}},{key:"readMetadataLength",value:function(){var t=this.source.read(Au),e=t&&new _u(t),n=e&&e.readInt32(0)||0;return{done:0===n,value:n}}},{key:"readMetadata",value:function(t){var e=this.source.read(t);if(!e)return lt;if(e.byteLength<t)throw new Error(Eu(t,e.byteLength));return{done:!1,value:su.decode(e)}}}]),e}(),Lu=function(t){function e(t,n){B(this,e),this.source=t instanceof sa?t:Bt(t)?new da(t,n):new sa(t)}return C(e,[{key:Symbol.asyncIterator,value:function(){return this}},{key:"next",value:function(){var t=N(ku().mark((function t(){var e;return ku().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.readMetadataLength();case 2:if(!(e=t.sent).done){t.next=4;break}return t.abrupt("return",lt);case 4:if(t.t0=-1===e.value,!t.t0){t.next=9;break}return t.next=8,this.readMetadataLength();case 8:t.t0=(e=t.sent).done;case 9:if(!t.t0){t.next=11;break}return t.abrupt("return",lt);case 11:return t.next=13,this.readMetadata(e.value);case 13:if(!(e=t.sent).done){t.next=15;break}return t.abrupt("return",lt);case 15:return t.abrupt("return",e);case 16:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"throw",value:function(){var t=N(ku().mark((function t(e){return ku().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.source.throw(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"return",value:function(){var t=N(ku().mark((function t(e){return ku().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.source.return(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"readMessage",value:function(){var t=N(ku().mark((function t(e){var n;return ku().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.next();case 2:if(!(n=t.sent).done){t.next=4;break}return t.abrupt("return",null);case 4:if(null==e||n.value.headerType===e){t.next=6;break}throw new Error(xu(e));case 6:return t.abrupt("return",n.value);case 7:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"readMessageBody",value:function(){var t=N(ku().mark((function t(e){var n;return ku().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e<=0)){t.next=2;break}return t.abrupt("return",new Uint8Array(0));case 2:return t.t0=Xt,t.next=5,this.source.read(e);case 5:if(t.t1=t.sent,!((n=(0,t.t0)(t.t1)).byteLength<e)){t.next=9;break}throw new Error(Tu(e,n.byteLength));case 9:return t.abrupt("return",n.byteOffset%8===0&&n.byteOffset+n.byteLength<=n.buffer.byteLength?n:n.slice());case 10:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"readSchema",value:function(){var t=N(ku().mark((function t(){var e,n,r,i,o=arguments;return ku().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=o.length>0&&void 0!==o[0]&&o[0],n=rn.Schema,t.next=4,this.readMessage(n);case 4:if(r=t.sent,i=r&&r.header(),!e||i){t.next=8;break}throw new Error(Su(n));case 8:return t.abrupt("return",i);case 9:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"readMetadataLength",value:function(){var t=N(ku().mark((function t(){var e,n,r;return ku().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.source.read(Au);case 2:return e=t.sent,n=e&&new _u(e),r=n&&n.readInt32(0)||0,t.abrupt("return",{done:0===r,value:r});case 6:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"readMetadata",value:function(){var t=N(ku().mark((function t(e){var n;return ku().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.source.read(e);case 2:if(n=t.sent){t.next=5;break}return t.abrupt("return",lt);case 5:if(!(n.byteLength<e)){t.next=7;break}throw new Error(Eu(e,n.byteLength));case 7:return t.abrupt("return",{done:!1,value:su.decode(n)});case 8:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()}]),e}(),Iu=function(t){nt(n,t);var e=st(n);function n(t){var r;return B(this,n),(r=e.call(this,new Uint8Array(0)))._schema=!1,r._body=[],r._batchIndex=0,r._dictionaryIndex=0,r._json=t instanceof ft?t:new ft(t),r}return C(n,[{key:"next",value:function(){var t=this._json;if(!this._schema)return this._schema=!0,{done:!1,value:su.fromJSON(t.schema,rn.Schema)};if(this._dictionaryIndex<t.dictionaries.length){var e=t.dictionaries[this._dictionaryIndex++];return this._body=e.data.columns,{done:!1,value:su.fromJSON(e,rn.DictionaryBatch)}}if(this._batchIndex<t.batches.length){var n=t.batches[this._batchIndex++];return this._body=n.columns,{done:!1,value:su.fromJSON(n,rn.RecordBatch)}}return this._body=[],lt}},{key:"readMessageBody",value:function(t){return function t(e){return(e||[]).reduce((function(e,n){return[].concat(gn(e),gn(n.VALIDITY&&[n.VALIDITY]||[]),gn(n.TYPE&&[n.TYPE]||[]),gn(n.OFFSET&&[n.OFFSET]||[]),gn(n.DATA&&[n.DATA]||[]),gn(t(n.children)))}),[])}(this._body)}},{key:"readMessage",value:function(t){var e;if((e=this.next()).done)return null;if(null!=t&&e.value.headerType!==t)throw new Error(xu(t));return e.value}},{key:"readSchema",value:function(){var t=rn.Schema,e=this.readMessage(t),n=e&&e.header();if(!e||!n)throw new Error(Su(t));return n}}]),n}(Ou),Au=4,ju=new Uint8Array("ARROW1".length),Nu=0;Nu<"ARROW1".length;Nu+=1)ju[Nu]="ARROW1".charCodeAt(Nu);function Bu(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=-1,r=ju.length;++n<r;)if(ju[n]!==t[e+n])return!1;return!0}var Pu=ju.length,Cu=Pu+Au,Fu=2*Pu+Au,Du=function(t){nt(n,t);var e=st(n);function n(){var t;return B(this,n),(t=e.call(this))._byteLength=0,t._nodes=[],t._buffers=[],t._bufferRegions=[],t}return C(n,[{key:"visit",value:function(t){if(!Pn.isDictionary(t.type)){var e=t.data,r=t.length,i=t.nullCount;if(r>2147483647)throw new RangeError("Cannot write arrays larger than 2^31 - 1 in length");Pn.isNull(t.type)||Mu.call(this,i<=0?new Uint8Array(0):fn(e.offset,r,e.nullBitmap)),this.nodes.push(new hu(r,i))}return Ve(rt(n.prototype),"visit",this).call(this,t)}},{key:"visitNull",value:function(t){return this}},{key:"visitDictionary",value:function(t){return this.visit(t.indices)}},{key:"nodes",get:function(){return this._nodes}},{key:"buffers",get:function(){return this._buffers}},{key:"byteLength",get:function(){return this._byteLength}},{key:"bufferRegions",get:function(){return this._bufferRegions}}],[{key:"assemble",value:function(){for(var t=new n,e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];var o=co(Qc,r),a=t.visitMany(o),u=Object(F.a)(a,1),s=u[0],c=void 0===s?t:s;return c}}]),n}(mn);function Mu(t){var e=t.byteLength+7&-8;return this.buffers.push(t),this.bufferRegions.push(new fu(this._byteLength,e)),this._byteLength+=e,this}function Ru(t){return Mu.call(this,t.values.subarray(0,t.length*t.stride))}function Uu(t){var e=t.length,n=t.values,r=t.valueOffsets,i=r[0],o=r[e],a=Math.min(o-i,n.byteLength-i);return Mu.call(this,Oe(-r[0],e,r)),Mu.call(this,n.subarray(i,i+a)),this}function zu(t){var e=t.length,n=t.valueOffsets;return n&&Mu.call(this,Oe(n[0],e,n)),this.visit(t.getChildAt(0))}function Vu(t){return this.visitMany(t.type.children.map((function(e,n){return t.getChildAt(n)})).filter(Boolean))[0]}Du.prototype.visitBool=function(t){var e;return t.nullCount>=t.length?Mu.call(this,new Uint8Array(0)):(e=t.values)instanceof Uint8Array?Mu.call(this,fn(t.offset,t.length,e)):Mu.call(this,hn(t))},Du.prototype.visitInt=Ru,Du.prototype.visitFloat=Ru,Du.prototype.visitUtf8=Uu,Du.prototype.visitBinary=Uu,Du.prototype.visitFixedSizeBinary=Ru,Du.prototype.visitDate=Ru,Du.prototype.visitTimestamp=Ru,Du.prototype.visitTime=Ru,Du.prototype.visitDecimal=Ru,Du.prototype.visitList=zu,Du.prototype.visitStruct=Vu,Du.prototype.visitUnion=function(t){var e=t.type,n=t.length,r=t.typeIds,i=t.valueOffsets;if(Mu.call(this,r),e.mode===en.Sparse)return Vu.call(this,t);if(e.mode===en.Dense){if(t.offset<=0)return Mu.call(this,i),Vu.call(this,t);for(var o,a,u=r.reduce((function(t,e){return Math.max(t,e)}),r[0]),s=new Int32Array(u+1),c=new Int32Array(u+1).fill(-1),l=new Int32Array(n),f=Oe(-i[0],n,i),h=-1;++h<n;)-1===(a=c[o=r[h]])&&(a=c[o]=f[o]),l[h]=f[h]-a,++s[o];Mu.call(this,l);for(var d,p=-1,y=e.children.length;++p<y;)if(d=t.getChildAt(p)){var v=e.typeIds[p],b=Math.min(n,s[v]);this.visit(d.slice(c[v],b))}}return this},Du.prototype.visitInterval=Ru,Du.prototype.visitFixedSizeList=zu,Du.prototype.visitMap=zu;function Gu(){Gu=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(L){s=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),u=new E(i||[]);return r(a,"_invoke",{value:k(t,n,u)}),a}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(L){return{type:"throw",arg:L}}}t.wrap=c;var f={};function h(){}function d(){}function p(){}var y={};s(y,o,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(T([])));b&&b!==e&&n.call(b,o)&&(y=b);var g=p.prototype=h.prototype=Object.create(y);function m(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var i;r(this,"_invoke",{value:function(r,o){function a(){return new e((function(i,a){!function r(i,o,a,u){var s=l(t[i],t,o);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}(r,o,i,a)}))}return i=i?i.then(a,a):a()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return O()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var u=_(a,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(t,e,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function _(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=l(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function T(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return d.prototype=p,r(g,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:d,configurable:!0}),d.displayName=s(p,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,s(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},m(w.prototype),s(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},m(g),s(g,u,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=T,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),s=n.call(o,"finallyLoc");if(u&&s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:T(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function Wu(t){var e,n,r,i=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,r=Symbol.iterator);i--;){if(n&&null!=(e=t[n]))return e.call(t);if(r&&null!=(e=t[r]))return new Yu(e.call(t));n="@@asyncIterator",r="@@iterator"}throw new TypeError("Object is not async iterable")}function Yu(t){function e(t){if(Object(t)!==t)return Promise.reject(new TypeError(t+" is not an object."));var e=t.done;return Promise.resolve(t.value).then((function(t){return{value:t,done:e}}))}return(Yu=function(t){this.s=t,this.n=t.next}).prototype={s:null,n:null,next:function(){return e(this.n.apply(this.s,arguments))},return:function(t){var n=this.s.return;return void 0===n?Promise.resolve({value:t,done:!0}):e(n.apply(this.s,arguments))},throw:function(t){var n=this.s.return;return void 0===n?Promise.reject(t):e(n.apply(this.s,arguments))}},new Yu(t)}var Hu=function(t,e){nt(r,t);var n=st(r);function r(t){var e;return B(this,r),(e=n.call(this))._position=0,e._started=!1,e._sink=new aa,e._schema=null,e._dictionaryBlocks=[],e._recordBatchBlocks=[],e._dictionaryDeltaOffsets=new Map,Ot(t)||(t={autoDestroy:!0,writeLegacyIpcFormat:!1}),e._autoDestroy="boolean"!==typeof t.autoDestroy||t.autoDestroy,e._writeLegacyIpcFormat="boolean"===typeof t.writeLegacyIpcFormat&&t.writeLegacyIpcFormat,e}return C(r,[{key:"toString",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this._sink.toString(t)}},{key:"toUint8Array",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this._sink.toUint8Array(t)}},{key:"writeAll",value:function(t){var e=this;return Lt(t)?t.then((function(t){return e.writeAll(t)})):At(t)?Qu(this,t):qu(this,t)}},{key:"closed",get:function(){return this._sink.closed}},{key:e,value:function(){return this._sink[Symbol.asyncIterator]()}},{key:"toDOMStream",value:function(t){return this._sink.toDOMStream(t)}},{key:"toNodeStream",value:function(t){return this._sink.toNodeStream(t)}},{key:"close",value:function(){return this.reset()._sink.close()}},{key:"abort",value:function(t){return this.reset()._sink.abort(t)}},{key:"finish",value:function(){return this._autoDestroy?this.close():this.reset(this._sink,this._schema),this}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._sink,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t===this._sink||t instanceof aa?this._sink=t:(this._sink=new aa,t&&Ct(t)?this.toDOMStream({type:"bytes"}).pipeTo(t):t&&Dt(t)&&this.toNodeStream({objectMode:!1}).pipe(t)),this._started&&this._schema&&this._writeFooter(this._schema),this._started=!1,this._dictionaryBlocks=[],this._recordBatchBlocks=[],this._dictionaryDeltaOffsets=new Map,e&&e.compareTo(this._schema)||(null===e?(this._position=0,this._schema=null):(this._started=!0,this._schema=e,this._writeSchema(e))),this}},{key:"write",value:function(t){var e=null;if(!this._sink)throw new Error("RecordBatchWriter is closed");if(null===t||void 0===t)return this.finish()&&void 0;if(t instanceof qc&&!(e=t.schema))return this.finish()&&void 0;if(t instanceof Qc&&!(e=t.schema))return this.finish()&&void 0;if(e&&!e.compareTo(this._schema)){if(this._started&&this._autoDestroy)return this.close();this.reset(this._sink,e)}t instanceof Qc?t instanceof Jc||this._writeRecordBatch(t):t instanceof qc?this.writeAll(t.chunks):It(t)&&this.writeAll(t)}},{key:"_writeMessage",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8,n=e-1,r=su.encode(t),i=r.byteLength,o=this._writeLegacyIpcFormat?4:8,a=i+o+n&~n,u=a-i-o;return t.headerType===rn.RecordBatch?this._recordBatchBlocks.push(new na(a,t.bodyLength,this._position)):t.headerType===rn.DictionaryBatch&&this._dictionaryBlocks.push(new na(a,t.bodyLength,this._position)),this._writeLegacyIpcFormat||this._write(Int32Array.of(-1)),this._write(Int32Array.of(a-o)),i>0&&this._write(r),this._writePadding(u)}},{key:"_write",value:function(t){if(this._started){var e=Xt(t);e&&e.byteLength>0&&(this._sink.write(e),this._position+=e.byteLength)}return this}},{key:"_writeSchema",value:function(t){return this._writeMessage(su.from(t))}},{key:"_writeFooter",value:function(t){return this._writeLegacyIpcFormat?this._write(Int32Array.of(0)):this._write(Int32Array.of(-1,0))}},{key:"_writeMagic",value:function(){return this._write(ju)}},{key:"_writePadding",value:function(t){return t>0?this._write(new Uint8Array(t)):this}},{key:"_writeRecordBatch",value:function(t){var e=Du.assemble(t),n=e.byteLength,r=e.nodes,i=e.bufferRegions,o=e.buffers,a=new cu(t.length,r,i),u=su.from(a,n);return this._writeDictionaries(t)._writeMessage(u)._writeBodyBuffers(o)}},{key:"_writeDictionaryBatch",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this._dictionaryDeltaOffsets.set(e,t.length+(this._dictionaryDeltaOffsets.get(e)||0));var r=Du.assemble(t),i=r.byteLength,o=r.nodes,a=r.bufferRegions,u=r.buffers,s=new cu(t.length,o,a),c=new lu(s,e,n),l=su.from(c,i);return this._writeMessage(l)._writeBodyBuffers(u)}},{key:"_writeBodyBuffers",value:function(t){for(var e,n,r,i=-1,o=t.length;++i<o;)(e=t[i])&&(n=e.byteLength)>0&&(this._write(e),(r=(n+7&-8)-n)>0&&this._writePadding(r));return this}},{key:"_writeDictionaries",value:function(t){var e,n=A(t.dictionaries);try{for(n.s();!(e=n.n()).done;){var r=Object(F.a)(e.value,2),i=r[0],o=r[1],a=this._dictionaryDeltaOffsets.get(i)||0;if(0===a||(o=o.slice(a)).length>0){var u,s=A("chunks"in o?o.chunks:[o]);try{for(s.s();!(u=s.n()).done;){var c=u.value;this._writeDictionaryBatch(c,i,a>0),a+=c.length}}catch(l){s.e(l)}finally{s.f()}}}}catch(l){n.e(l)}finally{n.f()}return this}}],[{key:"throughNode",value:function(t){throw new Error('"throughNode" not available in this environment')}},{key:"throughDOM",value:function(t,e){throw new Error('"throughDOM" not available in this environment')}}]),r}(ht,Symbol.asyncIterator),$u=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,null,[{key:"writeAll",value:function(t,e){var r=new n(e);return Lt(t)?t.then((function(t){return r.writeAll(t)})):At(t)?Qu(r,t):qu(r,t)}}]),n}(Hu),Ku=function(t){nt(n,t);var e=st(n);function n(){var t;return B(this,n),(t=e.call(this))._autoDestroy=!0,t}return C(n,[{key:"_writeSchema",value:function(t){return this._writeMagic()._writePadding(2)}},{key:"_writeFooter",value:function(t){var e=ta.encode(new ta(t,on.V4,this._recordBatchBlocks,this._dictionaryBlocks));return Ve(rt(n.prototype),"_writeFooter",this).call(this,t)._write(e)._write(Int32Array.of(e.byteLength))._writeMagic()}}],[{key:"writeAll",value:function(t){var e=new n;return Lt(t)?t.then((function(t){return e.writeAll(t)})):At(t)?Qu(e,t):qu(e,t)}}]),n}(Hu);function qu(t,e){var n=e;e instanceof qc&&(n=e.chunks,t.reset(void 0,e.schema));var r,i=A(n);try{for(i.s();!(r=i.n()).done;){var o=r.value;t.write(o)}}catch(a){i.e(a)}finally{i.f()}return t.finish()}function Qu(t,e){return Ju.apply(this,arguments)}function Ju(){return(Ju=N(Gu().mark((function t(e,n){var r,i,o,a,u,s;return Gu().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=!1,i=!1,t.prev=2,a=Wu(n);case 4:return t.next=6,a.next();case 6:if(!(r=!(u=t.sent).done)){t.next=12;break}s=u.value,e.write(s);case 9:r=!1,t.next=4;break;case 12:t.next=18;break;case 14:t.prev=14,t.t0=t.catch(2),i=!0,o=t.t0;case 18:if(t.prev=18,t.prev=19,!r||null==a.return){t.next=23;break}return t.next=23,a.return();case 23:if(t.prev=23,!i){t.next=26;break}throw o;case 26:return t.finish(23);case 27:return t.finish(18);case 28:return t.abrupt("return",e.finish());case 29:case"end":return t.stop()}}),t,null,[[2,14,18,28],[19,,23,27]])})))).apply(this,arguments)}var Xu=new Uint8Array(0),Zu=function(t){return[Xu,Xu,new Uint8Array(t),Xu]};function ts(t,e){for(var n,r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.reduce((function(t,e){return Math.max(t,e.length)}),0),o=-1,a=e.length,u=gn(t.fields),s=[],c=(i+63&-64)>>3;++o<a;)(n=e[o])&&n.length===i?s[o]=n:((r=u[o]).nullable||(u[o]=u[o].clone({nullable:!0})),s[o]=n?n._changeLengthAndBackfillNullBitmap(i):yr.new(r.type,0,i,i,Zu(c)));return[new po(u),i,s]}function es(t){return ns(new po(t.map((function(t){return t.field}))),t)}function ns(t,e){return function(t,e){var n,r=gn(t.fields),i=[],o={numBatches:e.reduce((function(t,e){return Math.max(t,e.length)}),0)},a=0,u=0,s=-1,c=e.length,l=[];for(;o.numBatches-- >0;){for(u=Number.POSITIVE_INFINITY,s=-1;++s<c;)l[s]=n=e[s].shift(),u=Math.min(u,n?n.length:u);isFinite(u)&&(l=rs(r,u,l,e,o),u>0&&(i[a++]=[u,l.slice()]))}return[t=new po(r,t.metadata),i.map((function(e){return $r(Qc,[t].concat(gn(e)))}))]}(t,e.map((function(t){return t instanceof Xi?t.chunks.map((function(t){return t.data})):[t.data]})))}function rs(t,e,n,r,i){for(var o,a,u=0,s=-1,c=r.length,l=(e+63&-64)>>3;++s<c;)(o=n[s])&&(u=o.length)>=e?u===e?n[s]=o:(n[s]=o.slice(0,e),o=o.slice(e,u-e),i.numBatches=Math.max(i.numBatches,r[s].unshift(o))):((a=t[s]).nullable||(t[s]=a.clone({nullable:!0})),n[s]=o?o._changeLengthAndBackfillNullBitmap(e):yr.new(a.type,0,e,e,Zu(l)));return n}function is(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}var os=function(t,e){nt(r,t);var n=st(r);function r(t,e){var i;return B(this,r),(i=n.call(this))._children=e,i.numChildren=t.childData.length,i._bindDataAccessors(i.data=t),i}return C(r,[{key:"type",get:function(){return this.data.type}},{key:"typeId",get:function(){return this.data.typeId}},{key:"length",get:function(){return this.data.length}},{key:"offset",get:function(){return this.data.offset}},{key:"stride",get:function(){return this.data.stride}},{key:"nullCount",get:function(){return this.data.nullCount}},{key:"byteLength",get:function(){return this.data.byteLength}},{key:"VectorName",get:function(){return"".concat(Qe[this.typeId],"Vector")}},{key:"ArrayType",get:function(){return this.type.ArrayType}},{key:"values",get:function(){return this.data.values}},{key:"typeIds",get:function(){return this.data.typeIds}},{key:"nullBitmap",get:function(){return this.data.nullBitmap}},{key:"valueOffsets",get:function(){return this.data.valueOffsets}},{key:e,get:function(){return"".concat(this.VectorName,"<").concat(this.type[Symbol.toStringTag],">")}},{key:"clone",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._children;return qe.new(t,e)}},{key:"concat",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return Xi.concat.apply(Xi,[this].concat(e))}},{key:"slice",value:function(t,e){return Yi(this,t,e,this._sliceInternal)}},{key:"isValid",value:function(t){if(this.nullCount>0){var e=this.offset+t;return 0!==(this.nullBitmap[e>>3]&1<<e%8)}return!0}},{key:"getChildAt",value:function(t){return t<0||t>=this.numChildren?null:(this._children||(this._children=[]))[t]||(this._children[t]=qe.new(this.data.childData[t]))}},{key:"toJSON",value:function(){return gn(this)}},{key:"_sliceInternal",value:function(t,e,n){return t.clone(t.data.slice(e,n-e),null)}},{key:"_bindDataAccessors",value:function(t){}}]),r}(qe,Symbol.toStringTag);os.prototype[Symbol.isConcatSpreadable]=!0;var as=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,[{key:"asUtf8",value:function(){return qe.new(this.data.clone(new Qn))}}]),n}(os),us=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,null,[{key:"from",value:function(t){return Yc((function(){return new Jn}),t)}}]),n}(os),ss=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,null,[{key:"from",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return 2===e.length?Yc((function(){return e[1]===Xe.DAY?new tr:new er}),e[0]):Yc((function(){return new er}),e[0])}}]),n}(os),cs=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(ss),ls=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(ss),fs=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(os),hs=function(t){nt(n,t);var e=st(n);function n(t){var r;return B(this,n),(r=e.call(this,t)).indices=qe.new(t.clone(r.type.indices)),r}return C(n,[{key:"dictionary",get:function(){return this.data.dictionary}},{key:"reverseLookup",value:function(t){return this.dictionary.indexOf(t)}},{key:"getKey",value:function(t){return this.indices.get(t)}},{key:"getValue",value:function(t){return this.dictionary.get(t)}},{key:"setKey",value:function(t,e){return this.indices.set(t,e)}},{key:"setValue",value:function(t,e){return this.dictionary.set(t,e)}}],[{key:"from",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if(3===e.length){var r=e[0],i=e[1],o=e[2],a=new dr(r.type,i,null,null);return qe.new(yr.Dictionary(a,0,o.length,0,null,o,r))}return Yc((function(){return e[0].type}),e[0])}}]),n}(os);hs.prototype.indices=null;var ds=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(os),ps=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(os),ys=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,null,[{key:"from",value:function(t){var e=ks(this);if(t instanceof ArrayBuffer||ArrayBuffer.isView(t)){var n=ws(t.constructor)||e;if(null===e&&(e=n),e&&e===n){var r=new e,i=t.byteLength/r.ArrayType.BYTES_PER_ELEMENT;if(!ms(e,t.constructor))return qe.new(yr.Float(r,0,i,0,null,t))}}if(e)return Yc((function(){return new e}),t);if(t instanceof DataView||t instanceof ArrayBuffer)throw new TypeError("Cannot infer float type from instance of ".concat(t.constructor.name));throw new TypeError("Unrecognized FloatVector input")}}]),n}(os),vs=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,[{key:"toFloat32Array",value:function(){return new Float32Array(this)}},{key:"toFloat64Array",value:function(){return new Float64Array(this)}}]),n}(ys),bs=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(ys),gs=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(ys),ms=function(t,e){return t===Hn&&e!==Uint16Array},ws=function(t){switch(t){case Uint16Array:return Hn;case Float32Array:return $n;case Float64Array:return Kn;default:return null}},ks=function(t){switch(t){case vs:return Hn;case bs:return $n;case gs:return Kn;default:return null}},_s=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(os),xs=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(_s),Ss=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(_s),Es=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,null,[{key:"from",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e[0],i=e[1],o=void 0!==i&&i,a=Fs(this,o);if(r instanceof ArrayBuffer||ArrayBuffer.isView(r)){var u=Cs(r.constructor,o)||a;if(null===a&&(a=u),a&&a===u){var s=new a,c=r.byteLength/s.ArrayType.BYTES_PER_ELEMENT;return Ps(a,r.constructor)&&(c*=.5),qe.new(yr.Int(s,0,c,0,null,r))}}if(a)return Yc((function(){return new a}),r);if(r instanceof DataView||r instanceof ArrayBuffer)throw new TypeError("Cannot infer integer type from instance of ".concat(r.constructor.name));throw new TypeError("Unrecognized IntVector input")}}]),n}(os),Ts=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(Es),Os=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(Es),Ls=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(Es),Is=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,[{key:"toBigInt64Array",value:function(){return Jt(this.values)}},{key:"values64",get:function(){return this._values64||(this._values64=this.toBigInt64Array())}}]),n}(Es),As=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(Es),js=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(Es),Ns=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(Es),Bs=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,[{key:"toBigUint64Array",value:function(){return ee(this.values)}},{key:"values64",get:function(){return this._values64||(this._values64=this.toBigUint64Array())}}]),n}(Es),Ps=function(t,e){return(t===Un||t===Wn)&&(e===Int32Array||e===Uint32Array)},Cs=function(t,e){switch(t){case Int8Array:return Dn;case Int16Array:return Mn;case Int32Array:return e?Un:Rn;case wt:return Un;case Uint8Array:return zn;case Uint16Array:return Vn;case Uint32Array:return e?Wn:Gn;case xt:return Wn;default:return null}},Fs=function(t,e){switch(t){case Ts:return Dn;case Os:return Mn;case Ls:return e?Un:Rn;case Is:return Un;case As:return zn;case js:return Vn;case Ns:return e?Wn:Gn;case Bs:return Wn;default:return null}},Ds=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(os),Ms=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,[{key:"asList",value:function(){var t=this.type.children[0];return qe.new(this.data.clone(new or(t)))}},{key:"bind",value:function(t){var e=this.getChildAt(0),n=this.valueOffsets,r=n[t],i=n[t+1];return new Ri(e.slice(r,i))}}]),n}(os),Rs=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(os),Us=Symbol.for("rowIndex"),zs=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,[{key:"bind",value:function(t){var e=this._row||(this._row=new Ui(this)),n=Object.create(e);return n[Us]=t,n}}]),n}(os),Vs=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(os),Gs=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(Vs),Ws=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(Vs),Ys=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(Vs),Hs=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(Vs),$s=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(os),Ks=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}($s),qs=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}($s),Qs=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}($s),Js=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}($s),Xs=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,[{key:"typeIdToChildIndex",get:function(){return this.data.type.typeIdToChildIndex}}]),n}(os),Zs=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,[{key:"valueOffsets",get:function(){return this.data.valueOffsets}}]),n}(Xs),tc=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(Xs),ec=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,[{key:"asBinary",value:function(){return qe.new(this.data.clone(new qn))}}],[{key:"from",value:function(t){return Yc((function(){return new Qn}),t)}}]),n}(os);function nc(t){return function(){return t(this)}}function rc(t){return function(e,n){return t(this,e,n)}}var ic=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(mn),oc=function(t,e){return 4294967296*t[e+1]+(t[e]>>>0)},ac=function(t){return new Date(t)},uc=function(t,e,n){var r=e[n],i=e[n+1];return null!=r&&null!=i?t.subarray(r,i):null},sc=function(t,e){return function(t,e){return ac(function(t,e){return 864e5*t[e]}(t,e))}(t.values,e)},cc=function(t,e){return function(t,e){return ac(oc(t,e))}(t.values,2*e)},lc=function(t,e){var n=t.stride;return t.values[n*e]},fc=function(t,e){var n=t.stride;return zr(t.values[n*e])},hc=function(t,e){var n=t.stride,r=t.values,i=t.type;return ii.new(r.subarray(n*e,n*(e+1)),i.isSigned)},dc=function(t,e){var n=t.values;return 1e3*oc(n,2*e)},pc=function(t,e){var n=t.values;return oc(n,2*e)},yc=function(t,e){return function(t,e){return t[e+1]/1e3*4294967296+(t[e]>>>0)/1e3}(t.values,2*e)},vc=function(t,e){return function(t,e){return t[e+1]/1e6*4294967296+(t[e]>>>0)/1e6}(t.values,2*e)},bc=function(t,e){return t.values[t.stride*e]},gc=function(t,e){return t.values[t.stride*e]},mc=function(t,e){var n=t.values;return ii.signed(n.subarray(2*e,2*(e+1)))},wc=function(t,e){var n=t.values;return ii.signed(n.subarray(2*e,2*(e+1)))},kc=function(t,e){var n=t.typeIdToChildIndex[t.typeIds[e]],r=t.getChildAt(n);return r?r.get(t.valueOffsets[e]):null},_c=function(t,e){var n=t.typeIdToChildIndex[t.typeIds[e]],r=t.getChildAt(n);return r?r.get(e):null},xc=function(t,e){return t.values.subarray(2*e,2*(e+1))},Sc=function(t,e){var n=t.values[e],r=new Int32Array(2);return r[0]=n/12|0,r[1]=n%12|0,r};ic.prototype.visitNull=function(t,e){return null},ic.prototype.visitBool=function(t,e){var n=t.offset+e;return 0!==(t.values[n>>3]&1<<n%8)},ic.prototype.visitInt=function(t,e){return t.type.bitWidth<64?lc(t,e):hc(t,e)},ic.prototype.visitInt8=lc,ic.prototype.visitInt16=lc,ic.prototype.visitInt32=lc,ic.prototype.visitInt64=hc,ic.prototype.visitUint8=lc,ic.prototype.visitUint16=lc,ic.prototype.visitUint32=lc,ic.prototype.visitUint64=hc,ic.prototype.visitFloat=function(t,e){return t.type.precision!==tn.HALF?lc(t,e):fc(t,e)},ic.prototype.visitFloat16=fc,ic.prototype.visitFloat32=lc,ic.prototype.visitFloat64=lc,ic.prototype.visitUtf8=function(t,e){var n=t.values,r=t.valueOffsets,i=uc(n,r,e);return null!==i?Z(i):null},ic.prototype.visitBinary=function(t,e){var n=t.values,r=t.valueOffsets;return uc(n,r,e)},ic.prototype.visitFixedSizeBinary=function(t,e){var n=t.stride;return t.values.subarray(n*e,n*(e+1))},ic.prototype.visitDate=function(t,e){return t.type.unit===Xe.DAY?sc(t,e):cc(t,e)},ic.prototype.visitDateDay=sc,ic.prototype.visitDateMillisecond=cc,ic.prototype.visitTimestamp=function(t,e){switch(t.type.unit){case Ze.SECOND:return dc(t,e);case Ze.MILLISECOND:return pc(t,e);case Ze.MICROSECOND:return yc(t,e);case Ze.NANOSECOND:return vc(t,e)}},ic.prototype.visitTimestampSecond=dc,ic.prototype.visitTimestampMillisecond=pc,ic.prototype.visitTimestampMicrosecond=yc,ic.prototype.visitTimestampNanosecond=vc,ic.prototype.visitTime=function(t,e){switch(t.type.unit){case Ze.SECOND:return bc(t,e);case Ze.MILLISECOND:return gc(t,e);case Ze.MICROSECOND:return mc(t,e);case Ze.NANOSECOND:return wc(t,e)}},ic.prototype.visitTimeSecond=bc,ic.prototype.visitTimeMillisecond=gc,ic.prototype.visitTimeMicrosecond=mc,ic.prototype.visitTimeNanosecond=wc,ic.prototype.visitDecimal=function(t,e){var n=t.values;return ii.decimal(n.subarray(4*e,4*(e+1)))},ic.prototype.visitList=function(t,e){var n=t.getChildAt(0),r=t.valueOffsets,i=t.stride;return n.slice(r[e*i],r[e*i+1])},ic.prototype.visitStruct=function(t,e){return t.bind(e)},ic.prototype.visitUnion=function(t,e){return t.type.mode===en.Dense?kc(t,e):_c(t,e)},ic.prototype.visitDenseUnion=kc,ic.prototype.visitSparseUnion=_c,ic.prototype.visitDictionary=function(t,e){return t.getValue(t.getKey(e))},ic.prototype.visitInterval=function(t,e){return t.type.unit===nn.DAY_TIME?xc(t,e):Sc(t,e)},ic.prototype.visitIntervalDayTime=xc,ic.prototype.visitIntervalYearMonth=Sc,ic.prototype.visitFixedSizeList=function(t,e){var n=t.getChildAt(0),r=t.stride;return n.slice(e*r,(e+1)*r)},ic.prototype.visitMap=function(t,e){return t.bind(e)};var Ec=new ic,Tc=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(mn);function Oc(t,e,n){if(void 0===e)return-1;if(null===e)return function(t,e){var n=t.nullBitmap;if(!n||t.nullCount<=0)return-1;var r,i=0,o=A(dn(n,t.data.offset+(e||0),t.length,n,sn));try{for(o.s();!(r=o.n()).done;){if(!r.value)return i;++i}}catch(a){o.e(a)}finally{o.f()}return-1}(t,n);for(var r=Ki(e),i=(n||0)-1,o=t.length;++i<o;)if(r(t.get(i)))return i;return-1}function Lc(t,e,n){for(var r=Ki(e),i=(n||0)-1,o=t.length;++i<o;)if(r(t.get(i)))return i;return-1}Tc.prototype.visitNull=function(t,e){return null===e&&t.length>0?0:-1},Tc.prototype.visitBool=Oc,Tc.prototype.visitInt=Oc,Tc.prototype.visitInt8=Oc,Tc.prototype.visitInt16=Oc,Tc.prototype.visitInt32=Oc,Tc.prototype.visitInt64=Oc,Tc.prototype.visitUint8=Oc,Tc.prototype.visitUint16=Oc,Tc.prototype.visitUint32=Oc,Tc.prototype.visitUint64=Oc,Tc.prototype.visitFloat=Oc,Tc.prototype.visitFloat16=Oc,Tc.prototype.visitFloat32=Oc,Tc.prototype.visitFloat64=Oc,Tc.prototype.visitUtf8=Oc,Tc.prototype.visitBinary=Oc,Tc.prototype.visitFixedSizeBinary=Oc,Tc.prototype.visitDate=Oc,Tc.prototype.visitDateDay=Oc,Tc.prototype.visitDateMillisecond=Oc,Tc.prototype.visitTimestamp=Oc,Tc.prototype.visitTimestampSecond=Oc,Tc.prototype.visitTimestampMillisecond=Oc,Tc.prototype.visitTimestampMicrosecond=Oc,Tc.prototype.visitTimestampNanosecond=Oc,Tc.prototype.visitTime=Oc,Tc.prototype.visitTimeSecond=Oc,Tc.prototype.visitTimeMillisecond=Oc,Tc.prototype.visitTimeMicrosecond=Oc,Tc.prototype.visitTimeNanosecond=Oc,Tc.prototype.visitDecimal=Oc,Tc.prototype.visitList=Oc,Tc.prototype.visitStruct=Oc,Tc.prototype.visitUnion=Oc,Tc.prototype.visitDenseUnion=Lc,Tc.prototype.visitSparseUnion=Lc,Tc.prototype.visitDictionary=Oc,Tc.prototype.visitInterval=Oc,Tc.prototype.visitIntervalDayTime=Oc,Tc.prototype.visitIntervalYearMonth=Oc,Tc.prototype.visitFixedSizeList=Oc,Tc.prototype.visitMap=Oc;var Ic=new Tc;function Ac(){Ac=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(L){s=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),u=new E(i||[]);return r(a,"_invoke",{value:k(t,n,u)}),a}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(L){return{type:"throw",arg:L}}}t.wrap=c;var f={};function h(){}function d(){}function p(){}var y={};s(y,o,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(T([])));b&&b!==e&&n.call(b,o)&&(y=b);var g=p.prototype=h.prototype=Object.create(y);function m(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var i;r(this,"_invoke",{value:function(r,o){function a(){return new e((function(i,a){!function r(i,o,a,u){var s=l(t[i],t,o);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}(r,o,i,a)}))}return i=i?i.then(a,a):a()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return O()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var u=_(a,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(t,e,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function _(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=l(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function T(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return d.prototype=p,r(g,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:d,configurable:!0}),d.displayName=s(p,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,s(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},m(w.prototype),s(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},m(g),s(g,u,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=T,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),s=n.call(o,"finallyLoc");if(u&&s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:T(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}var jc=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(mn);function Nc(t){if(t.nullCount>0)return function(t){var e=Ec.getVisitFn(t);return dn(t.nullBitmap,t.offset,t.length,t,(function(t,n,r,i){return 0!==(r&1<<i)?e(t,n):null}))}(t);var e=t.type,n=t.typeId,r=t.length;return 1===t.stride&&(n===Qe.Timestamp||n===Qe.Int&&64!==e.bitWidth||n===Qe.Time&&64!==e.bitWidth||n===Qe.Float&&e.precision>0)?t.values.subarray(0,r)[Symbol.iterator]():Ac().mark((function e(n){var i;return Ac().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=-1;case 1:if(!(++i<r)){e.next=6;break}return e.next=4,n(t,i);case 4:e.next=1;break;case 6:case"end":return e.stop()}}),e)}))(Ec.getVisitFn(t))}jc.prototype.visitNull=Nc,jc.prototype.visitBool=Nc,jc.prototype.visitInt=Nc,jc.prototype.visitInt8=Nc,jc.prototype.visitInt16=Nc,jc.prototype.visitInt32=Nc,jc.prototype.visitInt64=Nc,jc.prototype.visitUint8=Nc,jc.prototype.visitUint16=Nc,jc.prototype.visitUint32=Nc,jc.prototype.visitUint64=Nc,jc.prototype.visitFloat=Nc,jc.prototype.visitFloat16=Nc,jc.prototype.visitFloat32=Nc,jc.prototype.visitFloat64=Nc,jc.prototype.visitUtf8=Nc,jc.prototype.visitBinary=Nc,jc.prototype.visitFixedSizeBinary=Nc,jc.prototype.visitDate=Nc,jc.prototype.visitDateDay=Nc,jc.prototype.visitDateMillisecond=Nc,jc.prototype.visitTimestamp=Nc,jc.prototype.visitTimestampSecond=Nc,jc.prototype.visitTimestampMillisecond=Nc,jc.prototype.visitTimestampMicrosecond=Nc,jc.prototype.visitTimestampNanosecond=Nc,jc.prototype.visitTime=Nc,jc.prototype.visitTimeSecond=Nc,jc.prototype.visitTimeMillisecond=Nc,jc.prototype.visitTimeMicrosecond=Nc,jc.prototype.visitTimeNanosecond=Nc,jc.prototype.visitDecimal=Nc,jc.prototype.visitList=Nc,jc.prototype.visitStruct=Nc,jc.prototype.visitUnion=Nc,jc.prototype.visitDenseUnion=Nc,jc.prototype.visitSparseUnion=Nc,jc.prototype.visitDictionary=Nc,jc.prototype.visitInterval=Nc,jc.prototype.visitIntervalDayTime=Nc,jc.prototype.visitIntervalYearMonth=Nc,jc.prototype.visitFixedSizeList=Nc,jc.prototype.visitMap=Nc;var Bc=new jc,Pc=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n)}(mn);function Cc(t){var e=t.type,n=t.length,r=t.stride;switch(e.typeId){case Qe.Int:case Qe.Float:case Qe.Decimal:case Qe.Time:case Qe.Timestamp:return t.values.subarray(0,n*r)}return gn(Bc.visit(t))}Pc.prototype.visitNull=Cc,Pc.prototype.visitBool=Cc,Pc.prototype.visitInt=Cc,Pc.prototype.visitInt8=Cc,Pc.prototype.visitInt16=Cc,Pc.prototype.visitInt32=Cc,Pc.prototype.visitInt64=Cc,Pc.prototype.visitUint8=Cc,Pc.prototype.visitUint16=Cc,Pc.prototype.visitUint32=Cc,Pc.prototype.visitUint64=Cc,Pc.prototype.visitFloat=Cc,Pc.prototype.visitFloat16=Cc,Pc.prototype.visitFloat32=Cc,Pc.prototype.visitFloat64=Cc,Pc.prototype.visitUtf8=Cc,Pc.prototype.visitBinary=Cc,Pc.prototype.visitFixedSizeBinary=Cc,Pc.prototype.visitDate=Cc,Pc.prototype.visitDateDay=Cc,Pc.prototype.visitDateMillisecond=Cc,Pc.prototype.visitTimestamp=Cc,Pc.prototype.visitTimestampSecond=Cc,Pc.prototype.visitTimestampMillisecond=Cc,Pc.prototype.visitTimestampMicrosecond=Cc,Pc.prototype.visitTimestampNanosecond=Cc,Pc.prototype.visitTime=Cc,Pc.prototype.visitTimeSecond=Cc,Pc.prototype.visitTimeMillisecond=Cc,Pc.prototype.visitTimeMicrosecond=Cc,Pc.prototype.visitTimeNanosecond=Cc,Pc.prototype.visitDecimal=Cc,Pc.prototype.visitList=Cc,Pc.prototype.visitStruct=Cc,Pc.prototype.visitUnion=Cc,Pc.prototype.visitDenseUnion=Cc,Pc.prototype.visitSparseUnion=Cc,Pc.prototype.visitDictionary=Cc,Pc.prototype.visitInterval=Cc,Pc.prototype.visitIntervalDayTime=Cc,Pc.prototype.visitIntervalYearMonth=Cc,Pc.prototype.visitFixedSizeList=Cc,Pc.prototype.visitMap=Cc;var Fc=new Pc,Dc=function(t,e){return t+e},Mc=function(t){return"Cannot compute the byte width of variable-width column ".concat(t)},Rc=new(function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,[{key:"visitNull",value:function(t){return 0}},{key:"visitInt",value:function(t){return t.bitWidth/8}},{key:"visitFloat",value:function(t){return t.ArrayType.BYTES_PER_ELEMENT}},{key:"visitBinary",value:function(t){throw new Error(Mc(t))}},{key:"visitUtf8",value:function(t){throw new Error(Mc(t))}},{key:"visitBool",value:function(t){return 1/8}},{key:"visitDecimal",value:function(t){return 16}},{key:"visitDate",value:function(t){return 4*(t.unit+1)}},{key:"visitTime",value:function(t){return t.bitWidth/8}},{key:"visitTimestamp",value:function(t){return t.unit===Ze.SECOND?4:8}},{key:"visitInterval",value:function(t){return 4*(t.unit+1)}},{key:"visitList",value:function(t){throw new Error(Mc(t))}},{key:"visitStruct",value:function(t){return this.visitFields(t.children).reduce(Dc,0)}},{key:"visitUnion",value:function(t){return this.visitFields(t.children).reduce(Dc,0)}},{key:"visitFixedSizeBinary",value:function(t){return t.byteWidth}},{key:"visitFixedSizeList",value:function(t){return t.listSize*this.visitFields(t.children).reduce(Dc,0)}},{key:"visitMap",value:function(t){return this.visitFields(t.children).reduce(Dc,0)}},{key:"visitDictionary",value:function(t){return this.visit(t.indices)}},{key:"visitFields",value:function(t){var e=this;return(t||[]).map((function(t){return e.visit(t.type)}))}},{key:"visitSchema",value:function(t){return this.visitFields(t.fields).reduce(Dc,0)}}]),n}(mn)),Uc=new(function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,[{key:"visitNull",value:function(){return Rs}},{key:"visitBool",value:function(){return us}},{key:"visitInt",value:function(){return Es}},{key:"visitInt8",value:function(){return Ts}},{key:"visitInt16",value:function(){return Os}},{key:"visitInt32",value:function(){return Ls}},{key:"visitInt64",value:function(){return Is}},{key:"visitUint8",value:function(){return As}},{key:"visitUint16",value:function(){return js}},{key:"visitUint32",value:function(){return Ns}},{key:"visitUint64",value:function(){return Bs}},{key:"visitFloat",value:function(){return ys}},{key:"visitFloat16",value:function(){return vs}},{key:"visitFloat32",value:function(){return bs}},{key:"visitFloat64",value:function(){return gs}},{key:"visitUtf8",value:function(){return ec}},{key:"visitBinary",value:function(){return as}},{key:"visitFixedSizeBinary",value:function(){return ds}},{key:"visitDate",value:function(){return ss}},{key:"visitDateDay",value:function(){return cs}},{key:"visitDateMillisecond",value:function(){return ls}},{key:"visitTimestamp",value:function(){return Vs}},{key:"visitTimestampSecond",value:function(){return Gs}},{key:"visitTimestampMillisecond",value:function(){return Ws}},{key:"visitTimestampMicrosecond",value:function(){return Ys}},{key:"visitTimestampNanosecond",value:function(){return Hs}},{key:"visitTime",value:function(){return $s}},{key:"visitTimeSecond",value:function(){return Ks}},{key:"visitTimeMillisecond",value:function(){return qs}},{key:"visitTimeMicrosecond",value:function(){return Qs}},{key:"visitTimeNanosecond",value:function(){return Js}},{key:"visitDecimal",value:function(){return fs}},{key:"visitList",value:function(){return Ds}},{key:"visitStruct",value:function(){return zs}},{key:"visitUnion",value:function(){return Xs}},{key:"visitDenseUnion",value:function(){return Zs}},{key:"visitSparseUnion",value:function(){return tc}},{key:"visitDictionary",value:function(){return hs}},{key:"visitInterval",value:function(){return _s}},{key:"visitIntervalDayTime",value:function(){return xs}},{key:"visitIntervalYearMonth",value:function(){return Ss}},{key:"visitFixedSizeList",value:function(){return ps}},{key:"visitMap",value:function(){return Ms}}]),n}(mn)),zc=["values"];function Vc(){Vc=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(L){s=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),u=new E(i||[]);return r(a,"_invoke",{value:k(t,n,u)}),a}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(L){return{type:"throw",arg:L}}}t.wrap=c;var f={};function h(){}function d(){}function p(){}var y={};s(y,o,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(T([])));b&&b!==e&&n.call(b,o)&&(y=b);var g=p.prototype=h.prototype=Object.create(y);function m(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var i;r(this,"_invoke",{value:function(r,o){function a(){return new e((function(i,a){!function r(i,o,a,u){var s=l(t[i],t,o);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}(r,o,i,a)}))}return i=i?i.then(a,a):a()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return O()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var u=_(a,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(t,e,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function _(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=l(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function T(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return d.prototype=p,r(g,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:d,configurable:!0}),d.displayName=s(p,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,s(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},m(w.prototype),s(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},m(g),s(g,u,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=T,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),s=n.call(o,"finallyLoc");if(u&&s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:T(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function Gc(t){var e,n,r,i=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,r=Symbol.iterator);i--;){if(n&&null!=(e=t[n]))return e.call(t);if(r&&null!=(e=t[r]))return new Wc(e.call(t));n="@@asyncIterator",r="@@iterator"}throw new TypeError("Object is not async iterable")}function Wc(t){function e(t){if(Object(t)!==t)return Promise.reject(new TypeError(t+" is not an object."));var e=t.done;return Promise.resolve(t.value).then((function(t){return{value:t,done:e}}))}return(Wc=function(t){this.s=t,this.n=t.next}).prototype={s:null,n:null,next:function(){return e(this.n.apply(this.s,arguments))},return:function(t){var n=this.s.return;return void 0===n?Promise.resolve({value:t,done:!0}):e(n.apply(this.s,arguments))},throw:function(t){var n=this.s.return;return void 0===n?Promise.reject(t):e(n.apply(this.s,arguments))}},new Wc(t)}function Yc(t,e){if(It(e))return qe.from({nullValues:[null,void 0],type:t(),values:e});if(At(e))return qe.from({nullValues:[null,void 0],type:t(),values:e});var n=Object(ze.a)({},e),r=n.values,i=void 0===r?[]:r,o=n.type,a=void 0===o?t():o,u=n.nullValues,s=void 0===u?[null,void 0]:u;return It(i),qe.from(Object(ze.a)(Object(ze.a)({nullValues:s},e),{},{type:a}))}function Hc(){Hc=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(L){s=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),u=new E(i||[]);return r(a,"_invoke",{value:k(t,n,u)}),a}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(L){return{type:"throw",arg:L}}}t.wrap=c;var f={};function h(){}function d(){}function p(){}var y={};s(y,o,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(T([])));b&&b!==e&&n.call(b,o)&&(y=b);var g=p.prototype=h.prototype=Object.create(y);function m(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var i;r(this,"_invoke",{value:function(r,o){function a(){return new e((function(i,a){!function r(i,o,a,u){var s=l(t[i],t,o);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}(r,o,i,a)}))}return i=i?i.then(a,a):a()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return O()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var u=_(a,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(t,e,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function _(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=l(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function T(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return d.prototype=p,r(g,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:d,configurable:!0}),d.displayName=s(p,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,s(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},m(w.prototype),s(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},m(g),s(g,u,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=T,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),s=n.call(o,"finallyLoc");if(u&&s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:T(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function $c(t){var e,n,r,i=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,r=Symbol.iterator);i--;){if(n&&null!=(e=t[n]))return e.call(t);if(r&&null!=(e=t[r]))return new Kc(e.call(t));n="@@asyncIterator",r="@@iterator"}throw new TypeError("Object is not async iterable")}function Kc(t){function e(t){if(Object(t)!==t)return Promise.reject(new TypeError(t+" is not an object."));var e=t.done;return Promise.resolve(t.value).then((function(t){return{value:t,done:e}}))}return(Kc=function(t){this.s=t,this.n=t.next}).prototype={s:null,n:null,next:function(){return e(this.n.apply(this.s,arguments))},return:function(t){var n=this.s.return;return void 0===n?Promise.resolve({value:t,done:!0}):e(n.apply(this.s,arguments))},throw:function(t){var n=this.s.return;return void 0===n?Promise.reject(t):e(n.apply(this.s,arguments))}},new Kc(t)}qe.new=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return $r(Uc.getVisitFn(t)(),[t].concat(n))},qe.from=function(t){var e=Object(ze.a)({nullValues:[null,void 0]},t),n=e.values,r=void 0===n?[]:n,i=is(e,zc);if(It(r)){var o=gn(Lr.throughIterable(i)(r));return 1===o.length?o[0]:Xi.concat(o)}return function(){var t=N(Vc().mark((function t(e){var n,o,a,u,s,c,l;return Vc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=Lr.throughAsyncIterable(i),o=!1,a=!1,t.prev=3,s=Gc(n(r));case 5:return t.next=7,s.next();case 7:if(!(o=!(c=t.sent).done)){t.next=13;break}l=c.value,e.push(l);case 10:o=!1,t.next=5;break;case 13:t.next=19;break;case 15:t.prev=15,t.t0=t.catch(3),a=!0,u=t.t0;case 19:if(t.prev=19,t.prev=20,!o||null==s.return){t.next=24;break}return t.next=24,s.return();case 24:if(t.prev=24,!a){t.next=27;break}throw u;case 27:return t.finish(24);case 28:return t.finish(19);case 29:return t.abrupt("return",1===e.length?e[0]:Xi.concat(e));case 30:case"end":return t.stop()}}),t,null,[[3,15,19,29],[20,,24,28]])})));return function(e){return t.apply(this,arguments)}}()([])},os.prototype.get=function(t){return Ec.visit(this,t)},os.prototype.set=function(t,e){return Ho.visit(this,t,e)},os.prototype.indexOf=function(t,e){return Ic.visit(this,t,e)},os.prototype.toArray=function(){return Fc.visit(this)},os.prototype.getByteWidth=function(){return Rc.visit(this.type)},os.prototype[Symbol.iterator]=function(){return Bc.visit(this)},os.prototype._bindDataAccessors=function(){var t=this.nullBitmap;t&&t.byteLength>0&&(this.get=(e=this.get,function(t){return this.isValid(t)?e.call(this,t):null}),this.set=function(t){return function(e,n){ln(this.nullBitmap,this.offset+e,!(null===n||void 0===n))&&t.call(this,e,n)}}(this.set));var e},Object.keys(Qe).map((function(t){return Qe[t]})).filter((function(t){return"number"===typeof t})).filter((function(t){return t!==Qe.NONE})).forEach((function(t){var e,n=Uc.visit(t);n.prototype.get=(e=Ec.getVisitFn(t),function(t){return e(this,t)}),n.prototype.set=rc(Ho.getVisitFn(t)),n.prototype.indexOf=rc(Ic.getVisitFn(t)),n.prototype.toArray=nc(Fc.getVisitFn(t)),n.prototype.getByteWidth=function(t){return function(){return t(this.type)}}(Rc.getVisitFn(t)),n.prototype[Symbol.iterator]=nc(Bc.getVisitFn(t))}));var qc=function(t){nt(n,t);var e=st(n);function n(){var t;B(this,n);for(var r=null,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];o[0]instanceof po&&(r=o.shift());var u=oo(Qc,o);if(!r&&!(r=u[0]&&u[0].schema))throw new TypeError("Table must be initialized with a Schema or at least one RecordBatch");return u[0]||(u[0]=new Jc(r)),(t=e.call(this,new ar(r.fields),u))._schema=r,t._chunks=u,t}return C(n,[{key:"schema",get:function(){return this._schema}},{key:"length",get:function(){return this._length}},{key:"chunks",get:function(){return this._chunks}},{key:"numCols",get:function(){return this._numChildren}},{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._chunks;return new n(this._schema,t)}},{key:"getColumn",value:function(t){return this.getColumnAt(this.getColumnIndex(t))}},{key:"getColumnAt",value:function(t){return this.getChildAt(t)}},{key:"getColumnIndex",value:function(t){return this._schema.fields.findIndex((function(e){return e.name===t}))}},{key:"getChildAt",value:function(t){if(t<0||t>=this.numChildren)return null;var e,n,r=this._schema.fields,i=this._children||(this._children=[]);if(n=i[t])return n;if(e=r[t]){var o=this._chunks.map((function(e){return e.getChildAt(t)})).filter((function(t){return null!=t}));if(o.length>0)return i[t]=new no(e,o)}return null}},{key:"serialize",value:function(){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],e=t?$u:Ku;return e.writeAll(this).toUint8Array(!0)}},{key:"count",value:function(){return this._length}},{key:"select",value:function(){for(var t=this._schema.fields.reduce((function(t,e,n){return t.set(e.name,n)}),new Map),e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return this.selectAt.apply(this,gn(n.map((function(e){return t.get(e)})).filter((function(t){return t>-1}))))}},{key:"selectAt",value:function(){for(var t,e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];var o=(t=this._schema).selectAt.apply(t,r);return new n(o,this._chunks.map((function(t){var e=t.length,n=t.data.childData;return new Qc(o,e,r.map((function(t){return n[t]})).filter(Boolean))})))}},{key:"assign",value:function(t){var e=this,r=this._schema.fields,i=t.schema.fields.reduce((function(t,e,n){var i=Object(F.a)(t,2),o=i[0],a=i[1],u=r.findIndex((function(t){return t.name===e.name}));return~u?a[u]=n:o.push(n),t}),[[],[]]),o=Object(F.a)(i,2),a=o[0],u=o[1],s=this._schema.assign(t.schema),c=[].concat(gn(r.map((function(n,r,i){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:u[r];return void 0===o?e.getColumnAt(r):t.getColumnAt(o)}))),gn(a.map((function(e){return t.getColumnAt(e)})))).filter(Boolean);return $r(n,gn(ns(s,c)))}}],[{key:"empty",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new po([]);return new n(t,[])}},{key:"from",value:function(t){if(!t)return n.empty();if("object"===typeof t){var e=It(t.values)?function(t){if(t.type instanceof ar)return qc.fromStruct(zs.from(t));return null}(t):At(t.values)?function(t){if(t.type instanceof ar)return zs.from(t).then((function(t){return qc.fromStruct(t)}));return null}(t):null;if(null!==e)return e}var r=rl.from(t);return Lt(r)?N(Hc().mark((function t(){return Hc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=n,t.next=3,r;case 3:return t.t1=t.sent,t.next=6,t.t0.from.call(t.t0,t.t1);case 6:return t.abrupt("return",t.sent);case 7:case"end":return t.stop()}}),t)})))():r.isSync()&&(r=r.open())?r.schema?new n(r.schema,gn(r)):n.empty():function(){var t=N(Hc().mark((function t(e){var r,i,o,a,u,s,c,l,f;return Hc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e;case 2:if(r=t.sent,i=r.schema,o=[],!i){t.next=35;break}a=!1,u=!1,t.prev=8,c=$c(r);case 10:return t.next=12,c.next();case 12:if(!(a=!(l=t.sent).done)){t.next=18;break}f=l.value,o.push(f);case 15:a=!1,t.next=10;break;case 18:t.next=24;break;case 20:t.prev=20,t.t0=t.catch(8),u=!0,s=t.t0;case 24:if(t.prev=24,t.prev=25,!a||null==c.return){t.next=29;break}return t.next=29,c.return();case 29:if(t.prev=29,!u){t.next=32;break}throw s;case 32:return t.finish(29);case 33:return t.finish(24);case 34:return t.abrupt("return",new n(i,o));case 35:return t.abrupt("return",n.empty());case 36:case"end":return t.stop()}}),t,null,[[8,20,24,34],[25,,29,33]])})));return function(e){return t.apply(this,arguments)}}()(r.open())}},{key:"fromAsync",value:function(){var t=N(Hc().mark((function t(e){return Hc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.from(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},{key:"fromStruct",value:function(t){return n.new(t.data.childData,t.type.children)}},{key:"new",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return $r(n,gn(es(ao(e))))}}]),n}(Xi);var Qc=function(t){nt(n,t);var e=st(n);function n(){var t,r;B(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];var u,s=o[0];if(o[1]instanceof yr)r=o[1],u=o[2];else{var c=s.fields,l=o[1],f=o[2];r=yr.Struct(new ar(c),0,l,0,null,f)}return(t=e.call(this,r,u))._schema=s,t}return C(n,[{key:"clone",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._children;return new n(this._schema,t,e)}},{key:"concat",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var i=this._schema,o=Xi.flatten.apply(Xi,[this].concat(e));return new qc(i,o.map((function(t){var e=t.data;return new n(i,e)})))}},{key:"schema",get:function(){return this._schema}},{key:"numCols",get:function(){return this._schema.fields.length}},{key:"dictionaries",get:function(){return this._dictionaries||(this._dictionaries=Xc.collect(this))}},{key:"select",value:function(){for(var t=this._schema.fields.reduce((function(t,e,n){return t.set(e.name,n)}),new Map),e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return this.selectAt.apply(this,gn(n.map((function(e){return t.get(e)})).filter((function(t){return t>-1}))))}},{key:"selectAt",value:function(){for(var t,e=this,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var a=(t=this._schema).selectAt.apply(t,i),u=i.map((function(t){return e.data.childData[t]})).filter(Boolean);return new n(a,this.length,u)}}],[{key:"from",value:function(t){return It(t.values),qc.from(t)}},{key:"new",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var i=uo(e),o=Object(F.a)(i,2),a=o[0],u=o[1],s=u.filter((function(t){return t instanceof qe}));return $r(n,gn(ts(new po(a),s.map((function(t){return t.data})))))}}]),n}(zs),Jc=function(t){nt(n,t);var e=st(n);function n(t){return B(this,n),e.call(this,t,0,t.fields.map((function(t){return yr.new(t.type,0,0,0)})))}return C(n)}(Qc),Xc=function(t){nt(n,t);var e=st(n);function n(){var t;return B(this,n),(t=e.apply(this,arguments)).dictionaries=new Map,t}return C(n,[{key:"visit",value:function(t,e){var n=this;return Pn.isDictionary(e)?this.visitDictionary(t,e):(t.childData.forEach((function(t,r){return n.visit(t,e.children[r].type)})),this)}},{key:"visitDictionary",value:function(t,e){var n=t.dictionary;return n&&n.length>0&&this.dictionaries.set(e.id,n),this}}],[{key:"collect",value:function(t){return(new n).visit(t.data,new ar(t.schema.fields)).dictionaries}}]),n}(mn),Zc=tl().mark(yl);function tl(){tl=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(L){s=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),u=new E(i||[]);return r(a,"_invoke",{value:k(t,n,u)}),a}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(L){return{type:"throw",arg:L}}}t.wrap=c;var f={};function h(){}function d(){}function p(){}var y={};s(y,o,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(T([])));b&&b!==e&&n.call(b,o)&&(y=b);var g=p.prototype=h.prototype=Object.create(y);function m(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var i;r(this,"_invoke",{value:function(r,o){function a(){return new e((function(i,a){!function r(i,o,a,u){var s=l(t[i],t,o);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}(r,o,i,a)}))}return i=i?i.then(a,a):a()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return O()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var u=_(a,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(t,e,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function _(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=l(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function T(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return d.prototype=p,r(g,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:d,configurable:!0}),d.displayName=s(p,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,s(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},m(w.prototype),s(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},m(g),s(g,u,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=T,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),s=n.call(o,"finallyLoc");if(u&&s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:T(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function el(t){var e,n,r,i=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,r=Symbol.iterator);i--;){if(n&&null!=(e=t[n]))return e.call(t);if(r&&null!=(e=t[r]))return new nl(e.call(t));n="@@asyncIterator",r="@@iterator"}throw new TypeError("Object is not async iterable")}function nl(t){function e(t){if(Object(t)!==t)return Promise.reject(new TypeError(t+" is not an object."));var e=t.done;return Promise.resolve(t.value).then((function(t){return{value:t,done:e}}))}return(nl=function(t){this.s=t,this.n=t.next}).prototype={s:null,n:null,next:function(){return e(this.n.apply(this.s,arguments))},return:function(t){var n=this.s.return;return void 0===n?Promise.resolve({value:t,done:!0}):e(n.apply(this.s,arguments))},throw:function(t){var n=this.s.return;return void 0===n?Promise.reject(t):e(n.apply(this.s,arguments))}},new nl(t)}var rl=function(t,e,n){nt(i,t);var r=st(i);function i(t){var e;return B(this,i),(e=r.call(this))._impl=t,e}return C(i,[{key:"closed",get:function(){return this._impl.closed}},{key:"schema",get:function(){return this._impl.schema}},{key:"autoDestroy",get:function(){return this._impl.autoDestroy}},{key:"dictionaries",get:function(){return this._impl.dictionaries}},{key:"numDictionaries",get:function(){return this._impl.numDictionaries}},{key:"numRecordBatches",get:function(){return this._impl.numRecordBatches}},{key:"footer",get:function(){return this._impl.isFile()?this._impl.footer:null}},{key:"isSync",value:function(){return this._impl.isSync()}},{key:"isAsync",value:function(){return this._impl.isAsync()}},{key:"isFile",value:function(){return this._impl.isFile()}},{key:"isStream",value:function(){return this._impl.isStream()}},{key:"next",value:function(){return this._impl.next()}},{key:"throw",value:function(t){return this._impl.throw(t)}},{key:"return",value:function(t){return this._impl.return(t)}},{key:"cancel",value:function(){return this._impl.cancel()}},{key:"reset",value:function(t){return this._impl.reset(t),this._DOMStream=void 0,this._nodeStream=void 0,this}},{key:"open",value:function(t){var e=this,n=this._impl.open(t);return Lt(n)?n.then((function(){return e})):this}},{key:"readRecordBatch",value:function(t){return this._impl.isFile()?this._impl.readRecordBatch(t):null}},{key:e,value:function(){return this._impl[Symbol.iterator]()}},{key:n,value:function(){return this._impl[Symbol.asyncIterator]()}},{key:"toDOMStream",value:function(){var t=this;return je.toDOMStream(this.isSync()?Object(ji.a)({},Symbol.iterator,(function(){return t})):Object(ji.a)({},Symbol.asyncIterator,(function(){return t})))}},{key:"toNodeStream",value:function(){var t=this;return je.toNodeStream(this.isSync()?Object(ji.a)({},Symbol.iterator,(function(){return t})):Object(ji.a)({},Symbol.asyncIterator,(function(){return t})),{objectMode:!0})}}],[{key:"throughNode",value:function(t){throw new Error('"throughNode" not available in this environment')}},{key:"throughDOM",value:function(t,e){throw new Error('"throughDOM" not available in this environment')}},{key:"from",value:function(t){return t instanceof i?t:jt(t)?function(t){return new il(new dl(t))}(t):Bt(t)?function(t){return ml.apply(this,arguments)}(t):Lt(t)?N(tl().mark((function e(){return tl().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=i,e.next=3,t;case 3:return e.t1=e.sent,e.next=6,e.t0.from.call(e.t0,e.t1);case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}}),e)})))():Pt(t)||Ft(t)||Mt(t)||At(t)?function(t){return gl.apply(this,arguments)}(new sa(t)):function(t){var e=t.peek(Pu+7&-8);return e&&e.byteLength>=4?Bu(e)?new al(new fl(t.read())):new il(new cl(t)):new il(new cl(tl().mark((function t(){return tl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:case"end":return t.stop()}}),t)}))()))}(new ua(t))}},{key:"readAll",value:function(t){return t instanceof i?t.isSync()?yl(t):vl(t):jt(t)||ArrayBuffer.isView(t)||It(t)||Nt(t)?yl(t):vl(t)}}]),i}(ht,Symbol.iterator,Symbol.asyncIterator),il=function(t,e,n){nt(i,t);var r=st(i);function i(t){var e;return B(this,i),(e=r.call(this,t))._impl=t,e}return C(i,[{key:e,value:function(){return this._impl[Symbol.iterator]()}},{key:n,value:function(){var t=this;return U(tl().mark((function e(){return tl().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(z(el(t[Symbol.iterator]()),M),"t0",1);case 1:case"end":return e.stop()}}),e)})))()}}]),i}(rl,Symbol.iterator,Symbol.asyncIterator),ol=function(t,e,n){nt(i,t);var r=st(i);function i(t){var e;return B(this,i),(e=r.call(this,t))._impl=t,e}return C(i,[{key:e,value:function(){throw new Error("AsyncRecordBatchStreamReader is not Iterable")}},{key:n,value:function(){return this._impl[Symbol.asyncIterator]()}}]),i}(rl,Symbol.iterator,Symbol.asyncIterator),al=function(t){nt(n,t);var e=st(n);function n(t){var r;return B(this,n),(r=e.call(this,t))._impl=t,r}return C(n)}(il),ul=function(t){nt(n,t);var e=st(n);function n(t){var r;return B(this,n),(r=e.call(this,t))._impl=t,r}return C(n)}(ol),sl=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Map;B(this,t),this.closed=!1,this.autoDestroy=!0,this._dictionaryIndex=0,this._recordBatchIndex=0,this.dictionaries=e}return C(t,[{key:"numDictionaries",get:function(){return this._dictionaryIndex}},{key:"numRecordBatches",get:function(){return this._recordBatchIndex}},{key:"isSync",value:function(){return!1}},{key:"isAsync",value:function(){return!1}},{key:"isFile",value:function(){return!1}},{key:"isStream",value:function(){return!1}},{key:"reset",value:function(t){return this._dictionaryIndex=0,this._recordBatchIndex=0,this.schema=t,this.dictionaries=new Map,this}},{key:"_loadRecordBatch",value:function(t,e){return new Qc(this.schema,t.length,this._loadVectors(t,e,this.schema.fields))}},{key:"_loadDictionaryBatch",value:function(t,e){var n=t.id,r=t.isDelta,i=t.data,o=this.dictionaries,a=this.schema,u=o.get(n);if(r||!u){var s=a.dictionaries.get(n);return u&&r?u.concat(qe.new(this._loadVectors(i,e,[s])[0])):qe.new(this._loadVectors(i,e,[s])[0])}return u}},{key:"_loadVectors",value:function(t,e,n){return new wa(e,t.nodes,t.buffers,this.dictionaries).visitMany(n)}}]),t}(),cl=function(t,e){nt(r,t);var n=st(r);function r(t,e){var i;return B(this,r),(i=n.call(this,e))._reader=jt(t)?new Iu(i._handle=t):new Ou(i._handle=t),i}return C(r,[{key:"isSync",value:function(){return!0}},{key:"isStream",value:function(){return!0}},{key:e,value:function(){return this}},{key:"cancel",value:function(){!this.closed&&(this.closed=!0)&&(this.reset()._reader.return(),this._reader=null,this.dictionaries=null)}},{key:"open",value:function(t){return this.closed||(this.autoDestroy=pl(this,t),this.schema||(this.schema=this._reader.readSchema())||this.cancel()),this}},{key:"throw",value:function(t){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.throw(t):lt}},{key:"return",value:function(t){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.return(t):lt}},{key:"next",value:function(){if(this.closed)return lt;for(var t,e=this._reader;t=this._readNextMessageAndValidate();)if(t.isSchema())this.reset(t.header());else{if(t.isRecordBatch()){this._recordBatchIndex++;var n=t.header(),r=e.readMessageBody(t.bodyLength);return{done:!1,value:this._loadRecordBatch(n,r)}}if(t.isDictionaryBatch()){this._dictionaryIndex++;var i=t.header(),o=e.readMessageBody(t.bodyLength),a=this._loadDictionaryBatch(i,o);this.dictionaries.set(i.id,a)}}return this.schema&&0===this._recordBatchIndex?(this._recordBatchIndex++,{done:!1,value:new Jc(this.schema)}):this.return()}},{key:"_readNextMessageAndValidate",value:function(t){return this._reader.readMessage(t)}}]),r}(sl,Symbol.iterator),ll=function(t,e){nt(r,t);var n=st(r);function r(t,e){var i;return B(this,r),(i=n.call(this,e))._reader=new Lu(i._handle=t),i}return C(r,[{key:"isAsync",value:function(){return!0}},{key:"isStream",value:function(){return!0}},{key:e,value:function(){return this}},{key:"cancel",value:function(){var t=N(tl().mark((function t(){return tl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.closed||!(this.closed=!0)){t.next=5;break}return t.next=3,this.reset()._reader.return();case 3:this._reader=null,this.dictionaries=null;case 5:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"open",value:function(){var t=N(tl().mark((function t(e){return tl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.closed){t.next=10;break}if(this.autoDestroy=pl(this,e),t.t0=this.schema,t.t0){t.next=7;break}return t.next=6,this._reader.readSchema();case 6:t.t0=this.schema=t.sent;case 7:if(t.t0){t.next=10;break}return t.next=10,this.cancel();case 10:return t.abrupt("return",this);case 11:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"throw",value:function(){var t=N(tl().mark((function t(e){return tl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.closed||!this.autoDestroy||!(this.closed=!0)){t.next=4;break}return t.next=3,this.reset()._reader.throw(e);case 3:return t.abrupt("return",t.sent);case 4:return t.abrupt("return",lt);case 5:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"return",value:function(){var t=N(tl().mark((function t(e){return tl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.closed||!this.autoDestroy||!(this.closed=!0)){t.next=4;break}return t.next=3,this.reset()._reader.return(e);case 3:return t.abrupt("return",t.sent);case 4:return t.abrupt("return",lt);case 5:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"next",value:function(){var t=N(tl().mark((function t(){var e,n,r,i,o,a,u,s;return tl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.closed){t.next=2;break}return t.abrupt("return",lt);case 2:n=this._reader;case 3:return t.next=5,this._readNextMessageAndValidate();case 5:if(!(e=t.sent)){t.next=31;break}if(!e.isSchema()){t.next=11;break}return t.next=9,this.reset(e.header());case 9:t.next=29;break;case 11:if(!e.isRecordBatch()){t.next=21;break}return this._recordBatchIndex++,r=e.header(),t.next=16,n.readMessageBody(e.bodyLength);case 16:return i=t.sent,o=this._loadRecordBatch(r,i),t.abrupt("return",{done:!1,value:o});case 21:if(!e.isDictionaryBatch()){t.next=29;break}return this._dictionaryIndex++,a=e.header(),t.next=26,n.readMessageBody(e.bodyLength);case 26:u=t.sent,s=this._loadDictionaryBatch(a,u),this.dictionaries.set(a.id,s);case 29:t.next=3;break;case 31:if(!this.schema||0!==this._recordBatchIndex){t.next=34;break}return this._recordBatchIndex++,t.abrupt("return",{done:!1,value:new Jc(this.schema)});case 34:return t.next=36,this.return();case 36:return t.abrupt("return",t.sent);case 37:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"_readNextMessageAndValidate",value:function(){var t=N(tl().mark((function t(e){return tl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._reader.readMessage(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()}]),r}(sl,Symbol.asyncIterator),fl=function(t){nt(n,t);var e=st(n);function n(t,r){return B(this,n),e.call(this,t instanceof ha?t:new ha(t),r)}return C(n,[{key:"footer",get:function(){return this._footer}},{key:"numDictionaries",get:function(){return this._footer?this._footer.numDictionaries:0}},{key:"numRecordBatches",get:function(){return this._footer?this._footer.numRecordBatches:0}},{key:"isSync",value:function(){return!0}},{key:"isFile",value:function(){return!0}},{key:"open",value:function(t){if(!this.closed&&!this._footer){this.schema=(this._footer=this._readFooter()).schema;var e,r=A(this._footer.dictionaryBatches());try{for(r.s();!(e=r.n()).done;){e.value&&this._readDictionaryBatch(this._dictionaryIndex++)}}catch(i){r.e(i)}finally{r.f()}}return Ve(rt(n.prototype),"open",this).call(this,t)}},{key:"readRecordBatch",value:function(t){if(this.closed)return null;this._footer||this.open();var e=this._footer&&this._footer.getRecordBatch(t);if(e&&this._handle.seek(e.offset)){var n=this._reader.readMessage(rn.RecordBatch);if(n&&n.isRecordBatch()){var r=n.header(),i=this._reader.readMessageBody(n.bodyLength);return this._loadRecordBatch(r,i)}}return null}},{key:"_readDictionaryBatch",value:function(t){var e=this._footer&&this._footer.getDictionaryBatch(t);if(e&&this._handle.seek(e.offset)){var n=this._reader.readMessage(rn.DictionaryBatch);if(n&&n.isDictionaryBatch()){var r=n.header(),i=this._reader.readMessageBody(n.bodyLength),o=this._loadDictionaryBatch(r,i);this.dictionaries.set(r.id,o)}}}},{key:"_readFooter",value:function(){var t=this._handle,e=t.size-Cu,n=t.readInt32(e),r=t.readAt(e-n,n);return ta.decode(r)}},{key:"_readNextMessageAndValidate",value:function(t){if(this._footer||this.open(),this._footer&&this._recordBatchIndex<this.numRecordBatches){var e=this._footer&&this._footer.getRecordBatch(this._recordBatchIndex);if(e&&this._handle.seek(e.offset))return this._reader.readMessage(t)}return null}}]),n}(cl),hl=function(t){nt(n,t);var e=st(n);function n(t){B(this,n);for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];var a="number"!==typeof i[0]?i.shift():void 0,u=i[0]instanceof Map?i.shift():void 0;return e.call(this,t instanceof da?t:new da(t,a),u)}return C(n,[{key:"footer",get:function(){return this._footer}},{key:"numDictionaries",get:function(){return this._footer?this._footer.numDictionaries:0}},{key:"numRecordBatches",get:function(){return this._footer?this._footer.numRecordBatches:0}},{key:"isFile",value:function(){return!0}},{key:"isAsync",value:function(){return!0}},{key:"open",value:function(){var t=N(tl().mark((function t(e){var r,i,o;return tl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.closed||this._footer){t.next=23;break}return t.next=3,this._readFooter();case 3:this.schema=(this._footer=t.sent).schema,r=A(this._footer.dictionaryBatches()),t.prev=5,r.s();case 7:if((i=r.n()).done){t.next=15;break}if(o=i.value,t.t0=o,!t.t0){t.next=13;break}return t.next=13,this._readDictionaryBatch(this._dictionaryIndex++);case 13:t.next=7;break;case 15:t.next=20;break;case 17:t.prev=17,t.t1=t.catch(5),r.e(t.t1);case 20:return t.prev=20,r.f(),t.finish(20);case 23:return t.next=25,Ve(rt(n.prototype),"open",this).call(this,e);case 25:return t.abrupt("return",t.sent);case 26:case"end":return t.stop()}}),t,this,[[5,17,20,23]])})));return function(e){return t.apply(this,arguments)}}()},{key:"readRecordBatch",value:function(){var t=N(tl().mark((function t(e){var n,r,i,o,a;return tl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.closed){t.next=2;break}return t.abrupt("return",null);case 2:if(this._footer){t.next=5;break}return t.next=5,this.open();case 5:if(n=this._footer&&this._footer.getRecordBatch(e),t.t0=n,!t.t0){t.next=11;break}return t.next=10,this._handle.seek(n.offset);case 10:t.t0=t.sent;case 11:if(!t.t0){t.next=22;break}return t.next=14,this._reader.readMessage(rn.RecordBatch);case 14:if(!(r=t.sent)||!r.isRecordBatch()){t.next=22;break}return i=r.header(),t.next=19,this._reader.readMessageBody(r.bodyLength);case 19:return o=t.sent,a=this._loadRecordBatch(i,o),t.abrupt("return",a);case 22:return t.abrupt("return",null);case 23:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"_readDictionaryBatch",value:function(){var t=N(tl().mark((function t(e){var n,r,i,o,a;return tl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=this._footer&&this._footer.getDictionaryBatch(e),t.t0=n,!t.t0){t.next=6;break}return t.next=5,this._handle.seek(n.offset);case 5:t.t0=t.sent;case 6:if(!t.t0){t.next=17;break}return t.next=9,this._reader.readMessage(rn.DictionaryBatch);case 9:if(!(r=t.sent)||!r.isDictionaryBatch()){t.next=17;break}return i=r.header(),t.next=14,this._reader.readMessageBody(r.bodyLength);case 14:o=t.sent,a=this._loadDictionaryBatch(i,o),this.dictionaries.set(i.id,a);case 17:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"_readFooter",value:function(){var t=N(tl().mark((function t(){var e,n,r,i;return tl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=this._handle,t.t0=e._pending,!t.t0){t.next=5;break}return t.next=5,e._pending;case 5:return n=e.size-Cu,t.next=8,e.readInt32(n);case 8:return r=t.sent,t.next=11,e.readAt(n-r,r);case 11:return i=t.sent,t.abrupt("return",ta.decode(i));case 13:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"_readNextMessageAndValidate",value:function(){var t=N(tl().mark((function t(e){var n;return tl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._footer){t.next=3;break}return t.next=3,this.open();case 3:if(!(this._footer&&this._recordBatchIndex<this.numRecordBatches)){t.next=14;break}if(n=this._footer.getRecordBatch(this._recordBatchIndex),t.t0=n,!t.t0){t.next=10;break}return t.next=9,this._handle.seek(n.offset);case 9:t.t0=t.sent;case 10:if(!t.t0){t.next=14;break}return t.next=13,this._reader.readMessage(e);case 13:return t.abrupt("return",t.sent);case 14:return t.abrupt("return",null);case 15:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()}]),n}(ll),dl=function(t){nt(n,t);var e=st(n);function n(t,r){return B(this,n),e.call(this,t,r)}return C(n,[{key:"_loadVectors",value:function(t,e,n){return new ka(e,t.nodes,t.buffers,this.dictionaries).visitMany(n)}}]),n}(cl);function pl(t,e){return e&&"boolean"===typeof e.autoDestroy?e.autoDestroy:t.autoDestroy}function yl(t){var e;return tl().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(e=rl.from(t),n.prev=1,e.open({autoDestroy:!1}).closed){n.next=6;break}case 3:return n.next=5,e;case 5:if(!e.reset().open().closed){n.next=3;break}case 6:return n.prev=6,e.cancel(),n.finish(6);case 9:case"end":return n.stop()}}),Zc,null,[[1,,6,9]])}function vl(t){return bl.apply(this,arguments)}function bl(){return(bl=U(tl().mark((function t(e){var n;return tl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,M(rl.from(e));case 2:return n=t.sent,t.prev=3,t.next=6,M(n.open({autoDestroy:!1}));case 6:if(t.sent.closed){t.next=12;break}case 7:return t.next=9,n;case 9:return t.next=11,M(n.reset().open());case 11:if(!t.sent.closed){t.next=7;break}case 12:return t.prev=12,t.next=15,M(n.cancel());case 15:return t.finish(12);case 16:case"end":return t.stop()}}),t,null,[[3,,12,16]])})))).apply(this,arguments)}function gl(){return(gl=N(tl().mark((function t(e){var n;return tl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.peek(Pu+7&-8);case 2:if(!((n=t.sent)&&n.byteLength>=4)){t.next=18;break}if(Bu(n)){t.next=8;break}t.t1=new ol(new ll(e)),t.next=15;break;case 8:return t.t2=al,t.t3=fl,t.next=12,e.read();case 12:t.t4=t.sent,t.t5=new t.t3(t.t4),t.t1=new t.t2(t.t5);case 15:t.t0=t.t1,t.next=19;break;case 18:t.t0=new ol(new ll(U(tl().mark((function t(){return tl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:case"end":return t.stop()}}),t)})))()));case 19:return t.abrupt("return",t.t0);case 20:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function ml(){return(ml=N(tl().mark((function t(e){var n,r,i;return tl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.stat();case 2:if(n=t.sent,r=n.size,i=new da(e,r),!(r>=Fu)){t.next=12;break}return t.t0=Bu,t.next=9,i.readAt(0,Pu+7&-8);case 9:if(t.t1=t.sent,!(0,t.t0)(t.t1)){t.next=12;break}return t.abrupt("return",new ul(new hl(i)));case 12:return t.abrupt("return",new ol(new ll(i)));case 13:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function wl(){wl=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(L){s=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),u=new E(i||[]);return r(a,"_invoke",{value:k(t,n,u)}),a}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(L){return{type:"throw",arg:L}}}t.wrap=c;var f={};function h(){}function d(){}function p(){}var y={};s(y,o,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(T([])));b&&b!==e&&n.call(b,o)&&(y=b);var g=p.prototype=h.prototype=Object.create(y);function m(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var i;r(this,"_invoke",{value:function(r,o){function a(){return new e((function(i,a){!function r(i,o,a,u){var s=l(t[i],t,o);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}(r,o,i,a)}))}return i=i?i.then(a,a):a()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return O()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var u=_(a,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(t,e,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function _(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=l(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function T(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return d.prototype=p,r(g,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:d,configurable:!0}),d.displayName=s(p,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,s(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},m(w.prototype),s(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},m(g),s(g,u,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=T,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),s=n.call(o,"finallyLoc");if(u&&s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:T(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}var kl=["readableStrategy","writableStrategy","queueingStrategy"];var _l=function(){function t(e){var n,r,i=this;B(this,t),this._numChunks=0,this._finished=!1,this._bufferedSize=0;var o=e.readableStrategy,a=e.writableStrategy,u=e.queueingStrategy,s=void 0===u?"count":u,c=is(e,kl);this._controller=null,this._builder=Lr.new(c),this._getSize="bytes"!==s?xl:Sl;var l=Object(ze.a)({},o).highWaterMark,f=void 0===l?"bytes"===s?Math.pow(2,14):1e3:l,h=Object(ze.a)({},a).highWaterMark,d=void 0===h?"bytes"===s?Math.pow(2,14):1e3:h;this.readable=new ReadableStream((n={},Object(ji.a)(n,"cancel",(function(){i._builder.clear()})),Object(ji.a)(n,"pull",(function(t){i._maybeFlush(i._builder,i._controller=t)})),Object(ji.a)(n,"start",(function(t){i._maybeFlush(i._builder,i._controller=t)})),n),{highWaterMark:f,size:"bytes"!==s?xl:Sl}),this.writable=new WritableStream((r={},Object(ji.a)(r,"abort",(function(){i._builder.clear()})),Object(ji.a)(r,"write",(function(){i._maybeFlush(i._builder,i._controller)})),Object(ji.a)(r,"close",(function(){i._maybeFlush(i._builder.finish(),i._controller)})),r),{highWaterMark:d,size:function(t){return i._writeValueAndReturnChunkSize(t)}})}return C(t,[{key:"_writeValueAndReturnChunkSize",value:function(t){var e=this._bufferedSize;return this._bufferedSize=this._getSize(this._builder.append(t)),this._bufferedSize-e}},{key:"_maybeFlush",value:function(t,e){null!==e&&(this._bufferedSize>=e.desiredSize&&++this._numChunks&&this._enqueue(e,t.toVector()),t.finished&&((t.length>0||0===this._numChunks)&&++this._numChunks&&this._enqueue(e,t.toVector()),!this._finished&&(this._finished=!0)&&this._enqueue(e,null)))}},{key:"_enqueue",value:function(t,e){this._bufferedSize=0,this._controller=null,null===e?t.close():t.enqueue(e)}}]),t}(),xl=function(t){return t.length},Sl=function(t){return t.byteLength};function El(){El=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(L){s=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),u=new E(i||[]);return r(a,"_invoke",{value:k(t,n,u)}),a}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(L){return{type:"throw",arg:L}}}t.wrap=c;var f={};function h(){}function d(){}function p(){}var y={};s(y,o,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(T([])));b&&b!==e&&n.call(b,o)&&(y=b);var g=p.prototype=h.prototype=Object.create(y);function m(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var i;r(this,"_invoke",{value:function(r,o){function a(){return new e((function(i,a){!function r(i,o,a,u){var s=l(t[i],t,o);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}(r,o,i,a)}))}return i=i?i.then(a,a):a()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return O()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var u=_(a,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(t,e,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function _(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=l(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function T(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return d.prototype=p,r(g,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:d,configurable:!0}),d.displayName=s(p,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,s(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},m(w.prototype),s(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},m(g),s(g,u,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=T,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),s=n.call(o,"finallyLoc");if(u&&s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:T(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function Tl(){Tl=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(L){s=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),u=new E(i||[]);return r(a,"_invoke",{value:k(t,n,u)}),a}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(L){return{type:"throw",arg:L}}}t.wrap=c;var f={};function h(){}function d(){}function p(){}var y={};s(y,o,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(T([])));b&&b!==e&&n.call(b,o)&&(y=b);var g=p.prototype=h.prototype=Object.create(y);function m(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var i;r(this,"_invoke",{value:function(r,o){function a(){return new e((function(i,a){!function r(i,o,a,u){var s=l(t[i],t,o);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}(r,o,i,a)}))}return i=i?i.then(a,a):a()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return O()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var u=_(a,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(t,e,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function _(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=l(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function T(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return d.prototype=p,r(g,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:d,configurable:!0}),d.displayName=s(p,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,s(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},m(w.prototype),s(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},m(g),s(g,u,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=T,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),s=n.call(o,"finallyLoc");if(u&&s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:T(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}var Ol=function(){function t(){B(this,t)}return C(t,[{key:"eq",value:function(e){return e instanceof t||(e=new Ll(e)),new Cl(this,e)}},{key:"le",value:function(e){return e instanceof t||(e=new Ll(e)),new Fl(this,e)}},{key:"ge",value:function(e){return e instanceof t||(e=new Ll(e)),new Dl(this,e)}},{key:"lt",value:function(t){return new Ml(this.ge(t))}},{key:"gt",value:function(t){return new Ml(this.le(t))}},{key:"ne",value:function(t){return new Ml(this.eq(t))}}]),t}(),Ll=function(t){nt(n,t);var e=st(n);function n(t){var r;return B(this,n),(r=e.call(this)).v=t,r}return C(n)}(Ol),Il=function(t){nt(n,t);var e=st(n);function n(t){var r;return B(this,n),(r=e.call(this)).name=t,r}return C(n,[{key:"bind",value:function(t){if(!this.colidx){this.colidx=-1;for(var e=t.schema.fields,n=-1;++n<e.length;)if(e[n].name===this.name){this.colidx=n;break}if(this.colidx<0)throw new Error('Failed to bind Col "'.concat(this.name,'"'))}var r=this.vector=t.getChildAt(this.colidx);return function(t){return r.get(t)}}}]),n}(Ol),Al=function(){function t(){B(this,t)}return C(t,[{key:"and",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return $r(Bl,[this].concat(e))}},{key:"or",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return $r(Pl,[this].concat(e))}},{key:"not",value:function(){return new Ml(this)}}]),t}(),jl=function(t){nt(n,t);var e=st(n);function n(t,r){var i;return B(this,n),(i=e.call(this)).left=t,i.right=r,i}return C(n,[{key:"bind",value:function(t){return this.left instanceof Ll?this.right instanceof Ll?this._bindLitLit(t,this.left,this.right):this._bindLitCol(t,this.left,this.right):this.right instanceof Ll?this._bindColLit(t,this.left,this.right):this._bindColCol(t,this.left,this.right)}}]),n}(Al),Nl=function(t){nt(n,t);var e=st(n);function n(){var t;B(this,n),t=e.call(this);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return t.children=i,t}return C(n)}(Al);Nl.prototype.children=Object.freeze([]);var Bl=function(t){nt(n,t);var e=st(n);function n(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return B(this,n),r=r.reduce((function(t,e){return t.concat(e instanceof n?e.children:e)}),[]),e.call.apply(e,[this].concat(gn(r)))}return C(n,[{key:"bind",value:function(t){var e=this.children.map((function(e){return e.bind(t)}));return function(t,n){return e.every((function(e){return e(t,n)}))}}}]),n}(Nl),Pl=function(t){nt(n,t);var e=st(n);function n(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return B(this,n),r=r.reduce((function(t,e){return t.concat(e instanceof n?e.children:e)}),[]),e.call.apply(e,[this].concat(gn(r)))}return C(n,[{key:"bind",value:function(t){var e=this.children.map((function(e){return e.bind(t)}));return function(t,n){return e.some((function(e){return e(t,n)}))}}}]),n}(Nl),Cl=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,[{key:"_bindLitLit",value:function(t,e,n){var r=e.v==n.v;return function(){return r}}},{key:"_bindColCol",value:function(t,e,n){var r=e.bind(t),i=n.bind(t);return function(t,e){return r(t,e)==i(t,e)}}},{key:"_bindColLit",value:function(t,e,n){var r=e.bind(t);if(e.vector instanceof hs){var i,o=e.vector;return o.dictionary!==this.lastDictionary?(i=o.reverseLookup(n.v),this.lastDictionary=o.dictionary,this.lastKey=i):i=this.lastKey,-1===i?function(){return!1}:function(t){return o.getKey(t)===i}}return function(t,e){return r(t,e)==n.v}}},{key:"_bindLitCol",value:function(t,e,n){return this._bindColLit(t,n,e)}}]),n}(jl),Fl=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,[{key:"_bindLitLit",value:function(t,e,n){var r=e.v<=n.v;return function(){return r}}},{key:"_bindColCol",value:function(t,e,n){var r=e.bind(t),i=n.bind(t);return function(t,e){return r(t,e)<=i(t,e)}}},{key:"_bindColLit",value:function(t,e,n){var r=e.bind(t);return function(t,e){return r(t,e)<=n.v}}},{key:"_bindLitCol",value:function(t,e,n){var r=n.bind(t);return function(t,n){return e.v<=r(t,n)}}}]),n}(jl),Dl=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,[{key:"_bindLitLit",value:function(t,e,n){var r=e.v>=n.v;return function(){return r}}},{key:"_bindColCol",value:function(t,e,n){var r=e.bind(t),i=n.bind(t);return function(t,e){return r(t,e)>=i(t,e)}}},{key:"_bindColLit",value:function(t,e,n){var r=e.bind(t);return function(t,e){return r(t,e)>=n.v}}},{key:"_bindLitCol",value:function(t,e,n){var r=n.bind(t);return function(t,n){return e.v>=r(t,n)}}}]),n}(jl),Ml=function(t){nt(n,t);var e=st(n);function n(t){var r;return B(this,n),(r=e.call(this)).child=t,r}return C(n,[{key:"bind",value:function(t){var e=this.child.bind(t);return function(t,n){return!e(t,n)}}}]),n}(Al);function Rl(){Rl=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(L){s=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),u=new E(i||[]);return r(a,"_invoke",{value:k(t,n,u)}),a}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(L){return{type:"throw",arg:L}}}t.wrap=c;var f={};function h(){}function d(){}function p(){}var y={};s(y,o,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(T([])));b&&b!==e&&n.call(b,o)&&(y=b);var g=p.prototype=h.prototype=Object.create(y);function m(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var i;r(this,"_invoke",{value:function(r,o){function a(){return new e((function(i,a){!function r(i,o,a,u){var s=l(t[i],t,o);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}(r,o,i,a)}))}return i=i?i.then(a,a):a()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return O()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var u=_(a,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(t,e,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function _(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=l(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function T(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return d.prototype=p,r(g,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:d,configurable:!0}),d.displayName=s(p,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,s(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},m(w.prototype),s(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},m(g),s(g,u,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=T,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),s=n.call(o,"finallyLoc");if(u&&s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:T(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}qc.prototype.countBy=function(t){return new Ul(this.chunks).countBy(t)},qc.prototype.scan=function(t,e){return new Ul(this.chunks).scan(t,e)},qc.prototype.scanReverse=function(t,e){return new Ul(this.chunks).scanReverse(t,e)},qc.prototype.filter=function(t){return new Ul(this.chunks).filter(t)};var Ul=function(t){nt(n,t);var e=st(n);function n(){return B(this,n),e.apply(this,arguments)}return C(n,[{key:"filter",value:function(t){return new Vl(this.chunks,t)}},{key:"scan",value:function(t,e){for(var n=this.chunks,r=n.length,i=-1;++i<r;){var o=n[i];e&&e(o);for(var a=-1,u=o.length;++a<u;)t(a,o)}}},{key:"scanReverse",value:function(t,e){for(var n=this.chunks,r=n.length;--r>=0;){var i=n[r];e&&e(i);for(var o=i.length;--o>=0;)t(o,i)}}},{key:"countBy",value:function(t){var e=this.chunks,n=e.length,r="string"===typeof t?new Il(t):t;r.bind(e[n-1]);var i=r.vector;if(!Pn.isDictionary(i.type))throw new Error("countBy currently only supports dictionary-encoded columns");for(var o=Math.ceil(Math.log(i.length)/Math.log(256)),a=new(4==o?Uint32Array:o>=2?Uint16Array:Uint8Array)(i.dictionary.length),u=-1;++u<n;){var s=e[u];r.bind(s);for(var c=r.vector.indices,l=-1,f=s.length;++l<f;){var h=c.get(l);null!==h&&a[h]++}}return new zl(i.dictionary,Es.from(a))}}]),n}(qc),zl=function(t){nt(n,t);var e=st(n);function n(t,r){B(this,n);var i=new po([new yo("values",t.type),new yo("counts",r.type)]);return e.call(this,new Qc(i,r.length,[t,r]))}return C(n,[{key:"toJSON",value:function(){for(var t=this.getColumnAt(0),e=this.getColumnAt(1),n={},r=-1;++r<this.length;)n[t.get(r)]=e.get(r);return n}}]),n}(qc),Vl=function(t,e){nt(r,t);var n=st(r);function r(t,e){var i;return B(this,r),(i=n.call(this,t))._predicate=e,i}return C(r,[{key:"scan",value:function(t,e){for(var n=this._chunks,r=n.length,i=-1;++i<r;)for(var o=n[i],a=this._predicate.bind(o),u=!1,s=-1,c=o.length;++s<c;)a(s,o)&&(e&&!u&&(e(o),u=!0),t(s,o))}},{key:"scanReverse",value:function(t,e){for(var n=this._chunks,r=n.length;--r>=0;)for(var i=n[r],o=this._predicate.bind(i),a=!1,u=i.length;--u>=0;)o(u,i)&&(e&&!a&&(e(i),a=!0),t(u,i))}},{key:"count",value:function(){for(var t=0,e=this._chunks,n=e.length,r=-1;++r<n;)for(var i=e[r],o=this._predicate.bind(i),a=-1,u=i.length;++a<u;)o(a,i)&&++t;return t}},{key:e,value:Rl().mark((function t(){var e,n,r,i,o,a,u;return Rl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=this._chunks,n=e.length,r=-1;case 3:if(!(++r<n)){t.next=15;break}i=e[r],o=this._predicate.bind(i),a=-1,u=i.length;case 7:if(!(++a<u)){t.next=13;break}if(!o(a,i)){t.next=11;break}return t.next=11,i.get(a);case 11:t.next=7;break;case 13:t.next=3;break;case 15:case"end":return t.stop()}}),t,this)}))},{key:"filter",value:function(t){return new r(this._chunks,this._predicate.and(t))}},{key:"countBy",value:function(t){var e=this._chunks,n=e.length,r="string"===typeof t?new Il(t):t;r.bind(e[n-1]);var i=r.vector;if(!Pn.isDictionary(i.type))throw new Error("countBy currently only supports dictionary-encoded columns");for(var o=Math.ceil(Math.log(i.length)/Math.log(256)),a=new(4==o?Uint32Array:o>=2?Uint16Array:Uint8Array)(i.dictionary.length),u=-1;++u<n;){var s=e[u],c=this._predicate.bind(s);r.bind(s);for(var l=r.vector.indices,f=-1,h=s.length;++f<h;){var d=l.get(f);null!==d&&c(f,s)&&a[d]++}}return new zl(i.dictionary,Es.from(a))}}]),r}(Ul,Symbol.iterator);Object(ze.a)(Object(ze.a)(Object(ze.a)(Object(ze.a)(Object(ze.a)(Object(ze.a)({},a),s),i),o),r),u);je.toDOMStream=function(t,e){if(At(t))return function(t,e){var n=null,r=e&&"bytes"===e.type||!1,i=e&&e.highWaterMark||Math.pow(2,24);return new ReadableStream(Object(ze.a)(Object(ze.a)({},e),{},{start:function(e){return N(wl().mark((function r(){return wl().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,o(e,n||(n=t[Symbol.asyncIterator]()));case 2:case"end":return r.stop()}}),r)})))()},pull:function(t){return N(wl().mark((function e(){return wl().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n){e.next=5;break}return e.next=3,o(t,n);case 3:e.next=6;break;case 5:t.close();case 6:case"end":return e.stop()}}),e)})))()},cancel:function(){return N(wl().mark((function t(){return wl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.t1=n,!t.t1){t.next=8;break}if(t.t2=n.return,!t.t2){t.next=7;break}return t.next=6,n.return();case 6:t.t2=t.sent;case 7:t.t1=t.t2;case 8:if(t.t0=t.t1,t.t0){t.next=11;break}t.t0=!0;case 11:if(t.t3=t.t0,!t.t3){t.next=14;break}n=null;case 14:case"end":return t.stop()}}),t)})))()}}),Object(ze.a)({highWaterMark:r?i:void 0},e));function o(t,e){return a.apply(this,arguments)}function a(){return(a=N(wl().mark((function t(e,n){var i,o,a;return wl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:o=null,a=e.desiredSize||null;case 2:return t.next=4,n.next(r?a:null);case 4:if((o=t.sent).done){t.next=11;break}if(ArrayBuffer.isView(o.value)&&(i=Xt(o.value))&&(null!=a&&r&&(a=a-i.byteLength+1),o.value=i),e.enqueue(o.value),!(null!=a&&--a<=0)){t.next=9;break}return t.abrupt("return");case 9:t.next=2;break;case 11:e.close();case 12:case"end":return t.stop()}}),t)})))).apply(this,arguments)}}(t,e);if(It(t))return function(t,e){var n=null,r=e&&"bytes"===e.type||!1,i=e&&e.highWaterMark||Math.pow(2,24);return new ReadableStream(Object(ze.a)(Object(ze.a)({},e),{},{start:function(e){o(e,n||(n=t[Symbol.iterator]()))},pull:function(t){n?o(t,n):t.close()},cancel:function(){n&&n.return&&n.return(),n=null}}),Object(ze.a)({highWaterMark:r?i:void 0},e));function o(t,e){for(var n,i=null,o=t.desiredSize||null;!(i=e.next(r?o:null)).done;)if(ArrayBuffer.isView(i.value)&&(n=Xt(i.value))&&(null!=o&&r&&(o=o-n.byteLength+1),i.value=n),t.enqueue(i.value),null!=o&&--o<=0)return;t.close()}}(t,e);throw new Error("toDOMStream() must be called with an Iterable or AsyncIterable")},Lr.throughDOM=function(t){return new _l(t)},rl.throughDOM=function(t,e){var n=new aa,r=null,i=new ReadableStream({cancel:function(){return N(El().mark((function t(){return El().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.close();case 2:case"end":return t.stop()}}),t)})))()},start:function(t){return N(El().mark((function e(){return El().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t0=u,e.t1=t,e.t2=r,e.t2){e.next=7;break}return e.next=6,o();case 6:e.t2=r=e.sent;case 7:return e.t3=e.t2,e.next=10,(0,e.t0)(e.t1,e.t3);case 10:case"end":return e.stop()}}),e)})))()},pull:function(t){return N(El().mark((function e(){return El().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!r){e.next=5;break}return e.next=3,u(t,r);case 3:e.next=6;break;case 5:t.close();case 6:case"end":return e.stop()}}),e)})))()}});return{writable:new WritableStream(n,Object(ze.a)({highWaterMark:Math.pow(2,14)},t)),readable:i};function o(){return a.apply(this,arguments)}function a(){return(a=N(El().mark((function t(){return El().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,rl.from(n);case 2:return t.next=4,t.sent.open(e);case 4:return t.abrupt("return",t.sent);case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function u(t,e){return s.apply(this,arguments)}function s(){return(s=N(El().mark((function t(e,n){var r,i;return El().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=e.desiredSize,i=null;case 2:return t.next=4,n.next();case 4:if((i=t.sent).done){t.next=10;break}if(e.enqueue(i.value),!(null!=r&&--r<=0)){t.next=8;break}return t.abrupt("return");case 8:t.next=2;break;case 10:e.close();case 11:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},Hu.throughDOM=function(t,e){var n=new this(t),r=new sa(n),i=new ReadableStream({type:"bytes",cancel:function(){return N(Tl().mark((function t(){return Tl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.cancel();case 2:case"end":return t.stop()}}),t)})))()},pull:function(t){return N(Tl().mark((function e(){return Tl().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o(t);case 2:case"end":return e.stop()}}),e)})))()},start:function(t){return N(Tl().mark((function e(){return Tl().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o(t);case 2:case"end":return e.stop()}}),e)})))()}},Object(ze.a)({highWaterMark:Math.pow(2,14)},e));return{writable:new WritableStream(n,t),readable:i};function o(t){return a.apply(this,arguments)}function a(){return(a=N(Tl().mark((function t(e){var n,i;return Tl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=null,i=e.desiredSize;case 2:return t.next=4,r.read(i||null);case 4:if(!(n=t.sent)){t.next=10;break}if(e.enqueue(n),!(null!=i&&(i-=n.byteLength)<=0)){t.next=8;break}return t.abrupt("return");case 8:t.next=2;break;case 10:e.close();case 11:case"end":return t.stop()}}),t)})))).apply(this,arguments)}};var Gl,Wl=function(){function t(t,e,n,r){var i=this;this.getCell=function(t,e){var n=t<i.headerRows&&e<i.headerColumns,r=t>=i.headerRows&&e<i.headerColumns,o=t<i.headerRows&&e>=i.headerColumns;if(n){var a=["blank"];return e>0&&a.push("level"+t),{type:"blank",classNames:a.join(" "),content:""}}if(o)return{type:"columns",classNames:(a=["col_heading","level"+t,"col"+(s=e-i.headerColumns)]).join(" "),content:i.getContent(i.columnsTable,s,t)};if(r){a=["row_heading","level"+e,"row"+(u=t-i.headerRows)];return{type:"index",id:"T_"+i.uuid+"level"+e+"_row"+u,classNames:a.join(" "),content:i.getContent(i.indexTable,u,e)}}a=["data","row"+(u=t-i.headerRows),"col"+(s=e-i.headerColumns)];var u,s,c=i.styler?i.getContent(i.styler.displayValuesTable,u,s):i.getContent(i.dataTable,u,s);return{type:"data",id:"T_"+i.uuid+"row"+u+"_col"+s,classNames:a.join(" "),content:c}},this.getContent=function(t,e,n){var r=t.getColumnAt(n);if(null===r)return"";switch(i.getColumnTypeId(t,n)){case Qe.Timestamp:return i.nanosToDate(r.get(e));default:return r.get(e)}},this.dataTable=qc.from(t),this.indexTable=qc.from(e),this.columnsTable=qc.from(n),this.styler=r?{caption:r.caption,displayValuesTable:qc.from(r.displayValues),styles:r.styles,uuid:r.uuid}:void 0}return Object.defineProperty(t.prototype,"rows",{get:function(){return this.indexTable.length+this.columnsTable.numCols},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"columns",{get:function(){return this.indexTable.numCols+this.columnsTable.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"headerRows",{get:function(){return this.rows-this.dataRows},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"headerColumns",{get:function(){return this.columns-this.dataColumns},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dataRows",{get:function(){return this.dataTable.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dataColumns",{get:function(){return this.dataTable.numCols},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"uuid",{get:function(){return this.styler&&this.styler.uuid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"caption",{get:function(){return this.styler&&this.styler.caption},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"styles",{get:function(){return this.styler&&this.styler.styles},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"table",{get:function(){return this.dataTable},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){return this.indexTable},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"columnTable",{get:function(){return this.columnsTable},enumerable:!0,configurable:!0}),t.prototype.serialize=function(){return{data:this.dataTable.serialize(),index:this.indexTable.serialize(),columns:this.columnsTable.serialize()}},t.prototype.getColumnTypeId=function(t,e){return t.schema.fields[e].type.typeId},t.prototype.nanosToDate=function(t){return new Date(t/1e6)},t}(),Yl=function(){return(Yl=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};!function(t){t.COMPONENT_READY="streamlit:componentReady",t.SET_COMPONENT_VALUE="streamlit:setComponentValue",t.SET_FRAME_HEIGHT="streamlit:setFrameHeight"}(Gl||(Gl={}));var Hl=function(){function t(){}return t.API_VERSION=1,t.RENDER_EVENT="streamlit:render",t.events=new L,t.registeredMessageListener=!1,t.setComponentReady=function(){t.registeredMessageListener||(window.addEventListener("message",t.onMessageEvent),t.registeredMessageListener=!0),t.sendBackMsg(Gl.COMPONENT_READY,{apiVersion:t.API_VERSION})},t.setFrameHeight=function(e){void 0===e&&(e=document.body.scrollHeight),e!==t.lastFrameHeight&&(t.lastFrameHeight=e,t.sendBackMsg(Gl.SET_FRAME_HEIGHT,{height:e}))},t.setComponentValue=function(e){var n;e instanceof Wl?(n="dataframe",e=e.serialize()):!function(t){var e=!1;try{e=t instanceof BigInt64Array||t instanceof BigUint64Array}catch(n){}return t instanceof Int8Array||t instanceof Uint8Array||t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array||e}(e)?e instanceof ArrayBuffer?(n="bytes",e=new Uint8Array(e)):n="json":(n="bytes",e=new Uint8Array(e.buffer)),t.sendBackMsg(Gl.SET_COMPONENT_VALUE,{value:e,dataType:n})},t.onMessageEvent=function(e){switch(e.data.type){case t.RENDER_EVENT:t.onRenderMessage(e.data)}},t.onRenderMessage=function(e){var n=e.args;null==n&&(console.error("Got null args in onRenderMessage. This should never happen"),n={});var r=e.dfs&&e.dfs.length>0?t.argsDataframeToObject(e.dfs):{};n=Yl(Yl({},n),r);var i=Boolean(e.disabled),o=e.theme;o&&$l(o);var a={disabled:i,args:n,theme:o},u=new CustomEvent(t.RENDER_EVENT,{detail:a});t.events.dispatchEvent(u)},t.argsDataframeToObject=function(e){var n=e.map((function(e){var n=e.key,r=e.value;return[n,t.toArrowTable(r)]}));return Object.fromEntries(n)},t.toArrowTable=function(t){var e=t.data,n=e.data,r=e.index,i=e.columns,o=e.styler;return new Wl(n,r,i,o)},t.sendBackMsg=function(t,e){window.parent.postMessage(Yl({isStreamlitMessage:!0,type:t},e),"*")},t}(),$l=function(t){var e=document.createElement("style");document.head.appendChild(e),e.innerHTML="\n :root {\n --primary-color: "+t.primaryColor+";\n --background-color: "+t.backgroundColor+";\n --secondary-background-color: "+t.secondaryBackgroundColor+";\n --text-color: "+t.textColor+";\n --font: "+t.font+";\n }\n\n body {\n background-color: var(--background-color);\n color: var(--text-color);\n }\n "};var Kl=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();!function(t){function e(){return null!==t&&t.apply(this,arguments)||this}Kl(e,t),e.prototype.componentDidMount=function(){Hl.setFrameHeight()},e.prototype.componentDidUpdate=function(){Hl.setFrameHeight()}}(h.a.PureComponent);function ql(t){var e=function(e){function n(n){var r=e.call(this,n)||this;return r.componentDidMount=function(){Hl.events.addEventListener(Hl.RENDER_EVENT,r.onRenderEvent),Hl.setComponentReady()},r.componentDidUpdate=function(){null!=r.state.componentError&&Hl.setFrameHeight()},r.componentWillUnmount=function(){Hl.events.removeEventListener(Hl.RENDER_EVENT,r.onRenderEvent)},r.onRenderEvent=function(t){var e=t;r.setState({renderData:e.detail})},r.render=function(){return null!=r.state.componentError?h.a.createElement("div",null,h.a.createElement("h1",null,"Component Error"),h.a.createElement("span",null,r.state.componentError.message)):null==r.state.renderData?null:h.a.createElement(t,{width:window.innerWidth,disabled:r.state.renderData.disabled,args:r.state.renderData.args,theme:r.state.renderData.theme})},r.state={renderData:void 0,componentError:void 0},r}return Kl(n,e),n.getDerivedStateFromError=function(t){return{componentError:t}},n}(h.a.PureComponent);return l()(e,t)}},,function(t,e,n){"use strict";var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(i){return!1}}()?Object.assign:function(t,e){for(var n,u,s=a(t),c=1;c<arguments.length;c++){for(var l in n=Object(arguments[c]))i.call(n,l)&&(s[l]=n[l]);if(r){u=r(n);for(var f=0;f<u.length;f++)o.call(n,u[f])&&(s[u[f]]=n[u[f]])}}return s}},function(t,e,n){"use strict";function r(t){if(Array.isArray(t))return t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t,e){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(25);function i(t,e,n){return(e=Object(r.a)(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(4),a=n(62),u=n(1),s=["xs","sm","md","lg","xl"];function c(t){var e=t.values,n=void 0===e?{xs:0,sm:600,md:960,lg:1280,xl:1920}:e,r=t.unit,i=void 0===r?"px":r,a=t.step,c=void 0===a?5:a,l=Object(o.a)(t,["values","unit","step"]);function f(t){var e="number"===typeof n[t]?n[t]:t;return"@media (min-width:".concat(e).concat(i,")")}function h(t,e){var r=s.indexOf(e);return r===s.length-1?f(t):"@media (min-width:".concat("number"===typeof n[t]?n[t]:t).concat(i,") and ")+"(max-width:".concat((-1!==r&&"number"===typeof n[s[r+1]]?n[s[r+1]]:e)-c/100).concat(i,")")}return Object(u.a)({keys:s,values:n,up:f,down:function(t){var e=s.indexOf(t)+1,r=n[s[e]];return e===s.length?f("xs"):"@media (max-width:".concat(("number"===typeof r&&e>0?r:t)-c/100).concat(i,")")},between:h,only:function(t){return h(t,t)},width:function(t){return n[t]}},l)}function l(t,e,n){var r;return Object(u.a)({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n")),Object(u.a)({paddingLeft:e(2),paddingRight:e(2)},n,i({},t.up("sm"),Object(u.a)({paddingLeft:e(3),paddingRight:e(3)},n[t.up("sm")])))},toolbar:(r={minHeight:56},i(r,"".concat(t.up("xs")," and (orientation: landscape)"),{minHeight:48}),i(r,t.up("sm"),{minHeight:64}),r)},n)}var f=n(35),h={black:"#000",white:"#fff"},d={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"},p={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},y={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},v={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},b={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},g={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},m={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},w=n(10),k={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:h.white,default:d[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},_={text:{primary:h.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:d[800],default:"#303030"},action:{active:h.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function x(t,e,n,r){var i=r.light||r,o=r.dark||1.5*r;t[e]||(t.hasOwnProperty(n)?t[e]=t[n]:"light"===e?t.light=Object(w.d)(t.main,i):"dark"===e&&(t.dark=Object(w.b)(t.main,o)))}function S(t){var e=t.primary,n=void 0===e?{light:p[300],main:p[500],dark:p[700]}:e,r=t.secondary,i=void 0===r?{light:y.A200,main:y.A400,dark:y.A700}:r,s=t.error,c=void 0===s?{light:v[300],main:v[500],dark:v[700]}:s,l=t.warning,S=void 0===l?{light:b[300],main:b[500],dark:b[700]}:l,E=t.info,T=void 0===E?{light:g[300],main:g[500],dark:g[700]}:E,O=t.success,L=void 0===O?{light:m[300],main:m[500],dark:m[700]}:O,I=t.type,A=void 0===I?"light":I,j=t.contrastThreshold,N=void 0===j?3:j,B=t.tonalOffset,P=void 0===B?.2:B,C=Object(o.a)(t,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function F(t){return Object(w.c)(t,_.text.primary)>=N?_.text.primary:k.text.primary}var D=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(t=Object(u.a)({},t)).main&&t[e]&&(t.main=t[e]),!t.main)throw new Error(Object(f.a)(4,e));if("string"!==typeof t.main)throw new Error(Object(f.a)(5,JSON.stringify(t.main)));return x(t,"light",n,P),x(t,"dark",r,P),t.contrastText||(t.contrastText=F(t.main)),t},M={dark:_,light:k};return Object(a.a)(Object(u.a)({common:h,type:A,primary:D(n),secondary:D(i,"A400","A200","A700"),error:D(c),warning:D(S),info:D(T),success:D(L),grey:d,contrastThreshold:N,getContrastText:F,augmentColor:D,tonalOffset:P},M[A]),C)}function E(t){return Math.round(1e5*t)/1e5}function T(t){return E(t)}var O={textTransform:"uppercase"};function L(t,e){var n="function"===typeof e?e(t):e,r=n.fontFamily,i=void 0===r?'"Roboto", "Helvetica", "Arial", sans-serif':r,s=n.fontSize,c=void 0===s?14:s,l=n.fontWeightLight,f=void 0===l?300:l,h=n.fontWeightRegular,d=void 0===h?400:h,p=n.fontWeightMedium,y=void 0===p?500:p,v=n.fontWeightBold,b=void 0===v?700:v,g=n.htmlFontSize,m=void 0===g?16:g,w=n.allVariants,k=n.pxToRem,_=Object(o.a)(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);var x=c/14,S=k||function(t){return"".concat(t/m*x,"rem")},L=function(t,e,n,r,o){return Object(u.a)({fontFamily:i,fontWeight:t,fontSize:S(e),lineHeight:n},'"Roboto", "Helvetica", "Arial", sans-serif'===i?{letterSpacing:"".concat(E(r/e),"em")}:{},o,w)},I={h1:L(f,96,1.167,-1.5),h2:L(f,60,1.2,-.5),h3:L(d,48,1.167,0),h4:L(d,34,1.235,.25),h5:L(d,24,1.334,0),h6:L(y,20,1.6,.15),subtitle1:L(d,16,1.75,.15),subtitle2:L(y,14,1.57,.1),body1:L(d,16,1.5,.15),body2:L(d,14,1.43,.15),button:L(y,14,1.75,.4,O),caption:L(d,12,1.66,.4),overline:L(d,12,2.66,1,O)};return Object(a.a)(Object(u.a)({htmlFontSize:m,pxToRem:S,round:T,fontFamily:i,fontSize:c,fontWeightLight:f,fontWeightRegular:d,fontWeightMedium:y,fontWeightBold:b},I),_,{clone:!1})}function I(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var A=["none",I(0,2,1,-1,0,1,1,0,0,1,3,0),I(0,3,1,-2,0,2,2,0,0,1,5,0),I(0,3,3,-2,0,3,4,0,0,1,8,0),I(0,2,4,-1,0,4,5,0,0,1,10,0),I(0,3,5,-1,0,5,8,0,0,1,14,0),I(0,3,5,-1,0,6,10,0,0,1,18,0),I(0,4,5,-2,0,7,10,1,0,2,16,1),I(0,5,5,-3,0,8,10,1,0,3,14,2),I(0,5,6,-3,0,9,12,1,0,3,16,2),I(0,6,6,-3,0,10,14,1,0,4,18,3),I(0,6,7,-4,0,11,15,1,0,4,20,3),I(0,7,8,-4,0,12,17,2,0,5,22,4),I(0,7,8,-4,0,13,19,2,0,5,24,4),I(0,7,9,-4,0,14,21,2,0,5,26,4),I(0,8,9,-5,0,15,22,2,0,6,28,5),I(0,8,10,-5,0,16,24,2,0,6,30,5),I(0,8,11,-5,0,17,26,2,0,6,32,5),I(0,9,11,-5,0,18,28,2,0,7,34,6),I(0,9,12,-6,0,19,29,2,0,7,36,6),I(0,10,13,-6,0,20,31,3,0,8,38,7),I(0,10,13,-6,0,21,33,3,0,8,40,7),I(0,10,14,-6,0,22,35,3,0,8,42,7),I(0,11,14,-7,0,23,36,3,0,9,44,8),I(0,11,15,-7,0,24,38,3,0,9,46,8)],j={borderRadius:4},N=n(26),B=(n(16),n(11));var P=function(t,e){return e?Object(a.a)(t,e,{clone:!1}):t},C={xs:0,sm:600,md:960,lg:1280,xl:1920},F={keys:["xs","sm","md","lg","xl"],up:function(t){return"@media (min-width:".concat(C[t],"px)")}};var D={m:"margin",p:"padding"},M={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},R={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},U=function(t){var e={};return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}}((function(t){if(t.length>2){if(!R[t])return[t];t=R[t]}var e=t.split(""),n=Object(N.a)(e,2),r=n[0],i=n[1],o=D[r],a=M[i]||"";return Array.isArray(a)?a.map((function(t){return o+t})):[o+a]})),z=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function V(t){var e=t.spacing||8;return"number"===typeof e?function(t){return e*t}:Array.isArray(e)?function(t){return e[t]}:"function"===typeof e?e:function(){}}function G(t,e){return function(n){return t.reduce((function(t,r){return t[r]=function(t,e){if("string"===typeof e||null==e)return e;var n=t(Math.abs(e));return e>=0?n:"number"===typeof n?-n:"-".concat(n)}(e,n),t}),{})}}function W(t){var e=V(t.theme);return Object.keys(t).map((function(n){if(-1===z.indexOf(n))return null;var r=G(U(n),e),i=t[n];return function(t,e,n){if(Array.isArray(e)){var r=t.theme.breakpoints||F;return e.reduce((function(t,i,o){return t[r.up(r.keys[o])]=n(e[o]),t}),{})}if("object"===Object(B.a)(e)){var i=t.theme.breakpoints||F;return Object.keys(e).reduce((function(t,r){return t[i.up(r)]=n(e[r]),t}),{})}return n(e)}(t,i,r)})).reduce(P,{})}W.propTypes={},W.filterProps=z;function Y(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(t.mui)return t;var e=V({spacing:t}),n=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return 0===n.length?e(1):1===n.length?e(n[0]):n.map((function(t){if("string"===typeof t)return t;var n=e(t);return"number"===typeof n?"".concat(n,"px"):n})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return t}}),n.mui=!0,n}var H={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},$={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function K(t){return"".concat(Math.round(t),"ms")}var q={easing:H,duration:$,create:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.duration,r=void 0===n?$.standard:n,i=e.easing,a=void 0===i?H.easeInOut:i,u=e.delay,s=void 0===u?0:u;Object(o.a)(e,["duration","easing","delay"]);return(Array.isArray(t)?t:[t]).map((function(t){return"".concat(t," ").concat("string"===typeof r?r:K(r)," ").concat(a," ").concat("string"===typeof s?s:K(s))})).join(",")},getAutoHeightDuration:function(t){if(!t)return 0;var e=t/36;return Math.round(10*(4+15*Math.pow(e,.25)+e/5))}},Q={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function J(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.breakpoints,n=void 0===e?{}:e,r=t.mixins,i=void 0===r?{}:r,u=t.palette,s=void 0===u?{}:u,f=t.spacing,h=t.typography,d=void 0===h?{}:h,p=Object(o.a)(t,["breakpoints","mixins","palette","spacing","typography"]),y=S(s),v=c(n),b=Y(f),g=Object(a.a)({breakpoints:v,direction:"ltr",mixins:l(v,b,i),overrides:{},palette:y,props:{},shadows:A,typography:L(y,d),spacing:b,shape:j,transitions:q,zIndex:Q},p),m=arguments.length,w=new Array(m>1?m-1:0),k=1;k<m;k++)w[k-1]=arguments[k];return g=w.reduce((function(t,e){return Object(a.a)(t,e)}),g)}e.a=J},function(t,e,n){"use strict";function r(t){for(var e="https://mui.com/production-error/?code="+t,n=1;n<arguments.length;n+=1)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+t+"; visit "+e+" for the full message."}n.d(e,"a",(function(){return r}))},,,,function(t,e,n){"use strict";var r=n(29),i="function"===typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,a=i?Symbol.for("react.portal"):60106,u=i?Symbol.for("react.fragment"):60107,s=i?Symbol.for("react.strict_mode"):60108,c=i?Symbol.for("react.profiler"):60114,l=i?Symbol.for("react.provider"):60109,f=i?Symbol.for("react.context"):60110,h=i?Symbol.for("react.forward_ref"):60112,d=i?Symbol.for("react.suspense"):60113,p=i?Symbol.for("react.memo"):60115,y=i?Symbol.for("react.lazy"):60116,v="function"===typeof Symbol&&Symbol.iterator;function b(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m={};function w(t,e,n){this.props=t,this.context=e,this.refs=m,this.updater=n||g}function k(){}function _(t,e,n){this.props=t,this.context=e,this.refs=m,this.updater=n||g}w.prototype.isReactComponent={},w.prototype.setState=function(t,e){if("object"!==typeof t&&"function"!==typeof t&&null!=t)throw Error(b(85));this.updater.enqueueSetState(this,t,e,"setState")},w.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},k.prototype=w.prototype;var x=_.prototype=new k;x.constructor=_,r(x,w.prototype),x.isPureReactComponent=!0;var S={current:null},E=Object.prototype.hasOwnProperty,T={key:!0,ref:!0,__self:!0,__source:!0};function O(t,e,n){var r,i={},a=null,u=null;if(null!=e)for(r in void 0!==e.ref&&(u=e.ref),void 0!==e.key&&(a=""+e.key),e)E.call(e,r)&&!T.hasOwnProperty(r)&&(i[r]=e[r]);var s=arguments.length-2;if(1===s)i.children=n;else if(1<s){for(var c=Array(s),l=0;l<s;l++)c[l]=arguments[l+2];i.children=c}if(t&&t.defaultProps)for(r in s=t.defaultProps)void 0===i[r]&&(i[r]=s[r]);return{$$typeof:o,type:t,key:a,ref:u,props:i,_owner:S.current}}function L(t){return"object"===typeof t&&null!==t&&t.$$typeof===o}var I=/\/+/g,A=[];function j(t,e,n,r){if(A.length){var i=A.pop();return i.result=t,i.keyPrefix=e,i.func=n,i.context=r,i.count=0,i}return{result:t,keyPrefix:e,func:n,context:r,count:0}}function N(t){t.result=null,t.keyPrefix=null,t.func=null,t.context=null,t.count=0,10>A.length&&A.push(t)}function B(t,e,n){return null==t?0:function t(e,n,r,i){var u=typeof e;"undefined"!==u&&"boolean"!==u||(e=null);var s=!1;if(null===e)s=!0;else switch(u){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case o:case a:s=!0}}if(s)return r(i,e,""===n?"."+P(e,0):n),1;if(s=0,n=""===n?".":n+":",Array.isArray(e))for(var c=0;c<e.length;c++){var l=n+P(u=e[c],c);s+=t(u,l,r,i)}else if(null===e||"object"!==typeof e?l=null:l="function"===typeof(l=v&&e[v]||e["@@iterator"])?l:null,"function"===typeof l)for(e=l.call(e),c=0;!(u=e.next()).done;)s+=t(u=u.value,l=n+P(u,c++),r,i);else if("object"===u)throw r=""+e,Error(b(31,"[object Object]"===r?"object with keys {"+Object.keys(e).join(", ")+"}":r,""));return s}(t,"",e,n)}function P(t,e){return"object"===typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+(""+t).replace(/[=:]/g,(function(t){return e[t]}))}(t.key):e.toString(36)}function C(t,e){t.func.call(t.context,e,t.count++)}function F(t,e,n){var r=t.result,i=t.keyPrefix;t=t.func.call(t.context,e,t.count++),Array.isArray(t)?D(t,r,n,(function(t){return t})):null!=t&&(L(t)&&(t=function(t,e){return{$$typeof:o,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}(t,i+(!t.key||e&&e.key===t.key?"":(""+t.key).replace(I,"$&/")+"/")+n)),r.push(t))}function D(t,e,n,r,i){var o="";null!=n&&(o=(""+n).replace(I,"$&/")+"/"),B(t,F,e=j(e,o,r,i)),N(e)}var M={current:null};function R(){var t=M.current;if(null===t)throw Error(b(321));return t}var U={ReactCurrentDispatcher:M,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:S,IsSomeRendererActing:{current:!1},assign:r};e.Children={map:function(t,e,n){if(null==t)return t;var r=[];return D(t,r,null,e,n),r},forEach:function(t,e,n){if(null==t)return t;B(t,C,e=j(null,null,e,n)),N(e)},count:function(t){return B(t,(function(){return null}),null)},toArray:function(t){var e=[];return D(t,e,null,(function(t){return t})),e},only:function(t){if(!L(t))throw Error(b(143));return t}},e.Component=w,e.Fragment=u,e.Profiler=c,e.PureComponent=_,e.StrictMode=s,e.Suspense=d,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=U,e.cloneElement=function(t,e,n){if(null===t||void 0===t)throw Error(b(267,t));var i=r({},t.props),a=t.key,u=t.ref,s=t._owner;if(null!=e){if(void 0!==e.ref&&(u=e.ref,s=S.current),void 0!==e.key&&(a=""+e.key),t.type&&t.type.defaultProps)var c=t.type.defaultProps;for(l in e)E.call(e,l)&&!T.hasOwnProperty(l)&&(i[l]=void 0===e[l]&&void 0!==c?c[l]:e[l])}var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){c=Array(l);for(var f=0;f<l;f++)c[f]=arguments[f+2];i.children=c}return{$$typeof:o,type:t.type,key:a,ref:u,props:i,_owner:s}},e.createContext=function(t,e){return void 0===e&&(e=null),(t={$$typeof:f,_calculateChangedBits:e,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:t},t.Consumer=t},e.createElement=O,e.createFactory=function(t){var e=O.bind(null,t);return e.type=t,e},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:h,render:t}},e.isValidElement=L,e.lazy=function(t){return{$$typeof:y,_ctor:t,_status:-1,_result:null}},e.memo=function(t,e){return{$$typeof:p,type:t,compare:void 0===e?null:e}},e.useCallback=function(t,e){return R().useCallback(t,e)},e.useContext=function(t,e){return R().useContext(t,e)},e.useDebugValue=function(){},e.useEffect=function(t,e){return R().useEffect(t,e)},e.useImperativeHandle=function(t,e,n){return R().useImperativeHandle(t,e,n)},e.useLayoutEffect=function(t,e){return R().useLayoutEffect(t,e)},e.useMemo=function(t,e){return R().useMemo(t,e)},e.useReducer=function(t,e,n){return R().useReducer(t,e,n)},e.useRef=function(t){return R().useRef(t)},e.useState=function(t){return R().useState(t)},e.version="16.14.0"},function(t,e,n){"use strict";var r=n(0),i=n(29),o=n(41);function a(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));function u(t,e,n,r,i,o,a,u,s){var c=Array.prototype.slice.call(arguments,3);try{e.apply(n,c)}catch(l){this.onError(l)}}var s=!1,c=null,l=!1,f=null,h={onError:function(t){s=!0,c=t}};function d(t,e,n,r,i,o,a,l,f){s=!1,c=null,u.apply(h,arguments)}var p=null,y=null,v=null;function b(t,e,n){var r=t.type||"unknown-event";t.currentTarget=v(n),function(t,e,n,r,i,o,u,h,p){if(d.apply(this,arguments),s){if(!s)throw Error(a(198));var y=c;s=!1,c=null,l||(l=!0,f=y)}}(r,e,void 0,t),t.currentTarget=null}var g=null,m={};function w(){if(g)for(var t in m){var e=m[t],n=g.indexOf(t);if(!(-1<n))throw Error(a(96,t));if(!_[n]){if(!e.extractEvents)throw Error(a(97,t));for(var r in _[n]=e,n=e.eventTypes){var i=void 0,o=n[r],u=e,s=r;if(x.hasOwnProperty(s))throw Error(a(99,s));x[s]=o;var c=o.phasedRegistrationNames;if(c){for(i in c)c.hasOwnProperty(i)&&k(c[i],u,s);i=!0}else o.registrationName?(k(o.registrationName,u,s),i=!0):i=!1;if(!i)throw Error(a(98,r,t))}}}}function k(t,e,n){if(S[t])throw Error(a(100,t));S[t]=e,E[t]=e.eventTypes[n].dependencies}var _=[],x={},S={},E={};function T(t){var e,n=!1;for(e in t)if(t.hasOwnProperty(e)){var r=t[e];if(!m.hasOwnProperty(e)||m[e]!==r){if(m[e])throw Error(a(102,e));m[e]=r,n=!0}}n&&w()}var O=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),L=null,I=null,A=null;function j(t){if(t=y(t)){if("function"!==typeof L)throw Error(a(280));var e=t.stateNode;e&&(e=p(e),L(t.stateNode,t.type,e))}}function N(t){I?A?A.push(t):A=[t]:I=t}function B(){if(I){var t=I,e=A;if(A=I=null,j(t),e)for(t=0;t<e.length;t++)j(e[t])}}function P(t,e){return t(e)}function C(t,e,n,r,i){return t(e,n,r,i)}function F(){}var D=P,M=!1,R=!1;function U(){null===I&&null===A||(F(),B())}function z(t,e,n){if(R)return t(e,n);R=!0;try{return D(t,e,n)}finally{R=!1,U()}}var V=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,G=Object.prototype.hasOwnProperty,W={},Y={};function H(t,e,n,r,i,o){this.acceptsBooleans=2===e||3===e||4===e,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=o}var $={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(t){$[t]=new H(t,0,!1,t,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(t){var e=t[0];$[e]=new H(e,1,!1,t[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(t){$[t]=new H(t,2,!1,t.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(t){$[t]=new H(t,2,!1,t,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(t){$[t]=new H(t,3,!1,t.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(t){$[t]=new H(t,3,!0,t,null,!1)})),["capture","download"].forEach((function(t){$[t]=new H(t,4,!1,t,null,!1)})),["cols","rows","size","span"].forEach((function(t){$[t]=new H(t,6,!1,t,null,!1)})),["rowSpan","start"].forEach((function(t){$[t]=new H(t,5,!1,t.toLowerCase(),null,!1)}));var K=/[\-:]([a-z])/g;function q(t){return t[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(t){var e=t.replace(K,q);$[e]=new H(e,1,!1,t,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(t){var e=t.replace(K,q);$[e]=new H(e,1,!1,t,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(t){var e=t.replace(K,q);$[e]=new H(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(t){$[t]=new H(t,1,!1,t.toLowerCase(),null,!1)})),$.xlinkHref=new H("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(t){$[t]=new H(t,1,!1,t.toLowerCase(),null,!0)}));var Q=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function J(t,e,n,r){var i=$.hasOwnProperty(e)?$[e]:null;(null!==i?0===i.type:!r&&(2<e.length&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1])))||(function(t,e,n,r){if(null===e||"undefined"===typeof e||function(t,e,n,r){if(null!==n&&0===n.type)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(t=t.toLowerCase().slice(0,5))&&"aria-"!==t);default:return!1}}(t,e,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!e;case 4:return!1===e;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}(e,n,i,r)&&(n=null),r||null===i?function(t){return!!G.call(Y,t)||!G.call(W,t)&&(V.test(t)?Y[t]=!0:(W[t]=!0,!1))}(e)&&(null===n?t.removeAttribute(e):t.setAttribute(e,""+n)):i.mustUseProperty?t[i.propertyName]=null===n?3!==i.type&&"":n:(e=i.attributeName,r=i.attributeNamespace,null===n?t.removeAttribute(e):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?t.setAttributeNS(r,e,n):t.setAttribute(e,n))))}Q.hasOwnProperty("ReactCurrentDispatcher")||(Q.ReactCurrentDispatcher={current:null}),Q.hasOwnProperty("ReactCurrentBatchConfig")||(Q.ReactCurrentBatchConfig={suspense:null});var X=/^(.*)[\\\/]/,Z="function"===typeof Symbol&&Symbol.for,tt=Z?Symbol.for("react.element"):60103,et=Z?Symbol.for("react.portal"):60106,nt=Z?Symbol.for("react.fragment"):60107,rt=Z?Symbol.for("react.strict_mode"):60108,it=Z?Symbol.for("react.profiler"):60114,ot=Z?Symbol.for("react.provider"):60109,at=Z?Symbol.for("react.context"):60110,ut=Z?Symbol.for("react.concurrent_mode"):60111,st=Z?Symbol.for("react.forward_ref"):60112,ct=Z?Symbol.for("react.suspense"):60113,lt=Z?Symbol.for("react.suspense_list"):60120,ft=Z?Symbol.for("react.memo"):60115,ht=Z?Symbol.for("react.lazy"):60116,dt=Z?Symbol.for("react.block"):60121,pt="function"===typeof Symbol&&Symbol.iterator;function yt(t){return null===t||"object"!==typeof t?null:"function"===typeof(t=pt&&t[pt]||t["@@iterator"])?t:null}function vt(t){if(null==t)return null;if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t;switch(t){case nt:return"Fragment";case et:return"Portal";case it:return"Profiler";case rt:return"StrictMode";case ct:return"Suspense";case lt:return"SuspenseList"}if("object"===typeof t)switch(t.$$typeof){case at:return"Context.Consumer";case ot:return"Context.Provider";case st:var e=t.render;return e=e.displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case ft:return vt(t.type);case dt:return vt(t.render);case ht:if(t=1===t._status?t._result:null)return vt(t)}return null}function bt(t){var e="";do{t:switch(t.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break t;default:var r=t._debugOwner,i=t._debugSource,o=vt(t.type);n=null,r&&(n=vt(r.type)),r=o,o="",i?o=" (at "+i.fileName.replace(X,"")+":"+i.lineNumber+")":n&&(o=" (created by "+n+")"),n="\n in "+(r||"Unknown")+o}e+=n,t=t.return}while(t);return e}function gt(t){switch(typeof t){case"boolean":case"number":case"object":case"string":case"undefined":return t;default:return""}}function mt(t){var e=t.type;return(t=t.nodeName)&&"input"===t.toLowerCase()&&("checkbox"===e||"radio"===e)}function wt(t){t._valueTracker||(t._valueTracker=function(t){var e=mt(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(t){r=""+t,o.call(this,t)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(t){r=""+t},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}(t))}function kt(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=mt(t)?t.checked?"true":"false":t.value),(t=r)!==n&&(e.setValue(t),!0)}function _t(t,e){var n=e.checked;return i({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:t._wrapperState.initialChecked})}function xt(t,e){var n=null==e.defaultValue?"":e.defaultValue,r=null!=e.checked?e.checked:e.defaultChecked;n=gt(null!=e.value?e.value:n),t._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===e.type||"radio"===e.type?null!=e.checked:null!=e.value}}function St(t,e){null!=(e=e.checked)&&J(t,"checked",e,!1)}function Et(t,e){St(t,e);var n=gt(e.value),r=e.type;if(null!=n)"number"===r?(0===n&&""===t.value||t.value!=n)&&(t.value=""+n):t.value!==""+n&&(t.value=""+n);else if("submit"===r||"reset"===r)return void t.removeAttribute("value");e.hasOwnProperty("value")?Ot(t,e.type,n):e.hasOwnProperty("defaultValue")&&Ot(t,e.type,gt(e.defaultValue)),null==e.checked&&null!=e.defaultChecked&&(t.defaultChecked=!!e.defaultChecked)}function Tt(t,e,n){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!("submit"!==r&&"reset"!==r||void 0!==e.value&&null!==e.value))return;e=""+t._wrapperState.initialValue,n||e===t.value||(t.value=e),t.defaultValue=e}""!==(n=t.name)&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,""!==n&&(t.name=n)}function Ot(t,e,n){"number"===e&&t.ownerDocument.activeElement===t||(null==n?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+n&&(t.defaultValue=""+n))}function Lt(t,e){return t=i({children:void 0},e),(e=function(t){var e="";return r.Children.forEach(t,(function(t){null!=t&&(e+=t)})),e}(e.children))&&(t.children=e),t}function It(t,e,n,r){if(t=t.options,e){e={};for(var i=0;i<n.length;i++)e["$"+n[i]]=!0;for(n=0;n<t.length;n++)i=e.hasOwnProperty("$"+t[n].value),t[n].selected!==i&&(t[n].selected=i),i&&r&&(t[n].defaultSelected=!0)}else{for(n=""+gt(n),e=null,i=0;i<t.length;i++){if(t[i].value===n)return t[i].selected=!0,void(r&&(t[i].defaultSelected=!0));null!==e||t[i].disabled||(e=t[i])}null!==e&&(e.selected=!0)}}function At(t,e){if(null!=e.dangerouslySetInnerHTML)throw Error(a(91));return i({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function jt(t,e){var n=e.value;if(null==n){if(n=e.children,e=e.defaultValue,null!=n){if(null!=e)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}e=n}null==e&&(e=""),n=e}t._wrapperState={initialValue:gt(n)}}function Nt(t,e){var n=gt(e.value),r=gt(e.defaultValue);null!=n&&((n=""+n)!==t.value&&(t.value=n),null==e.defaultValue&&t.defaultValue!==n&&(t.defaultValue=n)),null!=r&&(t.defaultValue=""+r)}function Bt(t){var e=t.textContent;e===t._wrapperState.initialValue&&""!==e&&null!==e&&(t.value=e)}var Pt="http://www.w3.org/1999/xhtml",Ct="http://www.w3.org/2000/svg";function Ft(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Dt(t,e){return null==t||"http://www.w3.org/1999/xhtml"===t?Ft(e):"http://www.w3.org/2000/svg"===t&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":t}var Mt,Rt=function(t){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,n,r,i){MSApp.execUnsafeLocalFunction((function(){return t(e,n)}))}:t}((function(t,e){if(t.namespaceURI!==Ct||"innerHTML"in t)t.innerHTML=e;else{for((Mt=Mt||document.createElement("div")).innerHTML="<svg>"+e.valueOf().toString()+"</svg>",e=Mt.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}}));function Ut(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&3===n.nodeType)return void(n.nodeValue=e)}t.textContent=e}function zt(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var Vt={animationend:zt("Animation","AnimationEnd"),animationiteration:zt("Animation","AnimationIteration"),animationstart:zt("Animation","AnimationStart"),transitionend:zt("Transition","TransitionEnd")},Gt={},Wt={};function Yt(t){if(Gt[t])return Gt[t];if(!Vt[t])return t;var e,n=Vt[t];for(e in n)if(n.hasOwnProperty(e)&&e in Wt)return Gt[t]=n[e];return t}O&&(Wt=document.createElement("div").style,"AnimationEvent"in window||(delete Vt.animationend.animation,delete Vt.animationiteration.animation,delete Vt.animationstart.animation),"TransitionEvent"in window||delete Vt.transitionend.transition);var Ht=Yt("animationend"),$t=Yt("animationiteration"),Kt=Yt("animationstart"),qt=Yt("transitionend"),Qt="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Jt=new("function"===typeof WeakMap?WeakMap:Map);function Xt(t){var e=Jt.get(t);return void 0===e&&(e=new Map,Jt.set(t,e)),e}function Zt(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do{0!==(1026&(e=t).effectTag)&&(n=e.return),t=e.return}while(t)}return 3===e.tag?n:null}function te(t){if(13===t.tag){var e=t.memoizedState;if(null===e&&(null!==(t=t.alternate)&&(e=t.memoizedState)),null!==e)return e.dehydrated}return null}function ee(t){if(Zt(t)!==t)throw Error(a(188))}function ne(t){if(!(t=function(t){var e=t.alternate;if(!e){if(null===(e=Zt(t)))throw Error(a(188));return e!==t?null:t}for(var n=t,r=e;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return ee(i),t;if(o===r)return ee(i),e;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var u=!1,s=i.child;s;){if(s===n){u=!0,n=i,r=o;break}if(s===r){u=!0,r=i,n=o;break}s=s.sibling}if(!u){for(s=o.child;s;){if(s===n){u=!0,n=o,r=i;break}if(s===r){u=!0,r=o,n=i;break}s=s.sibling}if(!u)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?t:e}(t)))return null;for(var e=t;;){if(5===e.tag||6===e.tag)return e;if(e.child)e.child.return=e,e=e.child;else{if(e===t)break;for(;!e.sibling;){if(!e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}}return null}function re(t,e){if(null==e)throw Error(a(30));return null==t?e:Array.isArray(t)?Array.isArray(e)?(t.push.apply(t,e),t):(t.push(e),t):Array.isArray(e)?[t].concat(e):[t,e]}function ie(t,e,n){Array.isArray(t)?t.forEach(e,n):t&&e.call(n,t)}var oe=null;function ae(t){if(t){var e=t._dispatchListeners,n=t._dispatchInstances;if(Array.isArray(e))for(var r=0;r<e.length&&!t.isPropagationStopped();r++)b(t,e[r],n[r]);else e&&b(t,e,n);t._dispatchListeners=null,t._dispatchInstances=null,t.isPersistent()||t.constructor.release(t)}}function ue(t){if(null!==t&&(oe=re(oe,t)),t=oe,oe=null,t){if(ie(t,ae),oe)throw Error(a(95));if(l)throw t=f,l=!1,f=null,t}}function se(t){return(t=t.target||t.srcElement||window).correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}function ce(t){if(!O)return!1;var e=(t="on"+t)in document;return e||((e=document.createElement("div")).setAttribute(t,"return;"),e="function"===typeof e[t]),e}var le=[];function fe(t){t.topLevelType=null,t.nativeEvent=null,t.targetInst=null,t.ancestors.length=0,10>le.length&&le.push(t)}function he(t,e,n,r){if(le.length){var i=le.pop();return i.topLevelType=t,i.eventSystemFlags=r,i.nativeEvent=e,i.targetInst=n,i}return{topLevelType:t,eventSystemFlags:r,nativeEvent:e,targetInst:n,ancestors:[]}}function de(t){var e=t.targetInst,n=e;do{if(!n){t.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(e=n.tag)&&6!==e||t.ancestors.push(n),n=On(r)}while(n);for(n=0;n<t.ancestors.length;n++){e=t.ancestors[n];var i=se(t.nativeEvent);r=t.topLevelType;var o=t.nativeEvent,a=t.eventSystemFlags;0===n&&(a|=64);for(var u=null,s=0;s<_.length;s++){var c=_[s];c&&(c=c.extractEvents(r,e,o,i,a))&&(u=re(u,c))}ue(u)}}function pe(t,e,n){if(!n.has(t)){switch(t){case"scroll":Ke(e,"scroll",!0);break;case"focus":case"blur":Ke(e,"focus",!0),Ke(e,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":ce(t)&&Ke(e,t,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Qt.indexOf(t)&&$e(t,e)}n.set(t,null)}}var ye,ve,be,ge=!1,me=[],we=null,ke=null,_e=null,xe=new Map,Se=new Map,Ee=[],Te="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),Oe="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Le(t,e,n,r,i){return{blockedOn:t,topLevelType:e,eventSystemFlags:32|n,nativeEvent:i,container:r}}function Ie(t,e){switch(t){case"focus":case"blur":we=null;break;case"dragenter":case"dragleave":ke=null;break;case"mouseover":case"mouseout":_e=null;break;case"pointerover":case"pointerout":xe.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Se.delete(e.pointerId)}}function Ae(t,e,n,r,i,o){return null===t||t.nativeEvent!==o?(t=Le(e,n,r,i,o),null!==e&&(null!==(e=Ln(e))&&ve(e)),t):(t.eventSystemFlags|=r,t)}function je(t){var e=On(t.target);if(null!==e){var n=Zt(e);if(null!==n)if(13===(e=n.tag)){if(null!==(e=te(n)))return t.blockedOn=e,void o.unstable_runWithPriority(t.priority,(function(){be(n)}))}else if(3===e&&n.stateNode.hydrate)return void(t.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}t.blockedOn=null}function Ne(t){if(null!==t.blockedOn)return!1;var e=Xe(t.topLevelType,t.eventSystemFlags,t.container,t.nativeEvent);if(null!==e){var n=Ln(e);return null!==n&&ve(n),t.blockedOn=e,!1}return!0}function Be(t,e,n){Ne(t)&&n.delete(e)}function Pe(){for(ge=!1;0<me.length;){var t=me[0];if(null!==t.blockedOn){null!==(t=Ln(t.blockedOn))&&ye(t);break}var e=Xe(t.topLevelType,t.eventSystemFlags,t.container,t.nativeEvent);null!==e?t.blockedOn=e:me.shift()}null!==we&&Ne(we)&&(we=null),null!==ke&&Ne(ke)&&(ke=null),null!==_e&&Ne(_e)&&(_e=null),xe.forEach(Be),Se.forEach(Be)}function Ce(t,e){t.blockedOn===e&&(t.blockedOn=null,ge||(ge=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Pe)))}function Fe(t){function e(e){return Ce(e,t)}if(0<me.length){Ce(me[0],t);for(var n=1;n<me.length;n++){var r=me[n];r.blockedOn===t&&(r.blockedOn=null)}}for(null!==we&&Ce(we,t),null!==ke&&Ce(ke,t),null!==_e&&Ce(_e,t),xe.forEach(e),Se.forEach(e),n=0;n<Ee.length;n++)(r=Ee[n]).blockedOn===t&&(r.blockedOn=null);for(;0<Ee.length&&null===(n=Ee[0]).blockedOn;)je(n),null===n.blockedOn&&Ee.shift()}var De={},Me=new Map,Re=new Map,Ue=["abort","abort",Ht,"animationEnd",$t,"animationIteration",Kt,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",qt,"transitionEnd","waiting","waiting"];function ze(t,e){for(var n=0;n<t.length;n+=2){var r=t[n],i=t[n+1],o="on"+(i[0].toUpperCase()+i.slice(1));o={phasedRegistrationNames:{bubbled:o,captured:o+"Capture"},dependencies:[r],eventPriority:e},Re.set(r,e),Me.set(r,o),De[i]=o}}ze("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),ze("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),ze(Ue,2);for(var Ve="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Ge=0;Ge<Ve.length;Ge++)Re.set(Ve[Ge],0);var We=o.unstable_UserBlockingPriority,Ye=o.unstable_runWithPriority,He=!0;function $e(t,e){Ke(e,t,!1)}function Ke(t,e,n){var r=Re.get(e);switch(void 0===r?2:r){case 0:r=qe.bind(null,e,1,t);break;case 1:r=Qe.bind(null,e,1,t);break;default:r=Je.bind(null,e,1,t)}n?t.addEventListener(e,r,!0):t.addEventListener(e,r,!1)}function qe(t,e,n,r){M||F();var i=Je,o=M;M=!0;try{C(i,t,e,n,r)}finally{(M=o)||U()}}function Qe(t,e,n,r){Ye(We,Je.bind(null,t,e,n,r))}function Je(t,e,n,r){if(He)if(0<me.length&&-1<Te.indexOf(t))t=Le(null,t,e,n,r),me.push(t);else{var i=Xe(t,e,n,r);if(null===i)Ie(t,r);else if(-1<Te.indexOf(t))t=Le(i,t,e,n,r),me.push(t);else if(!function(t,e,n,r,i){switch(e){case"focus":return we=Ae(we,t,e,n,r,i),!0;case"dragenter":return ke=Ae(ke,t,e,n,r,i),!0;case"mouseover":return _e=Ae(_e,t,e,n,r,i),!0;case"pointerover":var o=i.pointerId;return xe.set(o,Ae(xe.get(o)||null,t,e,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Se.set(o,Ae(Se.get(o)||null,t,e,n,r,i)),!0}return!1}(i,t,e,n,r)){Ie(t,r),t=he(t,r,null,e);try{z(de,t)}finally{fe(t)}}}}function Xe(t,e,n,r){if(null!==(n=On(n=se(r)))){var i=Zt(n);if(null===i)n=null;else{var o=i.tag;if(13===o){if(null!==(n=te(i)))return n;n=null}else if(3===o){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;n=null}else i!==n&&(n=null)}}t=he(t,r,n,e);try{z(de,t)}finally{fe(t)}return null}var Ze={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},tn=["Webkit","ms","Moz","O"];function en(t,e,n){return null==e||"boolean"===typeof e||""===e?"":n||"number"!==typeof e||0===e||Ze.hasOwnProperty(t)&&Ze[t]?(""+e).trim():e+"px"}function nn(t,e){for(var n in t=t.style,e)if(e.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=en(n,e[n],r);"float"===n&&(n="cssFloat"),r?t.setProperty(n,i):t[n]=i}}Object.keys(Ze).forEach((function(t){tn.forEach((function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),Ze[e]=Ze[t]}))}));var rn=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function on(t,e){if(e){if(rn[t]&&(null!=e.children||null!=e.dangerouslySetInnerHTML))throw Error(a(137,t,""));if(null!=e.dangerouslySetInnerHTML){if(null!=e.children)throw Error(a(60));if("object"!==typeof e.dangerouslySetInnerHTML||!("__html"in e.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=e.style&&"object"!==typeof e.style)throw Error(a(62,""))}}function an(t,e){if(-1===t.indexOf("-"))return"string"===typeof e.is;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var un=Pt;function sn(t,e){var n=Xt(t=9===t.nodeType||11===t.nodeType?t:t.ownerDocument);e=E[e];for(var r=0;r<e.length;r++)pe(e[r],t,n)}function cn(){}function ln(t){if("undefined"===typeof(t=t||("undefined"!==typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}function fn(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function hn(t,e){var n,r=fn(t);for(t=0;r;){if(3===r.nodeType){if(n=t+r.textContent.length,t<=e&&n>=e)return{node:r,offset:e-t};t=n}t:{for(;r;){if(r.nextSibling){r=r.nextSibling;break t}r=r.parentNode}r=void 0}r=fn(r)}}function dn(){for(var t=window,e=ln();e instanceof t.HTMLIFrameElement;){try{var n="string"===typeof e.contentWindow.location.href}catch(r){n=!1}if(!n)break;e=ln((t=e.contentWindow).document)}return e}function pn(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&("input"===e&&("text"===t.type||"search"===t.type||"tel"===t.type||"url"===t.type||"password"===t.type)||"textarea"===e||"true"===t.contentEditable)}var yn=null,vn=null;function bn(t,e){switch(t){case"button":case"input":case"select":case"textarea":return!!e.autoFocus}return!1}function gn(t,e){return"textarea"===t||"option"===t||"noscript"===t||"string"===typeof e.children||"number"===typeof e.children||"object"===typeof e.dangerouslySetInnerHTML&&null!==e.dangerouslySetInnerHTML&&null!=e.dangerouslySetInnerHTML.__html}var mn="function"===typeof setTimeout?setTimeout:void 0,wn="function"===typeof clearTimeout?clearTimeout:void 0;function kn(t){for(;null!=t;t=t.nextSibling){var e=t.nodeType;if(1===e||3===e)break}return t}function _n(t){t=t.previousSibling;for(var e=0;t;){if(8===t.nodeType){var n=t.data;if("$"===n||"$!"===n||"$?"===n){if(0===e)return t;e--}else"/$"===n&&e++}t=t.previousSibling}return null}var xn=Math.random().toString(36).slice(2),Sn="__reactInternalInstance$"+xn,En="__reactEventHandlers$"+xn,Tn="__reactContainere$"+xn;function On(t){var e=t[Sn];if(e)return e;for(var n=t.parentNode;n;){if(e=n[Tn]||n[Sn]){if(n=e.alternate,null!==e.child||null!==n&&null!==n.child)for(t=_n(t);null!==t;){if(n=t[Sn])return n;t=_n(t)}return e}n=(t=n).parentNode}return null}function Ln(t){return!(t=t[Sn]||t[Tn])||5!==t.tag&&6!==t.tag&&13!==t.tag&&3!==t.tag?null:t}function In(t){if(5===t.tag||6===t.tag)return t.stateNode;throw Error(a(33))}function An(t){return t[En]||null}function jn(t){do{t=t.return}while(t&&5!==t.tag);return t||null}function Nn(t,e){var n=t.stateNode;if(!n)return null;var r=p(n);if(!r)return null;n=r[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(t=t.type)||"input"===t||"select"===t||"textarea"===t)),t=!r;break t;default:t=!1}if(t)return null;if(n&&"function"!==typeof n)throw Error(a(231,e,typeof n));return n}function Bn(t,e,n){(e=Nn(t,n.dispatchConfig.phasedRegistrationNames[e]))&&(n._dispatchListeners=re(n._dispatchListeners,e),n._dispatchInstances=re(n._dispatchInstances,t))}function Pn(t){if(t&&t.dispatchConfig.phasedRegistrationNames){for(var e=t._targetInst,n=[];e;)n.push(e),e=jn(e);for(e=n.length;0<e--;)Bn(n[e],"captured",t);for(e=0;e<n.length;e++)Bn(n[e],"bubbled",t)}}function Cn(t,e,n){t&&n&&n.dispatchConfig.registrationName&&(e=Nn(t,n.dispatchConfig.registrationName))&&(n._dispatchListeners=re(n._dispatchListeners,e),n._dispatchInstances=re(n._dispatchInstances,t))}function Fn(t){t&&t.dispatchConfig.registrationName&&Cn(t._targetInst,null,t)}function Dn(t){ie(t,Pn)}var Mn=null,Rn=null,Un=null;function zn(){if(Un)return Un;var t,e,n=Rn,r=n.length,i="value"in Mn?Mn.value:Mn.textContent,o=i.length;for(t=0;t<r&&n[t]===i[t];t++);var a=r-t;for(e=1;e<=a&&n[r-e]===i[o-e];e++);return Un=i.slice(t,1<e?1-e:void 0)}function Vn(){return!0}function Gn(){return!1}function Wn(t,e,n,r){for(var i in this.dispatchConfig=t,this._targetInst=e,this.nativeEvent=n,t=this.constructor.Interface)t.hasOwnProperty(i)&&((e=t[i])?this[i]=e(n):"target"===i?this.target=r:this[i]=n[i]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Vn:Gn,this.isPropagationStopped=Gn,this}function Yn(t,e,n,r){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,t,e,n,r),i}return new this(t,e,n,r)}function Hn(t){if(!(t instanceof this))throw Error(a(279));t.destructor(),10>this.eventPool.length&&this.eventPool.push(t)}function $n(t){t.eventPool=[],t.getPooled=Yn,t.release=Hn}i(Wn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():"unknown"!==typeof t.returnValue&&(t.returnValue=!1),this.isDefaultPrevented=Vn)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():"unknown"!==typeof t.cancelBubble&&(t.cancelBubble=!0),this.isPropagationStopped=Vn)},persist:function(){this.isPersistent=Vn},isPersistent:Gn,destructor:function(){var t,e=this.constructor.Interface;for(t in e)this[t]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Gn,this._dispatchInstances=this._dispatchListeners=null}}),Wn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Wn.extend=function(t){function e(){}function n(){return r.apply(this,arguments)}var r=this;e.prototype=r.prototype;var o=new e;return i(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=i({},r.Interface,t),n.extend=r.extend,$n(n),n},$n(Wn);var Kn=Wn.extend({data:null}),qn=Wn.extend({data:null}),Qn=[9,13,27,32],Jn=O&&"CompositionEvent"in window,Xn=null;O&&"documentMode"in document&&(Xn=document.documentMode);var Zn=O&&"TextEvent"in window&&!Xn,tr=O&&(!Jn||Xn&&8<Xn&&11>=Xn),er=String.fromCharCode(32),nr={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},rr=!1;function ir(t,e){switch(t){case"keyup":return-1!==Qn.indexOf(e.keyCode);case"keydown":return 229!==e.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function or(t){return"object"===typeof(t=t.detail)&&"data"in t?t.data:null}var ar=!1;var ur={eventTypes:nr,extractEvents:function(t,e,n,r){var i;if(Jn)t:{switch(t){case"compositionstart":var o=nr.compositionStart;break t;case"compositionend":o=nr.compositionEnd;break t;case"compositionupdate":o=nr.compositionUpdate;break t}o=void 0}else ar?ir(t,n)&&(o=nr.compositionEnd):"keydown"===t&&229===n.keyCode&&(o=nr.compositionStart);return o?(tr&&"ko"!==n.locale&&(ar||o!==nr.compositionStart?o===nr.compositionEnd&&ar&&(i=zn()):(Rn="value"in(Mn=r)?Mn.value:Mn.textContent,ar=!0)),o=Kn.getPooled(o,e,n,r),i?o.data=i:null!==(i=or(n))&&(o.data=i),Dn(o),i=o):i=null,(t=Zn?function(t,e){switch(t){case"compositionend":return or(e);case"keypress":return 32!==e.which?null:(rr=!0,er);case"textInput":return(t=e.data)===er&&rr?null:t;default:return null}}(t,n):function(t,e){if(ar)return"compositionend"===t||!Jn&&ir(t,e)?(t=zn(),Un=Rn=Mn=null,ar=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return tr&&"ko"!==e.locale?null:e.data;default:return null}}(t,n))?((e=qn.getPooled(nr.beforeInput,e,n,r)).data=t,Dn(e)):e=null,null===i?e:null===e?i:[i,e]}},sr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function cr(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return"input"===e?!!sr[t.type]:"textarea"===e}var lr={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function fr(t,e,n){return(t=Wn.getPooled(lr.change,t,e,n)).type="change",N(n),Dn(t),t}var hr=null,dr=null;function pr(t){ue(t)}function yr(t){if(kt(In(t)))return t}function vr(t,e){if("change"===t)return e}var br=!1;function gr(){hr&&(hr.detachEvent("onpropertychange",mr),dr=hr=null)}function mr(t){if("value"===t.propertyName&&yr(dr))if(t=fr(dr,t,se(t)),M)ue(t);else{M=!0;try{P(pr,t)}finally{M=!1,U()}}}function wr(t,e,n){"focus"===t?(gr(),dr=n,(hr=e).attachEvent("onpropertychange",mr)):"blur"===t&&gr()}function kr(t){if("selectionchange"===t||"keyup"===t||"keydown"===t)return yr(dr)}function _r(t,e){if("click"===t)return yr(e)}function xr(t,e){if("input"===t||"change"===t)return yr(e)}O&&(br=ce("input")&&(!document.documentMode||9<document.documentMode));var Sr={eventTypes:lr,_isInputEventSupported:br,extractEvents:function(t,e,n,r){var i=e?In(e):window,o=i.nodeName&&i.nodeName.toLowerCase();if("select"===o||"input"===o&&"file"===i.type)var a=vr;else if(cr(i))if(br)a=xr;else{a=kr;var u=wr}else(o=i.nodeName)&&"input"===o.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(a=_r);if(a&&(a=a(t,e)))return fr(a,n,r);u&&u(t,i,e),"blur"===t&&(t=i._wrapperState)&&t.controlled&&"number"===i.type&&Ot(i,"number",i.value)}},Er=Wn.extend({view:null,detail:null}),Tr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Or(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):!!(t=Tr[t])&&!!e[t]}function Lr(){return Or}var Ir=0,Ar=0,jr=!1,Nr=!1,Br=Er.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Lr,button:null,buttons:null,relatedTarget:function(t){return t.relatedTarget||(t.fromElement===t.srcElement?t.toElement:t.fromElement)},movementX:function(t){if("movementX"in t)return t.movementX;var e=Ir;return Ir=t.screenX,jr?"mousemove"===t.type?t.screenX-e:0:(jr=!0,0)},movementY:function(t){if("movementY"in t)return t.movementY;var e=Ar;return Ar=t.screenY,Nr?"mousemove"===t.type?t.screenY-e:0:(Nr=!0,0)}}),Pr=Br.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Cr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Fr={eventTypes:Cr,extractEvents:function(t,e,n,r,i){var o="mouseover"===t||"pointerover"===t,a="mouseout"===t||"pointerout"===t;if(o&&0===(32&i)&&(n.relatedTarget||n.fromElement)||!a&&!o)return null;(o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window,a)?(a=e,null!==(e=(e=n.relatedTarget||n.toElement)?On(e):null)&&(e!==Zt(e)||5!==e.tag&&6!==e.tag)&&(e=null)):a=null;if(a===e)return null;if("mouseout"===t||"mouseover"===t)var u=Br,s=Cr.mouseLeave,c=Cr.mouseEnter,l="mouse";else"pointerout"!==t&&"pointerover"!==t||(u=Pr,s=Cr.pointerLeave,c=Cr.pointerEnter,l="pointer");if(t=null==a?o:In(a),o=null==e?o:In(e),(s=u.getPooled(s,a,n,r)).type=l+"leave",s.target=t,s.relatedTarget=o,(n=u.getPooled(c,e,n,r)).type=l+"enter",n.target=o,n.relatedTarget=t,l=e,(r=a)&&l)t:{for(c=l,a=0,t=u=r;t;t=jn(t))a++;for(t=0,e=c;e;e=jn(e))t++;for(;0<a-t;)u=jn(u),a--;for(;0<t-a;)c=jn(c),t--;for(;a--;){if(u===c||u===c.alternate)break t;u=jn(u),c=jn(c)}u=null}else u=null;for(c=u,u=[];r&&r!==c&&(null===(a=r.alternate)||a!==c);)u.push(r),r=jn(r);for(r=[];l&&l!==c&&(null===(a=l.alternate)||a!==c);)r.push(l),l=jn(l);for(l=0;l<u.length;l++)Cn(u[l],"bubbled",s);for(l=r.length;0<l--;)Cn(r[l],"captured",n);return 0===(64&i)?[s]:[s,n]}};var Dr="function"===typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t===1/e)||t!==t&&e!==e},Mr=Object.prototype.hasOwnProperty;function Rr(t,e){if(Dr(t,e))return!0;if("object"!==typeof t||null===t||"object"!==typeof e||null===e)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!Mr.call(e,n[r])||!Dr(t[n[r]],e[n[r]]))return!1;return!0}var Ur=O&&"documentMode"in document&&11>=document.documentMode,zr={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Vr=null,Gr=null,Wr=null,Yr=!1;function Hr(t,e){var n=e.window===e?e.document:9===e.nodeType?e:e.ownerDocument;return Yr||null==Vr||Vr!==ln(n)?null:("selectionStart"in(n=Vr)&&pn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Wr&&Rr(Wr,n)?null:(Wr=n,(t=Wn.getPooled(zr.select,Gr,t,e)).type="select",t.target=Vr,Dn(t),t))}var $r={eventTypes:zr,extractEvents:function(t,e,n,r,i,o){if(!(o=!(i=o||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){t:{i=Xt(i),o=E.onSelect;for(var a=0;a<o.length;a++)if(!i.has(o[a])){i=!1;break t}i=!0}o=!i}if(o)return null;switch(i=e?In(e):window,t){case"focus":(cr(i)||"true"===i.contentEditable)&&(Vr=i,Gr=e,Wr=null);break;case"blur":Wr=Gr=Vr=null;break;case"mousedown":Yr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Yr=!1,Hr(n,r);case"selectionchange":if(Ur)break;case"keydown":case"keyup":return Hr(n,r)}return null}},Kr=Wn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),qr=Wn.extend({clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Qr=Er.extend({relatedTarget:null});function Jr(t){var e=t.keyCode;return"charCode"in t?0===(t=t.charCode)&&13===e&&(t=13):t=e,10===t&&(t=13),32<=t||13===t?t:0}var Xr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Zr={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ti=Er.extend({key:function(t){if(t.key){var e=Xr[t.key]||t.key;if("Unidentified"!==e)return e}return"keypress"===t.type?13===(t=Jr(t))?"Enter":String.fromCharCode(t):"keydown"===t.type||"keyup"===t.type?Zr[t.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Lr,charCode:function(t){return"keypress"===t.type?Jr(t):0},keyCode:function(t){return"keydown"===t.type||"keyup"===t.type?t.keyCode:0},which:function(t){return"keypress"===t.type?Jr(t):"keydown"===t.type||"keyup"===t.type?t.keyCode:0}}),ei=Br.extend({dataTransfer:null}),ni=Er.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Lr}),ri=Wn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),ii=Br.extend({deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:null,deltaMode:null}),oi={eventTypes:De,extractEvents:function(t,e,n,r){var i=Me.get(t);if(!i)return null;switch(t){case"keypress":if(0===Jr(n))return null;case"keydown":case"keyup":t=ti;break;case"blur":case"focus":t=Qr;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":t=Br;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":t=ei;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":t=ni;break;case Ht:case $t:case Kt:t=Kr;break;case qt:t=ri;break;case"scroll":t=Er;break;case"wheel":t=ii;break;case"copy":case"cut":case"paste":t=qr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":t=Pr;break;default:t=Wn}return Dn(e=t.getPooled(i,e,n,r)),e}};if(g)throw Error(a(101));g=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),w(),p=An,y=Ln,v=In,T({SimpleEventPlugin:oi,EnterLeaveEventPlugin:Fr,ChangeEventPlugin:Sr,SelectEventPlugin:$r,BeforeInputEventPlugin:ur});var ai=[],ui=-1;function si(t){0>ui||(t.current=ai[ui],ai[ui]=null,ui--)}function ci(t,e){ui++,ai[ui]=t.current,t.current=e}var li={},fi={current:li},hi={current:!1},di=li;function pi(t,e){var n=t.type.contextTypes;if(!n)return li;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=e[i];return r&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=o),o}function yi(t){return null!==(t=t.childContextTypes)&&void 0!==t}function vi(){si(hi),si(fi)}function bi(t,e,n){if(fi.current!==li)throw Error(a(168));ci(fi,e),ci(hi,n)}function gi(t,e,n){var r=t.stateNode;if(t=e.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(a(108,vt(e)||"Unknown",o));return i({},n,{},r)}function mi(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||li,di=fi.current,ci(fi,t),ci(hi,hi.current),!0}function wi(t,e,n){var r=t.stateNode;if(!r)throw Error(a(169));n?(t=gi(t,e,di),r.__reactInternalMemoizedMergedChildContext=t,si(hi),si(fi),ci(fi,t)):si(hi),ci(hi,n)}var ki=o.unstable_runWithPriority,_i=o.unstable_scheduleCallback,xi=o.unstable_cancelCallback,Si=o.unstable_requestPaint,Ei=o.unstable_now,Ti=o.unstable_getCurrentPriorityLevel,Oi=o.unstable_ImmediatePriority,Li=o.unstable_UserBlockingPriority,Ii=o.unstable_NormalPriority,Ai=o.unstable_LowPriority,ji=o.unstable_IdlePriority,Ni={},Bi=o.unstable_shouldYield,Pi=void 0!==Si?Si:function(){},Ci=null,Fi=null,Di=!1,Mi=Ei(),Ri=1e4>Mi?Ei:function(){return Ei()-Mi};function Ui(){switch(Ti()){case Oi:return 99;case Li:return 98;case Ii:return 97;case Ai:return 96;case ji:return 95;default:throw Error(a(332))}}function zi(t){switch(t){case 99:return Oi;case 98:return Li;case 97:return Ii;case 96:return Ai;case 95:return ji;default:throw Error(a(332))}}function Vi(t,e){return t=zi(t),ki(t,e)}function Gi(t,e,n){return t=zi(t),_i(t,e,n)}function Wi(t){return null===Ci?(Ci=[t],Fi=_i(Oi,Hi)):Ci.push(t),Ni}function Yi(){if(null!==Fi){var t=Fi;Fi=null,xi(t)}Hi()}function Hi(){if(!Di&&null!==Ci){Di=!0;var t=0;try{var e=Ci;Vi(99,(function(){for(;t<e.length;t++){var n=e[t];do{n=n(!0)}while(null!==n)}})),Ci=null}catch(n){throw null!==Ci&&(Ci=Ci.slice(t+1)),_i(Oi,Yi),n}finally{Di=!1}}}function $i(t,e,n){return 1073741821-(1+((1073741821-t+e/10)/(n/=10)|0))*n}function Ki(t,e){if(t&&t.defaultProps)for(var n in e=i({},e),t=t.defaultProps)void 0===e[n]&&(e[n]=t[n]);return e}var qi={current:null},Qi=null,Ji=null,Xi=null;function Zi(){Xi=Ji=Qi=null}function to(t){var e=qi.current;si(qi),t.type._context._currentValue=e}function eo(t,e){for(;null!==t;){var n=t.alternate;if(t.childExpirationTime<e)t.childExpirationTime=e,null!==n&&n.childExpirationTime<e&&(n.childExpirationTime=e);else{if(!(null!==n&&n.childExpirationTime<e))break;n.childExpirationTime=e}t=t.return}}function no(t,e){Qi=t,Xi=Ji=null,null!==(t=t.dependencies)&&null!==t.firstContext&&(t.expirationTime>=e&&(Aa=!0),t.firstContext=null)}function ro(t,e){if(Xi!==t&&!1!==e&&0!==e)if("number"===typeof e&&1073741823!==e||(Xi=t,e=1073741823),e={context:t,observedBits:e,next:null},null===Ji){if(null===Qi)throw Error(a(308));Ji=e,Qi.dependencies={expirationTime:0,firstContext:e,responders:null}}else Ji=Ji.next=e;return t._currentValue}var io=!1;function oo(t){t.updateQueue={baseState:t.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function ao(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,baseQueue:t.baseQueue,shared:t.shared,effects:t.effects})}function uo(t,e){return(t={expirationTime:t,suspenseConfig:e,tag:0,payload:null,callback:null,next:null}).next=t}function so(t,e){if(null!==(t=t.updateQueue)){var n=(t=t.shared).pending;null===n?e.next=e:(e.next=n.next,n.next=e),t.pending=e}}function co(t,e){var n=t.alternate;null!==n&&ao(n,t),null===(n=(t=t.updateQueue).baseQueue)?(t.baseQueue=e.next=e,e.next=e):(e.next=n.next,n.next=e)}function lo(t,e,n,r){var o=t.updateQueue;io=!1;var a=o.baseQueue,u=o.shared.pending;if(null!==u){if(null!==a){var s=a.next;a.next=u.next,u.next=s}a=u,o.shared.pending=null,null!==(s=t.alternate)&&(null!==(s=s.updateQueue)&&(s.baseQueue=u))}if(null!==a){s=a.next;var c=o.baseState,l=0,f=null,h=null,d=null;if(null!==s)for(var p=s;;){if((u=p.expirationTime)<r){var y={expirationTime:p.expirationTime,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null};null===d?(h=d=y,f=c):d=d.next=y,u>l&&(l=u)}else{null!==d&&(d=d.next={expirationTime:1073741823,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null}),os(u,p.suspenseConfig);t:{var v=t,b=p;switch(u=e,y=n,b.tag){case 1:if("function"===typeof(v=b.payload)){c=v.call(y,c,u);break t}c=v;break t;case 3:v.effectTag=-4097&v.effectTag|64;case 0:if(null===(u="function"===typeof(v=b.payload)?v.call(y,c,u):v)||void 0===u)break t;c=i({},c,u);break t;case 2:io=!0}}null!==p.callback&&(t.effectTag|=32,null===(u=o.effects)?o.effects=[p]:u.push(p))}if(null===(p=p.next)||p===s){if(null===(u=o.shared.pending))break;p=a.next=u.next,u.next=s,o.baseQueue=a=u,o.shared.pending=null}}null===d?f=c:d.next=h,o.baseState=f,o.baseQueue=d,as(l),t.expirationTime=l,t.memoizedState=c}}function fo(t,e,n){if(t=e.effects,e.effects=null,null!==t)for(e=0;e<t.length;e++){var r=t[e],i=r.callback;if(null!==i){if(r.callback=null,r=i,i=n,"function"!==typeof r)throw Error(a(191,r));r.call(i)}}}var ho=Q.ReactCurrentBatchConfig,po=(new r.Component).refs;function yo(t,e,n,r){n=null===(n=n(r,e=t.memoizedState))||void 0===n?e:i({},e,n),t.memoizedState=n,0===t.expirationTime&&(t.updateQueue.baseState=n)}var vo={isMounted:function(t){return!!(t=t._reactInternalFiber)&&Zt(t)===t},enqueueSetState:function(t,e,n){t=t._reactInternalFiber;var r=Hu(),i=ho.suspense;(i=uo(r=$u(r,t,i),i)).payload=e,void 0!==n&&null!==n&&(i.callback=n),so(t,i),Ku(t,r)},enqueueReplaceState:function(t,e,n){t=t._reactInternalFiber;var r=Hu(),i=ho.suspense;(i=uo(r=$u(r,t,i),i)).tag=1,i.payload=e,void 0!==n&&null!==n&&(i.callback=n),so(t,i),Ku(t,r)},enqueueForceUpdate:function(t,e){t=t._reactInternalFiber;var n=Hu(),r=ho.suspense;(r=uo(n=$u(n,t,r),r)).tag=2,void 0!==e&&null!==e&&(r.callback=e),so(t,r),Ku(t,n)}};function bo(t,e,n,r,i,o,a){return"function"===typeof(t=t.stateNode).shouldComponentUpdate?t.shouldComponentUpdate(r,o,a):!e.prototype||!e.prototype.isPureReactComponent||(!Rr(n,r)||!Rr(i,o))}function go(t,e,n){var r=!1,i=li,o=e.contextType;return"object"===typeof o&&null!==o?o=ro(o):(i=yi(e)?di:fi.current,o=(r=null!==(r=e.contextTypes)&&void 0!==r)?pi(t,i):li),e=new e(n,o),t.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,e.updater=vo,t.stateNode=e,e._reactInternalFiber=t,r&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,t.__reactInternalMemoizedMaskedChildContext=o),e}function mo(t,e,n,r){t=e.state,"function"===typeof e.componentWillReceiveProps&&e.componentWillReceiveProps(n,r),"function"===typeof e.UNSAFE_componentWillReceiveProps&&e.UNSAFE_componentWillReceiveProps(n,r),e.state!==t&&vo.enqueueReplaceState(e,e.state,null)}function wo(t,e,n,r){var i=t.stateNode;i.props=n,i.state=t.memoizedState,i.refs=po,oo(t);var o=e.contextType;"object"===typeof o&&null!==o?i.context=ro(o):(o=yi(e)?di:fi.current,i.context=pi(t,o)),lo(t,n,i,r),i.state=t.memoizedState,"function"===typeof(o=e.getDerivedStateFromProps)&&(yo(t,e,o,n),i.state=t.memoizedState),"function"===typeof e.getDerivedStateFromProps||"function"===typeof i.getSnapshotBeforeUpdate||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||(e=i.state,"function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),e!==i.state&&vo.enqueueReplaceState(i,i.state,null),lo(t,n,i,r),i.state=t.memoizedState),"function"===typeof i.componentDidMount&&(t.effectTag|=4)}var ko=Array.isArray;function _o(t,e,n){if(null!==(t=n.ref)&&"function"!==typeof t&&"object"!==typeof t){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,t));var i=""+t;return null!==e&&null!==e.ref&&"function"===typeof e.ref&&e.ref._stringRef===i?e.ref:((e=function(t){var e=r.refs;e===po&&(e=r.refs={}),null===t?delete e[i]:e[i]=t})._stringRef=i,e)}if("string"!==typeof t)throw Error(a(284));if(!n._owner)throw Error(a(290,t))}return t}function xo(t,e){if("textarea"!==t.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(e)?"object with keys {"+Object.keys(e).join(", ")+"}":e,""))}function So(t){function e(e,n){if(t){var r=e.lastEffect;null!==r?(r.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!t)return null;for(;null!==r;)e(n,r),r=r.sibling;return null}function r(t,e){for(t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function i(t,e){return(t=Ts(t,e)).index=0,t.sibling=null,t}function o(e,n,r){return e.index=r,t?null!==(r=e.alternate)?(r=r.index)<n?(e.effectTag=2,n):r:(e.effectTag=2,n):n}function u(e){return t&&null===e.alternate&&(e.effectTag=2),e}function s(t,e,n,r){return null===e||6!==e.tag?((e=Is(n,t.mode,r)).return=t,e):((e=i(e,n)).return=t,e)}function c(t,e,n,r){return null!==e&&e.elementType===n.type?((r=i(e,n.props)).ref=_o(t,e,n),r.return=t,r):((r=Os(n.type,n.key,n.props,null,t.mode,r)).ref=_o(t,e,n),r.return=t,r)}function l(t,e,n,r){return null===e||4!==e.tag||e.stateNode.containerInfo!==n.containerInfo||e.stateNode.implementation!==n.implementation?((e=As(n,t.mode,r)).return=t,e):((e=i(e,n.children||[])).return=t,e)}function f(t,e,n,r,o){return null===e||7!==e.tag?((e=Ls(n,t.mode,r,o)).return=t,e):((e=i(e,n)).return=t,e)}function h(t,e,n){if("string"===typeof e||"number"===typeof e)return(e=Is(""+e,t.mode,n)).return=t,e;if("object"===typeof e&&null!==e){switch(e.$$typeof){case tt:return(n=Os(e.type,e.key,e.props,null,t.mode,n)).ref=_o(t,null,e),n.return=t,n;case et:return(e=As(e,t.mode,n)).return=t,e}if(ko(e)||yt(e))return(e=Ls(e,t.mode,n,null)).return=t,e;xo(t,e)}return null}function d(t,e,n,r){var i=null!==e?e.key:null;if("string"===typeof n||"number"===typeof n)return null!==i?null:s(t,e,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case tt:return n.key===i?n.type===nt?f(t,e,n.props.children,r,i):c(t,e,n,r):null;case et:return n.key===i?l(t,e,n,r):null}if(ko(n)||yt(n))return null!==i?null:f(t,e,n,r,null);xo(t,n)}return null}function p(t,e,n,r,i){if("string"===typeof r||"number"===typeof r)return s(e,t=t.get(n)||null,""+r,i);if("object"===typeof r&&null!==r){switch(r.$$typeof){case tt:return t=t.get(null===r.key?n:r.key)||null,r.type===nt?f(e,t,r.props.children,i,r.key):c(e,t,r,i);case et:return l(e,t=t.get(null===r.key?n:r.key)||null,r,i)}if(ko(r)||yt(r))return f(e,t=t.get(n)||null,r,i,null);xo(e,r)}return null}function y(i,a,u,s){for(var c=null,l=null,f=a,y=a=0,v=null;null!==f&&y<u.length;y++){f.index>y?(v=f,f=null):v=f.sibling;var b=d(i,f,u[y],s);if(null===b){null===f&&(f=v);break}t&&f&&null===b.alternate&&e(i,f),a=o(b,a,y),null===l?c=b:l.sibling=b,l=b,f=v}if(y===u.length)return n(i,f),c;if(null===f){for(;y<u.length;y++)null!==(f=h(i,u[y],s))&&(a=o(f,a,y),null===l?c=f:l.sibling=f,l=f);return c}for(f=r(i,f);y<u.length;y++)null!==(v=p(f,i,y,u[y],s))&&(t&&null!==v.alternate&&f.delete(null===v.key?y:v.key),a=o(v,a,y),null===l?c=v:l.sibling=v,l=v);return t&&f.forEach((function(t){return e(i,t)})),c}function v(i,u,s,c){var l=yt(s);if("function"!==typeof l)throw Error(a(150));if(null==(s=l.call(s)))throw Error(a(151));for(var f=l=null,y=u,v=u=0,b=null,g=s.next();null!==y&&!g.done;v++,g=s.next()){y.index>v?(b=y,y=null):b=y.sibling;var m=d(i,y,g.value,c);if(null===m){null===y&&(y=b);break}t&&y&&null===m.alternate&&e(i,y),u=o(m,u,v),null===f?l=m:f.sibling=m,f=m,y=b}if(g.done)return n(i,y),l;if(null===y){for(;!g.done;v++,g=s.next())null!==(g=h(i,g.value,c))&&(u=o(g,u,v),null===f?l=g:f.sibling=g,f=g);return l}for(y=r(i,y);!g.done;v++,g=s.next())null!==(g=p(y,i,v,g.value,c))&&(t&&null!==g.alternate&&y.delete(null===g.key?v:g.key),u=o(g,u,v),null===f?l=g:f.sibling=g,f=g);return t&&y.forEach((function(t){return e(i,t)})),l}return function(t,r,o,s){var c="object"===typeof o&&null!==o&&o.type===nt&&null===o.key;c&&(o=o.props.children);var l="object"===typeof o&&null!==o;if(l)switch(o.$$typeof){case tt:t:{for(l=o.key,c=r;null!==c;){if(c.key===l){switch(c.tag){case 7:if(o.type===nt){n(t,c.sibling),(r=i(c,o.props.children)).return=t,t=r;break t}break;default:if(c.elementType===o.type){n(t,c.sibling),(r=i(c,o.props)).ref=_o(t,c,o),r.return=t,t=r;break t}}n(t,c);break}e(t,c),c=c.sibling}o.type===nt?((r=Ls(o.props.children,t.mode,s,o.key)).return=t,t=r):((s=Os(o.type,o.key,o.props,null,t.mode,s)).ref=_o(t,r,o),s.return=t,t=s)}return u(t);case et:t:{for(c=o.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(t,r.sibling),(r=i(r,o.children||[])).return=t,t=r;break t}n(t,r);break}e(t,r),r=r.sibling}(r=As(o,t.mode,s)).return=t,t=r}return u(t)}if("string"===typeof o||"number"===typeof o)return o=""+o,null!==r&&6===r.tag?(n(t,r.sibling),(r=i(r,o)).return=t,t=r):(n(t,r),(r=Is(o,t.mode,s)).return=t,t=r),u(t);if(ko(o))return y(t,r,o,s);if(yt(o))return v(t,r,o,s);if(l&&xo(t,o),"undefined"===typeof o&&!c)switch(t.tag){case 1:case 0:throw t=t.type,Error(a(152,t.displayName||t.name||"Component"))}return n(t,r)}}var Eo=So(!0),To=So(!1),Oo={},Lo={current:Oo},Io={current:Oo},Ao={current:Oo};function jo(t){if(t===Oo)throw Error(a(174));return t}function No(t,e){switch(ci(Ao,e),ci(Io,t),ci(Lo,Oo),t=e.nodeType){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:Dt(null,"");break;default:e=Dt(e=(t=8===t?e.parentNode:e).namespaceURI||null,t=t.tagName)}si(Lo),ci(Lo,e)}function Bo(){si(Lo),si(Io),si(Ao)}function Po(t){jo(Ao.current);var e=jo(Lo.current),n=Dt(e,t.type);e!==n&&(ci(Io,t),ci(Lo,n))}function Co(t){Io.current===t&&(si(Lo),si(Io))}var Fo={current:0};function Do(t){for(var e=t;null!==e;){if(13===e.tag){var n=e.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return e}else if(19===e.tag&&void 0!==e.memoizedProps.revealOrder){if(0!==(64&e.effectTag))return e}else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function Mo(t,e){return{responder:t,props:e}}var Ro=Q.ReactCurrentDispatcher,Uo=Q.ReactCurrentBatchConfig,zo=0,Vo=null,Go=null,Wo=null,Yo=!1;function Ho(){throw Error(a(321))}function $o(t,e){if(null===e)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!Dr(t[n],e[n]))return!1;return!0}function Ko(t,e,n,r,i,o){if(zo=o,Vo=e,e.memoizedState=null,e.updateQueue=null,e.expirationTime=0,Ro.current=null===t||null===t.memoizedState?ba:ga,t=n(r,i),e.expirationTime===zo){o=0;do{if(e.expirationTime=0,!(25>o))throw Error(a(301));o+=1,Wo=Go=null,e.updateQueue=null,Ro.current=ma,t=n(r,i)}while(e.expirationTime===zo)}if(Ro.current=va,e=null!==Go&&null!==Go.next,zo=0,Wo=Go=Vo=null,Yo=!1,e)throw Error(a(300));return t}function qo(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Wo?Vo.memoizedState=Wo=t:Wo=Wo.next=t,Wo}function Qo(){if(null===Go){var t=Vo.alternate;t=null!==t?t.memoizedState:null}else t=Go.next;var e=null===Wo?Vo.memoizedState:Wo.next;if(null!==e)Wo=e,Go=t;else{if(null===t)throw Error(a(310));t={memoizedState:(Go=t).memoizedState,baseState:Go.baseState,baseQueue:Go.baseQueue,queue:Go.queue,next:null},null===Wo?Vo.memoizedState=Wo=t:Wo=Wo.next=t}return Wo}function Jo(t,e){return"function"===typeof e?e(t):e}function Xo(t){var e=Qo(),n=e.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=t;var r=Go,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var u=i.next;i.next=o.next,o.next=u}r.baseQueue=i=o,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var s=u=o=null,c=i;do{var l=c.expirationTime;if(l<zo){var f={expirationTime:c.expirationTime,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===s?(u=s=f,o=r):s=s.next=f,l>Vo.expirationTime&&(Vo.expirationTime=l,as(l))}else null!==s&&(s=s.next={expirationTime:1073741823,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),os(l,c.suspenseConfig),r=c.eagerReducer===t?c.eagerState:t(r,c.action);c=c.next}while(null!==c&&c!==i);null===s?o=r:s.next=u,Dr(r,e.memoizedState)||(Aa=!0),e.memoizedState=r,e.baseState=o,e.baseQueue=s,n.lastRenderedState=r}return[e.memoizedState,n.dispatch]}function Zo(t){var e=Qo(),n=e.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=t;var r=n.dispatch,i=n.pending,o=e.memoizedState;if(null!==i){n.pending=null;var u=i=i.next;do{o=t(o,u.action),u=u.next}while(u!==i);Dr(o,e.memoizedState)||(Aa=!0),e.memoizedState=o,null===e.baseQueue&&(e.baseState=o),n.lastRenderedState=o}return[o,r]}function ta(t){var e=qo();return"function"===typeof t&&(t=t()),e.memoizedState=e.baseState=t,t=(t=e.queue={pending:null,dispatch:null,lastRenderedReducer:Jo,lastRenderedState:t}).dispatch=ya.bind(null,Vo,t),[e.memoizedState,t]}function ea(t,e,n,r){return t={tag:t,create:e,destroy:n,deps:r,next:null},null===(e=Vo.updateQueue)?(e={lastEffect:null},Vo.updateQueue=e,e.lastEffect=t.next=t):null===(n=e.lastEffect)?e.lastEffect=t.next=t:(r=n.next,n.next=t,t.next=r,e.lastEffect=t),t}function na(){return Qo().memoizedState}function ra(t,e,n,r){var i=qo();Vo.effectTag|=t,i.memoizedState=ea(1|e,n,void 0,void 0===r?null:r)}function ia(t,e,n,r){var i=Qo();r=void 0===r?null:r;var o=void 0;if(null!==Go){var a=Go.memoizedState;if(o=a.destroy,null!==r&&$o(r,a.deps))return void ea(e,n,o,r)}Vo.effectTag|=t,i.memoizedState=ea(1|e,n,o,r)}function oa(t,e){return ra(516,4,t,e)}function aa(t,e){return ia(516,4,t,e)}function ua(t,e){return ia(4,2,t,e)}function sa(t,e){return"function"===typeof e?(t=t(),e(t),function(){e(null)}):null!==e&&void 0!==e?(t=t(),e.current=t,function(){e.current=null}):void 0}function ca(t,e,n){return n=null!==n&&void 0!==n?n.concat([t]):null,ia(4,2,sa.bind(null,e,t),n)}function la(){}function fa(t,e){return qo().memoizedState=[t,void 0===e?null:e],t}function ha(t,e){var n=Qo();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&$o(e,r[1])?r[0]:(n.memoizedState=[t,e],t)}function da(t,e){var n=Qo();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&$o(e,r[1])?r[0]:(t=t(),n.memoizedState=[t,e],t)}function pa(t,e,n){var r=Ui();Vi(98>r?98:r,(function(){t(!0)})),Vi(97<r?97:r,(function(){var r=Uo.suspense;Uo.suspense=void 0===e?null:e;try{t(!1),n()}finally{Uo.suspense=r}}))}function ya(t,e,n){var r=Hu(),i=ho.suspense;i={expirationTime:r=$u(r,t,i),suspenseConfig:i,action:n,eagerReducer:null,eagerState:null,next:null};var o=e.pending;if(null===o?i.next=i:(i.next=o.next,o.next=i),e.pending=i,o=t.alternate,t===Vo||null!==o&&o===Vo)Yo=!0,i.expirationTime=zo,Vo.expirationTime=zo;else{if(0===t.expirationTime&&(null===o||0===o.expirationTime)&&null!==(o=e.lastRenderedReducer))try{var a=e.lastRenderedState,u=o(a,n);if(i.eagerReducer=o,i.eagerState=u,Dr(u,a))return}catch(s){}Ku(t,r)}}var va={readContext:ro,useCallback:Ho,useContext:Ho,useEffect:Ho,useImperativeHandle:Ho,useLayoutEffect:Ho,useMemo:Ho,useReducer:Ho,useRef:Ho,useState:Ho,useDebugValue:Ho,useResponder:Ho,useDeferredValue:Ho,useTransition:Ho},ba={readContext:ro,useCallback:fa,useContext:ro,useEffect:oa,useImperativeHandle:function(t,e,n){return n=null!==n&&void 0!==n?n.concat([t]):null,ra(4,2,sa.bind(null,e,t),n)},useLayoutEffect:function(t,e){return ra(4,2,t,e)},useMemo:function(t,e){var n=qo();return e=void 0===e?null:e,t=t(),n.memoizedState=[t,e],t},useReducer:function(t,e,n){var r=qo();return e=void 0!==n?n(e):e,r.memoizedState=r.baseState=e,t=(t=r.queue={pending:null,dispatch:null,lastRenderedReducer:t,lastRenderedState:e}).dispatch=ya.bind(null,Vo,t),[r.memoizedState,t]},useRef:function(t){return t={current:t},qo().memoizedState=t},useState:ta,useDebugValue:la,useResponder:Mo,useDeferredValue:function(t,e){var n=ta(t),r=n[0],i=n[1];return oa((function(){var n=Uo.suspense;Uo.suspense=void 0===e?null:e;try{i(t)}finally{Uo.suspense=n}}),[t,e]),r},useTransition:function(t){var e=ta(!1),n=e[0];return e=e[1],[fa(pa.bind(null,e,t),[e,t]),n]}},ga={readContext:ro,useCallback:ha,useContext:ro,useEffect:aa,useImperativeHandle:ca,useLayoutEffect:ua,useMemo:da,useReducer:Xo,useRef:na,useState:function(){return Xo(Jo)},useDebugValue:la,useResponder:Mo,useDeferredValue:function(t,e){var n=Xo(Jo),r=n[0],i=n[1];return aa((function(){var n=Uo.suspense;Uo.suspense=void 0===e?null:e;try{i(t)}finally{Uo.suspense=n}}),[t,e]),r},useTransition:function(t){var e=Xo(Jo),n=e[0];return e=e[1],[ha(pa.bind(null,e,t),[e,t]),n]}},ma={readContext:ro,useCallback:ha,useContext:ro,useEffect:aa,useImperativeHandle:ca,useLayoutEffect:ua,useMemo:da,useReducer:Zo,useRef:na,useState:function(){return Zo(Jo)},useDebugValue:la,useResponder:Mo,useDeferredValue:function(t,e){var n=Zo(Jo),r=n[0],i=n[1];return aa((function(){var n=Uo.suspense;Uo.suspense=void 0===e?null:e;try{i(t)}finally{Uo.suspense=n}}),[t,e]),r},useTransition:function(t){var e=Zo(Jo),n=e[0];return e=e[1],[ha(pa.bind(null,e,t),[e,t]),n]}},wa=null,ka=null,_a=!1;function xa(t,e){var n=Ss(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=e,n.return=t,n.effectTag=8,null!==t.lastEffect?(t.lastEffect.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n}function Sa(t,e){switch(t.tag){case 5:var n=t.type;return null!==(e=1!==e.nodeType||n.toLowerCase()!==e.nodeName.toLowerCase()?null:e)&&(t.stateNode=e,!0);case 6:return null!==(e=""===t.pendingProps||3!==e.nodeType?null:e)&&(t.stateNode=e,!0);case 13:default:return!1}}function Ea(t){if(_a){var e=ka;if(e){var n=e;if(!Sa(t,e)){if(!(e=kn(n.nextSibling))||!Sa(t,e))return t.effectTag=-1025&t.effectTag|2,_a=!1,void(wa=t);xa(wa,n)}wa=t,ka=kn(e.firstChild)}else t.effectTag=-1025&t.effectTag|2,_a=!1,wa=t}}function Ta(t){for(t=t.return;null!==t&&5!==t.tag&&3!==t.tag&&13!==t.tag;)t=t.return;wa=t}function Oa(t){if(t!==wa)return!1;if(!_a)return Ta(t),_a=!0,!1;var e=t.type;if(5!==t.tag||"head"!==e&&"body"!==e&&!gn(e,t.memoizedProps))for(e=ka;e;)xa(t,e),e=kn(e.nextSibling);if(Ta(t),13===t.tag){if(!(t=null!==(t=t.memoizedState)?t.dehydrated:null))throw Error(a(317));t:{for(t=t.nextSibling,e=0;t;){if(8===t.nodeType){var n=t.data;if("/$"===n){if(0===e){ka=kn(t.nextSibling);break t}e--}else"$"!==n&&"$!"!==n&&"$?"!==n||e++}t=t.nextSibling}ka=null}}else ka=wa?kn(t.stateNode.nextSibling):null;return!0}function La(){ka=wa=null,_a=!1}var Ia=Q.ReactCurrentOwner,Aa=!1;function ja(t,e,n,r){e.child=null===t?To(e,null,n,r):Eo(e,t.child,n,r)}function Na(t,e,n,r,i){n=n.render;var o=e.ref;return no(e,i),r=Ko(t,e,n,r,o,i),null===t||Aa?(e.effectTag|=1,ja(t,e,r,i),e.child):(e.updateQueue=t.updateQueue,e.effectTag&=-517,t.expirationTime<=i&&(t.expirationTime=0),Ka(t,e,i))}function Ba(t,e,n,r,i,o){if(null===t){var a=n.type;return"function"!==typeof a||Es(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((t=Os(n.type,null,r,null,e.mode,o)).ref=e.ref,t.return=e,e.child=t):(e.tag=15,e.type=a,Pa(t,e,a,r,i,o))}return a=t.child,i<o&&(i=a.memoizedProps,(n=null!==(n=n.compare)?n:Rr)(i,r)&&t.ref===e.ref)?Ka(t,e,o):(e.effectTag|=1,(t=Ts(a,r)).ref=e.ref,t.return=e,e.child=t)}function Pa(t,e,n,r,i,o){return null!==t&&Rr(t.memoizedProps,r)&&t.ref===e.ref&&(Aa=!1,i<o)?(e.expirationTime=t.expirationTime,Ka(t,e,o)):Fa(t,e,n,r,o)}function Ca(t,e){var n=e.ref;(null===t&&null!==n||null!==t&&t.ref!==n)&&(e.effectTag|=128)}function Fa(t,e,n,r,i){var o=yi(n)?di:fi.current;return o=pi(e,o),no(e,i),n=Ko(t,e,n,r,o,i),null===t||Aa?(e.effectTag|=1,ja(t,e,n,i),e.child):(e.updateQueue=t.updateQueue,e.effectTag&=-517,t.expirationTime<=i&&(t.expirationTime=0),Ka(t,e,i))}function Da(t,e,n,r,i){if(yi(n)){var o=!0;mi(e)}else o=!1;if(no(e,i),null===e.stateNode)null!==t&&(t.alternate=null,e.alternate=null,e.effectTag|=2),go(e,n,r),wo(e,n,r,i),r=!0;else if(null===t){var a=e.stateNode,u=e.memoizedProps;a.props=u;var s=a.context,c=n.contextType;"object"===typeof c&&null!==c?c=ro(c):c=pi(e,c=yi(n)?di:fi.current);var l=n.getDerivedStateFromProps,f="function"===typeof l||"function"===typeof a.getSnapshotBeforeUpdate;f||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(u!==r||s!==c)&&mo(e,a,r,c),io=!1;var h=e.memoizedState;a.state=h,lo(e,r,a,i),s=e.memoizedState,u!==r||h!==s||hi.current||io?("function"===typeof l&&(yo(e,n,l,r),s=e.memoizedState),(u=io||bo(e,n,u,r,h,s,c))?(f||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(e.effectTag|=4)):("function"===typeof a.componentDidMount&&(e.effectTag|=4),e.memoizedProps=r,e.memoizedState=s),a.props=r,a.state=s,a.context=c,r=u):("function"===typeof a.componentDidMount&&(e.effectTag|=4),r=!1)}else a=e.stateNode,ao(t,e),u=e.memoizedProps,a.props=e.type===e.elementType?u:Ki(e.type,u),s=a.context,"object"===typeof(c=n.contextType)&&null!==c?c=ro(c):c=pi(e,c=yi(n)?di:fi.current),(f="function"===typeof(l=n.getDerivedStateFromProps)||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(u!==r||s!==c)&&mo(e,a,r,c),io=!1,s=e.memoizedState,a.state=s,lo(e,r,a,i),h=e.memoizedState,u!==r||s!==h||hi.current||io?("function"===typeof l&&(yo(e,n,l,r),h=e.memoizedState),(l=io||bo(e,n,u,r,s,h,c))?(f||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,c),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,c)),"function"===typeof a.componentDidUpdate&&(e.effectTag|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(e.effectTag|=256)):("function"!==typeof a.componentDidUpdate||u===t.memoizedProps&&s===t.memoizedState||(e.effectTag|=4),"function"!==typeof a.getSnapshotBeforeUpdate||u===t.memoizedProps&&s===t.memoizedState||(e.effectTag|=256),e.memoizedProps=r,e.memoizedState=h),a.props=r,a.state=h,a.context=c,r=l):("function"!==typeof a.componentDidUpdate||u===t.memoizedProps&&s===t.memoizedState||(e.effectTag|=4),"function"!==typeof a.getSnapshotBeforeUpdate||u===t.memoizedProps&&s===t.memoizedState||(e.effectTag|=256),r=!1);return Ma(t,e,n,r,o,i)}function Ma(t,e,n,r,i,o){Ca(t,e);var a=0!==(64&e.effectTag);if(!r&&!a)return i&&wi(e,n,!1),Ka(t,e,o);r=e.stateNode,Ia.current=e;var u=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return e.effectTag|=1,null!==t&&a?(e.child=Eo(e,t.child,null,o),e.child=Eo(e,null,u,o)):ja(t,e,u,o),e.memoizedState=r.state,i&&wi(e,n,!0),e.child}function Ra(t){var e=t.stateNode;e.pendingContext?bi(0,e.pendingContext,e.pendingContext!==e.context):e.context&&bi(0,e.context,!1),No(t,e.containerInfo)}var Ua,za,Va,Ga={dehydrated:null,retryTime:0};function Wa(t,e,n){var r,i=e.mode,o=e.pendingProps,a=Fo.current,u=!1;if((r=0!==(64&e.effectTag))||(r=0!==(2&a)&&(null===t||null!==t.memoizedState)),r?(u=!0,e.effectTag&=-65):null!==t&&null===t.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),ci(Fo,1&a),null===t){if(void 0!==o.fallback&&Ea(e),u){if(u=o.fallback,(o=Ls(null,i,0,null)).return=e,0===(2&e.mode))for(t=null!==e.memoizedState?e.child.child:e.child,o.child=t;null!==t;)t.return=o,t=t.sibling;return(n=Ls(u,i,n,null)).return=e,o.sibling=n,e.memoizedState=Ga,e.child=o,n}return i=o.children,e.memoizedState=null,e.child=To(e,null,i,n)}if(null!==t.memoizedState){if(i=(t=t.child).sibling,u){if(o=o.fallback,(n=Ts(t,t.pendingProps)).return=e,0===(2&e.mode)&&(u=null!==e.memoizedState?e.child.child:e.child)!==t.child)for(n.child=u;null!==u;)u.return=n,u=u.sibling;return(i=Ts(i,o)).return=e,n.sibling=i,n.childExpirationTime=0,e.memoizedState=Ga,e.child=n,i}return n=Eo(e,t.child,o.children,n),e.memoizedState=null,e.child=n}if(t=t.child,u){if(u=o.fallback,(o=Ls(null,i,0,null)).return=e,o.child=t,null!==t&&(t.return=o),0===(2&e.mode))for(t=null!==e.memoizedState?e.child.child:e.child,o.child=t;null!==t;)t.return=o,t=t.sibling;return(n=Ls(u,i,n,null)).return=e,o.sibling=n,n.effectTag|=2,o.childExpirationTime=0,e.memoizedState=Ga,e.child=o,n}return e.memoizedState=null,e.child=Eo(e,t,o.children,n)}function Ya(t,e){t.expirationTime<e&&(t.expirationTime=e);var n=t.alternate;null!==n&&n.expirationTime<e&&(n.expirationTime=e),eo(t.return,e)}function Ha(t,e,n,r,i,o){var a=t.memoizedState;null===a?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:i,lastEffect:o}:(a.isBackwards=e,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=i,a.lastEffect=o)}function $a(t,e,n){var r=e.pendingProps,i=r.revealOrder,o=r.tail;if(ja(t,e,r.children,n),0!==(2&(r=Fo.current)))r=1&r|2,e.effectTag|=64;else{if(null!==t&&0!==(64&t.effectTag))t:for(t=e.child;null!==t;){if(13===t.tag)null!==t.memoizedState&&Ya(t,n);else if(19===t.tag)Ya(t,n);else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;null===t.sibling;){if(null===t.return||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}r&=1}if(ci(Fo,r),0===(2&e.mode))e.memoizedState=null;else switch(i){case"forwards":for(n=e.child,i=null;null!==n;)null!==(t=n.alternate)&&null===Do(t)&&(i=n),n=n.sibling;null===(n=i)?(i=e.child,e.child=null):(i=n.sibling,n.sibling=null),Ha(e,!1,i,n,o,e.lastEffect);break;case"backwards":for(n=null,i=e.child,e.child=null;null!==i;){if(null!==(t=i.alternate)&&null===Do(t)){e.child=i;break}t=i.sibling,i.sibling=n,n=i,i=t}Ha(e,!0,n,null,o,e.lastEffect);break;case"together":Ha(e,!1,null,null,void 0,e.lastEffect);break;default:e.memoizedState=null}return e.child}function Ka(t,e,n){null!==t&&(e.dependencies=t.dependencies);var r=e.expirationTime;if(0!==r&&as(r),e.childExpirationTime<n)return null;if(null!==t&&e.child!==t.child)throw Error(a(153));if(null!==e.child){for(n=Ts(t=e.child,t.pendingProps),e.child=n,n.return=e;null!==t.sibling;)t=t.sibling,(n=n.sibling=Ts(t,t.pendingProps)).return=e;n.sibling=null}return e.child}function qa(t,e){switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;null!==e;)null!==e.alternate&&(n=e),e=e.sibling;null===n?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?e||null===t.tail?t.tail=null:t.tail.sibling=null:r.sibling=null}}function Qa(t,e,n){var r=e.pendingProps;switch(e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return yi(e.type)&&vi(),null;case 3:return Bo(),si(hi),si(fi),(n=e.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==t&&null!==t.child||!Oa(e)||(e.effectTag|=4),null;case 5:Co(e),n=jo(Ao.current);var o=e.type;if(null!==t&&null!=e.stateNode)za(t,e,o,r,n),t.ref!==e.ref&&(e.effectTag|=128);else{if(!r){if(null===e.stateNode)throw Error(a(166));return null}if(t=jo(Lo.current),Oa(e)){r=e.stateNode,o=e.type;var u=e.memoizedProps;switch(r[Sn]=e,r[En]=u,o){case"iframe":case"object":case"embed":$e("load",r);break;case"video":case"audio":for(t=0;t<Qt.length;t++)$e(Qt[t],r);break;case"source":$e("error",r);break;case"img":case"image":case"link":$e("error",r),$e("load",r);break;case"form":$e("reset",r),$e("submit",r);break;case"details":$e("toggle",r);break;case"input":xt(r,u),$e("invalid",r),sn(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!u.multiple},$e("invalid",r),sn(n,"onChange");break;case"textarea":jt(r,u),$e("invalid",r),sn(n,"onChange")}for(var s in on(o,u),t=null,u)if(u.hasOwnProperty(s)){var c=u[s];"children"===s?"string"===typeof c?r.textContent!==c&&(t=["children",c]):"number"===typeof c&&r.textContent!==""+c&&(t=["children",""+c]):S.hasOwnProperty(s)&&null!=c&&sn(n,s)}switch(o){case"input":wt(r),Tt(r,u,!0);break;case"textarea":wt(r),Bt(r);break;case"select":case"option":break;default:"function"===typeof u.onClick&&(r.onclick=cn)}n=t,e.updateQueue=n,null!==n&&(e.effectTag|=4)}else{switch(s=9===n.nodeType?n:n.ownerDocument,t===un&&(t=Ft(o)),t===un?"script"===o?((t=s.createElement("div")).innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):"string"===typeof r.is?t=s.createElement(o,{is:r.is}):(t=s.createElement(o),"select"===o&&(s=t,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):t=s.createElementNS(t,o),t[Sn]=e,t[En]=r,Ua(t,e),e.stateNode=t,s=an(o,r),o){case"iframe":case"object":case"embed":$e("load",t),c=r;break;case"video":case"audio":for(c=0;c<Qt.length;c++)$e(Qt[c],t);c=r;break;case"source":$e("error",t),c=r;break;case"img":case"image":case"link":$e("error",t),$e("load",t),c=r;break;case"form":$e("reset",t),$e("submit",t),c=r;break;case"details":$e("toggle",t),c=r;break;case"input":xt(t,r),c=_t(t,r),$e("invalid",t),sn(n,"onChange");break;case"option":c=Lt(t,r);break;case"select":t._wrapperState={wasMultiple:!!r.multiple},c=i({},r,{value:void 0}),$e("invalid",t),sn(n,"onChange");break;case"textarea":jt(t,r),c=At(t,r),$e("invalid",t),sn(n,"onChange");break;default:c=r}on(o,c);var l=c;for(u in l)if(l.hasOwnProperty(u)){var f=l[u];"style"===u?nn(t,f):"dangerouslySetInnerHTML"===u?null!=(f=f?f.__html:void 0)&&Rt(t,f):"children"===u?"string"===typeof f?("textarea"!==o||""!==f)&&Ut(t,f):"number"===typeof f&&Ut(t,""+f):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(S.hasOwnProperty(u)?null!=f&&sn(n,u):null!=f&&J(t,u,f,s))}switch(o){case"input":wt(t),Tt(t,r,!1);break;case"textarea":wt(t),Bt(t);break;case"option":null!=r.value&&t.setAttribute("value",""+gt(r.value));break;case"select":t.multiple=!!r.multiple,null!=(n=r.value)?It(t,!!r.multiple,n,!1):null!=r.defaultValue&&It(t,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof c.onClick&&(t.onclick=cn)}bn(o,r)&&(e.effectTag|=4)}null!==e.ref&&(e.effectTag|=128)}return null;case 6:if(t&&null!=e.stateNode)Va(0,e,t.memoizedProps,r);else{if("string"!==typeof r&&null===e.stateNode)throw Error(a(166));n=jo(Ao.current),jo(Lo.current),Oa(e)?(n=e.stateNode,r=e.memoizedProps,n[Sn]=e,n.nodeValue!==r&&(e.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Sn]=e,e.stateNode=n)}return null;case 13:return si(Fo),r=e.memoizedState,0!==(64&e.effectTag)?(e.expirationTime=n,e):(n=null!==r,r=!1,null===t?void 0!==e.memoizedProps.fallback&&Oa(e):(r=null!==(o=t.memoizedState),n||null===o||null!==(o=t.child.sibling)&&(null!==(u=e.firstEffect)?(e.firstEffect=o,o.nextEffect=u):(e.firstEffect=e.lastEffect=o,o.nextEffect=null),o.effectTag=8)),n&&!r&&0!==(2&e.mode)&&(null===t&&!0!==e.memoizedProps.unstable_avoidThisFallback||0!==(1&Fo.current)?Ou===wu&&(Ou=ku):(Ou!==wu&&Ou!==ku||(Ou=_u),0!==Nu&&null!==Su&&(Bs(Su,Tu),Ps(Su,Nu)))),(n||r)&&(e.effectTag|=4),null);case 4:return Bo(),null;case 10:return to(e),null;case 17:return yi(e.type)&&vi(),null;case 19:if(si(Fo),null===(r=e.memoizedState))return null;if(o=0!==(64&e.effectTag),null===(u=r.rendering)){if(o)qa(r,!1);else if(Ou!==wu||null!==t&&0!==(64&t.effectTag))for(u=e.child;null!==u;){if(null!==(t=Do(u))){for(e.effectTag|=64,qa(r,!1),null!==(o=t.updateQueue)&&(e.updateQueue=o,e.effectTag|=4),null===r.lastEffect&&(e.firstEffect=null),e.lastEffect=r.lastEffect,r=e.child;null!==r;)u=n,(o=r).effectTag&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,null===(t=o.alternate)?(o.childExpirationTime=0,o.expirationTime=u,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null):(o.childExpirationTime=t.childExpirationTime,o.expirationTime=t.expirationTime,o.child=t.child,o.memoizedProps=t.memoizedProps,o.memoizedState=t.memoizedState,o.updateQueue=t.updateQueue,u=t.dependencies,o.dependencies=null===u?null:{expirationTime:u.expirationTime,firstContext:u.firstContext,responders:u.responders}),r=r.sibling;return ci(Fo,1&Fo.current|2),e.child}u=u.sibling}}else{if(!o)if(null!==(t=Do(u))){if(e.effectTag|=64,o=!0,null!==(n=t.updateQueue)&&(e.updateQueue=n,e.effectTag|=4),qa(r,!0),null===r.tail&&"hidden"===r.tailMode&&!u.alternate)return null!==(e=e.lastEffect=r.lastEffect)&&(e.nextEffect=null),null}else 2*Ri()-r.renderingStartTime>r.tailExpiration&&1<n&&(e.effectTag|=64,o=!0,qa(r,!1),e.expirationTime=e.childExpirationTime=n-1);r.isBackwards?(u.sibling=e.child,e.child=u):(null!==(n=r.last)?n.sibling=u:e.child=u,r.last=u)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=Ri()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=e.lastEffect,r.renderingStartTime=Ri(),n.sibling=null,e=Fo.current,ci(Fo,o?1&e|2:1&e),n):null}throw Error(a(156,e.tag))}function Ja(t){switch(t.tag){case 1:yi(t.type)&&vi();var e=t.effectTag;return 4096&e?(t.effectTag=-4097&e|64,t):null;case 3:if(Bo(),si(hi),si(fi),0!==(64&(e=t.effectTag)))throw Error(a(285));return t.effectTag=-4097&e|64,t;case 5:return Co(t),null;case 13:return si(Fo),4096&(e=t.effectTag)?(t.effectTag=-4097&e|64,t):null;case 19:return si(Fo),null;case 4:return Bo(),null;case 10:return to(t),null;default:return null}}function Xa(t,e){return{value:t,source:e,stack:bt(e)}}Ua=function(t,e){for(var n=e.child;null!==n;){if(5===n.tag||6===n.tag)t.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},za=function(t,e,n,r,o){var a=t.memoizedProps;if(a!==r){var u,s,c=e.stateNode;switch(jo(Lo.current),t=null,n){case"input":a=_t(c,a),r=_t(c,r),t=[];break;case"option":a=Lt(c,a),r=Lt(c,r),t=[];break;case"select":a=i({},a,{value:void 0}),r=i({},r,{value:void 0}),t=[];break;case"textarea":a=At(c,a),r=At(c,r),t=[];break;default:"function"!==typeof a.onClick&&"function"===typeof r.onClick&&(c.onclick=cn)}for(u in on(n,r),n=null,a)if(!r.hasOwnProperty(u)&&a.hasOwnProperty(u)&&null!=a[u])if("style"===u)for(s in c=a[u])c.hasOwnProperty(s)&&(n||(n={}),n[s]="");else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(S.hasOwnProperty(u)?t||(t=[]):(t=t||[]).push(u,null));for(u in r){var l=r[u];if(c=null!=a?a[u]:void 0,r.hasOwnProperty(u)&&l!==c&&(null!=l||null!=c))if("style"===u)if(c){for(s in c)!c.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&c[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(t||(t=[]),t.push(u,n)),n=l;else"dangerouslySetInnerHTML"===u?(l=l?l.__html:void 0,c=c?c.__html:void 0,null!=l&&c!==l&&(t=t||[]).push(u,l)):"children"===u?c===l||"string"!==typeof l&&"number"!==typeof l||(t=t||[]).push(u,""+l):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(S.hasOwnProperty(u)?(null!=l&&sn(o,u),t||c===l||(t=[])):(t=t||[]).push(u,l))}n&&(t=t||[]).push("style",n),o=t,(e.updateQueue=o)&&(e.effectTag|=4)}},Va=function(t,e,n,r){n!==r&&(e.effectTag|=4)};var Za="function"===typeof WeakSet?WeakSet:Set;function tu(t,e){var n=e.source,r=e.stack;null===r&&null!==n&&(r=bt(n)),null!==n&&vt(n.type),e=e.value,null!==t&&1===t.tag&&vt(t.type);try{console.error(e)}catch(i){setTimeout((function(){throw i}))}}function eu(t){var e=t.ref;if(null!==e)if("function"===typeof e)try{e(null)}catch(n){gs(t,n)}else e.current=null}function nu(t,e){switch(e.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&e.effectTag&&null!==t){var n=t.memoizedProps,r=t.memoizedState;e=(t=e.stateNode).getSnapshotBeforeUpdate(e.elementType===e.type?n:Ki(e.type,n),r),t.__reactInternalSnapshotBeforeUpdate=e}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(a(163))}function ru(t,e){if(null!==(e=null!==(e=e.updateQueue)?e.lastEffect:null)){var n=e=e.next;do{if((n.tag&t)===t){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==e)}}function iu(t,e){if(null!==(e=null!==(e=e.updateQueue)?e.lastEffect:null)){var n=e=e.next;do{if((n.tag&t)===t){var r=n.create;n.destroy=r()}n=n.next}while(n!==e)}}function ou(t,e,n){switch(n.tag){case 0:case 11:case 15:case 22:return void iu(3,n);case 1:if(t=n.stateNode,4&n.effectTag)if(null===e)t.componentDidMount();else{var r=n.elementType===n.type?e.memoizedProps:Ki(n.type,e.memoizedProps);t.componentDidUpdate(r,e.memoizedState,t.__reactInternalSnapshotBeforeUpdate)}return void(null!==(e=n.updateQueue)&&fo(n,e,t));case 3:if(null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}fo(n,e,t)}return;case 5:return t=n.stateNode,void(null===e&&4&n.effectTag&&bn(n.type,n.memoizedProps)&&t.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Fe(n)))));case 19:case 17:case 20:case 21:return}throw Error(a(163))}function au(t,e,n){switch("function"===typeof _s&&_s(e),e.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(t=e.updateQueue)&&null!==(t=t.lastEffect)){var r=t.next;Vi(97<n?97:n,(function(){var t=r;do{var n=t.destroy;if(void 0!==n){var i=e;try{n()}catch(o){gs(i,o)}}t=t.next}while(t!==r)}))}break;case 1:eu(e),"function"===typeof(n=e.stateNode).componentWillUnmount&&function(t,e){try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(n){gs(t,n)}}(e,n);break;case 5:eu(e);break;case 4:lu(t,e,n)}}function uu(t){var e=t.alternate;t.return=null,t.child=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.alternate=null,t.firstEffect=null,t.lastEffect=null,t.pendingProps=null,t.memoizedProps=null,t.stateNode=null,null!==e&&uu(e)}function su(t){return 5===t.tag||3===t.tag||4===t.tag}function cu(t){t:{for(var e=t.return;null!==e;){if(su(e)){var n=e;break t}e=e.return}throw Error(a(160))}switch(e=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:e=e.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.effectTag&&(Ut(e,""),n.effectTag&=-17);t:e:for(n=t;;){for(;null===n.sibling;){if(null===n.return||su(n.return)){n=null;break t}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue e;if(null===n.child||4===n.tag)continue e;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break t}}r?function t(e,n,r){var i=e.tag,o=5===i||6===i;if(o)e=o?e.stateNode:e.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(e,n):r.insertBefore(e,n):(8===r.nodeType?(n=r.parentNode).insertBefore(e,r):(n=r).appendChild(e),null!==(r=r._reactRootContainer)&&void 0!==r||null!==n.onclick||(n.onclick=cn));else if(4!==i&&null!==(e=e.child))for(t(e,n,r),e=e.sibling;null!==e;)t(e,n,r),e=e.sibling}(t,n,e):function t(e,n,r){var i=e.tag,o=5===i||6===i;if(o)e=o?e.stateNode:e.stateNode.instance,n?r.insertBefore(e,n):r.appendChild(e);else if(4!==i&&null!==(e=e.child))for(t(e,n,r),e=e.sibling;null!==e;)t(e,n,r),e=e.sibling}(t,n,e)}function lu(t,e,n){for(var r,i,o=e,u=!1;;){if(!u){u=o.return;t:for(;;){if(null===u)throw Error(a(160));switch(r=u.stateNode,u.tag){case 5:i=!1;break t;case 3:case 4:r=r.containerInfo,i=!0;break t}u=u.return}u=!0}if(5===o.tag||6===o.tag){t:for(var s=t,c=o,l=n,f=c;;)if(au(s,f,l),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===c)break t;for(;null===f.sibling;){if(null===f.return||f.return===c)break t;f=f.return}f.sibling.return=f.return,f=f.sibling}i?(s=r,c=o.stateNode,8===s.nodeType?s.parentNode.removeChild(c):s.removeChild(c)):r.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){r=o.stateNode.containerInfo,i=!0,o.child.return=o,o=o.child;continue}}else if(au(t,o,n),null!==o.child){o.child.return=o,o=o.child;continue}if(o===e)break;for(;null===o.sibling;){if(null===o.return||o.return===e)return;4===(o=o.return).tag&&(u=!1)}o.sibling.return=o.return,o=o.sibling}}function fu(t,e){switch(e.tag){case 0:case 11:case 14:case 15:case 22:return void ru(3,e);case 1:return;case 5:var n=e.stateNode;if(null!=n){var r=e.memoizedProps,i=null!==t?t.memoizedProps:r;t=e.type;var o=e.updateQueue;if(e.updateQueue=null,null!==o){for(n[En]=r,"input"===t&&"radio"===r.type&&null!=r.name&&St(n,r),an(t,i),e=an(t,r),i=0;i<o.length;i+=2){var u=o[i],s=o[i+1];"style"===u?nn(n,s):"dangerouslySetInnerHTML"===u?Rt(n,s):"children"===u?Ut(n,s):J(n,u,s,e)}switch(t){case"input":Et(n,r);break;case"textarea":Nt(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(t=r.value)?It(n,!!r.multiple,t,!1):e!==!!r.multiple&&(null!=r.defaultValue?It(n,!!r.multiple,r.defaultValue,!0):It(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===e.stateNode)throw Error(a(162));return void(e.stateNode.nodeValue=e.memoizedProps);case 3:return void((e=e.stateNode).hydrate&&(e.hydrate=!1,Fe(e.containerInfo)));case 12:return;case 13:if(n=e,null===e.memoizedState?r=!1:(r=!0,n=e.child,Pu=Ri()),null!==n)t:for(t=n;;){if(5===t.tag)o=t.stateNode,r?"function"===typeof(o=o.style).setProperty?o.setProperty("display","none","important"):o.display="none":(o=t.stateNode,i=void 0!==(i=t.memoizedProps.style)&&null!==i&&i.hasOwnProperty("display")?i.display:null,o.style.display=en("display",i));else if(6===t.tag)t.stateNode.nodeValue=r?"":t.memoizedProps;else{if(13===t.tag&&null!==t.memoizedState&&null===t.memoizedState.dehydrated){(o=t.child.sibling).return=t,t=o;continue}if(null!==t.child){t.child.return=t,t=t.child;continue}}if(t===n)break;for(;null===t.sibling;){if(null===t.return||t.return===n)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}return void hu(e);case 19:return void hu(e);case 17:return}throw Error(a(163))}function hu(t){var e=t.updateQueue;if(null!==e){t.updateQueue=null;var n=t.stateNode;null===n&&(n=t.stateNode=new Za),e.forEach((function(e){var r=ws.bind(null,t,e);n.has(e)||(n.add(e),e.then(r,r))}))}}var du="function"===typeof WeakMap?WeakMap:Map;function pu(t,e,n){(n=uo(n,null)).tag=3,n.payload={element:null};var r=e.value;return n.callback=function(){Fu||(Fu=!0,Du=r),tu(t,e)},n}function yu(t,e,n){(n=uo(n,null)).tag=3;var r=t.type.getDerivedStateFromError;if("function"===typeof r){var i=e.value;n.payload=function(){return tu(t,e),r(i)}}var o=t.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===Mu?Mu=new Set([this]):Mu.add(this),tu(t,e));var n=e.stack;this.componentDidCatch(e.value,{componentStack:null!==n?n:""})}),n}var vu,bu=Math.ceil,gu=Q.ReactCurrentDispatcher,mu=Q.ReactCurrentOwner,wu=0,ku=3,_u=4,xu=0,Su=null,Eu=null,Tu=0,Ou=wu,Lu=null,Iu=1073741823,Au=1073741823,ju=null,Nu=0,Bu=!1,Pu=0,Cu=null,Fu=!1,Du=null,Mu=null,Ru=!1,Uu=null,zu=90,Vu=null,Gu=0,Wu=null,Yu=0;function Hu(){return 0!==(48&xu)?1073741821-(Ri()/10|0):0!==Yu?Yu:Yu=1073741821-(Ri()/10|0)}function $u(t,e,n){if(0===(2&(e=e.mode)))return 1073741823;var r=Ui();if(0===(4&e))return 99===r?1073741823:1073741822;if(0!==(16&xu))return Tu;if(null!==n)t=$i(t,0|n.timeoutMs||5e3,250);else switch(r){case 99:t=1073741823;break;case 98:t=$i(t,150,100);break;case 97:case 96:t=$i(t,5e3,250);break;case 95:t=2;break;default:throw Error(a(326))}return null!==Su&&t===Tu&&--t,t}function Ku(t,e){if(50<Gu)throw Gu=0,Wu=null,Error(a(185));if(null!==(t=qu(t,e))){var n=Ui();1073741823===e?0!==(8&xu)&&0===(48&xu)?Zu(t):(Ju(t),0===xu&&Yi()):Ju(t),0===(4&xu)||98!==n&&99!==n||(null===Vu?Vu=new Map([[t,e]]):(void 0===(n=Vu.get(t))||n>e)&&Vu.set(t,e))}}function qu(t,e){t.expirationTime<e&&(t.expirationTime=e);var n=t.alternate;null!==n&&n.expirationTime<e&&(n.expirationTime=e);var r=t.return,i=null;if(null===r&&3===t.tag)i=t.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<e&&(r.childExpirationTime=e),null!==n&&n.childExpirationTime<e&&(n.childExpirationTime=e),null===r.return&&3===r.tag){i=r.stateNode;break}r=r.return}return null!==i&&(Su===i&&(as(e),Ou===_u&&Bs(i,Tu)),Ps(i,e)),i}function Qu(t){var e=t.lastExpiredTime;if(0!==e)return e;if(!Ns(t,e=t.firstPendingTime))return e;var n=t.lastPingedTime;return 2>=(t=n>(t=t.nextKnownPendingLevel)?n:t)&&e!==t?0:t}function Ju(t){if(0!==t.lastExpiredTime)t.callbackExpirationTime=1073741823,t.callbackPriority=99,t.callbackNode=Wi(Zu.bind(null,t));else{var e=Qu(t),n=t.callbackNode;if(0===e)null!==n&&(t.callbackNode=null,t.callbackExpirationTime=0,t.callbackPriority=90);else{var r=Hu();if(1073741823===e?r=99:1===e||2===e?r=95:r=0>=(r=10*(1073741821-e)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var i=t.callbackPriority;if(t.callbackExpirationTime===e&&i>=r)return;n!==Ni&&xi(n)}t.callbackExpirationTime=e,t.callbackPriority=r,e=1073741823===e?Wi(Zu.bind(null,t)):Gi(r,Xu.bind(null,t),{timeout:10*(1073741821-e)-Ri()}),t.callbackNode=e}}}function Xu(t,e){if(Yu=0,e)return Cs(t,e=Hu()),Ju(t),null;var n=Qu(t);if(0!==n){if(e=t.callbackNode,0!==(48&xu))throw Error(a(327));if(ys(),t===Su&&n===Tu||ns(t,n),null!==Eu){var r=xu;xu|=16;for(var i=is();;)try{ss();break}catch(s){rs(t,s)}if(Zi(),xu=r,gu.current=i,1===Ou)throw e=Lu,ns(t,n),Bs(t,n),Ju(t),e;if(null===Eu)switch(i=t.finishedWork=t.current.alternate,t.finishedExpirationTime=n,r=Ou,Su=null,r){case wu:case 1:throw Error(a(345));case 2:Cs(t,2<n?2:n);break;case ku:if(Bs(t,n),n===(r=t.lastSuspendedTime)&&(t.nextKnownPendingLevel=fs(i)),1073741823===Iu&&10<(i=Pu+500-Ri())){if(Bu){var o=t.lastPingedTime;if(0===o||o>=n){t.lastPingedTime=n,ns(t,n);break}}if(0!==(o=Qu(t))&&o!==n)break;if(0!==r&&r!==n){t.lastPingedTime=r;break}t.timeoutHandle=mn(hs.bind(null,t),i);break}hs(t);break;case _u:if(Bs(t,n),n===(r=t.lastSuspendedTime)&&(t.nextKnownPendingLevel=fs(i)),Bu&&(0===(i=t.lastPingedTime)||i>=n)){t.lastPingedTime=n,ns(t,n);break}if(0!==(i=Qu(t))&&i!==n)break;if(0!==r&&r!==n){t.lastPingedTime=r;break}if(1073741823!==Au?r=10*(1073741821-Au)-Ri():1073741823===Iu?r=0:(r=10*(1073741821-Iu)-5e3,0>(r=(i=Ri())-r)&&(r=0),(n=10*(1073741821-n)-i)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*bu(r/1960))-r)&&(r=n)),10<r){t.timeoutHandle=mn(hs.bind(null,t),r);break}hs(t);break;case 5:if(1073741823!==Iu&&null!==ju){o=Iu;var u=ju;if(0>=(r=0|u.busyMinDurationMs)?r=0:(i=0|u.busyDelayMs,r=(o=Ri()-(10*(1073741821-o)-(0|u.timeoutMs||5e3)))<=i?0:i+r-o),10<r){Bs(t,n),t.timeoutHandle=mn(hs.bind(null,t),r);break}}hs(t);break;default:throw Error(a(329))}if(Ju(t),t.callbackNode===e)return Xu.bind(null,t)}}return null}function Zu(t){var e=t.lastExpiredTime;if(e=0!==e?e:1073741823,0!==(48&xu))throw Error(a(327));if(ys(),t===Su&&e===Tu||ns(t,e),null!==Eu){var n=xu;xu|=16;for(var r=is();;)try{us();break}catch(i){rs(t,i)}if(Zi(),xu=n,gu.current=r,1===Ou)throw n=Lu,ns(t,e),Bs(t,e),Ju(t),n;if(null!==Eu)throw Error(a(261));t.finishedWork=t.current.alternate,t.finishedExpirationTime=e,Su=null,hs(t),Ju(t)}return null}function ts(t,e){var n=xu;xu|=1;try{return t(e)}finally{0===(xu=n)&&Yi()}}function es(t,e){var n=xu;xu&=-2,xu|=8;try{return t(e)}finally{0===(xu=n)&&Yi()}}function ns(t,e){t.finishedWork=null,t.finishedExpirationTime=0;var n=t.timeoutHandle;if(-1!==n&&(t.timeoutHandle=-1,wn(n)),null!==Eu)for(n=Eu.return;null!==n;){var r=n;switch(r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&vi();break;case 3:Bo(),si(hi),si(fi);break;case 5:Co(r);break;case 4:Bo();break;case 13:case 19:si(Fo);break;case 10:to(r)}n=n.return}Su=t,Eu=Ts(t.current,null),Tu=e,Ou=wu,Lu=null,Au=Iu=1073741823,ju=null,Nu=0,Bu=!1}function rs(t,e){for(;;){try{if(Zi(),Ro.current=va,Yo)for(var n=Vo.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(zo=0,Wo=Go=Vo=null,Yo=!1,null===Eu||null===Eu.return)return Ou=1,Lu=e,Eu=null;t:{var i=t,o=Eu.return,a=Eu,u=e;if(e=Tu,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==u&&"object"===typeof u&&"function"===typeof u.then){var s=u;if(0===(2&a.mode)){var c=a.alternate;c?(a.updateQueue=c.updateQueue,a.memoizedState=c.memoizedState,a.expirationTime=c.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var l=0!==(1&Fo.current),f=o;do{var h;if(h=13===f.tag){var d=f.memoizedState;if(null!==d)h=null!==d.dehydrated;else{var p=f.memoizedProps;h=void 0!==p.fallback&&(!0!==p.unstable_avoidThisFallback||!l)}}if(h){var y=f.updateQueue;if(null===y){var v=new Set;v.add(s),f.updateQueue=v}else y.add(s);if(0===(2&f.mode)){if(f.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var b=uo(1073741823,null);b.tag=2,so(a,b)}a.expirationTime=1073741823;break t}u=void 0,a=e;var g=i.pingCache;if(null===g?(g=i.pingCache=new du,u=new Set,g.set(s,u)):void 0===(u=g.get(s))&&(u=new Set,g.set(s,u)),!u.has(a)){u.add(a);var m=ms.bind(null,i,s,a);s.then(m,m)}f.effectTag|=4096,f.expirationTime=e;break t}f=f.return}while(null!==f);u=Error((vt(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+bt(a))}5!==Ou&&(Ou=2),u=Xa(u,a),f=o;do{switch(f.tag){case 3:s=u,f.effectTag|=4096,f.expirationTime=e,co(f,pu(f,s,e));break t;case 1:s=u;var w=f.type,k=f.stateNode;if(0===(64&f.effectTag)&&("function"===typeof w.getDerivedStateFromError||null!==k&&"function"===typeof k.componentDidCatch&&(null===Mu||!Mu.has(k)))){f.effectTag|=4096,f.expirationTime=e,co(f,yu(f,s,e));break t}}f=f.return}while(null!==f)}Eu=ls(Eu)}catch(_){e=_;continue}break}}function is(){var t=gu.current;return gu.current=va,null===t?va:t}function os(t,e){t<Iu&&2<t&&(Iu=t),null!==e&&t<Au&&2<t&&(Au=t,ju=e)}function as(t){t>Nu&&(Nu=t)}function us(){for(;null!==Eu;)Eu=cs(Eu)}function ss(){for(;null!==Eu&&!Bi();)Eu=cs(Eu)}function cs(t){var e=vu(t.alternate,t,Tu);return t.memoizedProps=t.pendingProps,null===e&&(e=ls(t)),mu.current=null,e}function ls(t){Eu=t;do{var e=Eu.alternate;if(t=Eu.return,0===(2048&Eu.effectTag)){if(e=Qa(e,Eu,Tu),1===Tu||1!==Eu.childExpirationTime){for(var n=0,r=Eu.child;null!==r;){var i=r.expirationTime,o=r.childExpirationTime;i>n&&(n=i),o>n&&(n=o),r=r.sibling}Eu.childExpirationTime=n}if(null!==e)return e;null!==t&&0===(2048&t.effectTag)&&(null===t.firstEffect&&(t.firstEffect=Eu.firstEffect),null!==Eu.lastEffect&&(null!==t.lastEffect&&(t.lastEffect.nextEffect=Eu.firstEffect),t.lastEffect=Eu.lastEffect),1<Eu.effectTag&&(null!==t.lastEffect?t.lastEffect.nextEffect=Eu:t.firstEffect=Eu,t.lastEffect=Eu))}else{if(null!==(e=Ja(Eu)))return e.effectTag&=2047,e;null!==t&&(t.firstEffect=t.lastEffect=null,t.effectTag|=2048)}if(null!==(e=Eu.sibling))return e;Eu=t}while(null!==Eu);return Ou===wu&&(Ou=5),null}function fs(t){var e=t.expirationTime;return e>(t=t.childExpirationTime)?e:t}function hs(t){var e=Ui();return Vi(99,ds.bind(null,t,e)),null}function ds(t,e){do{ys()}while(null!==Uu);if(0!==(48&xu))throw Error(a(327));var n=t.finishedWork,r=t.finishedExpirationTime;if(null===n)return null;if(t.finishedWork=null,t.finishedExpirationTime=0,n===t.current)throw Error(a(177));t.callbackNode=null,t.callbackExpirationTime=0,t.callbackPriority=90,t.nextKnownPendingLevel=0;var i=fs(n);if(t.firstPendingTime=i,r<=t.lastSuspendedTime?t.firstSuspendedTime=t.lastSuspendedTime=t.nextKnownPendingLevel=0:r<=t.firstSuspendedTime&&(t.firstSuspendedTime=r-1),r<=t.lastPingedTime&&(t.lastPingedTime=0),r<=t.lastExpiredTime&&(t.lastExpiredTime=0),t===Su&&(Eu=Su=null,Tu=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,i=n.firstEffect):i=n:i=n.firstEffect,null!==i){var o=xu;xu|=32,mu.current=null,yn=He;var u=dn();if(pn(u)){if("selectionStart"in u)var s={start:u.selectionStart,end:u.selectionEnd};else t:{var c=(s=(s=u.ownerDocument)&&s.defaultView||window).getSelection&&s.getSelection();if(c&&0!==c.rangeCount){s=c.anchorNode;var l=c.anchorOffset,f=c.focusNode;c=c.focusOffset;try{s.nodeType,f.nodeType}catch(T){s=null;break t}var h=0,d=-1,p=-1,y=0,v=0,b=u,g=null;e:for(;;){for(var m;b!==s||0!==l&&3!==b.nodeType||(d=h+l),b!==f||0!==c&&3!==b.nodeType||(p=h+c),3===b.nodeType&&(h+=b.nodeValue.length),null!==(m=b.firstChild);)g=b,b=m;for(;;){if(b===u)break e;if(g===s&&++y===l&&(d=h),g===f&&++v===c&&(p=h),null!==(m=b.nextSibling))break;g=(b=g).parentNode}b=m}s=-1===d||-1===p?null:{start:d,end:p}}else s=null}s=s||{start:0,end:0}}else s=null;vn={activeElementDetached:null,focusedElem:u,selectionRange:s},He=!1,Cu=i;do{try{ps()}catch(T){if(null===Cu)throw Error(a(330));gs(Cu,T),Cu=Cu.nextEffect}}while(null!==Cu);Cu=i;do{try{for(u=t,s=e;null!==Cu;){var w=Cu.effectTag;if(16&w&&Ut(Cu.stateNode,""),128&w){var k=Cu.alternate;if(null!==k){var _=k.ref;null!==_&&("function"===typeof _?_(null):_.current=null)}}switch(1038&w){case 2:cu(Cu),Cu.effectTag&=-3;break;case 6:cu(Cu),Cu.effectTag&=-3,fu(Cu.alternate,Cu);break;case 1024:Cu.effectTag&=-1025;break;case 1028:Cu.effectTag&=-1025,fu(Cu.alternate,Cu);break;case 4:fu(Cu.alternate,Cu);break;case 8:lu(u,l=Cu,s),uu(l)}Cu=Cu.nextEffect}}catch(T){if(null===Cu)throw Error(a(330));gs(Cu,T),Cu=Cu.nextEffect}}while(null!==Cu);if(_=vn,k=dn(),w=_.focusedElem,s=_.selectionRange,k!==w&&w&&w.ownerDocument&&function t(e,n){return!(!e||!n)&&(e===n||(!e||3!==e.nodeType)&&(n&&3===n.nodeType?t(e,n.parentNode):"contains"in e?e.contains(n):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(n))))}(w.ownerDocument.documentElement,w)){null!==s&&pn(w)&&(k=s.start,void 0===(_=s.end)&&(_=k),"selectionStart"in w?(w.selectionStart=k,w.selectionEnd=Math.min(_,w.value.length)):(_=(k=w.ownerDocument||document)&&k.defaultView||window).getSelection&&(_=_.getSelection(),l=w.textContent.length,u=Math.min(s.start,l),s=void 0===s.end?u:Math.min(s.end,l),!_.extend&&u>s&&(l=s,s=u,u=l),l=hn(w,u),f=hn(w,s),l&&f&&(1!==_.rangeCount||_.anchorNode!==l.node||_.anchorOffset!==l.offset||_.focusNode!==f.node||_.focusOffset!==f.offset)&&((k=k.createRange()).setStart(l.node,l.offset),_.removeAllRanges(),u>s?(_.addRange(k),_.extend(f.node,f.offset)):(k.setEnd(f.node,f.offset),_.addRange(k))))),k=[];for(_=w;_=_.parentNode;)1===_.nodeType&&k.push({element:_,left:_.scrollLeft,top:_.scrollTop});for("function"===typeof w.focus&&w.focus(),w=0;w<k.length;w++)(_=k[w]).element.scrollLeft=_.left,_.element.scrollTop=_.top}He=!!yn,vn=yn=null,t.current=n,Cu=i;do{try{for(w=t;null!==Cu;){var x=Cu.effectTag;if(36&x&&ou(w,Cu.alternate,Cu),128&x){k=void 0;var S=Cu.ref;if(null!==S){var E=Cu.stateNode;switch(Cu.tag){case 5:k=E;break;default:k=E}"function"===typeof S?S(k):S.current=k}}Cu=Cu.nextEffect}}catch(T){if(null===Cu)throw Error(a(330));gs(Cu,T),Cu=Cu.nextEffect}}while(null!==Cu);Cu=null,Pi(),xu=o}else t.current=n;if(Ru)Ru=!1,Uu=t,zu=e;else for(Cu=i;null!==Cu;)e=Cu.nextEffect,Cu.nextEffect=null,Cu=e;if(0===(e=t.firstPendingTime)&&(Mu=null),1073741823===e?t===Wu?Gu++:(Gu=0,Wu=t):Gu=0,"function"===typeof ks&&ks(n.stateNode,r),Ju(t),Fu)throw Fu=!1,t=Du,Du=null,t;return 0!==(8&xu)||Yi(),null}function ps(){for(;null!==Cu;){var t=Cu.effectTag;0!==(256&t)&&nu(Cu.alternate,Cu),0===(512&t)||Ru||(Ru=!0,Gi(97,(function(){return ys(),null}))),Cu=Cu.nextEffect}}function ys(){if(90!==zu){var t=97<zu?97:zu;return zu=90,Vi(t,vs)}}function vs(){if(null===Uu)return!1;var t=Uu;if(Uu=null,0!==(48&xu))throw Error(a(331));var e=xu;for(xu|=32,t=t.current.firstEffect;null!==t;){try{var n=t;if(0!==(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:ru(5,n),iu(5,n)}}catch(r){if(null===t)throw Error(a(330));gs(t,r)}n=t.nextEffect,t.nextEffect=null,t=n}return xu=e,Yi(),!0}function bs(t,e,n){so(t,e=pu(t,e=Xa(n,e),1073741823)),null!==(t=qu(t,1073741823))&&Ju(t)}function gs(t,e){if(3===t.tag)bs(t,t,e);else for(var n=t.return;null!==n;){if(3===n.tag){bs(n,t,e);break}if(1===n.tag){var r=n.stateNode;if("function"===typeof n.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Mu||!Mu.has(r))){so(n,t=yu(n,t=Xa(e,t),1073741823)),null!==(n=qu(n,1073741823))&&Ju(n);break}}n=n.return}}function ms(t,e,n){var r=t.pingCache;null!==r&&r.delete(e),Su===t&&Tu===n?Ou===_u||Ou===ku&&1073741823===Iu&&Ri()-Pu<500?ns(t,Tu):Bu=!0:Ns(t,n)&&(0!==(e=t.lastPingedTime)&&e<n||(t.lastPingedTime=n,Ju(t)))}function ws(t,e){var n=t.stateNode;null!==n&&n.delete(e),0===(e=0)&&(e=$u(e=Hu(),t,null)),null!==(t=qu(t,e))&&Ju(t)}vu=function(t,e,n){var r=e.expirationTime;if(null!==t){var i=e.pendingProps;if(t.memoizedProps!==i||hi.current)Aa=!0;else{if(r<n){switch(Aa=!1,e.tag){case 3:Ra(e),La();break;case 5:if(Po(e),4&e.mode&&1!==n&&i.hidden)return e.expirationTime=e.childExpirationTime=1,null;break;case 1:yi(e.type)&&mi(e);break;case 4:No(e,e.stateNode.containerInfo);break;case 10:r=e.memoizedProps.value,i=e.type._context,ci(qi,i._currentValue),i._currentValue=r;break;case 13:if(null!==e.memoizedState)return 0!==(r=e.child.childExpirationTime)&&r>=n?Wa(t,e,n):(ci(Fo,1&Fo.current),null!==(e=Ka(t,e,n))?e.sibling:null);ci(Fo,1&Fo.current);break;case 19:if(r=e.childExpirationTime>=n,0!==(64&t.effectTag)){if(r)return $a(t,e,n);e.effectTag|=64}if(null!==(i=e.memoizedState)&&(i.rendering=null,i.tail=null),ci(Fo,Fo.current),!r)return null}return Ka(t,e,n)}Aa=!1}}else Aa=!1;switch(e.expirationTime=0,e.tag){case 2:if(r=e.type,null!==t&&(t.alternate=null,e.alternate=null,e.effectTag|=2),t=e.pendingProps,i=pi(e,fi.current),no(e,n),i=Ko(null,e,r,t,i,n),e.effectTag|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof){if(e.tag=1,e.memoizedState=null,e.updateQueue=null,yi(r)){var o=!0;mi(e)}else o=!1;e.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,oo(e);var u=r.getDerivedStateFromProps;"function"===typeof u&&yo(e,r,u,t),i.updater=vo,e.stateNode=i,i._reactInternalFiber=e,wo(e,r,t,n),e=Ma(null,e,r,!0,o,n)}else e.tag=0,ja(null,e,i,n),e=e.child;return e;case 16:t:{if(i=e.elementType,null!==t&&(t.alternate=null,e.alternate=null,e.effectTag|=2),t=e.pendingProps,function(t){if(-1===t._status){t._status=0;var e=t._ctor;e=e(),t._result=e,e.then((function(e){0===t._status&&(e=e.default,t._status=1,t._result=e)}),(function(e){0===t._status&&(t._status=2,t._result=e)}))}}(i),1!==i._status)throw i._result;switch(i=i._result,e.type=i,o=e.tag=function(t){if("function"===typeof t)return Es(t)?1:0;if(void 0!==t&&null!==t){if((t=t.$$typeof)===st)return 11;if(t===ft)return 14}return 2}(i),t=Ki(i,t),o){case 0:e=Fa(null,e,i,t,n);break t;case 1:e=Da(null,e,i,t,n);break t;case 11:e=Na(null,e,i,t,n);break t;case 14:e=Ba(null,e,i,Ki(i.type,t),r,n);break t}throw Error(a(306,i,""))}return e;case 0:return r=e.type,i=e.pendingProps,Fa(t,e,r,i=e.elementType===r?i:Ki(r,i),n);case 1:return r=e.type,i=e.pendingProps,Da(t,e,r,i=e.elementType===r?i:Ki(r,i),n);case 3:if(Ra(e),r=e.updateQueue,null===t||null===r)throw Error(a(282));if(r=e.pendingProps,i=null!==(i=e.memoizedState)?i.element:null,ao(t,e),lo(e,r,null,n),(r=e.memoizedState.element)===i)La(),e=Ka(t,e,n);else{if((i=e.stateNode.hydrate)&&(ka=kn(e.stateNode.containerInfo.firstChild),wa=e,i=_a=!0),i)for(n=To(e,null,r,n),e.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else ja(t,e,r,n),La();e=e.child}return e;case 5:return Po(e),null===t&&Ea(e),r=e.type,i=e.pendingProps,o=null!==t?t.memoizedProps:null,u=i.children,gn(r,i)?u=null:null!==o&&gn(r,o)&&(e.effectTag|=16),Ca(t,e),4&e.mode&&1!==n&&i.hidden?(e.expirationTime=e.childExpirationTime=1,e=null):(ja(t,e,u,n),e=e.child),e;case 6:return null===t&&Ea(e),null;case 13:return Wa(t,e,n);case 4:return No(e,e.stateNode.containerInfo),r=e.pendingProps,null===t?e.child=Eo(e,null,r,n):ja(t,e,r,n),e.child;case 11:return r=e.type,i=e.pendingProps,Na(t,e,r,i=e.elementType===r?i:Ki(r,i),n);case 7:return ja(t,e,e.pendingProps,n),e.child;case 8:case 12:return ja(t,e,e.pendingProps.children,n),e.child;case 10:t:{r=e.type._context,i=e.pendingProps,u=e.memoizedProps,o=i.value;var s=e.type._context;if(ci(qi,s._currentValue),s._currentValue=o,null!==u)if(s=u.value,0===(o=Dr(s,o)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(s,o):1073741823))){if(u.children===i.children&&!hi.current){e=Ka(t,e,n);break t}}else for(null!==(s=e.child)&&(s.return=e);null!==s;){var c=s.dependencies;if(null!==c){u=s.child;for(var l=c.firstContext;null!==l;){if(l.context===r&&0!==(l.observedBits&o)){1===s.tag&&((l=uo(n,null)).tag=2,so(s,l)),s.expirationTime<n&&(s.expirationTime=n),null!==(l=s.alternate)&&l.expirationTime<n&&(l.expirationTime=n),eo(s.return,n),c.expirationTime<n&&(c.expirationTime=n);break}l=l.next}}else u=10===s.tag&&s.type===e.type?null:s.child;if(null!==u)u.return=s;else for(u=s;null!==u;){if(u===e){u=null;break}if(null!==(s=u.sibling)){s.return=u.return,u=s;break}u=u.return}s=u}ja(t,e,i.children,n),e=e.child}return e;case 9:return i=e.type,r=(o=e.pendingProps).children,no(e,n),r=r(i=ro(i,o.unstable_observedBits)),e.effectTag|=1,ja(t,e,r,n),e.child;case 14:return o=Ki(i=e.type,e.pendingProps),Ba(t,e,i,o=Ki(i.type,o),r,n);case 15:return Pa(t,e,e.type,e.pendingProps,r,n);case 17:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:Ki(r,i),null!==t&&(t.alternate=null,e.alternate=null,e.effectTag|=2),e.tag=1,yi(r)?(t=!0,mi(e)):t=!1,no(e,n),go(e,r,i),wo(e,r,i,n),Ma(null,e,r,!0,t,n);case 19:return $a(t,e,n)}throw Error(a(156,e.tag))};var ks=null,_s=null;function xs(t,e,n,r){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Ss(t,e,n,r){return new xs(t,e,n,r)}function Es(t){return!(!(t=t.prototype)||!t.isReactComponent)}function Ts(t,e){var n=t.alternate;return null===n?((n=Ss(t.tag,e,t.key,t.mode)).elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=t.childExpirationTime,n.expirationTime=t.expirationTime,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=null===e?null:{expirationTime:e.expirationTime,firstContext:e.firstContext,responders:e.responders},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n}function Os(t,e,n,r,i,o){var u=2;if(r=t,"function"===typeof t)Es(t)&&(u=1);else if("string"===typeof t)u=5;else t:switch(t){case nt:return Ls(n.children,i,o,e);case ut:u=8,i|=7;break;case rt:u=8,i|=1;break;case it:return(t=Ss(12,n,e,8|i)).elementType=it,t.type=it,t.expirationTime=o,t;case ct:return(t=Ss(13,n,e,i)).type=ct,t.elementType=ct,t.expirationTime=o,t;case lt:return(t=Ss(19,n,e,i)).elementType=lt,t.expirationTime=o,t;default:if("object"===typeof t&&null!==t)switch(t.$$typeof){case ot:u=10;break t;case at:u=9;break t;case st:u=11;break t;case ft:u=14;break t;case ht:u=16,r=null;break t;case dt:u=22;break t}throw Error(a(130,null==t?t:typeof t,""))}return(e=Ss(u,n,e,i)).elementType=t,e.type=r,e.expirationTime=o,e}function Ls(t,e,n,r){return(t=Ss(7,t,r,e)).expirationTime=n,t}function Is(t,e,n){return(t=Ss(6,t,null,e)).expirationTime=n,t}function As(t,e,n){return(e=Ss(4,null!==t.children?t.children:[],t.key,e)).expirationTime=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function js(t,e,n){this.tag=e,this.current=null,this.containerInfo=t,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Ns(t,e){var n=t.firstSuspendedTime;return t=t.lastSuspendedTime,0!==n&&n>=e&&t<=e}function Bs(t,e){var n=t.firstSuspendedTime,r=t.lastSuspendedTime;n<e&&(t.firstSuspendedTime=e),(r>e||0===n)&&(t.lastSuspendedTime=e),e<=t.lastPingedTime&&(t.lastPingedTime=0),e<=t.lastExpiredTime&&(t.lastExpiredTime=0)}function Ps(t,e){e>t.firstPendingTime&&(t.firstPendingTime=e);var n=t.firstSuspendedTime;0!==n&&(e>=n?t.firstSuspendedTime=t.lastSuspendedTime=t.nextKnownPendingLevel=0:e>=t.lastSuspendedTime&&(t.lastSuspendedTime=e+1),e>t.nextKnownPendingLevel&&(t.nextKnownPendingLevel=e))}function Cs(t,e){var n=t.lastExpiredTime;(0===n||n>e)&&(t.lastExpiredTime=e)}function Fs(t,e,n,r){var i=e.current,o=Hu(),u=ho.suspense;o=$u(o,i,u);t:if(n){e:{if(Zt(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var s=n;do{switch(s.tag){case 3:s=s.stateNode.context;break e;case 1:if(yi(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break e}}s=s.return}while(null!==s);throw Error(a(171))}if(1===n.tag){var c=n.type;if(yi(c)){n=gi(n,c,s);break t}}n=s}else n=li;return null===e.context?e.context=n:e.pendingContext=n,(e=uo(o,u)).payload={element:t},null!==(r=void 0===r?null:r)&&(e.callback=r),so(i,e),Ku(i,o),o}function Ds(t){if(!(t=t.current).child)return null;switch(t.child.tag){case 5:default:return t.child.stateNode}}function Ms(t,e){null!==(t=t.memoizedState)&&null!==t.dehydrated&&t.retryTime<e&&(t.retryTime=e)}function Rs(t,e){Ms(t,e),(t=t.alternate)&&Ms(t,e)}function Us(t,e,n){var r=new js(t,e,n=null!=n&&!0===n.hydrate),i=Ss(3,null,null,2===e?7:1===e?3:0);r.current=i,i.stateNode=r,oo(i),t[Tn]=r.current,n&&0!==e&&function(t,e){var n=Xt(e);Te.forEach((function(t){pe(t,e,n)})),Oe.forEach((function(t){pe(t,e,n)}))}(0,9===t.nodeType?t:t.ownerDocument),this._internalRoot=r}function zs(t){return!(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType&&(8!==t.nodeType||" react-mount-point-unstable "!==t.nodeValue))}function Vs(t,e,n,r,i){var o=n._reactRootContainer;if(o){var a=o._internalRoot;if("function"===typeof i){var u=i;i=function(){var t=Ds(a);u.call(t)}}Fs(e,a,t,i)}else{if(o=n._reactRootContainer=function(t,e){if(e||(e=!(!(e=t?9===t.nodeType?t.documentElement:t.firstChild:null)||1!==e.nodeType||!e.hasAttribute("data-reactroot"))),!e)for(var n;n=t.lastChild;)t.removeChild(n);return new Us(t,0,e?{hydrate:!0}:void 0)}(n,r),a=o._internalRoot,"function"===typeof i){var s=i;i=function(){var t=Ds(a);s.call(t)}}es((function(){Fs(e,a,t,i)}))}return Ds(a)}function Gs(t,e,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:et,key:null==r?null:""+r,children:t,containerInfo:e,implementation:n}}function Ws(t,e){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!zs(e))throw Error(a(200));return Gs(t,e,null,n)}Us.prototype.render=function(t){Fs(t,this._internalRoot,null,null)},Us.prototype.unmount=function(){var t=this._internalRoot,e=t.containerInfo;Fs(null,t,null,(function(){e[Tn]=null}))},ye=function(t){if(13===t.tag){var e=$i(Hu(),150,100);Ku(t,e),Rs(t,e)}},ve=function(t){13===t.tag&&(Ku(t,3),Rs(t,3))},be=function(t){if(13===t.tag){var e=Hu();Ku(t,e=$u(e,t,null)),Rs(t,e)}},L=function(t,e,n){switch(e){case"input":if(Et(t,n),e=n.name,"radio"===n.type&&null!=e){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e<n.length;e++){var r=n[e];if(r!==t&&r.form===t.form){var i=An(r);if(!i)throw Error(a(90));kt(r),Et(r,i)}}}break;case"textarea":Nt(t,n);break;case"select":null!=(e=n.value)&&It(t,!!n.multiple,e,!1)}},P=ts,C=function(t,e,n,r,i){var o=xu;xu|=4;try{return Vi(98,t.bind(null,e,n,r,i))}finally{0===(xu=o)&&Yi()}},F=function(){0===(49&xu)&&(function(){if(null!==Vu){var t=Vu;Vu=null,t.forEach((function(t,e){Cs(e,t),Ju(e)})),Yi()}}(),ys())},D=function(t,e){var n=xu;xu|=2;try{return t(e)}finally{0===(xu=n)&&Yi()}};var Ys={Events:[Ln,In,An,T,x,Dn,function(t){ie(t,Fn)},N,B,Je,ue,ys,{current:!1}]};!function(t){var e=t.findFiberByHostInstance;(function(t){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var e=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(e.isDisabled||!e.supportsFiber)return!0;try{var n=e.inject(t);ks=function(t){try{e.onCommitFiberRoot(n,t,void 0,64===(64&t.current.effectTag))}catch(r){}},_s=function(t){try{e.onCommitFiberUnmount(n,t)}catch(r){}}}catch(r){}})(i({},t,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Q.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return null===(t=ne(t))?null:t.stateNode},findFiberByHostInstance:function(t){return e?e(t):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:On,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"}),e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ys,e.createPortal=Ws,e.findDOMNode=function(t){if(null==t)return null;if(1===t.nodeType)return t;var e=t._reactInternalFiber;if(void 0===e){if("function"===typeof t.render)throw Error(a(188));throw Error(a(268,Object.keys(t)))}return t=null===(t=ne(e))?null:t.stateNode},e.flushSync=function(t,e){if(0!==(48&xu))throw Error(a(187));var n=xu;xu|=1;try{return Vi(99,t.bind(null,e))}finally{xu=n,Yi()}},e.hydrate=function(t,e,n){if(!zs(e))throw Error(a(200));return Vs(null,t,e,!0,n)},e.render=function(t,e,n){if(!zs(e))throw Error(a(200));return Vs(null,t,e,!1,n)},e.unmountComponentAtNode=function(t){if(!zs(t))throw Error(a(40));return!!t._reactRootContainer&&(es((function(){Vs(null,null,t,!1,(function(){t._reactRootContainer=null,t[Tn]=null}))})),!0)},e.unstable_batchedUpdates=ts,e.unstable_createPortal=function(t,e){return Ws(t,e,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},e.unstable_renderSubtreeIntoContainer=function(t,e,n,r){if(!zs(n))throw Error(a(200));if(null==t||void 0===t._reactInternalFiber)throw Error(a(38));return Vs(t,e,n,!1,r)},e.version="16.14.0"},function(t,e,n){"use strict";t.exports=n(42)},function(t,e,n){"use strict";var r,i,o,a,u;if("undefined"===typeof window||"function"!==typeof MessageChannel){var s=null,c=null,l=function t(){if(null!==s)try{var n=e.unstable_now();s(!0,n),s=null}catch(r){throw setTimeout(t,0),r}},f=Date.now();e.unstable_now=function(){return Date.now()-f},r=function(t){null!==s?setTimeout(r,0,t):(s=t,setTimeout(l,0))},i=function(t,e){c=setTimeout(t,e)},o=function(){clearTimeout(c)},a=function(){return!1},u=e.unstable_forceFrameRate=function(){}}else{var h=window.performance,d=window.Date,p=window.setTimeout,y=window.clearTimeout;if("undefined"!==typeof console){var v=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!==typeof v&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"===typeof h&&"function"===typeof h.now)e.unstable_now=function(){return h.now()};else{var b=d.now();e.unstable_now=function(){return d.now()-b}}var g=!1,m=null,w=-1,k=5,_=0;a=function(){return e.unstable_now()>=_},u=function(){},e.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):k=0<t?Math.floor(1e3/t):5};var x=new MessageChannel,S=x.port2;x.port1.onmessage=function(){if(null!==m){var t=e.unstable_now();_=t+k;try{m(!0,t)?S.postMessage(null):(g=!1,m=null)}catch(n){throw S.postMessage(null),n}}else g=!1},r=function(t){m=t,g||(g=!0,S.postMessage(null))},i=function(t,n){w=p((function(){t(e.unstable_now())}),n)},o=function(){y(w),w=-1}}function E(t,e){var n=t.length;t.push(e);t:for(;;){var r=n-1>>>1,i=t[r];if(!(void 0!==i&&0<L(i,e)))break t;t[r]=e,t[n]=i,n=r}}function T(t){return void 0===(t=t[0])?null:t}function O(t){var e=t[0];if(void 0!==e){var n=t.pop();if(n!==e){t[0]=n;t:for(var r=0,i=t.length;r<i;){var o=2*(r+1)-1,a=t[o],u=o+1,s=t[u];if(void 0!==a&&0>L(a,n))void 0!==s&&0>L(s,a)?(t[r]=s,t[u]=n,r=u):(t[r]=a,t[o]=n,r=o);else{if(!(void 0!==s&&0>L(s,n)))break t;t[r]=s,t[u]=n,r=u}}}return e}return null}function L(t,e){var n=t.sortIndex-e.sortIndex;return 0!==n?n:t.id-e.id}var I=[],A=[],j=1,N=null,B=3,P=!1,C=!1,F=!1;function D(t){for(var e=T(A);null!==e;){if(null===e.callback)O(A);else{if(!(e.startTime<=t))break;O(A),e.sortIndex=e.expirationTime,E(I,e)}e=T(A)}}function M(t){if(F=!1,D(t),!C)if(null!==T(I))C=!0,r(R);else{var e=T(A);null!==e&&i(M,e.startTime-t)}}function R(t,n){C=!1,F&&(F=!1,o()),P=!0;var r=B;try{for(D(n),N=T(I);null!==N&&(!(N.expirationTime>n)||t&&!a());){var u=N.callback;if(null!==u){N.callback=null,B=N.priorityLevel;var s=u(N.expirationTime<=n);n=e.unstable_now(),"function"===typeof s?N.callback=s:N===T(I)&&O(I),D(n)}else O(I);N=T(I)}if(null!==N)var c=!0;else{var l=T(A);null!==l&&i(M,l.startTime-n),c=!1}return c}finally{N=null,B=r,P=!1}}function U(t){switch(t){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var z=u;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(t){t.callback=null},e.unstable_continueExecution=function(){C||P||(C=!0,r(R))},e.unstable_getCurrentPriorityLevel=function(){return B},e.unstable_getFirstCallbackNode=function(){return T(I)},e.unstable_next=function(t){switch(B){case 1:case 2:case 3:var e=3;break;default:e=B}var n=B;B=e;try{return t()}finally{B=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=z,e.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var n=B;B=t;try{return e()}finally{B=n}},e.unstable_scheduleCallback=function(t,n,a){var u=e.unstable_now();if("object"===typeof a&&null!==a){var s=a.delay;s="number"===typeof s&&0<s?u+s:u,a="number"===typeof a.timeout?a.timeout:U(t)}else a=U(t),s=u;return t={id:j++,callback:n,priorityLevel:t,startTime:s,expirationTime:a=s+a,sortIndex:-1},s>u?(t.sortIndex=s,E(A,t),null===T(I)&&t===T(A)&&(F?o():F=!0,i(M,s-u))):(t.sortIndex=a,E(I,t),C||P||(C=!0,r(R))),t},e.unstable_shouldYield=function(){var t=e.unstable_now();D(t);var n=T(I);return n!==N&&null!==N&&null!==n&&null!==n.callback&&n.startTime<=t&&n.expirationTime<N.expirationTime||a()},e.unstable_wrapCallback=function(t){var e=B;return function(){var n=B;B=e;try{return t.apply(this,arguments)}finally{B=n}}}},function(t,e,n){"use strict";t.exports=n(44)},function(t,e,n){"use strict";var r="function"===typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,u=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,h=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,y=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,b=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,m=r?Symbol.for("react.fundamental"):60117,w=r?Symbol.for("react.responder"):60118,k=r?Symbol.for("react.scope"):60119;function _(t){if("object"===typeof t&&null!==t){var e=t.$$typeof;switch(e){case i:switch(t=t.type){case f:case h:case a:case s:case u:case p:return t;default:switch(t=t&&t.$$typeof){case l:case d:case b:case v:case c:return t;default:return e}}case o:return e}}}function x(t){return _(t)===h}e.AsyncMode=f,e.ConcurrentMode=h,e.ContextConsumer=l,e.ContextProvider=c,e.Element=i,e.ForwardRef=d,e.Fragment=a,e.Lazy=b,e.Memo=v,e.Portal=o,e.Profiler=s,e.StrictMode=u,e.Suspense=p,e.isAsyncMode=function(t){return x(t)||_(t)===f},e.isConcurrentMode=x,e.isContextConsumer=function(t){return _(t)===l},e.isContextProvider=function(t){return _(t)===c},e.isElement=function(t){return"object"===typeof t&&null!==t&&t.$$typeof===i},e.isForwardRef=function(t){return _(t)===d},e.isFragment=function(t){return _(t)===a},e.isLazy=function(t){return _(t)===b},e.isMemo=function(t){return _(t)===v},e.isPortal=function(t){return _(t)===o},e.isProfiler=function(t){return _(t)===s},e.isStrictMode=function(t){return _(t)===u},e.isSuspense=function(t){return _(t)===p},e.isValidElementType=function(t){return"string"===typeof t||"function"===typeof t||t===a||t===h||t===s||t===u||t===p||t===y||"object"===typeof t&&null!==t&&(t.$$typeof===b||t.$$typeof===v||t.$$typeof===c||t.$$typeof===l||t.$$typeof===d||t.$$typeof===m||t.$$typeof===w||t.$$typeof===k||t.$$typeof===g)},e.typeOf=_},,function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(0),i=n.n(r),o=n(23);function a(){return i.a.useContext(o.a)}},,,,,,,,,,,,,,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(1),i=n(11);function o(t){return t&&"object"===Object(i.a)(t)&&t.constructor===Object}function a(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},i=n.clone?Object(r.a)({},t):t;return o(t)&&o(e)&&Object.keys(e).forEach((function(r){"__proto__"!==r&&(o(e[r])&&r in t?i[r]=a(t[r],e[r],n):i[r]=e[r])})),i}},function(t,e,n){"use strict";var r=n(1),i=n(0),o=n.n(i),a=n(23),u=n(46),s=n(24);e.a=function(t){var e=t.children,n=t.theme,i=Object(u.a)(),c=o.a.useMemo((function(){var t=null===i?n:function(t,e){return"function"===typeof e?e(t):Object(r.a)({},t,e)}(i,n);return null!=t&&(t[s.a]=null!==i),t}),[n,i]);return o.a.createElement(a.a.Provider,{value:c},e)}},function(t,e,n){"use strict";var r=n(1),i=n(4),o=n(0),a=n(6),u=n(8),s=n(12),c={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"},l=o.forwardRef((function(t,e){var n=t.align,u=void 0===n?"inherit":n,l=t.classes,f=t.className,h=t.color,d=void 0===h?"initial":h,p=t.component,y=t.display,v=void 0===y?"initial":y,b=t.gutterBottom,g=void 0!==b&&b,m=t.noWrap,w=void 0!==m&&m,k=t.paragraph,_=void 0!==k&&k,x=t.variant,S=void 0===x?"body1":x,E=t.variantMapping,T=void 0===E?c:E,O=Object(i.a)(t,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]),L=p||(_?"p":T[S]||c[S])||"span";return o.createElement(L,Object(r.a)({className:Object(a.a)(l.root,f,"inherit"!==S&&l[S],"initial"!==d&&l["color".concat(Object(s.a)(d))],w&&l.noWrap,g&&l.gutterBottom,_&&l.paragraph,"inherit"!==u&&l["align".concat(Object(s.a)(u))],"initial"!==v&&l["display".concat(Object(s.a)(v))]),ref:e},O))}));e.a=Object(u.a)((function(t){return{root:{margin:0},body2:t.typography.body2,body1:t.typography.body1,caption:t.typography.caption,button:t.typography.button,h1:t.typography.h1,h2:t.typography.h2,h3:t.typography.h3,h4:t.typography.h4,h5:t.typography.h5,h6:t.typography.h6,subtitle1:t.typography.subtitle1,subtitle2:t.typography.subtitle2,overline:t.typography.overline,srOnly:{position:"absolute",height:1,width:1,overflow:"hidden"},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right"},alignJustify:{textAlign:"justify"},noWrap:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},gutterBottom:{marginBottom:"0.35em"},paragraph:{marginBottom:16},colorInherit:{color:"inherit"},colorPrimary:{color:t.palette.primary.main},colorSecondary:{color:t.palette.secondary.main},colorTextPrimary:{color:t.palette.text.primary},colorTextSecondary:{color:t.palette.text.secondary},colorError:{color:t.palette.error.main},displayInline:{display:"inline"},displayBlock:{display:"block"}}}),{name:"MuiTypography"})(l)},function(t,e,n){"use strict";var r=n(4),i=n(1),o=n(0),a=n(6),u=n(8),s=[0,1,2,3,4,5,6,7,8,9,10],c=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=parseFloat(t);return"".concat(n/e).concat(String(t).replace(String(n),"")||"px")}var f=o.forwardRef((function(t,e){var n=t.alignContent,u=void 0===n?"stretch":n,s=t.alignItems,c=void 0===s?"stretch":s,l=t.classes,f=t.className,h=t.component,d=void 0===h?"div":h,p=t.container,y=void 0!==p&&p,v=t.direction,b=void 0===v?"row":v,g=t.item,m=void 0!==g&&g,w=t.justify,k=t.justifyContent,_=void 0===k?"flex-start":k,x=t.lg,S=void 0!==x&&x,E=t.md,T=void 0!==E&&E,O=t.sm,L=void 0!==O&&O,I=t.spacing,A=void 0===I?0:I,j=t.wrap,N=void 0===j?"wrap":j,B=t.xl,P=void 0!==B&&B,C=t.xs,F=void 0!==C&&C,D=t.zeroMinWidth,M=void 0!==D&&D,R=Object(r.a)(t,["alignContent","alignItems","classes","className","component","container","direction","item","justify","justifyContent","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),U=Object(a.a)(l.root,f,y&&[l.container,0!==A&&l["spacing-xs-".concat(String(A))]],m&&l.item,M&&l.zeroMinWidth,"row"!==b&&l["direction-xs-".concat(String(b))],"wrap"!==N&&l["wrap-xs-".concat(String(N))],"stretch"!==c&&l["align-items-xs-".concat(String(c))],"stretch"!==u&&l["align-content-xs-".concat(String(u))],"flex-start"!==(w||_)&&l["justify-content-xs-".concat(String(w||_))],!1!==F&&l["grid-xs-".concat(String(F))],!1!==L&&l["grid-sm-".concat(String(L))],!1!==T&&l["grid-md-".concat(String(T))],!1!==S&&l["grid-lg-".concat(String(S))],!1!==P&&l["grid-xl-".concat(String(P))]);return o.createElement(d,Object(i.a)({className:U,ref:e},R))})),h=Object(u.a)((function(t){return Object(i.a)({root:{},container:{boxSizing:"border-box",display:"flex",flexWrap:"wrap",width:"100%"},item:{boxSizing:"border-box",margin:"0"},zeroMinWidth:{minWidth:0},"direction-xs-column":{flexDirection:"column"},"direction-xs-column-reverse":{flexDirection:"column-reverse"},"direction-xs-row-reverse":{flexDirection:"row-reverse"},"wrap-xs-nowrap":{flexWrap:"nowrap"},"wrap-xs-wrap-reverse":{flexWrap:"wrap-reverse"},"align-items-xs-center":{alignItems:"center"},"align-items-xs-flex-start":{alignItems:"flex-start"},"align-items-xs-flex-end":{alignItems:"flex-end"},"align-items-xs-baseline":{alignItems:"baseline"},"align-content-xs-center":{alignContent:"center"},"align-content-xs-flex-start":{alignContent:"flex-start"},"align-content-xs-flex-end":{alignContent:"flex-end"},"align-content-xs-space-between":{alignContent:"space-between"},"align-content-xs-space-around":{alignContent:"space-around"},"justify-content-xs-center":{justifyContent:"center"},"justify-content-xs-flex-end":{justifyContent:"flex-end"},"justify-content-xs-space-between":{justifyContent:"space-between"},"justify-content-xs-space-around":{justifyContent:"space-around"},"justify-content-xs-space-evenly":{justifyContent:"space-evenly"}},function(t,e){var n={};return s.forEach((function(r){var i=t.spacing(r);0!==i&&(n["spacing-".concat(e,"-").concat(r)]={margin:"-".concat(l(i,2)),width:"calc(100% + ".concat(l(i),")"),"& > $item":{padding:l(i,2)}})})),n}(t,"xs"),t.breakpoints.keys.reduce((function(e,n){return function(t,e,n){var r={};c.forEach((function(t){var e="grid-".concat(n,"-").concat(t);if(!0!==t)if("auto"!==t){var i="".concat(Math.round(t/12*1e8)/1e6,"%");r[e]={flexBasis:i,flexGrow:0,maxWidth:i}}else r[e]={flexBasis:"auto",flexGrow:0,maxWidth:"none"};else r[e]={flexBasis:0,flexGrow:1,maxWidth:"100%"}})),"xs"===n?Object(i.a)(t,r):t[e.breakpoints.up(n)]=r}(e,t,n),e}),{}))}),{name:"MuiGrid"})(f);e.a=h},function(t,e,n){"use strict";var r=n(1),i=n(4),o=n(0),a=n.n(o),u=n(6),s=n(8),c=n(10),l=n(12),f=n(26);var h=o.createContext();var d=h;var p=n(13);function y(t,e){"function"===typeof t?t(e):t&&(t.current=e)}function v(t,e){return o.useMemo((function(){return null==t&&null==e?null:function(n){y(t,n),y(e,n)}}),[t,e])}var b="undefined"!==typeof window?o.useLayoutEffect:o.useEffect;function g(t){var e=o.useRef(t);return b((function(){e.current=t})),o.useCallback((function(){return e.current.apply(void 0,arguments)}),[])}var m=!0,w=!1,k=null,_={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function x(t){t.metaKey||t.altKey||t.ctrlKey||(m=!0)}function S(){m=!1}function E(){"hidden"===this.visibilityState&&w&&(m=!0)}function T(t){var e=t.target;try{return e.matches(":focus-visible")}catch(n){}return m||function(t){var e=t.type,n=t.tagName;return!("INPUT"!==n||!_[e]||t.readOnly)||("TEXTAREA"===n&&!t.readOnly||!!t.isContentEditable)}(e)}function O(){w=!0,window.clearTimeout(k),k=window.setTimeout((function(){w=!1}),100)}function L(){return{isFocusVisible:T,onBlurVisible:O,ref:o.useCallback((function(t){var e,n=p.findDOMNode(t);null!=n&&((e=n.ownerDocument).addEventListener("keydown",x,!0),e.addEventListener("mousedown",S,!0),e.addEventListener("pointerdown",S,!0),e.addEventListener("touchstart",S,!0),e.addEventListener("visibilitychange",E,!0))}),[])}}var I=n(16),A=n(15),j=n(20),N=n(19),B=a.a.createContext(null);function P(t,e){var n=Object.create(null);return t&&o.Children.map(t,(function(t){return t})).forEach((function(t){n[t.key]=function(t){return e&&Object(o.isValidElement)(t)?e(t):t}(t)})),n}function C(t,e,n){return null!=n[e]?n[e]:t.props[e]}function F(t,e,n){var r=P(t.children),i=function(t,e){function n(n){return n in e?e[n]:t[n]}t=t||{},e=e||{};var r,i=Object.create(null),o=[];for(var a in t)a in e?o.length&&(i[a]=o,o=[]):o.push(a);var u={};for(var s in e){if(i[s])for(r=0;r<i[s].length;r++){var c=i[s][r];u[i[s][r]]=n(c)}u[s]=n(s)}for(r=0;r<o.length;r++)u[o[r]]=n(o[r]);return u}(e,r);return Object.keys(i).forEach((function(a){var u=i[a];if(Object(o.isValidElement)(u)){var s=a in e,c=a in r,l=e[a],f=Object(o.isValidElement)(l)&&!l.props.in;!c||s&&!f?c||!s||f?c&&s&&Object(o.isValidElement)(l)&&(i[a]=Object(o.cloneElement)(u,{onExited:n.bind(null,u),in:l.props.in,exit:C(u,"exit",t),enter:C(u,"enter",t)})):i[a]=Object(o.cloneElement)(u,{in:!1}):i[a]=Object(o.cloneElement)(u,{onExited:n.bind(null,u),in:!0,exit:C(u,"exit",t),enter:C(u,"enter",t)})}})),i}var D=Object.values||function(t){return Object.keys(t).map((function(e){return t[e]}))},M=function(t){function e(e,n){var r,i=(r=t.call(this,e,n)||this).handleExited.bind(Object(j.a)(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}Object(N.a)(e,t);var n=e.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},e.getDerivedStateFromProps=function(t,e){var n,r,i=e.children,a=e.handleExited;return{children:e.firstRender?(n=t,r=a,P(n.children,(function(t){return Object(o.cloneElement)(t,{onExited:r.bind(null,t),in:!0,appear:C(t,"appear",n),enter:C(t,"enter",n),exit:C(t,"exit",n)})}))):F(t,i,a),firstRender:!1}},n.handleExited=function(t,e){var n=P(this.props.children);t.key in n||(t.props.onExited&&t.props.onExited(e),this.mounted&&this.setState((function(e){var n=Object(r.a)({},e.children);return delete n[t.key],{children:n}})))},n.render=function(){var t=this.props,e=t.component,n=t.childFactory,r=Object(A.a)(t,["component","childFactory"]),i=this.state.contextValue,o=D(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===e?a.a.createElement(B.Provider,{value:i},o):a.a.createElement(B.Provider,{value:i},a.a.createElement(e,r,o))},e}(a.a.Component);M.propTypes={},M.defaultProps={component:"div",childFactory:function(t){return t}};var R=M,U="undefined"===typeof window?o.useEffect:o.useLayoutEffect;var z=function(t){var e=t.classes,n=t.pulsate,r=void 0!==n&&n,i=t.rippleX,a=t.rippleY,s=t.rippleSize,c=t.in,l=t.onExited,f=void 0===l?function(){}:l,h=t.timeout,d=o.useState(!1),p=d[0],y=d[1],v=Object(u.a)(e.ripple,e.rippleVisible,r&&e.ripplePulsate),b={width:s,height:s,top:-s/2+a,left:-s/2+i},m=Object(u.a)(e.child,p&&e.childLeaving,r&&e.childPulsate),w=g(f);return U((function(){if(!c){y(!0);var t=setTimeout(w,h);return function(){clearTimeout(t)}}}),[w,c,h]),o.createElement("span",{className:v,style:b},o.createElement("span",{className:m}))},V=o.forwardRef((function(t,e){var n=t.center,a=void 0!==n&&n,s=t.classes,c=t.className,l=Object(i.a)(t,["center","classes","className"]),f=o.useState([]),h=f[0],d=f[1],p=o.useRef(0),y=o.useRef(null);o.useEffect((function(){y.current&&(y.current(),y.current=null)}),[h]);var v=o.useRef(!1),b=o.useRef(null),g=o.useRef(null),m=o.useRef(null);o.useEffect((function(){return function(){clearTimeout(b.current)}}),[]);var w=o.useCallback((function(t){var e=t.pulsate,n=t.rippleX,r=t.rippleY,i=t.rippleSize,a=t.cb;d((function(t){return[].concat(Object(I.a)(t),[o.createElement(z,{key:p.current,classes:s,timeout:550,pulsate:e,rippleX:n,rippleY:r,rippleSize:i})])})),p.current+=1,y.current=a}),[s]),k=o.useCallback((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=e.pulsate,i=void 0!==r&&r,o=e.center,u=void 0===o?a||e.pulsate:o,s=e.fakeElement,c=void 0!==s&&s;if("mousedown"===t.type&&v.current)v.current=!1;else{"touchstart"===t.type&&(v.current=!0);var l,f,h,d=c?null:m.current,p=d?d.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(u||0===t.clientX&&0===t.clientY||!t.clientX&&!t.touches)l=Math.round(p.width/2),f=Math.round(p.height/2);else{var y=t.touches?t.touches[0]:t,k=y.clientX,_=y.clientY;l=Math.round(k-p.left),f=Math.round(_-p.top)}if(u)(h=Math.sqrt((2*Math.pow(p.width,2)+Math.pow(p.height,2))/3))%2===0&&(h+=1);else{var x=2*Math.max(Math.abs((d?d.clientWidth:0)-l),l)+2,S=2*Math.max(Math.abs((d?d.clientHeight:0)-f),f)+2;h=Math.sqrt(Math.pow(x,2)+Math.pow(S,2))}t.touches?null===g.current&&(g.current=function(){w({pulsate:i,rippleX:l,rippleY:f,rippleSize:h,cb:n})},b.current=setTimeout((function(){g.current&&(g.current(),g.current=null)}),80)):w({pulsate:i,rippleX:l,rippleY:f,rippleSize:h,cb:n})}}),[a,w]),_=o.useCallback((function(){k({},{pulsate:!0})}),[k]),x=o.useCallback((function(t,e){if(clearTimeout(b.current),"touchend"===t.type&&g.current)return t.persist(),g.current(),g.current=null,void(b.current=setTimeout((function(){x(t,e)})));g.current=null,d((function(t){return t.length>0?t.slice(1):t})),y.current=e}),[]);return o.useImperativeHandle(e,(function(){return{pulsate:_,start:k,stop:x}}),[_,k,x]),o.createElement("span",Object(r.a)({className:Object(u.a)(s.root,c),ref:m},l),o.createElement(R,{component:null,exit:!0},h))})),G=Object(s.a)((function(t){return{root:{overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"},ripple:{opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"$enter ".concat(550,"ms ").concat(t.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(t.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"$exit ".concat(550,"ms ").concat(t.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"$pulsate 2500ms ".concat(t.transitions.easing.easeInOut," 200ms infinite")},"@keyframes enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}}),{flip:!1,name:"MuiTouchRipple"})(o.memo(V)),W=o.forwardRef((function(t,e){var n=t.action,a=t.buttonRef,s=t.centerRipple,c=void 0!==s&&s,l=t.children,f=t.classes,h=t.className,d=t.component,y=void 0===d?"button":d,b=t.disabled,m=void 0!==b&&b,w=t.disableRipple,k=void 0!==w&&w,_=t.disableTouchRipple,x=void 0!==_&&_,S=t.focusRipple,E=void 0!==S&&S,T=t.focusVisibleClassName,O=t.onBlur,I=t.onClick,A=t.onFocus,j=t.onFocusVisible,N=t.onKeyDown,B=t.onKeyUp,P=t.onMouseDown,C=t.onMouseLeave,F=t.onMouseUp,D=t.onTouchEnd,M=t.onTouchMove,R=t.onTouchStart,U=t.onDragLeave,z=t.tabIndex,V=void 0===z?0:z,W=t.TouchRippleProps,Y=t.type,H=void 0===Y?"button":Y,$=Object(i.a)(t,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onClick","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","onDragLeave","tabIndex","TouchRippleProps","type"]),K=o.useRef(null);var q=o.useRef(null),Q=o.useState(!1),J=Q[0],X=Q[1];m&&J&&X(!1);var Z=L(),tt=Z.isFocusVisible,et=Z.onBlurVisible,nt=Z.ref;function rt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:x;return g((function(r){return e&&e(r),!n&&q.current&&q.current[t](r),!0}))}o.useImperativeHandle(n,(function(){return{focusVisible:function(){X(!0),K.current.focus()}}}),[]),o.useEffect((function(){J&&E&&!k&&q.current.pulsate()}),[k,E,J]);var it=rt("start",P),ot=rt("stop",U),at=rt("stop",F),ut=rt("stop",(function(t){J&&t.preventDefault(),C&&C(t)})),st=rt("start",R),ct=rt("stop",D),lt=rt("stop",M),ft=rt("stop",(function(t){J&&(et(t),X(!1)),O&&O(t)}),!1),ht=g((function(t){K.current||(K.current=t.currentTarget),tt(t)&&(X(!0),j&&j(t)),A&&A(t)})),dt=function(){var t=p.findDOMNode(K.current);return y&&"button"!==y&&!("A"===t.tagName&&t.href)},pt=o.useRef(!1),yt=g((function(t){E&&!pt.current&&J&&q.current&&" "===t.key&&(pt.current=!0,t.persist(),q.current.stop(t,(function(){q.current.start(t)}))),t.target===t.currentTarget&&dt()&&" "===t.key&&t.preventDefault(),N&&N(t),t.target===t.currentTarget&&dt()&&"Enter"===t.key&&!m&&(t.preventDefault(),I&&I(t))})),vt=g((function(t){E&&" "===t.key&&q.current&&J&&!t.defaultPrevented&&(pt.current=!1,t.persist(),q.current.stop(t,(function(){q.current.pulsate(t)}))),B&&B(t),I&&t.target===t.currentTarget&&dt()&&" "===t.key&&!t.defaultPrevented&&I(t)})),bt=y;"button"===bt&&$.href&&(bt="a");var gt={};"button"===bt?(gt.type=H,gt.disabled=m):("a"===bt&&$.href||(gt.role="button"),gt["aria-disabled"]=m);var mt=v(a,e),wt=v(nt,K),kt=v(mt,wt),_t=o.useState(!1),xt=_t[0],St=_t[1];o.useEffect((function(){St(!0)}),[]);var Et=xt&&!k&&!m;return o.createElement(bt,Object(r.a)({className:Object(u.a)(f.root,h,J&&[f.focusVisible,T],m&&f.disabled),onBlur:ft,onClick:I,onFocus:ht,onKeyDown:yt,onKeyUp:vt,onMouseDown:it,onMouseLeave:ut,onMouseUp:at,onDragLeave:ot,onTouchEnd:ct,onTouchMove:lt,onTouchStart:st,ref:kt,tabIndex:m?-1:V},gt,$),l,Et?o.createElement(G,Object(r.a)({ref:q,center:c},W)):null)})),Y=Object(s.a)({root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}},disabled:{},focusVisible:{}},{name:"MuiButtonBase"})(W),H=o.forwardRef((function(t,e){var n=t.edge,a=void 0!==n&&n,s=t.children,c=t.classes,f=t.className,h=t.color,d=void 0===h?"default":h,p=t.disabled,y=void 0!==p&&p,v=t.disableFocusRipple,b=void 0!==v&&v,g=t.size,m=void 0===g?"medium":g,w=Object(i.a)(t,["edge","children","classes","className","color","disabled","disableFocusRipple","size"]);return o.createElement(Y,Object(r.a)({className:Object(u.a)(c.root,f,"default"!==d&&c["color".concat(Object(l.a)(d))],y&&c.disabled,"small"===m&&c["size".concat(Object(l.a)(m))],{start:c.edgeStart,end:c.edgeEnd}[a]),centerRipple:!0,focusRipple:!b,disabled:y,ref:e},w),o.createElement("span",{className:c.label},s))})),$=Object(s.a)((function(t){return{root:{textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:12,borderRadius:"50%",overflow:"visible",color:t.palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{backgroundColor:Object(c.a)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{backgroundColor:"transparent",color:t.palette.action.disabled}},edgeStart:{marginLeft:-12,"$sizeSmall&":{marginLeft:-3}},edgeEnd:{marginRight:-12,"$sizeSmall&":{marginRight:-3}},colorInherit:{color:"inherit"},colorPrimary:{color:t.palette.primary.main,"&:hover":{backgroundColor:Object(c.a)(t.palette.primary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:t.palette.secondary.main,"&:hover":{backgroundColor:Object(c.a)(t.palette.secondary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},disabled:{},sizeSmall:{padding:3,fontSize:t.typography.pxToRem(18)},label:{width:"100%",display:"flex",alignItems:"inherit",justifyContent:"inherit"}}}),{name:"MuiIconButton"})(H),K=o.forwardRef((function(t,e){var n=t.autoFocus,a=t.checked,s=t.checkedIcon,c=t.classes,l=t.className,h=t.defaultChecked,p=t.disabled,y=t.icon,v=t.id,b=t.inputProps,g=t.inputRef,m=t.name,w=t.onBlur,k=t.onChange,_=t.onFocus,x=t.readOnly,S=t.required,E=t.tabIndex,T=t.type,O=t.value,L=Object(i.a)(t,["autoFocus","checked","checkedIcon","classes","className","defaultChecked","disabled","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"]),I=function(t){var e=t.controlled,n=t.default,r=(t.name,t.state,o.useRef(void 0!==e).current),i=o.useState(n),a=i[0],u=i[1];return[r?e:a,o.useCallback((function(t){r||u(t)}),[])]}({controlled:a,default:Boolean(h),name:"SwitchBase",state:"checked"}),A=Object(f.a)(I,2),j=A[0],N=A[1],B=o.useContext(d),P=p;B&&"undefined"===typeof P&&(P=B.disabled);var C="checkbox"===T||"radio"===T;return o.createElement($,Object(r.a)({component:"span",className:Object(u.a)(c.root,l,j&&c.checked,P&&c.disabled),disabled:P,tabIndex:null,role:void 0,onFocus:function(t){_&&_(t),B&&B.onFocus&&B.onFocus(t)},onBlur:function(t){w&&w(t),B&&B.onBlur&&B.onBlur(t)},ref:e},L),o.createElement("input",Object(r.a)({autoFocus:n,checked:a,defaultChecked:h,className:c.input,disabled:P,id:C&&v,name:m,onChange:function(t){var e=t.target.checked;N(e),k&&k(t,e)},readOnly:x,ref:g,required:S,tabIndex:E,type:T,value:O},b)),j?s:y)})),q=Object(s.a)({root:{padding:9},checked:{},disabled:{},input:{cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}},{name:"PrivateSwitchBase"})(K),Q=o.forwardRef((function(t,e){var n=t.classes,a=t.className,s=t.color,c=void 0===s?"secondary":s,f=t.edge,h=void 0!==f&&f,d=t.size,p=void 0===d?"medium":d,y=Object(i.a)(t,["classes","className","color","edge","size"]),v=o.createElement("span",{className:n.thumb});return o.createElement("span",{className:Object(u.a)(n.root,a,{start:n.edgeStart,end:n.edgeEnd}[h],"small"===p&&n["size".concat(Object(l.a)(p))])},o.createElement(q,Object(r.a)({type:"checkbox",icon:v,checkedIcon:v,classes:{root:Object(u.a)(n.switchBase,n["color".concat(Object(l.a)(c))]),input:n.input,checked:n.checked,disabled:n.disabled},ref:e},y)),o.createElement("span",{className:n.track}))}));e.a=Object(s.a)((function(t){return{root:{display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},edgeStart:{marginLeft:-8},edgeEnd:{marginRight:-8},switchBase:{position:"absolute",top:0,left:0,zIndex:1,color:"light"===t.palette.type?t.palette.grey[50]:t.palette.grey[400],transition:t.transitions.create(["left","transform"],{duration:t.transitions.duration.shortest}),"&$checked":{transform:"translateX(20px)"},"&$disabled":{color:"light"===t.palette.type?t.palette.grey[400]:t.palette.grey[800]},"&$checked + $track":{opacity:.5},"&$disabled + $track":{opacity:"light"===t.palette.type?.12:.1}},colorPrimary:{"&$checked":{color:t.palette.primary.main,"&:hover":{backgroundColor:Object(c.a)(t.palette.primary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:"light"===t.palette.type?t.palette.grey[400]:t.palette.grey[800]},"&$checked + $track":{backgroundColor:t.palette.primary.main},"&$disabled + $track":{backgroundColor:"light"===t.palette.type?t.palette.common.black:t.palette.common.white}},colorSecondary:{"&$checked":{color:t.palette.secondary.main,"&:hover":{backgroundColor:Object(c.a)(t.palette.secondary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:"light"===t.palette.type?t.palette.grey[400]:t.palette.grey[800]},"&$checked + $track":{backgroundColor:t.palette.secondary.main},"&$disabled + $track":{backgroundColor:"light"===t.palette.type?t.palette.common.black:t.palette.common.white}},sizeSmall:{width:40,height:24,padding:7,"& $thumb":{width:16,height:16},"& $switchBase":{padding:4,"&$checked":{transform:"translateX(16px)"}}},checked:{},disabled:{},input:{left:"-100%",width:"300%"},thumb:{boxShadow:t.shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"},track:{height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:"light"===t.palette.type?t.palette.common.black:t.palette.common.white,opacity:"light"===t.palette.type?.38:.3}}}),{name:"MuiSwitch"})(Q)}]]);
|
3
|
+
//# sourceMappingURL=2.9720bf9e.chunk.js.map
|