flexmonster 2.9.10 → 2.9.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/flexmonster.css +41 -19
- package/flexmonster.es5.full.js +2730 -2696
- package/flexmonster.es5.js +2692 -2664
- package/flexmonster.full.js +2389 -2362
- package/flexmonster.js +2352 -2331
- package/flexmonster.min.css +1 -1
- package/lib/canvg.min.js +2 -6
- package/lib/flexmonster.highcharts.js +13 -15
- package/lib/html2canvas.v1.min.js +3 -2
- package/lib/promise.min.js +1 -1
- package/lib/sha1.min.js +21 -13
- package/package.json +1 -1
- package/theme/accessible/flexmonster.css +41 -19
- package/theme/accessible/flexmonster.min.css +1 -1
- package/theme/blackorange/flexmonster.css +41 -19
- package/theme/blackorange/flexmonster.min.css +1 -1
- package/theme/brightorange/flexmonster.css +41 -19
- package/theme/brightorange/flexmonster.min.css +1 -1
- package/theme/dark/flexmonster.css +41 -19
- package/theme/dark/flexmonster.min.css +1 -1
- package/theme/flexmonster-base.less +45 -23
- package/theme/green/flexmonster.css +41 -19
- package/theme/green/flexmonster.min.css +1 -1
- package/theme/lightblue/flexmonster.css +41 -19
- package/theme/lightblue/flexmonster.min.css +1 -1
- package/theme/macos/flexmonster.css +41 -19
- package/theme/macos/flexmonster.min.css +1 -1
- package/theme/midnight/flexmonster.css +41 -19
- package/theme/midnight/flexmonster.min.css +1 -1
- package/theme/old/flexmonster.css +41 -19
- package/theme/old/flexmonster.min.css +1 -1
- package/theme/orange/flexmonster.css +41 -19
- package/theme/orange/flexmonster.min.css +1 -1
- package/theme/purple/flexmonster.css +41 -19
- package/theme/purple/flexmonster.min.css +1 -1
- package/theme/softdefault/flexmonster.css +41 -19
- package/theme/softdefault/flexmonster.min.css +1 -1
- package/theme/stripedblue/flexmonster.css +41 -19
- package/theme/stripedblue/flexmonster.min.css +1 -1
- package/theme/stripedteal/flexmonster.css +41 -19
- package/theme/stripedteal/flexmonster.min.css +1 -1
- package/theme/teal/flexmonster.css +41 -19
- package/theme/teal/flexmonster.min.css +1 -1
- package/theme/yellow/flexmonster.css +41 -19
- package/theme/yellow/flexmonster.min.css +1 -1
- package/toolbar/flexmonster.toolbar.js +4 -3
- package/types/flexmonster.d.ts +13 -13
package/lib/promise.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** @license Promise polyfill | Copyright (c) 2014 Taylor Hakes [https://github.com/taylorhakes/promise-polyfill] | MIT License [https://github.com/taylorhakes/promise-polyfill/blob/master/LICENSE] */
|
|
2
|
-
!function(t){"function"==typeof define&&define.amd?define(t):t()}((function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,e){return t(e={exports:{}},e.exports),e.exports}var r=function(t){return t&&t.Math==Math&&t},n=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||Function("return this")(),o=function(t){try{return!!t()}catch(t){return!0}},i=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),a=function(t){return"object"==typeof t?null!==t:"function"==typeof t},u=n.document,c=a(u)&&a(u.createElement),f=function(t){return c?u.createElement(t):{}},s=!i&&!o((function(){return 7!=Object.defineProperty(f("div"),"a",{get:function(){return 7}}).a})),l=function(t){if(!a(t))throw TypeError(String(t)+" is not an object");return t},p=function(t,e){if(!a(t))return t;var r,n;if(e&&"function"==typeof(r=t.toString)&&!a(n=r.call(t)))return n;if("function"==typeof(r=t.valueOf)&&!a(n=r.call(t)))return n;if(!e&&"function"==typeof(r=t.toString)&&!a(n=r.call(t)))return n;throw TypeError("Can't convert object to primitive value")},y=Object.defineProperty,h={f:i?y:function(t,e,r){if(l(t),e=p(e,!0),l(r),s)try{return y(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}},d=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},v=i?function(t,e,r){return h.f(t,e,d(1,r))}:function(t,e,r){return t[e]=r,t},g=function(t,e){try{v(n,t,e)}catch(r){n[t]=e}return e},b=n["__core-js_shared__"]||g("__core-js_shared__",{}),A=e((function(t){(t.exports=function(t,e){return b[t]||(b[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),m={}.hasOwnProperty,w=function(t,e){return m.call(t,e)},T=0,S=Math.random(),O=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++T+S).toString(36)},E=!!Object.getOwnPropertySymbols&&!o((function(){return!String(Symbol())})),j=E&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,M=A("wks"),L=n.Symbol,x=j?L:L&&L.withoutSetter||O,R=function(t){return w(M,t)||(E&&w(L,t)?M[t]=L[t]:M[t]=x("Symbol."+t)),M[t]},I={};I[R("toStringTag")]="z";var _="[object z]"===String(I),P=Function.toString;"function"!=typeof b.inspectSource&&(b.inspectSource=function(t){return P.call(t)});var B,C,F,U=b.inspectSource,D=n.WeakMap,k="function"==typeof D&&/native code/.test(U(D)),N=A("keys"),V=function(t){return N[t]||(N[t]=O(t))},W={},Y=n.WeakMap;if(k){var G=new Y,q=G.get,H=G.has,z=G.set;B=function(t,e){return z.call(G,t,e),e},C=function(t){return q.call(G,t)||{}},F=function(t){return H.call(G,t)}}else{var X=V("state");W[X]=!0,B=function(t,e){return v(t,X,e),e},C=function(t){return w(t,X)?t[X]:{}},F=function(t){return w(t,X)}}var K={set:B,get:C,has:F,enforce:function(t){return F(t)?C(t):B(t,{})},getterFor:function(t){return function(e){var r;if(!a(e)||(r=C(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},J=e((function(t){var e=K.get,r=K.enforce,o=String(String).split("String");(t.exports=function(t,e,i,a){var u=!!a&&!!a.unsafe,c=!!a&&!!a.enumerable,f=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof e||w(i,"name")||v(i,"name",e),r(i).source=o.join("string"==typeof e?e:"")),t!==n?(u?!f&&t[e]&&(c=!0):delete t[e],c?t[e]=i:v(t,e,i)):c?t[e]=i:g(e,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||U(this)}))})),Q={}.toString,Z=function(t){return Q.call(t).slice(8,-1)},$=R("toStringTag"),tt="Arguments"==Z(function(){return arguments}()),et=_?Z: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),$))?r:tt?Z(e):"Object"==(n=Z(e))&&"function"==typeof e.callee?"Arguments":n},rt=_?{}.toString:function(){return"[object "+et(this)+"]"};_||J(Object.prototype,"toString",rt,{unsafe:!0});var nt,ot,it,at=Math.ceil,ut=Math.floor,ct=function(t){return isNaN(t=+t)?0:(t>0?ut:at)(t)},ft=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},st=function(t){return function(e,r){var n,o,i=String(ft(e)),a=ct(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=i.charCodeAt(a))<55296||n>56319||a+1===u||(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}},lt={codeAt:st(!1),charAt:st(!0)},pt={}.propertyIsEnumerable,yt=Object.getOwnPropertyDescriptor,ht={f:yt&&!pt.call({1:2},1)?function(t){var e=yt(this,t);return!!e&&e.enumerable}:pt},dt="".split,vt=o((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==Z(t)?dt.call(t,""):Object(t)}:Object,gt=function(t){return vt(ft(t))},bt=Object.getOwnPropertyDescriptor,At={f:i?bt:function(t,e){if(t=gt(t),e=p(e,!0),s)try{return bt(t,e)}catch(t){}if(w(t,e))return d(!ht.f.call(t,e),t[e])}},mt=n,wt=function(t){return"function"==typeof t?t:void 0},Tt=function(t,e){return arguments.length<2?wt(mt[t])||wt(n[t]):mt[t]&&mt[t][e]||n[t]&&n[t][e]},St=Math.min,Ot=function(t){return t>0?St(ct(t),9007199254740991):0},Et=Math.max,jt=Math.min,Mt=function(t,e){var r=ct(t);return r<0?Et(r+e,0):jt(r,e)},Lt=function(t){return function(e,r,n){var o,i=gt(e),a=Ot(i.length),u=Mt(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},xt={includes:Lt(!0),indexOf:Lt(!1)},Rt=xt.indexOf,It=function(t,e){var r,n=gt(t),o=0,i=[];for(r in n)!w(W,r)&&w(n,r)&&i.push(r);for(;e.length>o;)w(n,r=e[o++])&&(~Rt(i,r)||i.push(r));return i},_t=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Pt=_t.concat("length","prototype"),Bt={f:Object.getOwnPropertyNames||function(t){return It(t,Pt)}},Ct={f:Object.getOwnPropertySymbols},Ft=Tt("Reflect","ownKeys")||function(t){var e=Bt.f(l(t)),r=Ct.f;return r?e.concat(r(t)):e},Ut=function(t,e){for(var r=Ft(e),n=h.f,o=At.f,i=0;i<r.length;i++){var a=r[i];w(t,a)||n(t,a,o(e,a))}},Dt=/#|\.prototype\./,kt=function(t,e){var r=Vt[Nt(t)];return r==Yt||r!=Wt&&("function"==typeof e?o(e):!!e)},Nt=kt.normalize=function(t){return String(t).replace(Dt,".").toLowerCase()},Vt=kt.data={},Wt=kt.NATIVE="N",Yt=kt.POLYFILL="P",Gt=kt,qt=At.f,Ht=function(t,e){var r,o,i,a,u,c=t.target,f=t.global,s=t.stat;if(r=f?n:s?n[c]||g(c,{}):(n[c]||{}).prototype)for(o in e){if(a=e[o],i=t.noTargetGet?(u=qt(r,o))&&u.value:r[o],!Gt(f?o:c+(s?".":"#")+o,t.forced)&&void 0!==i){if(typeof a==typeof i)continue;Ut(a,i)}(t.sham||i&&i.sham)&&v(a,"sham",!0),J(r,o,a,t)}},zt=function(t){return Object(ft(t))},Xt=!o((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Kt=V("IE_PROTO"),Jt=Object.prototype,Qt=Xt?Object.getPrototypeOf:function(t){return t=zt(t),w(t,Kt)?t[Kt]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?Jt:null},Zt=R("iterator"),$t=!1;[].keys&&("next"in(it=[].keys())?(ot=Qt(Qt(it)))!==Object.prototype&&(nt=ot):$t=!0),null==nt&&(nt={}),w(nt,Zt)||v(nt,Zt,(function(){return this}));var te,ee={IteratorPrototype:nt,BUGGY_SAFARI_ITERATORS:$t},re=Object.keys||function(t){return It(t,_t)},ne=i?Object.defineProperties:function(t,e){l(t);for(var r,n=re(e),o=n.length,i=0;o>i;)h.f(t,r=n[i++],e[r]);return t},oe=Tt("document","documentElement"),ie=V("IE_PROTO"),ae=function(){},ue=function(t){return"<script>"+t+"<\/script>"},ce=function(){try{te=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;ce=te?function(t){t.write(ue("")),t.close();var e=t.parentWindow.Object;return t=null,e}(te):((e=f("iframe")).style.display="none",oe.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(ue("document.F=Object")),t.close(),t.F);for(var r=_t.length;r--;)delete ce.prototype[_t[r]];return ce()};W[ie]=!0;var fe=Object.create||function(t,e){var r;return null!==t?(ae.prototype=l(t),r=new ae,ae.prototype=null,r[ie]=t):r=ce(),void 0===e?r:ne(r,e)},se=h.f,le=R("toStringTag"),pe=function(t,e,r){t&&!w(t=r?t:t.prototype,le)&&se(t,le,{configurable:!0,value:e})},ye={},he=ee.IteratorPrototype,de=function(){return this},ve=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,n){return l(r),function(t){if(!a(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(n),e?t.call(r,n):r.__proto__=n,r}}():void 0),ge=ee.IteratorPrototype,be=ee.BUGGY_SAFARI_ITERATORS,Ae=R("iterator"),me=function(){return this},we=function(t,e,r,n,o,i,a){!function(t,e,r){var n=e+" Iterator";t.prototype=fe(he,{next:d(1,r)}),pe(t,n,!1),ye[n]=de}(r,e,n);var u,c,f,s=function(t){if(t===o&&g)return g;if(!be&&t in y)return y[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},l=e+" Iterator",p=!1,y=t.prototype,h=y[Ae]||y["@@iterator"]||o&&y[o],g=!be&&h||s(o),b="Array"==e&&y.entries||h;if(b&&(u=Qt(b.call(new t)),ge!==Object.prototype&&u.next&&(Qt(u)!==ge&&(ve?ve(u,ge):"function"!=typeof u[Ae]&&v(u,Ae,me)),pe(u,l,!0))),"values"==o&&h&&"values"!==h.name&&(p=!0,g=function(){return h.call(this)}),y[Ae]!==g&&v(y,Ae,g),ye[e]=g,o)if(c={values:s("values"),keys:i?g:s("keys"),entries:s("entries")},a)for(f in c)(be||p||!(f in y))&&J(y,f,c[f]);else Ht({target:e,proto:!0,forced:be||p},c);return c},Te=lt.charAt,Se=K.set,Oe=K.getterFor("String Iterator");we(String,"String",(function(t){Se(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=Oe(this),r=e.string,n=e.index;return n>=r.length?{value:void 0,done:!0}:(t=Te(r,n),e.index+=t.length,{value:t,done:!1})}));var Ee={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},je=R("unscopables"),Me=Array.prototype;null==Me[je]&&h.f(Me,je,{configurable:!0,value:fe(null)});var Le=function(t){Me[je][t]=!0},xe=K.set,Re=K.getterFor("Array Iterator"),Ie=we(Array,"Array",(function(t,e){xe(this,{type:"Array Iterator",target:gt(t),index:0,kind:e})}),(function(){var t=Re(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");ye.Arguments=ye.Array,Le("keys"),Le("values"),Le("entries");var _e=R("iterator"),Pe=R("toStringTag"),Be=Ie.values;for(var Ce in Ee){var Fe=n[Ce],Ue=Fe&&Fe.prototype;if(Ue){if(Ue[_e]!==Be)try{v(Ue,_e,Be)}catch(t){Ue[_e]=Be}if(Ue[Pe]||v(Ue,Pe,Ce),Ee[Ce])for(var De in Ie)if(Ue[De]!==Ie[De])try{v(Ue,De,Ie[De])}catch(t){Ue[De]=Ie[De]}}}var ke=n.Promise,Ne=function(t,e,r){for(var n in e)J(t,n,e[n],r);return t},Ve=R("species"),We=function(t){var e=Tt(t),r=h.f;i&&e&&!e[Ve]&&r(e,Ve,{configurable:!0,get:function(){return this}})},Ye=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},Ge=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t},qe=R("iterator"),He=Array.prototype,ze=function(t){return void 0!==t&&(ye.Array===t||He[qe]===t)},Xe=function(t,e,r){if(Ye(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,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}},Ke=R("iterator"),Je=function(t){if(null!=t)return t[Ke]||t["@@iterator"]||ye[et(t)]},Qe=function(t,e,r,n){try{return n?e(l(r)[0],r[1]):e(r)}catch(e){var o=t.return;throw void 0!==o&&l(o.call(t)),e}},Ze=e((function(t){var e=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,r,n,o,i){var a,u,c,f,s,p,y,h=Xe(r,n,o?2:1);if(i)a=t;else{if("function"!=typeof(u=Je(t)))throw TypeError("Target is not iterable");if(ze(u)){for(c=0,f=Ot(t.length);f>c;c++)if((s=o?h(l(y=t[c])[0],y[1]):h(t[c]))&&s instanceof e)return s;return new e(!1)}a=u.call(t)}for(p=a.next;!(y=p.call(a)).done;)if("object"==typeof(s=Qe(a,h,y.value,o))&&s&&s instanceof e)return s;return new e(!1)}).stop=function(t){return new e(!0,t)}})),$e=R("iterator"),tr=!1;try{var er=0,rr={next:function(){return{done:!!er++}},return:function(){tr=!0}};rr[$e]=function(){return this},Array.from(rr,(function(){throw 2}))}catch(t){}var nr,or,ir,ar=function(t,e){if(!e&&!tr)return!1;var r=!1;try{var n={};n[$e]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(t){}return r},ur=R("species"),cr=function(t,e){var r,n=l(t).constructor;return void 0===n||null==(r=l(n)[ur])?e:Ye(r)},fr=Tt("navigator","userAgent")||"",sr=/(iphone|ipod|ipad).*applewebkit/i.test(fr),lr=n.location,pr=n.setImmediate,yr=n.clearImmediate,hr=n.process,dr=n.MessageChannel,vr=n.Dispatch,gr=0,br={},Ar=function(t){if(br.hasOwnProperty(t)){var e=br[t];delete br[t],e()}},mr=function(t){return function(){Ar(t)}},wr=function(t){Ar(t.data)},Tr=function(t){n.postMessage(t+"",lr.protocol+"//"+lr.host)};pr&&yr||(pr=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return br[++gr]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},nr(gr),gr},yr=function(t){delete br[t]},"process"==Z(hr)?nr=function(t){hr.nextTick(mr(t))}:vr&&vr.now?nr=function(t){vr.now(mr(t))}:dr&&!sr?(ir=(or=new dr).port2,or.port1.onmessage=wr,nr=Xe(ir.postMessage,ir,1)):!n.addEventListener||"function"!=typeof postMessage||n.importScripts||o(Tr)||"file:"===lr.protocol?nr="onreadystatechange"in f("script")?function(t){oe.appendChild(f("script")).onreadystatechange=function(){oe.removeChild(this),Ar(t)}}:function(t){setTimeout(mr(t),0)}:(nr=Tr,n.addEventListener("message",wr,!1)));var Sr,Or,Er,jr,Mr,Lr,xr,Rr,Ir={set:pr,clear:yr},_r=At.f,Pr=Ir.set,Br=n.MutationObserver||n.WebKitMutationObserver,Cr=n.process,Fr=n.Promise,Ur="process"==Z(Cr),Dr=_r(n,"queueMicrotask"),kr=Dr&&Dr.value;kr||(Sr=function(){var t,e;for(Ur&&(t=Cr.domain)&&t.exit();Or;){e=Or.fn,Or=Or.next;try{e()}catch(t){throw Or?jr():Er=void 0,t}}Er=void 0,t&&t.enter()},Ur?jr=function(){Cr.nextTick(Sr)}:Br&&!sr?(Mr=!0,Lr=document.createTextNode(""),new Br(Sr).observe(Lr,{characterData:!0}),jr=function(){Lr.data=Mr=!Mr}):Fr&&Fr.resolve?(xr=Fr.resolve(void 0),Rr=xr.then,jr=function(){Rr.call(xr,Sr)}):jr=function(){Pr.call(n,Sr)});var Nr,Vr,Wr=kr||function(t){var e={fn:t,next:void 0};Er&&(Er.next=e),Or||(Or=e,jr()),Er=e},Yr=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=Ye(e),this.reject=Ye(r)},Gr={f:function(t){return new Yr(t)}},qr=function(t,e){if(l(t),a(e)&&e.constructor===t)return e;var r=Gr.f(t);return(0,r.resolve)(e),r.promise},Hr=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},zr=n.process,Xr=zr&&zr.versions,Kr=Xr&&Xr.v8;Kr?Vr=(Nr=Kr.split("."))[0]+Nr[1]:fr&&(!(Nr=fr.match(/Edge\/(\d+)/))||Nr[1]>=74)&&(Nr=fr.match(/Chrome\/(\d+)/))&&(Vr=Nr[1]);var Jr,Qr,Zr,$r,tn=Vr&&+Vr,en=Ir.set,rn=R("species"),nn="Promise",on=K.get,an=K.set,un=K.getterFor(nn),cn=ke,fn=n.TypeError,sn=n.document,ln=n.process,pn=Tt("fetch"),yn=Gr.f,hn=yn,dn="process"==Z(ln),vn=!!(sn&&sn.createEvent&&n.dispatchEvent),gn=Gt(nn,(function(){if(!(U(cn)!==String(cn))){if(66===tn)return!0;if(!dn&&"function"!=typeof PromiseRejectionEvent)return!0}if(tn>=51&&/native code/.test(cn))return!1;var t=cn.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[rn]=e,!(t.then((function(){}))instanceof e)})),bn=gn||!ar((function(t){cn.all(t).catch((function(){}))})),An=function(t){var e;return!(!a(t)||"function"!=typeof(e=t.then))&&e},mn=function(t,e,r){if(!e.notified){e.notified=!0;var n=e.reactions;Wr((function(){for(var o=e.value,i=1==e.state,a=0;n.length>a;){var u,c,f,s=n[a++],l=i?s.ok:s.fail,p=s.resolve,y=s.reject,h=s.domain;try{l?(i||(2===e.rejection&&On(t,e),e.rejection=1),!0===l?u=o:(h&&h.enter(),u=l(o),h&&(h.exit(),f=!0)),u===s.promise?y(fn("Promise-chain cycle")):(c=An(u))?c.call(u,p,y):p(u)):y(o)}catch(t){h&&!f&&h.exit(),y(t)}}e.reactions=[],e.notified=!1,r&&!e.rejection&&Tn(t,e)}))}},wn=function(t,e,r){var o,i;vn?((o=sn.createEvent("Event")).promise=e,o.reason=r,o.initEvent(t,!1,!0),n.dispatchEvent(o)):o={promise:e,reason:r},(i=n["on"+t])?i(o):"unhandledrejection"===t&&function(t,e){var r=n.console;r&&r.error&&(1===arguments.length?r.error(t):r.error(t,e))}("Unhandled promise rejection",r)},Tn=function(t,e){en.call(n,(function(){var r,n=e.value;if(Sn(e)&&(r=Hr((function(){dn?ln.emit("unhandledRejection",n,t):wn("unhandledrejection",t,n)})),e.rejection=dn||Sn(e)?2:1,r.error))throw r.value}))},Sn=function(t){return 1!==t.rejection&&!t.parent},On=function(t,e){en.call(n,(function(){dn?ln.emit("rejectionHandled",t):wn("rejectionhandled",t,e.value)}))},En=function(t,e,r,n){return function(o){t(e,r,o,n)}},jn=function(t,e,r,n){e.done||(e.done=!0,n&&(e=n),e.value=r,e.state=2,mn(t,e,!0))},Mn=function(t,e,r,n){if(!e.done){e.done=!0,n&&(e=n);try{if(t===r)throw fn("Promise can't be resolved itself");var o=An(r);o?Wr((function(){var n={done:!1};try{o.call(r,En(Mn,t,n,e),En(jn,t,n,e))}catch(r){jn(t,n,r,e)}})):(e.value=r,e.state=1,mn(t,e,!1))}catch(r){jn(t,{done:!1},r,e)}}};gn&&(cn=function(t){Ge(this,cn,nn),Ye(t),Jr.call(this);var e=on(this);try{t(En(Mn,this,e),En(jn,this,e))}catch(t){jn(this,e,t)}},(Jr=function(t){an(this,{type:nn,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Ne(cn.prototype,{then:function(t,e){var r=un(this),n=yn(cr(this,cn));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=dn?ln.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&mn(this,r,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),Qr=function(){var t=new Jr,e=on(t);this.promise=t,this.resolve=En(Mn,t,e),this.reject=En(jn,t,e)},Gr.f=yn=function(t){return t===cn||t===Zr?new Qr(t):hn(t)},"function"==typeof ke&&($r=ke.prototype.then,J(ke.prototype,"then",(function(t,e){var r=this;return new cn((function(t,e){$r.call(r,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof pn&&Ht({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return qr(cn,pn.apply(n,arguments))}}))),Ht({global:!0,wrap:!0,forced:gn},{Promise:cn}),pe(cn,nn,!1),We(nn),Zr=Tt(nn),Ht({target:nn,stat:!0,forced:gn},{reject:function(t){var e=yn(this);return e.reject.call(void 0,t),e.promise}}),Ht({target:nn,stat:!0,forced:gn},{resolve:function(t){return qr(this,t)}}),Ht({target:nn,stat:!0,forced:bn},{all:function(t){var e=this,r=yn(e),n=r.resolve,o=r.reject,i=Hr((function(){var r=Ye(e.resolve),i=[],a=0,u=1;Ze(t,(function(t){var c=a++,f=!1;i.push(void 0),u++,r.call(e,t).then((function(t){f||(f=!0,i[c]=t,--u||n(i))}),o)})),--u||n(i)}));return i.error&&o(i.value),r.promise},race:function(t){var e=this,r=yn(e),n=r.reject,o=Hr((function(){var o=Ye(e.resolve);Ze(t,(function(t){o.call(e,t).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}}),Ht({target:"Promise",stat:!0},{allSettled:function(t){var e=this,r=Gr.f(e),n=r.resolve,o=r.reject,i=Hr((function(){var r=Ye(e.resolve),o=[],i=0,a=1;Ze(t,(function(t){var u=i++,c=!1;o.push(void 0),a++,r.call(e,t).then((function(t){c||(c=!0,o[u]={status:"fulfilled",value:t},--a||n(o))}),(function(t){c||(c=!0,o[u]={status:"rejected",reason:t},--a||n(o))}))})),--a||n(o)}));return i.error&&o(i.value),r.promise}});var Ln=!!ke&&o((function(){ke.prototype.finally.call({then:function(){}},(function(){}))}));Ht({target:"Promise",proto:!0,real:!0,forced:Ln},{finally:function(t){var e=cr(this,Tt("Promise")),r="function"==typeof t;return this.then(r?function(r){return qr(e,t()).then((function(){return r}))}:t,r?function(r){return qr(e,t()).then((function(){throw r}))}:t)}}),"function"!=typeof ke||ke.prototype.finally||J(ke.prototype,"finally",Tt("Promise").prototype.finally);mt.Promise;var xn=Array.isArray||function(t){return"Array"==Z(t)},Rn=R("species"),In=function(t,e){var r;return xn(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!xn(r.prototype)?a(r)&&null===(r=r[Rn])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)},_n=[].push,Pn=function(t){var e=1==t,r=2==t,n=3==t,o=4==t,i=6==t,a=5==t||i;return function(u,c,f,s){for(var l,p,y=zt(u),h=vt(y),d=Xe(c,f,3),v=Ot(h.length),g=0,b=s||In,A=e?b(u,v):r?b(u,0):void 0;v>g;g++)if((a||g in h)&&(p=d(l=h[g],g,y),t))if(e)A[g]=p;else if(p)switch(t){case 3:return!0;case 5:return l;case 6:return g;case 2:_n.call(A,l)}else if(o)return!1;return i?-1:n||o?o:A}},Bn={forEach:Pn(0),map:Pn(1),filter:Pn(2),some:Pn(3),every:Pn(4),find:Pn(5),findIndex:Pn(6)},Cn=R("species"),Fn=Object.defineProperty,Un={},Dn=function(t){throw t},kn=function(t,e){if(w(Un,t))return Un[t];e||(e={});var r=[][t],n=!!w(e,"ACCESSORS")&&e.ACCESSORS,a=w(e,0)?e[0]:Dn,u=w(e,1)?e[1]:void 0;return Un[t]=!!r&&!o((function(){if(n&&!i)return!0;var t={length:-1};n?Fn(t,1,{enumerable:!0,get:Dn}):t[1]=1,r.call(t,a,u)}))},Nn=Bn.map,Vn=function(t){return tn>=51||!o((function(){var e=[];return(e.constructor={})[Cn]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}("map"),Wn=kn("map");Ht({target:"Array",proto:!0,forced:!Vn||!Wn},{map:function(t){return Nn(this,t,arguments.length>1?arguments[1]:void 0)}});var Yn=Function.call,Gn=function(t,e,r){return Xe(Yn,n[t].prototype[e],r)};Gn("Array","map");Ht({target:"Array",stat:!0},{isArray:xn});mt.Array.isArray;var qn=function(t){return function(e,r,n,o){Ye(r);var i=zt(e),a=vt(i),u=Ot(i.length),c=t?u-1:0,f=t?-1:1;if(n<2)for(;;){if(c in a){o=a[c],c+=f;break}if(c+=f,t?c<0:u<=c)throw TypeError("Reduce of empty array with no initial value")}for(;t?c>=0:u>c;c+=f)c in a&&(o=r(o,a[c],c,i));return o}},Hn={left:qn(!1),right:qn(!0)},zn=function(t,e){var r=[][t];return!!r&&o((function(){r.call(null,e||function(){throw 1},1)}))},Xn=Hn.left,Kn=zn("reduce"),Jn=kn("reduce",{1:0});Ht({target:"Array",proto:!0,forced:!Kn||!Jn},{reduce:function(t){return Xn(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}});Gn("Array","reduce");var Qn=Bn.forEach,Zn=zn("forEach"),$n=kn("forEach"),to=Zn&&$n?[].forEach:function(t){return Qn(this,t,arguments.length>1?arguments[1]:void 0)};Ht({target:"Array",proto:!0,forced:[].forEach!=to},{forEach:to});Gn("Array","forEach");var eo=Bn.find,ro=!0,no=kn("find");"find"in[]&&Array(1).find((function(){ro=!1})),Ht({target:"Array",proto:!0,forced:ro||!no},{find:function(t){return eo(this,t,arguments.length>1?arguments[1]:void 0)}}),Le("find");Gn("Array","find");Ht({target:"Object",stat:!0,sham:!i},{create:fe});mt.Object;var oo=o((function(){re(1)}));Ht({target:"Object",stat:!0,forced:oo},{keys:function(t){return re(zt(t))}});mt.Object.keys;var io=ht.f,ao=function(t){return function(e){for(var r,n=gt(e),o=re(n),a=o.length,u=0,c=[];a>u;)r=o[u++],i&&!io.call(n,r)||c.push(t?[r,n[r]]:n[r]);return c}},uo={entries:ao(!0),values:ao(!1)}.values;Ht({target:"Object",stat:!0},{values:function(t){return uo(t)}});mt.Object.values;var co=Object.assign,fo=Object.defineProperty,so=!co||o((function(){if(i&&1!==co({b:1},co(fo({},"a",{enumerable:!0,get:function(){fo(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol();return t[r]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=co({},t)[r]||"abcdefghijklmnopqrst"!=re(co({},e)).join("")}))?function(t,e){for(var r=zt(t),n=arguments.length,o=1,a=Ct.f,u=ht.f;n>o;)for(var c,f=vt(arguments[o++]),s=a?re(f).concat(a(f)):re(f),l=s.length,p=0;l>p;)c=s[p++],i&&!u.call(f,c)||(r[c]=f[c]);return r}:co;Ht({target:"Object",stat:!0,forced:Object.assign!==so},{assign:so});mt.Object.assign;var lo="\t\n\v\f\r \u2028\u2029\ufeff",po="["+lo+"]",yo=RegExp("^"+po+po+"*"),ho=RegExp(po+po+"*$"),vo=function(t){return function(e){var r=String(ft(e));return 1&t&&(r=r.replace(yo,"")),2&t&&(r=r.replace(ho,"")),r}},go={start:vo(1),end:vo(2),trim:vo(3)},bo=function(t){return o((function(){return!!lo[t]()||"
"!="
"[t]()||lo[t].name!==t}))},Ao=go.trim;Ht({target:"String",proto:!0,forced:bo("trim")},{trim:function(){return Ao(this)}});Gn("String","trim");var mo=go.start,wo=bo("trimStart"),To=wo?function(){return mo(this)}:"".trimStart;Ht({target:"String",proto:!0,forced:wo},{trimStart:To,trimLeft:To});Gn("String","trimLeft");var So=go.end,Oo=bo("trimEnd"),Eo=Oo?function(){return So(this)}:"".trimEnd;Ht({target:"String",proto:!0,forced:Oo},{trimEnd:Eo,trimRight:Eo});Gn("String","trimRight");var jo=Math.floor;Ht({target:"Number",stat:!0},{isInteger:function(t){return!a(t)&&isFinite(t)&&jo(t)===t}});mt.Number.isInteger;var Mo,Lo="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView,xo=h.f,Ro=n.Int8Array,Io=Ro&&Ro.prototype,_o=n.Uint8ClampedArray,Po=_o&&_o.prototype,Bo=Ro&&Qt(Ro),Co=Io&&Qt(Io),Fo=Object.prototype,Uo=Fo.isPrototypeOf,Do=R("toStringTag"),ko=O("TYPED_ARRAY_TAG"),No=Lo&&!!ve&&"Opera"!==et(n.opera),Vo=!1,Wo={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Yo=function(t){return a(t)&&w(Wo,et(t))};for(Mo in Wo)n[Mo]||(No=!1);if((!No||"function"!=typeof Bo||Bo===Function.prototype)&&(Bo=function(){throw TypeError("Incorrect invocation")},No))for(Mo in Wo)n[Mo]&&ve(n[Mo],Bo);if((!No||!Co||Co===Fo)&&(Co=Bo.prototype,No))for(Mo in Wo)n[Mo]&&ve(n[Mo].prototype,Co);if(No&&Qt(Po)!==Co&&ve(Po,Co),i&&!w(Co,Do))for(Mo in Vo=!0,xo(Co,Do,{get:function(){return a(this)?this[ko]:void 0}}),Wo)n[Mo]&&v(n[Mo],ko,Mo);var Go={NATIVE_ARRAY_BUFFER_VIEWS:No,TYPED_ARRAY_TAG:Vo&&ko,aTypedArray:function(t){if(Yo(t))return t;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(t){if(ve){if(Uo.call(Bo,t))return t}else for(var e in Wo)if(w(Wo,Mo)){var r=n[e];if(r&&(t===r||Uo.call(r,t)))return t}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(t,e,r){if(i){if(r)for(var o in Wo){var a=n[o];a&&w(a.prototype,t)&&delete a.prototype[t]}Co[t]&&!r||J(Co,t,r?e:No&&Io[t]||e)}},exportTypedArrayStaticMethod:function(t,e,r){var o,a;if(i){if(ve){if(r)for(o in Wo)(a=n[o])&&w(a,t)&&delete a[t];if(Bo[t]&&!r)return;try{return J(Bo,t,r?e:No&&Ro[t]||e)}catch(t){}}for(o in Wo)!(a=n[o])||a[t]&&!r||J(a,t,e)}},isView:function(t){var e=et(t);return"DataView"===e||w(Wo,e)},isTypedArray:Yo,TypedArray:Bo,TypedArrayPrototype:Co},qo=Go.NATIVE_ARRAY_BUFFER_VIEWS,Ho=n.ArrayBuffer,zo=n.Int8Array,Xo=!qo||!o((function(){zo(1)}))||!o((function(){new zo(-1)}))||!ar((function(t){new zo,new zo(null),new zo(1.5),new zo(t)}),!0)||o((function(){return 1!==new zo(new Ho(2),1,void 0).length})),Ko=function(t){if(void 0===t)return 0;var e=ct(t),r=Ot(e);if(e!==r)throw RangeError("Wrong length or index");return r},Jo=Math.abs,Qo=Math.pow,Zo=Math.floor,$o=Math.log,ti=Math.LN2,ei=function(t,e,r){var n,o,i,a=new Array(r),u=8*r-e-1,c=(1<<u)-1,f=c>>1,s=23===e?Qo(2,-24)-Qo(2,-77):0,l=t<0||0===t&&1/t<0?1:0,p=0;for((t=Jo(t))!=t||t===1/0?(o=t!=t?1:0,n=c):(n=Zo($o(t)/ti),t*(i=Qo(2,-n))<1&&(n--,i*=2),(t+=n+f>=1?s/i:s*Qo(2,1-f))*i>=2&&(n++,i/=2),n+f>=c?(o=0,n=c):n+f>=1?(o=(t*i-1)*Qo(2,e),n+=f):(o=t*Qo(2,f-1)*Qo(2,e),n=0));e>=8;a[p++]=255&o,o/=256,e-=8);for(n=n<<e|o,u+=e;u>0;a[p++]=255&n,n/=256,u-=8);return a[--p]|=128*l,a},ri=function(t,e){var r,n=t.length,o=8*n-e-1,i=(1<<o)-1,a=i>>1,u=o-7,c=n-1,f=t[c--],s=127&f;for(f>>=7;u>0;s=256*s+t[c],c--,u-=8);for(r=s&(1<<-u)-1,s>>=-u,u+=e;u>0;r=256*r+t[c],c--,u-=8);if(0===s)s=1-a;else{if(s===i)return r?NaN:f?-1/0:1/0;r+=Qo(2,e),s-=a}return(f?-1:1)*r*Qo(2,s-e)},ni=function(t){for(var e=zt(this),r=Ot(e.length),n=arguments.length,o=Mt(n>1?arguments[1]:void 0,r),i=n>2?arguments[2]:void 0,a=void 0===i?r:Mt(i,r);a>o;)e[o++]=t;return e},oi=Bt.f,ii=h.f,ai=K.get,ui=K.set,ci=n.ArrayBuffer,fi=ci,si=n.DataView,li=si&&si.prototype,pi=Object.prototype,yi=n.RangeError,hi=ei,di=ri,vi=function(t){return[255&t]},gi=function(t){return[255&t,t>>8&255]},bi=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},Ai=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},mi=function(t){return hi(t,23,4)},wi=function(t){return hi(t,52,8)},Ti=function(t,e){ii(t.prototype,e,{get:function(){return ai(this)[e]}})},Si=function(t,e,r,n){var o=Ko(r),i=ai(t);if(o+e>i.byteLength)throw yi("Wrong index");var a=ai(i.buffer).bytes,u=o+i.byteOffset,c=a.slice(u,u+e);return n?c:c.reverse()},Oi=function(t,e,r,n,o,i){var a=Ko(r),u=ai(t);if(a+e>u.byteLength)throw yi("Wrong index");for(var c=ai(u.buffer).bytes,f=a+u.byteOffset,s=n(+o),l=0;l<e;l++)c[f+l]=s[i?l:e-l-1]};if(Lo){if(!o((function(){ci(1)}))||!o((function(){new ci(-1)}))||o((function(){return new ci,new ci(1.5),new ci(NaN),"ArrayBuffer"!=ci.name}))){for(var Ei,ji=(fi=function(t){return Ge(this,fi),new ci(Ko(t))}).prototype=ci.prototype,Mi=oi(ci),Li=0;Mi.length>Li;)(Ei=Mi[Li++])in fi||v(fi,Ei,ci[Ei]);ji.constructor=fi}ve&&Qt(li)!==pi&&ve(li,pi);var xi=new si(new fi(2)),Ri=li.setInt8;xi.setInt8(0,2147483648),xi.setInt8(1,2147483649),!xi.getInt8(0)&&xi.getInt8(1)||Ne(li,{setInt8:function(t,e){Ri.call(this,t,e<<24>>24)},setUint8:function(t,e){Ri.call(this,t,e<<24>>24)}},{unsafe:!0})}else fi=function(t){Ge(this,fi,"ArrayBuffer");var e=Ko(t);ui(this,{bytes:ni.call(new Array(e),0),byteLength:e}),i||(this.byteLength=e)},si=function(t,e,r){Ge(this,si,"DataView"),Ge(t,fi,"DataView");var n=ai(t).byteLength,o=ct(e);if(o<0||o>n)throw yi("Wrong offset");if(o+(r=void 0===r?n-o:Ot(r))>n)throw yi("Wrong length");ui(this,{buffer:t,byteLength:r,byteOffset:o}),i||(this.buffer=t,this.byteLength=r,this.byteOffset=o)},i&&(Ti(fi,"byteLength"),Ti(si,"buffer"),Ti(si,"byteLength"),Ti(si,"byteOffset")),Ne(si.prototype,{getInt8:function(t){return Si(this,1,t)[0]<<24>>24},getUint8:function(t){return Si(this,1,t)[0]},getInt16:function(t){var e=Si(this,2,t,arguments.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=Si(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return Ai(Si(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return Ai(Si(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return di(Si(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return di(Si(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){Oi(this,1,t,vi,e)},setUint8:function(t,e){Oi(this,1,t,vi,e)},setInt16:function(t,e){Oi(this,2,t,gi,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){Oi(this,2,t,gi,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){Oi(this,4,t,bi,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){Oi(this,4,t,bi,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){Oi(this,4,t,mi,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){Oi(this,8,t,wi,e,arguments.length>2?arguments[2]:void 0)}});pe(fi,"ArrayBuffer"),pe(si,"DataView");var Ii={ArrayBuffer:fi,DataView:si},_i=function(t,e){var r=function(t){var e=ct(t);if(e<0)throw RangeError("The argument can't be less than 0");return e}(t);if(r%e)throw RangeError("Wrong offset");return r},Pi=Go.aTypedArrayConstructor,Bi=function(t){var e,r,n,o,i,a,u=zt(t),c=arguments.length,f=c>1?arguments[1]:void 0,s=void 0!==f,l=Je(u);if(null!=l&&!ze(l))for(a=(i=l.call(u)).next,u=[];!(o=a.call(i)).done;)u.push(o.value);for(s&&c>2&&(f=Xe(f,arguments[2],2)),r=Ot(u.length),n=new(Pi(this))(r),e=0;r>e;e++)n[e]=s?f(u[e],e):u[e];return n};e((function(t){var e=Bt.f,r=Bn.forEach,o=K.get,u=K.set,c=h.f,f=At.f,s=Math.round,l=n.RangeError,y=Ii.ArrayBuffer,g=Ii.DataView,b=Go.NATIVE_ARRAY_BUFFER_VIEWS,A=Go.TYPED_ARRAY_TAG,m=Go.TypedArray,T=Go.TypedArrayPrototype,S=Go.aTypedArrayConstructor,O=Go.isTypedArray,E=function(t,e){for(var r=0,n=e.length,o=new(S(t))(n);n>r;)o[r]=e[r++];return o},j=function(t,e){c(t,e,{get:function(){return o(this)[e]}})},M=function(t){var e;return t instanceof y||"ArrayBuffer"==(e=et(t))||"SharedArrayBuffer"==e},L=function(t,e){return O(t)&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},x=function(t,e){return L(t,e=p(e,!0))?d(2,t[e]):f(t,e)},R=function(t,e,r){return!(L(t,e=p(e,!0))&&a(r)&&w(r,"value"))||w(r,"get")||w(r,"set")||r.configurable||w(r,"writable")&&!r.writable||w(r,"enumerable")&&!r.enumerable?c(t,e,r):(t[e]=r.value,t)};i?(b||(At.f=x,h.f=R,j(T,"buffer"),j(T,"byteOffset"),j(T,"byteLength"),j(T,"length")),Ht({target:"Object",stat:!0,forced:!b},{getOwnPropertyDescriptor:x,defineProperty:R}),t.exports=function(t,i,f){var p=t.match(/\d+$/)[0]/8,h=t+(f?"Clamped":"")+"Array",d="get"+t,w="set"+t,S=n[h],j=S,L=j&&j.prototype,x={},R=function(t,e){c(t,e,{get:function(){return function(t,e){var r=o(t);return r.view[d](e*p+r.byteOffset,!0)}(this,e)},set:function(t){return function(t,e,r){var n=o(t);f&&(r=(r=s(r))<0?0:r>255?255:255&r),n.view[w](e*p+n.byteOffset,r,!0)}(this,e,t)},enumerable:!0})};b?Xo&&(j=i((function(t,e,r,n){return Ge(t,j,h),function(t,e,r){var n,o;return ve&&"function"==typeof(n=e.constructor)&&n!==r&&a(o=n.prototype)&&o!==r.prototype&&ve(t,o),t}(a(e)?M(e)?void 0!==n?new S(e,_i(r,p),n):void 0!==r?new S(e,_i(r,p)):new S(e):O(e)?E(j,e):Bi.call(j,e):new S(Ko(e)),t,j)})),ve&&ve(j,m),r(e(S),(function(t){t in j||v(j,t,S[t])})),j.prototype=L):(j=i((function(t,e,r,n){Ge(t,j,h);var o,i,c,f=0,s=0;if(a(e)){if(!M(e))return O(e)?E(j,e):Bi.call(j,e);o=e,s=_i(r,p);var d=e.byteLength;if(void 0===n){if(d%p)throw l("Wrong length");if((i=d-s)<0)throw l("Wrong length")}else if((i=Ot(n)*p)+s>d)throw l("Wrong length");c=i/p}else c=Ko(e),o=new y(i=c*p);for(u(t,{buffer:o,byteOffset:s,byteLength:i,length:c,view:new g(o)});f<c;)R(t,f++)})),ve&&ve(j,m),L=j.prototype=fe(T)),L.constructor!==j&&v(L,"constructor",j),A&&v(L,A,h),x[h]=j,Ht({global:!0,forced:j!=S,sham:!b},x),"BYTES_PER_ELEMENT"in j||v(j,"BYTES_PER_ELEMENT",p),"BYTES_PER_ELEMENT"in L||v(L,"BYTES_PER_ELEMENT",p),We(h)}):t.exports=function(){}}))("Uint8",(function(t){return function(e,r,n){return t(this,e,r,n)}})),(0,Go.exportTypedArrayStaticMethod)("from",Bi,Xo);var Ci=Go.aTypedArrayConstructor;(0,Go.exportTypedArrayStaticMethod)("of",(function(){for(var t=0,e=arguments.length,r=new(Ci(this))(e);e>t;)r[t]=arguments[t++];return r}),Xo);var Fi=Math.min,Ui=[].copyWithin||function(t,e){var r=zt(this),n=Ot(r.length),o=Mt(t,n),i=Mt(e,n),a=arguments.length>2?arguments[2]:void 0,u=Fi((void 0===a?n:Mt(a,n))-i,n-o),c=1;for(i<o&&o<i+u&&(c=-1,i+=u-1,o+=u-1);u-- >0;)i in r?r[o]=r[i]:delete r[o],o+=c,i+=c;return r},Di=Go.aTypedArray;(0,Go.exportTypedArrayMethod)("copyWithin",(function(t,e){return Ui.call(Di(this),t,e,arguments.length>2?arguments[2]:void 0)}));var ki=Bn.every,Ni=Go.aTypedArray;(0,Go.exportTypedArrayMethod)("every",(function(t){return ki(Ni(this),t,arguments.length>1?arguments[1]:void 0)}));var Vi=Go.aTypedArray;(0,Go.exportTypedArrayMethod)("fill",(function(t){return ni.apply(Vi(this),arguments)}));var Wi=Bn.filter,Yi=Go.aTypedArray,Gi=Go.aTypedArrayConstructor;(0,Go.exportTypedArrayMethod)("filter",(function(t){for(var e=Wi(Yi(this),t,arguments.length>1?arguments[1]:void 0),r=cr(this,this.constructor),n=0,o=e.length,i=new(Gi(r))(o);o>n;)i[n]=e[n++];return i}));var qi=Bn.find,Hi=Go.aTypedArray;(0,Go.exportTypedArrayMethod)("find",(function(t){return qi(Hi(this),t,arguments.length>1?arguments[1]:void 0)}));var zi=Bn.findIndex,Xi=Go.aTypedArray;(0,Go.exportTypedArrayMethod)("findIndex",(function(t){return zi(Xi(this),t,arguments.length>1?arguments[1]:void 0)}));var Ki=Bn.forEach,Ji=Go.aTypedArray;(0,Go.exportTypedArrayMethod)("forEach",(function(t){Ki(Ji(this),t,arguments.length>1?arguments[1]:void 0)}));var Qi=xt.includes,Zi=Go.aTypedArray;(0,Go.exportTypedArrayMethod)("includes",(function(t){return Qi(Zi(this),t,arguments.length>1?arguments[1]:void 0)}));var $i=xt.indexOf,ta=Go.aTypedArray;(0,Go.exportTypedArrayMethod)("indexOf",(function(t){return $i(ta(this),t,arguments.length>1?arguments[1]:void 0)}));var ea=Go.aTypedArray,ra=[].join;(0,Go.exportTypedArrayMethod)("join",(function(t){return ra.apply(ea(this),arguments)}));var na=Math.min,oa=[].lastIndexOf,ia=!!oa&&1/[1].lastIndexOf(1,-0)<0,aa=zn("lastIndexOf"),ua=kn("indexOf",{ACCESSORS:!0,1:0}),ca=ia||!aa||!ua?function(t){if(ia)return oa.apply(this,arguments)||0;var e=gt(this),r=Ot(e.length),n=r-1;for(arguments.length>1&&(n=na(n,ct(arguments[1]))),n<0&&(n=r+n);n>=0;n--)if(n in e&&e[n]===t)return n||0;return-1}:oa,fa=Go.aTypedArray;(0,Go.exportTypedArrayMethod)("lastIndexOf",(function(t){return ca.apply(fa(this),arguments)}));var sa=Bn.map,la=Go.aTypedArray,pa=Go.aTypedArrayConstructor;(0,Go.exportTypedArrayMethod)("map",(function(t){return sa(la(this),t,arguments.length>1?arguments[1]:void 0,(function(t,e){return new(pa(cr(t,t.constructor)))(e)}))}));var ya=Hn.left,ha=Go.aTypedArray;(0,Go.exportTypedArrayMethod)("reduce",(function(t){return ya(ha(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}));var da=Hn.right,va=Go.aTypedArray;(0,Go.exportTypedArrayMethod)("reduceRight",(function(t){return da(va(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}));var ga=Go.aTypedArray,ba=Go.exportTypedArrayMethod,Aa=Math.floor;ba("reverse",(function(){for(var t,e=ga(this).length,r=Aa(e/2),n=0;n<r;)t=this[n],this[n++]=this[--e],this[e]=t;return this}));var ma=Go.aTypedArray;(0,Go.exportTypedArrayMethod)("set",(function(t){ma(this);var e=_i(arguments.length>1?arguments[1]:void 0,1),r=this.length,n=zt(t),o=Ot(n.length),i=0;if(o+e>r)throw RangeError("Wrong length");for(;i<o;)this[e+i]=n[i++]}),o((function(){new Int8Array(1).set({})})));var wa=Go.aTypedArray,Ta=Go.aTypedArrayConstructor,Sa=[].slice;(0,Go.exportTypedArrayMethod)("slice",(function(t,e){for(var r=Sa.call(wa(this),t,e),n=cr(this,this.constructor),o=0,i=r.length,a=new(Ta(n))(i);i>o;)a[o]=r[o++];return a}),o((function(){new Int8Array(1).slice()})));var Oa=Bn.some,Ea=Go.aTypedArray;(0,Go.exportTypedArrayMethod)("some",(function(t){return Oa(Ea(this),t,arguments.length>1?arguments[1]:void 0)}));var ja=Go.aTypedArray,Ma=[].sort;(0,Go.exportTypedArrayMethod)("sort",(function(t){return Ma.call(ja(this),t)}));var La=Go.aTypedArray;(0,Go.exportTypedArrayMethod)("subarray",(function(t,e){var r=La(this),n=r.length,o=Mt(t,n);return new(cr(r,r.constructor))(r.buffer,r.byteOffset+o*r.BYTES_PER_ELEMENT,Ot((void 0===e?n:Mt(e,n))-o))}));var xa=n.Int8Array,Ra=Go.aTypedArray,Ia=Go.exportTypedArrayMethod,_a=[].toLocaleString,Pa=[].slice,Ba=!!xa&&o((function(){_a.call(new xa(1))}));Ia("toLocaleString",(function(){return _a.apply(Ba?Pa.call(Ra(this)):Ra(this),arguments)}),o((function(){return[1,2].toLocaleString()!=new xa([1,2]).toLocaleString()}))||!o((function(){xa.prototype.toLocaleString.call([1,2])})));var Ca=Go.exportTypedArrayMethod,Fa=n.Uint8Array,Ua=Fa&&Fa.prototype||{},Da=[].toString,ka=[].join;o((function(){Da.call({})}))&&(Da=function(){return ka.call(this)});var Na=Ua.toString!=Da;Ca("toString",Da,Na);var Va=R("iterator"),Wa=n.Uint8Array,Ya=Ie.values,Ga=Ie.keys,qa=Ie.entries,Ha=Go.aTypedArray,za=Go.exportTypedArrayMethod,Xa=Wa&&Wa.prototype[Va],Ka=!!Xa&&("values"==Xa.name||null==Xa.name),Ja=function(){return Ya.call(Ha(this))};za("entries",(function(){return qa.call(Ha(this))})),za("keys",(function(){return Ga.call(Ha(this))})),za("values",Ja,!Ka),za(Va,Ja,!Ka);n.Uint8Array;var Qa=function(){return"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this}(),Za=Qa.BlobBuilder||Qa.WebKitBlobBuilder||Qa.MSBlobBuilder||Qa.MozBlobBuilder;Qa.URL=Qa.URL||Qa.webkitURL||function(t,e){return(e=document.createElement("a")).href=t,e};var $a=Qa.Blob,tu=URL.createObjectURL,eu=URL.revokeObjectURL,ru=Qa.Symbol&&Qa.Symbol.toStringTag,nu=!1,ou=!1,iu=!!Qa.ArrayBuffer,au=Za&&Za.prototype.append&&Za.prototype.getBlob;try{nu=2===new Blob(["ä"]).size,ou=2===new Blob([new Uint8Array([1,2])]).size}catch(t){}function uu(t){return t.map((function(t){if(t.buffer instanceof ArrayBuffer){var e=t.buffer;if(t.byteLength!==e.byteLength){var r=new Uint8Array(t.byteLength);r.set(new Uint8Array(e,t.byteOffset,t.byteLength)),e=r.buffer}return e}return t}))}function cu(t,e){e=e||{};var r=new Za;return uu(t).forEach((function(t){r.append(t)})),e.type?r.getBlob(e.type):r.getBlob()}function fu(t,e){return new $a(uu(t),e||{})}if(Qa.Blob&&(cu.prototype=Blob.prototype,fu.prototype=Blob.prototype),ru)try{File.prototype[ru]="File",Blob.prototype[ru]="Blob",FileReader.prototype[ru]="FileReader"}catch(t){}function su(){var t=!!Qa.ActiveXObject||"-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style,e=Qa.XMLHttpRequest&&Qa.XMLHttpRequest.prototype.send;t&&e&&(XMLHttpRequest.prototype.send=function(t){t instanceof Blob?(this.setRequestHeader("Content-Type",t.type),e.call(this,t)):e.call(this,t)});try{new File([],"")}catch(t){try{var r=new Function('class File extends Blob {constructor(chunks, name, opts) {opts = opts || {};super(chunks, opts || {});this.name = name;this.lastModifiedDate = opts.lastModified ? new Date(opts.lastModified) : new Date;this.lastModified = +this.lastModifiedDate;}};return new File([], ""), File')();Qa.File=r}catch(t){r=function(t,e,r){var n=new Blob(t,r),o=r&&void 0!==r.lastModified?new Date(r.lastModified):new Date;return n.name=e,n.lastModifiedDate=o,n.lastModified=+o,n.toString=function(){return"[object File]"},ru&&(n[ru]="File"),n};Qa.File=r}}}nu?(su(),Qa.Blob=ou?Qa.Blob:fu):au?(su(),Qa.Blob=cu):function(){function t(t){for(var e=[],r=0;r<t.length;r++){var n=t.charCodeAt(r);n<128?e.push(n):n<2048?e.push(192|n>>6,128|63&n):n<55296||n>=57344?e.push(224|n>>12,128|n>>6&63,128|63&n):(r++,n=65536+((1023&n)<<10|1023&t.charCodeAt(r)),e.push(240|n>>18,128|n>>12&63,128|n>>6&63,128|63&n))}return e}function e(t){var e,r,n,o,i,a;for(e="",n=t.length,r=0;r<n;)switch((o=t[r++])>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:e+=String.fromCharCode(o);break;case 12:case 13:i=t[r++],e+=String.fromCharCode((31&o)<<6|63&i);break;case 14:i=t[r++],a=t[r++],e+=String.fromCharCode((15&o)<<12|(63&i)<<6|(63&a)<<0)}return e}function r(t){for(var e=new Array(t.byteLength),r=new Uint8Array(t),n=e.length;n--;)e[n]=r[n];return e}function n(t){for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r=[],n=0;n<t.length;n+=3){var o=t[n],i=n+1<t.length,a=i?t[n+1]:0,u=n+2<t.length,c=u?t[n+2]:0,f=o>>2,s=(3&o)<<4|a>>4,l=(15&a)<<2|c>>6,p=63&c;u||(p=64,i||(l=64)),r.push(e[f],e[s],e[l],e[p])}return r.join("")}var o=Object.create||function(t){function e(){}return e.prototype=t,new e};if(iu)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],a=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function u(e,n){for(var o=0,i=(e=e||[]).length;o<i;o++){var c=e[o];c instanceof u?e[o]=c._buffer:"string"==typeof c?e[o]=t(c):iu&&(ArrayBuffer.prototype.isPrototypeOf(c)||a(c))?e[o]=r(c):iu&&((f=c)&&DataView.prototype.isPrototypeOf(f))?e[o]=r(c.buffer):e[o]=t(String(c))}var f;this._buffer=[].concat.apply([],e),this.size=this._buffer.length,this.type=n&&n.type||""}function c(t,e,r){r=r||{};var n=u.call(this,t,r)||this;return n.name=e,n.lastModifiedDate=r.lastModified?new Date(r.lastModified):new Date,n.lastModified=+n.lastModifiedDate,n}if(u.prototype.slice=function(t,e,r){return new u([this._buffer.slice(t||0,e||this._buffer.length)],{type:r})},u.prototype.toString=function(){return"[object Blob]"},c.prototype=o(u.prototype),c.prototype.constructor=c,Object.setPrototypeOf)Object.setPrototypeOf(c,u);else try{c.__proto__=u}catch(t){}function f(){if(!(this instanceof f))throw new TypeError("Failed to construct 'FileReader': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");var t=document.createDocumentFragment();this.addEventListener=t.addEventListener,this.dispatchEvent=function(e){var r=this["on"+e.type];"function"==typeof r&&r(e),t.dispatchEvent(e)},this.removeEventListener=t.removeEventListener}function s(t,e,r){if(!(e instanceof u))throw new TypeError("Failed to execute '"+r+"' on 'FileReader': parameter 1 is not of type 'Blob'.");t.result="",setTimeout((function(){this.readyState=f.LOADING,t.dispatchEvent(new Event("load")),t.dispatchEvent(new Event("loadend"))}))}c.prototype.toString=function(){return"[object File]"},f.EMPTY=0,f.LOADING=1,f.DONE=2,f.prototype.error=null,f.prototype.onabort=null,f.prototype.onerror=null,f.prototype.onload=null,f.prototype.onloadend=null,f.prototype.onloadstart=null,f.prototype.onprogress=null,f.prototype.readAsDataURL=function(t){s(this,t,"readAsDataURL"),this.result="data:"+t.type+";base64,"+n(t._buffer)},f.prototype.readAsText=function(t){s(this,t,"readAsText"),this.result=e(t._buffer)},f.prototype.readAsArrayBuffer=function(t){s(this,t,"readAsText"),this.result=t._buffer.slice()},f.prototype.abort=function(){},URL.createObjectURL=function(t){return t instanceof u?"data:"+t.type+";base64,"+n(t._buffer):tu.call(URL,t)},URL.revokeObjectURL=function(t){eu&&eu.call(URL,t)};var l=Qa.XMLHttpRequest&&Qa.XMLHttpRequest.prototype.send;l&&(XMLHttpRequest.prototype.send=function(t){t instanceof u?(this.setRequestHeader("Content-Type",t.type),l.call(this,e(t._buffer))):l.call(this,t)}),Qa.FileReader=f,Qa.File=c,Qa.Blob=u}();var lu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";void 0===Qa.btoa&&(Qa.btoa=function(t){var e,r,n,o,i,a=0,u=0,c="",f=[];if(!t)return t;do{e=(i=t.charCodeAt(a++)<<16|t.charCodeAt(a++)<<8|t.charCodeAt(a++))>>18&63,r=i>>12&63,n=i>>6&63,o=63&i,f[u++]=lu.charAt(e)+lu.charAt(r)+lu.charAt(n)+lu.charAt(o)}while(a<t.length);c=f.join("");var s=t.length%3;return(s?c.slice(0,s-3):c)+"===".slice(s||3)}),void 0===Qa.atob&&(Qa.atob=function(t){var e,r,n,o,i,a,u=0,c=0,f=[];if(!t)return t;t+="";do{e=(a=lu.indexOf(t.charAt(u++))<<18|lu.indexOf(t.charAt(u++))<<12|(o=lu.indexOf(t.charAt(u++)))<<6|(i=lu.indexOf(t.charAt(u++))))>>16&255,r=a>>8&255,n=255&a,f[c++]=64==o?String.fromCharCode(e):64==i?String.fromCharCode(e,r):String.fromCharCode(e,r,n)}while(u<t.length);return f.join("")})}));
|
|
2
|
+
!function(t){"function"==typeof define&&define.amd?define(t):t()}((function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,e){return t(e={exports:{}},e.exports),e.exports}var r=function(t){return t&&t.Math==Math&&t},n=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||Function("return this")(),o=function(t){try{return!!t()}catch(t){return!0}},i=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),a=function(t){return"object"==typeof t?null!==t:"function"==typeof t},u=n.document,c=a(u)&&a(u.createElement),f=function(t){return c?u.createElement(t):{}},s=!i&&!o((function(){return 7!=Object.defineProperty(f("div"),"a",{get:function(){return 7}}).a})),l=function(t){if(!a(t))throw TypeError(String(t)+" is not an object");return t},p=function(t,e){if(!a(t))return t;var r,n;if(e&&"function"==typeof(r=t.toString)&&!a(n=r.call(t)))return n;if("function"==typeof(r=t.valueOf)&&!a(n=r.call(t)))return n;if(!e&&"function"==typeof(r=t.toString)&&!a(n=r.call(t)))return n;throw TypeError("Can't convert object to primitive value")},y=Object.defineProperty,h={f:i?y:function(t,e,r){if(l(t),e=p(e,!0),l(r),s)try{return y(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}},d=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},v=i?function(t,e,r){return h.f(t,e,d(1,r))}:function(t,e,r){return t[e]=r,t},g=function(t,e){try{v(n,t,e)}catch(r){n[t]=e}return e},b=n["__core-js_shared__"]||g("__core-js_shared__",{}),A=e((function(t){(t.exports=function(t,e){return b[t]||(b[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),m={}.hasOwnProperty,w=function(t,e){return m.call(t,e)},T=0,S=Math.random(),O=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++T+S).toString(36)},E=!!Object.getOwnPropertySymbols&&!o((function(){return!String(Symbol())})),j=E&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,M=A("wks"),L=n.Symbol,x=j?L:L&&L.withoutSetter||O,R=function(t){return w(M,t)||(E&&w(L,t)?M[t]=L[t]:M[t]=x("Symbol."+t)),M[t]},I={};I[R("toStringTag")]="z";var _="[object z]"===String(I),P=Function.toString;"function"!=typeof b.inspectSource&&(b.inspectSource=function(t){return P.call(t)});var B,C,F,U=b.inspectSource,D=n.WeakMap,k="function"==typeof D&&/native code/.test(U(D)),N=A("keys"),V=function(t){return N[t]||(N[t]=O(t))},W={},Y=n.WeakMap;if(k){var G=new Y,q=G.get,H=G.has,z=G.set;B=function(t,e){return z.call(G,t,e),e},C=function(t){return q.call(G,t)||{}},F=function(t){return H.call(G,t)}}else{var X=V("state");W[X]=!0,B=function(t,e){return v(t,X,e),e},C=function(t){return w(t,X)?t[X]:{}},F=function(t){return w(t,X)}}var K={set:B,get:C,has:F,enforce:function(t){return F(t)?C(t):B(t,{})},getterFor:function(t){return function(e){var r;if(!a(e)||(r=C(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},J=e((function(t){var e=K.get,r=K.enforce,o=String(String).split("String");(t.exports=function(t,e,i,a){var u=!!a&&!!a.unsafe,c=!!a&&!!a.enumerable,f=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof e||w(i,"name")||v(i,"name",e),r(i).source=o.join("string"==typeof e?e:"")),t!==n?(u?!f&&t[e]&&(c=!0):delete t[e],c?t[e]=i:v(t,e,i)):c?t[e]=i:g(e,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||U(this)}))})),Q={}.toString,Z=function(t){return Q.call(t).slice(8,-1)},$=R("toStringTag"),tt="Arguments"==Z(function(){return arguments}()),et=_?Z: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),$))?r:tt?Z(e):"Object"==(n=Z(e))&&"function"==typeof e.callee?"Arguments":n},rt=_?{}.toString:function(){return"[object "+et(this)+"]"};_||J(Object.prototype,"toString",rt,{unsafe:!0});var nt,ot,it,at=Math.ceil,ut=Math.floor,ct=function(t){return isNaN(t=+t)?0:(t>0?ut:at)(t)},ft=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},st=function(t){return function(e,r){var n,o,i=String(ft(e)),a=ct(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=i.charCodeAt(a))<55296||n>56319||a+1===u||(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}},lt={codeAt:st(!1),charAt:st(!0)},pt={}.propertyIsEnumerable,yt=Object.getOwnPropertyDescriptor,ht={f:yt&&!pt.call({1:2},1)?function(t){var e=yt(this,t);return!!e&&e.enumerable}:pt},dt="".split,vt=o((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==Z(t)?dt.call(t,""):Object(t)}:Object,gt=function(t){return vt(ft(t))},bt=Object.getOwnPropertyDescriptor,At={f:i?bt:function(t,e){if(t=gt(t),e=p(e,!0),s)try{return bt(t,e)}catch(t){}if(w(t,e))return d(!ht.f.call(t,e),t[e])}},mt=n,wt=function(t){return"function"==typeof t?t:void 0},Tt=function(t,e){return arguments.length<2?wt(mt[t])||wt(n[t]):mt[t]&&mt[t][e]||n[t]&&n[t][e]},St=Math.min,Ot=function(t){return t>0?St(ct(t),9007199254740991):0},Et=Math.max,jt=Math.min,Mt=function(t,e){var r=ct(t);return r<0?Et(r+e,0):jt(r,e)},Lt=function(t){return function(e,r,n){var o,i=gt(e),a=Ot(i.length),u=Mt(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},xt={includes:Lt(!0),indexOf:Lt(!1)},Rt=xt.indexOf,It=function(t,e){var r,n=gt(t),o=0,i=[];for(r in n)!w(W,r)&&w(n,r)&&i.push(r);for(;e.length>o;)w(n,r=e[o++])&&(~Rt(i,r)||i.push(r));return i},_t=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Pt=_t.concat("length","prototype"),Bt={f:Object.getOwnPropertyNames||function(t){return It(t,Pt)}},Ct={f:Object.getOwnPropertySymbols},Ft=Tt("Reflect","ownKeys")||function(t){var e=Bt.f(l(t)),r=Ct.f;return r?e.concat(r(t)):e},Ut=function(t,e){for(var r=Ft(e),n=h.f,o=At.f,i=0;i<r.length;i++){var a=r[i];w(t,a)||n(t,a,o(e,a))}},Dt=/#|\.prototype\./,kt=function(t,e){var r=Vt[Nt(t)];return r==Yt||r!=Wt&&("function"==typeof e?o(e):!!e)},Nt=kt.normalize=function(t){return String(t).replace(Dt,".").toLowerCase()},Vt=kt.data={},Wt=kt.NATIVE="N",Yt=kt.POLYFILL="P",Gt=kt,qt=At.f,Ht=function(t,e){var r,o,i,a,u,c=t.target,f=t.global,s=t.stat;if(r=f?n:s?n[c]||g(c,{}):(n[c]||{}).prototype)for(o in e){if(a=e[o],i=t.noTargetGet?(u=qt(r,o))&&u.value:r[o],!Gt(f?o:c+(s?".":"#")+o,t.forced)&&void 0!==i){if(typeof a==typeof i)continue;Ut(a,i)}(t.sham||i&&i.sham)&&v(a,"sham",!0),J(r,o,a,t)}},zt=function(t){return Object(ft(t))},Xt=!o((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Kt=V("IE_PROTO"),Jt=Object.prototype,Qt=Xt?Object.getPrototypeOf:function(t){return t=zt(t),w(t,Kt)?t[Kt]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?Jt:null},Zt=R("iterator"),$t=!1;[].keys&&("next"in(it=[].keys())?(ot=Qt(Qt(it)))!==Object.prototype&&(nt=ot):$t=!0),null==nt&&(nt={}),w(nt,Zt)||v(nt,Zt,(function(){return this}));var te,ee={IteratorPrototype:nt,BUGGY_SAFARI_ITERATORS:$t},re=Object.keys||function(t){return It(t,_t)},ne=i?Object.defineProperties:function(t,e){l(t);for(var r,n=re(e),o=n.length,i=0;o>i;)h.f(t,r=n[i++],e[r]);return t},oe=Tt("document","documentElement"),ie=V("IE_PROTO"),ae=function(){},ue=function(t){return"<script>"+t+"<\/script>"},ce=function(){try{te=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;ce=te?function(t){t.write(ue("")),t.close();var e=t.parentWindow.Object;return t=null,e}(te):((e=f("iframe")).style.display="none",oe.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(ue("document.F=Object")),t.close(),t.F);for(var r=_t.length;r--;)delete ce.prototype[_t[r]];return ce()};W[ie]=!0;var fe=Object.create||function(t,e){var r;return null!==t?(ae.prototype=l(t),r=new ae,ae.prototype=null,r[ie]=t):r=ce(),void 0===e?r:ne(r,e)},se=h.f,le=R("toStringTag"),pe=function(t,e,r){t&&!w(t=r?t:t.prototype,le)&&se(t,le,{configurable:!0,value:e})},ye={},he=ee.IteratorPrototype,de=function(){return this},ve=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,n){return l(r),function(t){if(!a(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(n),e?t.call(r,n):r.__proto__=n,r}}():void 0),ge=ee.IteratorPrototype,be=ee.BUGGY_SAFARI_ITERATORS,Ae=R("iterator"),me=function(){return this},we=function(t,e,r,n,o,i,a){!function(t,e,r){var n=e+" Iterator";t.prototype=fe(he,{next:d(1,r)}),pe(t,n,!1),ye[n]=de}(r,e,n);var u,c,f,s=function(t){if(t===o&&g)return g;if(!be&&t in y)return y[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},l=e+" Iterator",p=!1,y=t.prototype,h=y[Ae]||y["@@iterator"]||o&&y[o],g=!be&&h||s(o),b="Array"==e&&y.entries||h;if(b&&(u=Qt(b.call(new t)),ge!==Object.prototype&&u.next&&(Qt(u)!==ge&&(ve?ve(u,ge):"function"!=typeof u[Ae]&&v(u,Ae,me)),pe(u,l,!0))),"values"==o&&h&&"values"!==h.name&&(p=!0,g=function(){return h.call(this)}),y[Ae]!==g&&v(y,Ae,g),ye[e]=g,o)if(c={values:s("values"),keys:i?g:s("keys"),entries:s("entries")},a)for(f in c)(be||p||!(f in y))&&J(y,f,c[f]);else Ht({target:e,proto:!0,forced:be||p},c);return c},Te=lt.charAt,Se=K.set,Oe=K.getterFor("String Iterator");we(String,"String",(function(t){Se(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=Oe(this),r=e.string,n=e.index;return n>=r.length?{value:void 0,done:!0}:(t=Te(r,n),e.index+=t.length,{value:t,done:!1})}));var Ee={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},je=R("unscopables"),Me=Array.prototype;null==Me[je]&&h.f(Me,je,{configurable:!0,value:fe(null)});var Le=function(t){Me[je][t]=!0},xe=K.set,Re=K.getterFor("Array Iterator"),Ie=we(Array,"Array",(function(t,e){xe(this,{type:"Array Iterator",target:gt(t),index:0,kind:e})}),(function(){var t=Re(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");ye.Arguments=ye.Array,Le("keys"),Le("values"),Le("entries");var _e=R("iterator"),Pe=R("toStringTag"),Be=Ie.values;for(var Ce in Ee){var Fe=n[Ce],Ue=Fe&&Fe.prototype;if(Ue){if(Ue[_e]!==Be)try{v(Ue,_e,Be)}catch(t){Ue[_e]=Be}if(Ue[Pe]||v(Ue,Pe,Ce),Ee[Ce])for(var De in Ie)if(Ue[De]!==Ie[De])try{v(Ue,De,Ie[De])}catch(t){Ue[De]=Ie[De]}}}var ke=n.Promise,Ne=function(t,e,r){for(var n in e)J(t,n,e[n],r);return t},Ve=R("species"),We=function(t){var e=Tt(t),r=h.f;i&&e&&!e[Ve]&&r(e,Ve,{configurable:!0,get:function(){return this}})},Ye=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},Ge=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t},qe=R("iterator"),He=Array.prototype,ze=function(t){return void 0!==t&&(ye.Array===t||He[qe]===t)},Xe=function(t,e,r){if(Ye(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,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}},Ke=R("iterator"),Je=function(t){if(null!=t)return t[Ke]||t["@@iterator"]||ye[et(t)]},Qe=function(t,e,r,n){try{return n?e(l(r)[0],r[1]):e(r)}catch(e){var o=t.return;throw void 0!==o&&l(o.call(t)),e}},Ze=e((function(t){var e=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,r,n,o,i){var a,u,c,f,s,p,y,h=Xe(r,n,o?2:1);if(i)a=t;else{if("function"!=typeof(u=Je(t)))throw TypeError("Target is not iterable");if(ze(u)){for(c=0,f=Ot(t.length);f>c;c++)if((s=o?h(l(y=t[c])[0],y[1]):h(t[c]))&&s instanceof e)return s;return new e(!1)}a=u.call(t)}for(p=a.next;!(y=p.call(a)).done;)if("object"==typeof(s=Qe(a,h,y.value,o))&&s&&s instanceof e)return s;return new e(!1)}).stop=function(t){return new e(!0,t)}})),$e=R("iterator"),tr=!1;try{var er=0,rr={next:function(){return{done:!!er++}},return:function(){tr=!0}};rr[$e]=function(){return this},Array.from(rr,(function(){throw 2}))}catch(t){}var nr,or,ir,ar=function(t,e){if(!e&&!tr)return!1;var r=!1;try{var n={};n[$e]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(t){}return r},ur=R("species"),cr=function(t,e){var r,n=l(t).constructor;return void 0===n||null==(r=l(n)[ur])?e:Ye(r)},fr=Tt("navigator","userAgent")||"",sr=/(iphone|ipod|ipad).*applewebkit/i.test(fr),lr=n.location,pr=n.setImmediate,yr=n.clearImmediate,hr=n.process,dr=n.MessageChannel,vr=n.Dispatch,gr=0,br={},Ar=function(t){if(br.hasOwnProperty(t)){var e=br[t];delete br[t],e()}},mr=function(t){return function(){Ar(t)}},wr=function(t){Ar(t.data)},Tr=function(t){n.postMessage(t+"",lr.protocol+"//"+lr.host)};pr&&yr||(pr=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return br[++gr]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},nr(gr),gr},yr=function(t){delete br[t]},"process"==Z(hr)?nr=function(t){hr.nextTick(mr(t))}:vr&&vr.now?nr=function(t){vr.now(mr(t))}:dr&&!sr?(ir=(or=new dr).port2,or.port1.onmessage=wr,nr=Xe(ir.postMessage,ir,1)):!n.addEventListener||"function"!=typeof postMessage||n.importScripts||o(Tr)||"file:"===lr.protocol?nr="onreadystatechange"in f("script")?function(t){oe.appendChild(f("script")).onreadystatechange=function(){oe.removeChild(this),Ar(t)}}:function(t){setTimeout(mr(t),0)}:(nr=Tr,n.addEventListener("message",wr,!1)));var Sr,Or,Er,jr,Mr,Lr,xr,Rr,Ir={set:pr,clear:yr},_r=At.f,Pr=Ir.set,Br=n.MutationObserver||n.WebKitMutationObserver,Cr=n.process,Fr=n.Promise,Ur="process"==Z(Cr),Dr=_r(n,"queueMicrotask"),kr=Dr&&Dr.value;kr||(Sr=function(){var t,e;for(Ur&&(t=Cr.domain)&&t.exit();Or;){e=Or.fn,Or=Or.next;try{e()}catch(t){throw Or?jr():Er=void 0,t}}Er=void 0,t&&t.enter()},Ur?jr=function(){Cr.nextTick(Sr)}:Br&&!sr?(Mr=!0,Lr=document.createTextNode(""),new Br(Sr).observe(Lr,{characterData:!0}),jr=function(){Lr.data=Mr=!Mr}):Fr&&Fr.resolve?(xr=Fr.resolve(void 0),Rr=xr.then,jr=function(){Rr.call(xr,Sr)}):jr=function(){Pr.call(n,Sr)});var Nr,Vr,Wr=kr||function(t){var e={fn:t,next:void 0};Er&&(Er.next=e),Or||(Or=e,jr()),Er=e},Yr=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=Ye(e),this.reject=Ye(r)},Gr={f:function(t){return new Yr(t)}},qr=function(t,e){if(l(t),a(e)&&e.constructor===t)return e;var r=Gr.f(t);return(0,r.resolve)(e),r.promise},Hr=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},zr=n.process,Xr=zr&&zr.versions,Kr=Xr&&Xr.v8;Kr?Vr=(Nr=Kr.split("."))[0]+Nr[1]:fr&&(!(Nr=fr.match(/Edge\/(\d+)/))||Nr[1]>=74)&&(Nr=fr.match(/Chrome\/(\d+)/))&&(Vr=Nr[1]);var Jr,Qr,Zr,$r,tn=Vr&&+Vr,en=Ir.set,rn=R("species"),nn="Promise",on=K.get,an=K.set,un=K.getterFor(nn),cn=ke,fn=n.TypeError,sn=n.document,ln=n.process,pn=Tt("fetch"),yn=Gr.f,hn=yn,dn="process"==Z(ln),vn=!!(sn&&sn.createEvent&&n.dispatchEvent),gn=Gt(nn,(function(){if(!(U(cn)!==String(cn))){if(66===tn)return!0;if(!dn&&"function"!=typeof PromiseRejectionEvent)return!0}if(tn>=51&&/native code/.test(cn))return!1;var t=cn.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[rn]=e,!(t.then((function(){}))instanceof e)})),bn=gn||!ar((function(t){cn.all(t).catch((function(){}))})),An=function(t){var e;return!(!a(t)||"function"!=typeof(e=t.then))&&e},mn=function(t,e,r){if(!e.notified){e.notified=!0;var n=e.reactions;Wr((function(){for(var o=e.value,i=1==e.state,a=0;n.length>a;){var u,c,f,s=n[a++],l=i?s.ok:s.fail,p=s.resolve,y=s.reject,h=s.domain;try{l?(i||(2===e.rejection&&On(t,e),e.rejection=1),!0===l?u=o:(h&&h.enter(),u=l(o),h&&(h.exit(),f=!0)),u===s.promise?y(fn("Promise-chain cycle")):(c=An(u))?c.call(u,p,y):p(u)):y(o)}catch(t){h&&!f&&h.exit(),y(t)}}e.reactions=[],e.notified=!1,r&&!e.rejection&&Tn(t,e)}))}},wn=function(t,e,r){var o,i;vn?((o=sn.createEvent("Event")).promise=e,o.reason=r,o.initEvent(t,!1,!0),n.dispatchEvent(o)):o={promise:e,reason:r},(i=n["on"+t])?i(o):"unhandledrejection"===t&&function(t,e){var r=n.console;r&&r.error&&(1===arguments.length?r.error(t):r.error(t,e))}("Unhandled promise rejection",r)},Tn=function(t,e){en.call(n,(function(){var r,n=e.value;if(Sn(e)&&(r=Hr((function(){dn?ln.emit("unhandledRejection",n,t):wn("unhandledrejection",t,n)})),e.rejection=dn||Sn(e)?2:1,r.error))throw r.value}))},Sn=function(t){return 1!==t.rejection&&!t.parent},On=function(t,e){en.call(n,(function(){dn?ln.emit("rejectionHandled",t):wn("rejectionhandled",t,e.value)}))},En=function(t,e,r,n){return function(o){t(e,r,o,n)}},jn=function(t,e,r,n){e.done||(e.done=!0,n&&(e=n),e.value=r,e.state=2,mn(t,e,!0))},Mn=function(t,e,r,n){if(!e.done){e.done=!0,n&&(e=n);try{if(t===r)throw fn("Promise can't be resolved itself");var o=An(r);o?Wr((function(){var n={done:!1};try{o.call(r,En(Mn,t,n,e),En(jn,t,n,e))}catch(r){jn(t,n,r,e)}})):(e.value=r,e.state=1,mn(t,e,!1))}catch(r){jn(t,{done:!1},r,e)}}};gn&&(cn=function(t){Ge(this,cn,nn),Ye(t),Jr.call(this);var e=on(this);try{t(En(Mn,this,e),En(jn,this,e))}catch(t){jn(this,e,t)}},(Jr=function(t){an(this,{type:nn,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Ne(cn.prototype,{then:function(t,e){var r=un(this),n=yn(cr(this,cn));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=dn?ln.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&mn(this,r,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),Qr=function(){var t=new Jr,e=on(t);this.promise=t,this.resolve=En(Mn,t,e),this.reject=En(jn,t,e)},Gr.f=yn=function(t){return t===cn||t===Zr?new Qr(t):hn(t)},"function"==typeof ke&&($r=ke.prototype.then,J(ke.prototype,"then",(function(t,e){var r=this;return new cn((function(t,e){$r.call(r,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof pn&&Ht({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return qr(cn,pn.apply(n,arguments))}}))),Ht({global:!0,wrap:!0,forced:gn},{Promise:cn}),pe(cn,nn,!1),We(nn),Zr=Tt(nn),Ht({target:nn,stat:!0,forced:gn},{reject:function(t){var e=yn(this);return e.reject.call(void 0,t),e.promise}}),Ht({target:nn,stat:!0,forced:gn},{resolve:function(t){return qr(this,t)}}),Ht({target:nn,stat:!0,forced:bn},{all:function(t){var e=this,r=yn(e),n=r.resolve,o=r.reject,i=Hr((function(){var r=Ye(e.resolve),i=[],a=0,u=1;Ze(t,(function(t){var c=a++,f=!1;i.push(void 0),u++,r.call(e,t).then((function(t){f||(f=!0,i[c]=t,--u||n(i))}),o)})),--u||n(i)}));return i.error&&o(i.value),r.promise},race:function(t){var e=this,r=yn(e),n=r.reject,o=Hr((function(){var o=Ye(e.resolve);Ze(t,(function(t){o.call(e,t).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}}),Ht({target:"Promise",stat:!0},{allSettled:function(t){var e=this,r=Gr.f(e),n=r.resolve,o=r.reject,i=Hr((function(){var r=Ye(e.resolve),o=[],i=0,a=1;Ze(t,(function(t){var u=i++,c=!1;o.push(void 0),a++,r.call(e,t).then((function(t){c||(c=!0,o[u]={status:"fulfilled",value:t},--a||n(o))}),(function(t){c||(c=!0,o[u]={status:"rejected",reason:t},--a||n(o))}))})),--a||n(o)}));return i.error&&o(i.value),r.promise}});var Ln=!!ke&&o((function(){ke.prototype.finally.call({then:function(){}},(function(){}))}));Ht({target:"Promise",proto:!0,real:!0,forced:Ln},{finally:function(t){var e=cr(this,Tt("Promise")),r="function"==typeof t;return this.then(r?function(r){return qr(e,t()).then((function(){return r}))}:t,r?function(r){return qr(e,t()).then((function(){throw r}))}:t)}}),"function"!=typeof ke||ke.prototype.finally||J(ke.prototype,"finally",Tt("Promise").prototype.finally);mt.Promise;var xn=Array.isArray||function(t){return"Array"==Z(t)},Rn=R("species"),In=function(t,e){var r;return xn(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!xn(r.prototype)?a(r)&&null===(r=r[Rn])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)},_n=[].push,Pn=function(t){var e=1==t,r=2==t,n=3==t,o=4==t,i=6==t,a=5==t||i;return function(u,c,f,s){for(var l,p,y=zt(u),h=vt(y),d=Xe(c,f,3),v=Ot(h.length),g=0,b=s||In,A=e?b(u,v):r?b(u,0):void 0;v>g;g++)if((a||g in h)&&(p=d(l=h[g],g,y),t))if(e)A[g]=p;else if(p)switch(t){case 3:return!0;case 5:return l;case 6:return g;case 2:_n.call(A,l)}else if(o)return!1;return i?-1:n||o?o:A}},Bn={forEach:Pn(0),map:Pn(1),filter:Pn(2),some:Pn(3),every:Pn(4),find:Pn(5),findIndex:Pn(6)},Cn=R("species"),Fn=Object.defineProperty,Un={},Dn=function(t){throw t},kn=function(t,e){if(w(Un,t))return Un[t];e||(e={});var r=[][t],n=!!w(e,"ACCESSORS")&&e.ACCESSORS,a=w(e,0)?e[0]:Dn,u=w(e,1)?e[1]:void 0;return Un[t]=!!r&&!o((function(){if(n&&!i)return!0;var t={length:-1};n?Fn(t,1,{enumerable:!0,get:Dn}):t[1]=1,r.call(t,a,u)}))},Nn=Bn.map,Vn=function(t){return tn>=51||!o((function(){var e=[];return(e.constructor={})[Cn]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}("map"),Wn=kn("map");Ht({target:"Array",proto:!0,forced:!Vn||!Wn},{map:function(t){return Nn(this,t,arguments.length>1?arguments[1]:void 0)}});var Yn=Function.call,Gn=function(t,e,r){return Xe(Yn,n[t].prototype[e],r)};Gn("Array","map");Ht({target:"Array",stat:!0},{isArray:xn});mt.Array.isArray;var qn=function(t){return function(e,r,n,o){Ye(r);var i=zt(e),a=vt(i),u=Ot(i.length),c=t?u-1:0,f=t?-1:1;if(n<2)for(;;){if(c in a){o=a[c],c+=f;break}if(c+=f,t?c<0:u<=c)throw TypeError("Reduce of empty array with no initial value")}for(;t?c>=0:u>c;c+=f)c in a&&(o=r(o,a[c],c,i));return o}},Hn={left:qn(!1),right:qn(!0)},zn=function(t,e){var r=[][t];return!!r&&o((function(){r.call(null,e||function(){throw 1},1)}))},Xn=Hn.left,Kn=zn("reduce"),Jn=kn("reduce",{1:0});Ht({target:"Array",proto:!0,forced:!Kn||!Jn},{reduce:function(t){return Xn(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}});Gn("Array","reduce");var Qn=Bn.forEach,Zn=zn("forEach"),$n=kn("forEach"),to=Zn&&$n?[].forEach:function(t){return Qn(this,t,arguments.length>1?arguments[1]:void 0)};Ht({target:"Array",proto:!0,forced:[].forEach!=to},{forEach:to});Gn("Array","forEach");var eo=Bn.find,ro=!0,no=kn("find");"find"in[]&&Array(1).find((function(){ro=!1})),Ht({target:"Array",proto:!0,forced:ro||!no},{find:function(t){return eo(this,t,arguments.length>1?arguments[1]:void 0)}}),Le("find");Gn("Array","find");Ht({target:"Object",stat:!0,sham:!i},{create:fe});mt.Object;var oo=o((function(){re(1)}));Ht({target:"Object",stat:!0,forced:oo},{keys:function(t){return re(zt(t))}});mt.Object.keys;var io=ht.f,ao=function(t){return function(e){for(var r,n=gt(e),o=re(n),a=o.length,u=0,c=[];a>u;)r=o[u++],i&&!io.call(n,r)||c.push(t?[r,n[r]]:n[r]);return c}},uo={entries:ao(!0),values:ao(!1)}.values;Ht({target:"Object",stat:!0},{values:function(t){return uo(t)}});mt.Object.values;var co=Object.assign,fo=Object.defineProperty,so=!co||o((function(){if(i&&1!==co({b:1},co(fo({},"a",{enumerable:!0,get:function(){fo(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol();return t[r]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=co({},t)[r]||"abcdefghijklmnopqrst"!=re(co({},e)).join("")}))?function(t,e){for(var r=zt(t),n=arguments.length,o=1,a=Ct.f,u=ht.f;n>o;)for(var c,f=vt(arguments[o++]),s=a?re(f).concat(a(f)):re(f),l=s.length,p=0;l>p;)c=s[p++],i&&!u.call(f,c)||(r[c]=f[c]);return r}:co;Ht({target:"Object",stat:!0,forced:Object.assign!==so},{assign:so});mt.Object.assign;var lo="\t\n\v\f\r \u2028\u2029\ufeff",po="["+lo+"]",yo=RegExp("^"+po+po+"*"),ho=RegExp(po+po+"*$"),vo=function(t){return function(e){var r=String(ft(e));return 1&t&&(r=r.replace(yo,"")),2&t&&(r=r.replace(ho,"")),r}},go={start:vo(1),end:vo(2),trim:vo(3)},bo=function(t){return o((function(){return!!lo[t]()||"
"!="
"[t]()||lo[t].name!==t}))},Ao=go.trim;Ht({target:"String",proto:!0,forced:bo("trim")},{trim:function(){return Ao(this)}});Gn("String","trim");var mo=go.start,wo=bo("trimStart"),To=wo?function(){return mo(this)}:"".trimStart;Ht({target:"String",proto:!0,forced:wo},{trimStart:To,trimLeft:To});Gn("String","trimLeft");var So=go.end,Oo=bo("trimEnd"),Eo=Oo?function(){return So(this)}:"".trimEnd;Ht({target:"String",proto:!0,forced:Oo},{trimEnd:Eo,trimRight:Eo});Gn("String","trimRight");var jo=Math.floor;Ht({target:"Number",stat:!0},{isInteger:function(t){return!a(t)&&isFinite(t)&&jo(t)===t}});mt.Number.isInteger;var Mo,Lo="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView,xo=h.f,Ro=n.Int8Array,Io=Ro&&Ro.prototype,_o=n.Uint8ClampedArray,Po=_o&&_o.prototype,Bo=Ro&&Qt(Ro),Co=Io&&Qt(Io),Fo=Object.prototype,Uo=Fo.isPrototypeOf,Do=R("toStringTag"),ko=O("TYPED_ARRAY_TAG"),No=Lo&&!!ve&&"Opera"!==et(n.opera),Vo=!1,Wo={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Yo=function(t){return a(t)&&w(Wo,et(t))};for(Mo in Wo)n[Mo]||(No=!1);if((!No||"function"!=typeof Bo||Bo===Function.prototype)&&(Bo=function(){throw TypeError("Incorrect invocation")},No))for(Mo in Wo)n[Mo]&&ve(n[Mo],Bo);if((!No||!Co||Co===Fo)&&(Co=Bo.prototype,No))for(Mo in Wo)n[Mo]&&ve(n[Mo].prototype,Co);if(No&&Qt(Po)!==Co&&ve(Po,Co),i&&!w(Co,Do))for(Mo in Vo=!0,xo(Co,Do,{get:function(){return a(this)?this[ko]:void 0}}),Wo)n[Mo]&&v(n[Mo],ko,Mo);var Go={NATIVE_ARRAY_BUFFER_VIEWS:No,TYPED_ARRAY_TAG:Vo&&ko,aTypedArray:function(t){if(Yo(t))return t;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(t){if(ve){if(Uo.call(Bo,t))return t}else for(var e in Wo)if(w(Wo,Mo)){var r=n[e];if(r&&(t===r||Uo.call(r,t)))return t}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(t,e,r){if(i){if(r)for(var o in Wo){var a=n[o];a&&w(a.prototype,t)&&(a.prototype[t]=null)}Co[t]&&!r||J(Co,t,r?e:No&&Io[t]||e)}},exportTypedArrayStaticMethod:function(t,e,r){var o,a;if(i){if(ve){if(r)for(o in Wo)(a=n[o])&&w(a,t)&&delete a[t];if(Bo[t]&&!r)return;try{return J(Bo,t,r?e:No&&Ro[t]||e)}catch(t){}}for(o in Wo)!(a=n[o])||a[t]&&!r||J(a,t,e)}},isView:function(t){var e=et(t);return"DataView"===e||w(Wo,e)},isTypedArray:Yo,TypedArray:Bo,TypedArrayPrototype:Co},qo=Go.NATIVE_ARRAY_BUFFER_VIEWS,Ho=n.ArrayBuffer,zo=n.Int8Array,Xo=!qo||!o((function(){zo(1)}))||!o((function(){new zo(-1)}))||!ar((function(t){new zo,new zo(null),new zo(1.5),new zo(t)}),!0)||o((function(){return 1!==new zo(new Ho(2),1,void 0).length})),Ko=function(t){if(void 0===t)return 0;var e=ct(t),r=Ot(e);if(e!==r)throw RangeError("Wrong length or index");return r},Jo=Math.abs,Qo=Math.pow,Zo=Math.floor,$o=Math.log,ti=Math.LN2,ei=function(t,e,r){var n,o,i,a=new Array(r),u=8*r-e-1,c=(1<<u)-1,f=c>>1,s=23===e?Qo(2,-24)-Qo(2,-77):0,l=t<0||0===t&&1/t<0?1:0,p=0;for((t=Jo(t))!=t||t===1/0?(o=t!=t?1:0,n=c):(n=Zo($o(t)/ti),t*(i=Qo(2,-n))<1&&(n--,i*=2),(t+=n+f>=1?s/i:s*Qo(2,1-f))*i>=2&&(n++,i/=2),n+f>=c?(o=0,n=c):n+f>=1?(o=(t*i-1)*Qo(2,e),n+=f):(o=t*Qo(2,f-1)*Qo(2,e),n=0));e>=8;a[p++]=255&o,o/=256,e-=8);for(n=n<<e|o,u+=e;u>0;a[p++]=255&n,n/=256,u-=8);return a[--p]|=128*l,a},ri=function(t,e){var r,n=t.length,o=8*n-e-1,i=(1<<o)-1,a=i>>1,u=o-7,c=n-1,f=t[c--],s=127&f;for(f>>=7;u>0;s=256*s+t[c],c--,u-=8);for(r=s&(1<<-u)-1,s>>=-u,u+=e;u>0;r=256*r+t[c],c--,u-=8);if(0===s)s=1-a;else{if(s===i)return r?NaN:f?-1/0:1/0;r+=Qo(2,e),s-=a}return(f?-1:1)*r*Qo(2,s-e)},ni=function(t){for(var e=zt(this),r=Ot(e.length),n=arguments.length,o=Mt(n>1?arguments[1]:void 0,r),i=n>2?arguments[2]:void 0,a=void 0===i?r:Mt(i,r);a>o;)e[o++]=t;return e},oi=Bt.f,ii=h.f,ai=K.get,ui=K.set,ci=n.ArrayBuffer,fi=ci,si=n.DataView,li=si&&si.prototype,pi=Object.prototype,yi=n.RangeError,hi=ei,di=ri,vi=function(t){return[255&t]},gi=function(t){return[255&t,t>>8&255]},bi=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},Ai=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},mi=function(t){return hi(t,23,4)},wi=function(t){return hi(t,52,8)},Ti=function(t,e){ii(t.prototype,e,{get:function(){return ai(this)[e]}})},Si=function(t,e,r,n){var o=Ko(r),i=ai(t);if(o+e>i.byteLength)throw yi("Wrong index");var a=ai(i.buffer).bytes,u=o+i.byteOffset,c=a.slice(u,u+e);return n?c:c.reverse()},Oi=function(t,e,r,n,o,i){var a=Ko(r),u=ai(t);if(a+e>u.byteLength)throw yi("Wrong index");for(var c=ai(u.buffer).bytes,f=a+u.byteOffset,s=n(+o),l=0;l<e;l++)c[f+l]=s[i?l:e-l-1]};if(Lo){if(!o((function(){ci(1)}))||!o((function(){new ci(-1)}))||o((function(){return new ci,new ci(1.5),new ci(NaN),"ArrayBuffer"!=ci.name}))){for(var Ei,ji=(fi=function(t){return Ge(this,fi),new ci(Ko(t))}).prototype=ci.prototype,Mi=oi(ci),Li=0;Mi.length>Li;)(Ei=Mi[Li++])in fi||v(fi,Ei,ci[Ei]);ji.constructor=fi}ve&&Qt(li)!==pi&&ve(li,pi);var xi=new si(new fi(2)),Ri=li.setInt8;xi.setInt8(0,2147483648),xi.setInt8(1,2147483649),!xi.getInt8(0)&&xi.getInt8(1)||Ne(li,{setInt8:function(t,e){Ri.call(this,t,e<<24>>24)},setUint8:function(t,e){Ri.call(this,t,e<<24>>24)}},{unsafe:!0})}else fi=function(t){Ge(this,fi,"ArrayBuffer");var e=Ko(t);ui(this,{bytes:ni.call(new Array(e),0),byteLength:e}),i||(this.byteLength=e)},si=function(t,e,r){Ge(this,si,"DataView"),Ge(t,fi,"DataView");var n=ai(t).byteLength,o=ct(e);if(o<0||o>n)throw yi("Wrong offset");if(o+(r=void 0===r?n-o:Ot(r))>n)throw yi("Wrong length");ui(this,{buffer:t,byteLength:r,byteOffset:o}),i||(this.buffer=t,this.byteLength=r,this.byteOffset=o)},i&&(Ti(fi,"byteLength"),Ti(si,"buffer"),Ti(si,"byteLength"),Ti(si,"byteOffset")),Ne(si.prototype,{getInt8:function(t){return Si(this,1,t)[0]<<24>>24},getUint8:function(t){return Si(this,1,t)[0]},getInt16:function(t){var e=Si(this,2,t,arguments.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=Si(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return Ai(Si(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return Ai(Si(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return di(Si(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return di(Si(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){Oi(this,1,t,vi,e)},setUint8:function(t,e){Oi(this,1,t,vi,e)},setInt16:function(t,e){Oi(this,2,t,gi,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){Oi(this,2,t,gi,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){Oi(this,4,t,bi,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){Oi(this,4,t,bi,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){Oi(this,4,t,mi,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){Oi(this,8,t,wi,e,arguments.length>2?arguments[2]:void 0)}});pe(fi,"ArrayBuffer"),pe(si,"DataView");var Ii={ArrayBuffer:fi,DataView:si},_i=function(t,e){var r=function(t){var e=ct(t);if(e<0)throw RangeError("The argument can't be less than 0");return e}(t);if(r%e)throw RangeError("Wrong offset");return r},Pi=Go.aTypedArrayConstructor,Bi=function(t){var e,r,n,o,i,a,u=zt(t),c=arguments.length,f=c>1?arguments[1]:void 0,s=void 0!==f,l=Je(u);if(null!=l&&!ze(l))for(a=(i=l.call(u)).next,u=[];!(o=a.call(i)).done;)u.push(o.value);for(s&&c>2&&(f=Xe(f,arguments[2],2)),r=Ot(u.length),n=new(Pi(this))(r),e=0;r>e;e++)n[e]=s?f(u[e],e):u[e];return n};e((function(t){var e=Bt.f,r=Bn.forEach,o=K.get,u=K.set,c=h.f,f=At.f,s=Math.round,l=n.RangeError,y=Ii.ArrayBuffer,g=Ii.DataView,b=Go.NATIVE_ARRAY_BUFFER_VIEWS,A=Go.TYPED_ARRAY_TAG,m=Go.TypedArray,T=Go.TypedArrayPrototype,S=Go.aTypedArrayConstructor,O=Go.isTypedArray,E=function(t,e){for(var r=0,n=e.length,o=new(S(t))(n);n>r;)o[r]=e[r++];return o},j=function(t,e){c(t,e,{get:function(){return o(this)[e]}})},M=function(t){var e;return t instanceof y||"ArrayBuffer"==(e=et(t))||"SharedArrayBuffer"==e},L=function(t,e){return O(t)&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},x=function(t,e){return L(t,e=p(e,!0))?d(2,t[e]):f(t,e)},R=function(t,e,r){return!(L(t,e=p(e,!0))&&a(r)&&w(r,"value"))||w(r,"get")||w(r,"set")||r.configurable||w(r,"writable")&&!r.writable||w(r,"enumerable")&&!r.enumerable?c(t,e,r):(t[e]=r.value,t)};i?(b||(At.f=x,h.f=R,j(T,"buffer"),j(T,"byteOffset"),j(T,"byteLength"),j(T,"length")),Ht({target:"Object",stat:!0,forced:!b},{getOwnPropertyDescriptor:x,defineProperty:R}),t.exports=function(t,i,f){var p=t.match(/\d+$/)[0]/8,h=t+(f?"Clamped":"")+"Array",d="get"+t,w="set"+t,S=n[h],j=S,L=j&&j.prototype,x={},R=function(t,e){c(t,e,{get:function(){return function(t,e){var r=o(t);return r.view[d](e*p+r.byteOffset,!0)}(this,e)},set:function(t){return function(t,e,r){var n=o(t);f&&(r=(r=s(r))<0?0:r>255?255:255&r),n.view[w](e*p+n.byteOffset,r,!0)}(this,e,t)},enumerable:!0})};b?Xo&&(j=i((function(t,e,r,n){return Ge(t,j,h),function(t,e,r){var n,o;return ve&&"function"==typeof(n=e.constructor)&&n!==r&&a(o=n.prototype)&&o!==r.prototype&&ve(t,o),t}(a(e)?M(e)?void 0!==n?new S(e,_i(r,p),n):void 0!==r?new S(e,_i(r,p)):new S(e):O(e)?E(j,e):Bi.call(j,e):new S(Ko(e)),t,j)})),ve&&ve(j,m),r(e(S),(function(t){t in j||v(j,t,S[t])})),j.prototype=L):(j=i((function(t,e,r,n){Ge(t,j,h);var o,i,c,f=0,s=0;if(a(e)){if(!M(e))return O(e)?E(j,e):Bi.call(j,e);o=e,s=_i(r,p);var d=e.byteLength;if(void 0===n){if(d%p)throw l("Wrong length");if((i=d-s)<0)throw l("Wrong length")}else if((i=Ot(n)*p)+s>d)throw l("Wrong length");c=i/p}else c=Ko(e),o=new y(i=c*p);for(u(t,{buffer:o,byteOffset:s,byteLength:i,length:c,view:new g(o)});f<c;)R(t,f++)})),ve&&ve(j,m),L=j.prototype=fe(T)),L.constructor!==j&&v(L,"constructor",j),A&&v(L,A,h),x[h]=j,Ht({global:!0,forced:j!=S,sham:!b},x),"BYTES_PER_ELEMENT"in j||v(j,"BYTES_PER_ELEMENT",p),"BYTES_PER_ELEMENT"in L||v(L,"BYTES_PER_ELEMENT",p),We(h)}):t.exports=function(){}}))("Uint8",(function(t){return function(e,r,n){return t(this,e,r,n)}})),(0,Go.exportTypedArrayStaticMethod)("from",Bi,Xo);var Ci=Go.aTypedArrayConstructor;(0,Go.exportTypedArrayStaticMethod)("of",(function(){for(var t=0,e=arguments.length,r=new(Ci(this))(e);e>t;)r[t]=arguments[t++];return r}),Xo);var Fi=Math.min,Ui=[].copyWithin||function(t,e){var r=zt(this),n=Ot(r.length),o=Mt(t,n),i=Mt(e,n),a=arguments.length>2?arguments[2]:void 0,u=Fi((void 0===a?n:Mt(a,n))-i,n-o),c=1;for(i<o&&o<i+u&&(c=-1,i+=u-1,o+=u-1);u-- >0;)i in r?r[o]=r[i]:delete r[o],o+=c,i+=c;return r},Di=Go.aTypedArray;(0,Go.exportTypedArrayMethod)("copyWithin",(function(t,e){return Ui.call(Di(this),t,e,arguments.length>2?arguments[2]:void 0)}));var ki=Bn.every,Ni=Go.aTypedArray;(0,Go.exportTypedArrayMethod)("every",(function(t){return ki(Ni(this),t,arguments.length>1?arguments[1]:void 0)}));var Vi=Go.aTypedArray;(0,Go.exportTypedArrayMethod)("fill",(function(t){return ni.apply(Vi(this),arguments)}));var Wi=Bn.filter,Yi=Go.aTypedArray,Gi=Go.aTypedArrayConstructor;(0,Go.exportTypedArrayMethod)("filter",(function(t){for(var e=Wi(Yi(this),t,arguments.length>1?arguments[1]:void 0),r=cr(this,this.constructor),n=0,o=e.length,i=new(Gi(r))(o);o>n;)i[n]=e[n++];return i}));var qi=Bn.find,Hi=Go.aTypedArray;(0,Go.exportTypedArrayMethod)("find",(function(t){return qi(Hi(this),t,arguments.length>1?arguments[1]:void 0)}));var zi=Bn.findIndex,Xi=Go.aTypedArray;(0,Go.exportTypedArrayMethod)("findIndex",(function(t){return zi(Xi(this),t,arguments.length>1?arguments[1]:void 0)}));var Ki=Bn.forEach,Ji=Go.aTypedArray;(0,Go.exportTypedArrayMethod)("forEach",(function(t){Ki(Ji(this),t,arguments.length>1?arguments[1]:void 0)}));var Qi=xt.includes,Zi=Go.aTypedArray;(0,Go.exportTypedArrayMethod)("includes",(function(t){return Qi(Zi(this),t,arguments.length>1?arguments[1]:void 0)}));var $i=xt.indexOf,ta=Go.aTypedArray;(0,Go.exportTypedArrayMethod)("indexOf",(function(t){return $i(ta(this),t,arguments.length>1?arguments[1]:void 0)}));var ea=Go.aTypedArray,ra=[].join;(0,Go.exportTypedArrayMethod)("join",(function(t){return ra.apply(ea(this),arguments)}));var na=Math.min,oa=[].lastIndexOf,ia=!!oa&&1/[1].lastIndexOf(1,-0)<0,aa=zn("lastIndexOf"),ua=kn("indexOf",{ACCESSORS:!0,1:0}),ca=ia||!aa||!ua?function(t){if(ia)return oa.apply(this,arguments)||0;var e=gt(this),r=Ot(e.length),n=r-1;for(arguments.length>1&&(n=na(n,ct(arguments[1]))),n<0&&(n=r+n);n>=0;n--)if(n in e&&e[n]===t)return n||0;return-1}:oa,fa=Go.aTypedArray;(0,Go.exportTypedArrayMethod)("lastIndexOf",(function(t){return ca.apply(fa(this),arguments)}));var sa=Bn.map,la=Go.aTypedArray,pa=Go.aTypedArrayConstructor;(0,Go.exportTypedArrayMethod)("map",(function(t){return sa(la(this),t,arguments.length>1?arguments[1]:void 0,(function(t,e){return new(pa(cr(t,t.constructor)))(e)}))}));var ya=Hn.left,ha=Go.aTypedArray;(0,Go.exportTypedArrayMethod)("reduce",(function(t){return ya(ha(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}));var da=Hn.right,va=Go.aTypedArray;(0,Go.exportTypedArrayMethod)("reduceRight",(function(t){return da(va(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}));var ga=Go.aTypedArray,ba=Go.exportTypedArrayMethod,Aa=Math.floor;ba("reverse",(function(){for(var t,e=ga(this).length,r=Aa(e/2),n=0;n<r;)t=this[n],this[n++]=this[--e],this[e]=t;return this}));var ma=Go.aTypedArray;(0,Go.exportTypedArrayMethod)("set",(function(t){ma(this);var e=_i(arguments.length>1?arguments[1]:void 0,1),r=this.length,n=zt(t),o=Ot(n.length),i=0;if(o+e>r)throw RangeError("Wrong length");for(;i<o;)this[e+i]=n[i++]}),o((function(){new Int8Array(1).set({})})));var wa=Go.aTypedArray,Ta=Go.aTypedArrayConstructor,Sa=[].slice;(0,Go.exportTypedArrayMethod)("slice",(function(t,e){for(var r=Sa.call(wa(this),t,e),n=cr(this,this.constructor),o=0,i=r.length,a=new(Ta(n))(i);i>o;)a[o]=r[o++];return a}),o((function(){new Int8Array(1).slice()})));var Oa=Bn.some,Ea=Go.aTypedArray;(0,Go.exportTypedArrayMethod)("some",(function(t){return Oa(Ea(this),t,arguments.length>1?arguments[1]:void 0)}));var ja=Go.aTypedArray,Ma=[].sort;(0,Go.exportTypedArrayMethod)("sort",(function(t){return Ma.call(ja(this),t)}));var La=Go.aTypedArray;(0,Go.exportTypedArrayMethod)("subarray",(function(t,e){var r=La(this),n=r.length,o=Mt(t,n);return new(cr(r,r.constructor))(r.buffer,r.byteOffset+o*r.BYTES_PER_ELEMENT,Ot((void 0===e?n:Mt(e,n))-o))}));var xa=n.Int8Array,Ra=Go.aTypedArray,Ia=Go.exportTypedArrayMethod,_a=[].toLocaleString,Pa=[].slice,Ba=!!xa&&o((function(){_a.call(new xa(1))}));Ia("toLocaleString",(function(){return _a.apply(Ba?Pa.call(Ra(this)):Ra(this),arguments)}),o((function(){return[1,2].toLocaleString()!=new xa([1,2]).toLocaleString()}))||!o((function(){xa.prototype.toLocaleString.call([1,2])})));var Ca=Go.exportTypedArrayMethod,Fa=n.Uint8Array,Ua=Fa&&Fa.prototype||{},Da=[].toString,ka=[].join;o((function(){Da.call({})}))&&(Da=function(){return ka.call(this)});var Na=Ua.toString!=Da;Ca("toString",Da,Na);var Va=R("iterator"),Wa=n.Uint8Array,Ya=Ie.values,Ga=Ie.keys,qa=Ie.entries,Ha=Go.aTypedArray,za=Go.exportTypedArrayMethod,Xa=Wa&&Wa.prototype[Va],Ka=!!Xa&&("values"==Xa.name||null==Xa.name),Ja=function(){return Ya.call(Ha(this))};za("entries",(function(){return qa.call(Ha(this))})),za("keys",(function(){return Ga.call(Ha(this))})),za("values",Ja,!Ka),za(Va,Ja,!Ka);n.Uint8Array;var Qa=function(){return"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this}(),Za=Qa.BlobBuilder||Qa.WebKitBlobBuilder||Qa.MSBlobBuilder||Qa.MozBlobBuilder;Qa.URL=Qa.URL||Qa.webkitURL||function(t,e){return(e=document.createElement("a")).href=t,e};var $a=Qa.Blob,tu=URL.createObjectURL,eu=URL.revokeObjectURL,ru=Qa.Symbol&&Qa.Symbol.toStringTag,nu=!1,ou=!1,iu=!!Qa.ArrayBuffer,au=Za&&Za.prototype.append&&Za.prototype.getBlob;try{nu=2===new Blob(["ä"]).size,ou=2===new Blob([new Uint8Array([1,2])]).size}catch(t){}function uu(t){return t.map((function(t){if(t.buffer instanceof ArrayBuffer){var e=t.buffer;if(t.byteLength!==e.byteLength){var r=new Uint8Array(t.byteLength);r.set(new Uint8Array(e,t.byteOffset,t.byteLength)),e=r.buffer}return e}return t}))}function cu(t,e){e=e||{};var r=new Za;return uu(t).forEach((function(t){r.append(t)})),e.type?r.getBlob(e.type):r.getBlob()}function fu(t,e){return new $a(uu(t),e||{})}if(Qa.Blob&&(cu.prototype=Blob.prototype,fu.prototype=Blob.prototype),ru)try{File.prototype[ru]="File",Blob.prototype[ru]="Blob",FileReader.prototype[ru]="FileReader"}catch(t){}function su(){var t=!!Qa.ActiveXObject||"-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style,e=Qa.XMLHttpRequest&&Qa.XMLHttpRequest.prototype.send;t&&e&&(XMLHttpRequest.prototype.send=function(t){t instanceof Blob?(this.setRequestHeader("Content-Type",t.type),e.call(this,t)):e.call(this,t)});try{new File([],"")}catch(t){try{var r=new Function('class File extends Blob {constructor(chunks, name, opts) {opts = opts || {};super(chunks, opts || {});this.name = name;this.lastModifiedDate = opts.lastModified ? new Date(opts.lastModified) : new Date;this.lastModified = +this.lastModifiedDate;}};return new File([], ""), File')();Qa.File=r}catch(t){r=function(t,e,r){var n=new Blob(t,r),o=r&&void 0!==r.lastModified?new Date(r.lastModified):new Date;return n.name=e,n.lastModifiedDate=o,n.lastModified=+o,n.toString=function(){return"[object File]"},ru&&(n[ru]="File"),n};Qa.File=r}}}nu?(su(),Qa.Blob=ou?Qa.Blob:fu):au?(su(),Qa.Blob=cu):function(){function t(t){for(var e=[],r=0;r<t.length;r++){var n=t.charCodeAt(r);n<128?e.push(n):n<2048?e.push(192|n>>6,128|63&n):n<55296||n>=57344?e.push(224|n>>12,128|n>>6&63,128|63&n):(r++,n=65536+((1023&n)<<10|1023&t.charCodeAt(r)),e.push(240|n>>18,128|n>>12&63,128|n>>6&63,128|63&n))}return e}function e(t){var e,r,n,o,i,a;for(e="",n=t.length,r=0;r<n;)switch((o=t[r++])>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:e+=String.fromCharCode(o);break;case 12:case 13:i=t[r++],e+=String.fromCharCode((31&o)<<6|63&i);break;case 14:i=t[r++],a=t[r++],e+=String.fromCharCode((15&o)<<12|(63&i)<<6|(63&a)<<0)}return e}function r(t){for(var e=new Array(t.byteLength),r=new Uint8Array(t),n=e.length;n--;)e[n]=r[n];return e}function n(t){for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r=[],n=0;n<t.length;n+=3){var o=t[n],i=n+1<t.length,a=i?t[n+1]:0,u=n+2<t.length,c=u?t[n+2]:0,f=o>>2,s=(3&o)<<4|a>>4,l=(15&a)<<2|c>>6,p=63&c;u||(p=64,i||(l=64)),r.push(e[f],e[s],e[l],e[p])}return r.join("")}var o=Object.create||function(t){function e(){}return e.prototype=t,new e};if(iu)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],a=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function u(e,n){for(var o=0,i=(e=e||[]).length;o<i;o++){var c=e[o];c instanceof u?e[o]=c._buffer:"string"==typeof c?e[o]=t(c):iu&&(ArrayBuffer.prototype.isPrototypeOf(c)||a(c))?e[o]=r(c):iu&&((f=c)&&DataView.prototype.isPrototypeOf(f))?e[o]=r(c.buffer):e[o]=t(String(c))}var f;this._buffer=[].concat.apply([],e),this.size=this._buffer.length,this.type=n&&n.type||""}function c(t,e,r){r=r||{};var n=u.call(this,t,r)||this;return n.name=e,n.lastModifiedDate=r.lastModified?new Date(r.lastModified):new Date,n.lastModified=+n.lastModifiedDate,n}if(u.prototype.slice=function(t,e,r){return new u([this._buffer.slice(t||0,e||this._buffer.length)],{type:r})},u.prototype.toString=function(){return"[object Blob]"},c.prototype=o(u.prototype),c.prototype.constructor=c,Object.setPrototypeOf)Object.setPrototypeOf(c,u);else try{c.__proto__=u}catch(t){}function f(){if(!(this instanceof f))throw new TypeError("Failed to construct 'FileReader': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");var t=document.createDocumentFragment();this.addEventListener=t.addEventListener,this.dispatchEvent=function(e){var r=this["on"+e.type];"function"==typeof r&&r(e),t.dispatchEvent(e)},this.removeEventListener=t.removeEventListener}function s(t,e,r){if(!(e instanceof u))throw new TypeError("Failed to execute '"+r+"' on 'FileReader': parameter 1 is not of type 'Blob'.");t.result="",setTimeout((function(){this.readyState=f.LOADING,t.dispatchEvent(new Event("load")),t.dispatchEvent(new Event("loadend"))}))}c.prototype.toString=function(){return"[object File]"},f.EMPTY=0,f.LOADING=1,f.DONE=2,f.prototype.error=null,f.prototype.onabort=null,f.prototype.onerror=null,f.prototype.onload=null,f.prototype.onloadend=null,f.prototype.onloadstart=null,f.prototype.onprogress=null,f.prototype.readAsDataURL=function(t){s(this,t,"readAsDataURL"),this.result="data:"+t.type+";base64,"+n(t._buffer)},f.prototype.readAsText=function(t){s(this,t,"readAsText"),this.result=e(t._buffer)},f.prototype.readAsArrayBuffer=function(t){s(this,t,"readAsText"),this.result=t._buffer.slice()},f.prototype.abort=function(){},URL.createObjectURL=function(t){return t instanceof u?"data:"+t.type+";base64,"+n(t._buffer):tu.call(URL,t)},URL.revokeObjectURL=function(t){eu&&eu.call(URL,t)};var l=Qa.XMLHttpRequest&&Qa.XMLHttpRequest.prototype.send;l&&(XMLHttpRequest.prototype.send=function(t){t instanceof u?(this.setRequestHeader("Content-Type",t.type),l.call(this,e(t._buffer))):l.call(this,t)}),Qa.FileReader=f,Qa.File=c,Qa.Blob=u}();var lu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";void 0===Qa.btoa&&(Qa.btoa=function(t){var e,r,n,o,i,a=0,u=0,c="",f=[];if(!t)return t;do{e=(i=t.charCodeAt(a++)<<16|t.charCodeAt(a++)<<8|t.charCodeAt(a++))>>18&63,r=i>>12&63,n=i>>6&63,o=63&i,f[u++]=lu.charAt(e)+lu.charAt(r)+lu.charAt(n)+lu.charAt(o)}while(a<t.length);c=f.join("");var s=t.length%3;return(s?c.slice(0,s-3):c)+"===".slice(s||3)}),void 0===Qa.atob&&(Qa.atob=function(t){var e,r,n,o,i,a,u=0,c=0,f=[];if(!t)return t;t+="";do{e=(a=lu.indexOf(t.charAt(u++))<<18|lu.indexOf(t.charAt(u++))<<12|(o=lu.indexOf(t.charAt(u++)))<<6|(i=lu.indexOf(t.charAt(u++))))>>16&255,r=a>>8&255,n=255&a,f[c++]=64==o?String.fromCharCode(e):64==i?String.fromCharCode(e,r):String.fromCharCode(e,r,n)}while(u<t.length);return f.join("")})}));
|
package/lib/sha1.min.js
CHANGED
|
@@ -1,13 +1,21 @@
|
|
|
1
|
-
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
/**
|
|
2
|
+
* A JavaScript implementation of the SHA family of hashes - defined in FIPS PUB 180-4, FIPS PUB 202,
|
|
3
|
+
* and SP 800-185 - as well as the corresponding HMAC implementation as defined in FIPS PUB 198-1.
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2008-2020 Brian Turek, 1998-2009 Paul Johnston & Contributors
|
|
6
|
+
* Distributed under the BSD License
|
|
7
|
+
* See http://caligatio.github.com/jsSHA/ for more information
|
|
8
|
+
*
|
|
9
|
+
* Two ECMAScript polyfill functions carry the following license:
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
12
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
|
13
|
+
* the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
+
*
|
|
15
|
+
* THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED,
|
|
16
|
+
* INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
17
|
+
* MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
18
|
+
*
|
|
19
|
+
* See the Apache Version 2.0 License for specific language governing permissions and limitations under the License.
|
|
20
|
+
*/
|
|
21
|
+
!function(t,r){"object"==typeof exports&&"undefined"!=typeof module?t["jsSHA"]=r():"function"==typeof define&&define.amd?define(r):(t="undefined"!=typeof globalThis?globalThis:t||self).jsSHA=r()}(window,(function(){"use strict";var t=function(r,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])})(r,n)};var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function n(t,r,n,i){var e,o,s,u=r||[0],f=(n=n||0)>>>3,h=-1===i?3:0;for(e=0;e<t.length;e+=1)o=(s=e+f)>>>2,u.length<=o&&u.push(0),u[o]|=t[e]<<8*(h+i*(s%4));return{value:u,binLen:8*t.length+n}}function i(t,i,e){switch(i){case"UTF8":case"UTF16BE":case"UTF16LE":break;default:throw new Error("encoding must be UTF8, UTF16BE, or UTF16LE")}switch(t){case"HEX":return function(t,r,n){return function(t,r,n,i){var e,o,s,u;if(0!=t.length%2)throw new Error("String of HEX type must be in byte increments");var f=r||[0],h=(n=n||0)>>>3,a=-1===i?3:0;for(e=0;e<t.length;e+=2){if(o=parseInt(t.substr(e,2),16),isNaN(o))throw new Error("String of HEX type contains invalid characters");for(s=(u=(e>>>1)+h)>>>2;f.length<=s;)f.push(0);f[s]|=o<<8*(a+i*(u%4))}return{value:f,binLen:4*t.length+n}}(t,r,n,e)};case"TEXT":return function(t,r,n){return function(t,r,n,i,e){var o,s,u,f,h,a,c,w,E=0,v=n||[0],A=(i=i||0)>>>3;if("UTF8"===r)for(c=-1===e?3:0,u=0;u<t.length;u+=1)for(s=[],128>(o=t.charCodeAt(u))?s.push(o):2048>o?(s.push(192|o>>>6),s.push(128|63&o)):55296>o||57344<=o?s.push(224|o>>>12,128|o>>>6&63,128|63&o):(u+=1,o=65536+((1023&o)<<10|1023&t.charCodeAt(u)),s.push(240|o>>>18,128|o>>>12&63,128|o>>>6&63,128|63&o)),f=0;f<s.length;f+=1){for(h=(a=E+A)>>>2;v.length<=h;)v.push(0);v[h]|=s[f]<<8*(c+e*(a%4)),E+=1}else for(c=-1===e?2:0,w="UTF16LE"===r&&1!==e||"UTF16LE"!==r&&1===e,u=0;u<t.length;u+=1){for(o=t.charCodeAt(u),!0===w&&(o=(f=255&o)<<8|o>>>8),h=(a=E+A)>>>2;v.length<=h;)v.push(0);v[h]|=o<<8*(c+e*(a%4)),E+=2}return{value:v,binLen:8*E+i}}(t,i,r,n,e)};case"B64":return function(t,n,i){return function(t,n,i,e){var o,s,u,f,h,a,c=0,w=n||[0],E=(i=i||0)>>>3,v=-1===e?3:0,A=t.indexOf("=");if(-1===t.search(/^[a-zA-Z0-9=+/]+$/))throw new Error("Invalid character in base-64 string");if(t=t.replace(/=/g,""),-1!==A&&A<t.length)throw new Error("Invalid '=' found in base-64 string");for(o=0;o<t.length;o+=4){for(f=t.substr(o,4),u=0,s=0;s<f.length;s+=1)u|=r.indexOf(f.charAt(s))<<18-6*s;for(s=0;s<f.length-1;s+=1){for(h=(a=c+E)>>>2;w.length<=h;)w.push(0);w[h]|=(u>>>16-8*s&255)<<8*(v+e*(a%4)),c+=1}}return{value:w,binLen:8*c+i}}(t,n,i,e)};case"BYTES":return function(t,r,n){return function(t,r,n,i){var e,o,s,u,f=r||[0],h=(n=n||0)>>>3,a=-1===i?3:0;for(o=0;o<t.length;o+=1)e=t.charCodeAt(o),s=(u=o+h)>>>2,f.length<=s&&f.push(0),f[s]|=e<<8*(a+i*(u%4));return{value:f,binLen:8*t.length+n}}(t,r,n,e)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch(t){throw new Error("ARRAYBUFFER not supported by this environment")}return function(t,r,i){return function(t,r,i,e){return n(new Uint8Array(t),r,i,e)}(t,r,i,e)};case"UINT8ARRAY":try{new Uint8Array(0)}catch(t){throw new Error("UINT8ARRAY not supported by this environment")}return function(t,r,i){return n(t,r,i,e)};default:throw new Error("format must be HEX, TEXT, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function e(t,n,i,e){switch(t){case"HEX":return function(t){return function(t,r,n,i){var e,o,s="",u=r/8,f=-1===n?3:0;for(e=0;e<u;e+=1)o=t[e>>>2]>>>8*(f+n*(e%4)),s+="0123456789abcdef".charAt(o>>>4&15)+"0123456789abcdef".charAt(15&o);return i.outputUpper?s.toUpperCase():s}(t,n,i,e)};case"B64":return function(t){return function(t,n,i,e){var o,s,u,f,h,a="",c=n/8,w=-1===i?3:0;for(o=0;o<c;o+=3)for(f=o+1<c?t[o+1>>>2]:0,h=o+2<c?t[o+2>>>2]:0,u=(t[o>>>2]>>>8*(w+i*(o%4))&255)<<16|(f>>>8*(w+i*((o+1)%4))&255)<<8|h>>>8*(w+i*((o+2)%4))&255,s=0;s<4;s+=1)a+=8*o+6*s<=n?r.charAt(u>>>6*(3-s)&63):e.b64Pad;return a}(t,n,i,e)};case"BYTES":return function(t){return function(t,r,n){var i,e,o="",s=r/8,u=-1===n?3:0;for(i=0;i<s;i+=1)e=t[i>>>2]>>>8*(u+n*(i%4))&255,o+=String.fromCharCode(e);return o}(t,n,i)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch(t){throw new Error("ARRAYBUFFER not supported by this environment")}return function(t){return function(t,r,n){var i,e=r/8,o=new ArrayBuffer(e),s=new Uint8Array(o),u=-1===n?3:0;for(i=0;i<e;i+=1)s[i]=t[i>>>2]>>>8*(u+n*(i%4))&255;return o}(t,n,i)};case"UINT8ARRAY":try{new Uint8Array(0)}catch(t){throw new Error("UINT8ARRAY not supported by this environment")}return function(t){return function(t,r,n){var i,e=r/8,o=-1===n?3:0,s=new Uint8Array(e);for(i=0;i<e;i+=1)s[i]=t[i>>>2]>>>8*(o+n*(i%4))&255;return s}(t,n,i)};default:throw new Error("format must be HEX, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function o(t){var r={outputUpper:!1,b64Pad:"=",outputLen:-1},n=t||{},i="Output length must be a multiple of 8";if(r.outputUpper=n.outputUpper||!1,n.b64Pad&&(r.b64Pad=n.b64Pad),n.outputLen){if(n.outputLen%8!=0)throw new Error(i);r.outputLen=n.outputLen}else if(n.shakeLen){if(n.shakeLen%8!=0)throw new Error(i);r.outputLen=n.shakeLen}if("boolean"!=typeof r.outputUpper)throw new Error("Invalid outputUpper formatting option");if("string"!=typeof r.b64Pad)throw new Error("Invalid b64Pad formatting option");return r}function s(t,r){return t<<r|t>>>32-r}function u(t,r,n){return t^r^n}function f(t,r,n){return t&r^t&n^r&n}function h(t,r){var n=(65535&t)+(65535&r);return(65535&(t>>>16)+(r>>>16)+(n>>>16))<<16|65535&n}function a(t,r,n,i,e){var o=(65535&t)+(65535&r)+(65535&n)+(65535&i)+(65535&e);return(65535&(t>>>16)+(r>>>16)+(n>>>16)+(i>>>16)+(e>>>16)+(o>>>16))<<16|65535&o}function c(t){return[1732584193,4023233417,2562383102,271733878,3285377520]}function w(t,r){var n,i,e,o,c,w,E,v,A=[];for(n=r[0],i=r[1],e=r[2],o=r[3],c=r[4],E=0;E<80;E+=1)A[E]=E<16?t[E]:s(A[E-3]^A[E-8]^A[E-14]^A[E-16],1),w=E<20?a(s(n,5),(v=i)&e^~v&o,c,1518500249,A[E]):E<40?a(s(n,5),u(i,e,o),c,1859775393,A[E]):E<60?a(s(n,5),f(i,e,o),c,2400959708,A[E]):a(s(n,5),u(i,e,o),c,3395469782,A[E]),c=o,o=e,e=s(i,30),i=n,n=w;return r[0]=h(n,r[0]),r[1]=h(i,r[1]),r[2]=h(e,r[2]),r[3]=h(o,r[3]),r[4]=h(c,r[4]),r}function E(t,r,n,i){for(var e,o=15+(r+65>>>9<<4),s=r+n;t.length<=o;)t.push(0);for(t[r>>>5]|=128<<24-r%32,t[o]=4294967295&s,t[o-1]=s/4294967296|0,e=0;e<t.length;e+=16)i=w(t.slice(e,e+16),i);return i}return function(r){function n(t,n,e){var o=this;if("SHA-1"!==t)throw new Error("Chosen SHA variant is not supported");var s=e||{};return(o=r.call(this,t,n,e)||this).t=!0,o.i=o.o,o.s=-1,o.u=i(o.h,o.v,o.s),o.A=w,o.p=function(t){return t.slice()},o.l=c,o.R=E,o.U=[1732584193,4023233417,2562383102,271733878,3285377520],o.T=512,o.m=160,o.F=!1,s.hmacKey&&o.B(function(t,r,n,e){var o=t+" must include a value and format";if(!r){if(!e)throw new Error(o);return e}if(void 0===r.value||!r.format)throw new Error(o);return i(r.format,r.encoding||"UTF8",n)(r.value)}("hmacKey",s.hmacKey,o.s)),o}return function(r,n){function i(){this.constructor=r}t(r,n),r.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}(n,r),n}(function(){function t(t,r,n){var i=n||{};if(this.h=r,this.v=i.encoding||"UTF8",this.numRounds=i.numRounds||1,isNaN(this.numRounds)||this.numRounds!==parseInt(this.numRounds,10)||1>this.numRounds)throw new Error("numRounds must a integer >= 1");this.g=t,this.Y=[],this.I=0,this.C=!1,this.H=0,this.L=!1,this.N=[],this.S=[]}return t.prototype.update=function(t){var r,n=0,i=this.T>>>5,e=this.u(t,this.Y,this.I),o=e.binLen,s=e.value,u=o>>>5;for(r=0;r<u;r+=i)n+this.T<=o&&(this.U=this.A(s.slice(r,r+i),this.U),n+=this.T);this.H+=n,this.Y=s.slice(n>>>5),this.I=o%this.T,this.C=!0},t.prototype.getHash=function(t,r){var n,i,s=this.m,u=o(r);if(this.F){if(-1===u.outputLen)throw new Error("Output length must be specified in options");s=u.outputLen}var f=e(t,s,this.s,u);if(this.L&&this.i)return f(this.i(u));for(i=this.R(this.Y.slice(),this.I,this.H,this.p(this.U),s),n=1;n<this.numRounds;n+=1)this.F&&s%32!=0&&(i[i.length-1]&=16777215>>>24-s%32),i=this.R(i,s,0,this.l(this.g),s);return f(i)},t.prototype.setHMACKey=function(t,r,n){if(!this.t)throw new Error("Variant does not support HMAC");if(this.C)throw new Error("Cannot set MAC key after calling update");var e=i(r,(n||{}).encoding||"UTF8",this.s);this.B(e(t))},t.prototype.B=function(t){var r,n=this.T>>>3,i=n/4-1;if(1!==this.numRounds)throw new Error("Cannot set numRounds with MAC");if(this.L)throw new Error("MAC key already set");for(n<t.binLen/8&&(t.value=this.R(t.value,t.binLen,0,this.l(this.g),this.m));t.value.length<=i;)t.value.push(0);for(r=0;r<=i;r+=1)this.N[r]=909522486^t.value[r],this.S[r]=1549556828^t.value[r];this.U=this.A(this.N,this.U),this.H=this.T,this.L=!0},t.prototype.getHMAC=function(t,r){var n=o(r);return e(t,this.m,this.s,n)(this.o())},t.prototype.o=function(){var t;if(!this.L)throw new Error("Cannot call getHMAC without first setting MAC key");var r=this.R(this.Y.slice(),this.I,this.H,this.p(this.U),this.m);return t=this.A(this.S,this.l(this.g)),t=this.R(r,this.m,this.T,t,this.m)},t}())}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "flexmonster",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.14",
|
|
4
4
|
"description": "Pivot table component for web reporting. The most powerful JavaScript tool to visualize your business data.",
|
|
5
5
|
"main": "flexmonster.full.js",
|
|
6
6
|
"typings": "./types/flexmonster.d.ts",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--fm-version: "2.9.
|
|
2
|
+
--fm-version: "2.9.14";
|
|
3
3
|
}
|
|
4
4
|
/* ===== RESET STYLES ===== */
|
|
5
5
|
#fm-pivot-view,
|
|
@@ -3441,14 +3441,29 @@
|
|
|
3441
3441
|
#fm-pivot-view .fm-fields-view .fm-btn-add-measure-2:hover:before {
|
|
3442
3442
|
color: #000;
|
|
3443
3443
|
}
|
|
3444
|
+
#fm-pivot-view .fm-fields-view .fm-popup-header {
|
|
3445
|
+
display: flex;
|
|
3446
|
+
}
|
|
3444
3447
|
#fm-pivot-view .fm-fields-view .fm-popup-header .fm-ui-col:first-child {
|
|
3445
|
-
|
|
3448
|
+
min-width: 100px;
|
|
3446
3449
|
}
|
|
3447
3450
|
#fm-pivot-view .fm-fields-view .fm-popup-header .fm-ui-col:first-child span.fm-ui-label {
|
|
3448
3451
|
white-space: nowrap;
|
|
3449
3452
|
text-overflow: ellipsis;
|
|
3450
3453
|
overflow: hidden;
|
|
3451
3454
|
}
|
|
3455
|
+
#fm-pivot-view .fm-fields-view .fm-popup-header .fm-ui-col:nth-child(1) {
|
|
3456
|
+
flex: 1;
|
|
3457
|
+
}
|
|
3458
|
+
#fm-pivot-view .fm-fields-view .fm-popup-header .fm-ui-col:nth-child(1) .fm-popup-subtitle {
|
|
3459
|
+
width: fit-content;
|
|
3460
|
+
}
|
|
3461
|
+
#fm-pivot-view .fm-fields-view .fm-popup-header .fm-ui-col:nth-child(2) {
|
|
3462
|
+
min-width: fit-content;
|
|
3463
|
+
position: relative;
|
|
3464
|
+
right: 0px;
|
|
3465
|
+
margin-left: 30px;
|
|
3466
|
+
}
|
|
3452
3467
|
#fm-pivot-view .fm-fields-view .fm-popup-header .fm-btn-add-measure {
|
|
3453
3468
|
padding-right: 32px;
|
|
3454
3469
|
max-width: 250px;
|
|
@@ -4313,6 +4328,12 @@
|
|
|
4313
4328
|
height: calc(100% - 50px);
|
|
4314
4329
|
height: -webkit-calc(100% - 50px);
|
|
4315
4330
|
}
|
|
4331
|
+
#fm-pivot-view .fm-fields-view.fm-layout-mobile-small .fm-popup-header {
|
|
4332
|
+
flex-direction: column;
|
|
4333
|
+
}
|
|
4334
|
+
#fm-pivot-view .fm-fields-view.fm-layout-mobile-small .fm-ui-col:nth-child(2) {
|
|
4335
|
+
margin-left: auto;
|
|
4336
|
+
}
|
|
4316
4337
|
#fm-pivot-view .fm-fields-view.fm-layout-mobile-small .fm-popup-content {
|
|
4317
4338
|
height: calc(100% - 95px);
|
|
4318
4339
|
height: -webkit-calc(100% - 95px);
|
|
@@ -4326,9 +4347,6 @@
|
|
|
4326
4347
|
min-height: 467px;
|
|
4327
4348
|
height: 467px;
|
|
4328
4349
|
}
|
|
4329
|
-
#fm-pivot-view .fm-fields-view.fm-flat-fields .fm-popup-header .fm-ui-col:first-child {
|
|
4330
|
-
margin-right: 20px;
|
|
4331
|
-
}
|
|
4332
4350
|
#fm-pivot-view .fm-fields-view.fm-flat-fields .fm-popup-header .fm-btn-add-measure {
|
|
4333
4351
|
min-width: 40px;
|
|
4334
4352
|
width: 40px;
|
|
@@ -4567,9 +4585,6 @@
|
|
|
4567
4585
|
height: calc(100% - 35px);
|
|
4568
4586
|
height: -webkit-calc(100% - 35px);
|
|
4569
4587
|
}
|
|
4570
|
-
#fm-pivot-view .fm-fields-view.fm-layout-tablet .fm-popup-header .fm-ui-col:first-child {
|
|
4571
|
-
margin-right: 20px;
|
|
4572
|
-
}
|
|
4573
4588
|
#fm-pivot-view .fm-fields-view.fm-layout-tablet .fm-list-wrap .fm-list-header.fm-list-header-wide .fm-list-header-label-wrap {
|
|
4574
4589
|
position: absolute;
|
|
4575
4590
|
top: 50%;
|
|
@@ -6446,11 +6461,13 @@
|
|
|
6446
6461
|
text-align: center;
|
|
6447
6462
|
}
|
|
6448
6463
|
#fm-toolbar-wrapper div.fm-panel .fm-title-bar .fm-toolbox {
|
|
6464
|
+
flex: 1;
|
|
6449
6465
|
margin-top: 0;
|
|
6450
|
-
|
|
6451
|
-
width:
|
|
6466
|
+
min-width: fit-content;
|
|
6467
|
+
width: fit-content;
|
|
6452
6468
|
float: right;
|
|
6453
6469
|
text-align: right;
|
|
6470
|
+
margin-left: 30px;
|
|
6454
6471
|
}
|
|
6455
6472
|
#fm-toolbar-wrapper div.fm-panel .fm-toolbox .fm-ui-btn {
|
|
6456
6473
|
height: 38px;
|
|
@@ -6468,6 +6485,8 @@
|
|
|
6468
6485
|
position: relative;
|
|
6469
6486
|
}
|
|
6470
6487
|
#fm-toolbar-wrapper div.fm-panel .fm-panel-content .fm-title-bar {
|
|
6488
|
+
display: flex;
|
|
6489
|
+
justify-content: center;
|
|
6471
6490
|
clear: both;
|
|
6472
6491
|
margin-bottom: 24px;
|
|
6473
6492
|
}
|
|
@@ -6483,7 +6502,7 @@
|
|
|
6483
6502
|
}
|
|
6484
6503
|
#fm-toolbar-wrapper div.fm-panel .fm-panel-content .fm-title-bar .fm-title-text.fm-ui-col {
|
|
6485
6504
|
text-align: left;
|
|
6486
|
-
|
|
6505
|
+
flex: 1;
|
|
6487
6506
|
}
|
|
6488
6507
|
#fm-toolbar-wrapper .fm-popup-modal-overlay {
|
|
6489
6508
|
z-index: 20;
|
|
@@ -6514,18 +6533,19 @@
|
|
|
6514
6533
|
flex-direction: column;
|
|
6515
6534
|
}
|
|
6516
6535
|
#fm-toolbar-wrapper div.fm-panel.fm-popup.fm-layout-mobile .fm-panel-content .fm-title-bar .fm-title-text.fm-ui-col {
|
|
6517
|
-
max-width:
|
|
6536
|
+
max-width: none !important;
|
|
6518
6537
|
width: 100%;
|
|
6519
6538
|
font-size: 18px;
|
|
6520
6539
|
margin-bottom: 10px;
|
|
6521
6540
|
}
|
|
6522
6541
|
#fm-toolbar-wrapper div.fm-panel.fm-popup.fm-layout-mobile .fm-panel-content .fm-toolbox {
|
|
6523
6542
|
display: flex;
|
|
6524
|
-
max-width:
|
|
6525
|
-
width:
|
|
6543
|
+
max-width: none !important;
|
|
6544
|
+
width: auto !important;
|
|
6545
|
+
margin-left: 0;
|
|
6526
6546
|
}
|
|
6527
6547
|
#fm-toolbar-wrapper div.fm-panel.fm-popup.fm-layout-mobile .fm-panel-content .fm-toolbox .fm-ui-btn:not(.fm-button-add) {
|
|
6528
|
-
max-width:
|
|
6548
|
+
max-width: none;
|
|
6529
6549
|
flex: 1;
|
|
6530
6550
|
}
|
|
6531
6551
|
/* Conditional formatting */
|
|
@@ -6538,7 +6558,7 @@
|
|
|
6538
6558
|
width: 54% !important;
|
|
6539
6559
|
}
|
|
6540
6560
|
#fm-toolbar-wrapper .fm-popup-conditional .fm-title-text {
|
|
6541
|
-
max-width: 46
|
|
6561
|
+
max-width: 46% !important;
|
|
6542
6562
|
width: -webkit-calc(100% - 270px);
|
|
6543
6563
|
width: calc(100% - 270px);
|
|
6544
6564
|
}
|
|
@@ -6574,13 +6594,15 @@
|
|
|
6574
6594
|
color: #000;
|
|
6575
6595
|
}
|
|
6576
6596
|
#fm-toolbar-wrapper .fm-popup-conditional .fm-condition-row .fm-values {
|
|
6577
|
-
width:
|
|
6597
|
+
width: calc(100% - 390px);
|
|
6598
|
+
width: -webkit-calc(100% - 390px);
|
|
6578
6599
|
}
|
|
6579
6600
|
#fm-toolbar-wrapper .fm-popup-conditional .fm-condition-row .fm-conditions {
|
|
6580
6601
|
width: 150px;
|
|
6581
6602
|
}
|
|
6582
6603
|
#fm-toolbar-wrapper .fm-popup-conditional .fm-condition-row .fm-font-family {
|
|
6583
|
-
width:
|
|
6604
|
+
width: calc(100% - 390px);
|
|
6605
|
+
width: -webkit-calc(100% - 390px);
|
|
6584
6606
|
}
|
|
6585
6607
|
#fm-toolbar-wrapper .fm-popup-conditional .fm-condition-row .fm-font-size {
|
|
6586
6608
|
width: 100px;
|
|
@@ -7171,7 +7193,7 @@
|
|
|
7171
7193
|
}
|
|
7172
7194
|
#fm-toolbar-wrapper .fm-toolbar-ui .fm-button-add {
|
|
7173
7195
|
padding-right: 30px;
|
|
7174
|
-
min-width:
|
|
7196
|
+
min-width: auto;
|
|
7175
7197
|
}
|
|
7176
7198
|
#fm-toolbar-wrapper .fm-toolbar-ui .fm-button-add-large {
|
|
7177
7199
|
padding-left: 36px;
|