mirror of
https://github.com/VickScarlet/lifeRestart.git
synced 2025-07-19 02:23:55 +08:00
1 line
93 KiB
JavaScript
1 line
93 KiB
JavaScript
(()=>{var t={3099:t=>{t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},6077:(t,e,r)=>{var n=r(111);t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},1223:(t,e,r)=>{var n=r(5112),i=r(30),o=r(3070),a=n("unscopables"),u=Array.prototype;null==u[a]&&o.f(u,a,{configurable:!0,value:i(null)}),t.exports=function(t){u[a][t]=!0}},1530:(t,e,r)=>{"use strict";var n=r(8710).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},5787:t=>{t.exports=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t}},9670:(t,e,r)=>{var n=r(111);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},1285:(t,e,r)=>{"use strict";var n=r(7908),i=r(1400),o=r(7466);t.exports=function(t){for(var e=n(this),r=o(e.length),a=arguments.length,u=i(a>1?arguments[1]:void 0,r),c=a>2?arguments[2]:void 0,s=void 0===c?r:i(c,r);s>u;)e[u++]=t;return e}},8533:(t,e,r)=>{"use strict";var n=r(2092).forEach,i=r(9341)("forEach");t.exports=i?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},8457:(t,e,r)=>{"use strict";var n=r(9974),i=r(7908),o=r(3411),a=r(7659),u=r(7466),c=r(6135),s=r(8554),f=r(1246);t.exports=function(t){var e,r,l,v,d,p,h=i(t),g="function"==typeof this?this:Array,y=arguments.length,m=y>1?arguments[1]:void 0,b=void 0!==m,w=f(h),x=0;if(b&&(m=n(m,y>2?arguments[2]:void 0,2)),null==w||g==Array&&a(w))for(r=new g(e=u(h.length));e>x;x++)p=b?m(h[x],x):h[x],c(r,x,p);else for(d=(v=s(h,w)).next,r=new g;!(l=d.call(v)).done;x++)p=b?o(v,m,[l.value,x],!0):l.value,c(r,x,p);return r.length=x,r}},1318:(t,e,r)=>{var n=r(5656),i=r(7466),o=r(1400),a=function(t){return function(e,r,a){var u,c=n(e),s=i(c.length),f=o(a,s);if(t&&r!=r){for(;s>f;)if((u=c[f++])!=u)return!0}else for(;s>f;f++)if((t||f in c)&&c[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},2092:(t,e,r)=>{var n=r(9974),i=r(8361),o=r(7908),a=r(7466),u=r(5417),c=[].push,s=function(t){var e=1==t,r=2==t,s=3==t,f=4==t,l=6==t,v=7==t,d=5==t||l;return function(p,h,g,y){for(var m,b,w=o(p),x=i(w),S=n(h,g,3),E=a(x.length),T=0,j=y||u,A=e?j(p,E):r||v?j(p,0):void 0;E>T;T++)if((d||T in x)&&(b=S(m=x[T],T,w),t))if(e)A[T]=b;else if(b)switch(t){case 3:return!0;case 5:return m;case 6:return T;case 2:c.call(A,m)}else switch(t){case 4:return!1;case 7:c.call(A,m)}return l?-1:s||f?f:A}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},1194:(t,e,r)=>{var n=r(7293),i=r(5112),o=r(7392),a=i("species");t.exports=function(t){return o>=51||!n((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},9341:(t,e,r)=>{"use strict";var n=r(7293);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){throw 1},1)}))}},7475:(t,e,r)=>{var n=r(111),i=r(3157),o=r(5112)("species");t.exports=function(t){var e;return i(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!i(e.prototype)?n(e)&&null===(e=e[o])&&(e=void 0):e=void 0),void 0===e?Array:e}},5417:(t,e,r)=>{var n=r(7475);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},3411:(t,e,r)=>{var n=r(9670),i=r(9212);t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){i(t,"throw",e)}}},7072:(t,e,r)=>{var n=r(5112)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},t(o)}catch(t){}return r}},4326:t=>{var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},648:(t,e,r)=>{var n=r(1694),i=r(4326),o=r(5112)("toStringTag"),a="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=Object(t),o))?r:a?i(e):"Object"==(n=i(e))&&"function"==typeof e.callee?"Arguments":n}},5631:(t,e,r)=>{"use strict";var n=r(3070).f,i=r(30),o=r(2248),a=r(9974),u=r(5787),c=r(408),s=r(654),f=r(6340),l=r(9781),v=r(2423).fastKey,d=r(9909),p=d.set,h=d.getterFor;t.exports={getConstructor:function(t,e,r,s){var f=t((function(t,n){u(t,f,e),p(t,{type:e,index:i(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=n&&c(n,t[s],{that:t,AS_ENTRIES:r})})),d=h(e),g=function(t,e,r){var n,i,o=d(t),a=y(t,e);return a?a.value=r:(o.last=a={index:i=v(e,!0),key:e,value:r,previous:n=o.last,next:void 0,removed:!1},o.first||(o.first=a),n&&(n.next=a),l?o.size++:t.size++,"F"!==i&&(o.index[i]=a)),t},y=function(t,e){var r,n=d(t),i=v(e);if("F"!==i)return n.index[i];for(r=n.first;r;r=r.next)if(r.key==e)return r};return o(f.prototype,{clear:function(){for(var t=d(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,l?t.size=0:this.size=0},delete:function(t){var e=this,r=d(e),n=y(e,t);if(n){var i=n.next,o=n.previous;delete r.index[n.index],n.removed=!0,o&&(o.next=i),i&&(i.previous=o),r.first==n&&(r.first=i),r.last==n&&(r.last=o),l?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=d(this),n=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!y(this,t)}}),o(f.prototype,r?{get:function(t){var e=y(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),l&&n(f.prototype,"size",{get:function(){return d(this).size}}),f},setStrong:function(t,e,r){var n=e+" Iterator",i=h(e),o=h(n);s(t,e,(function(t,e){p(this,{type:n,target:t,state:i(t),kind:e,last:void 0})}),(function(){for(var t=o(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?"keys"==e?{value:r.key,done:!1}:"values"==e?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),f(e)}}},9320:(t,e,r)=>{"use strict";var n=r(2248),i=r(2423).getWeakData,o=r(9670),a=r(111),u=r(5787),c=r(408),s=r(2092),f=r(6656),l=r(9909),v=l.set,d=l.getterFor,p=s.find,h=s.findIndex,g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return p(t.entries,(function(t){return t[0]===e}))};m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var r=b(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=h(this.entries,(function(e){return e[0]===t}));return~e&&this.entries.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,r,s){var l=t((function(t,n){u(t,l,e),v(t,{type:e,id:g++,frozen:void 0}),null!=n&&c(n,t[s],{that:t,AS_ENTRIES:r})})),p=d(e),h=function(t,e,r){var n=p(t),a=i(o(e),!0);return!0===a?y(n).set(e,r):a[n.id]=r,t};return n(l.prototype,{delete:function(t){var e=p(this);if(!a(t))return!1;var r=i(t);return!0===r?y(e).delete(t):r&&f(r,e.id)&&delete r[e.id]},has:function(t){var e=p(this);if(!a(t))return!1;var r=i(t);return!0===r?y(e).has(t):r&&f(r,e.id)}}),n(l.prototype,r?{get:function(t){var e=p(this);if(a(t)){var r=i(t);return!0===r?y(e).get(t):r?r[e.id]:void 0}},set:function(t,e){return h(this,t,e)}}:{add:function(t){return h(this,t,!0)}}),l}}},7710:(t,e,r)=>{"use strict";var n=r(2109),i=r(7854),o=r(4705),a=r(1320),u=r(2423),c=r(408),s=r(5787),f=r(111),l=r(7293),v=r(7072),d=r(8003),p=r(9587);t.exports=function(t,e,r){var h=-1!==t.indexOf("Map"),g=-1!==t.indexOf("Weak"),y=h?"set":"add",m=i[t],b=m&&m.prototype,w=m,x={},S=function(t){var e=b[t];a(b,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(g&&!f(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!f(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!f(t))&&e.call(this,0===t?0:t)}:function(t,r){return e.call(this,0===t?0:t,r),this})};if(o(t,"function"!=typeof m||!(g||b.forEach&&!l((function(){(new m).entries().next()})))))w=r.getConstructor(e,t,h,y),u.enable();else if(o(t,!0)){var E=new w,T=E[y](g?{}:-0,1)!=E,j=l((function(){E.has(1)})),A=v((function(t){new m(t)})),O=!g&&l((function(){for(var t=new m,e=5;e--;)t[y](e,e);return!t.has(-0)}));A||((w=e((function(e,r){s(e,w,t);var n=p(new m,e,w);return null!=r&&c(r,n[y],{that:n,AS_ENTRIES:h}),n}))).prototype=b,b.constructor=w),(j||O)&&(S("delete"),S("has"),h&&S("get")),(O||T)&&S(y),g&&b.clear&&delete b.clear}return x[t]=w,n({global:!0,forced:w!=m},x),d(w,t),g||r.setStrong(w,t,h),w}},9920:(t,e,r)=>{var n=r(6656),i=r(3887),o=r(1236),a=r(3070);t.exports=function(t,e){for(var r=i(e),u=a.f,c=o.f,s=0;s<r.length;s++){var f=r[s];n(t,f)||u(t,f,c(e,f))}}},4964:(t,e,r)=>{var n=r(5112)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,"/./"[t](e)}catch(t){}}return!1}},8544:(t,e,r)=>{var n=r(7293);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},4994:(t,e,r)=>{"use strict";var n=r(3383).IteratorPrototype,i=r(30),o=r(9114),a=r(8003),u=r(7497),c=function(){return this};t.exports=function(t,e,r){var s=e+" Iterator";return t.prototype=i(n,{next:o(1,r)}),a(t,s,!1,!0),u[s]=c,t}},8880:(t,e,r)=>{var n=r(9781),i=r(3070),o=r(9114);t.exports=n?function(t,e,r){return i.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},9114:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6135:(t,e,r)=>{"use strict";var n=r(4948),i=r(3070),o=r(9114);t.exports=function(t,e,r){var a=n(e);a in t?i.f(t,a,o(0,r)):t[a]=r}},654:(t,e,r)=>{"use strict";var n=r(2109),i=r(4994),o=r(9518),a=r(7674),u=r(8003),c=r(8880),s=r(1320),f=r(5112),l=r(1913),v=r(7497),d=r(3383),p=d.IteratorPrototype,h=d.BUGGY_SAFARI_ITERATORS,g=f("iterator"),y="keys",m="values",b="entries",w=function(){return this};t.exports=function(t,e,r,f,d,x,S){i(r,e,f);var E,T,j,A=function(t){if(t===d&&R)return R;if(!h&&t in P)return P[t];switch(t){case y:case m:case b:return function(){return new r(this,t)}}return function(){return new r(this)}},O=e+" Iterator",k=!1,P=t.prototype,I=P[g]||P["@@iterator"]||d&&P[d],R=!h&&I||A(d),N="Array"==e&&P.entries||I;if(N&&(E=o(N.call(new t)),p!==Object.prototype&&E.next&&(l||o(E)===p||(a?a(E,p):"function"!=typeof E[g]&&c(E,g,w)),u(E,O,!0,!0),l&&(v[O]=w))),d==m&&I&&I.name!==m&&(k=!0,R=function(){return I.call(this)}),l&&!S||P[g]===R||c(P,g,R),v[e]=R,d)if(T={values:A(m),keys:x?R:A(y),entries:A(b)},S)for(j in T)(h||k||!(j in P))&&s(P,j,T[j]);else n({target:e,proto:!0,forced:h||k},T);return T}},7235:(t,e,r)=>{var n=r(857),i=r(6656),o=r(6061),a=r(3070).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});i(e,t)||a(e,t,{value:o.f(t)})}},9781:(t,e,r)=>{var n=r(7293);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:(t,e,r)=>{var n=r(7854),i=r(111),o=n.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},8324:t=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},7871:t=>{t.exports="object"==typeof window},1528:(t,e,r)=>{var n=r(8113),i=r(7854);t.exports=/ipad|iphone|ipod/i.test(n)&&void 0!==i.Pebble},6833:(t,e,r)=>{var n=r(8113);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},5268:(t,e,r)=>{var n=r(4326),i=r(7854);t.exports="process"==n(i.process)},1036:(t,e,r)=>{var n=r(8113);t.exports=/web0s(?!.*chrome)/i.test(n)},8113:(t,e,r)=>{var n=r(5005);t.exports=n("navigator","userAgent")||""},7392:(t,e,r)=>{var n,i,o=r(7854),a=r(8113),u=o.process,c=o.Deno,s=u&&u.versions||c&&c.version,f=s&&s.v8;f?i=(n=f.split("."))[0]<4?1:n[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=n[1]),t.exports=i&&+i},748:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(t,e,r)=>{var n=r(7854),i=r(1236).f,o=r(8880),a=r(1320),u=r(3505),c=r(9920),s=r(4705);t.exports=function(t,e){var r,f,l,v,d,p=t.target,h=t.global,g=t.stat;if(r=h?n:g?n[p]||u(p,{}):(n[p]||{}).prototype)for(f in e){if(v=e[f],l=t.noTargetGet?(d=i(r,f))&&d.value:r[f],!s(h?f:p+(g?".":"#")+f,t.forced)&&void 0!==l){if(typeof v==typeof l)continue;c(v,l)}(t.sham||l&&l.sham)&&o(v,"sham",!0),a(r,f,v,t)}}},7293:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},7007:(t,e,r)=>{"use strict";r(4916);var n=r(1320),i=r(2261),o=r(7293),a=r(5112),u=r(8880),c=a("species"),s=RegExp.prototype;t.exports=function(t,e,r,f){var l=a(t),v=!o((function(){var e={};return e[l]=function(){return 7},7!=""[t](e)})),d=v&&!o((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[c]=function(){return r},r.flags="",r[l]=/./[l]),r.exec=function(){return e=!0,null},r[l](""),!e}));if(!v||!d||r){var p=/./[l],h=e(l,""[t],(function(t,e,r,n,o){var a=e.exec;return a===i||a===s.exec?v&&!o?{done:!0,value:p.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}));n(String.prototype,t,h[0]),n(s,l,h[1])}f&&u(s[l],"sham",!0)}},6790:(t,e,r)=>{"use strict";var n=r(3157),i=r(7466),o=r(9974),a=function(t,e,r,u,c,s,f,l){for(var v,d=c,p=0,h=!!f&&o(f,l,3);p<u;){if(p in r){if(v=h?h(r[p],p,e):r[p],s>0&&n(v))d=a(t,e,v,i(v.length),d,s-1)-1;else{if(d>=9007199254740991)throw TypeError("Exceed the acceptable array length");t[d]=v}d++}p++}return d};t.exports=a},6677:(t,e,r)=>{var n=r(7293);t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},9974:(t,e,r)=>{var n=r(3099);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,i){return t.call(e,r,n,i)}}return function(){return t.apply(e,arguments)}}},5005:(t,e,r)=>{var n=r(7854),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t]):n[t]&&n[t][e]}},1246:(t,e,r)=>{var n=r(648),i=r(7497),o=r(5112)("iterator");t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[n(t)]}},8554:(t,e,r)=>{var n=r(9670),i=r(1246);t.exports=function(t,e){var r=arguments.length<2?i(t):e;if("function"!=typeof r)throw TypeError(String(t)+" is not iterable");return n(r.call(t))}},7854:(t,e,r)=>{var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},6656:(t,e,r)=>{var n=r(7908),i={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return i.call(n(t),e)}},3501:t=>{t.exports={}},842:(t,e,r)=>{var n=r(7854);t.exports=function(t,e){var r=n.console;r&&r.error&&(1===arguments.length?r.error(t):r.error(t,e))}},490:(t,e,r)=>{var n=r(5005);t.exports=n("document","documentElement")},4664:(t,e,r)=>{var n=r(9781),i=r(7293),o=r(317);t.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},8361:(t,e,r)=>{var n=r(7293),i=r(4326),o="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},9587:(t,e,r)=>{var n=r(111),i=r(7674);t.exports=function(t,e,r){var o,a;return i&&"function"==typeof(o=e.constructor)&&o!==r&&n(a=o.prototype)&&a!==r.prototype&&i(t,a),t}},2788:(t,e,r)=>{var n=r(5465),i=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return i.call(t)}),t.exports=n.inspectSource},2423:(t,e,r)=>{var n=r(2109),i=r(3501),o=r(111),a=r(6656),u=r(3070).f,c=r(8006),s=r(1156),f=r(9711),l=r(6677),v=!1,d=f("meta"),p=0,h=Object.isExtensible||function(){return!0},g=function(t){u(t,d,{value:{objectID:"O"+p++,weakData:{}}})},y=t.exports={enable:function(){y.enable=function(){},v=!0;var t=c.f,e=[].splice,r={};r[d]=1,t(r).length&&(c.f=function(r){for(var n=t(r),i=0,o=n.length;i<o;i++)if(n[i]===d){e.call(n,i,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:s.f}))},fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!a(t,d)){if(!h(t))return"F";if(!e)return"E";g(t)}return t[d].objectID},getWeakData:function(t,e){if(!a(t,d)){if(!h(t))return!0;if(!e)return!1;g(t)}return t[d].weakData},onFreeze:function(t){return l&&v&&h(t)&&!a(t,d)&&g(t),t}};i[d]=!0},9909:(t,e,r)=>{var n,i,o,a=r(8536),u=r(7854),c=r(111),s=r(8880),f=r(6656),l=r(5465),v=r(6200),d=r(3501),p="Object already initialized",h=u.WeakMap;if(a||l.state){var g=l.state||(l.state=new h),y=g.get,m=g.has,b=g.set;n=function(t,e){if(m.call(g,t))throw new TypeError(p);return e.facade=t,b.call(g,t,e),e},i=function(t){return y.call(g,t)||{}},o=function(t){return m.call(g,t)}}else{var w=v("state");d[w]=!0,n=function(t,e){if(f(t,w))throw new TypeError(p);return e.facade=t,s(t,w,e),e},i=function(t){return f(t,w)?t[w]:{}},o=function(t){return f(t,w)}}t.exports={set:n,get:i,has:o,enforce:function(t){return o(t)?i(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!c(e)||(r=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},7659:(t,e,r)=>{var n=r(5112),i=r(7497),o=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},3157:(t,e,r)=>{var n=r(4326);t.exports=Array.isArray||function(t){return"Array"==n(t)}},4705:(t,e,r)=>{var n=r(7293),i=/#|\.prototype\./,o=function(t,e){var r=u[a(t)];return r==s||r!=c&&("function"==typeof e?n(e):!!e)},a=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},u=o.data={},c=o.NATIVE="N",s=o.POLYFILL="P";t.exports=o},111:t=>{t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},1913:t=>{t.exports=!1},7850:(t,e,r)=>{var n=r(111),i=r(4326),o=r(5112)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},2190:(t,e,r)=>{var n=r(5005),i=r(3307);t.exports=i?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return"function"==typeof e&&Object(t)instanceof e}},408:(t,e,r)=>{var n=r(9670),i=r(7659),o=r(7466),a=r(9974),u=r(8554),c=r(1246),s=r(9212),f=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,r){var l,v,d,p,h,g,y,m=r&&r.that,b=!(!r||!r.AS_ENTRIES),w=!(!r||!r.IS_ITERATOR),x=!(!r||!r.INTERRUPTED),S=a(e,m,1+b+x),E=function(t){return l&&s(l,"normal",t),new f(!0,t)},T=function(t){return b?(n(t),x?S(t[0],t[1],E):S(t[0],t[1])):x?S(t,E):S(t)};if(w)l=t;else{if("function"!=typeof(v=c(t)))throw TypeError("Target is not iterable");if(i(v)){for(d=0,p=o(t.length);p>d;d++)if((h=T(t[d]))&&h instanceof f)return h;return new f(!1)}l=u(t,v)}for(g=l.next;!(y=g.call(l)).done;){try{h=T(y.value)}catch(t){s(l,"throw",t)}if("object"==typeof h&&h&&h instanceof f)return h}return new f(!1)}},9212:(t,e,r)=>{var n=r(9670);t.exports=function(t,e,r){var i,o;n(t);try{if(void 0===(i=t.return)){if("throw"===e)throw r;return r}i=i.call(t)}catch(t){o=!0,i=t}if("throw"===e)throw r;if(o)throw i;return n(i),r}},3383:(t,e,r)=>{"use strict";var n,i,o,a=r(7293),u=r(9518),c=r(8880),s=r(6656),f=r(5112),l=r(1913),v=f("iterator"),d=!1;[].keys&&("next"in(o=[].keys())?(i=u(u(o)))!==Object.prototype&&(n=i):d=!0);var p=null==n||a((function(){var t={};return n[v].call(t)!==t}));p&&(n={}),l&&!p||s(n,v)||c(n,v,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},7497:t=>{t.exports={}},5948:(t,e,r)=>{var n,i,o,a,u,c,s,f,l=r(7854),v=r(1236).f,d=r(261).set,p=r(6833),h=r(1528),g=r(1036),y=r(5268),m=l.MutationObserver||l.WebKitMutationObserver,b=l.document,w=l.process,x=l.Promise,S=v(l,"queueMicrotask"),E=S&&S.value;E||(n=function(){var t,e;for(y&&(t=w.domain)&&t.exit();i;){e=i.fn,i=i.next;try{e()}catch(t){throw i?a():o=void 0,t}}o=void 0,t&&t.enter()},p||y||g||!m||!b?!h&&x&&x.resolve?((s=x.resolve(void 0)).constructor=x,f=s.then,a=function(){f.call(s,n)}):a=y?function(){w.nextTick(n)}:function(){d.call(l,n)}:(u=!0,c=b.createTextNode(""),new m(n).observe(c,{characterData:!0}),a=function(){c.data=u=!u})),t.exports=E||function(t){var e={fn:t,next:void 0};o&&(o.next=e),i||(i=e,a()),o=e}},3366:(t,e,r)=>{var n=r(7854);t.exports=n.Promise},133:(t,e,r)=>{var n=r(7392),i=r(7293);t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},8536:(t,e,r)=>{var n=r(7854),i=r(2788),o=n.WeakMap;t.exports="function"==typeof o&&/native code/.test(i(o))},8523:(t,e,r)=>{"use strict";var n=r(3099),i=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n})),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new i(t)}},3929:(t,e,r)=>{var n=r(7850);t.exports=function(t){if(n(t))throw TypeError("The method doesn't accept regular expressions");return t}},3009:(t,e,r)=>{var n=r(7854),i=r(1340),o=r(3111).trim,a=r(1361),u=n.parseInt,c=/^[+-]?0[Xx]/,s=8!==u(a+"08")||22!==u(a+"0x16");t.exports=s?function(t,e){var r=o(i(t));return u(r,e>>>0||(c.test(r)?16:10))}:u},30:(t,e,r)=>{var n,i=r(9670),o=r(6048),a=r(748),u=r(3501),c=r(490),s=r(317),f=r(6200)("IE_PROTO"),l=function(){},v=function(t){return"<script>"+t+"<\/script>"},d=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},p=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e;p="undefined"!=typeof document?document.domain&&n?d(n):((e=s("iframe")).style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):d(n);for(var r=a.length;r--;)delete p.prototype[a[r]];return p()};u[f]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(l.prototype=i(t),r=new l,l.prototype=null,r[f]=t):r=p(),void 0===e?r:o(r,e)}},6048:(t,e,r)=>{var n=r(9781),i=r(3070),o=r(9670),a=r(1956);t.exports=n?Object.defineProperties:function(t,e){o(t);for(var r,n=a(e),u=n.length,c=0;u>c;)i.f(t,r=n[c++],e[r]);return t}},3070:(t,e,r)=>{var n=r(9781),i=r(4664),o=r(9670),a=r(4948),u=Object.defineProperty;e.f=n?u:function(t,e,r){if(o(t),e=a(e),o(r),i)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},1236:(t,e,r)=>{var n=r(9781),i=r(5296),o=r(9114),a=r(5656),u=r(4948),c=r(6656),s=r(4664),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=a(t),e=u(e),s)try{return f(t,e)}catch(t){}if(c(t,e))return o(!i.f.call(t,e),t[e])}},1156:(t,e,r)=>{var n=r(5656),i=r(8006).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?function(t){try{return i(t)}catch(t){return a.slice()}}(t):i(n(t))}},8006:(t,e,r)=>{var n=r(6324),i=r(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},5181:(t,e)=>{e.f=Object.getOwnPropertySymbols},9518:(t,e,r)=>{var n=r(6656),i=r(7908),o=r(6200),a=r(8544),u=o("IE_PROTO"),c=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=i(t),n(t,u)?t[u]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},6324:(t,e,r)=>{var n=r(6656),i=r(5656),o=r(1318).indexOf,a=r(3501);t.exports=function(t,e){var r,u=i(t),c=0,s=[];for(r in u)!n(a,r)&&n(u,r)&&s.push(r);for(;e.length>c;)n(u,r=e[c++])&&(~o(s,r)||s.push(r));return s}},1956:(t,e,r)=>{var n=r(6324),i=r(748);t.exports=Object.keys||function(t){return n(t,i)}},5296:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);e.f=i?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},7674:(t,e,r)=>{var n=r(9670),i=r(6077);t.exports=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(t){}return function(r,o){return n(r),i(o),e?t.call(r,o):r.__proto__=o,r}}():void 0)},288:(t,e,r)=>{"use strict";var n=r(1694),i=r(648);t.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},2140:(t,e,r)=>{var n=r(111);t.exports=function(t,e){var r,i;if("string"===e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!n(i=r.call(t)))return i;if("string"!==e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},3887:(t,e,r)=>{var n=r(5005),i=r(8006),o=r(5181),a=r(9670);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(a(t)),r=o.f;return r?e.concat(r(t)):e}},857:(t,e,r)=>{var n=r(7854);t.exports=n},2534:t=>{t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},9478:(t,e,r)=>{var n=r(9670),i=r(111),o=r(8523);t.exports=function(t,e){if(n(t),i(e)&&e.constructor===t)return e;var r=o.f(t);return(0,r.resolve)(e),r.promise}},2248:(t,e,r)=>{var n=r(1320);t.exports=function(t,e,r){for(var i in e)n(t,i,e[i],r);return t}},1320:(t,e,r)=>{var n=r(7854),i=r(8880),o=r(6656),a=r(3505),u=r(2788),c=r(9909),s=c.get,f=c.enforce,l=String(String).split("String");(t.exports=function(t,e,r,u){var c,s=!!u&&!!u.unsafe,v=!!u&&!!u.enumerable,d=!!u&&!!u.noTargetGet;"function"==typeof r&&("string"!=typeof e||o(r,"name")||i(r,"name",e),(c=f(r)).source||(c.source=l.join("string"==typeof e?e:""))),t!==n?(s?!d&&t[e]&&(v=!0):delete t[e],v?t[e]=r:i(t,e,r)):v?t[e]=r:a(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||u(this)}))},7651:(t,e,r)=>{var n=r(4326),i=r(2261);t.exports=function(t,e){var r=t.exec;if("function"==typeof r){var o=r.call(t,e);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==n(t))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},2261:(t,e,r)=>{"use strict";var n,i,o=r(1340),a=r(7066),u=r(2999),c=r(2309),s=r(30),f=r(9909).get,l=r(9441),v=r(8173),d=RegExp.prototype.exec,p=c("native-string-replace",String.prototype.replace),h=d,g=(n=/a/,i=/b*/g,d.call(n,"a"),d.call(i,"a"),0!==n.lastIndex||0!==i.lastIndex),y=u.UNSUPPORTED_Y||u.BROKEN_CARET,m=void 0!==/()??/.exec("")[1];(g||m||y||l||v)&&(h=function(t){var e,r,n,i,u,c,l,v=this,b=f(v),w=o(t),x=b.raw;if(x)return x.lastIndex=v.lastIndex,e=h.call(x,w),v.lastIndex=x.lastIndex,e;var S=b.groups,E=y&&v.sticky,T=a.call(v),j=v.source,A=0,O=w;if(E&&(-1===(T=T.replace("y","")).indexOf("g")&&(T+="g"),O=w.slice(v.lastIndex),v.lastIndex>0&&(!v.multiline||v.multiline&&"\n"!==w.charAt(v.lastIndex-1))&&(j="(?: "+j+")",O=" "+O,A++),r=new RegExp("^(?:"+j+")",T)),m&&(r=new RegExp("^"+j+"$(?!\\s)",T)),g&&(n=v.lastIndex),i=d.call(E?r:v,O),E?i?(i.input=i.input.slice(A),i[0]=i[0].slice(A),i.index=v.lastIndex,v.lastIndex+=i[0].length):v.lastIndex=0:g&&i&&(v.lastIndex=v.global?i.index+i[0].length:n),m&&i&&i.length>1&&p.call(i[0],r,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(i[u]=void 0)})),i&&S)for(i.groups=c=s(null),u=0;u<S.length;u++)c[(l=S[u])[0]]=i[l[1]];return i}),t.exports=h},7066:(t,e,r)=>{"use strict";var n=r(9670);t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},2999:(t,e,r)=>{var n=r(7293),i=r(7854).RegExp;e.UNSUPPORTED_Y=n((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=n((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},9441:(t,e,r)=>{var n=r(7293),i=r(7854).RegExp;t.exports=n((function(){var t=i(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},8173:(t,e,r)=>{var n=r(7293),i=r(7854).RegExp;t.exports=n((function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},4488:t=>{t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},1150:t=>{t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},3505:(t,e,r)=>{var n=r(7854);t.exports=function(t,e){try{Object.defineProperty(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},6340:(t,e,r)=>{"use strict";var n=r(5005),i=r(3070),o=r(5112),a=r(9781),u=o("species");t.exports=function(t){var e=n(t),r=i.f;a&&e&&!e[u]&&r(e,u,{configurable:!0,get:function(){return this}})}},8003:(t,e,r)=>{var n=r(3070).f,i=r(6656),o=r(5112)("toStringTag");t.exports=function(t,e,r){t&&!i(t=r?t:t.prototype,o)&&n(t,o,{configurable:!0,value:e})}},6200:(t,e,r)=>{var n=r(2309),i=r(9711),o=n("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},5465:(t,e,r)=>{var n=r(7854),i=r(3505),o="__core-js_shared__",a=n[o]||i(o,{});t.exports=a},2309:(t,e,r)=>{var n=r(1913),i=r(5465);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.17.2",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},6707:(t,e,r)=>{var n=r(9670),i=r(3099),o=r(5112)("species");t.exports=function(t,e){var r,a=n(t).constructor;return void 0===a||null==(r=n(a)[o])?e:i(r)}},8710:(t,e,r)=>{var n=r(9958),i=r(1340),o=r(4488),a=function(t){return function(e,r){var a,u,c=i(o(e)),s=n(r),f=c.length;return s<0||s>=f?t?"":void 0:(a=c.charCodeAt(s))<55296||a>56319||s+1===f||(u=c.charCodeAt(s+1))<56320||u>57343?t?c.charAt(s):a:t?c.slice(s,s+2):u-56320+(a-55296<<10)+65536}};t.exports={codeAt:a(!1),charAt:a(!0)}},6091:(t,e,r)=>{var n=r(7293),i=r(1361);t.exports=function(t){return n((function(){return!!i[t]()||"
"!="
"[t]()||i[t].name!==t}))}},3111:(t,e,r)=>{var n=r(4488),i=r(1340),o="["+r(1361)+"]",a=RegExp("^"+o+o+"*"),u=RegExp(o+o+"*$"),c=function(t){return function(e){var r=i(n(e));return 1&t&&(r=r.replace(a,"")),2&t&&(r=r.replace(u,"")),r}};t.exports={start:c(1),end:c(2),trim:c(3)}},261:(t,e,r)=>{var n,i,o,a,u=r(7854),c=r(7293),s=r(9974),f=r(490),l=r(317),v=r(6833),d=r(5268),p=u.setImmediate,h=u.clearImmediate,g=u.process,y=u.MessageChannel,m=u.Dispatch,b=0,w={};try{n=u.location}catch(t){}var x=function(t){if(w.hasOwnProperty(t)){var e=w[t];delete w[t],e()}},S=function(t){return function(){x(t)}},E=function(t){x(t.data)},T=function(t){u.postMessage(String(t),n.protocol+"//"+n.host)};p&&h||(p=function(t){for(var e=[],r=arguments.length,n=1;r>n;)e.push(arguments[n++]);return w[++b]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},i(b),b},h=function(t){delete w[t]},d?i=function(t){g.nextTick(S(t))}:m&&m.now?i=function(t){m.now(S(t))}:y&&!v?(a=(o=new y).port2,o.port1.onmessage=E,i=s(a.postMessage,a,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts&&n&&"file:"!==n.protocol&&!c(T)?(i=T,u.addEventListener("message",E,!1)):i="onreadystatechange"in l("script")?function(t){f.appendChild(l("script")).onreadystatechange=function(){f.removeChild(this),x(t)}}:function(t){setTimeout(S(t),0)}),t.exports={set:p,clear:h}},1400:(t,e,r)=>{var n=r(9958),i=Math.max,o=Math.min;t.exports=function(t,e){var r=n(t);return r<0?i(r+e,0):o(r,e)}},5656:(t,e,r)=>{var n=r(8361),i=r(4488);t.exports=function(t){return n(i(t))}},9958:t=>{var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},7466:(t,e,r)=>{var n=r(9958),i=Math.min;t.exports=function(t){return t>0?i(n(t),9007199254740991):0}},7908:(t,e,r)=>{var n=r(4488);t.exports=function(t){return Object(n(t))}},7593:(t,e,r)=>{var n=r(111),i=r(2190),o=r(2140),a=r(5112)("toPrimitive");t.exports=function(t,e){if(!n(t)||i(t))return t;var r,u=t[a];if(void 0!==u){if(void 0===e&&(e="default"),r=u.call(t,e),!n(r)||i(r))return r;throw TypeError("Can't convert object to primitive value")}return void 0===e&&(e="number"),o(t,e)}},4948:(t,e,r)=>{var n=r(7593),i=r(2190);t.exports=function(t){var e=n(t,"string");return i(e)?e:String(e)}},1694:(t,e,r)=>{var n={};n[r(5112)("toStringTag")]="z",t.exports="[object z]"===String(n)},1340:(t,e,r)=>{var n=r(2190);t.exports=function(t){if(n(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)}},9711:t=>{var e=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+r).toString(36)}},3307:(t,e,r)=>{var n=r(133);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},6061:(t,e,r)=>{var n=r(5112);e.f=n},5112:(t,e,r)=>{var n=r(7854),i=r(2309),o=r(6656),a=r(9711),u=r(133),c=r(3307),s=i("wks"),f=n.Symbol,l=c?f:f&&f.withoutSetter||a;t.exports=function(t){return o(s,t)&&(u||"string"==typeof s[t])||(u&&o(f,t)?s[t]=f[t]:s[t]=l("Symbol."+t)),s[t]}},1361:t=>{t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},2222:(t,e,r)=>{"use strict";var n=r(2109),i=r(7293),o=r(3157),a=r(111),u=r(7908),c=r(7466),s=r(6135),f=r(5417),l=r(1194),v=r(5112),d=r(7392),p=v("isConcatSpreadable"),h=9007199254740991,g="Maximum allowed index exceeded",y=d>=51||!i((function(){var t=[];return t[p]=!1,t.concat()[0]!==t})),m=l("concat"),b=function(t){if(!a(t))return!1;var e=t[p];return void 0!==e?!!e:o(t)};n({target:"Array",proto:!0,forced:!y||!m},{concat:function(t){var e,r,n,i,o,a=u(this),l=f(a,0),v=0;for(e=-1,n=arguments.length;e<n;e++)if(b(o=-1===e?a:arguments[e])){if(v+(i=c(o.length))>h)throw TypeError(g);for(r=0;r<i;r++,v++)r in o&&s(l,v,o[r])}else{if(v>=h)throw TypeError(g);s(l,v++,o)}return l.length=v,l}})},3290:(t,e,r)=>{var n=r(2109),i=r(1285),o=r(1223);n({target:"Array",proto:!0},{fill:i}),o("fill")},7327:(t,e,r)=>{"use strict";var n=r(2109),i=r(2092).filter;n({target:"Array",proto:!0,forced:!r(1194)("filter")},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},9826:(t,e,r)=>{"use strict";var n=r(2109),i=r(2092).find,o=r(1223),a="find",u=!0;a in[]&&Array(1).find((function(){u=!1})),n({target:"Array",proto:!0,forced:u},{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o(a)},4944:(t,e,r)=>{"use strict";var n=r(2109),i=r(6790),o=r(7908),a=r(7466),u=r(9958),c=r(5417);n({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=o(this),r=a(e.length),n=c(e,0);return n.length=i(n,e,e,r,0,void 0===t?1:u(t)),n}})},1038:(t,e,r)=>{var n=r(2109),i=r(8457);n({target:"Array",stat:!0,forced:!r(7072)((function(t){Array.from(t)}))},{from:i})},6699:(t,e,r)=>{"use strict";var n=r(2109),i=r(1318).includes,o=r(1223);n({target:"Array",proto:!0},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("includes")},2772:(t,e,r)=>{"use strict";var n=r(2109),i=r(1318).indexOf,o=r(9341),a=[].indexOf,u=!!a&&1/[1].indexOf(1,-0)<0,c=o("indexOf");n({target:"Array",proto:!0,forced:u||!c},{indexOf:function(t){return u?a.apply(this,arguments)||0:i(this,t,arguments.length>1?arguments[1]:void 0)}})},6992:(t,e,r)=>{"use strict";var n=r(5656),i=r(1223),o=r(7497),a=r(9909),u=r(654),c="Array Iterator",s=a.set,f=a.getterFor(c);t.exports=u(Array,"Array",(function(t,e){s(this,{type:c,target:n(t),index:0,kind:e})}),(function(){var t=f(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},9600:(t,e,r)=>{"use strict";var n=r(2109),i=r(8361),o=r(5656),a=r(9341),u=[].join,c=i!=Object,s=a("join",",");n({target:"Array",proto:!0,forced:c||!s},{join:function(t){return u.call(o(this),void 0===t?",":t)}})},1249:(t,e,r)=>{"use strict";var n=r(2109),i=r(2092).map;n({target:"Array",proto:!0,forced:!r(1194)("map")},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},7042:(t,e,r)=>{"use strict";var n=r(2109),i=r(111),o=r(3157),a=r(1400),u=r(7466),c=r(5656),s=r(6135),f=r(5112),l=r(1194)("slice"),v=f("species"),d=[].slice,p=Math.max;n({target:"Array",proto:!0,forced:!l},{slice:function(t,e){var r,n,f,l=c(this),h=u(l.length),g=a(t,h),y=a(void 0===e?h:e,h);if(o(l)&&("function"!=typeof(r=l.constructor)||r!==Array&&!o(r.prototype)?i(r)&&null===(r=r[v])&&(r=void 0):r=void 0,r===Array||void 0===r))return d.call(l,g,y);for(n=new(void 0===r?Array:r)(p(y-g,0)),f=0;g<y;g++,f++)g in l&&s(n,f,l[g]);return n.length=f,n}})},561:(t,e,r)=>{"use strict";var n=r(2109),i=r(1400),o=r(9958),a=r(7466),u=r(7908),c=r(5417),s=r(6135),f=r(1194)("splice"),l=Math.max,v=Math.min,d=9007199254740991,p="Maximum allowed length exceeded";n({target:"Array",proto:!0,forced:!f},{splice:function(t,e){var r,n,f,h,g,y,m=u(this),b=a(m.length),w=i(t,b),x=arguments.length;if(0===x?r=n=0:1===x?(r=0,n=b-w):(r=x-2,n=v(l(o(e),0),b-w)),b+r-n>d)throw TypeError(p);for(f=c(m,n),h=0;h<n;h++)(g=w+h)in m&&s(f,h,m[g]);if(f.length=n,r<n){for(h=w;h<b-n;h++)y=h+r,(g=h+n)in m?m[y]=m[g]:delete m[y];for(h=b;h>b-n+r;h--)delete m[h-1]}else if(r>n)for(h=b-n;h>w;h--)y=h+r-1,(g=h+n-1)in m?m[y]=m[g]:delete m[y];for(h=0;h<r;h++)m[h+w]=arguments[h+2];return m.length=b-n+r,f}})},8309:(t,e,r)=>{var n=r(9781),i=r(3070).f,o=Function.prototype,a=o.toString,u=/^\s*function ([^ (]*)/,c="name";n&&!(c in o)&&i(o,c,{configurable:!0,get:function(){try{return a.call(this).match(u)[1]}catch(t){return""}}})},9653:(t,e,r)=>{"use strict";var n=r(9781),i=r(7854),o=r(4705),a=r(1320),u=r(6656),c=r(4326),s=r(9587),f=r(2190),l=r(7593),v=r(7293),d=r(30),p=r(8006).f,h=r(1236).f,g=r(3070).f,y=r(3111).trim,m="Number",b=i.Number,w=b.prototype,x=c(d(w))==m,S=function(t){if(f(t))throw TypeError("Cannot convert a Symbol value to a number");var e,r,n,i,o,a,u,c,s=l(t,"number");if("string"==typeof s&&s.length>2)if(43===(e=(s=y(s)).charCodeAt(0))||45===e){if(88===(r=s.charCodeAt(2))||120===r)return NaN}else if(48===e){switch(s.charCodeAt(1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+s}for(a=(o=s.slice(2)).length,u=0;u<a;u++)if((c=o.charCodeAt(u))<48||c>i)return NaN;return parseInt(o,n)}return+s};if(o(m,!b(" 0o1")||!b("0b1")||b("+0x1"))){for(var E,T=function(t){var e=arguments.length<1?0:t,r=this;return r instanceof T&&(x?v((function(){w.valueOf.call(r)})):c(r)!=m)?s(new b(S(e)),r,T):S(e)},j=n?p(b):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),A=0;j.length>A;A++)u(b,E=j[A])&&!u(T,E)&&g(T,E,h(b,E));T.prototype=w,w.constructor=T,a(i,m,T)}},1539:(t,e,r)=>{var n=r(1694),i=r(1320),o=r(288);n||i(Object.prototype,"toString",o,{unsafe:!0})},1058:(t,e,r)=>{var n=r(2109),i=r(3009);n({global:!0,forced:parseInt!=i},{parseInt:i})},8674:(t,e,r)=>{"use strict";var n,i,o,a,u=r(2109),c=r(1913),s=r(7854),f=r(5005),l=r(3366),v=r(1320),d=r(2248),p=r(7674),h=r(8003),g=r(6340),y=r(111),m=r(3099),b=r(5787),w=r(2788),x=r(408),S=r(7072),E=r(6707),T=r(261).set,j=r(5948),A=r(9478),O=r(842),k=r(8523),P=r(2534),I=r(9909),R=r(4705),N=r(5112),M=r(7871),L=r(5268),Y=r(7392),C=N("species"),_="Promise",F=I.get,z=I.set,G=I.getterFor(_),$=l&&l.prototype,W=l,D=$,U=s.TypeError,H=s.document,V=s.process,B=k.f,J=B,K=!!(H&&H.createEvent&&s.dispatchEvent),X="function"==typeof PromiseRejectionEvent,q="unhandledrejection",Q=!1,Z=R(_,(function(){var t=w(W),e=t!==String(W);if(!e&&66===Y)return!0;if(c&&!D.finally)return!0;if(Y>=51&&/native code/.test(t))return!1;var r=new W((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};return(r.constructor={})[C]=n,!(Q=r.then((function(){}))instanceof n)||!e&&M&&!X})),tt=Z||!S((function(t){W.all(t).catch((function(){}))})),et=function(t){var e;return!(!y(t)||"function"!=typeof(e=t.then))&&e},rt=function(t,e){if(!t.notified){t.notified=!0;var r=t.reactions;j((function(){for(var n=t.value,i=1==t.state,o=0;r.length>o;){var a,u,c,s=r[o++],f=i?s.ok:s.fail,l=s.resolve,v=s.reject,d=s.domain;try{f?(i||(2===t.rejection&&at(t),t.rejection=1),!0===f?a=n:(d&&d.enter(),a=f(n),d&&(d.exit(),c=!0)),a===s.promise?v(U("Promise-chain cycle")):(u=et(a))?u.call(a,l,v):l(a)):v(n)}catch(t){d&&!c&&d.exit(),v(t)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&it(t)}))}},nt=function(t,e,r){var n,i;K?((n=H.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),s.dispatchEvent(n)):n={promise:e,reason:r},!X&&(i=s["on"+t])?i(n):t===q&&O("Unhandled promise rejection",r)},it=function(t){T.call(s,(function(){var e,r=t.facade,n=t.value;if(ot(t)&&(e=P((function(){L?V.emit("unhandledRejection",n,r):nt(q,r,n)})),t.rejection=L||ot(t)?2:1,e.error))throw e.value}))},ot=function(t){return 1!==t.rejection&&!t.parent},at=function(t){T.call(s,(function(){var e=t.facade;L?V.emit("rejectionHandled",e):nt("rejectionhandled",e,t.value)}))},ut=function(t,e,r){return function(n){t(e,n,r)}},ct=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,rt(t,!0))},st=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw U("Promise can't be resolved itself");var n=et(e);n?j((function(){var r={done:!1};try{n.call(e,ut(st,r,t),ut(ct,r,t))}catch(e){ct(r,e,t)}})):(t.value=e,t.state=1,rt(t,!1))}catch(e){ct({done:!1},e,t)}}};if(Z&&(D=(W=function(t){b(this,W,_),m(t),n.call(this);var e=F(this);try{t(ut(st,e),ut(ct,e))}catch(t){ct(e,t)}}).prototype,(n=function(t){z(this,{type:_,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(D,{then:function(t,e){var r=G(this),n=B(E(this,W));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=L?V.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&rt(r,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new n,e=F(t);this.promise=t,this.resolve=ut(st,e),this.reject=ut(ct,e)},k.f=B=function(t){return t===W||t===o?new i(t):J(t)},!c&&"function"==typeof l&&$!==Object.prototype)){a=$.then,Q||(v($,"then",(function(t,e){var r=this;return new W((function(t,e){a.call(r,t,e)})).then(t,e)}),{unsafe:!0}),v($,"catch",D.catch,{unsafe:!0}));try{delete $.constructor}catch(t){}p&&p($,D)}u({global:!0,wrap:!0,forced:Z},{Promise:W}),h(W,_,!1,!0),g(_),o=f(_),u({target:_,stat:!0,forced:Z},{reject:function(t){var e=B(this);return e.reject.call(void 0,t),e.promise}}),u({target:_,stat:!0,forced:c||Z},{resolve:function(t){return A(c&&this===o?W:this,t)}}),u({target:_,stat:!0,forced:tt},{all:function(t){var e=this,r=B(e),n=r.resolve,i=r.reject,o=P((function(){var r=m(e.resolve),o=[],a=0,u=1;x(t,(function(t){var c=a++,s=!1;o.push(void 0),u++,r.call(e,t).then((function(t){s||(s=!0,o[c]=t,--u||n(o))}),i)})),--u||n(o)}));return o.error&&i(o.value),r.promise},race:function(t){var e=this,r=B(e),n=r.reject,i=P((function(){var i=m(e.resolve);x(t,(function(t){i.call(e,t).then(r.resolve,n)}))}));return i.error&&n(i.value),r.promise}})},4916:(t,e,r)=>{"use strict";var n=r(2109),i=r(2261);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},189:(t,e,r)=>{"use strict";var n=r(7710),i=r(5631);t.exports=n("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),i)},2023:(t,e,r)=>{"use strict";var n=r(2109),i=r(3929),o=r(4488),a=r(1340);n({target:"String",proto:!0,forced:!r(4964)("includes")},{includes:function(t){return!!~a(o(this)).indexOf(a(i(t)),arguments.length>1?arguments[1]:void 0)}})},8783:(t,e,r)=>{"use strict";var n=r(8710).charAt,i=r(1340),o=r(9909),a=r(654),u="String Iterator",c=o.set,s=o.getterFor(u);a(String,"String",(function(t){c(this,{type:u,string:i(t),index:0})}),(function(){var t,e=s(this),r=e.string,i=e.index;return i>=r.length?{value:void 0,done:!0}:(t=n(r,i),e.index+=t.length,{value:t,done:!1})}))},4765:(t,e,r)=>{"use strict";var n=r(7007),i=r(9670),o=r(4488),a=r(1150),u=r(1340),c=r(7651);n("search",(function(t,e,r){return[function(e){var r=o(this),n=null==e?void 0:e[t];return void 0!==n?n.call(e,r):new RegExp(e)[t](u(r))},function(t){var n=i(this),o=u(t),s=r(e,n,o);if(s.done)return s.value;var f=n.lastIndex;a(f,0)||(n.lastIndex=0);var l=c(n,o);return a(n.lastIndex,f)||(n.lastIndex=f),null===l?-1:l.index}]}))},3123:(t,e,r)=>{"use strict";var n=r(7007),i=r(7850),o=r(9670),a=r(4488),u=r(6707),c=r(1530),s=r(7466),f=r(1340),l=r(7651),v=r(2261),d=r(2999),p=r(7293),h=d.UNSUPPORTED_Y,g=[].push,y=Math.min,m=4294967295;n("split",(function(t,e,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,r){var n=f(a(this)),o=void 0===r?m:r>>>0;if(0===o)return[];if(void 0===t)return[n];if(!i(t))return e.call(n,t,o);for(var u,c,s,l=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,h=new RegExp(t.source,d+"g");(u=v.call(h,n))&&!((c=h.lastIndex)>p&&(l.push(n.slice(p,u.index)),u.length>1&&u.index<n.length&&g.apply(l,u.slice(1)),s=u[0].length,p=c,l.length>=o));)h.lastIndex===u.index&&h.lastIndex++;return p===n.length?!s&&h.test("")||l.push(""):l.push(n.slice(p)),l.length>o?l.slice(0,o):l}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:e.call(this,t,r)}:e,[function(e,r){var i=a(this),o=null==e?void 0:e[t];return void 0!==o?o.call(e,i,r):n.call(f(i),e,r)},function(t,i){var a=o(this),v=f(t),d=r(n,a,v,i,n!==e);if(d.done)return d.value;var p=u(a,RegExp),g=a.unicode,b=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(h?"g":"y"),w=new p(h?"^(?:"+a.source+")":a,b),x=void 0===i?m:i>>>0;if(0===x)return[];if(0===v.length)return null===l(w,v)?[v]:[];for(var S=0,E=0,T=[];E<v.length;){w.lastIndex=h?0:E;var j,A=l(w,h?v.slice(E):v);if(null===A||(j=y(s(w.lastIndex+(h?E:0)),v.length))===S)E=c(v,E,g);else{if(T.push(v.slice(S,E)),T.length===x)return T;for(var O=1;O<=A.length-1;O++)if(T.push(A[O]),T.length===x)return T;E=S=j}}return T.push(v.slice(S)),T}]}),!!p((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),h)},3210:(t,e,r)=>{"use strict";var n=r(2109),i=r(3111).trim;n({target:"String",proto:!0,forced:r(6091)("trim")},{trim:function(){return i(this)}})},1817:(t,e,r)=>{"use strict";var n=r(2109),i=r(9781),o=r(7854),a=r(6656),u=r(111),c=r(3070).f,s=r(9920),f=o.Symbol;if(i&&"function"==typeof f&&(!("description"in f.prototype)||void 0!==f().description)){var l={},v=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof v?new f(t):void 0===t?f():f(t);return""===t&&(l[e]=!0),e};s(v,f);var d=v.prototype=f.prototype;d.constructor=v;var p=d.toString,h="Symbol(test)"==String(f("test")),g=/^Symbol\((.*)\)[^)]+$/;c(d,"description",{configurable:!0,get:function(){var t=u(this)?this.valueOf():this,e=p.call(t);if(a(l,t))return"";var r=h?e.slice(7,-1):e.replace(g,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:v})}},2165:(t,e,r)=>{r(7235)("iterator")},2526:(t,e,r)=>{"use strict";var n=r(2109),i=r(7854),o=r(5005),a=r(1913),u=r(9781),c=r(133),s=r(7293),f=r(6656),l=r(3157),v=r(111),d=r(2190),p=r(9670),h=r(7908),g=r(5656),y=r(4948),m=r(1340),b=r(9114),w=r(30),x=r(1956),S=r(8006),E=r(1156),T=r(5181),j=r(1236),A=r(3070),O=r(5296),k=r(8880),P=r(1320),I=r(2309),R=r(6200),N=r(3501),M=r(9711),L=r(5112),Y=r(6061),C=r(7235),_=r(8003),F=r(9909),z=r(2092).forEach,G=R("hidden"),$="Symbol",W=L("toPrimitive"),D=F.set,U=F.getterFor($),H=Object.prototype,V=i.Symbol,B=o("JSON","stringify"),J=j.f,K=A.f,X=E.f,q=O.f,Q=I("symbols"),Z=I("op-symbols"),tt=I("string-to-symbol-registry"),et=I("symbol-to-string-registry"),rt=I("wks"),nt=i.QObject,it=!nt||!nt.prototype||!nt.prototype.findChild,ot=u&&s((function(){return 7!=w(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=J(H,e);n&&delete H[e],K(t,e,r),n&&t!==H&&K(H,e,n)}:K,at=function(t,e){var r=Q[t]=w(V.prototype);return D(r,{type:$,tag:t,description:e}),u||(r.description=e),r},ut=function(t,e,r){t===H&&ut(Z,e,r),p(t);var n=y(e);return p(r),f(Q,n)?(r.enumerable?(f(t,G)&&t[G][n]&&(t[G][n]=!1),r=w(r,{enumerable:b(0,!1)})):(f(t,G)||K(t,G,b(1,{})),t[G][n]=!0),ot(t,n,r)):K(t,n,r)},ct=function(t,e){p(t);var r=g(e),n=x(r).concat(vt(r));return z(n,(function(e){u&&!st.call(r,e)||ut(t,e,r[e])})),t},st=function(t){var e=y(t),r=q.call(this,e);return!(this===H&&f(Q,e)&&!f(Z,e))&&(!(r||!f(this,e)||!f(Q,e)||f(this,G)&&this[G][e])||r)},ft=function(t,e){var r=g(t),n=y(e);if(r!==H||!f(Q,n)||f(Z,n)){var i=J(r,n);return!i||!f(Q,n)||f(r,G)&&r[G][n]||(i.enumerable=!0),i}},lt=function(t){var e=X(g(t)),r=[];return z(e,(function(t){f(Q,t)||f(N,t)||r.push(t)})),r},vt=function(t){var e=t===H,r=X(e?Z:g(t)),n=[];return z(r,(function(t){!f(Q,t)||e&&!f(H,t)||n.push(Q[t])})),n};c||(P((V=function(){if(this instanceof V)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?m(arguments[0]):void 0,e=M(t),r=function(t){this===H&&r.call(Z,t),f(this,G)&&f(this[G],e)&&(this[G][e]=!1),ot(this,e,b(1,t))};return u&&it&&ot(H,e,{configurable:!0,set:r}),at(e,t)}).prototype,"toString",(function(){return U(this).tag})),P(V,"withoutSetter",(function(t){return at(M(t),t)})),O.f=st,A.f=ut,j.f=ft,S.f=E.f=lt,T.f=vt,Y.f=function(t){return at(L(t),t)},u&&(K(V.prototype,"description",{configurable:!0,get:function(){return U(this).description}}),a||P(H,"propertyIsEnumerable",st,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:V}),z(x(rt),(function(t){C(t)})),n({target:$,stat:!0,forced:!c},{for:function(t){var e=m(t);if(f(tt,e))return tt[e];var r=V(e);return tt[e]=r,et[r]=e,r},keyFor:function(t){if(!d(t))throw TypeError(t+" is not a symbol");if(f(et,t))return et[t]},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?w(t):ct(w(t),e)},defineProperty:ut,defineProperties:ct,getOwnPropertyDescriptor:ft}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:lt,getOwnPropertySymbols:vt}),n({target:"Object",stat:!0,forced:s((function(){T.f(1)}))},{getOwnPropertySymbols:function(t){return T.f(h(t))}}),B&&n({target:"JSON",stat:!0,forced:!c||s((function(){var t=V();return"[null]"!=B([t])||"{}"!=B({a:t})||"{}"!=B(Object(t))}))},{stringify:function(t,e,r){for(var n,i=[t],o=1;arguments.length>o;)i.push(arguments[o++]);if(n=e,(v(e)||void 0!==t)&&!d(t))return l(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!d(e))return e}),i[1]=e,B.apply(null,i)}}),V.prototype[W]||k(V.prototype,W,V.prototype.valueOf),_(V,$),N[G]=!0},4129:(t,e,r)=>{"use strict";var n,i=r(7854),o=r(2248),a=r(2423),u=r(7710),c=r(9320),s=r(111),f=r(9909).enforce,l=r(8536),v=!i.ActiveXObject&&"ActiveXObject"in i,d=Object.isExtensible,p=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},h=t.exports=u("WeakMap",p,c);if(l&&v){n=c.getConstructor(p,"WeakMap",!0),a.enable();var g=h.prototype,y=g.delete,m=g.has,b=g.get,w=g.set;o(g,{delete:function(t){if(s(t)&&!d(t)){var e=f(this);return e.frozen||(e.frozen=new n),y.call(this,t)||e.frozen.delete(t)}return y.call(this,t)},has:function(t){if(s(t)&&!d(t)){var e=f(this);return e.frozen||(e.frozen=new n),m.call(this,t)||e.frozen.has(t)}return m.call(this,t)},get:function(t){if(s(t)&&!d(t)){var e=f(this);return e.frozen||(e.frozen=new n),m.call(this,t)?b.call(this,t):e.frozen.get(t)}return b.call(this,t)},set:function(t,e){if(s(t)&&!d(t)){var r=f(this);r.frozen||(r.frozen=new n),m.call(this,t)?w.call(this,t,e):r.frozen.set(t,e)}else w.call(this,t,e);return this}})}},4747:(t,e,r)=>{var n=r(7854),i=r(8324),o=r(8533),a=r(8880);for(var u in i){var c=n[u],s=c&&c.prototype;if(s&&s.forEach!==o)try{a(s,"forEach",o)}catch(t){s.forEach=o}}},3948:(t,e,r)=>{var n=r(7854),i=r(8324),o=r(6992),a=r(8880),u=r(5112),c=u("iterator"),s=u("toStringTag"),f=o.values;for(var l in i){var v=n[l],d=v&&v.prototype;if(d){if(d[c]!==f)try{a(d,c,f)}catch(t){d[c]=f}if(d[s]||a(d,s,l),i[l])for(var p in o)if(d[p]!==o[p])try{a(d,p,o[p])}catch(t){d[p]=o[p]}}}},5666:t=>{var e=function(t){"use strict";var e,r=Object.prototype,n=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof g?e:g,o=Object.create(i.prototype),a=new k(n||[]);return o._invoke=function(t,e,r){var n=l;return function(i,o){if(n===d)throw new Error("Generator is already running");if(n===p){if("throw"===i)throw o;return I()}for(r.method=i,r.arg=o;;){var a=r.delegate;if(a){var u=j(a,r);if(u){if(u===h)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var c=f(t,e,r);if("normal"===c.type){if(n=r.done?p:v,c.arg===h)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=p,r.method="throw",r.arg=c.arg)}}}(t,r,a),o}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var l="suspendedStart",v="suspendedYield",d="executing",p="completed",h={};function g(){}function y(){}function m(){}var b={};c(b,o,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(P([])));x&&x!==r&&n.call(x,o)&&(b=x);var S=m.prototype=g.prototype=Object.create(b);function E(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function T(t,e){function r(i,o,a,u){var c=f(t[i],t,o);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,u)}))}u(c.arg)}var i;this._invoke=function(t,n){function o(){return new e((function(e,i){r(t,n,e,i)}))}return i=i?i.then(o,o):o()}}function j(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,j(t,r),"throw"===r.method))return h;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var i=f(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,h;var o=i.arg;return o?o.done?(r[t.resultName]=o.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,h):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,h)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function P(t){if(t){var r=t[o];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(n.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}return{next:I}}function I(){return{value:e,done:!0}}return y.prototype=m,c(S,"constructor",m),c(m,"constructor",y),y.displayName=c(m,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,c(t,u,"GeneratorFunction")),t.prototype=Object.create(S),t},t.awrap=function(t){return{__await:t}},E(T.prototype),c(T.prototype,a,(function(){return this})),t.AsyncIterator=T,t.async=function(e,r,n,i,o){void 0===o&&(o=Promise);var a=new T(s(e,r,n,i),o);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(S),c(S,u,"Generator"),c(S,o,(function(){return this})),c(S,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=P,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(O),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function i(n,i){return u.type="throw",u.arg=t,r.next=n,i&&(r.method="next",r.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,h):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;O(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:P(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),h}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),(()=>{"use strict";function t(t){return function(t){if(Array.isArray(t))return e(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,r){if(t){if("string"==typeof t)return e(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,r):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t){switch(n(t)){case"object":if(Array.isArray(t))return t.map((function(t){return i(t)}));var e={};for(var r in t)e[r]=i(t[r]);return e;default:return t}}function o(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return Math.max.apply(Math,t(r.flat()))}r(4747),r(1539),r(8674),r(5666),r(6992),r(189),r(8783),r(3948),r(2222),r(9826),r(8309),r(2526),r(1817),r(1249),r(1038),r(9653),r(9600),r(1058),r(4129),r(7042),r(2165),r(4944);var a={CHR:[{judge:"地狱",grade:0},{min:1,judge:"折磨",grade:0},{min:2,judge:"不佳",grade:0},{min:4,judge:"普通",grade:0},{min:7,judge:"优秀",grade:1},{min:9,judge:"罕见",grade:2},{min:11,judge:"逆天",grade:3}],MNY:[{judge:"地狱",grade:0},{min:1,judge:"折磨",grade:0},{min:2,judge:"不佳",grade:0},{min:4,judge:"普通",grade:0},{min:7,judge:"优秀",grade:1},{min:9,judge:"罕见",grade:2},{min:11,judge:"逆天",grade:3}],SPR:[{judge:"地狱",grade:0},{min:1,judge:"折磨",grade:0},{min:2,judge:"不幸",grade:0},{min:4,judge:"普通",grade:0},{min:7,judge:"幸福",grade:1},{min:9,judge:"极乐",grade:2},{min:11,judge:"天命",grade:3}],INT:[{judge:"地狱",grade:0},{min:1,judge:"折磨",grade:0},{min:2,judge:"不佳",grade:0},{min:4,judge:"普通",grade:0},{min:7,judge:"优秀",grade:1},{min:9,judge:"罕见",grade:2},{min:11,judge:"逆天",grade:3},{min:21,judge:"识海",grade:3},{min:131,judge:"元神",grade:3},{min:501,judge:"仙魂",grade:3}],STR:[{judge:"地狱",grade:0},{min:1,judge:"折磨",grade:0},{min:2,judge:"不佳",grade:0},{min:4,judge:"普通",grade:0},{min:7,judge:"优秀",grade:1},{min:9,judge:"罕见",grade:2},{min:11,judge:"逆天",grade:3},{min:21,judge:"凝气",grade:3},{min:101,judge:"筑基",grade:3},{min:401,judge:"金丹",grade:3},{min:1001,judge:"元婴",grade:3},{min:2001,judge:"仙体",grade:3}],AGE:[{judge:"胎死腹中",grade:0},{min:1,judge:"早夭",grade:0},{min:10,judge:"少年",grade:0},{min:18,judge:"盛年",grade:0},{min:40,judge:"中年",grade:0},{min:60,judge:"花甲",grade:1},{min:70,judge:"古稀",grade:1},{min:80,judge:"杖朝",grade:2},{min:90,judge:"南山",grade:2},{min:95,judge:"不老",grade:3},{min:100,judge:"修仙",grade:3},{min:500,judge:"仙寿",grade:3}],SUM:[{judge:"地狱",grade:0},{min:41,judge:"折磨",grade:0},{min:50,judge:"不佳",grade:0},{min:60,judge:"普通",grade:0},{min:80,judge:"优秀",grade:1},{min:100,judge:"罕见",grade:2},{min:110,judge:"逆天",grade:3},{min:120,judge:"传说",grade:3}]};function u(t,e){for(var r=a[t].length;r--;){var n=a[t][r],i=n.min,o=n.judge,u=n.grade;if(null==i||e>=i)return{judge:o,grade:u}}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function f(t,e,r){!function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}(t,e),e.set(t,r)}function l(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function v(t,e){return function(t,e){return e.get?e.get.call(t):e.value}(t,p(t,e,"get"))}function d(t,e,r){return function(t,e,r){if(e.set)e.set.call(t,r);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=r}}(t,p(t,e,"set"),r),r}function p(t,e,r){if(!e.has(t))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(t)}r(7327),r(4916),r(3123),r(2772),r(561),r(6699),r(2023);var h=new WeakMap,g=new WeakMap,y=new WeakMap;const m=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,"TYPES",{AGE:"AGE",CHR:"CHR",INT:"INT",STR:"STR",MNY:"MNY",SPR:"SPR",LIF:"LIF",TLT:"TLT",EVT:"EVT"}),f(this,h,{writable:!0,value:void 0}),f(this,g,{writable:!0,value:void 0}),f(this,y,{writable:!0,value:void 0})}var e,r;return e=t,(r=[{key:"initial",value:function(t){var e=t.age;for(var r in d(this,h,e),e){var n,i,o=e[r],a=o.event,u=o.talent;Array.isArray(a)||(a=(null===(n=a)||void 0===n?void 0:n.split(","))||[]),a=a.map((function(t){var e="".concat(t).split("*").map((function(t){return Number(t)}));return 1==e.length&&e.push(1),e})),Array.isArray(u)||(u=(null===(i=u)||void 0===i?void 0:i.split(","))||[]),u=u.map((function(t){return Number(t)})),e[r]={event:a,talent:u}}}},{key:"restart",value:function(t){var e;for(var r in d(this,g,(l(e={},this.TYPES.AGE,-1),l(e,this.TYPES.CHR,0),l(e,this.TYPES.INT,0),l(e,this.TYPES.STR,0),l(e,this.TYPES.MNY,0),l(e,this.TYPES.SPR,0),l(e,this.TYPES.LIF,1),l(e,this.TYPES.TLT,[]),l(e,this.TYPES.EVT,[]),e)),t)this.change(r,t[r]);d(this,y,[])}},{key:"get",value:function(t){switch(t){case this.TYPES.AGE:case this.TYPES.CHR:case this.TYPES.INT:case this.TYPES.STR:case this.TYPES.MNY:case this.TYPES.SPR:case this.TYPES.LIF:case this.TYPES.TLT:case this.TYPES.EVT:return i(v(this,g)[t]);default:return 0}}},{key:"set",value:function(t,e){switch(t){case this.TYPES.AGE:case this.TYPES.CHR:case this.TYPES.INT:case this.TYPES.STR:case this.TYPES.MNY:case this.TYPES.SPR:case this.TYPES.LIF:case this.TYPES.TLT:case this.TYPES.EVT:v(this,g)[t]=i(e);break;default:return 0}}},{key:"record",value:function(){var t;v(this,y).push((l(t={},this.TYPES.AGE,this.get(this.TYPES.AGE)),l(t,this.TYPES.CHR,this.get(this.TYPES.CHR)),l(t,this.TYPES.INT,this.get(this.TYPES.INT)),l(t,this.TYPES.STR,this.get(this.TYPES.STR)),l(t,this.TYPES.MNY,this.get(this.TYPES.MNY)),l(t,this.TYPES.SPR,this.get(this.TYPES.SPR)),t))}},{key:"getRecord",value:function(){return i(v(this,y))}},{key:"change",value:function(t,e){if(Array.isArray(e)){var r,n=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return c(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,o=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw o}}}}(e);try{for(n.s();!(r=n.n()).done;){var i=r.value;this.change(t,Number(i))}}catch(t){n.e(t)}finally{n.f()}}else switch(t){case this.TYPES.AGE:case this.TYPES.CHR:case this.TYPES.INT:case this.TYPES.STR:case this.TYPES.MNY:case this.TYPES.SPR:case this.TYPES.LIF:v(this,g)[t]+=Number(e);break;case this.TYPES.TLT:case this.TYPES.EVT:var o=v(this,g)[t];if(e<0){var a=o.indexOf(e);-1!=a&&o.splice(a,1)}o.includes(e)||o.push(e);break;default:return}}},{key:"effect",value:function(t){for(var e in t)this.change(e,Number(t[e]))}},{key:"isEnd",value:function(){return this.get(this.TYPES.LIF)<1}},{key:"ageNext",value:function(){this.change(this.TYPES.AGE,1);var t=this.get(this.TYPES.AGE),e=this.getAgeData(t);return{age:t,event:e.event,talent:e.talent}}},{key:"getAgeData",value:function(t){return i(v(this,h)[t])}}])&&s(e.prototype,r),t}();function b(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return w(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?w(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,o=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw o}}}}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function x(t,e){return S(t,function(t){var e=[],r=t.length,n=[];n.unshift(e);for(var i=0,o=function(e){var r=t.substring(i,e).trim();i=e,r&&n[0].push(r)},a=0;a<r;a++)switch(t[a]){case" ":continue;case"(":o(a),i++;var u=[];n[0].push(u),n.unshift(u);break;case")":o(a),i++,n.shift();break;case"|":case"&":o(a),o(a+1);break;default:continue}return o(r),e}(e))}function S(t,e){if(!Array.isArray(e))return function(t,e){var r=e.length,n=e.search(/[><\!\?=]/),i=e.substring(0,n),o=e.substring(n,n+="="==e[n+1]?2:1),a=e.substring(n,r),u=t.get(i),c="["==a[0]?JSON.parse(a):Number(a);switch(o){case">":return u>c;case"<":return u<c;case">=":return u>=c;case"<=":return u<=c;case"=":return Array.isArray(u)?u.includes(c):u==c;case"!=":return Array.isArray(u)?!u.includes(c):u==c;case"?":if(Array.isArray(u)){var s,f=b(u);try{for(f.s();!(s=f.n()).done;){var l=s.value;if(c.includes(l))return!0}}catch(t){f.e(t)}finally{f.f()}return!1}return c.includes(u);case"!":if(Array.isArray(u)){var v,d=b(u);try{for(d.s();!(v=d.n()).done;){var p=v.value;if(c.includes(p))return!1}}catch(t){d.e(t)}finally{d.f()}return!0}return!c.includes(u);default:return!1}}(t,e);if(0==e.length)return!0;if(1==e.length)return S(t,e[0]);for(var r=S(t,e[0]),n=1;n<e.length;n+=2)switch(e[n]){case"&":r&&(r=S(t,e[n+1]));break;case"|":if(r)return!0;r=S(t,e[n+1]);break;default:return!1}return r}function E(t,e){if(t){if("string"==typeof t)return T(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?T(t,e):void 0}}function T(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function j(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function A(t,e,r){if(!e.has(t))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(t)}r(3210),r(4765);var O=new WeakMap;const k=function(){function t(){var e,r,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),n={writable:!0,value:void 0},function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e=this,r=O),r.set(e,n)}var e,r;return e=t,(r=[{key:"initial",value:function(t){var e,r,n=t.events;for(var i in r=n,function(t,e,r){if(e.set)e.set.call(t,r);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=r}}(e=this,A(e,O,"set"),r),n){var o=n[i];o.branch&&(o.branch=o.branch.map((function(t){return(t=t.split(":"))[1]=Number(t[1]),t})))}}},{key:"check",value:function(t,e){var r=this.get(t),n=r.include,i=r.exclude;return!r.NoRandom&&(!i||!x(e,i))&&(!n||x(e,n))}},{key:"get",value:function(t){var e,r=(this,e=O,function(t,e){return e.get?e.get.call(t):e.value}(this,A(this,e,"get")))[t];if(!r)throw new Error("[ERROR] No Event[".concat(t,"]"));return i(r)}},{key:"information",value:function(t){return{description:this.get(t).event}}},{key:"do",value:function(t,e){var r,n,i=this.get(t),o=i.effect,a=i.branch,u=i.event,c=i.postEvent;if(a){var s,f=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=E(t))){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,o=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw o}}}}(a);try{for(f.s();!(s=f.n()).done;){var l=(r=s.value,n=2,function(t){if(Array.isArray(t))return t}(r)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o=[],a=!0,u=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(o.push(n.value),!e||o.length!==e);a=!0);}catch(t){u=!0,i=t}finally{try{a||null==r.return||r.return()}finally{if(u)throw i}}return o}}(r,n)||E(r,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),v=l[0],d=l[1];if(x(e,v))return{effect:o,next:d,description:u}}}catch(t){f.e(t)}finally{f.f()}}return{effect:o,postEvent:c,description:u}}}])&&j(e.prototype,r),t}();function P(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return I(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?I(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,o=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw o}}}}function I(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function R(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function N(t,e){return function(t,e){return e.get?e.get.call(t):e.value}(t,M(t,e,"get"))}function M(t,e,r){if(!e.has(t))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(t)}r(3290);var L=new WeakMap;const Y=function(){function t(){var e,r,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),n={writable:!0,value:void 0},function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e=this,r=L),r.set(e,n)}var e,r;return e=t,(r=[{key:"initial",value:function(t){var e,r,n=t.talents;for(var i in r=n,function(t,e,r){if(e.set)e.set.call(t,r);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=r}}(e=this,M(e,L,"set"),r),n){var o=n[i];o.id=Number(i),o.grade=Number(o.grade)}}},{key:"check",value:function(t,e){return x(e,this.get(t).condition)}},{key:"get",value:function(t){var e=N(this,L)[t];if(!e)throw new Error("[ERROR] No Talent[".concat(t,"]"));return i(e)}},{key:"information",value:function(t){var e=this.get(t);return{grade:e.grade,name:e.name,description:e.description}}},{key:"exclusive",value:function(t,e){var r=this.get(e).exclusive;if(!r)return null;var n,i=P(t);try{for(i.s();!(n=i.n()).done;){var o,a=n.value,u=P(r);try{for(u.s();!(o=u.n()).done;)if(a==o.value)return a}catch(t){u.e(t)}finally{u.f()}}}catch(t){i.e(t)}finally{i.f()}return null}},{key:"talentRandom",value:function(t){var e={};for(var r in N(this,L)){var n=N(this,L)[r],i=n.id,o=n.grade,a=n.name,u=n.description;i!=t?e[o]?e[o].push({grade:o,name:a,description:u,id:i}):e[o]=[{grade:o,name:a,description:u,id:i}]:t={grade:o,name:a,description:u,id:i}}return new Array(10).fill(1).map((function(r,n){if(!n&&t)return t;var i,o=Math.random();for(i=o>=.111?0:o>=.011?1:o>=.001?2:3;0==e[i].length;)i--;var a=e[i].length,u=Math.floor(Math.random()*a)%a;return e[i].splice(u,1)[0]}))}},{key:"allocationAddition",value:function(t){if(Array.isArray(t)){var e,r=0,n=P(t);try{for(n.s();!(e=n.n()).done;){var i=e.value;r+=this.allocationAddition(i)}}catch(t){n.e(t)}finally{n.f()}return r}return Number(this.get(t).status)||0}},{key:"do",value:function(t,e){var r=this.get(t),n=r.effect,i=r.condition,o=r.grade,a=r.name,u=r.description;return i&&!x(e,i)?null:{effect:n,grade:o,name:a,description:u}}}])&&R(e.prototype,r),t}();function C(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o=[],a=!0,u=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(o.push(n.value),!e||o.length!==e);a=!0);}catch(t){u=!0,i=t}finally{try{a||null==r.return||r.return()}finally{if(u)throw i}}return o}}(t,e)||F(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=F(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,o=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw o}}}}function F(t,e){if(t){if("string"==typeof t)return z(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?z(t,e):void 0}}function z(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function G(t,e,r,n,i,o,a){try{var u=t[o](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,i)}function W(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function D(t,e,r){!function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}(t,e),e.set(t,r)}function U(t,e){return function(t,e){return e.get?e.get.call(t):e.value}(t,V(t,e,"get"))}function H(t,e,r){return function(t,e,r){if(e.set)e.set.call(t,r);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=r}}(t,V(t,e,"set"),r),r}function V(t,e,r){if(!e.has(t))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(t)}var B=new WeakMap,J=new WeakMap,K=new WeakMap,X=new WeakMap;const q=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),D(this,B,{writable:!0,value:void 0}),D(this,J,{writable:!0,value:void 0}),D(this,K,{writable:!0,value:void 0}),D(this,X,{writable:!0,value:void 0}),H(this,B,new m),H(this,J,new k),H(this,K,new Y)}var e,r,n,i;return e=t,(r=[{key:"initial",value:(n=regeneratorRuntime.mark((function t(){var e,r,n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,json("age");case 2:return e=t.sent,t.next=5,json("talents");case 5:return r=t.sent,t.next=8,json("events");case 8:n=t.sent,U(this,B).initial({age:e}),U(this,K).initial({talents:r}),U(this,J).initial({events:n});case 12:case"end":return t.stop()}}),t,this)})),i=function(){var t=this,e=arguments;return new Promise((function(r,i){var o=n.apply(t,e);function a(t){G(o,r,i,a,u,"next",t)}function u(t){G(o,r,i,a,u,"throw",t)}a(void 0)}))},function(){return i.apply(this,arguments)})},{key:"restart",value:function(t){H(this,X,new Set),U(this,B).restart(t),this.doTalent(),U(this,B).record()}},{key:"getTalentAllocationAddition",value:function(t){return U(this,K).allocationAddition(t)}},{key:"next",value:function(){var t=U(this,B).ageNext(),e=t.age,r=t.event,n=t.talent,i=this.doTalent(n),o=this.doEvent(this.random(r));U(this,B).record();var a=U(this,B).isEnd();return{age:e,content:[i,o].flat(),isEnd:a}}},{key:"doTalent",value:function(t){var e=this;t&&U(this,B).change(U(this,B).TYPES.TLT,t);var r,n=[],i=_(t=U(this,B).get(U(this,B).TYPES.TLT).filter((function(t){return!U(e,X).has(t)})));try{for(i.s();!(r=i.n()).done;){var o=r.value,a=U(this,K).do(o,U(this,B));if(a){U(this,X).add(o);var u=a.effect,c=a.name,s=a.description,f=a.grade;n.push({type:U(this,B).TYPES.TLT,name:c,grade:f,description:s}),u&&U(this,B).effect(u)}}}catch(t){i.e(t)}finally{i.f()}return n}},{key:"doEvent",value:function(t){var e=U(this,J).do(t,U(this,B)),r=e.effect,n=e.next,i=e.description,o=e.postEvent;U(this,B).change(U(this,B).TYPES.EVT,t),U(this,B).effect(r);var a={type:U(this,B).TYPES.EVT,description:i,postEvent:o};return n?[a,this.doEvent(n)].flat():[a]}},{key:"random",value:function(t){var e,r=this,n=0,i=_(t=t.filter((function(t){var e=C(t,1)[0];return U(r,J).check(e,U(r,B))})));try{for(i.s();!(e=i.n()).done;)n+=C(e.value,2)[1]}catch(t){i.e(t)}finally{i.f()}var o,a=Math.random()*n,u=_(t);try{for(u.s();!(o=u.n()).done;){var c=C(o.value,2),s=c[0];if((a-=c[1])<0)return s}}catch(t){u.e(t)}finally{u.f()}return t[t.length-1]}},{key:"talentRandom",value:function(){return U(this,K).talentRandom(JSON.parse(localStorage.extendTalent||"null"))}},{key:"talentExtend",value:function(t){localStorage.extendTalent=JSON.stringify(t)}},{key:"getRecord",value:function(){return U(this,B).getRecord()}},{key:"exclusive",value:function(t,e){return U(this,K).exclusive(t,e)}}])&&W(e.prototype,r),t}();function Q(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Z(t,e,r,n,i,o,a){try{var u=t[o](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,i)}function tt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function et(t,e,r){!function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}(t,e),e.set(t,r)}function rt(t,e){return function(t,e){return e.get?e.get.call(t):e.value}(t,it(t,e,"get"))}function nt(t,e,r){return function(t,e,r){if(e.set)e.set.call(t,r);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=r}}(t,it(t,e,"set"),r),r}function it(t,e,r){if(!e.has(t))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(t)}var ot=new WeakMap,at=new WeakMap,ut=new WeakMap,ct=new WeakMap,st=new WeakMap,ft=new WeakMap,lt=new WeakMap;const vt=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),et(this,ot,{writable:!0,value:void 0}),et(this,at,{writable:!0,value:void 0}),et(this,ut,{writable:!0,value:new Set}),et(this,ct,{writable:!0,value:20}),et(this,st,{writable:!0,value:!1}),et(this,ft,{writable:!0,value:null}),et(this,lt,{writable:!0,value:void 0}),nt(this,ot,new q)}var e,r,n,i;return e=t,(r=[{key:"initial",value:(n=regeneratorRuntime.mark((function t(){var e=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.initPages(),this.switch("loading"),t.next=4,rt(this,ot).initial();case 4:this.switch("index"),window.onerror=function(t,r,n,i,o){e.hint("[ERROR] at (".concat(r,":").concat(n,":").concat(i,")\n\n").concat((null==o?void 0:o.stack)||o||"unknow Error"),"error")};case 6:case"end":return t.stop()}}),t,this)})),i=function(){var t=this,e=arguments;return new Promise((function(r,i){var o=n.apply(t,e);function a(t){Z(o,r,i,a,u,"next",t)}function u(t){Z(o,r,i,a,u,"throw",t)}a(void 0)}))},function(){return i.apply(this,arguments)})},{key:"initPages",value:function(){var t=this,e=$('\n <div id="main">\n <div id="title">\n 人生重开模拟器<br>\n <div style="font-size:1.5rem; font-weight:normal;">加载中...</div>\n </div>\n </div>\n '),r=$('\n <div id="main">\n <div id="cnt" class="head">已重开1次</div>\n <button id="rank">排行榜</button>\n <div id="title">\n 人生重开模拟器<br>\n <div style="font-size:1.5rem; font-weight:normal;">这垃圾人生一秒也不想呆了</div>\n </div>\n <button id="restart" class="mainbtn"><span class="iconfont"></span>立即重开</button>\n </div>\n ');r.find("#restart").click((function(){return t.switch("talent")})),r.find("#rank").click((function(){return t.hint("别卷了!没有排行榜")}));var n=$('\n <div id="main">\n <div class="head" style="font-size: 1.6rem">天赋抽卡</div>\n <button id="random" class="mainbtn" style="top: 50%;">10连抽!</button>\n <ul id="talents" class="selectlist"></ul>\n <button id="next" class="mainbtn" style="top:auto; bottom:0.1em">请选择3个</button>\n </div>\n '),i=function(t){var e=t.grade,r=t.name,n=t.description;return $('<li class="grade'.concat(e,'b">').concat(r,"(").concat(n,")</li>"))};n.find("#random").click((function(){n.find("#random").hide();var e=n.find("#talents");rt(t,ot).talentRandom().forEach((function(r){var n=i(r);e.append(n),n.click((function(){if(n.hasClass("selected"))n.removeClass("selected"),rt(t,ut).delete(r);else{if(3==rt(t,ut).size)return void t.hint("只能选3个天赋");var e=rt(t,ot).exclusive(Array.from(rt(t,ut)).map((function(t){return t.id})),r.id);if(null!=e){var i,o=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return Q(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Q(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,o=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw o}}}}(rt(t,ut));try{for(o.s();!(i=o.n()).done;){var a=i.value,u=a.name;if(a.id==e)return void t.hint("与已选择的天赋【".concat(u,"】冲突"))}}catch(t){o.e(t)}finally{o.f()}return}n.addClass("selected"),rt(t,ut).add(r)}}))}))})),n.find("#next").click((function(){3==rt(t,ut).size?(nt(t,ct,20+rt(t,ot).getTalentAllocationAddition(Array.from(rt(t,ut)).map((function(t){return t.id})))),t.switch("property")):t.hint("请选择3个天赋")}));var a=$('\n <div id="main">\n <div class="head" style="font-size: 1.6rem">\n 调整初始属性<br>\n <div id="total" style="font-size:1rem; font-weight:normal;">可用属性点:0</div>\n </div>\n <ul id="propertyAllocation" class="propinitial"></ul>\n <button id="random" class="mainbtn" style="top:auto; bottom:7rem">随机分配</button>\n <button id="start" class="mainbtn" style="top:auto; bottom:0.1rem">开始新人生</button>\n </div>\n '),c={},s=function(){var t=0;for(var e in c)t+=c[e].get();return t},f=function(){a.find("#total").text("可用属性点:".concat(rt(t,ct)-s()))},l=function(e,r,n){var i=$("<li>".concat(e," </li>")),o=$('<span class="iconfont propbtn"></span>'),a=$('<input value="0">'),u=$('<span class="iconfont propbtn"></span>');i.append(o),i.append(a),i.append(u);var c=function(t){return t=Number(t)||0,(t=Math.round(t))<r?r:t>n?n:t},l=function(){return Number(a.val())},v=function(t){a.val(c(t)),f()};return u.click((function(){s()!=rt(t,ct)?v(l()+1):t.hint("没用可分配的点数了")})),o.click((function(){return v(l()-1)})),a.on("input",(function(){var e=s(),r=l();e>rt(t,ct)&&(r-=e-rt(t,ct)),(r=c(r))!=a.val()&&v(r),f()})),{group:i,get:l,set:v}};c.CHR=l("颜值",0,10),c.INT=l("智力",0,10),c.STR=l("体质",0,10),c.MNY=l("家境",0,10);var v=a.find("#propertyAllocation");for(var d in c)v.append(c[d].group);a.find("#random").click((function(){for(var e=rt(t,ct),r=[10,10,10,10];e>0;)for(var n=Math.round(Math.random()*(Math.min(e,10)-1))+1;;){var i=Math.floor(4*Math.random())%4;if(!(r[i]-n<0)){r[i]-=n,e-=n;break}}c.CHR.set(10-r[0]),c.INT.set(10-r[1]),c.STR.set(10-r[2]),c.MNY.set(10-r[3])})),a.find("#start").click((function(){s()==rt(t,ct)?(rt(t,ot).restart({CHR:c.CHR.get(),INT:c.INT.get(),STR:c.STR.get(),MNY:c.MNY.get(),SPR:5,TLT:Array.from(rt(t,ut)).map((function(t){return t.id}))}),t.switch("trajectory"),rt(t,at).trajectory.born()):t.hint("你还有".concat(rt(t,ct)-s(),"属性点没有分配完"))}));var p=$('\n <div id="main">\n <ul id="lifeTrajectory" class="lifeTrajectory"></ul>\n <button id="summary" class="mainbtn" style="top:auto; bottom:0.1rem">人生总结</button>\n </div>\n ');p.find("#lifeTrajectory").click((function(){if(!rt(t,st)){var e=rt(t,ot).next(),r=e.age,n=e.content,i=e.isEnd;$("<li><span>".concat(r,"岁:</span>").concat(n.map((function(t){var e=t.type,r=t.description,n=(t.grade,t.name),i=t.postEvent;switch(e){case"TLT":return"天赋【".concat(n,"】发动:").concat(r);case"EVT":return r+(i?"<br>".concat(i):"")}})).join("<br>"),"</li>")).appendTo("#lifeTrajectory"),$("#lifeTrajectory").scrollTop($("#lifeTrajectory")[0].scrollHeight),i&&(nt(t,st,!0),p.find("#summary").show())}})),p.find("#summary").click((function(){t.switch("summary")}));var h=$('\n <div id="main">\n <div class="head">人生总结</div>\n <ul id="judge" class="judge" style="bottom: calc(35% + 2.5rem)">\n <li class="grade2"><span>颜值:</span>9级 美若天仙</li>\n <li><span>智力:</span>4级 智力一般</li>\n <li><span>体质:</span>1级 极度虚弱</li>\n <li><span>家境:</span>6级 小康之家</li>\n <li><span>享年:</span>3岁 早夭</li>\n <li><span>快乐:</span>3级 不太幸福的人生</li>\n </ul>\n <div class="head" style="top:auto; bottom:35%">天赋,你可以选一个,下辈子还能抽到</div>\n <ul id="talents" class="selectlist" style="top:calc(65% + 0.5rem); bottom:8rem">\n <li class="grade2b">黑幕(面试一定成功)</li>\n </ul>\n <button id="again" class="mainbtn" style="top:auto; bottom:0.1em"><span class="iconfont"></span>再次重开</button>\n </div>\n ');h.find("#again").click((function(){t.times++,rt(t,ot).talentExtend(rt(t,ft)),nt(t,ft,null),rt(t,ut).clear(),nt(t,ct,20),nt(t,st,!1),t.switch("index")})),nt(this,at,{loading:{page:e,clear:function(){}},index:{page:r,btnRank:r.find("#rank"),btnRestart:r.find("#restart"),hint:r.find(".hint"),cnt:r.find("#cnt"),clear:function(){r.find(".hint").hide();var e=t.times,n=r.find("#rank"),i=r.find("#cnt");if(e>0)return n.show(),i.show(),void i.text("已重开".concat(e,"次"));n.hide(),i.hide()}},talent:{page:n,clear:function(){n.find("ul.selectlist").empty(),n.find("#random").show(),nt(t,ct,20)}},property:{page:a,clear:function(){f()}},trajectory:{page:p,clear:function(){p.find("#lifeTrajectory").empty(),p.find("#summary").hide(),nt(t,st,!1)},born:function(){p.find("#lifeTrajectory").trigger("click")}},summary:{page:h,clear:function(){var e=h.find("#judge"),r=h.find("#talents");e.empty(),r.empty(),rt(t,ut).forEach((function(e){var n=i(e);r.append(n),n.click((function(){if(n.hasClass("selected"))nt(t,ft,null),n.removeClass("selected");else{if(null!=rt(t,ft))return void t.hint("只能继承一个天赋");nt(t,ft,e.id),n.addClass("selected")}}))}));var n=rt(t,ot).getRecord(),a=function(t,e){var r=e(n.map((function(e){return e[t]}))),i=u(t,r);return{judge:i.judge,grade:i.grade,value:r}};console.table(n),console.debug(n),e.append([function(){var t=a("CHR",o),e=t.judge,r=t.grade,n=t.value;return'<li class="grade'.concat(r,'"><span>颜值:</span>').concat(n," ").concat(e,"</li>")}(),function(){var t=a("INT",o),e=t.judge,r=t.grade,n=t.value;return'<li class="grade'.concat(r,'"><span>智力:</span>').concat(n," ").concat(e,"</li>")}(),function(){var t=a("STR",o),e=t.judge,r=t.grade,n=t.value;return'<li class="grade'.concat(r,'"><span>体质:</span>').concat(n," ").concat(e,"</li>")}(),function(){var t=a("MNY",o),e=t.judge,r=t.grade,n=t.value;return'<li class="grade'.concat(r,'"><span>家境:</span>').concat(n," ").concat(e,"</li>")}(),function(){var t=a("SPR",o),e=t.judge,r=t.grade,n=t.value;return'<li class="grade'.concat(r,'"><span>快乐:</span>').concat(n," ").concat(e,"</li>")}(),function(){var t=a("AGE",o),e=t.judge,r=t.grade,n=t.value;return'<li class="grade'.concat(r,'"><span>享年:</span>').concat(n," ").concat(e,"</li>")}(),function(){var t=function(t){return o(n.map((function(e){return e[t]})))},e=Math.floor(2*function(){for(var t=0,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return r.flat().forEach((function(e){return t+=e})),t}(t("CHR"),t("INT"),t("STR"),t("MNY"),t("SPR"))+t("AGE")/2),r=u("SUM",e),i=r.judge,a=r.grade;return'<li class="grade'.concat(a,'"><span>总评:</span>').concat(e," ").concat(i,"</li>")}()].join(""))}}})}},{key:"switch",value:function(t){var e=rt(this,at)[t];e&&($("#main").detach(),e.clear(),e.page.appendTo("body"))}},{key:"hint",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"info";rt(this,lt)&&(clearTimeout(rt(this,lt)),nt(this,lt,null)),hideBanners(),requestAnimationFrame((function(){var n=$(".banner.".concat(r));n.addClass("visible"),n.find(".banner-message").text(t),"error"!=r&&nt(e,lt,setTimeout(hideBanners,3e3))}))}},{key:"times",get:function(){return JSON.parse(localStorage.times||"0")||0},set:function(t){localStorage.times=JSON.stringify(parseInt(t)||0)}}])&&tt(e.prototype,r),t}();function dt(t,e,r,n,i,o,a){try{var u=t[o](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,i)}window.json=function(){var t,e=(t=regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,axios("../data/".concat(e,".json"));case 2:return t.abrupt("return",t.sent.data);case 3:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,i){var o=t.apply(e,r);function a(t){dt(o,n,i,a,u,"next",t)}function u(t){dt(o,n,i,a,u,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}(),(new vt).initial()})()})(); |