!function(t){"function"==typeof define&&define.amd?define(t):t()}((function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function e(t,r){return t(r={exports:{}},r.exports),r.exports}var n=Object.freeze({__proto__:null,commonjsGlobal:t,commonjsRequire:function(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")},unwrapExports:r,createCommonjsModule:e,getCjsExportFromNamespace:function(t){return t&&t.default||t}}),o=a;function a(t,r){var e=s();return(a=function(t,r){return e[t-=447]})(t,r)}!function(t,r){for(var e=a,n=t();;)try{if(927167===-parseInt(e(452))/1+-parseInt(e(453))/2*(parseInt(e(447))/3)+parseInt(e(450))/4+parseInt(e(458))/5+parseInt(e(457))/6*(parseInt(e(456))/7)+parseInt(e(454))/8+-parseInt(e(451))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(s);var i=r(n[o(448)]((function(t){var r=o;t[r(455)]=function(t,r){if(!(t instanceof r))throw new TypeError(a(449))},t[r(455)].__esModule=!0,t[r(455)][r(459)]=t[r(455)]})));function s(){var t=["264677cOcFLq","168dLvoID","4243960yDPNjZ","default","114QEJcYM","createCommonjsModule","Cannot call a class as a function","3548332StMtnr","1663209bididS","1791355bxfyYU","6326HazIkj","1831472TPXydj","exports"];return(s=function(){return t})()}var u=l;function c(){var t=["6rEGxUR","2mqwOYk","45wOanao","4919495ejONyE","2872780YOGloE","1157460zmUThu","exports","84468uSzrBo","9LzvvBi","constructor","default","315577UOoQro","symbol","function","iterator","__esModule","prototype","12248192RmiGxs","unwrapExports","1712704gbojuS"];return(c=function(){return t})()}!function(t,r){for(var e=l,n=t();;)try{if(452999===parseInt(e(442))/1*(parseInt(e(452))/2)+-parseInt(e(459))/3*(parseInt(e(458))/4)+-parseInt(e(455))/5+-parseInt(e(451))/6*(parseInt(e(454))/7)+-parseInt(e(450))/8+-parseInt(e(453))/9*(-parseInt(e(456))/10)+parseInt(e(448))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(c);var f=e((function(t){var r=l;function e(r){var n=l;return t[n(457)]=e=n(444)==typeof Symbol&&n(443)==typeof Symbol[n(445)]?function(t){return typeof t}:function(t){var r=n;return t&&r(444)==typeof Symbol&&t[r(460)]===Symbol&&t!==Symbol[r(447)]?r(443):typeof t},t[n(457)].__esModule=!0,t.exports[n(441)]=t[n(457)],e(r)}t[r(457)]=e,t[r(457)][r(446)]=!0,t[r(457)][r(441)]=t[r(457)]}));function l(t,r){var e=c();return(l=function(t,r){return e[t-=441]})(t,r)}var p=n[u(449)](f),d=h;function h(t,r){var e=m();return(h=function(t,r){return e[t-=107]})(t,r)}!function(t,r){for(var e=h,n=t();;)try{if(763358===-parseInt(e(108))/1+-parseInt(e(111))/2*(parseInt(e(116))/3)+-parseInt(e(123))/4*(parseInt(e(125))/5)+parseInt(e(112))/6+-parseInt(e(124))/7+parseInt(e(113))/8+-parseInt(e(115))/9*(-parseInt(e(114))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(m);var v=e((function(t){var r=h,e=f[r(109)];t[r(121)]=function(t,n){var o=r;if(e(t)!==o(110)||null===t)return t;var a=t[Symbol[o(118)]];if(void 0!==a){var i=a[o(122)](t,n||"default");if(e(i)!==o(110))return i;throw new TypeError(o(119))}return(n===o(117)?String:Number)(t)},t[r(121)][r(120)]=!0,t[r(121)][r(109)]=t[r(121)]}));function m(){var t=["object","2WZBsWG","2235330ZzObFe","641664trWkkM","370vafzGm","532269OaaXFq","1285224ZvnazG","string","toPrimitive","@@toPrimitive must return a primitive value.","__esModule","exports","call","12qmAhKC","6269508SdatTG","192180xotjUb","unwrapExports","438262zFVNRZ","default"];return(m=function(){return t})()}n[d(107)](v);var y=g;function g(t,r){var e=w();return(g=function(t,r){return e[t-=314]})(t,r)}function w(){var t=["exports","5kYKjmN","createCommonjsModule","7tEHgJw","12cQtiVz","1140078XJaRMs","1321228nhAzLJ","3150472kwGRzP","2224820SozWuS","2547567GzfWHK","45hLaLZg","5961684mShJaX","1TwgQoy","unwrapExports","__esModule","22059620FFoaFD","symbol","string","default"];return(w=function(){return t})()}!function(t,r){for(var e=g,n=t();;)try{if(641486===parseInt(e(330))/1*(-parseInt(e(323))/2)+-parseInt(e(327))/3+parseInt(e(324))/4+parseInt(e(319))/5*(-parseInt(e(329))/6)+-parseInt(e(321))/7*(parseInt(e(325))/8)+-parseInt(e(328))/9*(-parseInt(e(326))/10)+parseInt(e(314))/11*(parseInt(e(322))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(w);var b=n[y(320)]((function(t){var r=y,e=f[r(317)];t[r(318)]=function(t){var n=r,o=v(t,n(316));return e(o)===n(315)?o:String(o)},t[r(318)][r(332)]=!0,t.exports.default=t[r(318)]}));n[y(331)](b);var _=E;function E(t,r){var e=P();return(E=function(t,r){return e[t-=193]})(t,r)}!function(t,r){for(var e=E,n=t();;)try{if(705307===-parseInt(e(196))/1*(-parseInt(e(201))/2)+parseInt(e(197))/3*(parseInt(e(200))/4)+parseInt(e(199))/5*(-parseInt(e(214))/6)+-parseInt(e(205))/7+-parseInt(e(202))/8*(-parseInt(e(203))/9)+parseInt(e(194))/10+parseInt(e(198))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(P);var I=n[_(206)]((function(t){var r=_;function e(t,r){for(var e=E,n=0;n<r[e(204)];n++){var o=r[n];o[e(211)]=o[e(211)]||!1,o[e(193)]=!0,e(215)in o&&(o[e(195)]=!0),Object[e(212)](t,b(o[e(209)]),o)}}t[r(207)]=function(t,r,n){var o=E;return r&&e(t[o(210)],r),n&&e(t,n),Object.defineProperty(t,o(210),{writable:!1}),t},t.exports.__esModule=!0,t[r(207)][r(213)]=t[r(207)]})),k=n[_(208)](I);function P(){var t=["length","8480465JBhvis","createCommonjsModule","exports","unwrapExports","key","prototype","enumerable","defineProperty","default","738licMim","value","configurable","2690410TpMzyK","writable","6XoxGrP","9qJmlcf","5114142kfEQXG","41670lamJFZ","984196OfETXY","386986ZGIUNZ","154408GuyZAa","144bLZnjO"];return(P=function(){return t})()}var C=S;function T(){var t=["this hasn't been initialised - super() hasn't been called","8npBEdA","exports","121848etHkuU","1270950xtydzG","581068FtbGwz","1329759wDESBa","__esModule","3hopYvn","895745zZlxvX","494235jcOWDq","default","createCommonjsModule","5378000swtYLU","8tYVvDx"];return(T=function(){return t})()}function S(t,r){var e=T();return(S=function(t,r){return e[t-=142]})(t,r)}!function(t,r){for(var e=S,n=t();;)try{if(213509===-parseInt(e(153))/1+-parseInt(e(155))/2*(-parseInt(e(143))/3)+parseInt(e(149))/4*(-parseInt(e(144))/5)+-parseInt(e(154))/6+-parseInt(e(145))/7*(parseInt(e(151))/8)+parseInt(e(156))/9+parseInt(e(148))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(T);var j=n[C(147)]((function(t){var r=C;t.exports=function(t){if(void 0===t)throw new ReferenceError(S(150));return t},t[r(152)][r(142)]=!0,t[r(152)][r(146)]=t[r(152)]})),F=r(j);function D(t,r){var e=A();return(D=function(t,r){return e[t-=112]})(t,r)}var x=D;!function(t,r){for(var e=D,n=t();;)try{if(423381===-parseInt(e(114))/1*(-parseInt(e(122))/2)+-parseInt(e(120))/3+-parseInt(e(119))/4*(-parseInt(e(126))/5)+parseInt(e(112))/6*(parseInt(e(129))/7)+parseInt(e(125))/8*(-parseInt(e(124))/9)+-parseInt(e(118))/10+parseInt(e(127))/11*(parseInt(e(117))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(A);var O=e((function(t){var r=D;function e(r,n){var o=D;return t[o(121)]=e=Object[o(115)]?Object[o(115)][o(113)]():function(t,r){return t[o(123)]=r,t},t[o(121)][o(130)]=!0,t[o(121)][o(128)]=t[o(121)],e(r,n)}t[r(121)]=e,t[r(121)][r(130)]=!0,t.exports[r(128)]=t[r(121)]}));function A(){var t=["30476KxxAAB","1091853dwQnOT","exports","1473114cuYrpi","__proto__","1626948jEYeiS","8OgOUJR","295UZwYBG","148478BSLSMt","default","57995NROSGz","__esModule","90VKCTrQ","bind","1ISWKrU","setPrototypeOf","unwrapExports","84dNbDYM","4367350XzPldl"];return(A=function(){return t})()}n[x(116)](O);var R=M;function M(t,r){var e=U();return(M=function(t,r){return e[t-=426]})(t,r)}!function(t,r){for(var e=M,n=t();;)try{if(347746===-parseInt(e(427))/1+parseInt(e(433))/2*(parseInt(e(431))/3)+parseInt(e(426))/4*(-parseInt(e(430))/5)+-parseInt(e(436))/6*(-parseInt(e(442))/7)+-parseInt(e(439))/8+parseInt(e(429))/9+parseInt(e(428))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(U);var $=n[R(438)]((function(t){var r=R;t[r(435)]=function(t,r){var e=M;if(typeof r!==e(443)&&null!==r)throw new TypeError(e(432));t[e(437)]=Object[e(440)](r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object[e(445)](t,"prototype",{writable:!1}),r&&O(t,r)},t.exports[r(441)]=!0,t.exports[r(444)]=t[r(435)]})),L=n[R(434)]($);function U(){var t=["create","__esModule","14259bAJjrF","function","default","defineProperty","4XUOdeX","277601XeQBoJ","4448670WBEamb","1978281jytPwp","2129230wpNyOt","129669dRYaee","Super expression must either be null or a function","18JBFXhc","unwrapExports","exports","1590VkriNd","prototype","createCommonjsModule","4338360WeVDut"];return(U=function(){return t})()}function z(){var t=["13iXSavK","1869511lyXfGu","4113QzsBUM","6DAieKO","__esModule","function","35859GmZqTU","exports","1138355qxtgam","7747656bGyIWv","8eUySeD","309937JuSfqR","1510AvHFSL","2aRuDbq","Derived constructors may only return object or undefined","1417625omKTwy","createCommonjsModule","168txRxie","unwrapExports","object"];return(z=function(){return t})()}var N=B;!function(t,r){for(var e=B,n=t();;)try{if(268551===-parseInt(e(506))/1*(parseInt(e(508))/2)+-parseInt(e(501))/3*(parseInt(e(492))/4)+parseInt(e(503))/5*(parseInt(e(498))/6)+-parseInt(e(496))/7*(-parseInt(e(505))/8)+parseInt(e(497))/9*(parseInt(e(507))/10)+-parseInt(e(490))/11+parseInt(e(504))/12*(parseInt(e(495))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(z);var W=n[N(491)]((function(t){var r=N,e=f.default;t.exports=function(t,r){var n=B;if(r&&(e(r)===n(494)||typeof r===n(500)))return r;if(void 0!==r)throw new TypeError(n(509));return j(t)},t.exports[r(499)]=!0,t[r(502)].default=t[r(502)]}));function B(t,r){var e=z();return(B=function(t,r){return e[t-=490]})(t,r)}var H=n[N(493)](W),V=q;function Y(){var t=["createCommonjsModule","getPrototypeOf","449492GdoxRy","7586765ZjBYIS","exports","default","__esModule","__proto__","1681664FNUYpt","unwrapExports","2520djQOxc","3659652ijYaro","bind","3021198GligSG","230916nopZRo","23264TLJFDo"];return(Y=function(){return t})()}function q(t,r){var e=Y();return(q=function(t,r){return e[t-=132]})(t,r)}!function(t,r){for(var e=q,n=t();;)try{if(826358===-parseInt(e(144))/1+parseInt(e(132))/2+parseInt(e(141))/3+-parseInt(e(138))/4+-parseInt(e(133))/5+parseInt(e(143))/6+parseInt(e(140))/7*(parseInt(e(145))/8))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Y);var G=n[V(146)]((function(t){var r=V;function e(r){var n=q;return t.exports=e=Object.setPrototypeOf?Object[n(147)][n(142)]():function(t){return t[n(137)]||Object.getPrototypeOf(t)},t.exports[n(136)]=!0,t[n(134)].default=t.exports,e(r)}t[r(134)]=e,t[r(134)][r(136)]=!0,t[r(134)][r(135)]=t.exports})),J=n[V(139)](G);function X(){var t=["createCommonjsModule","__esModule","28916yJBBSQ","11dmXaiq","exports","5766534NLfaIw","default","unwrapExports","291oVytVz","45830HQSRUm","1778235ZNmdkh","16970300cwUJHw","691624TFmyZI","13wNnBdJ","indexOf","toString","25902rkgYRx","77gpsFtU"];return(X=function(){return t})()}var Z=Q;function Q(t,r){var e=X();return(Q=function(t,r){return e[t-=321]})(t,r)}!function(t,r){for(var e=Q,n=t();;)try{if(546783===-parseInt(e(325))/1*(parseInt(e(321))/2)+parseInt(e(338))/3*(-parseInt(e(332))/4)+parseInt(e(322))/5+parseInt(e(328))/6*(parseInt(e(329))/7)+parseInt(e(324))/8+-parseInt(e(335))/9+parseInt(e(323))/10*(parseInt(e(333))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(X);var K=n[Z(330)]((function(t){var r=Z;t[r(334)]=function(t){var r=Q;return-1!==Function[r(327)].call(t)[r(326)]("[native code]")},t[r(334)][r(331)]=!0,t.exports[r(336)]=t[r(334)]}));n[Z(337)](K);var tt=nt;function rt(){var t=["unwrapExports","default","valueOf","1325288IPLpUR","exports","821795EjyGvw","1176580qCVGpr","604406usPiWS","6VuDvPQ","construct","666891HjaNNM","function","45GzOffP","7886655vGQeiA","__esModule","prototype","undefined","3528395rypHvE","call"];return(rt=function(){return t})()}!function(t,r){for(var e=nt,n=t();;)try{if(644831===parseInt(e(246))/1+parseInt(e(248))/2+parseInt(e(251))/3+-parseInt(e(247))/4+-parseInt(e(258))/5*(parseInt(e(249))/6)+parseInt(e(254))/7+parseInt(e(263))/8*(-parseInt(e(253))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rt);var et=e((function(t){var r=nt;t[r(245)]=function(){var t=nt;if(typeof Reflect===t(257)||!Reflect[t(250)])return!1;if(Reflect[t(250)].sham)return!1;if(typeof Proxy===t(252))return!0;try{return Boolean[t(256)][t(262)][t(259)](Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}},t.exports[r(255)]=!0,t[r(245)][r(261)]=t[r(245)]}));function nt(t,r){var e=rt();return(nt=function(t,r){return e[t-=245]})(t,r)}n[tt(260)](et);var ot=at;function at(t,r){var e=st();return(at=function(t,r){return e[t-=367]})(t,r)}!function(t,r){for(var e=at,n=t();;)try{if(549672===-parseInt(e(385))/1+-parseInt(e(387))/2*(parseInt(e(368))/3)+parseInt(e(371))/4+parseInt(e(369))/5*(parseInt(e(381))/6)+parseInt(e(370))/7*(parseInt(e(376))/8)+-parseInt(e(380))/9*(parseInt(e(372))/10)+parseInt(e(374))/11*(parseInt(e(383))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(st);var it=n[ot(367)]((function(t){var r=ot;function e(r,n,o){var a=at;return et()?(t[a(379)]=e=Reflect.construct.bind(),t[a(379)][a(375)]=!0,t[a(379)][a(373)]=t[a(379)]):(t[a(379)]=e=function(t,r,e){var n=a,o=[null];o[n(377)][n(378)](o,r);var i=new(Function[n(382)].apply(t,o));return e&&O(i,e[n(384)]),i},t[a(379)][a(375)]=!0,t[a(379)][a(373)]=t[a(379)]),e[a(378)](null,arguments)}t[r(379)]=e,t[r(379)][r(375)]=!0,t.exports[r(373)]=t[r(379)]}));function st(){var t=["243839uucDgV","unwrapExports","446VfKgkq","createCommonjsModule","3378erXBep","70EZLLOX","315gXbGlm","1783092HCeFZQ","1431070qOtvrj","default","97207xJPwQB","__esModule","20168WYfjBq","push","apply","exports","18OmIhRX","213282Dtecsz","bind","372aTiSZg","prototype"];return(st=function(){return t})()}n[ot(386)](it);var ut=ct;function ct(t,r){var e=ft();return(ct=function(t,r){return e[t-=223]})(t,r)}function ft(){var t=["219448cqaWEp","function","16572SxhkkC","Super expression must either be null or a function","unwrapExports","260pcrBZz","12DXWaYm","get","create","default","893669VfRSRx","133060UBqUri","4vAexfq","createCommonjsModule","74659AkDPZs","52BeiyMg","75190LGNeWX","exports","__esModule","385944iZZoYX","22dPBWqy","90KozdaV"];return(ft=function(){return t})()}!function(t,r){for(var e=ct,n=t();;)try{if(172121===parseInt(e(224))/1+-parseInt(e(244))/2*(parseInt(e(234))/3)+-parseInt(e(225))/4*(-parseInt(e(226))/5)+-parseInt(e(238))/6*(-parseInt(e(242))/7)+-parseInt(e(232))/8*(-parseInt(e(231))/9)+-parseInt(e(243))/10*(-parseInt(e(230))/11)+parseInt(e(229))/12*(-parseInt(e(237))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ft);var lt=n[ut(223)]((function(t){var r=ut;function e(r){var n=ct,o=typeof Map===n(233)?new Map:void 0;return t.exports=e=function(t){var r=n;if(null===t||!K(t))return t;if(typeof t!==r(233))throw new TypeError(r(235));if(void 0!==o){if(o.has(t))return o[r(239)](t);o.set(t,e)}function e(){return it(t,arguments,G(this).constructor)}return e.prototype=Object[r(240)](t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),O(e,t)},t[n(227)][n(228)]=!0,t.exports[n(241)]=t[n(227)],e(r)}t[r(227)]=e,t[r(227)][r(228)]=!0,t[r(227)][r(241)]=t[r(227)]})),pt=n[ut(236)](lt),dt=ht;function ht(t,r){var e=yt();return(ht=function(t,r){return e[t-=172]})(t,r)}!function(t,r){for(var e=ht,n=t();;)try{if(459307===parseInt(e(176))/1+-parseInt(e(173))/2*(-parseInt(e(182))/3)+parseInt(e(184))/4+parseInt(e(189))/5+parseInt(e(185))/6*(parseInt(e(175))/7)+-parseInt(e(172))/8*(parseInt(e(179))/9)+parseInt(e(190))/10*(-parseInt(e(191))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(yt);var vt=e((function(t){var r=ht;function e(t,r,e,n,o,a,i){var s=ht;try{var u=t[a](i),c=u.value}catch(t){return void e(t)}u[s(174)]?r(c):Promise.resolve(c)[s(188)](n,o)}t.exports=function(t){return function(){var r=this,n=arguments;return new Promise((function(o,a){var i=ht,s=t[i(183)](r,n);function u(t){e(s,o,a,u,c,i(180),t)}function c(t){e(s,o,a,u,c,i(177),t)}u(void 0)}))}},t[r(178)][r(181)]=!0,t[r(178)][r(187)]=t[r(178)]})),mt=n[dt(186)](vt);function yt(){var t=["411393kDcepH","apply","3561172IWyjaD","402642QUixDs","unwrapExports","default","then","3608880ZkCaGM","21191980ZDjYjX","11ozGBxe","4356376HHeMuA","2lwdwqW","done","70bgvrWW","702782EqEeYW","throw","exports","9AlYkJu","next","__esModule"];return(yt=function(){return t})()}function gt(){var t=["tryEntries","12124409VhyxgC","executing","__proto__","toString","next","setPrototypeOf","_invoke","default","finallyLoc","hasOwnProperty","suspendedYield","34947zHVCdl","value","1pljIFC","continue","push","prev","values","GeneratorFunction","function","object","__esModule","name","method","14260IgSTdq","exports","throw","335DniHNS","' method","prototype","suspendedStart","root","call","then","return","break","displayName","catchLoc","getPrototypeOf","normal","defineProperty","abrupt","isGeneratorFunction","__await","rval","pop","1496344QwlEIG","21gUcIsp","iterator result is not an object","1174902TvvCUO","try statement without catch or finally","afterLoc","3599208bRMnTM","2045898ZAJAGV","reset","async","mark","completed","iterator","slice","arg","constructor","resolve","forEach","length","sent","end","wrap","done","@@iterator","_sent","keys","1850oIYMXp","completion","create","type","Generator is already running","delegate","@@toStringTag","tryLoc","Generator","[object Generator]","reverse","@@asyncIterator"];return(gt=function(){return t})()}function wt(t,r){var e=gt();return(wt=function(t,r){return e[t-=220]})(t,r)}!function(t,r){for(var e=wt,n=t();;)try{if(551375===-parseInt(e(226))/1*(-parseInt(e(259))/2)+-parseInt(e(266))/3+-parseInt(e(237))/4*(-parseInt(e(240))/5)+-parseInt(e(262))/6*(parseInt(e(260))/7)+parseInt(e(265))/8+-parseInt(e(224))/9*(parseInt(e(285))/10)+parseInt(e(298))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(gt);var bt=e((function(t){var r=wt,e=f[r(220)];function n(){var o=r;t.exports=n=function(){return a},t[o(238)][o(234)]=!0,t.exports[o(220)]=t[o(238)];var a={},i=Object[o(242)],s=i[o(222)],u=Object[o(253)]||function(t,r,e){t[r]=e.value},c="function"==typeof Symbol?Symbol:{},f=c.iterator||o(282),l=c.asyncIterator||o(296),p=c.toStringTag||o(291);function d(t,r,e){return Object[o(253)](t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{d({},"")}catch(t){d=function(t,r,e){return t[r]=e}}function h(t,r,e,n){var a,i,s,c,f,l=o,p=r&&r[l(242)]instanceof y?r:y,d=Object[l(287)](p[l(242)]),h=new j(n||[]);return u(d,l(304),{value:(a=t,i=e,s=h,c=o,f=c(243),function(t,r){var e=c;if(e(299)===f)throw new Error(e(289));if(e(270)===f){if(e(239)===t)throw r;return D()}for(s[e(236)]=t,s[e(273)]=r;;){var n=s[e(290)];if(n){var o=C(n,s);if(o){if(o===m)continue;return o}}if("next"===s[e(236)])s[e(278)]=s[e(283)]=s.arg;else if(e(239)===s[e(236)]){if(e(243)===f)throw f=e(270),s[e(273)];s.dispatchException(s[e(273)])}else e(247)===s[e(236)]&&s[e(254)]("return",s.arg);f=e(299);var u=v(a,i,s);if(e(252)===u[e(288)]){if(f=s[e(281)]?e(270):e(223),u[e(273)]===m)continue;return{value:u[e(273)],done:s[e(281)]}}e(239)===u[e(288)]&&(f=e(270),s[e(236)]=e(239),s.arg=u[e(273)])}})}),d}function v(t,r,e){var n=o;try{return{type:n(252),arg:t[n(245)](r,e)}}catch(t){return{type:n(239),arg:t}}}a[o(280)]=h;var m={};function y(){}function g(){}function w(){}var b={};d(b,f,(function(){return this}));var _=Object[o(251)],E=_&&_(_(F([])));E&&E!==i&&s.call(E,f)&&(b=E);var I=w[o(242)]=y.prototype=Object[o(287)](b);function k(t){var r=o;["next",r(239),r(247)][r(276)]((function(r){d(t,r,(function(t){return this[wt(304)](r,t)}))}))}function P(t,r){var n,a=o;function i(n,o,a,u){var c=wt,f=v(t[n],t,o);if(c(239)!==f[c(288)]){var l=f.arg,p=l[c(225)];return p&&c(233)==e(p)&&s[c(245)](p,"__await")?r[c(275)](p[c(256)])[c(246)]((function(t){i("next",t,a,u)}),(function(t){i(c(239),t,a,u)})):r[c(275)](p)[c(246)]((function(t){l[c(225)]=t,a(l)}),(function(t){return i(c(239),t,a,u)}))}u(f[c(273)])}u(this,a(304),{value:function(t,e){function o(){return new r((function(r,n){i(t,e,r,n)}))}return n=n?n[a(246)](o,o):o()}})}function C(t,r){var e=o,n=r[e(236)],a=t[e(271)][n];if(void 0===a)return r[e(290)]=null,e(239)===n&&t[e(271)][e(247)]&&(r[e(236)]=e(247),r[e(273)]=void 0,C(t,r),e(239)===r[e(236)])||e(247)!==n&&(r[e(236)]="throw",r[e(273)]=new TypeError("The iterator does not provide a '"+n+e(241))),m;var i=v(a,t[e(271)],r.arg);if("throw"===i[e(288)])return r[e(236)]=e(239),r[e(273)]=i[e(273)],r.delegate=null,m;var s=i.arg;return s?s.done?(r[t.resultName]=s[e(225)],r[e(302)]=t.nextLoc,e(247)!==r[e(236)]&&(r[e(236)]=e(302),r[e(273)]=void 0),r.delegate=null,m):s:(r.method=e(239),r[e(273)]=new TypeError(e(261)),r[e(290)]=null,m)}function T(t){var r=o,e={tryLoc:t[0]};1 in t&&(e[r(250)]=t[1]),2 in t&&(e[r(221)]=t[2],e.afterLoc=t[3]),this[r(297)][r(228)](e)}function S(t){var r=o,e=t[r(286)]||{};e[r(288)]=r(252),delete e[r(273)],t[r(286)]=e}function j(t){var r=o;this[r(297)]=[{tryLoc:r(244)}],t[r(276)](T,this),this[r(267)](!0)}function F(t){var r=o;if(t){var e=t[f];if(e)return e[r(245)](t);if("function"==typeof t.next)return t;if(!isNaN(t[r(277)])){var n=-1,a=function e(){for(var o=r;++n<t[o(277)];)if(s.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e[o(281)]=!0,e};return a[r(302)]=a}}return{next:D}}function D(){return{value:void 0,done:!0}}return g[o(242)]=w,u(I,"constructor",{value:w,configurable:!0}),u(w,o(274),{value:g,configurable:!0}),g[o(249)]=d(w,p,o(231)),a[o(255)]=function(t){var r=o,e=r(232)==typeof t&&t[r(274)];return!!e&&(e===g||"GeneratorFunction"===(e[r(249)]||e[r(235)]))},a[o(269)]=function(t){var r=o;return Object[r(303)]?Object[r(303)](t,w):(t[r(300)]=w,d(t,p,r(231))),t[r(242)]=Object[r(287)](I),t},a.awrap=function(t){return{__await:t}},k(P[o(242)]),d(P[o(242)],l,(function(){return this})),a.AsyncIterator=P,a[o(268)]=function(t,r,e,n,i){var s=o;void 0===i&&(i=Promise);var u=new P(h(t,r,e,n),i);return a[s(255)](r)?u:u.next()[s(246)]((function(t){var r=s;return t.done?t[r(225)]:u[r(302)]()}))},k(I),d(I,p,o(293)),d(I,f,(function(){return this})),d(I,o(301),(function(){return o(294)})),a[o(284)]=function(t){var r=o,e=Object(t),n=[];for(var a in e)n[r(228)](a);return n[r(295)](),function t(){for(var o=r;n[o(277)];){var a=n[o(258)]();if(a in e)return t[o(225)]=a,t[o(281)]=!1,t}return t[o(281)]=!0,t}},a[o(230)]=F,j[o(242)]={constructor:j,reset:function(t){var r=o;if(this[r(229)]=0,this[r(302)]=0,this[r(278)]=this[r(283)]=void 0,this[r(281)]=!1,this.delegate=null,this[r(236)]=r(302),this.arg=void 0,this[r(297)][r(276)](S),!t)for(var e in this)"t"===e.charAt(0)&&s[r(245)](this,e)&&!isNaN(+e[r(272)](1))&&(this[e]=void 0)},stop:function(){var t=o;this[t(281)]=!0;var r=this[t(297)][0].completion;if(t(239)===r[t(288)])throw r[t(273)];return this.rval},dispatchException:function(t){var r=o;if(this[r(281)])throw t;var e=this;function n(n,o){var a=r;return u[a(288)]=a(239),u[a(273)]=t,e[a(302)]=n,o&&(e[a(236)]="next",e[a(273)]=void 0),!!o}for(var a=this[r(297)].length-1;a>=0;--a){var i=this[r(297)][a],u=i[r(286)];if("root"===i[r(292)])return n("end");if(i[r(292)]<=this[r(229)]){var c=s[r(245)](i,"catchLoc"),f=s.call(i,"finallyLoc");if(c&&f){if(this[r(229)]<i[r(250)])return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i[r(221)])}else if(c){if(this[r(229)]<i[r(250)])return n(i[r(250)],!0)}else{if(!f)throw new Error(r(263));if(this[r(229)]<i[r(221)])return n(i[r(221)])}}}},abrupt:function(t,r){for(var e=o,n=this[e(297)][e(277)]-1;n>=0;--n){var a=this[e(297)][n];if(a[e(292)]<=this[e(229)]&&s[e(245)](a,e(221))&&this[e(229)]<a.finallyLoc){var i=a;break}}i&&(e(248)===t||e(227)===t)&&i[e(292)]<=r&&r<=i.finallyLoc&&(i=null);var u=i?i[e(286)]:{};return u.type=t,u.arg=r,i?(this[e(236)]=e(302),this[e(302)]=i.finallyLoc,m):this.complete(u)},complete:function(t,r){var e=o;if(e(239)===t[e(288)])throw t.arg;return"break"===t[e(288)]||e(227)===t[e(288)]?this[e(302)]=t[e(273)]:e(247)===t[e(288)]?(this[e(257)]=this[e(273)]=t[e(273)],this.method="return",this.next=e(279)):e(252)===t[e(288)]&&r&&(this[e(302)]=r),m},finish:function(t){for(var r=o,e=this[r(297)][r(277)]-1;e>=0;--e){var n=this[r(297)][e];if(n.finallyLoc===t)return this.complete(n.completion,n[r(264)]),S(n),m}},catch:function(t){for(var r=o,e=this[r(297)].length-1;e>=0;--e){var n=this.tryEntries[e];if(n[r(292)]===t){var a=n.completion;if("throw"===a.type){var i=a[r(273)];S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,e){var n=o;return this[n(290)]={iterator:F(t),resultName:r,nextLoc:e},n(302)===this[n(236)]&&(this[n(273)]=void 0),m}},a}t[r(238)]=n,t[r(238)][r(234)]=!0,t[r(238)][r(220)]=t.exports}));r(bt);var _t=Pt;!function(t,r){for(var e=Pt,n=t();;)try{if(407160===parseInt(e(292))/1+parseInt(e(291))/2*(parseInt(e(286))/3)+parseInt(e(289))/4+-parseInt(e(288))/5*(parseInt(e(294))/6)+parseInt(e(287))/7+-parseInt(e(293))/8+-parseInt(e(285))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(kt);var Et=bt(),It=Et;function kt(){var t=["1982680OUjDRQ","regeneratorRuntime","6xoRtHT","81282AneOez","4540416tzJwdW","1614pYsqev","3966327ODkqqV","642981GjBBzY","3678815ZgboJq","6135oaGWce"];return(kt=function(){return t})()}function Pt(t,r){var e=kt();return(Pt=function(t,r){return e[t-=285]})(t,r)}try{regeneratorRuntime=Et}catch(t){"object"==typeof globalThis?globalThis[_t(290)]=Et:Function("r","regeneratorRuntime = r")(Et)}function Ct(t){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var e,n=J(t);if(r){var o=J(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return H(this,e)}}var Tt,St=(Tt="undefined"==typeof document&&"undefined"==typeof location?new(require("url").URL)("file:"+__filename).href:"undefined"==typeof document?location.href:document.currentScript&&document.currentScript.src||new URL("jessibuca-pro-object-detector-demo.js",document.baseURI).href,mt(It.mark((function t(){var r,e,n,o,a,s,u,c,f,l,d,h,v,m,y,g,w,b,_,E,I,P,C,T,S,j,F,D,x,O,A,R,M,$,U,z,N,W,B,H,V,Y,q,G,J,X,Z,Q,K,tt,rt,et,nt,ot,at,it,st,ut,ct,ft,lt,dt,ht,vt,mt,yt,gt,wt,bt,_t,Et,kt,Pt,St,jt,Ft,Dt,xt,Ot,At,Rt,Mt,$t,Lt,Ut,zt,Nt,Wt,Bt,Ht,Vt,Yt,qt,Gt,Jt,Xt,Zt,Qt,Kt,tr,rr,er,nr,or,ar,ir,sr,ur,cr,fr,lr,pr,dr,hr,vr,mr,yr,gr,wr,br,_r,Er,Ir,kr,Pr,Cr,Tr,Sr,jr,Fr,Dr,xr,Or,Ar,Rr,Mr,$r,Lr,Ur,zr,Nr,Wr,Br,Hr,Vr,Yr,qr,Gr,Jr,Xr,Zr,Qr,Kr,te,re,ee,ne,oe,ae,ie,se,ue,ce,fe,le,pe,de,he,ve,me,ye,ge,we,be,_e,Ee,Ie,ke,Pe,Ce,Te,Se,je,Fe,De,xe,Oe,Ae,Re,Me,$e,Le,Ue,ze,Ne,We,Be,He,Ve,Ye,qe,Ge,Je,Xe,Ze,Qe,Ke,tn,rn,en,nn,on,an,sn,un,cn,fn,ln,pn,dn,hn,vn,mn,yn,gn,wn,bn,_n,En,In,kn,Pn,Cn,Tn,Sn,jn,Fn,Dn,xn,On,An,Rn,Mn,$n,Ln,Un,zn,Nn,Wn,Bn,Hn,Vn,Yn,qn=arguments;return It.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(Yn=function(){function t(){Vn||(Vn=!0,e.calledRun=!0,T||(B(),n(e),e.onRuntimeInitialized&&e.onRuntimeInitialized(),H()))}G>0||(W(),G>0||(e.setStatus?(e.setStatus("Running..."),setTimeout((function(){setTimeout((function(){e.setStatus("")}),1),t()}),1)):t()))},Cn=function(t,r,e,n){try{var o=Wt.getStreamFromFD(t),a=Pn(o,r,e);return A[n>>2]=a,0}catch(t){if(void 0===zt||"ErrnoError"!==t.name)throw t;return t.errno}},kn=function(t,r,e,n,o){var a=In(r,e);try{if(isNaN(a))return 61;var i=Wt.getStreamFromFD(t);return zt.llseek(i,a,n),ft=[i.position>>>0,(ct=i.position,+Math.abs(ct)>=1?ct>0?+Math.floor(ct/4294967296)>>>0:~~+Math.ceil((ct-+(~~ct>>>0))/4294967296)>>>0:0)],O[o>>2]=ft[0],O[o+4>>2]=ft[1],i.getdents&&0===a&&0===n&&(i.getdents=null),0}catch(t){if(void 0===zt||"ErrnoError"!==t.name)throw t;return t.errno}},En=function(t,r,e,n){try{var o=Wt.getStreamFromFD(t),a=_n(o,r,e);return A[n>>2]=a,0}catch(t){if(void 0===zt||"ErrnoError"!==t.name)throw t;return t.errno}},bn=function(t){try{var r=Wt.getStreamFromFD(t);return zt.close(r),0}catch(t){if(void 0===zt||"ErrnoError"!==t.name)throw t;return t.errno}},de=function(){this.allocated=[void 0],this.freelist=[]},pe=function(){Object.assign(de.prototype,{get:function(t){return this.allocated[t]},has:function(t){return void 0!==this.allocated[t]},allocate:function(t){var r=this.freelist.pop()||this.allocated.length;return this.allocated[r]=t,r},free:function(t){this.allocated[t]=void 0,this.freelist.push(t)}})},ue=function(t,r,e,n,o,a){var i=r.length;i<2&&sr("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var s=null!==r[1]&&null!==e,u=!1,c=1;c<r.length;++c)if(null!==r[c]&&void 0===r[c].destructorFunction){u=!0;break}var f="void"!==r[0].name,l="",p="";for(c=0;c<i-2;++c)l+=(0!==c?", ":"")+"arg"+c,p+=(0!==c?", ":"")+"arg"+c+"Wired";var d="\n return function (".concat(l,") {\n if (arguments.length !== ").concat(i-2,") {\n throwBindingError('function ").concat(t," called with ' + arguments.length + ' arguments, expected ").concat(i-2,"');\n }");u&&(d+="var destructors = [];\n");var h=u?"destructors":"null",v=["throwBindingError","invoker","fn","runDestructors","retType","classParam"],m=[sr,n,o,qt,r[0],r[1]];for(s&&(d+="var thisWired = classParam.toWireType("+h+", this);\n"),c=0;c<i-2;++c)d+="var arg"+c+"Wired = argType"+c+".toWireType("+h+", arg"+c+"); // "+r[c+2].name+"\n",v.push("argType"+c),m.push(r[c+2]);if(s&&(p="thisWired"+(p.length>0?", ":"")+p),d+=(f||a?"var rv = ":"")+"invoker(fn"+(p.length>0?", ":"")+p+");\n",u)d+="runDestructors(destructors);\n";else for(c=s?1:2;c<r.length;++c){var y=1===c?"thisWired":"arg"+(c-2)+"Wired";null!==r[c].destructorFunction&&(d+=y+"_dtor("+y+"); // "+r[c].name+"\n",v.push(y+"_dtor"),m.push(r[c].destructorFunction))}f&&(d+="var ret = retType.fromWireType(rv);\nreturn ret;\n"),d+="}\n",v.push(d);var g=se(Function,v).apply(null,m);return Rr(t,g)},se=function(t,r){if(!(t instanceof Function))throw new TypeError("new_ called with constructor type ".concat(p(t)," which is not a function"));var e=Rr(t.name||"unknownFunctionName",(function(){}));e.prototype=t.prototype;var n=new e,o=t.apply(n,r);return o instanceof Object?o:n},Yr=function(t,r,e,n,o,a,i,s,u,c,f){this.name=t,this.registeredClass=r,this.isReference=e,this.isConst=n,this.isSmartPointer=o,this.pointeeType=a,this.sharingPolicy=i,this.rawGetPointee=s,this.rawConstructor=u,this.rawShare=c,this.rawDestructor=f,o||void 0!==r.baseClass?this.toWireType=Wr:n?(this.toWireType=Nr,this.destructorFunction=null):(this.toWireType=Br,this.destructorFunction=null)},Hr=function(t){return this.fromWireType(A[t>>2])},Br=function(t,r){if(null===r)return this.isReference&&sr("null is not a valid ".concat(this.name)),0;r.$$||sr('Cannot pass "'.concat(be(r),'" as a ').concat(this.name)),r.$$.ptr||sr("Cannot pass deleted object as a pointer of type ".concat(this.name)),r.$$.ptrType.isConst&&sr("Cannot convert argument of type ".concat(r.$$.ptrType.name," to parameter type ").concat(this.name));var e=r.$$.ptrType.registeredClass;return zr(r.$$.ptr,e,this.registeredClass)},Wr=function(t,r){var e;if(null===r)return this.isReference&&sr("null is not a valid ".concat(this.name)),this.isSmartPointer?(e=this.rawConstructor(),null!==t&&t.push(this.rawDestructor,e),e):0;r.$$||sr('Cannot pass "'.concat(be(r),'" as a ').concat(this.name)),r.$$.ptr||sr("Cannot pass deleted object as a pointer of type ".concat(this.name)),!this.isConst&&r.$$.ptrType.isConst&&sr("Cannot convert argument of type ".concat(r.$$.smartPtrType?r.$$.smartPtrType.name:r.$$.ptrType.name," to parameter type ").concat(this.name));var n=r.$$.ptrType.registeredClass;if(e=zr(r.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(void 0===r.$$.smartPtr&&sr("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:r.$$.smartPtrType===this?e=r.$$.smartPtr:sr("Cannot convert argument of type ".concat(r.$$.smartPtrType?r.$$.smartPtrType.name:r.$$.ptrType.name," to parameter type ").concat(this.name));break;case 1:e=r.$$.smartPtr;break;case 2:if(r.$$.smartPtrType===this)e=r.$$.smartPtr;else{var o=r.clone();e=this.rawShare(e,ge.toHandle((function(){return o.delete()}))),null!==t&&t.push(this.rawDestructor,e)}break;default:sr("Unsupporting sharing policy")}return e},Nr=function(t,r){if(null===r)return this.isReference&&sr("null is not a valid ".concat(this.name)),0;r.$$||sr('Cannot pass "'.concat(be(r),'" as a ').concat(this.name)),r.$$.ptr||sr("Cannot pass deleted object as a pointer of type ".concat(this.name));var e=r.$$.ptrType.registeredClass;return zr(r.$$.ptr,e,this.registeredClass)},Ur=function(t,r,e,n,o,a,i,s){this.name=t,this.constructor=r,this.instancePrototype=e,this.rawDestructor=n,this.baseClass=o,this.getActualType=a,this.upcast=i,this.downcast=s,this.pureVirtualFunctions=[]},Ar=function(){},Dr=function(t){var r=this.getPointee(t);if(!r)return this.destructor(t),null;var e=jr(this.registeredClass,r);if(void 0!==e){if(0===e.$$.count.value)return e.$$.ptr=r,e.$$.smartPtr=t,e.clone();var n=e.clone();return this.destructor(t),n}function o(){return this.isSmartPointer?Fr(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:r,smartPtrType:this,smartPtr:t}):Fr(this.registeredClass.instancePrototype,{ptrType:this,ptr:t})}var a,i=this.registeredClass.getActualType(r),s=wr[i];if(!s)return o.call(this);a=this.isConst?s.constPointerType:s.pointerType;var u=gr(r,this.registeredClass,a.registeredClass);return null===u?o.call(this):this.isSmartPointer?Fr(a.registeredClass.instancePrototype,{ptrType:a,ptr:u,smartPtrType:this,smartPtr:t}):Fr(a.registeredClass.instancePrototype,{ptrType:a,ptr:u})},cr=function(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!("argPackAdvance"in r))throw new TypeError("registerType registeredInstance requires argPackAdvance");return ur(t,r,e)},ur=function(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.name;if(t||sr('type "'.concat(n,'" must have a positive integer typeid pointer')),Xt.hasOwnProperty(t)){if(e.ignoreDuplicateRegistrations)return;sr("Cannot register type '".concat(n,"' twice"))}if(Xt[t]=r,delete Zt[t],Jt.hasOwnProperty(t)){var o=Jt[t];delete Jt[t],o.forEach((function(t){return t()}))}},Gt=function(t){return this.fromWireType(O[t>>2])},Vt=function(t,r,e,n){Wt.varargs=n;try{r=Wt.getStr(r),r=Wt.calculateAt(t,r);var o=n?Wt.get():0;return zt.open(r,e,o).fd}catch(t){if(void 0===zt||"ErrnoError"!==t.name)throw t;return-t.errno}},Ht=function(t,r,e){Wt.varargs=e;try{var n=Wt.getStreamFromFD(t);switch(r){case 21509:case 21510:case 21511:case 21512:case 21524:case 21515:return n.tty?0:-59;case 21505:if(!n.tty)return-59;if(n.tty.ops.ioctl_tcgets){var o=n.tty.ops.ioctl_tcgets(n),a=Wt.getp();O[a>>2]=o.c_iflag||0,O[a+4>>2]=o.c_oflag||0,O[a+8>>2]=o.c_cflag||0,O[a+12>>2]=o.c_lflag||0;for(var i=0;i<32;i++)j[a+i+17>>0]=o.c_cc[i]||0;return 0}return 0;case 21506:case 21507:case 21508:if(!n.tty)return-59;if(n.tty.ops.ioctl_tcsets){a=Wt.getp();var s=O[a>>2],u=O[a+4>>2],c=O[a+8>>2],f=O[a+12>>2],l=[];for(i=0;i<32;i++)l.push(j[a+i+17>>0]);return n.tty.ops.ioctl_tcsets(n.tty,r,{c_iflag:s,c_oflag:u,c_cflag:c,c_lflag:f,c_cc:l})}return 0;case 21519:return n.tty?(a=Wt.getp(),O[a>>2]=0,0):-59;case 21520:return n.tty?-28:-59;case 21531:return a=Wt.getp(),zt.ioctl(n,r,a);case 21523:if(!n.tty)return-59;if(n.tty.ops.ioctl_tiocgwinsz){var p=n.tty.ops.ioctl_tiocgwinsz(n.tty);a=Wt.getp(),D[a>>1]=p[0],D[a+2>>1]=p[1]}return 0;default:return-28}}catch(t){if(void 0===zt||"ErrnoError"!==t.name)throw t;return-t.errno}},Bt=function(t,r,e){Wt.varargs=e;try{var n=Wt.getStreamFromFD(t);switch(r){case 0:if((o=Wt.get())<0)return-28;for(;zt.streams[o];)o++;return zt.createStream(n,o).fd;case 1:case 2:case 6:case 7:return 0;case 3:return n.flags;case 4:var o=Wt.get();return n.flags|=o,0;case 5:return o=Wt.getp(),D[o+0>>1]=2,0;case 16:case 8:default:return-28;case 9:return vt(28),-1}}catch(t){if(void 0===zt||"ErrnoError"!==t.name)throw t;return-t.errno}},St=function(t,r,e){var n=e>0?e:kt(t)+1,o=new Array(n),a=Pt(t,o,0,o.length);return r&&(o.length=a),o},dt=function(t){this.excPtr=t,this.ptr=t-24,this.set_type=function(t){A[this.ptr+4>>2]=t},this.get_type=function(){return A[this.ptr+4>>2]},this.set_destructor=function(t){A[this.ptr+8>>2]=t},this.get_destructor=function(){return A[this.ptr+8>>2]},this.set_caught=function(t){t=t?1:0,j[this.ptr+12>>0]=t},this.get_caught=function(){return 0!=j[this.ptr+12>>0]},this.set_rethrown=function(t){t=t?1:0,j[this.ptr+13>>0]=t},this.get_rethrown=function(){return 0!=j[this.ptr+13>>0]},this.init=function(t,r){this.set_adjusted_ptr(0),this.set_type(t),this.set_destructor(r)},this.set_adjusted_ptr=function(t){A[this.ptr+16>>2]=t},this.get_adjusted_ptr=function(){return A[this.ptr+16>>2]},this.get_exception_ptr=function(){if(Hn(this.get_type()))return A[this.excPtr>>2];var t=this.get_adjusted_ptr();return 0!==t?t:this.excPtr}},ut=function(){var t={a:Ln};function r(t,r){return Un=t.exports,C=Un.U,$(),Xr=Un.Y,Y(Un.V),K("wasm-instantiate"),Un}if(Q("wasm-instantiate"),e.instantiateWasm)try{return e.instantiateWasm(t,r)}catch(t){I("Module.instantiateWasm callback failed with error: ".concat(t)),o(t)}return st(P,nt,t,(function(t){r(t.instance)})).catch(o),{}},st=function(t,r,e,n){return t||"function"!=typeof WebAssembly.instantiateStreaming||rt(r)||et(r)||f||"function"!=typeof fetch?it(r,e,n):fetch(r,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,e).then(n,(function(t){return I("wasm streaming compile failed: ".concat(t)),I("falling back to ArrayBuffer instantiation"),it(r,e,n)}))}))},it=function(t,r,e){return at(t).then((function(t){return WebAssembly.instantiate(t,r)})).then((function(t){return t})).then(e,(function(t){I("failed to asynchronously prepare wasm: ".concat(t)),tt(t)}))},at=function(t){if(!P&&(u||c)){if("function"==typeof fetch&&!et(t))return fetch(t,{credentials:"same-origin"}).then((function(r){if(!r.ok)throw"failed to load wasm binary file at '"+t+"'";return r.arrayBuffer()})).catch((function(){return ot(t)}));if(v)return new Promise((function(r,e){v(t,(function(t){return r(new Uint8Array(t))}),e)}))}return Promise.resolve().then((function(){return ot(t)}))},ot=function(t){if(t==nt&&P)return new Uint8Array(P);if(m)return m(t);throw"both async and sync fetching of the wasm failed"},tt=function(t){e.onAbort&&e.onAbort(t),I(t="Aborted("+t+")"),T=!0,t+=". Build with -sASSERTIONS for more info.";var r=new WebAssembly.RuntimeError(t);throw o(r),r},K=function(t){if(G--,e.monitorRunDependencies&&e.monitorRunDependencies(G),0==G&&(null!==J&&(clearInterval(J),J=null),X)){var r=X;X=null,r()}},Q=function(t){G++,e.monitorRunDependencies&&e.monitorRunDependencies(G)},Z=function(t){return t},q=function(t){N.unshift(t)},Y=function(t){z.unshift(t)},V=function(t){U.unshift(t)},H=function(){if(e.postRun)for("function"==typeof e.postRun&&(e.postRun=[e.postRun]);e.postRun.length;)q(e.postRun.shift());lt(N)},B=function(){e.noFSInit||zt.init.initialized||zt.init(),zt.ignorePermissions=!1,Ft.init(),lt(z)},W=function(){if(e.preRun)for("function"==typeof e.preRun&&(e.preRun=[e.preRun]);e.preRun.length;)V(e.preRun.shift());lt(U)},$=function(){var t=C.buffer;e.HEAP8=j=new Int8Array(t),e.HEAP16=D=new Int16Array(t),e.HEAPU8=F=new Uint8Array(t),e.HEAPU16=x=new Uint16Array(t),e.HEAP32=O=new Int32Array(t),e.HEAPU32=A=new Uint32Array(t),e.HEAPF32=R=new Float32Array(t),e.HEAPF64=M=new Float64Array(t)},S=function(t,r){t||tt(r)},d=function(t){return e.locateFile?e.locateFile(t,l):l+t},(e=r=qn.length>0&&void 0!==qn[0]?qn[0]:{}).ready=new Promise((function(t,r){n=t,o=r})),(e=void 0!==e?e:{}).locateFile=function(t,r){return"jessibuca-pro-object-detector-decoder.wasm"==t&&"undefined"!=typeof JESSIBUCA_PRO_OBJECT_DETECTOR_WASM_URL&&""!=JESSIBUCA_PRO_OBJECT_DETECTOR_WASM_URL?JESSIBUCA_PRO_OBJECT_DETECTOR_WASM_URL:r+t},a=Object.assign({},e),s="./this.program",u="object"==("undefined"==typeof window?"undefined":p(window)),c="function"==typeof importScripts,f="object"==("undefined"==typeof process?"undefined":p(process))&&"object"==p(process.versions)&&"string"==typeof process.versions.node,l="",!f){t.next=74;break}return t.next=59,import("module");case 59:y=t.sent,g=y.createRequire,w=g("undefined"==typeof document&&"undefined"==typeof location?new(require("url").URL)("file:"+__filename).href:"undefined"==typeof document?location.href:document.currentScript&&document.currentScript.src||new URL("jessibuca-pro-object-detector-demo.js",document.baseURI).href),b=w("fs"),_=w("path"),l=c?_.dirname(l)+"/":w("url").fileURLToPath(new URL("./","undefined"==typeof document&&"undefined"==typeof location?new(require("url").URL)("file:"+__filename).href:"undefined"==typeof document?location.href:document.currentScript&&document.currentScript.src||new URL("jessibuca-pro-object-detector-demo.js",document.baseURI).href)),h=function(t,r){return t=et(t)?new URL(t):_.normalize(t),b.readFileSync(t,r?void 0:"utf8")},m=function(t){var r=h(t,!0);return r.buffer||(r=new Uint8Array(r)),r},v=function(t,r,e){var n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];t=et(t)?new URL(t):_.normalize(t),b.readFile(t,n?void 0:"utf8",(function(t,o){t?e(t):r(n?o.buffer:o)}))},!e.thisProgram&&process.argv.length>1&&(s=process.argv[1].replace(/\\/g,"/")),process.argv.slice(2),e.inspect=function(){return"[Emscripten Module object]"},t.next=75;break;case 74:(u||c)&&(c?l=self.location.href:"undefined"!=typeof document&&document.currentScript&&(l=document.currentScript.src),Tt&&(l=Tt),l=0!==l.indexOf("blob:")?l.substr(0,l.replace(/[?#].*/,"").lastIndexOf("/")+1):"",h=function(t){var r=new XMLHttpRequest;return r.open("GET",t,!1),r.send(null),r.responseText},c&&(m=function(t){var r=new XMLHttpRequest;return r.open("GET",t,!1),r.responseType="arraybuffer",r.send(null),new Uint8Array(r.response)}),v=function(t,r,e){var n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="arraybuffer",n.onload=function(){200==n.status||0==n.status&&n.response?r(n.response):e()},n.onerror=e,n.send(null)});case 75:if(E=e.print||console.log.bind(console),I=e.printErr||console.error.bind(console),Object.assign(e,a),a=null,e.arguments&&e.arguments,e.thisProgram&&(s=e.thisProgram),e.quit&&e.quit,e.wasmBinary&&(P=e.wasmBinary),"object"!=("undefined"==typeof WebAssembly?"undefined":p(WebAssembly))&&tt("no native wasm support detected"),T=!1,U=[],z=[],N=[],G=0,J=null,X=null,rt=function(t){return t.startsWith("data:application/octet-stream;base64,")},et=function(t){return t.startsWith("file://")},e.locateFile?rt(nt="jessibuca-pro-object-detector-decoder.wasm")||(nt=d(nt)):nt=new URL("jessibuca-pro-object-detector-decoder.wasm","undefined"==typeof document&&"undefined"==typeof location?new(require("url").URL)("file:"+__filename).href:"undefined"==typeof document?location.href:document.currentScript&&document.currentScript.src||new URL("jessibuca-pro-object-detector-demo.js",document.baseURI).href).href,lt=function(t){for(;t.length>0;)t.shift()(e)},e.noExitRuntime,ht=function(t,r,e){throw new dt(t).init(r,e),t},vt=function(t){return O[Wn()>>2]=t,t},mt={isAbs:function(t){return"/"===t.charAt(0)},splitPath:function(t){return/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(t).slice(1)},normalizeArray:function(t,r){for(var e=0,n=t.length-1;n>=0;n--){var o=t[n];"."===o?t.splice(n,1):".."===o?(t.splice(n,1),e++):e&&(t.splice(n,1),e--)}if(r)for(;e;e--)t.unshift("..");return t},normalize:function(t){var r=mt.isAbs(t),e="/"===t.substr(-1);return(t=mt.normalizeArray(t.split("/").filter((function(t){return!!t})),!r).join("/"))||r||(t="."),t&&e&&(t+="/"),(r?"/":"")+t},dirname:function(t){var r=mt.splitPath(t),e=r[0],n=r[1];return e||n?(n&&(n=n.substr(0,n.length-1)),e+n):"."},basename:function(t){if("/"===t)return"/";var r=(t=(t=mt.normalize(t)).replace(/\/$/,"")).lastIndexOf("/");return-1===r?t:t.substr(r+1)},join:function(){var t=Array.prototype.slice.call(arguments);return mt.normalize(t.join("/"))},join2:function(t,r){return mt.normalize(t+"/"+r)}},yt=function(){if("object"==("undefined"==typeof crypto?"undefined":p(crypto))&&"function"==typeof crypto.getRandomValues)return function(t){return crypto.getRandomValues(t)};if(f)try{var t=w("crypto");if(t.randomFillSync)return function(r){return t.randomFillSync(r)};var r=t.randomBytes;return function(t){return t.set(r(t.byteLength)),t}}catch(t){}tt("initRandomDevice")},gt=function(t){return(gt=yt())(t)},wt={resolve:function(){for(var t="",r=!1,e=arguments.length-1;e>=-1&&!r;e--){var n=e>=0?arguments[e]:zt.cwd();if("string"!=typeof n)throw new TypeError("Arguments to path.resolve must be strings");if(!n)return"";t=n+"/"+t,r=mt.isAbs(n)}return(r?"/":"")+(t=mt.normalizeArray(t.split("/").filter((function(t){return!!t})),!r).join("/"))||"."},relative:function(t,r){function e(t){for(var r=0;r<t.length&&""===t[r];r++);for(var e=t.length-1;e>=0&&""===t[e];e--);return r>e?[]:t.slice(r,e-r+1)}t=wt.resolve(t).substr(1),r=wt.resolve(r).substr(1);for(var n=e(t.split("/")),o=e(r.split("/")),a=Math.min(n.length,o.length),i=a,s=0;s<a;s++)if(n[s]!==o[s]){i=s;break}var u=[];for(s=i;s<n.length;s++)u.push("..");return(u=u.concat(o.slice(i))).join("/")}},bt="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,_t=function(t,r,e){for(var n=r+e,o=r;t[o]&&!(o>=n);)++o;if(o-r>16&&t.buffer&&bt)return bt.decode(t.subarray(r,o));for(var a="";r<o;){var i=t[r++];if(128&i){var s=63&t[r++];if(192!=(224&i)){var u=63&t[r++];if((i=224==(240&i)?(15&i)<<12|s<<6|u:(7&i)<<18|s<<12|u<<6|63&t[r++])<65536)a+=String.fromCharCode(i);else{var c=i-65536;a+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else a+=String.fromCharCode((31&i)<<6|s)}else a+=String.fromCharCode(i)}return a},Et=[],kt=function(t){for(var r=0,e=0;e<t.length;++e){var n=t.charCodeAt(e);n<=127?r++:n<=2047?r+=2:n>=55296&&n<=57343?(r+=4,++e):r+=3}return r},Pt=function(t,r,e,n){if(!(n>0))return 0;for(var o=e,a=e+n-1,i=0;i<t.length;++i){var s=t.charCodeAt(i);if(s>=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&t.charCodeAt(++i)),s<=127){if(e>=a)break;r[e++]=s}else if(s<=2047){if(e+1>=a)break;r[e++]=192|s>>6,r[e++]=128|63&s}else if(s<=65535){if(e+2>=a)break;r[e++]=224|s>>12,r[e++]=128|s>>6&63,r[e++]=128|63&s}else{if(e+3>=a)break;r[e++]=240|s>>18,r[e++]=128|s>>12&63,r[e++]=128|s>>6&63,r[e++]=128|63&s}}return r[e]=0,e-o},jt=function(){if(!Et.length){var t=null;if(f){var r=Buffer.alloc(256),e=0,n=process.stdin.fd;try{e=b.readSync(n,r)}catch(t){if(!t.toString().includes("EOF"))throw t;e=0}t=e>0?r.slice(0,e).toString("utf-8"):null}else"undefined"!=typeof window&&"function"==typeof window.prompt?null!==(t=window.prompt("Input: "))&&(t+="\n"):"function"==typeof readline&&null!==(t=readline())&&(t+="\n");if(!t)return null;Et=St(t,!0)}return Et.shift()},Ft={ttys:[],init:function(){},shutdown:function(){},register:function(t,r){Ft.ttys[t]={input:[],output:[],ops:r},zt.registerDevice(t,Ft.stream_ops)},stream_ops:{open:function(t){var r=Ft.ttys[t.node.rdev];if(!r)throw new zt.ErrnoError(43);t.tty=r,t.seekable=!1},close:function(t){t.tty.ops.fsync(t.tty)},fsync:function(t){t.tty.ops.fsync(t.tty)},read:function(t,r,e,n,o){if(!t.tty||!t.tty.ops.get_char)throw new zt.ErrnoError(60);for(var a=0,i=0;i<n;i++){var s;try{s=t.tty.ops.get_char(t.tty)}catch(t){throw new zt.ErrnoError(29)}if(void 0===s&&0===a)throw new zt.ErrnoError(6);if(null==s)break;a++,r[e+i]=s}return a&&(t.node.timestamp=Date.now()),a},write:function(t,r,e,n,o){if(!t.tty||!t.tty.ops.put_char)throw new zt.ErrnoError(60);try{for(var a=0;a<n;a++)t.tty.ops.put_char(t.tty,r[e+a])}catch(t){throw new zt.ErrnoError(29)}return n&&(t.node.timestamp=Date.now()),a}},default_tty_ops:{get_char:function(t){return jt()},put_char:function(t,r){null===r||10===r?(E(_t(t.output,0)),t.output=[]):0!=r&&t.output.push(r)},fsync:function(t){t.output&&t.output.length>0&&(E(_t(t.output,0)),t.output=[])},ioctl_tcgets:function(t){return{c_iflag:25856,c_oflag:5,c_cflag:191,c_lflag:35387,c_cc:[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}},ioctl_tcsets:function(t,r,e){return 0},ioctl_tiocgwinsz:function(t){return[24,80]}},default_tty1_ops:{put_char:function(t,r){null===r||10===r?(I(_t(t.output,0)),t.output=[]):0!=r&&t.output.push(r)},fsync:function(t){t.output&&t.output.length>0&&(I(_t(t.output,0)),t.output=[])}}},Dt=function(t){tt()},xt={ops_table:null,mount:function(t){return xt.createNode(null,"/",16895,0)},createNode:function(t,r,e,n){if(zt.isBlkdev(e)||zt.isFIFO(e))throw new zt.ErrnoError(63);xt.ops_table||(xt.ops_table={dir:{node:{getattr:xt.node_ops.getattr,setattr:xt.node_ops.setattr,lookup:xt.node_ops.lookup,mknod:xt.node_ops.mknod,rename:xt.node_ops.rename,unlink:xt.node_ops.unlink,rmdir:xt.node_ops.rmdir,readdir:xt.node_ops.readdir,symlink:xt.node_ops.symlink},stream:{llseek:xt.stream_ops.llseek}},file:{node:{getattr:xt.node_ops.getattr,setattr:xt.node_ops.setattr},stream:{llseek:xt.stream_ops.llseek,read:xt.stream_ops.read,write:xt.stream_ops.write,allocate:xt.stream_ops.allocate,mmap:xt.stream_ops.mmap,msync:xt.stream_ops.msync}},link:{node:{getattr:xt.node_ops.getattr,setattr:xt.node_ops.setattr,readlink:xt.node_ops.readlink},stream:{}},chrdev:{node:{getattr:xt.node_ops.getattr,setattr:xt.node_ops.setattr},stream:zt.chrdev_stream_ops}});var o=zt.createNode(t,r,e,n);return zt.isDir(o.mode)?(o.node_ops=xt.ops_table.dir.node,o.stream_ops=xt.ops_table.dir.stream,o.contents={}):zt.isFile(o.mode)?(o.node_ops=xt.ops_table.file.node,o.stream_ops=xt.ops_table.file.stream,o.usedBytes=0,o.contents=null):zt.isLink(o.mode)?(o.node_ops=xt.ops_table.link.node,o.stream_ops=xt.ops_table.link.stream):zt.isChrdev(o.mode)&&(o.node_ops=xt.ops_table.chrdev.node,o.stream_ops=xt.ops_table.chrdev.stream),o.timestamp=Date.now(),t&&(t.contents[r]=o,t.timestamp=o.timestamp),o},getFileDataAsTypedArray:function(t){return t.contents?t.contents.subarray?t.contents.subarray(0,t.usedBytes):new Uint8Array(t.contents):new Uint8Array(0)},expandFileStorage:function(t,r){var e=t.contents?t.contents.length:0;if(!(e>=r)){r=Math.max(r,e*(e<1048576?2:1.125)>>>0),0!=e&&(r=Math.max(r,256));var n=t.contents;t.contents=new Uint8Array(r),t.usedBytes>0&&t.contents.set(n.subarray(0,t.usedBytes),0)}},resizeFileStorage:function(t,r){if(t.usedBytes!=r)if(0==r)t.contents=null,t.usedBytes=0;else{var e=t.contents;t.contents=new Uint8Array(r),e&&t.contents.set(e.subarray(0,Math.min(r,t.usedBytes))),t.usedBytes=r}},node_ops:{getattr:function(t){var r={};return r.dev=zt.isChrdev(t.mode)?t.id:1,r.ino=t.id,r.mode=t.mode,r.nlink=1,r.uid=0,r.gid=0,r.rdev=t.rdev,zt.isDir(t.mode)?r.size=4096:zt.isFile(t.mode)?r.size=t.usedBytes:zt.isLink(t.mode)?r.size=t.link.length:r.size=0,r.atime=new Date(t.timestamp),r.mtime=new Date(t.timestamp),r.ctime=new Date(t.timestamp),r.blksize=4096,r.blocks=Math.ceil(r.size/r.blksize),r},setattr:function(t,r){void 0!==r.mode&&(t.mode=r.mode),void 0!==r.timestamp&&(t.timestamp=r.timestamp),void 0!==r.size&&xt.resizeFileStorage(t,r.size)},lookup:function(t,r){throw zt.genericErrors[44]},mknod:function(t,r,e,n){return xt.createNode(t,r,e,n)},rename:function(t,r,e){if(zt.isDir(t.mode)){var n;try{n=zt.lookupNode(r,e)}catch(t){}if(n)for(var o in n.contents)throw new zt.ErrnoError(55)}delete t.parent.contents[t.name],t.parent.timestamp=Date.now(),t.name=e,r.contents[e]=t,r.timestamp=t.parent.timestamp,t.parent=r},unlink:function(t,r){delete t.contents[r],t.timestamp=Date.now()},rmdir:function(t,r){var e=zt.lookupNode(t,r);for(var n in e.contents)throw new zt.ErrnoError(55);delete t.contents[r],t.timestamp=Date.now()},readdir:function(t){var r=[".",".."];for(var e in t.contents)t.contents.hasOwnProperty(e)&&r.push(e);return r},symlink:function(t,r,e){var n=xt.createNode(t,r,41471,0);return n.link=e,n},readlink:function(t){if(!zt.isLink(t.mode))throw new zt.ErrnoError(28);return t.link}},stream_ops:{read:function(t,r,e,n,o){var a=t.node.contents;if(o>=t.node.usedBytes)return 0;var i=Math.min(t.node.usedBytes-o,n);if(i>8&&a.subarray)r.set(a.subarray(o,o+i),e);else for(var s=0;s<i;s++)r[e+s]=a[o+s];return i},write:function(t,r,e,n,o,a){if(!n)return 0;var i=t.node;if(i.timestamp=Date.now(),r.subarray&&(!i.contents||i.contents.subarray)){if(a)return i.contents=r.subarray(e,e+n),i.usedBytes=n,n;if(0===i.usedBytes&&0===o)return i.contents=r.slice(e,e+n),i.usedBytes=n,n;if(o+n<=i.usedBytes)return i.contents.set(r.subarray(e,e+n),o),n}if(xt.expandFileStorage(i,o+n),i.contents.subarray&&r.subarray)i.contents.set(r.subarray(e,e+n),o);else for(var s=0;s<n;s++)i.contents[o+s]=r[e+s];return i.usedBytes=Math.max(i.usedBytes,o+n),n},llseek:function(t,r,e){var n=r;if(1===e?n+=t.position:2===e&&zt.isFile(t.node.mode)&&(n+=t.node.usedBytes),n<0)throw new zt.ErrnoError(28);return n},allocate:function(t,r,e){xt.expandFileStorage(t.node,r+e),t.node.usedBytes=Math.max(t.node.usedBytes,r+e)},mmap:function(t,r,e,n,o){if(!zt.isFile(t.node.mode))throw new zt.ErrnoError(43);var a,i,s=t.node.contents;if(2&o||s.buffer!==j.buffer){if((e>0||e+r<s.length)&&(s=s.subarray?s.subarray(e,e+r):Array.prototype.slice.call(s,e,e+r)),i=!0,!(a=Dt()))throw new zt.ErrnoError(48);j.set(s,a)}else i=!1,a=s.byteOffset;return{ptr:a,allocated:i}},msync:function(t,r,e,n,o){return xt.stream_ops.write(t,r,0,n,e,!1),0}}},Ot=function(t,r,e,n){var o=n?"":Z("al ".concat(t));v(t,(function(e){S(e,'Loading data file "'.concat(t,'" failed (no arrayBuffer).')),r(new Uint8Array(e)),o&&K(o)}),(function(r){if(!e)throw'Loading data file "'.concat(t,'" failed.');e()})),o&&Q(o)},At=function(t,r,e,n,o,a){zt.createDataFile(t,r,e,n,o,a)},Rt=e.preloadPlugins||[],Mt=function(t,r,e,n){"undefined"!=typeof Browser&&Browser.init();var o=!1;return Rt.forEach((function(a){o||a.canHandle(r)&&(a.handle(t,r,e,n),o=!0)})),o},$t=function(t,r,e,n,o,a,i,s,u,c){var f=r?wt.resolve(mt.join2(t,r)):t,l=Z("cp ".concat(f));function p(e){function p(e){c&&c(),s||At(t,r,e,n,o,u),a&&a(),K(l)}Mt(e,f,p,(function(){i&&i(),K(l)}))||p(e)}Q(l),"string"==typeof e?Ot(e,(function(t){return p(t)}),i):p(e)},Lt=function(t){var r={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090}[t];if(void 0===r)throw new Error("Unknown file open mode: ".concat(t));return r},Ut=function(t,r){var e=0;return t&&(e|=365),r&&(e|=146),e},zt={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,lookupPath:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(t=wt.resolve(t)))return{path:"",node:null};if((r=Object.assign({follow_mount:!0,recurse_count:0},r)).recurse_count>8)throw new zt.ErrnoError(32);for(var e=t.split("/").filter((function(t){return!!t})),n=zt.root,o="/",a=0;a<e.length;a++){var i=a===e.length-1;if(i&&r.parent)break;if(n=zt.lookupNode(n,e[a]),o=mt.join2(o,e[a]),zt.isMountpoint(n)&&(!i||i&&r.follow_mount)&&(n=n.mounted.root),!i||r.follow)for(var s=0;zt.isLink(n.mode);){var u=zt.readlink(o);if(o=wt.resolve(mt.dirname(o),u),n=zt.lookupPath(o,{recurse_count:r.recurse_count+1}).node,s++>40)throw new zt.ErrnoError(32)}}return{path:o,node:n}},getPath:function(t){for(var r;;){if(zt.isRoot(t)){var e=t.mount.mountpoint;return r?"/"!==e[e.length-1]?"".concat(e,"/").concat(r):e+r:e}r=r?"".concat(t.name,"/").concat(r):t.name,t=t.parent}},hashName:function(t,r){for(var e=0,n=0;n<r.length;n++)e=(e<<5)-e+r.charCodeAt(n)|0;return(t+e>>>0)%zt.nameTable.length},hashAddNode:function(t){var r=zt.hashName(t.parent.id,t.name);t.name_next=zt.nameTable[r],zt.nameTable[r]=t},hashRemoveNode:function(t){var r=zt.hashName(t.parent.id,t.name);if(zt.nameTable[r]===t)zt.nameTable[r]=t.name_next;else for(var e=zt.nameTable[r];e;){if(e.name_next===t){e.name_next=t.name_next;break}e=e.name_next}},lookupNode:function(t,r){var e=zt.mayLookup(t);if(e)throw new zt.ErrnoError(e,t);for(var n=zt.hashName(t.id,r),o=zt.nameTable[n];o;o=o.name_next){var a=o.name;if(o.parent.id===t.id&&a===r)return o}return zt.lookup(t,r)},createNode:function(t,r,e,n){var o=new zt.FSNode(t,r,e,n);return zt.hashAddNode(o),o},destroyNode:function(t){zt.hashRemoveNode(t)},isRoot:function(t){return t===t.parent},isMountpoint:function(t){return!!t.mounted},isFile:function(t){return 32768==(61440&t)},isDir:function(t){return 16384==(61440&t)},isLink:function(t){return 40960==(61440&t)},isChrdev:function(t){return 8192==(61440&t)},isBlkdev:function(t){return 24576==(61440&t)},isFIFO:function(t){return 4096==(61440&t)},isSocket:function(t){return 49152==(49152&t)},flagsToPermissionString:function(t){var r=["r","w","rw"][3&t];return 512&t&&(r+="w"),r},nodePermissions:function(t,r){return zt.ignorePermissions||(!r.includes("r")||292&t.mode)&&(!r.includes("w")||146&t.mode)&&(!r.includes("x")||73&t.mode)?0:2},mayLookup:function(t){var r=zt.nodePermissions(t,"x");return r||(t.node_ops.lookup?0:2)},mayCreate:function(t,r){try{return zt.lookupNode(t,r),20}catch(t){}return zt.nodePermissions(t,"wx")},mayDelete:function(t,r,e){var n;try{n=zt.lookupNode(t,r)}catch(t){return t.errno}var o=zt.nodePermissions(t,"wx");if(o)return o;if(e){if(!zt.isDir(n.mode))return 54;if(zt.isRoot(n)||zt.getPath(n)===zt.cwd())return 10}else if(zt.isDir(n.mode))return 31;return 0},mayOpen:function(t,r){return t?zt.isLink(t.mode)?32:zt.isDir(t.mode)&&("r"!==zt.flagsToPermissionString(r)||512&r)?31:zt.nodePermissions(t,zt.flagsToPermissionString(r)):44},MAX_OPEN_FDS:4096,nextfd:function(){for(var t=0;t<=zt.MAX_OPEN_FDS;t++)if(!zt.streams[t])return t;throw new zt.ErrnoError(33)},getStreamChecked:function(t){var r=zt.getStream(t);if(!r)throw new zt.ErrnoError(8);return r},getStream:function(t){return zt.streams[t]},createStream:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;return zt.FSStream||(zt.FSStream=function(){this.shared={}},zt.FSStream.prototype={},Object.defineProperties(zt.FSStream.prototype,{object:{get:function(){return this.node},set:function(t){this.node=t}},isRead:{get:function(){return 1!=(2097155&this.flags)}},isWrite:{get:function(){return 0!=(2097155&this.flags)}},isAppend:{get:function(){return 1024&this.flags}},flags:{get:function(){return this.shared.flags},set:function(t){this.shared.flags=t}},position:{get:function(){return this.shared.position},set:function(t){this.shared.position=t}}})),t=Object.assign(new zt.FSStream,t),-1==r&&(r=zt.nextfd()),t.fd=r,zt.streams[r]=t,t},closeStream:function(t){zt.streams[t]=null},chrdev_stream_ops:{open:function(t){var r=zt.getDevice(t.node.rdev);t.stream_ops=r.stream_ops,t.stream_ops.open&&t.stream_ops.open(t)},llseek:function(){throw new zt.ErrnoError(70)}},major:function(t){return t>>8},minor:function(t){return 255&t},makedev:function(t,r){return t<<8|r},registerDevice:function(t,r){zt.devices[t]={stream_ops:r}},getDevice:function(t){return zt.devices[t]},getMounts:function(t){for(var r=[],e=[t];e.length;){var n=e.pop();r.push(n),e.push.apply(e,n.mounts)}return r},syncfs:function(t,r){"function"==typeof t&&(r=t,t=!1),zt.syncFSRequests++,zt.syncFSRequests>1&&I("warning: ".concat(zt.syncFSRequests," FS.syncfs operations in flight at once, probably just doing extra work"));var e=zt.getMounts(zt.root.mount),n=0;function o(t){return zt.syncFSRequests--,r(t)}function a(t){if(t)return a.errored?void 0:(a.errored=!0,o(t));++n>=e.length&&o(null)}e.forEach((function(r){if(!r.type.syncfs)return a(null);r.type.syncfs(r,t,a)}))},mount:function(t,r,e){var n,o="/"===e,a=!e;if(o&&zt.root)throw new zt.ErrnoError(10);if(!o&&!a){var i=zt.lookupPath(e,{follow_mount:!1});if(e=i.path,n=i.node,zt.isMountpoint(n))throw new zt.ErrnoError(10);if(!zt.isDir(n.mode))throw new zt.ErrnoError(54)}var s={type:t,opts:r,mountpoint:e,mounts:[]},u=t.mount(s);return u.mount=s,s.root=u,o?zt.root=u:n&&(n.mounted=s,n.mount&&n.mount.mounts.push(s)),u},unmount:function(t){var r=zt.lookupPath(t,{follow_mount:!1});if(!zt.isMountpoint(r.node))throw new zt.ErrnoError(28);var e=r.node,n=e.mounted,o=zt.getMounts(n);Object.keys(zt.nameTable).forEach((function(t){for(var r=zt.nameTable[t];r;){var e=r.name_next;o.includes(r.mount)&&zt.destroyNode(r),r=e}})),e.mounted=null;var a=e.mount.mounts.indexOf(n);e.mount.mounts.splice(a,1)},lookup:function(t,r){return t.node_ops.lookup(t,r)},mknod:function(t,r,e){var n=zt.lookupPath(t,{parent:!0}).node,o=mt.basename(t);if(!o||"."===o||".."===o)throw new zt.ErrnoError(28);var a=zt.mayCreate(n,o);if(a)throw new zt.ErrnoError(a);if(!n.node_ops.mknod)throw new zt.ErrnoError(63);return n.node_ops.mknod(n,o,r,e)},create:function(t,r){return r=void 0!==r?r:438,r&=4095,r|=32768,zt.mknod(t,r,0)},mkdir:function(t,r){return r=void 0!==r?r:511,r&=1023,r|=16384,zt.mknod(t,r,0)},mkdirTree:function(t,r){for(var e=t.split("/"),n="",o=0;o<e.length;++o)if(e[o]){n+="/"+e[o];try{zt.mkdir(n,r)}catch(t){if(20!=t.errno)throw t}}},mkdev:function(t,r,e){return void 0===e&&(e=r,r=438),r|=8192,zt.mknod(t,r,e)},symlink:function(t,r){if(!wt.resolve(t))throw new zt.ErrnoError(44);var e=zt.lookupPath(r,{parent:!0}).node;if(!e)throw new zt.ErrnoError(44);var n=mt.basename(r),o=zt.mayCreate(e,n);if(o)throw new zt.ErrnoError(o);if(!e.node_ops.symlink)throw new zt.ErrnoError(63);return e.node_ops.symlink(e,n,t)},rename:function(t,r){var e,n,o=mt.dirname(t),a=mt.dirname(r),i=mt.basename(t),s=mt.basename(r);if(e=zt.lookupPath(t,{parent:!0}).node,n=zt.lookupPath(r,{parent:!0}).node,!e||!n)throw new zt.ErrnoError(44);if(e.mount!==n.mount)throw new zt.ErrnoError(75);var u,c=zt.lookupNode(e,i),f=wt.relative(t,a);if("."!==f.charAt(0))throw new zt.ErrnoError(28);if("."!==(f=wt.relative(r,o)).charAt(0))throw new zt.ErrnoError(55);try{u=zt.lookupNode(n,s)}catch(t){}if(c!==u){var l=zt.isDir(c.mode),p=zt.mayDelete(e,i,l);if(p)throw new zt.ErrnoError(p);if(p=u?zt.mayDelete(n,s,l):zt.mayCreate(n,s))throw new zt.ErrnoError(p);if(!e.node_ops.rename)throw new zt.ErrnoError(63);if(zt.isMountpoint(c)||u&&zt.isMountpoint(u))throw new zt.ErrnoError(10);if(n!==e&&(p=zt.nodePermissions(e,"w")))throw new zt.ErrnoError(p);zt.hashRemoveNode(c);try{e.node_ops.rename(c,n,s)}catch(t){throw t}finally{zt.hashAddNode(c)}}},rmdir:function(t){var r=zt.lookupPath(t,{parent:!0}).node,e=mt.basename(t),n=zt.lookupNode(r,e),o=zt.mayDelete(r,e,!0);if(o)throw new zt.ErrnoError(o);if(!r.node_ops.rmdir)throw new zt.ErrnoError(63);if(zt.isMountpoint(n))throw new zt.ErrnoError(10);r.node_ops.rmdir(r,e),zt.destroyNode(n)},readdir:function(t){var r=zt.lookupPath(t,{follow:!0}).node;if(!r.node_ops.readdir)throw new zt.ErrnoError(54);return r.node_ops.readdir(r)},unlink:function(t){var r=zt.lookupPath(t,{parent:!0}).node;if(!r)throw new zt.ErrnoError(44);var e=mt.basename(t),n=zt.lookupNode(r,e),o=zt.mayDelete(r,e,!1);if(o)throw new zt.ErrnoError(o);if(!r.node_ops.unlink)throw new zt.ErrnoError(63);if(zt.isMountpoint(n))throw new zt.ErrnoError(10);r.node_ops.unlink(r,e),zt.destroyNode(n)},readlink:function(t){var r=zt.lookupPath(t).node;if(!r)throw new zt.ErrnoError(44);if(!r.node_ops.readlink)throw new zt.ErrnoError(28);return wt.resolve(zt.getPath(r.parent),r.node_ops.readlink(r))},stat:function(t,r){var e=zt.lookupPath(t,{follow:!r}).node;if(!e)throw new zt.ErrnoError(44);if(!e.node_ops.getattr)throw new zt.ErrnoError(63);return e.node_ops.getattr(e)},lstat:function(t){return zt.stat(t,!0)},chmod:function(t,r,e){var n;if(!(n="string"==typeof t?zt.lookupPath(t,{follow:!e}).node:t).node_ops.setattr)throw new zt.ErrnoError(63);n.node_ops.setattr(n,{mode:4095&r|-4096&n.mode,timestamp:Date.now()})},lchmod:function(t,r){zt.chmod(t,r,!0)},fchmod:function(t,r){var e=zt.getStreamChecked(t);zt.chmod(e.node,r)},chown:function(t,r,e,n){var o;if(!(o="string"==typeof t?zt.lookupPath(t,{follow:!n}).node:t).node_ops.setattr)throw new zt.ErrnoError(63);o.node_ops.setattr(o,{timestamp:Date.now()})},lchown:function(t,r,e){zt.chown(t,r,e,!0)},fchown:function(t,r,e){var n=zt.getStreamChecked(t);zt.chown(n.node,r,e)},truncate:function(t,r){if(r<0)throw new zt.ErrnoError(28);var e;if(!(e="string"==typeof t?zt.lookupPath(t,{follow:!0}).node:t).node_ops.setattr)throw new zt.ErrnoError(63);if(zt.isDir(e.mode))throw new zt.ErrnoError(31);if(!zt.isFile(e.mode))throw new zt.ErrnoError(28);var n=zt.nodePermissions(e,"w");if(n)throw new zt.ErrnoError(n);e.node_ops.setattr(e,{size:r,timestamp:Date.now()})},ftruncate:function(t,r){var e=zt.getStreamChecked(t);if(0==(2097155&e.flags))throw new zt.ErrnoError(28);zt.truncate(e.node,r)},utime:function(t,r,e){var n=zt.lookupPath(t,{follow:!0}).node;n.node_ops.setattr(n,{timestamp:Math.max(r,e)})},open:function(t,r,n){if(""===t)throw new zt.ErrnoError(44);var o;if(n=void 0===n?438:n,n=64&(r="string"==typeof r?Lt(r):r)?4095&n|32768:0,"object"==p(t))o=t;else{t=mt.normalize(t);try{o=zt.lookupPath(t,{follow:!(131072&r)}).node}catch(t){}}var a=!1;if(64&r)if(o){if(128&r)throw new zt.ErrnoError(20)}else o=zt.mknod(t,n,0),a=!0;if(!o)throw new zt.ErrnoError(44);if(zt.isChrdev(o.mode)&&(r&=-513),65536&r&&!zt.isDir(o.mode))throw new zt.ErrnoError(54);if(!a){var i=zt.mayOpen(o,r);if(i)throw new zt.ErrnoError(i)}512&r&&!a&&zt.truncate(o,0),r&=-131713;var s=zt.createStream({node:o,path:zt.getPath(o),flags:r,seekable:!0,position:0,stream_ops:o.stream_ops,ungotten:[],error:!1});return s.stream_ops.open&&s.stream_ops.open(s),!e.logReadFiles||1&r||(zt.readFiles||(zt.readFiles={}),t in zt.readFiles||(zt.readFiles[t]=1)),s},close:function(t){if(zt.isClosed(t))throw new zt.ErrnoError(8);t.getdents&&(t.getdents=null);try{t.stream_ops.close&&t.stream_ops.close(t)}catch(t){throw t}finally{zt.closeStream(t.fd)}t.fd=null},isClosed:function(t){return null===t.fd},llseek:function(t,r,e){if(zt.isClosed(t))throw new zt.ErrnoError(8);if(!t.seekable||!t.stream_ops.llseek)throw new zt.ErrnoError(70);if(0!=e&&1!=e&&2!=e)throw new zt.ErrnoError(28);return t.position=t.stream_ops.llseek(t,r,e),t.ungotten=[],t.position},read:function(t,r,e,n,o){if(n<0||o<0)throw new zt.ErrnoError(28);if(zt.isClosed(t))throw new zt.ErrnoError(8);if(1==(2097155&t.flags))throw new zt.ErrnoError(8);if(zt.isDir(t.node.mode))throw new zt.ErrnoError(31);if(!t.stream_ops.read)throw new zt.ErrnoError(28);var a=void 0!==o;if(a){if(!t.seekable)throw new zt.ErrnoError(70)}else o=t.position;var i=t.stream_ops.read(t,r,e,n,o);return a||(t.position+=i),i},write:function(t,r,e,n,o,a){if(n<0||o<0)throw new zt.ErrnoError(28);if(zt.isClosed(t))throw new zt.ErrnoError(8);if(0==(2097155&t.flags))throw new zt.ErrnoError(8);if(zt.isDir(t.node.mode))throw new zt.ErrnoError(31);if(!t.stream_ops.write)throw new zt.ErrnoError(28);t.seekable&&1024&t.flags&&zt.llseek(t,0,2);var i=void 0!==o;if(i){if(!t.seekable)throw new zt.ErrnoError(70)}else o=t.position;var s=t.stream_ops.write(t,r,e,n,o,a);return i||(t.position+=s),s},allocate:function(t,r,e){if(zt.isClosed(t))throw new zt.ErrnoError(8);if(r<0||e<=0)throw new zt.ErrnoError(28);if(0==(2097155&t.flags))throw new zt.ErrnoError(8);if(!zt.isFile(t.node.mode)&&!zt.isDir(t.node.mode))throw new zt.ErrnoError(43);if(!t.stream_ops.allocate)throw new zt.ErrnoError(138);t.stream_ops.allocate(t,r,e)},mmap:function(t,r,e,n,o){if(0!=(2&n)&&0==(2&o)&&2!=(2097155&t.flags))throw new zt.ErrnoError(2);if(1==(2097155&t.flags))throw new zt.ErrnoError(2);if(!t.stream_ops.mmap)throw new zt.ErrnoError(43);return t.stream_ops.mmap(t,r,e,n,o)},msync:function(t,r,e,n,o){return t.stream_ops.msync?t.stream_ops.msync(t,r,e,n,o):0},munmap:function(t){return 0},ioctl:function(t,r,e){if(!t.stream_ops.ioctl)throw new zt.ErrnoError(59);return t.stream_ops.ioctl(t,r,e)},readFile:function(t){var r,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e.flags=e.flags||0,e.encoding=e.encoding||"binary","utf8"!==e.encoding&&"binary"!==e.encoding)throw new Error('Invalid encoding type "'.concat(e.encoding,'"'));var n=zt.open(t,e.flags),o=zt.stat(t).size,a=new Uint8Array(o);return zt.read(n,a,0,o,0),"utf8"===e.encoding?r=_t(a,0):"binary"===e.encoding&&(r=a),zt.close(n),r},writeFile:function(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.flags=e.flags||577;var n=zt.open(t,e.flags,e.mode);if("string"==typeof r){var o=new Uint8Array(kt(r)+1),a=Pt(r,o,0,o.length);zt.write(n,o,0,a,void 0,e.canOwn)}else{if(!ArrayBuffer.isView(r))throw new Error("Unsupported data type");zt.write(n,r,0,r.byteLength,void 0,e.canOwn)}zt.close(n)},cwd:function(){return zt.currentPath},chdir:function(t){var r=zt.lookupPath(t,{follow:!0});if(null===r.node)throw new zt.ErrnoError(44);if(!zt.isDir(r.node.mode))throw new zt.ErrnoError(54);var e=zt.nodePermissions(r.node,"x");if(e)throw new zt.ErrnoError(e);zt.currentPath=r.path},createDefaultDirectories:function(){zt.mkdir("/tmp"),zt.mkdir("/home"),zt.mkdir("/home/web_user")},createDefaultDevices:function(){zt.mkdir("/dev"),zt.registerDevice(zt.makedev(1,3),{read:function(){return 0},write:function(t,r,e,n,o){return n}}),zt.mkdev("/dev/null",zt.makedev(1,3)),Ft.register(zt.makedev(5,0),Ft.default_tty_ops),Ft.register(zt.makedev(6,0),Ft.default_tty1_ops),zt.mkdev("/dev/tty",zt.makedev(5,0)),zt.mkdev("/dev/tty1",zt.makedev(6,0));var t=new Uint8Array(1024),r=0,e=function(){return 0===r&&(r=gt(t).byteLength),t[--r]};zt.createDevice("/dev","random",e),zt.createDevice("/dev","urandom",e),zt.mkdir("/dev/shm"),zt.mkdir("/dev/shm/tmp")},createSpecialDirectories:function(){zt.mkdir("/proc");var t=zt.mkdir("/proc/self");zt.mkdir("/proc/self/fd"),zt.mount({mount:function(){var r=zt.createNode(t,"fd",16895,73);return r.node_ops={lookup:function(t,r){var e=+r,n=zt.getStreamChecked(e),o={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:function(){return n.path}}};return o.parent=o,o}},r}},{},"/proc/self/fd")},createStandardStreams:function(){e.stdin?zt.createDevice("/dev","stdin",e.stdin):zt.symlink("/dev/tty","/dev/stdin"),e.stdout?zt.createDevice("/dev","stdout",null,e.stdout):zt.symlink("/dev/tty","/dev/stdout"),e.stderr?zt.createDevice("/dev","stderr",null,e.stderr):zt.symlink("/dev/tty1","/dev/stderr"),zt.open("/dev/stdin",0),zt.open("/dev/stdout",1),zt.open("/dev/stderr",1)},ensureErrnoError:function(){zt.ErrnoError||(zt.ErrnoError=function(t,r){this.name="ErrnoError",this.node=r,this.setErrno=function(t){this.errno=t},this.setErrno(t),this.message="FS error"},zt.ErrnoError.prototype=new Error,zt.ErrnoError.prototype.constructor=zt.ErrnoError,[44].forEach((function(t){zt.genericErrors[t]=new zt.ErrnoError(t),zt.genericErrors[t].stack="<generic error, no stack>"})))},staticInit:function(){zt.ensureErrnoError(),zt.nameTable=new Array(4096),zt.mount(xt,{},"/"),zt.createDefaultDirectories(),zt.createDefaultDevices(),zt.createSpecialDirectories(),zt.filesystems={MEMFS:xt}},init:function(t,r,n){zt.init.initialized=!0,zt.ensureErrnoError(),e.stdin=t||e.stdin,e.stdout=r||e.stdout,e.stderr=n||e.stderr,zt.createStandardStreams()},quit:function(){zt.init.initialized=!1;for(var t=0;t<zt.streams.length;t++){var r=zt.streams[t];r&&zt.close(r)}},findObject:function(t,r){var e=zt.analyzePath(t,r);return e.exists?e.object:null},analyzePath:function(t,r){try{t=(n=zt.lookupPath(t,{follow:!r})).path}catch(t){}var e={isRoot:!1,exists:!1,error:0,name:null,path:null,object:null,parentExists:!1,parentPath:null,parentObject:null};try{var n=zt.lookupPath(t,{parent:!0});e.parentExists=!0,e.parentPath=n.path,e.parentObject=n.node,e.name=mt.basename(t),n=zt.lookupPath(t,{follow:!r}),e.exists=!0,e.path=n.path,e.object=n.node,e.name=n.node.name,e.isRoot="/"===n.path}catch(t){e.error=t.errno}return e},createPath:function(t,r,e,n){t="string"==typeof t?t:zt.getPath(t);for(var o=r.split("/").reverse();o.length;){var a=o.pop();if(a){var i=mt.join2(t,a);try{zt.mkdir(i)}catch(t){}t=i}}return i},createFile:function(t,r,e,n,o){var a=mt.join2("string"==typeof t?t:zt.getPath(t),r),i=Ut(n,o);return zt.create(a,i)},createDataFile:function(t,r,e,n,o,a){var i=r;t&&(t="string"==typeof t?t:zt.getPath(t),i=r?mt.join2(t,r):t);var s=Ut(n,o),u=zt.create(i,s);if(e){if("string"==typeof e){for(var c=new Array(e.length),f=0,l=e.length;f<l;++f)c[f]=e.charCodeAt(f);e=c}zt.chmod(u,146|s);var p=zt.open(u,577);zt.write(p,e,0,e.length,0,a),zt.close(p),zt.chmod(u,s)}},createDevice:function(t,r,e,n){var o=mt.join2("string"==typeof t?t:zt.getPath(t),r),a=Ut(!!e,!!n);zt.createDevice.major||(zt.createDevice.major=64);var i=zt.makedev(zt.createDevice.major++,0);return zt.registerDevice(i,{open:function(t){t.seekable=!1},close:function(t){n&&n.buffer&&n.buffer.length&&n(10)},read:function(t,r,n,o,a){for(var i=0,s=0;s<o;s++){var u;try{u=e()}catch(t){throw new zt.ErrnoError(29)}if(void 0===u&&0===i)throw new zt.ErrnoError(6);if(null==u)break;i++,r[n+s]=u}return i&&(t.node.timestamp=Date.now()),i},write:function(t,r,e,o,a){for(var i=0;i<o;i++)try{n(r[e+i])}catch(t){throw new zt.ErrnoError(29)}return o&&(t.node.timestamp=Date.now()),i}}),zt.mkdev(o,a,i)},forceLoadFile:function(t){if(t.isDevice||t.isFolder||t.link||t.contents)return!0;if("undefined"!=typeof XMLHttpRequest)throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");if(!h)throw new Error("Cannot load without read() or XMLHttpRequest.");try{t.contents=St(h(t.url),!0),t.usedBytes=t.contents.length}catch(t){throw new zt.ErrnoError(29)}},createLazyFile:function(t,r,e,n,o){function a(){this.lengthKnown=!1,this.chunks=[]}if(a.prototype.get=function(t){if(!(t>this.length-1||t<0)){var r=t%this.chunkSize,e=t/this.chunkSize|0;return this.getter(e)[r]}},a.prototype.setDataGetter=function(t){this.getter=t},a.prototype.cacheLength=function(){var t=new XMLHttpRequest;if(t.open("HEAD",e,!1),t.send(null),!(t.status>=200&&t.status<300||304===t.status))throw new Error("Couldn't load "+e+". Status: "+t.status);var r,n=Number(t.getResponseHeader("Content-length")),o=(r=t.getResponseHeader("Accept-Ranges"))&&"bytes"===r,a=(r=t.getResponseHeader("Content-Encoding"))&&"gzip"===r,i=1048576;o||(i=n);var s=this;s.setDataGetter((function(t){var r=t*i,o=(t+1)*i-1;if(o=Math.min(o,n-1),void 0===s.chunks[t]&&(s.chunks[t]=function(t,r){if(t>r)throw new Error("invalid range ("+t+", "+r+") or no bytes requested!");if(r>n-1)throw new Error("only "+n+" bytes available! programmer error!");var o=new XMLHttpRequest;if(o.open("GET",e,!1),n!==i&&o.setRequestHeader("Range","bytes="+t+"-"+r),o.responseType="arraybuffer",o.overrideMimeType&&o.overrideMimeType("text/plain; charset=x-user-defined"),o.send(null),!(o.status>=200&&o.status<300||304===o.status))throw new Error("Couldn't load "+e+". Status: "+o.status);return void 0!==o.response?new Uint8Array(o.response||[]):St(o.responseText||"",!0)}(r,o)),void 0===s.chunks[t])throw new Error("doXHR failed!");return s.chunks[t]})),!a&&n||(i=n=1,n=this.getter(0).length,i=n,E("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=n,this._chunkSize=i,this.lengthKnown=!0},"undefined"!=typeof XMLHttpRequest){if(!c)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var i=new a;Object.defineProperties(i,{length:{get:function(){return this.lengthKnown||this.cacheLength(),this._length}},chunkSize:{get:function(){return this.lengthKnown||this.cacheLength(),this._chunkSize}}});var s={isDevice:!1,contents:i}}else s={isDevice:!1,url:e};var u=zt.createFile(t,r,s,n,o);s.contents?u.contents=s.contents:s.url&&(u.contents=null,u.url=s.url),Object.defineProperties(u,{usedBytes:{get:function(){return this.contents.length}}});var f={};function l(t,r,e,n,o){var a=t.node.contents;if(o>=a.length)return 0;var i=Math.min(a.length-o,n);if(a.slice)for(var s=0;s<i;s++)r[e+s]=a[o+s];else for(s=0;s<i;s++)r[e+s]=a.get(o+s);return i}return Object.keys(u.stream_ops).forEach((function(t){var r=u.stream_ops[t];f[t]=function(){return zt.forceLoadFile(u),r.apply(null,arguments)}})),f.read=function(t,r,e,n,o){return zt.forceLoadFile(u),l(t,r,e,n,o)},f.mmap=function(t,r,e,n,o){zt.forceLoadFile(u);var a=Dt();if(!a)throw new zt.ErrnoError(48);return l(t,j,a,r,e),{ptr:a,allocated:!0}},u.stream_ops=f,u}},Nt=function(t,r){return t?_t(F,t,r):""},Wt={DEFAULT_POLLMASK:5,calculateAt:function(t,r,e){if(mt.isAbs(r))return r;var n;if(n=-100===t?zt.cwd():Wt.getStreamFromFD(t).path,0==r.length){if(!e)throw new zt.ErrnoError(44);return n}return mt.join2(n,r)},doStat:function(t,r,e){try{var n=t(r)}catch(t){if(t&&t.node&&mt.normalize(r)!==mt.normalize(zt.getPath(t.node)))return-54;throw t}O[e>>2]=n.dev,O[e+4>>2]=n.mode,A[e+8>>2]=n.nlink,O[e+12>>2]=n.uid,O[e+16>>2]=n.gid,O[e+20>>2]=n.rdev,ft=[n.size>>>0,(ct=n.size,+Math.abs(ct)>=1?ct>0?+Math.floor(ct/4294967296)>>>0:~~+Math.ceil((ct-+(~~ct>>>0))/4294967296)>>>0:0)],O[e+24>>2]=ft[0],O[e+28>>2]=ft[1],O[e+32>>2]=4096,O[e+36>>2]=n.blocks;var o=n.atime.getTime(),a=n.mtime.getTime(),i=n.ctime.getTime();return ft=[Math.floor(o/1e3)>>>0,(ct=Math.floor(o/1e3),+Math.abs(ct)>=1?ct>0?+Math.floor(ct/4294967296)>>>0:~~+Math.ceil((ct-+(~~ct>>>0))/4294967296)>>>0:0)],O[e+40>>2]=ft[0],O[e+44>>2]=ft[1],A[e+48>>2]=o%1e3*1e3,ft=[Math.floor(a/1e3)>>>0,(ct=Math.floor(a/1e3),+Math.abs(ct)>=1?ct>0?+Math.floor(ct/4294967296)>>>0:~~+Math.ceil((ct-+(~~ct>>>0))/4294967296)>>>0:0)],O[e+56>>2]=ft[0],O[e+60>>2]=ft[1],A[e+64>>2]=a%1e3*1e3,ft=[Math.floor(i/1e3)>>>0,(ct=Math.floor(i/1e3),+Math.abs(ct)>=1?ct>0?+Math.floor(ct/4294967296)>>>0:~~+Math.ceil((ct-+(~~ct>>>0))/4294967296)>>>0:0)],O[e+72>>2]=ft[0],O[e+76>>2]=ft[1],A[e+80>>2]=i%1e3*1e3,ft=[n.ino>>>0,(ct=n.ino,+Math.abs(ct)>=1?ct>0?+Math.floor(ct/4294967296)>>>0:~~+Math.ceil((ct-+(~~ct>>>0))/4294967296)>>>0:0)],O[e+88>>2]=ft[0],O[e+92>>2]=ft[1],0},doMsync:function(t,r,e,n,o){if(!zt.isFile(r.node.mode))throw new zt.ErrnoError(43);if(2&n)return 0;var a=F.slice(t,t+e);zt.msync(r,a,o,e,n)},varargs:void 0,get:function(){var t=O[+Wt.varargs>>2];return Wt.varargs+=4,t},getp:function(){return Wt.get()},getStr:function(t){return Nt(t)},getStreamFromFD:function(t){return zt.getStreamChecked(t)}},Yt={},qt=function(t){for(;t.length;){var r=t.pop();t.pop()(r)}},Jt={},Xt={},Zt={},Kt=function(t){throw new Qt(t)},tr=function(t,r,e){function n(r){var n=e(r);n.length!==t.length&&Kt("Mismatched type converter count");for(var o=0;o<t.length;++o)cr(t[o],n[o])}t.forEach((function(t){Zt[t]=r}));var o=new Array(r.length),a=[],i=0;r.forEach((function(t,r){Xt.hasOwnProperty(t)?o[r]=Xt[t]:(a.push(t),Jt.hasOwnProperty(t)||(Jt[t]=[]),Jt[t].push((function(){o[r]=Xt[t],++i===a.length&&n(o)})))})),0===a.length&&n(o)},rr=function(t){var r=Yt[t];delete Yt[t];var e=r.rawConstructor,n=r.rawDestructor,o=r.fields,a=o.map((function(t){return t.getterReturnType})).concat(o.map((function(t){return t.setterArgumentType})));tr([t],a,(function(t){var a={};return o.forEach((function(r,e){var n=r.fieldName,i=t[e],s=r.getter,u=r.getterContext,c=t[e+o.length],f=r.setter,l=r.setterContext;a[n]={read:function(t){return i.fromWireType(s(u,t))},write:function(t,r){var e=[];f(l,t,c.toWireType(e,r)),qt(e)}}})),[{name:r.name,fromWireType:function(t){var r={};for(var e in a)r[e]=a[e].read(t);return n(t),r},toWireType:function(t,r){for(var o in a)if(!(o in r))throw new TypeError('Missing field: "'.concat(o,'"'));var i=e();for(o in a)a[o].write(i,r[o]);return null!==t&&t.push(n,i),i},argPackAdvance:fr,readValueFromPointer:Gt,destructorFunction:n}]}))},er=function(t,r,e,n,o){},nr=function(){for(var t=new Array(256),r=0;r<256;++r)t[r]=String.fromCharCode(r);or=t},ar=function(t){for(var r="",e=t;F[e];)r+=or[F[e++]];return r},sr=function(t){throw new ir(t)},fr=8,lr=function(t,r,e,n){r=ar(r),cr(t,{name:r,fromWireType:function(t){return!!t},toWireType:function(t,r){return r?e:n},argPackAdvance:fr,readValueFromPointer:function(t){return this.fromWireType(F[t])},destructorFunction:null})},pr=function(t){return{count:t.count,deleteScheduled:t.deleteScheduled,preservePointerOnDelete:t.preservePointerOnDelete,ptr:t.ptr,ptrType:t.ptrType,smartPtr:t.smartPtr,smartPtrType:t.smartPtrType}},dr=function(t){sr(t.$$.ptrType.registeredClass.name+" instance already deleted")},hr=!1,vr=function(t){},mr=function(t){t.smartPtr?t.smartPtrType.rawDestructor(t.smartPtr):t.ptrType.registeredClass.rawDestructor(t.ptr)},yr=function(t){t.count.value-=1,0===t.count.value&&mr(t)},gr=function t(r,e,n){if(e===n)return r;if(void 0===n.baseClass)return null;var o=t(r,e,n.baseClass);return null===o?null:n.downcast(o)},wr={},br=function(){return Object.keys(Tr).length},_r=function(){var t=[];for(var r in Tr)Tr.hasOwnProperty(r)&&t.push(Tr[r]);return t},Er=[],Ir=function(){for(;Er.length;){var t=Er.pop();t.$$.deleteScheduled=!1,t.delete()}},Pr=function(t){kr=t,Er.length&&kr&&kr(Ir)},Cr=function(){e.getInheritedInstanceCount=br,e.getLiveInheritedInstances=_r,e.flushPendingDeletes=Ir,e.setDelayFunction=Pr},Tr={},Sr=function(t,r){for(void 0===r&&sr("ptr should not be undefined");t.baseClass;)r=t.upcast(r),t=t.baseClass;return r},jr=function(t,r){return r=Sr(t,r),Tr[r]},Fr=function(t,r){return r.ptrType&&r.ptr||Kt("makeClassHandle requires ptr and ptrType"),!!r.smartPtrType!=!!r.smartPtr&&Kt("Both smartPtrType and smartPtr must be specified"),r.count={value:1},xr(Object.create(t,{$$:{value:r}}))},xr=function(t){return"undefined"==typeof FinalizationRegistry?(xr=function(t){return t},t):(hr=new FinalizationRegistry((function(t){yr(t.$$)})),xr=function(t){var r=t.$$;if(r.smartPtr){var e={$$:r};hr.register(t,e,t)}return t},vr=function(t){return hr.unregister(t)},xr(t))},Or=function(){Object.assign(Ar.prototype,{isAliasOf:function(t){if(!(this instanceof Ar))return!1;if(!(t instanceof Ar))return!1;var r=this.$$.ptrType.registeredClass,e=this.$$.ptr;t.$$=t.$$;for(var n=t.$$.ptrType.registeredClass,o=t.$$.ptr;r.baseClass;)e=r.upcast(e),r=r.baseClass;for(;n.baseClass;)o=n.upcast(o),n=n.baseClass;return r===n&&e===o},clone:function(){if(this.$$.ptr||dr(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var t=xr(Object.create(Object.getPrototypeOf(this),{$$:{value:pr(this.$$)}}));return t.$$.count.value+=1,t.$$.deleteScheduled=!1,t},delete:function(){this.$$.ptr||dr(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&sr("Object already scheduled for deletion"),vr(this),yr(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)},isDeleted:function(){return!this.$$.ptr},deleteLater:function(){return this.$$.ptr||dr(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&sr("Object already scheduled for deletion"),Er.push(this),1===Er.length&&kr&&kr(Ir),this.$$.deleteScheduled=!0,this}})},Rr=function(t,r){return Object.defineProperty(r,"name",{value:t})},Mr=function(t,r,e){if(void 0===t[r].overloadTable){var n=t[r];t[r]=function(){return t[r].overloadTable.hasOwnProperty(arguments.length)||sr("Function '".concat(e,"' called with an invalid number of arguments (").concat(arguments.length,") - expects one of (").concat(t[r].overloadTable,")!")),t[r].overloadTable[arguments.length].apply(this,arguments)},t[r].overloadTable=[],t[r].overloadTable[n.argCount]=n}},$r=function(t,r,n){e.hasOwnProperty(t)?((void 0===n||void 0!==e[t].overloadTable&&void 0!==e[t].overloadTable[n])&&sr("Cannot register public name '".concat(t,"' twice")),Mr(e,t,t),e.hasOwnProperty(n)&&sr("Cannot register multiple overloads of a function with the same number of arguments (".concat(n,")!")),e[t].overloadTable[n]=r):(e[t]=r,void 0!==n&&(e[t].numArguments=n))},Lr=function(t){if(void 0===t)return"_unknown";var r=(t=t.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return r>=48&&r<=57?"_".concat(t):t},zr=function(t,r,e){for(;r!==e;)r.upcast||sr("Expected null or instance of ".concat(e.name,", got an instance of ").concat(r.name)),t=r.upcast(t),r=r.baseClass;return t},Vr=function(){Object.assign(Yr.prototype,{getPointee:function(t){return this.rawGetPointee&&(t=this.rawGetPointee(t)),t},destructor:function(t){this.rawDestructor&&this.rawDestructor(t)},argPackAdvance:fr,readValueFromPointer:Hr,deleteObject:function(t){null!==t&&t.delete()},fromWireType:Dr})},qr=function(t,r,n){e.hasOwnProperty(t)||Kt("Replacing nonexistant public symbol"),void 0!==e[t].overloadTable&&void 0!==n?e[t].overloadTable[n]=r:(e[t]=r,e[t].argCount=n)},Gr=function(t,r,n){var o=e["dynCall_"+t];return n&&n.length?o.apply(null,[r].concat(n)):o.call(null,r)},Jr=[],Zr=function(t){var r=Jr[t];return r||(t>=Jr.length&&(Jr.length=t+1),Jr[t]=r=Xr.get(t)),r},Qr=function(t,r,e){return t.includes("j")?Gr(t,r,e):Zr(r).apply(null,e)},Kr=function(t,r){var e=[];return function(){return e.length=0,Object.assign(e,arguments),Qr(t,r,e)}},te=function(t,r){var e=(t=ar(t)).includes("j")?Kr(t,r):Zr(r);return"function"!=typeof e&&sr("unknown function pointer with signature ".concat(t,": ").concat(r)),e},re=function(t,r){var e=Rr(r,(function(t){this.name=r,this.message=t;var e=new Error(t).stack;void 0!==e&&(this.stack=this.toString()+"\n"+e.replace(/^Error(:[^\n]*)?\n/,""))}));return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.prototype.toString=function(){return void 0===this.message?this.name:"".concat(this.name,": ").concat(this.message)},e},ne=function(t){var r=Bn(t),e=ar(r);return Nn(r),e},oe=function(t,r){var e=[],n={};throw r.forEach((function t(r){n[r]||Xt[r]||(Zt[r]?Zt[r].forEach(t):(e.push(r),n[r]=!0))})),new ee("".concat(t,": ")+e.map(ne).join([", "]))},ae=function(t,r,e,n,o,a,i,s,u,c,f,l,p){f=ar(f),a=te(o,a),s&&(s=te(i,s)),c&&(c=te(u,c)),p=te(l,p);var d=Lr(f);$r(d,(function(){oe("Cannot construct ".concat(f," due to unbound types"),[n])})),tr([t,r,e],n?[n]:[],(function(r){var e,o;r=r[0],o=n?(e=r.registeredClass).instancePrototype:Ar.prototype;var i=Rr(f,(function(){if(Object.getPrototypeOf(this)!==u)throw new ir("Use 'new' to construct "+f);if(void 0===l.constructor_body)throw new ir(f+" has no accessible constructor");var t=l.constructor_body[arguments.length];if(void 0===t)throw new ir("Tried to invoke ctor of ".concat(f," with invalid number of parameters (").concat(arguments.length,") - expected (").concat(Object.keys(l.constructor_body).toString(),") parameters instead!"));return t.apply(this,arguments)})),u=Object.create(o,{constructor:{value:i}});i.prototype=u;var l=new Ur(f,i,u,p,e,a,s,c);l.baseClass&&(void 0===l.baseClass.__derivedClasses&&(l.baseClass.__derivedClasses=[]),l.baseClass.__derivedClasses.push(l));var h=new Yr(f,l,!0,!1,!1),v=new Yr(f+"*",l,!1,!1,!1),m=new Yr(f+" const*",l,!1,!0,!1);return wr[t]={pointerType:v,constPointerType:m},qr(d,i),[h,v,m]}))},ie=function(t,r){for(var e=[],n=0;n<t;n++)e.push(A[r+4*n>>2]);return e},ce=function(t,r,e,n,o,a){var i=ie(r,e);o=te(n,o),tr([],[t],(function(t){t=t[0];var e="constructor ".concat(t.name);if(void 0===t.registeredClass.constructor_body&&(t.registeredClass.constructor_body=[]),void 0!==t.registeredClass.constructor_body[r-1])throw new ir("Cannot register multiple constructors with identical number of parameters (".concat(r-1,") for class '").concat(t.name,"'! Overload resolution is currently only performed using the parameter count, not actual type info!"));return t.registeredClass.constructor_body[r-1]=function(){oe("Cannot construct ".concat(t.name," due to unbound types"),i)},tr([],i,(function(n){return n.splice(1,0,null),t.registeredClass.constructor_body[r-1]=ue(e,n,null,o,a),[]})),[]}))},fe=function(t){var r=(t=t.trim()).indexOf("(");return-1!==r?t.substr(0,r):t},le=function(t,r,e,n,o,a,i,s,u){var c=ie(e,n);r=ar(r),r=fe(r),a=te(o,a),tr([],[t],(function(t){t=t[0];var n="".concat(t.name,".").concat(r);function o(){oe("Cannot call ".concat(n," due to unbound types"),c)}r.startsWith("@@")&&(r=Symbol[r.substring(2)]),s&&t.registeredClass.pureVirtualFunctions.push(r);var f=t.registeredClass.instancePrototype,l=f[r];return void 0===l||void 0===l.overloadTable&&l.className!==t.name&&l.argCount===e-2?(o.argCount=e-2,o.className=t.name,f[r]=o):(Mr(f,r,n),f[r].overloadTable[e-2]=o),tr([],c,(function(o){var s=ue(n,o,t,a,i,u);return void 0===f[r].overloadTable?(s.argCount=e-2,f[r]=s):f[r].overloadTable[e-2]=s,[]})),[]}))},he=new de,ve=function(t){t>=he.reserved&&0==--he.get(t).refcount&&he.free(t)},me=function(){for(var t=0,r=he.reserved;r<he.allocated.length;++r)void 0!==he.allocated[r]&&++t;return t},ye=function(){he.allocated.push({value:void 0},{value:null},{value:!0},{value:!1}),he.reserved=he.allocated.length,e.count_emval_handles=me},ge={toValue:function(t){return t||sr("Cannot use deleted val. handle = "+t),he.get(t).value},toHandle:function(t){switch(t){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:return he.allocate({refcount:1,value:t})}}},we=function(t,r){r=ar(r),cr(t,{name:r,fromWireType:function(t){var r=ge.toValue(t);return ve(t),r},toWireType:function(t,r){return ge.toHandle(r)},argPackAdvance:fr,readValueFromPointer:Gt,destructorFunction:null})},be=function(t){if(null===t)return"null";var r=p(t);return"object"===r||"array"===r||"function"===r?t.toString():""+t},_e=function(t,r){switch(r){case 4:return function(t){return this.fromWireType(R[t>>2])};case 8:return function(t){return this.fromWireType(M[t>>3])};default:throw new TypeError("invalid float width (".concat(r,"): ").concat(t))}},Ee=function(t,r,e){r=ar(r),cr(t,{name:r,fromWireType:function(t){return t},toWireType:function(t,r){return r},argPackAdvance:fr,readValueFromPointer:_e(r,e),destructorFunction:null})},Ie=function(t,r,e){switch(r){case 1:return e?function(t){return j[t>>0]}:function(t){return F[t>>0]};case 2:return e?function(t){return D[t>>1]}:function(t){return x[t>>1]};case 4:return e?function(t){return O[t>>2]}:function(t){return A[t>>2]};default:throw new TypeError("invalid integer width (".concat(r,"): ").concat(t))}},ke=function(t,r,e,n,o){r=ar(r);var a=function(t){return t};if(0===n){var i=32-8*e;a=function(t){return t<<i>>>i}}var s=r.includes("unsigned");cr(t,{name:r,fromWireType:a,toWireType:s?function(t,r){return this.name,r>>>0}:function(t,r){return this.name,r},argPackAdvance:fr,readValueFromPointer:Ie(r,e,0!==n),destructorFunction:null})},Pe=function(t,r,e){var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][r];function o(t){var r=A[t>>2],e=A[t+4>>2];return new n(j.buffer,e,r)}e=ar(e),cr(t,{name:e,fromWireType:o,argPackAdvance:fr,readValueFromPointer:o},{ignoreDuplicateRegistrations:!0})},Ce=function(t,r,e){return Pt(t,F,r,e)},Te=function(t,r){var e="std::string"===(r=ar(r));cr(t,{name:r,fromWireType:function(t){var r,n=A[t>>2],o=t+4;if(e)for(var a=o,i=0;i<=n;++i){var s=o+i;if(i==n||0==F[s]){var u=Nt(a,s-a);void 0===r?r=u:(r+=String.fromCharCode(0),r+=u),a=s+1}}else{var c=new Array(n);for(i=0;i<n;++i)c[i]=String.fromCharCode(F[o+i]);r=c.join("")}return Nn(t),r},toWireType:function(t,r){var n;r instanceof ArrayBuffer&&(r=new Uint8Array(r));var o="string"==typeof r;o||r instanceof Uint8Array||r instanceof Uint8ClampedArray||r instanceof Int8Array||sr("Cannot pass non-string to std::string"),n=e&&o?kt(r):r.length;var a=zn(4+n+1),i=a+4;if(A[a>>2]=n,e&&o)Ce(r,i,n+1);else if(o)for(var s=0;s<n;++s){var u=r.charCodeAt(s);u>255&&(Nn(i),sr("String has UTF-16 code units that do not fit in 8 bits")),F[i+s]=u}else for(s=0;s<n;++s)F[i+s]=r[s];return null!==t&&t.push(Nn,a),a},argPackAdvance:fr,readValueFromPointer:Hr,destructorFunction:function(t){Nn(t)}})},Se="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0,je=function(t,r){for(var e=t,n=e>>1,o=n+r/2;!(n>=o)&&x[n];)++n;if((e=n<<1)-t>32&&Se)return Se.decode(F.subarray(t,e));for(var a="",i=0;!(i>=r/2);++i){var s=D[t+2*i>>1];if(0==s)break;a+=String.fromCharCode(s)}return a},Fe=function(t,r,e){if(void 0===e&&(e=2147483647),e<2)return 0;for(var n=r,o=(e-=2)<2*t.length?e/2:t.length,a=0;a<o;++a){var i=t.charCodeAt(a);D[r>>1]=i,r+=2}return D[r>>1]=0,r-n},De=function(t){return 2*t.length},xe=function(t,r){for(var e=0,n="";!(e>=r/4);){var o=O[t+4*e>>2];if(0==o)break;if(++e,o>=65536){var a=o-65536;n+=String.fromCharCode(55296|a>>10,56320|1023&a)}else n+=String.fromCharCode(o)}return n},Oe=function(t,r,e){if(void 0===e&&(e=2147483647),e<4)return 0;for(var n=r,o=n+e-4,a=0;a<t.length;++a){var i=t.charCodeAt(a);if(i>=55296&&i<=57343&&(i=65536+((1023&i)<<10)|1023&t.charCodeAt(++a)),O[r>>2]=i,(r+=4)+4>o)break}return O[r>>2]=0,r-n},Ae=function(t){for(var r=0,e=0;e<t.length;++e){var n=t.charCodeAt(e);n>=55296&&n<=57343&&++e,r+=4}return r},Re=function(t,r,e){var n,o,a,i,s;e=ar(e),2===r?(n=je,o=Fe,i=De,a=function(){return x},s=1):4===r&&(n=xe,o=Oe,i=Ae,a=function(){return A},s=2),cr(t,{name:e,fromWireType:function(t){for(var e,o=A[t>>2],i=a(),u=t+4,c=0;c<=o;++c){var f=t+4+c*r;if(c==o||0==i[f>>s]){var l=n(u,f-u);void 0===e?e=l:(e+=String.fromCharCode(0),e+=l),u=f+r}}return Nn(t),e},toWireType:function(t,n){"string"!=typeof n&&sr("Cannot pass non-string to C++ string type ".concat(e));var a=i(n),u=zn(4+a+r);return A[u>>2]=a>>s,o(n,u+4,a+r),null!==t&&t.push(Nn,u),u},argPackAdvance:fr,readValueFromPointer:Gt,destructorFunction:function(t){Nn(t)}})},Me=function(t,r,e,n,o,a){Yt[t]={name:ar(r),rawConstructor:te(e,n),rawDestructor:te(o,a),fields:[]}},$e=function(t,r,e,n,o,a,i,s,u,c){Yt[t].fields.push({fieldName:ar(r),getterReturnType:e,getter:te(n,o),getterContext:a,setterArgumentType:i,setter:te(s,u),setterContext:c})},Le=function(t,r){r=ar(r),cr(t,{isVoid:!0,name:r,argPackAdvance:0,fromWireType:function(){},toWireType:function(t,r){}})},Ue=function(t){do{var r=A[t>>2],e=A[(t+=4)>>2],n=A[(t+=4)>>2];t+=4;var o=Nt(r);zt.createPath("/",mt.dirname(o),!0,!0),zt.createDataFile(o,null,j.subarray(n,n+e),!0,!0,!0)}while(A[t>>2])},ze=function(){return 1},Ne=function(t,r){var e=Xt[t];return void 0===e&&sr(r+" has unknown type "+ne(t)),e},We=function(t,r,e){var n=[],o=t.toWireType(n,e);return n.length&&(A[r>>2]=ge.toHandle(n)),o},Be=function(t,r,e){return t=ge.toValue(t),r=Ne(r,"emval::as"),We(r,e,t)},He={},Ve=function(t){var r=He[t];return void 0===r?ar(t):r},Ye=[],qe=function(t,r,e,n,o){return(t=Ye[t])(r=ge.toValue(r),r[e=Ve(e)],n,o)},Ge=function(){return"object"==("undefined"==typeof globalThis?"undefined":p(globalThis))?globalThis:Function("return this")()},Je=function(t){return 0===t?ge.toHandle(Ge()):(t=Ve(t),ge.toHandle(Ge()[t]))},Xe=function(t){var r=Ye.length;return Ye.push(t),r},Ze=function(t,r){for(var e=new Array(t),n=0;n<t;++n)e[n]=Ne(A[r+4*n>>2],"parameter "+n);return e},Qe=function(t,r,e){var n=Ze(t,r),o=n.shift();t--;var a="return function (obj, func, destructorsRef, args) {\n",i=0,s=[];0===e&&s.push("obj");for(var u=["retType"],c=[o],f=0;f<t;++f)s.push("arg"+f),u.push("argType"+f),c.push(n[f]),a+=" var arg".concat(f," = argType").concat(f,".readValueFromPointer(args").concat(i?"+"+i:"",");\n"),i+=n[f].argPackAdvance;for(a+=" var rv = ".concat(1===e?"new func":"func.call","(").concat(s.join(", "),");\n"),f=0;f<t;++f)n[f].deleteObject&&(a+=" argType".concat(f,".deleteObject(arg").concat(f,");\n"));o.isVoid||(u.push("emval_returnValue"),c.push(We),a+=" return emval_returnValue(retType, destructorsRef, rv);\n"),a+="};\n",u.push(a);var l=se(Function,u).apply(null,c),p="methodCaller<(".concat(n.map((function(t){return t.name})).join(", "),") => ").concat(o.name,">");return Xe(Rr(p,l))},Ke=function(t,r){return t=ge.toValue(t),r=ge.toValue(r),ge.toHandle(t[r])},tn=function(t){t>4&&(he.get(t).refcount+=1)},rn=function(){return ge.toHandle([])},en=function(t){return ge.toHandle(Ve(t))},nn=function(){return ge.toHandle({})},on=function(t){var r=ge.toValue(t);qt(r),ve(t)},an=function(t,r,e){t=ge.toValue(t),r=ge.toValue(r),e=ge.toValue(e),t[r]=e},sn=function(t,r){var e=(t=Ne(t,"_emval_take_value")).readValueFromPointer(r);return ge.toHandle(e)},un=function(){tt("")},cn=function(){return Date.now()},fn=function(){return performance.now()},ln=function(t,r,e){return F.copyWithin(t,r,r+e)},pn=function(t){tt("OOM")},dn=function(t){F.length,pn()},hn={},vn=function(){return s||"./this.program"},mn=function t(){if(!t.strings){var r={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==("undefined"==typeof navigator?"undefined":p(navigator))&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:vn()};for(var e in hn)void 0===hn[e]?delete r[e]:r[e]=hn[e];var n=[];for(var e in r)n.push("".concat(e,"=").concat(r[e]));t.strings=n}return t.strings},yn=function(t,r){for(var e=0;e<t.length;++e)j[r++>>0]=t.charCodeAt(e);j[r>>0]=0},gn=function(t,r){var e=0;return mn().forEach((function(n,o){var a=r+e;A[t+4*o>>2]=a,yn(n,a),e+=n.length+1})),0},wn=function(t,r){var e=mn();A[t>>2]=e.length;var n=0;return e.forEach((function(t){return n+=t.length+1})),A[r>>2]=n,0},_n=function(t,r,e,n){for(var o=0,a=0;a<e;a++){var i=A[r>>2],s=A[r+4>>2];r+=8;var u=zt.read(t,j,i,s,n);if(u<0)return-1;if(o+=u,u<s)break;void 0!==n&&(n+=u)}return o},In=function(t,r){return r+2097152>>>0<4194305-!!t?(t>>>0)+4294967296*r:NaN},Pn=function(t,r,e,n){for(var o=0,a=0;a<e;a++){var i=A[r>>2],s=A[r+4>>2];r+=8;var u=zt.write(t,j,i,s,n);if(u<0)return-1;o+=u,void 0!==n&&(n+=u)}return o},Tn=function(t){return t%4==0&&(t%100!=0||t%400==0)},Sn=function(t,r){for(var e=0,n=0;n<=r;e+=t[n++]);return e},jn=[31,29,31,30,31,30,31,31,30,31,30,31],Fn=[31,28,31,30,31,30,31,31,30,31,30,31],Dn=function(t,r){for(var e=new Date(t.getTime());r>0;){var n=Tn(e.getFullYear()),o=e.getMonth(),a=(n?jn:Fn)[o];if(!(r>a-e.getDate()))return e.setDate(e.getDate()+r),e;r-=a-e.getDate()+1,e.setDate(1),o<11?e.setMonth(o+1):(e.setMonth(0),e.setFullYear(e.getFullYear()+1))}return e},xn=function(t,r){j.set(t,r)},On=function(t,r,e,n){var o=A[n+40>>2],a={tm_sec:O[n>>2],tm_min:O[n+4>>2],tm_hour:O[n+8>>2],tm_mday:O[n+12>>2],tm_mon:O[n+16>>2],tm_year:O[n+20>>2],tm_wday:O[n+24>>2],tm_yday:O[n+28>>2],tm_isdst:O[n+32>>2],tm_gmtoff:O[n+36>>2],tm_zone:o?Nt(o):""},i=Nt(e),s={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var u in s)i=i.replace(new RegExp(u,"g"),s[u]);var c=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],f=["January","February","March","April","May","June","July","August","September","October","November","December"];function l(t,r,e){for(var n="number"==typeof t?t.toString():t||"";n.length<r;)n=e[0]+n;return n}function p(t,r){return l(t,r,"0")}function d(t,r){function e(t){return t<0?-1:t>0?1:0}var n;return 0===(n=e(t.getFullYear()-r.getFullYear()))&&0===(n=e(t.getMonth()-r.getMonth()))&&(n=e(t.getDate()-r.getDate())),n}function h(t){switch(t.getDay()){case 0:return new Date(t.getFullYear()-1,11,29);case 1:return t;case 2:return new Date(t.getFullYear(),0,3);case 3:return new Date(t.getFullYear(),0,2);case 4:return new Date(t.getFullYear(),0,1);case 5:return new Date(t.getFullYear()-1,11,31);case 6:return new Date(t.getFullYear()-1,11,30)}}function v(t){var r=Dn(new Date(t.tm_year+1900,0,1),t.tm_yday),e=new Date(r.getFullYear(),0,4),n=new Date(r.getFullYear()+1,0,4),o=h(e),a=h(n);return d(o,r)<=0?d(a,r)<=0?r.getFullYear()+1:r.getFullYear():r.getFullYear()-1}var m={"%a":function(t){return c[t.tm_wday].substring(0,3)},"%A":function(t){return c[t.tm_wday]},"%b":function(t){return f[t.tm_mon].substring(0,3)},"%B":function(t){return f[t.tm_mon]},"%C":function(t){return p((t.tm_year+1900)/100|0,2)},"%d":function(t){return p(t.tm_mday,2)},"%e":function(t){return l(t.tm_mday,2," ")},"%g":function(t){return v(t).toString().substring(2)},"%G":function(t){return v(t)},"%H":function(t){return p(t.tm_hour,2)},"%I":function(t){var r=t.tm_hour;return 0==r?r=12:r>12&&(r-=12),p(r,2)},"%j":function(t){return p(t.tm_mday+Sn(Tn(t.tm_year+1900)?jn:Fn,t.tm_mon-1),3)},"%m":function(t){return p(t.tm_mon+1,2)},"%M":function(t){return p(t.tm_min,2)},"%n":function(){return"\n"},"%p":function(t){return t.tm_hour>=0&&t.tm_hour<12?"AM":"PM"},"%S":function(t){return p(t.tm_sec,2)},"%t":function(){return"\t"},"%u":function(t){return t.tm_wday||7},"%U":function(t){var r=t.tm_yday+7-t.tm_wday;return p(Math.floor(r/7),2)},"%V":function(t){var r=Math.floor((t.tm_yday+7-(t.tm_wday+6)%7)/7);if((t.tm_wday+371-t.tm_yday-2)%7<=2&&r++,r){if(53==r){var e=(t.tm_wday+371-t.tm_yday)%7;4==e||3==e&&Tn(t.tm_year)||(r=1)}}else{r=52;var n=(t.tm_wday+7-t.tm_yday-1)%7;(4==n||5==n&&Tn(t.tm_year%400-1))&&r++}return p(r,2)},"%w":function(t){return t.tm_wday},"%W":function(t){var r=t.tm_yday+7-(t.tm_wday+6)%7;return p(Math.floor(r/7),2)},"%y":function(t){return(t.tm_year+1900).toString().substring(2)},"%Y":function(t){return t.tm_year+1900},"%z":function(t){var r=t.tm_gmtoff,e=r>=0;return r=(r=Math.abs(r)/60)/60*100+r%60,(e?"+":"-")+String("0000"+r).slice(-4)},"%Z":function(t){return t.tm_zone},"%%":function(){return"%"}};for(var u in i=i.replace(/%%/g,"\0\0"),m)i.includes(u)&&(i=i.replace(new RegExp(u,"g"),m[u](a)));i=i.replace(/\0\0/g,"%");var y=St(i,!1);return y.length>r?0:(xn(y,t),y.length-1)},An=function(t,r,e,n,o){return On(t,r,e,n)},Rn=function(t,r,e,n){t||(t=this),this.parent=t,this.mount=t.mount,this.mounted=null,this.id=zt.nextInode++,this.name=r,this.mode=e,this.node_ops={},this.stream_ops={},this.rdev=n},Mn=365,$n=146,Object.defineProperties(Rn.prototype,{read:{get:function(){return(this.mode&Mn)===Mn},set:function(t){t?this.mode|=Mn:this.mode&=-366}},write:{get:function(){return(this.mode&$n)===$n},set:function(t){t?this.mode|=$n:this.mode&=-147}},isFolder:{get:function(){return zt.isDir(this.mode)}},isDevice:{get:function(){return zt.isChrdev(this.mode)}}}),zt.FSNode=Rn,zt.createPreloadedFile=$t,zt.staticInit(),e.FS_createPath=zt.createPath,e.FS_createDataFile=zt.createDataFile,e.FS_createPreloadedFile=zt.createPreloadedFile,e.FS_unlink=zt.unlink,e.FS_createLazyFile=zt.createLazyFile,e.FS_createDevice=zt.createDevice,Qt=e.InternalError=function(t){L(e,t);var r=Ct(e);function e(t){var n;return i(this,e),(n=r.call(this,t)).name="InternalError",n}return k(e)}(pt(Error)),nr(),ir=e.BindingError=function(t){L(e,t);var r=Ct(e);function e(t){var n;return i(this,e),(n=r.call(this,t)).name="BindingError",n}return k(e)}(pt(Error)),Or(),Cr(),Vr(),ee=e.UnboundTypeError=re(Error,"UnboundTypeError"),pe(),ye(),Ln={i:ht,t:Bt,H:Ht,s:Vt,w:rr,C:er,N:lr,z:ae,y:ce,l:le,M:we,u:Ee,f:ke,b:Pe,v:Te,o:Re,x:Me,h:$e,O:Le,P:Ue,J:ze,g:Be,k:qe,a:ve,T:Je,j:Qe,e:Ke,m:tn,S:rn,c:en,A:nn,d:on,R:an,Q:sn,p:un,K:cn,I:fn,L:ln,E:dn,F:gn,G:wn,n:bn,r:En,B:kn,q:Cn,D:An},Un=ut(),zn=function(t){return(zn=Un.W)(t)},Nn=function(t){return(Nn=Un.X)(t)},Wn=function(){return(Wn=Un.Z)()},Bn=function(t){return(Bn=Un._)(t)},Hn=function(t){return(Hn=Un.$)(t)},e.dynCall_ji=function(t,r){return(e.dynCall_ji=Un.aa)(t,r)},e.dynCall_jiii=function(t,r,n,o){return(e.dynCall_jiii=Un.ba)(t,r,n,o)},e.dynCall_jiji=function(t,r,n,o,a){return(e.dynCall_jiji=Un.ca)(t,r,n,o,a)},e.dynCall_viijii=function(t,r,n,o,a,i,s){return(e.dynCall_viijii=Un.da)(t,r,n,o,a,i,s)},e.dynCall_iiiiij=function(t,r,n,o,a,i,s){return(e.dynCall_iiiiij=Un.ea)(t,r,n,o,a,i,s)},e.dynCall_iiiiijj=function(t,r,n,o,a,i,s,u,c){return(e.dynCall_iiiiijj=Un.fa)(t,r,n,o,a,i,s,u,c)},e.dynCall_iiiiiijj=function(t,r,n,o,a,i,s,u,c,f){return(e.dynCall_iiiiiijj=Un.ga)(t,r,n,o,a,i,s,u,c,f)},e.___emscripten_embedded_file_data=3932092,e.addRunDependency=Q,e.removeRunDependency=K,e.FS_createPath=zt.createPath,e.FS_createLazyFile=zt.createLazyFile,e.FS_createDevice=zt.createDevice,e.FS_createPreloadedFile=zt.createPreloadedFile,e.FS_createDataFile=zt.createDataFile,e.FS_unlink=zt.unlink,X=function t(){Vn||Yn(),Vn||(X=t)},e.preInit)for("function"==typeof e.preInit&&(e.preInit=[e.preInit]);e.preInit.length>0;)e.preInit.pop()();return Yn(),t.abrupt("return",r.ready);case 305:case"end":return t.stop()}}),t)}))));function jt(t,r){var e=Dt();return(jt=function(t,r){return e[t-=377]})(t,r)}!function(t,r){for(var e=jt,n=t();;)try{if(734116===parseInt(e(388))/1+parseInt(e(385))/2*(parseInt(e(390))/3)+-parseInt(e(386))/4+-parseInt(e(389))/5*(-parseInt(e(384))/6)+parseInt(e(387))/7*(parseInt(e(377))/8)+parseInt(e(378))/9*(parseInt(e(380))/10)+parseInt(e(394))/11*(-parseInt(e(382))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Dt);var Ft=function(){var t=jt;function r(){i(this,r)}return k(r,[{key:"on",value:function(t,r,e){var n=jt,o=this.e||(this.e={});return(o[t]||(o[t]=[]))[n(391)]({fn:r,ctx:e}),this}},{key:"once",value:function(t,r,e){var n=this;function o(){var a=jt;n[a(383)](t,o);for(var i=arguments[a(379)],s=new Array(i),u=0;u<i;u++)s[u]=arguments[u];r.apply(e,s)}return o._=r,this.on(t,o,e)}},{key:t(393),value:function(r){for(var e=t,n=((this.e||(this.e={}))[r]||[])[e(396)](),o=arguments[e(379)],a=new Array(o>1?o-1:0),i=1;i<o;i++)a[i-1]=arguments[i];for(var s=0;s<n[e(379)];s+=1)n[s].fn[e(395)](n[s][e(381)],a);return this}},{key:t(383),value:function(r,e){var n=t,o=this.e||(this.e={});if(!r)return Object.keys(o)[n(392)]((function(t){delete o[t]})),void delete this.e;var a=o[r],i=[];if(a&&e)for(var s=0,u=a[n(379)];s<u;s+=1)a[s].fn!==e&&a[s].fn._!==e&&i.push(a[s]);return i[n(379)]?o[r]=i:delete o[r],this}}]),r}();function Dt(){var t=["24XRDLkF","955180TDoqxp","3487852LkvrHN","1737253CfOjAp","443366MfwLDh","1112330PfYlVt","3ZMcUnq","push","forEach","emit","11899041QUCeYX","apply","slice","24ZNUhxI","10927656cPpVSX","length","10NTvPhm","ctx","24wKUwGZ","off"];return(Dt=function(){return t})()}function xt(){var t=["2928eDzlvX",'"1.0.0"',"1392750rlABCJ","8216bQjaou","8mNNkAU","38weBTgZ","230XmNSbC","debug","33081DUbsiE","4782789kssWwo","219307vDmdxC","warn","973iBgpat","120ZrISRt","149617cpijCL","44364LDDySN"];return(xt=function(){return t})()}var Ot=At;function At(t,r){var e=xt();return(At=function(t,r){return e[t-=227]})(t,r)}!function(t,r){for(var e=At,n=t();;)try{if(686614===parseInt(e(241))/1*(-parseInt(e(239))/2)+-parseInt(e(228))/3*(-parseInt(e(233))/4)+-parseInt(e(238))/5+-parseInt(e(235))/6*(parseInt(e(232))/7)+parseInt(e(240))/8*(-parseInt(e(229))/9)+parseInt(e(242))/10*(-parseInt(e(230))/11)+parseInt(e(236))/12*(parseInt(e(234))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(xt);var Rt={debug:Ot(227),warn:Ot(231)},Mt={debug:!1,debugLevel:Rt[Ot(231)],debugUuid:""},$t=Ot(237);function Lt(t,r){var e=Nt();return(Lt=function(t,r){return e[t-=453]})(t,r)}function Ut(t){return!(null==t)}function zt(t){return e=Lt,!((r=t)&&0===Object[e(464)](r)[e(454)]);var r,e}function Nt(){var t=["1ifHWhy","2944364FKruFL","108tRdZZP","10822488PVHNMh","874423JwXOdu","object","738VPPJCh","keys","14841BAtgoG","6131165opgiGm","24837cHhmxp","60977Edknny","170yRvOXk","length","13HfgYJJ","4872PQudbY"];return(Nt=function(){return t})()}function Wt(){return function(t){var r=Lt,e="";if(p(t)===r(462))try{e=JSON.stringify(t),e=JSON.parse(e)}catch(r){e=t}else e=t;return e}(Mt)}function Bt(t,r){var e=Vt();return(Bt=function(t,r){return e[t-=315]})(t,r)}!function(t,r){for(var e=Lt,n=t();;)try{if(851777===parseInt(e(457))/1*(parseInt(e(458))/2)+parseInt(e(467))/3*(parseInt(e(459))/4)+-parseInt(e(466))/5+-parseInt(e(463))/6*(parseInt(e(468))/7)+-parseInt(e(456))/8*(-parseInt(e(465))/9)+parseInt(e(453))/10*(parseInt(e(461))/11)+-parseInt(e(460))/12*(parseInt(e(455))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Nt),function(t,r){for(var e=Bt,n=t();;)try{if(434781===-parseInt(e(330))/1*(-parseInt(e(335))/2)+parseInt(e(325))/3*(-parseInt(e(334))/4)+-parseInt(e(323))/5+parseInt(e(326))/6*(parseInt(e(341))/7)+parseInt(e(322))/8*(-parseInt(e(316))/9)+-parseInt(e(340))/10*(-parseInt(e(329))/11)+parseInt(e(324))/12*(parseInt(e(336))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Vt);var Ht=k((function t(r){var e=Bt;i(this,t),this[e(332)]=function(t){var n=e;if(r._opt[n(337)]&&r[n(338)][n(320)]==Rt[n(337)]){for(var o,a=r[n(338)][n(331)]?"["[n(339)](r[n(338)][n(331)],"]"):"",i=arguments[n(327)],s=new Array(i>1?i-1:0),u=1;u<i;u++)s[u-1]=arguments[u];(o=console)[n(332)][n(318)](o,["JbPro"[n(339)](a,n(315)).concat(t,"]")][n(339)](s))}},this[e(319)]=function(t){var n=e;if(r[n(338)][n(337)]&&(r[n(338)][n(320)]==Rt[n(337)]||r[n(338)].debugLevel==Rt[n(319)])){for(var o,a=r[n(338)][n(331)]?"[".concat(r._opt[n(331)],"]"):"",i=arguments[n(327)],s=new Array(i>1?i-1:0),u=1;u<i;u++)s[u-1]=arguments[u];(o=console)[n(332)][n(318)](o,[n(328).concat(a,n(321))[n(339)](t,"]")].concat(s))}},this.error=function(t){for(var n,o=e,a=r[o(338)][o(331)]?"[".concat(r[o(338)][o(331)],"]"):"",i=arguments[o(327)],s=new Array(i>1?i-1:0),u=1;u<i;u++)s[u-1]=arguments[u];(n=console)[o(317)][o(318)](n,[o(328)[o(339)](a,o(333)).concat(t,"]")][o(339)](s))}}));function Vt(){var t=["_opt","concat","62130JrqDgd","14SWYfkm","[✅✅✅][imageDetector][","441MHwzFk","error","apply","warn","debugLevel","[❗❗❗][imageDetector][","46320uwVFcE","4345265hTuZKY","96228pBziVJ","9dZujnL","319848bjdbwq","length","JbPro","1386DJtnEP","13861qPOAOE","debugUuid","log","[❌❌❌][imageDetector][","162368GkKKTP","94hCseop","273ozPbny","debug"];return(Vt=function(){return t})()}function Yt(t,r){var e=Jt();return(Yt=function(t,r){return e[t-=367]})(t,r)}var qt=Yt;function Gt(t){var r=function(){var t=Yt;if(typeof Reflect===t(394)||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean[t(384)][t(396)][t(371)](Reflect[t(393)](Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var e,n=Yt,o=J(t);if(r){var a=J(this)[n(388)];e=Reflect[n(393)](o,arguments,a)}else e=o[n(437)](this,arguments);return H(this,e)}}function Jt(){var t=["notifyDetectInfo","prototype","8904833wYvaCH","className","currentTs","constructor","TAG_NAME","635589REJdFC","detectWidth","width","construct","undefined","load","valueOf","遥控器","concat","冲浪板","outObjectYUV","1807uNFgDU","then","jessibuca-pro-object-detector-info","8NJpQDn","长颈鹿","电视机","detector","10188nyFPJQ","114oYPqnV","error","JessibucaProObjectDetector","西兰花","1CLiOFu","validatedFailed, please contact the author to get the correct license","startTimestamp","list","ObjectDetector","滑雪板","180pSxIQm","buildTime","showInfo","now","showRect","运动球","170345IcThTl","textColor","load jessibuca object detector error","JbPro object detector version is "," and is Trial Version[试用版本]","325276NHLFTy","module","subarray","629607swUYtR","胡萝卜","length","停止标志","apply","消防栓","updateConfig","validatedFailed","棒球手套","data","手提包","confidence","烤面包机","delete","destroy","16137FsiScU","摩托车","12bacVyr","originalOptions","_opt","height","停车收费表","debug","rectangleColor","2279686TefTnC","setDetectWidth","自行车","call","甜甜圈","map","detect","log","交通灯","棒球棒","吹风机","网球拍","box","clear","emit"];return(Jt=function(){return t})()}!function(t,r){for(var e=Yt,n=t();;)try{if(696329===-parseInt(e(413))/1*(parseInt(e(368))/2)+-parseInt(e(433))/3*(-parseInt(e(450))/4)+parseInt(e(425))/5*(parseInt(e(409))/6)+parseInt(e(385))/7*(parseInt(e(404))/8)+parseInt(e(390))/9*(parseInt(e(419))/10)+parseInt(e(448))/11*(parseInt(e(408))/12)+parseInt(e(401))/13*(-parseInt(e(430))/14))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Jt);var Xt={person:"人",bicycle:qt(370),car:"汽车",motorbike:qt(449),aeroplane:"飞机",bus:"公共汽车",train:"火车",truck:"卡车",boat:"船","traffic light":qt(376),"fire hydrant":qt(438),"stop sign":qt(436),"parking meter":qt(454),bench:"长凳",bird:"鸟",cat:"猫",dog:"狗",horse:"马",sheep:"绵羊",cow:"牛",elephant:"大象",bear:"熊",zebra:"斑马",giraffe:qt(405),backpack:"背包",umbrella:"雨伞",handbag:qt(443),tie:"领带",suitcase:"手提箱",frisbee:"飞盘",skis:qt(418),snowboard:"雪板","sports ball":qt(424),kite:"风筝","baseball bat":qt(377),"baseball glove":qt(441),skateboard:"滑板",surfboard:qt(399),"tennis racket":qt(379),bottle:"瓶子","wine glass":"红酒杯",cup:"杯子",fork:"叉子",knife:"刀子",spoon:"勺子",bowl:"碗",banana:"香蕉",apple:"苹果",sandwich:"三明治",orange:"橙子",broccoli:qt(412),carrot:qt(434),"hot dog":"热狗",pizza:"比萨饼",donut:qt(372),cake:"蛋糕",chair:"椅子",sofa:"沙发",pottedplant:"盆栽",bed:"床",diningtable:"餐桌",toilet:"厕所",tvmonitor:qt(406),laptop:"笔记本电脑",mouse:"鼠标",remote:qt(397),keyboard:"键盘","cell phone":"手机",microwave:"微波炉",oven:"烤箱",toaster:qt(445),sink:"水槽",refrigerator:"冰箱",book:"书",clock:"时钟",vase:"花瓶",scissors:"剪刀","teddy bear":"熊","hair drier":qt(378),toothbrush:"牙刷"},Zt=function(t){var r=qt;L(n,t);var e=Gt(n);function n(){var t,r=Yt,o=arguments[r(435)]>0&&void 0!==arguments[0]?arguments[0]:{};i(this,n),(t=e[r(371)](this))[r(451)]=o;var a=Wt(),s=Object.assign({},a,o);return t[r(452)]=s,t[r(455)]=new Ht(F(t)),t[r(389)]="ObjectDetector",t.module=null,t.detector=null,t.startTimestamp=null,t.detectWidth=o[r(391)]||192,t[r(423)]=!1!==o.showRect,t[r(420)]=o.name+"-"+o[r(420)],t[r(426)]=o[r(426)]||{r:0,g:255,b:0},t[r(367)]=o[r(367)]||{r:0,g:0,b:255},t.currentTs=null,console[r(375)](r(428)[r(398)](o[r(420)],":")[r(398)]($t,r(429))),t}return k(n,[{key:r(447),value:function(){var t=r;this.off(),this.detector&&(this[t(407)][t(381)](),this[t(407)][t(446)]()),this[t(431)]&&(this[t(431)]=null),this[t(415)]=null,this[t(387)]=null}},{key:r(395),value:function(){var t=this;return new Promise((function(r,e){var n=Yt;St()[n(402)]((function(o){var a=n;t[a(431)]=o,t[a(431)][a(417)]?(t[a(407)]=new(t[a(431)][a(417)])(t),t[a(407)].setDetectWidth(t[a(391)]),t[a(407)].setParams({showInfo:t[a(423)],rectangleColor:t[a(367)],textColor:t[a(426)]}),r()):e("load jessibuca object detector fail")})).catch((function(t){var r=n;console[r(410)](t),e(r(427))}))}))}},{key:r(439),value:function(){var t=r,e=arguments[t(435)]>0&&void 0!==arguments[0]?arguments[0]:{};e[t(391)]&&(this[t(391)]=e[t(391)],this[t(407)]&&this[t(407)][t(369)](this[t(391)]));var n={};Ut(e[t(423)])&&(this.showRect=e.showRect,n[t(421)]=e[t(423)]),Ut(e.rectangleColor)&&(this.rectangleColor=e[t(367)],n[t(367)]=e[t(367)]),Ut(e[t(426)])&&(this.textColor=e[t(426)],n.textColor=e.textColor),zt(n)&&this[t(407)]&&this[t(407)].setParams(n)}},{key:r(383),value:function(t){var e=r;if(this.detector){var n={list:[],ts:this[e(387)]||0};n[e(416)]=(t||[])[e(373)]((function(t){var r=e;return{en:t[r(386)],zh:Xt[t.className]||t.className,rect:t[r(380)],confidence:t[r(444)]}})),this[e(382)](e(403),n)}}},{key:r(374),value:function(t){var e=r;if(!this[e(407)])return t.data;if(null===this.startTimestamp&&(this[e(415)]=Date[e(422)]()),Date[e(422)]()-this[e(415)]>6e5)return t.data;this[e(387)]=t.ts;var n=this[e(407)][e(374)](t[e(442)],t[e(392)],t[e(453)],this.buildTime);if(n&&n[e(400)]){var o=n[e(400)],a=o+3*(t[e(392)]*t.height)/2;return this[e(431)].HEAPU8[e(432)](o,a)}return t[e(442)]}},{key:r(440),value:function(){var t=r;this[t(455)][t(410)](this[t(389)],t(414))}}]),n}(Ft);window[qt(411)]=Zt}));