js-utils-lc
Version:
JavaScript工具函数库文档及npm管理
1 lines • 73.2 kB
JavaScript
!function(t,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r((t="undefined"!=typeof globalThis?globalThis:t||self).jsUtilsLc={})}(this,(function(t){"use strict";var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,r){return t(r={exports:{}},r.exports),r.exports}var n=function(t){return t&&t.Math==Math&&t},o=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r&&r)||function(){return this}()||Function("return this")(),i=function(t){try{return!!t()}catch(r){return!0}},a=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),c=function(t){return"object"==typeof t?null!==t:"function"==typeof t},u=o.document,f=c(u)&&c(u.createElement),l=function(t){return f?u.createElement(t):{}},s=!a&&!i((function(){return 7!=Object.defineProperty(l("div"),"a",{get:function(){return 7}}).a})),p=function(t){if(!c(t))throw TypeError(String(t)+" is not an object");return t},h=function(t,r){if(!c(t))return t;var e,n;if(r&&"function"==typeof(e=t.toString)&&!c(n=e.call(t)))return n;if("function"==typeof(e=t.valueOf)&&!c(n=e.call(t)))return n;if(!r&&"function"==typeof(e=t.toString)&&!c(n=e.call(t)))return n;throw TypeError("Can't convert object to primitive value")},v=Object.defineProperty,g={f:a?v:function(t,r,e){if(p(t),r=h(r,!0),p(e),s)try{return v(t,r,e)}catch(n){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[r]=e.value),t}},d=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}},y=a?function(t,r,e){return g.f(t,r,d(1,e))}:function(t,r,e){return t[r]=e,t},m=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},b=function(t){return Object(m(t))},S={}.hasOwnProperty,w=Object.hasOwn||function(t,r){return S.call(b(t),r)},E=function(t,r){try{y(o,t,r)}catch(e){o[t]=r}return r},O="__core-js_shared__",x=o[O]||E(O,{}),j=Function.toString;"function"!=typeof x.inspectSource&&(x.inspectSource=function(t){return j.call(t)});var A,I,T,R=x.inspectSource,P=o.WeakMap,N="function"==typeof P&&/native code/.test(R(P)),M=e((function(t){(t.exports=function(t,r){return x[t]||(x[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.15.2",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),_=0,D=Math.random(),k=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++_+D).toString(36)},F=M("keys"),C=function(t){return F[t]||(F[t]=k(t))},L={},U="Object already initialized",$=o.WeakMap;if(N||x.state){var z=x.state||(x.state=new $),G=z.get,W=z.has,V=z.set;A=function(t,r){if(W.call(z,t))throw new TypeError(U);return r.facade=t,V.call(z,t,r),r},I=function(t){return G.call(z,t)||{}},T=function(t){return W.call(z,t)}}else{var Y=C("state");L[Y]=!0,A=function(t,r){if(w(t,Y))throw new TypeError(U);return r.facade=t,y(t,Y,r),r},I=function(t){return w(t,Y)?t[Y]:{}},T=function(t){return w(t,Y)}}var J={set:A,get:I,has:T,enforce:function(t){return T(t)?I(t):A(t,{})},getterFor:function(t){return function(r){var e;if(!c(r)||(e=I(r)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}},B=e((function(t){var r=J.get,e=J.enforce,n=String(String).split("String");(t.exports=function(t,r,i,a){var c,u=!!a&&!!a.unsafe,f=!!a&&!!a.enumerable,l=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof r||w(i,"name")||y(i,"name",r),(c=e(i)).source||(c.source=n.join("string"==typeof r?r:""))),t!==o?(u?!l&&t[r]&&(f=!0):delete t[r],f?t[r]=i:y(t,r,i)):f?t[r]=i:E(r,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&r(this).source||R(this)}))})),H=Date.prototype,K="Invalid Date",q="toString",Q=H.toString,X=H.getTime;new Date(NaN)+""!=K&&B(H,q,(function(){var t=X.call(this);return t==t?Q.call(this):K}));var Z,tt={}.propertyIsEnumerable,rt=Object.getOwnPropertyDescriptor,et={f:rt&&!tt.call({1:2},1)?function(t){var r=rt(this,t);return!!r&&r.enumerable}:tt},nt={}.toString,ot=function(t){return nt.call(t).slice(8,-1)},it="".split,at=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==ot(t)?it.call(t,""):Object(t)}:Object,ct=function(t){return at(m(t))},ut=Object.getOwnPropertyDescriptor,ft={f:a?ut:function(t,r){if(t=ct(t),r=h(r,!0),s)try{return ut(t,r)}catch(e){}if(w(t,r))return d(!et.f.call(t,r),t[r])}},lt=o,st=function(t){return"function"==typeof t?t:void 0},pt=function(t,r){return arguments.length<2?st(lt[t])||st(o[t]):lt[t]&<[t][r]||o[t]&&o[t][r]},ht=Math.ceil,vt=Math.floor,gt=function(t){return isNaN(t=+t)?0:(t>0?vt:ht)(t)},dt=Math.min,yt=function(t){return t>0?dt(gt(t),9007199254740991):0},mt=Math.max,bt=Math.min,St=function(t){return function(r,e,n){var o,i=ct(r),a=yt(i.length),c=function(t,r){var e=gt(t);return e<0?mt(e+r,0):bt(e,r)}(n,a);if(t&&e!=e){for(;a>c;)if((o=i[c++])!=o)return!0}else for(;a>c;c++)if((t||c in i)&&i[c]===e)return t||c||0;return!t&&-1}},wt={includes:St(!0),indexOf:St(!1)}.indexOf,Et=function(t,r){var e,n=ct(t),o=0,i=[];for(e in n)!w(L,e)&&w(n,e)&&i.push(e);for(;r.length>o;)w(n,e=r[o++])&&(~wt(i,e)||i.push(e));return i},Ot=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],xt=Ot.concat("length","prototype"),jt={f:Object.getOwnPropertyNames||function(t){return Et(t,xt)}},At={f:Object.getOwnPropertySymbols},It=pt("Reflect","ownKeys")||function(t){var r=jt.f(p(t)),e=At.f;return e?r.concat(e(t)):r},Tt=function(t,r){for(var e=It(r),n=g.f,o=ft.f,i=0;i<e.length;i++){var a=e[i];w(t,a)||n(t,a,o(r,a))}},Rt=/#|\.prototype\./,Pt=function(t,r){var e=Mt[Nt(t)];return e==Dt||e!=_t&&("function"==typeof r?i(r):!!r)},Nt=Pt.normalize=function(t){return String(t).replace(Rt,".").toLowerCase()},Mt=Pt.data={},_t=Pt.NATIVE="N",Dt=Pt.POLYFILL="P",kt=Pt,Ft=ft.f,Ct=function(t,r){var e,n,i,a,c,u=t.target,f=t.global,l=t.stat;if(e=f?o:l?o[u]||E(u,{}):(o[u]||{}).prototype)for(n in r){if(a=r[n],i=t.noTargetGet?(c=Ft(e,n))&&c.value:e[n],!kt(f?n:u+(l?".":"#")+n,t.forced)&&void 0!==i){if(typeof a==typeof i)continue;Tt(a,i)}(t.sham||i&&i.sham)&&y(a,"sham",!0),B(e,n,a,t)}},Lt=function(){var t=p(this),r="";return t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.sticky&&(r+="y"),r},Ut=function(t,r){return RegExp(t,r)},$t={UNSUPPORTED_Y:i((function(){var t=Ut("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),BROKEN_CARET:i((function(){var t=Ut("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},zt=Object.keys||function(t){return Et(t,Ot)},Gt=a?Object.defineProperties:function(t,r){p(t);for(var e,n=zt(r),o=n.length,i=0;o>i;)g.f(t,e=n[i++],r[e]);return t},Wt=pt("document","documentElement"),Vt=C("IE_PROTO"),Yt=function(){},Jt=function(t){return"<script>"+t+"</"+"script>"},Bt=function(){try{Z=document.domain&&new ActiveXObject("htmlfile")}catch(n){}var t,r;Bt=Z?function(t){t.write(Jt("")),t.close();var r=t.parentWindow.Object;return t=null,r}(Z):((r=l("iframe")).style.display="none",Wt.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(Jt("document.F=Object")),t.close(),t.F);for(var e=Ot.length;e--;)delete Bt.prototype[Ot[e]];return Bt()};L[Vt]=!0;var Ht=Object.create||function(t,r){var e;return null!==t?(Yt.prototype=p(t),e=new Yt,Yt.prototype=null,e[Vt]=t):e=Bt(),void 0===r?e:Gt(e,r)},Kt=i((function(){var t=RegExp(".","string".charAt(0));return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),qt=i((function(){var t=RegExp("(?<a>b)","string".charAt(5));return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),Qt=J.get,Xt=RegExp.prototype.exec,Zt=M("native-string-replace",String.prototype.replace),tr=Xt,rr=function(){var t=/a/,r=/b*/g;return Xt.call(t,"a"),Xt.call(r,"a"),0!==t.lastIndex||0!==r.lastIndex}(),er=$t.UNSUPPORTED_Y||$t.BROKEN_CARET,nr=void 0!==/()??/.exec("")[1];(rr||nr||er||Kt||qt)&&(tr=function(t){var r,e,n,o,i,a,c,u=this,f=Qt(u),l=f.raw;if(l)return l.lastIndex=u.lastIndex,r=tr.call(l,t),u.lastIndex=l.lastIndex,r;var s=f.groups,p=er&&u.sticky,h=Lt.call(u),v=u.source,g=0,d=t;if(p&&(-1===(h=h.replace("y","")).indexOf("g")&&(h+="g"),d=String(t).slice(u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==t[u.lastIndex-1])&&(v="(?: "+v+")",d=" "+d,g++),e=new RegExp("^(?:"+v+")",h)),nr&&(e=new RegExp("^"+v+"$(?!\\s)",h)),rr&&(n=u.lastIndex),o=Xt.call(p?e:u,d),p?o?(o.input=o.input.slice(g),o[0]=o[0].slice(g),o.index=u.lastIndex,u.lastIndex+=o[0].length):u.lastIndex=0:rr&&o&&(u.lastIndex=u.global?o.index+o[0].length:n),nr&&o&&o.length>1&&Zt.call(o[0],e,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&s)for(o.groups=a=Ht(null),i=0;i<s.length;i++)a[(c=s[i])[0]]=o[c[1]];return o});var or=tr;Ct({target:"RegExp",proto:!0,forced:/./.exec!==or},{exec:or});var ir,ar,cr=pt("navigator","userAgent")||"",ur=o.process,fr=ur&&ur.versions,lr=fr&&fr.v8;lr?ar=(ir=lr.split("."))[0]<4?1:ir[0]+ir[1]:cr&&(!(ir=cr.match(/Edge\/(\d+)/))||ir[1]>=74)&&(ir=cr.match(/Chrome\/(\d+)/))&&(ar=ir[1]);var sr=ar&&+ar,pr=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&sr&&sr<41})),hr=pr&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,vr=M("wks"),gr=o.Symbol,dr=hr?gr:gr&&gr.withoutSetter||k,yr=function(t){return w(vr,t)&&(pr||"string"==typeof vr[t])||(pr&&w(gr,t)?vr[t]=gr[t]:vr[t]=dr("Symbol."+t)),vr[t]},mr=yr("species"),br=RegExp.prototype,Sr=function(t,r,e,n){var o=yr(t),a=!i((function(){var r={};return r[o]=function(){return 7},7!=""[t](r)})),c=a&&!i((function(){var r=!1,e=/a/;return"split"===t&&((e={}).constructor={},e.constructor[mr]=function(){return e},e.flags="",e[o]=/./[o]),e.exec=function(){return r=!0,null},e[o](""),!r}));if(!a||!c||e){var u=/./[o],f=r(o,""[t],(function(t,r,e,n,o){var i=r.exec;return i===or||i===br.exec?a&&!o?{done:!0,value:u.call(r,e,n)}:{done:!0,value:t.call(e,r,n)}:{done:!1}}));B(String.prototype,t,f[0]),B(br,o,f[1])}n&&y(br[o],"sham",!0)},wr=function(t){return function(r,e){var n,o,i=String(m(r)),a=gt(e),c=i.length;return a<0||a>=c?t?"":void 0:(n=i.charCodeAt(a))<55296||n>56319||a+1===c||(o=i.charCodeAt(a+1))<56320||o>57343?t?i.charAt(a):n:t?i.slice(a,a+2):o-56320+(n-55296<<10)+65536}},Er={codeAt:wr(!1),charAt:wr(!0)}.charAt,Or=function(t,r,e){return r+(e?Er(t,r).length:1)},xr=Math.floor,jr="".replace,Ar=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Ir=/\$([$&'`]|\d{1,2})/g,Tr=function(t,r,e,n,o,i){var a=e+t.length,c=n.length,u=Ir;return void 0!==o&&(o=b(o),u=Ar),jr.call(i,u,(function(i,u){var f;switch(u.charAt(0)){case"$":return"$";case"&":return t;case"`":return r.slice(0,e);case"'":return r.slice(a);case"<":f=o[u.slice(1,-1)];break;default:var l=+u;if(0===l)return i;if(l>c){var s=xr(l/10);return 0===s?i:s<=c?void 0===n[s-1]?u.charAt(1):n[s-1]+u.charAt(1):i}f=n[l-1]}return void 0===f?"":f}))},Rr=function(t,r){var e=t.exec;if("function"==typeof e){var n=e.call(t,r);if("object"!=typeof n)throw TypeError("RegExp exec method returned something other than an Object or null");return n}if("RegExp"!==ot(t))throw TypeError("RegExp#exec called on incompatible receiver");return or.call(t,r)},Pr=yr("replace"),Nr=Math.max,Mr=Math.min,_r="$0"==="a".replace(/./,"$0"),Dr=!!/./[Pr]&&""===/./[Pr]("a","$0");Sr("replace",(function(t,r,e){var n=Dr?"$":"$0";return[function(t,e){var n=m(this),o=null==t?void 0:t[Pr];return void 0!==o?o.call(t,n,e):r.call(String(n),t,e)},function(t,o){if("string"==typeof o&&-1===o.indexOf(n)&&-1===o.indexOf("$<")){var i=e(r,this,t,o);if(i.done)return i.value}var a=p(this),c=String(t),u="function"==typeof o;u||(o=String(o));var f=a.global;if(f){var l=a.unicode;a.lastIndex=0}for(var s=[];;){var h=Rr(a,c);if(null===h)break;if(s.push(h),!f)break;""===String(h[0])&&(a.lastIndex=Or(c,yt(a.lastIndex),l))}for(var v,g="",d=0,y=0;y<s.length;y++){h=s[y];for(var m=String(h[0]),b=Nr(Mr(gt(h.index),c.length),0),S=[],w=1;w<h.length;w++)S.push(void 0===(v=h[w])?v:String(v));var E=h.groups;if(u){var O=[m].concat(S,b,c);void 0!==E&&O.push(E);var x=String(o.apply(void 0,O))}else x=Tr(m,c,b,S,E,o);b>=d&&(g+=c.slice(d,b)+x,d=b+m.length)}return g+c.slice(d)}]}),!!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!_r||Dr);var kr=function(t){return t&&t.Math==Math&&t},Fr=kr("object"==typeof globalThis&&globalThis)||kr("object"==typeof window&&window)||kr("object"==typeof self&&self)||kr("object"==typeof r&&r)||function(){return this}()||Function("return this")(),Cr=function(t){try{return!!t()}catch(r){return!0}},Lr=!Cr((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),Ur={}.propertyIsEnumerable,$r=Object.getOwnPropertyDescriptor,zr={f:$r&&!Ur.call({1:2},1)?function(t){var r=$r(this,t);return!!r&&r.enumerable}:Ur},Gr=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}},Wr={}.toString,Vr=function(t){return Wr.call(t).slice(8,-1)},Yr="".split,Jr=Cr((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==Vr(t)?Yr.call(t,""):Object(t)}:Object,Br=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},Hr=function(t){return Jr(Br(t))},Kr=function(t){return"object"==typeof t?null!==t:"function"==typeof t},qr=function(t,r){if(!Kr(t))return t;var e,n;if(r&&"function"==typeof(e=t.toString)&&!Kr(n=e.call(t)))return n;if("function"==typeof(e=t.valueOf)&&!Kr(n=e.call(t)))return n;if(!r&&"function"==typeof(e=t.toString)&&!Kr(n=e.call(t)))return n;throw TypeError("Can't convert object to primitive value")},Qr=function(t){return Object(Br(t))},Xr={}.hasOwnProperty,Zr=Object.hasOwn||function(t,r){return Xr.call(Qr(t),r)},te=Fr.document,re=Kr(te)&&Kr(te.createElement),ee=function(t){return re?te.createElement(t):{}},ne=!Lr&&!Cr((function(){return 7!=Object.defineProperty(ee("div"),"a",{get:function(){return 7}}).a})),oe=Object.getOwnPropertyDescriptor,ie={f:Lr?oe:function(t,r){if(t=Hr(t),r=qr(r,!0),ne)try{return oe(t,r)}catch(e){}if(Zr(t,r))return Gr(!zr.f.call(t,r),t[r])}},ae=/#|\.prototype\./,ce=function(t,r){var e=fe[ue(t)];return e==se||e!=le&&("function"==typeof r?Cr(r):!!r)},ue=ce.normalize=function(t){return String(t).replace(ae,".").toLowerCase()},fe=ce.data={},le=ce.NATIVE="N",se=ce.POLYFILL="P",pe=ce,he={},ve=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},ge=function(t,r,e){if(ve(t),void 0===r)return t;switch(e){case 0:return function(){return t.call(r)};case 1:return function(e){return t.call(r,e)};case 2:return function(e,n){return t.call(r,e,n)};case 3:return function(e,n,o){return t.call(r,e,n,o)}}return function(){return t.apply(r,arguments)}},de=function(t){if(!Kr(t))throw TypeError(String(t)+" is not an object");return t},ye=Object.defineProperty,me={f:Lr?ye:function(t,r,e){if(de(t),r=qr(r,!0),de(e),ne)try{return ye(t,r,e)}catch(n){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[r]=e.value),t}},be=Lr?function(t,r,e){return me.f(t,r,Gr(1,e))}:function(t,r,e){return t[r]=e,t},Se=ie.f,we=function(t){var r=function(r,e,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,e)}return new t(r,e,n)}return t.apply(this,arguments)};return r.prototype=t.prototype,r},Ee=function(t,r){var e,n,o,i,a,c,u,f,l=t.target,s=t.global,p=t.stat,h=t.proto,v=s?Fr:p?Fr[l]:(Fr[l]||{}).prototype,g=s?he:he[l]||(he[l]={}),d=g.prototype;for(o in r)e=!pe(s?o:l+(p?".":"#")+o,t.forced)&&v&&Zr(v,o),a=g[o],e&&(c=t.noTargetGet?(f=Se(v,o))&&f.value:v[o]),i=e&&c?c:r[o],e&&typeof a==typeof i||(u=t.bind&&e?ge(i,Fr):t.wrap&&e?we(i):h&&"function"==typeof i?ge(Function.call,i):i,(t.sham||i&&i.sham||a&&a.sham)&&be(u,"sham",!0),g[o]=u,h&&(Zr(he,n=l+"Prototype")||be(he,n,{}),he[n][o]=i,t.real&&d&&!d[o]&&be(d,o,i)))},Oe="\t\n\v\f\r \u2028\u2029\ufeff",xe="["+Oe+"]",je=RegExp("^"+xe+xe+"*"),Ae=RegExp(xe+xe+"*$"),Ie=function(t){return function(r){var e=String(Br(r));return 1&t&&(e=e.replace(je,"")),2&t&&(e=e.replace(Ae,"")),e}},Te={start:Ie(1),end:Ie(2),trim:Ie(3)},Re=Te.trim,Pe=Fr.parseFloat,Ne=1/Pe(Oe+"-0")!=-1/0?function(t){var r=Re(String(t)),e=Pe(r);return 0===e&&"-"==r.charAt(0)?-0:e}:Pe;Ee({global:!0,forced:parseFloat!=Ne},{parseFloat:Ne});var Me,_e,De=he.parseFloat,ke=Array.isArray||function(t){return"Array"==Vr(t)},Fe=Math.ceil,Ce=Math.floor,Le=function(t){return isNaN(t=+t)?0:(t>0?Ce:Fe)(t)},Ue=Math.max,$e=Math.min,ze=function(t,r){var e=Le(t);return e<0?Ue(e+r,0):$e(e,r)},Ge=Math.min,We=function(t){return t>0?Ge(Le(t),9007199254740991):0},Ve=function(t,r,e){var n=qr(r);n in t?me.f(t,n,Gr(0,e)):t[n]=e},Ye=!0,Je="__core-js_shared__",Be=Fr[Je]||function(t,r){try{be(Fr,t,r)}catch(e){Fr[t]=r}return r}(Je,{}),He=e((function(t){(t.exports=function(t,r){return Be[t]||(Be[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.15.2",mode:"pure",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),Ke=0,qe=Math.random(),Qe=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++Ke+qe).toString(36)},Xe=function(t){return"function"==typeof t?t:void 0},Ze=function(t,r){return arguments.length<2?Xe(he[t])||Xe(Fr[t]):he[t]&&he[t][r]||Fr[t]&&Fr[t][r]},tn=Ze("navigator","userAgent")||"",rn=Fr.process,en=rn&&rn.versions,nn=en&&en.v8;nn?_e=(Me=nn.split("."))[0]<4?1:Me[0]+Me[1]:tn&&(!(Me=tn.match(/Edge\/(\d+)/))||Me[1]>=74)&&(Me=tn.match(/Chrome\/(\d+)/))&&(_e=Me[1]);var on=_e&&+_e,an=!!Object.getOwnPropertySymbols&&!Cr((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&on&&on<41})),cn=an&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,un=He("wks"),fn=Fr.Symbol,ln=cn?fn:fn&&fn.withoutSetter||Qe,sn=function(t){return Zr(un,t)&&(an||"string"==typeof un[t])||(an&&Zr(fn,t)?un[t]=fn[t]:un[t]=ln("Symbol."+t)),un[t]},pn=sn("species"),hn=function(t){return on>=51||!Cr((function(){var r=[];return(r.constructor={})[pn]=function(){return{foo:1}},1!==r[t](Boolean).foo}))},vn=hn("slice"),gn=sn("species"),dn=[].slice,yn=Math.max;Ee({target:"Array",proto:!0,forced:!vn},{slice:function(t,r){var e,n,o,i=Hr(this),a=We(i.length),c=ze(t,a),u=ze(void 0===r?a:r,a);if(ke(i)&&("function"!=typeof(e=i.constructor)||e!==Array&&!ke(e.prototype)?Kr(e)&&null===(e=e[gn])&&(e=void 0):e=void 0,e===Array||void 0===e))return dn.call(i,c,u);for(n=new(void 0===e?Array:e)(yn(u-c,0)),o=0;c<u;c++,o++)c in i&&Ve(n,o,i[c]);return n.length=o,n}});var mn=function(t){return he[t+"Prototype"]},bn=mn("Array").slice,Sn=Array.prototype,wn=function(t){var r=t.slice;return t===Sn||t instanceof Array&&r===Sn.slice?bn:r},En=function(t){var r=String(Br(this)),e="",n=Le(t);if(n<0||n==1/0)throw RangeError("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(r+=r))1&n&&(e+=r);return e},On=Math.ceil,xn=function(t){return function(r,e,n){var o,i,a=String(Br(r)),c=a.length,u=void 0===n?" ":String(n),f=We(e);return f<=c||""==u?a:((i=En.call(u,On((o=f-c)/u.length))).length>o&&(i=i.slice(0,o)),t?a+i:i+a)}},jn={start:xn(!1),end:xn(!0)},An=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(tn),In=jn.end;Ee({target:"String",proto:!0,forced:An},{padEnd:function(t){return In(this,t,arguments.length>1?arguments[1]:void 0)}});var Tn=mn("String").padEnd,Rn=String.prototype,Pn=function(t){var r=t.padEnd;return"string"==typeof t||t===Rn||t instanceof String&&r===Rn.padEnd?Tn:r},Nn=sn("species"),Mn=function(t,r){var e;return ke(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!ke(e.prototype)?Kr(e)&&null===(e=e[Nn])&&(e=void 0):e=void 0),new(void 0===e?Array:e)(0===r?0:r)},_n=sn("isConcatSpreadable"),Dn=9007199254740991,kn="Maximum allowed index exceeded",Fn=on>=51||!Cr((function(){var t=[];return t[_n]=!1,t.concat()[0]!==t})),Cn=hn("concat"),Ln=function(t){if(!Kr(t))return!1;var r=t[_n];return void 0!==r?!!r:ke(t)};Ee({target:"Array",proto:!0,forced:!Fn||!Cn},{concat:function(t){var r,e,n,o,i,a=Qr(this),c=Mn(a,0),u=0;for(r=-1,n=arguments.length;r<n;r++)if(Ln(i=-1===r?a:arguments[r])){if(u+(o=We(i.length))>Dn)throw TypeError(kn);for(e=0;e<o;e++,u++)e in i&&Ve(c,u,i[e])}else{if(u>=Dn)throw TypeError(kn);Ve(c,u++,i)}return c.length=u,c}});var Un=mn("Array").concat,$n=Array.prototype,zn=function(t){var r=t.concat;return t===$n||t instanceof Array&&r===$n.concat?Un:r},Gn=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(e,[]),r=e instanceof Array}catch(n){}return function(e,n){return p(e),function(t){if(!c(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(n),r?t.call(e,n):e.__proto__=n,e}}():void 0),Wn=function(t,r,e){var n,o;return Gn&&"function"==typeof(n=r.constructor)&&n!==e&&c(o=n.prototype)&&o!==e.prototype&&Gn(t,o),t},Vn="[\t\n\v\f\r \u2028\u2029\ufeff]",Yn=RegExp("^"+Vn+Vn+"*"),Jn=RegExp(Vn+Vn+"*$"),Bn=function(t){return function(r){var e=String(m(r));return 1&t&&(e=e.replace(Yn,"")),2&t&&(e=e.replace(Jn,"")),e}},Hn={start:Bn(1),end:Bn(2),trim:Bn(3)},Kn=jt.f,qn=ft.f,Qn=g.f,Xn=Hn.trim,Zn="Number",to=o.Number,ro=to.prototype,eo=ot(Ht(ro))==Zn,no=function(t){var r,e,n,o,i,a,c,u,f=h(t,!1);if("string"==typeof f&&f.length>2)if(43===(r=(f=Xn(f)).charCodeAt(0))||45===r){if(88===(e=f.charCodeAt(2))||120===e)return NaN}else if(48===r){switch(f.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+f}for(a=(i=f.slice(2)).length,c=0;c<a;c++)if((u=i.charCodeAt(c))<48||u>o)return NaN;return parseInt(i,n)}return+f};if(kt(Zn,!to(" 0o1")||!to("0b1")||to("+0x1"))){for(var oo,io=function(t){var r=arguments.length<1?0:t,e=this;return e instanceof io&&(eo?i((function(){ro.valueOf.call(e)})):ot(e)!=Zn)?Wn(new to(no(r)),e,io):no(r)},ao=a?Kn(to):"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(","),co=0;ao.length>co;co++)w(to,oo=ao[co])&&!w(io,oo)&&Qn(io,oo,qn(to,oo));io.prototype=ro,ro.constructor=io,B(o,Zn,io)}var uo=yr("match"),fo=function(t){var r;return c(t)&&(void 0!==(r=t[uo])?!!r:"RegExp"==ot(t))},lo=yr("species"),so=function(t,r){var e,n=p(t).constructor;return void 0===n||null==(e=p(n)[lo])?r:function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}(e)},po=$t.UNSUPPORTED_Y,ho=[].push,vo=Math.min,go=4294967295;function yo(t){var r,e,n,o,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,a=Number(t)<0,c=String(Math.abs(t)),u=String(Math.round(+c+"e"+i)/Math.pow(10,i)),f=u.split(".")[0],l=f?f.length:0,s=u.split(".")[1]?u.split(".")[1]:"",p=s?s.length:0;return s?p===i?a?"-".concat(u):u:a?zn(n="-".concat(f,".")).call(n,Pn(s).call(s,i,"0")):zn(o="".concat(f,".")).call(o,Pn(s).call(s,i,"0")):0===i?a?"-".concat(f):"".concat(f):a?Pn(r="-".concat(f,".")).call(r,l+i+2,"0"):Pn(e="".concat(f,".")).call(e,l+i+1,"0")}Sr("split",(function(t,r,e){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,e){var n=String(m(this)),o=void 0===e?go:e>>>0;if(0===o)return[];if(void 0===t)return[n];if(!fo(t))return r.call(n,t,o);for(var i,a,c,u=[],f=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),l=0,s=new RegExp(t.source,f+"g");(i=or.call(s,n))&&!((a=s.lastIndex)>l&&(u.push(n.slice(l,i.index)),i.length>1&&i.index<n.length&&ho.apply(u,i.slice(1)),c=i[0].length,l=a,u.length>=o));)s.lastIndex===i.index&&s.lastIndex++;return l===n.length?!c&&s.test("")||u.push(""):u.push(n.slice(l)),u.length>o?u.slice(0,o):u}:"0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:r.call(this,t,e)}:r,[function(r,e){var o=m(this),i=null==r?void 0:r[t];return void 0!==i?i.call(r,o,e):n.call(String(o),r,e)},function(t,o){var i=e(n,this,t,o,n!==r);if(i.done)return i.value;var a=p(this),c=String(t),u=so(a,RegExp),f=a.unicode,l=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(po?"g":"y"),s=new u(po?"^(?:"+a.source+")":a,l),h=void 0===o?go:o>>>0;if(0===h)return[];if(0===c.length)return null===Rr(s,c)?[c]:[];for(var v=0,g=0,d=[];g<c.length;){s.lastIndex=po?0:g;var y,m=Rr(s,po?c.slice(g):c);if(null===m||(y=vo(yt(s.lastIndex+(po?g:0)),c.length))===v)g=Or(c,g,f);else{if(d.push(c.slice(v,g)),d.length===h)return d;for(var b=1;b<=m.length-1;b++)if(d.push(m[b]),d.length===h)return d;g=v=y}}return d.push(c.slice(v)),d}]}),!!i((function(){var t=/(?:)/,r=t.exec;t.exec=function(){return r.apply(this,arguments)};var e="ab".split(t);return 2!==e.length||"a"!==e[0]||"b"!==e[1]})),po);var mo=function(t){return function(r,e){var n,o,i=String(Br(r)),a=Le(e),c=i.length;return a<0||a>=c?t?"":void 0:(n=i.charCodeAt(a))<55296||n>56319||a+1===c||(o=i.charCodeAt(a+1))<56320||o>57343?t?i.charAt(a):n:t?i.slice(a,a+2):o-56320+(n-55296<<10)+65536}},bo={codeAt:mo(!1),charAt:mo(!0)},So=Function.toString;"function"!=typeof Be.inspectSource&&(Be.inspectSource=function(t){return So.call(t)});var wo,Eo,Oo,xo=Be.inspectSource,jo=Fr.WeakMap,Ao="function"==typeof jo&&/native code/.test(xo(jo)),Io=He("keys"),To=function(t){return Io[t]||(Io[t]=Qe(t))},Ro={},Po="Object already initialized",No=Fr.WeakMap;if(Ao||Be.state){var Mo=Be.state||(Be.state=new No),_o=Mo.get,Do=Mo.has,ko=Mo.set;wo=function(t,r){if(Do.call(Mo,t))throw new TypeError(Po);return r.facade=t,ko.call(Mo,t,r),r},Eo=function(t){return _o.call(Mo,t)||{}},Oo=function(t){return Do.call(Mo,t)}}else{var Fo=To("state");Ro[Fo]=!0,wo=function(t,r){if(Zr(t,Fo))throw new TypeError(Po);return r.facade=t,be(t,Fo,r),r},Eo=function(t){return Zr(t,Fo)?t[Fo]:{}},Oo=function(t){return Zr(t,Fo)}}var Co,Lo,Uo,$o={set:wo,get:Eo,has:Oo,enforce:function(t){return Oo(t)?Eo(t):wo(t,{})},getterFor:function(t){return function(r){var e;if(!Kr(r)||(e=Eo(r)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}},zo=!Cr((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Go=To("IE_PROTO"),Wo=Object.prototype,Vo=zo?Object.getPrototypeOf:function(t){return t=Qr(t),Zr(t,Go)?t[Go]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?Wo:null},Yo=sn("iterator"),Jo=!1;[].keys&&("next"in(Uo=[].keys())?(Lo=Vo(Vo(Uo)))!==Object.prototype&&(Co=Lo):Jo=!0);var Bo=null==Co||Cr((function(){var t={};return Co[Yo].call(t)!==t}));Bo&&(Co={}),Bo&&!Zr(Co,Yo)&&be(Co,Yo,(function(){return this}));var Ho,Ko={IteratorPrototype:Co,BUGGY_SAFARI_ITERATORS:Jo},qo=function(t){return function(r,e,n){var o,i=Hr(r),a=We(i.length),c=ze(n,a);if(t&&e!=e){for(;a>c;)if((o=i[c++])!=o)return!0}else for(;a>c;c++)if((t||c in i)&&i[c]===e)return t||c||0;return!t&&-1}},Qo={includes:qo(!0),indexOf:qo(!1)},Xo=Qo.indexOf,Zo=function(t,r){var e,n=Hr(t),o=0,i=[];for(e in n)!Zr(Ro,e)&&Zr(n,e)&&i.push(e);for(;r.length>o;)Zr(n,e=r[o++])&&(~Xo(i,e)||i.push(e));return i},ti=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ri=Object.keys||function(t){return Zo(t,ti)},ei=Lr?Object.defineProperties:function(t,r){de(t);for(var e,n=ri(r),o=n.length,i=0;o>i;)me.f(t,e=n[i++],r[e]);return t},ni=Ze("document","documentElement"),oi=To("IE_PROTO"),ii=function(){},ai=function(t){return"<script>"+t+"</"+"script>"},ci=function(){try{Ho=document.domain&&new ActiveXObject("htmlfile")}catch(n){}var t,r;ci=Ho?function(t){t.write(ai("")),t.close();var r=t.parentWindow.Object;return t=null,r}(Ho):((r=ee("iframe")).style.display="none",ni.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(ai("document.F=Object")),t.close(),t.F);for(var e=ti.length;e--;)delete ci.prototype[ti[e]];return ci()};Ro[oi]=!0;var ui=Object.create||function(t,r){var e;return null!==t?(ii.prototype=de(t),e=new ii,ii.prototype=null,e[oi]=t):e=ci(),void 0===r?e:ei(e,r)},fi={};fi[sn("toStringTag")]="z";var li="[object z]"===String(fi),si=sn("toStringTag"),pi="Arguments"==Vr(function(){return arguments}()),hi=li?Vr:function(t){var r,e,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,r){try{return t[r]}catch(e){}}(r=Object(t),si))?e:pi?Vr(r):"Object"==(n=Vr(r))&&"function"==typeof r.callee?"Arguments":n},vi=li?{}.toString:function(){return"[object "+hi(this)+"]"},gi=me.f,di=sn("toStringTag"),yi=function(t,r,e,n){if(t){var o=e?t:t.prototype;Zr(o,di)||gi(o,di,{configurable:!0,value:r}),n&&!li&&be(o,"toString",vi)}},mi={},bi=Ko.IteratorPrototype,Si=function(){return this},wi=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(e,[]),r=e instanceof Array}catch(n){}return function(e,n){return de(e),function(t){if(!Kr(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(n),r?t.call(e,n):e.__proto__=n,e}}():void 0),Ei=function(t,r,e,n){n&&n.enumerable?t[r]=e:be(t,r,e)},Oi=Ko.IteratorPrototype,xi=Ko.BUGGY_SAFARI_ITERATORS,ji=sn("iterator"),Ai="keys",Ii="values",Ti="entries",Ri=function(){return this},Pi=function(t,r,e,n,o,i,a){!function(t,r,e){var n=r+" Iterator";t.prototype=ui(bi,{next:Gr(1,e)}),yi(t,n,!1,!0),mi[n]=Si}(e,r,n);var c,u,f,l=function(t){if(t===o&&g)return g;if(!xi&&t in h)return h[t];switch(t){case Ai:case Ii:case Ti:return function(){return new e(this,t)}}return function(){return new e(this)}},s=r+" Iterator",p=!1,h=t.prototype,v=h[ji]||h["@@iterator"]||o&&h[o],g=!xi&&v||l(o),d="Array"==r&&h.entries||v;if(d&&(c=Vo(d.call(new t)),Oi!==Object.prototype&&c.next&&(yi(c,s,!0,!0),mi[s]=Ri)),o==Ii&&v&&v.name!==Ii&&(p=!0,g=function(){return v.call(this)}),a&&h[ji]!==g&&be(h,ji,g),mi[r]=g,o)if(u={values:l(Ii),keys:i?g:l(Ai),entries:l(Ti)},a)for(f in u)(xi||p||!(f in h))&&Ei(h,f,u[f]);else Ee({target:r,proto:!0,forced:xi||p},u);return u},Ni=bo.charAt,Mi="String Iterator",_i=$o.set,Di=$o.getterFor(Mi);Pi(String,"String",(function(t){_i(this,{type:Mi,string:String(t),index:0})}),(function(){var t,r=Di(this),e=r.string,n=r.index;return n>=e.length?{value:void 0,done:!0}:(t=Ni(e,n),r.index+=t.length,{value:t,done:!1})}));var ki=function(t){var r=t.return;if(void 0!==r)return de(r.call(t)).value},Fi=function(t,r,e,n){try{return n?r(de(e)[0],e[1]):r(e)}catch(o){throw ki(t),o}},Ci=sn("iterator"),Li=Array.prototype,Ui=function(t){return void 0!==t&&(mi.Array===t||Li[Ci]===t)},$i=sn("iterator"),zi=function(t){if(null!=t)return t[$i]||t["@@iterator"]||mi[hi(t)]},Gi=sn("iterator"),Wi=!1;try{var Vi=0,Yi={next:function(){return{done:!!Vi++}},return:function(){Wi=!0}};Yi[Gi]=function(){return this},Array.from(Yi,(function(){throw 2}))}catch(Dl){}var Ji=function(t,r){if(!r&&!Wi)return!1;var e=!1;try{var n={};n[Gi]=function(){return{next:function(){return{done:e=!0}}}},t(n)}catch(Dl){}return e},Bi=!Ji((function(t){Array.from(t)}));Ee({target:"Array",stat:!0,forced:Bi},{from:function(t){var r,e,n,o,i,a,c=Qr(t),u="function"==typeof this?this:Array,f=arguments.length,l=f>1?arguments[1]:void 0,s=void 0!==l,p=zi(c),h=0;if(s&&(l=ge(l,f>2?arguments[2]:void 0,2)),null==p||u==Array&&Ui(p))for(e=new u(r=We(c.length));r>h;h++)a=s?l(c[h],h):c[h],Ve(e,h,a);else for(i=(o=p.call(c)).next,e=new u;!(n=i.call(o)).done;h++)a=s?Fi(o,l,[n.value,h],!0):n.value,Ve(e,h,a);return e.length=h,e}});var Hi=he.Array.from,Ki=!Cr((function(){return Object.isExtensible(Object.preventExtensions({}))})),qi=e((function(t){var r=me.f,e=Qe("meta"),n=0,o=Object.isExtensible||function(){return!0},i=function(t){r(t,e,{value:{objectID:"O"+n++,weakData:{}}})},a=t.exports={REQUIRED:!1,fastKey:function(t,r){if(!Kr(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!Zr(t,e)){if(!o(t))return"F";if(!r)return"E";i(t)}return t[e].objectID},getWeakData:function(t,r){if(!Zr(t,e)){if(!o(t))return!0;if(!r)return!1;i(t)}return t[e].weakData},onFreeze:function(t){return Ki&&a.REQUIRED&&o(t)&&!Zr(t,e)&&i(t),t}};Ro[e]=!0}));qi.REQUIRED,qi.fastKey,qi.getWeakData,qi.onFreeze;var Qi=function(t,r){this.stopped=t,this.result=r},Xi=function(t,r,e){var n,o,i,a,c,u,f,l=e&&e.that,s=!(!e||!e.AS_ENTRIES),p=!(!e||!e.IS_ITERATOR),h=!(!e||!e.INTERRUPTED),v=ge(r,l,1+s+h),g=function(t){return n&&ki(n),new Qi(!0,t)},d=function(t){return s?(de(t),h?v(t[0],t[1],g):v(t[0],t[1])):h?v(t,g):v(t)};if(p)n=t;else{if("function"!=typeof(o=zi(t)))throw TypeError("Target is not iterable");if(Ui(o)){for(i=0,a=We(t.length);a>i;i++)if((c=d(t[i]))&&c instanceof Qi)return c;return new Qi(!1)}n=o.call(t)}for(u=n.next;!(f=u.call(n)).done;){try{c=d(f.value)}catch(Dl){throw ki(n),Dl}if("object"==typeof c&&c&&c instanceof Qi)return c}return new Qi(!1)},Zi=function(t,r,e){if(!(t instanceof r))throw TypeError("Incorrect "+(e?e+" ":"")+"invocation");return t},ta=[].push,ra=function(t){var r=1==t,e=2==t,n=3==t,o=4==t,i=6==t,a=7==t,c=5==t||i;return function(u,f,l,s){for(var p,h,v=Qr(u),g=Jr(v),d=ge(f,l,3),y=We(g.length),m=0,b=s||Mn,S=r?b(u,y):e||a?b(u,0):void 0;y>m;m++)if((c||m in g)&&(h=d(p=g[m],m,v),t))if(r)S[m]=h;else if(h)switch(t){case 3:return!0;case 5:return p;case 6:return m;case 2:ta.call(S,p)}else switch(t){case 4:return!1;case 7:ta.call(S,p)}return i?-1:n||o?o:S}},ea={forEach:ra(0),map:ra(1),filter:ra(2),some:ra(3),every:ra(4),find:ra(5),findIndex:ra(6),filterOut:ra(7)},na=me.f,oa=ea.forEach,ia=$o.set,aa=$o.getterFor,ca=function(t,r,e){for(var n in r)e&&e.unsafe&&t[n]?t[n]=r[n]:Ei(t,n,r[n],e);return t},ua=sn("species"),fa=function(t){var r=Ze(t),e=me.f;Lr&&r&&!r[ua]&&e(r,ua,{configurable:!0,get:function(){return this}})},la=me.f,sa=qi.fastKey,pa=$o.set,ha=$o.getterFor,va={getConstructor:function(t,r,e,n){var o=t((function(t,i){Zi(t,o,r),pa(t,{type:r,index:ui(null),first:void 0,last:void 0,size:0}),Lr||(t.size=0),null!=i&&Xi(i,t[n],{that:t,AS_ENTRIES:e})})),i=ha(r),a=function(t,r,e){var n,o,a=i(t),u=c(t,r);return u?u.value=e:(a.last=u={index:o=sa(r,!0),key:r,value:e,previous:n=a.last,next:void 0,removed:!1},a.first||(a.first=u),n&&(n.next=u),Lr?a.size++:t.size++,"F"!==o&&(a.index[o]=u)),t},c=function(t,r){var e,n=i(t),o=sa(r);if("F"!==o)return n.index[o];for(e=n.first;e;e=e.next)if(e.key==r)return e};return ca(o.prototype,{clear:function(){for(var t=i(this),r=t.index,e=t.first;e;)e.removed=!0,e.previous&&(e.previous=e.previous.next=void 0),delete r[e.index],e=e.next;t.first=t.last=void 0,Lr?t.size=0:this.size=0},delete:function(t){var r=this,e=i(r),n=c(r,t);if(n){var o=n.next,a=n.previous;delete e.index[n.index],n.removed=!0,a&&(a.next=o),o&&(o.previous=a),e.first==n&&(e.first=o),e.last==n&&(e.last=a),Lr?e.size--:r.size--}return!!n},forEach:function(t){for(var r,e=i(this),n=ge(t,arguments.length>1?arguments[1]:void 0,3);r=r?r.next:e.first;)for(n(r.value,r.key,this);r&&r.removed;)r=r.previous},has:function(t){return!!c(this,t)}}),ca(o.prototype,e?{get:function(t){var r=c(this,t);return r&&r.value},set:function(t,r){return a(this,0===t?0:t,r)}}:{add:function(t){return a(this,t=0===t?0:t,t)}}),Lr&&la(o.prototype,"size",{get:function(){return i(this).size}}),o},setStrong:function(t,r,e){var n=r+" Iterator",o=ha(r),i=ha(n);Pi(t,r,(function(t,r){pa(this,{type:n,target:t,state:o(t),kind:r,last:void 0})}),(function(){for(var t=i(this),r=t.kind,e=t.last;e&&e.removed;)e=e.previous;return t.target&&(t.last=e=e?e.next:t.state.first)?"keys"==r?{value:e.key,done:!1}:"values"==r?{value:e.value,done:!1}:{value:[e.key,e.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),e?"entries":"values",!e,!0),fa(r)}};!function(t,r,e){var n,o=-1!==t.indexOf("Map"),i=-1!==t.indexOf("Weak"),a=o?"set":"add",c=Fr[t],u=c&&c.prototype,f={};if(Lr&&"function"==typeof c&&(i||u.forEach&&!Cr((function(){(new c).entries().next()})))){n=r((function(r,e){ia(Zi(r,n,t),{type:t,collection:new c}),null!=e&&Xi(e,r[a],{that:r,AS_ENTRIES:o})}));var l=aa(t);oa(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(t){var r="add"==t||"set"==t;!(t in u)||i&&"clear"==t||be(n.prototype,t,(function(e,n){var o=l(this).collection;if(!r&&i&&!Kr(e))return"get"==t&&void 0;var a=o[t](0===e?0:e,n);return r?this:a}))})),i||na(n.prototype,"size",{configurable:!0,get:function(){return l(this).collection.size}})}else n=e.getConstructor(r,t,o,a),qi.REQUIRED=!0;yi(n,t,!1,!0),f[t]=n,Ee({global:!0,forced:!0},f),i||e.setStrong(n,t,o)}("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),va);var ga="Array Iterator",da=$o.set,ya=$o.getterFor(ga);Pi(Array,"Array",(function(t,r){da(this,{type:ga,target:Hr(t),index:0,kind:r})}),(function(){var t=ya(this),r=t.target,e=t.kind,n=t.index++;return!r||n>=r.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==e?{value:n,done:!1}:"values"==e?{value:r[n],done:!1}:{value:[n,r[n]],done:!1}}),"values"),mi.Arguments=mi.Array;var ma=sn("toStringTag");for(var ba in{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}){var Sa=Fr[ba],wa=Sa&&Sa.prototype;wa&&hi(wa)!==ma&&be(wa,ma,ba),mi[ba]=mi.Array}var Ea=he.Set;Ee({target:"Set",stat:!0},{from:function(t){var r,e,n,o,i=arguments.length,a=i>1?arguments[1]:void 0;return ve(this),(r=void 0!==a)&&ve(a),null==t?new this:(e=[],r?(n=0,o=ge(a,i>2?arguments[2]:void 0,2),Xi(t,(function(t){e.push(o(t,n++))}))):Xi(t,e.push,{that:e}),new this(e))}});Ee({target:"Set",stat:!0},{of:function(){for(var t=arguments.length,r=new Array(t);t--;)r[t]=arguments[t];return new this(r)}});var Oa=function(){for(var t=de(this),r=ve(t.add),e=0,n=arguments.length;e<n;e++)r.call(t,arguments[e]);return t};Ee({target:"Set",proto:!0,real:!0,forced:Ye},{addAll:function(){return Oa.apply(this,arguments)}});var xa=function(){for(var t,r=de(this),e=ve(r.delete),n=!0,o=0,i=arguments.length;o<i;o++)t=e.call(r,arguments[o]),n=n&&t;return!!n};Ee({target:"Set",proto:!0,real:!0,forced:Ye},{deleteAll:function(){return xa.apply(this,arguments)}});var ja=function(t){var r=zi(t);if("function"!=typeof r)throw TypeError(String(t)+" is not iterable");return de(r.call(t))},Aa=ja;Ee({target:"Set",proto:!0,real:!0,forced:Ye},{every:function(t){var r=de(this),e=Aa(r),n=ge(t,arguments.length>1?arguments[1]:void 0,3);return!Xi(e,(function(t,e){if(!n(t,t,r))return e()}),{IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}});var Ia=sn("species"),Ta=function(t,r){var e,n=de(t).constructor;return void 0===n||null==(e=de(n)[Ia])?r:ve(e)};Ee({target:"Set",proto:!0,real:!0,forced:Ye},{difference:function(t){var r=de(this),e=new(Ta(r,Ze("Set")))(r),n=ve(e.delete);return Xi(t,(function(t){n.call(e,t)})),e}}),Ee({target:"Set",proto:!0,real:!0,forced:Ye},{filter:function(t){var r=de(this),e=Aa(r),n=ge(t,arguments.length>1?arguments[1]:void 0,3),o=new(Ta(r,Ze("Set"))),i=ve(o.add);return Xi(e,(function(t){n(t,t,r)&&i.call(o,t)}),{IS_ITERATOR:!0}),o}}),Ee({target:"Set",proto:!0,real:!0,forced:Ye},{find:function(t){var r=de(this),e=Aa(r),n=ge(t,arguments.length>1?arguments[1]:void 0,3);return Xi(e,(function(t,e){if(n(t,t,r))return e(t)}),{IS_ITERATOR:!0,INTERRUPTED:!0}).result}}),Ee({target:"Set",proto:!0,real:!0,forced:Ye},{intersection:function(t){var r=de(this),e=new(Ta(r,Ze("Set"))),n=ve(r.has),o=ve(e.add);return Xi(t,(function(t){n.call(r,t)&&o.call(e,t)})),e}}),Ee({target:"Set",proto:!0,real:!0,forced:Ye},{isDisjointFrom:function(t){var r=de(this),e=ve(r.has);return!Xi(t,(function(t,n){if(!0===e.call(r,t))return n()}),{INTERRUPTED:!0}).stopped}}),Ee({target:"Set",proto:!0,real:!0,forced:Ye},{isSubsetOf:function(t){var r=ja(this),e=de(t),n=e.has;return"function"!=typeof n&&(e=new(Ze("Set"))(t),n=ve(e.has)),!Xi(r,(function(t,r){if(!1===n.call(e,t))return r()}),{IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}}),Ee({target:"Set",proto:!0,real:!0,forced:Ye},{isSupersetOf:function(t){var r=de(this),e=ve(r.has);return!Xi(t,(function(t,n){if(!1===e.call(r,t))return n()}),{INTERRUPTED:!0}).stopped}}),Ee({target:"Set",proto:!0,real:!0,forced:Ye},{join:function(t){var r=de(this),e=Aa(r),n=void 0===t?",":String(t),o=[];return Xi(e,o.push,{that:o,IS_ITERATOR:!0}),o.join(n)}}),Ee({target:"Set",proto:!0,real:!0,forced:Ye},{map:function(t){var r=de(this),e=Aa(r),n=ge(t,arguments.length>1?arguments[1]:void 0,3),o=new(Ta(r,Ze("Set"))),i=ve(o.add);return Xi(e,(function(t){i.call(o,n(t,t,r))}),{IS_ITERATOR:!0}),o}}),Ee({target:"Set",proto:!0,real:!0,forced:Ye},{reduce:function(t){var r=de(this),e=Aa(r),n=arguments.length<2,o=n?void 0:arguments[1];if(ve(t),Xi(e,(function(e){n?(n=!1,o=e):o=t(o,e,e,r)}),{IS_ITERATOR:!0}),n)throw TypeError("Reduce of empty set with no initial value");return o}}),Ee({target:"Set",proto:!0,real:!0,forced:Ye},{some:function(t){var r=de(this),e=Aa(r),n=ge(t,arguments.length>1?arguments[1]:void 0,3);return Xi(e,(function(t,e){if(n(t,t,r))return e()}),{IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}}),Ee({target:"Set",proto:!0,real:!0,forced:Ye},{symmetricDifference:function(t){var r=de(this),e=new(Ta(r,Ze("Set")))(r),n=ve(e.delete),o=ve(e.add);return Xi(t,(function(t){n.call(e,t)||o.call(e,t)})),e}}),Ee({target:"Set",proto:!0,real:!0,forced:Ye},{union:function(t){var r=de(this),e=new(Ta(r,Ze("Set")))(r);return Xi(t,ve(e.add),{that:e}),e}});var Ra=Ea;var Pa={};Pa[yr("toStringTag")]="z";var Na="[object z]"===String(Pa),Ma=yr("toStringTag"),_a="Arguments"==ot(function(){return arguments}()),Da=Na?ot:function(t){var r,e,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,r){try{return t[r]}catch(Dl){}}(r=Object(t),Ma))?e:_a?ot(r):"Object"==(n=ot(r))&&"function"==typeof r.callee?"Arguments":n},ka=Na?{}.toString:function(){return"[object "+Da(this)+"]"};Na||B(Object.prototype,"toString",ka,{unsafe:!0});var Fa="toString",Ca=RegExp.prototype,La=Ca.toString,Ua=i((function(){return"/a/b"!=La.call({source:"a",flags:"b"})})),$a=La.name!=Fa;(Ua||$a)&&B(RegExp.prototype,Fa,(function(){var t=p(this),r=String(t.source),e=t.flags;return"/"+r+"/"+String(void 0===e&&t instanceof RegExp&&!("flags"in Ca)?Lt.call(t):e)}),{unsafe:!0});var za=Te.trim,Ga=Fr.parseInt,Wa=/^[+-]?0[Xx]/,Va=8!==Ga(Oe+"08")||22!==Ga(Oe+"0x16")?function(t,r){var e=za(String(t));return Ga(e,r>>>0||(Wa.test(e)?16:10))}:Ga;Ee({global:!0,forced:parseInt!=Va},{parseInt:Va});var Ya=he.parseInt;var Ja=[].slice,Ba=/MSIE .\./.test(tn),Ha=function(t){return function(r,e){var n=arguments.length>2,o=n?Ja.call(arguments,2):void 0;return t(n?function(){("function"==typeof r?r:Function(r)).apply(this,o)}:r,e)}};Ee({global:!0,bind:!0,forced:Ba},{setTimeout:Ha(Fr.setTimeout),setInterval:Ha(Fr.setInterval)});var Ka=he.setTimeout;var qa=function(t){if("number"!=typeof t&&"Number"!=ot(t))throw TypeError("Incorrect invocation");return+t},Qa=1..toPrecision;Ct({target:"Number",proto:!0,forced:i((function(){return"1"!==Qa.call(1,void 0)}))||!i((function(){Qa.call({})}))},{toPrecision:function(t){return void 0===t?Qa.call(qa(this)):Qa.call(qa(this),t)}});var Xa=function(t,r){var e=[][t];return!!e&&Cr((function(){e.call(null,r||function(){throw 1},1)}))},Za=ea.forEach,tc=Xa("forEach")?[].forEach:function(t){return Za(this,t,arguments.length>1?arguments[1]:void 0)};Ee({target:"Array",proto:!0,forced:[].forEach!=tc},{forEach:tc});var rc=mn("Array").forEach,ec=Array.prototype,nc={DOMTokenList:!0,NodeList:!0},oc=function(t){var r=t.forEach;return t===ec||t instanceof Array&&r===ec.forEach||nc.hasOwnProperty(hi(t))?rc:r};Ee({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991});Ee({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991});var ic=Qo.indexOf,ac=[].indexOf,cc=!!ac&&1/[1].indexOf(1,-0)<0,uc=Xa("indexOf");Ee({target:"Array",proto:!0,forced:cc||!uc},{indexOf:function(t){return cc?ac.apply(this,arguments)||0:ic(this,t,arguments.length>1?arguments[1]:void 0)}});var fc=mn("Array").indexOf,lc=Array.prototype,sc=function(t){var r=t.indexOf;return t===lc||t instanceof Array&&r===lc.indexOf?fc:r};var pc=yr("species"),hc=g.f,vc=jt.f,gc=J.enforce,dc=yr("match"),yc=o.RegExp,mc=yc.prototype,bc=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Sc=/a/g,wc=/a/g,Ec=new yc(Sc)!==Sc,Oc=$t.UNSUPPORTED_Y,xc=a&&(!Ec||Oc||Kt||qt||i((function(){return wc[dc]=!1,yc(Sc)!=Sc||yc(wc)==wc||"/a/i"!=yc(Sc,"i")})));if(kt("RegExp",xc)){for(var jc=function(t,r){var e,n,o,i,a,c,u=this instanceof jc,f=fo(t),l=void 0===r,s=[],p=t;if(!u&&f&&l&&t.constructor===jc)return t;if((f||t instanceof jc)&&(t=t.source,l&&(r="flags"in p?p.flags:Lt.call(p))),t=void 0===t?"":String(t),r=void 0===r?"":String(r),p=t,Kt&&"dotAll"in Sc&&(n=!!r&&r.indexOf("s")>-1)&&(r=r.replace(/s/g,"")),e=r,Oc&&"sticky"in Sc&&(o=!!r&&r.indexOf("y")>-1)&&(r=r.replace(/y/g,"")),qt&&(t=(i=function(t){for(var r,e=t.length,n=0,o="",i=[],a={},c=!1,u=!1,f=0,l="";n<=e;n++){if("\\"===(r=t.charAt(n)))r+=t.charAt(++n);else if("]"===r)c=!1;else if(!c)switch(!0){case"["===r:c=!0;break;case"("===r:bc.test(t.slice(n+1))&&(n+=2,u=!0),o+=r,f++;continue;case">"===r&&u:if(""===l||w(a,l))throw new SyntaxError("Invalid capture group name");a[l]=!0,i.push([l,f]),u=!1,l="";continue}u?l+=r:o+=r}return[o,i]}(t))[0],s=i[1]),a=Wn(yc(t,r),u?this:mc,jc),(n||o||s.length)&&(c=gc(a),n&&(c.dotAll=!0,c.raw=jc(function(t){for(var r,e=t.length,n=0,o="",i=!1;n<=e;n++)"\\"!==(r=t.charAt(n))?i||"."!==r?("["===r?i=!0:"]"===r&&(i=!1),o+=r):o+="[\\s\\S]":o+=r+t.charAt(++n);return o}(t),e)),o&&(c.sticky=!0),s.length&&(c.groups=s)),t!==p)try{y(a,"source",""===p?"(?:)":p)}catch(Dl){}return a},Ac=function(t){t in jc||hc(jc,t,{configurable:!0,get:function(){return yc[t]},set:function(r){yc[t]=r}})},Ic=vc(yc),Tc=0;Ic.length>Tc;)Ac(Ic[Tc++]);mc.constructor=jc,jc.prototype=mc,B(o,"RegExp",jc)}!function(t){var r=pt(t),e=g.f;a&&r&&!r[pc]&&e(r,pc,{configurable:!0,get:function(){return this}})}("RegExp");var Rc=Object.is||function(t,r){return t===r?0!==t||1/t==1/r:t!=t&&r!=r};Sr("search",(function(t,r,e){return[function(r){var e=m(this),n=null==r?void 0:r[t];return void 0!==n?n.call(r,e):new RegExp(r)[t](String(e))},function(t){var n=e(r,this,t);if(n.done)return n.value;var o=p(this),i=String(t),a=o.lastIndex;Rc(a,0)||(o.lastIndex=0);var c=Rr(o,i);return Rc(o.lastIndex,a)||(o.lastIndex=a),null===c?-1:c.index}]})),Sr("match",(function(t,r,e){return[function(r){var e=m(this),n=null==r?void 0:r[t];return void 0!==n?n.call(r,e):new RegExp(r)[t](String(e))},function(t){var n=e(r,this,t);if(n.done)return n.value;var o=p(this),i=String(t);if(!o.global)return Rr(o,i);var a=o.unicode;o.lastIndex=0;for(var c,u=[],f=0;null!==(c=Rr(o,i));){var l=String(c[0]);u[f]=l,""===l&&(o.lastIndex=Or(i,yt(o.lastIndex),a)),f++}return 0===f?null:u}]})),Ee({target:"Array",stat:!0},{isArray:ke});var Pc=he.Array.isArray,Nc=Math.floor,Mc=function(t,r){var e=t.length,n=Nc(e/2);return e<8?_c(t,r):Dc(Mc(t.slice(0,n),r),Mc(t.slice(n),r),r)},_c=function(t,r){for(var e,n,o=t.length,i=1;i<o;){for(n=i,e=t[i];n&&r(t[n-1],e)>0;)t[n]=t[--n];n!==i++&&(t[n]=e)}return t},Dc=function(t,r,e){for(var n=t.length,o=r.length,i=0,a=0,c=[];i<n||a<o;)i<n&&a<o?c.push(e(t[i],r[a])<=0?t[i++]:r[a++]):c.push(i<n?t[i++]:r[a++]);return c},kc=Mc,Fc=tn.match(/firefox\/(\d+)/i),Cc=!!Fc&&+Fc[1],Lc=/MSIE|Trident/.test(tn),Uc=tn.match(/AppleWebKit\/(\d+)\./),$c=!!Uc&&+Uc[1],zc=[],Gc=zc.sort,Wc=Cr((function(){zc.sort(void 0)})),Vc=Cr((function(){zc.sort(null)})),Yc=Xa("sort"),Jc=!Cr((function(){if(on)return on<70;if(!(Cc&&Cc>3)){if(Lc)return!0;if($c)return $c<603;var t,r,e,n,o="";for(t=65;t<76;t++){switch(r=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:e=3;break;case 68:case 71:e=4;break;default:e=2}for(n=0;n<47;n++)zc.push({k:r+n,v:e})}for(zc.sort((function(t,r){return r.v-t.v})),n=0;n<zc.length;n++)r=zc[n].k.charAt(0),o.charAt(o.length-1)!==r&&(o+=r);return"DGBEFHACIJK"!==o}}));Ee({target:"Array",proto:!0,forced:Wc||!Vc||!Yc||!Jc},{sort:function(t){void 0!==t&&ve(t);var r=Qr(this);if(Jc)return void 0===t?Gc.call(r):Gc.call(r,t);var e,n,o=[],i=We(r.length);for(n=0;n<i;n++)n in r&&o.push(r[n]);for(e=(o=kc(o,function(t){return function(r,e){return void 0===e?-1:void 0===r?1:void 0!==t?+t(r,e)||0:String(r)>String(e)?1:-1}}(t))).length,n=0;n<e;)r[n]=o[n++];for(;n<i;)delete r[n++];return r}});var Bc=mn("Array").sort,Hc=Array.prototype,Kc=function(t){var r=t.sort;return t===Hc||t instanceof Array&&r===Hc.sort?Bc:r},qc=Qo.includes;Ee({target:"Array",proto:!0},{includes:function(t){return qc(this,t,arguments.length>1?arguments[1]:void 0)}});var Qc=mn("Array").includes,Xc=sn("match"),Zc=function(t){if(function(t){var r;return Kr(t)&&(void 0!==(r=t[Xc])?!!r:"RegExp"==Vr(t))}(t))throw TypeError("The method doesn't accept regular expressions");return t},tu=sn("match");Ee({target:"String",proto:!0,forced:!function(t){var r=/./;try{"/./"[t](r)}catch(e){try{return r[tu]=!1,"/./"[t](r)}catch(n){}}return!1}("includes")},{includes:function(t){return!!~String(Br(this)).indexOf(Zc(t),arguments.length>1?arguments[1]:void 0)}});var ru=mn("String").includes,eu=Array.prototype,nu=String.prototype,ou=function(t){var r=t.includes;return t===eu||t instanceof Array&&r===eu.includes?Qc:"string"==typeof t||t===nu||t instanceof String&&r===nu.includes?ru:r},iu=Ze("JSON","stringify"),au=/[\uD800-\uDFFF]/g,cu=/^[\uD800-\uDBFF]$/,uu=/^[\uDC00-\uDFFF]$/,fu=function(t,r,e){var n=e.charAt(r-1),o=e.charAt(r+1);return cu.test(t)&&!uu.test(o)||uu.test(t)&&!cu.test(n)?"\\u"+t.charCodeAt(0).toString(16):t},lu=Cr((function(){return'"\\udf06\\ud834"'!==iu("\udf06\ud834")||'"\\udead"'!==iu("\udead")}));iu&&Ee({target:"JSON",stat:!0,forced:lu},{stringify:function(t,r,e){var n=iu.apply(null,arguments);return"string"==typeof n?n.replace(au,fu):n}}),he.JSON||(he.JSON={stringify:JSON.stringify});var su=function(t,r,e){return he.JSON.stringify.apply(null,arguments)};f