dicom-microscopy-viewer 0.48.19 → 0.48.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dataLoader.worker.bundle.min.js +1 -1
- package/dist/dataLoader.worker.bundle.min.js.map +1 -1
- package/dist/dynamic-import/dataLoader.worker.min.js +2 -1
- package/dist/dynamic-import/dataLoader.worker.min.js.map +1 -1
- package/package.json +1 -1
- package/src/webWorker/transformers/transformerICC.js +1 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! For license information please see dataLoader.worker.bundle.min.js.LICENSE.txt */
|
|
2
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("dicomMicroscopyViewer",[],e):"object"==typeof exports?exports.dicomMicroscopyViewer=e():t.dicomMicroscopyViewer=e()}(this,()=>(()=>{var __webpack_modules__={596:(t,e,r)=>{"use strict";var n=r(96377),o=r(33752);n({target:"Promise",stat:!0,forced:r(84801).CONSTRUCTOR},{reject:function(t){var e=o.f(this);return(0,e.reject)(t),e.promise}})},746:(t,e,r)=>{"use strict";var n,o,i,a=r(81349),s=r(77017),u=r(59371),c=r(3236),f=r(26406),l=r(84394),p=r(27932),d=r(59360),h="Object already initialized",v=s.TypeError,m=s.WeakMap;if(a||l.state){var y=l.state||(l.state=new m);y.get=y.get,y.has=y.has,y.set=y.set,n=function(t,e){if(y.has(t))throw new v(h);return e.facade=t,y.set(t,e),e},o=function(t){return y.get(t)||{}},i=function(t){return y.has(t)}}else{var g=p("state");d[g]=!0,n=function(t,e){if(f(t,g))throw new v(h);return e.facade=t,c(t,g,e),e},o=function(t){return f(t,g)?t[g]:{}},i=function(t){return f(t,g)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=o(e)).type!==t)throw new v("Incompatible receiver, "+t+" required");return r}}}},1140:(t,e,r)=>{"use strict";var n=r(41748),o=r(56158),i=r(77017).String;t.exports=!!Object.getOwnPropertySymbols&&!o(function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41})},1212:(t,e,r)=>{"use strict";var n=r(84299);r(58081),r(40801),r(11072),t.exports=n},2241:(t,e,r)=>{"use strict";var n=r(52647);t.exports=function(t){return n(t.length)}},2582:(t,e,r)=>{"use strict";var n=r(96377),o=r(99230);n({target:"Set",proto:!0,real:!0,forced:!r(57107)("isDisjointFrom",function(t){return!t})},{isDisjointFrom:o})},2979:(t,e,r)=>{"use strict";var n=r(56158),o=r(59371),i=r(61813),a=r(74089),s=Object.isExtensible,u=n(function(){s(1)});t.exports=u||a?function(t){return!!o(t)&&((!a||"ArrayBuffer"!==i(t))&&(!s||s(t)))}:s},3236:(t,e,r)=>{"use strict";var n=r(69705),o=r(16142),i=r(66231);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},3780:(t,e,r)=>{"use strict";var n=r(56158);t.exports=!n(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},3852:(t,e,r)=>{var n=r(75617),o=r(94423);function i(e){return t.exports=i="function"==typeof n&&"symbol"==typeof o?function(t){return typeof t}:function(t){return t&&"function"==typeof n&&t.constructor===n&&t!==n.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,i(e)}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports},4354:()=>{},4525:(t,e,r)=>{"use strict";var n=r(9128),o=r(93790),i=r(76744),a=r(746),s=r(16142).f,u=r(67917),c=r(12004),f=r(15514),l=r(69705),p="Array Iterator",d=a.set,h=a.getterFor(p);t.exports=u(Array,"Array",function(t,e){d(this,{type:p,target:n(t),index:0,kind:e})},function(){var t=h(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,c(void 0,!0);switch(t.kind){case"keys":return c(r,!1);case"values":return c(e[r],!1)}return c([r,e[r]],!1)},"values");var v=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!f&&l&&"values"!==v.name)try{s(v,"name",{value:"values"})}catch(t){}},4602:(t,e,r)=>{"use strict";var n=r(56158),o=r(66231);t.exports=!n(function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)})},4629:(t,e,r)=>{"use strict";var n=r(96830)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,"/./"[t](e)}catch(t){}}return!1}},4890:(t,e,r)=>{"use strict";r(22349)},5231:(t,e,r)=>{"use strict";var n=r(96377),o=r(56158),i=r(28011),a=r(59371),s=r(78248),u=r(2241),c=r(64638),f=r(56709),l=r(33418),p=r(25806),d=r(96830),h=r(41748),v=d("isConcatSpreadable"),m=h>=51||!o(function(){var t=[];return t[v]=!1,t.concat()[0]!==t}),y=function(t){if(!a(t))return!1;var e=t[v];return void 0!==e?!!e:i(t)};n({target:"Array",proto:!0,arity:1,forced:!m||!p("concat")},{concat:function(t){var e,r,n,o,i,a=s(this),p=l(a,0),d=0;for(e=-1,n=arguments.length;e<n;e++)if(y(i=-1===e?a:arguments[e]))for(o=u(i),c(d+o),r=0;r<o;r++,d++)r in i&&f(p,d,i[r]);else c(d+1),f(p,d++,i);return p.length=d,p}})},5515:(t,e,r)=>{"use strict";for(var n=r(91918),o=r(48192),i=r(12973),a=r(54252),s=r(96830),u=o("Symbol"),c=u.isWellKnownSymbol,f=o("Object","getOwnPropertyNames"),l=i(u.prototype.valueOf),p=n("wks"),d=0,h=f(u),v=h.length;d<v;d++)try{var m=h[d];a(u[m])&&s(m)}catch(t){}t.exports=function(t){if(c&&c(t))return!0;try{for(var e=l(t),r=0,n=f(p),o=n.length;r<o;r++)if(p[n[r]]==e)return!0}catch(t){}return!1}},5866:(t,e,r)=>{"use strict";var n=r(33097);r(19706),r(16555),r(37234),r(15798),t.exports=n},5962:(t,e,r)=>{"use strict";var n=r(96377),o=r(48192),i=r(77882),a=r(6087),s=r(78837),u=r(9262),c=r(59371),f=r(50429),l=r(56158),p=o("Reflect","construct"),d=Object.prototype,h=[].push,v=l(function(){function t(){}return!(p(function(){},[],t)instanceof t)}),m=!l(function(){p(function(){})}),y=v||m;n({target:"Reflect",stat:!0,forced:y,sham:y},{construct:function(t,e){s(t),u(e);var r=arguments.length<3?t:s(arguments[2]);if(m&&!v)return p(t,e,r);if(t===r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return i(h,n,e),new(i(a,t,n))}var o=r.prototype,l=f(c(o)?o:d),y=i(t,l,e);return c(y)?y:l}})},6087:(t,e,r)=>{"use strict";var n=r(12973),o=r(39789),i=r(59371),a=r(26406),s=r(89125),u=r(29587),c=Function,f=n([].concat),l=n([].join),p={};t.exports=u?c.bind:function(t){var e=o(this),r=e.prototype,n=s(arguments,1),u=function(){var r=f(n,s(arguments));return this instanceof u?function(t,e,r){if(!a(p,e)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";p[e]=c("C,a","return new C("+l(n,",")+")")}return p[e](t,r)}(e,r.length,r):e.apply(t,r)};return i(r)&&(u.prototype=r),u}},6639:(t,e,r)=>{"use strict";var n=r(73496);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},6670:(t,e,r)=>{"use strict";r(37080)("hasInstance")},6862:(t,e,r)=>{"use strict";var n=r(12973),o=r(56158),i=r(73024),a=r(13698),s=r(48192),u=r(71169),c=function(){},f=s("Reflect","construct"),l=/^\s*(?:class|function)\b/,p=n(l.exec),d=!l.test(c),h=function(t){if(!i(t))return!1;try{return f(c,[],t),!0}catch(t){return!1}},v=function(t){if(!i(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(l,u(t))}catch(t){return!0}};v.sham=!0,t.exports=!f||o(function(){var t;return h(h.call)||!h(Object)||!h(function(){t=!0})||t})?v:h},6975:(t,e,r)=>{"use strict";var n=r(50648);r(14614),t.exports=n},7393:(t,e,r)=>{"use strict";r(37080)("dispose")},7822:(t,e,r)=>{"use strict";var n=r(96830);e.f=n},7825:(t,e,r)=>{"use strict";var n=r(95804),o=r(48192),i=r(96830),a=r(29481);t.exports=function(){var t=o("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,s=i("toPrimitive");e&&!e[s]&&a(e,s,function(t){return n(r,this)},{arity:1})}},7849:(t,e,r)=>{"use strict";r(37080)("patternMatch")},8028:(t,e,r)=>{"use strict";var n=r(69705),o=r(95804),i=r(39148),a=r(66231),s=r(9128),u=r(52884),c=r(26406),f=r(67458),l=Object.getOwnPropertyDescriptor;e.f=n?l:function(t,e){if(t=s(t),e=u(e),f)try{return l(t,e)}catch(t){}if(c(t,e))return a(!o(i.f,t,e),t[e])}},8617:(t,e,r)=>{"use strict";var n=r(96377),o=r(26406),i=r(54252),a=r(38818),s=r(91918),u=r(33749),c=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{keyFor:function(t){if(!i(t))throw new TypeError(a(t)+" is not a symbol");if(o(c,t))return c[t]}})},8644:(t,e,r)=>{"use strict";var n=r(73496);t.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},8922:(t,e,r)=>{"use strict";r(37080)("species")},9037:(t,e,r)=>{"use strict";var n=r(66062),o=r(96731),i=Array.prototype;t.exports=function(t){var e=t.reduce;return t===i||n(i,t)&&e===i.reduce?o:e}},9128:(t,e,r)=>{"use strict";var n=r(99980),o=r(20825);t.exports=function(t){return n(o(t))}},9184:function(t,e,r){t.exports=r.p+"c22b37c3488e1d6c3aa4.wasm"},9262:(t,e,r)=>{"use strict";var n=r(59371),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},9412:(t,e,r)=>{"use strict";var n=r(96377),o=r(95804),i=r(39789),a=r(33752),s=r(50406),u=r(21653);n({target:"Promise",stat:!0,forced:r(87352)},{allSettled:function(t){var e=this,r=a.f(e),n=r.resolve,c=r.reject,f=s(function(){var r=i(e.resolve),a=[],s=0,c=1;u(t,function(t){var i=s++,u=!1;c++,o(r,e,t).then(function(t){u||(u=!0,a[i]={status:"fulfilled",value:t},--c||n(a))},function(t){u||(u=!0,a[i]={status:"rejected",reason:t},--c||n(a))})}),--c||n(a)});return f.error&&c(f.value),r.promise}})},9842:(t,e,r)=>{"use strict";var n=r(69705),o=r(61791),i=r(16142),a=r(9262),s=r(9128),u=r(91861);e.f=n&&!o?Object.defineProperties:function(t,e){a(t);for(var r,n=s(e),o=u(e),c=o.length,f=0;c>f;)i.f(t,r=o[f++],n[r]);return t}},9854:(t,e,r)=>{"use strict";t.exports=r(1212)},10612:(t,e,r)=>{"use strict";var n=r(96377),o=r(77017),i=r(95804),a=r(12973),s=r(15514),u=r(69705),c=r(1140),f=r(56158),l=r(26406),p=r(66062),d=r(9262),h=r(9128),v=r(52884),m=r(82998),y=r(66231),g=r(50429),w=r(91861),b=r(17025),_=r(83153),x=r(54768),T=r(8028),P=r(16142),$=r(9842),C=r(39148),S=r(29481),k=r(94681),A=r(91918),j=r(27932),E=r(59360),O=r(88733),F=r(96830),R=r(7822),W=r(37080),D=r(7825),I=r(32134),U=r(746),M=r(63156).forEach,q=j("hidden"),z="Symbol",B="prototype",N=U.set,V=U.getterFor(z),H=Object[B],L=o.Symbol,G=L&&L[B],J=o.RangeError,X=o.TypeError,K=o.QObject,Y=T.f,Z=P.f,Q=_.f,tt=C.f,et=a([].push),rt=A("symbols"),nt=A("op-symbols"),ot=A("wks"),it=!K||!K[B]||!K[B].findChild,at=function(t,e,r){var n=Y(H,e);n&&delete H[e],Z(t,e,r),n&&t!==H&&Z(H,e,n)},st=u&&f(function(){return 7!==g(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a})?at:Z,ut=function(t,e){var r=rt[t]=g(G);return N(r,{type:z,tag:t,description:e}),u||(r.description=e),r},ct=function(t,e,r){t===H&&ct(nt,e,r),d(t);var n=v(e);return d(r),l(rt,n)?(r.enumerable?(l(t,q)&&t[q][n]&&(t[q][n]=!1),r=g(r,{enumerable:y(0,!1)})):(l(t,q)||Z(t,q,y(1,g(null))),t[q][n]=!0),st(t,n,r)):Z(t,n,r)},ft=function(t,e){d(t);var r=h(e),n=w(r).concat(ht(r));return M(n,function(e){u&&!i(lt,r,e)||ct(t,e,r[e])}),t},lt=function(t){var e=v(t),r=i(tt,this,e);return!(this===H&&l(rt,e)&&!l(nt,e))&&(!(r||!l(this,e)||!l(rt,e)||l(this,q)&&this[q][e])||r)},pt=function(t,e){var r=h(t),n=v(e);if(r!==H||!l(rt,n)||l(nt,n)){var o=Y(r,n);return!o||!l(rt,n)||l(r,q)&&r[q][n]||(o.enumerable=!0),o}},dt=function(t){var e=Q(h(t)),r=[];return M(e,function(t){l(rt,t)||l(E,t)||et(r,t)}),r},ht=function(t){var e=t===H,r=Q(e?nt:h(t)),n=[];return M(r,function(t){!l(rt,t)||e&&!l(H,t)||et(n,rt[t])}),n};c||(S(G=(L=function(){if(p(G,this))throw new X("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?m(arguments[0]):void 0,e=O(t),r=function(t){var n=void 0===this?o:this;n===H&&i(r,nt,t),l(n,q)&&l(n[q],e)&&(n[q][e]=!1);var a=y(1,t);try{st(n,e,a)}catch(t){if(!(t instanceof J))throw t;at(n,e,a)}};return u&&it&&st(H,e,{configurable:!0,set:r}),ut(e,t)})[B],"toString",function(){return V(this).tag}),S(L,"withoutSetter",function(t){return ut(O(t),t)}),C.f=lt,P.f=ct,$.f=ft,T.f=pt,b.f=_.f=dt,x.f=ht,R.f=function(t){return ut(F(t),t)},u&&(k(G,"description",{configurable:!0,get:function(){return V(this).description}}),s||S(H,"propertyIsEnumerable",lt,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:L}),M(w(ot),function(t){W(t)}),n({target:z,stat:!0,forced:!c},{useSetter:function(){it=!0},useSimple:function(){it=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!u},{create:function(t,e){return void 0===e?g(t):ft(g(t),e)},defineProperty:ct,defineProperties:ft,getOwnPropertyDescriptor:pt}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:dt}),D(),I(L,z),E[q]=!0},10712:(t,e,r)=>{"use strict";var n=r(29349),o=r(13698);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},10894:(t,e,r)=>{"use strict";var n,o,i,a=r(56158),s=r(73024),u=r(59371),c=r(50429),f=r(91174),l=r(29481),p=r(96830),d=r(15514),h=p("iterator"),v=!1;[].keys&&("next"in(i=[].keys())?(o=f(f(i)))!==Object.prototype&&(n=o):v=!0),!u(n)||a(function(){var t={};return n[h].call(t)!==t})?n={}:d&&(n=c(n)),s(n[h])||l(n,h,function(){return this}),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:v}},10905:(t,e,r)=>{"use strict";var n=r(96377),o=r(44209).left,i=r(95561),a=r(41748);n({target:"Array",proto:!0,forced:!r(64184)&&a>79&&a<83||!i("reduce")},{reduce:function(t){var e=arguments.length;return o(this,t,e,e>1?arguments[1]:void 0)}})},11072:(t,e,r)=>{"use strict";r(79625)},11243:(t,e,r)=>{"use strict";var n=r(69705),o=r(26406),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=o(i,"name"),u=s&&"something"===function(){}.name,c=s&&(!n||n&&a(i,"name").configurable);t.exports={EXISTS:s,PROPER:u,CONFIGURABLE:c}},11412:(t,e,r)=>{"use strict";r(68992);var n=r(65020).Object,o=t.exports=function(t,e,r){return n.defineProperty(t,e,r)};n.defineProperty.sham&&(o.sham=!0)},11847:(t,e,r)=>{"use strict";var n=r(96830)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,function(){throw 2})}catch(t){}t.exports=function(t,e){try{if(!e&&!o)return!1}catch(t){return!1}var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},12004:t=>{"use strict";t.exports=function(t,e){return{value:t,done:e}}},12167:(t,e,r)=>{"use strict";var n=r(96377),o=r(48192),i=r(26406),a=r(82998),s=r(91918),u=r(33749),c=s("string-to-symbol-registry"),f=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=a(t);if(i(c,e))return c[e];var r=o("Symbol")(e);return c[e]=r,f[r]=e,r}})},12429:(t,e,r)=>{"use strict";var n=r(97272);t.exports=n},12973:(t,e,r)=>{"use strict";var n=r(29587),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);t.exports=n?a:function(t){return function(){return i.apply(t,arguments)}}},13149:(t,e,r)=>{"use strict";var n=r(44604);t.exports=n},13698:(t,e,r)=>{"use strict";var n=r(29349),o=r(73024),i=r(61813),a=r(96830)("toStringTag"),s=Object,u="Arguments"===i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=s(t),a))?r:u?i(e):"Object"===(n=i(e))&&o(e.callee)?"Arguments":n}},14184:(t,e,r)=>{"use strict";var n=r(66062),o=r(94301),i=Function.prototype;t.exports=function(t){var e=t.bind;return t===i||n(i,t)&&e===i.bind?o:e}},14386:(t,e,r)=>{"use strict";var n=r(96377),o=r(95804),i=r(39789),a=r(33752),s=r(50406),u=r(21653);n({target:"Promise",stat:!0,forced:r(87352)},{race:function(t){var e=this,r=a.f(e),n=r.reject,c=s(function(){var a=i(e.resolve);u(t,function(t){o(a,e,t).then(r.resolve,n)})});return c.error&&n(c.value),r.promise}})},14566:function(t,e,r){t.exports=r.p+"3d418194a2212819e790.wasm"},14614:(t,e,r)=>{"use strict";r(4525);var n=r(60705),o=r(77017),i=r(32134),a=r(76744);for(var s in n)i(o[s],s),a[s]=a.Array},15514:t=>{"use strict";t.exports=!0},15726:(t,e,r)=>{"use strict";var n,o,i,a,s=r(77017),u=r(77882),c=r(32209),f=r(73024),l=r(26406),p=r(56158),d=r(70206),h=r(89125),v=r(78890),m=r(90753),y=r(6639),g=r(64184),w=s.setImmediate,b=s.clearImmediate,_=s.process,x=s.Dispatch,T=s.Function,P=s.MessageChannel,$=s.String,C=0,S={},k="onreadystatechange";p(function(){n=s.location});var A=function(t){if(l(S,t)){var e=S[t];delete S[t],e()}},j=function(t){return function(){A(t)}},E=function(t){A(t.data)},O=function(t){s.postMessage($(t),n.protocol+"//"+n.host)};w&&b||(w=function(t){m(arguments.length,1);var e=f(t)?t:T(t),r=h(arguments,1);return S[++C]=function(){u(e,void 0,r)},o(C),C},b=function(t){delete S[t]},g?o=function(t){_.nextTick(j(t))}:x&&x.now?o=function(t){x.now(j(t))}:P&&!y?(a=(i=new P).port2,i.port1.onmessage=E,o=c(a.postMessage,a)):s.addEventListener&&f(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!p(O)?(o=O,s.addEventListener("message",E,!1)):o=k in v("script")?function(t){d.appendChild(v("script"))[k]=function(){d.removeChild(this),A(t)}}:function(t){setTimeout(j(t),0)}),t.exports={set:w,clear:b}},15798:(t,e,r)=>{"use strict";r(37080)("metadata")},15816:(t,e,r)=>{"use strict";var n=r(45124),o=r(82998),i=r(20825),a=RangeError;t.exports=function(t){var e=o(i(this)),r="",s=n(t);if(s<0||s===1/0)throw new a("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(e+=e))1&s&&(r+=e);return r}},16099:(t,e,r)=>{"use strict";r(75959);var n=r(65020).Object;t.exports=function(t,e){return n.create(t,e)}},16142:(t,e,r)=>{"use strict";var n=r(69705),o=r(67458),i=r(61791),a=r(9262),s=r(52884),u=TypeError,c=Object.defineProperty,f=Object.getOwnPropertyDescriptor,l="enumerable",p="configurable",d="writable";e.f=n?i?function(t,e,r){if(a(t),e=s(e),a(r),"function"==typeof t&&"prototype"===e&&"value"in r&&d in r&&!r[d]){var n=f(t,e);n&&n[d]&&(t[e]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:l in r?r[l]:n[l],writable:!1})}return c(t,e,r)}:c:function(t,e,r){if(a(t),e=s(e),a(r),o)try{return c(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},16449:(t,e,r)=>{"use strict";r(85420),r(4525),r(28378),r(65765),r(9412),r(79625),r(38798),r(22349),r(18488),r(52879);var n=r(65020);t.exports=n.Promise},16555:(t,e,r)=>{"use strict";r(39500)},16767:(t,e,r)=>{"use strict";var n=r(70428);t.exports=function(t,e,r){return r?n(t.keys(),e,!0):t.forEach(e)}},17025:(t,e,r)=>{"use strict";var n=r(63711),o=r(17758).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},17236:(t,e,r)=>{"use strict";var n=r(91947);t.exports=n},17611:(t,e,r)=>{var n=r(82699);t.exports=function(t){var e=Object(t),r=[];for(var o in e)n(r).call(r,o);return function t(){for(;r.length;)if((o=r.pop())in e)return t.value=o,t.done=!1,t;return t.done=!0,t}},t.exports.__esModule=!0,t.exports.default=t.exports},17758:t=>{"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},18302:(t,e,r)=>{"use strict";var n=r(66062),o=r(28548),i=Array.prototype;t.exports=function(t){var e=t.unshift;return t===i||n(i,t)&&e===i.unshift?o:e}},18488:(t,e,r)=>{"use strict";var n=r(96377),o=r(15514),i=r(38769),a=r(56158),s=r(48192),u=r(73024),c=r(47680),f=r(88679),l=r(29481),p=i&&i.prototype;if(n({target:"Promise",proto:!0,real:!0,forced:!!i&&a(function(){p.finally.call({then:function(){}},function(){})})},{finally:function(t){var e=c(this,s("Promise")),r=u(t);return this.then(r?function(r){return f(e,t()).then(function(){return r})}:t,r?function(r){return f(e,t()).then(function(){throw r})}:t)}}),!o&&u(i)){var d=s("Promise").prototype.finally;p.finally!==d&&l(p,"finally",d,{unsafe:!0})}},18693:(t,e,r)=>{"use strict";var n=r(77853),o=r(39815),i=r(58763),a=r(98138),s=r(70428),u=o.add,c=o.has,f=o.remove;t.exports=function(t){var e=n(this),r=a(t).getIterator(),o=i(e);return s(r,function(t){c(e,t)?f(o,t):u(o,t)}),o}},19706:(t,e,r)=>{"use strict";var n=r(96830),o=r(16142).f,i=n("metadata"),a=Function.prototype;void 0===a[i]&&o(a,i,{value:null})},19724:(t,e,r)=>{"use strict";var n=r(29481);t.exports=function(t,e,r){for(var o in e)r&&r.unsafe&&t[o]?t[o]=e[o]:n(t,o,e[o],r);return t}},19773:(t,e,r)=>{"use strict";var n=r(79924),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},20355:(t,e,r)=>{"use strict";var n=r(96377),o=r(73309);n({target:"Set",proto:!0,real:!0,forced:!r(57107)("isSubsetOf",function(t){return t})},{isSubsetOf:o})},20388:(t,e,r)=>{"use strict";r(5962);var n=r(65020);t.exports=n.Reflect.construct},20825:(t,e,r)=>{"use strict";var n=r(31298),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},21010:(t,e,r)=>{"use strict";var n=r(48731);t.exports=n},21056:(t,e,r)=>{"use strict";r(37080)("split")},21653:(t,e,r)=>{"use strict";var n=r(32209),o=r(95804),i=r(9262),a=r(38818),s=r(96198),u=r(2241),c=r(66062),f=r(41938),l=r(41198),p=r(79832),d=TypeError,h=function(t,e){this.stopped=t,this.result=e},v=h.prototype;t.exports=function(t,e,r){var m,y,g,w,b,_,x,T=r&&r.that,P=!(!r||!r.AS_ENTRIES),$=!(!r||!r.IS_RECORD),C=!(!r||!r.IS_ITERATOR),S=!(!r||!r.INTERRUPTED),k=n(e,T),A=function(t){return m&&p(m,"normal"),new h(!0,t)},j=function(t){return P?(i(t),S?k(t[0],t[1],A):k(t[0],t[1])):S?k(t,A):k(t)};if($)m=t.iterator;else if(C)m=t;else{if(!(y=l(t)))throw new d(a(t)+" is not iterable");if(s(y)){for(g=0,w=u(t);w>g;g++)if((b=j(t[g]))&&c(v,b))return b;return new h(!1)}m=f(t,y)}for(_=$?t.next:m.next;!(x=o(_,m)).done;){try{b=j(x.value)}catch(t){p(m,"throw",t)}if("object"==typeof b&&b&&c(v,b))return b}return new h(!1)}},22349:(t,e,r)=>{"use strict";var n=r(96377),o=r(33752);n({target:"Promise",stat:!0},{withResolvers:function(){var t=o.f(this);return{promise:t.promise,resolve:t.resolve,reject:t.reject}}})},22409:(t,e,r)=>{"use strict";r(5231);var n=r(22593);t.exports=n("Array","concat")},22513:(t,e,r)=>{"use strict";var n=r(48192),o=r(12973),i=n("Symbol"),a=i.keyFor,s=o(i.prototype.valueOf);t.exports=i.isRegisteredSymbol||function(t){try{return void 0!==a(s(t))}catch(t){return!1}}},22517:(t,e,r)=>{"use strict";var n=r(60344);t.exports=n},22585:function(t,e,r){t.exports=r.p+"031089e563a18ada8441.wasm"},22593:(t,e,r)=>{"use strict";var n=r(77017),o=r(65020);t.exports=function(t,e){var r=o[t+"Prototype"],i=r&&r[e];if(i)return i;var a=n[t],s=a&&a.prototype;return s&&s[e]}},23200:(t,e,r)=>{"use strict";r(40452);var n=r(65020);t.exports=n.Object.setPrototypeOf},23711:(t,e,r)=>{"use strict";var n=r(96377),o=r(48192),i=r(15514),a=r(38769),s=r(84801).CONSTRUCTOR,u=r(88679),c=o("Promise"),f=i&&!s;n({target:"Promise",stat:!0,forced:i||s},{resolve:function(t){return u(f&&this===c?a:this,t)}})},23741:(t,e,r)=>{"use strict";var n=r(1140);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},23767:(t,e,r)=>{var n=r(75617),o=r(46612),i=r(45919),a=r(67095),s=r(47059),u=r(70112);function c(){var e,r,f="function"==typeof n?n:{},l=f.iterator||"@@iterator",p=f.toStringTag||"@@toStringTag";function d(t,n,a,s){var c=n&&n.prototype instanceof v?n:v,f=o(c.prototype);return u(f,"_invoke",function(t,n,o){var a,s,u,c=0,f=o||[],l=!1,p={p:0,n:0,v:e,a:d,f:i(d).call(d,e,4),d:function(t,r){return a=t,s=0,u=e,p.n=r,h}};function d(t,n){for(s=t,u=n,r=0;!l&&c&&!o&&r<f.length;r++){var o,i=f[r],a=p.p,d=i[2];t>3?(o=d===n)&&(u=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=a&&((o=t<2&&a<i[1])?(s=0,p.v=n,p.n=i[1]):a<d&&(o=t<3||i[0]>n||n>d)&&(i[4]=t,i[5]=n,p.n=d,s=0))}if(o||t>1)return h;throw l=!0,n}return function(o,i,f){if(c>1)throw TypeError("Generator is already running");for(l&&1===i&&d(i,f),s=i,u=f;(r=s<2?e:u)||!l;){a||(s?s<3?(s>1&&(p.n=-1),d(s,u)):p.n=u:p.v=u);try{if(c=2,a){if(s||(o="next"),r=a[o]){if(!(r=r.call(a,u)))throw TypeError("iterator result is not an object");if(!r.done)return r;u=r.value,s<2&&(s=0)}else 1===s&&(r=a.return)&&r.call(a),s<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),s=1);a=e}else if((r=(l=p.n<0)?u:t.call(n,p))!==h)break}catch(t){a=e,s=1,u=t}finally{c=1}}return{value:r,done:l}}}(t,a,s),!0),f}var h={};function v(){}function m(){}function y(){}r=a;var g=[][l]?r(r([][l]())):(u(r={},l,function(){return this}),r),w=y.prototype=v.prototype=o(g);function b(t){return s?s(t,y):(t.__proto__=y,u(t,p,"GeneratorFunction")),t.prototype=o(w),t}return m.prototype=y,u(w,"constructor",y),u(y,"constructor",m),m.displayName="GeneratorFunction",u(y,p,"GeneratorFunction"),u(w),u(w,p,"Generator"),u(w,l,function(){return this}),u(w,"toString",function(){return"[object Generator]"}),(t.exports=c=function(){return{w:d,m:b}},t.exports.__esModule=!0,t.exports.default=t.exports)()}t.exports=c,t.exports.__esModule=!0,t.exports.default=t.exports},24139:(t,e,r)=>{"use strict";var n=r(10894).IteratorPrototype,o=r(50429),i=r(66231),a=r(32134),s=r(76744),u=function(){return this};t.exports=function(t,e,r,c){var f=e+" Iterator";return t.prototype=o(n,{next:i(+!c,r)}),a(t,f,!1,!0),s[f]=u,t}},24691:()=>{},25570:(t,e,r)=>{"use strict";var n,o,i,a,s,u=r(77017),c=r(51344),f=r(32209),l=r(15726).set,p=r(93908),d=r(6639),h=r(8644),v=r(77701),m=r(64184),y=u.MutationObserver||u.WebKitMutationObserver,g=u.document,w=u.process,b=u.Promise,_=c("queueMicrotask");if(!_){var x=new p,T=function(){var t,e;for(m&&(t=w.domain)&&t.exit();e=x.get();)try{e()}catch(t){throw x.head&&n(),t}t&&t.enter()};d||m||v||!y||!g?!h&&b&&b.resolve?((a=b.resolve(void 0)).constructor=b,s=f(a.then,a),n=function(){s(T)}):m?n=function(){w.nextTick(T)}:(l=f(l,u),n=function(){l(T)}):(o=!0,i=g.createTextNode(""),new y(T).observe(i,{characterData:!0}),n=function(){i.data=o=!o}),_=function(t){x.head||n(),x.add(t)}}t.exports=_},25698:t=>{t.exports=function(t,e){this.v=t,this.k=e},t.exports.__esModule=!0,t.exports.default=t.exports},25806:(t,e,r)=>{"use strict";var n=r(56158),o=r(96830),i=r(41748),a=o("species");t.exports=function(t){return i>=51||!n(function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo})}},26153:t=>{"use strict";t.exports=function(t){return t.size}},26242:(t,e,r)=>{"use strict";var n=r(77017),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},26406:(t,e,r)=>{"use strict";var n=r(12973),o=r(78248),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},26419:(t,e,r)=>{var n=r(49201);t.exports=function(t,e,r,o,i){var a=n(t,e,r,o,i);return a.next().then(function(t){return t.done?t.value:a.next()})},t.exports.__esModule=!0,t.exports.default=t.exports},26455:(t,e,r)=>{"use strict";var n=r(96377),o=r(37161),i=r(41416);n({target:"Set",proto:!0,real:!0,forced:!r(57107)("union")||!i("union")},{union:o})},26741:(t,e,r)=>{"use strict";var n=r(62726);t.exports=n},26783:(t,e,r)=>{"use strict";var n=r(61813),o=r(12973);t.exports=function(t){if("Function"===n(t))return o(t)}},27789:(t,e,r)=>{"use strict";r(37080)("replaceAll")},27932:(t,e,r)=>{"use strict";var n=r(91918),o=r(88733),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},28011:(t,e,r)=>{"use strict";var n=r(61813);t.exports=Array.isArray||function(t){return"Array"===n(t)}},28378:()=>{},28548:(t,e,r)=>{"use strict";r(83202);var n=r(22593);t.exports=n("Array","unshift")},28638:(t,e,r)=>{"use strict";var n=r(95804),o=r(59371),i=r(54252),a=r(91981),s=r(48771),u=r(96830),c=TypeError,f=u("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,u=a(t,f);if(u){if(void 0===e&&(e="default"),r=n(u,t,e),!o(r)||i(r))return r;throw new c("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},28930:(t,e,r)=>{"use strict";var n=r(70867);t.exports=n},29064:(t,e,r)=>{"use strict";var n=r(76741),o=TypeError;t.exports=function(t){if(n(t))throw new o("The method doesn't accept regular expressions");return t}},29349:(t,e,r)=>{"use strict";var n={};n[r(96830)("toStringTag")]="z",t.exports="[object z]"===String(n)},29481:(t,e,r)=>{"use strict";var n=r(3236);t.exports=function(t,e,r,o){return o&&o.enumerable?t[e]=r:n(t,e,r),t}},29587:(t,e,r)=>{"use strict";var n=r(56158);t.exports=!n(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},29741:(t,e,r)=>{"use strict";r(96377)({target:"Symbol",stat:!0},{isRegisteredSymbol:r(22513)})},29832:(t,e,r)=>{"use strict";var n=r(12973),o=r(45124),i=r(82998),a=r(20825),s=n("".charAt),u=n("".charCodeAt),c=n("".slice),f=function(t){return function(e,r){var n,f,l=i(a(e)),p=o(r),d=l.length;return p<0||p>=d?t?"":void 0:(n=u(l,p))<55296||n>56319||p+1===d||(f=u(l,p+1))<56320||f>57343?t?s(l,p):n:t?c(l,p,p+2):f-56320+(n-55296<<10)+65536}};t.exports={codeAt:f(!1),charAt:f(!0)}},30094:t=>{"use strict";t.exports=function(t){return{iterator:t,next:t.next,done:!1}}},31298:t=>{"use strict";t.exports=function(t){return null==t}},31439:(t,e,r)=>{"use strict";var n=r(48542);t.exports=n},32134:(t,e,r)=>{"use strict";var n=r(29349),o=r(16142).f,i=r(3236),a=r(26406),s=r(10712),u=r(96830)("toStringTag");t.exports=function(t,e,r,c){var f=r?t:t&&t.prototype;f&&(a(f,u)||o(f,u,{configurable:!0,value:e}),c&&!n&&i(f,"toString",s))}},32209:(t,e,r)=>{"use strict";var n=r(26783),o=r(39789),i=r(29587),a=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?a(t,e):function(){return t.apply(e,arguments)}}},32905:(t,e,r)=>{"use strict";var n=r(96377),o=r(6087);n({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o})},33097:(t,e,r)=>{"use strict";var n=r(97900);r(14614),t.exports=n},33418:(t,e,r)=>{"use strict";var n=r(66072);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},33722:(t,e,r)=>{"use strict";var n=r(3236),o=r(58032),i=r(4602),a=Error.captureStackTrace;t.exports=function(t,e,r,s){i&&(a?a(t,e):n(t,"stack",o(r,s)))}},33726:(t,e,r)=>{"use strict";var n=r(77017);r(32134)(n.JSON,"JSON",!0)},33749:(t,e,r)=>{"use strict";var n=r(1140);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},33752:(t,e,r)=>{"use strict";var n=r(39789),o=TypeError,i=function(t){var e,r;this.promise=new t(function(t,n){if(void 0!==e||void 0!==r)throw new o("Bad Promise constructor");e=t,r=n}),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new i(t)}},33893:(t,e,r)=>{"use strict";t.exports=r(64259)},33964:(t,e,r)=>{"use strict";var n=r(48192),o=r(12973),i=r(17025),a=r(54768),s=r(9262),u=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(s(t)),r=a.f;return r?u(e,r(t)):e}},34776:(t,e,r)=>{"use strict";var n,o=r(96377),i=r(26783),a=r(8028).f,s=r(52647),u=r(82998),c=r(29064),f=r(20825),l=r(4629),p=r(15514),d=i("".slice),h=Math.min,v=l("endsWith");o({target:"String",proto:!0,forced:!!(p||v||(n=a(String.prototype,"endsWith"),!n||n.writable))&&!v},{endsWith:function(t){var e=u(f(this));c(t);var r=arguments.length>1?arguments[1]:void 0,n=e.length,o=void 0===r?n:h(s(r),n),i=u(t);return d(e,o-i.length,o)===i}})},34894:(t,e,r)=>{"use strict";r(54939)("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},r(81563))},35077:(t,e,r)=>{"use strict";var n=r(96377),o=r(73250).start;n({target:"String",proto:!0,forced:r(72554)},{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},35416:(t,e,r)=>{"use strict";var n=r(60677);t.exports=n},36458:(t,e,r)=>{"use strict";var n=r(12429);t.exports=n},36804:(t,e,r)=>{"use strict";var n=r(96377),o=r(49076);n({target:"Set",proto:!0,real:!0,forced:!r(57107)("isSupersetOf",function(t){return!t})},{isSupersetOf:o})},36879:(t,e,r)=>{"use strict";r(48595);var n=r(7822);t.exports=n.f("asyncIterator")},36983:function(t,e){var r,n=(r="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,"undefined"!=typeof __filename&&(r=r||__filename),function(t){var e,n,o=void 0!==(t=t||{})?t:{};o.ready=new Promise(function(t,r){e=t,n=r});var i,a,s,u=Object.assign({},o),c=[],f="./this.program",l=(t,e)=>{throw e},p="object"==typeof window,d="function"==typeof importScripts,h="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,v="";if(h){var m=require("fs"),y=require("path");v=d?y.dirname(v)+"/":__dirname+"/",i=(t,e)=>(t=Z(t)?new URL(t):y.normalize(t),m.readFileSync(t,e?void 0:"utf8")),s=t=>{var e=i(t,!0);return e.buffer||(e=new Uint8Array(e)),e},a=(t,e,r)=>{t=Z(t)?new URL(t):y.normalize(t),m.readFile(t,function(t,n){t?r(t):e(n.buffer)})},process.argv.length>1&&(f=process.argv[1].replace(/\\/g,"/")),c=process.argv.slice(2),process.on("uncaughtException",function(t){if(!(t instanceof tt))throw t}),process.on("unhandledRejection",function(t){throw t}),l=(t,e)=>{if(B())throw process.exitCode=t,e;var r;(r=e)instanceof tt||b("exiting due to exception: "+r),process.exit(t)},o.inspect=function(){return"[Emscripten Module object]"}}else(p||d)&&(d?v=self.location.href:"undefined"!=typeof document&&document.currentScript&&(v=document.currentScript.src),r&&(v=r),v=0!==v.indexOf("blob:")?v.substr(0,v.replace(/[?#].*/,"").lastIndexOf("/")+1):"",i=t=>{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText},d&&(s=t=>{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),a=(t,e,r)=>{var n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="arraybuffer",n.onload=()=>{200==n.status||0==n.status&&n.response?e(n.response):r()},n.onerror=r,n.send(null)});var g,w=o.print||console.log.bind(console),b=o.printErr||console.warn.bind(console);Object.assign(o,u),u=null,o.arguments&&(c=o.arguments),o.thisProgram&&(f=o.thisProgram),o.quit&&(l=o.quit),o.wasmBinary&&(g=o.wasmBinary);var _,x=o.noExitRuntime||!0;"object"!=typeof WebAssembly&&K("no native wasm support detected");var T,P,$,C,S,k,A,j,E,O=!1,F="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function R(t,e,r){for(var n=e+r,o=e;t[o]&&!(o>=n);)++o;if(o-e>16&&t.buffer&&F)return F.decode(t.subarray(e,o));for(var i="";e<o;){var a=t[e++];if(128&a){var s=63&t[e++];if(192!=(224&a)){var u=63&t[e++];if((a=224==(240&a)?(15&a)<<12|s<<6|u:(7&a)<<18|s<<12|u<<6|63&t[e++])<65536)i+=String.fromCharCode(a);else{var c=a-65536;i+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else i+=String.fromCharCode((31&a)<<6|s)}else i+=String.fromCharCode(a)}return i}function W(t,e){return t?R($,t,e):""}function D(t,e,r){return function(t,e,r,n){if(!(n>0))return 0;for(var o=r,i=r+n-1,a=0;a<t.length;++a){var s=t.charCodeAt(a);if(s>=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&t.charCodeAt(++a)),s<=127){if(r>=i)break;e[r++]=s}else if(s<=2047){if(r+1>=i)break;e[r++]=192|s>>6,e[r++]=128|63&s}else if(s<=65535){if(r+2>=i)break;e[r++]=224|s>>12,e[r++]=128|s>>6&63,e[r++]=128|63&s}else{if(r+3>=i)break;e[r++]=240|s>>18,e[r++]=128|s>>12&63,e[r++]=128|s>>6&63,e[r++]=128|63&s}}return e[r]=0,r-o}(t,$,e,r)}function I(t){T=t,o.HEAP8=P=new Int8Array(t),o.HEAP16=C=new Int16Array(t),o.HEAP32=k=new Int32Array(t),o.HEAPU8=$=new Uint8Array(t),o.HEAPU16=S=new Uint16Array(t),o.HEAPU32=A=new Uint32Array(t),o.HEAPF32=j=new Float32Array(t),o.HEAPF64=E=new Float64Array(t)}o.INITIAL_MEMORY;var U,M=[],q=[],z=[];function B(){return x}function N(t){M.unshift(t)}function V(t){z.unshift(t)}var H,L,G=0,J=null,X=null;function K(t){o.onAbort&&o.onAbort(t),b(t="Aborted("+t+")"),O=!0,t+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(t);throw n(e),e}function Y(t){return t.startsWith("data:application/octet-stream;base64,")}function Z(t){return t.startsWith("file://")}function Q(t){try{if(t==H&&g)return new Uint8Array(g);if(s)return s(t);throw"both async and sync fetching of the wasm failed"}catch(t){K(t)}}function tt(t){this.name="ExitStatus",this.message="Program terminated with exit("+t+")",this.status=t}function et(t){for(;t.length>0;)t.shift()(o)}function rt(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_refcount=function(t){k[this.ptr>>2]=t},this.set_caught=function(t){t=t?1:0,P[this.ptr+12|0]=t},this.get_caught=function(){return 0!=P[this.ptr+12|0]},this.set_rethrown=function(t){t=t?1:0,P[this.ptr+13|0]=t},this.get_rethrown=function(){return 0!=P[this.ptr+13|0]},this.init=function(t,e){this.set_adjusted_ptr(0),this.set_type(t),this.set_destructor(e),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){var t=k[this.ptr>>2];k[this.ptr>>2]=t+1},this.release_ref=function(){var t=k[this.ptr>>2];return k[this.ptr>>2]=t-1,1===t},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(Ve(this.get_type()))return A[this.excPtr>>2];var t=this.get_adjusted_ptr();return 0!==t?t:this.excPtr}}Y(H="libjpegturbowasm_decode.wasm")||(L=H,H=o.locateFile?o.locateFile(L,v):v+L);var nt={};function ot(t){for(;t.length;){var e=t.pop();t.pop()(e)}}function it(t){return this.fromWireType(k[t>>2])}var at={},st={},ut={};function ct(t){if(void 0===t)return"_unknown";var e=(t=t.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return e>=48&&e<=57?"_"+t:t}function ft(t,e){return t=ct(t),new Function("body","return function "+t+'() {\n "use strict"; return body.apply(this, arguments);\n};\n')(e)}function lt(t,e){var r=ft(e,function(t){this.name=e,this.message=t;var r=new Error(t).stack;void 0!==r&&(this.stack=this.toString()+"\n"+r.replace(/^Error(:[^\n]*)?\n/,""))});return r.prototype=Object.create(t.prototype),r.prototype.constructor=r,r.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message},r}var pt=void 0;function dt(t){throw new pt(t)}function ht(t,e,r){function n(e){var n=r(e);n.length!==t.length&&dt("Mismatched type converter count");for(var o=0;o<t.length;++o)bt(t[o],n[o])}t.forEach(function(t){ut[t]=e});var o=new Array(e.length),i=[],a=0;e.forEach((t,e)=>{st.hasOwnProperty(t)?o[e]=st[t]:(i.push(t),at.hasOwnProperty(t)||(at[t]=[]),at[t].push(()=>{o[e]=st[t],++a===i.length&&n(o)}))}),0===i.length&&n(o)}function vt(t){switch(t){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+t)}}var mt=void 0;function yt(t){for(var e="",r=t;$[r];)e+=mt[$[r++]];return e}var gt=void 0;function wt(t){throw new gt(t)}function bt(t,e,r={}){if(!("argPackAdvance"in e))throw new TypeError("registerType registeredInstance requires argPackAdvance");var n=e.name;if(t||wt('type "'+n+'" must have a positive integer typeid pointer'),st.hasOwnProperty(t)){if(r.ignoreDuplicateRegistrations)return;wt("Cannot register type '"+n+"' twice")}if(st[t]=e,delete ut[t],at.hasOwnProperty(t)){var o=at[t];delete at[t],o.forEach(t=>t())}}function _t(t){if(!(this instanceof Nt))return!1;if(!(t instanceof Nt))return!1;for(var e=this.$$.ptrType.registeredClass,r=this.$$.ptr,n=t.$$.ptrType.registeredClass,o=t.$$.ptr;e.baseClass;)r=e.upcast(r),e=e.baseClass;for(;n.baseClass;)o=n.upcast(o),n=n.baseClass;return e===n&&r===o}function xt(t){wt(t.$$.ptrType.registeredClass.name+" instance already deleted")}var Tt=!1;function Pt(t){}function $t(t){t.count.value-=1,0===t.count.value&&function(t){t.smartPtr?t.smartPtrType.rawDestructor(t.smartPtr):t.ptrType.registeredClass.rawDestructor(t.ptr)}(t)}function Ct(t,e,r){if(e===r)return t;if(void 0===r.baseClass)return null;var n=Ct(t,e,r.baseClass);return null===n?null:r.downcast(n)}var St={};function kt(){return Object.keys(Rt).length}function At(){var t=[];for(var e in Rt)Rt.hasOwnProperty(e)&&t.push(Rt[e]);return t}var jt=[];function Et(){for(;jt.length;){var t=jt.pop();t.$$.deleteScheduled=!1,t.delete()}}var Ot=void 0;function Ft(t){Ot=t,jt.length&&Ot&&Ot(Et)}var Rt={};function Wt(t,e){return e=function(t,e){for(void 0===e&&wt("ptr should not be undefined");t.baseClass;)e=t.upcast(e),t=t.baseClass;return e}(t,e),Rt[e]}function Dt(t,e){return e.ptrType&&e.ptr||dt("makeClassHandle requires ptr and ptrType"),!!e.smartPtrType!=!!e.smartPtr&&dt("Both smartPtrType and smartPtr must be specified"),e.count={value:1},Ut(Object.create(t,{$$:{value:e}}))}function It(t){var e=this.getPointee(t);if(!e)return this.destructor(t),null;var r=Wt(this.registeredClass,e);if(void 0!==r){if(0===r.$$.count.value)return r.$$.ptr=e,r.$$.smartPtr=t,r.clone();var n=r.clone();return this.destructor(t),n}function o(){return this.isSmartPointer?Dt(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:e,smartPtrType:this,smartPtr:t}):Dt(this.registeredClass.instancePrototype,{ptrType:this,ptr:t})}var i,a=this.registeredClass.getActualType(e),s=St[a];if(!s)return o.call(this);i=this.isConst?s.constPointerType:s.pointerType;var u=Ct(e,this.registeredClass,i.registeredClass);return null===u?o.call(this):this.isSmartPointer?Dt(i.registeredClass.instancePrototype,{ptrType:i,ptr:u,smartPtrType:this,smartPtr:t}):Dt(i.registeredClass.instancePrototype,{ptrType:i,ptr:u})}function Ut(t){return"undefined"==typeof FinalizationRegistry?(Ut=t=>t,t):(Tt=new FinalizationRegistry(t=>{$t(t.$$)}),Ut=t=>{var e=t.$$;if(e.smartPtr){var r={$$:e};Tt.register(t,r,t)}return t},Pt=t=>Tt.unregister(t),Ut(t))}function Mt(){if(this.$$.ptr||xt(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var t,e=Ut(Object.create(Object.getPrototypeOf(this),{$$:{value:(t=this.$$,{count:t.count,deleteScheduled:t.deleteScheduled,preservePointerOnDelete:t.preservePointerOnDelete,ptr:t.ptr,ptrType:t.ptrType,smartPtr:t.smartPtr,smartPtrType:t.smartPtrType})}}));return e.$$.count.value+=1,e.$$.deleteScheduled=!1,e}function qt(){this.$$.ptr||xt(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&wt("Object already scheduled for deletion"),Pt(this),$t(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)}function zt(){return!this.$$.ptr}function Bt(){return this.$$.ptr||xt(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&wt("Object already scheduled for deletion"),jt.push(this),1===jt.length&&Ot&&Ot(Et),this.$$.deleteScheduled=!0,this}function Nt(){}function Vt(t,e,r){if(void 0===t[e].overloadTable){var n=t[e];t[e]=function(){return t[e].overloadTable.hasOwnProperty(arguments.length)||wt("Function '"+r+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+t[e].overloadTable+")!"),t[e].overloadTable[arguments.length].apply(this,arguments)},t[e].overloadTable=[],t[e].overloadTable[n.argCount]=n}}function Ht(t,e,r,n,o,i,a,s){this.name=t,this.constructor=e,this.instancePrototype=r,this.rawDestructor=n,this.baseClass=o,this.getActualType=i,this.upcast=a,this.downcast=s,this.pureVirtualFunctions=[]}function Lt(t,e,r){for(;e!==r;)e.upcast||wt("Expected null or instance of "+r.name+", got an instance of "+e.name),t=e.upcast(t),e=e.baseClass;return t}function Gt(t,e){if(null===e)return this.isReference&&wt("null is not a valid "+this.name),0;e.$$||wt('Cannot pass "'+ve(e)+'" as a '+this.name),e.$$.ptr||wt("Cannot pass deleted object as a pointer of type "+this.name);var r=e.$$.ptrType.registeredClass;return Lt(e.$$.ptr,r,this.registeredClass)}function Jt(t,e){var r;if(null===e)return this.isReference&&wt("null is not a valid "+this.name),this.isSmartPointer?(r=this.rawConstructor(),null!==t&&t.push(this.rawDestructor,r),r):0;e.$$||wt('Cannot pass "'+ve(e)+'" as a '+this.name),e.$$.ptr||wt("Cannot pass deleted object as a pointer of type "+this.name),!this.isConst&&e.$$.ptrType.isConst&&wt("Cannot convert argument of type "+(e.$$.smartPtrType?e.$$.smartPtrType.name:e.$$.ptrType.name)+" to parameter type "+this.name);var n=e.$$.ptrType.registeredClass;if(r=Lt(e.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(void 0===e.$$.smartPtr&&wt("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:e.$$.smartPtrType===this?r=e.$$.smartPtr:wt("Cannot convert argument of type "+(e.$$.smartPtrType?e.$$.smartPtrType.name:e.$$.ptrType.name)+" to parameter type "+this.name);break;case 1:r=e.$$.smartPtr;break;case 2:if(e.$$.smartPtrType===this)r=e.$$.smartPtr;else{var o=e.clone();r=this.rawShare(r,he.toHandle(function(){o.delete()})),null!==t&&t.push(this.rawDestructor,r)}break;default:wt("Unsupporting sharing policy")}return r}function Xt(t,e){if(null===e)return this.isReference&&wt("null is not a valid "+this.name),0;e.$$||wt('Cannot pass "'+ve(e)+'" as a '+this.name),e.$$.ptr||wt("Cannot pass deleted object as a pointer of type "+this.name),e.$$.ptrType.isConst&&wt("Cannot convert argument of type "+e.$$.ptrType.name+" to parameter type "+this.name);var r=e.$$.ptrType.registeredClass;return Lt(e.$$.ptr,r,this.registeredClass)}function Kt(t){return this.rawGetPointee&&(t=this.rawGetPointee(t)),t}function Yt(t){this.rawDestructor&&this.rawDestructor(t)}function Zt(t){null!==t&&t.delete()}function Qt(t,e,r,n,o,i,a,s,u,c,f){this.name=t,this.registeredClass=e,this.isReference=r,this.isConst=n,this.isSmartPointer=o,this.pointeeType=i,this.sharingPolicy=a,this.rawGetPointee=s,this.rawConstructor=u,this.rawShare=c,this.rawDestructor=f,o||void 0!==e.baseClass?this.toWireType=Jt:n?(this.toWireType=Gt,this.destructorFunction=null):(this.toWireType=Xt,this.destructorFunction=null)}var te=[];function ee(t){var e=te[t];return e||(t>=te.length&&(te.length=t+1),te[t]=e=U.get(t)),e}function re(t,e,r){return t.includes("j")?function(t,e,r){var n=o["dynCall_"+t];return r&&r.length?n.apply(null,[e].concat(r)):n.call(null,e)}(t,e,r):ee(e).apply(null,r)}function ne(t,e){var r,n,o,i=(t=yt(t)).includes("j")?(r=t,n=e,o=[],function(){return o.length=0,Object.assign(o,arguments),re(r,n,o)}):ee(e);return"function"!=typeof i&&wt("unknown function pointer with signature "+t+": "+e),i}var oe=void 0;function ie(t){var e=Me(t),r=yt(e);return Ue(e),r}function ae(t,e){var r=[],n={};throw e.forEach(function t(e){n[e]||st[e]||(ut[e]?ut[e].forEach(t):(r.push(e),n[e]=!0))}),new oe(t+": "+r.map(ie).join([", "]))}function se(t,e){for(var r=[],n=0;n<t;n++)r.push(A[e+4*n>>2]);return r}function ue(t,e,r,n,o){var i=e.length;i<2&&wt("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var a=null!==e[1]&&null!==r,s=!1,u=1;u<e.length;++u)if(null!==e[u]&&void 0===e[u].destructorFunction){s=!0;break}var c="void"!==e[0].name,f="",l="";for(u=0;u<i-2;++u)f+=(0!==u?", ":"")+"arg"+u,l+=(0!==u?", ":"")+"arg"+u+"Wired";var p="return function "+ct(t)+"("+f+") {\nif (arguments.length !== "+(i-2)+") {\nthrowBindingError('function "+t+" called with ' + arguments.length + ' arguments, expected "+(i-2)+" args!');\n}\n";s&&(p+="var destructors = [];\n");var d=s?"destructors":"null",h=["throwBindingError","invoker","fn","runDestructors","retType","classParam"],v=[wt,n,o,ot,e[0],e[1]];for(a&&(p+="var thisWired = classParam.toWireType("+d+", this);\n"),u=0;u<i-2;++u)p+="var arg"+u+"Wired = argType"+u+".toWireType("+d+", arg"+u+"); // "+e[u+2].name+"\n",h.push("argType"+u),v.push(e[u+2]);if(a&&(l="thisWired"+(l.length>0?", ":"")+l),p+=(c?"var rv = ":"")+"invoker(fn"+(l.length>0?", ":"")+l+");\n",s)p+="runDestructors(destructors);\n";else for(u=a?1:2;u<e.length;++u){var m=1===u?"thisWired":"arg"+(u-2)+"Wired";null!==e[u].destructorFunction&&(p+=m+"_dtor("+m+"); // "+e[u].name+"\n",h.push(m+"_dtor"),v.push(e[u].destructorFunction))}return c&&(p+="var ret = retType.fromWireType(rv);\nreturn ret;\n"),p+="}\n",h.push(p),function(t,e){if(!(t instanceof Function))throw new TypeError("new_ called with constructor type "+typeof t+" which is not a function");var r=ft(t.name||"unknownFunctionName",function(){});r.prototype=t.prototype;var n=new r,o=t.apply(n,e);return o instanceof Object?o:n}(Function,h).apply(null,v)}var ce=[],fe=[{},{value:void 0},{value:null},{value:!0},{value:!1}];function le(t){t>4&&0===--fe[t].refcount&&(fe[t]=void 0,ce.push(t))}function pe(){for(var t=0,e=5;e<fe.length;++e)void 0!==fe[e]&&++t;return t}function de(){for(var t=5;t<fe.length;++t)if(void 0!==fe[t])return fe[t];return null}var he={toValue:t=>(t||wt("Cannot use deleted val. handle = "+t),fe[t].value),toHandle:t=>{switch(t){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:var e=ce.length?ce.pop():fe.length;return fe[e]={refcount:1,value:t},e}}};function ve(t){if(null===t)return"null";var e=typeof t;return"object"===e||"array"===e||"function"===e?t.toString():""+t}function me(t,e){switch(e){case 2:return function(t){return this.fromWireType(j[t>>2])};case 3:return function(t){return this.fromWireType(E[t>>3])};default:throw new TypeError("Unknown float type: "+t)}}function ye(t,e,r){switch(e){case 0:return r?function(t){return P[t]}:function(t){return $[t]};case 1:return r?function(t){return C[t>>1]}:function(t){return S[t>>1]};case 2:return r?function(t){return k[t>>2]}:function(t){return A[t>>2]};default:throw new TypeError("Unknown integer type: "+t)}}var ge="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0;function we(t,e){for(var r=t,n=r>>1,o=n+e/2;!(n>=o)&&S[n];)++n;if((r=n<<1)-t>32&&ge)return ge.decode($.subarray(t,r));for(var i="",a=0;!(a>=e/2);++a){var s=C[t+2*a>>1];if(0==s)break;i+=String.fromCharCode(s)}return i}function be(t,e,r){if(void 0===r&&(r=2147483647),r<2)return 0;for(var n=e,o=(r-=2)<2*t.length?r/2:t.length,i=0;i<o;++i){var a=t.charCodeAt(i);C[e>>1]=a,e+=2}return C[e>>1]=0,e-n}function _e(t){return 2*t.length}function xe(t,e){for(var r=0,n="";!(r>=e/4);){var o=k[t+4*r>>2];if(0==o)break;if(++r,o>=65536){var i=o-65536;n+=String.fromCharCode(55296|i>>10,56320|1023&i)}else n+=String.fromCharCode(o)}return n}function Te(t,e,r){if(void 0===r&&(r=2147483647),r<4)return 0;for(var n=e,o=n+r-4,i=0;i<t.length;++i){var a=t.charCodeAt(i);if(a>=55296&&a<=57343&&(a=65536+((1023&a)<<10)|1023&t.charCodeAt(++i)),k[e>>2]=a,(e+=4)+4>o)break}return k[e>>2]=0,e-n}function Pe(t){for(var e=0,r=0;r<t.length;++r){var n=t.charCodeAt(r);n>=55296&&n<=57343&&++r,e+=4}return e}var $e={};function Ce(){return"object"==typeof globalThis?globalThis:Function("return this")()}function Se(t,e){var r=st[t];return void 0===r&&wt(e+" has unknown type "+ie(t)),r}var ke={};function Ae(t){try{return _.grow(t-T.byteLength+65535>>>16),I(_.buffer),1}catch(t){}}var je={};function Ee(){if(!Ee.strings){var t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:f||"./this.program"};for(var e in je)void 0===je[e]?delete t[e]:t[e]=je[e];var r=[];for(var e in t)r.push(e+"="+t[e]);Ee.strings=r}return Ee.strings}var Oe=function(t,e){var r;r=t,B()||(o.onExit&&o.onExit(r),O=!0),l(r,new tt(r))},Fe=[null,[],[]];function Re(t,e){var r=Fe[t];0===e||10===e?((1===t?w:b)(R(r,0)),r.length=0):r.push(e)}pt=o.InternalError=lt(Error,"InternalError"),function(){for(var t=new Array(256),e=0;e<256;++e)t[e]=String.fromCharCode(e);mt=t}(),gt=o.BindingError=lt(Error,"BindingError"),Nt.prototype.isAliasOf=_t,Nt.prototype.clone=Mt,Nt.prototype.delete=qt,Nt.prototype.isDeleted=zt,Nt.prototype.deleteLater=Bt,o.getInheritedInstanceCount=kt,o.getLiveInheritedInstances=At,o.flushPendingDeletes=Et,o.setDelayFunction=Ft,Qt.prototype.getPointee=Kt,Qt.prototype.destructor=Yt,Qt.prototype.argPackAdvance=8,Qt.prototype.readValueFromPointer=it,Qt.prototype.deleteObject=Zt,Qt.prototype.fromWireType=It,oe=o.UnboundTypeError=lt(Error,"UnboundTypeError"),o.count_emval_handles=pe,o.get_first_emval=de;var We,De={g:function(t,e,r){throw new rt(t).init(e,r),t},A:function(t){var e=nt[t];delete nt[t];var r=e.rawConstructor,n=e.rawDestructor,o=e.fields;ht([t],o.map(t=>t.getterReturnType).concat(o.map(t=>t.setterArgumentType)),t=>{var i={};return o.forEach((e,r)=>{var n=e.fieldName,a=t[r],s=e.getter,u=e.getterContext,c=t[r+o.length],f=e.setter,l=e.setterContext;i[n]={read:t=>a.fromWireType(s(u,t)),write:(t,e)=>{var r=[];f(l,t,c.toWireType(r,e)),ot(r)}}}),[{name:e.name,fromWireType:function(t){var e={};for(var r in i)e[r]=i[r].read(t);return n(t),e},toWireType:function(t,e){for(var o in i)if(!(o in e))throw new TypeError('Missing field: "'+o+'"');var a=r();for(o in i)i[o].write(a,e[o]);return null!==t&&t.push(n,a),a},argPackAdvance:8,readValueFromPointer:it,destructorFunction:n}]})},w:function(t,e,r,n,o){},F:function(t,e,r,n,o){var i=vt(r);bt(t,{name:e=yt(e),fromWireType:function(t){return!!t},toWireType:function(t,e){return e?n:o},argPackAdvance:8,readValueFromPointer:function(t){var n;if(1===r)n=P;else if(2===r)n=C;else{if(4!==r)throw new TypeError("Unknown boolean type size: "+e);n=k}return this.fromWireType(n[t>>i])},destructorFunction:null})},u:function(t,e,r,n,i,a,s,u,c,f,l,p,d){l=yt(l),a=ne(i,a),u&&(u=ne(s,u)),f&&(f=ne(c,f)),d=ne(p,d);var h=ct(l);!function(t,e,r){o.hasOwnProperty(t)?((void 0===r||void 0!==o[t].overloadTable&&void 0!==o[t].overloadTable[r])&&wt("Cannot register public name '"+t+"' twice"),Vt(o,t,t),o.hasOwnProperty(r)&&wt("Cannot register multiple overloads of a function with the same number of arguments ("+r+")!"),o[t].overloadTable[r]=e):(o[t]=e,void 0!==r&&(o[t].numArguments=r))}(h,function(){ae("Cannot construct "+l+" due to unbound types",[n])}),ht([t,e,r],n?[n]:[],function(e){var r,i;e=e[0],i=n?(r=e.registeredClass).instancePrototype:Nt.prototype;var s=ft(h,function(){if(Object.getPrototypeOf(this)!==c)throw new gt("Use 'new' to construct "+l);if(void 0===p.constructor_body)throw new gt(l+" has no accessible constructor");var t=p.constructor_body[arguments.length];if(void 0===t)throw new gt("Tried to invoke ctor of "+l+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(p.constructor_body).toString()+") parameters instead!");return t.apply(this,arguments)}),c=Object.create(i,{constructor:{value:s}});s.prototype=c;var p=new Ht(l,s,c,d,r,a,u,f),v=new Qt(l,p,!0,!1,!1),m=new Qt(l+"*",p,!1,!1,!1),y=new Qt(l+" const*",p,!1,!0,!1);return St[t]={pointerType:m,constPointerType:y},function(t,e,r){o.hasOwnProperty(t)||dt("Replacing nonexistant public symbol"),void 0!==o[t].overloadTable&&void 0!==r?o[t].overloadTable[r]=e:(o[t]=e,o[t].argCount=r)}(h,s),[v,m,y]})},t:function(t,e,r,n,o,i){var a;e>0||K(a);var s=se(e,r);o=ne(n,o),ht([],[t],function(t){var r="constructor "+(t=t[0]).name;if(void 0===t.registeredClass.constructor_body&&(t.registeredClass.constructor_body=[]),void 0!==t.registeredClass.constructor_body[e-1])throw new gt("Cannot register multiple constructors with identical number of parameters ("+(e-1)+") for class '"+t.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return t.registeredClass.constructor_body[e-1]=()=>{ae("Cannot construct "+t.name+" due to unbound types",s)},ht([],s,function(n){return n.splice(1,0,null),t.registeredClass.constructor_body[e-1]=ue(r,n,null,o,i),[]}),[]})},c:function(t,e,r,n,o,i,a,s){var u=se(r,n);e=yt(e),i=ne(o,i),ht([],[t],function(t){var n=(t=t[0]).name+"."+e;function o(){ae("Cannot call "+n+" due to unbound types",u)}e.startsWith("@@")&&(e=Symbol[e.substring(2)]),s&&t.registeredClass.pureVirtualFunctions.push(e);var c=t.registeredClass.instancePrototype,f=c[e];return void 0===f||void 0===f.overloadTable&&f.className!==t.name&&f.argCount===r-2?(o.argCount=r-2,o.className=t.name,c[e]=o):(Vt(c,e,n),c[e].overloadTable[r-2]=o),ht([],u,function(o){var s=ue(n,o,t,i,a);return void 0===c[e].overloadTable?(s.argCount=r-2,c[e]=s):c[e].overloadTable[r-2]=s,[]}),[]})},E:function(t,e){bt(t,{name:e=yt(e),fromWireType:function(t){var e=he.toValue(t);return le(t),e},toWireType:function(t,e){return he.toHandle(e)},argPackAdvance:8,readValueFromPointer:it,destructorFunction:null})},m:function(t,e,r){var n=vt(r);bt(t,{name:e=yt(e),fromWireType:function(t){return t},toWireType:function(t,e){return e},argPackAdvance:8,readValueFromPointer:me(e,n),destructorFunction:null})},b:function(t,e,r,n,o){e=yt(e),-1===o&&(o=4294967295);var i=vt(r),a=t=>t;if(0===n){var s=32-8*r;a=t=>t<<s>>>s}var u=e.includes("unsigned");bt(t,{name:e,fromWireType:a,toWireType:u?function(t,e){return this.name,e>>>0}:function(t,e){return this.name,e},argPackAdvance:8,readValueFromPointer:ye(e,i,0!==n),destructorFunction:null})},a:function(t,e,r){var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][e];function o(t){var e=A,r=e[t>>=2],o=e[t+1];return new n(T,o,r)}bt(t,{name:r=yt(r),fromWireType:o,argPackAdvance:8,readValueFromPointer:o},{ignoreDuplicateRegistrations:!0})},l:function(t,e){var r="std::string"===(e=yt(e));bt(t,{name:e,fromWireType:function(t){var e,n=A[t>>2],o=t+4;if(r)for(var i=o,a=0;a<=n;++a){var s=o+a;if(a==n||0==$[s]){var u=W(i,s-i);void 0===e?e=u:(e+=String.fromCharCode(0),e+=u),i=s+1}}else{var c=new Array(n);for(a=0;a<n;++a)c[a]=String.fromCharCode($[o+a]);e=c.join("")}return Ue(t),e},toWireType:function(t,e){var n;e instanceof ArrayBuffer&&(e=new Uint8Array(e));var o="string"==typeof e;o||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Int8Array||wt("Cannot pass non-string to std::string"),n=r&&o?function(t){for(var e=0,r=0;r<t.length;++r){var n=t.charCodeAt(r);n<=127?e++:n<=2047?e+=2:n>=55296&&n<=57343?(e+=4,++r):e+=3}return e}(e):e.length;var i=Ie(4+n+1),a=i+4;if(A[i>>2]=n,r&&o)D(e,a,n+1);else if(o)for(var s=0;s<n;++s){var u=e.charCodeAt(s);u>255&&(Ue(a),wt("String has UTF-16 code units that do not fit in 8 bits")),$[a+s]=u}else for(s=0;s<n;++s)$[a+s]=e[s];return null!==t&&t.push(Ue,i),i},argPackAdvance:8,readValueFromPointer:it,destructorFunction:function(t){Ue(t)}})},h:function(t,e,r){var n,o,i,a,s;r=yt(r),2===e?(n=we,o=be,a=_e,i=()=>S,s=1):4===e&&(n=xe,o=Te,a=Pe,i=()=>A,s=2),bt(t,{name:r,fromWireType:function(t){for(var r,o=A[t>>2],a=i(),u=t+4,c=0;c<=o;++c){var f=t+4+c*e;if(c==o||0==a[f>>s]){var l=n(u,f-u);void 0===r?r=l:(r+=String.fromCharCode(0),r+=l),u=f+e}}return Ue(t),r},toWireType:function(t,n){"string"!=typeof n&&wt("Cannot pass non-string to C++ string type "+r);var i=a(n),u=Ie(4+i+e);return A[u>>2]=i>>s,o(n,u+4,i+e),null!==t&&t.push(Ue,u),u},argPackAdvance:8,readValueFromPointer:it,destructorFunction:function(t){Ue(t)}})},J:function(t,e,r,n,o,i){nt[t]={name:yt(e),rawConstructor:ne(r,n),rawDestructor:ne(o,i),fields:[]}},d:function(t,e,r,n,o,i,a,s,u,c){nt[t].fields.push({fieldName:yt(e),getterReturnType:r,getter:ne(n,o),getterContext:i,setterArgumentType:a,setter:ne(s,u),setterContext:c})},G:function(t,e){bt(t,{isVoid:!0,name:e=yt(e),argPackAdvance:0,fromWireType:function(){},toWireType:function(t,e){}})},x:function(){throw 1/0},i:le,r:function(t){return 0===t?he.toHandle(Ce()):(t=void 0===(r=$e[e=t])?yt(e):r,he.toHandle(Ce()[t]));var e,r},p:function(t){t>4&&(fe[t].refcount+=1)},q:function(t,e,r,n){t=he.toValue(t);var i=ke[e];return i||(i=function(t){for(var e="",r=0;r<t;++r)e+=(0!==r?", ":"")+"arg"+r;var n="return function emval_allocator_"+t+"(constructor, argTypes, args) {\n var HEAPU32 = getMemory();\n";for(r=0;r<t;++r)n+="var argType"+r+" = requireRegisteredType(HEAPU32[((argTypes)>>2)], 'parameter "+r+"');\nvar arg"+r+" = argType"+r+".readValueFromPointer(args);\nargs += argType"+r+"['argPackAdvance'];\nargTypes += 4;\n";return n+="var obj = new constructor("+e+");\nreturn valueToHandle(obj);\n}\n",new Function("requireRegisteredType","Module","valueToHandle","getMemory",n)(Se,o,he.toHandle,()=>A)}(e),ke[e]=i),i(t,r,n)},s:function(t,e){var r=(t=Se(t,"_emval_take_value")).readValueFromPointer(e);return he.toHandle(r)},j:function(){K("")},D:function(t,e,r){$.copyWithin(t,e,e+r)},y:function(t){var e=$.length,r=2147483648;if((t>>>=0)>r)return!1;let n=(t,e)=>t+(e-t%e)%e;for(var o=1;o<=4;o*=2){var i=e*(1+.2/o);if(i=Math.min(i,t+100663296),Ae(Math.min(r,n(Math.max(t,i),65536))))return!0}return!1},z:function(t,e){var r=0;return Ee().forEach(function(n,o){var i=e+r;A[t+4*o>>2]=i,function(t,e,r){for(var n=0;n<t.length;++n)P[0|e++]=t.charCodeAt(n);r||(P[0|e]=0)}(n,i),r+=n.length+1}),0},B:function(t,e){var r=Ee();A[t>>2]=r.length;var n=0;return r.forEach(function(t){n+=t.length+1}),A[e>>2]=n,0},I:Oe,C:function(t){return 52},v:function(t,e,r,n,o){return 70},k:function(t,e,r,n){for(var o=0,i=0;i<r;i++){var a=A[e>>2],s=A[e+4>>2];e+=8;for(var u=0;u<s;u++)Re(t,$[a+u]);o+=s}return A[n>>2]=o,0},o:function(t,e){var r=ze();try{return ee(t)(e)}catch(t){if(Be(r),t!==t+0)throw t;qe(1,0)}},n:function(t,e,r){var n=ze();try{return ee(t)(e,r)}catch(t){if(Be(n),t!==t+0)throw t;qe(1,0)}},H:function(t,e,r,n){var o=ze();try{return ee(t)(e,r,n)}catch(t){if(Be(o),t!==t+0)throw t;qe(1,0)}},f:function(t,e){var r=ze();try{ee(t)(e)}catch(t){if(Be(r),t!==t+0)throw t;qe(1,0)}},e:function(t,e,r,n){var o=ze();try{ee(t)(e,r,n)}catch(t){if(Be(o),t!==t+0)throw t;qe(1,0)}}},Ie=(function(){var t={a:De};function e(t,e){var r,n=t.exports;o.asm=n,I((_=o.asm.K).buffer),U=o.asm.M,r=o.asm.L,q.unshift(r),function(){if(G--,o.monitorRunDependencies&&o.monitorRunDependencies(G),0==G&&(null!==J&&(clearInterval(J),J=null),X)){var t=X;X=null,t()}}()}function r(t){e(t.instance)}function i(e){return function(){if(!g&&(p||d)){if("function"==typeof fetch&&!Z(H))return fetch(H,{credentials:"same-origin"}).then(function(t){if(!t.ok)throw"failed to load wasm binary file at '"+H+"'";return t.arrayBuffer()}).catch(function(){return Q(H)});if(a)return new Promise(function(t,e){a(H,function(e){t(new Uint8Array(e))},e)})}return Promise.resolve().then(function(){return Q(H)})}().then(function(e){return WebAssembly.instantiate(e,t)}).then(function(t){return t}).then(e,function(t){b("failed to asynchronously prepare wasm: "+t),K(t)})}if(G++,o.monitorRunDependencies&&o.monitorRunDependencies(G),o.instantiateWasm)try{return o.instantiateWasm(t,e)}catch(t){b("Module.instantiateWasm callback failed with error: "+t),n(t)}(g||"function"!=typeof WebAssembly.instantiateStreaming||Y(H)||Z(H)||h||"function"!=typeof fetch?i(r):fetch(H,{credentials:"same-origin"}).then(function(e){return WebAssembly.instantiateStreaming(e,t).then(r,function(t){return b("wasm streaming compile failed: "+t),b("falling back to ArrayBuffer instantiation"),i(r)})})).catch(n)}(),o.___wasm_call_ctors=function(){return(o.___wasm_call_ctors=o.asm.L).apply(null,arguments)},o._malloc=function(){return(Ie=o._malloc=o.asm.N).apply(null,arguments)}),Ue=o._free=function(){return(Ue=o._free=o.asm.O).apply(null,arguments)},Me=o.___getTypeName=function(){return(Me=o.___getTypeName=o.asm.P).apply(null,arguments)},qe=(o.__embind_initialize_bindings=function(){return(o.__embind_initialize_bindings=o.asm.Q).apply(null,arguments)},o._setThrew=function(){return(qe=o._setThrew=o.asm.R).apply(null,arguments)}),ze=o.stackSave=function(){return(ze=o.stackSave=o.asm.S).apply(null,arguments)},Be=o.stackRestore=function(){return(Be=o.stackRestore=o.asm.T).apply(null,arguments)},Ne=o.stackAlloc=function(){return(Ne=o.stackAlloc=o.asm.U).apply(null,arguments)},Ve=o.___cxa_is_pointer_type=function(){return(Ve=o.___cxa_is_pointer_type=o.asm.V).apply(null,arguments)};function He(t){function r(){We||(We=!0,o.calledRun=!0,O||(et(q),e(o),o.onRuntimeInitialized&&o.onRuntimeInitialized(),function(){if(o.postRun)for("function"==typeof o.postRun&&(o.postRun=[o.postRun]);o.postRun.length;)V(o.postRun.shift());et(z)}()))}t=t||c,G>0||(function(){if(o.preRun)for("function"==typeof o.preRun&&(o.preRun=[o.preRun]);o.preRun.length;)N(o.preRun.shift());et(M)}(),G>0||(o.setStatus?(o.setStatus("Running..."),setTimeout(function(){setTimeout(function(){o.setStatus("")},1),r()},1)):r()))}if(o.dynCall_jiji=function(){return(o.dynCall_jiji=o.asm.W).apply(null,arguments)},o.ccall=function(t,e,r,n,i){var a={string:t=>{var e=0;if(null!=t&&0!==t){var r=1+(t.length<<2);D(t,e=Ne(r),r)}return e},array:t=>{var e=Ne(t.length);return function(t,e){P.set(t,e)}(t,e),e}},s=function(t){return o["_"+t]}(t),u=[],c=0;if(n)for(var f=0;f<n.length;f++){var l=a[r[f]];l?(0===c&&(c=ze()),u[f]=l(n[f])):u[f]=n[f]}var p=s.apply(null,u);return p=function(t){return 0!==c&&Be(c),function(t){return"string"===e?W(t):"boolean"===e?Boolean(t):t}(t)}(p)},X=function t(){We||He(),We||(X=t)},o.preInit)for("function"==typeof o.preInit&&(o.preInit=[o.preInit]);o.preInit.length>0;)o.preInit.pop()();return He(),t.ready});"object"==typeof e&&"object"==typeof t?t.exports=n:"function"==typeof define&&define.amd?define([],function(){return n}):"object"==typeof e&&(e.libjpegturbowasm_decode=n)},37080:(t,e,r)=>{"use strict";var n=r(65020),o=r(26406),i=r(7822),a=r(16142).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},37161:(t,e,r)=>{"use strict";var n=r(77853),o=r(39815).add,i=r(58763),a=r(98138),s=r(70428);t.exports=function(t){var e=n(this),r=a(t).getIterator(),u=i(e);return s(r,function(t){o(u,t)}),u}},37234:(t,e,r)=>{"use strict";r(7393)},38769:(t,e,r)=>{"use strict";var n=r(77017);t.exports=n.Promise},38798:(t,e,r)=>{"use strict";var n=r(96377),o=r(77017),i=r(77882),a=r(89125),s=r(33752),u=r(39789),c=r(50406),f=o.Promise,l=!1;n({target:"Promise",stat:!0,forced:!f||!f.try||c(function(){f.try(function(t){l=8===t},8)}).error||!l},{try:function(t){var e=arguments.length>1?a(arguments,1):[],r=s.f(this),n=c(function(){return i(u(t),void 0,e)});return(n.error?r.reject:r.resolve)(n.value),r.promise}})},38818:t=>{"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},39148:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},39243:(t,e,r)=>{"use strict";var n=r(96377),o=r(18693),i=r(41416);n({target:"Set",proto:!0,real:!0,forced:!r(57107)("symmetricDifference")||!i("symmetricDifference")},{symmetricDifference:o})},39500:(t,e,r)=>{"use strict";r(37080)("asyncDispose")},39789:(t,e,r)=>{"use strict";var n=r(73024),o=r(38818),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},39815:(t,e,r)=>{"use strict";var n=r(48192),o=r(55116),i=n("Set"),a=i.prototype;t.exports={Set:i,add:o("add",1),has:o("has",1),remove:o("delete",1),proto:a}},40452:(t,e,r)=>{"use strict";r(96377)({target:"Object",stat:!0},{setPrototypeOf:r(41522)})},40626:(t,e,r)=>{"use strict";var n=r(96377),o=r(66062),i=r(91174),a=r(41522),s=r(67141),u=r(50429),c=r(3236),f=r(66231),l=r(75101),p=r(33722),d=r(21653),h=r(52278),v=r(96830)("toStringTag"),m=Error,y=[].push,g=function(t,e){var r,n=o(w,this);a?r=a(new m,n?i(this):w):(r=n?this:u(w),c(r,v,"Error")),void 0!==e&&c(r,"message",h(e)),p(r,g,r.stack,1),arguments.length>2&&l(r,arguments[2]);var s=[];return d(t,y,{that:s}),c(r,"errors",s),r};a?a(g,m):s(g,m,{name:!0});var w=g.prototype=u(m.prototype,{constructor:f(1,g),message:f(1,""),name:f(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:g})},40730:(t,e,r)=>{"use strict";r(37080)("search")},40801:(t,e,r)=>{"use strict";r(9412)},41198:(t,e,r)=>{"use strict";var n=r(13698),o=r(91981),i=r(31298),a=r(76744),s=r(96830)("iterator");t.exports=function(t){if(!i(t))return o(t,s)||o(t,"@@iterator")||a[n(t)]}},41416:t=>{"use strict";t.exports=function(t){try{var e=new Set,r={size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return e.clear(),e.add(4),function(){return{done:!0}}}})}},n=e[t](r);return 1===n.size&&4===n.values().next().value}catch(t){return!1}}},41522:(t,e,r)=>{"use strict";var n=r(47629),o=r(59371),i=r(20825),a=r(19773);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return i(r),a(n),o(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0)},41748:(t,e,r)=>{"use strict";var n,o,i=r(77017),a=r(73496),s=i.process,u=i.Deno,c=s&&s.versions||u&&u.version,f=c&&c.v8;f&&(o=(n=f.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},41938:(t,e,r)=>{"use strict";var n=r(95804),o=r(39789),i=r(9262),a=r(38818),s=r(41198),u=TypeError;t.exports=function(t,e){var r=arguments.length<2?s(t):e;if(o(r))return i(n(r,t));throw new u(a(t)+" is not iterable")}},42188:(t,e,r)=>{"use strict";r(37080)("iterator")},42976:(t,e,r)=>{"use strict";r(34894)},43646:(t,e,r)=>{"use strict";var n=r(22517);t.exports=n},43936:(t,e,r)=>{"use strict";t.exports=r(36458)},44209:(t,e,r)=>{"use strict";var n=r(39789),o=r(78248),i=r(99980),a=r(2241),s=TypeError,u="Reduce of empty array with no initial value",c=function(t){return function(e,r,c,f){var l=o(e),p=i(l),d=a(l);if(n(r),0===d&&c<2)throw new s(u);var h=t?d-1:0,v=t?-1:1;if(c<2)for(;;){if(h in p){f=p[h],h+=v;break}if(h+=v,t?h<0:d<=h)throw new s(u)}for(;t?h>=0:d>h;h+=v)h in p&&(f=r(f,p[h],h,l));return f}};t.exports={left:c(!1),right:c(!0)}},44411:(t,e,r)=>{"use strict";r(64157);var n=r(22593);t.exports=n("Array","slice")},44604:(t,e,r)=>{"use strict";var n=r(16099);t.exports=n},44875:(t,e,r)=>{"use strict";var n=r(56158);t.exports=!n(function(){return Object.isExtensible(Object.preventExtensions({}))})},45124:(t,e,r)=>{"use strict";var n=r(73698);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},45507:(t,e,r)=>{"use strict";r(38798)},45556:(t,e,r)=>{"use strict";var n=r(48873);t.exports=n},45919:(t,e,r)=>{"use strict";t.exports=r(72117)},46612:(t,e,r)=>{"use strict";t.exports=r(48866)},47059:(t,e,r)=>{"use strict";t.exports=r(91625)},47472:(t,e,r)=>{"use strict";t.exports=r(28930)},47629:(t,e,r)=>{"use strict";var n=r(12973),o=r(39789);t.exports=function(t,e,r){try{return n(o(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},47680:(t,e,r)=>{"use strict";var n=r(9262),o=r(78837),i=r(31298),a=r(96830)("species");t.exports=function(t,e){var r,s=n(t).constructor;return void 0===s||i(r=n(s)[a])?e:o(r)}},47914:(t,e,r)=>{"use strict";var n=r(77017),o=r(73496),i=r(61813),a=function(t){return o.slice(0,t.length)===t};t.exports=a("Bun/")?"BUN":a("Cloudflare-Workers")?"CLOUDFLARE":a("Deno/")?"DENO":a("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===i(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},48192:(t,e,r)=>{"use strict";var n=r(65020),o=r(77017),i=r(73024),a=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?a(n[t])||a(o[t]):n[t]&&n[t][e]||o[t]&&o[t][e]}},48542:(t,e,r)=>{"use strict";var n=r(66062),o=r(71424),i=String.prototype;t.exports=function(t){var e=t.endsWith;return"string"==typeof t||t===i||n(i,t)&&e===i.endsWith?o:e}},48595:(t,e,r)=>{"use strict";r(37080)("asyncIterator")},48731:(t,e,r)=>{"use strict";var n=r(23200);t.exports=n},48771:(t,e,r)=>{"use strict";var n=r(95804),o=r(73024),i=r(59371),a=TypeError;t.exports=function(t,e){var r,s;if("string"===e&&o(r=t.toString)&&!i(s=n(r,t)))return s;if(o(r=t.valueOf)&&!i(s=n(r,t)))return s;if("string"!==e&&o(r=t.toString)&&!i(s=n(r,t)))return s;throw new a("Can't convert object to primitive value")}},48866:(t,e,r)=>{"use strict";var n=r(13149);t.exports=n},48873:(t,e,r)=>{"use strict";var n=r(66062),o=r(44411),i=Array.prototype;t.exports=function(t){var e=t.slice;return t===i||n(i,t)&&e===i.slice?o:e}},48974:(t,e,r)=>{"use strict";var n=r(97101);t.exports=n},49076:(t,e,r)=>{"use strict";var n=r(77853),o=r(39815).has,i=r(26153),a=r(98138),s=r(70428),u=r(79832);t.exports=function(t){var e=n(this),r=a(t);if(i(e)<r.size)return!1;var c=r.getIterator();return!1!==s(c,function(t){if(!o(e,t))return u(c,"normal",!1)})}},49127:(t,e,r)=>{"use strict";var n=r(77853),o=r(39815),i=r(58763),a=r(26153),s=r(98138),u=r(16767),c=r(70428),f=o.has,l=o.remove;t.exports=function(t){var e=n(this),r=s(t),o=i(e);return a(e)<=r.size?u(e,function(t){r.includes(t)&&l(o,t)}):c(r.getIterator(),function(t){f(o,t)&&l(o,t)}),o}},49201:(t,e,r)=>{var n=r(9854),o=r(23767),i=r(77745);t.exports=function(t,e,r,a,s){return new i(o().w(t,e,r,a),s||n)},t.exports.__esModule=!0,t.exports.default=t.exports},50406:t=>{"use strict";t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},50429:(t,e,r)=>{"use strict";var n,o=r(9262),i=r(9842),a=r(17758),s=r(59360),u=r(70206),c=r(78890),f=r(27932),l="prototype",p="script",d=f("IE_PROTO"),h=function(){},v=function(t){return"<"+p+">"+t+"</"+p+">"},m=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;y="undefined"!=typeof document?document.domain&&n?m(n):(e=c("iframe"),r="java"+p+":",e.style.display="none",u.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):m(n);for(var o=a.length;o--;)delete y[l][a[o]];return y()};s[d]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(h[l]=o(t),r=new h,h[l]=null,r[d]=t):r=y(),void 0===e?r:i.f(r,e)}},50648:(t,e,r)=>{"use strict";r(4525),r(28378),r(52879),r(42188);var n=r(7822);t.exports=n.f("iterator")},51188:(t,e,r)=>{"use strict";var n=r(96377),o=r(95804),i=r(39789),a=r(33752),s=r(50406),u=r(21653);n({target:"Promise",stat:!0,forced:r(87352)},{all:function(t){var e=this,r=a.f(e),n=r.resolve,c=r.reject,f=s(function(){var r=i(e.resolve),a=[],s=0,f=1;u(t,function(t){var i=s++,u=!1;f++,o(r,e,t).then(function(t){u||(u=!0,a[i]=t,--f||n(a))},c)}),--f||n(a)});return f.error&&c(f.value),r.promise}})},51344:(t,e,r)=>{"use strict";var n=r(77017),o=r(69705),i=Object.getOwnPropertyDescriptor;t.exports=function(t){if(!o)return n[t];var e=i(n,t);return e&&e.value}},52028:(t,e,r)=>{t.exports=r(94687)},52278:(t,e,r)=>{"use strict";var n=r(82998);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:n(t)}},52647:(t,e,r)=>{"use strict";var n=r(45124),o=Math.min;t.exports=function(t){var e=n(t);return e>0?o(e,9007199254740991):0}},52879:(t,e,r)=>{"use strict";var n=r(29832).charAt,o=r(82998),i=r(746),a=r(67917),s=r(12004),u="String Iterator",c=i.set,f=i.getterFor(u);a(String,"String",function(t){c(this,{type:u,string:o(t),index:0})},function(){var t,e=f(this),r=e.string,o=e.index;return o>=r.length?s(void 0,!0):(t=n(r,o),e.index+=t.length,s(t,!1))})},52884:(t,e,r)=>{"use strict";var n=r(28638),o=r(54252);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},52937:(t,e,r)=>{"use strict";var n=r(96377),o=r(12973),i=r(28011),a=o([].reverse),s=[1,2];n({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function(){return i(this)&&(this.length=this.length),a(this)}})},53071:(t,e,r)=>{t.exports=r(57439)},53385:function(t,e){var r,n=(r=globalThis.document?.currentScript?.src,async function(t={}){var e=t,n=!!globalThis.window,o=!!globalThis.WorkerGlobalScope,i=globalThis.process?.versions?.node&&"renderer"!=globalThis.process?.type,a=(t,e)=>{throw e};"undefined"!=typeof __filename?r=__filename:o&&(r=self.location.href);var s,u,c="";if(i){var f=require("node:fs");c=__dirname+"/",u=t=>(t=A(t)?new URL(t):t,f.readFileSync(t)),s=async(t,e=!0)=>(t=A(t)?new URL(t):t,f.readFileSync(t,e?void 0:"utf8")),process.argv.length>1&&process.argv[1].replace(/\\/g,"/"),process.argv.slice(2),a=(t,e)=>{throw process.exitCode=t,e}}else if(n||o){try{c=new URL(".",r).href}catch{}o&&(u=t=>{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),s=async t=>{if(A(t))return new Promise((e,r)=>{var n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="arraybuffer",n.onload=()=>{200==n.status||0==n.status&&n.response?e(n.response):r(n.status)},n.onerror=r,n.send(null)});var e=await fetch(t,{credentials:"same-origin"});if(e.ok)return e.arrayBuffer();throw new Error(e.status+" : "+e.url)}}var l,p,d,h,v,m,y,g,w,b,_,x,T,P,$,C=console.log.bind(console),S=console.error.bind(console),k=!1,A=t=>t.startsWith("file://"),j=!1;function E(){var t=Xt.buffer;v=new Int8Array(t),y=new Int16Array(t),m=new Uint8Array(t),g=new Uint16Array(t),w=new Int32Array(t),b=new Uint32Array(t),_=new Float32Array(t),x=new Float64Array(t),T=new BigInt64Array(t),P=new BigUint64Array(t)}function O(t){e.onAbort?.(t),S(t="Aborted("+t+")"),k=!0,t+=". Build with -sASSERTIONS for more info.";var r=new WebAssembly.RuntimeError(t);throw h?.(r),r}function F(){return t="dicomiccwasm.wasm",e.locateFile?e.locateFile(t,c):c+t;var t}async function R(t){if(!l)try{var e=await s(t);return new Uint8Array(e)}catch{}return function(t){if(t==$&&l)return new Uint8Array(l);if(u)return u(t);throw"both async and sync fetching of the wasm failed"}(t)}async function W(t,e,r){if(!t&&!A(e)&&!i)try{var n=fetch(e,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(n,r)}catch(t){S(`wasm streaming compile failed: ${t}`),S("falling back to ArrayBuffer instantiation")}return async function(t,e){try{var r=await R(t);return await WebAssembly.instantiate(r,e)}catch(t){S(`failed to asynchronously prepare wasm: ${t}`),O(t)}}(e,r)}class D{name="ExitStatus";constructor(t){this.message=`Program terminated with exit(${t})`,this.status=t}}var I=t=>{for(;t.length>0;)t.shift()(e)},U=[],M=t=>U.push(t),q=[],z=t=>q.push(t),B=!0,N=()=>Jt(),V=globalThis.TextDecoder&&new TextDecoder,H=(t,e,r,n)=>{var o=e+r;if(n)return o;for(;t[e]&&!(e>=o);)++e;return e},L=(t,e=0,r,n)=>{var o=H(t,e,r,n);if(o-e>16&&t.buffer&&V)return V.decode(t.subarray(e,o));for(var i="";e<o;){var a=t[e++];if(128&a){var s=63&t[e++];if(192!=(224&a)){var u=63&t[e++];if((a=224==(240&a)?(15&a)<<12|s<<6|u:(7&a)<<18|s<<12|u<<6|63&t[e++])<65536)i+=String.fromCharCode(a);else{var c=a-65536;i+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else i+=String.fromCharCode((31&a)<<6|s)}else i+=String.fromCharCode(a)}return i},G=(t,e,r)=>t?L(m,t,e,r):"";class J{constructor(t){this.excPtr=t,this.ptr=t-24}set_type(t){b[this.ptr+4>>2]=t}get_type(){return b[this.ptr+4>>2]}set_destructor(t){b[this.ptr+8>>2]=t}get_destructor(){return b[this.ptr+8>>2]}set_caught(t){t=t?1:0,v[this.ptr+12]=t}get_caught(){return 0!=v[this.ptr+12]}set_rethrown(t){t=t?1:0,v[this.ptr+13]=t}get_rethrown(){return 0!=v[this.ptr+13]}init(t,e){this.set_adjusted_ptr(0),this.set_type(t),this.set_destructor(e)}set_adjusted_ptr(t){b[this.ptr+16>>2]=t}get_adjusted_ptr(){return b[this.ptr+16>>2]}}var X={varargs:void 0,getStr:t=>G(t)},K={},Y=t=>{for(;t.length;){var e=t.pop();t.pop()(e)}};function Z(t){return this.fromWireType(b[t>>2])}var Q={},tt={},et={},rt=class extends Error{constructor(t){super(t),this.name="InternalError"}},nt=t=>{throw new rt(t)},ot=(t,e,r)=>{function n(e){var n=r(e);n.length!==t.length&&nt("Mismatched type converter count");for(var o=0;o<t.length;++o)ut(t[o],n[o])}t.forEach(t=>et[t]=e);var o=new Array(e.length),i=[],a=0;for(let[t,r]of e.entries())tt.hasOwnProperty(r)?o[t]=tt[r]:(i.push(r),Q.hasOwnProperty(r)||(Q[r]=[]),Q[r].push(()=>{o[t]=tt[r],++a===i.length&&n(o)}));0===i.length&&n(o)},it=t=>{for(var e="";;){var r=m[t++];if(!r)return e;e+=String.fromCharCode(r)}},at=class extends Error{constructor(t){super(t),this.name="BindingError"}},st=t=>{throw new at(t)};function ut(t,e,r={}){return function(t,e,r={}){var n=e.name;if(t||st(`type "${n}" must have a positive integer typeid pointer`),tt.hasOwnProperty(t)){if(r.ignoreDuplicateRegistrations)return;st(`Cannot register type '${n}' twice`)}if(tt[t]=e,delete et[t],Q.hasOwnProperty(t)){var o=Q[t];delete Q[t],o.forEach(t=>t())}}(t,e,r)}var ct=(t,e,r)=>{switch(e){case 1:return r?t=>v[t]:t=>m[t];case 2:return r?t=>y[t>>1]:t=>g[t>>1];case 4:return r?t=>w[t>>2]:t=>b[t>>2];case 8:return r?t=>T[t>>3]:t=>P[t>>3];default:throw new TypeError(`invalid integer width (${e}): ${t}`)}},ft=t=>{st(t.$$.ptrType.registeredClass.name+" instance already deleted")},lt=!1,pt=t=>{},dt=t=>{t.count.value-=1,0===t.count.value&&(t=>{t.smartPtr?t.smartPtrType.rawDestructor(t.smartPtr):t.ptrType.registeredClass.rawDestructor(t.ptr)})(t)},ht=t=>globalThis.FinalizationRegistry?(lt=new FinalizationRegistry(t=>{dt(t.$$)}),ht=t=>{var e=t.$$;if(e.smartPtr){var r={$$:e};lt.register(t,r,t)}return t},pt=t=>lt.unregister(t),ht(t)):(ht=t=>t,t),vt=[];function mt(){}var yt=(t,e)=>Object.defineProperty(e,"name",{value:t}),gt={},wt=(t,e,r)=>{if(void 0===t[e].overloadTable){var n=t[e];t[e]=function(...n){return t[e].overloadTable.hasOwnProperty(n.length)||st(`Function '${r}' called with an invalid number of arguments (${n.length}) - expects one of (${t[e].overloadTable})!`),t[e].overloadTable[n.length].apply(this,n)},t[e].overloadTable=[],t[e].overloadTable[n.argCount]=n}},bt=(t,r,n)=>{e.hasOwnProperty(t)?((void 0===n||void 0!==e[t].overloadTable&&void 0!==e[t].overloadTable[n])&&st(`Cannot register public name '${t}' twice`),wt(e,t,t),e[t].overloadTable.hasOwnProperty(n)&&st(`Cannot register multiple overloads of a function with the same number of arguments (${n})!`),e[t].overloadTable[n]=r):(e[t]=r,e[t].argCount=n)};function _t(t,e,r,n,o,i,a,s){this.name=t,this.constructor=e,this.instancePrototype=r,this.rawDestructor=n,this.baseClass=o,this.getActualType=i,this.upcast=a,this.downcast=s,this.pureVirtualFunctions=[]}var xt=(t,e,r)=>{for(;e!==r;)e.upcast||st(`Expected null or instance of ${r.name}, got an instance of ${e.name}`),t=e.upcast(t),e=e.baseClass;return t},Tt=t=>{if(null===t)return"null";var e=typeof t;return"object"===e||"array"===e||"function"===e?t.toString():""+t};function Pt(t,e){if(null===e)return this.isReference&&st(`null is not a valid ${this.name}`),0;e.$$||st(`Cannot pass "${Tt(e)}" as a ${this.name}`),e.$$.ptr||st(`Cannot pass deleted object as a pointer of type ${this.name}`);var r=e.$$.ptrType.registeredClass;return xt(e.$$.ptr,r,this.registeredClass)}function $t(t,e){var r;if(null===e)return this.isReference&&st(`null is not a valid ${this.name}`),this.isSmartPointer?(r=this.rawConstructor(),null!==t&&t.push(this.rawDestructor,r),r):0;e&&e.$$||st(`Cannot pass "${Tt(e)}" as a ${this.name}`),e.$$.ptr||st(`Cannot pass deleted object as a pointer of type ${this.name}`),!this.isConst&&e.$$.ptrType.isConst&&st(`Cannot convert argument of type ${e.$$.smartPtrType?e.$$.smartPtrType.name:e.$$.ptrType.name} to parameter type ${this.name}`);var n=e.$$.ptrType.registeredClass;if(r=xt(e.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(void 0===e.$$.smartPtr&&st("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:e.$$.smartPtrType===this?r=e.$$.smartPtr:st(`Cannot convert argument of type ${e.$$.smartPtrType?e.$$.smartPtrType.name:e.$$.ptrType.name} to parameter type ${this.name}`);break;case 1:r=e.$$.smartPtr;break;case 2:if(e.$$.smartPtrType===this)r=e.$$.smartPtr;else{var o=e.clone();r=this.rawShare(r,ee.toHandle(()=>o.delete())),null!==t&&t.push(this.rawDestructor,r)}break;default:st("Unsupported sharing policy")}return r}function Ct(t,e){if(null===e)return this.isReference&&st(`null is not a valid ${this.name}`),0;e.$$||st(`Cannot pass "${Tt(e)}" as a ${this.name}`),e.$$.ptr||st(`Cannot pass deleted object as a pointer of type ${this.name}`),e.$$.ptrType.isConst&&st(`Cannot convert argument of type ${e.$$.ptrType.name} to parameter type ${this.name}`);var r=e.$$.ptrType.registeredClass;return xt(e.$$.ptr,r,this.registeredClass)}var St=(t,e,r)=>{if(e===r)return t;if(void 0===r.baseClass)return null;var n=St(t,e,r.baseClass);return null===n?null:r.downcast(n)},kt={},At=(t,e)=>(e=((t,e)=>{for(void 0===e&&st("ptr should not be undefined");t.baseClass;)e=t.upcast(e),t=t.baseClass;return e})(t,e),kt[e]),jt=(t,e)=>(e.ptrType&&e.ptr||nt("makeClassHandle requires ptr and ptrType"),!!e.smartPtrType!=!!e.smartPtr&&nt("Both smartPtrType and smartPtr must be specified"),e.count={value:1},ht(Object.create(t,{$$:{value:e,writable:!0}})));function Et(t){var e=this.getPointee(t);if(!e)return this.destructor(t),null;var r=At(this.registeredClass,e);if(void 0!==r){if(0===r.$$.count.value)return r.$$.ptr=e,r.$$.smartPtr=t,r.clone();var n=r.clone();return this.destructor(t),n}function o(){return this.isSmartPointer?jt(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:e,smartPtrType:this,smartPtr:t}):jt(this.registeredClass.instancePrototype,{ptrType:this,ptr:t})}var i,a=this.registeredClass.getActualType(e),s=gt[a];if(!s)return o.call(this);i=this.isConst?s.constPointerType:s.pointerType;var u=St(e,this.registeredClass,i.registeredClass);return null===u?o.call(this):this.isSmartPointer?jt(i.registeredClass.instancePrototype,{ptrType:i,ptr:u,smartPtrType:this,smartPtr:t}):jt(i.registeredClass.instancePrototype,{ptrType:i,ptr:u})}function Ot(t,e,r,n,o,i,a,s,u,c,f){this.name=t,this.registeredClass=e,this.isReference=r,this.isConst=n,this.isSmartPointer=o,this.pointeeType=i,this.sharingPolicy=a,this.rawGetPointee=s,this.rawConstructor=u,this.rawShare=c,this.rawDestructor=f,o||void 0!==e.baseClass?this.toWireType=$t:n?(this.toWireType=Pt,this.destructorFunction=null):(this.toWireType=Ct,this.destructorFunction=null)}var Ft=(t,r,n)=>{e.hasOwnProperty(t)||nt("Replacing nonexistent public symbol"),void 0!==e[t].overloadTable&&void 0!==n?e[t].overloadTable[n]=r:(e[t]=r,e[t].argCount=n)},Rt=[],Wt=(t,e,r=!1)=>{t=it(t);var n,o,i=((o=Rt[n=e])||(Rt[n]=o=Kt.get(n)),o);return"function"!=typeof i&&st(`unknown function pointer with signature ${t}: ${e}`),i};class Dt extends Error{}var It=t=>{var e=Bt(t),r=it(e);return Vt(e),r},Ut=(t,e)=>{var r=[],n={};throw e.forEach(function t(e){n[e]||tt[e]||(et[e]?et[e].forEach(t):(r.push(e),n[e]=!0))}),new Dt(`${t}: `+r.map(It).join([", "]))},Mt=(t,e)=>{for(var r=[],n=0;n<t;n++)r.push(b[e+4*n>>2]);return r};function qt(t){for(var e=1;e<t.length;++e)if(null!==t[e]&&void 0===t[e].destructorFunction)return!0;return!1}function zt(t,e,r,n,o,i){var a=e.length;a<2&&st("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var s=null!==e[1]&&null!==r,u=qt(e),c=!e[0].isVoid,f=e[0],l=e[1],p=[t,st,n,o,Y,f.fromWireType.bind(f),l?.toWireType.bind(l)],d=2;d<a;++d){var h=e[d];p.push(h.toWireType.bind(h))}if(!u)for(d=s?1:2;d<e.length;++d)null!==e[d].destructorFunction&&p.push(e[d].destructorFunction);let v=function(t,e,r,n){var o=qt(t),i=t.length-2,a=[],s=["fn"];e&&s.push("thisWired");for(var u=0;u<i;++u)a.push(`arg${u}`),s.push(`arg${u}Wired`);a=a.join(","),s=s.join(",");var c=`return function (${a}) {\n`;o&&(c+="var destructors = [];\n");var f=o?"destructors":"null",l=["humanName","throwBindingError","invoker","fn","runDestructors","fromRetWire","toClassParamWire"];for(e&&(c+=`var thisWired = toClassParamWire(${f}, this);\n`),u=0;u<i;++u){var p=`toArg${u}Wire`;c+=`var arg${u}Wired = ${p}(${f}, arg${u});\n`,l.push(p)}if(c+=(r||n?"var rv = ":"")+`invoker(${s});\n`,o)c+="runDestructors(destructors);\n";else for(u=e?1:2;u<t.length;++u){var d=1===u?"thisWired":"arg"+(u-2)+"Wired";null!==t[u].destructorFunction&&(c+=`${d}_dtor(${d});\n`,l.push(`${d}_dtor`))}return r&&(c+="var ret = fromRetWire(rv);\nreturn ret;\n"),c+="}\n",new Function(l,c)}(e,s,c,i);var m=v(...p);return yt(t,m)}var Bt,Nt,Vt,Ht,Lt,Gt,Jt,Xt,Kt,Yt=t=>{const e=(t=t.trim()).indexOf("(");return-1===e?t:t.slice(0,e)},Zt=[],Qt=[0,1,,1,null,1,!0,1,!1,1],te=t=>{t>9&&0===--Qt[t+1]&&(Qt[t]=void 0,Zt.push(t))},ee={toValue:t=>(t||st(`Cannot use deleted val. handle = ${t}`),Qt[t]),toHandle:t=>{switch(t){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:{const e=Zt.pop()||Qt.length;return Qt[e]=t,Qt[e+1]=1,e}}}},re={name:"emscripten::val",fromWireType:t=>{var e=ee.toValue(t);return te(t),e},toWireType:(t,e)=>ee.toHandle(e),readValueFromPointer:Z,destructorFunction:null},ne=(t,e,r)=>{switch(e){case 1:return r?function(t){return this.fromWireType(v[t])}:function(t){return this.fromWireType(m[t])};case 2:return r?function(t){return this.fromWireType(y[t>>1])}:function(t){return this.fromWireType(g[t>>1])};case 4:return r?function(t){return this.fromWireType(w[t>>2])}:function(t){return this.fromWireType(b[t>>2])};default:throw new TypeError(`invalid integer width (${e}): ${t}`)}},oe=(t,e)=>{var r=tt[t];return void 0===r&&st(`${e} has unknown type ${It(t)}`),r},ie=(t,e)=>{switch(e){case 4:return function(t){return this.fromWireType(_[t>>2])};case 8:return function(t){return this.fromWireType(x[t>>3])};default:throw new TypeError(`invalid float width (${e}): ${t}`)}},ae=(t,e,r)=>((t,e,r,n)=>{if(!(n>0))return 0;for(var o=r,i=r+n-1,a=0;a<t.length;++a){var s=t.codePointAt(a);if(s<=127){if(r>=i)break;e[r++]=s}else if(s<=2047){if(r+1>=i)break;e[r++]=192|s>>6,e[r++]=128|63&s}else if(s<=65535){if(r+2>=i)break;e[r++]=224|s>>12,e[r++]=128|s>>6&63,e[r++]=128|63&s}else{if(r+3>=i)break;e[r++]=240|s>>18,e[r++]=128|s>>12&63,e[r++]=128|s>>6&63,e[r++]=128|63&s,a++}}return e[r]=0,r-o})(t,m,e,r),se=t=>{for(var e=0,r=0;r<t.length;++r){var n=t.charCodeAt(r);n<=127?e++:n<=2047?e+=2:n>=55296&&n<=57343?(e+=4,++r):e+=3}return e},ue=globalThis.TextDecoder?new TextDecoder("utf-16le"):void 0,ce=(t,e,r)=>{var n=t>>1,o=H(g,n,e/2,r);if(o-n>16&&ue)return ue.decode(g.subarray(n,o));for(var i="",a=n;a<o;++a){var s=g[a];i+=String.fromCharCode(s)}return i},fe=(t,e,r)=>{if(r??=2147483647,r<2)return 0;for(var n=e,o=(r-=2)<2*t.length?r/2:t.length,i=0;i<o;++i){var a=t.charCodeAt(i);y[e>>1]=a,e+=2}return y[e>>1]=0,e-n},le=t=>2*t.length,pe=(t,e,r)=>{for(var n="",o=t>>2,i=0;!(i>=e/4);i++){var a=b[o+i];if(!a&&!r)break;n+=String.fromCodePoint(a)}return n},de=(t,e,r)=>{if(r??=2147483647,r<4)return 0;for(var n=e,o=n+r-4,i=0;i<t.length;++i){var a=t.codePointAt(i);if(a>65535&&i++,w[e>>2]=a,(e+=4)+4>o)break}return w[e>>2]=0,e-n},he=t=>{for(var e=0,r=0;r<t.length;++r)t.codePointAt(r)>65535&&r++,e+=4;return e},ve=0,me=[],ye=(t,e,r)=>{var n=[],o=t(n,r);return n.length&&(b[e>>2]=ee.toHandle(n)),o},ge={},we=t=>{var e=ge[t];return void 0===e?it(t):e},be=t=>t<-9007199254740992||t>9007199254740992?NaN:Number(t),_e={},xe=t=>{if(t instanceof D||"unwind"==t)return p;a(1,t)},Te=()=>B||ve>0,Pe=t=>{p=t,Te()||(e.onExit?.(t),k=!0),a(t,new D(t))},$e=(t,e)=>{p=t,Pe(t)},Ce=t=>{if(!k)try{return t()}catch(t){xe(t)}finally{(()=>{if(!Te())try{$e(p)}catch(t){xe(t)}})()}},Se=(t,e)=>Math.ceil(t/e)*e,ke=t=>{var e=(t-Xt.buffer.byteLength+65535)/65536|0;try{return Xt.grow(e),E(),1}catch(t){}},Ae=[null,[],[]],je=(t,e)=>{var r=Ae[t];0===e||10===e?((1===t?C:S)(L(r)),r.length=0):r.push(e)},Ee=t=>Gt(t);if((()=>{let t=mt.prototype;Object.assign(t,{isAliasOf(t){if(!(this instanceof mt))return!1;if(!(t instanceof mt))return!1;var e=this.$$.ptrType.registeredClass,r=this.$$.ptr;t.$$=t.$$;for(var n=t.$$.ptrType.registeredClass,o=t.$$.ptr;e.baseClass;)r=e.upcast(r),e=e.baseClass;for(;n.baseClass;)o=n.upcast(o),n=n.baseClass;return e===n&&r===o},clone(){if(this.$$.ptr||ft(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var t,e=ht(Object.create(Object.getPrototypeOf(this),{$$:{value:(t=this.$$,{count:t.count,deleteScheduled:t.deleteScheduled,preservePointerOnDelete:t.preservePointerOnDelete,ptr:t.ptr,ptrType:t.ptrType,smartPtr:t.smartPtr,smartPtrType:t.smartPtrType})}}));return e.$$.count.value+=1,e.$$.deleteScheduled=!1,e},delete(){this.$$.ptr||ft(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&st("Object already scheduled for deletion"),pt(this),dt(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)},isDeleted(){return!this.$$.ptr},deleteLater(){return this.$$.ptr||ft(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&st("Object already scheduled for deletion"),vt.push(this),vt.length,this.$$.deleteScheduled=!0,this}});const e=Symbol.dispose;e&&(t[e]=t.delete)})(),Object.assign(Ot.prototype,{getPointee(t){return this.rawGetPointee&&(t=this.rawGetPointee(t)),t},destructor(t){this.rawDestructor?.(t)},readValueFromPointer:Z,fromWireType:Et}),e.noExitRuntime&&(B=e.noExitRuntime),e.print&&(C=e.print),e.printErr&&(S=e.printErr),e.wasmBinary&&(l=e.wasmBinary),e.arguments&&e.arguments,e.thisProgram&&e.thisProgram,e.preInit)for("function"==typeof e.preInit&&(e.preInit=[e.preInit]);e.preInit.length>0;)e.preInit.shift()();e.ccall=(t,r,n,o,i)=>{var a={string:t=>{var e=0;return null!=t&&0!==t&&(e=(t=>{var e=se(t)+1,r=Ee(e);return ae(t,r,e),r})(t)),e},array:t=>{var e,r,n=Ee(t.length);return e=t,r=n,v.set(e,r),n}},s=(t=>e["_"+t])(t),u=[],c=0;if(o)for(var f=0;f<o.length;f++){var l=a[n[f]];l?(0===c&&(c=N()),u[f]=l(o[f])):u[f]=o[f]}var p=s(...u);return p=function(t){return 0!==c&&Lt(c),function(t){return"string"===r?G(t):"boolean"===r?Boolean(t):t}(t)}(p)};var Oe,Fe={a:(t,e,r,n)=>O(`Assertion failed: ${G(t)}, at: `+[e?G(e):"unknown filename",r,n?G(n):"unknown function"]),O:(t,e,r)=>{throw new J(t).init(e,r),t},m:function(t,e,r){return X.varargs=r,0},H:function(t,e,r){return X.varargs=r,0},I:function(t,e,r,n){X.varargs=n},z:t=>{},B:(t,e,r)=>{},x:()=>O(""),t:t=>{var e=K[t];delete K[t];var r=e.rawConstructor,n=e.rawDestructor,o=e.fields,i=o.map(t=>t.getterReturnType).concat(o.map(t=>t.setterArgumentType));ot([t],i,t=>{var i={};for(var[a,s]of o.entries()){const e=t[a],r=s.getter,n=s.getterContext,u=t[a+o.length],c=s.setter,f=s.setterContext;i[s.fieldName]={read:t=>e.fromWireType(r(n,t)),write:(t,e)=>{var r=[];c(f,t,u.toWireType(r,e)),Y(r)},optional:e.optional}}return[{name:e.name,fromWireType:t=>{var e={};for(var r in i)e[r]=i[r].read(t);return n(t),e},toWireType:(t,e)=>{for(var o in i)if(!(o in e)&&!i[o].optional)throw new TypeError(`Missing field: "${o}"`);var a=r();for(o in i)i[o].write(a,e[o]);return null!==t&&t.push(n,a),a},readValueFromPointer:Z,destructorFunction:n}]})},o:(t,e,r,n,o)=>{e=it(e);const i=0n===n;let a=t=>t;if(i){const t=8*r;a=e=>BigInt.asUintN(t,e),o=a(o)}ut(t,{name:e,fromWireType:a,toWireType:(t,e)=>("number"==typeof e&&(e=BigInt(e)),e),readValueFromPointer:ct(e,r,!i),destructorFunction:null})},M:(t,e,r,n)=>{ut(t,{name:e=it(e),fromWireType:function(t){return!!t},toWireType:function(t,e){return e?r:n},readValueFromPointer:function(t){return this.fromWireType(m[t])},destructorFunction:null})},s:(t,e,r,n,o,i,a,s,u,c,f,l,p)=>{f=it(f),i=Wt(o,i),s&&=Wt(a,s),c&&=Wt(u,c),p=Wt(l,p);var d=(t=>{var e=(t=t.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return e>=48&&e<=57?`_${t}`:t})(f);bt(d,function(){Ut(`Cannot construct ${f} due to unbound types`,[n])}),ot([t,e,r],n?[n]:[],e=>{var r,o;e=e[0],o=n?(r=e.registeredClass).instancePrototype:mt.prototype;var a=yt(f,function(...t){if(Object.getPrototypeOf(this)!==u)throw new at(`Use 'new' to construct ${f}`);if(void 0===l.constructor_body)throw new at(`${f} has no accessible constructor`);var e=l.constructor_body[t.length];if(void 0===e)throw new at(`Tried to invoke ctor of ${f} with invalid number of parameters (${t.length}) - expected (${Object.keys(l.constructor_body).toString()}) parameters instead!`);return e.apply(this,t)}),u=Object.create(o,{constructor:{value:a}});a.prototype=u;var l=new _t(f,a,u,p,r,i,s,c);l.baseClass&&(l.baseClass.__derivedClasses??=[],l.baseClass.__derivedClasses.push(l));var h=new Ot(f,l,!0,!1,!1),v=new Ot(f+"*",l,!1,!1,!1),m=new Ot(f+" const*",l,!1,!0,!1);return gt[t]={pointerType:v,constPointerType:m},Ft(d,a),[h,v,m]})},r:(t,e,r,n,o,i)=>{var a=Mt(e,r);o=Wt(n,o),ot([],[t],t=>{var r=`constructor ${(t=t[0]).name}`;if(void 0===t.registeredClass.constructor_body&&(t.registeredClass.constructor_body=[]),void 0!==t.registeredClass.constructor_body[e-1])throw new at(`Cannot register multiple constructors with identical number of parameters (${e-1}) for class '${t.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return t.registeredClass.constructor_body[e-1]=()=>{Ut(`Cannot construct ${t.name} due to unbound types`,a)},ot([],a,n=>(n.splice(1,0,null),t.registeredClass.constructor_body[e-1]=zt(r,n,null,o,i),[])),[]})},k:(t,e,r,n,o,i,a,s,u,c)=>{var f=Mt(r,n);e=it(e),e=Yt(e),i=Wt(o,i,u),ot([],[t],t=>{var n=`${(t=t[0]).name}.${e}`;function o(){Ut(`Cannot call ${n} due to unbound types`,f)}e.startsWith("@@")&&(e=Symbol[e.substring(2)]),s&&t.registeredClass.pureVirtualFunctions.push(e);var c=t.registeredClass.instancePrototype,l=c[e];return void 0===l||void 0===l.overloadTable&&l.className!==t.name&&l.argCount===r-2?(o.argCount=r-2,o.className=t.name,c[e]=o):(wt(c,e,n),c[e].overloadTable[r-2]=o),ot([],f,o=>{var s=zt(n,o,t,i,a,u);return void 0===c[e].overloadTable?(s.argCount=r-2,c[e]=s):c[e].overloadTable[r-2]=s,[]}),[]})},K:t=>ut(t,re),p:(t,r,n,o,i)=>{r=it(r);const a=function(t){return 0===t?"object":1===t?"number":"string"}(i);switch(a){case"object":{function s(){}s.values={},ut(t,{name:r,constructor:s,valueType:a,fromWireType:function(t){return this.constructor.values[t]},toWireType:(t,e)=>e.value,readValueFromPointer:ne(r,n,o),destructorFunction:null}),bt(r,s);break}case"number":ut(t,{name:r,keysMap:u={},valueType:a,fromWireType:t=>t,toWireType:(t,e)=>e,readValueFromPointer:ne(r,n,o),destructorFunction:null}),bt(r,u),delete e[r].argCount;break;case"string":var u;ut(t,{name:r,valuesMap:{},reverseMap:{},keysMap:u={},valueType:a,fromWireType:function(t){return this.reverseMap[t]},toWireType:function(t,e){return this.valuesMap[e]},readValueFromPointer:ne(r,n,o),destructorFunction:null}),bt(r,u),delete e[r].argCount}},d:(t,e,r)=>{var n=oe(t,"enum");switch(e=it(e),n.valueType){case"object":var o=n.constructor,i=Object.create(n.constructor.prototype,{value:{value:r},constructor:{value:yt(`${n.name}_${e}`,function(){})}});o.values[r]=i,o[e]=i;break;case"number":n.keysMap[e]=r;break;case"string":n.valuesMap[e]=r,n.reverseMap[r]=e,n.keysMap[e]=e}},n:(t,e,r)=>{ut(t,{name:e=it(e),fromWireType:t=>t,toWireType:(t,e)=>e,readValueFromPointer:ie(e,r),destructorFunction:null})},q:(t,e,r,n,o,i,a,s)=>{var u=Mt(e,r);t=it(t),t=Yt(t),o=Wt(n,o,a),bt(t,function(){Ut(`Cannot call ${t} due to unbound types`,u)},e-1),ot([],u,r=>{var n=[r[0],null].concat(r.slice(1));return Ft(t,zt(t,n,null,o,i,a),e-1),[]})},c:(t,e,r,n,o)=>{e=it(e);let i=t=>t;if(0===n){var a=32-8*r;i=t=>t<<a>>>a,o=i(o)}ut(t,{name:e,fromWireType:i,toWireType:(t,e)=>e,readValueFromPointer:ct(e,r,0!==n),destructorFunction:null})},b:(t,e,r)=>{var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,BigInt64Array,BigUint64Array][e];function o(t){var e=b[t>>2],r=b[t+4>>2];return new n(v.buffer,r,e)}ut(t,{name:r=it(r),fromWireType:o,readValueFromPointer:o},{ignoreDuplicateRegistrations:!0})},L:(t,e)=>{e=it(e),ut(t,{name:e,fromWireType(t){var e,r=b[t>>2],n=t+4;return e=G(n,r,!0),Vt(t),e},toWireType(t,e){var r;e instanceof ArrayBuffer&&(e=new Uint8Array(e));var n="string"==typeof e;n||ArrayBuffer.isView(e)&&1==e.BYTES_PER_ELEMENT||st("Cannot pass non-string to std::string"),r=n?se(e):e.length;var o=Nt(4+r+1),i=o+4;return b[o>>2]=r,n?ae(e,i,r+1):m.set(e,i),null!==t&&t.push(Vt,o),o},readValueFromPointer:Z,destructorFunction(t){Vt(t)}})},g:(t,e,r)=>{var n,o,i;r=it(r),2===e?(n=ce,o=fe,i=le):(n=pe,o=de,i=he),ut(t,{name:r,fromWireType:t=>{var r=b[t>>2],o=n(t+4,r*e,!0);return Vt(t),o},toWireType:(t,n)=>{"string"!=typeof n&&st(`Cannot pass non-string to C++ string type ${r}`);var a=i(n),s=Nt(4+a+e);return b[s>>2]=a/e,o(n,s+4,a+e),null!==t&&t.push(Vt,s),s},readValueFromPointer:Z,destructorFunction(t){Vt(t)}})},A:(t,e,r,n,o,i)=>{K[t]={name:it(e),rawConstructor:Wt(r,n),rawDestructor:Wt(o,i),fields:[]}},f:(t,e,r,n,o,i,a,s,u,c)=>{K[t].fields.push({fieldName:it(e),getterReturnType:r,getter:Wt(n,o),getterContext:i,setterArgumentType:a,setter:Wt(s,u),setterContext:c})},N:(t,e)=>{ut(t,{isVoid:!0,name:e=it(e),fromWireType:()=>{},toWireType:(t,e)=>{}})},v:()=>{B=!1,ve=0},P:(t,e)=>{t=ee.toValue(t),e=ee.toValue(e),t.set(e)},j:(t,e,r)=>{var[n,...o]=((t,e)=>{for(var r=new Array(t),n=0;n<t;++n)r[n]=oe(b[e+4*n>>2],`parameter ${n}`);return r})(t,e),i=n.toWireType.bind(n),a=o.map(t=>t.readValueFromPointer.bind(t));t--;var s,u={toValue:ee.toValue},c=a.map((t,e)=>{var r=`argFromPtr${e}`;return u[r]=t,`${r}(args${e?"+"+8*e:""})`});switch(r){case 0:s="toValue(handle)";break;case 2:s="new (toValue(handle))";break;case 3:s="";break;case 1:u.getStringOrSymbol=we,s="toValue(handle)[getStringOrSymbol(methodName)]"}s+=`(${c})`,n.isVoid||(u.toReturnWire=i,u.emval_returnValue=ye,s=`return emval_returnValue(toReturnWire, destructorsRef, ${s})`),s=`return function (handle, methodName, destructorsRef, args) {\n${s}\n}`;var f,l,p=new Function(Object.keys(u),s)(...Object.values(u)),d=`methodCaller<(${o.map(t=>t.name)}) => ${n.name}>`;return f=yt(d,p),l=me.length,me.push(f),l},e:te,T:t=>t?(t=we(t),ee.toHandle(globalThis[t])):ee.toHandle(globalThis),R:(t,e)=>(t=ee.toValue(t),e=ee.toValue(e),ee.toHandle(t[e])),Q:t=>{t>9&&(Qt[t+1]+=1)},i:(t,e,r,n,o)=>me[t](e,r,n,o),S:t=>ee.toHandle(we(t)),h:t=>{var e=ee.toValue(t);Y(e),te(t)},C:function(t,e){t=be(t);var r=new Date(1e3*t);w[e>>2]=r.getUTCSeconds(),w[e+4>>2]=r.getUTCMinutes(),w[e+8>>2]=r.getUTCHours(),w[e+12>>2]=r.getUTCDate(),w[e+16>>2]=r.getUTCMonth(),w[e+20>>2]=r.getUTCFullYear()-1900,w[e+24>>2]=r.getUTCDay();var n=Date.UTC(r.getUTCFullYear(),0,1,0,0,0,0),o=(r.getTime()-n)/864e5|0;w[e+28>>2]=o},w:(t,e)=>{if(_e[t]&&(clearTimeout(_e[t].id),delete _e[t]),!e)return 0;var r=setTimeout(()=>{delete _e[t],Ce(()=>Ht(t,performance.now()))},e);return _e[t]={id:r,timeout_ms:e},0},D:(t,e,r,n)=>{var o=(new Date).getFullYear(),i=new Date(o,0,1),a=new Date(o,6,1),s=i.getTimezoneOffset(),u=a.getTimezoneOffset(),c=Math.max(s,u);b[t>>2]=60*c,w[e>>2]=Number(s!=u);var f=t=>{var e=t>=0?"-":"+",r=Math.abs(t);return`UTC${e}${String(Math.floor(r/60)).padStart(2,"0")}${String(r%60).padStart(2,"0")}`},l=f(s),p=f(u);u<s?(ae(l,r,17),ae(p,n,17)):(ae(l,n,17),ae(p,r,17))},J:()=>Date.now(),y:t=>{var e=m.length,r=2147483648;if((t>>>=0)>r)return!1;for(var n=1;n<=4;n*=2){var o=e*(1+.2/n);o=Math.min(o,t+100663296);var i=Math.min(r,Se(Math.max(t,o),65536));if(ke(i))return!0}return!1},l:t=>52,G:(t,e,r,n)=>52,E:function(t,e,r,n){return e=be(e),70},F:(t,e,r,n)=>{for(var o=0,i=0;i<r;i++){var a=b[e>>2],s=b[e+4>>2];e+=8;for(var u=0;u<s;u++)je(t,m[a+u]);o+=s}return b[n>>2]=o,0},u:Pe};return Oe=await async function(){function t(t,e){return function(t){Bt=t.W,Nt=t.Y,Vt=t.Z,Ht=t._,Lt=t.$,Gt=t.aa,Jt=t.ba,Xt=t.U,Kt=t.X}(Oe=t.exports),E(),Oe}var r={a:Fe};if(e.instantiateWasm)return new Promise((n,o)=>{e.instantiateWasm(r,(e,r)=>{n(t(e))})});$??=F();var n=function(e){return t(e.instance)}(await W(l,$,r));return n}(),function(){function t(){e.calledRun=!0,k||(j=!0,Oe.V(),d?.(e),e.onRuntimeInitialized?.(),function(){if(e.postRun)for("function"==typeof e.postRun&&(e.postRun=[e.postRun]);e.postRun.length;)M(e.postRun.shift());I(U)}())}!function(){if(e.preRun)for("function"==typeof e.preRun&&(e.preRun=[e.preRun]);e.preRun.length;)z(e.preRun.shift());I(q)}(),e.setStatus?(e.setStatus("Running..."),setTimeout(()=>{setTimeout(()=>e.setStatus(""),1),t()},1)):t()}(),j?e:new Promise((t,e)=>{d=t,h=e})});"object"==typeof e&&"object"==typeof t?(t.exports=n,t.exports.default=n):"function"==typeof define&&define.amd&&define([],()=>n)},53546:(t,e,r)=>{t.exports=r(88390)},54252:(t,e,r)=>{"use strict";var n=r(48192),o=r(73024),i=r(66062),a=r(23741),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,s(t))}},54768:(t,e)=>{"use strict";e.f=Object.getOwnPropertySymbols},54939:(t,e,r)=>{"use strict";var n=r(96377),o=r(77017),i=r(94170),a=r(56158),s=r(3236),u=r(21653),c=r(95866),f=r(73024),l=r(59371),p=r(31298),d=r(32134),h=r(16142).f,v=r(63156).forEach,m=r(69705),y=r(746),g=y.set,w=y.getterFor;t.exports=function(t,e,r){var y,b=-1!==t.indexOf("Map"),_=-1!==t.indexOf("Weak"),x=b?"set":"add",T=o[t],P=T&&T.prototype,$={};if(m&&f(T)&&(_||P.forEach&&!a(function(){(new T).entries().next()}))){var C=(y=e(function(e,r){g(c(e,C),{type:t,collection:new T}),p(r)||u(r,e[x],{that:e,AS_ENTRIES:b})})).prototype,S=w(t);v(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(t){var e="add"===t||"set"===t;!(t in P)||_&&"clear"===t||s(C,t,function(r,n){var o=S(this).collection;if(!e&&_&&!l(r))return"get"===t&&void 0;var i=o[t](0===r?0:r,n);return e?this:i})}),_||h(C,"size",{configurable:!0,get:function(){return S(this).collection.size}})}else y=r.getConstructor(e,t,b,x),i.enable();return d(y,t,!1,!0),$[t]=y,n({global:!0,forced:!0},$),_||r.setStrong(y,t,b),y}},55116:t=>{"use strict";t.exports=function(t,e){return 1===e?function(e,r){return e[t](r)}:function(e,r,n){return e[t](r,n)}}},55206:(t,e,r)=>{"use strict";r(96377)({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:r(5515)})},56050:(t,e,r)=>{"use strict";r(10612),r(12167),r(8617),r(74483),r(97774)},56158:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},56615:(t,e,r)=>{"use strict";r(37080)("customMatcher")},56709:(t,e,r)=>{"use strict";var n=r(69705),o=r(16142),i=r(66231);t.exports=function(t,e,r){n?o.f(t,e,i(0,r)):t[e]=r}},57107:t=>{"use strict";t.exports=function(){return!1}},57439:(t,e,r)=>{"use strict";var n=r(94064);r(14614),t.exports=n},58032:(t,e,r)=>{"use strict";var n=r(12973),o=Error,i=n("".replace),a=String(new o("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,u=s.test(a);t.exports=function(t,e){if(u&&"string"==typeof t&&!o.prepareStackTrace)for(;e--;)t=i(t,s,"");return t}},58081:(t,e,r)=>{"use strict";r(85420)},58662:(t,e,r)=>{var n=r(85907)();t.exports=n;try{regeneratorRuntime=n}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},58763:(t,e,r)=>{"use strict";var n=r(39815),o=r(16767),i=n.Set,a=n.add;t.exports=function(t){var e=new i;return o(t,function(t){a(e,t)}),e}},59360:t=>{"use strict";t.exports={}},59371:(t,e,r)=>{"use strict";var n=r(73024);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},59741:(t,e,r)=>{"use strict";r(35077);var n=r(22593);t.exports=n("String","padStart")},59807:(t,e,r)=>{"use strict";var n=r(37080),o=r(7825);n("toPrimitive"),o()},60344:(t,e,r)=>{"use strict";var n=r(83619);t.exports=n},60524:(t,e,r)=>{"use strict";var n=r(48192),o=r(37080),i=r(32134);o("toStringTag"),i(n("Symbol"),"Symbol")},60677:(t,e,r)=>{"use strict";var n=r(66062),o=r(87383),i=Array.prototype;t.exports=function(t){var e=t.reverse;return t===i||n(i,t)&&e===i.reverse?o:e}},60705:t=>{"use strict";t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},61791:(t,e,r)=>{"use strict";var n=r(69705),o=r(56158);t.exports=n&&o(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},61813:(t,e,r)=>{"use strict";var n=r(12973),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},61965:(t,e,r)=>{"use strict";var n=r(77853),o=r(39815),i=r(26153),a=r(98138),s=r(16767),u=r(70428),c=o.Set,f=o.add,l=o.has;t.exports=function(t){var e=n(this),r=a(t),o=new c;return i(e)>r.size?u(r.getIterator(),function(t){l(e,t)&&f(o,t)}):s(e,function(t){r.includes(t)&&f(o,t)}),o}},62068:(t,e,r)=>{"use strict";r(37080)("metadataKey")},62167:(t,e,r)=>{"use strict";var n=r(14184);t.exports=n},62435:(t,e,r)=>{"use strict";var n=r(18302);t.exports=n},62726:(t,e,r)=>{"use strict";var n=r(69887);t.exports=n},62950:function(t,e){var r,n=(r="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,"undefined"!=typeof __filename&&(r=r||__filename),function(t){var e,n,o=void 0!==(t=t||{})?t:{};o.ready=new Promise(function(t,r){e=t,n=r});var i,a,s,u=Object.assign({},o),c=[],f="./this.program",l="object"==typeof window,p="function"==typeof importScripts,d="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,h="";if(d){var v=require("fs"),m=require("path");h=p?m.dirname(h)+"/":__dirname+"/",i=(t,e)=>(t=X(t)?new URL(t):m.normalize(t),v.readFileSync(t,e?void 0:"utf8")),s=t=>{var e=i(t,!0);return e.buffer||(e=new Uint8Array(e)),e},a=(t,e,r)=>{t=X(t)?new URL(t):m.normalize(t),v.readFile(t,function(t,n){t?r(t):e(n.buffer)})},process.argv.length>1&&(f=process.argv[1].replace(/\\/g,"/")),c=process.argv.slice(2),process.on("uncaughtException",function(t){if(!(t instanceof Y))throw t}),process.on("unhandledRejection",function(t){throw t}),o.inspect=function(){return"[Emscripten Module object]"}}else(l||p)&&(p?h=self.location.href:"undefined"!=typeof document&&document.currentScript&&(h=document.currentScript.src),r&&(h=r),h=0!==h.indexOf("blob:")?h.substr(0,h.replace(/[?#].*/,"").lastIndexOf("/")+1):"",i=t=>{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText},p&&(s=t=>{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),a=(t,e,r)=>{var n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="arraybuffer",n.onload=()=>{200==n.status||0==n.status&&n.response?e(n.response):r()},n.onerror=r,n.send(null)});var y,g=o.print||console.log.bind(console),w=o.printErr||console.warn.bind(console);Object.assign(o,u),u=null,o.arguments&&(c=o.arguments),o.thisProgram&&(f=o.thisProgram),o.quit&&o.quit,o.wasmBinary&&(y=o.wasmBinary);var b;o.noExitRuntime;"object"!=typeof WebAssembly&&G("no native wasm support detected");var _,x,T,P,$,C,S,k,A,j=!1,E="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function O(t,e,r){for(var n=e+r,o=e;t[o]&&!(o>=n);)++o;if(o-e>16&&t.buffer&&E)return E.decode(t.subarray(e,o));for(var i="";e<o;){var a=t[e++];if(128&a){var s=63&t[e++];if(192!=(224&a)){var u=63&t[e++];if((a=224==(240&a)?(15&a)<<12|s<<6|u:(7&a)<<18|s<<12|u<<6|63&t[e++])<65536)i+=String.fromCharCode(a);else{var c=a-65536;i+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else i+=String.fromCharCode((31&a)<<6|s)}else i+=String.fromCharCode(a)}return i}function F(t,e){return t?O(T,t,e):""}function R(t,e,r){return function(t,e,r,n){if(!(n>0))return 0;for(var o=r,i=r+n-1,a=0;a<t.length;++a){var s=t.charCodeAt(a);if(s>=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&t.charCodeAt(++a)),s<=127){if(r>=i)break;e[r++]=s}else if(s<=2047){if(r+1>=i)break;e[r++]=192|s>>6,e[r++]=128|63&s}else if(s<=65535){if(r+2>=i)break;e[r++]=224|s>>12,e[r++]=128|s>>6&63,e[r++]=128|63&s}else{if(r+3>=i)break;e[r++]=240|s>>18,e[r++]=128|s>>12&63,e[r++]=128|s>>6&63,e[r++]=128|63&s}}return e[r]=0,r-o}(t,T,e,r)}function W(t){_=t,o.HEAP8=x=new Int8Array(t),o.HEAP16=P=new Int16Array(t),o.HEAP32=C=new Int32Array(t),o.HEAPU8=T=new Uint8Array(t),o.HEAPU16=$=new Uint16Array(t),o.HEAPU32=S=new Uint32Array(t),o.HEAPF32=k=new Float32Array(t),o.HEAPF64=A=new Float64Array(t)}o.INITIAL_MEMORY;var D,I=[],U=[],M=[];function q(t){I.unshift(t)}function z(t){M.unshift(t)}var B,N,V=0,H=null,L=null;function G(t){o.onAbort&&o.onAbort(t),w(t="Aborted("+t+")"),j=!0,t+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(t);throw n(e),e}function J(t){return t.startsWith("data:application/octet-stream;base64,")}function X(t){return t.startsWith("file://")}function K(t){try{if(t==B&&y)return new Uint8Array(y);if(s)return s(t);throw"both async and sync fetching of the wasm failed"}catch(t){G(t)}}function Y(t){this.name="ExitStatus",this.message="Program terminated with exit("+t+")",this.status=t}function Z(t){for(;t.length>0;)t.shift()(o)}function Q(t){this.excPtr=t,this.ptr=t-24,this.set_type=function(t){S[this.ptr+4>>2]=t},this.get_type=function(){return S[this.ptr+4>>2]},this.set_destructor=function(t){S[this.ptr+8>>2]=t},this.get_destructor=function(){return S[this.ptr+8>>2]},this.set_refcount=function(t){C[this.ptr>>2]=t},this.set_caught=function(t){t=t?1:0,x[this.ptr+12|0]=t},this.get_caught=function(){return 0!=x[this.ptr+12|0]},this.set_rethrown=function(t){t=t?1:0,x[this.ptr+13|0]=t},this.get_rethrown=function(){return 0!=x[this.ptr+13|0]},this.init=function(t,e){this.set_adjusted_ptr(0),this.set_type(t),this.set_destructor(e),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){var t=C[this.ptr>>2];C[this.ptr>>2]=t+1},this.release_ref=function(){var t=C[this.ptr>>2];return C[this.ptr>>2]=t-1,1===t},this.set_adjusted_ptr=function(t){S[this.ptr+16>>2]=t},this.get_adjusted_ptr=function(){return S[this.ptr+16>>2]},this.get_exception_ptr=function(){if(Me(this.get_type()))return S[this.excPtr>>2];var t=this.get_adjusted_ptr();return 0!==t?t:this.excPtr}}J(B="openjpegwasm_decode.wasm")||(N=B,B=o.locateFile?o.locateFile(N,h):h+N);var tt={};function et(t){for(;t.length;){var e=t.pop();t.pop()(e)}}function rt(t){return this.fromWireType(C[t>>2])}var nt={},ot={},it={};function at(t){if(void 0===t)return"_unknown";var e=(t=t.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return e>=48&&e<=57?"_"+t:t}function st(t,e){return t=at(t),new Function("body","return function "+t+'() {\n "use strict"; return body.apply(this, arguments);\n};\n')(e)}function ut(t,e){var r=st(e,function(t){this.name=e,this.message=t;var r=new Error(t).stack;void 0!==r&&(this.stack=this.toString()+"\n"+r.replace(/^Error(:[^\n]*)?\n/,""))});return r.prototype=Object.create(t.prototype),r.prototype.constructor=r,r.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message},r}var ct=void 0;function ft(t){throw new ct(t)}function lt(t,e,r){function n(e){var n=r(e);n.length!==t.length&&ft("Mismatched type converter count");for(var o=0;o<t.length;++o)yt(t[o],n[o])}t.forEach(function(t){it[t]=e});var o=new Array(e.length),i=[],a=0;e.forEach((t,e)=>{ot.hasOwnProperty(t)?o[e]=ot[t]:(i.push(t),nt.hasOwnProperty(t)||(nt[t]=[]),nt[t].push(()=>{o[e]=ot[t],++a===i.length&&n(o)}))}),0===i.length&&n(o)}function pt(t){switch(t){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+t)}}var dt=void 0;function ht(t){for(var e="",r=t;T[r];)e+=dt[T[r++]];return e}var vt=void 0;function mt(t){throw new vt(t)}function yt(t,e,r={}){if(!("argPackAdvance"in e))throw new TypeError("registerType registeredInstance requires argPackAdvance");var n=e.name;if(t||mt('type "'+n+'" must have a positive integer typeid pointer'),ot.hasOwnProperty(t)){if(r.ignoreDuplicateRegistrations)return;mt("Cannot register type '"+n+"' twice")}if(ot[t]=e,delete it[t],nt.hasOwnProperty(t)){var o=nt[t];delete nt[t],o.forEach(t=>t())}}function gt(t){if(!(this instanceof qt))return!1;if(!(t instanceof qt))return!1;for(var e=this.$$.ptrType.registeredClass,r=this.$$.ptr,n=t.$$.ptrType.registeredClass,o=t.$$.ptr;e.baseClass;)r=e.upcast(r),e=e.baseClass;for(;n.baseClass;)o=n.upcast(o),n=n.baseClass;return e===n&&r===o}function wt(t){mt(t.$$.ptrType.registeredClass.name+" instance already deleted")}var bt=!1;function _t(t){}function xt(t){t.count.value-=1,0===t.count.value&&function(t){t.smartPtr?t.smartPtrType.rawDestructor(t.smartPtr):t.ptrType.registeredClass.rawDestructor(t.ptr)}(t)}function Tt(t,e,r){if(e===r)return t;if(void 0===r.baseClass)return null;var n=Tt(t,e,r.baseClass);return null===n?null:r.downcast(n)}var Pt={};function $t(){return Object.keys(Et).length}function Ct(){var t=[];for(var e in Et)Et.hasOwnProperty(e)&&t.push(Et[e]);return t}var St=[];function kt(){for(;St.length;){var t=St.pop();t.$$.deleteScheduled=!1,t.delete()}}var At=void 0;function jt(t){At=t,St.length&&At&&At(kt)}var Et={};function Ot(t,e){return e=function(t,e){for(void 0===e&&mt("ptr should not be undefined");t.baseClass;)e=t.upcast(e),t=t.baseClass;return e}(t,e),Et[e]}function Ft(t,e){return e.ptrType&&e.ptr||ft("makeClassHandle requires ptr and ptrType"),!!e.smartPtrType!=!!e.smartPtr&&ft("Both smartPtrType and smartPtr must be specified"),e.count={value:1},Wt(Object.create(t,{$$:{value:e}}))}function Rt(t){var e=this.getPointee(t);if(!e)return this.destructor(t),null;var r=Ot(this.registeredClass,e);if(void 0!==r){if(0===r.$$.count.value)return r.$$.ptr=e,r.$$.smartPtr=t,r.clone();var n=r.clone();return this.destructor(t),n}function o(){return this.isSmartPointer?Ft(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:e,smartPtrType:this,smartPtr:t}):Ft(this.registeredClass.instancePrototype,{ptrType:this,ptr:t})}var i,a=this.registeredClass.getActualType(e),s=Pt[a];if(!s)return o.call(this);i=this.isConst?s.constPointerType:s.pointerType;var u=Tt(e,this.registeredClass,i.registeredClass);return null===u?o.call(this):this.isSmartPointer?Ft(i.registeredClass.instancePrototype,{ptrType:i,ptr:u,smartPtrType:this,smartPtr:t}):Ft(i.registeredClass.instancePrototype,{ptrType:i,ptr:u})}function Wt(t){return"undefined"==typeof FinalizationRegistry?(Wt=t=>t,t):(bt=new FinalizationRegistry(t=>{xt(t.$$)}),Wt=t=>{var e=t.$$;if(e.smartPtr){var r={$$:e};bt.register(t,r,t)}return t},_t=t=>bt.unregister(t),Wt(t))}function Dt(){if(this.$$.ptr||wt(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var t,e=Wt(Object.create(Object.getPrototypeOf(this),{$$:{value:(t=this.$$,{count:t.count,deleteScheduled:t.deleteScheduled,preservePointerOnDelete:t.preservePointerOnDelete,ptr:t.ptr,ptrType:t.ptrType,smartPtr:t.smartPtr,smartPtrType:t.smartPtrType})}}));return e.$$.count.value+=1,e.$$.deleteScheduled=!1,e}function It(){this.$$.ptr||wt(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&mt("Object already scheduled for deletion"),_t(this),xt(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)}function Ut(){return!this.$$.ptr}function Mt(){return this.$$.ptr||wt(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&mt("Object already scheduled for deletion"),St.push(this),1===St.length&&At&&At(kt),this.$$.deleteScheduled=!0,this}function qt(){}function zt(t,e,r){if(void 0===t[e].overloadTable){var n=t[e];t[e]=function(){return t[e].overloadTable.hasOwnProperty(arguments.length)||mt("Function '"+r+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+t[e].overloadTable+")!"),t[e].overloadTable[arguments.length].apply(this,arguments)},t[e].overloadTable=[],t[e].overloadTable[n.argCount]=n}}function Bt(t,e,r,n,o,i,a,s){this.name=t,this.constructor=e,this.instancePrototype=r,this.rawDestructor=n,this.baseClass=o,this.getActualType=i,this.upcast=a,this.downcast=s,this.pureVirtualFunctions=[]}function Nt(t,e,r){for(;e!==r;)e.upcast||mt("Expected null or instance of "+r.name+", got an instance of "+e.name),t=e.upcast(t),e=e.baseClass;return t}function Vt(t,e){if(null===e)return this.isReference&&mt("null is not a valid "+this.name),0;e.$$||mt('Cannot pass "'+pe(e)+'" as a '+this.name),e.$$.ptr||mt("Cannot pass deleted object as a pointer of type "+this.name);var r=e.$$.ptrType.registeredClass;return Nt(e.$$.ptr,r,this.registeredClass)}function Ht(t,e){var r;if(null===e)return this.isReference&&mt("null is not a valid "+this.name),this.isSmartPointer?(r=this.rawConstructor(),null!==t&&t.push(this.rawDestructor,r),r):0;e.$$||mt('Cannot pass "'+pe(e)+'" as a '+this.name),e.$$.ptr||mt("Cannot pass deleted object as a pointer of type "+this.name),!this.isConst&&e.$$.ptrType.isConst&&mt("Cannot convert argument of type "+(e.$$.smartPtrType?e.$$.smartPtrType.name:e.$$.ptrType.name)+" to parameter type "+this.name);var n=e.$$.ptrType.registeredClass;if(r=Nt(e.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(void 0===e.$$.smartPtr&&mt("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:e.$$.smartPtrType===this?r=e.$$.smartPtr:mt("Cannot convert argument of type "+(e.$$.smartPtrType?e.$$.smartPtrType.name:e.$$.ptrType.name)+" to parameter type "+this.name);break;case 1:r=e.$$.smartPtr;break;case 2:if(e.$$.smartPtrType===this)r=e.$$.smartPtr;else{var o=e.clone();r=this.rawShare(r,le.toHandle(function(){o.delete()})),null!==t&&t.push(this.rawDestructor,r)}break;default:mt("Unsupporting sharing policy")}return r}function Lt(t,e){if(null===e)return this.isReference&&mt("null is not a valid "+this.name),0;e.$$||mt('Cannot pass "'+pe(e)+'" as a '+this.name),e.$$.ptr||mt("Cannot pass deleted object as a pointer of type "+this.name),e.$$.ptrType.isConst&&mt("Cannot convert argument of type "+e.$$.ptrType.name+" to parameter type "+this.name);var r=e.$$.ptrType.registeredClass;return Nt(e.$$.ptr,r,this.registeredClass)}function Gt(t){return this.rawGetPointee&&(t=this.rawGetPointee(t)),t}function Jt(t){this.rawDestructor&&this.rawDestructor(t)}function Xt(t){null!==t&&t.delete()}function Kt(t,e,r,n,o,i,a,s,u,c,f){this.name=t,this.registeredClass=e,this.isReference=r,this.isConst=n,this.isSmartPointer=o,this.pointeeType=i,this.sharingPolicy=a,this.rawGetPointee=s,this.rawConstructor=u,this.rawShare=c,this.rawDestructor=f,o||void 0!==e.baseClass?this.toWireType=Ht:n?(this.toWireType=Vt,this.destructorFunction=null):(this.toWireType=Lt,this.destructorFunction=null)}var Yt=[];function Zt(t){var e=Yt[t];return e||(t>=Yt.length&&(Yt.length=t+1),Yt[t]=e=D.get(t)),e}function Qt(t,e,r){return t.includes("j")?function(t,e,r){var n=o["dynCall_"+t];return r&&r.length?n.apply(null,[e].concat(r)):n.call(null,e)}(t,e,r):Zt(e).apply(null,r)}function te(t,e){var r,n,o,i=(t=ht(t)).includes("j")?(r=t,n=e,o=[],function(){return o.length=0,Object.assign(o,arguments),Qt(r,n,o)}):Zt(e);return"function"!=typeof i&&mt("unknown function pointer with signature "+t+": "+e),i}var ee=void 0;function re(t){var e=We(t),r=ht(e);return Re(e),r}function ne(t,e){var r=[],n={};throw e.forEach(function t(e){n[e]||ot[e]||(it[e]?it[e].forEach(t):(r.push(e),n[e]=!0))}),new ee(t+": "+r.map(re).join([", "]))}function oe(t,e){for(var r=[],n=0;n<t;n++)r.push(S[e+4*n>>2]);return r}function ie(t,e,r,n,o){var i=e.length;i<2&&mt("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var a=null!==e[1]&&null!==r,s=!1,u=1;u<e.length;++u)if(null!==e[u]&&void 0===e[u].destructorFunction){s=!0;break}var c="void"!==e[0].name,f="",l="";for(u=0;u<i-2;++u)f+=(0!==u?", ":"")+"arg"+u,l+=(0!==u?", ":"")+"arg"+u+"Wired";var p="return function "+at(t)+"("+f+") {\nif (arguments.length !== "+(i-2)+") {\nthrowBindingError('function "+t+" called with ' + arguments.length + ' arguments, expected "+(i-2)+" args!');\n}\n";s&&(p+="var destructors = [];\n");var d=s?"destructors":"null",h=["throwBindingError","invoker","fn","runDestructors","retType","classParam"],v=[mt,n,o,et,e[0],e[1]];for(a&&(p+="var thisWired = classParam.toWireType("+d+", this);\n"),u=0;u<i-2;++u)p+="var arg"+u+"Wired = argType"+u+".toWireType("+d+", arg"+u+"); // "+e[u+2].name+"\n",h.push("argType"+u),v.push(e[u+2]);if(a&&(l="thisWired"+(l.length>0?", ":"")+l),p+=(c?"var rv = ":"")+"invoker(fn"+(l.length>0?", ":"")+l+");\n",s)p+="runDestructors(destructors);\n";else for(u=a?1:2;u<e.length;++u){var m=1===u?"thisWired":"arg"+(u-2)+"Wired";null!==e[u].destructorFunction&&(p+=m+"_dtor("+m+"); // "+e[u].name+"\n",h.push(m+"_dtor"),v.push(e[u].destructorFunction))}return c&&(p+="var ret = retType.fromWireType(rv);\nreturn ret;\n"),p+="}\n",h.push(p),function(t,e){if(!(t instanceof Function))throw new TypeError("new_ called with constructor type "+typeof t+" which is not a function");var r=st(t.name||"unknownFunctionName",function(){});r.prototype=t.prototype;var n=new r,o=t.apply(n,e);return o instanceof Object?o:n}(Function,h).apply(null,v)}var ae=[],se=[{},{value:void 0},{value:null},{value:!0},{value:!1}];function ue(t){t>4&&0===--se[t].refcount&&(se[t]=void 0,ae.push(t))}function ce(){for(var t=0,e=5;e<se.length;++e)void 0!==se[e]&&++t;return t}function fe(){for(var t=5;t<se.length;++t)if(void 0!==se[t])return se[t];return null}var le={toValue:t=>(t||mt("Cannot use deleted val. handle = "+t),se[t].value),toHandle:t=>{switch(t){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:var e=ae.length?ae.pop():se.length;return se[e]={refcount:1,value:t},e}}};function pe(t){if(null===t)return"null";var e=typeof t;return"object"===e||"array"===e||"function"===e?t.toString():""+t}function de(t,e){switch(e){case 2:return function(t){return this.fromWireType(k[t>>2])};case 3:return function(t){return this.fromWireType(A[t>>3])};default:throw new TypeError("Unknown float type: "+t)}}function he(t,e,r){switch(e){case 0:return r?function(t){return x[t]}:function(t){return T[t]};case 1:return r?function(t){return P[t>>1]}:function(t){return $[t>>1]};case 2:return r?function(t){return C[t>>2]}:function(t){return S[t>>2]};default:throw new TypeError("Unknown integer type: "+t)}}var ve="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0;function me(t,e){for(var r=t,n=r>>1,o=n+e/2;!(n>=o)&&$[n];)++n;if((r=n<<1)-t>32&&ve)return ve.decode(T.subarray(t,r));for(var i="",a=0;!(a>=e/2);++a){var s=P[t+2*a>>1];if(0==s)break;i+=String.fromCharCode(s)}return i}function ye(t,e,r){if(void 0===r&&(r=2147483647),r<2)return 0;for(var n=e,o=(r-=2)<2*t.length?r/2:t.length,i=0;i<o;++i){var a=t.charCodeAt(i);P[e>>1]=a,e+=2}return P[e>>1]=0,e-n}function ge(t){return 2*t.length}function we(t,e){for(var r=0,n="";!(r>=e/4);){var o=C[t+4*r>>2];if(0==o)break;if(++r,o>=65536){var i=o-65536;n+=String.fromCharCode(55296|i>>10,56320|1023&i)}else n+=String.fromCharCode(o)}return n}function be(t,e,r){if(void 0===r&&(r=2147483647),r<4)return 0;for(var n=e,o=n+r-4,i=0;i<t.length;++i){var a=t.charCodeAt(i);if(a>=55296&&a<=57343&&(a=65536+((1023&a)<<10)|1023&t.charCodeAt(++i)),C[e>>2]=a,(e+=4)+4>o)break}return C[e>>2]=0,e-n}function _e(t){for(var e=0,r=0;r<t.length;++r){var n=t.charCodeAt(r);n>=55296&&n<=57343&&++r,e+=4}return e}var xe={};function Te(){return"object"==typeof globalThis?globalThis:Function("return this")()}function Pe(t,e){var r=ot[t];return void 0===r&&mt(e+" has unknown type "+re(t)),r}var $e={};function Ce(t){try{return b.grow(t-_.byteLength+65535>>>16),W(b.buffer),1}catch(t){}}var Se={};function ke(){if(!ke.strings){var t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:f||"./this.program"};for(var e in Se)void 0===Se[e]?delete t[e]:t[e]=Se[e];var r=[];for(var e in t)r.push(e+"="+t[e]);ke.strings=r}return ke.strings}var Ae=[null,[],[]];function je(t,e){var r=Ae[t];0===e||10===e?((1===t?g:w)(O(r,0)),r.length=0):r.push(e)}ct=o.InternalError=ut(Error,"InternalError"),function(){for(var t=new Array(256),e=0;e<256;++e)t[e]=String.fromCharCode(e);dt=t}(),vt=o.BindingError=ut(Error,"BindingError"),qt.prototype.isAliasOf=gt,qt.prototype.clone=Dt,qt.prototype.delete=It,qt.prototype.isDeleted=Ut,qt.prototype.deleteLater=Mt,o.getInheritedInstanceCount=$t,o.getLiveInheritedInstances=Ct,o.flushPendingDeletes=kt,o.setDelayFunction=jt,Kt.prototype.getPointee=Gt,Kt.prototype.destructor=Jt,Kt.prototype.argPackAdvance=8,Kt.prototype.readValueFromPointer=rt,Kt.prototype.deleteObject=Xt,Kt.prototype.fromWireType=Rt,ee=o.UnboundTypeError=ut(Error,"UnboundTypeError"),o.count_emval_handles=ce,o.get_first_emval=fe;var Ee,Oe={D:function(t,e,r){throw new Q(t).init(e,r),t},e:function(t){var e=tt[t];delete tt[t];var r=e.rawConstructor,n=e.rawDestructor,o=e.fields;lt([t],o.map(t=>t.getterReturnType).concat(o.map(t=>t.setterArgumentType)),t=>{var i={};return o.forEach((e,r)=>{var n=e.fieldName,a=t[r],s=e.getter,u=e.getterContext,c=t[r+o.length],f=e.setter,l=e.setterContext;i[n]={read:t=>a.fromWireType(s(u,t)),write:(t,e)=>{var r=[];f(l,t,c.toWireType(r,e)),et(r)}}}),[{name:e.name,fromWireType:function(t){var e={};for(var r in i)e[r]=i[r].read(t);return n(t),e},toWireType:function(t,e){for(var o in i)if(!(o in e))throw new TypeError('Missing field: "'+o+'"');var a=r();for(o in i)i[o].write(a,e[o]);return null!==t&&t.push(n,a),a},argPackAdvance:8,readValueFromPointer:rt,destructorFunction:n}]})},t:function(t,e,r,n,o){},B:function(t,e,r,n,o){var i=pt(r);yt(t,{name:e=ht(e),fromWireType:function(t){return!!t},toWireType:function(t,e){return e?n:o},argPackAdvance:8,readValueFromPointer:function(t){var n;if(1===r)n=x;else if(2===r)n=P;else{if(4!==r)throw new TypeError("Unknown boolean type size: "+e);n=C}return this.fromWireType(n[t>>i])},destructorFunction:null})},r:function(t,e,r,n,i,a,s,u,c,f,l,p,d){l=ht(l),a=te(i,a),u&&(u=te(s,u)),f&&(f=te(c,f)),d=te(p,d);var h=at(l);!function(t,e,r){o.hasOwnProperty(t)?((void 0===r||void 0!==o[t].overloadTable&&void 0!==o[t].overloadTable[r])&&mt("Cannot register public name '"+t+"' twice"),zt(o,t,t),o.hasOwnProperty(r)&&mt("Cannot register multiple overloads of a function with the same number of arguments ("+r+")!"),o[t].overloadTable[r]=e):(o[t]=e,void 0!==r&&(o[t].numArguments=r))}(h,function(){ne("Cannot construct "+l+" due to unbound types",[n])}),lt([t,e,r],n?[n]:[],function(e){var r,i;e=e[0],i=n?(r=e.registeredClass).instancePrototype:qt.prototype;var s=st(h,function(){if(Object.getPrototypeOf(this)!==c)throw new vt("Use 'new' to construct "+l);if(void 0===p.constructor_body)throw new vt(l+" has no accessible constructor");var t=p.constructor_body[arguments.length];if(void 0===t)throw new vt("Tried to invoke ctor of "+l+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(p.constructor_body).toString()+") parameters instead!");return t.apply(this,arguments)}),c=Object.create(i,{constructor:{value:s}});s.prototype=c;var p=new Bt(l,s,c,d,r,a,u,f),v=new Kt(l,p,!0,!1,!1),m=new Kt(l+"*",p,!1,!1,!1),y=new Kt(l+" const*",p,!1,!0,!1);return Pt[t]={pointerType:m,constPointerType:y},function(t,e,r){o.hasOwnProperty(t)||ft("Replacing nonexistant public symbol"),void 0!==o[t].overloadTable&&void 0!==r?o[t].overloadTable[r]=e:(o[t]=e,o[t].argCount=r)}(h,s),[v,m,y]})},q:function(t,e,r,n,o,i){var a;e>0||G(a);var s=oe(e,r);o=te(n,o),lt([],[t],function(t){var r="constructor "+(t=t[0]).name;if(void 0===t.registeredClass.constructor_body&&(t.registeredClass.constructor_body=[]),void 0!==t.registeredClass.constructor_body[e-1])throw new vt("Cannot register multiple constructors with identical number of parameters ("+(e-1)+") for class '"+t.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return t.registeredClass.constructor_body[e-1]=()=>{ne("Cannot construct "+t.name+" due to unbound types",s)},lt([],s,function(n){return n.splice(1,0,null),t.registeredClass.constructor_body[e-1]=ie(r,n,null,o,i),[]}),[]})},b:function(t,e,r,n,o,i,a,s){var u=oe(r,n);e=ht(e),i=te(o,i),lt([],[t],function(t){var n=(t=t[0]).name+"."+e;function o(){ne("Cannot call "+n+" due to unbound types",u)}e.startsWith("@@")&&(e=Symbol[e.substring(2)]),s&&t.registeredClass.pureVirtualFunctions.push(e);var c=t.registeredClass.instancePrototype,f=c[e];return void 0===f||void 0===f.overloadTable&&f.className!==t.name&&f.argCount===r-2?(o.argCount=r-2,o.className=t.name,c[e]=o):(zt(c,e,n),c[e].overloadTable[r-2]=o),lt([],u,function(o){var s=ie(n,o,t,i,a);return void 0===c[e].overloadTable?(s.argCount=r-2,c[e]=s):c[e].overloadTable[r-2]=s,[]}),[]})},A:function(t,e){yt(t,{name:e=ht(e),fromWireType:function(t){var e=le.toValue(t);return ue(t),e},toWireType:function(t,e){return le.toHandle(e)},argPackAdvance:8,readValueFromPointer:rt,destructorFunction:null})},l:function(t,e,r){var n=pt(r);yt(t,{name:e=ht(e),fromWireType:function(t){return t},toWireType:function(t,e){return e},argPackAdvance:8,readValueFromPointer:de(e,n),destructorFunction:null})},d:function(t,e,r,n,o){e=ht(e),-1===o&&(o=4294967295);var i=pt(r),a=t=>t;if(0===n){var s=32-8*r;a=t=>t<<s>>>s}var u=e.includes("unsigned");yt(t,{name:e,fromWireType:a,toWireType:u?function(t,e){return this.name,e>>>0}:function(t,e){return this.name,e},argPackAdvance:8,readValueFromPointer:he(e,i,0!==n),destructorFunction:null})},a:function(t,e,r){var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][e];function o(t){var e=S,r=e[t>>=2],o=e[t+1];return new n(_,o,r)}yt(t,{name:r=ht(r),fromWireType:o,argPackAdvance:8,readValueFromPointer:o},{ignoreDuplicateRegistrations:!0})},k:function(t,e){var r="std::string"===(e=ht(e));yt(t,{name:e,fromWireType:function(t){var e,n=S[t>>2],o=t+4;if(r)for(var i=o,a=0;a<=n;++a){var s=o+a;if(a==n||0==T[s]){var u=F(i,s-i);void 0===e?e=u:(e+=String.fromCharCode(0),e+=u),i=s+1}}else{var c=new Array(n);for(a=0;a<n;++a)c[a]=String.fromCharCode(T[o+a]);e=c.join("")}return Re(t),e},toWireType:function(t,e){var n;e instanceof ArrayBuffer&&(e=new Uint8Array(e));var o="string"==typeof e;o||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Int8Array||mt("Cannot pass non-string to std::string"),n=r&&o?function(t){for(var e=0,r=0;r<t.length;++r){var n=t.charCodeAt(r);n<=127?e++:n<=2047?e+=2:n>=55296&&n<=57343?(e+=4,++r):e+=3}return e}(e):e.length;var i=Fe(4+n+1),a=i+4;if(S[i>>2]=n,r&&o)R(e,a,n+1);else if(o)for(var s=0;s<n;++s){var u=e.charCodeAt(s);u>255&&(Re(a),mt("String has UTF-16 code units that do not fit in 8 bits")),T[a+s]=u}else for(s=0;s<n;++s)T[a+s]=e[s];return null!==t&&t.push(Re,i),i},argPackAdvance:8,readValueFromPointer:rt,destructorFunction:function(t){Re(t)}})},f:function(t,e,r){var n,o,i,a,s;r=ht(r),2===e?(n=me,o=ye,a=ge,i=()=>$,s=1):4===e&&(n=we,o=be,a=_e,i=()=>S,s=2),yt(t,{name:r,fromWireType:function(t){for(var r,o=S[t>>2],a=i(),u=t+4,c=0;c<=o;++c){var f=t+4+c*e;if(c==o||0==a[f>>s]){var l=n(u,f-u);void 0===r?r=l:(r+=String.fromCharCode(0),r+=l),u=f+e}}return Re(t),r},toWireType:function(t,n){"string"!=typeof n&&mt("Cannot pass non-string to C++ string type "+r);var i=a(n),u=Fe(4+i+e);return S[u>>2]=i>>s,o(n,u+4,i+e),null!==t&&t.push(Re,u),u},argPackAdvance:8,readValueFromPointer:rt,destructorFunction:function(t){Re(t)}})},g:function(t,e,r,n,o,i){tt[t]={name:ht(e),rawConstructor:te(r,n),rawDestructor:te(o,i),fields:[]}},c:function(t,e,r,n,o,i,a,s,u,c){tt[t].fields.push({fieldName:ht(e),getterReturnType:r,getter:te(n,o),getterContext:i,setterArgumentType:a,setter:te(s,u),setterContext:c})},C:function(t,e){yt(t,{isVoid:!0,name:e=ht(e),argPackAdvance:0,fromWireType:function(){},toWireType:function(t,e){}})},h:ue,o:function(t){return 0===t?le.toHandle(Te()):(t=void 0===(r=xe[e=t])?ht(e):r,le.toHandle(Te()[t]));var e,r},m:function(t){t>4&&(se[t].refcount+=1)},n:function(t,e,r,n){t=le.toValue(t);var i=$e[e];return i||(i=function(t){for(var e="",r=0;r<t;++r)e+=(0!==r?", ":"")+"arg"+r;var n="return function emval_allocator_"+t+"(constructor, argTypes, args) {\n var HEAPU32 = getMemory();\n";for(r=0;r<t;++r)n+="var argType"+r+" = requireRegisteredType(HEAPU32[((argTypes)>>2)], 'parameter "+r+"');\nvar arg"+r+" = argType"+r+".readValueFromPointer(args);\nargs += argType"+r+"['argPackAdvance'];\nargTypes += 4;\n";return n+="var obj = new constructor("+e+");\nreturn valueToHandle(obj);\n}\n",new Function("requireRegisteredType","Module","valueToHandle","getMemory",n)(Pe,o,le.toHandle,()=>S)}(e),$e[e]=i),i(t,r,n)},p:function(t,e){var r=(t=Pe(t,"_emval_take_value")).readValueFromPointer(e);return le.toHandle(r)},i:function(){G("")},v:function(){return 2147483648},z:function(t,e,r){T.copyWithin(t,e,e+r)},u:function(t){var e=T.length,r=2147483648;if((t>>>=0)>r)return!1;let n=(t,e)=>t+(e-t%e)%e;for(var o=1;o<=4;o*=2){var i=e*(1+.2/o);if(i=Math.min(i,t+100663296),Ce(Math.min(r,n(Math.max(t,i),65536))))return!0}return!1},w:function(t,e){var r=0;return ke().forEach(function(n,o){var i=e+r;S[t+4*o>>2]=i,function(t,e,r){for(var n=0;n<t.length;++n)x[0|e++]=t.charCodeAt(n);r||(x[0|e]=0)}(n,i),r+=n.length+1}),0},x:function(t,e){var r=ke();S[t>>2]=r.length;var n=0;return r.forEach(function(t){n+=t.length+1}),S[e>>2]=n,0},y:function(t){return 52},s:function(t,e,r,n,o){return 70},j:function(t,e,r,n){for(var o=0,i=0;i<r;i++){var a=S[e>>2],s=S[e+4>>2];e+=8;for(var u=0;u<s;u++)je(t,T[a+u]);o+=s}return S[n>>2]=o,0}},Fe=(function(){var t={a:Oe};function e(t,e){var r,n=t.exports;o.asm=n,W((b=o.asm.E).buffer),D=o.asm.G,r=o.asm.F,U.unshift(r),function(){if(V--,o.monitorRunDependencies&&o.monitorRunDependencies(V),0==V&&(null!==H&&(clearInterval(H),H=null),L)){var t=L;L=null,t()}}()}function r(t){e(t.instance)}function i(e){return function(){if(!y&&(l||p)){if("function"==typeof fetch&&!X(B))return fetch(B,{credentials:"same-origin"}).then(function(t){if(!t.ok)throw"failed to load wasm binary file at '"+B+"'";return t.arrayBuffer()}).catch(function(){return K(B)});if(a)return new Promise(function(t,e){a(B,function(e){t(new Uint8Array(e))},e)})}return Promise.resolve().then(function(){return K(B)})}().then(function(e){return WebAssembly.instantiate(e,t)}).then(function(t){return t}).then(e,function(t){w("failed to asynchronously prepare wasm: "+t),G(t)})}if(V++,o.monitorRunDependencies&&o.monitorRunDependencies(V),o.instantiateWasm)try{return o.instantiateWasm(t,e)}catch(t){w("Module.instantiateWasm callback failed with error: "+t),n(t)}(y||"function"!=typeof WebAssembly.instantiateStreaming||J(B)||X(B)||d||"function"!=typeof fetch?i(r):fetch(B,{credentials:"same-origin"}).then(function(e){return WebAssembly.instantiateStreaming(e,t).then(r,function(t){return w("wasm streaming compile failed: "+t),w("falling back to ArrayBuffer instantiation"),i(r)})})).catch(n)}(),o.___wasm_call_ctors=function(){return(o.___wasm_call_ctors=o.asm.F).apply(null,arguments)},o._malloc=function(){return(Fe=o._malloc=o.asm.H).apply(null,arguments)}),Re=o._free=function(){return(Re=o._free=o.asm.I).apply(null,arguments)},We=o.___getTypeName=function(){return(We=o.___getTypeName=o.asm.J).apply(null,arguments)},De=(o.__embind_initialize_bindings=function(){return(o.__embind_initialize_bindings=o.asm.K).apply(null,arguments)},o.stackSave=function(){return(De=o.stackSave=o.asm.L).apply(null,arguments)}),Ie=o.stackRestore=function(){return(Ie=o.stackRestore=o.asm.M).apply(null,arguments)},Ue=o.stackAlloc=function(){return(Ue=o.stackAlloc=o.asm.N).apply(null,arguments)},Me=o.___cxa_is_pointer_type=function(){return(Me=o.___cxa_is_pointer_type=o.asm.O).apply(null,arguments)};function qe(t){function r(){Ee||(Ee=!0,o.calledRun=!0,j||(Z(U),e(o),o.onRuntimeInitialized&&o.onRuntimeInitialized(),function(){if(o.postRun)for("function"==typeof o.postRun&&(o.postRun=[o.postRun]);o.postRun.length;)z(o.postRun.shift());Z(M)}()))}t=t||c,V>0||(function(){if(o.preRun)for("function"==typeof o.preRun&&(o.preRun=[o.preRun]);o.preRun.length;)q(o.preRun.shift());Z(I)}(),V>0||(o.setStatus?(o.setStatus("Running..."),setTimeout(function(){setTimeout(function(){o.setStatus("")},1),r()},1)):r()))}if(o.dynCall_iji=function(){return(o.dynCall_iji=o.asm.P).apply(null,arguments)},o.dynCall_jji=function(){return(o.dynCall_jji=o.asm.Q).apply(null,arguments)},o.dynCall_iiji=function(){return(o.dynCall_iiji=o.asm.R).apply(null,arguments)},o.dynCall_jiji=function(){return(o.dynCall_jiji=o.asm.S).apply(null,arguments)},o.ccall=function(t,e,r,n,i){var a={string:t=>{var e=0;if(null!=t&&0!==t){var r=1+(t.length<<2);R(t,e=Ue(r),r)}return e},array:t=>{var e=Ue(t.length);return function(t,e){x.set(t,e)}(t,e),e}},s=function(t){return o["_"+t]}(t),u=[],c=0;if(n)for(var f=0;f<n.length;f++){var l=a[r[f]];l?(0===c&&(c=De()),u[f]=l(n[f])):u[f]=n[f]}var p=s.apply(null,u);return p=function(t){return 0!==c&&Ie(c),function(t){return"string"===e?F(t):"boolean"===e?Boolean(t):t}(t)}(p)},L=function t(){Ee||qe(),Ee||(L=t)},o.preInit)for("function"==typeof o.preInit&&(o.preInit=[o.preInit]);o.preInit.length>0;)o.preInit.pop()();return qe(),t.ready});"object"==typeof e&&"object"==typeof t?t.exports=n:"function"==typeof define&&define.amd?define([],function(){return n}):"object"==typeof e&&(e.OpenJPEGWASM=n)},63156:(t,e,r)=>{"use strict";var n=r(32209),o=r(12973),i=r(99980),a=r(78248),s=r(2241),u=r(33418),c=o([].push),f=function(t){var e=1===t,r=2===t,o=3===t,f=4===t,l=6===t,p=7===t,d=5===t||l;return function(h,v,m,y){for(var g,w,b=a(h),_=i(b),x=s(_),T=n(v,m),P=0,$=y||u,C=e?$(h,x):r||p?$(h,0):void 0;x>P;P++)if((d||P in _)&&(w=T(g=_[P],P,b),t))if(e)C[P]=w;else if(w)switch(t){case 3:return!0;case 5:return g;case 6:return P;case 2:c(C,g)}else switch(t){case 4:return!1;case 7:c(C,g)}return l?-1:o||f?f:C}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},63315:(t,e,r)=>{"use strict";var n=r(96377),o=r(56158),i=r(61965);n({target:"Set",proto:!0,real:!0,forced:!r(57107)("intersection",function(t){return 2===t.size&&t.has(1)&&t.has(2)})||o(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))})},{intersection:i})},63461:(t,e,r)=>{"use strict";var n=r(96377),o=r(49127),i=r(56158);n({target:"Set",proto:!0,real:!0,forced:!r(57107)("difference",function(t){return 0===t.size})||i(function(){var t={size:1,has:function(){return!0},keys:function(){var t=0;return{next:function(){var r=t++>1;return e.has(1)&&e.clear(),{done:r,value:2}}}}},e=new Set([1,2,3,4]);return 3!==e.difference(t).size})},{difference:o})},63479:(t,e,r)=>{"use strict";r(37080)("isConcatSpreadable")},63711:(t,e,r)=>{"use strict";var n=r(12973),o=r(26406),i=r(9128),a=r(64902).indexOf,s=r(59360),u=n([].push);t.exports=function(t,e){var r,n=i(t),c=0,f=[];for(r in n)!o(s,r)&&o(n,r)&&u(f,r);for(;e.length>c;)o(n,r=e[c++])&&(~a(f,r)||u(f,r));return f}},63863:(t,e,r)=>{t.exports=r(70134)},64001:function(t,e,r){t.exports=r.p+"5004fdc02f329ce53b69.wasm"},64157:(t,e,r)=>{"use strict";var n=r(96377),o=r(28011),i=r(6862),a=r(59371),s=r(72927),u=r(2241),c=r(9128),f=r(56709),l=r(96830),p=r(25806),d=r(89125),h=p("slice"),v=l("species"),m=Array,y=Math.max;n({target:"Array",proto:!0,forced:!h},{slice:function(t,e){var r,n,l,p=c(this),h=u(p),g=s(t,h),w=s(void 0===e?h:e,h);if(o(p)&&(r=p.constructor,(i(r)&&(r===m||o(r.prototype))||a(r)&&null===(r=r[v]))&&(r=void 0),r===m||void 0===r))return d(p,g,w);for(n=new(void 0===r?m:r)(y(w-g,0)),l=0;g<w;g++,l++)g in p&&f(n,l,p[g]);return n.length=l,n}})},64184:(t,e,r)=>{"use strict";var n=r(47914);t.exports="NODE"===n},64259:(t,e,r)=>{"use strict";var n=r(48974);t.exports=n},64638:t=>{"use strict";var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},64902:(t,e,r)=>{"use strict";var n=r(9128),o=r(72927),i=r(2241),a=function(t){return function(e,r,a){var s=n(e),u=i(s);if(0===u)return!t&&-1;var c,f=o(a,u);if(t&&r!=r){for(;u>f;)if((c=s[f++])!=c)return!0}else for(;u>f;f++)if((t||f in s)&&s[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},65020:t=>{"use strict";t.exports={}},65765:(t,e,r)=>{"use strict";r(92839),r(51188),r(89392),r(14386),r(596),r(23711)},65878:function(t,e){var r,n=(r="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,"undefined"!=typeof __filename&&(r=r||__filename),function(t){var e,n,o=void 0!==(t=t||{})?t:{};o.ready=new Promise(function(t,r){e=t,n=r});var i,a,s,u=Object.assign({},o),c=[],f="object"==typeof window,l="function"==typeof importScripts,p="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,d="";if(p){var h=require("fs"),v=require("path");d=l?v.dirname(d)+"/":__dirname+"/",i=(t,e)=>(t=L(t)?new URL(t):v.normalize(t),h.readFileSync(t,e?void 0:"utf8")),s=t=>{var e=i(t,!0);return e.buffer||(e=new Uint8Array(e)),e},a=(t,e,r)=>{t=L(t)?new URL(t):v.normalize(t),h.readFile(t,function(t,n){t?r(t):e(n.buffer)})},process.argv.length>1&&process.argv[1].replace(/\\/g,"/"),c=process.argv.slice(2),process.on("uncaughtException",function(t){if(!(t instanceof J))throw t}),process.on("unhandledRejection",function(t){throw t}),o.inspect=function(){return"[Emscripten Module object]"}}else(f||l)&&(l?d=self.location.href:"undefined"!=typeof document&&document.currentScript&&(d=document.currentScript.src),r&&(d=r),d=0!==d.indexOf("blob:")?d.substr(0,d.replace(/[?#].*/,"").lastIndexOf("/")+1):"",i=t=>{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText},l&&(s=t=>{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),a=(t,e,r)=>{var n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="arraybuffer",n.onload=()=>{200==n.status||0==n.status&&n.response?e(n.response):r()},n.onerror=r,n.send(null)});o.print||console.log.bind(console);var m,y=o.printErr||console.warn.bind(console);Object.assign(o,u),u=null,o.arguments&&(c=o.arguments),o.thisProgram&&o.thisProgram,o.quit&&o.quit,o.wasmBinary&&(m=o.wasmBinary);var g;o.noExitRuntime;"object"!=typeof WebAssembly&&V("no native wasm support detected");var w,b,_,x,T,P,$,C,S,k=!1,A="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function j(t,e){return t?function(t,e,r){for(var n=e+r,o=e;t[o]&&!(o>=n);)++o;if(o-e>16&&t.buffer&&A)return A.decode(t.subarray(e,o));for(var i="";e<o;){var a=t[e++];if(128&a){var s=63&t[e++];if(192!=(224&a)){var u=63&t[e++];if((a=224==(240&a)?(15&a)<<12|s<<6|u:(7&a)<<18|s<<12|u<<6|63&t[e++])<65536)i+=String.fromCharCode(a);else{var c=a-65536;i+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else i+=String.fromCharCode((31&a)<<6|s)}else i+=String.fromCharCode(a)}return i}(_,t,e):""}function E(t,e,r){return function(t,e,r,n){if(!(n>0))return 0;for(var o=r,i=r+n-1,a=0;a<t.length;++a){var s=t.charCodeAt(a);if(s>=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&t.charCodeAt(++a)),s<=127){if(r>=i)break;e[r++]=s}else if(s<=2047){if(r+1>=i)break;e[r++]=192|s>>6,e[r++]=128|63&s}else if(s<=65535){if(r+2>=i)break;e[r++]=224|s>>12,e[r++]=128|s>>6&63,e[r++]=128|63&s}else{if(r+3>=i)break;e[r++]=240|s>>18,e[r++]=128|s>>12&63,e[r++]=128|s>>6&63,e[r++]=128|63&s}}return e[r]=0,r-o}(t,_,e,r)}function O(t){w=t,o.HEAP8=b=new Int8Array(t),o.HEAP16=x=new Int16Array(t),o.HEAP32=P=new Int32Array(t),o.HEAPU8=_=new Uint8Array(t),o.HEAPU16=T=new Uint16Array(t),o.HEAPU32=$=new Uint32Array(t),o.HEAPF32=C=new Float32Array(t),o.HEAPF64=S=new Float64Array(t)}o.INITIAL_MEMORY;var F,R=[],W=[],D=[];function I(t){R.unshift(t)}function U(t){D.unshift(t)}var M,q,z=0,B=null,N=null;function V(t){o.onAbort&&o.onAbort(t),y(t="Aborted("+t+")"),k=!0,t+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(t);throw n(e),e}function H(t){return t.startsWith("data:application/octet-stream;base64,")}function L(t){return t.startsWith("file://")}function G(t){try{if(t==M&&m)return new Uint8Array(m);if(s)return s(t);throw"both async and sync fetching of the wasm failed"}catch(t){V(t)}}function J(t){this.name="ExitStatus",this.message="Program terminated with exit("+t+")",this.status=t}function X(t){for(;t.length>0;)t.shift()(o)}function K(t){this.excPtr=t,this.ptr=t-24,this.set_type=function(t){$[this.ptr+4>>2]=t},this.get_type=function(){return $[this.ptr+4>>2]},this.set_destructor=function(t){$[this.ptr+8>>2]=t},this.get_destructor=function(){return $[this.ptr+8>>2]},this.set_refcount=function(t){P[this.ptr>>2]=t},this.set_caught=function(t){t=t?1:0,b[this.ptr+12|0]=t},this.get_caught=function(){return 0!=b[this.ptr+12|0]},this.set_rethrown=function(t){t=t?1:0,b[this.ptr+13|0]=t},this.get_rethrown=function(){return 0!=b[this.ptr+13|0]},this.init=function(t,e){this.set_adjusted_ptr(0),this.set_type(t),this.set_destructor(e),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){var t=P[this.ptr>>2];P[this.ptr>>2]=t+1},this.release_ref=function(){var t=P[this.ptr>>2];return P[this.ptr>>2]=t-1,1===t},this.set_adjusted_ptr=function(t){$[this.ptr+16>>2]=t},this.get_adjusted_ptr=function(){return $[this.ptr+16>>2]},this.get_exception_ptr=function(){if(Re(this.get_type()))return $[this.excPtr>>2];var t=this.get_adjusted_ptr();return 0!==t?t:this.excPtr}}H(M="charlswasm_decode.wasm")||(q=M,M=o.locateFile?o.locateFile(q,d):d+q);var Y={};function Z(t){for(;t.length;){var e=t.pop();t.pop()(e)}}function Q(t){return this.fromWireType(P[t>>2])}var tt={},et={},rt={};function nt(t){if(void 0===t)return"_unknown";var e=(t=t.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return e>=48&&e<=57?"_"+t:t}function ot(t,e){return t=nt(t),new Function("body","return function "+t+'() {\n "use strict"; return body.apply(this, arguments);\n};\n')(e)}function it(t,e){var r=ot(e,function(t){this.name=e,this.message=t;var r=new Error(t).stack;void 0!==r&&(this.stack=this.toString()+"\n"+r.replace(/^Error(:[^\n]*)?\n/,""))});return r.prototype=Object.create(t.prototype),r.prototype.constructor=r,r.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message},r}var at=void 0;function st(t){throw new at(t)}function ut(t,e,r){function n(e){var n=r(e);n.length!==t.length&&st("Mismatched type converter count");for(var o=0;o<t.length;++o)ht(t[o],n[o])}t.forEach(function(t){rt[t]=e});var o=new Array(e.length),i=[],a=0;e.forEach((t,e)=>{et.hasOwnProperty(t)?o[e]=et[t]:(i.push(t),tt.hasOwnProperty(t)||(tt[t]=[]),tt[t].push(()=>{o[e]=et[t],++a===i.length&&n(o)}))}),0===i.length&&n(o)}function ct(t){switch(t){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+t)}}var ft=void 0;function lt(t){for(var e="",r=t;_[r];)e+=ft[_[r++]];return e}var pt=void 0;function dt(t){throw new pt(t)}function ht(t,e,r={}){if(!("argPackAdvance"in e))throw new TypeError("registerType registeredInstance requires argPackAdvance");var n=e.name;if(t||dt('type "'+n+'" must have a positive integer typeid pointer'),et.hasOwnProperty(t)){if(r.ignoreDuplicateRegistrations)return;dt("Cannot register type '"+n+"' twice")}if(et[t]=e,delete rt[t],tt.hasOwnProperty(t)){var o=tt[t];delete tt[t],o.forEach(t=>t())}}function vt(t){if(!(this instanceof It))return!1;if(!(t instanceof It))return!1;for(var e=this.$$.ptrType.registeredClass,r=this.$$.ptr,n=t.$$.ptrType.registeredClass,o=t.$$.ptr;e.baseClass;)r=e.upcast(r),e=e.baseClass;for(;n.baseClass;)o=n.upcast(o),n=n.baseClass;return e===n&&r===o}function mt(t){dt(t.$$.ptrType.registeredClass.name+" instance already deleted")}var yt=!1;function gt(t){}function wt(t){t.count.value-=1,0===t.count.value&&function(t){t.smartPtr?t.smartPtrType.rawDestructor(t.smartPtr):t.ptrType.registeredClass.rawDestructor(t.ptr)}(t)}function bt(t,e,r){if(e===r)return t;if(void 0===r.baseClass)return null;var n=bt(t,e,r.baseClass);return null===n?null:r.downcast(n)}var _t={};function xt(){return Object.keys(kt).length}function Tt(){var t=[];for(var e in kt)kt.hasOwnProperty(e)&&t.push(kt[e]);return t}var Pt=[];function $t(){for(;Pt.length;){var t=Pt.pop();t.$$.deleteScheduled=!1,t.delete()}}var Ct=void 0;function St(t){Ct=t,Pt.length&&Ct&&Ct($t)}var kt={};function At(t,e){return e=function(t,e){for(void 0===e&&dt("ptr should not be undefined");t.baseClass;)e=t.upcast(e),t=t.baseClass;return e}(t,e),kt[e]}function jt(t,e){return e.ptrType&&e.ptr||st("makeClassHandle requires ptr and ptrType"),!!e.smartPtrType!=!!e.smartPtr&&st("Both smartPtrType and smartPtr must be specified"),e.count={value:1},Ot(Object.create(t,{$$:{value:e}}))}function Et(t){var e=this.getPointee(t);if(!e)return this.destructor(t),null;var r=At(this.registeredClass,e);if(void 0!==r){if(0===r.$$.count.value)return r.$$.ptr=e,r.$$.smartPtr=t,r.clone();var n=r.clone();return this.destructor(t),n}function o(){return this.isSmartPointer?jt(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:e,smartPtrType:this,smartPtr:t}):jt(this.registeredClass.instancePrototype,{ptrType:this,ptr:t})}var i,a=this.registeredClass.getActualType(e),s=_t[a];if(!s)return o.call(this);i=this.isConst?s.constPointerType:s.pointerType;var u=bt(e,this.registeredClass,i.registeredClass);return null===u?o.call(this):this.isSmartPointer?jt(i.registeredClass.instancePrototype,{ptrType:i,ptr:u,smartPtrType:this,smartPtr:t}):jt(i.registeredClass.instancePrototype,{ptrType:i,ptr:u})}function Ot(t){return"undefined"==typeof FinalizationRegistry?(Ot=t=>t,t):(yt=new FinalizationRegistry(t=>{wt(t.$$)}),Ot=t=>{var e=t.$$;if(e.smartPtr){var r={$$:e};yt.register(t,r,t)}return t},gt=t=>yt.unregister(t),Ot(t))}function Ft(){if(this.$$.ptr||mt(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var t,e=Ot(Object.create(Object.getPrototypeOf(this),{$$:{value:(t=this.$$,{count:t.count,deleteScheduled:t.deleteScheduled,preservePointerOnDelete:t.preservePointerOnDelete,ptr:t.ptr,ptrType:t.ptrType,smartPtr:t.smartPtr,smartPtrType:t.smartPtrType})}}));return e.$$.count.value+=1,e.$$.deleteScheduled=!1,e}function Rt(){this.$$.ptr||mt(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&dt("Object already scheduled for deletion"),gt(this),wt(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)}function Wt(){return!this.$$.ptr}function Dt(){return this.$$.ptr||mt(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&dt("Object already scheduled for deletion"),Pt.push(this),1===Pt.length&&Ct&&Ct($t),this.$$.deleteScheduled=!0,this}function It(){}function Ut(t,e,r){if(void 0===t[e].overloadTable){var n=t[e];t[e]=function(){return t[e].overloadTable.hasOwnProperty(arguments.length)||dt("Function '"+r+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+t[e].overloadTable+")!"),t[e].overloadTable[arguments.length].apply(this,arguments)},t[e].overloadTable=[],t[e].overloadTable[n.argCount]=n}}function Mt(t,e,r){o.hasOwnProperty(t)?((void 0===r||void 0!==o[t].overloadTable&&void 0!==o[t].overloadTable[r])&&dt("Cannot register public name '"+t+"' twice"),Ut(o,t,t),o.hasOwnProperty(r)&&dt("Cannot register multiple overloads of a function with the same number of arguments ("+r+")!"),o[t].overloadTable[r]=e):(o[t]=e,void 0!==r&&(o[t].numArguments=r))}function qt(t,e,r,n,o,i,a,s){this.name=t,this.constructor=e,this.instancePrototype=r,this.rawDestructor=n,this.baseClass=o,this.getActualType=i,this.upcast=a,this.downcast=s,this.pureVirtualFunctions=[]}function zt(t,e,r){for(;e!==r;)e.upcast||dt("Expected null or instance of "+r.name+", got an instance of "+e.name),t=e.upcast(t),e=e.baseClass;return t}function Bt(t,e){if(null===e)return this.isReference&&dt("null is not a valid "+this.name),0;e.$$||dt('Cannot pass "'+le(e)+'" as a '+this.name),e.$$.ptr||dt("Cannot pass deleted object as a pointer of type "+this.name);var r=e.$$.ptrType.registeredClass;return zt(e.$$.ptr,r,this.registeredClass)}function Nt(t,e){var r;if(null===e)return this.isReference&&dt("null is not a valid "+this.name),this.isSmartPointer?(r=this.rawConstructor(),null!==t&&t.push(this.rawDestructor,r),r):0;e.$$||dt('Cannot pass "'+le(e)+'" as a '+this.name),e.$$.ptr||dt("Cannot pass deleted object as a pointer of type "+this.name),!this.isConst&&e.$$.ptrType.isConst&&dt("Cannot convert argument of type "+(e.$$.smartPtrType?e.$$.smartPtrType.name:e.$$.ptrType.name)+" to parameter type "+this.name);var n=e.$$.ptrType.registeredClass;if(r=zt(e.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(void 0===e.$$.smartPtr&&dt("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:e.$$.smartPtrType===this?r=e.$$.smartPtr:dt("Cannot convert argument of type "+(e.$$.smartPtrType?e.$$.smartPtrType.name:e.$$.ptrType.name)+" to parameter type "+this.name);break;case 1:r=e.$$.smartPtr;break;case 2:if(e.$$.smartPtrType===this)r=e.$$.smartPtr;else{var o=e.clone();r=this.rawShare(r,fe.toHandle(function(){o.delete()})),null!==t&&t.push(this.rawDestructor,r)}break;default:dt("Unsupporting sharing policy")}return r}function Vt(t,e){if(null===e)return this.isReference&&dt("null is not a valid "+this.name),0;e.$$||dt('Cannot pass "'+le(e)+'" as a '+this.name),e.$$.ptr||dt("Cannot pass deleted object as a pointer of type "+this.name),e.$$.ptrType.isConst&&dt("Cannot convert argument of type "+e.$$.ptrType.name+" to parameter type "+this.name);var r=e.$$.ptrType.registeredClass;return zt(e.$$.ptr,r,this.registeredClass)}function Ht(t){return this.rawGetPointee&&(t=this.rawGetPointee(t)),t}function Lt(t){this.rawDestructor&&this.rawDestructor(t)}function Gt(t){null!==t&&t.delete()}function Jt(t,e,r,n,o,i,a,s,u,c,f){this.name=t,this.registeredClass=e,this.isReference=r,this.isConst=n,this.isSmartPointer=o,this.pointeeType=i,this.sharingPolicy=a,this.rawGetPointee=s,this.rawConstructor=u,this.rawShare=c,this.rawDestructor=f,o||void 0!==e.baseClass?this.toWireType=Nt:n?(this.toWireType=Bt,this.destructorFunction=null):(this.toWireType=Vt,this.destructorFunction=null)}function Xt(t,e,r){o.hasOwnProperty(t)||st("Replacing nonexistant public symbol"),void 0!==o[t].overloadTable&&void 0!==r?o[t].overloadTable[r]=e:(o[t]=e,o[t].argCount=r)}var Kt=[];function Yt(t){var e=Kt[t];return e||(t>=Kt.length&&(Kt.length=t+1),Kt[t]=e=F.get(t)),e}function Zt(t,e,r){return t.includes("j")?function(t,e,r){var n=o["dynCall_"+t];return r&&r.length?n.apply(null,[e].concat(r)):n.call(null,e)}(t,e,r):Yt(e).apply(null,r)}function Qt(t,e){var r,n,o,i=(t=lt(t)).includes("j")?(r=t,n=e,o=[],function(){return o.length=0,Object.assign(o,arguments),Zt(r,n,o)}):Yt(e);return"function"!=typeof i&&dt("unknown function pointer with signature "+t+": "+e),i}var te=void 0;function ee(t){var e=Ae(t),r=lt(e);return je(e),r}function re(t,e){var r=[],n={};throw e.forEach(function t(e){n[e]||et[e]||(rt[e]?rt[e].forEach(t):(r.push(e),n[e]=!0))}),new te(t+": "+r.map(ee).join([", "]))}function ne(t,e){for(var r=[],n=0;n<t;n++)r.push($[e+4*n>>2]);return r}function oe(t,e,r,n,o){var i=e.length;i<2&&dt("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var a=null!==e[1]&&null!==r,s=!1,u=1;u<e.length;++u)if(null!==e[u]&&void 0===e[u].destructorFunction){s=!0;break}var c="void"!==e[0].name,f="",l="";for(u=0;u<i-2;++u)f+=(0!==u?", ":"")+"arg"+u,l+=(0!==u?", ":"")+"arg"+u+"Wired";var p="return function "+nt(t)+"("+f+") {\nif (arguments.length !== "+(i-2)+") {\nthrowBindingError('function "+t+" called with ' + arguments.length + ' arguments, expected "+(i-2)+" args!');\n}\n";s&&(p+="var destructors = [];\n");var d=s?"destructors":"null",h=["throwBindingError","invoker","fn","runDestructors","retType","classParam"],v=[dt,n,o,Z,e[0],e[1]];for(a&&(p+="var thisWired = classParam.toWireType("+d+", this);\n"),u=0;u<i-2;++u)p+="var arg"+u+"Wired = argType"+u+".toWireType("+d+", arg"+u+"); // "+e[u+2].name+"\n",h.push("argType"+u),v.push(e[u+2]);if(a&&(l="thisWired"+(l.length>0?", ":"")+l),p+=(c?"var rv = ":"")+"invoker(fn"+(l.length>0?", ":"")+l+");\n",s)p+="runDestructors(destructors);\n";else for(u=a?1:2;u<e.length;++u){var m=1===u?"thisWired":"arg"+(u-2)+"Wired";null!==e[u].destructorFunction&&(p+=m+"_dtor("+m+"); // "+e[u].name+"\n",h.push(m+"_dtor"),v.push(e[u].destructorFunction))}return c&&(p+="var ret = retType.fromWireType(rv);\nreturn ret;\n"),p+="}\n",h.push(p),function(t,e){if(!(t instanceof Function))throw new TypeError("new_ called with constructor type "+typeof t+" which is not a function");var r=ot(t.name||"unknownFunctionName",function(){});r.prototype=t.prototype;var n=new r,o=t.apply(n,e);return o instanceof Object?o:n}(Function,h).apply(null,v)}var ie=[],ae=[{},{value:void 0},{value:null},{value:!0},{value:!1}];function se(t){t>4&&0===--ae[t].refcount&&(ae[t]=void 0,ie.push(t))}function ue(){for(var t=0,e=5;e<ae.length;++e)void 0!==ae[e]&&++t;return t}function ce(){for(var t=5;t<ae.length;++t)if(void 0!==ae[t])return ae[t];return null}var fe={toValue:t=>(t||dt("Cannot use deleted val. handle = "+t),ae[t].value),toHandle:t=>{switch(t){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:var e=ie.length?ie.pop():ae.length;return ae[e]={refcount:1,value:t},e}}};function le(t){if(null===t)return"null";var e=typeof t;return"object"===e||"array"===e||"function"===e?t.toString():""+t}function pe(t,e){switch(e){case 2:return function(t){return this.fromWireType(C[t>>2])};case 3:return function(t){return this.fromWireType(S[t>>3])};default:throw new TypeError("Unknown float type: "+t)}}function de(t,e,r){switch(e){case 0:return r?function(t){return b[t]}:function(t){return _[t]};case 1:return r?function(t){return x[t>>1]}:function(t){return T[t>>1]};case 2:return r?function(t){return P[t>>2]}:function(t){return $[t>>2]};default:throw new TypeError("Unknown integer type: "+t)}}var he="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0;function ve(t,e){for(var r=t,n=r>>1,o=n+e/2;!(n>=o)&&T[n];)++n;if((r=n<<1)-t>32&&he)return he.decode(_.subarray(t,r));for(var i="",a=0;!(a>=e/2);++a){var s=x[t+2*a>>1];if(0==s)break;i+=String.fromCharCode(s)}return i}function me(t,e,r){if(void 0===r&&(r=2147483647),r<2)return 0;for(var n=e,o=(r-=2)<2*t.length?r/2:t.length,i=0;i<o;++i){var a=t.charCodeAt(i);x[e>>1]=a,e+=2}return x[e>>1]=0,e-n}function ye(t){return 2*t.length}function ge(t,e){for(var r=0,n="";!(r>=e/4);){var o=P[t+4*r>>2];if(0==o)break;if(++r,o>=65536){var i=o-65536;n+=String.fromCharCode(55296|i>>10,56320|1023&i)}else n+=String.fromCharCode(o)}return n}function we(t,e,r){if(void 0===r&&(r=2147483647),r<4)return 0;for(var n=e,o=n+r-4,i=0;i<t.length;++i){var a=t.charCodeAt(i);if(a>=55296&&a<=57343&&(a=65536+((1023&a)<<10)|1023&t.charCodeAt(++i)),P[e>>2]=a,(e+=4)+4>o)break}return P[e>>2]=0,e-n}function be(t){for(var e=0,r=0;r<t.length;++r){var n=t.charCodeAt(r);n>=55296&&n<=57343&&++r,e+=4}return e}var _e={};function xe(){return"object"==typeof globalThis?globalThis:Function("return this")()}function Te(t,e){var r=et[t];return void 0===r&&dt(e+" has unknown type "+ee(t)),r}var Pe={};function $e(t){try{return g.grow(t-w.byteLength+65535>>>16),O(g.buffer),1}catch(t){}}at=o.InternalError=it(Error,"InternalError"),function(){for(var t=new Array(256),e=0;e<256;++e)t[e]=String.fromCharCode(e);ft=t}(),pt=o.BindingError=it(Error,"BindingError"),It.prototype.isAliasOf=vt,It.prototype.clone=Ft,It.prototype.delete=Rt,It.prototype.isDeleted=Wt,It.prototype.deleteLater=Dt,o.getInheritedInstanceCount=xt,o.getLiveInheritedInstances=Tt,o.flushPendingDeletes=$t,o.setDelayFunction=St,Jt.prototype.getPointee=Ht,Jt.prototype.destructor=Lt,Jt.prototype.argPackAdvance=8,Jt.prototype.readValueFromPointer=Q,Jt.prototype.deleteObject=Gt,Jt.prototype.fromWireType=Et,te=o.UnboundTypeError=it(Error,"UnboundTypeError"),o.count_emval_handles=ue,o.get_first_emval=ce;var Ce,Se={h:function(t,e,r){throw new K(t).init(e,r),t},q:function(t){var e=Y[t];delete Y[t];var r=e.rawConstructor,n=e.rawDestructor,o=e.fields;ut([t],o.map(t=>t.getterReturnType).concat(o.map(t=>t.setterArgumentType)),t=>{var i={};return o.forEach((e,r)=>{var n=e.fieldName,a=t[r],s=e.getter,u=e.getterContext,c=t[r+o.length],f=e.setter,l=e.setterContext;i[n]={read:t=>a.fromWireType(s(u,t)),write:(t,e)=>{var r=[];f(l,t,c.toWireType(r,e)),Z(r)}}}),[{name:e.name,fromWireType:function(t){var e={};for(var r in i)e[r]=i[r].read(t);return n(t),e},toWireType:function(t,e){for(var o in i)if(!(o in e))throw new TypeError('Missing field: "'+o+'"');var a=r();for(o in i)i[o].write(a,e[o]);return null!==t&&t.push(n,a),a},argPackAdvance:8,readValueFromPointer:Q,destructorFunction:n}]})},r:function(t,e,r,n,o){},w:function(t,e,r,n,o){var i=ct(r);ht(t,{name:e=lt(e),fromWireType:function(t){return!!t},toWireType:function(t,e){return e?n:o},argPackAdvance:8,readValueFromPointer:function(t){var n;if(1===r)n=b;else if(2===r)n=x;else{if(4!==r)throw new TypeError("Unknown boolean type size: "+e);n=P}return this.fromWireType(n[t>>i])},destructorFunction:null})},p:function(t,e,r,n,o,i,a,s,u,c,f,l,p){f=lt(f),i=Qt(o,i),s&&(s=Qt(a,s)),c&&(c=Qt(u,c)),p=Qt(l,p);var d=nt(f);Mt(d,function(){re("Cannot construct "+f+" due to unbound types",[n])}),ut([t,e,r],n?[n]:[],function(e){var r,o;e=e[0],o=n?(r=e.registeredClass).instancePrototype:It.prototype;var a=ot(d,function(){if(Object.getPrototypeOf(this)!==u)throw new pt("Use 'new' to construct "+f);if(void 0===l.constructor_body)throw new pt(f+" has no accessible constructor");var t=l.constructor_body[arguments.length];if(void 0===t)throw new pt("Tried to invoke ctor of "+f+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(l.constructor_body).toString()+") parameters instead!");return t.apply(this,arguments)}),u=Object.create(o,{constructor:{value:a}});a.prototype=u;var l=new qt(f,a,u,p,r,i,s,c),h=new Jt(f,l,!0,!1,!1),v=new Jt(f+"*",l,!1,!1,!1),m=new Jt(f+" const*",l,!1,!0,!1);return _t[t]={pointerType:v,constPointerType:m},Xt(d,a),[h,v,m]})},o:function(t,e,r,n,o,i){var a;e>0||V(a);var s=ne(e,r);o=Qt(n,o),ut([],[t],function(t){var r="constructor "+(t=t[0]).name;if(void 0===t.registeredClass.constructor_body&&(t.registeredClass.constructor_body=[]),void 0!==t.registeredClass.constructor_body[e-1])throw new pt("Cannot register multiple constructors with identical number of parameters ("+(e-1)+") for class '"+t.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return t.registeredClass.constructor_body[e-1]=()=>{re("Cannot construct "+t.name+" due to unbound types",s)},ut([],s,function(n){return n.splice(1,0,null),t.registeredClass.constructor_body[e-1]=oe(r,n,null,o,i),[]}),[]})},c:function(t,e,r,n,o,i,a,s){var u=ne(r,n);e=lt(e),i=Qt(o,i),ut([],[t],function(t){var n=(t=t[0]).name+"."+e;function o(){re("Cannot call "+n+" due to unbound types",u)}e.startsWith("@@")&&(e=Symbol[e.substring(2)]),s&&t.registeredClass.pureVirtualFunctions.push(e);var c=t.registeredClass.instancePrototype,f=c[e];return void 0===f||void 0===f.overloadTable&&f.className!==t.name&&f.argCount===r-2?(o.argCount=r-2,o.className=t.name,c[e]=o):(Ut(c,e,n),c[e].overloadTable[r-2]=o),ut([],u,function(o){var s=oe(n,o,t,i,a);return void 0===c[e].overloadTable?(s.argCount=r-2,c[e]=s):c[e].overloadTable[r-2]=s,[]}),[]})},v:function(t,e){ht(t,{name:e=lt(e),fromWireType:function(t){var e=fe.toValue(t);return se(t),e},toWireType:function(t,e){return fe.toHandle(e)},argPackAdvance:8,readValueFromPointer:Q,destructorFunction:null})},k:function(t,e,r){var n=ct(r);ht(t,{name:e=lt(e),fromWireType:function(t){return t},toWireType:function(t,e){return e},argPackAdvance:8,readValueFromPointer:pe(e,n),destructorFunction:null})},e:function(t,e,r,n,o,i){var a=ne(e,r);t=lt(t),o=Qt(n,o),Mt(t,function(){re("Cannot call "+t+" due to unbound types",a)},e-1),ut([],a,function(r){var n=[r[0],null].concat(r.slice(1));return Xt(t,oe(t,n,null,o,i),e-1),[]})},b:function(t,e,r,n,o){e=lt(e),-1===o&&(o=4294967295);var i=ct(r),a=t=>t;if(0===n){var s=32-8*r;a=t=>t<<s>>>s}var u=e.includes("unsigned");ht(t,{name:e,fromWireType:a,toWireType:u?function(t,e){return this.name,e>>>0}:function(t,e){return this.name,e},argPackAdvance:8,readValueFromPointer:de(e,i,0!==n),destructorFunction:null})},a:function(t,e,r){var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][e];function o(t){var e=$,r=e[t>>=2],o=e[t+1];return new n(w,o,r)}ht(t,{name:r=lt(r),fromWireType:o,argPackAdvance:8,readValueFromPointer:o},{ignoreDuplicateRegistrations:!0})},j:function(t,e){var r="std::string"===(e=lt(e));ht(t,{name:e,fromWireType:function(t){var e,n=$[t>>2],o=t+4;if(r)for(var i=o,a=0;a<=n;++a){var s=o+a;if(a==n||0==_[s]){var u=j(i,s-i);void 0===e?e=u:(e+=String.fromCharCode(0),e+=u),i=s+1}}else{var c=new Array(n);for(a=0;a<n;++a)c[a]=String.fromCharCode(_[o+a]);e=c.join("")}return je(t),e},toWireType:function(t,e){var n;e instanceof ArrayBuffer&&(e=new Uint8Array(e));var o="string"==typeof e;o||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Int8Array||dt("Cannot pass non-string to std::string"),n=r&&o?function(t){for(var e=0,r=0;r<t.length;++r){var n=t.charCodeAt(r);n<=127?e++:n<=2047?e+=2:n>=55296&&n<=57343?(e+=4,++r):e+=3}return e}(e):e.length;var i=ke(4+n+1),a=i+4;if($[i>>2]=n,r&&o)E(e,a,n+1);else if(o)for(var s=0;s<n;++s){var u=e.charCodeAt(s);u>255&&(je(a),dt("String has UTF-16 code units that do not fit in 8 bits")),_[a+s]=u}else for(s=0;s<n;++s)_[a+s]=e[s];return null!==t&&t.push(je,i),i},argPackAdvance:8,readValueFromPointer:Q,destructorFunction:function(t){je(t)}})},g:function(t,e,r){var n,o,i,a,s;r=lt(r),2===e?(n=ve,o=me,a=ye,i=()=>T,s=1):4===e&&(n=ge,o=we,a=be,i=()=>$,s=2),ht(t,{name:r,fromWireType:function(t){for(var r,o=$[t>>2],a=i(),u=t+4,c=0;c<=o;++c){var f=t+4+c*e;if(c==o||0==a[f>>s]){var l=n(u,f-u);void 0===r?r=l:(r+=String.fromCharCode(0),r+=l),u=f+e}}return je(t),r},toWireType:function(t,n){"string"!=typeof n&&dt("Cannot pass non-string to C++ string type "+r);var i=a(n),u=ke(4+i+e);return $[u>>2]=i>>s,o(n,u+4,i+e),null!==t&&t.push(je,u),u},argPackAdvance:8,readValueFromPointer:Q,destructorFunction:function(t){je(t)}})},u:function(t,e,r,n,o,i){Y[t]={name:lt(e),rawConstructor:Qt(r,n),rawDestructor:Qt(o,i),fields:[]}},d:function(t,e,r,n,o,i,a,s,u,c){Y[t].fields.push({fieldName:lt(e),getterReturnType:r,getter:Qt(n,o),getterContext:i,setterArgumentType:a,setter:Qt(s,u),setterContext:c})},x:function(t,e){ht(t,{isVoid:!0,name:e=lt(e),argPackAdvance:0,fromWireType:function(){},toWireType:function(t,e){}})},i:se,m:function(t){return 0===t?fe.toHandle(xe()):(t=void 0===(r=_e[e=t])?lt(e):r,fe.toHandle(xe()[t]));var e,r},l:function(t){t>4&&(ae[t].refcount+=1)},y:function(t,e,r,n){t=fe.toValue(t);var i=Pe[e];return i||(i=function(t){for(var e="",r=0;r<t;++r)e+=(0!==r?", ":"")+"arg"+r;var n="return function emval_allocator_"+t+"(constructor, argTypes, args) {\n var HEAPU32 = getMemory();\n";for(r=0;r<t;++r)n+="var argType"+r+" = requireRegisteredType(HEAPU32[((argTypes)>>2)], 'parameter "+r+"');\nvar arg"+r+" = argType"+r+".readValueFromPointer(args);\nargs += argType"+r+"['argPackAdvance'];\nargTypes += 4;\n";return n+="var obj = new constructor("+e+");\nreturn valueToHandle(obj);\n}\n",new Function("requireRegisteredType","Module","valueToHandle","getMemory",n)(Te,o,fe.toHandle,()=>$)}(e),Pe[e]=i),i(t,r,n)},n:function(t,e){var r=(t=Te(t,"_emval_take_value")).readValueFromPointer(e);return fe.toHandle(r)},f:function(){V("")},t:function(t,e,r){_.copyWithin(t,e,e+r)},s:function(t){var e=_.length,r=2147483648;if((t>>>=0)>r)return!1;let n=(t,e)=>t+(e-t%e)%e;for(var o=1;o<=4;o*=2){var i=e*(1+.2/o);if(i=Math.min(i,t+100663296),$e(Math.min(r,n(Math.max(t,i),65536))))return!0}return!1}},ke=(function(){var t={a:Se};function e(t,e){var r,n=t.exports;o.asm=n,O((g=o.asm.z).buffer),F=o.asm.C,r=o.asm.A,W.unshift(r),function(){if(z--,o.monitorRunDependencies&&o.monitorRunDependencies(z),0==z&&(null!==B&&(clearInterval(B),B=null),N)){var t=N;N=null,t()}}()}function r(t){e(t.instance)}function i(e){return function(){if(!m&&(f||l)){if("function"==typeof fetch&&!L(M))return fetch(M,{credentials:"same-origin"}).then(function(t){if(!t.ok)throw"failed to load wasm binary file at '"+M+"'";return t.arrayBuffer()}).catch(function(){return G(M)});if(a)return new Promise(function(t,e){a(M,function(e){t(new Uint8Array(e))},e)})}return Promise.resolve().then(function(){return G(M)})}().then(function(e){return WebAssembly.instantiate(e,t)}).then(function(t){return t}).then(e,function(t){y("failed to asynchronously prepare wasm: "+t),V(t)})}if(z++,o.monitorRunDependencies&&o.monitorRunDependencies(z),o.instantiateWasm)try{return o.instantiateWasm(t,e)}catch(t){y("Module.instantiateWasm callback failed with error: "+t),n(t)}(m||"function"!=typeof WebAssembly.instantiateStreaming||H(M)||L(M)||p||"function"!=typeof fetch?i(r):fetch(M,{credentials:"same-origin"}).then(function(e){return WebAssembly.instantiateStreaming(e,t).then(r,function(t){return y("wasm streaming compile failed: "+t),y("falling back to ArrayBuffer instantiation"),i(r)})})).catch(n)}(),o.___wasm_call_ctors=function(){return(o.___wasm_call_ctors=o.asm.A).apply(null,arguments)},o._malloc=function(){return(ke=o._malloc=o.asm.B).apply(null,arguments)}),Ae=o.___getTypeName=function(){return(Ae=o.___getTypeName=o.asm.D).apply(null,arguments)},je=(o.__embind_initialize_bindings=function(){return(o.__embind_initialize_bindings=o.asm.E).apply(null,arguments)},o._free=function(){return(je=o._free=o.asm.F).apply(null,arguments)}),Ee=o.stackSave=function(){return(Ee=o.stackSave=o.asm.G).apply(null,arguments)},Oe=o.stackRestore=function(){return(Oe=o.stackRestore=o.asm.H).apply(null,arguments)},Fe=o.stackAlloc=function(){return(Fe=o.stackAlloc=o.asm.I).apply(null,arguments)},Re=o.___cxa_is_pointer_type=function(){return(Re=o.___cxa_is_pointer_type=o.asm.J).apply(null,arguments)};function We(t){function r(){Ce||(Ce=!0,o.calledRun=!0,k||(X(W),e(o),o.onRuntimeInitialized&&o.onRuntimeInitialized(),function(){if(o.postRun)for("function"==typeof o.postRun&&(o.postRun=[o.postRun]);o.postRun.length;)U(o.postRun.shift());X(D)}()))}t=t||c,z>0||(function(){if(o.preRun)for("function"==typeof o.preRun&&(o.preRun=[o.preRun]);o.preRun.length;)I(o.preRun.shift());X(R)}(),z>0||(o.setStatus?(o.setStatus("Running..."),setTimeout(function(){setTimeout(function(){o.setStatus("")},1),r()},1)):r()))}if(o.ccall=function(t,e,r,n,i){var a={string:t=>{var e=0;if(null!=t&&0!==t){var r=1+(t.length<<2);E(t,e=Fe(r),r)}return e},array:t=>{var e=Fe(t.length);return function(t,e){b.set(t,e)}(t,e),e}},s=function(t){return o["_"+t]}(t),u=[],c=0;if(n)for(var f=0;f<n.length;f++){var l=a[r[f]];l?(0===c&&(c=Ee()),u[f]=l(n[f])):u[f]=n[f]}var p=s.apply(null,u);return p=function(t){return 0!==c&&Oe(c),function(t){return"string"===e?j(t):"boolean"===e?Boolean(t):t}(t)}(p)},N=function t(){Ce||We(),Ce||(N=t)},o.preInit)for("function"==typeof o.preInit&&(o.preInit=[o.preInit]);o.preInit.length>0;)o.preInit.pop()();return We(),t.ready});"object"==typeof e&&"object"==typeof t?t.exports=n:"function"==typeof define&&define.amd?define([],function(){return n}):"object"==typeof e&&(e.CharLSWASM=n)},66062:(t,e,r)=>{"use strict";var n=r(12973);t.exports=n({}.isPrototypeOf)},66072:(t,e,r)=>{"use strict";var n=r(28011),o=r(6862),i=r(59371),a=r(96830)("species"),s=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(o(e)&&(e===s||n(e.prototype))||i(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?s:e}},66231:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},66597:(t,e,r)=>{t.exports=r(83914)},67095:(t,e,r)=>{"use strict";t.exports=r(26741)},67141:(t,e,r)=>{"use strict";var n=r(26406),o=r(33964),i=r(8028),a=r(16142);t.exports=function(t,e,r){for(var s=o(e),u=a.f,c=i.f,f=0;f<s.length;f++){var l=s[f];n(t,l)||r&&n(r,l)||u(t,l,c(e,l))}}},67382:t=>{"use strict";t.exports=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}},67404:(t,e,r)=>{"use strict";var n=r(69705),o=r(28011),i=TypeError,a=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(o(t)&&!a(t,"length").writable)throw new i("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},67458:(t,e,r)=>{"use strict";var n=r(69705),o=r(56158),i=r(78890);t.exports=!n&&!o(function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},67643:(t,e,r)=>{"use strict";r(96377)({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:r(5515)})},67864:(t,e,r)=>{"use strict";var n=r(96377),o=r(56158),i=r(78248),a=r(91174),s=r(3780);n({target:"Object",stat:!0,forced:o(function(){a(1)}),sham:!s},{getPrototypeOf:function(t){return a(i(t))}})},67917:(t,e,r)=>{"use strict";var n=r(96377),o=r(95804),i=r(15514),a=r(11243),s=r(73024),u=r(24139),c=r(91174),f=r(41522),l=r(32134),p=r(3236),d=r(29481),h=r(96830),v=r(76744),m=r(10894),y=a.PROPER,g=a.CONFIGURABLE,w=m.IteratorPrototype,b=m.BUGGY_SAFARI_ITERATORS,_=h("iterator"),x="keys",T="values",P="entries",$=function(){return this};t.exports=function(t,e,r,a,h,m,C){u(r,e,a);var S,k,A,j=function(t){if(t===h&&W)return W;if(!b&&t&&t in F)return F[t];switch(t){case x:case T:case P:return function(){return new r(this,t)}}return function(){return new r(this)}},E=e+" Iterator",O=!1,F=t.prototype,R=F[_]||F["@@iterator"]||h&&F[h],W=!b&&R||j(h),D="Array"===e&&F.entries||R;if(D&&(S=c(D.call(new t)))!==Object.prototype&&S.next&&(i||c(S)===w||(f?f(S,w):s(S[_])||d(S,_,$)),l(S,E,!0,!0),i&&(v[E]=$)),y&&h===T&&R&&R.name!==T&&(!i&&g?p(F,"name",T):(O=!0,W=function(){return o(R,this)})),h)if(k={values:j(T),keys:m?W:j(x),entries:j(P)},C)for(A in k)(b||O||!(A in F))&&d(F,A,k[A]);else n({target:e,proto:!0,forced:b||O},k);return i&&!C||F[_]===W||d(F,_,W,{name:h}),v[e]=W,k}},68992:(t,e,r)=>{"use strict";var n=r(96377),o=r(69705),i=r(16142).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},69705:(t,e,r)=>{"use strict";var n=r(56158);t.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},69887:(t,e,r)=>{"use strict";var n=r(88908);t.exports=n},70112:(t,e,r)=>{var n=r(33893);function o(e,r,i,a){var s=n;try{s({},"",{})}catch(e){s=0}t.exports=o=function(t,e,r,n){function i(e,r){o(t,e,function(t){return this._invoke(e,r,t)})}e?s?s(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n}):t[e]=r:(i("next",0),i("throw",1),i("return",2))},t.exports.__esModule=!0,t.exports.default=t.exports,o(e,r,i,a)}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports},70134:(t,e,r)=>{"use strict";var n=r(96479);t.exports=n},70206:(t,e,r)=>{"use strict";var n=r(48192);t.exports=n("document","documentElement")},70416:(t,e,r)=>{"use strict";var n=r(48192),o=r(94681),i=r(96830),a=r(69705),s=i("species");t.exports=function(t){var e=n(t);a&&e&&!e[s]&&o(e,s,{configurable:!0,get:function(){return this}})}},70428:(t,e,r)=>{"use strict";var n=r(95804);t.exports=function(t,e,r){for(var o,i,a=r?t:t.iterator,s=t.next;!(o=n(s,a)).done;)if(void 0!==(i=e(o.value)))return i}},70867:(t,e,r)=>{"use strict";var n=r(35416);t.exports=n},71169:(t,e,r)=>{"use strict";var n=r(12973),o=r(73024),i=r(84394),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},71424:(t,e,r)=>{"use strict";r(34776);var n=r(22593);t.exports=n("String","endsWith")},72066:()=>{},72117:(t,e,r)=>{"use strict";var n=r(84658);t.exports=n},72157:(t,e,r)=>{"use strict";var n=r(56158),o=r(73024),i=/#|\.prototype\./,a=function(t,e){var r=u[s(t)];return r===f||r!==c&&(o(e)?n(e):!!e)},s=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},u=a.data={},c=a.NATIVE="N",f=a.POLYFILL="P";t.exports=a},72554:(t,e,r)=>{"use strict";var n=r(73496);t.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(n)},72927:(t,e,r)=>{"use strict";var n=r(45124),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},73024:t=>{"use strict";var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},73250:(t,e,r)=>{"use strict";var n=r(12973),o=r(52647),i=r(82998),a=r(15816),s=r(20825),u=n(a),c=n("".slice),f=Math.ceil,l=function(t){return function(e,r,n){var a,l,p=i(s(e)),d=o(r),h=p.length,v=void 0===n?" ":i(n);return d<=h||""===v?p:((l=u(v,f((a=d-h)/v.length))).length>a&&(l=c(l,0,a)),t?p+l:l+p)}};t.exports={start:l(!1),end:l(!0)}},73309:(t,e,r)=>{"use strict";var n=r(77853),o=r(26153),i=r(16767),a=r(98138);t.exports=function(t){var e=n(this),r=a(t);return!(o(e)>r.size)&&!1!==i(e,function(t){if(!r.includes(t))return!1},!0)}},73496:(t,e,r)=>{"use strict";var n=r(77017).navigator,o=n&&n.userAgent;t.exports=o?String(o):""},73698:t=>{"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},74089:(t,e,r)=>{"use strict";var n=r(56158);t.exports=n(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})},74150:(t,e,r)=>{t.exports=r(31439)},74483:(t,e,r)=>{"use strict";var n=r(96377),o=r(48192),i=r(77882),a=r(95804),s=r(12973),u=r(56158),c=r(73024),f=r(54252),l=r(89125),p=r(91306),d=r(1140),h=String,v=o("JSON","stringify"),m=s(/./.exec),y=s("".charAt),g=s("".charCodeAt),w=s("".replace),b=s(1.1.toString),_=/[\uD800-\uDFFF]/g,x=/^[\uD800-\uDBFF]$/,T=/^[\uDC00-\uDFFF]$/,P=!d||u(function(){var t=o("Symbol")("stringify detection");return"[null]"!==v([t])||"{}"!==v({a:t})||"{}"!==v(Object(t))}),$=u(function(){return'"\\udf06\\ud834"'!==v("\udf06\ud834")||'"\\udead"'!==v("\udead")}),C=function(t,e){var r=l(arguments),n=p(e);if(c(n)||void 0!==t&&!f(t))return r[1]=function(t,e){if(c(n)&&(e=a(n,this,h(t),e)),!f(e))return e},i(v,null,r)},S=function(t,e,r){var n=y(r,e-1),o=y(r,e+1);return m(x,t)&&!m(T,o)||m(T,t)&&!m(x,n)?"\\u"+b(g(t,0),16):t};v&&n({target:"JSON",stat:!0,arity:3,forced:P||$},{stringify:function(t,e,r){var n=l(arguments),o=i(P?C:v,null,n);return $&&"string"==typeof o?w(o,_,S):o}})},75101:(t,e,r)=>{"use strict";var n=r(59371),o=r(3236);t.exports=function(t,e){n(e)&&"cause"in e&&o(t,"cause",e.cause)}},75617:(t,e,r)=>{"use strict";t.exports=r(88019)},75959:(t,e,r)=>{"use strict";r(96377)({target:"Object",stat:!0,sham:!r(69705)},{create:r(50429)})},76327:(t,e,r)=>{"use strict";r(37080)("unscopables")},76741:(t,e,r)=>{"use strict";var n=r(59371),o=r(61813),i=r(96830)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[i])?!!e:"RegExp"===o(t))}},76744:t=>{"use strict";t.exports={}},77017:function(t,e,r){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},77701:(t,e,r)=>{"use strict";var n=r(73496);t.exports=/web0s(?!.*chrome)/i.test(n)},77745:(t,e,r)=>{var n=r(75617),o=r(43936),i=r(25698),a=r(70112);t.exports=function t(e,r){function s(t,n,o,a){try{var u=e[t](n),c=u.value;return c instanceof i?r.resolve(c.v).then(function(t){s("next",t,o,a)},function(t){s("throw",t,o,a)}):r.resolve(c).then(function(t){u.value=t,o(u)},function(t){return s("throw",t,o,a)})}catch(t){a(t)}}var u;this.next||(a(t.prototype),a(t.prototype,"function"==typeof n&&o||"@asyncIterator",function(){return this})),a(this,"_invoke",function(t,e,n){function o(){return new r(function(e,r){s(t,n,e,r)})}return u=u?u.then(o,o):o()},!0)},t.exports.__esModule=!0,t.exports.default=t.exports},77853:(t,e,r)=>{"use strict";var n=r(38818),o=TypeError;t.exports=function(t){if("object"==typeof t&&"size"in t&&"has"in t&&"add"in t&&"delete"in t&&"keys"in t)return t;throw new o(n(t)+" is not a set")}},77882:(t,e,r)=>{"use strict";var n=r(29587),o=Function.prototype,i=o.apply,a=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},78248:(t,e,r)=>{"use strict";var n=r(20825),o=Object;t.exports=function(t){return o(n(t))}},78837:(t,e,r)=>{"use strict";var n=r(6862),o=r(38818),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a constructor")}},78890:(t,e,r)=>{"use strict";var n=r(77017),o=r(59371),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},79625:(t,e,r)=>{"use strict";var n=r(96377),o=r(95804),i=r(39789),a=r(48192),s=r(33752),u=r(50406),c=r(21653),f=r(87352),l="No one promise resolved";n({target:"Promise",stat:!0,forced:f},{any:function(t){var e=this,r=a("AggregateError"),n=s.f(e),f=n.resolve,p=n.reject,d=u(function(){var n=i(e.resolve),a=[],s=0,u=1,d=!1;c(t,function(t){var i=s++,c=!1;u++,o(n,e,t).then(function(t){c||d||(d=!0,f(t))},function(t){c||d||(c=!0,a[i]=t,--u||p(new r(a,l)))})}),--u||p(new r(a,l))});return d.error&&p(d.value),n.promise}})},79672:(t,e,r)=>{"use strict";r(37080)("replace")},79832:(t,e,r)=>{"use strict";var n=r(95804),o=r(9262),i=r(91981);t.exports=function(t,e,r){var a,s;o(t);try{if(!(a=i(t,"return"))){if("throw"===e)throw r;return r}a=n(a,t)}catch(t){s=!0,a=t}if("throw"===e)throw r;if(s)throw a;return o(a),r}},79924:(t,e,r)=>{"use strict";var n=r(59371);t.exports=function(t){return n(t)||null===t}},81349:(t,e,r)=>{"use strict";var n=r(77017),o=r(73024),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},81563:(t,e,r)=>{"use strict";var n=r(50429),o=r(94681),i=r(19724),a=r(32209),s=r(95866),u=r(31298),c=r(21653),f=r(67917),l=r(12004),p=r(70416),d=r(69705),h=r(94170).fastKey,v=r(746),m=v.set,y=v.getterFor;t.exports={getConstructor:function(t,e,r,f){var l=t(function(t,o){s(t,p),m(t,{type:e,index:n(null),first:null,last:null,size:0}),d||(t.size=0),u(o)||c(o,t[f],{that:t,AS_ENTRIES:r})}),p=l.prototype,v=y(e),g=function(t,e,r){var n,o,i=v(t),a=w(t,e);return a?a.value=r:(i.last=a={index:o=h(e,!0),key:e,value:r,previous:n=i.last,next:null,removed:!1},i.first||(i.first=a),n&&(n.next=a),d?i.size++:t.size++,"F"!==o&&(i.index[o]=a)),t},w=function(t,e){var r,n=v(t),o=h(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key===e)return r};return i(p,{clear:function(){for(var t=v(this),e=t.first;e;)e.removed=!0,e.previous&&(e.previous=e.previous.next=null),e=e.next;t.first=t.last=null,t.index=n(null),d?t.size=0:this.size=0},delete:function(t){var e=this,r=v(e),n=w(e,t);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first===n&&(r.first=o),r.last===n&&(r.last=i),d?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=v(this),n=a(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!w(this,t)}}),i(p,r?{get:function(t){var e=w(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),d&&o(p,"size",{configurable:!0,get:function(){return v(this).size}}),l},setStrong:function(t,e,r){var n=e+" Iterator",o=y(e),i=y(n);f(t,e,function(t,e){m(this,{type:n,target:t,state:o(t),kind:e,last:null})},function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?l("keys"===e?r.key:"values"===e?r.value:[r.key,r.value],!1):(t.target=null,l(void 0,!0))},r?"entries":"values",!r,!0),p(e)}}},82699:(t,e,r)=>{"use strict";t.exports=r(93345)},82893:(t,e,r)=>{"use strict";var n=r(97546);t.exports=n},82998:(t,e,r)=>{"use strict";var n=r(13698),o=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},83153:(t,e,r)=>{"use strict";var n=r(61813),o=r(9128),i=r(17025).f,a=r(89125),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"Window"===n(t)?function(t){try{return i(t)}catch(t){return a(s)}}(t):i(o(t))}},83202:(t,e,r)=>{"use strict";var n=r(96377),o=r(78248),i=r(2241),a=r(67404),s=r(87821),u=r(64638);n({target:"Array",proto:!0,arity:1,forced:1!==[].unshift(0)||!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(t){return t instanceof TypeError}}()},{unshift:function(t){var e=o(this),r=i(e),n=arguments.length;if(n){u(r+n);for(var c=r;c--;){var f=c+n;c in e?e[f]=e[c]:s(e,f)}for(var l=0;l<n;l++)e[l]=arguments[l]}return a(e,r+n)}})},83619:(t,e,r)=>{"use strict";r(84327),r(59807);var n=r(7822);t.exports=n.f("toPrimitive")},83914:(t,e,r)=>{"use strict";var n=r(9037);t.exports=n},84215:(t,e,r)=>{"use strict";r(37080)("matchAll")},84299:(t,e,r)=>{"use strict";var n=r(88390);r(45507),r(4890),t.exports=n},84327:()=>{},84394:(t,e,r)=>{"use strict";var n=r(15514),o=r(77017),i=r(26242),a="__core-js_shared__",s=t.exports=o[a]||i(a,{});(s.versions||(s.versions=[])).push({version:"3.44.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"})},84658:(t,e,r)=>{"use strict";var n=r(62167);t.exports=n},84801:(t,e,r)=>{"use strict";var n=r(77017),o=r(38769),i=r(73024),a=r(72157),s=r(71169),u=r(96830),c=r(47914),f=r(15514),l=r(41748),p=o&&o.prototype,d=u("species"),h=!1,v=i(n.PromiseRejectionEvent),m=a("Promise",function(){var t=s(o),e=t!==String(o);if(!e&&66===l)return!0;if(f&&(!p.catch||!p.finally))return!0;if(!l||l<51||!/native code/.test(t)){var r=new o(function(t){t(1)}),n=function(t){t(function(){},function(){})};if((r.constructor={})[d]=n,!(h=r.then(function(){})instanceof n))return!0}return!(e||"BROWSER"!==c&&"DENO"!==c||v)});t.exports={CONSTRUCTOR:m,REJECTION_EVENT:v,SUBCLASSING:h}},84906:(t,e,r)=>{"use strict";r(37080)("observable")},85420:(t,e,r)=>{"use strict";r(40626)},85907:(t,e,r)=>{var n=r(67095),o=r(47472),i=r(25698),a=r(23767),s=r(26419),u=r(49201),c=r(77745),f=r(17611),l=r(96441);function p(){"use strict";var e=a(),r=e.m(p),d=(n?n(r):r.__proto__).constructor;function h(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))}var v={throw:1,return:2,break:3,continue:3};function m(t){var e,r;return function(n){e||(e={stop:function(){return r(n.a,2)},catch:function(){return n.v},abrupt:function(t,e){return r(n.a,v[t],e)},delegateYield:function(t,o,i){return e.resultName=o,r(n.d,l(t),i)},finish:function(t){return r(n.f,t)}},r=function(t,r,o){n.p=e.prev,n.n=e.next;try{return t(r,o)}finally{e.next=n.n}}),e.resultName&&(e[e.resultName]=n.v,e.resultName=void 0),e.sent=n.v,e.next=n.n;try{return t.call(this,e)}finally{n.p=e.prev,n.n=e.next}}}return(t.exports=p=function(){return{wrap:function(t,r,n,i){return e.w(m(t),r,n,i&&o(i).call(i))},isGeneratorFunction:h,mark:e.m,awrap:function(t,e){return new i(t,e)},AsyncIterator:c,async:function(t,e,r,n,o){return(h(e)?u:s)(m(t),e,r,n,o)},keys:f,values:l}},t.exports.__esModule=!0,t.exports.default=t.exports)()}t.exports=p,t.exports.__esModule=!0,t.exports.default=t.exports},87173:(t,e,r)=>{"use strict";r(37080)("matcher")},87352:(t,e,r)=>{"use strict";var n=r(38769),o=r(11847),i=r(84801).CONSTRUCTOR;t.exports=i||!o(function(t){n.all(t).then(void 0,function(){})})},87383:(t,e,r)=>{"use strict";r(52937);var n=r(22593);t.exports=n("Array","reverse")},87821:(t,e,r)=>{"use strict";var n=r(38818),o=TypeError;t.exports=function(t,e){if(!delete t[e])throw new o("Cannot delete property "+n(e)+" of "+n(t))}},88019:(t,e,r)=>{"use strict";var n=r(5866);r(29741),r(67643),r(56615),r(84906),r(96688),r(55206),r(87173),r(62068),r(7849),r(27789),t.exports=n},88390:(t,e,r)=>{"use strict";var n=r(16449);r(14614),t.exports=n},88679:(t,e,r)=>{"use strict";var n=r(9262),o=r(59371),i=r(33752);t.exports=function(t,e){if(n(t),o(e)&&e.constructor===t)return e;var r=i.f(t);return(0,r.resolve)(e),r.promise}},88733:(t,e,r)=>{"use strict";var n=r(12973),o=0,i=Math.random(),a=n(1.1.toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},88908:(t,e,r)=>{"use strict";r(67864);var n=r(65020);t.exports=n.Object.getPrototypeOf},89125:(t,e,r)=>{"use strict";var n=r(12973);t.exports=n([].slice)},89169:(t,e,r)=>{t.exports=r(45556)},89392:(t,e,r)=>{"use strict";var n=r(96377),o=r(15514),i=r(84801).CONSTRUCTOR,a=r(38769),s=r(48192),u=r(73024),c=r(29481),f=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(t){return this.then(void 0,t)}}),!o&&u(a)){var l=s("Promise").prototype.catch;f.catch!==l&&c(f,"catch",l,{unsafe:!0})}},90753:t=>{"use strict";var e=TypeError;t.exports=function(t,r){if(t<r)throw new e("Not enough arguments");return t}},91174:(t,e,r)=>{"use strict";var n=r(26406),o=r(73024),i=r(78248),a=r(27932),s=r(3780),u=a("IE_PROTO"),c=Object,f=c.prototype;t.exports=s?c.getPrototypeOf:function(t){var e=i(t);if(n(e,u))return e[u];var r=e.constructor;return o(r)&&e instanceof r?r.prototype:e instanceof c?f:null}},91306:(t,e,r)=>{"use strict";var n=r(12973),o=r(28011),i=r(73024),a=r(61813),s=r(82998),u=n([].push);t.exports=function(t){if(i(t))return t;if(o(t)){for(var e=t.length,r=[],n=0;n<e;n++){var c=t[n];"string"==typeof c?u(r,c):"number"!=typeof c&&"Number"!==a(c)&&"String"!==a(c)||u(r,s(c))}var f=r.length,l=!0;return function(t,e){if(l)return l=!1,e;if(o(this))return e;for(var n=0;n<f;n++)if(r[n]===t)return e}}}},91625:(t,e,r)=>{"use strict";var n=r(21010);t.exports=n},91861:(t,e,r)=>{"use strict";var n=r(63711),o=r(17758);t.exports=Object.keys||function(t){return n(t,o)}},91918:(t,e,r)=>{"use strict";var n=r(84394);t.exports=function(t,e){return n[t]||(n[t]=e||{})}},91947:(t,e,r)=>{"use strict";var n=r(66062),o=r(22409),i=Array.prototype;t.exports=function(t){var e=t.concat;return t===i||n(i,t)&&e===i.concat?o:e}},91981:(t,e,r)=>{"use strict";var n=r(39789),o=r(31298);t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},92839:(t,e,r)=>{"use strict";var n,o,i,a,s=r(96377),u=r(15514),c=r(64184),f=r(77017),l=r(65020),p=r(95804),d=r(29481),h=r(41522),v=r(32134),m=r(70416),y=r(39789),g=r(73024),w=r(59371),b=r(95866),_=r(47680),x=r(15726).set,T=r(25570),P=r(67382),$=r(50406),C=r(93908),S=r(746),k=r(38769),A=r(84801),j=r(33752),E="Promise",O=A.CONSTRUCTOR,F=A.REJECTION_EVENT,R=A.SUBCLASSING,W=S.getterFor(E),D=S.set,I=k&&k.prototype,U=k,M=I,q=f.TypeError,z=f.document,B=f.process,N=j.f,V=N,H=!!(z&&z.createEvent&&f.dispatchEvent),L="unhandledrejection",G=function(t){var e;return!(!w(t)||!g(e=t.then))&&e},J=function(t,e){var r,n,o,i=e.value,a=1===e.state,s=a?t.ok:t.fail,u=t.resolve,c=t.reject,f=t.domain;try{s?(a||(2===e.rejection&&Q(e),e.rejection=1),!0===s?r=i:(f&&f.enter(),r=s(i),f&&(f.exit(),o=!0)),r===t.promise?c(new q("Promise-chain cycle")):(n=G(r))?p(n,r,u,c):u(r)):c(i)}catch(t){f&&!o&&f.exit(),c(t)}},X=function(t,e){t.notified||(t.notified=!0,T(function(){for(var r,n=t.reactions;r=n.get();)J(r,t);t.notified=!1,e&&!t.rejection&&Y(t)}))},K=function(t,e,r){var n,o;H?((n=z.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),f.dispatchEvent(n)):n={promise:e,reason:r},!F&&(o=f["on"+t])?o(n):t===L&&P("Unhandled promise rejection",r)},Y=function(t){p(x,f,function(){var e,r=t.facade,n=t.value;if(Z(t)&&(e=$(function(){c?B.emit("unhandledRejection",n,r):K(L,r,n)}),t.rejection=c||Z(t)?2:1,e.error))throw e.value})},Z=function(t){return 1!==t.rejection&&!t.parent},Q=function(t){p(x,f,function(){var e=t.facade;c?B.emit("rejectionHandled",e):K("rejectionhandled",e,t.value)})},tt=function(t,e,r){return function(n){t(e,n,r)}},et=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,X(t,!0))},rt=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw new q("Promise can't be resolved itself");var n=G(e);n?T(function(){var r={done:!1};try{p(n,e,tt(rt,r,t),tt(et,r,t))}catch(e){et(r,e,t)}}):(t.value=e,t.state=1,X(t,!1))}catch(e){et({done:!1},e,t)}}};if(O&&(M=(U=function(t){b(this,M),y(t),p(n,this);var e=W(this);try{t(tt(rt,e),tt(et,e))}catch(t){et(e,t)}}).prototype,(n=function(t){D(this,{type:E,done:!1,notified:!1,parent:!1,reactions:new C,rejection:!1,state:0,value:null})}).prototype=d(M,"then",function(t,e){var r=W(this),n=N(_(this,U));return r.parent=!0,n.ok=!g(t)||t,n.fail=g(e)&&e,n.domain=c?B.domain:void 0,0===r.state?r.reactions.add(n):T(function(){J(n,r)}),n.promise}),o=function(){var t=new n,e=W(t);this.promise=t,this.resolve=tt(rt,e),this.reject=tt(et,e)},j.f=N=function(t){return t===U||t===i?new o(t):V(t)},!u&&g(k)&&I!==Object.prototype)){a=I.then,R||d(I,"then",function(t,e){var r=this;return new U(function(t,e){p(a,r,t,e)}).then(t,e)},{unsafe:!0});try{delete I.constructor}catch(t){}h&&h(I,M)}s({global:!0,constructor:!0,wrap:!0,forced:O},{Promise:U}),i=l.Promise,v(U,E,!1,!0),m(E)},93345:(t,e,r)=>{"use strict";var n=r(94096);t.exports=n},93790:t=>{"use strict";t.exports=function(){}},93908:t=>{"use strict";var e=function(){this.head=null,this.tail=null};e.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},t.exports=e},94064:(t,e,r)=>{"use strict";r(4525),r(28378),r(42976),r(63461),r(63315),r(2582),r(20355),r(36804),r(39243),r(26455),r(52879);var n=r(65020);t.exports=n.Set},94096:(t,e,r)=>{"use strict";var n=r(62435);t.exports=n},94170:(t,e,r)=>{"use strict";var n=r(96377),o=r(12973),i=r(59360),a=r(59371),s=r(26406),u=r(16142).f,c=r(17025),f=r(83153),l=r(2979),p=r(88733),d=r(44875),h=!1,v=p("meta"),m=0,y=function(t){u(t,v,{value:{objectID:"O"+m++,weakData:{}}})},g=t.exports={enable:function(){g.enable=function(){},h=!0;var t=c.f,e=o([].splice),r={};r[v]=1,t(r).length&&(c.f=function(r){for(var n=t(r),o=0,i=n.length;o<i;o++)if(n[o]===v){e(n,o,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:f.f}))},fastKey:function(t,e){if(!a(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!s(t,v)){if(!l(t))return"F";if(!e)return"E";y(t)}return t[v].objectID},getWeakData:function(t,e){if(!s(t,v)){if(!l(t))return!0;if(!e)return!1;y(t)}return t[v].weakData},onFreeze:function(t){return d&&h&&l(t)&&!s(t,v)&&y(t),t}};i[v]=!0},94301:(t,e,r)=>{"use strict";r(32905);var n=r(22593);t.exports=n("Function","bind")},94423:(t,e,r)=>{"use strict";t.exports=r(82893)},94681:(t,e,r)=>{"use strict";var n=r(16142);t.exports=function(t,e,r){return n.f(t,e,r)}},94687:(t,e,r)=>{"use strict";var n=r(20388);t.exports=n},95250:module=>{"use strict";const toBytes=t=>[...t].map(t=>t.charCodeAt(0)),xpiZipFilename=toBytes("META-INF/mozilla.rsa"),oxmlContentTypes=toBytes("[Content_Types].xml"),oxmlRels=toBytes("_rels/.rels");function readUInt64LE(t,e=0){let r=t[e],n=1,o=0;for(;++o<8;)n*=256,r+=t[e+o]*n;return r}const fileType=t=>{if(!(t instanceof Uint8Array||t instanceof ArrayBuffer||Buffer.isBuffer(t)))throw new TypeError(`Expected the \`input\` argument to be of type \`Uint8Array\` or \`Buffer\` or \`ArrayBuffer\`, got \`${typeof t}\``);const e=t instanceof Uint8Array?t:new Uint8Array(t);if(!(e&&e.length>1))return null;const r=(t,r)=>{r=Object.assign({offset:0},r);for(let n=0;n<t.length;n++)if(r.mask){if(t[n]!==(r.mask[n]&e[n+r.offset]))return!1}else if(t[n]!==e[n+r.offset])return!1;return!0},n=(t,e)=>r(toBytes(t),e);if(r([255,216,255]))return{ext:"jpg",mime:"image/jpeg"};if(r([137,80,78,71,13,10,26,10]))return{ext:"png",mime:"image/png"};if(r([71,73,70]))return{ext:"gif",mime:"image/gif"};if(r([87,69,66,80],{offset:8}))return{ext:"webp",mime:"image/webp"};if(r([70,76,73,70]))return{ext:"flif",mime:"image/flif"};if((r([73,73,42,0])||r([77,77,0,42]))&&r([67,82],{offset:8}))return{ext:"cr2",mime:"image/x-canon-cr2"};if(r([73,73,42,0])||r([77,77,0,42]))return{ext:"tif",mime:"image/tiff"};if(r([66,77]))return{ext:"bmp",mime:"image/bmp"};if(r([73,73,188]))return{ext:"jxr",mime:"image/vnd.ms-photo"};if(r([56,66,80,83]))return{ext:"psd",mime:"image/vnd.adobe.photoshop"};if(r([80,75,3,4])){if(r([109,105,109,101,116,121,112,101,97,112,112,108,105,99,97,116,105,111,110,47,101,112,117,98,43,122,105,112],{offset:30}))return{ext:"epub",mime:"application/epub+zip"};if(r(xpiZipFilename,{offset:30}))return{ext:"xpi",mime:"application/x-xpinstall"};if(n("mimetypeapplication/vnd.oasis.opendocument.text",{offset:30}))return{ext:"odt",mime:"application/vnd.oasis.opendocument.text"};if(n("mimetypeapplication/vnd.oasis.opendocument.spreadsheet",{offset:30}))return{ext:"ods",mime:"application/vnd.oasis.opendocument.spreadsheet"};if(n("mimetypeapplication/vnd.oasis.opendocument.presentation",{offset:30}))return{ext:"odp",mime:"application/vnd.oasis.opendocument.presentation"};const t=(t,e=0)=>t.findIndex((t,r,n)=>r>=e&&80===n[r]&&75===n[r+1]&&3===n[r+2]&&4===n[r+3]);let o=0,i=!1,a=null;do{const s=o+30;if(i||(i=r(oxmlContentTypes,{offset:s})||r(oxmlRels,{offset:s})),a||(n("word/",{offset:s})?a={ext:"docx",mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"}:n("ppt/",{offset:s})?a={ext:"pptx",mime:"application/vnd.openxmlformats-officedocument.presentationml.presentation"}:n("xl/",{offset:s})&&(a={ext:"xlsx",mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"})),i&&a)return a;o=t(e,s)}while(o>=0);if(a)return a}if(r([80,75])&&(3===e[2]||5===e[2]||7===e[2])&&(4===e[3]||6===e[3]||8===e[3]))return{ext:"zip",mime:"application/zip"};if(r([117,115,116,97,114],{offset:257}))return{ext:"tar",mime:"application/x-tar"};if(r([82,97,114,33,26,7])&&(0===e[6]||1===e[6]))return{ext:"rar",mime:"application/x-rar-compressed"};if(r([31,139,8]))return{ext:"gz",mime:"application/gzip"};if(r([66,90,104]))return{ext:"bz2",mime:"application/x-bzip2"};if(r([55,122,188,175,39,28]))return{ext:"7z",mime:"application/x-7z-compressed"};if(r([120,1]))return{ext:"dmg",mime:"application/x-apple-diskimage"};if(r([51,103,112,53])||r([0,0,0])&&r([102,116,121,112],{offset:4})&&(r([109,112,52,49],{offset:8})||r([109,112,52,50],{offset:8})||r([105,115,111,109],{offset:8})||r([105,115,111,50],{offset:8})||r([109,109,112,52],{offset:8})||r([77,52,86],{offset:8})||r([100,97,115,104],{offset:8})))return{ext:"mp4",mime:"video/mp4"};if(r([77,84,104,100]))return{ext:"mid",mime:"audio/midi"};if(r([26,69,223,163])){const t=e.subarray(4,4100),r=t.findIndex((t,e,r)=>66===r[e]&&130===r[e+1]);if(-1!==r){const e=r+3,n=r=>[...r].every((r,n)=>t[e+n]===r.charCodeAt(0));if(n("matroska"))return{ext:"mkv",mime:"video/x-matroska"};if(n("webm"))return{ext:"webm",mime:"video/webm"}}}if(r([0,0,0,20,102,116,121,112,113,116,32,32])||r([102,114,101,101],{offset:4})||r([102,116,121,112,113,116,32,32],{offset:4})||r([109,100,97,116],{offset:4})||r([109,111,111,118],{offset:4})||r([119,105,100,101],{offset:4}))return{ext:"mov",mime:"video/quicktime"};if(r([82,73,70,70])){if(r([65,86,73],{offset:8}))return{ext:"avi",mime:"video/vnd.avi"};if(r([87,65,86,69],{offset:8}))return{ext:"wav",mime:"audio/vnd.wave"};if(r([81,76,67,77],{offset:8}))return{ext:"qcp",mime:"audio/qcelp"}}if(r([48,38,178,117,142,102,207,17,166,217])){let t=30;do{const n=readUInt64LE(e,t+16);if(r([145,7,220,183,183,169,207,17,142,230,0,192,12,32,83,101],{offset:t})){if(r([64,158,105,248,77,91,207,17,168,253,0,128,95,92,68,43],{offset:t+24}))return{ext:"wma",mime:"audio/x-ms-wma"};if(r([192,239,25,188,77,91,207,17,168,253,0,128,95,92,68,43],{offset:t+24}))return{ext:"wmv",mime:"video/x-ms-asf"};break}t+=n}while(t+24<=e.length);return{ext:"asf",mime:"application/vnd.ms-asf"}}if(r([0,0,1,186])||r([0,0,1,179]))return{ext:"mpg",mime:"video/mpeg"};if(r([102,116,121,112,51,103],{offset:4}))return{ext:"3gp",mime:"video/3gpp"};for(let t=0;t<2&&t<e.length-16;t++){if(r([73,68,51],{offset:t})||r([255,226],{offset:t,mask:[255,226]}))return{ext:"mp3",mime:"audio/mpeg"};if(r([255,228],{offset:t,mask:[255,228]}))return{ext:"mp2",mime:"audio/mpeg"};if(r([255,248],{offset:t,mask:[255,252]}))return{ext:"mp2",mime:"audio/mpeg"};if(r([255,240],{offset:t,mask:[255,252]}))return{ext:"mp4",mime:"audio/mpeg"}}if(r([102,116,121,112,77,52,65],{offset:4}))return{ext:"m4a",mime:"audio/mp4"};if(r([79,112,117,115,72,101,97,100],{offset:28}))return{ext:"opus",mime:"audio/opus"};if(r([79,103,103,83]))return r([128,116,104,101,111,114,97],{offset:28})?{ext:"ogv",mime:"video/ogg"}:r([1,118,105,100,101,111,0],{offset:28})?{ext:"ogm",mime:"video/ogg"}:r([127,70,76,65,67],{offset:28})?{ext:"oga",mime:"audio/ogg"}:r([83,112,101,101,120,32,32],{offset:28})?{ext:"spx",mime:"audio/ogg"}:r([1,118,111,114,98,105,115],{offset:28})?{ext:"ogg",mime:"audio/ogg"}:{ext:"ogx",mime:"application/ogg"};if(r([102,76,97,67]))return{ext:"flac",mime:"audio/x-flac"};if(r([77,65,67,32]))return{ext:"ape",mime:"audio/ape"};if(r([119,118,112,107]))return{ext:"wv",mime:"audio/wavpack"};if(r([35,33,65,77,82,10]))return{ext:"amr",mime:"audio/amr"};if(r([37,80,68,70]))return{ext:"pdf",mime:"application/pdf"};if(r([77,90]))return{ext:"exe",mime:"application/x-msdownload"};if((67===e[0]||70===e[0])&&r([87,83],{offset:1}))return{ext:"swf",mime:"application/x-shockwave-flash"};if(r([123,92,114,116,102]))return{ext:"rtf",mime:"application/rtf"};if(r([0,97,115,109]))return{ext:"wasm",mime:"application/wasm"};if(r([119,79,70,70])&&(r([0,1,0,0],{offset:4})||r([79,84,84,79],{offset:4})))return{ext:"woff",mime:"font/woff"};if(r([119,79,70,50])&&(r([0,1,0,0],{offset:4})||r([79,84,84,79],{offset:4})))return{ext:"woff2",mime:"font/woff2"};if(r([76,80],{offset:34})&&(r([0,0,1],{offset:8})||r([1,0,2],{offset:8})||r([2,0,2],{offset:8})))return{ext:"eot",mime:"application/vnd.ms-fontobject"};if(r([0,1,0,0,0]))return{ext:"ttf",mime:"font/ttf"};if(r([79,84,84,79,0]))return{ext:"otf",mime:"font/otf"};if(r([0,0,1,0]))return{ext:"ico",mime:"image/x-icon"};if(r([0,0,2,0]))return{ext:"cur",mime:"image/x-icon"};if(r([70,76,86,1]))return{ext:"flv",mime:"video/x-flv"};if(r([37,33]))return{ext:"ps",mime:"application/postscript"};if(r([253,55,122,88,90,0]))return{ext:"xz",mime:"application/x-xz"};if(r([83,81,76,105]))return{ext:"sqlite",mime:"application/x-sqlite3"};if(r([78,69,83,26]))return{ext:"nes",mime:"application/x-nintendo-nes-rom"};if(r([67,114,50,52]))return{ext:"crx",mime:"application/x-google-chrome-extension"};if(r([77,83,67,70])||r([73,83,99,40]))return{ext:"cab",mime:"application/vnd.ms-cab-compressed"};if(r([33,60,97,114,99,104,62,10,100,101,98,105,97,110,45,98,105,110,97,114,121]))return{ext:"deb",mime:"application/x-deb"};if(r([33,60,97,114,99,104,62]))return{ext:"ar",mime:"application/x-unix-archive"};if(r([237,171,238,219]))return{ext:"rpm",mime:"application/x-rpm"};if(r([31,160])||r([31,157]))return{ext:"Z",mime:"application/x-compress"};if(r([76,90,73,80]))return{ext:"lz",mime:"application/x-lzip"};if(r([208,207,17,224,161,177,26,225]))return{ext:"msi",mime:"application/x-msi"};if(r([6,14,43,52,2,5,1,1,13,1,2,1,1,2]))return{ext:"mxf",mime:"application/mxf"};if(r([71],{offset:4})&&(r([71],{offset:192})||r([71],{offset:196})))return{ext:"mts",mime:"video/mp2t"};if(r([66,76,69,78,68,69,82]))return{ext:"blend",mime:"application/x-blender"};if(r([66,80,71,251]))return{ext:"bpg",mime:"image/bpg"};if(r([0,0,0,12,106,80,32,32,13,10,135,10])){if(r([106,112,50,32],{offset:20}))return{ext:"jp2",mime:"image/jp2"};if(r([106,112,120,32],{offset:20}))return{ext:"jpx",mime:"image/jpx"};if(r([106,112,109,32],{offset:20}))return{ext:"jpm",mime:"image/jpm"};if(r([109,106,112,50],{offset:20}))return{ext:"mj2",mime:"image/mj2"}}if(r([70,79,82,77]))return{ext:"aif",mime:"audio/aiff"};if(n("<?xml "))return{ext:"xml",mime:"application/xml"};if(r([66,79,79,75,77,79,66,73],{offset:60}))return{ext:"mobi",mime:"application/x-mobipocket-ebook"};if(r([102,116,121,112],{offset:4})){if(r([109,105,102,49],{offset:8}))return{ext:"heic",mime:"image/heif"};if(r([109,115,102,49],{offset:8}))return{ext:"heic",mime:"image/heif-sequence"};if(r([104,101,105,99],{offset:8})||r([104,101,105,120],{offset:8}))return{ext:"heic",mime:"image/heic"};if(r([104,101,118,99],{offset:8})||r([104,101,118,120],{offset:8}))return{ext:"heic",mime:"image/heic-sequence"}}return r([171,75,84,88,32,49,49,187,13,10,26,10])?{ext:"ktx",mime:"image/ktx"}:r([68,73,67,77],{offset:128})?{ext:"dcm",mime:"application/dicom"}:r([77,80,43])||r([77,80,67,75])?{ext:"mpc",mime:"audio/x-musepack"}:r([66,69,71,73,78,58])?{ext:"ics",mime:"text/calendar"}:r([103,108,84,70,2,0,0,0])?{ext:"glb",mime:"model/gltf-binary"}:r([212,195,178,161])||r([161,178,195,212])?{ext:"pcap",mime:"application/vnd.tcpdump.pcap"}:null};module.exports=fileType,module.exports.default=fileType,Object.defineProperty(fileType,"minimumBytes",{value:4100}),module.exports.stream=readableStream=>new Promise((resolve,reject)=>{const stream=eval("require")("stream");readableStream.once("readable",()=>{const t=new stream.PassThrough,e=readableStream.read(module.exports.minimumBytes)||readableStream.read();try{t.fileType=fileType(e)}catch(t){reject(t)}readableStream.unshift(e),stream.pipeline?resolve(stream.pipeline(readableStream,t,()=>{})):resolve(readableStream.pipe(t))})})},95561:(t,e,r)=>{"use strict";var n=r(56158);t.exports=function(t,e){var r=[][t];return!!r&&n(function(){r.call(null,e||function(){return 1},1)})}},95804:(t,e,r)=>{"use strict";var n=r(29587),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},95866:(t,e,r)=>{"use strict";var n=r(66062),o=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new o("Incorrect invocation")}},96198:(t,e,r)=>{"use strict";var n=r(96830),o=r(76744),i=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},96377:(t,e,r)=>{"use strict";var n=r(77017),o=r(77882),i=r(26783),a=r(73024),s=r(8028).f,u=r(72157),c=r(65020),f=r(32209),l=r(3236),p=r(26406);r(84394);var d=function(t){var e=function(r,n,i){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,i)}return o(t,this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var r,o,h,v,m,y,g,w,b,_=t.target,x=t.global,T=t.stat,P=t.proto,$=x?n:T?n[_]:n[_]&&n[_].prototype,C=x?c:c[_]||l(c,_,{})[_],S=C.prototype;for(v in e)o=!(r=u(x?v:_+(T?".":"#")+v,t.forced))&&$&&p($,v),y=C[v],o&&(g=t.dontCallGetSet?(b=s($,v))&&b.value:$[v]),m=o&&g?g:e[v],(r||P||typeof y!=typeof m)&&(w=t.bind&&o?f(m,n):t.wrap&&o?d(m):P&&a(m)?i(m):m,(t.sham||m&&m.sham||y&&y.sham)&&l(w,"sham",!0),l(C,v,w),P&&(p(c,h=_+"Prototype")||l(c,h,{}),l(c[h],v,m),t.real&&S&&(r||!S[v])&&l(S,v,m)))}},96441:(t,e,r)=>{var n=r(3852).default,o=r(75617),i=r(94423);t.exports=function(t){if(null!=t){var e=t["function"==typeof o&&i||"@@iterator"],r=0;if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}}}throw new TypeError(n(t)+" is not iterable")},t.exports.__esModule=!0,t.exports.default=t.exports},96479:(t,e,r)=>{"use strict";var n=r(66062),o=r(59741),i=String.prototype;t.exports=function(t){var e=t.padStart;return"string"==typeof t||t===i||n(i,t)&&e===i.padStart?o:e}},96688:(t,e,r)=>{"use strict";r(96377)({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:r(22513)})},96731:(t,e,r)=>{"use strict";r(10905);var n=r(22593);t.exports=n("Array","reduce")},96830:(t,e,r)=>{"use strict";var n=r(77017),o=r(91918),i=r(26406),a=r(88733),s=r(1140),u=r(23741),c=n.Symbol,f=o("wks"),l=u?c.for||c:c&&c.withoutSetter||a;t.exports=function(t){return i(f,t)||(f[t]=s&&i(c,t)?c[t]:l("Symbol."+t)),f[t]}},96995:(t,e,r)=>{t.exports=r(17236)},97101:(t,e,r)=>{"use strict";var n=r(11412);t.exports=n},97272:(t,e,r)=>{"use strict";var n=r(36879);t.exports=n},97546:(t,e,r)=>{"use strict";var n=r(6975);t.exports=n},97774:(t,e,r)=>{"use strict";var n=r(96377),o=r(1140),i=r(56158),a=r(54768),s=r(78248);n({target:"Object",stat:!0,forced:!o||i(function(){a.f(1)})},{getOwnPropertySymbols:function(t){var e=a.f;return e?e(s(t)):[]}})},97900:(t,e,r)=>{"use strict";r(5231),r(28378),r(56050),r(39500),r(48595),r(4354),r(7393),r(6670),r(63479),r(42188),r(99321),r(84215),r(79672),r(40730),r(8922),r(21056),r(59807),r(60524),r(76327),r(33726),r(72066),r(24691);var n=r(65020);t.exports=n.Symbol},98138:(t,e,r)=>{"use strict";var n=r(39789),o=r(9262),i=r(95804),a=r(45124),s=r(30094),u="Invalid size",c=RangeError,f=TypeError,l=Math.max,p=function(t,e){this.set=t,this.size=l(e,0),this.has=n(t.has),this.keys=n(t.keys)};p.prototype={getIterator:function(){return s(o(i(this.keys,this.set)))},includes:function(t){return i(this.has,this.set,t)}},t.exports=function(t){o(t);var e=+t.size;if(e!=e)throw new f(u);var r=a(e);if(r<0)throw new c(u);return new p(t,r)}},99009:(t,e,r)=>{"use strict";const n=r(95250),o=new Set(["jpg","png","gif","webp","flif","cr2","tif","bmp","jxr","psd","ico","bpg","jp2","jpm","jpx","heic","cur","dcm"]),i=t=>{const e=n(t);return o.has(e&&e.ext)?e:null};t.exports=i,t.exports.default=i,Object.defineProperty(i,"minimumBytes",{value:n.minimumBytes})},99230:(t,e,r)=>{"use strict";var n=r(77853),o=r(39815).has,i=r(26153),a=r(98138),s=r(16767),u=r(70428),c=r(79832);t.exports=function(t){var e=n(this),r=a(t);if(i(e)<=r.size)return!1!==s(e,function(t){if(r.includes(t))return!1},!0);var f=r.getIterator();return!1!==u(f,function(t){if(o(e,t))return c(f,"normal",!1)})}},99321:(t,e,r)=>{"use strict";r(37080)("match")},99980:(t,e,r)=>{"use strict";var n=r(12973),o=r(56158),i=r(61813),a=Object,s=n("".split);t.exports=o(function(){return!a("z").propertyIsEnumerable(0)})?function(t){return"String"===i(t)?s(t,""):a(t)}:a}},__webpack_module_cache__={};function __webpack_require__(t){var e=__webpack_module_cache__[t];if(void 0!==e)return e.exports;var r=__webpack_module_cache__[t]={exports:{}};return __webpack_modules__[t].call(r.exports,r,r.exports,__webpack_require__),r.exports}__webpack_require__.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return __webpack_require__.d(e,{a:e}),e},__webpack_require__.d=(t,e)=>{for(var r in e)__webpack_require__.o(e,r)&&!__webpack_require__.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),__webpack_require__.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t;__webpack_require__.g.importScripts&&(t=__webpack_require__.g.location+"");var e=__webpack_require__.g.document;if(!t&&e&&(e.currentScript&&"SCRIPT"===e.currentScript.tagName.toUpperCase()&&(t=e.currentScript.src),!t)){var r=e.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!t||!/^http(s?):/.test(t));)t=r[n--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=t})();var __webpack_exports__={};return(()=>{"use strict";var t=__webpack_require__(1212);function e(e,r,n,o,i,a,s){try{var u=e[a](s),c=u.value}catch(e){return void n(e)}u.done?r(c):t.resolve(c).then(o,i)}function r(r){return function(){var n=this,o=arguments;return new t(function(t,i){var a=r.apply(n,o);function s(r){e(a,t,i,s,u,"next",r)}function u(r){e(a,t,i,s,u,"throw",r)}s(void 0)})}}var n=__webpack_require__(58662),o=__webpack_require__.n(n),i=__webpack_require__(63863),a=__webpack_require__.n(i),s=__webpack_require__(53071),u=__webpack_require__.n(s),c=__webpack_require__(96995),f=__webpack_require__.n(c),l=__webpack_require__(99009),p=__webpack_require__.n(l),d=__webpack_require__(52028),h=__webpack_require__.n(d);function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var m=__webpack_require__(64259),y=__webpack_require__(88019),g=__webpack_require__(82893);function w(t){return w="function"==typeof y&&"symbol"==typeof g?function(t){return typeof t}:function(t){return t&&"function"==typeof y&&t.constructor===y&&t!==y.prototype?"symbol":typeof t},w(t)}var b=__webpack_require__(43646);function _(t){var e=function(t,e){if("object"!=w(t)||!t)return t;var r=t[b];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=w(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==w(e)?e:e+""}function x(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),m(t,_(n.key),n)}}function T(t,e,r){return e&&x(t.prototype,e),r&&x(t,r),m(t,"prototype",{writable:!1}),t}function P(t,e){if(e&&("object"==w(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}var $=__webpack_require__(91625),C=__webpack_require__(72117),S=__webpack_require__(26741);function k(t){var e;return k=$?C(e=S).call(e):function(t){return t.__proto__||S(t)},k(t)}var A=__webpack_require__(48866);function j(t,e){var r;return j=$?C(r=$).call(r):function(t,e){return t.__proto__=e,t},j(t,e)}function E(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=A(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),m(t,"prototype",{writable:!1}),e&&j(t,e)}var O=__webpack_require__(53546),F=__webpack_require__.n(O),R=__webpack_require__(74150),W=__webpack_require__.n(R),D=__webpack_require__(22585),I=__webpack_require__.n(D),U=__webpack_require__(62950),M=__webpack_require__.n(U),q=function(){return T(function t(){v(this,t),this.codec=void 0,this.decoder=void 0},[{key:"_initialize",value:function(){return F().resolve()}},{key:"decode",value:function(){var t=r(o().mark(function t(e){return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.codec){t.next=1;break}return t.next=1,this._initialize();case 1:return this.decoder.getEncodedBuffer(e.length).set(e),this.decoder.decode(),t.abrupt("return",{frameBuffer:this.decoder.getDecodedBuffer(),frameInfo:this.decoder.getFrameInfo()});case 2:case"end":return t.stop()}},t,this)}));return function(e){return t.apply(this,arguments)}}()}])}();function z(){try{var t=!Boolean.prototype.valueOf.call(h()(Boolean,[],function(){}))}catch(t){}return(z=function(){return!!t})()}var B=function(t){function e(){return v(this,e),t=this,n=arguments,r=k(r=e),P(t,z()?h()(r,n||[],k(t).constructor):r.apply(t,n));var t,r,n}return E(e,t),T(e,[{key:"_initialize",value:function(){var t=this;if(this.codec)return F().resolve();var e=M()({locateFile:function(t){return W()(t).call(t,".wasm")?I():t}});return new(F())(function(r,n){e.then(function(e){t.codec=e,t.decoder=new e.J2KDecoder,r()},n)})}}])}(q),N=__webpack_require__(9184),V=__webpack_require__.n(N),H=__webpack_require__(36983),L=__webpack_require__.n(H);function G(){try{var t=!Boolean.prototype.valueOf.call(h()(Boolean,[],function(){}))}catch(t){}return(G=function(){return!!t})()}var J=function(t){function e(){return v(this,e),t=this,n=arguments,r=k(r=e),P(t,G()?h()(r,n||[],k(t).constructor):r.apply(t,n));var t,r,n}return E(e,t),T(e,[{key:"_initialize",value:function(){var t=this;if(this.codec)return F().resolve();var e=L()({locateFile:function(t){return W()(t).call(t,".wasm")?V():t}});return new(F())(function(r,n){e.then(function(e){t.codec=e,t.decoder=new e.JPEGDecoder,r()},n)})}}])}(q),X=__webpack_require__(64001),K=__webpack_require__.n(X),Y=__webpack_require__(65878),Z=__webpack_require__.n(Y);function Q(){try{var t=!Boolean.prototype.valueOf.call(h()(Boolean,[],function(){}))}catch(t){}return(Q=function(){return!!t})()}var tt=function(t){function e(){return v(this,e),t=this,n=arguments,r=k(r=e),P(t,Q()?h()(r,n||[],k(t).constructor):r.apply(t,n));var t,r,n}return E(e,t),T(e,[{key:"_initialize",value:function(){var t=this;if(this.codec)return F().resolve();var e=Z()({locateFile:function(t){return W()(t).call(t,".wasm")?K():t}});return new(F())(function(r,n){e.then(function(e){t.codec=e,t.decoder=new e.JpegLSDecoder,r()},n)})}}])}(q),et=__webpack_require__(53385),rt=__webpack_require__.n(et),nt=__webpack_require__(14566),ot=__webpack_require__.n(nt),it=__webpack_require__(89169),at=__webpack_require__.n(it),st=__webpack_require__(66597),ut=__webpack_require__.n(st),ct=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:512,r=atob(t),n=[],o=0;o<r.length;o+=e){for(var i=at()(r).call(r,o,o+e),a=new Array(i.length),s=0;s<i.length;s++)a[s]=i.charCodeAt(s);var u=new Uint8Array(a);n.push(u)}for(var c=ut()(n).call(n,function(t,e){return t+e.length},0),f=new Uint8Array(c),l=0,p=0,d=n;p<d.length;p++){var h=d[p];f.set(h,l),l+=h.length}return f},ft=function(t){var e;return t instanceof Uint8Array?t:(null===(e=t.Value)||void 0===e?void 0:e[0])instanceof Uint8Array?t.Value[0]:t.Value instanceof Uint8Array?t.Value:t.InlineBinary?(t.Value=[ct(t.InlineBinary)],t.Value[0]):void 0};function lt(){try{var t=!Boolean.prototype.valueOf.call(h()(Boolean,[],function(){}))}catch(t){}return(lt=function(){return!!t})()}var pt,dt=function(t){function e(t,r){var n,o,i,a,s;if(v(this,e),o=this,i=k(i=e),n=P(o,lt()?h()(i,a||[],k(o).constructor):i.apply(o,a)),t.length!==r.length)throw new Error('Argument "metadata" and "iccProfiles" must have same length: '+f()(s="".concat(t.length," versus ")).call(s,r.length));return n.metadata=t,n.iccProfiles=r,n.codec=null,n.transformers={},n}return E(e,t),T(e,[{key:"_initialize",value:function(){var t=this;if(this.codec)return F().resolve();var e=rt()({locateFile:function(t){return W()(t).call(t,".wasm")?ot():t}});return new(F())(function(r,n){e.then(function(e){t.codec=e;for(var n=0;n<t.metadata.length;n++){var o=t.metadata[n].Columns,i=t.metadata[n].Rows,a=t.metadata[n].BitsAllocated,s=t.metadata[n].SamplesPerPixel,u=t.metadata[n].PlanarConfiguration,c=t.metadata[n].SOPInstanceUID,f=ft(t.iccProfiles[n]);if(!f)return void console.warn("Unable to convert icc profile: ",t.iccProfiles[n]);t.transformers[c]=new t.codec.ColorManager({columns:o,rows:i,bitsPerSample:a,samplesPerPixel:s,planarConfiguration:u},f)}r(t.transformers)},n)})}},{key:"transform",value:(n=r(o().mark(function t(e,r){var n,i;return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(null!=this.codec){t.next=1;break}return t.next=1,this._initialize();case 1:return e in this.transformers?(i=this.transformers[e],n=i?i.transform(r):new(F())(function(t){t(r)})):n=new(F())(function(t){t(r)}),t.abrupt("return",n);case 2:case"end":return t.stop()}},t,this)})),function(t,e){return n.apply(this,arguments)})}]);var n}(function(){return T(function t(){v(this,t),this.codec=void 0,this.transformers=[]},[{key:"_initialize",value:function(){return F().resolve()}}])}()),ht=new B,vt=new tt,mt=new J;function yt(){return(yt=r(o().mark(function t(e){var r,n,i,s,c,l,d,h,v,m,y,g,w,b,_,x,T,P,$,C,S,k;return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.bitsAllocated,n=e.columns,i=e.rows,s=e.samplesPerPixel,c=e.pixelRepresentation,l=e.frame,d=new Uint8Array(l),h=p()(d),v=function(t){var e;return a()(e=t.toString(16)).call(e,2,"0").toUpperCase()},null==h?"FF"===v(d[d.length-3])&&"D9"===v(d[d.length-2])&&"00"===v(d[d.length-1])?(m="image/jp2",d=new Uint8Array(d.buffer,0,d.length-1)):m="FF"===v(d[d.length-2])&&"D9"===v(d[d.length-1])?"image/jp2":"application/octet-stream":"F7"===v(d[3])||"E8"===v(d[3])?m="image/jls":(y=new(u())(["image/jpeg","image/jls","image/jp2","image/jpx"]),m=y.has(h.mime)?h.mime:"application/octet-stream"),"application/octet-stream"!==m){t.next=1;break}return console.debug('decode uncompressed frame with media type "'.concat(m,'"')),t.abrupt("return",d);case 1:return console.debug('decode compressed frame with media type "'.concat(m,'"')),t.next=2,gt(m,d);case 2:if(g=t.sent,w=g.frameBuffer,(b=g.frameInfo).bitsPerSample===r){t.next=3;break}throw new Error("Frame does not have expected Bits Allocated: "+f()(_="".concat(b.bitsPerSample," instead of ")).call(_,r,"."));case 3:if(b.height===i){t.next=4;break}throw new Error("Frame does not have expected Rows: "+f()(x="".concat(b.height," instead of ")).call(x,i,"."));case 4:if(b.width===n){t.next=5;break}throw new Error("Frame does not have expected Columns: "+f()(T="".concat(b.width," instead of ")).call(T,n,"."));case 5:if(b.componentCount===s){t.next=6;break}throw new Error("Frame does not have expected Samples Per Pixel: "+f()(P="".concat(b.componentCount," instead of ")).call(P,s,"."));case 6:if(null==b.isSigned){t.next=7;break}if($=1===c,b.isSigned===$){t.next=7;break}throw new Error("Frame does not have expected Pixel Representation: "+f()(C='"'.concat(b.isSigned,'" instead of "')).call(C,$,'".'));case 7:if((S=n*i*s*(r/8))===w.length){t.next=8;break}throw new Error("Frame value does not have expected length: "+f()(k="".concat(w.length," instead of ")).call(k,S,"."));case 8:return t.abrupt("return",w);case 9:case"end":return t.stop()}},t)}))).apply(this,arguments)}function gt(t,e){return wt.apply(this,arguments)}function wt(){return(wt=r(o().mark(function t(e,r){return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if("image/jpeg"!==e){t.next=2;break}return t.next=1,mt.decode(r);case 1:case 3:case 5:return t.abrupt("return",t.sent);case 2:if("image/jp2"!==e&&"image/jpx"!==e){t.next=4;break}return t.next=3,ht.decode(r);case 4:if("image/jls"!==e){t.next=6;break}return t.next=5,vt.decode(r);case 6:case"end":return t.stop()}},t)}))).apply(this,arguments)}const bt={taskType:"decodeAndTransformTask",_handler:function(t,e){var r=t.data,n=r.bitsAllocated,o=r.columns,i=r.rows,a=r.samplesPerPixel,s=r.pixelRepresentation,u=r.frame,c=r.sopInstanceUID,f=r.metadata,l=r.iccProfiles;(function(t){return yt.apply(this,arguments)})({bitsAllocated:n,columns:o,rows:i,samplesPerPixel:a,pixelRepresentation:s,frame:u}).then(function(t){null!=l&&l.length?(void 0===pt&&(pt=new dt(f,l)),pt.transform(c,t).then(function(t){e({frameData:t.buffer},[t.buffer])}).catch(function(r){console.warn("Unable to transform frame",r),e({frameData:t.buffer},[t.buffer])})):e({frameData:t.buffer},[t.buffer])}).catch(function(t){throw new Error("Failed to decode frame: ".concat(t))})}};var _t,xt={},Tt=!1;function Pt(t){if(xt[t.taskType])return console.info('attempt to register duplicate task handler "',t.taskType,'"'),!1;xt[t.taskType]=t,Tt&&t.initialize(_t.taskConfiguration)}self.onmessage=function(t){var e;if(t.data.taskType)if(console.info(f()(e='run task "'.concat(t.data.taskType,'" on web worker #')).call(e,t.data.workerIndex)),"initialize"!==t.data.taskType){if("loadWebWorkerTask"===t.data.taskType)return r=t.data,_t=r.config,void self.importScripts(r.sourcePath);var r;if(xt[t.data.taskType])try{xt[t.data.taskType]._handler(t.data,function(e,r){self.postMessage({taskType:t.data.taskType,status:"success",result:e,workerIndex:t.data.workerIndex},r)})}catch(e){var n;console.error(f()(n='task "'.concat(t.data.taskType,'" failed: ')).call(n,e.message)),self.postMessage({taskType:t.data.taskType,status:"failed",result:e.message,workerIndex:t.data.workerIndex})}else console.warn("no task handler for ",t.data.taskType,taskHandler),self.postMessage({taskType:t.data.taskType,status:"failed - no task handler registered",workerIndex:t.data.workerIndex})}else!function(t){if(!Tt){if(_t=t.config,self.registerTaskHandler=Pt,t.config.webWorkerTaskPaths)for(var e=0;e<t.config.webWorkerTaskPaths.length;e++)self.importScripts(t.config.webWorkerTaskPaths[e]);self.postMessage({taskType:"initialize",status:"success",result:{},workerIndex:t.workerIndex}),Tt=!0}}(t.data);else console.info(t.data)},Pt(bt)})(),__webpack_exports__})());
|
|
2
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("dicomMicroscopyViewer",[],e):"object"==typeof exports?exports.dicomMicroscopyViewer=e():t.dicomMicroscopyViewer=e()}(this,()=>(()=>{var __webpack_modules__={596:(t,e,r)=>{"use strict";var n=r(96377),o=r(33752);n({target:"Promise",stat:!0,forced:r(84801).CONSTRUCTOR},{reject:function(t){var e=o.f(this);return(0,e.reject)(t),e.promise}})},746:(t,e,r)=>{"use strict";var n,o,i,a=r(81349),s=r(77017),u=r(59371),c=r(3236),f=r(26406),l=r(84394),p=r(27932),d=r(59360),h="Object already initialized",v=s.TypeError,m=s.WeakMap;if(a||l.state){var y=l.state||(l.state=new m);y.get=y.get,y.has=y.has,y.set=y.set,n=function(t,e){if(y.has(t))throw new v(h);return e.facade=t,y.set(t,e),e},o=function(t){return y.get(t)||{}},i=function(t){return y.has(t)}}else{var g=p("state");d[g]=!0,n=function(t,e){if(f(t,g))throw new v(h);return e.facade=t,c(t,g,e),e},o=function(t){return f(t,g)?t[g]:{}},i=function(t){return f(t,g)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=o(e)).type!==t)throw new v("Incompatible receiver, "+t+" required");return r}}}},1140:(t,e,r)=>{"use strict";var n=r(41748),o=r(56158),i=r(77017).String;t.exports=!!Object.getOwnPropertySymbols&&!o(function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41})},1212:(t,e,r)=>{"use strict";var n=r(84299);r(58081),r(40801),r(11072),t.exports=n},2241:(t,e,r)=>{"use strict";var n=r(52647);t.exports=function(t){return n(t.length)}},2582:(t,e,r)=>{"use strict";var n=r(96377),o=r(99230);n({target:"Set",proto:!0,real:!0,forced:!r(57107)("isDisjointFrom",function(t){return!t})},{isDisjointFrom:o})},2979:(t,e,r)=>{"use strict";var n=r(56158),o=r(59371),i=r(61813),a=r(74089),s=Object.isExtensible,u=n(function(){s(1)});t.exports=u||a?function(t){return!!o(t)&&((!a||"ArrayBuffer"!==i(t))&&(!s||s(t)))}:s},3236:(t,e,r)=>{"use strict";var n=r(69705),o=r(16142),i=r(66231);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},3780:(t,e,r)=>{"use strict";var n=r(56158);t.exports=!n(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},3852:(t,e,r)=>{var n=r(75617),o=r(94423);function i(e){return t.exports=i="function"==typeof n&&"symbol"==typeof o?function(t){return typeof t}:function(t){return t&&"function"==typeof n&&t.constructor===n&&t!==n.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,i(e)}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports},4354:()=>{},4525:(t,e,r)=>{"use strict";var n=r(9128),o=r(93790),i=r(76744),a=r(746),s=r(16142).f,u=r(67917),c=r(12004),f=r(15514),l=r(69705),p="Array Iterator",d=a.set,h=a.getterFor(p);t.exports=u(Array,"Array",function(t,e){d(this,{type:p,target:n(t),index:0,kind:e})},function(){var t=h(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,c(void 0,!0);switch(t.kind){case"keys":return c(r,!1);case"values":return c(e[r],!1)}return c([r,e[r]],!1)},"values");var v=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!f&&l&&"values"!==v.name)try{s(v,"name",{value:"values"})}catch(t){}},4602:(t,e,r)=>{"use strict";var n=r(56158),o=r(66231);t.exports=!n(function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)})},4629:(t,e,r)=>{"use strict";var n=r(96830)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,"/./"[t](e)}catch(t){}}return!1}},4890:(t,e,r)=>{"use strict";r(22349)},5231:(t,e,r)=>{"use strict";var n=r(96377),o=r(56158),i=r(28011),a=r(59371),s=r(78248),u=r(2241),c=r(64638),f=r(56709),l=r(33418),p=r(25806),d=r(96830),h=r(41748),v=d("isConcatSpreadable"),m=h>=51||!o(function(){var t=[];return t[v]=!1,t.concat()[0]!==t}),y=function(t){if(!a(t))return!1;var e=t[v];return void 0!==e?!!e:i(t)};n({target:"Array",proto:!0,arity:1,forced:!m||!p("concat")},{concat:function(t){var e,r,n,o,i,a=s(this),p=l(a,0),d=0;for(e=-1,n=arguments.length;e<n;e++)if(y(i=-1===e?a:arguments[e]))for(o=u(i),c(d+o),r=0;r<o;r++,d++)r in i&&f(p,d,i[r]);else c(d+1),f(p,d++,i);return p.length=d,p}})},5515:(t,e,r)=>{"use strict";for(var n=r(91918),o=r(48192),i=r(12973),a=r(54252),s=r(96830),u=o("Symbol"),c=u.isWellKnownSymbol,f=o("Object","getOwnPropertyNames"),l=i(u.prototype.valueOf),p=n("wks"),d=0,h=f(u),v=h.length;d<v;d++)try{var m=h[d];a(u[m])&&s(m)}catch(t){}t.exports=function(t){if(c&&c(t))return!0;try{for(var e=l(t),r=0,n=f(p),o=n.length;r<o;r++)if(p[n[r]]==e)return!0}catch(t){}return!1}},5866:(t,e,r)=>{"use strict";var n=r(33097);r(19706),r(16555),r(37234),r(15798),t.exports=n},5962:(t,e,r)=>{"use strict";var n=r(96377),o=r(48192),i=r(77882),a=r(6087),s=r(78837),u=r(9262),c=r(59371),f=r(50429),l=r(56158),p=o("Reflect","construct"),d=Object.prototype,h=[].push,v=l(function(){function t(){}return!(p(function(){},[],t)instanceof t)}),m=!l(function(){p(function(){})}),y=v||m;n({target:"Reflect",stat:!0,forced:y,sham:y},{construct:function(t,e){s(t),u(e);var r=arguments.length<3?t:s(arguments[2]);if(m&&!v)return p(t,e,r);if(t===r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return i(h,n,e),new(i(a,t,n))}var o=r.prototype,l=f(c(o)?o:d),y=i(t,l,e);return c(y)?y:l}})},6087:(t,e,r)=>{"use strict";var n=r(12973),o=r(39789),i=r(59371),a=r(26406),s=r(89125),u=r(29587),c=Function,f=n([].concat),l=n([].join),p={};t.exports=u?c.bind:function(t){var e=o(this),r=e.prototype,n=s(arguments,1),u=function(){var r=f(n,s(arguments));return this instanceof u?function(t,e,r){if(!a(p,e)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";p[e]=c("C,a","return new C("+l(n,",")+")")}return p[e](t,r)}(e,r.length,r):e.apply(t,r)};return i(r)&&(u.prototype=r),u}},6639:(t,e,r)=>{"use strict";var n=r(73496);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},6670:(t,e,r)=>{"use strict";r(37080)("hasInstance")},6862:(t,e,r)=>{"use strict";var n=r(12973),o=r(56158),i=r(73024),a=r(13698),s=r(48192),u=r(71169),c=function(){},f=s("Reflect","construct"),l=/^\s*(?:class|function)\b/,p=n(l.exec),d=!l.test(c),h=function(t){if(!i(t))return!1;try{return f(c,[],t),!0}catch(t){return!1}},v=function(t){if(!i(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(l,u(t))}catch(t){return!0}};v.sham=!0,t.exports=!f||o(function(){var t;return h(h.call)||!h(Object)||!h(function(){t=!0})||t})?v:h},6975:(t,e,r)=>{"use strict";var n=r(50648);r(14614),t.exports=n},7393:(t,e,r)=>{"use strict";r(37080)("dispose")},7822:(t,e,r)=>{"use strict";var n=r(96830);e.f=n},7825:(t,e,r)=>{"use strict";var n=r(95804),o=r(48192),i=r(96830),a=r(29481);t.exports=function(){var t=o("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,s=i("toPrimitive");e&&!e[s]&&a(e,s,function(t){return n(r,this)},{arity:1})}},7849:(t,e,r)=>{"use strict";r(37080)("patternMatch")},8028:(t,e,r)=>{"use strict";var n=r(69705),o=r(95804),i=r(39148),a=r(66231),s=r(9128),u=r(52884),c=r(26406),f=r(67458),l=Object.getOwnPropertyDescriptor;e.f=n?l:function(t,e){if(t=s(t),e=u(e),f)try{return l(t,e)}catch(t){}if(c(t,e))return a(!o(i.f,t,e),t[e])}},8617:(t,e,r)=>{"use strict";var n=r(96377),o=r(26406),i=r(54252),a=r(38818),s=r(91918),u=r(33749),c=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{keyFor:function(t){if(!i(t))throw new TypeError(a(t)+" is not a symbol");if(o(c,t))return c[t]}})},8644:(t,e,r)=>{"use strict";var n=r(73496);t.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},8922:(t,e,r)=>{"use strict";r(37080)("species")},9037:(t,e,r)=>{"use strict";var n=r(66062),o=r(96731),i=Array.prototype;t.exports=function(t){var e=t.reduce;return t===i||n(i,t)&&e===i.reduce?o:e}},9128:(t,e,r)=>{"use strict";var n=r(99980),o=r(20825);t.exports=function(t){return n(o(t))}},9184:function(t,e,r){t.exports=r.p+"c22b37c3488e1d6c3aa4.wasm"},9262:(t,e,r)=>{"use strict";var n=r(59371),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},9412:(t,e,r)=>{"use strict";var n=r(96377),o=r(95804),i=r(39789),a=r(33752),s=r(50406),u=r(21653);n({target:"Promise",stat:!0,forced:r(87352)},{allSettled:function(t){var e=this,r=a.f(e),n=r.resolve,c=r.reject,f=s(function(){var r=i(e.resolve),a=[],s=0,c=1;u(t,function(t){var i=s++,u=!1;c++,o(r,e,t).then(function(t){u||(u=!0,a[i]={status:"fulfilled",value:t},--c||n(a))},function(t){u||(u=!0,a[i]={status:"rejected",reason:t},--c||n(a))})}),--c||n(a)});return f.error&&c(f.value),r.promise}})},9842:(t,e,r)=>{"use strict";var n=r(69705),o=r(61791),i=r(16142),a=r(9262),s=r(9128),u=r(91861);e.f=n&&!o?Object.defineProperties:function(t,e){a(t);for(var r,n=s(e),o=u(e),c=o.length,f=0;c>f;)i.f(t,r=o[f++],n[r]);return t}},9854:(t,e,r)=>{"use strict";t.exports=r(1212)},10612:(t,e,r)=>{"use strict";var n=r(96377),o=r(77017),i=r(95804),a=r(12973),s=r(15514),u=r(69705),c=r(1140),f=r(56158),l=r(26406),p=r(66062),d=r(9262),h=r(9128),v=r(52884),m=r(82998),y=r(66231),g=r(50429),w=r(91861),b=r(17025),_=r(83153),x=r(54768),T=r(8028),P=r(16142),$=r(9842),C=r(39148),S=r(29481),k=r(94681),A=r(91918),j=r(27932),E=r(59360),O=r(88733),F=r(96830),R=r(7822),W=r(37080),D=r(7825),I=r(32134),U=r(746),M=r(63156).forEach,q=j("hidden"),z="Symbol",B="prototype",N=U.set,V=U.getterFor(z),H=Object[B],L=o.Symbol,G=L&&L[B],J=o.RangeError,X=o.TypeError,K=o.QObject,Y=T.f,Z=P.f,Q=_.f,tt=C.f,et=a([].push),rt=A("symbols"),nt=A("op-symbols"),ot=A("wks"),it=!K||!K[B]||!K[B].findChild,at=function(t,e,r){var n=Y(H,e);n&&delete H[e],Z(t,e,r),n&&t!==H&&Z(H,e,n)},st=u&&f(function(){return 7!==g(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a})?at:Z,ut=function(t,e){var r=rt[t]=g(G);return N(r,{type:z,tag:t,description:e}),u||(r.description=e),r},ct=function(t,e,r){t===H&&ct(nt,e,r),d(t);var n=v(e);return d(r),l(rt,n)?(r.enumerable?(l(t,q)&&t[q][n]&&(t[q][n]=!1),r=g(r,{enumerable:y(0,!1)})):(l(t,q)||Z(t,q,y(1,g(null))),t[q][n]=!0),st(t,n,r)):Z(t,n,r)},ft=function(t,e){d(t);var r=h(e),n=w(r).concat(ht(r));return M(n,function(e){u&&!i(lt,r,e)||ct(t,e,r[e])}),t},lt=function(t){var e=v(t),r=i(tt,this,e);return!(this===H&&l(rt,e)&&!l(nt,e))&&(!(r||!l(this,e)||!l(rt,e)||l(this,q)&&this[q][e])||r)},pt=function(t,e){var r=h(t),n=v(e);if(r!==H||!l(rt,n)||l(nt,n)){var o=Y(r,n);return!o||!l(rt,n)||l(r,q)&&r[q][n]||(o.enumerable=!0),o}},dt=function(t){var e=Q(h(t)),r=[];return M(e,function(t){l(rt,t)||l(E,t)||et(r,t)}),r},ht=function(t){var e=t===H,r=Q(e?nt:h(t)),n=[];return M(r,function(t){!l(rt,t)||e&&!l(H,t)||et(n,rt[t])}),n};c||(S(G=(L=function(){if(p(G,this))throw new X("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?m(arguments[0]):void 0,e=O(t),r=function(t){var n=void 0===this?o:this;n===H&&i(r,nt,t),l(n,q)&&l(n[q],e)&&(n[q][e]=!1);var a=y(1,t);try{st(n,e,a)}catch(t){if(!(t instanceof J))throw t;at(n,e,a)}};return u&&it&&st(H,e,{configurable:!0,set:r}),ut(e,t)})[B],"toString",function(){return V(this).tag}),S(L,"withoutSetter",function(t){return ut(O(t),t)}),C.f=lt,P.f=ct,$.f=ft,T.f=pt,b.f=_.f=dt,x.f=ht,R.f=function(t){return ut(F(t),t)},u&&(k(G,"description",{configurable:!0,get:function(){return V(this).description}}),s||S(H,"propertyIsEnumerable",lt,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:L}),M(w(ot),function(t){W(t)}),n({target:z,stat:!0,forced:!c},{useSetter:function(){it=!0},useSimple:function(){it=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!u},{create:function(t,e){return void 0===e?g(t):ft(g(t),e)},defineProperty:ct,defineProperties:ft,getOwnPropertyDescriptor:pt}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:dt}),D(),I(L,z),E[q]=!0},10712:(t,e,r)=>{"use strict";var n=r(29349),o=r(13698);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},10894:(t,e,r)=>{"use strict";var n,o,i,a=r(56158),s=r(73024),u=r(59371),c=r(50429),f=r(91174),l=r(29481),p=r(96830),d=r(15514),h=p("iterator"),v=!1;[].keys&&("next"in(i=[].keys())?(o=f(f(i)))!==Object.prototype&&(n=o):v=!0),!u(n)||a(function(){var t={};return n[h].call(t)!==t})?n={}:d&&(n=c(n)),s(n[h])||l(n,h,function(){return this}),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:v}},10905:(t,e,r)=>{"use strict";var n=r(96377),o=r(44209).left,i=r(95561),a=r(41748);n({target:"Array",proto:!0,forced:!r(64184)&&a>79&&a<83||!i("reduce")},{reduce:function(t){var e=arguments.length;return o(this,t,e,e>1?arguments[1]:void 0)}})},11072:(t,e,r)=>{"use strict";r(79625)},11243:(t,e,r)=>{"use strict";var n=r(69705),o=r(26406),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=o(i,"name"),u=s&&"something"===function(){}.name,c=s&&(!n||n&&a(i,"name").configurable);t.exports={EXISTS:s,PROPER:u,CONFIGURABLE:c}},11412:(t,e,r)=>{"use strict";r(68992);var n=r(65020).Object,o=t.exports=function(t,e,r){return n.defineProperty(t,e,r)};n.defineProperty.sham&&(o.sham=!0)},11847:(t,e,r)=>{"use strict";var n=r(96830)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,function(){throw 2})}catch(t){}t.exports=function(t,e){try{if(!e&&!o)return!1}catch(t){return!1}var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},12004:t=>{"use strict";t.exports=function(t,e){return{value:t,done:e}}},12167:(t,e,r)=>{"use strict";var n=r(96377),o=r(48192),i=r(26406),a=r(82998),s=r(91918),u=r(33749),c=s("string-to-symbol-registry"),f=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=a(t);if(i(c,e))return c[e];var r=o("Symbol")(e);return c[e]=r,f[r]=e,r}})},12429:(t,e,r)=>{"use strict";var n=r(97272);t.exports=n},12973:(t,e,r)=>{"use strict";var n=r(29587),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);t.exports=n?a:function(t){return function(){return i.apply(t,arguments)}}},13149:(t,e,r)=>{"use strict";var n=r(44604);t.exports=n},13698:(t,e,r)=>{"use strict";var n=r(29349),o=r(73024),i=r(61813),a=r(96830)("toStringTag"),s=Object,u="Arguments"===i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=s(t),a))?r:u?i(e):"Object"===(n=i(e))&&o(e.callee)?"Arguments":n}},14184:(t,e,r)=>{"use strict";var n=r(66062),o=r(94301),i=Function.prototype;t.exports=function(t){var e=t.bind;return t===i||n(i,t)&&e===i.bind?o:e}},14386:(t,e,r)=>{"use strict";var n=r(96377),o=r(95804),i=r(39789),a=r(33752),s=r(50406),u=r(21653);n({target:"Promise",stat:!0,forced:r(87352)},{race:function(t){var e=this,r=a.f(e),n=r.reject,c=s(function(){var a=i(e.resolve);u(t,function(t){o(a,e,t).then(r.resolve,n)})});return c.error&&n(c.value),r.promise}})},14566:function(t,e,r){t.exports=r.p+"3d418194a2212819e790.wasm"},14614:(t,e,r)=>{"use strict";r(4525);var n=r(60705),o=r(77017),i=r(32134),a=r(76744);for(var s in n)i(o[s],s),a[s]=a.Array},15514:t=>{"use strict";t.exports=!0},15726:(t,e,r)=>{"use strict";var n,o,i,a,s=r(77017),u=r(77882),c=r(32209),f=r(73024),l=r(26406),p=r(56158),d=r(70206),h=r(89125),v=r(78890),m=r(90753),y=r(6639),g=r(64184),w=s.setImmediate,b=s.clearImmediate,_=s.process,x=s.Dispatch,T=s.Function,P=s.MessageChannel,$=s.String,C=0,S={},k="onreadystatechange";p(function(){n=s.location});var A=function(t){if(l(S,t)){var e=S[t];delete S[t],e()}},j=function(t){return function(){A(t)}},E=function(t){A(t.data)},O=function(t){s.postMessage($(t),n.protocol+"//"+n.host)};w&&b||(w=function(t){m(arguments.length,1);var e=f(t)?t:T(t),r=h(arguments,1);return S[++C]=function(){u(e,void 0,r)},o(C),C},b=function(t){delete S[t]},g?o=function(t){_.nextTick(j(t))}:x&&x.now?o=function(t){x.now(j(t))}:P&&!y?(a=(i=new P).port2,i.port1.onmessage=E,o=c(a.postMessage,a)):s.addEventListener&&f(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!p(O)?(o=O,s.addEventListener("message",E,!1)):o=k in v("script")?function(t){d.appendChild(v("script"))[k]=function(){d.removeChild(this),A(t)}}:function(t){setTimeout(j(t),0)}),t.exports={set:w,clear:b}},15798:(t,e,r)=>{"use strict";r(37080)("metadata")},15816:(t,e,r)=>{"use strict";var n=r(45124),o=r(82998),i=r(20825),a=RangeError;t.exports=function(t){var e=o(i(this)),r="",s=n(t);if(s<0||s===1/0)throw new a("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(e+=e))1&s&&(r+=e);return r}},16099:(t,e,r)=>{"use strict";r(75959);var n=r(65020).Object;t.exports=function(t,e){return n.create(t,e)}},16142:(t,e,r)=>{"use strict";var n=r(69705),o=r(67458),i=r(61791),a=r(9262),s=r(52884),u=TypeError,c=Object.defineProperty,f=Object.getOwnPropertyDescriptor,l="enumerable",p="configurable",d="writable";e.f=n?i?function(t,e,r){if(a(t),e=s(e),a(r),"function"==typeof t&&"prototype"===e&&"value"in r&&d in r&&!r[d]){var n=f(t,e);n&&n[d]&&(t[e]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:l in r?r[l]:n[l],writable:!1})}return c(t,e,r)}:c:function(t,e,r){if(a(t),e=s(e),a(r),o)try{return c(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},16449:(t,e,r)=>{"use strict";r(85420),r(4525),r(28378),r(65765),r(9412),r(79625),r(38798),r(22349),r(18488),r(52879);var n=r(65020);t.exports=n.Promise},16555:(t,e,r)=>{"use strict";r(39500)},16767:(t,e,r)=>{"use strict";var n=r(70428);t.exports=function(t,e,r){return r?n(t.keys(),e,!0):t.forEach(e)}},17025:(t,e,r)=>{"use strict";var n=r(63711),o=r(17758).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},17236:(t,e,r)=>{"use strict";var n=r(91947);t.exports=n},17611:(t,e,r)=>{var n=r(82699);t.exports=function(t){var e=Object(t),r=[];for(var o in e)n(r).call(r,o);return function t(){for(;r.length;)if((o=r.pop())in e)return t.value=o,t.done=!1,t;return t.done=!0,t}},t.exports.__esModule=!0,t.exports.default=t.exports},17758:t=>{"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},18302:(t,e,r)=>{"use strict";var n=r(66062),o=r(28548),i=Array.prototype;t.exports=function(t){var e=t.unshift;return t===i||n(i,t)&&e===i.unshift?o:e}},18488:(t,e,r)=>{"use strict";var n=r(96377),o=r(15514),i=r(38769),a=r(56158),s=r(48192),u=r(73024),c=r(47680),f=r(88679),l=r(29481),p=i&&i.prototype;if(n({target:"Promise",proto:!0,real:!0,forced:!!i&&a(function(){p.finally.call({then:function(){}},function(){})})},{finally:function(t){var e=c(this,s("Promise")),r=u(t);return this.then(r?function(r){return f(e,t()).then(function(){return r})}:t,r?function(r){return f(e,t()).then(function(){throw r})}:t)}}),!o&&u(i)){var d=s("Promise").prototype.finally;p.finally!==d&&l(p,"finally",d,{unsafe:!0})}},18693:(t,e,r)=>{"use strict";var n=r(77853),o=r(39815),i=r(58763),a=r(98138),s=r(70428),u=o.add,c=o.has,f=o.remove;t.exports=function(t){var e=n(this),r=a(t).getIterator(),o=i(e);return s(r,function(t){c(e,t)?f(o,t):u(o,t)}),o}},19706:(t,e,r)=>{"use strict";var n=r(96830),o=r(16142).f,i=n("metadata"),a=Function.prototype;void 0===a[i]&&o(a,i,{value:null})},19724:(t,e,r)=>{"use strict";var n=r(29481);t.exports=function(t,e,r){for(var o in e)r&&r.unsafe&&t[o]?t[o]=e[o]:n(t,o,e[o],r);return t}},19773:(t,e,r)=>{"use strict";var n=r(79924),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},20355:(t,e,r)=>{"use strict";var n=r(96377),o=r(73309);n({target:"Set",proto:!0,real:!0,forced:!r(57107)("isSubsetOf",function(t){return t})},{isSubsetOf:o})},20388:(t,e,r)=>{"use strict";r(5962);var n=r(65020);t.exports=n.Reflect.construct},20825:(t,e,r)=>{"use strict";var n=r(31298),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},21010:(t,e,r)=>{"use strict";var n=r(48731);t.exports=n},21056:(t,e,r)=>{"use strict";r(37080)("split")},21653:(t,e,r)=>{"use strict";var n=r(32209),o=r(95804),i=r(9262),a=r(38818),s=r(96198),u=r(2241),c=r(66062),f=r(41938),l=r(41198),p=r(79832),d=TypeError,h=function(t,e){this.stopped=t,this.result=e},v=h.prototype;t.exports=function(t,e,r){var m,y,g,w,b,_,x,T=r&&r.that,P=!(!r||!r.AS_ENTRIES),$=!(!r||!r.IS_RECORD),C=!(!r||!r.IS_ITERATOR),S=!(!r||!r.INTERRUPTED),k=n(e,T),A=function(t){return m&&p(m,"normal"),new h(!0,t)},j=function(t){return P?(i(t),S?k(t[0],t[1],A):k(t[0],t[1])):S?k(t,A):k(t)};if($)m=t.iterator;else if(C)m=t;else{if(!(y=l(t)))throw new d(a(t)+" is not iterable");if(s(y)){for(g=0,w=u(t);w>g;g++)if((b=j(t[g]))&&c(v,b))return b;return new h(!1)}m=f(t,y)}for(_=$?t.next:m.next;!(x=o(_,m)).done;){try{b=j(x.value)}catch(t){p(m,"throw",t)}if("object"==typeof b&&b&&c(v,b))return b}return new h(!1)}},22349:(t,e,r)=>{"use strict";var n=r(96377),o=r(33752);n({target:"Promise",stat:!0},{withResolvers:function(){var t=o.f(this);return{promise:t.promise,resolve:t.resolve,reject:t.reject}}})},22409:(t,e,r)=>{"use strict";r(5231);var n=r(22593);t.exports=n("Array","concat")},22513:(t,e,r)=>{"use strict";var n=r(48192),o=r(12973),i=n("Symbol"),a=i.keyFor,s=o(i.prototype.valueOf);t.exports=i.isRegisteredSymbol||function(t){try{return void 0!==a(s(t))}catch(t){return!1}}},22517:(t,e,r)=>{"use strict";var n=r(60344);t.exports=n},22585:function(t,e,r){t.exports=r.p+"031089e563a18ada8441.wasm"},22593:(t,e,r)=>{"use strict";var n=r(77017),o=r(65020);t.exports=function(t,e){var r=o[t+"Prototype"],i=r&&r[e];if(i)return i;var a=n[t],s=a&&a.prototype;return s&&s[e]}},23200:(t,e,r)=>{"use strict";r(40452);var n=r(65020);t.exports=n.Object.setPrototypeOf},23711:(t,e,r)=>{"use strict";var n=r(96377),o=r(48192),i=r(15514),a=r(38769),s=r(84801).CONSTRUCTOR,u=r(88679),c=o("Promise"),f=i&&!s;n({target:"Promise",stat:!0,forced:i||s},{resolve:function(t){return u(f&&this===c?a:this,t)}})},23741:(t,e,r)=>{"use strict";var n=r(1140);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},23767:(t,e,r)=>{var n=r(75617),o=r(46612),i=r(45919),a=r(67095),s=r(47059),u=r(70112);function c(){var e,r,f="function"==typeof n?n:{},l=f.iterator||"@@iterator",p=f.toStringTag||"@@toStringTag";function d(t,n,a,s){var c=n&&n.prototype instanceof v?n:v,f=o(c.prototype);return u(f,"_invoke",function(t,n,o){var a,s,u,c=0,f=o||[],l=!1,p={p:0,n:0,v:e,a:d,f:i(d).call(d,e,4),d:function(t,r){return a=t,s=0,u=e,p.n=r,h}};function d(t,n){for(s=t,u=n,r=0;!l&&c&&!o&&r<f.length;r++){var o,i=f[r],a=p.p,d=i[2];t>3?(o=d===n)&&(u=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=a&&((o=t<2&&a<i[1])?(s=0,p.v=n,p.n=i[1]):a<d&&(o=t<3||i[0]>n||n>d)&&(i[4]=t,i[5]=n,p.n=d,s=0))}if(o||t>1)return h;throw l=!0,n}return function(o,i,f){if(c>1)throw TypeError("Generator is already running");for(l&&1===i&&d(i,f),s=i,u=f;(r=s<2?e:u)||!l;){a||(s?s<3?(s>1&&(p.n=-1),d(s,u)):p.n=u:p.v=u);try{if(c=2,a){if(s||(o="next"),r=a[o]){if(!(r=r.call(a,u)))throw TypeError("iterator result is not an object");if(!r.done)return r;u=r.value,s<2&&(s=0)}else 1===s&&(r=a.return)&&r.call(a),s<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),s=1);a=e}else if((r=(l=p.n<0)?u:t.call(n,p))!==h)break}catch(t){a=e,s=1,u=t}finally{c=1}}return{value:r,done:l}}}(t,a,s),!0),f}var h={};function v(){}function m(){}function y(){}r=a;var g=[][l]?r(r([][l]())):(u(r={},l,function(){return this}),r),w=y.prototype=v.prototype=o(g);function b(t){return s?s(t,y):(t.__proto__=y,u(t,p,"GeneratorFunction")),t.prototype=o(w),t}return m.prototype=y,u(w,"constructor",y),u(y,"constructor",m),m.displayName="GeneratorFunction",u(y,p,"GeneratorFunction"),u(w),u(w,p,"Generator"),u(w,l,function(){return this}),u(w,"toString",function(){return"[object Generator]"}),(t.exports=c=function(){return{w:d,m:b}},t.exports.__esModule=!0,t.exports.default=t.exports)()}t.exports=c,t.exports.__esModule=!0,t.exports.default=t.exports},24139:(t,e,r)=>{"use strict";var n=r(10894).IteratorPrototype,o=r(50429),i=r(66231),a=r(32134),s=r(76744),u=function(){return this};t.exports=function(t,e,r,c){var f=e+" Iterator";return t.prototype=o(n,{next:i(+!c,r)}),a(t,f,!1,!0),s[f]=u,t}},24691:()=>{},25570:(t,e,r)=>{"use strict";var n,o,i,a,s,u=r(77017),c=r(51344),f=r(32209),l=r(15726).set,p=r(93908),d=r(6639),h=r(8644),v=r(77701),m=r(64184),y=u.MutationObserver||u.WebKitMutationObserver,g=u.document,w=u.process,b=u.Promise,_=c("queueMicrotask");if(!_){var x=new p,T=function(){var t,e;for(m&&(t=w.domain)&&t.exit();e=x.get();)try{e()}catch(t){throw x.head&&n(),t}t&&t.enter()};d||m||v||!y||!g?!h&&b&&b.resolve?((a=b.resolve(void 0)).constructor=b,s=f(a.then,a),n=function(){s(T)}):m?n=function(){w.nextTick(T)}:(l=f(l,u),n=function(){l(T)}):(o=!0,i=g.createTextNode(""),new y(T).observe(i,{characterData:!0}),n=function(){i.data=o=!o}),_=function(t){x.head||n(),x.add(t)}}t.exports=_},25698:t=>{t.exports=function(t,e){this.v=t,this.k=e},t.exports.__esModule=!0,t.exports.default=t.exports},25806:(t,e,r)=>{"use strict";var n=r(56158),o=r(96830),i=r(41748),a=o("species");t.exports=function(t){return i>=51||!n(function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo})}},26153:t=>{"use strict";t.exports=function(t){return t.size}},26242:(t,e,r)=>{"use strict";var n=r(77017),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},26406:(t,e,r)=>{"use strict";var n=r(12973),o=r(78248),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},26419:(t,e,r)=>{var n=r(49201);t.exports=function(t,e,r,o,i){var a=n(t,e,r,o,i);return a.next().then(function(t){return t.done?t.value:a.next()})},t.exports.__esModule=!0,t.exports.default=t.exports},26455:(t,e,r)=>{"use strict";var n=r(96377),o=r(37161),i=r(41416);n({target:"Set",proto:!0,real:!0,forced:!r(57107)("union")||!i("union")},{union:o})},26741:(t,e,r)=>{"use strict";var n=r(62726);t.exports=n},26783:(t,e,r)=>{"use strict";var n=r(61813),o=r(12973);t.exports=function(t){if("Function"===n(t))return o(t)}},27789:(t,e,r)=>{"use strict";r(37080)("replaceAll")},27932:(t,e,r)=>{"use strict";var n=r(91918),o=r(88733),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},28011:(t,e,r)=>{"use strict";var n=r(61813);t.exports=Array.isArray||function(t){return"Array"===n(t)}},28378:()=>{},28548:(t,e,r)=>{"use strict";r(83202);var n=r(22593);t.exports=n("Array","unshift")},28638:(t,e,r)=>{"use strict";var n=r(95804),o=r(59371),i=r(54252),a=r(91981),s=r(48771),u=r(96830),c=TypeError,f=u("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,u=a(t,f);if(u){if(void 0===e&&(e="default"),r=n(u,t,e),!o(r)||i(r))return r;throw new c("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},28930:(t,e,r)=>{"use strict";var n=r(70867);t.exports=n},29064:(t,e,r)=>{"use strict";var n=r(76741),o=TypeError;t.exports=function(t){if(n(t))throw new o("The method doesn't accept regular expressions");return t}},29349:(t,e,r)=>{"use strict";var n={};n[r(96830)("toStringTag")]="z",t.exports="[object z]"===String(n)},29481:(t,e,r)=>{"use strict";var n=r(3236);t.exports=function(t,e,r,o){return o&&o.enumerable?t[e]=r:n(t,e,r),t}},29587:(t,e,r)=>{"use strict";var n=r(56158);t.exports=!n(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},29741:(t,e,r)=>{"use strict";r(96377)({target:"Symbol",stat:!0},{isRegisteredSymbol:r(22513)})},29832:(t,e,r)=>{"use strict";var n=r(12973),o=r(45124),i=r(82998),a=r(20825),s=n("".charAt),u=n("".charCodeAt),c=n("".slice),f=function(t){return function(e,r){var n,f,l=i(a(e)),p=o(r),d=l.length;return p<0||p>=d?t?"":void 0:(n=u(l,p))<55296||n>56319||p+1===d||(f=u(l,p+1))<56320||f>57343?t?s(l,p):n:t?c(l,p,p+2):f-56320+(n-55296<<10)+65536}};t.exports={codeAt:f(!1),charAt:f(!0)}},30094:t=>{"use strict";t.exports=function(t){return{iterator:t,next:t.next,done:!1}}},31298:t=>{"use strict";t.exports=function(t){return null==t}},31439:(t,e,r)=>{"use strict";var n=r(48542);t.exports=n},32134:(t,e,r)=>{"use strict";var n=r(29349),o=r(16142).f,i=r(3236),a=r(26406),s=r(10712),u=r(96830)("toStringTag");t.exports=function(t,e,r,c){var f=r?t:t&&t.prototype;f&&(a(f,u)||o(f,u,{configurable:!0,value:e}),c&&!n&&i(f,"toString",s))}},32209:(t,e,r)=>{"use strict";var n=r(26783),o=r(39789),i=r(29587),a=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?a(t,e):function(){return t.apply(e,arguments)}}},32905:(t,e,r)=>{"use strict";var n=r(96377),o=r(6087);n({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o})},33097:(t,e,r)=>{"use strict";var n=r(97900);r(14614),t.exports=n},33418:(t,e,r)=>{"use strict";var n=r(66072);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},33722:(t,e,r)=>{"use strict";var n=r(3236),o=r(58032),i=r(4602),a=Error.captureStackTrace;t.exports=function(t,e,r,s){i&&(a?a(t,e):n(t,"stack",o(r,s)))}},33726:(t,e,r)=>{"use strict";var n=r(77017);r(32134)(n.JSON,"JSON",!0)},33749:(t,e,r)=>{"use strict";var n=r(1140);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},33752:(t,e,r)=>{"use strict";var n=r(39789),o=TypeError,i=function(t){var e,r;this.promise=new t(function(t,n){if(void 0!==e||void 0!==r)throw new o("Bad Promise constructor");e=t,r=n}),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new i(t)}},33893:(t,e,r)=>{"use strict";t.exports=r(64259)},33964:(t,e,r)=>{"use strict";var n=r(48192),o=r(12973),i=r(17025),a=r(54768),s=r(9262),u=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(s(t)),r=a.f;return r?u(e,r(t)):e}},34776:(t,e,r)=>{"use strict";var n,o=r(96377),i=r(26783),a=r(8028).f,s=r(52647),u=r(82998),c=r(29064),f=r(20825),l=r(4629),p=r(15514),d=i("".slice),h=Math.min,v=l("endsWith");o({target:"String",proto:!0,forced:!!(p||v||(n=a(String.prototype,"endsWith"),!n||n.writable))&&!v},{endsWith:function(t){var e=u(f(this));c(t);var r=arguments.length>1?arguments[1]:void 0,n=e.length,o=void 0===r?n:h(s(r),n),i=u(t);return d(e,o-i.length,o)===i}})},34894:(t,e,r)=>{"use strict";r(54939)("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},r(81563))},35077:(t,e,r)=>{"use strict";var n=r(96377),o=r(73250).start;n({target:"String",proto:!0,forced:r(72554)},{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},35416:(t,e,r)=>{"use strict";var n=r(60677);t.exports=n},36458:(t,e,r)=>{"use strict";var n=r(12429);t.exports=n},36804:(t,e,r)=>{"use strict";var n=r(96377),o=r(49076);n({target:"Set",proto:!0,real:!0,forced:!r(57107)("isSupersetOf",function(t){return!t})},{isSupersetOf:o})},36879:(t,e,r)=>{"use strict";r(48595);var n=r(7822);t.exports=n.f("asyncIterator")},36983:function(t,e){var r,n=(r="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,"undefined"!=typeof __filename&&(r=r||__filename),function(t){var e,n,o=void 0!==(t=t||{})?t:{};o.ready=new Promise(function(t,r){e=t,n=r});var i,a,s,u=Object.assign({},o),c=[],f="./this.program",l=(t,e)=>{throw e},p="object"==typeof window,d="function"==typeof importScripts,h="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,v="";if(h){var m=require("fs"),y=require("path");v=d?y.dirname(v)+"/":__dirname+"/",i=(t,e)=>(t=Z(t)?new URL(t):y.normalize(t),m.readFileSync(t,e?void 0:"utf8")),s=t=>{var e=i(t,!0);return e.buffer||(e=new Uint8Array(e)),e},a=(t,e,r)=>{t=Z(t)?new URL(t):y.normalize(t),m.readFile(t,function(t,n){t?r(t):e(n.buffer)})},process.argv.length>1&&(f=process.argv[1].replace(/\\/g,"/")),c=process.argv.slice(2),process.on("uncaughtException",function(t){if(!(t instanceof tt))throw t}),process.on("unhandledRejection",function(t){throw t}),l=(t,e)=>{if(B())throw process.exitCode=t,e;var r;(r=e)instanceof tt||b("exiting due to exception: "+r),process.exit(t)},o.inspect=function(){return"[Emscripten Module object]"}}else(p||d)&&(d?v=self.location.href:"undefined"!=typeof document&&document.currentScript&&(v=document.currentScript.src),r&&(v=r),v=0!==v.indexOf("blob:")?v.substr(0,v.replace(/[?#].*/,"").lastIndexOf("/")+1):"",i=t=>{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText},d&&(s=t=>{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),a=(t,e,r)=>{var n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="arraybuffer",n.onload=()=>{200==n.status||0==n.status&&n.response?e(n.response):r()},n.onerror=r,n.send(null)});var g,w=o.print||console.log.bind(console),b=o.printErr||console.warn.bind(console);Object.assign(o,u),u=null,o.arguments&&(c=o.arguments),o.thisProgram&&(f=o.thisProgram),o.quit&&(l=o.quit),o.wasmBinary&&(g=o.wasmBinary);var _,x=o.noExitRuntime||!0;"object"!=typeof WebAssembly&&K("no native wasm support detected");var T,P,$,C,S,k,A,j,E,O=!1,F="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function R(t,e,r){for(var n=e+r,o=e;t[o]&&!(o>=n);)++o;if(o-e>16&&t.buffer&&F)return F.decode(t.subarray(e,o));for(var i="";e<o;){var a=t[e++];if(128&a){var s=63&t[e++];if(192!=(224&a)){var u=63&t[e++];if((a=224==(240&a)?(15&a)<<12|s<<6|u:(7&a)<<18|s<<12|u<<6|63&t[e++])<65536)i+=String.fromCharCode(a);else{var c=a-65536;i+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else i+=String.fromCharCode((31&a)<<6|s)}else i+=String.fromCharCode(a)}return i}function W(t,e){return t?R($,t,e):""}function D(t,e,r){return function(t,e,r,n){if(!(n>0))return 0;for(var o=r,i=r+n-1,a=0;a<t.length;++a){var s=t.charCodeAt(a);if(s>=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&t.charCodeAt(++a)),s<=127){if(r>=i)break;e[r++]=s}else if(s<=2047){if(r+1>=i)break;e[r++]=192|s>>6,e[r++]=128|63&s}else if(s<=65535){if(r+2>=i)break;e[r++]=224|s>>12,e[r++]=128|s>>6&63,e[r++]=128|63&s}else{if(r+3>=i)break;e[r++]=240|s>>18,e[r++]=128|s>>12&63,e[r++]=128|s>>6&63,e[r++]=128|63&s}}return e[r]=0,r-o}(t,$,e,r)}function I(t){T=t,o.HEAP8=P=new Int8Array(t),o.HEAP16=C=new Int16Array(t),o.HEAP32=k=new Int32Array(t),o.HEAPU8=$=new Uint8Array(t),o.HEAPU16=S=new Uint16Array(t),o.HEAPU32=A=new Uint32Array(t),o.HEAPF32=j=new Float32Array(t),o.HEAPF64=E=new Float64Array(t)}o.INITIAL_MEMORY;var U,M=[],q=[],z=[];function B(){return x}function N(t){M.unshift(t)}function V(t){z.unshift(t)}var H,L,G=0,J=null,X=null;function K(t){o.onAbort&&o.onAbort(t),b(t="Aborted("+t+")"),O=!0,t+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(t);throw n(e),e}function Y(t){return t.startsWith("data:application/octet-stream;base64,")}function Z(t){return t.startsWith("file://")}function Q(t){try{if(t==H&&g)return new Uint8Array(g);if(s)return s(t);throw"both async and sync fetching of the wasm failed"}catch(t){K(t)}}function tt(t){this.name="ExitStatus",this.message="Program terminated with exit("+t+")",this.status=t}function et(t){for(;t.length>0;)t.shift()(o)}function rt(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_refcount=function(t){k[this.ptr>>2]=t},this.set_caught=function(t){t=t?1:0,P[this.ptr+12|0]=t},this.get_caught=function(){return 0!=P[this.ptr+12|0]},this.set_rethrown=function(t){t=t?1:0,P[this.ptr+13|0]=t},this.get_rethrown=function(){return 0!=P[this.ptr+13|0]},this.init=function(t,e){this.set_adjusted_ptr(0),this.set_type(t),this.set_destructor(e),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){var t=k[this.ptr>>2];k[this.ptr>>2]=t+1},this.release_ref=function(){var t=k[this.ptr>>2];return k[this.ptr>>2]=t-1,1===t},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(Ve(this.get_type()))return A[this.excPtr>>2];var t=this.get_adjusted_ptr();return 0!==t?t:this.excPtr}}Y(H="libjpegturbowasm_decode.wasm")||(L=H,H=o.locateFile?o.locateFile(L,v):v+L);var nt={};function ot(t){for(;t.length;){var e=t.pop();t.pop()(e)}}function it(t){return this.fromWireType(k[t>>2])}var at={},st={},ut={};function ct(t){if(void 0===t)return"_unknown";var e=(t=t.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return e>=48&&e<=57?"_"+t:t}function ft(t,e){return t=ct(t),new Function("body","return function "+t+'() {\n "use strict"; return body.apply(this, arguments);\n};\n')(e)}function lt(t,e){var r=ft(e,function(t){this.name=e,this.message=t;var r=new Error(t).stack;void 0!==r&&(this.stack=this.toString()+"\n"+r.replace(/^Error(:[^\n]*)?\n/,""))});return r.prototype=Object.create(t.prototype),r.prototype.constructor=r,r.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message},r}var pt=void 0;function dt(t){throw new pt(t)}function ht(t,e,r){function n(e){var n=r(e);n.length!==t.length&&dt("Mismatched type converter count");for(var o=0;o<t.length;++o)bt(t[o],n[o])}t.forEach(function(t){ut[t]=e});var o=new Array(e.length),i=[],a=0;e.forEach((t,e)=>{st.hasOwnProperty(t)?o[e]=st[t]:(i.push(t),at.hasOwnProperty(t)||(at[t]=[]),at[t].push(()=>{o[e]=st[t],++a===i.length&&n(o)}))}),0===i.length&&n(o)}function vt(t){switch(t){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+t)}}var mt=void 0;function yt(t){for(var e="",r=t;$[r];)e+=mt[$[r++]];return e}var gt=void 0;function wt(t){throw new gt(t)}function bt(t,e,r={}){if(!("argPackAdvance"in e))throw new TypeError("registerType registeredInstance requires argPackAdvance");var n=e.name;if(t||wt('type "'+n+'" must have a positive integer typeid pointer'),st.hasOwnProperty(t)){if(r.ignoreDuplicateRegistrations)return;wt("Cannot register type '"+n+"' twice")}if(st[t]=e,delete ut[t],at.hasOwnProperty(t)){var o=at[t];delete at[t],o.forEach(t=>t())}}function _t(t){if(!(this instanceof Nt))return!1;if(!(t instanceof Nt))return!1;for(var e=this.$$.ptrType.registeredClass,r=this.$$.ptr,n=t.$$.ptrType.registeredClass,o=t.$$.ptr;e.baseClass;)r=e.upcast(r),e=e.baseClass;for(;n.baseClass;)o=n.upcast(o),n=n.baseClass;return e===n&&r===o}function xt(t){wt(t.$$.ptrType.registeredClass.name+" instance already deleted")}var Tt=!1;function Pt(t){}function $t(t){t.count.value-=1,0===t.count.value&&function(t){t.smartPtr?t.smartPtrType.rawDestructor(t.smartPtr):t.ptrType.registeredClass.rawDestructor(t.ptr)}(t)}function Ct(t,e,r){if(e===r)return t;if(void 0===r.baseClass)return null;var n=Ct(t,e,r.baseClass);return null===n?null:r.downcast(n)}var St={};function kt(){return Object.keys(Rt).length}function At(){var t=[];for(var e in Rt)Rt.hasOwnProperty(e)&&t.push(Rt[e]);return t}var jt=[];function Et(){for(;jt.length;){var t=jt.pop();t.$$.deleteScheduled=!1,t.delete()}}var Ot=void 0;function Ft(t){Ot=t,jt.length&&Ot&&Ot(Et)}var Rt={};function Wt(t,e){return e=function(t,e){for(void 0===e&&wt("ptr should not be undefined");t.baseClass;)e=t.upcast(e),t=t.baseClass;return e}(t,e),Rt[e]}function Dt(t,e){return e.ptrType&&e.ptr||dt("makeClassHandle requires ptr and ptrType"),!!e.smartPtrType!=!!e.smartPtr&&dt("Both smartPtrType and smartPtr must be specified"),e.count={value:1},Ut(Object.create(t,{$$:{value:e}}))}function It(t){var e=this.getPointee(t);if(!e)return this.destructor(t),null;var r=Wt(this.registeredClass,e);if(void 0!==r){if(0===r.$$.count.value)return r.$$.ptr=e,r.$$.smartPtr=t,r.clone();var n=r.clone();return this.destructor(t),n}function o(){return this.isSmartPointer?Dt(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:e,smartPtrType:this,smartPtr:t}):Dt(this.registeredClass.instancePrototype,{ptrType:this,ptr:t})}var i,a=this.registeredClass.getActualType(e),s=St[a];if(!s)return o.call(this);i=this.isConst?s.constPointerType:s.pointerType;var u=Ct(e,this.registeredClass,i.registeredClass);return null===u?o.call(this):this.isSmartPointer?Dt(i.registeredClass.instancePrototype,{ptrType:i,ptr:u,smartPtrType:this,smartPtr:t}):Dt(i.registeredClass.instancePrototype,{ptrType:i,ptr:u})}function Ut(t){return"undefined"==typeof FinalizationRegistry?(Ut=t=>t,t):(Tt=new FinalizationRegistry(t=>{$t(t.$$)}),Ut=t=>{var e=t.$$;if(e.smartPtr){var r={$$:e};Tt.register(t,r,t)}return t},Pt=t=>Tt.unregister(t),Ut(t))}function Mt(){if(this.$$.ptr||xt(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var t,e=Ut(Object.create(Object.getPrototypeOf(this),{$$:{value:(t=this.$$,{count:t.count,deleteScheduled:t.deleteScheduled,preservePointerOnDelete:t.preservePointerOnDelete,ptr:t.ptr,ptrType:t.ptrType,smartPtr:t.smartPtr,smartPtrType:t.smartPtrType})}}));return e.$$.count.value+=1,e.$$.deleteScheduled=!1,e}function qt(){this.$$.ptr||xt(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&wt("Object already scheduled for deletion"),Pt(this),$t(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)}function zt(){return!this.$$.ptr}function Bt(){return this.$$.ptr||xt(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&wt("Object already scheduled for deletion"),jt.push(this),1===jt.length&&Ot&&Ot(Et),this.$$.deleteScheduled=!0,this}function Nt(){}function Vt(t,e,r){if(void 0===t[e].overloadTable){var n=t[e];t[e]=function(){return t[e].overloadTable.hasOwnProperty(arguments.length)||wt("Function '"+r+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+t[e].overloadTable+")!"),t[e].overloadTable[arguments.length].apply(this,arguments)},t[e].overloadTable=[],t[e].overloadTable[n.argCount]=n}}function Ht(t,e,r,n,o,i,a,s){this.name=t,this.constructor=e,this.instancePrototype=r,this.rawDestructor=n,this.baseClass=o,this.getActualType=i,this.upcast=a,this.downcast=s,this.pureVirtualFunctions=[]}function Lt(t,e,r){for(;e!==r;)e.upcast||wt("Expected null or instance of "+r.name+", got an instance of "+e.name),t=e.upcast(t),e=e.baseClass;return t}function Gt(t,e){if(null===e)return this.isReference&&wt("null is not a valid "+this.name),0;e.$$||wt('Cannot pass "'+ve(e)+'" as a '+this.name),e.$$.ptr||wt("Cannot pass deleted object as a pointer of type "+this.name);var r=e.$$.ptrType.registeredClass;return Lt(e.$$.ptr,r,this.registeredClass)}function Jt(t,e){var r;if(null===e)return this.isReference&&wt("null is not a valid "+this.name),this.isSmartPointer?(r=this.rawConstructor(),null!==t&&t.push(this.rawDestructor,r),r):0;e.$$||wt('Cannot pass "'+ve(e)+'" as a '+this.name),e.$$.ptr||wt("Cannot pass deleted object as a pointer of type "+this.name),!this.isConst&&e.$$.ptrType.isConst&&wt("Cannot convert argument of type "+(e.$$.smartPtrType?e.$$.smartPtrType.name:e.$$.ptrType.name)+" to parameter type "+this.name);var n=e.$$.ptrType.registeredClass;if(r=Lt(e.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(void 0===e.$$.smartPtr&&wt("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:e.$$.smartPtrType===this?r=e.$$.smartPtr:wt("Cannot convert argument of type "+(e.$$.smartPtrType?e.$$.smartPtrType.name:e.$$.ptrType.name)+" to parameter type "+this.name);break;case 1:r=e.$$.smartPtr;break;case 2:if(e.$$.smartPtrType===this)r=e.$$.smartPtr;else{var o=e.clone();r=this.rawShare(r,he.toHandle(function(){o.delete()})),null!==t&&t.push(this.rawDestructor,r)}break;default:wt("Unsupporting sharing policy")}return r}function Xt(t,e){if(null===e)return this.isReference&&wt("null is not a valid "+this.name),0;e.$$||wt('Cannot pass "'+ve(e)+'" as a '+this.name),e.$$.ptr||wt("Cannot pass deleted object as a pointer of type "+this.name),e.$$.ptrType.isConst&&wt("Cannot convert argument of type "+e.$$.ptrType.name+" to parameter type "+this.name);var r=e.$$.ptrType.registeredClass;return Lt(e.$$.ptr,r,this.registeredClass)}function Kt(t){return this.rawGetPointee&&(t=this.rawGetPointee(t)),t}function Yt(t){this.rawDestructor&&this.rawDestructor(t)}function Zt(t){null!==t&&t.delete()}function Qt(t,e,r,n,o,i,a,s,u,c,f){this.name=t,this.registeredClass=e,this.isReference=r,this.isConst=n,this.isSmartPointer=o,this.pointeeType=i,this.sharingPolicy=a,this.rawGetPointee=s,this.rawConstructor=u,this.rawShare=c,this.rawDestructor=f,o||void 0!==e.baseClass?this.toWireType=Jt:n?(this.toWireType=Gt,this.destructorFunction=null):(this.toWireType=Xt,this.destructorFunction=null)}var te=[];function ee(t){var e=te[t];return e||(t>=te.length&&(te.length=t+1),te[t]=e=U.get(t)),e}function re(t,e,r){return t.includes("j")?function(t,e,r){var n=o["dynCall_"+t];return r&&r.length?n.apply(null,[e].concat(r)):n.call(null,e)}(t,e,r):ee(e).apply(null,r)}function ne(t,e){var r,n,o,i=(t=yt(t)).includes("j")?(r=t,n=e,o=[],function(){return o.length=0,Object.assign(o,arguments),re(r,n,o)}):ee(e);return"function"!=typeof i&&wt("unknown function pointer with signature "+t+": "+e),i}var oe=void 0;function ie(t){var e=Me(t),r=yt(e);return Ue(e),r}function ae(t,e){var r=[],n={};throw e.forEach(function t(e){n[e]||st[e]||(ut[e]?ut[e].forEach(t):(r.push(e),n[e]=!0))}),new oe(t+": "+r.map(ie).join([", "]))}function se(t,e){for(var r=[],n=0;n<t;n++)r.push(A[e+4*n>>2]);return r}function ue(t,e,r,n,o){var i=e.length;i<2&&wt("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var a=null!==e[1]&&null!==r,s=!1,u=1;u<e.length;++u)if(null!==e[u]&&void 0===e[u].destructorFunction){s=!0;break}var c="void"!==e[0].name,f="",l="";for(u=0;u<i-2;++u)f+=(0!==u?", ":"")+"arg"+u,l+=(0!==u?", ":"")+"arg"+u+"Wired";var p="return function "+ct(t)+"("+f+") {\nif (arguments.length !== "+(i-2)+") {\nthrowBindingError('function "+t+" called with ' + arguments.length + ' arguments, expected "+(i-2)+" args!');\n}\n";s&&(p+="var destructors = [];\n");var d=s?"destructors":"null",h=["throwBindingError","invoker","fn","runDestructors","retType","classParam"],v=[wt,n,o,ot,e[0],e[1]];for(a&&(p+="var thisWired = classParam.toWireType("+d+", this);\n"),u=0;u<i-2;++u)p+="var arg"+u+"Wired = argType"+u+".toWireType("+d+", arg"+u+"); // "+e[u+2].name+"\n",h.push("argType"+u),v.push(e[u+2]);if(a&&(l="thisWired"+(l.length>0?", ":"")+l),p+=(c?"var rv = ":"")+"invoker(fn"+(l.length>0?", ":"")+l+");\n",s)p+="runDestructors(destructors);\n";else for(u=a?1:2;u<e.length;++u){var m=1===u?"thisWired":"arg"+(u-2)+"Wired";null!==e[u].destructorFunction&&(p+=m+"_dtor("+m+"); // "+e[u].name+"\n",h.push(m+"_dtor"),v.push(e[u].destructorFunction))}return c&&(p+="var ret = retType.fromWireType(rv);\nreturn ret;\n"),p+="}\n",h.push(p),function(t,e){if(!(t instanceof Function))throw new TypeError("new_ called with constructor type "+typeof t+" which is not a function");var r=ft(t.name||"unknownFunctionName",function(){});r.prototype=t.prototype;var n=new r,o=t.apply(n,e);return o instanceof Object?o:n}(Function,h).apply(null,v)}var ce=[],fe=[{},{value:void 0},{value:null},{value:!0},{value:!1}];function le(t){t>4&&0===--fe[t].refcount&&(fe[t]=void 0,ce.push(t))}function pe(){for(var t=0,e=5;e<fe.length;++e)void 0!==fe[e]&&++t;return t}function de(){for(var t=5;t<fe.length;++t)if(void 0!==fe[t])return fe[t];return null}var he={toValue:t=>(t||wt("Cannot use deleted val. handle = "+t),fe[t].value),toHandle:t=>{switch(t){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:var e=ce.length?ce.pop():fe.length;return fe[e]={refcount:1,value:t},e}}};function ve(t){if(null===t)return"null";var e=typeof t;return"object"===e||"array"===e||"function"===e?t.toString():""+t}function me(t,e){switch(e){case 2:return function(t){return this.fromWireType(j[t>>2])};case 3:return function(t){return this.fromWireType(E[t>>3])};default:throw new TypeError("Unknown float type: "+t)}}function ye(t,e,r){switch(e){case 0:return r?function(t){return P[t]}:function(t){return $[t]};case 1:return r?function(t){return C[t>>1]}:function(t){return S[t>>1]};case 2:return r?function(t){return k[t>>2]}:function(t){return A[t>>2]};default:throw new TypeError("Unknown integer type: "+t)}}var ge="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0;function we(t,e){for(var r=t,n=r>>1,o=n+e/2;!(n>=o)&&S[n];)++n;if((r=n<<1)-t>32&&ge)return ge.decode($.subarray(t,r));for(var i="",a=0;!(a>=e/2);++a){var s=C[t+2*a>>1];if(0==s)break;i+=String.fromCharCode(s)}return i}function be(t,e,r){if(void 0===r&&(r=2147483647),r<2)return 0;for(var n=e,o=(r-=2)<2*t.length?r/2:t.length,i=0;i<o;++i){var a=t.charCodeAt(i);C[e>>1]=a,e+=2}return C[e>>1]=0,e-n}function _e(t){return 2*t.length}function xe(t,e){for(var r=0,n="";!(r>=e/4);){var o=k[t+4*r>>2];if(0==o)break;if(++r,o>=65536){var i=o-65536;n+=String.fromCharCode(55296|i>>10,56320|1023&i)}else n+=String.fromCharCode(o)}return n}function Te(t,e,r){if(void 0===r&&(r=2147483647),r<4)return 0;for(var n=e,o=n+r-4,i=0;i<t.length;++i){var a=t.charCodeAt(i);if(a>=55296&&a<=57343&&(a=65536+((1023&a)<<10)|1023&t.charCodeAt(++i)),k[e>>2]=a,(e+=4)+4>o)break}return k[e>>2]=0,e-n}function Pe(t){for(var e=0,r=0;r<t.length;++r){var n=t.charCodeAt(r);n>=55296&&n<=57343&&++r,e+=4}return e}var $e={};function Ce(){return"object"==typeof globalThis?globalThis:Function("return this")()}function Se(t,e){var r=st[t];return void 0===r&&wt(e+" has unknown type "+ie(t)),r}var ke={};function Ae(t){try{return _.grow(t-T.byteLength+65535>>>16),I(_.buffer),1}catch(t){}}var je={};function Ee(){if(!Ee.strings){var t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:f||"./this.program"};for(var e in je)void 0===je[e]?delete t[e]:t[e]=je[e];var r=[];for(var e in t)r.push(e+"="+t[e]);Ee.strings=r}return Ee.strings}var Oe=function(t,e){var r;r=t,B()||(o.onExit&&o.onExit(r),O=!0),l(r,new tt(r))},Fe=[null,[],[]];function Re(t,e){var r=Fe[t];0===e||10===e?((1===t?w:b)(R(r,0)),r.length=0):r.push(e)}pt=o.InternalError=lt(Error,"InternalError"),function(){for(var t=new Array(256),e=0;e<256;++e)t[e]=String.fromCharCode(e);mt=t}(),gt=o.BindingError=lt(Error,"BindingError"),Nt.prototype.isAliasOf=_t,Nt.prototype.clone=Mt,Nt.prototype.delete=qt,Nt.prototype.isDeleted=zt,Nt.prototype.deleteLater=Bt,o.getInheritedInstanceCount=kt,o.getLiveInheritedInstances=At,o.flushPendingDeletes=Et,o.setDelayFunction=Ft,Qt.prototype.getPointee=Kt,Qt.prototype.destructor=Yt,Qt.prototype.argPackAdvance=8,Qt.prototype.readValueFromPointer=it,Qt.prototype.deleteObject=Zt,Qt.prototype.fromWireType=It,oe=o.UnboundTypeError=lt(Error,"UnboundTypeError"),o.count_emval_handles=pe,o.get_first_emval=de;var We,De={g:function(t,e,r){throw new rt(t).init(e,r),t},A:function(t){var e=nt[t];delete nt[t];var r=e.rawConstructor,n=e.rawDestructor,o=e.fields;ht([t],o.map(t=>t.getterReturnType).concat(o.map(t=>t.setterArgumentType)),t=>{var i={};return o.forEach((e,r)=>{var n=e.fieldName,a=t[r],s=e.getter,u=e.getterContext,c=t[r+o.length],f=e.setter,l=e.setterContext;i[n]={read:t=>a.fromWireType(s(u,t)),write:(t,e)=>{var r=[];f(l,t,c.toWireType(r,e)),ot(r)}}}),[{name:e.name,fromWireType:function(t){var e={};for(var r in i)e[r]=i[r].read(t);return n(t),e},toWireType:function(t,e){for(var o in i)if(!(o in e))throw new TypeError('Missing field: "'+o+'"');var a=r();for(o in i)i[o].write(a,e[o]);return null!==t&&t.push(n,a),a},argPackAdvance:8,readValueFromPointer:it,destructorFunction:n}]})},w:function(t,e,r,n,o){},F:function(t,e,r,n,o){var i=vt(r);bt(t,{name:e=yt(e),fromWireType:function(t){return!!t},toWireType:function(t,e){return e?n:o},argPackAdvance:8,readValueFromPointer:function(t){var n;if(1===r)n=P;else if(2===r)n=C;else{if(4!==r)throw new TypeError("Unknown boolean type size: "+e);n=k}return this.fromWireType(n[t>>i])},destructorFunction:null})},u:function(t,e,r,n,i,a,s,u,c,f,l,p,d){l=yt(l),a=ne(i,a),u&&(u=ne(s,u)),f&&(f=ne(c,f)),d=ne(p,d);var h=ct(l);!function(t,e,r){o.hasOwnProperty(t)?((void 0===r||void 0!==o[t].overloadTable&&void 0!==o[t].overloadTable[r])&&wt("Cannot register public name '"+t+"' twice"),Vt(o,t,t),o.hasOwnProperty(r)&&wt("Cannot register multiple overloads of a function with the same number of arguments ("+r+")!"),o[t].overloadTable[r]=e):(o[t]=e,void 0!==r&&(o[t].numArguments=r))}(h,function(){ae("Cannot construct "+l+" due to unbound types",[n])}),ht([t,e,r],n?[n]:[],function(e){var r,i;e=e[0],i=n?(r=e.registeredClass).instancePrototype:Nt.prototype;var s=ft(h,function(){if(Object.getPrototypeOf(this)!==c)throw new gt("Use 'new' to construct "+l);if(void 0===p.constructor_body)throw new gt(l+" has no accessible constructor");var t=p.constructor_body[arguments.length];if(void 0===t)throw new gt("Tried to invoke ctor of "+l+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(p.constructor_body).toString()+") parameters instead!");return t.apply(this,arguments)}),c=Object.create(i,{constructor:{value:s}});s.prototype=c;var p=new Ht(l,s,c,d,r,a,u,f),v=new Qt(l,p,!0,!1,!1),m=new Qt(l+"*",p,!1,!1,!1),y=new Qt(l+" const*",p,!1,!0,!1);return St[t]={pointerType:m,constPointerType:y},function(t,e,r){o.hasOwnProperty(t)||dt("Replacing nonexistant public symbol"),void 0!==o[t].overloadTable&&void 0!==r?o[t].overloadTable[r]=e:(o[t]=e,o[t].argCount=r)}(h,s),[v,m,y]})},t:function(t,e,r,n,o,i){var a;e>0||K(a);var s=se(e,r);o=ne(n,o),ht([],[t],function(t){var r="constructor "+(t=t[0]).name;if(void 0===t.registeredClass.constructor_body&&(t.registeredClass.constructor_body=[]),void 0!==t.registeredClass.constructor_body[e-1])throw new gt("Cannot register multiple constructors with identical number of parameters ("+(e-1)+") for class '"+t.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return t.registeredClass.constructor_body[e-1]=()=>{ae("Cannot construct "+t.name+" due to unbound types",s)},ht([],s,function(n){return n.splice(1,0,null),t.registeredClass.constructor_body[e-1]=ue(r,n,null,o,i),[]}),[]})},c:function(t,e,r,n,o,i,a,s){var u=se(r,n);e=yt(e),i=ne(o,i),ht([],[t],function(t){var n=(t=t[0]).name+"."+e;function o(){ae("Cannot call "+n+" due to unbound types",u)}e.startsWith("@@")&&(e=Symbol[e.substring(2)]),s&&t.registeredClass.pureVirtualFunctions.push(e);var c=t.registeredClass.instancePrototype,f=c[e];return void 0===f||void 0===f.overloadTable&&f.className!==t.name&&f.argCount===r-2?(o.argCount=r-2,o.className=t.name,c[e]=o):(Vt(c,e,n),c[e].overloadTable[r-2]=o),ht([],u,function(o){var s=ue(n,o,t,i,a);return void 0===c[e].overloadTable?(s.argCount=r-2,c[e]=s):c[e].overloadTable[r-2]=s,[]}),[]})},E:function(t,e){bt(t,{name:e=yt(e),fromWireType:function(t){var e=he.toValue(t);return le(t),e},toWireType:function(t,e){return he.toHandle(e)},argPackAdvance:8,readValueFromPointer:it,destructorFunction:null})},m:function(t,e,r){var n=vt(r);bt(t,{name:e=yt(e),fromWireType:function(t){return t},toWireType:function(t,e){return e},argPackAdvance:8,readValueFromPointer:me(e,n),destructorFunction:null})},b:function(t,e,r,n,o){e=yt(e),-1===o&&(o=4294967295);var i=vt(r),a=t=>t;if(0===n){var s=32-8*r;a=t=>t<<s>>>s}var u=e.includes("unsigned");bt(t,{name:e,fromWireType:a,toWireType:u?function(t,e){return this.name,e>>>0}:function(t,e){return this.name,e},argPackAdvance:8,readValueFromPointer:ye(e,i,0!==n),destructorFunction:null})},a:function(t,e,r){var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][e];function o(t){var e=A,r=e[t>>=2],o=e[t+1];return new n(T,o,r)}bt(t,{name:r=yt(r),fromWireType:o,argPackAdvance:8,readValueFromPointer:o},{ignoreDuplicateRegistrations:!0})},l:function(t,e){var r="std::string"===(e=yt(e));bt(t,{name:e,fromWireType:function(t){var e,n=A[t>>2],o=t+4;if(r)for(var i=o,a=0;a<=n;++a){var s=o+a;if(a==n||0==$[s]){var u=W(i,s-i);void 0===e?e=u:(e+=String.fromCharCode(0),e+=u),i=s+1}}else{var c=new Array(n);for(a=0;a<n;++a)c[a]=String.fromCharCode($[o+a]);e=c.join("")}return Ue(t),e},toWireType:function(t,e){var n;e instanceof ArrayBuffer&&(e=new Uint8Array(e));var o="string"==typeof e;o||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Int8Array||wt("Cannot pass non-string to std::string"),n=r&&o?function(t){for(var e=0,r=0;r<t.length;++r){var n=t.charCodeAt(r);n<=127?e++:n<=2047?e+=2:n>=55296&&n<=57343?(e+=4,++r):e+=3}return e}(e):e.length;var i=Ie(4+n+1),a=i+4;if(A[i>>2]=n,r&&o)D(e,a,n+1);else if(o)for(var s=0;s<n;++s){var u=e.charCodeAt(s);u>255&&(Ue(a),wt("String has UTF-16 code units that do not fit in 8 bits")),$[a+s]=u}else for(s=0;s<n;++s)$[a+s]=e[s];return null!==t&&t.push(Ue,i),i},argPackAdvance:8,readValueFromPointer:it,destructorFunction:function(t){Ue(t)}})},h:function(t,e,r){var n,o,i,a,s;r=yt(r),2===e?(n=we,o=be,a=_e,i=()=>S,s=1):4===e&&(n=xe,o=Te,a=Pe,i=()=>A,s=2),bt(t,{name:r,fromWireType:function(t){for(var r,o=A[t>>2],a=i(),u=t+4,c=0;c<=o;++c){var f=t+4+c*e;if(c==o||0==a[f>>s]){var l=n(u,f-u);void 0===r?r=l:(r+=String.fromCharCode(0),r+=l),u=f+e}}return Ue(t),r},toWireType:function(t,n){"string"!=typeof n&&wt("Cannot pass non-string to C++ string type "+r);var i=a(n),u=Ie(4+i+e);return A[u>>2]=i>>s,o(n,u+4,i+e),null!==t&&t.push(Ue,u),u},argPackAdvance:8,readValueFromPointer:it,destructorFunction:function(t){Ue(t)}})},J:function(t,e,r,n,o,i){nt[t]={name:yt(e),rawConstructor:ne(r,n),rawDestructor:ne(o,i),fields:[]}},d:function(t,e,r,n,o,i,a,s,u,c){nt[t].fields.push({fieldName:yt(e),getterReturnType:r,getter:ne(n,o),getterContext:i,setterArgumentType:a,setter:ne(s,u),setterContext:c})},G:function(t,e){bt(t,{isVoid:!0,name:e=yt(e),argPackAdvance:0,fromWireType:function(){},toWireType:function(t,e){}})},x:function(){throw 1/0},i:le,r:function(t){return 0===t?he.toHandle(Ce()):(t=void 0===(r=$e[e=t])?yt(e):r,he.toHandle(Ce()[t]));var e,r},p:function(t){t>4&&(fe[t].refcount+=1)},q:function(t,e,r,n){t=he.toValue(t);var i=ke[e];return i||(i=function(t){for(var e="",r=0;r<t;++r)e+=(0!==r?", ":"")+"arg"+r;var n="return function emval_allocator_"+t+"(constructor, argTypes, args) {\n var HEAPU32 = getMemory();\n";for(r=0;r<t;++r)n+="var argType"+r+" = requireRegisteredType(HEAPU32[((argTypes)>>2)], 'parameter "+r+"');\nvar arg"+r+" = argType"+r+".readValueFromPointer(args);\nargs += argType"+r+"['argPackAdvance'];\nargTypes += 4;\n";return n+="var obj = new constructor("+e+");\nreturn valueToHandle(obj);\n}\n",new Function("requireRegisteredType","Module","valueToHandle","getMemory",n)(Se,o,he.toHandle,()=>A)}(e),ke[e]=i),i(t,r,n)},s:function(t,e){var r=(t=Se(t,"_emval_take_value")).readValueFromPointer(e);return he.toHandle(r)},j:function(){K("")},D:function(t,e,r){$.copyWithin(t,e,e+r)},y:function(t){var e=$.length,r=2147483648;if((t>>>=0)>r)return!1;let n=(t,e)=>t+(e-t%e)%e;for(var o=1;o<=4;o*=2){var i=e*(1+.2/o);if(i=Math.min(i,t+100663296),Ae(Math.min(r,n(Math.max(t,i),65536))))return!0}return!1},z:function(t,e){var r=0;return Ee().forEach(function(n,o){var i=e+r;A[t+4*o>>2]=i,function(t,e,r){for(var n=0;n<t.length;++n)P[0|e++]=t.charCodeAt(n);r||(P[0|e]=0)}(n,i),r+=n.length+1}),0},B:function(t,e){var r=Ee();A[t>>2]=r.length;var n=0;return r.forEach(function(t){n+=t.length+1}),A[e>>2]=n,0},I:Oe,C:function(t){return 52},v:function(t,e,r,n,o){return 70},k:function(t,e,r,n){for(var o=0,i=0;i<r;i++){var a=A[e>>2],s=A[e+4>>2];e+=8;for(var u=0;u<s;u++)Re(t,$[a+u]);o+=s}return A[n>>2]=o,0},o:function(t,e){var r=ze();try{return ee(t)(e)}catch(t){if(Be(r),t!==t+0)throw t;qe(1,0)}},n:function(t,e,r){var n=ze();try{return ee(t)(e,r)}catch(t){if(Be(n),t!==t+0)throw t;qe(1,0)}},H:function(t,e,r,n){var o=ze();try{return ee(t)(e,r,n)}catch(t){if(Be(o),t!==t+0)throw t;qe(1,0)}},f:function(t,e){var r=ze();try{ee(t)(e)}catch(t){if(Be(r),t!==t+0)throw t;qe(1,0)}},e:function(t,e,r,n){var o=ze();try{ee(t)(e,r,n)}catch(t){if(Be(o),t!==t+0)throw t;qe(1,0)}}},Ie=(function(){var t={a:De};function e(t,e){var r,n=t.exports;o.asm=n,I((_=o.asm.K).buffer),U=o.asm.M,r=o.asm.L,q.unshift(r),function(){if(G--,o.monitorRunDependencies&&o.monitorRunDependencies(G),0==G&&(null!==J&&(clearInterval(J),J=null),X)){var t=X;X=null,t()}}()}function r(t){e(t.instance)}function i(e){return function(){if(!g&&(p||d)){if("function"==typeof fetch&&!Z(H))return fetch(H,{credentials:"same-origin"}).then(function(t){if(!t.ok)throw"failed to load wasm binary file at '"+H+"'";return t.arrayBuffer()}).catch(function(){return Q(H)});if(a)return new Promise(function(t,e){a(H,function(e){t(new Uint8Array(e))},e)})}return Promise.resolve().then(function(){return Q(H)})}().then(function(e){return WebAssembly.instantiate(e,t)}).then(function(t){return t}).then(e,function(t){b("failed to asynchronously prepare wasm: "+t),K(t)})}if(G++,o.monitorRunDependencies&&o.monitorRunDependencies(G),o.instantiateWasm)try{return o.instantiateWasm(t,e)}catch(t){b("Module.instantiateWasm callback failed with error: "+t),n(t)}(g||"function"!=typeof WebAssembly.instantiateStreaming||Y(H)||Z(H)||h||"function"!=typeof fetch?i(r):fetch(H,{credentials:"same-origin"}).then(function(e){return WebAssembly.instantiateStreaming(e,t).then(r,function(t){return b("wasm streaming compile failed: "+t),b("falling back to ArrayBuffer instantiation"),i(r)})})).catch(n)}(),o.___wasm_call_ctors=function(){return(o.___wasm_call_ctors=o.asm.L).apply(null,arguments)},o._malloc=function(){return(Ie=o._malloc=o.asm.N).apply(null,arguments)}),Ue=o._free=function(){return(Ue=o._free=o.asm.O).apply(null,arguments)},Me=o.___getTypeName=function(){return(Me=o.___getTypeName=o.asm.P).apply(null,arguments)},qe=(o.__embind_initialize_bindings=function(){return(o.__embind_initialize_bindings=o.asm.Q).apply(null,arguments)},o._setThrew=function(){return(qe=o._setThrew=o.asm.R).apply(null,arguments)}),ze=o.stackSave=function(){return(ze=o.stackSave=o.asm.S).apply(null,arguments)},Be=o.stackRestore=function(){return(Be=o.stackRestore=o.asm.T).apply(null,arguments)},Ne=o.stackAlloc=function(){return(Ne=o.stackAlloc=o.asm.U).apply(null,arguments)},Ve=o.___cxa_is_pointer_type=function(){return(Ve=o.___cxa_is_pointer_type=o.asm.V).apply(null,arguments)};function He(t){function r(){We||(We=!0,o.calledRun=!0,O||(et(q),e(o),o.onRuntimeInitialized&&o.onRuntimeInitialized(),function(){if(o.postRun)for("function"==typeof o.postRun&&(o.postRun=[o.postRun]);o.postRun.length;)V(o.postRun.shift());et(z)}()))}t=t||c,G>0||(function(){if(o.preRun)for("function"==typeof o.preRun&&(o.preRun=[o.preRun]);o.preRun.length;)N(o.preRun.shift());et(M)}(),G>0||(o.setStatus?(o.setStatus("Running..."),setTimeout(function(){setTimeout(function(){o.setStatus("")},1),r()},1)):r()))}if(o.dynCall_jiji=function(){return(o.dynCall_jiji=o.asm.W).apply(null,arguments)},o.ccall=function(t,e,r,n,i){var a={string:t=>{var e=0;if(null!=t&&0!==t){var r=1+(t.length<<2);D(t,e=Ne(r),r)}return e},array:t=>{var e=Ne(t.length);return function(t,e){P.set(t,e)}(t,e),e}},s=function(t){return o["_"+t]}(t),u=[],c=0;if(n)for(var f=0;f<n.length;f++){var l=a[r[f]];l?(0===c&&(c=ze()),u[f]=l(n[f])):u[f]=n[f]}var p=s.apply(null,u);return p=function(t){return 0!==c&&Be(c),function(t){return"string"===e?W(t):"boolean"===e?Boolean(t):t}(t)}(p)},X=function t(){We||He(),We||(X=t)},o.preInit)for("function"==typeof o.preInit&&(o.preInit=[o.preInit]);o.preInit.length>0;)o.preInit.pop()();return He(),t.ready});"object"==typeof e&&"object"==typeof t?t.exports=n:"function"==typeof define&&define.amd?define([],function(){return n}):"object"==typeof e&&(e.libjpegturbowasm_decode=n)},37080:(t,e,r)=>{"use strict";var n=r(65020),o=r(26406),i=r(7822),a=r(16142).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},37161:(t,e,r)=>{"use strict";var n=r(77853),o=r(39815).add,i=r(58763),a=r(98138),s=r(70428);t.exports=function(t){var e=n(this),r=a(t).getIterator(),u=i(e);return s(r,function(t){o(u,t)}),u}},37234:(t,e,r)=>{"use strict";r(7393)},38769:(t,e,r)=>{"use strict";var n=r(77017);t.exports=n.Promise},38798:(t,e,r)=>{"use strict";var n=r(96377),o=r(77017),i=r(77882),a=r(89125),s=r(33752),u=r(39789),c=r(50406),f=o.Promise,l=!1;n({target:"Promise",stat:!0,forced:!f||!f.try||c(function(){f.try(function(t){l=8===t},8)}).error||!l},{try:function(t){var e=arguments.length>1?a(arguments,1):[],r=s.f(this),n=c(function(){return i(u(t),void 0,e)});return(n.error?r.reject:r.resolve)(n.value),r.promise}})},38818:t=>{"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},39148:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},39243:(t,e,r)=>{"use strict";var n=r(96377),o=r(18693),i=r(41416);n({target:"Set",proto:!0,real:!0,forced:!r(57107)("symmetricDifference")||!i("symmetricDifference")},{symmetricDifference:o})},39500:(t,e,r)=>{"use strict";r(37080)("asyncDispose")},39789:(t,e,r)=>{"use strict";var n=r(73024),o=r(38818),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},39815:(t,e,r)=>{"use strict";var n=r(48192),o=r(55116),i=n("Set"),a=i.prototype;t.exports={Set:i,add:o("add",1),has:o("has",1),remove:o("delete",1),proto:a}},40452:(t,e,r)=>{"use strict";r(96377)({target:"Object",stat:!0},{setPrototypeOf:r(41522)})},40626:(t,e,r)=>{"use strict";var n=r(96377),o=r(66062),i=r(91174),a=r(41522),s=r(67141),u=r(50429),c=r(3236),f=r(66231),l=r(75101),p=r(33722),d=r(21653),h=r(52278),v=r(96830)("toStringTag"),m=Error,y=[].push,g=function(t,e){var r,n=o(w,this);a?r=a(new m,n?i(this):w):(r=n?this:u(w),c(r,v,"Error")),void 0!==e&&c(r,"message",h(e)),p(r,g,r.stack,1),arguments.length>2&&l(r,arguments[2]);var s=[];return d(t,y,{that:s}),c(r,"errors",s),r};a?a(g,m):s(g,m,{name:!0});var w=g.prototype=u(m.prototype,{constructor:f(1,g),message:f(1,""),name:f(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:g})},40730:(t,e,r)=>{"use strict";r(37080)("search")},40801:(t,e,r)=>{"use strict";r(9412)},41198:(t,e,r)=>{"use strict";var n=r(13698),o=r(91981),i=r(31298),a=r(76744),s=r(96830)("iterator");t.exports=function(t){if(!i(t))return o(t,s)||o(t,"@@iterator")||a[n(t)]}},41416:t=>{"use strict";t.exports=function(t){try{var e=new Set,r={size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return e.clear(),e.add(4),function(){return{done:!0}}}})}},n=e[t](r);return 1===n.size&&4===n.values().next().value}catch(t){return!1}}},41522:(t,e,r)=>{"use strict";var n=r(47629),o=r(59371),i=r(20825),a=r(19773);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return i(r),a(n),o(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0)},41748:(t,e,r)=>{"use strict";var n,o,i=r(77017),a=r(73496),s=i.process,u=i.Deno,c=s&&s.versions||u&&u.version,f=c&&c.v8;f&&(o=(n=f.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},41938:(t,e,r)=>{"use strict";var n=r(95804),o=r(39789),i=r(9262),a=r(38818),s=r(41198),u=TypeError;t.exports=function(t,e){var r=arguments.length<2?s(t):e;if(o(r))return i(n(r,t));throw new u(a(t)+" is not iterable")}},42188:(t,e,r)=>{"use strict";r(37080)("iterator")},42976:(t,e,r)=>{"use strict";r(34894)},43646:(t,e,r)=>{"use strict";var n=r(22517);t.exports=n},43936:(t,e,r)=>{"use strict";t.exports=r(36458)},44209:(t,e,r)=>{"use strict";var n=r(39789),o=r(78248),i=r(99980),a=r(2241),s=TypeError,u="Reduce of empty array with no initial value",c=function(t){return function(e,r,c,f){var l=o(e),p=i(l),d=a(l);if(n(r),0===d&&c<2)throw new s(u);var h=t?d-1:0,v=t?-1:1;if(c<2)for(;;){if(h in p){f=p[h],h+=v;break}if(h+=v,t?h<0:d<=h)throw new s(u)}for(;t?h>=0:d>h;h+=v)h in p&&(f=r(f,p[h],h,l));return f}};t.exports={left:c(!1),right:c(!0)}},44411:(t,e,r)=>{"use strict";r(64157);var n=r(22593);t.exports=n("Array","slice")},44604:(t,e,r)=>{"use strict";var n=r(16099);t.exports=n},44875:(t,e,r)=>{"use strict";var n=r(56158);t.exports=!n(function(){return Object.isExtensible(Object.preventExtensions({}))})},45124:(t,e,r)=>{"use strict";var n=r(73698);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},45507:(t,e,r)=>{"use strict";r(38798)},45556:(t,e,r)=>{"use strict";var n=r(48873);t.exports=n},45919:(t,e,r)=>{"use strict";t.exports=r(72117)},46612:(t,e,r)=>{"use strict";t.exports=r(48866)},47059:(t,e,r)=>{"use strict";t.exports=r(91625)},47472:(t,e,r)=>{"use strict";t.exports=r(28930)},47629:(t,e,r)=>{"use strict";var n=r(12973),o=r(39789);t.exports=function(t,e,r){try{return n(o(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},47680:(t,e,r)=>{"use strict";var n=r(9262),o=r(78837),i=r(31298),a=r(96830)("species");t.exports=function(t,e){var r,s=n(t).constructor;return void 0===s||i(r=n(s)[a])?e:o(r)}},47914:(t,e,r)=>{"use strict";var n=r(77017),o=r(73496),i=r(61813),a=function(t){return o.slice(0,t.length)===t};t.exports=a("Bun/")?"BUN":a("Cloudflare-Workers")?"CLOUDFLARE":a("Deno/")?"DENO":a("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===i(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},48192:(t,e,r)=>{"use strict";var n=r(65020),o=r(77017),i=r(73024),a=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?a(n[t])||a(o[t]):n[t]&&n[t][e]||o[t]&&o[t][e]}},48542:(t,e,r)=>{"use strict";var n=r(66062),o=r(71424),i=String.prototype;t.exports=function(t){var e=t.endsWith;return"string"==typeof t||t===i||n(i,t)&&e===i.endsWith?o:e}},48595:(t,e,r)=>{"use strict";r(37080)("asyncIterator")},48731:(t,e,r)=>{"use strict";var n=r(23200);t.exports=n},48771:(t,e,r)=>{"use strict";var n=r(95804),o=r(73024),i=r(59371),a=TypeError;t.exports=function(t,e){var r,s;if("string"===e&&o(r=t.toString)&&!i(s=n(r,t)))return s;if(o(r=t.valueOf)&&!i(s=n(r,t)))return s;if("string"!==e&&o(r=t.toString)&&!i(s=n(r,t)))return s;throw new a("Can't convert object to primitive value")}},48866:(t,e,r)=>{"use strict";var n=r(13149);t.exports=n},48873:(t,e,r)=>{"use strict";var n=r(66062),o=r(44411),i=Array.prototype;t.exports=function(t){var e=t.slice;return t===i||n(i,t)&&e===i.slice?o:e}},48974:(t,e,r)=>{"use strict";var n=r(97101);t.exports=n},49076:(t,e,r)=>{"use strict";var n=r(77853),o=r(39815).has,i=r(26153),a=r(98138),s=r(70428),u=r(79832);t.exports=function(t){var e=n(this),r=a(t);if(i(e)<r.size)return!1;var c=r.getIterator();return!1!==s(c,function(t){if(!o(e,t))return u(c,"normal",!1)})}},49127:(t,e,r)=>{"use strict";var n=r(77853),o=r(39815),i=r(58763),a=r(26153),s=r(98138),u=r(16767),c=r(70428),f=o.has,l=o.remove;t.exports=function(t){var e=n(this),r=s(t),o=i(e);return a(e)<=r.size?u(e,function(t){r.includes(t)&&l(o,t)}):c(r.getIterator(),function(t){f(o,t)&&l(o,t)}),o}},49201:(t,e,r)=>{var n=r(9854),o=r(23767),i=r(77745);t.exports=function(t,e,r,a,s){return new i(o().w(t,e,r,a),s||n)},t.exports.__esModule=!0,t.exports.default=t.exports},50406:t=>{"use strict";t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},50429:(t,e,r)=>{"use strict";var n,o=r(9262),i=r(9842),a=r(17758),s=r(59360),u=r(70206),c=r(78890),f=r(27932),l="prototype",p="script",d=f("IE_PROTO"),h=function(){},v=function(t){return"<"+p+">"+t+"</"+p+">"},m=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;y="undefined"!=typeof document?document.domain&&n?m(n):(e=c("iframe"),r="java"+p+":",e.style.display="none",u.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):m(n);for(var o=a.length;o--;)delete y[l][a[o]];return y()};s[d]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(h[l]=o(t),r=new h,h[l]=null,r[d]=t):r=y(),void 0===e?r:i.f(r,e)}},50648:(t,e,r)=>{"use strict";r(4525),r(28378),r(52879),r(42188);var n=r(7822);t.exports=n.f("iterator")},51188:(t,e,r)=>{"use strict";var n=r(96377),o=r(95804),i=r(39789),a=r(33752),s=r(50406),u=r(21653);n({target:"Promise",stat:!0,forced:r(87352)},{all:function(t){var e=this,r=a.f(e),n=r.resolve,c=r.reject,f=s(function(){var r=i(e.resolve),a=[],s=0,f=1;u(t,function(t){var i=s++,u=!1;f++,o(r,e,t).then(function(t){u||(u=!0,a[i]=t,--f||n(a))},c)}),--f||n(a)});return f.error&&c(f.value),r.promise}})},51344:(t,e,r)=>{"use strict";var n=r(77017),o=r(69705),i=Object.getOwnPropertyDescriptor;t.exports=function(t){if(!o)return n[t];var e=i(n,t);return e&&e.value}},52028:(t,e,r)=>{t.exports=r(94687)},52278:(t,e,r)=>{"use strict";var n=r(82998);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:n(t)}},52647:(t,e,r)=>{"use strict";var n=r(45124),o=Math.min;t.exports=function(t){var e=n(t);return e>0?o(e,9007199254740991):0}},52879:(t,e,r)=>{"use strict";var n=r(29832).charAt,o=r(82998),i=r(746),a=r(67917),s=r(12004),u="String Iterator",c=i.set,f=i.getterFor(u);a(String,"String",function(t){c(this,{type:u,string:o(t),index:0})},function(){var t,e=f(this),r=e.string,o=e.index;return o>=r.length?s(void 0,!0):(t=n(r,o),e.index+=t.length,s(t,!1))})},52884:(t,e,r)=>{"use strict";var n=r(28638),o=r(54252);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},52937:(t,e,r)=>{"use strict";var n=r(96377),o=r(12973),i=r(28011),a=o([].reverse),s=[1,2];n({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function(){return i(this)&&(this.length=this.length),a(this)}})},53071:(t,e,r)=>{t.exports=r(57439)},53385:function(t,e){var r,n=(r=globalThis.document?.currentScript?.src,async function(t={}){var e=t,n=!!globalThis.window,o=!!globalThis.WorkerGlobalScope,i=globalThis.process?.versions?.node&&"renderer"!=globalThis.process?.type,a=(t,e)=>{throw e};"undefined"!=typeof __filename?r=__filename:o&&(r=self.location.href);var s,u,c="";if(i){var f=require("node:fs");c=__dirname+"/",u=t=>(t=A(t)?new URL(t):t,f.readFileSync(t)),s=async(t,e=!0)=>(t=A(t)?new URL(t):t,f.readFileSync(t,e?void 0:"utf8")),process.argv.length>1&&process.argv[1].replace(/\\/g,"/"),process.argv.slice(2),a=(t,e)=>{throw process.exitCode=t,e}}else if(n||o){try{c=new URL(".",r).href}catch{}o&&(u=t=>{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),s=async t=>{if(A(t))return new Promise((e,r)=>{var n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="arraybuffer",n.onload=()=>{200==n.status||0==n.status&&n.response?e(n.response):r(n.status)},n.onerror=r,n.send(null)});var e=await fetch(t,{credentials:"same-origin"});if(e.ok)return e.arrayBuffer();throw new Error(e.status+" : "+e.url)}}var l,p,d,h,v,m,y,g,w,b,_,x,T,P,$,C=console.log.bind(console),S=console.error.bind(console),k=!1,A=t=>t.startsWith("file://"),j=!1;function E(){var t=Xt.buffer;v=new Int8Array(t),y=new Int16Array(t),m=new Uint8Array(t),g=new Uint16Array(t),w=new Int32Array(t),b=new Uint32Array(t),_=new Float32Array(t),x=new Float64Array(t),T=new BigInt64Array(t),P=new BigUint64Array(t)}function O(t){e.onAbort?.(t),S(t="Aborted("+t+")"),k=!0,t+=". Build with -sASSERTIONS for more info.";var r=new WebAssembly.RuntimeError(t);throw h?.(r),r}function F(){return t="dicomiccwasm.wasm",e.locateFile?e.locateFile(t,c):c+t;var t}async function R(t){if(!l)try{var e=await s(t);return new Uint8Array(e)}catch{}return function(t){if(t==$&&l)return new Uint8Array(l);if(u)return u(t);throw"both async and sync fetching of the wasm failed"}(t)}async function W(t,e,r){if(!t&&!A(e)&&!i)try{var n=fetch(e,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(n,r)}catch(t){S(`wasm streaming compile failed: ${t}`),S("falling back to ArrayBuffer instantiation")}return async function(t,e){try{var r=await R(t);return await WebAssembly.instantiate(r,e)}catch(t){S(`failed to asynchronously prepare wasm: ${t}`),O(t)}}(e,r)}class D{name="ExitStatus";constructor(t){this.message=`Program terminated with exit(${t})`,this.status=t}}var I=t=>{for(;t.length>0;)t.shift()(e)},U=[],M=t=>U.push(t),q=[],z=t=>q.push(t),B=!0,N=()=>Jt(),V=globalThis.TextDecoder&&new TextDecoder,H=(t,e,r,n)=>{var o=e+r;if(n)return o;for(;t[e]&&!(e>=o);)++e;return e},L=(t,e=0,r,n)=>{var o=H(t,e,r,n);if(o-e>16&&t.buffer&&V)return V.decode(t.subarray(e,o));for(var i="";e<o;){var a=t[e++];if(128&a){var s=63&t[e++];if(192!=(224&a)){var u=63&t[e++];if((a=224==(240&a)?(15&a)<<12|s<<6|u:(7&a)<<18|s<<12|u<<6|63&t[e++])<65536)i+=String.fromCharCode(a);else{var c=a-65536;i+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else i+=String.fromCharCode((31&a)<<6|s)}else i+=String.fromCharCode(a)}return i},G=(t,e,r)=>t?L(m,t,e,r):"";class J{constructor(t){this.excPtr=t,this.ptr=t-24}set_type(t){b[this.ptr+4>>2]=t}get_type(){return b[this.ptr+4>>2]}set_destructor(t){b[this.ptr+8>>2]=t}get_destructor(){return b[this.ptr+8>>2]}set_caught(t){t=t?1:0,v[this.ptr+12]=t}get_caught(){return 0!=v[this.ptr+12]}set_rethrown(t){t=t?1:0,v[this.ptr+13]=t}get_rethrown(){return 0!=v[this.ptr+13]}init(t,e){this.set_adjusted_ptr(0),this.set_type(t),this.set_destructor(e)}set_adjusted_ptr(t){b[this.ptr+16>>2]=t}get_adjusted_ptr(){return b[this.ptr+16>>2]}}var X={varargs:void 0,getStr:t=>G(t)},K={},Y=t=>{for(;t.length;){var e=t.pop();t.pop()(e)}};function Z(t){return this.fromWireType(b[t>>2])}var Q={},tt={},et={},rt=class extends Error{constructor(t){super(t),this.name="InternalError"}},nt=t=>{throw new rt(t)},ot=(t,e,r)=>{function n(e){var n=r(e);n.length!==t.length&&nt("Mismatched type converter count");for(var o=0;o<t.length;++o)ut(t[o],n[o])}t.forEach(t=>et[t]=e);var o=new Array(e.length),i=[],a=0;for(let[t,r]of e.entries())tt.hasOwnProperty(r)?o[t]=tt[r]:(i.push(r),Q.hasOwnProperty(r)||(Q[r]=[]),Q[r].push(()=>{o[t]=tt[r],++a===i.length&&n(o)}));0===i.length&&n(o)},it=t=>{for(var e="";;){var r=m[t++];if(!r)return e;e+=String.fromCharCode(r)}},at=class extends Error{constructor(t){super(t),this.name="BindingError"}},st=t=>{throw new at(t)};function ut(t,e,r={}){return function(t,e,r={}){var n=e.name;if(t||st(`type "${n}" must have a positive integer typeid pointer`),tt.hasOwnProperty(t)){if(r.ignoreDuplicateRegistrations)return;st(`Cannot register type '${n}' twice`)}if(tt[t]=e,delete et[t],Q.hasOwnProperty(t)){var o=Q[t];delete Q[t],o.forEach(t=>t())}}(t,e,r)}var ct=(t,e,r)=>{switch(e){case 1:return r?t=>v[t]:t=>m[t];case 2:return r?t=>y[t>>1]:t=>g[t>>1];case 4:return r?t=>w[t>>2]:t=>b[t>>2];case 8:return r?t=>T[t>>3]:t=>P[t>>3];default:throw new TypeError(`invalid integer width (${e}): ${t}`)}},ft=t=>{st(t.$$.ptrType.registeredClass.name+" instance already deleted")},lt=!1,pt=t=>{},dt=t=>{t.count.value-=1,0===t.count.value&&(t=>{t.smartPtr?t.smartPtrType.rawDestructor(t.smartPtr):t.ptrType.registeredClass.rawDestructor(t.ptr)})(t)},ht=t=>globalThis.FinalizationRegistry?(lt=new FinalizationRegistry(t=>{dt(t.$$)}),ht=t=>{var e=t.$$;if(e.smartPtr){var r={$$:e};lt.register(t,r,t)}return t},pt=t=>lt.unregister(t),ht(t)):(ht=t=>t,t),vt=[];function mt(){}var yt=(t,e)=>Object.defineProperty(e,"name",{value:t}),gt={},wt=(t,e,r)=>{if(void 0===t[e].overloadTable){var n=t[e];t[e]=function(...n){return t[e].overloadTable.hasOwnProperty(n.length)||st(`Function '${r}' called with an invalid number of arguments (${n.length}) - expects one of (${t[e].overloadTable})!`),t[e].overloadTable[n.length].apply(this,n)},t[e].overloadTable=[],t[e].overloadTable[n.argCount]=n}},bt=(t,r,n)=>{e.hasOwnProperty(t)?((void 0===n||void 0!==e[t].overloadTable&&void 0!==e[t].overloadTable[n])&&st(`Cannot register public name '${t}' twice`),wt(e,t,t),e[t].overloadTable.hasOwnProperty(n)&&st(`Cannot register multiple overloads of a function with the same number of arguments (${n})!`),e[t].overloadTable[n]=r):(e[t]=r,e[t].argCount=n)};function _t(t,e,r,n,o,i,a,s){this.name=t,this.constructor=e,this.instancePrototype=r,this.rawDestructor=n,this.baseClass=o,this.getActualType=i,this.upcast=a,this.downcast=s,this.pureVirtualFunctions=[]}var xt=(t,e,r)=>{for(;e!==r;)e.upcast||st(`Expected null or instance of ${r.name}, got an instance of ${e.name}`),t=e.upcast(t),e=e.baseClass;return t},Tt=t=>{if(null===t)return"null";var e=typeof t;return"object"===e||"array"===e||"function"===e?t.toString():""+t};function Pt(t,e){if(null===e)return this.isReference&&st(`null is not a valid ${this.name}`),0;e.$$||st(`Cannot pass "${Tt(e)}" as a ${this.name}`),e.$$.ptr||st(`Cannot pass deleted object as a pointer of type ${this.name}`);var r=e.$$.ptrType.registeredClass;return xt(e.$$.ptr,r,this.registeredClass)}function $t(t,e){var r;if(null===e)return this.isReference&&st(`null is not a valid ${this.name}`),this.isSmartPointer?(r=this.rawConstructor(),null!==t&&t.push(this.rawDestructor,r),r):0;e&&e.$$||st(`Cannot pass "${Tt(e)}" as a ${this.name}`),e.$$.ptr||st(`Cannot pass deleted object as a pointer of type ${this.name}`),!this.isConst&&e.$$.ptrType.isConst&&st(`Cannot convert argument of type ${e.$$.smartPtrType?e.$$.smartPtrType.name:e.$$.ptrType.name} to parameter type ${this.name}`);var n=e.$$.ptrType.registeredClass;if(r=xt(e.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(void 0===e.$$.smartPtr&&st("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:e.$$.smartPtrType===this?r=e.$$.smartPtr:st(`Cannot convert argument of type ${e.$$.smartPtrType?e.$$.smartPtrType.name:e.$$.ptrType.name} to parameter type ${this.name}`);break;case 1:r=e.$$.smartPtr;break;case 2:if(e.$$.smartPtrType===this)r=e.$$.smartPtr;else{var o=e.clone();r=this.rawShare(r,ee.toHandle(()=>o.delete())),null!==t&&t.push(this.rawDestructor,r)}break;default:st("Unsupported sharing policy")}return r}function Ct(t,e){if(null===e)return this.isReference&&st(`null is not a valid ${this.name}`),0;e.$$||st(`Cannot pass "${Tt(e)}" as a ${this.name}`),e.$$.ptr||st(`Cannot pass deleted object as a pointer of type ${this.name}`),e.$$.ptrType.isConst&&st(`Cannot convert argument of type ${e.$$.ptrType.name} to parameter type ${this.name}`);var r=e.$$.ptrType.registeredClass;return xt(e.$$.ptr,r,this.registeredClass)}var St=(t,e,r)=>{if(e===r)return t;if(void 0===r.baseClass)return null;var n=St(t,e,r.baseClass);return null===n?null:r.downcast(n)},kt={},At=(t,e)=>(e=((t,e)=>{for(void 0===e&&st("ptr should not be undefined");t.baseClass;)e=t.upcast(e),t=t.baseClass;return e})(t,e),kt[e]),jt=(t,e)=>(e.ptrType&&e.ptr||nt("makeClassHandle requires ptr and ptrType"),!!e.smartPtrType!=!!e.smartPtr&&nt("Both smartPtrType and smartPtr must be specified"),e.count={value:1},ht(Object.create(t,{$$:{value:e,writable:!0}})));function Et(t){var e=this.getPointee(t);if(!e)return this.destructor(t),null;var r=At(this.registeredClass,e);if(void 0!==r){if(0===r.$$.count.value)return r.$$.ptr=e,r.$$.smartPtr=t,r.clone();var n=r.clone();return this.destructor(t),n}function o(){return this.isSmartPointer?jt(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:e,smartPtrType:this,smartPtr:t}):jt(this.registeredClass.instancePrototype,{ptrType:this,ptr:t})}var i,a=this.registeredClass.getActualType(e),s=gt[a];if(!s)return o.call(this);i=this.isConst?s.constPointerType:s.pointerType;var u=St(e,this.registeredClass,i.registeredClass);return null===u?o.call(this):this.isSmartPointer?jt(i.registeredClass.instancePrototype,{ptrType:i,ptr:u,smartPtrType:this,smartPtr:t}):jt(i.registeredClass.instancePrototype,{ptrType:i,ptr:u})}function Ot(t,e,r,n,o,i,a,s,u,c,f){this.name=t,this.registeredClass=e,this.isReference=r,this.isConst=n,this.isSmartPointer=o,this.pointeeType=i,this.sharingPolicy=a,this.rawGetPointee=s,this.rawConstructor=u,this.rawShare=c,this.rawDestructor=f,o||void 0!==e.baseClass?this.toWireType=$t:n?(this.toWireType=Pt,this.destructorFunction=null):(this.toWireType=Ct,this.destructorFunction=null)}var Ft=(t,r,n)=>{e.hasOwnProperty(t)||nt("Replacing nonexistent public symbol"),void 0!==e[t].overloadTable&&void 0!==n?e[t].overloadTable[n]=r:(e[t]=r,e[t].argCount=n)},Rt=[],Wt=(t,e,r=!1)=>{t=it(t);var n,o,i=((o=Rt[n=e])||(Rt[n]=o=Kt.get(n)),o);return"function"!=typeof i&&st(`unknown function pointer with signature ${t}: ${e}`),i};class Dt extends Error{}var It=t=>{var e=Bt(t),r=it(e);return Vt(e),r},Ut=(t,e)=>{var r=[],n={};throw e.forEach(function t(e){n[e]||tt[e]||(et[e]?et[e].forEach(t):(r.push(e),n[e]=!0))}),new Dt(`${t}: `+r.map(It).join([", "]))},Mt=(t,e)=>{for(var r=[],n=0;n<t;n++)r.push(b[e+4*n>>2]);return r};function qt(t){for(var e=1;e<t.length;++e)if(null!==t[e]&&void 0===t[e].destructorFunction)return!0;return!1}function zt(t,e,r,n,o,i){var a=e.length;a<2&&st("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var s=null!==e[1]&&null!==r,u=qt(e),c=!e[0].isVoid,f=e[0],l=e[1],p=[t,st,n,o,Y,f.fromWireType.bind(f),l?.toWireType.bind(l)],d=2;d<a;++d){var h=e[d];p.push(h.toWireType.bind(h))}if(!u)for(d=s?1:2;d<e.length;++d)null!==e[d].destructorFunction&&p.push(e[d].destructorFunction);let v=function(t,e,r,n){var o=qt(t),i=t.length-2,a=[],s=["fn"];e&&s.push("thisWired");for(var u=0;u<i;++u)a.push(`arg${u}`),s.push(`arg${u}Wired`);a=a.join(","),s=s.join(",");var c=`return function (${a}) {\n`;o&&(c+="var destructors = [];\n");var f=o?"destructors":"null",l=["humanName","throwBindingError","invoker","fn","runDestructors","fromRetWire","toClassParamWire"];for(e&&(c+=`var thisWired = toClassParamWire(${f}, this);\n`),u=0;u<i;++u){var p=`toArg${u}Wire`;c+=`var arg${u}Wired = ${p}(${f}, arg${u});\n`,l.push(p)}if(c+=(r||n?"var rv = ":"")+`invoker(${s});\n`,o)c+="runDestructors(destructors);\n";else for(u=e?1:2;u<t.length;++u){var d=1===u?"thisWired":"arg"+(u-2)+"Wired";null!==t[u].destructorFunction&&(c+=`${d}_dtor(${d});\n`,l.push(`${d}_dtor`))}return r&&(c+="var ret = fromRetWire(rv);\nreturn ret;\n"),c+="}\n",new Function(l,c)}(e,s,c,i);var m=v(...p);return yt(t,m)}var Bt,Nt,Vt,Ht,Lt,Gt,Jt,Xt,Kt,Yt=t=>{const e=(t=t.trim()).indexOf("(");return-1===e?t:t.slice(0,e)},Zt=[],Qt=[0,1,,1,null,1,!0,1,!1,1],te=t=>{t>9&&0===--Qt[t+1]&&(Qt[t]=void 0,Zt.push(t))},ee={toValue:t=>(t||st(`Cannot use deleted val. handle = ${t}`),Qt[t]),toHandle:t=>{switch(t){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:{const e=Zt.pop()||Qt.length;return Qt[e]=t,Qt[e+1]=1,e}}}},re={name:"emscripten::val",fromWireType:t=>{var e=ee.toValue(t);return te(t),e},toWireType:(t,e)=>ee.toHandle(e),readValueFromPointer:Z,destructorFunction:null},ne=(t,e,r)=>{switch(e){case 1:return r?function(t){return this.fromWireType(v[t])}:function(t){return this.fromWireType(m[t])};case 2:return r?function(t){return this.fromWireType(y[t>>1])}:function(t){return this.fromWireType(g[t>>1])};case 4:return r?function(t){return this.fromWireType(w[t>>2])}:function(t){return this.fromWireType(b[t>>2])};default:throw new TypeError(`invalid integer width (${e}): ${t}`)}},oe=(t,e)=>{var r=tt[t];return void 0===r&&st(`${e} has unknown type ${It(t)}`),r},ie=(t,e)=>{switch(e){case 4:return function(t){return this.fromWireType(_[t>>2])};case 8:return function(t){return this.fromWireType(x[t>>3])};default:throw new TypeError(`invalid float width (${e}): ${t}`)}},ae=(t,e,r)=>((t,e,r,n)=>{if(!(n>0))return 0;for(var o=r,i=r+n-1,a=0;a<t.length;++a){var s=t.codePointAt(a);if(s<=127){if(r>=i)break;e[r++]=s}else if(s<=2047){if(r+1>=i)break;e[r++]=192|s>>6,e[r++]=128|63&s}else if(s<=65535){if(r+2>=i)break;e[r++]=224|s>>12,e[r++]=128|s>>6&63,e[r++]=128|63&s}else{if(r+3>=i)break;e[r++]=240|s>>18,e[r++]=128|s>>12&63,e[r++]=128|s>>6&63,e[r++]=128|63&s,a++}}return e[r]=0,r-o})(t,m,e,r),se=t=>{for(var e=0,r=0;r<t.length;++r){var n=t.charCodeAt(r);n<=127?e++:n<=2047?e+=2:n>=55296&&n<=57343?(e+=4,++r):e+=3}return e},ue=globalThis.TextDecoder?new TextDecoder("utf-16le"):void 0,ce=(t,e,r)=>{var n=t>>1,o=H(g,n,e/2,r);if(o-n>16&&ue)return ue.decode(g.subarray(n,o));for(var i="",a=n;a<o;++a){var s=g[a];i+=String.fromCharCode(s)}return i},fe=(t,e,r)=>{if(r??=2147483647,r<2)return 0;for(var n=e,o=(r-=2)<2*t.length?r/2:t.length,i=0;i<o;++i){var a=t.charCodeAt(i);y[e>>1]=a,e+=2}return y[e>>1]=0,e-n},le=t=>2*t.length,pe=(t,e,r)=>{for(var n="",o=t>>2,i=0;!(i>=e/4);i++){var a=b[o+i];if(!a&&!r)break;n+=String.fromCodePoint(a)}return n},de=(t,e,r)=>{if(r??=2147483647,r<4)return 0;for(var n=e,o=n+r-4,i=0;i<t.length;++i){var a=t.codePointAt(i);if(a>65535&&i++,w[e>>2]=a,(e+=4)+4>o)break}return w[e>>2]=0,e-n},he=t=>{for(var e=0,r=0;r<t.length;++r)t.codePointAt(r)>65535&&r++,e+=4;return e},ve=0,me=[],ye=(t,e,r)=>{var n=[],o=t(n,r);return n.length&&(b[e>>2]=ee.toHandle(n)),o},ge={},we=t=>{var e=ge[t];return void 0===e?it(t):e},be=t=>t<-9007199254740992||t>9007199254740992?NaN:Number(t),_e={},xe=t=>{if(t instanceof D||"unwind"==t)return p;a(1,t)},Te=()=>B||ve>0,Pe=t=>{p=t,Te()||(e.onExit?.(t),k=!0),a(t,new D(t))},$e=(t,e)=>{p=t,Pe(t)},Ce=t=>{if(!k)try{return t()}catch(t){xe(t)}finally{(()=>{if(!Te())try{$e(p)}catch(t){xe(t)}})()}},Se=(t,e)=>Math.ceil(t/e)*e,ke=t=>{var e=(t-Xt.buffer.byteLength+65535)/65536|0;try{return Xt.grow(e),E(),1}catch(t){}},Ae=[null,[],[]],je=(t,e)=>{var r=Ae[t];0===e||10===e?((1===t?C:S)(L(r)),r.length=0):r.push(e)},Ee=t=>Gt(t);if((()=>{let t=mt.prototype;Object.assign(t,{isAliasOf(t){if(!(this instanceof mt))return!1;if(!(t instanceof mt))return!1;var e=this.$$.ptrType.registeredClass,r=this.$$.ptr;t.$$=t.$$;for(var n=t.$$.ptrType.registeredClass,o=t.$$.ptr;e.baseClass;)r=e.upcast(r),e=e.baseClass;for(;n.baseClass;)o=n.upcast(o),n=n.baseClass;return e===n&&r===o},clone(){if(this.$$.ptr||ft(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var t,e=ht(Object.create(Object.getPrototypeOf(this),{$$:{value:(t=this.$$,{count:t.count,deleteScheduled:t.deleteScheduled,preservePointerOnDelete:t.preservePointerOnDelete,ptr:t.ptr,ptrType:t.ptrType,smartPtr:t.smartPtr,smartPtrType:t.smartPtrType})}}));return e.$$.count.value+=1,e.$$.deleteScheduled=!1,e},delete(){this.$$.ptr||ft(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&st("Object already scheduled for deletion"),pt(this),dt(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)},isDeleted(){return!this.$$.ptr},deleteLater(){return this.$$.ptr||ft(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&st("Object already scheduled for deletion"),vt.push(this),vt.length,this.$$.deleteScheduled=!0,this}});const e=Symbol.dispose;e&&(t[e]=t.delete)})(),Object.assign(Ot.prototype,{getPointee(t){return this.rawGetPointee&&(t=this.rawGetPointee(t)),t},destructor(t){this.rawDestructor?.(t)},readValueFromPointer:Z,fromWireType:Et}),e.noExitRuntime&&(B=e.noExitRuntime),e.print&&(C=e.print),e.printErr&&(S=e.printErr),e.wasmBinary&&(l=e.wasmBinary),e.arguments&&e.arguments,e.thisProgram&&e.thisProgram,e.preInit)for("function"==typeof e.preInit&&(e.preInit=[e.preInit]);e.preInit.length>0;)e.preInit.shift()();e.ccall=(t,r,n,o,i)=>{var a={string:t=>{var e=0;return null!=t&&0!==t&&(e=(t=>{var e=se(t)+1,r=Ee(e);return ae(t,r,e),r})(t)),e},array:t=>{var e,r,n=Ee(t.length);return e=t,r=n,v.set(e,r),n}},s=(t=>e["_"+t])(t),u=[],c=0;if(o)for(var f=0;f<o.length;f++){var l=a[n[f]];l?(0===c&&(c=N()),u[f]=l(o[f])):u[f]=o[f]}var p=s(...u);return p=function(t){return 0!==c&&Lt(c),function(t){return"string"===r?G(t):"boolean"===r?Boolean(t):t}(t)}(p)};var Oe,Fe={a:(t,e,r,n)=>O(`Assertion failed: ${G(t)}, at: `+[e?G(e):"unknown filename",r,n?G(n):"unknown function"]),O:(t,e,r)=>{throw new J(t).init(e,r),t},m:function(t,e,r){return X.varargs=r,0},H:function(t,e,r){return X.varargs=r,0},I:function(t,e,r,n){X.varargs=n},z:t=>{},B:(t,e,r)=>{},x:()=>O(""),t:t=>{var e=K[t];delete K[t];var r=e.rawConstructor,n=e.rawDestructor,o=e.fields,i=o.map(t=>t.getterReturnType).concat(o.map(t=>t.setterArgumentType));ot([t],i,t=>{var i={};for(var[a,s]of o.entries()){const e=t[a],r=s.getter,n=s.getterContext,u=t[a+o.length],c=s.setter,f=s.setterContext;i[s.fieldName]={read:t=>e.fromWireType(r(n,t)),write:(t,e)=>{var r=[];c(f,t,u.toWireType(r,e)),Y(r)},optional:e.optional}}return[{name:e.name,fromWireType:t=>{var e={};for(var r in i)e[r]=i[r].read(t);return n(t),e},toWireType:(t,e)=>{for(var o in i)if(!(o in e)&&!i[o].optional)throw new TypeError(`Missing field: "${o}"`);var a=r();for(o in i)i[o].write(a,e[o]);return null!==t&&t.push(n,a),a},readValueFromPointer:Z,destructorFunction:n}]})},o:(t,e,r,n,o)=>{e=it(e);const i=0n===n;let a=t=>t;if(i){const t=8*r;a=e=>BigInt.asUintN(t,e),o=a(o)}ut(t,{name:e,fromWireType:a,toWireType:(t,e)=>("number"==typeof e&&(e=BigInt(e)),e),readValueFromPointer:ct(e,r,!i),destructorFunction:null})},M:(t,e,r,n)=>{ut(t,{name:e=it(e),fromWireType:function(t){return!!t},toWireType:function(t,e){return e?r:n},readValueFromPointer:function(t){return this.fromWireType(m[t])},destructorFunction:null})},s:(t,e,r,n,o,i,a,s,u,c,f,l,p)=>{f=it(f),i=Wt(o,i),s&&=Wt(a,s),c&&=Wt(u,c),p=Wt(l,p);var d=(t=>{var e=(t=t.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return e>=48&&e<=57?`_${t}`:t})(f);bt(d,function(){Ut(`Cannot construct ${f} due to unbound types`,[n])}),ot([t,e,r],n?[n]:[],e=>{var r,o;e=e[0],o=n?(r=e.registeredClass).instancePrototype:mt.prototype;var a=yt(f,function(...t){if(Object.getPrototypeOf(this)!==u)throw new at(`Use 'new' to construct ${f}`);if(void 0===l.constructor_body)throw new at(`${f} has no accessible constructor`);var e=l.constructor_body[t.length];if(void 0===e)throw new at(`Tried to invoke ctor of ${f} with invalid number of parameters (${t.length}) - expected (${Object.keys(l.constructor_body).toString()}) parameters instead!`);return e.apply(this,t)}),u=Object.create(o,{constructor:{value:a}});a.prototype=u;var l=new _t(f,a,u,p,r,i,s,c);l.baseClass&&(l.baseClass.__derivedClasses??=[],l.baseClass.__derivedClasses.push(l));var h=new Ot(f,l,!0,!1,!1),v=new Ot(f+"*",l,!1,!1,!1),m=new Ot(f+" const*",l,!1,!0,!1);return gt[t]={pointerType:v,constPointerType:m},Ft(d,a),[h,v,m]})},r:(t,e,r,n,o,i)=>{var a=Mt(e,r);o=Wt(n,o),ot([],[t],t=>{var r=`constructor ${(t=t[0]).name}`;if(void 0===t.registeredClass.constructor_body&&(t.registeredClass.constructor_body=[]),void 0!==t.registeredClass.constructor_body[e-1])throw new at(`Cannot register multiple constructors with identical number of parameters (${e-1}) for class '${t.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return t.registeredClass.constructor_body[e-1]=()=>{Ut(`Cannot construct ${t.name} due to unbound types`,a)},ot([],a,n=>(n.splice(1,0,null),t.registeredClass.constructor_body[e-1]=zt(r,n,null,o,i),[])),[]})},k:(t,e,r,n,o,i,a,s,u,c)=>{var f=Mt(r,n);e=it(e),e=Yt(e),i=Wt(o,i,u),ot([],[t],t=>{var n=`${(t=t[0]).name}.${e}`;function o(){Ut(`Cannot call ${n} due to unbound types`,f)}e.startsWith("@@")&&(e=Symbol[e.substring(2)]),s&&t.registeredClass.pureVirtualFunctions.push(e);var c=t.registeredClass.instancePrototype,l=c[e];return void 0===l||void 0===l.overloadTable&&l.className!==t.name&&l.argCount===r-2?(o.argCount=r-2,o.className=t.name,c[e]=o):(wt(c,e,n),c[e].overloadTable[r-2]=o),ot([],f,o=>{var s=zt(n,o,t,i,a,u);return void 0===c[e].overloadTable?(s.argCount=r-2,c[e]=s):c[e].overloadTable[r-2]=s,[]}),[]})},K:t=>ut(t,re),p:(t,r,n,o,i)=>{r=it(r);const a=function(t){return 0===t?"object":1===t?"number":"string"}(i);switch(a){case"object":{function s(){}s.values={},ut(t,{name:r,constructor:s,valueType:a,fromWireType:function(t){return this.constructor.values[t]},toWireType:(t,e)=>e.value,readValueFromPointer:ne(r,n,o),destructorFunction:null}),bt(r,s);break}case"number":ut(t,{name:r,keysMap:u={},valueType:a,fromWireType:t=>t,toWireType:(t,e)=>e,readValueFromPointer:ne(r,n,o),destructorFunction:null}),bt(r,u),delete e[r].argCount;break;case"string":var u;ut(t,{name:r,valuesMap:{},reverseMap:{},keysMap:u={},valueType:a,fromWireType:function(t){return this.reverseMap[t]},toWireType:function(t,e){return this.valuesMap[e]},readValueFromPointer:ne(r,n,o),destructorFunction:null}),bt(r,u),delete e[r].argCount}},d:(t,e,r)=>{var n=oe(t,"enum");switch(e=it(e),n.valueType){case"object":var o=n.constructor,i=Object.create(n.constructor.prototype,{value:{value:r},constructor:{value:yt(`${n.name}_${e}`,function(){})}});o.values[r]=i,o[e]=i;break;case"number":n.keysMap[e]=r;break;case"string":n.valuesMap[e]=r,n.reverseMap[r]=e,n.keysMap[e]=e}},n:(t,e,r)=>{ut(t,{name:e=it(e),fromWireType:t=>t,toWireType:(t,e)=>e,readValueFromPointer:ie(e,r),destructorFunction:null})},q:(t,e,r,n,o,i,a,s)=>{var u=Mt(e,r);t=it(t),t=Yt(t),o=Wt(n,o,a),bt(t,function(){Ut(`Cannot call ${t} due to unbound types`,u)},e-1),ot([],u,r=>{var n=[r[0],null].concat(r.slice(1));return Ft(t,zt(t,n,null,o,i,a),e-1),[]})},c:(t,e,r,n,o)=>{e=it(e);let i=t=>t;if(0===n){var a=32-8*r;i=t=>t<<a>>>a,o=i(o)}ut(t,{name:e,fromWireType:i,toWireType:(t,e)=>e,readValueFromPointer:ct(e,r,0!==n),destructorFunction:null})},b:(t,e,r)=>{var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,BigInt64Array,BigUint64Array][e];function o(t){var e=b[t>>2],r=b[t+4>>2];return new n(v.buffer,r,e)}ut(t,{name:r=it(r),fromWireType:o,readValueFromPointer:o},{ignoreDuplicateRegistrations:!0})},L:(t,e)=>{e=it(e),ut(t,{name:e,fromWireType(t){var e,r=b[t>>2],n=t+4;return e=G(n,r,!0),Vt(t),e},toWireType(t,e){var r;e instanceof ArrayBuffer&&(e=new Uint8Array(e));var n="string"==typeof e;n||ArrayBuffer.isView(e)&&1==e.BYTES_PER_ELEMENT||st("Cannot pass non-string to std::string"),r=n?se(e):e.length;var o=Nt(4+r+1),i=o+4;return b[o>>2]=r,n?ae(e,i,r+1):m.set(e,i),null!==t&&t.push(Vt,o),o},readValueFromPointer:Z,destructorFunction(t){Vt(t)}})},g:(t,e,r)=>{var n,o,i;r=it(r),2===e?(n=ce,o=fe,i=le):(n=pe,o=de,i=he),ut(t,{name:r,fromWireType:t=>{var r=b[t>>2],o=n(t+4,r*e,!0);return Vt(t),o},toWireType:(t,n)=>{"string"!=typeof n&&st(`Cannot pass non-string to C++ string type ${r}`);var a=i(n),s=Nt(4+a+e);return b[s>>2]=a/e,o(n,s+4,a+e),null!==t&&t.push(Vt,s),s},readValueFromPointer:Z,destructorFunction(t){Vt(t)}})},A:(t,e,r,n,o,i)=>{K[t]={name:it(e),rawConstructor:Wt(r,n),rawDestructor:Wt(o,i),fields:[]}},f:(t,e,r,n,o,i,a,s,u,c)=>{K[t].fields.push({fieldName:it(e),getterReturnType:r,getter:Wt(n,o),getterContext:i,setterArgumentType:a,setter:Wt(s,u),setterContext:c})},N:(t,e)=>{ut(t,{isVoid:!0,name:e=it(e),fromWireType:()=>{},toWireType:(t,e)=>{}})},v:()=>{B=!1,ve=0},P:(t,e)=>{t=ee.toValue(t),e=ee.toValue(e),t.set(e)},j:(t,e,r)=>{var[n,...o]=((t,e)=>{for(var r=new Array(t),n=0;n<t;++n)r[n]=oe(b[e+4*n>>2],`parameter ${n}`);return r})(t,e),i=n.toWireType.bind(n),a=o.map(t=>t.readValueFromPointer.bind(t));t--;var s,u={toValue:ee.toValue},c=a.map((t,e)=>{var r=`argFromPtr${e}`;return u[r]=t,`${r}(args${e?"+"+8*e:""})`});switch(r){case 0:s="toValue(handle)";break;case 2:s="new (toValue(handle))";break;case 3:s="";break;case 1:u.getStringOrSymbol=we,s="toValue(handle)[getStringOrSymbol(methodName)]"}s+=`(${c})`,n.isVoid||(u.toReturnWire=i,u.emval_returnValue=ye,s=`return emval_returnValue(toReturnWire, destructorsRef, ${s})`),s=`return function (handle, methodName, destructorsRef, args) {\n${s}\n}`;var f,l,p=new Function(Object.keys(u),s)(...Object.values(u)),d=`methodCaller<(${o.map(t=>t.name)}) => ${n.name}>`;return f=yt(d,p),l=me.length,me.push(f),l},e:te,T:t=>t?(t=we(t),ee.toHandle(globalThis[t])):ee.toHandle(globalThis),R:(t,e)=>(t=ee.toValue(t),e=ee.toValue(e),ee.toHandle(t[e])),Q:t=>{t>9&&(Qt[t+1]+=1)},i:(t,e,r,n,o)=>me[t](e,r,n,o),S:t=>ee.toHandle(we(t)),h:t=>{var e=ee.toValue(t);Y(e),te(t)},C:function(t,e){t=be(t);var r=new Date(1e3*t);w[e>>2]=r.getUTCSeconds(),w[e+4>>2]=r.getUTCMinutes(),w[e+8>>2]=r.getUTCHours(),w[e+12>>2]=r.getUTCDate(),w[e+16>>2]=r.getUTCMonth(),w[e+20>>2]=r.getUTCFullYear()-1900,w[e+24>>2]=r.getUTCDay();var n=Date.UTC(r.getUTCFullYear(),0,1,0,0,0,0),o=(r.getTime()-n)/864e5|0;w[e+28>>2]=o},w:(t,e)=>{if(_e[t]&&(clearTimeout(_e[t].id),delete _e[t]),!e)return 0;var r=setTimeout(()=>{delete _e[t],Ce(()=>Ht(t,performance.now()))},e);return _e[t]={id:r,timeout_ms:e},0},D:(t,e,r,n)=>{var o=(new Date).getFullYear(),i=new Date(o,0,1),a=new Date(o,6,1),s=i.getTimezoneOffset(),u=a.getTimezoneOffset(),c=Math.max(s,u);b[t>>2]=60*c,w[e>>2]=Number(s!=u);var f=t=>{var e=t>=0?"-":"+",r=Math.abs(t);return`UTC${e}${String(Math.floor(r/60)).padStart(2,"0")}${String(r%60).padStart(2,"0")}`},l=f(s),p=f(u);u<s?(ae(l,r,17),ae(p,n,17)):(ae(l,n,17),ae(p,r,17))},J:()=>Date.now(),y:t=>{var e=m.length,r=2147483648;if((t>>>=0)>r)return!1;for(var n=1;n<=4;n*=2){var o=e*(1+.2/n);o=Math.min(o,t+100663296);var i=Math.min(r,Se(Math.max(t,o),65536));if(ke(i))return!0}return!1},l:t=>52,G:(t,e,r,n)=>52,E:function(t,e,r,n){return e=be(e),70},F:(t,e,r,n)=>{for(var o=0,i=0;i<r;i++){var a=b[e>>2],s=b[e+4>>2];e+=8;for(var u=0;u<s;u++)je(t,m[a+u]);o+=s}return b[n>>2]=o,0},u:Pe};return Oe=await async function(){function t(t,e){return function(t){Bt=t.W,Nt=t.Y,Vt=t.Z,Ht=t._,Lt=t.$,Gt=t.aa,Jt=t.ba,Xt=t.U,Kt=t.X}(Oe=t.exports),E(),Oe}var r={a:Fe};if(e.instantiateWasm)return new Promise((n,o)=>{e.instantiateWasm(r,(e,r)=>{n(t(e))})});$??=F();var n=function(e){return t(e.instance)}(await W(l,$,r));return n}(),function(){function t(){e.calledRun=!0,k||(j=!0,Oe.V(),d?.(e),e.onRuntimeInitialized?.(),function(){if(e.postRun)for("function"==typeof e.postRun&&(e.postRun=[e.postRun]);e.postRun.length;)M(e.postRun.shift());I(U)}())}!function(){if(e.preRun)for("function"==typeof e.preRun&&(e.preRun=[e.preRun]);e.preRun.length;)z(e.preRun.shift());I(q)}(),e.setStatus?(e.setStatus("Running..."),setTimeout(()=>{setTimeout(()=>e.setStatus(""),1),t()},1)):t()}(),j?e:new Promise((t,e)=>{d=t,h=e})});"object"==typeof e&&"object"==typeof t?(t.exports=n,t.exports.default=n):"function"==typeof define&&define.amd&&define([],()=>n)},53546:(t,e,r)=>{t.exports=r(88390)},54252:(t,e,r)=>{"use strict";var n=r(48192),o=r(73024),i=r(66062),a=r(23741),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,s(t))}},54768:(t,e)=>{"use strict";e.f=Object.getOwnPropertySymbols},54939:(t,e,r)=>{"use strict";var n=r(96377),o=r(77017),i=r(94170),a=r(56158),s=r(3236),u=r(21653),c=r(95866),f=r(73024),l=r(59371),p=r(31298),d=r(32134),h=r(16142).f,v=r(63156).forEach,m=r(69705),y=r(746),g=y.set,w=y.getterFor;t.exports=function(t,e,r){var y,b=-1!==t.indexOf("Map"),_=-1!==t.indexOf("Weak"),x=b?"set":"add",T=o[t],P=T&&T.prototype,$={};if(m&&f(T)&&(_||P.forEach&&!a(function(){(new T).entries().next()}))){var C=(y=e(function(e,r){g(c(e,C),{type:t,collection:new T}),p(r)||u(r,e[x],{that:e,AS_ENTRIES:b})})).prototype,S=w(t);v(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(t){var e="add"===t||"set"===t;!(t in P)||_&&"clear"===t||s(C,t,function(r,n){var o=S(this).collection;if(!e&&_&&!l(r))return"get"===t&&void 0;var i=o[t](0===r?0:r,n);return e?this:i})}),_||h(C,"size",{configurable:!0,get:function(){return S(this).collection.size}})}else y=r.getConstructor(e,t,b,x),i.enable();return d(y,t,!1,!0),$[t]=y,n({global:!0,forced:!0},$),_||r.setStrong(y,t,b),y}},55116:t=>{"use strict";t.exports=function(t,e){return 1===e?function(e,r){return e[t](r)}:function(e,r,n){return e[t](r,n)}}},55206:(t,e,r)=>{"use strict";r(96377)({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:r(5515)})},56050:(t,e,r)=>{"use strict";r(10612),r(12167),r(8617),r(74483),r(97774)},56158:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},56615:(t,e,r)=>{"use strict";r(37080)("customMatcher")},56709:(t,e,r)=>{"use strict";var n=r(69705),o=r(16142),i=r(66231);t.exports=function(t,e,r){n?o.f(t,e,i(0,r)):t[e]=r}},57107:t=>{"use strict";t.exports=function(){return!1}},57439:(t,e,r)=>{"use strict";var n=r(94064);r(14614),t.exports=n},58032:(t,e,r)=>{"use strict";var n=r(12973),o=Error,i=n("".replace),a=String(new o("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,u=s.test(a);t.exports=function(t,e){if(u&&"string"==typeof t&&!o.prepareStackTrace)for(;e--;)t=i(t,s,"");return t}},58081:(t,e,r)=>{"use strict";r(85420)},58662:(t,e,r)=>{var n=r(85907)();t.exports=n;try{regeneratorRuntime=n}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},58763:(t,e,r)=>{"use strict";var n=r(39815),o=r(16767),i=n.Set,a=n.add;t.exports=function(t){var e=new i;return o(t,function(t){a(e,t)}),e}},59360:t=>{"use strict";t.exports={}},59371:(t,e,r)=>{"use strict";var n=r(73024);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},59741:(t,e,r)=>{"use strict";r(35077);var n=r(22593);t.exports=n("String","padStart")},59807:(t,e,r)=>{"use strict";var n=r(37080),o=r(7825);n("toPrimitive"),o()},60344:(t,e,r)=>{"use strict";var n=r(83619);t.exports=n},60524:(t,e,r)=>{"use strict";var n=r(48192),o=r(37080),i=r(32134);o("toStringTag"),i(n("Symbol"),"Symbol")},60677:(t,e,r)=>{"use strict";var n=r(66062),o=r(87383),i=Array.prototype;t.exports=function(t){var e=t.reverse;return t===i||n(i,t)&&e===i.reverse?o:e}},60705:t=>{"use strict";t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},61791:(t,e,r)=>{"use strict";var n=r(69705),o=r(56158);t.exports=n&&o(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},61813:(t,e,r)=>{"use strict";var n=r(12973),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},61965:(t,e,r)=>{"use strict";var n=r(77853),o=r(39815),i=r(26153),a=r(98138),s=r(16767),u=r(70428),c=o.Set,f=o.add,l=o.has;t.exports=function(t){var e=n(this),r=a(t),o=new c;return i(e)>r.size?u(r.getIterator(),function(t){l(e,t)&&f(o,t)}):s(e,function(t){r.includes(t)&&f(o,t)}),o}},62068:(t,e,r)=>{"use strict";r(37080)("metadataKey")},62167:(t,e,r)=>{"use strict";var n=r(14184);t.exports=n},62435:(t,e,r)=>{"use strict";var n=r(18302);t.exports=n},62726:(t,e,r)=>{"use strict";var n=r(69887);t.exports=n},62950:function(t,e){var r,n=(r="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,"undefined"!=typeof __filename&&(r=r||__filename),function(t){var e,n,o=void 0!==(t=t||{})?t:{};o.ready=new Promise(function(t,r){e=t,n=r});var i,a,s,u=Object.assign({},o),c=[],f="./this.program",l="object"==typeof window,p="function"==typeof importScripts,d="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,h="";if(d){var v=require("fs"),m=require("path");h=p?m.dirname(h)+"/":__dirname+"/",i=(t,e)=>(t=X(t)?new URL(t):m.normalize(t),v.readFileSync(t,e?void 0:"utf8")),s=t=>{var e=i(t,!0);return e.buffer||(e=new Uint8Array(e)),e},a=(t,e,r)=>{t=X(t)?new URL(t):m.normalize(t),v.readFile(t,function(t,n){t?r(t):e(n.buffer)})},process.argv.length>1&&(f=process.argv[1].replace(/\\/g,"/")),c=process.argv.slice(2),process.on("uncaughtException",function(t){if(!(t instanceof Y))throw t}),process.on("unhandledRejection",function(t){throw t}),o.inspect=function(){return"[Emscripten Module object]"}}else(l||p)&&(p?h=self.location.href:"undefined"!=typeof document&&document.currentScript&&(h=document.currentScript.src),r&&(h=r),h=0!==h.indexOf("blob:")?h.substr(0,h.replace(/[?#].*/,"").lastIndexOf("/")+1):"",i=t=>{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText},p&&(s=t=>{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),a=(t,e,r)=>{var n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="arraybuffer",n.onload=()=>{200==n.status||0==n.status&&n.response?e(n.response):r()},n.onerror=r,n.send(null)});var y,g=o.print||console.log.bind(console),w=o.printErr||console.warn.bind(console);Object.assign(o,u),u=null,o.arguments&&(c=o.arguments),o.thisProgram&&(f=o.thisProgram),o.quit&&o.quit,o.wasmBinary&&(y=o.wasmBinary);var b;o.noExitRuntime;"object"!=typeof WebAssembly&&G("no native wasm support detected");var _,x,T,P,$,C,S,k,A,j=!1,E="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function O(t,e,r){for(var n=e+r,o=e;t[o]&&!(o>=n);)++o;if(o-e>16&&t.buffer&&E)return E.decode(t.subarray(e,o));for(var i="";e<o;){var a=t[e++];if(128&a){var s=63&t[e++];if(192!=(224&a)){var u=63&t[e++];if((a=224==(240&a)?(15&a)<<12|s<<6|u:(7&a)<<18|s<<12|u<<6|63&t[e++])<65536)i+=String.fromCharCode(a);else{var c=a-65536;i+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else i+=String.fromCharCode((31&a)<<6|s)}else i+=String.fromCharCode(a)}return i}function F(t,e){return t?O(T,t,e):""}function R(t,e,r){return function(t,e,r,n){if(!(n>0))return 0;for(var o=r,i=r+n-1,a=0;a<t.length;++a){var s=t.charCodeAt(a);if(s>=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&t.charCodeAt(++a)),s<=127){if(r>=i)break;e[r++]=s}else if(s<=2047){if(r+1>=i)break;e[r++]=192|s>>6,e[r++]=128|63&s}else if(s<=65535){if(r+2>=i)break;e[r++]=224|s>>12,e[r++]=128|s>>6&63,e[r++]=128|63&s}else{if(r+3>=i)break;e[r++]=240|s>>18,e[r++]=128|s>>12&63,e[r++]=128|s>>6&63,e[r++]=128|63&s}}return e[r]=0,r-o}(t,T,e,r)}function W(t){_=t,o.HEAP8=x=new Int8Array(t),o.HEAP16=P=new Int16Array(t),o.HEAP32=C=new Int32Array(t),o.HEAPU8=T=new Uint8Array(t),o.HEAPU16=$=new Uint16Array(t),o.HEAPU32=S=new Uint32Array(t),o.HEAPF32=k=new Float32Array(t),o.HEAPF64=A=new Float64Array(t)}o.INITIAL_MEMORY;var D,I=[],U=[],M=[];function q(t){I.unshift(t)}function z(t){M.unshift(t)}var B,N,V=0,H=null,L=null;function G(t){o.onAbort&&o.onAbort(t),w(t="Aborted("+t+")"),j=!0,t+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(t);throw n(e),e}function J(t){return t.startsWith("data:application/octet-stream;base64,")}function X(t){return t.startsWith("file://")}function K(t){try{if(t==B&&y)return new Uint8Array(y);if(s)return s(t);throw"both async and sync fetching of the wasm failed"}catch(t){G(t)}}function Y(t){this.name="ExitStatus",this.message="Program terminated with exit("+t+")",this.status=t}function Z(t){for(;t.length>0;)t.shift()(o)}function Q(t){this.excPtr=t,this.ptr=t-24,this.set_type=function(t){S[this.ptr+4>>2]=t},this.get_type=function(){return S[this.ptr+4>>2]},this.set_destructor=function(t){S[this.ptr+8>>2]=t},this.get_destructor=function(){return S[this.ptr+8>>2]},this.set_refcount=function(t){C[this.ptr>>2]=t},this.set_caught=function(t){t=t?1:0,x[this.ptr+12|0]=t},this.get_caught=function(){return 0!=x[this.ptr+12|0]},this.set_rethrown=function(t){t=t?1:0,x[this.ptr+13|0]=t},this.get_rethrown=function(){return 0!=x[this.ptr+13|0]},this.init=function(t,e){this.set_adjusted_ptr(0),this.set_type(t),this.set_destructor(e),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){var t=C[this.ptr>>2];C[this.ptr>>2]=t+1},this.release_ref=function(){var t=C[this.ptr>>2];return C[this.ptr>>2]=t-1,1===t},this.set_adjusted_ptr=function(t){S[this.ptr+16>>2]=t},this.get_adjusted_ptr=function(){return S[this.ptr+16>>2]},this.get_exception_ptr=function(){if(Me(this.get_type()))return S[this.excPtr>>2];var t=this.get_adjusted_ptr();return 0!==t?t:this.excPtr}}J(B="openjpegwasm_decode.wasm")||(N=B,B=o.locateFile?o.locateFile(N,h):h+N);var tt={};function et(t){for(;t.length;){var e=t.pop();t.pop()(e)}}function rt(t){return this.fromWireType(C[t>>2])}var nt={},ot={},it={};function at(t){if(void 0===t)return"_unknown";var e=(t=t.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return e>=48&&e<=57?"_"+t:t}function st(t,e){return t=at(t),new Function("body","return function "+t+'() {\n "use strict"; return body.apply(this, arguments);\n};\n')(e)}function ut(t,e){var r=st(e,function(t){this.name=e,this.message=t;var r=new Error(t).stack;void 0!==r&&(this.stack=this.toString()+"\n"+r.replace(/^Error(:[^\n]*)?\n/,""))});return r.prototype=Object.create(t.prototype),r.prototype.constructor=r,r.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message},r}var ct=void 0;function ft(t){throw new ct(t)}function lt(t,e,r){function n(e){var n=r(e);n.length!==t.length&&ft("Mismatched type converter count");for(var o=0;o<t.length;++o)yt(t[o],n[o])}t.forEach(function(t){it[t]=e});var o=new Array(e.length),i=[],a=0;e.forEach((t,e)=>{ot.hasOwnProperty(t)?o[e]=ot[t]:(i.push(t),nt.hasOwnProperty(t)||(nt[t]=[]),nt[t].push(()=>{o[e]=ot[t],++a===i.length&&n(o)}))}),0===i.length&&n(o)}function pt(t){switch(t){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+t)}}var dt=void 0;function ht(t){for(var e="",r=t;T[r];)e+=dt[T[r++]];return e}var vt=void 0;function mt(t){throw new vt(t)}function yt(t,e,r={}){if(!("argPackAdvance"in e))throw new TypeError("registerType registeredInstance requires argPackAdvance");var n=e.name;if(t||mt('type "'+n+'" must have a positive integer typeid pointer'),ot.hasOwnProperty(t)){if(r.ignoreDuplicateRegistrations)return;mt("Cannot register type '"+n+"' twice")}if(ot[t]=e,delete it[t],nt.hasOwnProperty(t)){var o=nt[t];delete nt[t],o.forEach(t=>t())}}function gt(t){if(!(this instanceof qt))return!1;if(!(t instanceof qt))return!1;for(var e=this.$$.ptrType.registeredClass,r=this.$$.ptr,n=t.$$.ptrType.registeredClass,o=t.$$.ptr;e.baseClass;)r=e.upcast(r),e=e.baseClass;for(;n.baseClass;)o=n.upcast(o),n=n.baseClass;return e===n&&r===o}function wt(t){mt(t.$$.ptrType.registeredClass.name+" instance already deleted")}var bt=!1;function _t(t){}function xt(t){t.count.value-=1,0===t.count.value&&function(t){t.smartPtr?t.smartPtrType.rawDestructor(t.smartPtr):t.ptrType.registeredClass.rawDestructor(t.ptr)}(t)}function Tt(t,e,r){if(e===r)return t;if(void 0===r.baseClass)return null;var n=Tt(t,e,r.baseClass);return null===n?null:r.downcast(n)}var Pt={};function $t(){return Object.keys(Et).length}function Ct(){var t=[];for(var e in Et)Et.hasOwnProperty(e)&&t.push(Et[e]);return t}var St=[];function kt(){for(;St.length;){var t=St.pop();t.$$.deleteScheduled=!1,t.delete()}}var At=void 0;function jt(t){At=t,St.length&&At&&At(kt)}var Et={};function Ot(t,e){return e=function(t,e){for(void 0===e&&mt("ptr should not be undefined");t.baseClass;)e=t.upcast(e),t=t.baseClass;return e}(t,e),Et[e]}function Ft(t,e){return e.ptrType&&e.ptr||ft("makeClassHandle requires ptr and ptrType"),!!e.smartPtrType!=!!e.smartPtr&&ft("Both smartPtrType and smartPtr must be specified"),e.count={value:1},Wt(Object.create(t,{$$:{value:e}}))}function Rt(t){var e=this.getPointee(t);if(!e)return this.destructor(t),null;var r=Ot(this.registeredClass,e);if(void 0!==r){if(0===r.$$.count.value)return r.$$.ptr=e,r.$$.smartPtr=t,r.clone();var n=r.clone();return this.destructor(t),n}function o(){return this.isSmartPointer?Ft(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:e,smartPtrType:this,smartPtr:t}):Ft(this.registeredClass.instancePrototype,{ptrType:this,ptr:t})}var i,a=this.registeredClass.getActualType(e),s=Pt[a];if(!s)return o.call(this);i=this.isConst?s.constPointerType:s.pointerType;var u=Tt(e,this.registeredClass,i.registeredClass);return null===u?o.call(this):this.isSmartPointer?Ft(i.registeredClass.instancePrototype,{ptrType:i,ptr:u,smartPtrType:this,smartPtr:t}):Ft(i.registeredClass.instancePrototype,{ptrType:i,ptr:u})}function Wt(t){return"undefined"==typeof FinalizationRegistry?(Wt=t=>t,t):(bt=new FinalizationRegistry(t=>{xt(t.$$)}),Wt=t=>{var e=t.$$;if(e.smartPtr){var r={$$:e};bt.register(t,r,t)}return t},_t=t=>bt.unregister(t),Wt(t))}function Dt(){if(this.$$.ptr||wt(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var t,e=Wt(Object.create(Object.getPrototypeOf(this),{$$:{value:(t=this.$$,{count:t.count,deleteScheduled:t.deleteScheduled,preservePointerOnDelete:t.preservePointerOnDelete,ptr:t.ptr,ptrType:t.ptrType,smartPtr:t.smartPtr,smartPtrType:t.smartPtrType})}}));return e.$$.count.value+=1,e.$$.deleteScheduled=!1,e}function It(){this.$$.ptr||wt(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&mt("Object already scheduled for deletion"),_t(this),xt(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)}function Ut(){return!this.$$.ptr}function Mt(){return this.$$.ptr||wt(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&mt("Object already scheduled for deletion"),St.push(this),1===St.length&&At&&At(kt),this.$$.deleteScheduled=!0,this}function qt(){}function zt(t,e,r){if(void 0===t[e].overloadTable){var n=t[e];t[e]=function(){return t[e].overloadTable.hasOwnProperty(arguments.length)||mt("Function '"+r+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+t[e].overloadTable+")!"),t[e].overloadTable[arguments.length].apply(this,arguments)},t[e].overloadTable=[],t[e].overloadTable[n.argCount]=n}}function Bt(t,e,r,n,o,i,a,s){this.name=t,this.constructor=e,this.instancePrototype=r,this.rawDestructor=n,this.baseClass=o,this.getActualType=i,this.upcast=a,this.downcast=s,this.pureVirtualFunctions=[]}function Nt(t,e,r){for(;e!==r;)e.upcast||mt("Expected null or instance of "+r.name+", got an instance of "+e.name),t=e.upcast(t),e=e.baseClass;return t}function Vt(t,e){if(null===e)return this.isReference&&mt("null is not a valid "+this.name),0;e.$$||mt('Cannot pass "'+pe(e)+'" as a '+this.name),e.$$.ptr||mt("Cannot pass deleted object as a pointer of type "+this.name);var r=e.$$.ptrType.registeredClass;return Nt(e.$$.ptr,r,this.registeredClass)}function Ht(t,e){var r;if(null===e)return this.isReference&&mt("null is not a valid "+this.name),this.isSmartPointer?(r=this.rawConstructor(),null!==t&&t.push(this.rawDestructor,r),r):0;e.$$||mt('Cannot pass "'+pe(e)+'" as a '+this.name),e.$$.ptr||mt("Cannot pass deleted object as a pointer of type "+this.name),!this.isConst&&e.$$.ptrType.isConst&&mt("Cannot convert argument of type "+(e.$$.smartPtrType?e.$$.smartPtrType.name:e.$$.ptrType.name)+" to parameter type "+this.name);var n=e.$$.ptrType.registeredClass;if(r=Nt(e.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(void 0===e.$$.smartPtr&&mt("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:e.$$.smartPtrType===this?r=e.$$.smartPtr:mt("Cannot convert argument of type "+(e.$$.smartPtrType?e.$$.smartPtrType.name:e.$$.ptrType.name)+" to parameter type "+this.name);break;case 1:r=e.$$.smartPtr;break;case 2:if(e.$$.smartPtrType===this)r=e.$$.smartPtr;else{var o=e.clone();r=this.rawShare(r,le.toHandle(function(){o.delete()})),null!==t&&t.push(this.rawDestructor,r)}break;default:mt("Unsupporting sharing policy")}return r}function Lt(t,e){if(null===e)return this.isReference&&mt("null is not a valid "+this.name),0;e.$$||mt('Cannot pass "'+pe(e)+'" as a '+this.name),e.$$.ptr||mt("Cannot pass deleted object as a pointer of type "+this.name),e.$$.ptrType.isConst&&mt("Cannot convert argument of type "+e.$$.ptrType.name+" to parameter type "+this.name);var r=e.$$.ptrType.registeredClass;return Nt(e.$$.ptr,r,this.registeredClass)}function Gt(t){return this.rawGetPointee&&(t=this.rawGetPointee(t)),t}function Jt(t){this.rawDestructor&&this.rawDestructor(t)}function Xt(t){null!==t&&t.delete()}function Kt(t,e,r,n,o,i,a,s,u,c,f){this.name=t,this.registeredClass=e,this.isReference=r,this.isConst=n,this.isSmartPointer=o,this.pointeeType=i,this.sharingPolicy=a,this.rawGetPointee=s,this.rawConstructor=u,this.rawShare=c,this.rawDestructor=f,o||void 0!==e.baseClass?this.toWireType=Ht:n?(this.toWireType=Vt,this.destructorFunction=null):(this.toWireType=Lt,this.destructorFunction=null)}var Yt=[];function Zt(t){var e=Yt[t];return e||(t>=Yt.length&&(Yt.length=t+1),Yt[t]=e=D.get(t)),e}function Qt(t,e,r){return t.includes("j")?function(t,e,r){var n=o["dynCall_"+t];return r&&r.length?n.apply(null,[e].concat(r)):n.call(null,e)}(t,e,r):Zt(e).apply(null,r)}function te(t,e){var r,n,o,i=(t=ht(t)).includes("j")?(r=t,n=e,o=[],function(){return o.length=0,Object.assign(o,arguments),Qt(r,n,o)}):Zt(e);return"function"!=typeof i&&mt("unknown function pointer with signature "+t+": "+e),i}var ee=void 0;function re(t){var e=We(t),r=ht(e);return Re(e),r}function ne(t,e){var r=[],n={};throw e.forEach(function t(e){n[e]||ot[e]||(it[e]?it[e].forEach(t):(r.push(e),n[e]=!0))}),new ee(t+": "+r.map(re).join([", "]))}function oe(t,e){for(var r=[],n=0;n<t;n++)r.push(S[e+4*n>>2]);return r}function ie(t,e,r,n,o){var i=e.length;i<2&&mt("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var a=null!==e[1]&&null!==r,s=!1,u=1;u<e.length;++u)if(null!==e[u]&&void 0===e[u].destructorFunction){s=!0;break}var c="void"!==e[0].name,f="",l="";for(u=0;u<i-2;++u)f+=(0!==u?", ":"")+"arg"+u,l+=(0!==u?", ":"")+"arg"+u+"Wired";var p="return function "+at(t)+"("+f+") {\nif (arguments.length !== "+(i-2)+") {\nthrowBindingError('function "+t+" called with ' + arguments.length + ' arguments, expected "+(i-2)+" args!');\n}\n";s&&(p+="var destructors = [];\n");var d=s?"destructors":"null",h=["throwBindingError","invoker","fn","runDestructors","retType","classParam"],v=[mt,n,o,et,e[0],e[1]];for(a&&(p+="var thisWired = classParam.toWireType("+d+", this);\n"),u=0;u<i-2;++u)p+="var arg"+u+"Wired = argType"+u+".toWireType("+d+", arg"+u+"); // "+e[u+2].name+"\n",h.push("argType"+u),v.push(e[u+2]);if(a&&(l="thisWired"+(l.length>0?", ":"")+l),p+=(c?"var rv = ":"")+"invoker(fn"+(l.length>0?", ":"")+l+");\n",s)p+="runDestructors(destructors);\n";else for(u=a?1:2;u<e.length;++u){var m=1===u?"thisWired":"arg"+(u-2)+"Wired";null!==e[u].destructorFunction&&(p+=m+"_dtor("+m+"); // "+e[u].name+"\n",h.push(m+"_dtor"),v.push(e[u].destructorFunction))}return c&&(p+="var ret = retType.fromWireType(rv);\nreturn ret;\n"),p+="}\n",h.push(p),function(t,e){if(!(t instanceof Function))throw new TypeError("new_ called with constructor type "+typeof t+" which is not a function");var r=st(t.name||"unknownFunctionName",function(){});r.prototype=t.prototype;var n=new r,o=t.apply(n,e);return o instanceof Object?o:n}(Function,h).apply(null,v)}var ae=[],se=[{},{value:void 0},{value:null},{value:!0},{value:!1}];function ue(t){t>4&&0===--se[t].refcount&&(se[t]=void 0,ae.push(t))}function ce(){for(var t=0,e=5;e<se.length;++e)void 0!==se[e]&&++t;return t}function fe(){for(var t=5;t<se.length;++t)if(void 0!==se[t])return se[t];return null}var le={toValue:t=>(t||mt("Cannot use deleted val. handle = "+t),se[t].value),toHandle:t=>{switch(t){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:var e=ae.length?ae.pop():se.length;return se[e]={refcount:1,value:t},e}}};function pe(t){if(null===t)return"null";var e=typeof t;return"object"===e||"array"===e||"function"===e?t.toString():""+t}function de(t,e){switch(e){case 2:return function(t){return this.fromWireType(k[t>>2])};case 3:return function(t){return this.fromWireType(A[t>>3])};default:throw new TypeError("Unknown float type: "+t)}}function he(t,e,r){switch(e){case 0:return r?function(t){return x[t]}:function(t){return T[t]};case 1:return r?function(t){return P[t>>1]}:function(t){return $[t>>1]};case 2:return r?function(t){return C[t>>2]}:function(t){return S[t>>2]};default:throw new TypeError("Unknown integer type: "+t)}}var ve="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0;function me(t,e){for(var r=t,n=r>>1,o=n+e/2;!(n>=o)&&$[n];)++n;if((r=n<<1)-t>32&&ve)return ve.decode(T.subarray(t,r));for(var i="",a=0;!(a>=e/2);++a){var s=P[t+2*a>>1];if(0==s)break;i+=String.fromCharCode(s)}return i}function ye(t,e,r){if(void 0===r&&(r=2147483647),r<2)return 0;for(var n=e,o=(r-=2)<2*t.length?r/2:t.length,i=0;i<o;++i){var a=t.charCodeAt(i);P[e>>1]=a,e+=2}return P[e>>1]=0,e-n}function ge(t){return 2*t.length}function we(t,e){for(var r=0,n="";!(r>=e/4);){var o=C[t+4*r>>2];if(0==o)break;if(++r,o>=65536){var i=o-65536;n+=String.fromCharCode(55296|i>>10,56320|1023&i)}else n+=String.fromCharCode(o)}return n}function be(t,e,r){if(void 0===r&&(r=2147483647),r<4)return 0;for(var n=e,o=n+r-4,i=0;i<t.length;++i){var a=t.charCodeAt(i);if(a>=55296&&a<=57343&&(a=65536+((1023&a)<<10)|1023&t.charCodeAt(++i)),C[e>>2]=a,(e+=4)+4>o)break}return C[e>>2]=0,e-n}function _e(t){for(var e=0,r=0;r<t.length;++r){var n=t.charCodeAt(r);n>=55296&&n<=57343&&++r,e+=4}return e}var xe={};function Te(){return"object"==typeof globalThis?globalThis:Function("return this")()}function Pe(t,e){var r=ot[t];return void 0===r&&mt(e+" has unknown type "+re(t)),r}var $e={};function Ce(t){try{return b.grow(t-_.byteLength+65535>>>16),W(b.buffer),1}catch(t){}}var Se={};function ke(){if(!ke.strings){var t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:f||"./this.program"};for(var e in Se)void 0===Se[e]?delete t[e]:t[e]=Se[e];var r=[];for(var e in t)r.push(e+"="+t[e]);ke.strings=r}return ke.strings}var Ae=[null,[],[]];function je(t,e){var r=Ae[t];0===e||10===e?((1===t?g:w)(O(r,0)),r.length=0):r.push(e)}ct=o.InternalError=ut(Error,"InternalError"),function(){for(var t=new Array(256),e=0;e<256;++e)t[e]=String.fromCharCode(e);dt=t}(),vt=o.BindingError=ut(Error,"BindingError"),qt.prototype.isAliasOf=gt,qt.prototype.clone=Dt,qt.prototype.delete=It,qt.prototype.isDeleted=Ut,qt.prototype.deleteLater=Mt,o.getInheritedInstanceCount=$t,o.getLiveInheritedInstances=Ct,o.flushPendingDeletes=kt,o.setDelayFunction=jt,Kt.prototype.getPointee=Gt,Kt.prototype.destructor=Jt,Kt.prototype.argPackAdvance=8,Kt.prototype.readValueFromPointer=rt,Kt.prototype.deleteObject=Xt,Kt.prototype.fromWireType=Rt,ee=o.UnboundTypeError=ut(Error,"UnboundTypeError"),o.count_emval_handles=ce,o.get_first_emval=fe;var Ee,Oe={D:function(t,e,r){throw new Q(t).init(e,r),t},e:function(t){var e=tt[t];delete tt[t];var r=e.rawConstructor,n=e.rawDestructor,o=e.fields;lt([t],o.map(t=>t.getterReturnType).concat(o.map(t=>t.setterArgumentType)),t=>{var i={};return o.forEach((e,r)=>{var n=e.fieldName,a=t[r],s=e.getter,u=e.getterContext,c=t[r+o.length],f=e.setter,l=e.setterContext;i[n]={read:t=>a.fromWireType(s(u,t)),write:(t,e)=>{var r=[];f(l,t,c.toWireType(r,e)),et(r)}}}),[{name:e.name,fromWireType:function(t){var e={};for(var r in i)e[r]=i[r].read(t);return n(t),e},toWireType:function(t,e){for(var o in i)if(!(o in e))throw new TypeError('Missing field: "'+o+'"');var a=r();for(o in i)i[o].write(a,e[o]);return null!==t&&t.push(n,a),a},argPackAdvance:8,readValueFromPointer:rt,destructorFunction:n}]})},t:function(t,e,r,n,o){},B:function(t,e,r,n,o){var i=pt(r);yt(t,{name:e=ht(e),fromWireType:function(t){return!!t},toWireType:function(t,e){return e?n:o},argPackAdvance:8,readValueFromPointer:function(t){var n;if(1===r)n=x;else if(2===r)n=P;else{if(4!==r)throw new TypeError("Unknown boolean type size: "+e);n=C}return this.fromWireType(n[t>>i])},destructorFunction:null})},r:function(t,e,r,n,i,a,s,u,c,f,l,p,d){l=ht(l),a=te(i,a),u&&(u=te(s,u)),f&&(f=te(c,f)),d=te(p,d);var h=at(l);!function(t,e,r){o.hasOwnProperty(t)?((void 0===r||void 0!==o[t].overloadTable&&void 0!==o[t].overloadTable[r])&&mt("Cannot register public name '"+t+"' twice"),zt(o,t,t),o.hasOwnProperty(r)&&mt("Cannot register multiple overloads of a function with the same number of arguments ("+r+")!"),o[t].overloadTable[r]=e):(o[t]=e,void 0!==r&&(o[t].numArguments=r))}(h,function(){ne("Cannot construct "+l+" due to unbound types",[n])}),lt([t,e,r],n?[n]:[],function(e){var r,i;e=e[0],i=n?(r=e.registeredClass).instancePrototype:qt.prototype;var s=st(h,function(){if(Object.getPrototypeOf(this)!==c)throw new vt("Use 'new' to construct "+l);if(void 0===p.constructor_body)throw new vt(l+" has no accessible constructor");var t=p.constructor_body[arguments.length];if(void 0===t)throw new vt("Tried to invoke ctor of "+l+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(p.constructor_body).toString()+") parameters instead!");return t.apply(this,arguments)}),c=Object.create(i,{constructor:{value:s}});s.prototype=c;var p=new Bt(l,s,c,d,r,a,u,f),v=new Kt(l,p,!0,!1,!1),m=new Kt(l+"*",p,!1,!1,!1),y=new Kt(l+" const*",p,!1,!0,!1);return Pt[t]={pointerType:m,constPointerType:y},function(t,e,r){o.hasOwnProperty(t)||ft("Replacing nonexistant public symbol"),void 0!==o[t].overloadTable&&void 0!==r?o[t].overloadTable[r]=e:(o[t]=e,o[t].argCount=r)}(h,s),[v,m,y]})},q:function(t,e,r,n,o,i){var a;e>0||G(a);var s=oe(e,r);o=te(n,o),lt([],[t],function(t){var r="constructor "+(t=t[0]).name;if(void 0===t.registeredClass.constructor_body&&(t.registeredClass.constructor_body=[]),void 0!==t.registeredClass.constructor_body[e-1])throw new vt("Cannot register multiple constructors with identical number of parameters ("+(e-1)+") for class '"+t.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return t.registeredClass.constructor_body[e-1]=()=>{ne("Cannot construct "+t.name+" due to unbound types",s)},lt([],s,function(n){return n.splice(1,0,null),t.registeredClass.constructor_body[e-1]=ie(r,n,null,o,i),[]}),[]})},b:function(t,e,r,n,o,i,a,s){var u=oe(r,n);e=ht(e),i=te(o,i),lt([],[t],function(t){var n=(t=t[0]).name+"."+e;function o(){ne("Cannot call "+n+" due to unbound types",u)}e.startsWith("@@")&&(e=Symbol[e.substring(2)]),s&&t.registeredClass.pureVirtualFunctions.push(e);var c=t.registeredClass.instancePrototype,f=c[e];return void 0===f||void 0===f.overloadTable&&f.className!==t.name&&f.argCount===r-2?(o.argCount=r-2,o.className=t.name,c[e]=o):(zt(c,e,n),c[e].overloadTable[r-2]=o),lt([],u,function(o){var s=ie(n,o,t,i,a);return void 0===c[e].overloadTable?(s.argCount=r-2,c[e]=s):c[e].overloadTable[r-2]=s,[]}),[]})},A:function(t,e){yt(t,{name:e=ht(e),fromWireType:function(t){var e=le.toValue(t);return ue(t),e},toWireType:function(t,e){return le.toHandle(e)},argPackAdvance:8,readValueFromPointer:rt,destructorFunction:null})},l:function(t,e,r){var n=pt(r);yt(t,{name:e=ht(e),fromWireType:function(t){return t},toWireType:function(t,e){return e},argPackAdvance:8,readValueFromPointer:de(e,n),destructorFunction:null})},d:function(t,e,r,n,o){e=ht(e),-1===o&&(o=4294967295);var i=pt(r),a=t=>t;if(0===n){var s=32-8*r;a=t=>t<<s>>>s}var u=e.includes("unsigned");yt(t,{name:e,fromWireType:a,toWireType:u?function(t,e){return this.name,e>>>0}:function(t,e){return this.name,e},argPackAdvance:8,readValueFromPointer:he(e,i,0!==n),destructorFunction:null})},a:function(t,e,r){var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][e];function o(t){var e=S,r=e[t>>=2],o=e[t+1];return new n(_,o,r)}yt(t,{name:r=ht(r),fromWireType:o,argPackAdvance:8,readValueFromPointer:o},{ignoreDuplicateRegistrations:!0})},k:function(t,e){var r="std::string"===(e=ht(e));yt(t,{name:e,fromWireType:function(t){var e,n=S[t>>2],o=t+4;if(r)for(var i=o,a=0;a<=n;++a){var s=o+a;if(a==n||0==T[s]){var u=F(i,s-i);void 0===e?e=u:(e+=String.fromCharCode(0),e+=u),i=s+1}}else{var c=new Array(n);for(a=0;a<n;++a)c[a]=String.fromCharCode(T[o+a]);e=c.join("")}return Re(t),e},toWireType:function(t,e){var n;e instanceof ArrayBuffer&&(e=new Uint8Array(e));var o="string"==typeof e;o||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Int8Array||mt("Cannot pass non-string to std::string"),n=r&&o?function(t){for(var e=0,r=0;r<t.length;++r){var n=t.charCodeAt(r);n<=127?e++:n<=2047?e+=2:n>=55296&&n<=57343?(e+=4,++r):e+=3}return e}(e):e.length;var i=Fe(4+n+1),a=i+4;if(S[i>>2]=n,r&&o)R(e,a,n+1);else if(o)for(var s=0;s<n;++s){var u=e.charCodeAt(s);u>255&&(Re(a),mt("String has UTF-16 code units that do not fit in 8 bits")),T[a+s]=u}else for(s=0;s<n;++s)T[a+s]=e[s];return null!==t&&t.push(Re,i),i},argPackAdvance:8,readValueFromPointer:rt,destructorFunction:function(t){Re(t)}})},f:function(t,e,r){var n,o,i,a,s;r=ht(r),2===e?(n=me,o=ye,a=ge,i=()=>$,s=1):4===e&&(n=we,o=be,a=_e,i=()=>S,s=2),yt(t,{name:r,fromWireType:function(t){for(var r,o=S[t>>2],a=i(),u=t+4,c=0;c<=o;++c){var f=t+4+c*e;if(c==o||0==a[f>>s]){var l=n(u,f-u);void 0===r?r=l:(r+=String.fromCharCode(0),r+=l),u=f+e}}return Re(t),r},toWireType:function(t,n){"string"!=typeof n&&mt("Cannot pass non-string to C++ string type "+r);var i=a(n),u=Fe(4+i+e);return S[u>>2]=i>>s,o(n,u+4,i+e),null!==t&&t.push(Re,u),u},argPackAdvance:8,readValueFromPointer:rt,destructorFunction:function(t){Re(t)}})},g:function(t,e,r,n,o,i){tt[t]={name:ht(e),rawConstructor:te(r,n),rawDestructor:te(o,i),fields:[]}},c:function(t,e,r,n,o,i,a,s,u,c){tt[t].fields.push({fieldName:ht(e),getterReturnType:r,getter:te(n,o),getterContext:i,setterArgumentType:a,setter:te(s,u),setterContext:c})},C:function(t,e){yt(t,{isVoid:!0,name:e=ht(e),argPackAdvance:0,fromWireType:function(){},toWireType:function(t,e){}})},h:ue,o:function(t){return 0===t?le.toHandle(Te()):(t=void 0===(r=xe[e=t])?ht(e):r,le.toHandle(Te()[t]));var e,r},m:function(t){t>4&&(se[t].refcount+=1)},n:function(t,e,r,n){t=le.toValue(t);var i=$e[e];return i||(i=function(t){for(var e="",r=0;r<t;++r)e+=(0!==r?", ":"")+"arg"+r;var n="return function emval_allocator_"+t+"(constructor, argTypes, args) {\n var HEAPU32 = getMemory();\n";for(r=0;r<t;++r)n+="var argType"+r+" = requireRegisteredType(HEAPU32[((argTypes)>>2)], 'parameter "+r+"');\nvar arg"+r+" = argType"+r+".readValueFromPointer(args);\nargs += argType"+r+"['argPackAdvance'];\nargTypes += 4;\n";return n+="var obj = new constructor("+e+");\nreturn valueToHandle(obj);\n}\n",new Function("requireRegisteredType","Module","valueToHandle","getMemory",n)(Pe,o,le.toHandle,()=>S)}(e),$e[e]=i),i(t,r,n)},p:function(t,e){var r=(t=Pe(t,"_emval_take_value")).readValueFromPointer(e);return le.toHandle(r)},i:function(){G("")},v:function(){return 2147483648},z:function(t,e,r){T.copyWithin(t,e,e+r)},u:function(t){var e=T.length,r=2147483648;if((t>>>=0)>r)return!1;let n=(t,e)=>t+(e-t%e)%e;for(var o=1;o<=4;o*=2){var i=e*(1+.2/o);if(i=Math.min(i,t+100663296),Ce(Math.min(r,n(Math.max(t,i),65536))))return!0}return!1},w:function(t,e){var r=0;return ke().forEach(function(n,o){var i=e+r;S[t+4*o>>2]=i,function(t,e,r){for(var n=0;n<t.length;++n)x[0|e++]=t.charCodeAt(n);r||(x[0|e]=0)}(n,i),r+=n.length+1}),0},x:function(t,e){var r=ke();S[t>>2]=r.length;var n=0;return r.forEach(function(t){n+=t.length+1}),S[e>>2]=n,0},y:function(t){return 52},s:function(t,e,r,n,o){return 70},j:function(t,e,r,n){for(var o=0,i=0;i<r;i++){var a=S[e>>2],s=S[e+4>>2];e+=8;for(var u=0;u<s;u++)je(t,T[a+u]);o+=s}return S[n>>2]=o,0}},Fe=(function(){var t={a:Oe};function e(t,e){var r,n=t.exports;o.asm=n,W((b=o.asm.E).buffer),D=o.asm.G,r=o.asm.F,U.unshift(r),function(){if(V--,o.monitorRunDependencies&&o.monitorRunDependencies(V),0==V&&(null!==H&&(clearInterval(H),H=null),L)){var t=L;L=null,t()}}()}function r(t){e(t.instance)}function i(e){return function(){if(!y&&(l||p)){if("function"==typeof fetch&&!X(B))return fetch(B,{credentials:"same-origin"}).then(function(t){if(!t.ok)throw"failed to load wasm binary file at '"+B+"'";return t.arrayBuffer()}).catch(function(){return K(B)});if(a)return new Promise(function(t,e){a(B,function(e){t(new Uint8Array(e))},e)})}return Promise.resolve().then(function(){return K(B)})}().then(function(e){return WebAssembly.instantiate(e,t)}).then(function(t){return t}).then(e,function(t){w("failed to asynchronously prepare wasm: "+t),G(t)})}if(V++,o.monitorRunDependencies&&o.monitorRunDependencies(V),o.instantiateWasm)try{return o.instantiateWasm(t,e)}catch(t){w("Module.instantiateWasm callback failed with error: "+t),n(t)}(y||"function"!=typeof WebAssembly.instantiateStreaming||J(B)||X(B)||d||"function"!=typeof fetch?i(r):fetch(B,{credentials:"same-origin"}).then(function(e){return WebAssembly.instantiateStreaming(e,t).then(r,function(t){return w("wasm streaming compile failed: "+t),w("falling back to ArrayBuffer instantiation"),i(r)})})).catch(n)}(),o.___wasm_call_ctors=function(){return(o.___wasm_call_ctors=o.asm.F).apply(null,arguments)},o._malloc=function(){return(Fe=o._malloc=o.asm.H).apply(null,arguments)}),Re=o._free=function(){return(Re=o._free=o.asm.I).apply(null,arguments)},We=o.___getTypeName=function(){return(We=o.___getTypeName=o.asm.J).apply(null,arguments)},De=(o.__embind_initialize_bindings=function(){return(o.__embind_initialize_bindings=o.asm.K).apply(null,arguments)},o.stackSave=function(){return(De=o.stackSave=o.asm.L).apply(null,arguments)}),Ie=o.stackRestore=function(){return(Ie=o.stackRestore=o.asm.M).apply(null,arguments)},Ue=o.stackAlloc=function(){return(Ue=o.stackAlloc=o.asm.N).apply(null,arguments)},Me=o.___cxa_is_pointer_type=function(){return(Me=o.___cxa_is_pointer_type=o.asm.O).apply(null,arguments)};function qe(t){function r(){Ee||(Ee=!0,o.calledRun=!0,j||(Z(U),e(o),o.onRuntimeInitialized&&o.onRuntimeInitialized(),function(){if(o.postRun)for("function"==typeof o.postRun&&(o.postRun=[o.postRun]);o.postRun.length;)z(o.postRun.shift());Z(M)}()))}t=t||c,V>0||(function(){if(o.preRun)for("function"==typeof o.preRun&&(o.preRun=[o.preRun]);o.preRun.length;)q(o.preRun.shift());Z(I)}(),V>0||(o.setStatus?(o.setStatus("Running..."),setTimeout(function(){setTimeout(function(){o.setStatus("")},1),r()},1)):r()))}if(o.dynCall_iji=function(){return(o.dynCall_iji=o.asm.P).apply(null,arguments)},o.dynCall_jji=function(){return(o.dynCall_jji=o.asm.Q).apply(null,arguments)},o.dynCall_iiji=function(){return(o.dynCall_iiji=o.asm.R).apply(null,arguments)},o.dynCall_jiji=function(){return(o.dynCall_jiji=o.asm.S).apply(null,arguments)},o.ccall=function(t,e,r,n,i){var a={string:t=>{var e=0;if(null!=t&&0!==t){var r=1+(t.length<<2);R(t,e=Ue(r),r)}return e},array:t=>{var e=Ue(t.length);return function(t,e){x.set(t,e)}(t,e),e}},s=function(t){return o["_"+t]}(t),u=[],c=0;if(n)for(var f=0;f<n.length;f++){var l=a[r[f]];l?(0===c&&(c=De()),u[f]=l(n[f])):u[f]=n[f]}var p=s.apply(null,u);return p=function(t){return 0!==c&&Ie(c),function(t){return"string"===e?F(t):"boolean"===e?Boolean(t):t}(t)}(p)},L=function t(){Ee||qe(),Ee||(L=t)},o.preInit)for("function"==typeof o.preInit&&(o.preInit=[o.preInit]);o.preInit.length>0;)o.preInit.pop()();return qe(),t.ready});"object"==typeof e&&"object"==typeof t?t.exports=n:"function"==typeof define&&define.amd?define([],function(){return n}):"object"==typeof e&&(e.OpenJPEGWASM=n)},63156:(t,e,r)=>{"use strict";var n=r(32209),o=r(12973),i=r(99980),a=r(78248),s=r(2241),u=r(33418),c=o([].push),f=function(t){var e=1===t,r=2===t,o=3===t,f=4===t,l=6===t,p=7===t,d=5===t||l;return function(h,v,m,y){for(var g,w,b=a(h),_=i(b),x=s(_),T=n(v,m),P=0,$=y||u,C=e?$(h,x):r||p?$(h,0):void 0;x>P;P++)if((d||P in _)&&(w=T(g=_[P],P,b),t))if(e)C[P]=w;else if(w)switch(t){case 3:return!0;case 5:return g;case 6:return P;case 2:c(C,g)}else switch(t){case 4:return!1;case 7:c(C,g)}return l?-1:o||f?f:C}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},63315:(t,e,r)=>{"use strict";var n=r(96377),o=r(56158),i=r(61965);n({target:"Set",proto:!0,real:!0,forced:!r(57107)("intersection",function(t){return 2===t.size&&t.has(1)&&t.has(2)})||o(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))})},{intersection:i})},63461:(t,e,r)=>{"use strict";var n=r(96377),o=r(49127),i=r(56158);n({target:"Set",proto:!0,real:!0,forced:!r(57107)("difference",function(t){return 0===t.size})||i(function(){var t={size:1,has:function(){return!0},keys:function(){var t=0;return{next:function(){var r=t++>1;return e.has(1)&&e.clear(),{done:r,value:2}}}}},e=new Set([1,2,3,4]);return 3!==e.difference(t).size})},{difference:o})},63479:(t,e,r)=>{"use strict";r(37080)("isConcatSpreadable")},63711:(t,e,r)=>{"use strict";var n=r(12973),o=r(26406),i=r(9128),a=r(64902).indexOf,s=r(59360),u=n([].push);t.exports=function(t,e){var r,n=i(t),c=0,f=[];for(r in n)!o(s,r)&&o(n,r)&&u(f,r);for(;e.length>c;)o(n,r=e[c++])&&(~a(f,r)||u(f,r));return f}},63863:(t,e,r)=>{t.exports=r(70134)},64001:function(t,e,r){t.exports=r.p+"5004fdc02f329ce53b69.wasm"},64157:(t,e,r)=>{"use strict";var n=r(96377),o=r(28011),i=r(6862),a=r(59371),s=r(72927),u=r(2241),c=r(9128),f=r(56709),l=r(96830),p=r(25806),d=r(89125),h=p("slice"),v=l("species"),m=Array,y=Math.max;n({target:"Array",proto:!0,forced:!h},{slice:function(t,e){var r,n,l,p=c(this),h=u(p),g=s(t,h),w=s(void 0===e?h:e,h);if(o(p)&&(r=p.constructor,(i(r)&&(r===m||o(r.prototype))||a(r)&&null===(r=r[v]))&&(r=void 0),r===m||void 0===r))return d(p,g,w);for(n=new(void 0===r?m:r)(y(w-g,0)),l=0;g<w;g++,l++)g in p&&f(n,l,p[g]);return n.length=l,n}})},64184:(t,e,r)=>{"use strict";var n=r(47914);t.exports="NODE"===n},64259:(t,e,r)=>{"use strict";var n=r(48974);t.exports=n},64638:t=>{"use strict";var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},64902:(t,e,r)=>{"use strict";var n=r(9128),o=r(72927),i=r(2241),a=function(t){return function(e,r,a){var s=n(e),u=i(s);if(0===u)return!t&&-1;var c,f=o(a,u);if(t&&r!=r){for(;u>f;)if((c=s[f++])!=c)return!0}else for(;u>f;f++)if((t||f in s)&&s[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},65020:t=>{"use strict";t.exports={}},65765:(t,e,r)=>{"use strict";r(92839),r(51188),r(89392),r(14386),r(596),r(23711)},65878:function(t,e){var r,n=(r="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,"undefined"!=typeof __filename&&(r=r||__filename),function(t){var e,n,o=void 0!==(t=t||{})?t:{};o.ready=new Promise(function(t,r){e=t,n=r});var i,a,s,u=Object.assign({},o),c=[],f="object"==typeof window,l="function"==typeof importScripts,p="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,d="";if(p){var h=require("fs"),v=require("path");d=l?v.dirname(d)+"/":__dirname+"/",i=(t,e)=>(t=L(t)?new URL(t):v.normalize(t),h.readFileSync(t,e?void 0:"utf8")),s=t=>{var e=i(t,!0);return e.buffer||(e=new Uint8Array(e)),e},a=(t,e,r)=>{t=L(t)?new URL(t):v.normalize(t),h.readFile(t,function(t,n){t?r(t):e(n.buffer)})},process.argv.length>1&&process.argv[1].replace(/\\/g,"/"),c=process.argv.slice(2),process.on("uncaughtException",function(t){if(!(t instanceof J))throw t}),process.on("unhandledRejection",function(t){throw t}),o.inspect=function(){return"[Emscripten Module object]"}}else(f||l)&&(l?d=self.location.href:"undefined"!=typeof document&&document.currentScript&&(d=document.currentScript.src),r&&(d=r),d=0!==d.indexOf("blob:")?d.substr(0,d.replace(/[?#].*/,"").lastIndexOf("/")+1):"",i=t=>{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText},l&&(s=t=>{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),a=(t,e,r)=>{var n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="arraybuffer",n.onload=()=>{200==n.status||0==n.status&&n.response?e(n.response):r()},n.onerror=r,n.send(null)});o.print||console.log.bind(console);var m,y=o.printErr||console.warn.bind(console);Object.assign(o,u),u=null,o.arguments&&(c=o.arguments),o.thisProgram&&o.thisProgram,o.quit&&o.quit,o.wasmBinary&&(m=o.wasmBinary);var g;o.noExitRuntime;"object"!=typeof WebAssembly&&V("no native wasm support detected");var w,b,_,x,T,P,$,C,S,k=!1,A="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function j(t,e){return t?function(t,e,r){for(var n=e+r,o=e;t[o]&&!(o>=n);)++o;if(o-e>16&&t.buffer&&A)return A.decode(t.subarray(e,o));for(var i="";e<o;){var a=t[e++];if(128&a){var s=63&t[e++];if(192!=(224&a)){var u=63&t[e++];if((a=224==(240&a)?(15&a)<<12|s<<6|u:(7&a)<<18|s<<12|u<<6|63&t[e++])<65536)i+=String.fromCharCode(a);else{var c=a-65536;i+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else i+=String.fromCharCode((31&a)<<6|s)}else i+=String.fromCharCode(a)}return i}(_,t,e):""}function E(t,e,r){return function(t,e,r,n){if(!(n>0))return 0;for(var o=r,i=r+n-1,a=0;a<t.length;++a){var s=t.charCodeAt(a);if(s>=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&t.charCodeAt(++a)),s<=127){if(r>=i)break;e[r++]=s}else if(s<=2047){if(r+1>=i)break;e[r++]=192|s>>6,e[r++]=128|63&s}else if(s<=65535){if(r+2>=i)break;e[r++]=224|s>>12,e[r++]=128|s>>6&63,e[r++]=128|63&s}else{if(r+3>=i)break;e[r++]=240|s>>18,e[r++]=128|s>>12&63,e[r++]=128|s>>6&63,e[r++]=128|63&s}}return e[r]=0,r-o}(t,_,e,r)}function O(t){w=t,o.HEAP8=b=new Int8Array(t),o.HEAP16=x=new Int16Array(t),o.HEAP32=P=new Int32Array(t),o.HEAPU8=_=new Uint8Array(t),o.HEAPU16=T=new Uint16Array(t),o.HEAPU32=$=new Uint32Array(t),o.HEAPF32=C=new Float32Array(t),o.HEAPF64=S=new Float64Array(t)}o.INITIAL_MEMORY;var F,R=[],W=[],D=[];function I(t){R.unshift(t)}function U(t){D.unshift(t)}var M,q,z=0,B=null,N=null;function V(t){o.onAbort&&o.onAbort(t),y(t="Aborted("+t+")"),k=!0,t+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(t);throw n(e),e}function H(t){return t.startsWith("data:application/octet-stream;base64,")}function L(t){return t.startsWith("file://")}function G(t){try{if(t==M&&m)return new Uint8Array(m);if(s)return s(t);throw"both async and sync fetching of the wasm failed"}catch(t){V(t)}}function J(t){this.name="ExitStatus",this.message="Program terminated with exit("+t+")",this.status=t}function X(t){for(;t.length>0;)t.shift()(o)}function K(t){this.excPtr=t,this.ptr=t-24,this.set_type=function(t){$[this.ptr+4>>2]=t},this.get_type=function(){return $[this.ptr+4>>2]},this.set_destructor=function(t){$[this.ptr+8>>2]=t},this.get_destructor=function(){return $[this.ptr+8>>2]},this.set_refcount=function(t){P[this.ptr>>2]=t},this.set_caught=function(t){t=t?1:0,b[this.ptr+12|0]=t},this.get_caught=function(){return 0!=b[this.ptr+12|0]},this.set_rethrown=function(t){t=t?1:0,b[this.ptr+13|0]=t},this.get_rethrown=function(){return 0!=b[this.ptr+13|0]},this.init=function(t,e){this.set_adjusted_ptr(0),this.set_type(t),this.set_destructor(e),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){var t=P[this.ptr>>2];P[this.ptr>>2]=t+1},this.release_ref=function(){var t=P[this.ptr>>2];return P[this.ptr>>2]=t-1,1===t},this.set_adjusted_ptr=function(t){$[this.ptr+16>>2]=t},this.get_adjusted_ptr=function(){return $[this.ptr+16>>2]},this.get_exception_ptr=function(){if(Re(this.get_type()))return $[this.excPtr>>2];var t=this.get_adjusted_ptr();return 0!==t?t:this.excPtr}}H(M="charlswasm_decode.wasm")||(q=M,M=o.locateFile?o.locateFile(q,d):d+q);var Y={};function Z(t){for(;t.length;){var e=t.pop();t.pop()(e)}}function Q(t){return this.fromWireType(P[t>>2])}var tt={},et={},rt={};function nt(t){if(void 0===t)return"_unknown";var e=(t=t.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return e>=48&&e<=57?"_"+t:t}function ot(t,e){return t=nt(t),new Function("body","return function "+t+'() {\n "use strict"; return body.apply(this, arguments);\n};\n')(e)}function it(t,e){var r=ot(e,function(t){this.name=e,this.message=t;var r=new Error(t).stack;void 0!==r&&(this.stack=this.toString()+"\n"+r.replace(/^Error(:[^\n]*)?\n/,""))});return r.prototype=Object.create(t.prototype),r.prototype.constructor=r,r.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message},r}var at=void 0;function st(t){throw new at(t)}function ut(t,e,r){function n(e){var n=r(e);n.length!==t.length&&st("Mismatched type converter count");for(var o=0;o<t.length;++o)ht(t[o],n[o])}t.forEach(function(t){rt[t]=e});var o=new Array(e.length),i=[],a=0;e.forEach((t,e)=>{et.hasOwnProperty(t)?o[e]=et[t]:(i.push(t),tt.hasOwnProperty(t)||(tt[t]=[]),tt[t].push(()=>{o[e]=et[t],++a===i.length&&n(o)}))}),0===i.length&&n(o)}function ct(t){switch(t){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+t)}}var ft=void 0;function lt(t){for(var e="",r=t;_[r];)e+=ft[_[r++]];return e}var pt=void 0;function dt(t){throw new pt(t)}function ht(t,e,r={}){if(!("argPackAdvance"in e))throw new TypeError("registerType registeredInstance requires argPackAdvance");var n=e.name;if(t||dt('type "'+n+'" must have a positive integer typeid pointer'),et.hasOwnProperty(t)){if(r.ignoreDuplicateRegistrations)return;dt("Cannot register type '"+n+"' twice")}if(et[t]=e,delete rt[t],tt.hasOwnProperty(t)){var o=tt[t];delete tt[t],o.forEach(t=>t())}}function vt(t){if(!(this instanceof It))return!1;if(!(t instanceof It))return!1;for(var e=this.$$.ptrType.registeredClass,r=this.$$.ptr,n=t.$$.ptrType.registeredClass,o=t.$$.ptr;e.baseClass;)r=e.upcast(r),e=e.baseClass;for(;n.baseClass;)o=n.upcast(o),n=n.baseClass;return e===n&&r===o}function mt(t){dt(t.$$.ptrType.registeredClass.name+" instance already deleted")}var yt=!1;function gt(t){}function wt(t){t.count.value-=1,0===t.count.value&&function(t){t.smartPtr?t.smartPtrType.rawDestructor(t.smartPtr):t.ptrType.registeredClass.rawDestructor(t.ptr)}(t)}function bt(t,e,r){if(e===r)return t;if(void 0===r.baseClass)return null;var n=bt(t,e,r.baseClass);return null===n?null:r.downcast(n)}var _t={};function xt(){return Object.keys(kt).length}function Tt(){var t=[];for(var e in kt)kt.hasOwnProperty(e)&&t.push(kt[e]);return t}var Pt=[];function $t(){for(;Pt.length;){var t=Pt.pop();t.$$.deleteScheduled=!1,t.delete()}}var Ct=void 0;function St(t){Ct=t,Pt.length&&Ct&&Ct($t)}var kt={};function At(t,e){return e=function(t,e){for(void 0===e&&dt("ptr should not be undefined");t.baseClass;)e=t.upcast(e),t=t.baseClass;return e}(t,e),kt[e]}function jt(t,e){return e.ptrType&&e.ptr||st("makeClassHandle requires ptr and ptrType"),!!e.smartPtrType!=!!e.smartPtr&&st("Both smartPtrType and smartPtr must be specified"),e.count={value:1},Ot(Object.create(t,{$$:{value:e}}))}function Et(t){var e=this.getPointee(t);if(!e)return this.destructor(t),null;var r=At(this.registeredClass,e);if(void 0!==r){if(0===r.$$.count.value)return r.$$.ptr=e,r.$$.smartPtr=t,r.clone();var n=r.clone();return this.destructor(t),n}function o(){return this.isSmartPointer?jt(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:e,smartPtrType:this,smartPtr:t}):jt(this.registeredClass.instancePrototype,{ptrType:this,ptr:t})}var i,a=this.registeredClass.getActualType(e),s=_t[a];if(!s)return o.call(this);i=this.isConst?s.constPointerType:s.pointerType;var u=bt(e,this.registeredClass,i.registeredClass);return null===u?o.call(this):this.isSmartPointer?jt(i.registeredClass.instancePrototype,{ptrType:i,ptr:u,smartPtrType:this,smartPtr:t}):jt(i.registeredClass.instancePrototype,{ptrType:i,ptr:u})}function Ot(t){return"undefined"==typeof FinalizationRegistry?(Ot=t=>t,t):(yt=new FinalizationRegistry(t=>{wt(t.$$)}),Ot=t=>{var e=t.$$;if(e.smartPtr){var r={$$:e};yt.register(t,r,t)}return t},gt=t=>yt.unregister(t),Ot(t))}function Ft(){if(this.$$.ptr||mt(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var t,e=Ot(Object.create(Object.getPrototypeOf(this),{$$:{value:(t=this.$$,{count:t.count,deleteScheduled:t.deleteScheduled,preservePointerOnDelete:t.preservePointerOnDelete,ptr:t.ptr,ptrType:t.ptrType,smartPtr:t.smartPtr,smartPtrType:t.smartPtrType})}}));return e.$$.count.value+=1,e.$$.deleteScheduled=!1,e}function Rt(){this.$$.ptr||mt(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&dt("Object already scheduled for deletion"),gt(this),wt(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)}function Wt(){return!this.$$.ptr}function Dt(){return this.$$.ptr||mt(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&dt("Object already scheduled for deletion"),Pt.push(this),1===Pt.length&&Ct&&Ct($t),this.$$.deleteScheduled=!0,this}function It(){}function Ut(t,e,r){if(void 0===t[e].overloadTable){var n=t[e];t[e]=function(){return t[e].overloadTable.hasOwnProperty(arguments.length)||dt("Function '"+r+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+t[e].overloadTable+")!"),t[e].overloadTable[arguments.length].apply(this,arguments)},t[e].overloadTable=[],t[e].overloadTable[n.argCount]=n}}function Mt(t,e,r){o.hasOwnProperty(t)?((void 0===r||void 0!==o[t].overloadTable&&void 0!==o[t].overloadTable[r])&&dt("Cannot register public name '"+t+"' twice"),Ut(o,t,t),o.hasOwnProperty(r)&&dt("Cannot register multiple overloads of a function with the same number of arguments ("+r+")!"),o[t].overloadTable[r]=e):(o[t]=e,void 0!==r&&(o[t].numArguments=r))}function qt(t,e,r,n,o,i,a,s){this.name=t,this.constructor=e,this.instancePrototype=r,this.rawDestructor=n,this.baseClass=o,this.getActualType=i,this.upcast=a,this.downcast=s,this.pureVirtualFunctions=[]}function zt(t,e,r){for(;e!==r;)e.upcast||dt("Expected null or instance of "+r.name+", got an instance of "+e.name),t=e.upcast(t),e=e.baseClass;return t}function Bt(t,e){if(null===e)return this.isReference&&dt("null is not a valid "+this.name),0;e.$$||dt('Cannot pass "'+le(e)+'" as a '+this.name),e.$$.ptr||dt("Cannot pass deleted object as a pointer of type "+this.name);var r=e.$$.ptrType.registeredClass;return zt(e.$$.ptr,r,this.registeredClass)}function Nt(t,e){var r;if(null===e)return this.isReference&&dt("null is not a valid "+this.name),this.isSmartPointer?(r=this.rawConstructor(),null!==t&&t.push(this.rawDestructor,r),r):0;e.$$||dt('Cannot pass "'+le(e)+'" as a '+this.name),e.$$.ptr||dt("Cannot pass deleted object as a pointer of type "+this.name),!this.isConst&&e.$$.ptrType.isConst&&dt("Cannot convert argument of type "+(e.$$.smartPtrType?e.$$.smartPtrType.name:e.$$.ptrType.name)+" to parameter type "+this.name);var n=e.$$.ptrType.registeredClass;if(r=zt(e.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(void 0===e.$$.smartPtr&&dt("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:e.$$.smartPtrType===this?r=e.$$.smartPtr:dt("Cannot convert argument of type "+(e.$$.smartPtrType?e.$$.smartPtrType.name:e.$$.ptrType.name)+" to parameter type "+this.name);break;case 1:r=e.$$.smartPtr;break;case 2:if(e.$$.smartPtrType===this)r=e.$$.smartPtr;else{var o=e.clone();r=this.rawShare(r,fe.toHandle(function(){o.delete()})),null!==t&&t.push(this.rawDestructor,r)}break;default:dt("Unsupporting sharing policy")}return r}function Vt(t,e){if(null===e)return this.isReference&&dt("null is not a valid "+this.name),0;e.$$||dt('Cannot pass "'+le(e)+'" as a '+this.name),e.$$.ptr||dt("Cannot pass deleted object as a pointer of type "+this.name),e.$$.ptrType.isConst&&dt("Cannot convert argument of type "+e.$$.ptrType.name+" to parameter type "+this.name);var r=e.$$.ptrType.registeredClass;return zt(e.$$.ptr,r,this.registeredClass)}function Ht(t){return this.rawGetPointee&&(t=this.rawGetPointee(t)),t}function Lt(t){this.rawDestructor&&this.rawDestructor(t)}function Gt(t){null!==t&&t.delete()}function Jt(t,e,r,n,o,i,a,s,u,c,f){this.name=t,this.registeredClass=e,this.isReference=r,this.isConst=n,this.isSmartPointer=o,this.pointeeType=i,this.sharingPolicy=a,this.rawGetPointee=s,this.rawConstructor=u,this.rawShare=c,this.rawDestructor=f,o||void 0!==e.baseClass?this.toWireType=Nt:n?(this.toWireType=Bt,this.destructorFunction=null):(this.toWireType=Vt,this.destructorFunction=null)}function Xt(t,e,r){o.hasOwnProperty(t)||st("Replacing nonexistant public symbol"),void 0!==o[t].overloadTable&&void 0!==r?o[t].overloadTable[r]=e:(o[t]=e,o[t].argCount=r)}var Kt=[];function Yt(t){var e=Kt[t];return e||(t>=Kt.length&&(Kt.length=t+1),Kt[t]=e=F.get(t)),e}function Zt(t,e,r){return t.includes("j")?function(t,e,r){var n=o["dynCall_"+t];return r&&r.length?n.apply(null,[e].concat(r)):n.call(null,e)}(t,e,r):Yt(e).apply(null,r)}function Qt(t,e){var r,n,o,i=(t=lt(t)).includes("j")?(r=t,n=e,o=[],function(){return o.length=0,Object.assign(o,arguments),Zt(r,n,o)}):Yt(e);return"function"!=typeof i&&dt("unknown function pointer with signature "+t+": "+e),i}var te=void 0;function ee(t){var e=Ae(t),r=lt(e);return je(e),r}function re(t,e){var r=[],n={};throw e.forEach(function t(e){n[e]||et[e]||(rt[e]?rt[e].forEach(t):(r.push(e),n[e]=!0))}),new te(t+": "+r.map(ee).join([", "]))}function ne(t,e){for(var r=[],n=0;n<t;n++)r.push($[e+4*n>>2]);return r}function oe(t,e,r,n,o){var i=e.length;i<2&&dt("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var a=null!==e[1]&&null!==r,s=!1,u=1;u<e.length;++u)if(null!==e[u]&&void 0===e[u].destructorFunction){s=!0;break}var c="void"!==e[0].name,f="",l="";for(u=0;u<i-2;++u)f+=(0!==u?", ":"")+"arg"+u,l+=(0!==u?", ":"")+"arg"+u+"Wired";var p="return function "+nt(t)+"("+f+") {\nif (arguments.length !== "+(i-2)+") {\nthrowBindingError('function "+t+" called with ' + arguments.length + ' arguments, expected "+(i-2)+" args!');\n}\n";s&&(p+="var destructors = [];\n");var d=s?"destructors":"null",h=["throwBindingError","invoker","fn","runDestructors","retType","classParam"],v=[dt,n,o,Z,e[0],e[1]];for(a&&(p+="var thisWired = classParam.toWireType("+d+", this);\n"),u=0;u<i-2;++u)p+="var arg"+u+"Wired = argType"+u+".toWireType("+d+", arg"+u+"); // "+e[u+2].name+"\n",h.push("argType"+u),v.push(e[u+2]);if(a&&(l="thisWired"+(l.length>0?", ":"")+l),p+=(c?"var rv = ":"")+"invoker(fn"+(l.length>0?", ":"")+l+");\n",s)p+="runDestructors(destructors);\n";else for(u=a?1:2;u<e.length;++u){var m=1===u?"thisWired":"arg"+(u-2)+"Wired";null!==e[u].destructorFunction&&(p+=m+"_dtor("+m+"); // "+e[u].name+"\n",h.push(m+"_dtor"),v.push(e[u].destructorFunction))}return c&&(p+="var ret = retType.fromWireType(rv);\nreturn ret;\n"),p+="}\n",h.push(p),function(t,e){if(!(t instanceof Function))throw new TypeError("new_ called with constructor type "+typeof t+" which is not a function");var r=ot(t.name||"unknownFunctionName",function(){});r.prototype=t.prototype;var n=new r,o=t.apply(n,e);return o instanceof Object?o:n}(Function,h).apply(null,v)}var ie=[],ae=[{},{value:void 0},{value:null},{value:!0},{value:!1}];function se(t){t>4&&0===--ae[t].refcount&&(ae[t]=void 0,ie.push(t))}function ue(){for(var t=0,e=5;e<ae.length;++e)void 0!==ae[e]&&++t;return t}function ce(){for(var t=5;t<ae.length;++t)if(void 0!==ae[t])return ae[t];return null}var fe={toValue:t=>(t||dt("Cannot use deleted val. handle = "+t),ae[t].value),toHandle:t=>{switch(t){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:var e=ie.length?ie.pop():ae.length;return ae[e]={refcount:1,value:t},e}}};function le(t){if(null===t)return"null";var e=typeof t;return"object"===e||"array"===e||"function"===e?t.toString():""+t}function pe(t,e){switch(e){case 2:return function(t){return this.fromWireType(C[t>>2])};case 3:return function(t){return this.fromWireType(S[t>>3])};default:throw new TypeError("Unknown float type: "+t)}}function de(t,e,r){switch(e){case 0:return r?function(t){return b[t]}:function(t){return _[t]};case 1:return r?function(t){return x[t>>1]}:function(t){return T[t>>1]};case 2:return r?function(t){return P[t>>2]}:function(t){return $[t>>2]};default:throw new TypeError("Unknown integer type: "+t)}}var he="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0;function ve(t,e){for(var r=t,n=r>>1,o=n+e/2;!(n>=o)&&T[n];)++n;if((r=n<<1)-t>32&&he)return he.decode(_.subarray(t,r));for(var i="",a=0;!(a>=e/2);++a){var s=x[t+2*a>>1];if(0==s)break;i+=String.fromCharCode(s)}return i}function me(t,e,r){if(void 0===r&&(r=2147483647),r<2)return 0;for(var n=e,o=(r-=2)<2*t.length?r/2:t.length,i=0;i<o;++i){var a=t.charCodeAt(i);x[e>>1]=a,e+=2}return x[e>>1]=0,e-n}function ye(t){return 2*t.length}function ge(t,e){for(var r=0,n="";!(r>=e/4);){var o=P[t+4*r>>2];if(0==o)break;if(++r,o>=65536){var i=o-65536;n+=String.fromCharCode(55296|i>>10,56320|1023&i)}else n+=String.fromCharCode(o)}return n}function we(t,e,r){if(void 0===r&&(r=2147483647),r<4)return 0;for(var n=e,o=n+r-4,i=0;i<t.length;++i){var a=t.charCodeAt(i);if(a>=55296&&a<=57343&&(a=65536+((1023&a)<<10)|1023&t.charCodeAt(++i)),P[e>>2]=a,(e+=4)+4>o)break}return P[e>>2]=0,e-n}function be(t){for(var e=0,r=0;r<t.length;++r){var n=t.charCodeAt(r);n>=55296&&n<=57343&&++r,e+=4}return e}var _e={};function xe(){return"object"==typeof globalThis?globalThis:Function("return this")()}function Te(t,e){var r=et[t];return void 0===r&&dt(e+" has unknown type "+ee(t)),r}var Pe={};function $e(t){try{return g.grow(t-w.byteLength+65535>>>16),O(g.buffer),1}catch(t){}}at=o.InternalError=it(Error,"InternalError"),function(){for(var t=new Array(256),e=0;e<256;++e)t[e]=String.fromCharCode(e);ft=t}(),pt=o.BindingError=it(Error,"BindingError"),It.prototype.isAliasOf=vt,It.prototype.clone=Ft,It.prototype.delete=Rt,It.prototype.isDeleted=Wt,It.prototype.deleteLater=Dt,o.getInheritedInstanceCount=xt,o.getLiveInheritedInstances=Tt,o.flushPendingDeletes=$t,o.setDelayFunction=St,Jt.prototype.getPointee=Ht,Jt.prototype.destructor=Lt,Jt.prototype.argPackAdvance=8,Jt.prototype.readValueFromPointer=Q,Jt.prototype.deleteObject=Gt,Jt.prototype.fromWireType=Et,te=o.UnboundTypeError=it(Error,"UnboundTypeError"),o.count_emval_handles=ue,o.get_first_emval=ce;var Ce,Se={h:function(t,e,r){throw new K(t).init(e,r),t},q:function(t){var e=Y[t];delete Y[t];var r=e.rawConstructor,n=e.rawDestructor,o=e.fields;ut([t],o.map(t=>t.getterReturnType).concat(o.map(t=>t.setterArgumentType)),t=>{var i={};return o.forEach((e,r)=>{var n=e.fieldName,a=t[r],s=e.getter,u=e.getterContext,c=t[r+o.length],f=e.setter,l=e.setterContext;i[n]={read:t=>a.fromWireType(s(u,t)),write:(t,e)=>{var r=[];f(l,t,c.toWireType(r,e)),Z(r)}}}),[{name:e.name,fromWireType:function(t){var e={};for(var r in i)e[r]=i[r].read(t);return n(t),e},toWireType:function(t,e){for(var o in i)if(!(o in e))throw new TypeError('Missing field: "'+o+'"');var a=r();for(o in i)i[o].write(a,e[o]);return null!==t&&t.push(n,a),a},argPackAdvance:8,readValueFromPointer:Q,destructorFunction:n}]})},r:function(t,e,r,n,o){},w:function(t,e,r,n,o){var i=ct(r);ht(t,{name:e=lt(e),fromWireType:function(t){return!!t},toWireType:function(t,e){return e?n:o},argPackAdvance:8,readValueFromPointer:function(t){var n;if(1===r)n=b;else if(2===r)n=x;else{if(4!==r)throw new TypeError("Unknown boolean type size: "+e);n=P}return this.fromWireType(n[t>>i])},destructorFunction:null})},p:function(t,e,r,n,o,i,a,s,u,c,f,l,p){f=lt(f),i=Qt(o,i),s&&(s=Qt(a,s)),c&&(c=Qt(u,c)),p=Qt(l,p);var d=nt(f);Mt(d,function(){re("Cannot construct "+f+" due to unbound types",[n])}),ut([t,e,r],n?[n]:[],function(e){var r,o;e=e[0],o=n?(r=e.registeredClass).instancePrototype:It.prototype;var a=ot(d,function(){if(Object.getPrototypeOf(this)!==u)throw new pt("Use 'new' to construct "+f);if(void 0===l.constructor_body)throw new pt(f+" has no accessible constructor");var t=l.constructor_body[arguments.length];if(void 0===t)throw new pt("Tried to invoke ctor of "+f+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(l.constructor_body).toString()+") parameters instead!");return t.apply(this,arguments)}),u=Object.create(o,{constructor:{value:a}});a.prototype=u;var l=new qt(f,a,u,p,r,i,s,c),h=new Jt(f,l,!0,!1,!1),v=new Jt(f+"*",l,!1,!1,!1),m=new Jt(f+" const*",l,!1,!0,!1);return _t[t]={pointerType:v,constPointerType:m},Xt(d,a),[h,v,m]})},o:function(t,e,r,n,o,i){var a;e>0||V(a);var s=ne(e,r);o=Qt(n,o),ut([],[t],function(t){var r="constructor "+(t=t[0]).name;if(void 0===t.registeredClass.constructor_body&&(t.registeredClass.constructor_body=[]),void 0!==t.registeredClass.constructor_body[e-1])throw new pt("Cannot register multiple constructors with identical number of parameters ("+(e-1)+") for class '"+t.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return t.registeredClass.constructor_body[e-1]=()=>{re("Cannot construct "+t.name+" due to unbound types",s)},ut([],s,function(n){return n.splice(1,0,null),t.registeredClass.constructor_body[e-1]=oe(r,n,null,o,i),[]}),[]})},c:function(t,e,r,n,o,i,a,s){var u=ne(r,n);e=lt(e),i=Qt(o,i),ut([],[t],function(t){var n=(t=t[0]).name+"."+e;function o(){re("Cannot call "+n+" due to unbound types",u)}e.startsWith("@@")&&(e=Symbol[e.substring(2)]),s&&t.registeredClass.pureVirtualFunctions.push(e);var c=t.registeredClass.instancePrototype,f=c[e];return void 0===f||void 0===f.overloadTable&&f.className!==t.name&&f.argCount===r-2?(o.argCount=r-2,o.className=t.name,c[e]=o):(Ut(c,e,n),c[e].overloadTable[r-2]=o),ut([],u,function(o){var s=oe(n,o,t,i,a);return void 0===c[e].overloadTable?(s.argCount=r-2,c[e]=s):c[e].overloadTable[r-2]=s,[]}),[]})},v:function(t,e){ht(t,{name:e=lt(e),fromWireType:function(t){var e=fe.toValue(t);return se(t),e},toWireType:function(t,e){return fe.toHandle(e)},argPackAdvance:8,readValueFromPointer:Q,destructorFunction:null})},k:function(t,e,r){var n=ct(r);ht(t,{name:e=lt(e),fromWireType:function(t){return t},toWireType:function(t,e){return e},argPackAdvance:8,readValueFromPointer:pe(e,n),destructorFunction:null})},e:function(t,e,r,n,o,i){var a=ne(e,r);t=lt(t),o=Qt(n,o),Mt(t,function(){re("Cannot call "+t+" due to unbound types",a)},e-1),ut([],a,function(r){var n=[r[0],null].concat(r.slice(1));return Xt(t,oe(t,n,null,o,i),e-1),[]})},b:function(t,e,r,n,o){e=lt(e),-1===o&&(o=4294967295);var i=ct(r),a=t=>t;if(0===n){var s=32-8*r;a=t=>t<<s>>>s}var u=e.includes("unsigned");ht(t,{name:e,fromWireType:a,toWireType:u?function(t,e){return this.name,e>>>0}:function(t,e){return this.name,e},argPackAdvance:8,readValueFromPointer:de(e,i,0!==n),destructorFunction:null})},a:function(t,e,r){var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][e];function o(t){var e=$,r=e[t>>=2],o=e[t+1];return new n(w,o,r)}ht(t,{name:r=lt(r),fromWireType:o,argPackAdvance:8,readValueFromPointer:o},{ignoreDuplicateRegistrations:!0})},j:function(t,e){var r="std::string"===(e=lt(e));ht(t,{name:e,fromWireType:function(t){var e,n=$[t>>2],o=t+4;if(r)for(var i=o,a=0;a<=n;++a){var s=o+a;if(a==n||0==_[s]){var u=j(i,s-i);void 0===e?e=u:(e+=String.fromCharCode(0),e+=u),i=s+1}}else{var c=new Array(n);for(a=0;a<n;++a)c[a]=String.fromCharCode(_[o+a]);e=c.join("")}return je(t),e},toWireType:function(t,e){var n;e instanceof ArrayBuffer&&(e=new Uint8Array(e));var o="string"==typeof e;o||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Int8Array||dt("Cannot pass non-string to std::string"),n=r&&o?function(t){for(var e=0,r=0;r<t.length;++r){var n=t.charCodeAt(r);n<=127?e++:n<=2047?e+=2:n>=55296&&n<=57343?(e+=4,++r):e+=3}return e}(e):e.length;var i=ke(4+n+1),a=i+4;if($[i>>2]=n,r&&o)E(e,a,n+1);else if(o)for(var s=0;s<n;++s){var u=e.charCodeAt(s);u>255&&(je(a),dt("String has UTF-16 code units that do not fit in 8 bits")),_[a+s]=u}else for(s=0;s<n;++s)_[a+s]=e[s];return null!==t&&t.push(je,i),i},argPackAdvance:8,readValueFromPointer:Q,destructorFunction:function(t){je(t)}})},g:function(t,e,r){var n,o,i,a,s;r=lt(r),2===e?(n=ve,o=me,a=ye,i=()=>T,s=1):4===e&&(n=ge,o=we,a=be,i=()=>$,s=2),ht(t,{name:r,fromWireType:function(t){for(var r,o=$[t>>2],a=i(),u=t+4,c=0;c<=o;++c){var f=t+4+c*e;if(c==o||0==a[f>>s]){var l=n(u,f-u);void 0===r?r=l:(r+=String.fromCharCode(0),r+=l),u=f+e}}return je(t),r},toWireType:function(t,n){"string"!=typeof n&&dt("Cannot pass non-string to C++ string type "+r);var i=a(n),u=ke(4+i+e);return $[u>>2]=i>>s,o(n,u+4,i+e),null!==t&&t.push(je,u),u},argPackAdvance:8,readValueFromPointer:Q,destructorFunction:function(t){je(t)}})},u:function(t,e,r,n,o,i){Y[t]={name:lt(e),rawConstructor:Qt(r,n),rawDestructor:Qt(o,i),fields:[]}},d:function(t,e,r,n,o,i,a,s,u,c){Y[t].fields.push({fieldName:lt(e),getterReturnType:r,getter:Qt(n,o),getterContext:i,setterArgumentType:a,setter:Qt(s,u),setterContext:c})},x:function(t,e){ht(t,{isVoid:!0,name:e=lt(e),argPackAdvance:0,fromWireType:function(){},toWireType:function(t,e){}})},i:se,m:function(t){return 0===t?fe.toHandle(xe()):(t=void 0===(r=_e[e=t])?lt(e):r,fe.toHandle(xe()[t]));var e,r},l:function(t){t>4&&(ae[t].refcount+=1)},y:function(t,e,r,n){t=fe.toValue(t);var i=Pe[e];return i||(i=function(t){for(var e="",r=0;r<t;++r)e+=(0!==r?", ":"")+"arg"+r;var n="return function emval_allocator_"+t+"(constructor, argTypes, args) {\n var HEAPU32 = getMemory();\n";for(r=0;r<t;++r)n+="var argType"+r+" = requireRegisteredType(HEAPU32[((argTypes)>>2)], 'parameter "+r+"');\nvar arg"+r+" = argType"+r+".readValueFromPointer(args);\nargs += argType"+r+"['argPackAdvance'];\nargTypes += 4;\n";return n+="var obj = new constructor("+e+");\nreturn valueToHandle(obj);\n}\n",new Function("requireRegisteredType","Module","valueToHandle","getMemory",n)(Te,o,fe.toHandle,()=>$)}(e),Pe[e]=i),i(t,r,n)},n:function(t,e){var r=(t=Te(t,"_emval_take_value")).readValueFromPointer(e);return fe.toHandle(r)},f:function(){V("")},t:function(t,e,r){_.copyWithin(t,e,e+r)},s:function(t){var e=_.length,r=2147483648;if((t>>>=0)>r)return!1;let n=(t,e)=>t+(e-t%e)%e;for(var o=1;o<=4;o*=2){var i=e*(1+.2/o);if(i=Math.min(i,t+100663296),$e(Math.min(r,n(Math.max(t,i),65536))))return!0}return!1}},ke=(function(){var t={a:Se};function e(t,e){var r,n=t.exports;o.asm=n,O((g=o.asm.z).buffer),F=o.asm.C,r=o.asm.A,W.unshift(r),function(){if(z--,o.monitorRunDependencies&&o.monitorRunDependencies(z),0==z&&(null!==B&&(clearInterval(B),B=null),N)){var t=N;N=null,t()}}()}function r(t){e(t.instance)}function i(e){return function(){if(!m&&(f||l)){if("function"==typeof fetch&&!L(M))return fetch(M,{credentials:"same-origin"}).then(function(t){if(!t.ok)throw"failed to load wasm binary file at '"+M+"'";return t.arrayBuffer()}).catch(function(){return G(M)});if(a)return new Promise(function(t,e){a(M,function(e){t(new Uint8Array(e))},e)})}return Promise.resolve().then(function(){return G(M)})}().then(function(e){return WebAssembly.instantiate(e,t)}).then(function(t){return t}).then(e,function(t){y("failed to asynchronously prepare wasm: "+t),V(t)})}if(z++,o.monitorRunDependencies&&o.monitorRunDependencies(z),o.instantiateWasm)try{return o.instantiateWasm(t,e)}catch(t){y("Module.instantiateWasm callback failed with error: "+t),n(t)}(m||"function"!=typeof WebAssembly.instantiateStreaming||H(M)||L(M)||p||"function"!=typeof fetch?i(r):fetch(M,{credentials:"same-origin"}).then(function(e){return WebAssembly.instantiateStreaming(e,t).then(r,function(t){return y("wasm streaming compile failed: "+t),y("falling back to ArrayBuffer instantiation"),i(r)})})).catch(n)}(),o.___wasm_call_ctors=function(){return(o.___wasm_call_ctors=o.asm.A).apply(null,arguments)},o._malloc=function(){return(ke=o._malloc=o.asm.B).apply(null,arguments)}),Ae=o.___getTypeName=function(){return(Ae=o.___getTypeName=o.asm.D).apply(null,arguments)},je=(o.__embind_initialize_bindings=function(){return(o.__embind_initialize_bindings=o.asm.E).apply(null,arguments)},o._free=function(){return(je=o._free=o.asm.F).apply(null,arguments)}),Ee=o.stackSave=function(){return(Ee=o.stackSave=o.asm.G).apply(null,arguments)},Oe=o.stackRestore=function(){return(Oe=o.stackRestore=o.asm.H).apply(null,arguments)},Fe=o.stackAlloc=function(){return(Fe=o.stackAlloc=o.asm.I).apply(null,arguments)},Re=o.___cxa_is_pointer_type=function(){return(Re=o.___cxa_is_pointer_type=o.asm.J).apply(null,arguments)};function We(t){function r(){Ce||(Ce=!0,o.calledRun=!0,k||(X(W),e(o),o.onRuntimeInitialized&&o.onRuntimeInitialized(),function(){if(o.postRun)for("function"==typeof o.postRun&&(o.postRun=[o.postRun]);o.postRun.length;)U(o.postRun.shift());X(D)}()))}t=t||c,z>0||(function(){if(o.preRun)for("function"==typeof o.preRun&&(o.preRun=[o.preRun]);o.preRun.length;)I(o.preRun.shift());X(R)}(),z>0||(o.setStatus?(o.setStatus("Running..."),setTimeout(function(){setTimeout(function(){o.setStatus("")},1),r()},1)):r()))}if(o.ccall=function(t,e,r,n,i){var a={string:t=>{var e=0;if(null!=t&&0!==t){var r=1+(t.length<<2);E(t,e=Fe(r),r)}return e},array:t=>{var e=Fe(t.length);return function(t,e){b.set(t,e)}(t,e),e}},s=function(t){return o["_"+t]}(t),u=[],c=0;if(n)for(var f=0;f<n.length;f++){var l=a[r[f]];l?(0===c&&(c=Ee()),u[f]=l(n[f])):u[f]=n[f]}var p=s.apply(null,u);return p=function(t){return 0!==c&&Oe(c),function(t){return"string"===e?j(t):"boolean"===e?Boolean(t):t}(t)}(p)},N=function t(){Ce||We(),Ce||(N=t)},o.preInit)for("function"==typeof o.preInit&&(o.preInit=[o.preInit]);o.preInit.length>0;)o.preInit.pop()();return We(),t.ready});"object"==typeof e&&"object"==typeof t?t.exports=n:"function"==typeof define&&define.amd?define([],function(){return n}):"object"==typeof e&&(e.CharLSWASM=n)},66062:(t,e,r)=>{"use strict";var n=r(12973);t.exports=n({}.isPrototypeOf)},66072:(t,e,r)=>{"use strict";var n=r(28011),o=r(6862),i=r(59371),a=r(96830)("species"),s=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(o(e)&&(e===s||n(e.prototype))||i(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?s:e}},66231:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},66597:(t,e,r)=>{t.exports=r(83914)},67095:(t,e,r)=>{"use strict";t.exports=r(26741)},67141:(t,e,r)=>{"use strict";var n=r(26406),o=r(33964),i=r(8028),a=r(16142);t.exports=function(t,e,r){for(var s=o(e),u=a.f,c=i.f,f=0;f<s.length;f++){var l=s[f];n(t,l)||r&&n(r,l)||u(t,l,c(e,l))}}},67382:t=>{"use strict";t.exports=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}},67404:(t,e,r)=>{"use strict";var n=r(69705),o=r(28011),i=TypeError,a=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(o(t)&&!a(t,"length").writable)throw new i("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},67458:(t,e,r)=>{"use strict";var n=r(69705),o=r(56158),i=r(78890);t.exports=!n&&!o(function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},67643:(t,e,r)=>{"use strict";r(96377)({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:r(5515)})},67864:(t,e,r)=>{"use strict";var n=r(96377),o=r(56158),i=r(78248),a=r(91174),s=r(3780);n({target:"Object",stat:!0,forced:o(function(){a(1)}),sham:!s},{getPrototypeOf:function(t){return a(i(t))}})},67917:(t,e,r)=>{"use strict";var n=r(96377),o=r(95804),i=r(15514),a=r(11243),s=r(73024),u=r(24139),c=r(91174),f=r(41522),l=r(32134),p=r(3236),d=r(29481),h=r(96830),v=r(76744),m=r(10894),y=a.PROPER,g=a.CONFIGURABLE,w=m.IteratorPrototype,b=m.BUGGY_SAFARI_ITERATORS,_=h("iterator"),x="keys",T="values",P="entries",$=function(){return this};t.exports=function(t,e,r,a,h,m,C){u(r,e,a);var S,k,A,j=function(t){if(t===h&&W)return W;if(!b&&t&&t in F)return F[t];switch(t){case x:case T:case P:return function(){return new r(this,t)}}return function(){return new r(this)}},E=e+" Iterator",O=!1,F=t.prototype,R=F[_]||F["@@iterator"]||h&&F[h],W=!b&&R||j(h),D="Array"===e&&F.entries||R;if(D&&(S=c(D.call(new t)))!==Object.prototype&&S.next&&(i||c(S)===w||(f?f(S,w):s(S[_])||d(S,_,$)),l(S,E,!0,!0),i&&(v[E]=$)),y&&h===T&&R&&R.name!==T&&(!i&&g?p(F,"name",T):(O=!0,W=function(){return o(R,this)})),h)if(k={values:j(T),keys:m?W:j(x),entries:j(P)},C)for(A in k)(b||O||!(A in F))&&d(F,A,k[A]);else n({target:e,proto:!0,forced:b||O},k);return i&&!C||F[_]===W||d(F,_,W,{name:h}),v[e]=W,k}},68992:(t,e,r)=>{"use strict";var n=r(96377),o=r(69705),i=r(16142).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},69705:(t,e,r)=>{"use strict";var n=r(56158);t.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},69887:(t,e,r)=>{"use strict";var n=r(88908);t.exports=n},70112:(t,e,r)=>{var n=r(33893);function o(e,r,i,a){var s=n;try{s({},"",{})}catch(e){s=0}t.exports=o=function(t,e,r,n){function i(e,r){o(t,e,function(t){return this._invoke(e,r,t)})}e?s?s(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n}):t[e]=r:(i("next",0),i("throw",1),i("return",2))},t.exports.__esModule=!0,t.exports.default=t.exports,o(e,r,i,a)}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports},70134:(t,e,r)=>{"use strict";var n=r(96479);t.exports=n},70206:(t,e,r)=>{"use strict";var n=r(48192);t.exports=n("document","documentElement")},70416:(t,e,r)=>{"use strict";var n=r(48192),o=r(94681),i=r(96830),a=r(69705),s=i("species");t.exports=function(t){var e=n(t);a&&e&&!e[s]&&o(e,s,{configurable:!0,get:function(){return this}})}},70428:(t,e,r)=>{"use strict";var n=r(95804);t.exports=function(t,e,r){for(var o,i,a=r?t:t.iterator,s=t.next;!(o=n(s,a)).done;)if(void 0!==(i=e(o.value)))return i}},70867:(t,e,r)=>{"use strict";var n=r(35416);t.exports=n},71169:(t,e,r)=>{"use strict";var n=r(12973),o=r(73024),i=r(84394),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},71424:(t,e,r)=>{"use strict";r(34776);var n=r(22593);t.exports=n("String","endsWith")},72066:()=>{},72117:(t,e,r)=>{"use strict";var n=r(84658);t.exports=n},72157:(t,e,r)=>{"use strict";var n=r(56158),o=r(73024),i=/#|\.prototype\./,a=function(t,e){var r=u[s(t)];return r===f||r!==c&&(o(e)?n(e):!!e)},s=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},u=a.data={},c=a.NATIVE="N",f=a.POLYFILL="P";t.exports=a},72554:(t,e,r)=>{"use strict";var n=r(73496);t.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(n)},72927:(t,e,r)=>{"use strict";var n=r(45124),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},73024:t=>{"use strict";var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},73250:(t,e,r)=>{"use strict";var n=r(12973),o=r(52647),i=r(82998),a=r(15816),s=r(20825),u=n(a),c=n("".slice),f=Math.ceil,l=function(t){return function(e,r,n){var a,l,p=i(s(e)),d=o(r),h=p.length,v=void 0===n?" ":i(n);return d<=h||""===v?p:((l=u(v,f((a=d-h)/v.length))).length>a&&(l=c(l,0,a)),t?p+l:l+p)}};t.exports={start:l(!1),end:l(!0)}},73309:(t,e,r)=>{"use strict";var n=r(77853),o=r(26153),i=r(16767),a=r(98138);t.exports=function(t){var e=n(this),r=a(t);return!(o(e)>r.size)&&!1!==i(e,function(t){if(!r.includes(t))return!1},!0)}},73496:(t,e,r)=>{"use strict";var n=r(77017).navigator,o=n&&n.userAgent;t.exports=o?String(o):""},73698:t=>{"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},74089:(t,e,r)=>{"use strict";var n=r(56158);t.exports=n(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})},74150:(t,e,r)=>{t.exports=r(31439)},74483:(t,e,r)=>{"use strict";var n=r(96377),o=r(48192),i=r(77882),a=r(95804),s=r(12973),u=r(56158),c=r(73024),f=r(54252),l=r(89125),p=r(91306),d=r(1140),h=String,v=o("JSON","stringify"),m=s(/./.exec),y=s("".charAt),g=s("".charCodeAt),w=s("".replace),b=s(1.1.toString),_=/[\uD800-\uDFFF]/g,x=/^[\uD800-\uDBFF]$/,T=/^[\uDC00-\uDFFF]$/,P=!d||u(function(){var t=o("Symbol")("stringify detection");return"[null]"!==v([t])||"{}"!==v({a:t})||"{}"!==v(Object(t))}),$=u(function(){return'"\\udf06\\ud834"'!==v("\udf06\ud834")||'"\\udead"'!==v("\udead")}),C=function(t,e){var r=l(arguments),n=p(e);if(c(n)||void 0!==t&&!f(t))return r[1]=function(t,e){if(c(n)&&(e=a(n,this,h(t),e)),!f(e))return e},i(v,null,r)},S=function(t,e,r){var n=y(r,e-1),o=y(r,e+1);return m(x,t)&&!m(T,o)||m(T,t)&&!m(x,n)?"\\u"+b(g(t,0),16):t};v&&n({target:"JSON",stat:!0,arity:3,forced:P||$},{stringify:function(t,e,r){var n=l(arguments),o=i(P?C:v,null,n);return $&&"string"==typeof o?w(o,_,S):o}})},75101:(t,e,r)=>{"use strict";var n=r(59371),o=r(3236);t.exports=function(t,e){n(e)&&"cause"in e&&o(t,"cause",e.cause)}},75617:(t,e,r)=>{"use strict";t.exports=r(88019)},75959:(t,e,r)=>{"use strict";r(96377)({target:"Object",stat:!0,sham:!r(69705)},{create:r(50429)})},76327:(t,e,r)=>{"use strict";r(37080)("unscopables")},76741:(t,e,r)=>{"use strict";var n=r(59371),o=r(61813),i=r(96830)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[i])?!!e:"RegExp"===o(t))}},76744:t=>{"use strict";t.exports={}},77017:function(t,e,r){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},77701:(t,e,r)=>{"use strict";var n=r(73496);t.exports=/web0s(?!.*chrome)/i.test(n)},77745:(t,e,r)=>{var n=r(75617),o=r(43936),i=r(25698),a=r(70112);t.exports=function t(e,r){function s(t,n,o,a){try{var u=e[t](n),c=u.value;return c instanceof i?r.resolve(c.v).then(function(t){s("next",t,o,a)},function(t){s("throw",t,o,a)}):r.resolve(c).then(function(t){u.value=t,o(u)},function(t){return s("throw",t,o,a)})}catch(t){a(t)}}var u;this.next||(a(t.prototype),a(t.prototype,"function"==typeof n&&o||"@asyncIterator",function(){return this})),a(this,"_invoke",function(t,e,n){function o(){return new r(function(e,r){s(t,n,e,r)})}return u=u?u.then(o,o):o()},!0)},t.exports.__esModule=!0,t.exports.default=t.exports},77853:(t,e,r)=>{"use strict";var n=r(38818),o=TypeError;t.exports=function(t){if("object"==typeof t&&"size"in t&&"has"in t&&"add"in t&&"delete"in t&&"keys"in t)return t;throw new o(n(t)+" is not a set")}},77882:(t,e,r)=>{"use strict";var n=r(29587),o=Function.prototype,i=o.apply,a=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},78248:(t,e,r)=>{"use strict";var n=r(20825),o=Object;t.exports=function(t){return o(n(t))}},78837:(t,e,r)=>{"use strict";var n=r(6862),o=r(38818),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a constructor")}},78890:(t,e,r)=>{"use strict";var n=r(77017),o=r(59371),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},79625:(t,e,r)=>{"use strict";var n=r(96377),o=r(95804),i=r(39789),a=r(48192),s=r(33752),u=r(50406),c=r(21653),f=r(87352),l="No one promise resolved";n({target:"Promise",stat:!0,forced:f},{any:function(t){var e=this,r=a("AggregateError"),n=s.f(e),f=n.resolve,p=n.reject,d=u(function(){var n=i(e.resolve),a=[],s=0,u=1,d=!1;c(t,function(t){var i=s++,c=!1;u++,o(n,e,t).then(function(t){c||d||(d=!0,f(t))},function(t){c||d||(c=!0,a[i]=t,--u||p(new r(a,l)))})}),--u||p(new r(a,l))});return d.error&&p(d.value),n.promise}})},79672:(t,e,r)=>{"use strict";r(37080)("replace")},79832:(t,e,r)=>{"use strict";var n=r(95804),o=r(9262),i=r(91981);t.exports=function(t,e,r){var a,s;o(t);try{if(!(a=i(t,"return"))){if("throw"===e)throw r;return r}a=n(a,t)}catch(t){s=!0,a=t}if("throw"===e)throw r;if(s)throw a;return o(a),r}},79924:(t,e,r)=>{"use strict";var n=r(59371);t.exports=function(t){return n(t)||null===t}},81349:(t,e,r)=>{"use strict";var n=r(77017),o=r(73024),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},81563:(t,e,r)=>{"use strict";var n=r(50429),o=r(94681),i=r(19724),a=r(32209),s=r(95866),u=r(31298),c=r(21653),f=r(67917),l=r(12004),p=r(70416),d=r(69705),h=r(94170).fastKey,v=r(746),m=v.set,y=v.getterFor;t.exports={getConstructor:function(t,e,r,f){var l=t(function(t,o){s(t,p),m(t,{type:e,index:n(null),first:null,last:null,size:0}),d||(t.size=0),u(o)||c(o,t[f],{that:t,AS_ENTRIES:r})}),p=l.prototype,v=y(e),g=function(t,e,r){var n,o,i=v(t),a=w(t,e);return a?a.value=r:(i.last=a={index:o=h(e,!0),key:e,value:r,previous:n=i.last,next:null,removed:!1},i.first||(i.first=a),n&&(n.next=a),d?i.size++:t.size++,"F"!==o&&(i.index[o]=a)),t},w=function(t,e){var r,n=v(t),o=h(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key===e)return r};return i(p,{clear:function(){for(var t=v(this),e=t.first;e;)e.removed=!0,e.previous&&(e.previous=e.previous.next=null),e=e.next;t.first=t.last=null,t.index=n(null),d?t.size=0:this.size=0},delete:function(t){var e=this,r=v(e),n=w(e,t);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first===n&&(r.first=o),r.last===n&&(r.last=i),d?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=v(this),n=a(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!w(this,t)}}),i(p,r?{get:function(t){var e=w(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),d&&o(p,"size",{configurable:!0,get:function(){return v(this).size}}),l},setStrong:function(t,e,r){var n=e+" Iterator",o=y(e),i=y(n);f(t,e,function(t,e){m(this,{type:n,target:t,state:o(t),kind:e,last:null})},function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?l("keys"===e?r.key:"values"===e?r.value:[r.key,r.value],!1):(t.target=null,l(void 0,!0))},r?"entries":"values",!r,!0),p(e)}}},82699:(t,e,r)=>{"use strict";t.exports=r(93345)},82893:(t,e,r)=>{"use strict";var n=r(97546);t.exports=n},82998:(t,e,r)=>{"use strict";var n=r(13698),o=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},83153:(t,e,r)=>{"use strict";var n=r(61813),o=r(9128),i=r(17025).f,a=r(89125),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"Window"===n(t)?function(t){try{return i(t)}catch(t){return a(s)}}(t):i(o(t))}},83202:(t,e,r)=>{"use strict";var n=r(96377),o=r(78248),i=r(2241),a=r(67404),s=r(87821),u=r(64638);n({target:"Array",proto:!0,arity:1,forced:1!==[].unshift(0)||!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(t){return t instanceof TypeError}}()},{unshift:function(t){var e=o(this),r=i(e),n=arguments.length;if(n){u(r+n);for(var c=r;c--;){var f=c+n;c in e?e[f]=e[c]:s(e,f)}for(var l=0;l<n;l++)e[l]=arguments[l]}return a(e,r+n)}})},83619:(t,e,r)=>{"use strict";r(84327),r(59807);var n=r(7822);t.exports=n.f("toPrimitive")},83914:(t,e,r)=>{"use strict";var n=r(9037);t.exports=n},84215:(t,e,r)=>{"use strict";r(37080)("matchAll")},84299:(t,e,r)=>{"use strict";var n=r(88390);r(45507),r(4890),t.exports=n},84327:()=>{},84394:(t,e,r)=>{"use strict";var n=r(15514),o=r(77017),i=r(26242),a="__core-js_shared__",s=t.exports=o[a]||i(a,{});(s.versions||(s.versions=[])).push({version:"3.44.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"})},84658:(t,e,r)=>{"use strict";var n=r(62167);t.exports=n},84801:(t,e,r)=>{"use strict";var n=r(77017),o=r(38769),i=r(73024),a=r(72157),s=r(71169),u=r(96830),c=r(47914),f=r(15514),l=r(41748),p=o&&o.prototype,d=u("species"),h=!1,v=i(n.PromiseRejectionEvent),m=a("Promise",function(){var t=s(o),e=t!==String(o);if(!e&&66===l)return!0;if(f&&(!p.catch||!p.finally))return!0;if(!l||l<51||!/native code/.test(t)){var r=new o(function(t){t(1)}),n=function(t){t(function(){},function(){})};if((r.constructor={})[d]=n,!(h=r.then(function(){})instanceof n))return!0}return!(e||"BROWSER"!==c&&"DENO"!==c||v)});t.exports={CONSTRUCTOR:m,REJECTION_EVENT:v,SUBCLASSING:h}},84906:(t,e,r)=>{"use strict";r(37080)("observable")},85420:(t,e,r)=>{"use strict";r(40626)},85907:(t,e,r)=>{var n=r(67095),o=r(47472),i=r(25698),a=r(23767),s=r(26419),u=r(49201),c=r(77745),f=r(17611),l=r(96441);function p(){"use strict";var e=a(),r=e.m(p),d=(n?n(r):r.__proto__).constructor;function h(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))}var v={throw:1,return:2,break:3,continue:3};function m(t){var e,r;return function(n){e||(e={stop:function(){return r(n.a,2)},catch:function(){return n.v},abrupt:function(t,e){return r(n.a,v[t],e)},delegateYield:function(t,o,i){return e.resultName=o,r(n.d,l(t),i)},finish:function(t){return r(n.f,t)}},r=function(t,r,o){n.p=e.prev,n.n=e.next;try{return t(r,o)}finally{e.next=n.n}}),e.resultName&&(e[e.resultName]=n.v,e.resultName=void 0),e.sent=n.v,e.next=n.n;try{return t.call(this,e)}finally{n.p=e.prev,n.n=e.next}}}return(t.exports=p=function(){return{wrap:function(t,r,n,i){return e.w(m(t),r,n,i&&o(i).call(i))},isGeneratorFunction:h,mark:e.m,awrap:function(t,e){return new i(t,e)},AsyncIterator:c,async:function(t,e,r,n,o){return(h(e)?u:s)(m(t),e,r,n,o)},keys:f,values:l}},t.exports.__esModule=!0,t.exports.default=t.exports)()}t.exports=p,t.exports.__esModule=!0,t.exports.default=t.exports},87173:(t,e,r)=>{"use strict";r(37080)("matcher")},87352:(t,e,r)=>{"use strict";var n=r(38769),o=r(11847),i=r(84801).CONSTRUCTOR;t.exports=i||!o(function(t){n.all(t).then(void 0,function(){})})},87383:(t,e,r)=>{"use strict";r(52937);var n=r(22593);t.exports=n("Array","reverse")},87821:(t,e,r)=>{"use strict";var n=r(38818),o=TypeError;t.exports=function(t,e){if(!delete t[e])throw new o("Cannot delete property "+n(e)+" of "+n(t))}},88019:(t,e,r)=>{"use strict";var n=r(5866);r(29741),r(67643),r(56615),r(84906),r(96688),r(55206),r(87173),r(62068),r(7849),r(27789),t.exports=n},88390:(t,e,r)=>{"use strict";var n=r(16449);r(14614),t.exports=n},88679:(t,e,r)=>{"use strict";var n=r(9262),o=r(59371),i=r(33752);t.exports=function(t,e){if(n(t),o(e)&&e.constructor===t)return e;var r=i.f(t);return(0,r.resolve)(e),r.promise}},88733:(t,e,r)=>{"use strict";var n=r(12973),o=0,i=Math.random(),a=n(1.1.toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},88908:(t,e,r)=>{"use strict";r(67864);var n=r(65020);t.exports=n.Object.getPrototypeOf},89125:(t,e,r)=>{"use strict";var n=r(12973);t.exports=n([].slice)},89169:(t,e,r)=>{t.exports=r(45556)},89392:(t,e,r)=>{"use strict";var n=r(96377),o=r(15514),i=r(84801).CONSTRUCTOR,a=r(38769),s=r(48192),u=r(73024),c=r(29481),f=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(t){return this.then(void 0,t)}}),!o&&u(a)){var l=s("Promise").prototype.catch;f.catch!==l&&c(f,"catch",l,{unsafe:!0})}},90753:t=>{"use strict";var e=TypeError;t.exports=function(t,r){if(t<r)throw new e("Not enough arguments");return t}},91174:(t,e,r)=>{"use strict";var n=r(26406),o=r(73024),i=r(78248),a=r(27932),s=r(3780),u=a("IE_PROTO"),c=Object,f=c.prototype;t.exports=s?c.getPrototypeOf:function(t){var e=i(t);if(n(e,u))return e[u];var r=e.constructor;return o(r)&&e instanceof r?r.prototype:e instanceof c?f:null}},91306:(t,e,r)=>{"use strict";var n=r(12973),o=r(28011),i=r(73024),a=r(61813),s=r(82998),u=n([].push);t.exports=function(t){if(i(t))return t;if(o(t)){for(var e=t.length,r=[],n=0;n<e;n++){var c=t[n];"string"==typeof c?u(r,c):"number"!=typeof c&&"Number"!==a(c)&&"String"!==a(c)||u(r,s(c))}var f=r.length,l=!0;return function(t,e){if(l)return l=!1,e;if(o(this))return e;for(var n=0;n<f;n++)if(r[n]===t)return e}}}},91625:(t,e,r)=>{"use strict";var n=r(21010);t.exports=n},91861:(t,e,r)=>{"use strict";var n=r(63711),o=r(17758);t.exports=Object.keys||function(t){return n(t,o)}},91918:(t,e,r)=>{"use strict";var n=r(84394);t.exports=function(t,e){return n[t]||(n[t]=e||{})}},91947:(t,e,r)=>{"use strict";var n=r(66062),o=r(22409),i=Array.prototype;t.exports=function(t){var e=t.concat;return t===i||n(i,t)&&e===i.concat?o:e}},91981:(t,e,r)=>{"use strict";var n=r(39789),o=r(31298);t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},92839:(t,e,r)=>{"use strict";var n,o,i,a,s=r(96377),u=r(15514),c=r(64184),f=r(77017),l=r(65020),p=r(95804),d=r(29481),h=r(41522),v=r(32134),m=r(70416),y=r(39789),g=r(73024),w=r(59371),b=r(95866),_=r(47680),x=r(15726).set,T=r(25570),P=r(67382),$=r(50406),C=r(93908),S=r(746),k=r(38769),A=r(84801),j=r(33752),E="Promise",O=A.CONSTRUCTOR,F=A.REJECTION_EVENT,R=A.SUBCLASSING,W=S.getterFor(E),D=S.set,I=k&&k.prototype,U=k,M=I,q=f.TypeError,z=f.document,B=f.process,N=j.f,V=N,H=!!(z&&z.createEvent&&f.dispatchEvent),L="unhandledrejection",G=function(t){var e;return!(!w(t)||!g(e=t.then))&&e},J=function(t,e){var r,n,o,i=e.value,a=1===e.state,s=a?t.ok:t.fail,u=t.resolve,c=t.reject,f=t.domain;try{s?(a||(2===e.rejection&&Q(e),e.rejection=1),!0===s?r=i:(f&&f.enter(),r=s(i),f&&(f.exit(),o=!0)),r===t.promise?c(new q("Promise-chain cycle")):(n=G(r))?p(n,r,u,c):u(r)):c(i)}catch(t){f&&!o&&f.exit(),c(t)}},X=function(t,e){t.notified||(t.notified=!0,T(function(){for(var r,n=t.reactions;r=n.get();)J(r,t);t.notified=!1,e&&!t.rejection&&Y(t)}))},K=function(t,e,r){var n,o;H?((n=z.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),f.dispatchEvent(n)):n={promise:e,reason:r},!F&&(o=f["on"+t])?o(n):t===L&&P("Unhandled promise rejection",r)},Y=function(t){p(x,f,function(){var e,r=t.facade,n=t.value;if(Z(t)&&(e=$(function(){c?B.emit("unhandledRejection",n,r):K(L,r,n)}),t.rejection=c||Z(t)?2:1,e.error))throw e.value})},Z=function(t){return 1!==t.rejection&&!t.parent},Q=function(t){p(x,f,function(){var e=t.facade;c?B.emit("rejectionHandled",e):K("rejectionhandled",e,t.value)})},tt=function(t,e,r){return function(n){t(e,n,r)}},et=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,X(t,!0))},rt=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw new q("Promise can't be resolved itself");var n=G(e);n?T(function(){var r={done:!1};try{p(n,e,tt(rt,r,t),tt(et,r,t))}catch(e){et(r,e,t)}}):(t.value=e,t.state=1,X(t,!1))}catch(e){et({done:!1},e,t)}}};if(O&&(M=(U=function(t){b(this,M),y(t),p(n,this);var e=W(this);try{t(tt(rt,e),tt(et,e))}catch(t){et(e,t)}}).prototype,(n=function(t){D(this,{type:E,done:!1,notified:!1,parent:!1,reactions:new C,rejection:!1,state:0,value:null})}).prototype=d(M,"then",function(t,e){var r=W(this),n=N(_(this,U));return r.parent=!0,n.ok=!g(t)||t,n.fail=g(e)&&e,n.domain=c?B.domain:void 0,0===r.state?r.reactions.add(n):T(function(){J(n,r)}),n.promise}),o=function(){var t=new n,e=W(t);this.promise=t,this.resolve=tt(rt,e),this.reject=tt(et,e)},j.f=N=function(t){return t===U||t===i?new o(t):V(t)},!u&&g(k)&&I!==Object.prototype)){a=I.then,R||d(I,"then",function(t,e){var r=this;return new U(function(t,e){p(a,r,t,e)}).then(t,e)},{unsafe:!0});try{delete I.constructor}catch(t){}h&&h(I,M)}s({global:!0,constructor:!0,wrap:!0,forced:O},{Promise:U}),i=l.Promise,v(U,E,!1,!0),m(E)},93345:(t,e,r)=>{"use strict";var n=r(94096);t.exports=n},93790:t=>{"use strict";t.exports=function(){}},93908:t=>{"use strict";var e=function(){this.head=null,this.tail=null};e.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},t.exports=e},94064:(t,e,r)=>{"use strict";r(4525),r(28378),r(42976),r(63461),r(63315),r(2582),r(20355),r(36804),r(39243),r(26455),r(52879);var n=r(65020);t.exports=n.Set},94096:(t,e,r)=>{"use strict";var n=r(62435);t.exports=n},94170:(t,e,r)=>{"use strict";var n=r(96377),o=r(12973),i=r(59360),a=r(59371),s=r(26406),u=r(16142).f,c=r(17025),f=r(83153),l=r(2979),p=r(88733),d=r(44875),h=!1,v=p("meta"),m=0,y=function(t){u(t,v,{value:{objectID:"O"+m++,weakData:{}}})},g=t.exports={enable:function(){g.enable=function(){},h=!0;var t=c.f,e=o([].splice),r={};r[v]=1,t(r).length&&(c.f=function(r){for(var n=t(r),o=0,i=n.length;o<i;o++)if(n[o]===v){e(n,o,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:f.f}))},fastKey:function(t,e){if(!a(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!s(t,v)){if(!l(t))return"F";if(!e)return"E";y(t)}return t[v].objectID},getWeakData:function(t,e){if(!s(t,v)){if(!l(t))return!0;if(!e)return!1;y(t)}return t[v].weakData},onFreeze:function(t){return d&&h&&l(t)&&!s(t,v)&&y(t),t}};i[v]=!0},94301:(t,e,r)=>{"use strict";r(32905);var n=r(22593);t.exports=n("Function","bind")},94423:(t,e,r)=>{"use strict";t.exports=r(82893)},94681:(t,e,r)=>{"use strict";var n=r(16142);t.exports=function(t,e,r){return n.f(t,e,r)}},94687:(t,e,r)=>{"use strict";var n=r(20388);t.exports=n},95250:module=>{"use strict";const toBytes=t=>[...t].map(t=>t.charCodeAt(0)),xpiZipFilename=toBytes("META-INF/mozilla.rsa"),oxmlContentTypes=toBytes("[Content_Types].xml"),oxmlRels=toBytes("_rels/.rels");function readUInt64LE(t,e=0){let r=t[e],n=1,o=0;for(;++o<8;)n*=256,r+=t[e+o]*n;return r}const fileType=t=>{if(!(t instanceof Uint8Array||t instanceof ArrayBuffer||Buffer.isBuffer(t)))throw new TypeError(`Expected the \`input\` argument to be of type \`Uint8Array\` or \`Buffer\` or \`ArrayBuffer\`, got \`${typeof t}\``);const e=t instanceof Uint8Array?t:new Uint8Array(t);if(!(e&&e.length>1))return null;const r=(t,r)=>{r=Object.assign({offset:0},r);for(let n=0;n<t.length;n++)if(r.mask){if(t[n]!==(r.mask[n]&e[n+r.offset]))return!1}else if(t[n]!==e[n+r.offset])return!1;return!0},n=(t,e)=>r(toBytes(t),e);if(r([255,216,255]))return{ext:"jpg",mime:"image/jpeg"};if(r([137,80,78,71,13,10,26,10]))return{ext:"png",mime:"image/png"};if(r([71,73,70]))return{ext:"gif",mime:"image/gif"};if(r([87,69,66,80],{offset:8}))return{ext:"webp",mime:"image/webp"};if(r([70,76,73,70]))return{ext:"flif",mime:"image/flif"};if((r([73,73,42,0])||r([77,77,0,42]))&&r([67,82],{offset:8}))return{ext:"cr2",mime:"image/x-canon-cr2"};if(r([73,73,42,0])||r([77,77,0,42]))return{ext:"tif",mime:"image/tiff"};if(r([66,77]))return{ext:"bmp",mime:"image/bmp"};if(r([73,73,188]))return{ext:"jxr",mime:"image/vnd.ms-photo"};if(r([56,66,80,83]))return{ext:"psd",mime:"image/vnd.adobe.photoshop"};if(r([80,75,3,4])){if(r([109,105,109,101,116,121,112,101,97,112,112,108,105,99,97,116,105,111,110,47,101,112,117,98,43,122,105,112],{offset:30}))return{ext:"epub",mime:"application/epub+zip"};if(r(xpiZipFilename,{offset:30}))return{ext:"xpi",mime:"application/x-xpinstall"};if(n("mimetypeapplication/vnd.oasis.opendocument.text",{offset:30}))return{ext:"odt",mime:"application/vnd.oasis.opendocument.text"};if(n("mimetypeapplication/vnd.oasis.opendocument.spreadsheet",{offset:30}))return{ext:"ods",mime:"application/vnd.oasis.opendocument.spreadsheet"};if(n("mimetypeapplication/vnd.oasis.opendocument.presentation",{offset:30}))return{ext:"odp",mime:"application/vnd.oasis.opendocument.presentation"};const t=(t,e=0)=>t.findIndex((t,r,n)=>r>=e&&80===n[r]&&75===n[r+1]&&3===n[r+2]&&4===n[r+3]);let o=0,i=!1,a=null;do{const s=o+30;if(i||(i=r(oxmlContentTypes,{offset:s})||r(oxmlRels,{offset:s})),a||(n("word/",{offset:s})?a={ext:"docx",mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"}:n("ppt/",{offset:s})?a={ext:"pptx",mime:"application/vnd.openxmlformats-officedocument.presentationml.presentation"}:n("xl/",{offset:s})&&(a={ext:"xlsx",mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"})),i&&a)return a;o=t(e,s)}while(o>=0);if(a)return a}if(r([80,75])&&(3===e[2]||5===e[2]||7===e[2])&&(4===e[3]||6===e[3]||8===e[3]))return{ext:"zip",mime:"application/zip"};if(r([117,115,116,97,114],{offset:257}))return{ext:"tar",mime:"application/x-tar"};if(r([82,97,114,33,26,7])&&(0===e[6]||1===e[6]))return{ext:"rar",mime:"application/x-rar-compressed"};if(r([31,139,8]))return{ext:"gz",mime:"application/gzip"};if(r([66,90,104]))return{ext:"bz2",mime:"application/x-bzip2"};if(r([55,122,188,175,39,28]))return{ext:"7z",mime:"application/x-7z-compressed"};if(r([120,1]))return{ext:"dmg",mime:"application/x-apple-diskimage"};if(r([51,103,112,53])||r([0,0,0])&&r([102,116,121,112],{offset:4})&&(r([109,112,52,49],{offset:8})||r([109,112,52,50],{offset:8})||r([105,115,111,109],{offset:8})||r([105,115,111,50],{offset:8})||r([109,109,112,52],{offset:8})||r([77,52,86],{offset:8})||r([100,97,115,104],{offset:8})))return{ext:"mp4",mime:"video/mp4"};if(r([77,84,104,100]))return{ext:"mid",mime:"audio/midi"};if(r([26,69,223,163])){const t=e.subarray(4,4100),r=t.findIndex((t,e,r)=>66===r[e]&&130===r[e+1]);if(-1!==r){const e=r+3,n=r=>[...r].every((r,n)=>t[e+n]===r.charCodeAt(0));if(n("matroska"))return{ext:"mkv",mime:"video/x-matroska"};if(n("webm"))return{ext:"webm",mime:"video/webm"}}}if(r([0,0,0,20,102,116,121,112,113,116,32,32])||r([102,114,101,101],{offset:4})||r([102,116,121,112,113,116,32,32],{offset:4})||r([109,100,97,116],{offset:4})||r([109,111,111,118],{offset:4})||r([119,105,100,101],{offset:4}))return{ext:"mov",mime:"video/quicktime"};if(r([82,73,70,70])){if(r([65,86,73],{offset:8}))return{ext:"avi",mime:"video/vnd.avi"};if(r([87,65,86,69],{offset:8}))return{ext:"wav",mime:"audio/vnd.wave"};if(r([81,76,67,77],{offset:8}))return{ext:"qcp",mime:"audio/qcelp"}}if(r([48,38,178,117,142,102,207,17,166,217])){let t=30;do{const n=readUInt64LE(e,t+16);if(r([145,7,220,183,183,169,207,17,142,230,0,192,12,32,83,101],{offset:t})){if(r([64,158,105,248,77,91,207,17,168,253,0,128,95,92,68,43],{offset:t+24}))return{ext:"wma",mime:"audio/x-ms-wma"};if(r([192,239,25,188,77,91,207,17,168,253,0,128,95,92,68,43],{offset:t+24}))return{ext:"wmv",mime:"video/x-ms-asf"};break}t+=n}while(t+24<=e.length);return{ext:"asf",mime:"application/vnd.ms-asf"}}if(r([0,0,1,186])||r([0,0,1,179]))return{ext:"mpg",mime:"video/mpeg"};if(r([102,116,121,112,51,103],{offset:4}))return{ext:"3gp",mime:"video/3gpp"};for(let t=0;t<2&&t<e.length-16;t++){if(r([73,68,51],{offset:t})||r([255,226],{offset:t,mask:[255,226]}))return{ext:"mp3",mime:"audio/mpeg"};if(r([255,228],{offset:t,mask:[255,228]}))return{ext:"mp2",mime:"audio/mpeg"};if(r([255,248],{offset:t,mask:[255,252]}))return{ext:"mp2",mime:"audio/mpeg"};if(r([255,240],{offset:t,mask:[255,252]}))return{ext:"mp4",mime:"audio/mpeg"}}if(r([102,116,121,112,77,52,65],{offset:4}))return{ext:"m4a",mime:"audio/mp4"};if(r([79,112,117,115,72,101,97,100],{offset:28}))return{ext:"opus",mime:"audio/opus"};if(r([79,103,103,83]))return r([128,116,104,101,111,114,97],{offset:28})?{ext:"ogv",mime:"video/ogg"}:r([1,118,105,100,101,111,0],{offset:28})?{ext:"ogm",mime:"video/ogg"}:r([127,70,76,65,67],{offset:28})?{ext:"oga",mime:"audio/ogg"}:r([83,112,101,101,120,32,32],{offset:28})?{ext:"spx",mime:"audio/ogg"}:r([1,118,111,114,98,105,115],{offset:28})?{ext:"ogg",mime:"audio/ogg"}:{ext:"ogx",mime:"application/ogg"};if(r([102,76,97,67]))return{ext:"flac",mime:"audio/x-flac"};if(r([77,65,67,32]))return{ext:"ape",mime:"audio/ape"};if(r([119,118,112,107]))return{ext:"wv",mime:"audio/wavpack"};if(r([35,33,65,77,82,10]))return{ext:"amr",mime:"audio/amr"};if(r([37,80,68,70]))return{ext:"pdf",mime:"application/pdf"};if(r([77,90]))return{ext:"exe",mime:"application/x-msdownload"};if((67===e[0]||70===e[0])&&r([87,83],{offset:1}))return{ext:"swf",mime:"application/x-shockwave-flash"};if(r([123,92,114,116,102]))return{ext:"rtf",mime:"application/rtf"};if(r([0,97,115,109]))return{ext:"wasm",mime:"application/wasm"};if(r([119,79,70,70])&&(r([0,1,0,0],{offset:4})||r([79,84,84,79],{offset:4})))return{ext:"woff",mime:"font/woff"};if(r([119,79,70,50])&&(r([0,1,0,0],{offset:4})||r([79,84,84,79],{offset:4})))return{ext:"woff2",mime:"font/woff2"};if(r([76,80],{offset:34})&&(r([0,0,1],{offset:8})||r([1,0,2],{offset:8})||r([2,0,2],{offset:8})))return{ext:"eot",mime:"application/vnd.ms-fontobject"};if(r([0,1,0,0,0]))return{ext:"ttf",mime:"font/ttf"};if(r([79,84,84,79,0]))return{ext:"otf",mime:"font/otf"};if(r([0,0,1,0]))return{ext:"ico",mime:"image/x-icon"};if(r([0,0,2,0]))return{ext:"cur",mime:"image/x-icon"};if(r([70,76,86,1]))return{ext:"flv",mime:"video/x-flv"};if(r([37,33]))return{ext:"ps",mime:"application/postscript"};if(r([253,55,122,88,90,0]))return{ext:"xz",mime:"application/x-xz"};if(r([83,81,76,105]))return{ext:"sqlite",mime:"application/x-sqlite3"};if(r([78,69,83,26]))return{ext:"nes",mime:"application/x-nintendo-nes-rom"};if(r([67,114,50,52]))return{ext:"crx",mime:"application/x-google-chrome-extension"};if(r([77,83,67,70])||r([73,83,99,40]))return{ext:"cab",mime:"application/vnd.ms-cab-compressed"};if(r([33,60,97,114,99,104,62,10,100,101,98,105,97,110,45,98,105,110,97,114,121]))return{ext:"deb",mime:"application/x-deb"};if(r([33,60,97,114,99,104,62]))return{ext:"ar",mime:"application/x-unix-archive"};if(r([237,171,238,219]))return{ext:"rpm",mime:"application/x-rpm"};if(r([31,160])||r([31,157]))return{ext:"Z",mime:"application/x-compress"};if(r([76,90,73,80]))return{ext:"lz",mime:"application/x-lzip"};if(r([208,207,17,224,161,177,26,225]))return{ext:"msi",mime:"application/x-msi"};if(r([6,14,43,52,2,5,1,1,13,1,2,1,1,2]))return{ext:"mxf",mime:"application/mxf"};if(r([71],{offset:4})&&(r([71],{offset:192})||r([71],{offset:196})))return{ext:"mts",mime:"video/mp2t"};if(r([66,76,69,78,68,69,82]))return{ext:"blend",mime:"application/x-blender"};if(r([66,80,71,251]))return{ext:"bpg",mime:"image/bpg"};if(r([0,0,0,12,106,80,32,32,13,10,135,10])){if(r([106,112,50,32],{offset:20}))return{ext:"jp2",mime:"image/jp2"};if(r([106,112,120,32],{offset:20}))return{ext:"jpx",mime:"image/jpx"};if(r([106,112,109,32],{offset:20}))return{ext:"jpm",mime:"image/jpm"};if(r([109,106,112,50],{offset:20}))return{ext:"mj2",mime:"image/mj2"}}if(r([70,79,82,77]))return{ext:"aif",mime:"audio/aiff"};if(n("<?xml "))return{ext:"xml",mime:"application/xml"};if(r([66,79,79,75,77,79,66,73],{offset:60}))return{ext:"mobi",mime:"application/x-mobipocket-ebook"};if(r([102,116,121,112],{offset:4})){if(r([109,105,102,49],{offset:8}))return{ext:"heic",mime:"image/heif"};if(r([109,115,102,49],{offset:8}))return{ext:"heic",mime:"image/heif-sequence"};if(r([104,101,105,99],{offset:8})||r([104,101,105,120],{offset:8}))return{ext:"heic",mime:"image/heic"};if(r([104,101,118,99],{offset:8})||r([104,101,118,120],{offset:8}))return{ext:"heic",mime:"image/heic-sequence"}}return r([171,75,84,88,32,49,49,187,13,10,26,10])?{ext:"ktx",mime:"image/ktx"}:r([68,73,67,77],{offset:128})?{ext:"dcm",mime:"application/dicom"}:r([77,80,43])||r([77,80,67,75])?{ext:"mpc",mime:"audio/x-musepack"}:r([66,69,71,73,78,58])?{ext:"ics",mime:"text/calendar"}:r([103,108,84,70,2,0,0,0])?{ext:"glb",mime:"model/gltf-binary"}:r([212,195,178,161])||r([161,178,195,212])?{ext:"pcap",mime:"application/vnd.tcpdump.pcap"}:null};module.exports=fileType,module.exports.default=fileType,Object.defineProperty(fileType,"minimumBytes",{value:4100}),module.exports.stream=readableStream=>new Promise((resolve,reject)=>{const stream=eval("require")("stream");readableStream.once("readable",()=>{const t=new stream.PassThrough,e=readableStream.read(module.exports.minimumBytes)||readableStream.read();try{t.fileType=fileType(e)}catch(t){reject(t)}readableStream.unshift(e),stream.pipeline?resolve(stream.pipeline(readableStream,t,()=>{})):resolve(readableStream.pipe(t))})})},95561:(t,e,r)=>{"use strict";var n=r(56158);t.exports=function(t,e){var r=[][t];return!!r&&n(function(){r.call(null,e||function(){return 1},1)})}},95804:(t,e,r)=>{"use strict";var n=r(29587),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},95866:(t,e,r)=>{"use strict";var n=r(66062),o=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new o("Incorrect invocation")}},96198:(t,e,r)=>{"use strict";var n=r(96830),o=r(76744),i=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},96377:(t,e,r)=>{"use strict";var n=r(77017),o=r(77882),i=r(26783),a=r(73024),s=r(8028).f,u=r(72157),c=r(65020),f=r(32209),l=r(3236),p=r(26406);r(84394);var d=function(t){var e=function(r,n,i){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,i)}return o(t,this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var r,o,h,v,m,y,g,w,b,_=t.target,x=t.global,T=t.stat,P=t.proto,$=x?n:T?n[_]:n[_]&&n[_].prototype,C=x?c:c[_]||l(c,_,{})[_],S=C.prototype;for(v in e)o=!(r=u(x?v:_+(T?".":"#")+v,t.forced))&&$&&p($,v),y=C[v],o&&(g=t.dontCallGetSet?(b=s($,v))&&b.value:$[v]),m=o&&g?g:e[v],(r||P||typeof y!=typeof m)&&(w=t.bind&&o?f(m,n):t.wrap&&o?d(m):P&&a(m)?i(m):m,(t.sham||m&&m.sham||y&&y.sham)&&l(w,"sham",!0),l(C,v,w),P&&(p(c,h=_+"Prototype")||l(c,h,{}),l(c[h],v,m),t.real&&S&&(r||!S[v])&&l(S,v,m)))}},96441:(t,e,r)=>{var n=r(3852).default,o=r(75617),i=r(94423);t.exports=function(t){if(null!=t){var e=t["function"==typeof o&&i||"@@iterator"],r=0;if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}}}throw new TypeError(n(t)+" is not iterable")},t.exports.__esModule=!0,t.exports.default=t.exports},96479:(t,e,r)=>{"use strict";var n=r(66062),o=r(59741),i=String.prototype;t.exports=function(t){var e=t.padStart;return"string"==typeof t||t===i||n(i,t)&&e===i.padStart?o:e}},96688:(t,e,r)=>{"use strict";r(96377)({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:r(22513)})},96731:(t,e,r)=>{"use strict";r(10905);var n=r(22593);t.exports=n("Array","reduce")},96830:(t,e,r)=>{"use strict";var n=r(77017),o=r(91918),i=r(26406),a=r(88733),s=r(1140),u=r(23741),c=n.Symbol,f=o("wks"),l=u?c.for||c:c&&c.withoutSetter||a;t.exports=function(t){return i(f,t)||(f[t]=s&&i(c,t)?c[t]:l("Symbol."+t)),f[t]}},96995:(t,e,r)=>{t.exports=r(17236)},97101:(t,e,r)=>{"use strict";var n=r(11412);t.exports=n},97272:(t,e,r)=>{"use strict";var n=r(36879);t.exports=n},97546:(t,e,r)=>{"use strict";var n=r(6975);t.exports=n},97774:(t,e,r)=>{"use strict";var n=r(96377),o=r(1140),i=r(56158),a=r(54768),s=r(78248);n({target:"Object",stat:!0,forced:!o||i(function(){a.f(1)})},{getOwnPropertySymbols:function(t){var e=a.f;return e?e(s(t)):[]}})},97900:(t,e,r)=>{"use strict";r(5231),r(28378),r(56050),r(39500),r(48595),r(4354),r(7393),r(6670),r(63479),r(42188),r(99321),r(84215),r(79672),r(40730),r(8922),r(21056),r(59807),r(60524),r(76327),r(33726),r(72066),r(24691);var n=r(65020);t.exports=n.Symbol},98138:(t,e,r)=>{"use strict";var n=r(39789),o=r(9262),i=r(95804),a=r(45124),s=r(30094),u="Invalid size",c=RangeError,f=TypeError,l=Math.max,p=function(t,e){this.set=t,this.size=l(e,0),this.has=n(t.has),this.keys=n(t.keys)};p.prototype={getIterator:function(){return s(o(i(this.keys,this.set)))},includes:function(t){return i(this.has,this.set,t)}},t.exports=function(t){o(t);var e=+t.size;if(e!=e)throw new f(u);var r=a(e);if(r<0)throw new c(u);return new p(t,r)}},99009:(t,e,r)=>{"use strict";const n=r(95250),o=new Set(["jpg","png","gif","webp","flif","cr2","tif","bmp","jxr","psd","ico","bpg","jp2","jpm","jpx","heic","cur","dcm"]),i=t=>{const e=n(t);return o.has(e&&e.ext)?e:null};t.exports=i,t.exports.default=i,Object.defineProperty(i,"minimumBytes",{value:n.minimumBytes})},99230:(t,e,r)=>{"use strict";var n=r(77853),o=r(39815).has,i=r(26153),a=r(98138),s=r(16767),u=r(70428),c=r(79832);t.exports=function(t){var e=n(this),r=a(t);if(i(e)<=r.size)return!1!==s(e,function(t){if(r.includes(t))return!1},!0);var f=r.getIterator();return!1!==u(f,function(t){if(o(e,t))return c(f,"normal",!1)})}},99321:(t,e,r)=>{"use strict";r(37080)("match")},99980:(t,e,r)=>{"use strict";var n=r(12973),o=r(56158),i=r(61813),a=Object,s=n("".split);t.exports=o(function(){return!a("z").propertyIsEnumerable(0)})?function(t){return"String"===i(t)?s(t,""):a(t)}:a}},__webpack_module_cache__={};function __webpack_require__(t){var e=__webpack_module_cache__[t];if(void 0!==e)return e.exports;var r=__webpack_module_cache__[t]={exports:{}};return __webpack_modules__[t].call(r.exports,r,r.exports,__webpack_require__),r.exports}__webpack_require__.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return __webpack_require__.d(e,{a:e}),e},__webpack_require__.d=(t,e)=>{for(var r in e)__webpack_require__.o(e,r)&&!__webpack_require__.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),__webpack_require__.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t;__webpack_require__.g.importScripts&&(t=__webpack_require__.g.location+"");var e=__webpack_require__.g.document;if(!t&&e&&(e.currentScript&&"SCRIPT"===e.currentScript.tagName.toUpperCase()&&(t=e.currentScript.src),!t)){var r=e.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!t||!/^http(s?):/.test(t));)t=r[n--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=t})();var __webpack_exports__={};return(()=>{"use strict";var t=__webpack_require__(1212);function e(e,r,n,o,i,a,s){try{var u=e[a](s),c=u.value}catch(e){return void n(e)}u.done?r(c):t.resolve(c).then(o,i)}function r(r){return function(){var n=this,o=arguments;return new t(function(t,i){var a=r.apply(n,o);function s(r){e(a,t,i,s,u,"next",r)}function u(r){e(a,t,i,s,u,"throw",r)}s(void 0)})}}var n=__webpack_require__(58662),o=__webpack_require__.n(n),i=__webpack_require__(63863),a=__webpack_require__.n(i),s=__webpack_require__(53071),u=__webpack_require__.n(s),c=__webpack_require__(96995),f=__webpack_require__.n(c),l=__webpack_require__(99009),p=__webpack_require__.n(l),d=__webpack_require__(52028),h=__webpack_require__.n(d);function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var m=__webpack_require__(64259),y=__webpack_require__(88019),g=__webpack_require__(82893);function w(t){return w="function"==typeof y&&"symbol"==typeof g?function(t){return typeof t}:function(t){return t&&"function"==typeof y&&t.constructor===y&&t!==y.prototype?"symbol":typeof t},w(t)}var b=__webpack_require__(43646);function _(t){var e=function(t,e){if("object"!=w(t)||!t)return t;var r=t[b];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=w(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==w(e)?e:e+""}function x(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),m(t,_(n.key),n)}}function T(t,e,r){return e&&x(t.prototype,e),r&&x(t,r),m(t,"prototype",{writable:!1}),t}function P(t,e){if(e&&("object"==w(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}var $=__webpack_require__(91625),C=__webpack_require__(72117),S=__webpack_require__(26741);function k(t){var e;return k=$?C(e=S).call(e):function(t){return t.__proto__||S(t)},k(t)}var A=__webpack_require__(48866);function j(t,e){var r;return j=$?C(r=$).call(r):function(t,e){return t.__proto__=e,t},j(t,e)}function E(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=A(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),m(t,"prototype",{writable:!1}),e&&j(t,e)}var O=__webpack_require__(53546),F=__webpack_require__.n(O),R=__webpack_require__(74150),W=__webpack_require__.n(R),D=__webpack_require__(22585),I=__webpack_require__.n(D),U=__webpack_require__(62950),M=__webpack_require__.n(U),q=function(){return T(function t(){v(this,t),this.codec=void 0,this.decoder=void 0},[{key:"_initialize",value:function(){return F().resolve()}},{key:"decode",value:function(){var t=r(o().mark(function t(e){return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.codec){t.next=1;break}return t.next=1,this._initialize();case 1:return this.decoder.getEncodedBuffer(e.length).set(e),this.decoder.decode(),t.abrupt("return",{frameBuffer:this.decoder.getDecodedBuffer(),frameInfo:this.decoder.getFrameInfo()});case 2:case"end":return t.stop()}},t,this)}));return function(e){return t.apply(this,arguments)}}()}])}();function z(){try{var t=!Boolean.prototype.valueOf.call(h()(Boolean,[],function(){}))}catch(t){}return(z=function(){return!!t})()}var B=function(t){function e(){return v(this,e),t=this,n=arguments,r=k(r=e),P(t,z()?h()(r,n||[],k(t).constructor):r.apply(t,n));var t,r,n}return E(e,t),T(e,[{key:"_initialize",value:function(){var t=this;if(this.codec)return F().resolve();var e=M()({locateFile:function(t){return W()(t).call(t,".wasm")?I():t}});return new(F())(function(r,n){e.then(function(e){t.codec=e,t.decoder=new e.J2KDecoder,r()},n)})}}])}(q),N=__webpack_require__(9184),V=__webpack_require__.n(N),H=__webpack_require__(36983),L=__webpack_require__.n(H);function G(){try{var t=!Boolean.prototype.valueOf.call(h()(Boolean,[],function(){}))}catch(t){}return(G=function(){return!!t})()}var J=function(t){function e(){return v(this,e),t=this,n=arguments,r=k(r=e),P(t,G()?h()(r,n||[],k(t).constructor):r.apply(t,n));var t,r,n}return E(e,t),T(e,[{key:"_initialize",value:function(){var t=this;if(this.codec)return F().resolve();var e=L()({locateFile:function(t){return W()(t).call(t,".wasm")?V():t}});return new(F())(function(r,n){e.then(function(e){t.codec=e,t.decoder=new e.JPEGDecoder,r()},n)})}}])}(q),X=__webpack_require__(64001),K=__webpack_require__.n(X),Y=__webpack_require__(65878),Z=__webpack_require__.n(Y);function Q(){try{var t=!Boolean.prototype.valueOf.call(h()(Boolean,[],function(){}))}catch(t){}return(Q=function(){return!!t})()}var tt=function(t){function e(){return v(this,e),t=this,n=arguments,r=k(r=e),P(t,Q()?h()(r,n||[],k(t).constructor):r.apply(t,n));var t,r,n}return E(e,t),T(e,[{key:"_initialize",value:function(){var t=this;if(this.codec)return F().resolve();var e=Z()({locateFile:function(t){return W()(t).call(t,".wasm")?K():t}});return new(F())(function(r,n){e.then(function(e){t.codec=e,t.decoder=new e.JpegLSDecoder,r()},n)})}}])}(q),et=__webpack_require__(53385),rt=__webpack_require__.n(et),nt=__webpack_require__(14566),ot=__webpack_require__.n(nt),it=__webpack_require__(89169),at=__webpack_require__.n(it),st=__webpack_require__(66597),ut=__webpack_require__.n(st),ct=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:512,r=atob(t),n=[],o=0;o<r.length;o+=e){for(var i=at()(r).call(r,o,o+e),a=new Array(i.length),s=0;s<i.length;s++)a[s]=i.charCodeAt(s);var u=new Uint8Array(a);n.push(u)}for(var c=ut()(n).call(n,function(t,e){return t+e.length},0),f=new Uint8Array(c),l=0,p=0,d=n;p<d.length;p++){var h=d[p];f.set(h,l),l+=h.length}return f},ft=function(t){var e;return t instanceof Uint8Array?t:(null===(e=t.Value)||void 0===e?void 0:e[0])instanceof Uint8Array?t.Value[0]:t.Value instanceof Uint8Array?t.Value:t.InlineBinary?(t.Value=[ct(t.InlineBinary)],t.Value[0]):void 0};function lt(){try{var t=!Boolean.prototype.valueOf.call(h()(Boolean,[],function(){}))}catch(t){}return(lt=function(){return!!t})()}var pt,dt=function(t){function e(t,r){var n,o,i,a,s;if(v(this,e),o=this,i=k(i=e),n=P(o,lt()?h()(i,a||[],k(o).constructor):i.apply(o,a)),t.length!==r.length)throw new Error('Argument "metadata" and "iccProfiles" must have same length: '+f()(s="".concat(t.length," versus ")).call(s,r.length));return n.metadata=t,n.iccProfiles=r,n.codec=null,n.transformers={},n}return E(e,t),T(e,[{key:"_initialize",value:function(){var t=this;if(this.codec)return F().resolve();var e=rt()({locateFile:function(t){return W()(t).call(t,".wasm")?ot():t}});return new(F())(function(r,n){e.then(function(e){t.codec=e;for(var n=0;n<t.metadata.length;n++){var o,i,a=t.metadata[n].Columns,s=t.metadata[n].Rows,u=t.metadata[n].BitsAllocated,c=t.metadata[n].SamplesPerPixel,f=t.metadata[n].PlanarConfiguration,l=t.metadata[n].SOPInstanceUID,p=ft(t.iccProfiles[n]);if(!p)return void console.warn("Unable to convert icc profile: ",t.iccProfiles[n]);t.transformers[l]=new t.codec.ColorManager({columns:a,rows:s,bitsPerSample:u,samplesPerPixel:c,planarConfiguration:f},p,null!==(o=null===(i=t.codec.DcmIccOutputType)||void 0===i?void 0:i.SRGB)&&void 0!==o?o:0)}r(t.transformers)},n)})}},{key:"transform",value:(n=r(o().mark(function t(e,r){var n,i;return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(null!=this.codec){t.next=1;break}return t.next=1,this._initialize();case 1:return e in this.transformers?(i=this.transformers[e],n=i?i.transform(r):new(F())(function(t){t(r)})):n=new(F())(function(t){t(r)}),t.abrupt("return",n);case 2:case"end":return t.stop()}},t,this)})),function(t,e){return n.apply(this,arguments)})}]);var n}(function(){return T(function t(){v(this,t),this.codec=void 0,this.transformers=[]},[{key:"_initialize",value:function(){return F().resolve()}}])}()),ht=new B,vt=new tt,mt=new J;function yt(){return(yt=r(o().mark(function t(e){var r,n,i,s,c,l,d,h,v,m,y,g,w,b,_,x,T,P,$,C,S,k;return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.bitsAllocated,n=e.columns,i=e.rows,s=e.samplesPerPixel,c=e.pixelRepresentation,l=e.frame,d=new Uint8Array(l),h=p()(d),v=function(t){var e;return a()(e=t.toString(16)).call(e,2,"0").toUpperCase()},null==h?"FF"===v(d[d.length-3])&&"D9"===v(d[d.length-2])&&"00"===v(d[d.length-1])?(m="image/jp2",d=new Uint8Array(d.buffer,0,d.length-1)):m="FF"===v(d[d.length-2])&&"D9"===v(d[d.length-1])?"image/jp2":"application/octet-stream":"F7"===v(d[3])||"E8"===v(d[3])?m="image/jls":(y=new(u())(["image/jpeg","image/jls","image/jp2","image/jpx"]),m=y.has(h.mime)?h.mime:"application/octet-stream"),"application/octet-stream"!==m){t.next=1;break}return console.debug('decode uncompressed frame with media type "'.concat(m,'"')),t.abrupt("return",d);case 1:return console.debug('decode compressed frame with media type "'.concat(m,'"')),t.next=2,gt(m,d);case 2:if(g=t.sent,w=g.frameBuffer,(b=g.frameInfo).bitsPerSample===r){t.next=3;break}throw new Error("Frame does not have expected Bits Allocated: "+f()(_="".concat(b.bitsPerSample," instead of ")).call(_,r,"."));case 3:if(b.height===i){t.next=4;break}throw new Error("Frame does not have expected Rows: "+f()(x="".concat(b.height," instead of ")).call(x,i,"."));case 4:if(b.width===n){t.next=5;break}throw new Error("Frame does not have expected Columns: "+f()(T="".concat(b.width," instead of ")).call(T,n,"."));case 5:if(b.componentCount===s){t.next=6;break}throw new Error("Frame does not have expected Samples Per Pixel: "+f()(P="".concat(b.componentCount," instead of ")).call(P,s,"."));case 6:if(null==b.isSigned){t.next=7;break}if($=1===c,b.isSigned===$){t.next=7;break}throw new Error("Frame does not have expected Pixel Representation: "+f()(C='"'.concat(b.isSigned,'" instead of "')).call(C,$,'".'));case 7:if((S=n*i*s*(r/8))===w.length){t.next=8;break}throw new Error("Frame value does not have expected length: "+f()(k="".concat(w.length," instead of ")).call(k,S,"."));case 8:return t.abrupt("return",w);case 9:case"end":return t.stop()}},t)}))).apply(this,arguments)}function gt(t,e){return wt.apply(this,arguments)}function wt(){return(wt=r(o().mark(function t(e,r){return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if("image/jpeg"!==e){t.next=2;break}return t.next=1,mt.decode(r);case 1:case 3:case 5:return t.abrupt("return",t.sent);case 2:if("image/jp2"!==e&&"image/jpx"!==e){t.next=4;break}return t.next=3,ht.decode(r);case 4:if("image/jls"!==e){t.next=6;break}return t.next=5,vt.decode(r);case 6:case"end":return t.stop()}},t)}))).apply(this,arguments)}const bt={taskType:"decodeAndTransformTask",_handler:function(t,e){var r=t.data,n=r.bitsAllocated,o=r.columns,i=r.rows,a=r.samplesPerPixel,s=r.pixelRepresentation,u=r.frame,c=r.sopInstanceUID,f=r.metadata,l=r.iccProfiles;(function(t){return yt.apply(this,arguments)})({bitsAllocated:n,columns:o,rows:i,samplesPerPixel:a,pixelRepresentation:s,frame:u}).then(function(t){null!=l&&l.length?(void 0===pt&&(pt=new dt(f,l)),pt.transform(c,t).then(function(t){e({frameData:t.buffer},[t.buffer])}).catch(function(r){console.warn("Unable to transform frame",r),e({frameData:t.buffer},[t.buffer])})):e({frameData:t.buffer},[t.buffer])}).catch(function(t){throw new Error("Failed to decode frame: ".concat(t))})}};var _t,xt={},Tt=!1;function Pt(t){if(xt[t.taskType])return console.info('attempt to register duplicate task handler "',t.taskType,'"'),!1;xt[t.taskType]=t,Tt&&t.initialize(_t.taskConfiguration)}self.onmessage=function(t){var e;if(t.data.taskType)if(console.info(f()(e='run task "'.concat(t.data.taskType,'" on web worker #')).call(e,t.data.workerIndex)),"initialize"!==t.data.taskType){if("loadWebWorkerTask"===t.data.taskType)return r=t.data,_t=r.config,void self.importScripts(r.sourcePath);var r;if(xt[t.data.taskType])try{xt[t.data.taskType]._handler(t.data,function(e,r){self.postMessage({taskType:t.data.taskType,status:"success",result:e,workerIndex:t.data.workerIndex},r)})}catch(e){var n;console.error(f()(n='task "'.concat(t.data.taskType,'" failed: ')).call(n,e.message)),self.postMessage({taskType:t.data.taskType,status:"failed",result:e.message,workerIndex:t.data.workerIndex})}else console.warn("no task handler for ",t.data.taskType,taskHandler),self.postMessage({taskType:t.data.taskType,status:"failed - no task handler registered",workerIndex:t.data.workerIndex})}else!function(t){if(!Tt){if(_t=t.config,self.registerTaskHandler=Pt,t.config.webWorkerTaskPaths)for(var e=0;e<t.config.webWorkerTaskPaths.length;e++)self.importScripts(t.config.webWorkerTaskPaths[e]);self.postMessage({taskType:"initialize",status:"success",result:{},workerIndex:t.workerIndex}),Tt=!0}}(t.data);else console.info(t.data)},Pt(bt)})(),__webpack_exports__})());
|
|
3
3
|
//# sourceMappingURL=dataLoader.worker.bundle.min.js.map
|