mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.Docs.git
synced 2025-11-19 21:16:31 +08:00
3 lines
30 KiB
JavaScript
3 lines
30 KiB
JavaScript
var ze=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},bt=function(t){return t&&t.Math==Math&&t},j=bt(typeof globalThis=="object"&&globalThis)||bt(typeof window=="object"&&window)||bt(typeof self=="object"&&self)||bt(typeof ze=="object"&&ze)||function(){return this}()||Function("return this")(),It={},W=function(t){try{return!!t()}catch{return!0}},q=!W(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),me={},Gr={}.propertyIsEnumerable,Hr=Object.getOwnPropertyDescriptor,_n=Hr&&!Gr.call({1:2},1);me.f=_n?function(t){var e=Hr(this,t);return!!e&&e.enumerable}:Gr;var zr=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},kn={}.toString,Ct=function(t){return kn.call(t).slice(8,-1)},Ln=Ct,Mn="".split,Wr=W(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return Ln(t)=="String"?Mn.call(t,""):Object(t)}:Object,be=function(t){if(t==null)throw TypeError("Can't call method on "+t);return t},In=Wr,Cn=be,we=function(t){return In(Cn(t))},D=function(t){return typeof t=="object"?t!==null:typeof t=="function"},wt=D,qr=function(t,e){if(!wt(t))return t;var r,n;if(e&&typeof(r=t.toString)=="function"&&!wt(n=r.call(t))||typeof(r=t.valueOf)=="function"&&!wt(n=r.call(t))||!e&&typeof(r=t.toString)=="function"&&!wt(n=r.call(t)))return n;throw TypeError("Can't convert object to primitive value")},Rn=be,Ur=function(t){return Object(Rn(t))},An=Ur,Fn={}.hasOwnProperty,U=function(t,e){return Fn.call(An(t),e)},We=D,ue=j.document,Jn=We(ue)&&We(ue.createElement),je=function(t){return Jn?ue.createElement(t):{}},Dn=je,Kr=!q&&!W(function(){return Object.defineProperty(Dn("div"),"a",{get:function(){return 7}}).a!=7}),Nn=q,$n=me,Gn=zr,Hn=we,zn=qr,Wn=U,qn=Kr,qe=Object.getOwnPropertyDescriptor;It.f=Nn?qe:function(t,e){if(t=Hn(t),e=zn(e,!0),qn)try{return qe(t,e)}catch{}if(Wn(t,e))return Gn(!$n.f.call(t,e),t[e])};var K={},Un=D,A=function(t){if(!Un(t))throw TypeError(String(t)+" is not an object");return t},Kn=q,Qn=Kr,Ue=A,Xn=qr,Ke=Object.defineProperty;K.f=Kn?Ke:function(t,e,r){if(Ue(t),e=Xn(e,!0),Ue(r),Qn)try{return Ke(t,e,r)}catch{}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var Yn=K,Bn=zr,Rt=q?function(t,e,r){return Yn.f(t,e,Bn(1,r))}:function(t,e,r){return t[e]=r,t},pt={exports:{}},Qe=j,Vn=Rt,xe=function(t,e){try{Vn(Qe,t,e)}catch{Qe[t]=e}return e},Zn=xe,Oe=j["__core-js_shared__"]||Zn("__core-js_shared__",{}),fe=Oe,to=Function.toString;typeof fe.inspectSource!="function"&&(fe.inspectSource=function(t){return to.call(t)});var Ee=fe.inspectSource,eo=Ee,Xe=j.WeakMap,ro=typeof Xe=="function"&&/native code/.test(eo(Xe)),Se={exports:{}},Ye=Oe;(Se.exports=function(t,e){return Ye[t]||(Ye[t]=e!==void 0?e:{})})("versions",[]).push({version:"3.12.1",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"});var Pt,ct,Tt,no=0,oo=Math.random(),Qr=function(t){return"Symbol("+String(t===void 0?"":t)+")_"+(++no+oo).toString(36)},io=Se.exports,ao=Qr,Be=io("keys"),Xr=function(t){return Be[t]||(Be[t]=ao(t))},Pe={},co=ro,uo=D,fo=Rt,zt=U,Wt=Oe,so=Xr,lo=Pe,po=j.WeakMap;if(co||Wt.state){var N=Wt.state||(Wt.state=new po),ho=N.get,Ve=N.has,vo=N.set;Pt=function(t,e){if(Ve.call(N,t))throw new TypeError("Object already initialized");return e.facade=t,vo.call(N,t,e),e},ct=function(t){return ho.call(N,t)||{}},Tt=function(t){return Ve.call(N,t)}}else{var Y=so("state");lo[Y]=!0,Pt=function(t,e){if(zt(t,Y))throw new TypeError("Object already initialized");return e.facade=t,fo(t,Y,e),e},ct=function(t){return zt(t,Y)?t[Y]:{}},Tt=function(t){return zt(t,Y)}}var Te={set:Pt,get:ct,has:Tt,enforce:function(t){return Tt(t)?ct(t):Pt(t,{})},getterFor:function(t){return function(e){var r;if(!uo(e)||(r=ct(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},yo=j,Ze=Rt,go=U,mo=xe,bo=Ee,wo=Te.get,jo=Te.enforce,xo=String(String).split("String");(pt.exports=function(t,e,r,n){var o,u=!!n&&!!n.unsafe,f=!!n&&!!n.enumerable,c=!!n&&!!n.noTargetGet;typeof r=="function"&&(typeof e!="string"||go(r,"name")||Ze(r,"name",e),(o=jo(r)).source||(o.source=xo.join(typeof e=="string"?e:""))),t!==yo?(u?!c&&t[e]&&(f=!0):delete t[e],f?t[e]=r:Ze(t,e,r)):f?t[e]=r:mo(e,r)})(Function.prototype,"toString",function(){return typeof this=="function"&&wo(this).source||bo(this)});var qt=j,Ut=j,tr=function(t){return typeof t=="function"?t:void 0},ht=function(t,e){return arguments.length<2?tr(qt[t])||tr(Ut[t]):qt[t]&&qt[t][e]||Ut[t]&&Ut[t][e]},Yr={},Oo=Math.ceil,Eo=Math.floor,Br=function(t){return isNaN(t=+t)?0:(t>0?Eo:Oo)(t)},So=Br,Po=Math.min,Vr=function(t){return t>0?Po(So(t),9007199254740991):0},To=Br,_o=Math.max,ko=Math.min,Lo=we,Mo=Vr,Io=function(t,e){var r=To(t);return r<0?_o(r+e,0):ko(r,e)},er=function(t){return function(e,r,n){var o,u=Lo(e),f=Mo(u.length),c=Io(n,f);if(t&&r!=r){for(;f>c;)if((o=u[c++])!=o)return!0}else for(;f>c;c++)if((t||c in u)&&u[c]===r)return t||c||0;return!t&&-1}},Zr={includes:er(!0),indexOf:er(!1)},Kt=U,Co=we,Ro=Zr.indexOf,Ao=Pe,tn=function(t,e){var r,n=Co(t),o=0,u=[];for(r in n)!Kt(Ao,r)&&Kt(n,r)&&u.push(r);for(;e.length>o;)Kt(n,r=e[o++])&&(~Ro(u,r)||u.push(r));return u},_e=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Fo=tn,Jo=_e.concat("length","prototype");Yr.f=Object.getOwnPropertyNames||function(t){return Fo(t,Jo)};var ke={};ke.f=Object.getOwnPropertySymbols;var Do=Yr,No=ke,$o=A,Go=ht("Reflect","ownKeys")||function(t){var e=Do.f($o(t)),r=No.f;return r?e.concat(r(t)):e},Ho=U,zo=Go,Wo=It,qo=K,Uo=W,Ko=/#|\.prototype\./,vt=function(t,e){var r=Xo[Qo(t)];return r==Bo||r!=Yo&&(typeof e=="function"?Uo(e):!!e)},Qo=vt.normalize=function(t){return String(t).replace(Ko,".").toLowerCase()},Xo=vt.data={},Yo=vt.NATIVE="N",Bo=vt.POLYFILL="P",en=vt,Qt=j,Vo=It.f,Zo=Rt,ti=pt.exports,ei=xe,ri=function(t,e){for(var r=zo(e),n=qo.f,o=Wo.f,u=0;u<r.length;u++){var f=r[u];Ho(t,f)||n(t,f,o(e,f))}},ni=en,At=function(t,e){var r,n,o,u,f,c=t.target,l=t.global,s=t.stat;if(r=l?Qt:s?Qt[c]||ei(c,{}):(Qt[c]||{}).prototype)for(n in e){if(u=e[n],o=t.noTargetGet?(f=Vo(r,n))&&f.value:r[n],!ni(l?n:c+(s?".":"#")+n,t.forced)&&o!==void 0){if(typeof u==typeof o)continue;ri(u,o)}(t.sham||o&&o.sham)&&Zo(u,"sham",!0),ti(r,n,u,t)}},oi=tn,ii=_e,rn=Object.keys||function(t){return oi(t,ii)},rr=q,ai=W,Xt=rn,ci=ke,ui=me,fi=Ur,si=Wr,B=Object.assign,nr=Object.defineProperty,or=!B||ai(function(){if(rr&&B({b:1},B(nr({},"a",{enumerable:!0,get:function(){nr(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach(function(o){e[o]=o}),B({},t)[r]!=7||Xt(B({},e)).join("")!=n})?function(t,e){for(var r=fi(t),n=arguments.length,o=1,u=ci.f,f=ui.f;n>o;)for(var c,l=si(arguments[o++]),s=u?Xt(l).concat(u(l)):Xt(l),v=s.length,m=0;v>m;)c=s[m++],rr&&!f.call(l,c)||(r[c]=l[c]);return r}:B;function ir(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),r.push.apply(r,n)}return r}function E(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ir(Object(r),!0).forEach(function(n){pi(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ir(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function ar(t,e,r,n,o,u,f){try{var c=t[u](f),l=c.value}catch(s){return void r(s)}c.done?e(l):Promise.resolve(l).then(n,o)}function li(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var u=t.apply(e,r);function f(l){ar(u,n,o,f,c,"next",l)}function c(l){ar(u,n,o,f,c,"throw",l)}f(void 0)})}}function pi(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function hi(t,e){if(t==null)return{};var r,n,o=function(f,c){if(f==null)return{};var l,s,v={},m=Object.keys(f);for(s=0;s<m.length;s++)l=m[s],c.indexOf(l)>=0||(v[l]=f[l]);return v}(t,e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(n=0;n<u.length;n++)r=u[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function cr(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function vi(t,e){var r=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(l,s){if(l){if(typeof l=="string")return cr(l,s);var v=Object.prototype.toString.call(l).slice(8,-1);return v==="Object"&&l.constructor&&(v=l.constructor.name),v==="Map"||v==="Set"?Array.from(l):v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v)?cr(l,s):void 0}}(t))||e&&t&&typeof t.length=="number"){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(l){throw l},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var u,f=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var l=r.next();return f=l.done,l},e:function(l){c=!0,u=l},f:function(){try{f||r.return==null||r.return()}finally{if(c)throw u}}}}At({target:"Object",stat:!0,forced:Object.assign!==or},{assign:or});(function(t){var e=function(r){var n,o=Object.prototype,u=o.hasOwnProperty,f=typeof Symbol=="function"?Symbol:{},c=f.iterator||"@@iterator",l=f.asyncIterator||"@@asyncIterator",s=f.toStringTag||"@@toStringTag";function v(a,i,h){return Object.defineProperty(a,i,{value:h,enumerable:!0,configurable:!0,writable:!0}),a[i]}try{v({},"")}catch{v=function(i,h,d){return i[h]=d}}function m(a,i,h,d){var p=i&&i.prototype instanceof dt?i:dt,w=Object.create(p.prototype),x=new $t(d||[]);return w._invoke=function(L,R,y){var S=b;return function(M,Ge){if(S===F)throw new Error("Generator is already running");if(S===k){if(M==="throw")throw Ge;return $e()}for(y.method=M,y.arg=Ge;;){var He=y.delegate;if(He){var Ht=Ne(He,y);if(Ht){if(Ht===g)continue;return Ht}}if(y.method==="next")y.sent=y._sent=y.arg;else if(y.method==="throw"){if(S===b)throw S=k,y.arg;y.dispatchException(y.arg)}else y.method==="return"&&y.abrupt("return",y.arg);S=F;var rt=O(L,R,y);if(rt.type==="normal"){if(S=y.done?k:P,rt.arg===g)continue;return{value:rt.arg,done:y.done}}rt.type==="throw"&&(S=k,y.method="throw",y.arg=rt.arg)}}}(a,h,x),w}function O(a,i,h){try{return{type:"normal",arg:a.call(i,h)}}catch(d){return{type:"throw",arg:d}}}r.wrap=m;var b="suspendedStart",P="suspendedYield",F="executing",k="completed",g={};function dt(){}function yt(){}function Q(){}var Jt={};Jt[c]=function(){return this};var Dt=Object.getPrototypeOf,gt=Dt&&Dt(Dt(Gt([])));gt&>!==o&&u.call(gt,c)&&(Jt=gt);var X=Q.prototype=dt.prototype=Object.create(Jt);function De(a){["next","throw","return"].forEach(function(i){v(a,i,function(h){return this._invoke(i,h)})})}function mt(a,i){function h(p,w,x,L){var R=O(a[p],a,w);if(R.type!=="throw"){var y=R.arg,S=y.value;return S&&typeof S=="object"&&u.call(S,"__await")?i.resolve(S.__await).then(function(M){h("next",M,x,L)},function(M){h("throw",M,x,L)}):i.resolve(S).then(function(M){y.value=M,x(y)},function(M){return h("throw",M,x,L)})}L(R.arg)}var d;this._invoke=function(p,w){function x(){return new i(function(L,R){h(p,w,L,R)})}return d=d?d.then(x,x):x()}}function Ne(a,i){var h=a.iterator[i.method];if(h===n){if(i.delegate=null,i.method==="throw"){if(a.iterator.return&&(i.method="return",i.arg=n,Ne(a,i),i.method==="throw"))return g;i.method="throw",i.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var d=O(h,a.iterator,i.arg);if(d.type==="throw")return i.method="throw",i.arg=d.arg,i.delegate=null,g;var p=d.arg;return p?p.done?(i[a.resultName]=p.value,i.next=a.nextLoc,i.method!=="return"&&(i.method="next",i.arg=n),i.delegate=null,g):p:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,g)}function Tn(a){var i={tryLoc:a[0]};1 in a&&(i.catchLoc=a[1]),2 in a&&(i.finallyLoc=a[2],i.afterLoc=a[3]),this.tryEntries.push(i)}function Nt(a){var i=a.completion||{};i.type="normal",delete i.arg,a.completion=i}function $t(a){this.tryEntries=[{tryLoc:"root"}],a.forEach(Tn,this),this.reset(!0)}function Gt(a){if(a){var i=a[c];if(i)return i.call(a);if(typeof a.next=="function")return a;if(!isNaN(a.length)){var h=-1,d=function p(){for(;++h<a.length;)if(u.call(a,h))return p.value=a[h],p.done=!1,p;return p.value=n,p.done=!0,p};return d.next=d}}return{next:$e}}function $e(){return{value:n,done:!0}}return yt.prototype=X.constructor=Q,Q.constructor=yt,yt.displayName=v(Q,s,"GeneratorFunction"),r.isGeneratorFunction=function(a){var i=typeof a=="function"&&a.constructor;return!!i&&(i===yt||(i.displayName||i.name)==="GeneratorFunction")},r.mark=function(a){return Object.setPrototypeOf?Object.setPrototypeOf(a,Q):(a.__proto__=Q,v(a,s,"GeneratorFunction")),a.prototype=Object.create(X),a},r.awrap=function(a){return{__await:a}},De(mt.prototype),mt.prototype[l]=function(){return this},r.AsyncIterator=mt,r.async=function(a,i,h,d,p){p===void 0&&(p=Promise);var w=new mt(m(a,i,h,d),p);return r.isGeneratorFunction(i)?w:w.next().then(function(x){return x.done?x.value:w.next()})},De(X),v(X,s,"Generator"),X[c]=function(){return this},X.toString=function(){return"[object Generator]"},r.keys=function(a){var i=[];for(var h in a)i.push(h);return i.reverse(),function d(){for(;i.length;){var p=i.pop();if(p in a)return d.value=p,d.done=!1,d}return d.done=!0,d}},r.values=Gt,$t.prototype={constructor:$t,reset:function(a){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(Nt),!a)for(var i in this)i.charAt(0)==="t"&&u.call(this,i)&&!isNaN(+i.slice(1))&&(this[i]=n)},stop:function(){this.done=!0;var a=this.tryEntries[0].completion;if(a.type==="throw")throw a.arg;return this.rval},dispatchException:function(a){if(this.done)throw a;var i=this;function h(R,y){return w.type="throw",w.arg=a,i.next=R,y&&(i.method="next",i.arg=n),!!y}for(var d=this.tryEntries.length-1;d>=0;--d){var p=this.tryEntries[d],w=p.completion;if(p.tryLoc==="root")return h("end");if(p.tryLoc<=this.prev){var x=u.call(p,"catchLoc"),L=u.call(p,"finallyLoc");if(x&&L){if(this.prev<p.catchLoc)return h(p.catchLoc,!0);if(this.prev<p.finallyLoc)return h(p.finallyLoc)}else if(x){if(this.prev<p.catchLoc)return h(p.catchLoc,!0)}else{if(!L)throw new Error("try statement without catch or finally");if(this.prev<p.finallyLoc)return h(p.finallyLoc)}}}},abrupt:function(a,i){for(var h=this.tryEntries.length-1;h>=0;--h){var d=this.tryEntries[h];if(d.tryLoc<=this.prev&&u.call(d,"finallyLoc")&&this.prev<d.finallyLoc){var p=d;break}}p&&(a==="break"||a==="continue")&&p.tryLoc<=i&&i<=p.finallyLoc&&(p=null);var w=p?p.completion:{};return w.type=a,w.arg=i,p?(this.method="next",this.next=p.finallyLoc,g):this.complete(w)},complete:function(a,i){if(a.type==="throw")throw a.arg;return a.type==="break"||a.type==="continue"?this.next=a.arg:a.type==="return"?(this.rval=this.arg=a.arg,this.method="return",this.next="end"):a.type==="normal"&&i&&(this.next=i),g},finish:function(a){for(var i=this.tryEntries.length-1;i>=0;--i){var h=this.tryEntries[i];if(h.finallyLoc===a)return this.complete(h.completion,h.afterLoc),Nt(h),g}},catch:function(a){for(var i=this.tryEntries.length-1;i>=0;--i){var h=this.tryEntries[i];if(h.tryLoc===a){var d=h.completion;if(d.type==="throw"){var p=d.arg;Nt(h)}return p}}throw new Error("illegal catch attempt")},delegateYield:function(a,i,h){return this.delegate={iterator:Gt(a),resultName:i,nextLoc:h},this.method==="next"&&(this.arg=n),g}},r}(t.exports);try{regeneratorRuntime=e}catch{Function("r","regeneratorRuntime = r")(e)}})({exports:{}});var $,_t,Le=ht("navigator","userAgent")||"",Yt=Le,ur=j.process,fr=ur&&ur.versions,sr=fr&&fr.v8;sr?_t=($=sr.split("."))[0]<4?1:$[0]+$[1]:Yt&&(!($=Yt.match(/Edge\/(\d+)/))||$[1]>=74)&&($=Yt.match(/Chrome\/(\d+)/))&&(_t=$[1]);var nn=_t&&+_t,lr=nn,di=W,on=!!Object.getOwnPropertySymbols&&!di(function(){return!String(Symbol())||!Symbol.sham&&lr&&lr<41}),yi=on&&!Symbol.sham&&typeof Symbol.iterator=="symbol",gi=j,mi=Se.exports,pr=U,bi=Qr,hr=on,wi=yi,nt=mi("wks"),ut=gi.Symbol,ji=wi?ut:ut&&ut.withoutSetter||bi,_=function(t){return pr(nt,t)&&(hr||typeof nt[t]=="string")||(hr&&pr(ut,t)?nt[t]=ut[t]:nt[t]=ji("Symbol."+t)),nt[t]},an={};an[_("toStringTag")]="z";var Me=String(an)==="[object z]",xi=Me,Et=Ct,Oi=_("toStringTag"),Ei=Et(function(){return arguments}())=="Arguments",cn=xi?Et:function(t){var e,r,n;return t===void 0?"Undefined":t===null?"Null":typeof(r=function(o,u){try{return o[u]}catch{}}(e=Object(t),Oi))=="string"?r:Ei?Et(e):(n=Et(e))=="Object"&&typeof e.callee=="function"?"Arguments":n},Si=cn,Pi=Me?{}.toString:function(){return"[object "+Si(this)+"]"},Ti=Me,_i=pt.exports,ki=Pi;Ti||_i(Object.prototype,"toString",ki,{unsafe:!0});var Li=j.Promise,Mi=pt.exports,Ii=D,Ci=A,Ri=function(t){if(!Ii(t)&&t!==null)throw TypeError("Can't set "+String(t)+" as a prototype");return t},Ai=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch{}return function(n,o){return Ci(n),Ri(o),e?t.call(n,o):n.__proto__=o,n}}():void 0),Fi=K.f,Ji=U,vr=_("toStringTag"),Di=ht,Ni=K,$i=q,dr=_("species"),Ft=function(t){if(typeof t!="function")throw TypeError(String(t)+" is not a function");return t},un={},Gi=un,Hi=_("iterator"),zi=Array.prototype,Wi=Ft,fn=function(t,e,r){if(Wi(t),e===void 0)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,o){return t.call(e,n,o)};case 3:return function(n,o,u){return t.call(e,n,o,u)}}return function(){return t.apply(e,arguments)}},qi=cn,Ui=un,Ki=_("iterator"),Qi=A,Xi=A,Yi=function(t){return t!==void 0&&(Gi.Array===t||zi[Hi]===t)},Bi=Vr,Vi=fn,Zi=function(t){if(t!=null)return t[Ki]||t["@@iterator"]||Ui[qi(t)]},yr=function(t){var e=t.return;if(e!==void 0)return Qi(e.call(t)).value},ot=function(t,e){this.stopped=t,this.result=e},sn=_("iterator"),ln=!1;try{var ta=0,gr={next:function(){return{done:!!ta++}},return:function(){ln=!0}};gr[sn]=function(){return this},Array.from(gr,function(){throw 2})}catch{}var V,mr,Bt,br=A,ea=Ft,ra=_("species"),pn=ht("document","documentElement"),hn=/(?:iphone|ipod|ipad).*applewebkit/i.test(Le),Ie=Ct(j.process)=="process",C=j,na=W,oa=fn,wr=pn,jr=je,ia=hn,aa=Ie,kt=C.location,se=C.setImmediate,le=C.clearImmediate,ca=C.process,xr=C.MessageChannel,Vt=C.Dispatch,Zt=0,ft={},Ce=function(t){if(ft.hasOwnProperty(t)){var e=ft[t];delete ft[t],e()}},te=function(t){return function(){Ce(t)}},Or=function(t){Ce(t.data)},Er=function(t){C.postMessage(t+"",kt.protocol+"//"+kt.host)};se&&le||(se=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return ft[++Zt]=function(){(typeof t=="function"?t:Function(t)).apply(void 0,e)},V(Zt),Zt},le=function(t){delete ft[t]},aa?V=function(t){ca.nextTick(te(t))}:Vt&&Vt.now?V=function(t){Vt.now(te(t))}:xr&&!ia?(Bt=(mr=new xr).port2,mr.port1.onmessage=Or,V=oa(Bt.postMessage,Bt,1)):C.addEventListener&&typeof postMessage=="function"&&!C.importScripts&&kt&&kt.protocol!=="file:"&&!na(Er)?(V=Er,C.addEventListener("message",Or,!1)):V="onreadystatechange"in jr("script")?function(t){wr.appendChild(jr("script")).onreadystatechange=function(){wr.removeChild(this),Ce(t)}}:function(t){setTimeout(te(t),0)});var it,H,st,at,ee,re,ne,Sr,vn={set:se,clear:le},ua=/web0s(?!.*chrome)/i.test(Le),z=j,fa=It.f,sa=vn.set,la=hn,pa=ua,oe=Ie,Pr=z.MutationObserver||z.WebKitMutationObserver,Tr=z.document,_r=z.process,jt=z.Promise,kr=fa(z,"queueMicrotask"),dn=kr&&kr.value;dn||(it=function(){var t,e;for(oe&&(t=_r.domain)&&t.exit();H;){e=H.fn,H=H.next;try{e()}catch(r){throw H?at():st=void 0,r}}st=void 0,t&&t.enter()},la||oe||pa||!Pr||!Tr?jt&&jt.resolve?((ne=jt.resolve(void 0)).constructor=jt,Sr=ne.then,at=function(){Sr.call(ne,it)}):at=oe?function(){_r.nextTick(it)}:function(){sa.call(z,it)}:(ee=!0,re=Tr.createTextNode(""),new Pr(it).observe(re,{characterData:!0}),at=function(){re.data=ee=!ee}));var ha=dn||function(t){var e={fn:t,next:void 0};st&&(st.next=e),H||(H=e,at()),st=e},Re={},Lr=Ft,va=function(t){var e,r;this.promise=new t(function(n,o){if(e!==void 0||r!==void 0)throw TypeError("Bad Promise constructor");e=n,r=o}),this.resolve=Lr(e),this.reject=Lr(r)};Re.f=function(t){return new va(t)};var ie,Mr,yn,Ir,da=A,ya=D,ga=Re,ma=j,ba=typeof window=="object",xt=At,J=j,wa=ht,Lt=Li,Cr=pt.exports,ja=function(t,e,r){for(var n in e)Mi(t,n,e[n],r);return t},Rr=Ai,xa=function(t,e,r){t&&!Ji(t=r?t:t.prototype,vr)&&Fi(t,vr,{configurable:!0,value:e})},Oa=function(t){var e=Di(t),r=Ni.f;$i&&e&&!e[dr]&&r(e,dr,{configurable:!0,get:function(){return this}})},Ea=D,pe=Ft,Sa=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t},Pa=Ee,Ar=function(t,e,r){var n,o,u,f,c,l,s,v=r&&r.that,m=!(!r||!r.AS_ENTRIES),O=!(!r||!r.IS_ITERATOR),b=!(!r||!r.INTERRUPTED),P=Vi(e,v,1+m+b),F=function(g){return n&&yr(n),new ot(!0,g)},k=function(g){return m?(Xi(g),b?P(g[0],g[1],F):P(g[0],g[1])):b?P(g,F):P(g)};if(O)n=t;else{if(typeof(o=Zi(t))!="function")throw TypeError("Target is not iterable");if(Yi(o)){for(u=0,f=Bi(t.length);f>u;u++)if((c=k(t[u]))&&c instanceof ot)return c;return new ot(!1)}n=o.call(t)}for(l=n.next;!(s=l.call(n)).done;){try{c=k(s.value)}catch(g){throw yr(n),g}if(typeof c=="object"&&c&&c instanceof ot)return c}return new ot(!1)},Ta=function(t,e){if(!e&&!ln)return!1;var r=!1;try{var n={};n[sn]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch{}return r},_a=function(t,e){var r,n=br(t).constructor;return n===void 0||(r=br(n)[ra])==null?e:ea(r)},gn=vn.set,mn=ha,ka=function(t,e){if(da(t),ya(e)&&e.constructor===t)return e;var r=ga.f(t);return(0,r.resolve)(e),r.promise},La=function(t,e){var r=ma.console;r&&r.error&&(arguments.length===1?r.error(t):r.error(t,e))},bn=Re,he=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}},Ae=Te,Ma=en,Ia=ba,Mt=Ie,Fr=nn,Ca=_("species"),I="Promise",Jr=Ae.get,Ra=Ae.set,Aa=Ae.getterFor(I),G=Lt&&Lt.prototype,T=Lt,Ot=G,wn=J.TypeError,ve=J.document,Fe=J.process,tt=bn.f,Fa=tt,Ja=!!(ve&&ve.createEvent&&J.dispatchEvent),jn=typeof PromiseRejectionEvent=="function",xn=!1,lt=Ma(I,function(){var t=Pa(T)!==String(T);if(!t&&Fr===66)return!0;if(Fr>=51&&/native code/.test(T))return!1;var e=new T(function(n){n(1)}),r=function(n){n(function(){},function(){})};return(e.constructor={})[Ca]=r,!(xn=e.then(function(){})instanceof r)||!t&&Ia&&!jn}),Da=lt||!Ta(function(t){T.all(t).catch(function(){})}),On=function(t){var e;return!(!Ea(t)||typeof(e=t.then)!="function")&&e},Je=function(t,e){if(!t.notified){t.notified=!0;var r=t.reactions;mn(function(){for(var n=t.value,o=t.state==1,u=0;r.length>u;){var f,c,l,s=r[u++],v=o?s.ok:s.fail,m=s.resolve,O=s.reject,b=s.domain;try{v?(o||(t.rejection===2&&$a(t),t.rejection=1),v===!0?f=n:(b&&b.enter(),f=v(n),b&&(b.exit(),l=!0)),f===s.promise?O(wn("Promise-chain cycle")):(c=On(f))?c.call(f,m,O):m(f)):O(n)}catch(P){b&&!l&&b.exit(),O(P)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&Na(t)})}},En=function(t,e,r){var n,o;Ja?((n=ve.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),J.dispatchEvent(n)):n={promise:e,reason:r},!jn&&(o=J["on"+t])?o(n):t==="unhandledrejection"&&La("Unhandled promise rejection",r)},Na=function(t){gn.call(J,function(){var e,r=t.facade,n=t.value;if(Dr(t)&&(e=he(function(){Mt?Fe.emit("unhandledRejection",n,r):En("unhandledrejection",r,n)}),t.rejection=Mt||Dr(t)?2:1,e.error))throw e.value})},Dr=function(t){return t.rejection!==1&&!t.parent},$a=function(t){gn.call(J,function(){var e=t.facade;Mt?Fe.emit("rejectionHandled",e):En("rejectionhandled",e,t.value)})},Z=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,Je(t,!0))},de=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw wn("Promise can't be resolved itself");var n=On(e);n?mn(function(){var o={done:!1};try{n.call(e,Z(de,o,t),Z(et,o,t))}catch(u){et(o,u,t)}}):(t.value=e,t.state=1,Je(t,!1))}catch(o){et({done:!1},o,t)}}};if(lt&&(Ot=(T=function(t){Sa(this,T,I),pe(t),ie.call(this);var e=Jr(this);try{t(Z(de,e),Z(et,e))}catch(r){et(e,r)}}).prototype,(ie=function(t){Ra(this,{type:I,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=ja(Ot,{then:function(t,e){var r=Aa(this),n=tt(_a(this,T));return n.ok=typeof t!="function"||t,n.fail=typeof e=="function"&&e,n.domain=Mt?Fe.domain:void 0,r.parent=!0,r.reactions.push(n),r.state!=0&&Je(r,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),Mr=function(){var t=new ie,e=Jr(t);this.promise=t,this.resolve=Z(de,e),this.reject=Z(et,e)},bn.f=tt=function(t){return t===T||t===yn?new Mr(t):Fa(t)},typeof Lt=="function"&&G!==Object.prototype)){Ir=G.then,xn||(Cr(G,"then",function(t,e){var r=this;return new T(function(n,o){Ir.call(r,n,o)}).then(t,e)},{unsafe:!0}),Cr(G,"catch",Ot.catch,{unsafe:!0}));try{delete G.constructor}catch{}Rr&&Rr(G,Ot)}xt({global:!0,wrap:!0,forced:lt},{Promise:T}),xa(T,I,!1),Oa(I),yn=wa(I),xt({target:I,stat:!0,forced:lt},{reject:function(t){var e=tt(this);return e.reject.call(void 0,t),e.promise}}),xt({target:I,stat:!0,forced:lt},{resolve:function(t){return ka(this,t)}}),xt({target:I,stat:!0,forced:Da},{all:function(t){var e=this,r=tt(e),n=r.resolve,o=r.reject,u=he(function(){var f=pe(e.resolve),c=[],l=0,s=1;Ar(t,function(v){var m=l++,O=!1;c.push(void 0),s++,f.call(e,v).then(function(b){O||(O=!0,c[m]=b,--s||n(c))},o)}),--s||n(c)});return u.error&&o(u.value),r.promise},race:function(t){var e=this,r=tt(e),n=r.reject,o=he(function(){var u=pe(e.resolve);Ar(t,function(f){u.call(e,f).then(r.resolve,n)})});return o.error&&n(o.value),r.promise}});var ae,Ga=K,Ha=A,za=rn,Wa=q?Object.defineProperties:function(t,e){Ha(t);for(var r,n=za(e),o=n.length,u=0;o>u;)Ga.f(t,r=n[u++],e[r]);return t},qa=A,Ua=Wa,Nr=_e,Ka=Pe,Qa=pn,Xa=je,Sn=Xr("IE_PROTO"),ce=function(){},$r=function(t){return"<script>"+t+"<\/script>"},St=function(){try{ae=document.domain&&new ActiveXObject("htmlfile")}catch{}var t,e;St=ae?function(n){n.write($r("")),n.close();var o=n.parentWindow.Object;return n=null,o}(ae):((e=Xa("iframe")).style.display="none",Qa.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write($r("document.F=Object")),t.close(),t.F);for(var r=Nr.length;r--;)delete St.prototype[Nr[r]];return St()};Ka[Sn]=!0;var Ya=Object.create||function(t,e){var r;return t!==null?(ce.prototype=qa(t),r=new ce,ce.prototype=null,r[Sn]=t):r=St(),e===void 0?r:Ua(r,e)},Ba=K,ye=_("unscopables"),ge=Array.prototype;ge[ye]==null&&Ba.f(ge,ye,{configurable:!0,value:Ya(null)});var Va=Zr.includes,Za=function(t){ge[ye][t]=!0};At({target:"Array",proto:!0},{includes:function(t){return Va(this,t,arguments.length>1?arguments[1]:void 0)}}),Za("includes");var tc=D,ec=Ct,rc=_("match"),nc=function(t){var e;return tc(t)&&((e=t[rc])!==void 0?!!e:ec(t)=="RegExp")},oc=_("match"),ic=function(t){if(nc(t))throw TypeError("The method doesn't accept regular expressions");return t},ac=be;At({target:"String",proto:!0,forced:!function(t){var e=/./;try{"/./"[t](e)}catch{try{return e[oc]=!1,"/./"[t](e)}catch{}}return!1}("includes")},{includes:function(t){return!!~String(ac(this)).indexOf(ic(t),arguments.length>1?arguments[1]:void 0)}});var Pn=function(){var t,e={messageStyle:"none",tex2jax:{inlineMath:[["$","$"],["\\(","\\)"]],skipTags:["script","noscript","style","textarea","pre"]},skipStartupTypeset:!0};return{id:"mathjax2",init:function(r){var n=(t=r).getConfig().mathjax2||t.getConfig().math||{},o=E(E({},e),n),u=(o.mathjax||"https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js")+"?config="+(o.config||"TeX-AMS_HTML-full");o.tex2jax=E(E({},e.tex2jax),n.tex2jax),o.mathjax=o.config=null,function(f,c){var l=this,s=document.querySelector("head"),v=document.createElement("script");v.type="text/javascript",v.src=f;var m=function(){typeof c=="function"&&(c.call(),c=null)};v.onload=m,v.onreadystatechange=function(){l.readyState==="loaded"&&m()},s.appendChild(v)}(u,function(){MathJax.Hub.Config(o),MathJax.Hub.Queue(["Typeset",MathJax.Hub,t.getRevealElement()]),MathJax.Hub.Queue(t.layout),t.on("slidechanged",function(f){MathJax.Hub.Queue(["Typeset",MathJax.Hub,f.currentSlide])})})}}},cc=Pn,uc=Plugin=Object.assign(cc(),{KaTeX:function(){var t,e={version:"latest",delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\[",right:"\\]",display:!0}],ignoredTags:["script","noscript","style","textarea","pre"]},r=function(o){return new Promise(function(u,f){var c=document.createElement("script");c.type="text/javascript",c.onload=u,c.onerror=f,c.src=o,document.head.append(c)})};function n(){return(n=li(regeneratorRuntime.mark(function o(u){var f,c,l;return regeneratorRuntime.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:f=vi(u),s.prev=1,f.s();case 3:if((c=f.n()).done){s.next=9;break}return l=c.value,s.next=7,r(l);case 7:s.next=3;break;case 9:s.next=14;break;case 11:s.prev=11,s.t0=s.catch(1),f.e(s.t0);case 14:return s.prev=14,f.f(),s.finish(14);case 17:case"end":return s.stop()}},o,null,[[1,11,14,17]])}))).apply(this,arguments)}return{id:"katex",init:function(o){var u=this,f=(t=o).getConfig().katex||{},c=E(E({},e),f);c.local,c.version,c.extensions;var l=hi(c,["local","version","extensions"]),s=c.local||"https://cdn.jsdelivr.net/npm/katex",v=c.local?"":"@"+c.version,m=s+v+"/dist/katex.min.css",O=s+v+"/dist/contrib/mhchem.min.js",b=s+v+"/dist/contrib/auto-render.min.js",P=[s+v+"/dist/katex.min.js"];c.extensions&&c.extensions.includes("mhchem")&&P.push(O),P.push(b);var F,k,g=function(){renderMathInElement(o.getSlidesElement(),l),t.layout()};F=m,(k=document.createElement("link")).rel="stylesheet",k.href=F,document.head.appendChild(k),function(dt){return n.apply(this,arguments)}(P).then(function(){t.isReady()?g():t.on("ready",g.bind(u))})}}},MathJax2:Pn,MathJax3:function(){var t={tex:{inlineMath:[["$","$"],["\\(","\\)"]]},options:{skipHtmlTags:["script","noscript","style","textarea","pre"]},startup:{ready:function(){MathJax.startup.defaultReady(),MathJax.startup.promise.then(function(){Reveal.layout()})}}};return{id:"mathjax3",init:function(e){var r=e.getConfig().mathjax3||{},n=E(E({},t),r);n.tex=E(E({},t.tex),r.tex),n.options=E(E({},t.options),r.options),n.startup=E(E({},t.startup),r.startup);var o=n.mathjax||"https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js";n.mathjax=null,window.MathJax=n,function(u,f){var c=document.createElement("script");c.type="text/javascript",c.id="MathJax-script",c.src=u,c.async=!0,c.onload=function(){typeof f=="function"&&(f.call(),f=null)},document.head.appendChild(c)}(o,function(){Reveal.addEventListener("slidechanged",function(u){MathJax.typeset()})})}}}});export{uc as default};
|