archematics/etc/deps/GeoGebra/HTML5/5.0/webSimple/deferredjs/C0345F6F027EF2F0263E39640B37309E/10.cache.js

2 lines
717 KiB
JavaScript
Raw Normal View History

$wnd.webSimple.runAsyncCallback10('function pah(){}\nfunction qah(){qah=crb;oah=new pah}\nfunction QVg(a,b){var c;c=a;return Xic((a2b(),$wnd.goog.global.window),\'QJS\').getQuickJS().then(drb(UVg.prototype.Lf,UVg,[a,c,b]))}\nbrb(3407,1,ELh);_.ld=function(){Rxg((qah(),oah),false);this.j.call(null,QVg(this.i,this.g))};var oah;brb(4081,1,Wqh,pah);_.df=function(){return \'qjs\'};_.ef=function(){var a;a=new Q5b;a.g+=\'(function () {\\n \\\'use strict\\\';\\n\\n var _documentCurrentScript = typeof document !== \\\'undefined\\\' ? document.currentScript : null;\\n var i$1={JS_EVAL_TYPE_GLOBAL:0,JS_EVAL_TYPE_MODULE:1,JS_EVAL_TYPE_DIRECT:2,JS_EVAL_TYPE_INDIRECT:3,JS_EVAL_TYPE_MASK:3,JS_EVAL_FLAG_STRICT:8,JS_EVAL_FLAG_STRIP:16,JS_EVAL_FLAG_COMPILE_ONLY:32,JS_EVAL_FLAG_BACKTRACE_BARRIER:64},a={BaseObjects:1,Date:2,Eval:4,StringNormalize:8,RegExp:16,RegExpCompiler:32,JSON:64,Proxy:128,MapSet:256,TypedArrays:512,Promise:1024,BigInt:2048,BigFloat:4096,BigDecimal:8192,OperatorOverloading:16384,BignumExt:32768},p$1={Pending:0,Fulfilled:1,Rejected:2};\\n\\n var Z=Object.defineProperty;var ee=(s,i)=>{for(var e in i)Z(s,e,{get:i[e],enumerable:!0});};function p(...s){}var te={};ee(te,{QuickJSAsyncifyError:()=>k,QuickJSAsyncifySuspended:()=>g,QuickJSEmscriptenModuleError:()=>O,QuickJSMemoryLeakDetected:()=>A,QuickJSNotImplemented:()=>_,QuickJSPromisePending:()=>Q,QuickJSUnknownIntrinsic:()=>P,QuickJSUnwrapError:()=>y,QuickJSUseAfterFree:()=>x,QuickJSWrongOwner:()=>w});var y=class extends Error{constructor(e,t){super(String(e));this.cause=e;this.context=t;this.name="QuickJSUnwrapError";}},w=class extends Error{constructor(){super(...arguments);this.name="QuickJSWrongOwner";}},x=class extends Error{constructor(){super(...arguments);this.name="QuickJSUseAfterFree";}},_=class extends Error{constructor(){super(...arguments);this.name="QuickJSNotImplemented";}},k=class extends Error{constructor(){super(...arguments);this.name="QuickJSAsyncifyError";}},g=class extends Error{constructor(){super(...arguments);this.name="QuickJSAsyncifySuspended";}},A=class extends Error{constructor(){super(...arguments);this.name="QuickJSMemoryLeakDetected";}},O=class extends Error{constructor(){super(...arguments);this.name="QuickJSEmscriptenModuleError";}},P=class extends TypeError{constructor(){super(...arguments);this.name="QuickJSUnknownIntrinsic";}},Q=class extends Error{constructor(){super(...arguments);this.name="QuickJSPromisePending";}};function*z(s){return yield s}function re(s){return z(V(s))}var L=z;L.of=re;function F(s,i){return (...e)=>{let t=i.call(s,L,...e);return V(t)}}function Y(s,i){let e=i.call(s,L);return V(e)}function V(s){function i(e){return e.done?e.value:e.value instanceof Promise?e.value.then(t=>i(s.next(t)),t=>i(s.throw(t))):i(s.next(e.value))}return i(s.next())}var f=class{[Symbol.dispose](){return this.dispose()}},U=Symbol.dispose??Symbol.for("Symbol.dispose"),G=f.prototype;G[U]||(G[U]=function(){return this.dispose()});var c=class s extends f{constructor(e,t,r,n){super();this._value=e;this.copier=t;this.disposer=r;this._owner=n;this._alive=!0;this._constructorStack=void 0;}get alive(){return this._alive}get value(){return this.assertAlive(),this._value}get owner(){return this._owner}get dupable(){return !!this.copier}dup(){if(this.assertAlive(),!this.copier)throw new Error("Non-dupable lifetime");return new s(this.copier(this._value),this.copier,this.disposer,this._owner)}consume(e){this.assertAlive();let t=e(this);return this.dispose(),t}dispose(){this.assertAlive(),this.disposer&&this.disposer(this._value),this._alive=!1;}assertAlive(){if(!this.alive)throw this._constructorStack?new x(`Lifetime not alive\\n${this._constructorStack}\\nLifetime used`):new x("Lifetime not alive")}},S=class extends c{constructor(i,e){super(i,void 0,void 0,e);}get dupable(){return !0}dup(){return this}dispose(){}},C=class extends c{constructor(i,e,t,r){super(i,e,t,r);}dispose(){this._alive=!1;}};function I(s,i){let e;try{s.dispose();}catch(t){e=t;}if(i&&e)throw Object.assign(i,{message:`${i.message}\\n Then, failed to dispose scope: ${e.message}`,dis