mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
9ad4c03277
1) Downgrade numpy to avoid dependency conflict with numba 2) Move all non ldm/invoke files into `invokeai`. This includes assets, backend, frontend, and configs. 3) Fix up way that the backend finds the frontend and the generator finds the NSFW caution.png icon.
5 lines
33 KiB
JavaScript
5 lines
33 KiB
JavaScript
!function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r=function(t){return t&&t.Math==Math&&t},e=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||function(){return this}()||Function("return this")(),n={},o=function(t){try{return!!t()}catch(r){return!0}},i=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),c=!o((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),u=c,a=Function.prototype.call,f=u?a.bind(a):function(){return a.apply(a,arguments)},s={},l={}.propertyIsEnumerable,p=Object.getOwnPropertyDescriptor,d=p&&!l.call({1:2},1);s.f=d?function(t){var r=p(this,t);return!!r&&r.enumerable}:l;var y,h,v=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}},g=c,m=Function.prototype,E=m.call,b=g&&m.bind.bind(E,E),O=g?b:function(t){return function(){return E.apply(t,arguments)}},w=O,A=w({}.toString),T=w("".slice),S=function(t){return T(A(t),8,-1)},R=o,I=S,_=Object,j=O("".split),P=R((function(){return!_("z").propertyIsEnumerable(0)}))?function(t){return"String"==I(t)?j(t,""):_(t)}:_,x=function(t){return null==t},C=x,L=TypeError,M=function(t){if(C(t))throw L("Can't call method on "+t);return t},D=P,N=M,k=function(t){return D(N(t))},F="object"==typeof document&&document.all,U={all:F,IS_HTMLDDA:void 0===F&&void 0!==F},W=U.all,V=U.IS_HTMLDDA?function(t){return"function"==typeof t||t===W}:function(t){return"function"==typeof t},z=V,Y=U.all,B=U.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:z(t)||t===Y}:function(t){return"object"==typeof t?null!==t:z(t)},H=e,G=V,q=function(t){return G(t)?t:void 0},X=function(t,r){return arguments.length<2?q(H[t]):H[t]&&H[t][r]},Q=O({}.isPrototypeOf),J=X("navigator","userAgent")||"",K=e,Z=J,$=K.process,tt=K.Deno,rt=$&&$.versions||tt&&tt.version,et=rt&&rt.v8;et&&(h=(y=et.split("."))[0]>0&&y[0]<4?1:+(y[0]+y[1])),!h&&Z&&(!(y=Z.match(/Edge\/(\d+)/))||y[1]>=74)&&(y=Z.match(/Chrome\/(\d+)/))&&(h=+y[1]);var nt=h,ot=o,it=!!Object.getOwnPropertySymbols&&!ot((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&nt&&nt<41})),ct=it&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ut=X,at=V,ft=Q,st=Object,lt=ct?function(t){return"symbol"==typeof t}:function(t){var r=ut("Symbol");return at(r)&&ft(r.prototype,st(t))},pt=String,dt=function(t){try{return pt(t)}catch(r){return"Object"}},yt=V,ht=dt,vt=TypeError,gt=function(t){if(yt(t))return t;throw vt(ht(t)+" is not a function")},mt=gt,Et=x,bt=f,Ot=V,wt=B,At=TypeError,Tt={exports:{}},St=e,Rt=Object.defineProperty,It=function(t,r){try{Rt(St,t,{value:r,configurable:!0,writable:!0})}catch(e){St[t]=r}return r},_t=It,jt="__core-js_shared__",Pt=e[jt]||_t(jt,{}),xt=Pt;(Tt.exports=function(t,r){return xt[t]||(xt[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.26.1",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"});var Ct=M,Lt=Object,Mt=function(t){return Lt(Ct(t))},Dt=Mt,Nt=O({}.hasOwnProperty),kt=Object.hasOwn||function(t,r){return Nt(Dt(t),r)},Ft=O,Ut=0,Wt=Math.random(),Vt=Ft(1..toString),zt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Vt(++Ut+Wt,36)},Yt=e,Bt=Tt.exports,Ht=kt,Gt=zt,qt=it,Xt=ct,Qt=Bt("wks"),Jt=Yt.Symbol,Kt=Jt&&Jt.for,Zt=Xt?Jt:Jt&&Jt.withoutSetter||Gt,$t=function(t){if(!Ht(Qt,t)||!qt&&"string"!=typeof Qt[t]){var r="Symbol."+t;qt&&Ht(Jt,t)?Qt[t]=Jt[t]:Qt[t]=Xt&&Kt?Kt(r):Zt(r)}return Qt[t]},tr=f,rr=B,er=lt,nr=function(t,r){var e=t[r];return Et(e)?void 0:mt(e)},or=function(t,r){var e,n;if("string"===r&&Ot(e=t.toString)&&!wt(n=bt(e,t)))return n;if(Ot(e=t.valueOf)&&!wt(n=bt(e,t)))return n;if("string"!==r&&Ot(e=t.toString)&&!wt(n=bt(e,t)))return n;throw At("Can't convert object to primitive value")},ir=TypeError,cr=$t("toPrimitive"),ur=function(t,r){if(!rr(t)||er(t))return t;var e,n=nr(t,cr);if(n){if(void 0===r&&(r="default"),e=tr(n,t,r),!rr(e)||er(e))return e;throw ir("Can't convert object to primitive value")}return void 0===r&&(r="number"),or(t,r)},ar=ur,fr=lt,sr=function(t){var r=ar(t,"string");return fr(r)?r:r+""},lr=B,pr=e.document,dr=lr(pr)&&lr(pr.createElement),yr=function(t){return dr?pr.createElement(t):{}},hr=yr,vr=!i&&!o((function(){return 7!=Object.defineProperty(hr("div"),"a",{get:function(){return 7}}).a})),gr=i,mr=f,Er=s,br=v,Or=k,wr=sr,Ar=kt,Tr=vr,Sr=Object.getOwnPropertyDescriptor;n.f=gr?Sr:function(t,r){if(t=Or(t),r=wr(r),Tr)try{return Sr(t,r)}catch(e){}if(Ar(t,r))return br(!mr(Er.f,t,r),t[r])};var Rr={},Ir=i&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),_r=B,jr=String,Pr=TypeError,xr=function(t){if(_r(t))return t;throw Pr(jr(t)+" is not an object")},Cr=i,Lr=vr,Mr=Ir,Dr=xr,Nr=sr,kr=TypeError,Fr=Object.defineProperty,Ur=Object.getOwnPropertyDescriptor,Wr="enumerable",Vr="configurable",zr="writable";Rr.f=Cr?Mr?function(t,r,e){if(Dr(t),r=Nr(r),Dr(e),"function"==typeof t&&"prototype"===r&&"value"in e&&zr in e&&!e[zr]){var n=Ur(t,r);n&&n[zr]&&(t[r]=e.value,e={configurable:Vr in e?e[Vr]:n[Vr],enumerable:Wr in e?e[Wr]:n[Wr],writable:!1})}return Fr(t,r,e)}:Fr:function(t,r,e){if(Dr(t),r=Nr(r),Dr(e),Lr)try{return Fr(t,r,e)}catch(n){}if("get"in e||"set"in e)throw kr("Accessors not supported");return"value"in e&&(t[r]=e.value),t};var Yr=Rr,Br=v,Hr=i?function(t,r,e){return Yr.f(t,r,Br(1,e))}:function(t,r,e){return t[r]=e,t},Gr={exports:{}},qr=i,Xr=kt,Qr=Function.prototype,Jr=qr&&Object.getOwnPropertyDescriptor,Kr=Xr(Qr,"name"),Zr={EXISTS:Kr,PROPER:Kr&&"something"===function(){}.name,CONFIGURABLE:Kr&&(!qr||qr&&Jr(Qr,"name").configurable)},$r=V,te=Pt,re=O(Function.toString);$r(te.inspectSource)||(te.inspectSource=function(t){return re(t)});var ee,ne,oe,ie=te.inspectSource,ce=V,ue=e.WeakMap,ae=ce(ue)&&/native code/.test(String(ue)),fe=Tt.exports,se=zt,le=fe("keys"),pe=function(t){return le[t]||(le[t]=se(t))},de={},ye=ae,he=e,ve=B,ge=Hr,me=kt,Ee=Pt,be=pe,Oe=de,we="Object already initialized",Ae=he.TypeError,Te=he.WeakMap;if(ye||Ee.state){var Se=Ee.state||(Ee.state=new Te);Se.get=Se.get,Se.has=Se.has,Se.set=Se.set,ee=function(t,r){if(Se.has(t))throw Ae(we);return r.facade=t,Se.set(t,r),r},ne=function(t){return Se.get(t)||{}},oe=function(t){return Se.has(t)}}else{var Re=be("state");Oe[Re]=!0,ee=function(t,r){if(me(t,Re))throw Ae(we);return r.facade=t,ge(t,Re,r),r},ne=function(t){return me(t,Re)?t[Re]:{}},oe=function(t){return me(t,Re)}}var Ie={set:ee,get:ne,has:oe,enforce:function(t){return oe(t)?ne(t):ee(t,{})},getterFor:function(t){return function(r){var e;if(!ve(r)||(e=ne(r)).type!==t)throw Ae("Incompatible receiver, "+t+" required");return e}}},_e=o,je=V,Pe=kt,xe=i,Ce=Zr.CONFIGURABLE,Le=ie,Me=Ie.enforce,De=Ie.get,Ne=Object.defineProperty,ke=xe&&!_e((function(){return 8!==Ne((function(){}),"length",{value:8}).length})),Fe=String(String).split("String"),Ue=Gr.exports=function(t,r,e){"Symbol("===String(r).slice(0,7)&&(r="["+String(r).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),e&&e.getter&&(r="get "+r),e&&e.setter&&(r="set "+r),(!Pe(t,"name")||Ce&&t.name!==r)&&(xe?Ne(t,"name",{value:r,configurable:!0}):t.name=r),ke&&e&&Pe(e,"arity")&&t.length!==e.arity&&Ne(t,"length",{value:e.arity});try{e&&Pe(e,"constructor")&&e.constructor?xe&&Ne(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var n=Me(t);return Pe(n,"source")||(n.source=Fe.join("string"==typeof r?r:"")),t};Function.prototype.toString=Ue((function(){return je(this)&&De(this).source||Le(this)}),"toString");var We=V,Ve=Rr,ze=Gr.exports,Ye=It,Be=function(t,r,e,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:r;if(We(e)&&ze(e,i,n),n.global)o?t[r]=e:Ye(r,e);else{try{n.unsafe?t[r]&&(o=!0):delete t[r]}catch(c){}o?t[r]=e:Ve.f(t,r,{value:e,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},He={},Ge=Math.ceil,qe=Math.floor,Xe=Math.trunc||function(t){var r=+t;return(r>0?qe:Ge)(r)},Qe=function(t){var r=+t;return r!=r||0===r?0:Xe(r)},Je=Qe,Ke=Math.max,Ze=Math.min,$e=Qe,tn=Math.min,rn=function(t){return t>0?tn($e(t),9007199254740991):0},en=function(t){return rn(t.length)},nn=k,on=function(t,r){var e=Je(t);return e<0?Ke(e+r,0):Ze(e,r)},cn=en,un=function(t){return function(r,e,n){var o,i=nn(r),c=cn(i),u=on(n,c);if(t&&e!=e){for(;c>u;)if((o=i[u++])!=o)return!0}else for(;c>u;u++)if((t||u in i)&&i[u]===e)return t||u||0;return!t&&-1}},an={includes:un(!0),indexOf:un(!1)},fn=kt,sn=k,ln=an.indexOf,pn=de,dn=O([].push),yn=function(t,r){var e,n=sn(t),o=0,i=[];for(e in n)!fn(pn,e)&&fn(n,e)&&dn(i,e);for(;r.length>o;)fn(n,e=r[o++])&&(~ln(i,e)||dn(i,e));return i},hn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],vn=yn,gn=hn.concat("length","prototype");He.f=Object.getOwnPropertyNames||function(t){return vn(t,gn)};var mn={};mn.f=Object.getOwnPropertySymbols;var En=X,bn=He,On=mn,wn=xr,An=O([].concat),Tn=En("Reflect","ownKeys")||function(t){var r=bn.f(wn(t)),e=On.f;return e?An(r,e(t)):r},Sn=kt,Rn=Tn,In=n,_n=Rr,jn=function(t,r,e){for(var n=Rn(r),o=_n.f,i=In.f,c=0;c<n.length;c++){var u=n[c];Sn(t,u)||e&&Sn(e,u)||o(t,u,i(r,u))}},Pn=o,xn=V,Cn=/#|\.prototype\./,Ln=function(t,r){var e=Dn[Mn(t)];return e==kn||e!=Nn&&(xn(r)?Pn(r):!!r)},Mn=Ln.normalize=function(t){return String(t).replace(Cn,".").toLowerCase()},Dn=Ln.data={},Nn=Ln.NATIVE="N",kn=Ln.POLYFILL="P",Fn=Ln,Un=e,Wn=n.f,Vn=Hr,zn=Be,Yn=It,Bn=jn,Hn=Fn,Gn=function(t,r){var e,n,o,i,c,u=t.target,a=t.global,f=t.stat;if(e=a?Un:f?Un[u]||Yn(u,{}):(Un[u]||{}).prototype)for(n in r){if(i=r[n],o=t.dontCallGetSet?(c=Wn(e,n))&&c.value:e[n],!Hn(a?n:u+(f?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Bn(i,o)}(t.sham||o&&o.sham)&&Vn(i,"sham",!0),zn(e,n,i,t)}},qn=c,Xn=Function.prototype,Qn=Xn.apply,Jn=Xn.call,Kn="object"==typeof Reflect&&Reflect.apply||(qn?Jn.bind(Qn):function(){return Jn.apply(Qn,arguments)}),Zn=V,$n=String,to=TypeError,ro=O,eo=xr,no=function(t){if("object"==typeof t||Zn(t))return t;throw to("Can't set "+$n(t)+" as a prototype")},oo=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{(t=ro(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(e,[]),r=e instanceof Array}catch(n){}return function(e,n){return eo(e),no(n),r?t(e,n):e.__proto__=n,e}}():void 0),io=Rr.f,co=V,uo=B,ao=oo,fo=function(t,r,e){var n,o;return ao&&co(n=r.constructor)&&n!==e&&uo(o=n.prototype)&&o!==e.prototype&&ao(t,o),t},so={};so[$t("toStringTag")]="z";var lo="[object z]"===String(so),po=V,yo=S,ho=$t("toStringTag"),vo=Object,go="Arguments"==yo(function(){return arguments}()),mo=lo?yo:function(t){var r,e,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,r){try{return t[r]}catch(e){}}(r=vo(t),ho))?e:go?yo(r):"Object"==(n=yo(r))&&po(r.callee)?"Arguments":n},Eo=mo,bo=String,Oo=function(t){if("Symbol"===Eo(t))throw TypeError("Cannot convert a Symbol value to a string");return bo(t)},wo=Oo,Ao=function(t,r){return void 0===t?arguments.length<2?"":r:wo(t)},To=B,So=Hr,Ro=Error,Io=O("".replace),_o=String(Ro("zxcasd").stack),jo=/\n\s*at [^:]*:[^\n]*/,Po=jo.test(_o),xo=function(t,r){if(Po&&"string"==typeof t&&!Ro.prepareStackTrace)for(;r--;)t=Io(t,jo,"");return t},Co=v,Lo=!o((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",Co(1,7)),7!==t.stack)})),Mo=X,Do=kt,No=Hr,ko=Q,Fo=oo,Uo=jn,Wo=function(t,r,e){e in t||io(t,e,{configurable:!0,get:function(){return r[e]},set:function(t){r[e]=t}})},Vo=fo,zo=Ao,Yo=function(t,r){To(r)&&"cause"in r&&So(t,"cause",r.cause)},Bo=xo,Ho=Lo,Go=i,qo=Gn,Xo=Kn,Qo=function(t,r,e,n){var o="stackTraceLimit",i=n?2:1,c=t.split("."),u=c[c.length-1],a=Mo.apply(null,c);if(a){var f=a.prototype;if(Do(f,"cause")&&delete f.cause,!e)return a;var s=Mo("Error"),l=r((function(t,r){var e=zo(n?r:t,void 0),o=n?new a(t):new a;return void 0!==e&&No(o,"message",e),Ho&&No(o,"stack",Bo(o.stack,2)),this&&ko(f,this)&&Vo(o,this,l),arguments.length>i&&Yo(o,arguments[i]),o}));l.prototype=f,"Error"!==u?Fo?Fo(l,s):Uo(l,s,{name:!0}):Go&&o in a&&(Wo(l,a,o),Wo(l,a,"prepareStackTrace")),Uo(l,a);try{f.name!==u&&No(f,"name",u),f.constructor=l}catch(p){}return l}},Jo="WebAssembly",Ko=e[Jo],Zo=7!==Error("e",{cause:7}).cause,$o=function(t,r){var e={};e[t]=Qo(t,r,Zo),qo({global:!0,constructor:!0,arity:1,forced:Zo},e)},ti=function(t,r){if(Ko&&Ko[t]){var e={};e[t]=Qo(Jo+"."+t,r,Zo),qo({target:Jo,stat:!0,constructor:!0,arity:1,forced:Zo},e)}};$o("Error",(function(t){return function(r){return Xo(t,this,arguments)}})),$o("EvalError",(function(t){return function(r){return Xo(t,this,arguments)}})),$o("RangeError",(function(t){return function(r){return Xo(t,this,arguments)}})),$o("ReferenceError",(function(t){return function(r){return Xo(t,this,arguments)}})),$o("SyntaxError",(function(t){return function(r){return Xo(t,this,arguments)}})),$o("TypeError",(function(t){return function(r){return Xo(t,this,arguments)}})),$o("URIError",(function(t){return function(r){return Xo(t,this,arguments)}})),ti("CompileError",(function(t){return function(r){return Xo(t,this,arguments)}})),ti("LinkError",(function(t){return function(r){return Xo(t,this,arguments)}})),ti("RuntimeError",(function(t){return function(r){return Xo(t,this,arguments)}}));var ri=S,ei=i,ni=Array.isArray||function(t){return"Array"==ri(t)},oi=TypeError,ii=Object.getOwnPropertyDescriptor,ci=ei&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}()?function(t,r){if(ni(t)&&!ii(t,"length").writable)throw oi("Cannot set read only .length");return t.length=r}:function(t,r){return t.length=r},ui=TypeError,ai=function(t){if(t>9007199254740991)throw ui("Maximum allowed index exceeded");return t},fi=Gn,si=Mt,li=en,pi=ci,di=ai,yi=o((function(){return 4294967297!==[].push.call({length:4294967296},1)})),hi=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}();fi({target:"Array",proto:!0,arity:1,forced:yi||hi},{push:function(t){var r=si(this),e=li(r),n=arguments.length;di(e+n);for(var o=0;o<n;o++)r[e]=arguments[o],e++;return pi(r,e),e}});var vi,gi,mi,Ei,bi=S,Oi=O,wi=function(t){if("Function"===bi(t))return Oi(t)},Ai=gt,Ti=c,Si=wi(wi.bind),Ri=function(t,r){return Ai(t),void 0===r?t:Ti?Si(t,r):function(){return t.apply(r,arguments)}},Ii=X("document","documentElement"),_i=O([].slice),ji=TypeError,Pi=/(?:ipad|iphone|ipod).*applewebkit/i.test(J),xi="process"==S(e.process),Ci=e,Li=Kn,Mi=Ri,Di=V,Ni=kt,ki=o,Fi=Ii,Ui=_i,Wi=yr,Vi=function(t,r){if(t<r)throw ji("Not enough arguments");return t},zi=Pi,Yi=xi,Bi=Ci.setImmediate,Hi=Ci.clearImmediate,Gi=Ci.process,qi=Ci.Dispatch,Xi=Ci.Function,Qi=Ci.MessageChannel,Ji=Ci.String,Ki=0,Zi={},$i="onreadystatechange";try{vi=Ci.location}catch(zf){}var tc=function(t){if(Ni(Zi,t)){var r=Zi[t];delete Zi[t],r()}},rc=function(t){return function(){tc(t)}},ec=function(t){tc(t.data)},nc=function(t){Ci.postMessage(Ji(t),vi.protocol+"//"+vi.host)};Bi&&Hi||(Bi=function(t){Vi(arguments.length,1);var r=Di(t)?t:Xi(t),e=Ui(arguments,1);return Zi[++Ki]=function(){Li(r,void 0,e)},gi(Ki),Ki},Hi=function(t){delete Zi[t]},Yi?gi=function(t){Gi.nextTick(rc(t))}:qi&&qi.now?gi=function(t){qi.now(rc(t))}:Qi&&!zi?(Ei=(mi=new Qi).port2,mi.port1.onmessage=ec,gi=Mi(Ei.postMessage,Ei)):Ci.addEventListener&&Di(Ci.postMessage)&&!Ci.importScripts&&vi&&"file:"!==vi.protocol&&!ki(nc)?(gi=nc,Ci.addEventListener("message",ec,!1)):gi=$i in Wi("script")?function(t){Fi.appendChild(Wi("script"))[$i]=function(){Fi.removeChild(this),tc(t)}}:function(t){setTimeout(rc(t),0)});var oc={set:Bi,clear:Hi},ic=oc.clear;Gn({global:!0,bind:!0,enumerable:!0,forced:e.clearImmediate!==ic},{clearImmediate:ic});var cc=oc.set;Gn({global:!0,bind:!0,enumerable:!0,forced:e.setImmediate!==cc},{setImmediate:cc});var uc={},ac=yn,fc=hn,sc=Object.keys||function(t){return ac(t,fc)},lc=i,pc=Ir,dc=Rr,yc=xr,hc=k,vc=sc;uc.f=lc&&!pc?Object.defineProperties:function(t,r){yc(t);for(var e,n=hc(r),o=vc(r),i=o.length,c=0;i>c;)dc.f(t,e=o[c++],n[e]);return t};var gc,mc=xr,Ec=uc,bc=hn,Oc=de,wc=Ii,Ac=yr,Tc="prototype",Sc="script",Rc=pe("IE_PROTO"),Ic=function(){},_c=function(t){return"<"+Sc+">"+t+"</"+Sc+">"},jc=function(t){t.write(_c("")),t.close();var r=t.parentWindow.Object;return t=null,r},Pc=function(){try{gc=new ActiveXObject("htmlfile")}catch(zf){}var t,r,e;Pc="undefined"!=typeof document?document.domain&&gc?jc(gc):(r=Ac("iframe"),e="java"+Sc+":",r.style.display="none",wc.appendChild(r),r.src=String(e),(t=r.contentWindow.document).open(),t.write(_c("document.F=Object")),t.close(),t.F):jc(gc);for(var n=bc.length;n--;)delete Pc[Tc][bc[n]];return Pc()};Oc[Rc]=!0;var xc=Object.create||function(t,r){var e;return null!==t?(Ic[Tc]=mc(t),e=new Ic,Ic[Tc]=null,e[Rc]=t):e=Pc(),void 0===r?e:Ec.f(e,r)},Cc=$t,Lc=xc,Mc=Rr.f,Dc=Cc("unscopables"),Nc=Array.prototype;null==Nc[Dc]&&Mc(Nc,Dc,{configurable:!0,value:Lc(null)});var kc=function(t){Nc[Dc][t]=!0},Fc=an.includes,Uc=kc;Gn({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(t){return Fc(this,t,arguments.length>1?arguments[1]:void 0)}}),Uc("includes");var Wc=Gr.exports,Vc=Rr,zc=xr,Yc=i,Bc=function(t,r,e){return e.get&&Wc(e.get,r,{getter:!0}),e.set&&Wc(e.set,r,{setter:!0}),Vc.f(t,r,e)},Hc=function(){var t=zc(this),r="";return t.hasIndices&&(r+="d"),t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.unicodeSets&&(r+="v"),t.sticky&&(r+="y"),r},Gc=o,qc=e.RegExp,Xc=qc.prototype,Qc=Yc&&Gc((function(){var t=!0;try{qc(".","d")}catch(zf){t=!1}var r={},e="",n=t?"dgimsy":"gimsy",o=function(t,n){Object.defineProperty(r,t,{get:function(){return e+=n,!0}})},i={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var c in t&&(i.hasIndices="d"),i)o(c,i[c]);return Object.getOwnPropertyDescriptor(Xc,"flags").get.call(r)!==n||e!==n}));Qc&&Bc(Xc,"flags",{configurable:!0,get:Hc});var Jc=dt,Kc=TypeError,Zc=Gn,$c=Mt,tu=en,ru=ci,eu=function(t,r){if(!delete t[r])throw Kc("Cannot delete property "+Jc(r)+" of "+Jc(t))},nu=ai,ou=1!==[].unshift(0),iu=!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(zf){return zf instanceof TypeError}}();Zc({target:"Array",proto:!0,arity:1,forced:ou||iu},{unshift:function(t){var r=$c(this),e=tu(r),n=arguments.length;if(n){nu(e+n);for(var o=e;o--;){var i=o+n;o in r?r[i]=r[o]:eu(r,i)}for(var c=0;c<n;c++)r[c]=arguments[c]}return ru(r,e+n)}});var cu,uu,au,fu="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView,su=!o((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),lu=kt,pu=V,du=Mt,yu=su,hu=pe("IE_PROTO"),vu=Object,gu=vu.prototype,mu=yu?vu.getPrototypeOf:function(t){var r=du(t);if(lu(r,hu))return r[hu];var e=r.constructor;return pu(e)&&r instanceof e?e.prototype:r instanceof vu?gu:null},Eu=fu,bu=i,Ou=e,wu=V,Au=B,Tu=kt,Su=mo,Ru=dt,Iu=Hr,_u=Be,ju=Rr.f,Pu=Q,xu=mu,Cu=oo,Lu=$t,Mu=zt,Du=Ie.enforce,Nu=Ie.get,ku=Ou.Int8Array,Fu=ku&&ku.prototype,Uu=Ou.Uint8ClampedArray,Wu=Uu&&Uu.prototype,Vu=ku&&xu(ku),zu=Fu&&xu(Fu),Yu=Object.prototype,Bu=Ou.TypeError,Hu=Lu("toStringTag"),Gu=Mu("TYPED_ARRAY_TAG"),qu="TypedArrayConstructor",Xu=Eu&&!!Cu&&"Opera"!==Su(Ou.opera),Qu=!1,Ju={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Ku={BigInt64Array:8,BigUint64Array:8},Zu=function(t){var r=xu(t);if(Au(r)){var e=Nu(r);return e&&Tu(e,qu)?e[qu]:Zu(r)}},$u=function(t){if(!Au(t))return!1;var r=Su(t);return Tu(Ju,r)||Tu(Ku,r)};for(cu in Ju)(au=(uu=Ou[cu])&&uu.prototype)?Du(au)[qu]=uu:Xu=!1;for(cu in Ku)(au=(uu=Ou[cu])&&uu.prototype)&&(Du(au)[qu]=uu);if((!Xu||!wu(Vu)||Vu===Function.prototype)&&(Vu=function(){throw Bu("Incorrect invocation")},Xu))for(cu in Ju)Ou[cu]&&Cu(Ou[cu],Vu);if((!Xu||!zu||zu===Yu)&&(zu=Vu.prototype,Xu))for(cu in Ju)Ou[cu]&&Cu(Ou[cu].prototype,zu);if(Xu&&xu(Wu)!==zu&&Cu(Wu,zu),bu&&!Tu(zu,Hu))for(cu in Qu=!0,ju(zu,Hu,{get:function(){return Au(this)?this[Gu]:void 0}}),Ju)Ou[cu]&&Iu(Ou[cu],Gu,cu);var ta={NATIVE_ARRAY_BUFFER_VIEWS:Xu,TYPED_ARRAY_TAG:Qu&&Gu,aTypedArray:function(t){if($u(t))return t;throw Bu("Target is not a typed array")},aTypedArrayConstructor:function(t){if(wu(t)&&(!Cu||Pu(Vu,t)))return t;throw Bu(Ru(t)+" is not a typed array constructor")},exportTypedArrayMethod:function(t,r,e,n){if(bu){if(e)for(var o in Ju){var i=Ou[o];if(i&&Tu(i.prototype,t))try{delete i.prototype[t]}catch(zf){try{i.prototype[t]=r}catch(c){}}}zu[t]&&!e||_u(zu,t,e?r:Xu&&Fu[t]||r,n)}},exportTypedArrayStaticMethod:function(t,r,e){var n,o;if(bu){if(Cu){if(e)for(n in Ju)if((o=Ou[n])&&Tu(o,t))try{delete o[t]}catch(zf){}if(Vu[t]&&!e)return;try{return _u(Vu,t,e?r:Xu&&Vu[t]||r)}catch(zf){}}for(n in Ju)!(o=Ou[n])||o[t]&&!e||_u(o,t,r)}},getTypedArrayConstructor:Zu,isView:function(t){if(!Au(t))return!1;var r=Su(t);return"DataView"===r||Tu(Ju,r)||Tu(Ku,r)},isTypedArray:$u,TypedArray:Vu,TypedArrayPrototype:zu},ra=en,ea=Qe,na=ta.aTypedArray;(0,ta.exportTypedArrayMethod)("at",(function(t){var r=na(this),e=ra(r),n=ea(t),o=n>=0?n:e+n;return o<0||o>=e?void 0:r[o]}));var oa=Ri,ia=P,ca=Mt,ua=en,aa=function(t){var r=1==t;return function(e,n,o){for(var i,c=ca(e),u=ia(c),a=oa(n,o),f=ua(u);f-- >0;)if(a(i=u[f],f,c))switch(t){case 0:return i;case 1:return f}return r?-1:void 0}},fa={findLast:aa(0),findLastIndex:aa(1)},sa=fa.findLast,la=ta.aTypedArray;(0,ta.exportTypedArrayMethod)("findLast",(function(t){return sa(la(this),t,arguments.length>1?arguments[1]:void 0)}));var pa=fa.findLastIndex,da=ta.aTypedArray;(0,ta.exportTypedArrayMethod)("findLastIndex",(function(t){return pa(da(this),t,arguments.length>1?arguments[1]:void 0)}));var ya=en,ha=function(t,r){for(var e=ya(t),n=new r(e),o=0;o<e;o++)n[o]=t[e-o-1];return n},va=ta.aTypedArray,ga=ta.getTypedArrayConstructor;(0,ta.exportTypedArrayMethod)("toReversed",(function(){return ha(va(this),ga(this))}));var ma=en,Ea=function(t,r){for(var e=0,n=ma(r),o=new t(n);n>e;)o[e]=r[e++];return o},ba=gt,Oa=Ea,wa=ta.aTypedArray,Aa=ta.getTypedArrayConstructor,Ta=ta.exportTypedArrayMethod,Sa=O(ta.TypedArrayPrototype.sort);Ta("toSorted",(function(t){void 0!==t&&ba(t);var r=wa(this),e=Oa(Aa(r),r);return Sa(e,t)}));var Ra=en,Ia=Qe,_a=RangeError,ja=mo,Pa=O("".slice),xa=ur,Ca=TypeError,La=function(t,r,e,n){var o=Ra(t),i=Ia(e),c=i<0?o+i:i;if(c>=o||c<0)throw _a("Incorrect index");for(var u=new r(o),a=0;a<o;a++)u[a]=a===c?n:t[a];return u},Ma=function(t){return"Big"===Pa(ja(t),0,3)},Da=Qe,Na=function(t){var r=xa(t,"number");if("number"==typeof r)throw Ca("Can't convert number to bigint");return BigInt(r)},ka=ta.aTypedArray,Fa=ta.getTypedArrayConstructor,Ua=ta.exportTypedArrayMethod,Wa=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(zf){return 8===zf}}();Ua("with",{with:function(t,r){var e=ka(this),n=Da(t),o=Ma(e)?Na(r):+r;return La(e,Fa(e),n,o)}}.with,!Wa);var Va=Ri,za=P,Ya=Mt,Ba=sr,Ha=en,Ga=xc,qa=Ea,Xa=Array,Qa=O([].push),Ja=function(t,r,e,n){for(var o,i,c,u=Ya(t),a=za(u),f=Va(r,e),s=Ga(null),l=Ha(a),p=0;l>p;p++)c=a[p],(i=Ba(f(c,p,u)))in s?Qa(s[i],c):s[i]=[c];if(n&&(o=n(u))!==Xa)for(i in s)s[i]=qa(o,s[i]);return s},Ka=kc;Gn({target:"Array",proto:!0},{group:function(t){var r=arguments.length>1?arguments[1]:void 0;return Ja(this,t,r)}}),Ka("group");var Za=Mt,$a=en,tf=Qe,rf=kc;Gn({target:"Array",proto:!0},{at:function(t){var r=Za(this),e=$a(r),n=tf(t),o=n>=0?n:e+n;return o<0||o>=e?void 0:r[o]}}),rf("at");var ef=Gn,nf=M,of=Qe,cf=Oo,uf=o,af=O("".charAt);ef({target:"String",proto:!0,forced:uf((function(){return"\ud842"!=="𠮷".at(-2)}))},{at:function(t){var r=cf(nf(this)),e=r.length,n=of(t),o=n>=0?n:e+n;return o<0||o>=e?void 0:af(r,o)}});var ff=fa.findLast,sf=kc;Gn({target:"Array",proto:!0},{findLast:function(t){return ff(this,t,arguments.length>1?arguments[1]:void 0)}}),sf("findLast");var lf=fa.findLastIndex,pf=kc;Gn({target:"Array",proto:!0},{findLastIndex:function(t){return lf(this,t,arguments.length>1?arguments[1]:void 0)}}),pf("findLastIndex");var df=Q,yf=TypeError,hf=Gn,vf=e,gf=X,mf=v,Ef=Rr.f,bf=kt,Of=function(t,r){if(df(r,t))return t;throw yf("Incorrect invocation")},wf=fo,Af=Ao,Tf={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}},Sf=xo,Rf=i,If="DOMException",_f=gf("Error"),jf=gf(If),Pf=function(){Of(this,xf);var t=arguments.length,r=Af(t<1?void 0:arguments[0]),e=Af(t<2?void 0:arguments[1],"Error"),n=new jf(r,e),o=_f(r);return o.name=If,Ef(n,"stack",mf(1,Sf(o.stack,1))),wf(n,this,Pf),n},xf=Pf.prototype=jf.prototype,Cf="stack"in _f(If),Lf="stack"in new jf(1,2),Mf=jf&&Rf&&Object.getOwnPropertyDescriptor(vf,If),Df=!(!Mf||Mf.writable&&Mf.configurable),Nf=Cf&&!Df&&!Lf;hf({global:!0,constructor:!0,forced:Nf},{DOMException:Nf?Pf:jf});var kf=gf(If),Ff=kf.prototype;if(Ff.constructor!==kf)for(var Uf in Ef(Ff,"constructor",mf(1,kf)),Tf)if(bf(Tf,Uf)){var Wf=Tf[Uf],Vf=Wf.s;bf(kf,Vf)||Ef(kf,Vf,mf(6,Wf.c))}
|
|
/*!
|
|
* SJS 6.13.0
|
|
*/!function(){function r(t,r){return(r||"")+" (SystemJS https://github.com/systemjs/systemjs/blob/main/docs/errors.md#"+t+")"}function e(t,r){if(-1!==t.indexOf("\\")&&(t=t.replace(T,"/")),"/"===t[0]&&"/"===t[1])return r.slice(0,r.indexOf(":")+1)+t;if("."===t[0]&&("/"===t[1]||"."===t[1]&&("/"===t[2]||2===t.length&&(t+="/"))||1===t.length&&(t+="/"))||"/"===t[0]){var e,n=r.slice(0,r.indexOf(":")+1);if(e="/"===r[n.length+1]?"file:"!==n?(e=r.slice(n.length+2)).slice(e.indexOf("/")+1):r.slice(8):r.slice(n.length+("/"===r[n.length])),"/"===t[0])return r.slice(0,r.length-e.length-1)+t;for(var o=e.slice(0,e.lastIndexOf("/")+1)+t,i=[],c=-1,u=0;u<o.length;u++)-1!==c?"/"===o[u]&&(i.push(o.slice(c,u+1)),c=-1):"."===o[u]?"."!==o[u+1]||"/"!==o[u+2]&&u+2!==o.length?"/"===o[u+1]||u+1===o.length?u+=1:c=u:(i.pop(),u+=2):c=u;return-1!==c&&i.push(o.slice(c)),r.slice(0,r.length-e.length)+i.join("")}}function n(t,r){return e(t,r)||(-1!==t.indexOf(":")?t:e("./"+t,r))}function o(t,r,n,o,i){for(var c in t){var u=e(c,n)||c,s=t[c];if("string"==typeof s){var l=f(o,e(s,n)||s,i);l?r[u]=l:a("W1",c,s)}}}function i(t,r,e){var i;for(i in t.imports&&o(t.imports,e.imports,r,e,null),t.scopes||{}){var c=n(i,r);o(t.scopes[i],e.scopes[c]||(e.scopes[c]={}),r,e,c)}for(i in t.depcache||{})e.depcache[n(i,r)]=t.depcache[i];for(i in t.integrity||{})e.integrity[n(i,r)]=t.integrity[i]}function c(t,r){if(r[t])return t;var e=t.length;do{var n=t.slice(0,e+1);if(n in r)return n}while(-1!==(e=t.lastIndexOf("/",e-1)))}function u(t,r){var e=c(t,r);if(e){var n=r[e];if(null===n)return;if(!(t.length>e.length&&"/"!==n[n.length-1]))return n+t.slice(e.length);a("W2",e,n)}}function a(t,e,n){console.warn(r(t,[n,e].join(", ")))}function f(t,r,e){for(var n=t.scopes,o=e&&c(e,n);o;){var i=u(r,n[o]);if(i)return i;o=c(o.slice(0,o.lastIndexOf("/")),n)}return u(r,t.imports)||-1!==r.indexOf(":")&&r}function s(){this[R]={}}function l(t,e,n){var o=t[R][e];if(o)return o;var i=[],c=Object.create(null);S&&Object.defineProperty(c,S,{value:"Module"});var u=Promise.resolve().then((function(){return t.instantiate(e,n)})).then((function(n){if(!n)throw Error(r(2,e));var u=n[1]((function(t,r){o.h=!0;var e=!1;if("string"==typeof t)t in c&&c[t]===r||(c[t]=r,e=!0);else{for(var n in t)r=t[n],n in c&&c[n]===r||(c[n]=r,e=!0);t&&t.__esModule&&(c.__esModule=t.__esModule)}if(e)for(var u=0;u<i.length;u++){var a=i[u];a&&a(c)}return r}),2===n[1].length?{import:function(r){return t.import(r,e)},meta:t.createContext(e)}:void 0);return o.e=u.execute||function(){},[n[0],u.setters||[]]}),(function(t){throw o.e=null,o.er=t,t})),a=u.then((function(r){return Promise.all(r[0].map((function(n,o){var i=r[1][o];return Promise.resolve(t.resolve(n,e)).then((function(r){var n=l(t,r,e);return Promise.resolve(n.I).then((function(){return i&&(n.i.push(i),!n.h&&n.I||i(n.n)),n}))}))}))).then((function(t){o.d=t}))}));return o=t[R][e]={id:e,i:i,n:c,I:u,L:a,h:!1,d:void 0,e:void 0,er:void 0,E:void 0,C:void 0,p:void 0}}function p(t,r,e,n){if(!n[r.id])return n[r.id]=!0,Promise.resolve(r.L).then((function(){return r.p&&null!==r.p.e||(r.p=e),Promise.all(r.d.map((function(r){return p(t,r,e,n)})))})).catch((function(t){if(r.er)throw t;throw r.e=null,t}))}function d(t,r){return r.C=p(t,r,r,{}).then((function(){return y(t,r,{})})).then((function(){return r.n}))}function y(t,r,e){function n(){try{var t=i.call(_);if(t)return t=t.then((function(){r.C=r.n,r.E=null}),(function(t){throw r.er=t,r.E=null,t})),r.E=t;r.C=r.n,r.L=r.I=void 0}catch(e){throw r.er=e,e}}if(!e[r.id]){if(e[r.id]=!0,!r.e){if(r.er)throw r.er;return r.E?r.E:void 0}var o,i=r.e;return r.e=null,r.d.forEach((function(n){try{var i=y(t,n,e);i&&(o=o||[]).push(i)}catch(u){throw r.er=u,u}})),o?Promise.all(o).then(n):n()}}function h(){[].forEach.call(document.querySelectorAll("script"),(function(t){if(!t.sp)if("systemjs-module"===t.type){if(t.sp=!0,!t.src)return;System.import("import:"===t.src.slice(0,7)?t.src.slice(7):n(t.src,v)).catch((function(r){if(r.message.indexOf("https://github.com/systemjs/systemjs/blob/main/docs/errors.md#3")>-1){var e=document.createEvent("Event");e.initEvent("error",!1,!1),t.dispatchEvent(e)}return Promise.reject(r)}))}else if("systemjs-importmap"===t.type){t.sp=!0;var e=t.src?(System.fetch||fetch)(t.src,{integrity:t.integrity,passThrough:!0}).then((function(t){if(!t.ok)throw Error(t.status);return t.text()})).catch((function(e){return e.message=r("W4",t.src)+"\n"+e.message,console.warn(e),"function"==typeof t.onerror&&t.onerror(),"{}"})):t.innerHTML;x=x.then((function(){return e})).then((function(e){!function(t,e,n){var o={};try{o=JSON.parse(e)}catch(u){console.warn(Error(r("W5")))}i(o,n,t)}(C,e,t.src||v)}))}}))}var v,g="undefined"!=typeof Symbol,m="undefined"!=typeof self,E="undefined"!=typeof document,b=m?self:t;if(E){var O=document.querySelector("base[href]");O&&(v=O.href)}if(!v&&"undefined"!=typeof location){var w=(v=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==w&&(v=v.slice(0,w+1))}var A,T=/\\/g,S=g&&Symbol.toStringTag,R=g?Symbol():"@",I=s.prototype;I.import=function(t,r){var e=this;return Promise.resolve(e.prepareImport()).then((function(){return e.resolve(t,r)})).then((function(t){var r=l(e,t);return r.C||d(e,r)}))},I.createContext=function(t){var r=this;return{url:t,resolve:function(e,n){return Promise.resolve(r.resolve(e,n||t))}}},I.register=function(t,r){A=[t,r]},I.getRegister=function(){var t=A;return A=void 0,t};var _=Object.freeze(Object.create(null));b.System=new s;var j,P,x=Promise.resolve(),C={imports:{},scopes:{},depcache:{},integrity:{}},L=E;if(I.prepareImport=function(t){return(L||t)&&(h(),L=!1),x},E&&(h(),window.addEventListener("DOMContentLoaded",h)),I.addImportMap=function(t,r){i(t,r||v,C)},E){window.addEventListener("error",(function(t){D=t.filename,N=t.error}));var M=location.origin}I.createScript=function(t){var r=document.createElement("script");r.async=!0,t.indexOf(M+"/")&&(r.crossOrigin="anonymous");var e=C.integrity[t];return e&&(r.integrity=e),r.src=t,r};var D,N,k={},F=I.register;I.register=function(t,r){if(E&&"loading"===document.readyState&&"string"!=typeof t){var e=document.querySelectorAll("script[src]"),n=e[e.length-1];if(n){j=t;var o=this;P=setTimeout((function(){k[n.src]=[t,r],o.import(n.src)}))}}else j=void 0;return F.call(this,t,r)},I.instantiate=function(t,e){var n=k[t];if(n)return delete k[t],n;var o=this;return Promise.resolve(I.createScript(t)).then((function(n){return new Promise((function(i,c){n.addEventListener("error",(function(){c(Error(r(3,[t,e].join(", "))))})),n.addEventListener("load",(function(){if(document.head.removeChild(n),D===t)c(N);else{var r=o.getRegister(t);r&&r[0]===j&&clearTimeout(P),i(r)}})),document.head.appendChild(n)}))}))},I.shouldFetch=function(){return!1},"undefined"!=typeof fetch&&(I.fetch=fetch);var U=I.instantiate,W=/^(text|application)\/(x-)?javascript(;|$)/;I.instantiate=function(t,e){var n=this;return this.shouldFetch(t)?this.fetch(t,{credentials:"same-origin",integrity:C.integrity[t]}).then((function(o){if(!o.ok)throw Error(r(7,[o.status,o.statusText,t,e].join(", ")));var i=o.headers.get("content-type");if(!i||!W.test(i))throw Error(r(4,i));return o.text().then((function(r){return r.indexOf("//# sourceURL=")<0&&(r+="\n//# sourceURL="+t),(0,eval)(r),n.getRegister(t)}))})):U.apply(this,arguments)},I.resolve=function(t,n){return f(C,e(t,n=n||v)||t,n)||function(t,e){throw Error(r(8,[t,e].join(", ")))}(t,n)};var V=I.instantiate;I.instantiate=function(t,r){var e=C.depcache[t];if(e)for(var n=0;n<e.length;n++)l(this,this.resolve(e[n],t),t);return V.call(this,t,r)},m&&"function"==typeof importScripts&&(I.instantiate=function(t){var r=this;return Promise.resolve().then((function(){return importScripts(t),r.getRegister(t)}))})}()}();
|