UNPKG

dicom-microscopy-viewer

Version:
2 lines 225 kB
/*! For license information please see dataLoader.worker.bundle.min.js.LICENSE.txt */ !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})}},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.p