@clickview/reports 0.2.0-rc.3 → 0.2.1-dev.0
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/dist/bundles.json +3 -3
- package/dist/css/{reports-app-f96df491ff.css → reports-app-bbe8317dac.css} +1 -1
- package/dist/en.json +1 -1
- package/dist/scripts/10-b872dc59c7-reports.chunk.js +1 -0
- package/dist/scripts/16-2df7078d5c-reports.chunk.js +1 -0
- package/dist/scripts/17-b2a243bf4b-reports.chunk.js +1 -0
- package/dist/scripts/{19-65dc0d634a-reports.chunk.js → 19-16130ffe4e-reports.chunk.js} +1 -1
- package/dist/scripts/21-4537b255bb-reports.chunk.js +1 -0
- package/dist/scripts/{24-c25d0ee026-reports.chunk.js → 24-32e9ffa105-reports.chunk.js} +1 -1
- package/dist/scripts/{3-a631ba6003-reports.chunk.js → 3-deba566912-reports.chunk.js} +1 -1
- package/dist/scripts/{4-5a75984066-reports.chunk.js → 4-789825be57-reports.chunk.js} +1 -1
- package/dist/scripts/{5-d161322706-reports.chunk.js → 5-3f2921c96e-reports.chunk.js} +2 -2
- package/dist/scripts/8-83e749b892-reports.chunk.js +1 -0
- package/dist/scripts/{bundle-ac44c51872.min.js → bundle-1a7209a845.min.js} +2 -2
- package/dist/scripts/{polyfills-48d7302745.min.js → polyfills-31e0c1cd27.min.js} +1 -1
- package/package.json +2 -2
- package/dist/scripts/10-95961ae0d1-reports.chunk.js +0 -1
- package/dist/scripts/16-0a2e6b406a-reports.chunk.js +0 -1
- package/dist/scripts/17-db8aa0c51e-reports.chunk.js +0 -1
- package/dist/scripts/21-4ffc4b7665-reports.chunk.js +0 -1
- package/dist/scripts/8-df0305b2e9-reports.chunk.js +0 -1
- /package/dist/scripts/{11-1ce142013c-reports.chunk.js → 11-8737de02d0-reports.chunk.js} +0 -0
- /package/dist/scripts/{18-cdba76bc75-reports.chunk.js → 18-6bc1d1587b-reports.chunk.js} +0 -0
- /package/dist/scripts/{20-19ced7f29f-reports.chunk.js → 20-deb0c05406-reports.chunk.js} +0 -0
- /package/dist/scripts/{23-879ba04900-reports.chunk.js → 23-97f76e5c96-reports.chunk.js} +0 -0
- /package/dist/scripts/{25-eecc442e81-reports.chunk.js → 25-5c1e4c0e9f-reports.chunk.js} +0 -0
- /package/dist/scripts/{26-c0cc25c6c9-reports.chunk.js → 26-ab8f9ed4cd-reports.chunk.js} +0 -0
- /package/dist/scripts/{27-cbd44d2650-reports.chunk.js → 27-be5fe7a57e-reports.chunk.js} +0 -0
- /package/dist/scripts/{30-f2990b47f0-reports.chunk.js → 30-df7a7512cd-reports.chunk.js} +0 -0
- /package/dist/scripts/{6-f5949bf59b-reports.chunk.js → 6-0c303e4aee-reports.chunk.js} +0 -0
- /package/dist/scripts/{7-817c611c12-reports.chunk.js → 7-554aacbfd6-reports.chunk.js} +0 -0
- /package/dist/scripts/{9-67d560e9a3-reports.chunk.js → 9-d474f04702-reports.chunk.js} +0 -0
|
@@ -70,7 +70,7 @@ var t,n;function r(){var t,n=s(s(t=e.call(this)||this));if(i.a.browser.IS_IE8)fo
|
|
|
70
70
|
*
|
|
71
71
|
* @preserve
|
|
72
72
|
*/
|
|
73
|
-
e.exports=function(){"use strict";for(var e=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e<t?t:e>n?n:e},t={},n=0,i=["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"];n<i.length;n+=1){var r=i[n];t["[object "+r+"]"]=r.toLowerCase()}var a=function(e){return t[Object.prototype.toString.call(e)]||"object"},s=Math.PI,o={clip_rgb:function(t){t._clipped=!1,t._unclipped=t.slice(0);for(var n=0;n<=3;n++)n<3?((t[n]<0||t[n]>255)&&(t._clipped=!0),t[n]=e(t[n],0,255)):3===n&&(t[n]=e(t[n],0,1));return t},limit:e,type:a,unpack:function(e,t){return void 0===t&&(t=null),e.length>=3?Array.prototype.slice.call(e):"object"==a(e[0])&&t?t.split("").filter((function(t){return void 0!==e[0][t]})).map((function(t){return e[0][t]})):e[0]},last:function(e){if(e.length<2)return null;var t=e.length-1;return"string"==a(e[t])?e[t].toLowerCase():null},PI:s,TWOPI:2*s,PITHIRD:s/3,DEG2RAD:s/180,RAD2DEG:180/s},u={format:{},autodetect:[]},l=o.last,c=o.clip_rgb,h=o.type,d=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=this;if("object"===h(e[0])&&e[0].constructor&&e[0].constructor===this.constructor)return e[0];var i=l(e),r=!1;if(!i){r=!0,u.sorted||(u.autodetect=u.autodetect.sort((function(e,t){return t.p-e.p})),u.sorted=!0);for(var a=0,s=u.autodetect;a<s.length;a+=1){var o=s[a];if(i=o.test.apply(o,e))break}}if(!u.format[i])throw new Error("unknown format: "+e);var d=u.format[i].apply(null,r?e:e.slice(0,-1));n._rgb=c(d),3===n._rgb.length&&n._rgb.push(1)};d.prototype.toString=function(){return"function"==h(this.hex)?this.hex():"["+this._rgb.join(",")+"]"};var f=d,p=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(p.Color,[null].concat(e)))};p.Color=f,p.version="2.1.2";var m=p,g=o.unpack,v=Math.max,y=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=g(e,"rgb"),i=n[0],r=n[1],a=n[2],s=1-v(i/=255,v(r/=255,a/=255)),o=s<1?1/(1-s):0,u=(1-i-s)*o,l=(1-r-s)*o,c=(1-a-s)*o;return[u,l,c,s]},_=o.unpack,b=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=_(e,"cmyk"))[0],i=e[1],r=e[2],a=e[3],s=e.length>4?e[4]:1;return 1===a?[0,0,0,s]:[n>=1?0:255*(1-n)*(1-a),i>=1?0:255*(1-i)*(1-a),r>=1?0:255*(1-r)*(1-a),s]},T=o.unpack,S=o.type;f.prototype.cmyk=function(){return y(this._rgb)},m.cmyk=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(f,[null].concat(e,["cmyk"])))},u.format.cmyk=b,u.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=T(e,"cmyk"),"array"===S(e)&&4===e.length)return"cmyk"}});var w=o.unpack,E=o.last,k=function(e){return Math.round(100*e)/100},C=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=w(e,"hsla"),i=E(e)||"lsa";return n[0]=k(n[0]||0),n[1]=k(100*n[1])+"%",n[2]=k(100*n[2])+"%","hsla"===i||n.length>3&&n[3]<1?(n[3]=n.length>3?n[3]:1,i="hsla"):n.length=3,i+"("+n.join(",")+")"},x=o.unpack,A=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=x(e,"rgba"))[0],i=e[1],r=e[2];n/=255,i/=255,r/=255;var a,s,o=Math.min(n,i,r),u=Math.max(n,i,r),l=(u+o)/2;return u===o?(a=0,s=Number.NaN):a=l<.5?(u-o)/(u+o):(u-o)/(2-u-o),n==u?s=(i-r)/(u-o):i==u?s=2+(r-n)/(u-o):r==u&&(s=4+(n-i)/(u-o)),(s*=60)<0&&(s+=360),e.length>3&&void 0!==e[3]?[s,a,l,e[3]]:[s,a,l]},I=o.unpack,O=o.last,P=Math.round,L=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=I(e,"rgba"),i=O(e)||"rgb";return"hsl"==i.substr(0,3)?C(A(n),i):(n[0]=P(n[0]),n[1]=P(n[1]),n[2]=P(n[2]),("rgba"===i||n.length>3&&n[3]<1)&&(n[3]=n.length>3?n[3]:1,i="rgba"),i+"("+n.slice(0,"rgb"===i?3:4).join(",")+")")},D=o.unpack,M=Math.round,R=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];var i,r,a,s=(t=D(t,"hsl"))[0],o=t[1],u=t[2];if(0===o)i=r=a=255*u;else{var l=[0,0,0],c=[0,0,0],h=u<.5?u*(1+o):u+o-u*o,d=2*u-h,f=s/360;l[0]=f+1/3,l[1]=f,l[2]=f-1/3;for(var p=0;p<3;p++)l[p]<0&&(l[p]+=1),l[p]>1&&(l[p]-=1),6*l[p]<1?c[p]=d+6*(h-d)*l[p]:2*l[p]<1?c[p]=h:3*l[p]<2?c[p]=d+(h-d)*(2/3-l[p])*6:c[p]=d;i=(e=[M(255*c[0]),M(255*c[1]),M(255*c[2])])[0],r=e[1],a=e[2]}return t.length>3?[i,r,a,t[3]]:[i,r,a,1]},N=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,U=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,B=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,F=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,j=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,V=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,W=Math.round,q=function(e){var t;if(e=e.toLowerCase().trim(),u.format.named)try{return u.format.named(e)}catch(e){}if(t=e.match(N)){for(var n=t.slice(1,4),i=0;i<3;i++)n[i]=+n[i];return n[3]=1,n}if(t=e.match(U)){for(var r=t.slice(1,5),a=0;a<4;a++)r[a]=+r[a];return r}if(t=e.match(B)){for(var s=t.slice(1,4),o=0;o<3;o++)s[o]=W(2.55*s[o]);return s[3]=1,s}if(t=e.match(F)){for(var l=t.slice(1,5),c=0;c<3;c++)l[c]=W(2.55*l[c]);return l[3]=+l[3],l}if(t=e.match(j)){var h=t.slice(1,4);h[1]*=.01,h[2]*=.01;var d=R(h);return d[3]=1,d}if(t=e.match(V)){var f=t.slice(1,4);f[1]*=.01,f[2]*=.01;var p=R(f);return p[3]=+t[4],p}};q.test=function(e){return N.test(e)||U.test(e)||B.test(e)||F.test(e)||j.test(e)||V.test(e)};var H=q,z=o.type;f.prototype.css=function(e){return L(this._rgb,e)},m.css=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(f,[null].concat(e,["css"])))},u.format.css=H,u.autodetect.push({p:5,test:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if(!t.length&&"string"===z(e)&&H.test(e))return"css"}});var G=o.unpack;u.format.gl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=G(e,"rgba");return n[0]*=255,n[1]*=255,n[2]*=255,n},m.gl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(f,[null].concat(e,["gl"])))},f.prototype.gl=function(){var e=this._rgb;return[e[0]/255,e[1]/255,e[2]/255,e[3]]};var Y=o.unpack,X=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,i=Y(e,"rgb"),r=i[0],a=i[1],s=i[2],o=Math.min(r,a,s),u=Math.max(r,a,s),l=u-o,c=100*l/255,h=o/(255-l)*100;return 0===l?n=Number.NaN:(r===u&&(n=(a-s)/l),a===u&&(n=2+(s-r)/l),s===u&&(n=4+(r-a)/l),(n*=60)<0&&(n+=360)),[n,c,h]},K=o.unpack,$=Math.floor,Q=function(){for(var e,t,n,i,r,a,s=[],o=arguments.length;o--;)s[o]=arguments[o];var u,l,c,h=(s=K(s,"hcg"))[0],d=s[1],f=s[2];f*=255;var p=255*d;if(0===d)u=l=c=f;else{360===h&&(h=0),h>360&&(h-=360),h<0&&(h+=360);var m=$(h/=60),g=h-m,v=f*(1-d),y=v+p*(1-g),_=v+p*g,b=v+p;switch(m){case 0:u=(e=[b,_,v])[0],l=e[1],c=e[2];break;case 1:u=(t=[y,b,v])[0],l=t[1],c=t[2];break;case 2:u=(n=[v,b,_])[0],l=n[1],c=n[2];break;case 3:u=(i=[v,y,b])[0],l=i[1],c=i[2];break;case 4:u=(r=[_,v,b])[0],l=r[1],c=r[2];break;case 5:u=(a=[b,v,y])[0],l=a[1],c=a[2]}}return[u,l,c,s.length>3?s[3]:1]},J=o.unpack,Z=o.type;f.prototype.hcg=function(){return X(this._rgb)},m.hcg=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(f,[null].concat(e,["hcg"])))},u.format.hcg=Q,u.autodetect.push({p:1,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=J(e,"hcg"),"array"===Z(e)&&3===e.length)return"hcg"}});var ee=o.unpack,te=o.last,ne=Math.round,ie=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=ee(e,"rgba"),i=n[0],r=n[1],a=n[2],s=n[3],o=te(e)||"auto";void 0===s&&(s=1),"auto"===o&&(o=s<1?"rgba":"rgb");var u=(i=ne(i))<<16|(r=ne(r))<<8|(a=ne(a)),l="000000"+u.toString(16);l=l.substr(l.length-6);var c="0"+ne(255*s).toString(16);switch(c=c.substr(c.length-2),o.toLowerCase()){case"rgba":return"#"+l+c;case"argb":return"#"+c+l;default:return"#"+l}},re=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,ae=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,se=function(e){if(e.match(re)){4!==e.length&&7!==e.length||(e=e.substr(1)),3===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var t=parseInt(e,16);return[t>>16,t>>8&255,255&t,1]}if(e.match(ae)){5!==e.length&&9!==e.length||(e=e.substr(1)),4===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);var n=parseInt(e,16);return[n>>24&255,n>>16&255,n>>8&255,Math.round((255&n)/255*100)/100]}throw new Error("unknown hex color: "+e)},oe=o.type;f.prototype.hex=function(e){return ie(this._rgb,e)},m.hex=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(f,[null].concat(e,["hex"])))},u.format.hex=se,u.autodetect.push({p:4,test:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if(!t.length&&"string"===oe(e)&&[3,4,5,6,7,8,9].indexOf(e.length)>=0)return"hex"}});var ue=o.unpack,le=o.TWOPI,ce=Math.min,he=Math.sqrt,de=Math.acos,fe=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,i=ue(e,"rgb"),r=i[0],a=i[1],s=i[2],o=ce(r/=255,a/=255,s/=255),u=(r+a+s)/3,l=u>0?1-o/u:0;return 0===l?n=NaN:(n=(r-a+(r-s))/2,n/=he((r-a)*(r-a)+(r-s)*(a-s)),n=de(n),s>a&&(n=le-n),n/=le),[360*n,l,u]},pe=o.unpack,me=o.limit,ge=o.TWOPI,ve=o.PITHIRD,ye=Math.cos,_e=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,i,r,a=(e=pe(e,"hsi"))[0],s=e[1],o=e[2];return isNaN(a)&&(a=0),isNaN(s)&&(s=0),a>360&&(a-=360),a<0&&(a+=360),(a/=360)<1/3?i=1-((r=(1-s)/3)+(n=(1+s*ye(ge*a)/ye(ve-ge*a))/3)):a<2/3?r=1-((n=(1-s)/3)+(i=(1+s*ye(ge*(a-=1/3))/ye(ve-ge*a))/3)):n=1-((i=(1-s)/3)+(r=(1+s*ye(ge*(a-=2/3))/ye(ve-ge*a))/3)),[255*(n=me(o*n*3)),255*(i=me(o*i*3)),255*(r=me(o*r*3)),e.length>3?e[3]:1]},be=o.unpack,Te=o.type;f.prototype.hsi=function(){return fe(this._rgb)},m.hsi=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(f,[null].concat(e,["hsi"])))},u.format.hsi=_e,u.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=be(e,"hsi"),"array"===Te(e)&&3===e.length)return"hsi"}});var Se=o.unpack,we=o.type;f.prototype.hsl=function(){return A(this._rgb)},m.hsl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(f,[null].concat(e,["hsl"])))},u.format.hsl=R,u.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Se(e,"hsl"),"array"===we(e)&&3===e.length)return"hsl"}});var Ee=o.unpack,ke=Math.min,Ce=Math.max,xe=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,i,r,a=(e=Ee(e,"rgb"))[0],s=e[1],o=e[2],u=ke(a,s,o),l=Ce(a,s,o),c=l-u;return r=l/255,0===l?(n=Number.NaN,i=0):(i=c/l,a===l&&(n=(s-o)/c),s===l&&(n=2+(o-a)/c),o===l&&(n=4+(a-s)/c),(n*=60)<0&&(n+=360)),[n,i,r]},Ae=o.unpack,Ie=Math.floor,Oe=function(){for(var e,t,n,i,r,a,s=[],o=arguments.length;o--;)s[o]=arguments[o];var u,l,c,h=(s=Ae(s,"hsv"))[0],d=s[1],f=s[2];if(f*=255,0===d)u=l=c=f;else{360===h&&(h=0),h>360&&(h-=360),h<0&&(h+=360);var p=Ie(h/=60),m=h-p,g=f*(1-d),v=f*(1-d*m),y=f*(1-d*(1-m));switch(p){case 0:u=(e=[f,y,g])[0],l=e[1],c=e[2];break;case 1:u=(t=[v,f,g])[0],l=t[1],c=t[2];break;case 2:u=(n=[g,f,y])[0],l=n[1],c=n[2];break;case 3:u=(i=[g,v,f])[0],l=i[1],c=i[2];break;case 4:u=(r=[y,g,f])[0],l=r[1],c=r[2];break;case 5:u=(a=[f,g,v])[0],l=a[1],c=a[2]}}return[u,l,c,s.length>3?s[3]:1]},Pe=o.unpack,Le=o.type;f.prototype.hsv=function(){return xe(this._rgb)},m.hsv=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(f,[null].concat(e,["hsv"])))},u.format.hsv=Oe,u.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Pe(e,"hsv"),"array"===Le(e)&&3===e.length)return"hsv"}});var De=18,Me=.95047,Re=1,Ne=1.08883,Ue=.137931034,Be=.206896552,Fe=.12841855,je=.008856452,Ve=o.unpack,We=Math.pow,qe=function(e){return(e/=255)<=.04045?e/12.92:We((e+.055)/1.055,2.4)},He=function(e){return e>je?We(e,1/3):e/Fe+Ue},ze=function(e,t,n){return e=qe(e),t=qe(t),n=qe(n),[He((.4124564*e+.3575761*t+.1804375*n)/Me),He((.2126729*e+.7151522*t+.072175*n)/Re),He((.0193339*e+.119192*t+.9503041*n)/Ne)]},Ge=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Ve(e,"rgb"),i=n[0],r=n[1],a=n[2],s=ze(i,r,a),o=s[0],u=s[1],l=s[2],c=116*u-16;return[c<0?0:c,500*(o-u),200*(u-l)]},Ye=o.unpack,Xe=Math.pow,Ke=function(e){return 255*(e<=.00304?12.92*e:1.055*Xe(e,1/2.4)-.055)},$e=function(e){return e>Be?e*e*e:Fe*(e-Ue)},Qe=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,i,r,a=(e=Ye(e,"lab"))[0],s=e[1],o=e[2];return i=(a+16)/116,n=isNaN(s)?i:i+s/500,r=isNaN(o)?i:i-o/200,i=Re*$e(i),n=Me*$e(n),r=Ne*$e(r),[Ke(3.2404542*n-1.5371385*i-.4985314*r),Ke(-.969266*n+1.8760108*i+.041556*r),Ke(.0556434*n-.2040259*i+1.0572252*r),e.length>3?e[3]:1]},Je=o.unpack,Ze=o.type;f.prototype.lab=function(){return Ge(this._rgb)},m.lab=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(f,[null].concat(e,["lab"])))},u.format.lab=Qe,u.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Je(e,"lab"),"array"===Ze(e)&&3===e.length)return"lab"}});var et=o.unpack,tt=o.RAD2DEG,nt=Math.sqrt,it=Math.atan2,rt=Math.round,at=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=et(e,"lab"),i=n[0],r=n[1],a=n[2],s=nt(r*r+a*a),o=(it(a,r)*tt+360)%360;return 0===rt(1e4*s)&&(o=Number.NaN),[i,s,o]},st=o.unpack,ot=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=st(e,"rgb"),i=n[0],r=n[1],a=n[2],s=Ge(i,r,a),o=s[0],u=s[1],l=s[2];return at(o,u,l)},ut=o.unpack,lt=o.DEG2RAD,ct=Math.sin,ht=Math.cos,dt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=ut(e,"lch"),i=n[0],r=n[1],a=n[2];return isNaN(a)&&(a=0),[i,ht(a*=lt)*r,ct(a)*r]},ft=o.unpack,pt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=ft(e,"lch"))[0],i=e[1],r=e[2],a=dt(n,i,r),s=a[0],o=a[1],u=a[2],l=Qe(s,o,u),c=l[0],h=l[1],d=l[2];return[c,h,d,e.length>3?e[3]:1]},mt=o.unpack,gt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=mt(e,"hcl").reverse();return pt.apply(void 0,n)},vt=o.unpack,yt=o.type;f.prototype.lch=function(){return ot(this._rgb)},f.prototype.hcl=function(){return ot(this._rgb).reverse()},m.lch=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(f,[null].concat(e,["lch"])))},m.hcl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(f,[null].concat(e,["hcl"])))},u.format.lch=pt,u.format.hcl=gt,["lch","hcl"].forEach((function(e){return u.autodetect.push({p:2,test:function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(t=vt(t,e),"array"===yt(t)&&3===t.length)return e}})}));var _t={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflower:"#6495ed",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},bt=o.type;f.prototype.name=function(){for(var e=ie(this._rgb,"rgb"),t=0,n=Object.keys(_t);t<n.length;t+=1){var i=n[t];if(_t[i]===e)return i.toLowerCase()}return e},u.format.named=function(e){if(e=e.toLowerCase(),_t[e])return se(_t[e]);throw new Error("unknown color name: "+e)},u.autodetect.push({p:5,test:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if(!t.length&&"string"===bt(e)&&_t[e.toLowerCase()])return"named"}});var Tt=o.unpack,St=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Tt(e,"rgb"),i=n[0],r=n[1],a=n[2];return(i<<16)+(r<<8)+a},wt=o.type,Et=function(e){if("number"==wt(e)&&e>=0&&e<=16777215)return[e>>16,e>>8&255,255&e,1];throw new Error("unknown num color: "+e)},kt=o.type;f.prototype.num=function(){return St(this._rgb)},m.num=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(f,[null].concat(e,["num"])))},u.format.num=Et,u.autodetect.push({p:5,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(1===e.length&&"number"===kt(e[0])&&e[0]>=0&&e[0]<=16777215)return"num"}});var Ct=o.unpack,xt=o.type,At=Math.round;f.prototype.rgb=function(e){return void 0===e&&(e=!0),!1===e?this._rgb.slice(0,3):this._rgb.slice(0,3).map(At)},f.prototype.rgba=function(e){return void 0===e&&(e=!0),this._rgb.slice(0,4).map((function(t,n){return n<3?!1===e?t:At(t):t}))},m.rgb=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(f,[null].concat(e,["rgb"])))},u.format.rgb=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Ct(e,"rgba");return void 0===n[3]&&(n[3]=1),n},u.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Ct(e,"rgba"),"array"===xt(e)&&(3===e.length||4===e.length&&"number"==xt(e[3])&&e[3]>=0&&e[3]<=1))return"rgb"}});var It=Math.log,Ot=function(e){var t,n,i,r=e/100;return r<66?(t=255,n=-155.25485562709179-.44596950469579133*(n=r-2)+104.49216199393888*It(n),i=r<20?0:.8274096064007395*(i=r-10)-254.76935184120902+115.67994401066147*It(i)):(t=351.97690566805693+.114206453784165*(t=r-55)-40.25366309332127*It(t),n=325.4494125711974+.07943456536662342*(n=r-50)-28.0852963507957*It(n),i=255),[t,n,i,1]},Pt=o.unpack,Lt=Math.round,Dt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var n,i=Pt(e,"rgb"),r=i[0],a=i[2],s=1e3,o=4e4,u=.4;o-s>u;){var l=Ot(n=.5*(o+s));l[2]/l[0]>=a/r?o=n:s=n}return Lt(n)};f.prototype.temp=f.prototype.kelvin=f.prototype.temperature=function(){return Dt(this._rgb)},m.temp=m.kelvin=m.temperature=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(f,[null].concat(e,["temp"])))},u.format.temp=u.format.kelvin=u.format.temperature=Ot;var Mt=o.type;f.prototype.alpha=function(e,t){return void 0===t&&(t=!1),void 0!==e&&"number"===Mt(e)?t?(this._rgb[3]=e,this):new f([this._rgb[0],this._rgb[1],this._rgb[2],e],"rgb"):this._rgb[3]},f.prototype.clipped=function(){return this._rgb._clipped||!1},f.prototype.darken=function(e){void 0===e&&(e=1);var t=this.lab();return t[0]-=De*e,new f(t,"lab").alpha(this.alpha(),!0)},f.prototype.brighten=function(e){return void 0===e&&(e=1),this.darken(-e)},f.prototype.darker=f.prototype.darken,f.prototype.brighter=f.prototype.brighten,f.prototype.get=function(e){var t=e.split("."),n=t[0],i=t[1],r=this[n]();if(i){var a=n.indexOf(i);if(a>-1)return r[a];throw new Error("unknown channel "+i+" in mode "+n)}return r};var Rt=o.type,Nt=Math.pow;f.prototype.luminance=function(e){if(void 0!==e&&"number"===Rt(e)){if(0===e)return new f([0,0,0,this._rgb[3]],"rgb");if(1===e)return new f([255,255,255,this._rgb[3]],"rgb");var t=this.luminance(),n=20,i=function(t,r){var a=t.interpolate(r,.5,"rgb"),s=a.luminance();return Math.abs(e-s)<1e-7||!n--?a:s>e?i(t,a):i(a,r)},r=(t>e?i(new f([0,0,0]),this):i(this,new f([255,255,255]))).rgb();return new f(r.concat([this._rgb[3]]))}return Ut.apply(void 0,this._rgb.slice(0,3))};var Ut=function(e,t,n){return.2126*(e=Bt(e))+.7152*(t=Bt(t))+.0722*(n=Bt(n))},Bt=function(e){return(e/=255)<=.03928?e/12.92:Nt((e+.055)/1.055,2.4)},Ft={},jt=o.type,Vt=function(e,t,n){void 0===n&&(n=.5);for(var i=[],r=arguments.length-3;r-- >0;)i[r]=arguments[r+3];var a=i[0]||"lrgb";if(Ft[a]||i.length||(a=Object.keys(Ft)[0]),!Ft[a])throw new Error("interpolation mode "+a+" is not defined");return"object"!==jt(e)&&(e=new f(e)),"object"!==jt(t)&&(t=new f(t)),Ft[a](e,t,n).alpha(e.alpha()+n*(t.alpha()-e.alpha()))};f.prototype.mix=f.prototype.interpolate=function(e,t){void 0===t&&(t=.5);for(var n=[],i=arguments.length-2;i-- >0;)n[i]=arguments[i+2];return Vt.apply(void 0,[this,e,t].concat(n))},f.prototype.premultiply=function(e){void 0===e&&(e=!1);var t=this._rgb,n=t[3];return e?(this._rgb=[t[0]*n,t[1]*n,t[2]*n,n],this):new f([t[0]*n,t[1]*n,t[2]*n,n],"rgb")},f.prototype.saturate=function(e){void 0===e&&(e=1);var t=this.lch();return t[1]+=De*e,t[1]<0&&(t[1]=0),new f(t,"lch").alpha(this.alpha(),!0)},f.prototype.desaturate=function(e){return void 0===e&&(e=1),this.saturate(-e)};var Wt=o.type;f.prototype.set=function(e,t,n){void 0===n&&(n=!1);var i=e.split("."),r=i[0],a=i[1],s=this[r]();if(a){var o=r.indexOf(a);if(o>-1){if("string"==Wt(t))switch(t.charAt(0)){case"+":case"-":s[o]+=+t;break;case"*":s[o]*=+t.substr(1);break;case"/":s[o]/=+t.substr(1);break;default:s[o]=+t}else{if("number"!==Wt(t))throw new Error("unsupported value for Color.set");s[o]=t}var u=new f(s,r);return n?(this._rgb=u._rgb,this):u}throw new Error("unknown channel "+a+" in mode "+r)}return s},Ft.rgb=function(e,t,n){var i=e._rgb,r=t._rgb;return new f(i[0]+n*(r[0]-i[0]),i[1]+n*(r[1]-i[1]),i[2]+n*(r[2]-i[2]),"rgb")};var qt=Math.sqrt,Ht=Math.pow;Ft.lrgb=function(e,t,n){var i=e._rgb,r=i[0],a=i[1],s=i[2],o=t._rgb,u=o[0],l=o[1],c=o[2];return new f(qt(Ht(r,2)*(1-n)+Ht(u,2)*n),qt(Ht(a,2)*(1-n)+Ht(l,2)*n),qt(Ht(s,2)*(1-n)+Ht(c,2)*n),"rgb")},Ft.lab=function(e,t,n){var i=e.lab(),r=t.lab();return new f(i[0]+n*(r[0]-i[0]),i[1]+n*(r[1]-i[1]),i[2]+n*(r[2]-i[2]),"lab")};var zt=function(e,t,n,i){var r,a,s,o,u,l,c,h,d,p,m,g;return"hsl"===i?(s=e.hsl(),o=t.hsl()):"hsv"===i?(s=e.hsv(),o=t.hsv()):"hcg"===i?(s=e.hcg(),o=t.hcg()):"hsi"===i?(s=e.hsi(),o=t.hsi()):"lch"!==i&&"hcl"!==i||(i="hcl",s=e.hcl(),o=t.hcl()),"h"===i.substr(0,1)&&(u=(r=s)[0],c=r[1],d=r[2],l=(a=o)[0],h=a[1],p=a[2]),isNaN(u)||isNaN(l)?isNaN(u)?isNaN(l)?g=Number.NaN:(g=l,1!=d&&0!=d||"hsv"==i||(m=h)):(g=u,1!=p&&0!=p||"hsv"==i||(m=c)):g=u+n*(l>u&&l-u>180?l-(u+360):l<u&&u-l>180?l+360-u:l-u),void 0===m&&(m=c+n*(h-c)),new f([g,m,d+n*(p-d)],i)},Gt=function(e,t,n){return zt(e,t,n,"lch")};Ft.lch=Gt,Ft.hcl=Gt,Ft.num=function(e,t,n){var i=e.num(),r=t.num();return new f(i+n*(r-i),"num")},Ft.hcg=function(e,t,n){return zt(e,t,n,"hcg")},Ft.hsi=function(e,t,n){return zt(e,t,n,"hsi")},Ft.hsl=function(e,t,n){return zt(e,t,n,"hsl")},Ft.hsv=function(e,t,n){return zt(e,t,n,"hsv")};var Yt=o.clip_rgb,Xt=Math.pow,Kt=Math.sqrt,$t=Math.PI,Qt=Math.cos,Jt=Math.sin,Zt=Math.atan2,en=function(e,t){for(var n=e.length,i=[0,0,0,0],r=0;r<e.length;r++){var a=e[r],s=t[r]/n,o=a._rgb;i[0]+=Xt(o[0],2)*s,i[1]+=Xt(o[1],2)*s,i[2]+=Xt(o[2],2)*s,i[3]+=o[3]*s}return i[0]=Kt(i[0]),i[1]=Kt(i[1]),i[2]=Kt(i[2]),i[3]>.9999999&&(i[3]=1),new f(Yt(i))},tn=o.type,nn=Math.pow,rn=function(e){var t="rgb",n=m("#ccc"),i=0,r=[0,1],a=[],s=[0,0],o=!1,u=[],l=!1,c=0,h=1,d=!1,f={},p=!0,g=1,v=function(e){if((e=e||["#fff","#000"])&&"string"===tn(e)&&m.brewer&&m.brewer[e.toLowerCase()]&&(e=m.brewer[e.toLowerCase()]),"array"===tn(e)){1===e.length&&(e=[e[0],e[0]]),e=e.slice(0);for(var t=0;t<e.length;t++)e[t]=m(e[t]);a.length=0;for(var n=0;n<e.length;n++)a.push(n/(e.length-1))}return T(),u=e},y=function(e){return e},_=function(e){return e},b=function(e,i){var r,l;if(null==i&&(i=!1),isNaN(e)||null===e)return n;l=i?e:o&&o.length>2?function(e){if(null!=o){for(var t=o.length-1,n=0;n<t&&e>=o[n];)n++;return n-1}return 0}(e)/(o.length-2):h!==c?(e-c)/(h-c):1,l=_(l),i||(l=y(l)),1!==g&&(l=nn(l,g)),l=s[0]+l*(1-s[0]-s[1]),l=Math.min(1,Math.max(0,l));var d=Math.floor(1e4*l);if(p&&f[d])r=f[d];else{if("array"===tn(u))for(var v=0;v<a.length;v++){var b=a[v];if(l<=b){r=u[v];break}if(l>=b&&v===a.length-1){r=u[v];break}if(l>b&&l<a[v+1]){l=(l-b)/(a[v+1]-b),r=m.interpolate(u[v],u[v+1],l,t);break}}else"function"===tn(u)&&(r=u(l));p&&(f[d]=r)}return r},T=function(){return f={}};v(e);var S=function(e){var t=m(b(e));return l&&t[l]?t[l]():t};return S.classes=function(e){if(null!=e){if("array"===tn(e))o=e,r=[e[0],e[e.length-1]];else{var t=m.analyze(r);o=0===e?[t.min,t.max]:m.limits(t,"e",e)}return S}return o},S.domain=function(e){if(!arguments.length)return r;c=e[0],h=e[e.length-1],a=[];var t=u.length;if(e.length===t&&c!==h)for(var n=0,i=Array.from(e);n<i.length;n+=1){var s=i[n];a.push((s-c)/(h-c))}else{for(var o=0;o<t;o++)a.push(o/(t-1));if(e.length>2){var l=e.map((function(t,n){return n/(e.length-1)})),d=e.map((function(e){return(e-c)/(h-c)}));d.every((function(e,t){return l[t]===e}))||(_=function(e){if(e<=0||e>=1)return e;for(var t=0;e>=d[t+1];)t++;var n=(e-d[t])/(d[t+1]-d[t]);return l[t]+n*(l[t+1]-l[t])})}}return r=[c,h],S},S.mode=function(e){return arguments.length?(t=e,T(),S):t},S.range=function(e,t){return v(e),S},S.out=function(e){return l=e,S},S.spread=function(e){return arguments.length?(i=e,S):i},S.correctLightness=function(e){return null==e&&(e=!0),d=e,T(),y=d?function(e){for(var t=b(0,!0).lab()[0],n=b(1,!0).lab()[0],i=t>n,r=b(e,!0).lab()[0],a=t+(n-t)*e,s=r-a,o=0,u=1,l=20;Math.abs(s)>.01&&l-- >0;)i&&(s*=-1),s<0?(o=e,e+=.5*(u-e)):(u=e,e+=.5*(o-e)),r=b(e,!0).lab()[0],s=r-a;return e}:function(e){return e},S},S.padding=function(e){return null!=e?("number"===tn(e)&&(e=[e,e]),s=e,S):s},S.colors=function(t,n){arguments.length<2&&(n="hex");var i=[];if(0===arguments.length)i=u.slice(0);else if(1===t)i=[S(.5)];else if(t>1){var a=r[0],s=r[1]-a;i=an(0,t,!1).map((function(e){return S(a+e/(t-1)*s)}))}else{e=[];var l=[];if(o&&o.length>2)for(var c=1,h=o.length,d=1<=h;d?c<h:c>h;d?c++:c--)l.push(.5*(o[c-1]+o[c]));else l=r;i=l.map((function(e){return S(e)}))}return m[n]&&(i=i.map((function(e){return e[n]()}))),i},S.cache=function(e){return null!=e?(p=e,S):p},S.gamma=function(e){return null!=e?(g=e,S):g},S.nodata=function(e){return null!=e?(n=m(e),S):n},S};function an(e,t,n){for(var i=[],r=e<t,a=n?r?t+1:t-1:t,s=e;r?s<a:s>a;r?s++:s--)i.push(s);return i}var sn=function(e){var t,n,i,r,a,s,o;if(2===(e=e.map((function(e){return new f(e)}))).length)t=e.map((function(e){return e.lab()})),a=t[0],s=t[1],r=function(e){var t=[0,1,2].map((function(t){return a[t]+e*(s[t]-a[t])}));return new f(t,"lab")};else if(3===e.length)n=e.map((function(e){return e.lab()})),a=n[0],s=n[1],o=n[2],r=function(e){var t=[0,1,2].map((function(t){return(1-e)*(1-e)*a[t]+2*(1-e)*e*s[t]+e*e*o[t]}));return new f(t,"lab")};else if(4===e.length){var u;i=e.map((function(e){return e.lab()})),a=i[0],s=i[1],o=i[2],u=i[3],r=function(e){var t=[0,1,2].map((function(t){return(1-e)*(1-e)*(1-e)*a[t]+3*(1-e)*(1-e)*e*s[t]+3*(1-e)*e*e*o[t]+e*e*e*u[t]}));return new f(t,"lab")}}else if(5===e.length){var l=sn(e.slice(0,3)),c=sn(e.slice(2,5));r=function(e){return e<.5?l(2*e):c(2*(e-.5))}}return r},on=function(e,t,n){if(!on[n])throw new Error("unknown blend mode "+n);return on[n](e,t)},un=function(e){return function(t,n){var i=m(n).rgb(),r=m(t).rgb();return m.rgb(e(i,r))}},ln=function(e){return function(t,n){var i=[];return i[0]=e(t[0],n[0]),i[1]=e(t[1],n[1]),i[2]=e(t[2],n[2]),i}};on.normal=un(ln((function(e){return e}))),on.multiply=un(ln((function(e,t){return e*t/255}))),on.screen=un(ln((function(e,t){return 255*(1-(1-e/255)*(1-t/255))}))),on.overlay=un(ln((function(e,t){return t<128?2*e*t/255:255*(1-2*(1-e/255)*(1-t/255))}))),on.darken=un(ln((function(e,t){return e>t?t:e}))),on.lighten=un(ln((function(e,t){return e>t?e:t}))),on.dodge=un(ln((function(e,t){return 255===e||(e=t/255*255/(1-e/255))>255?255:e}))),on.burn=un(ln((function(e,t){return 255*(1-(1-t/255)/(e/255))})));for(var cn=on,hn=o.type,dn=o.clip_rgb,fn=o.TWOPI,pn=Math.pow,mn=Math.sin,gn=Math.cos,vn=Math.floor,yn=Math.random,_n=Math.log,bn=Math.pow,Tn=Math.floor,Sn=Math.abs,wn=function(e,t){void 0===t&&(t=null);var n={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0};return"object"===a(e)&&(e=Object.values(e)),e.forEach((function(e){t&&"object"===a(e)&&(e=e[t]),null==e||isNaN(e)||(n.values.push(e),n.sum+=e,e<n.min&&(n.min=e),e>n.max&&(n.max=e),n.count+=1)})),n.domain=[n.min,n.max],n.limits=function(e,t){return En(n,e,t)},n},En=function(e,t,n){void 0===t&&(t="equal"),void 0===n&&(n=7),"array"==a(e)&&(e=wn(e));var i=e.min,r=e.max,s=e.values.sort((function(e,t){return e-t}));if(1===n)return[i,r];var o=[];if("c"===t.substr(0,1)&&(o.push(i),o.push(r)),"e"===t.substr(0,1)){o.push(i);for(var u=1;u<n;u++)o.push(i+u/n*(r-i));o.push(r)}else if("l"===t.substr(0,1)){if(i<=0)throw new Error("Logarithmic scales are only possible for values > 0");var l=Math.LOG10E*_n(i),c=Math.LOG10E*_n(r);o.push(i);for(var h=1;h<n;h++)o.push(bn(10,l+h/n*(c-l)));o.push(r)}else if("q"===t.substr(0,1)){o.push(i);for(var d=1;d<n;d++){var f=(s.length-1)*d/n,p=Tn(f);if(p===f)o.push(s[p]);else{var m=f-p;o.push(s[p]*(1-m)+s[p+1]*m)}}o.push(r)}else if("k"===t.substr(0,1)){var g,v=s.length,y=new Array(v),_=new Array(n),b=!0,T=0,S=null;(S=[]).push(i);for(var w=1;w<n;w++)S.push(i+w/n*(r-i));for(S.push(r);b;){for(var E=0;E<n;E++)_[E]=0;for(var k=0;k<v;k++)for(var C=s[k],x=Number.MAX_VALUE,A=void 0,I=0;I<n;I++){var O=Sn(S[I]-C);O<x&&(x=O,A=I),_[A]++,y[k]=A}for(var P=new Array(n),L=0;L<n;L++)P[L]=null;for(var D=0;D<v;D++)null===P[g=y[D]]?P[g]=s[D]:P[g]+=s[D];for(var M=0;M<n;M++)P[M]*=1/_[M];b=!1;for(var R=0;R<n;R++)if(P[R]!==S[R]){b=!0;break}S=P,++T>200&&(b=!1)}for(var N={},U=0;U<n;U++)N[U]=[];for(var B=0;B<v;B++)N[g=y[B]].push(s[B]);for(var F=[],j=0;j<n;j++)F.push(N[j][0]),F.push(N[j][N[j].length-1]);F=F.sort((function(e,t){return e-t})),o.push(F[0]);for(var V=1;V<F.length;V+=2){var W=F[V];isNaN(W)||-1!==o.indexOf(W)||o.push(W)}}return o},kn={analyze:wn,limits:En},Cn=Math.sqrt,xn=Math.atan2,An=Math.abs,In=Math.cos,On=Math.PI,Pn={cool:function(){return rn([m.hsl(180,1,.9),m.hsl(250,.7,.4)])},hot:function(){return rn(["#000","#f00","#ff0","#fff"]).mode("rgb")}},Ln={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},Dn=0,Mn=Object.keys(Ln);Dn<Mn.length;Dn+=1){var Rn=Mn[Dn];Ln[Rn.toLowerCase()]=Ln[Rn]}var Nn=Ln;return m.average=function(e,t,n){void 0===t&&(t="lrgb"),void 0===n&&(n=null);var i=e.length;n||(n=Array.from(new Array(i)).map((function(){return 1})));var r=i/n.reduce((function(e,t){return e+t}));if(n.forEach((function(e,t){n[t]*=r})),e=e.map((function(e){return new f(e)})),"lrgb"===t)return en(e,n);for(var a=e.shift(),s=a.get(t),o=[],u=0,l=0,c=0;c<s.length;c++)if(s[c]=(s[c]||0)*n[0],o.push(isNaN(s[c])?0:n[0]),"h"===t.charAt(c)&&!isNaN(s[c])){var h=s[c]/180*$t;u+=Qt(h)*n[0],l+=Jt(h)*n[0]}var d=a.alpha()*n[0];e.forEach((function(e,i){var r=e.get(t);d+=e.alpha()*n[i+1];for(var a=0;a<s.length;a++)if(!isNaN(r[a]))if(o[a]+=n[i+1],"h"===t.charAt(a)){var c=r[a]/180*$t;u+=Qt(c)*n[i+1],l+=Jt(c)*n[i+1]}else s[a]+=r[a]*n[i+1]}));for(var p=0;p<s.length;p++)if("h"===t.charAt(p)){for(var m=Zt(l/o[p],u/o[p])/$t*180;m<0;)m+=360;for(;m>=360;)m-=360;s[p]=m}else s[p]=s[p]/o[p];return d/=i,new f(s,t).alpha(d>.99999?1:d,!0)},m.bezier=function(e){var t=sn(e);return t.scale=function(){return rn(t)},t},m.blend=cn,m.cubehelix=function(e,t,n,i,r){void 0===e&&(e=300),void 0===t&&(t=-1.5),void 0===n&&(n=1),void 0===i&&(i=1),void 0===r&&(r=[0,1]);var a,s=0;"array"===hn(r)?a=r[1]-r[0]:(a=0,r=[r,r]);var o=function(o){var u=fn*((e+120)/360+t*o),l=pn(r[0]+a*o,i),c=(0!==s?n[0]+o*s:n)*l*(1-l)/2,h=gn(u),d=mn(u);return m(dn([255*(l+c*(-.14861*h+1.78277*d)),255*(l+c*(-.29227*h-.90649*d)),255*(l+c*(1.97294*h)),1]))};return o.start=function(t){return null==t?e:(e=t,o)},o.rotations=function(e){return null==e?t:(t=e,o)},o.gamma=function(e){return null==e?i:(i=e,o)},o.hue=function(e){return null==e?n:("array"===hn(n=e)?0==(s=n[1]-n[0])&&(n=n[1]):s=0,o)},o.lightness=function(e){return null==e?r:("array"===hn(e)?(r=e,a=e[1]-e[0]):(r=[e,e],a=0),o)},o.scale=function(){return m.scale(o)},o.hue(n),o},m.mix=m.interpolate=Vt,m.random=function(){for(var e="#",t=0;t<6;t++)e+="0123456789abcdef".charAt(vn(16*yn()));return new f(e,"hex")},m.scale=rn,m.analyze=kn.analyze,m.contrast=function(e,t){e=new f(e),t=new f(t);var n=e.luminance(),i=t.luminance();return n>i?(n+.05)/(i+.05):(i+.05)/(n+.05)},m.deltaE=function(e,t,n,i){void 0===n&&(n=1),void 0===i&&(i=1),e=new f(e),t=new f(t);for(var r=Array.from(e.lab()),a=r[0],s=r[1],o=r[2],u=Array.from(t.lab()),l=u[0],c=u[1],h=u[2],d=Cn(s*s+o*o),p=Cn(c*c+h*h),m=a<16?.511:.040975*a/(1+.01765*a),g=.0638*d/(1+.0131*d)+.638,v=d<1e-6?0:180*xn(o,s)/On;v<0;)v+=360;for(;v>=360;)v-=360;var y=v>=164&&v<=345?.56+An(.2*In(On*(v+168)/180)):.36+An(.4*In(On*(v+35)/180)),_=d*d*d*d,b=Cn(_/(_+1900)),T=g*(b*y+1-b),S=d-p,w=s-c,E=o-h,k=(a-l)/(n*m),C=S/(i*g);return Cn(k*k+C*C+(w*w+E*E-S*S)/(T*T))},m.distance=function(e,t,n){void 0===n&&(n="lab"),e=new f(e),t=new f(t);var i=e.get(n),r=t.get(n),a=0;for(var s in i){var o=(i[s]||0)-(r[s]||0);a+=o*o}return Math.sqrt(a)},m.limits=kn.limits,m.valid=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];try{return new(Function.prototype.bind.apply(f,[null].concat(e))),!0}catch(e){return!1}},m.scales=Pn,m.colors=_t,m.brewer=Nn,m}()},131:function(e,t,n){var i=n(167),r=n(22),a=n(44),s=n(33).f,o=n(168),u=n(178),l=o("meta"),c=0,h=Object.isExtensible||function(){return!0},d=function(e){s(e,l,{value:{objectID:"O"+ ++c,weakData:{}}})},f=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,l)){if(!h(e))return"F";if(!t)return"E";d(e)}return e[l].objectID},getWeakData:function(e,t){if(!a(e,l)){if(!h(e))return!0;if(!t)return!1;d(e)}return e[l].weakData},onFreeze:function(e){return u&&f.REQUIRED&&h(e)&&!a(e,l)&&d(e),e}};i[l]=!0},132:function(e,t,n){var i=n(296),r=n(244).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},133:function(e,t,n){var i=n(90);e.exports=Array.isArray||function(e){return"Array"==i(e)}},1333:function(e,t,n){(function(t){var i,r=void 0!==t?t:"undefined"!=typeof window?window:{},a=n(1261);"undefined"!=typeof document?i=document:(i=r["__GLOBAL_DOCUMENT_CACHE@4"])||(i=r["__GLOBAL_DOCUMENT_CACHE@4"]=a),e.exports=i}).call(this,n(163))},1334:function(e,t,n){"use strict";
|
|
73
|
+
e.exports=function(){"use strict";for(var e=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e<t?t:e>n?n:e},t={},n=0,i=["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"];n<i.length;n+=1){var r=i[n];t["[object "+r+"]"]=r.toLowerCase()}var a=function(e){return t[Object.prototype.toString.call(e)]||"object"},s=Math.PI,o={clip_rgb:function(t){t._clipped=!1,t._unclipped=t.slice(0);for(var n=0;n<=3;n++)n<3?((t[n]<0||t[n]>255)&&(t._clipped=!0),t[n]=e(t[n],0,255)):3===n&&(t[n]=e(t[n],0,1));return t},limit:e,type:a,unpack:function(e,t){return void 0===t&&(t=null),e.length>=3?Array.prototype.slice.call(e):"object"==a(e[0])&&t?t.split("").filter((function(t){return void 0!==e[0][t]})).map((function(t){return e[0][t]})):e[0]},last:function(e){if(e.length<2)return null;var t=e.length-1;return"string"==a(e[t])?e[t].toLowerCase():null},PI:s,TWOPI:2*s,PITHIRD:s/3,DEG2RAD:s/180,RAD2DEG:180/s},u={format:{},autodetect:[]},l=o.last,c=o.clip_rgb,h=o.type,d=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=this;if("object"===h(e[0])&&e[0].constructor&&e[0].constructor===this.constructor)return e[0];var i=l(e),r=!1;if(!i){r=!0,u.sorted||(u.autodetect=u.autodetect.sort((function(e,t){return t.p-e.p})),u.sorted=!0);for(var a=0,s=u.autodetect;a<s.length;a+=1){var o=s[a];if(i=o.test.apply(o,e))break}}if(!u.format[i])throw new Error("unknown format: "+e);var d=u.format[i].apply(null,r?e:e.slice(0,-1));n._rgb=c(d),3===n._rgb.length&&n._rgb.push(1)};d.prototype.toString=function(){return"function"==h(this.hex)?this.hex():"["+this._rgb.join(",")+"]"};var f=d,p=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(p.Color,[null].concat(e)))};p.Color=f,p.version="2.1.2";var m=p,g=o.unpack,v=Math.max,y=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=g(e,"rgb"),i=n[0],r=n[1],a=n[2],s=1-v(i/=255,v(r/=255,a/=255)),o=s<1?1/(1-s):0,u=(1-i-s)*o,l=(1-r-s)*o,c=(1-a-s)*o;return[u,l,c,s]},_=o.unpack,b=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=_(e,"cmyk"))[0],i=e[1],r=e[2],a=e[3],s=e.length>4?e[4]:1;return 1===a?[0,0,0,s]:[n>=1?0:255*(1-n)*(1-a),i>=1?0:255*(1-i)*(1-a),r>=1?0:255*(1-r)*(1-a),s]},T=o.unpack,S=o.type;f.prototype.cmyk=function(){return y(this._rgb)},m.cmyk=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(f,[null].concat(e,["cmyk"])))},u.format.cmyk=b,u.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=T(e,"cmyk"),"array"===S(e)&&4===e.length)return"cmyk"}});var w=o.unpack,E=o.last,k=function(e){return Math.round(100*e)/100},C=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=w(e,"hsla"),i=E(e)||"lsa";return n[0]=k(n[0]||0),n[1]=k(100*n[1])+"%",n[2]=k(100*n[2])+"%","hsla"===i||n.length>3&&n[3]<1?(n[3]=n.length>3?n[3]:1,i="hsla"):n.length=3,i+"("+n.join(",")+")"},x=o.unpack,A=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=x(e,"rgba"))[0],i=e[1],r=e[2];n/=255,i/=255,r/=255;var a,s,o=Math.min(n,i,r),u=Math.max(n,i,r),l=(u+o)/2;return u===o?(a=0,s=Number.NaN):a=l<.5?(u-o)/(u+o):(u-o)/(2-u-o),n==u?s=(i-r)/(u-o):i==u?s=2+(r-n)/(u-o):r==u&&(s=4+(n-i)/(u-o)),(s*=60)<0&&(s+=360),e.length>3&&void 0!==e[3]?[s,a,l,e[3]]:[s,a,l]},I=o.unpack,O=o.last,P=Math.round,L=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=I(e,"rgba"),i=O(e)||"rgb";return"hsl"==i.substr(0,3)?C(A(n),i):(n[0]=P(n[0]),n[1]=P(n[1]),n[2]=P(n[2]),("rgba"===i||n.length>3&&n[3]<1)&&(n[3]=n.length>3?n[3]:1,i="rgba"),i+"("+n.slice(0,"rgb"===i?3:4).join(",")+")")},D=o.unpack,M=Math.round,R=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];var i,r,a,s=(t=D(t,"hsl"))[0],o=t[1],u=t[2];if(0===o)i=r=a=255*u;else{var l=[0,0,0],c=[0,0,0],h=u<.5?u*(1+o):u+o-u*o,d=2*u-h,f=s/360;l[0]=f+1/3,l[1]=f,l[2]=f-1/3;for(var p=0;p<3;p++)l[p]<0&&(l[p]+=1),l[p]>1&&(l[p]-=1),6*l[p]<1?c[p]=d+6*(h-d)*l[p]:2*l[p]<1?c[p]=h:3*l[p]<2?c[p]=d+(h-d)*(2/3-l[p])*6:c[p]=d;i=(e=[M(255*c[0]),M(255*c[1]),M(255*c[2])])[0],r=e[1],a=e[2]}return t.length>3?[i,r,a,t[3]]:[i,r,a,1]},N=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,U=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,B=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,F=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,j=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,V=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,W=Math.round,q=function(e){var t;if(e=e.toLowerCase().trim(),u.format.named)try{return u.format.named(e)}catch(e){}if(t=e.match(N)){for(var n=t.slice(1,4),i=0;i<3;i++)n[i]=+n[i];return n[3]=1,n}if(t=e.match(U)){for(var r=t.slice(1,5),a=0;a<4;a++)r[a]=+r[a];return r}if(t=e.match(B)){for(var s=t.slice(1,4),o=0;o<3;o++)s[o]=W(2.55*s[o]);return s[3]=1,s}if(t=e.match(F)){for(var l=t.slice(1,5),c=0;c<3;c++)l[c]=W(2.55*l[c]);return l[3]=+l[3],l}if(t=e.match(j)){var h=t.slice(1,4);h[1]*=.01,h[2]*=.01;var d=R(h);return d[3]=1,d}if(t=e.match(V)){var f=t.slice(1,4);f[1]*=.01,f[2]*=.01;var p=R(f);return p[3]=+t[4],p}};q.test=function(e){return N.test(e)||U.test(e)||B.test(e)||F.test(e)||j.test(e)||V.test(e)};var H=q,z=o.type;f.prototype.css=function(e){return L(this._rgb,e)},m.css=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(f,[null].concat(e,["css"])))},u.format.css=H,u.autodetect.push({p:5,test:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if(!t.length&&"string"===z(e)&&H.test(e))return"css"}});var G=o.unpack;u.format.gl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=G(e,"rgba");return n[0]*=255,n[1]*=255,n[2]*=255,n},m.gl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(f,[null].concat(e,["gl"])))},f.prototype.gl=function(){var e=this._rgb;return[e[0]/255,e[1]/255,e[2]/255,e[3]]};var Y=o.unpack,X=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,i=Y(e,"rgb"),r=i[0],a=i[1],s=i[2],o=Math.min(r,a,s),u=Math.max(r,a,s),l=u-o,c=100*l/255,h=o/(255-l)*100;return 0===l?n=Number.NaN:(r===u&&(n=(a-s)/l),a===u&&(n=2+(s-r)/l),s===u&&(n=4+(r-a)/l),(n*=60)<0&&(n+=360)),[n,c,h]},K=o.unpack,$=Math.floor,Q=function(){for(var e,t,n,i,r,a,s=[],o=arguments.length;o--;)s[o]=arguments[o];var u,l,c,h=(s=K(s,"hcg"))[0],d=s[1],f=s[2];f*=255;var p=255*d;if(0===d)u=l=c=f;else{360===h&&(h=0),h>360&&(h-=360),h<0&&(h+=360);var m=$(h/=60),g=h-m,v=f*(1-d),y=v+p*(1-g),_=v+p*g,b=v+p;switch(m){case 0:u=(e=[b,_,v])[0],l=e[1],c=e[2];break;case 1:u=(t=[y,b,v])[0],l=t[1],c=t[2];break;case 2:u=(n=[v,b,_])[0],l=n[1],c=n[2];break;case 3:u=(i=[v,y,b])[0],l=i[1],c=i[2];break;case 4:u=(r=[_,v,b])[0],l=r[1],c=r[2];break;case 5:u=(a=[b,v,y])[0],l=a[1],c=a[2]}}return[u,l,c,s.length>3?s[3]:1]},J=o.unpack,Z=o.type;f.prototype.hcg=function(){return X(this._rgb)},m.hcg=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(f,[null].concat(e,["hcg"])))},u.format.hcg=Q,u.autodetect.push({p:1,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=J(e,"hcg"),"array"===Z(e)&&3===e.length)return"hcg"}});var ee=o.unpack,te=o.last,ne=Math.round,ie=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=ee(e,"rgba"),i=n[0],r=n[1],a=n[2],s=n[3],o=te(e)||"auto";void 0===s&&(s=1),"auto"===o&&(o=s<1?"rgba":"rgb");var u=(i=ne(i))<<16|(r=ne(r))<<8|(a=ne(a)),l="000000"+u.toString(16);l=l.substr(l.length-6);var c="0"+ne(255*s).toString(16);switch(c=c.substr(c.length-2),o.toLowerCase()){case"rgba":return"#"+l+c;case"argb":return"#"+c+l;default:return"#"+l}},re=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,ae=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,se=function(e){if(e.match(re)){4!==e.length&&7!==e.length||(e=e.substr(1)),3===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var t=parseInt(e,16);return[t>>16,t>>8&255,255&t,1]}if(e.match(ae)){5!==e.length&&9!==e.length||(e=e.substr(1)),4===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);var n=parseInt(e,16);return[n>>24&255,n>>16&255,n>>8&255,Math.round((255&n)/255*100)/100]}throw new Error("unknown hex color: "+e)},oe=o.type;f.prototype.hex=function(e){return ie(this._rgb,e)},m.hex=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(f,[null].concat(e,["hex"])))},u.format.hex=se,u.autodetect.push({p:4,test:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if(!t.length&&"string"===oe(e)&&[3,4,5,6,7,8,9].indexOf(e.length)>=0)return"hex"}});var ue=o.unpack,le=o.TWOPI,ce=Math.min,he=Math.sqrt,de=Math.acos,fe=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,i=ue(e,"rgb"),r=i[0],a=i[1],s=i[2],o=ce(r/=255,a/=255,s/=255),u=(r+a+s)/3,l=u>0?1-o/u:0;return 0===l?n=NaN:(n=(r-a+(r-s))/2,n/=he((r-a)*(r-a)+(r-s)*(a-s)),n=de(n),s>a&&(n=le-n),n/=le),[360*n,l,u]},pe=o.unpack,me=o.limit,ge=o.TWOPI,ve=o.PITHIRD,ye=Math.cos,_e=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,i,r,a=(e=pe(e,"hsi"))[0],s=e[1],o=e[2];return isNaN(a)&&(a=0),isNaN(s)&&(s=0),a>360&&(a-=360),a<0&&(a+=360),(a/=360)<1/3?i=1-((r=(1-s)/3)+(n=(1+s*ye(ge*a)/ye(ve-ge*a))/3)):a<2/3?r=1-((n=(1-s)/3)+(i=(1+s*ye(ge*(a-=1/3))/ye(ve-ge*a))/3)):n=1-((i=(1-s)/3)+(r=(1+s*ye(ge*(a-=2/3))/ye(ve-ge*a))/3)),[255*(n=me(o*n*3)),255*(i=me(o*i*3)),255*(r=me(o*r*3)),e.length>3?e[3]:1]},be=o.unpack,Te=o.type;f.prototype.hsi=function(){return fe(this._rgb)},m.hsi=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(f,[null].concat(e,["hsi"])))},u.format.hsi=_e,u.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=be(e,"hsi"),"array"===Te(e)&&3===e.length)return"hsi"}});var Se=o.unpack,we=o.type;f.prototype.hsl=function(){return A(this._rgb)},m.hsl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(f,[null].concat(e,["hsl"])))},u.format.hsl=R,u.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Se(e,"hsl"),"array"===we(e)&&3===e.length)return"hsl"}});var Ee=o.unpack,ke=Math.min,Ce=Math.max,xe=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,i,r,a=(e=Ee(e,"rgb"))[0],s=e[1],o=e[2],u=ke(a,s,o),l=Ce(a,s,o),c=l-u;return r=l/255,0===l?(n=Number.NaN,i=0):(i=c/l,a===l&&(n=(s-o)/c),s===l&&(n=2+(o-a)/c),o===l&&(n=4+(a-s)/c),(n*=60)<0&&(n+=360)),[n,i,r]},Ae=o.unpack,Ie=Math.floor,Oe=function(){for(var e,t,n,i,r,a,s=[],o=arguments.length;o--;)s[o]=arguments[o];var u,l,c,h=(s=Ae(s,"hsv"))[0],d=s[1],f=s[2];if(f*=255,0===d)u=l=c=f;else{360===h&&(h=0),h>360&&(h-=360),h<0&&(h+=360);var p=Ie(h/=60),m=h-p,g=f*(1-d),v=f*(1-d*m),y=f*(1-d*(1-m));switch(p){case 0:u=(e=[f,y,g])[0],l=e[1],c=e[2];break;case 1:u=(t=[v,f,g])[0],l=t[1],c=t[2];break;case 2:u=(n=[g,f,y])[0],l=n[1],c=n[2];break;case 3:u=(i=[g,v,f])[0],l=i[1],c=i[2];break;case 4:u=(r=[y,g,f])[0],l=r[1],c=r[2];break;case 5:u=(a=[f,g,v])[0],l=a[1],c=a[2]}}return[u,l,c,s.length>3?s[3]:1]},Pe=o.unpack,Le=o.type;f.prototype.hsv=function(){return xe(this._rgb)},m.hsv=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(f,[null].concat(e,["hsv"])))},u.format.hsv=Oe,u.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Pe(e,"hsv"),"array"===Le(e)&&3===e.length)return"hsv"}});var De=18,Me=.95047,Re=1,Ne=1.08883,Ue=.137931034,Be=.206896552,Fe=.12841855,je=.008856452,Ve=o.unpack,We=Math.pow,qe=function(e){return(e/=255)<=.04045?e/12.92:We((e+.055)/1.055,2.4)},He=function(e){return e>je?We(e,1/3):e/Fe+Ue},ze=function(e,t,n){return e=qe(e),t=qe(t),n=qe(n),[He((.4124564*e+.3575761*t+.1804375*n)/Me),He((.2126729*e+.7151522*t+.072175*n)/Re),He((.0193339*e+.119192*t+.9503041*n)/Ne)]},Ge=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Ve(e,"rgb"),i=n[0],r=n[1],a=n[2],s=ze(i,r,a),o=s[0],u=s[1],l=s[2],c=116*u-16;return[c<0?0:c,500*(o-u),200*(u-l)]},Ye=o.unpack,Xe=Math.pow,Ke=function(e){return 255*(e<=.00304?12.92*e:1.055*Xe(e,1/2.4)-.055)},$e=function(e){return e>Be?e*e*e:Fe*(e-Ue)},Qe=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,i,r,a=(e=Ye(e,"lab"))[0],s=e[1],o=e[2];return i=(a+16)/116,n=isNaN(s)?i:i+s/500,r=isNaN(o)?i:i-o/200,i=Re*$e(i),n=Me*$e(n),r=Ne*$e(r),[Ke(3.2404542*n-1.5371385*i-.4985314*r),Ke(-.969266*n+1.8760108*i+.041556*r),Ke(.0556434*n-.2040259*i+1.0572252*r),e.length>3?e[3]:1]},Je=o.unpack,Ze=o.type;f.prototype.lab=function(){return Ge(this._rgb)},m.lab=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(f,[null].concat(e,["lab"])))},u.format.lab=Qe,u.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Je(e,"lab"),"array"===Ze(e)&&3===e.length)return"lab"}});var et=o.unpack,tt=o.RAD2DEG,nt=Math.sqrt,it=Math.atan2,rt=Math.round,at=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=et(e,"lab"),i=n[0],r=n[1],a=n[2],s=nt(r*r+a*a),o=(it(a,r)*tt+360)%360;return 0===rt(1e4*s)&&(o=Number.NaN),[i,s,o]},st=o.unpack,ot=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=st(e,"rgb"),i=n[0],r=n[1],a=n[2],s=Ge(i,r,a),o=s[0],u=s[1],l=s[2];return at(o,u,l)},ut=o.unpack,lt=o.DEG2RAD,ct=Math.sin,ht=Math.cos,dt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=ut(e,"lch"),i=n[0],r=n[1],a=n[2];return isNaN(a)&&(a=0),[i,ht(a*=lt)*r,ct(a)*r]},ft=o.unpack,pt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=ft(e,"lch"))[0],i=e[1],r=e[2],a=dt(n,i,r),s=a[0],o=a[1],u=a[2],l=Qe(s,o,u),c=l[0],h=l[1],d=l[2];return[c,h,d,e.length>3?e[3]:1]},mt=o.unpack,gt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=mt(e,"hcl").reverse();return pt.apply(void 0,n)},vt=o.unpack,yt=o.type;f.prototype.lch=function(){return ot(this._rgb)},f.prototype.hcl=function(){return ot(this._rgb).reverse()},m.lch=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(f,[null].concat(e,["lch"])))},m.hcl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(f,[null].concat(e,["hcl"])))},u.format.lch=pt,u.format.hcl=gt,["lch","hcl"].forEach((function(e){return u.autodetect.push({p:2,test:function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(t=vt(t,e),"array"===yt(t)&&3===t.length)return e}})}));var _t={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflower:"#6495ed",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},bt=o.type;f.prototype.name=function(){for(var e=ie(this._rgb,"rgb"),t=0,n=Object.keys(_t);t<n.length;t+=1){var i=n[t];if(_t[i]===e)return i.toLowerCase()}return e},u.format.named=function(e){if(e=e.toLowerCase(),_t[e])return se(_t[e]);throw new Error("unknown color name: "+e)},u.autodetect.push({p:5,test:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if(!t.length&&"string"===bt(e)&&_t[e.toLowerCase()])return"named"}});var Tt=o.unpack,St=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Tt(e,"rgb"),i=n[0],r=n[1],a=n[2];return(i<<16)+(r<<8)+a},wt=o.type,Et=function(e){if("number"==wt(e)&&e>=0&&e<=16777215)return[e>>16,e>>8&255,255&e,1];throw new Error("unknown num color: "+e)},kt=o.type;f.prototype.num=function(){return St(this._rgb)},m.num=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(f,[null].concat(e,["num"])))},u.format.num=Et,u.autodetect.push({p:5,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(1===e.length&&"number"===kt(e[0])&&e[0]>=0&&e[0]<=16777215)return"num"}});var Ct=o.unpack,xt=o.type,At=Math.round;f.prototype.rgb=function(e){return void 0===e&&(e=!0),!1===e?this._rgb.slice(0,3):this._rgb.slice(0,3).map(At)},f.prototype.rgba=function(e){return void 0===e&&(e=!0),this._rgb.slice(0,4).map((function(t,n){return n<3?!1===e?t:At(t):t}))},m.rgb=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(f,[null].concat(e,["rgb"])))},u.format.rgb=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Ct(e,"rgba");return void 0===n[3]&&(n[3]=1),n},u.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Ct(e,"rgba"),"array"===xt(e)&&(3===e.length||4===e.length&&"number"==xt(e[3])&&e[3]>=0&&e[3]<=1))return"rgb"}});var It=Math.log,Ot=function(e){var t,n,i,r=e/100;return r<66?(t=255,n=-155.25485562709179-.44596950469579133*(n=r-2)+104.49216199393888*It(n),i=r<20?0:.8274096064007395*(i=r-10)-254.76935184120902+115.67994401066147*It(i)):(t=351.97690566805693+.114206453784165*(t=r-55)-40.25366309332127*It(t),n=325.4494125711974+.07943456536662342*(n=r-50)-28.0852963507957*It(n),i=255),[t,n,i,1]},Pt=o.unpack,Lt=Math.round,Dt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var n,i=Pt(e,"rgb"),r=i[0],a=i[2],s=1e3,o=4e4,u=.4;o-s>u;){var l=Ot(n=.5*(o+s));l[2]/l[0]>=a/r?o=n:s=n}return Lt(n)};f.prototype.temp=f.prototype.kelvin=f.prototype.temperature=function(){return Dt(this._rgb)},m.temp=m.kelvin=m.temperature=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(f,[null].concat(e,["temp"])))},u.format.temp=u.format.kelvin=u.format.temperature=Ot;var Mt=o.type;f.prototype.alpha=function(e,t){return void 0===t&&(t=!1),void 0!==e&&"number"===Mt(e)?t?(this._rgb[3]=e,this):new f([this._rgb[0],this._rgb[1],this._rgb[2],e],"rgb"):this._rgb[3]},f.prototype.clipped=function(){return this._rgb._clipped||!1},f.prototype.darken=function(e){void 0===e&&(e=1);var t=this.lab();return t[0]-=De*e,new f(t,"lab").alpha(this.alpha(),!0)},f.prototype.brighten=function(e){return void 0===e&&(e=1),this.darken(-e)},f.prototype.darker=f.prototype.darken,f.prototype.brighter=f.prototype.brighten,f.prototype.get=function(e){var t=e.split("."),n=t[0],i=t[1],r=this[n]();if(i){var a=n.indexOf(i);if(a>-1)return r[a];throw new Error("unknown channel "+i+" in mode "+n)}return r};var Rt=o.type,Nt=Math.pow;f.prototype.luminance=function(e){if(void 0!==e&&"number"===Rt(e)){if(0===e)return new f([0,0,0,this._rgb[3]],"rgb");if(1===e)return new f([255,255,255,this._rgb[3]],"rgb");var t=this.luminance(),n=20,i=function(t,r){var a=t.interpolate(r,.5,"rgb"),s=a.luminance();return Math.abs(e-s)<1e-7||!n--?a:s>e?i(t,a):i(a,r)},r=(t>e?i(new f([0,0,0]),this):i(this,new f([255,255,255]))).rgb();return new f(r.concat([this._rgb[3]]))}return Ut.apply(void 0,this._rgb.slice(0,3))};var Ut=function(e,t,n){return.2126*(e=Bt(e))+.7152*(t=Bt(t))+.0722*(n=Bt(n))},Bt=function(e){return(e/=255)<=.03928?e/12.92:Nt((e+.055)/1.055,2.4)},Ft={},jt=o.type,Vt=function(e,t,n){void 0===n&&(n=.5);for(var i=[],r=arguments.length-3;r-- >0;)i[r]=arguments[r+3];var a=i[0]||"lrgb";if(Ft[a]||i.length||(a=Object.keys(Ft)[0]),!Ft[a])throw new Error("interpolation mode "+a+" is not defined");return"object"!==jt(e)&&(e=new f(e)),"object"!==jt(t)&&(t=new f(t)),Ft[a](e,t,n).alpha(e.alpha()+n*(t.alpha()-e.alpha()))};f.prototype.mix=f.prototype.interpolate=function(e,t){void 0===t&&(t=.5);for(var n=[],i=arguments.length-2;i-- >0;)n[i]=arguments[i+2];return Vt.apply(void 0,[this,e,t].concat(n))},f.prototype.premultiply=function(e){void 0===e&&(e=!1);var t=this._rgb,n=t[3];return e?(this._rgb=[t[0]*n,t[1]*n,t[2]*n,n],this):new f([t[0]*n,t[1]*n,t[2]*n,n],"rgb")},f.prototype.saturate=function(e){void 0===e&&(e=1);var t=this.lch();return t[1]+=De*e,t[1]<0&&(t[1]=0),new f(t,"lch").alpha(this.alpha(),!0)},f.prototype.desaturate=function(e){return void 0===e&&(e=1),this.saturate(-e)};var Wt=o.type;f.prototype.set=function(e,t,n){void 0===n&&(n=!1);var i=e.split("."),r=i[0],a=i[1],s=this[r]();if(a){var o=r.indexOf(a);if(o>-1){if("string"==Wt(t))switch(t.charAt(0)){case"+":case"-":s[o]+=+t;break;case"*":s[o]*=+t.substr(1);break;case"/":s[o]/=+t.substr(1);break;default:s[o]=+t}else{if("number"!==Wt(t))throw new Error("unsupported value for Color.set");s[o]=t}var u=new f(s,r);return n?(this._rgb=u._rgb,this):u}throw new Error("unknown channel "+a+" in mode "+r)}return s},Ft.rgb=function(e,t,n){var i=e._rgb,r=t._rgb;return new f(i[0]+n*(r[0]-i[0]),i[1]+n*(r[1]-i[1]),i[2]+n*(r[2]-i[2]),"rgb")};var qt=Math.sqrt,Ht=Math.pow;Ft.lrgb=function(e,t,n){var i=e._rgb,r=i[0],a=i[1],s=i[2],o=t._rgb,u=o[0],l=o[1],c=o[2];return new f(qt(Ht(r,2)*(1-n)+Ht(u,2)*n),qt(Ht(a,2)*(1-n)+Ht(l,2)*n),qt(Ht(s,2)*(1-n)+Ht(c,2)*n),"rgb")},Ft.lab=function(e,t,n){var i=e.lab(),r=t.lab();return new f(i[0]+n*(r[0]-i[0]),i[1]+n*(r[1]-i[1]),i[2]+n*(r[2]-i[2]),"lab")};var zt=function(e,t,n,i){var r,a,s,o,u,l,c,h,d,p,m,g;return"hsl"===i?(s=e.hsl(),o=t.hsl()):"hsv"===i?(s=e.hsv(),o=t.hsv()):"hcg"===i?(s=e.hcg(),o=t.hcg()):"hsi"===i?(s=e.hsi(),o=t.hsi()):"lch"!==i&&"hcl"!==i||(i="hcl",s=e.hcl(),o=t.hcl()),"h"===i.substr(0,1)&&(u=(r=s)[0],c=r[1],d=r[2],l=(a=o)[0],h=a[1],p=a[2]),isNaN(u)||isNaN(l)?isNaN(u)?isNaN(l)?g=Number.NaN:(g=l,1!=d&&0!=d||"hsv"==i||(m=h)):(g=u,1!=p&&0!=p||"hsv"==i||(m=c)):g=u+n*(l>u&&l-u>180?l-(u+360):l<u&&u-l>180?l+360-u:l-u),void 0===m&&(m=c+n*(h-c)),new f([g,m,d+n*(p-d)],i)},Gt=function(e,t,n){return zt(e,t,n,"lch")};Ft.lch=Gt,Ft.hcl=Gt,Ft.num=function(e,t,n){var i=e.num(),r=t.num();return new f(i+n*(r-i),"num")},Ft.hcg=function(e,t,n){return zt(e,t,n,"hcg")},Ft.hsi=function(e,t,n){return zt(e,t,n,"hsi")},Ft.hsl=function(e,t,n){return zt(e,t,n,"hsl")},Ft.hsv=function(e,t,n){return zt(e,t,n,"hsv")};var Yt=o.clip_rgb,Xt=Math.pow,Kt=Math.sqrt,$t=Math.PI,Qt=Math.cos,Jt=Math.sin,Zt=Math.atan2,en=function(e,t){for(var n=e.length,i=[0,0,0,0],r=0;r<e.length;r++){var a=e[r],s=t[r]/n,o=a._rgb;i[0]+=Xt(o[0],2)*s,i[1]+=Xt(o[1],2)*s,i[2]+=Xt(o[2],2)*s,i[3]+=o[3]*s}return i[0]=Kt(i[0]),i[1]=Kt(i[1]),i[2]=Kt(i[2]),i[3]>.9999999&&(i[3]=1),new f(Yt(i))},tn=o.type,nn=Math.pow,rn=function(e){var t="rgb",n=m("#ccc"),i=0,r=[0,1],a=[],s=[0,0],o=!1,u=[],l=!1,c=0,h=1,d=!1,f={},p=!0,g=1,v=function(e){if((e=e||["#fff","#000"])&&"string"===tn(e)&&m.brewer&&m.brewer[e.toLowerCase()]&&(e=m.brewer[e.toLowerCase()]),"array"===tn(e)){1===e.length&&(e=[e[0],e[0]]),e=e.slice(0);for(var t=0;t<e.length;t++)e[t]=m(e[t]);a.length=0;for(var n=0;n<e.length;n++)a.push(n/(e.length-1))}return T(),u=e},y=function(e){return e},_=function(e){return e},b=function(e,i){var r,l;if(null==i&&(i=!1),isNaN(e)||null===e)return n;l=i?e:o&&o.length>2?function(e){if(null!=o){for(var t=o.length-1,n=0;n<t&&e>=o[n];)n++;return n-1}return 0}(e)/(o.length-2):h!==c?(e-c)/(h-c):1,l=_(l),i||(l=y(l)),1!==g&&(l=nn(l,g)),l=s[0]+l*(1-s[0]-s[1]),l=Math.min(1,Math.max(0,l));var d=Math.floor(1e4*l);if(p&&f[d])r=f[d];else{if("array"===tn(u))for(var v=0;v<a.length;v++){var b=a[v];if(l<=b){r=u[v];break}if(l>=b&&v===a.length-1){r=u[v];break}if(l>b&&l<a[v+1]){l=(l-b)/(a[v+1]-b),r=m.interpolate(u[v],u[v+1],l,t);break}}else"function"===tn(u)&&(r=u(l));p&&(f[d]=r)}return r},T=function(){return f={}};v(e);var S=function(e){var t=m(b(e));return l&&t[l]?t[l]():t};return S.classes=function(e){if(null!=e){if("array"===tn(e))o=e,r=[e[0],e[e.length-1]];else{var t=m.analyze(r);o=0===e?[t.min,t.max]:m.limits(t,"e",e)}return S}return o},S.domain=function(e){if(!arguments.length)return r;c=e[0],h=e[e.length-1],a=[];var t=u.length;if(e.length===t&&c!==h)for(var n=0,i=Array.from(e);n<i.length;n+=1){var s=i[n];a.push((s-c)/(h-c))}else{for(var o=0;o<t;o++)a.push(o/(t-1));if(e.length>2){var l=e.map((function(t,n){return n/(e.length-1)})),d=e.map((function(e){return(e-c)/(h-c)}));d.every((function(e,t){return l[t]===e}))||(_=function(e){if(e<=0||e>=1)return e;for(var t=0;e>=d[t+1];)t++;var n=(e-d[t])/(d[t+1]-d[t]);return l[t]+n*(l[t+1]-l[t])})}}return r=[c,h],S},S.mode=function(e){return arguments.length?(t=e,T(),S):t},S.range=function(e,t){return v(e),S},S.out=function(e){return l=e,S},S.spread=function(e){return arguments.length?(i=e,S):i},S.correctLightness=function(e){return null==e&&(e=!0),d=e,T(),y=d?function(e){for(var t=b(0,!0).lab()[0],n=b(1,!0).lab()[0],i=t>n,r=b(e,!0).lab()[0],a=t+(n-t)*e,s=r-a,o=0,u=1,l=20;Math.abs(s)>.01&&l-- >0;)i&&(s*=-1),s<0?(o=e,e+=.5*(u-e)):(u=e,e+=.5*(o-e)),r=b(e,!0).lab()[0],s=r-a;return e}:function(e){return e},S},S.padding=function(e){return null!=e?("number"===tn(e)&&(e=[e,e]),s=e,S):s},S.colors=function(t,n){arguments.length<2&&(n="hex");var i=[];if(0===arguments.length)i=u.slice(0);else if(1===t)i=[S(.5)];else if(t>1){var a=r[0],s=r[1]-a;i=an(0,t,!1).map((function(e){return S(a+e/(t-1)*s)}))}else{e=[];var l=[];if(o&&o.length>2)for(var c=1,h=o.length,d=1<=h;d?c<h:c>h;d?c++:c--)l.push(.5*(o[c-1]+o[c]));else l=r;i=l.map((function(e){return S(e)}))}return m[n]&&(i=i.map((function(e){return e[n]()}))),i},S.cache=function(e){return null!=e?(p=e,S):p},S.gamma=function(e){return null!=e?(g=e,S):g},S.nodata=function(e){return null!=e?(n=m(e),S):n},S};function an(e,t,n){for(var i=[],r=e<t,a=n?r?t+1:t-1:t,s=e;r?s<a:s>a;r?s++:s--)i.push(s);return i}var sn=function(e){var t,n,i,r,a,s,o;if(2===(e=e.map((function(e){return new f(e)}))).length)t=e.map((function(e){return e.lab()})),a=t[0],s=t[1],r=function(e){var t=[0,1,2].map((function(t){return a[t]+e*(s[t]-a[t])}));return new f(t,"lab")};else if(3===e.length)n=e.map((function(e){return e.lab()})),a=n[0],s=n[1],o=n[2],r=function(e){var t=[0,1,2].map((function(t){return(1-e)*(1-e)*a[t]+2*(1-e)*e*s[t]+e*e*o[t]}));return new f(t,"lab")};else if(4===e.length){var u;i=e.map((function(e){return e.lab()})),a=i[0],s=i[1],o=i[2],u=i[3],r=function(e){var t=[0,1,2].map((function(t){return(1-e)*(1-e)*(1-e)*a[t]+3*(1-e)*(1-e)*e*s[t]+3*(1-e)*e*e*o[t]+e*e*e*u[t]}));return new f(t,"lab")}}else if(5===e.length){var l=sn(e.slice(0,3)),c=sn(e.slice(2,5));r=function(e){return e<.5?l(2*e):c(2*(e-.5))}}return r},on=function(e,t,n){if(!on[n])throw new Error("unknown blend mode "+n);return on[n](e,t)},un=function(e){return function(t,n){var i=m(n).rgb(),r=m(t).rgb();return m.rgb(e(i,r))}},ln=function(e){return function(t,n){var i=[];return i[0]=e(t[0],n[0]),i[1]=e(t[1],n[1]),i[2]=e(t[2],n[2]),i}};on.normal=un(ln((function(e){return e}))),on.multiply=un(ln((function(e,t){return e*t/255}))),on.screen=un(ln((function(e,t){return 255*(1-(1-e/255)*(1-t/255))}))),on.overlay=un(ln((function(e,t){return t<128?2*e*t/255:255*(1-2*(1-e/255)*(1-t/255))}))),on.darken=un(ln((function(e,t){return e>t?t:e}))),on.lighten=un(ln((function(e,t){return e>t?e:t}))),on.dodge=un(ln((function(e,t){return 255===e||(e=t/255*255/(1-e/255))>255?255:e}))),on.burn=un(ln((function(e,t){return 255*(1-(1-t/255)/(e/255))})));for(var cn=on,hn=o.type,dn=o.clip_rgb,fn=o.TWOPI,pn=Math.pow,mn=Math.sin,gn=Math.cos,vn=Math.floor,yn=Math.random,_n=Math.log,bn=Math.pow,Tn=Math.floor,Sn=Math.abs,wn=function(e,t){void 0===t&&(t=null);var n={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0};return"object"===a(e)&&(e=Object.values(e)),e.forEach((function(e){t&&"object"===a(e)&&(e=e[t]),null==e||isNaN(e)||(n.values.push(e),n.sum+=e,e<n.min&&(n.min=e),e>n.max&&(n.max=e),n.count+=1)})),n.domain=[n.min,n.max],n.limits=function(e,t){return En(n,e,t)},n},En=function(e,t,n){void 0===t&&(t="equal"),void 0===n&&(n=7),"array"==a(e)&&(e=wn(e));var i=e.min,r=e.max,s=e.values.sort((function(e,t){return e-t}));if(1===n)return[i,r];var o=[];if("c"===t.substr(0,1)&&(o.push(i),o.push(r)),"e"===t.substr(0,1)){o.push(i);for(var u=1;u<n;u++)o.push(i+u/n*(r-i));o.push(r)}else if("l"===t.substr(0,1)){if(i<=0)throw new Error("Logarithmic scales are only possible for values > 0");var l=Math.LOG10E*_n(i),c=Math.LOG10E*_n(r);o.push(i);for(var h=1;h<n;h++)o.push(bn(10,l+h/n*(c-l)));o.push(r)}else if("q"===t.substr(0,1)){o.push(i);for(var d=1;d<n;d++){var f=(s.length-1)*d/n,p=Tn(f);if(p===f)o.push(s[p]);else{var m=f-p;o.push(s[p]*(1-m)+s[p+1]*m)}}o.push(r)}else if("k"===t.substr(0,1)){var g,v=s.length,y=new Array(v),_=new Array(n),b=!0,T=0,S=null;(S=[]).push(i);for(var w=1;w<n;w++)S.push(i+w/n*(r-i));for(S.push(r);b;){for(var E=0;E<n;E++)_[E]=0;for(var k=0;k<v;k++)for(var C=s[k],x=Number.MAX_VALUE,A=void 0,I=0;I<n;I++){var O=Sn(S[I]-C);O<x&&(x=O,A=I),_[A]++,y[k]=A}for(var P=new Array(n),L=0;L<n;L++)P[L]=null;for(var D=0;D<v;D++)null===P[g=y[D]]?P[g]=s[D]:P[g]+=s[D];for(var M=0;M<n;M++)P[M]*=1/_[M];b=!1;for(var R=0;R<n;R++)if(P[R]!==S[R]){b=!0;break}S=P,++T>200&&(b=!1)}for(var N={},U=0;U<n;U++)N[U]=[];for(var B=0;B<v;B++)N[g=y[B]].push(s[B]);for(var F=[],j=0;j<n;j++)F.push(N[j][0]),F.push(N[j][N[j].length-1]);F=F.sort((function(e,t){return e-t})),o.push(F[0]);for(var V=1;V<F.length;V+=2){var W=F[V];isNaN(W)||-1!==o.indexOf(W)||o.push(W)}}return o},kn={analyze:wn,limits:En},Cn=Math.sqrt,xn=Math.atan2,An=Math.abs,In=Math.cos,On=Math.PI,Pn={cool:function(){return rn([m.hsl(180,1,.9),m.hsl(250,.7,.4)])},hot:function(){return rn(["#000","#f00","#ff0","#fff"]).mode("rgb")}},Ln={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},Dn=0,Mn=Object.keys(Ln);Dn<Mn.length;Dn+=1){var Rn=Mn[Dn];Ln[Rn.toLowerCase()]=Ln[Rn]}var Nn=Ln;return m.average=function(e,t,n){void 0===t&&(t="lrgb"),void 0===n&&(n=null);var i=e.length;n||(n=Array.from(new Array(i)).map((function(){return 1})));var r=i/n.reduce((function(e,t){return e+t}));if(n.forEach((function(e,t){n[t]*=r})),e=e.map((function(e){return new f(e)})),"lrgb"===t)return en(e,n);for(var a=e.shift(),s=a.get(t),o=[],u=0,l=0,c=0;c<s.length;c++)if(s[c]=(s[c]||0)*n[0],o.push(isNaN(s[c])?0:n[0]),"h"===t.charAt(c)&&!isNaN(s[c])){var h=s[c]/180*$t;u+=Qt(h)*n[0],l+=Jt(h)*n[0]}var d=a.alpha()*n[0];e.forEach((function(e,i){var r=e.get(t);d+=e.alpha()*n[i+1];for(var a=0;a<s.length;a++)if(!isNaN(r[a]))if(o[a]+=n[i+1],"h"===t.charAt(a)){var c=r[a]/180*$t;u+=Qt(c)*n[i+1],l+=Jt(c)*n[i+1]}else s[a]+=r[a]*n[i+1]}));for(var p=0;p<s.length;p++)if("h"===t.charAt(p)){for(var m=Zt(l/o[p],u/o[p])/$t*180;m<0;)m+=360;for(;m>=360;)m-=360;s[p]=m}else s[p]=s[p]/o[p];return d/=i,new f(s,t).alpha(d>.99999?1:d,!0)},m.bezier=function(e){var t=sn(e);return t.scale=function(){return rn(t)},t},m.blend=cn,m.cubehelix=function(e,t,n,i,r){void 0===e&&(e=300),void 0===t&&(t=-1.5),void 0===n&&(n=1),void 0===i&&(i=1),void 0===r&&(r=[0,1]);var a,s=0;"array"===hn(r)?a=r[1]-r[0]:(a=0,r=[r,r]);var o=function(o){var u=fn*((e+120)/360+t*o),l=pn(r[0]+a*o,i),c=(0!==s?n[0]+o*s:n)*l*(1-l)/2,h=gn(u),d=mn(u);return m(dn([255*(l+c*(-.14861*h+1.78277*d)),255*(l+c*(-.29227*h-.90649*d)),255*(l+c*(1.97294*h)),1]))};return o.start=function(t){return null==t?e:(e=t,o)},o.rotations=function(e){return null==e?t:(t=e,o)},o.gamma=function(e){return null==e?i:(i=e,o)},o.hue=function(e){return null==e?n:("array"===hn(n=e)?0==(s=n[1]-n[0])&&(n=n[1]):s=0,o)},o.lightness=function(e){return null==e?r:("array"===hn(e)?(r=e,a=e[1]-e[0]):(r=[e,e],a=0),o)},o.scale=function(){return m.scale(o)},o.hue(n),o},m.mix=m.interpolate=Vt,m.random=function(){for(var e="#",t=0;t<6;t++)e+="0123456789abcdef".charAt(vn(16*yn()));return new f(e,"hex")},m.scale=rn,m.analyze=kn.analyze,m.contrast=function(e,t){e=new f(e),t=new f(t);var n=e.luminance(),i=t.luminance();return n>i?(n+.05)/(i+.05):(i+.05)/(n+.05)},m.deltaE=function(e,t,n,i){void 0===n&&(n=1),void 0===i&&(i=1),e=new f(e),t=new f(t);for(var r=Array.from(e.lab()),a=r[0],s=r[1],o=r[2],u=Array.from(t.lab()),l=u[0],c=u[1],h=u[2],d=Cn(s*s+o*o),p=Cn(c*c+h*h),m=a<16?.511:.040975*a/(1+.01765*a),g=.0638*d/(1+.0131*d)+.638,v=d<1e-6?0:180*xn(o,s)/On;v<0;)v+=360;for(;v>=360;)v-=360;var y=v>=164&&v<=345?.56+An(.2*In(On*(v+168)/180)):.36+An(.4*In(On*(v+35)/180)),_=d*d*d*d,b=Cn(_/(_+1900)),T=g*(b*y+1-b),S=d-p,w=s-c,E=o-h,k=(a-l)/(n*m),C=S/(i*g);return Cn(k*k+C*C+(w*w+E*E-S*S)/(T*T))},m.distance=function(e,t,n){void 0===n&&(n="lab"),e=new f(e),t=new f(t);var i=e.get(n),r=t.get(n),a=0;for(var s in i){var o=(i[s]||0)-(r[s]||0);a+=o*o}return Math.sqrt(a)},m.limits=kn.limits,m.valid=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];try{return new(Function.prototype.bind.apply(f,[null].concat(e))),!0}catch(e){return!1}},m.scales=Pn,m.colors=_t,m.brewer=Nn,m}()},131:function(e,t,n){var i=n(167),r=n(22),a=n(44),s=n(33).f,o=n(168),u=n(178),l=o("meta"),c=0,h=Object.isExtensible||function(){return!0},d=function(e){s(e,l,{value:{objectID:"O"+ ++c,weakData:{}}})},f=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,l)){if(!h(e))return"F";if(!t)return"E";d(e)}return e[l].objectID},getWeakData:function(e,t){if(!a(e,l)){if(!h(e))return!0;if(!t)return!1;d(e)}return e[l].weakData},onFreeze:function(e){return u&&f.REQUIRED&&h(e)&&!a(e,l)&&d(e),e}};i[l]=!0},132:function(e,t,n){var i=n(297),r=n(244).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},133:function(e,t,n){var i=n(90);e.exports=Array.isArray||function(e){return"Array"==i(e)}},1333:function(e,t,n){(function(t){var i,r=void 0!==t?t:"undefined"!=typeof window?window:{},a=n(1261);"undefined"!=typeof document?i=document:(i=r["__GLOBAL_DOCUMENT_CACHE@4"])||(i=r["__GLOBAL_DOCUMENT_CACHE@4"]=a),e.exports=i}).call(this,n(163))},1334:function(e,t,n){"use strict";
|
|
74
74
|
/*! @name @videojs/vhs-utils @version 2.3.0 @license MIT */function i(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var r=i(n(1528)),a=i(n(1164));e.exports=function(e,t){return/^[a-z]+:/i.test(t)?t:(/\/\//i.test(e)||(e=r.buildAbsoluteURL(a.location&&a.location.href||"",e)),r.buildAbsoluteURL(e,t))}},1335:function(e,t,n){"use strict";(function(t){var i,r=(i=n(1164))&&"object"==typeof i&&"default"in i?i.default:i;e.exports=function(e){for(var n,i=(n=e,r.atob?r.atob(n):t.from(n,"base64").toString("binary")),a=new Uint8Array(i.length),s=0;s<i.length;s++)a[s]=i.charCodeAt(s);return a}}).call(this,n(1530).Buffer)},1336:function(e,t){function n(e,t){for(var n in e)t[n]=e[n]}function i(e,t){var i=e.prototype;if(Object.create){var r=Object.create(t.prototype);i.__proto__=r}if(!(i instanceof t)){function a(){}a.prototype=t.prototype,n(i,a=new a),e.prototype=i=a}i.constructor!=e&&("function"!=typeof e&&console.error("unknow Class:"+e),i.constructor=e)}var r={},a=r.ELEMENT_NODE=1,s=r.ATTRIBUTE_NODE=2,o=r.TEXT_NODE=3,u=r.CDATA_SECTION_NODE=4,l=r.ENTITY_REFERENCE_NODE=5,c=r.ENTITY_NODE=6,h=r.PROCESSING_INSTRUCTION_NODE=7,d=r.COMMENT_NODE=8,f=r.DOCUMENT_NODE=9,p=r.DOCUMENT_TYPE_NODE=10,m=r.DOCUMENT_FRAGMENT_NODE=11,g=r.NOTATION_NODE=12,v={},y={},_=(v.INDEX_SIZE_ERR=(y[1]="Index size error",1),v.DOMSTRING_SIZE_ERR=(y[2]="DOMString size error",2),v.HIERARCHY_REQUEST_ERR=(y[3]="Hierarchy request error",3)),b=(v.WRONG_DOCUMENT_ERR=(y[4]="Wrong document",4),v.INVALID_CHARACTER_ERR=(y[5]="Invalid character",5),v.NO_DATA_ALLOWED_ERR=(y[6]="No data allowed",6),v.NO_MODIFICATION_ALLOWED_ERR=(y[7]="No modification allowed",7),v.NOT_FOUND_ERR=(y[8]="Not found",8)),T=(v.NOT_SUPPORTED_ERR=(y[9]="Not supported",9),v.INUSE_ATTRIBUTE_ERR=(y[10]="Attribute in use",10));v.INVALID_STATE_ERR=(y[11]="Invalid state",11),v.SYNTAX_ERR=(y[12]="Syntax error",12),v.INVALID_MODIFICATION_ERR=(y[13]="Invalid modification",13),v.NAMESPACE_ERR=(y[14]="Invalid namespace",14),v.INVALID_ACCESS_ERR=(y[15]="Invalid access",15);function S(e,t){if(t instanceof Error)var n=t;else n=this,Error.call(this,y[e]),this.message=y[e],Error.captureStackTrace&&Error.captureStackTrace(this,S);return n.code=e,t&&(this.message=this.message+": "+t),n}function w(){}function E(e,t){this._node=e,this._refresh=t,k(this)}function k(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!=t){var i=e._refresh(e._node);te(e,"length",i.length),n(i,e),e._inc=t}}function C(){}function x(e,t){for(var n=e.length;n--;)if(e[n]===t)return n}function A(e,t,n,i){if(i?t[x(t,i)]=n:t[t.length++]=n,e){n.ownerElement=e;var r=e.ownerDocument;r&&(i&&R(r,e,i),function(e,t,n){e&&e._inc++,"http://www.w3.org/2000/xmlns/"==n.namespaceURI&&(t._nsMap[n.prefix?n.localName:""]=n.value)}(r,e,n))}}function I(e,t,n){var i=x(t,n);if(!(i>=0))throw S(b,new Error(e.tagName+"@"+n));for(var r=t.length-1;i<r;)t[i]=t[++i];if(t.length=r,e){var a=e.ownerDocument;a&&(R(a,e,n),n.ownerElement=null)}}function O(e){if(this._features={},e)for(var t in e)this._features=e[t]}function P(){}function L(e){return("<"==e?"<":">"==e&&">")||"&"==e&&"&"||'"'==e&&"""||"&#"+e.charCodeAt()+";"}function D(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(D(e,t))return!0}while(e=e.nextSibling)}function M(){}function R(e,t,n,i){e&&e._inc++,"http://www.w3.org/2000/xmlns/"==n.namespaceURI&&delete t._nsMap[n.prefix?n.localName:""]}function N(e,t,n){if(e&&e._inc){e._inc++;var i=t.childNodes;if(n)i[i.length++]=n;else{for(var r=t.firstChild,a=0;r;)i[a++]=r,r=r.nextSibling;i.length=a}}}function U(e,t){var n=t.previousSibling,i=t.nextSibling;return n?n.nextSibling=i:e.firstChild=i,i?i.previousSibling=n:e.lastChild=n,N(e.ownerDocument,e),t}function B(e,t,n){var i=t.parentNode;if(i&&i.removeChild(t),t.nodeType===m){var r=t.firstChild;if(null==r)return t;var a=t.lastChild}else r=a=t;var s=n?n.previousSibling:e.lastChild;r.previousSibling=s,a.nextSibling=n,s?s.nextSibling=r:e.firstChild=r,null==n?e.lastChild=a:n.previousSibling=a;do{r.parentNode=e}while(r!==a&&(r=r.nextSibling));return N(e.ownerDocument||e,e),t.nodeType==m&&(t.firstChild=t.lastChild=null),t}function F(){this._nsMap={}}function j(){}function V(){}function W(){}function q(){}function H(){}function z(){}function G(){}function Y(){}function X(){}function K(){}function $(){}function Q(){}function J(e,t){var n=[],i=9==this.nodeType?this.documentElement:this,r=i.prefix,a=i.namespaceURI;if(a&&null==r&&null==(r=i.lookupPrefix(a)))var s=[{namespace:a,prefix:null}];return ee(this,n,e,t,s),n.join("")}function Z(e,t,n){var i=e.prefix||"",r=e.namespaceURI;if(!i&&!r)return!1;if("xml"===i&&"http://www.w3.org/XML/1998/namespace"===r||"http://www.w3.org/2000/xmlns/"==r)return!1;for(var a=n.length;a--;){var s=n[a];if(s.prefix==i)return s.namespace!=r}return!0}function ee(e,t,n,i,r){if(i){if(!(e=i(e)))return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case a:r||(r=[]);r.length;var c=e.attributes,g=c.length,v=e.firstChild,y=e.tagName;n="http://www.w3.org/1999/xhtml"===e.namespaceURI||n,t.push("<",y);for(var _=0;_<g;_++){"xmlns"==(b=c.item(_)).prefix?r.push({prefix:b.localName,namespace:b.value}):"xmlns"==b.nodeName&&r.push({prefix:"",namespace:b.value})}for(_=0;_<g;_++){var b;if(Z(b=c.item(_),0,r)){var T=b.prefix||"",S=b.namespaceURI,w=T?" xmlns:"+T:" xmlns";t.push(w,'="',S,'"'),r.push({prefix:T,namespace:S})}ee(b,t,n,i,r)}if(Z(e,0,r)){T=e.prefix||"",S=e.namespaceURI,w=T?" xmlns:"+T:" xmlns";t.push(w,'="',S,'"'),r.push({prefix:T,namespace:S})}if(v||n&&!/^(?:meta|link|img|br|hr|input)$/i.test(y)){if(t.push(">"),n&&/^script$/i.test(y))for(;v;)v.data?t.push(v.data):ee(v,t,n,i,r),v=v.nextSibling;else for(;v;)ee(v,t,n,i,r),v=v.nextSibling;t.push("</",y,">")}else t.push("/>");return;case f:case m:for(v=e.firstChild;v;)ee(v,t,n,i,r),v=v.nextSibling;return;case s:return t.push(" ",e.name,'="',e.value.replace(/[<&"]/g,L),'"');case o:return t.push(e.data.replace(/[<&]/g,L));case u:return t.push("<![CDATA[",e.data,"]]>");case d:return t.push("\x3c!--",e.data,"--\x3e");case p:var E=e.publicId,k=e.systemId;if(t.push("<!DOCTYPE ",e.name),E)t.push(' PUBLIC "',E),k&&"."!=k&&t.push('" "',k),t.push('">');else if(k&&"."!=k)t.push(' SYSTEM "',k,'">');else{var C=e.internalSubset;C&&t.push(" [",C,"]"),t.push(">")}return;case h:return t.push("<?",e.target," ",e.data,"?>");case l:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function te(e,t,n){e[t]=n}S.prototype=Error.prototype,n(v,S),w.prototype={length:0,item:function(e){return this[e]||null},toString:function(e,t){for(var n=[],i=0;i<this.length;i++)ee(this[i],n,e,t);return n.join("")}},E.prototype.item=function(e){return k(this),this[e]},i(E,w),C.prototype={length:0,item:w.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var n=this[t];if(n.nodeName==e)return n}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new S(T);var n=this.getNamedItem(e.nodeName);return A(this._ownerElement,this,e,n),n},setNamedItemNS:function(e){var t,n=e.ownerElement;if(n&&n!=this._ownerElement)throw new S(T);return t=this.getNamedItemNS(e.namespaceURI,e.localName),A(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return I(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);return I(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){for(var n=this.length;n--;){var i=this[n];if(i.localName==t&&i.namespaceURI==e)return i}return null}},O.prototype={hasFeature:function(e,t){var n=this._features[e.toLowerCase()];return!(!n||t&&!(t in n))},createDocument:function(e,t,n){var i=new M;if(i.implementation=this,i.childNodes=new w,i.doctype=n,n&&i.appendChild(n),t){var r=i.createElementNS(e,t);i.appendChild(r)}return i},createDocumentType:function(e,t,n){var i=new z;return i.name=e,i.nodeName=e,i.publicId=t,i.systemId=n,i}},P.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return B(this,e,t)},replaceChild:function(e,t){this.insertBefore(e,t),t&&this.removeChild(t)},removeChild:function(e){return U(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return function e(t,n,i){var r=new n.constructor;for(var o in n){var u=n[o];"object"!=typeof u&&u!=r[o]&&(r[o]=u)}n.childNodes&&(r.childNodes=new w);switch(r.ownerDocument=t,r.nodeType){case a:var l=n.attributes,c=r.attributes=new C,h=l.length;c._ownerElement=r;for(var d=0;d<h;d++)r.setAttributeNode(e(t,l.item(d),!0));break;case s:i=!0}if(i)for(var f=n.firstChild;f;)r.appendChild(e(t,f,i)),f=f.nextSibling;return r}(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==o&&e.nodeType==o?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n)for(var i in n)if(n[i]==e)return i;t=t.nodeType==s?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&e in n)return n[e];t=t.nodeType==s?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},n(r,P),n(r,P.prototype),M.prototype={nodeName:"#document",nodeType:f,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==m){for(var n=e.firstChild;n;){var i=n.nextSibling;this.insertBefore(n,t),n=i}return e}return null==this.documentElement&&e.nodeType==a&&(this.documentElement=e),B(this,e,t),e.ownerDocument=this,e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),U(this,e)},importNode:function(e,t){return function e(t,n,i){var r;switch(n.nodeType){case a:(r=n.cloneNode(!1)).ownerDocument=t;case m:break;case s:i=!0}r||(r=n.cloneNode(!1));if(r.ownerDocument=t,r.parentNode=null,i)for(var o=n.firstChild;o;)r.appendChild(e(t,o,i)),o=o.nextSibling;return r}(this,e,t)},getElementById:function(e){var t=null;return D(this.documentElement,(function(n){if(n.nodeType==a&&n.getAttribute("id")==e)return t=n,!0})),t},createElement:function(e){var t=new F;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.childNodes=new w,(t.attributes=new C)._ownerElement=t,t},createDocumentFragment:function(){var e=new K;return e.ownerDocument=this,e.childNodes=new w,e},createTextNode:function(e){var t=new W;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new q;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new H;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new $;return n.ownerDocument=this,n.tagName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new j;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new X;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new F,i=t.split(":"),r=n.attributes=new C;return n.childNodes=new w,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,2==i.length?(n.prefix=i[0],n.localName=i[1]):n.localName=t,r._ownerElement=n,n},createAttributeNS:function(e,t){var n=new j,i=t.split(":");return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,2==i.length?(n.prefix=i[0],n.localName=i[1]):n.localName=t,n}},i(M,P),F.prototype={nodeType:a,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=""+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===m?this.insertBefore(e,null):function(e,t){var n=t.parentNode;if(n){var i=e.lastChild;n.removeChild(t);i=e.lastChild}return i=e.lastChild,t.parentNode=e,t.previousSibling=i,t.nextSibling=null,i?i.nextSibling=t:e.firstChild=t,e.lastChild=t,N(e.ownerDocument,e,t),t}(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||""},setAttributeNS:function(e,t,n){var i=this.ownerDocument.createAttributeNS(e,t);i.value=i.nodeValue=""+n,this.setAttributeNode(i)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new E(this,(function(t){var n=[];return D(t,(function(i){i===t||i.nodeType!=a||"*"!==e&&i.tagName!=e||n.push(i)})),n}))},getElementsByTagNameNS:function(e,t){return new E(this,(function(n){var i=[];return D(n,(function(r){r===n||r.nodeType!==a||"*"!==e&&r.namespaceURI!==e||"*"!==t&&r.localName!=t||i.push(r)})),i}))}},M.prototype.getElementsByTagName=F.prototype.getElementsByTagName,M.prototype.getElementsByTagNameNS=F.prototype.getElementsByTagNameNS,i(F,P),j.prototype.nodeType=s,i(j,P),V.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error(y[_])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,n){n=this.data.substring(0,e)+n+this.data.substring(e+t),this.nodeValue=this.data=n,this.length=n.length}},i(V,P),W.prototype={nodeName:"#text",nodeType:o,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var i=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(i,this.nextSibling),i}},i(W,V),q.prototype={nodeName:"#comment",nodeType:d},i(q,V),H.prototype={nodeName:"#cdata-section",nodeType:u},i(H,V),z.prototype.nodeType=p,i(z,P),G.prototype.nodeType=g,i(G,P),Y.prototype.nodeType=c,i(Y,P),X.prototype.nodeType=l,i(X,P),K.prototype.nodeName="#document-fragment",K.prototype.nodeType=m,i(K,P),$.prototype.nodeType=h,i($,P),Q.prototype.serializeToString=function(e,t,n){return J.call(e,t,n)},P.prototype.toString=J;try{if(Object.defineProperty){Object.defineProperty(E.prototype,"length",{get:function(){return k(this),this.$$length}}),Object.defineProperty(P.prototype,"textContent",{get:function(){return function e(t){switch(t.nodeType){case a:case m:var n=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&n.push(e(t)),t=t.nextSibling;return n.join("");default:return t.nodeValue}}(this)},set:function(e){switch(this.nodeType){case a:case m:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),te=function(e,t,n){e["$$"+t]=n}}}catch(e){}t.DOMImplementation=O,t.XMLSerializer=Q},1337:function(e,t,n){"use strict";e.exports={H264_STREAM_TYPE:27,ADTS_STREAM_TYPE:15,METADATA_STREAM_TYPE:21}},1338:function(e,t){var n,i,r,a,s,o,u;n=function(e){return 9e4*e},i=function(e,t){return e*t},r=function(e){return e/9e4},a=function(e,t){return e/t},s=function(e,t){return n(a(e,t))},o=function(e,t){return i(r(e),t)},u=function(e,t,n){return r(n?e:e-t)},e.exports={ONE_SECOND_IN_TS:9e4,secondsToVideoTs:n,secondsToAudioTs:i,videoTsToSeconds:r,audioTsToSeconds:a,audioTsToVideoTs:s,videoTsToAudioTs:o,metadataTsToSeconds:u}},1339:function(e,t){e.exports=function(e){var t="";return t+=String.fromCharCode(e[0]),t+=String.fromCharCode(e[1]),t+=String.fromCharCode(e[2]),t+=String.fromCharCode(e[3])}},146:function(e,t,n){var i=n(23),r=n(309);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,a){return i(n),r(a),t?e.call(n,a):n.__proto__=a,n}}():void 0)},147:function(e,t,n){var i=n(55);e.exports=function(e,t,n){for(var r in t)i(e,r,t[r],n);return e}},148:function(e,t,n){var i=n(63),r="["+n(202)+"]",a=RegExp("^"+r+r+"*"),s=RegExp(r+r+"*$"),o=function(e){return function(t){var n=String(i(t));return 1&e&&(n=n.replace(a,"")),2&e&&(n=n.replace(s,"")),n}};e.exports={start:o(1),end:o(2),trim:o(3)}},1514:function(e,t,n){(function(t){var n;n="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},e.exports=n}).call(this,n(163))},1515:function(e,t,n){(function(t){var i,r=void 0!==t?t:"undefined"!=typeof window?window:{},a=n(1260);"undefined"!=typeof document?i=document:(i=r["__GLOBAL_DOCUMENT_CACHE@4"])||(i=r["__GLOBAL_DOCUMENT_CACHE@4"]=a),e.exports=i}).call(this,n(163))},1516:function(e,t,n){var i=n(745).default,r=n(83);e.exports=function(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return r(e)},e.exports.__esModule=!0,e.exports.default=e.exports},1517:function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},1518:function(e,t){e.exports=function(e,t){var n,i=null;try{n=JSON.parse(e,t)}catch(e){i=e}return[i,n]}},1519:function(e,t,n){"use strict";var i=n(1164),r=n(70),a=n(1520);function s(e,t,n){var i=e;return a(t)?(n=t,"string"==typeof e&&(i={uri:e})):i=r({},t,{uri:e}),i.callback=n,i}function o(e,t,n){return u(t=s(e,t,n))}function u(e){if(void 0===e.callback)throw new Error("callback argument missing");var t=!1,n=function(n,i,r){t||(t=!0,e.callback(n,i,r))};function i(){var e=void 0;if(e=l.response?l.response:l.responseText||function(e){try{if("document"===e.responseType)return e.responseXML;var t=e.responseXML&&"parsererror"===e.responseXML.documentElement.nodeName;if(""===e.responseType&&!t)return e.responseXML}catch(e){}return null}(l),g)try{e=JSON.parse(e)}catch(e){}return e}function r(e){return clearTimeout(c),e instanceof Error||(e=new Error(""+(e||"Unknown XMLHttpRequest Error"))),e.statusCode=0,n(e,v)}function a(){if(!u){var t;clearTimeout(c),t=e.useXDR&&void 0===l.status?200:1223===l.status?204:l.status;var r=v,a=null;return 0!==t?(r={body:i(),statusCode:t,method:d,headers:{},url:h,rawRequest:l},l.getAllResponseHeaders&&(r.headers=function(e){var t={};return e?(e.trim().split("\n").forEach((function(e){var n=e.indexOf(":"),i=e.slice(0,n).trim().toLowerCase(),r=e.slice(n+1).trim();void 0===t[i]?t[i]=r:Array.isArray(t[i])?t[i].push(r):t[i]=[t[i],r]})),t):t}(l.getAllResponseHeaders()))):a=new Error("Internal XMLHttpRequest Error"),n(a,r,r.body)}}var s,u,l=e.xhr||null;l||(l=e.cors||e.useXDR?new o.XDomainRequest:new o.XMLHttpRequest);var c,h=l.url=e.uri||e.url,d=l.method=e.method||"GET",f=e.body||e.data,p=l.headers=e.headers||{},m=!!e.sync,g=!1,v={body:void 0,headers:{},statusCode:0,method:d,url:h,rawRequest:l};if("json"in e&&!1!==e.json&&(g=!0,p.accept||p.Accept||(p.Accept="application/json"),"GET"!==d&&"HEAD"!==d&&(p["content-type"]||p["Content-Type"]||(p["Content-Type"]="application/json"),f=JSON.stringify(!0===e.json?f:e.json))),l.onreadystatechange=function(){4===l.readyState&&setTimeout(a,0)},l.onload=a,l.onerror=r,l.onprogress=function(){},l.onabort=function(){u=!0},l.ontimeout=r,l.open(d,h,!m,e.username,e.password),m||(l.withCredentials=!!e.withCredentials),!m&&e.timeout>0&&(c=setTimeout((function(){if(!u){u=!0,l.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",r(e)}}),e.timeout)),l.setRequestHeader)for(s in p)p.hasOwnProperty(s)&&l.setRequestHeader(s,p[s]);else if(e.headers&&!function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}(e.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(l.responseType=e.responseType),"beforeSend"in e&&"function"==typeof e.beforeSend&&e.beforeSend(l),l.send(f||null),l}e.exports=o,e.exports.default=o,o.XMLHttpRequest=i.XMLHttpRequest||function(){},o.XDomainRequest="withCredentials"in new o.XMLHttpRequest?o.XMLHttpRequest:i.XDomainRequest,function(e,t){for(var n=0;n<e.length;n++)t(e[n])}(["get","put","post","patch","head","delete"],(function(e){o["delete"===e?"del":e]=function(t,n,i){return(n=s(t,n,i)).method=e.toUpperCase(),u(n)}}))},1520:function(e,t){e.exports=function(e){if(!e)return!1;var t=n.call(e);return"[object Function]"===t||"function"==typeof e&&"[object RegExp]"!==t||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)};var n=Object.prototype.toString},1521:function(e,t,n){var i=n(1164),r=e.exports={WebVTT:n(1522),VTTCue:n(1523),VTTRegion:n(1524)};i.vttjs=r,i.WebVTT=r.WebVTT;var a=r.VTTCue,s=r.VTTRegion,o=i.VTTCue,u=i.VTTRegion;r.shim=function(){i.VTTCue=a,i.VTTRegion=s},r.restore=function(){i.VTTCue=o,i.VTTRegion=u},i.VTTCue||r.shim()},1522:function(e,t,n){var i=n(1333),r=Object.create||function(){function e(){}return function(t){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return e.prototype=t,new e}}();function a(e,t){this.name="ParsingError",this.code=e.code,this.message=t||e.message}function s(e){function t(e,t,n,i){return 3600*(0|e)+60*(0|t)+(0|n)+(0|i)/1e3}var n=e.match(/^(\d+):(\d{1,2})(:\d{1,2})?\.(\d{3})/);return n?n[3]?t(n[1],n[2],n[3].replace(":",""),n[4]):n[1]>59?t(n[1],n[2],0,n[4]):t(0,n[1],n[2],n[4]):null}function o(){this.values=r(null)}function u(e,t,n,i){var r=i?e.split(i):[e];for(var a in r)if("string"==typeof r[a]){var s=r[a].split(n);if(2===s.length)t(s[0],s[1])}}function l(e,t,n){var i=e;function r(){var t=s(e);if(null===t)throw new a(a.Errors.BadTimeStamp,"Malformed timestamp: "+i);return e=e.replace(/^[^\sa-zA-Z-]+/,""),t}function l(){e=e.replace(/^\s+/,"")}if(l(),t.startTime=r(),l(),"--\x3e"!==e.substr(0,3))throw new a(a.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+i);e=e.substr(3),l(),t.endTime=r(),l(),function(e,t){var i=new o;u(e,(function(e,t){switch(e){case"region":for(var r=n.length-1;r>=0;r--)if(n[r].id===t){i.set(e,n[r].region);break}break;case"vertical":i.alt(e,t,["rl","lr"]);break;case"line":var a=t.split(","),s=a[0];i.integer(e,s),i.percent(e,s)&&i.set("snapToLines",!1),i.alt(e,s,["auto"]),2===a.length&&i.alt("lineAlign",a[1],["start","center","end"]);break;case"position":a=t.split(","),i.percent(e,a[0]),2===a.length&&i.alt("positionAlign",a[1],["start","center","end"]);break;case"size":i.percent(e,t);break;case"align":i.alt(e,t,["start","center","end","left","right"])}}),/:/,/\s/),t.region=i.get("region",null),t.vertical=i.get("vertical","");try{t.line=i.get("line","auto")}catch(e){}t.lineAlign=i.get("lineAlign","start"),t.snapToLines=i.get("snapToLines",!0),t.size=i.get("size",100);try{t.align=i.get("align","center")}catch(e){t.align=i.get("align","middle")}try{t.position=i.get("position","auto")}catch(e){t.position=i.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},t.align)}t.positionAlign=i.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},t.align)}(e,t)}a.prototype=r(Error.prototype),a.prototype.constructor=a,a.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},o.prototype={set:function(e,t){this.get(e)||""===t||(this.values[e]=t)},get:function(e,t,n){return n?this.has(e)?this.values[e]:t[n]:this.has(e)?this.values[e]:t},has:function(e){return e in this.values},alt:function(e,t,n){for(var i=0;i<n.length;++i)if(t===n[i]){this.set(e,t);break}},integer:function(e,t){/^-?\d+$/.test(t)&&this.set(e,parseInt(t,10))},percent:function(e,t){return!!(t.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(t=parseFloat(t))>=0&&t<=100)&&(this.set(e,t),!0)}};var c=i.createElement&&i.createElement("textarea"),h={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},d={white:"rgba(255,255,255,1)",lime:"rgba(0,255,0,1)",cyan:"rgba(0,255,255,1)",red:"rgba(255,0,0,1)",yellow:"rgba(255,255,0,1)",magenta:"rgba(255,0,255,1)",blue:"rgba(0,0,255,1)",black:"rgba(0,0,0,1)"},f={v:"title",lang:"lang"},p={rt:"ruby"};function m(e,t){function n(){if(!t)return null;var e,n=t.match(/^([^<]*)(<[^>]*>?)?/);return e=n[1]?n[1]:n[2],t=t.substr(e.length),e}function i(e,t){return!p[t.localName]||p[t.localName]===e.localName}function r(t,n){var i=h[t];if(!i)return null;var r=e.document.createElement(i),a=f[t];return a&&n&&(r[a]=n.trim()),r}for(var a,o,u=e.document.createElement("div"),l=u,m=[];null!==(a=n());)if("<"!==a[0])l.appendChild(e.document.createTextNode((o=a,c.innerHTML=o,o=c.textContent,c.textContent="",o)));else{if("/"===a[1]){m.length&&m[m.length-1]===a.substr(2).replace(">","")&&(m.pop(),l=l.parentNode);continue}var g,v=s(a.substr(1,a.length-2));if(v){g=e.document.createProcessingInstruction("timestamp",v),l.appendChild(g);continue}var y=a.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!y)continue;if(!(g=r(y[1],y[3])))continue;if(!i(l,g))continue;if(y[2]){var _=y[2].split(".");_.forEach((function(e){var t=/^bg_/.test(e),n=t?e.slice(3):e;if(d.hasOwnProperty(n)){var i=t?"background-color":"color",r=d[n];g.style[i]=r}})),g.className=_.join(" ")}m.push(y[1]),l.appendChild(g),l=g}return u}var g=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function v(e){for(var t=0;t<g.length;t++){var n=g[t];if(e>=n[0]&&e<=n[1])return!0}return!1}function y(e){var t=[],n="";if(!e||!e.childNodes)return"ltr";function i(e,t){for(var n=t.childNodes.length-1;n>=0;n--)e.push(t.childNodes[n])}function r(e){if(!e||!e.length)return null;var t=e.pop(),n=t.textContent||t.innerText;if(n){var a=n.match(/^.*(\n|\r)/);return a?(e.length=0,a[0]):n}return"ruby"===t.tagName?r(e):t.childNodes?(i(e,t),r(e)):void 0}for(i(t,e);n=r(t);)for(var a=0;a<n.length;a++)if(v(n.charCodeAt(a)))return"rtl";return"ltr"}function _(){}function b(e,t,n){_.call(this),this.cue=t,this.cueDiv=m(e,t.text);var i={color:"rgba(255, 255, 255, 1)",backgroundColor:"rgba(0, 0, 0, 0.8)",position:"relative",left:0,right:0,top:0,bottom:0,display:"inline",writingMode:""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext"};this.applyStyles(i,this.cueDiv),this.div=e.document.createElement("div"),i={direction:y(this.cueDiv),writingMode:""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext",textAlign:"middle"===t.align?"center":t.align,font:n.font,whiteSpace:"pre-line",position:"absolute"},this.applyStyles(i),this.div.appendChild(this.cueDiv);var r=0;switch(t.positionAlign){case"start":r=t.position;break;case"center":r=t.position-t.size/2;break;case"end":r=t.position-t.size}""===t.vertical?this.applyStyles({left:this.formatStyle(r,"%"),width:this.formatStyle(t.size,"%")}):this.applyStyles({top:this.formatStyle(r,"%"),height:this.formatStyle(t.size,"%")}),this.move=function(e){this.applyStyles({top:this.formatStyle(e.top,"px"),bottom:this.formatStyle(e.bottom,"px"),left:this.formatStyle(e.left,"px"),right:this.formatStyle(e.right,"px"),height:this.formatStyle(e.height,"px"),width:this.formatStyle(e.width,"px")})}}function T(e){var t,n,i,r;if(e.div){n=e.div.offsetHeight,i=e.div.offsetWidth,r=e.div.offsetTop;var a=(a=e.div.childNodes)&&(a=a[0])&&a.getClientRects&&a.getClientRects();e=e.div.getBoundingClientRect(),t=a?Math.max(a[0]&&a[0].height||0,e.height/a.length):0}this.left=e.left,this.right=e.right,this.top=e.top||r,this.height=e.height||n,this.bottom=e.bottom||r+(e.height||n),this.width=e.width||i,this.lineHeight=void 0!==t?t:e.lineHeight}function S(e,t,n,i){var r=new T(t),a=t.cue,s=function(e){if("number"==typeof e.line&&(e.snapToLines||e.line>=0&&e.line<=100))return e.line;if(!e.track||!e.track.textTrackList||!e.track.textTrackList.mediaElement)return-1;for(var t=e.track,n=t.textTrackList,i=0,r=0;r<n.length&&n[r]!==t;r++)"showing"===n[r].mode&&i++;return-1*++i}(a),o=[];if(a.snapToLines){var u;switch(a.vertical){case"":o=["+y","-y"],u="height";break;case"rl":o=["+x","-x"],u="width";break;case"lr":o=["-x","+x"],u="width"}var l=r.lineHeight,c=l*Math.round(s),h=n[u]+l,d=o[0];Math.abs(c)>h&&(c=c<0?-1:1,c*=Math.ceil(h/l)*l),s<0&&(c+=""===a.vertical?n.height:n.width,o=o.reverse()),r.move(d,c)}else{var f=r.lineHeight/n.height*100;switch(a.lineAlign){case"center":s-=f/2;break;case"end":s-=f}switch(a.vertical){case"":t.applyStyles({top:t.formatStyle(s,"%")});break;case"rl":t.applyStyles({left:t.formatStyle(s,"%")});break;case"lr":t.applyStyles({right:t.formatStyle(s,"%")})}o=["+y","-x","+x","-y"],r=new T(t)}var p=function(e,t){for(var r,a=new T(e),s=1,o=0;o<t.length;o++){for(;e.overlapsOppositeAxis(n,t[o])||e.within(n)&&e.overlapsAny(i);)e.move(t[o]);if(e.within(n))return e;var u=e.intersectPercentage(n);s>u&&(r=new T(e),s=u),e=new T(a)}return r||a}(r,o);t.move(p.toCSSCompatValues(n))}function w(){}_.prototype.applyStyles=function(e,t){for(var n in t=t||this.div,e)e.hasOwnProperty(n)&&(t.style[n]=e[n])},_.prototype.formatStyle=function(e,t){return 0===e?0:e+t},b.prototype=r(_.prototype),b.prototype.constructor=b,T.prototype.move=function(e,t){switch(t=void 0!==t?t:this.lineHeight,e){case"+x":this.left+=t,this.right+=t;break;case"-x":this.left-=t,this.right-=t;break;case"+y":this.top+=t,this.bottom+=t;break;case"-y":this.top-=t,this.bottom-=t}},T.prototype.overlaps=function(e){return this.left<e.right&&this.right>e.left&&this.top<e.bottom&&this.bottom>e.top},T.prototype.overlapsAny=function(e){for(var t=0;t<e.length;t++)if(this.overlaps(e[t]))return!0;return!1},T.prototype.within=function(e){return this.top>=e.top&&this.bottom<=e.bottom&&this.left>=e.left&&this.right<=e.right},T.prototype.overlapsOppositeAxis=function(e,t){switch(t){case"+x":return this.left<e.left;case"-x":return this.right>e.right;case"+y":return this.top<e.top;case"-y":return this.bottom>e.bottom}},T.prototype.intersectPercentage=function(e){return Math.max(0,Math.min(this.right,e.right)-Math.max(this.left,e.left))*Math.max(0,Math.min(this.bottom,e.bottom)-Math.max(this.top,e.top))/(this.height*this.width)},T.prototype.toCSSCompatValues=function(e){return{top:this.top-e.top,bottom:e.bottom-this.bottom,left:this.left-e.left,right:e.right-this.right,height:this.height,width:this.width}},T.getSimpleBoxPosition=function(e){var t=e.div?e.div.offsetHeight:e.tagName?e.offsetHeight:0,n=e.div?e.div.offsetWidth:e.tagName?e.offsetWidth:0,i=e.div?e.div.offsetTop:e.tagName?e.offsetTop:0;return{left:(e=e.div?e.div.getBoundingClientRect():e.tagName?e.getBoundingClientRect():e).left,right:e.right,top:e.top||i,height:e.height||t,bottom:e.bottom||i+(e.height||t),width:e.width||n}},w.StringDecoder=function(){return{decode:function(e){if(!e)return"";if("string"!=typeof e)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}},w.convertCueToDOMTree=function(e,t){return e&&t?m(e,t):null};w.processCues=function(e,t,n){if(!e||!t||!n)return null;for(;n.firstChild;)n.removeChild(n.firstChild);var i=e.document.createElement("div");if(i.style.position="absolute",i.style.left="0",i.style.right="0",i.style.top="0",i.style.bottom="0",i.style.margin="1.5%",n.appendChild(i),function(e){for(var t=0;t<e.length;t++)if(e[t].hasBeenReset||!e[t].displayState)return!0;return!1}(t)){var r=[],a=T.getSimpleBoxPosition(i),s={font:Math.round(.05*a.height*100)/100+"px sans-serif"};!function(){for(var n,o,u=0;u<t.length;u++)o=t[u],n=new b(e,o,s),i.appendChild(n.div),S(0,n,a,r),o.displayState=n.div,r.push(T.getSimpleBoxPosition(n))}()}else for(var o=0;o<t.length;o++)i.appendChild(t[o].displayState)},w.Parser=function(e,t,n){n||(n=t,t={}),t||(t={}),this.window=e,this.vttjs=t,this.state="INITIAL",this.buffer="",this.decoder=n||new TextDecoder("utf8"),this.regionList=[]},w.Parser.prototype={reportOrThrowError:function(e){if(!(e instanceof a))throw e;this.onparsingerror&&this.onparsingerror(e)},parse:function(e){var t=this;function n(){for(var e=t.buffer,n=0;n<e.length&&"\r"!==e[n]&&"\n"!==e[n];)++n;var i=e.substr(0,n);return"\r"===e[n]&&++n,"\n"===e[n]&&++n,t.buffer=e.substr(n),i}function i(e){e.match(/X-TIMESTAMP-MAP/)?u(e,(function(e,n){switch(e){case"X-TIMESTAMP-MAP":!function(e){var n=new o;u(e,(function(e,t){switch(e){case"MPEGT":n.integer(e+"S",t);break;case"LOCA":n.set(e+"L",s(t))}}),/[^\d]:/,/,/),t.ontimestampmap&&t.ontimestampmap({MPEGTS:n.get("MPEGTS"),LOCAL:n.get("LOCAL")})}(n)}}),/=/):u(e,(function(e,n){switch(e){case"Region":!function(e){var n=new o;if(u(e,(function(e,t){switch(e){case"id":n.set(e,t);break;case"width":n.percent(e,t);break;case"lines":n.integer(e,t);break;case"regionanchor":case"viewportanchor":var i=t.split(",");if(2!==i.length)break;var r=new o;if(r.percent("x",i[0]),r.percent("y",i[1]),!r.has("x")||!r.has("y"))break;n.set(e+"X",r.get("x")),n.set(e+"Y",r.get("y"));break;case"scroll":n.alt(e,t,["up"])}}),/=/,/\s/),n.has("id")){var i=new(t.vttjs.VTTRegion||t.window.VTTRegion);i.width=n.get("width",100),i.lines=n.get("lines",3),i.regionAnchorX=n.get("regionanchorX",0),i.regionAnchorY=n.get("regionanchorY",100),i.viewportAnchorX=n.get("viewportanchorX",0),i.viewportAnchorY=n.get("viewportanchorY",100),i.scroll=n.get("scroll",""),t.onregion&&t.onregion(i),t.regionList.push({id:n.get("id"),region:i})}}(n)}}),/:/)}e&&(t.buffer+=t.decoder.decode(e,{stream:!0}));try{var r;if("INITIAL"===t.state){if(!/\r\n|\n/.test(t.buffer))return this;var c=(r=n()).match(/^WEBVTT([ \t].*)?$/);if(!c||!c[0])throw new a(a.Errors.BadSignature);t.state="HEADER"}for(var h=!1;t.buffer;){if(!/\r\n|\n/.test(t.buffer))return this;switch(h?h=!1:r=n(),t.state){case"HEADER":/:/.test(r)?i(r):r||(t.state="ID");continue;case"NOTE":r||(t.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(r)){t.state="NOTE";break}if(!r)continue;t.cue=new(t.vttjs.VTTCue||t.window.VTTCue)(0,0,"");try{t.cue.align="center"}catch(e){t.cue.align="middle"}if(t.state="CUE",-1===r.indexOf("--\x3e")){t.cue.id=r;continue}case"CUE":try{l(r,t.cue,t.regionList)}catch(e){t.reportOrThrowError(e),t.cue=null,t.state="BADCUE";continue}t.state="CUETEXT";continue;case"CUETEXT":var d=-1!==r.indexOf("--\x3e");if(!r||d&&(h=!0)){t.oncue&&t.oncue(t.cue),t.cue=null,t.state="ID";continue}t.cue.text&&(t.cue.text+="\n"),t.cue.text+=r.replace(/\u2028/g,"\n").replace(/u2029/g,"\n");continue;case"BADCUE":r||(t.state="ID");continue}}}catch(e){t.reportOrThrowError(e),"CUETEXT"===t.state&&t.cue&&t.oncue&&t.oncue(t.cue),t.cue=null,t.state="INITIAL"===t.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){try{if(this.buffer+=this.decoder.decode(),(this.cue||"HEADER"===this.state)&&(this.buffer+="\n\n",this.parse()),"INITIAL"===this.state)throw new a(a.Errors.BadSignature)}catch(e){this.reportOrThrowError(e)}return this.onflush&&this.onflush(),this}},e.exports=w},1523:function(e,t){var n={"":1,lr:1,rl:1},i={start:1,center:1,end:1,left:1,right:1,auto:1,"line-left":1,"line-right":1};function r(e){return"string"==typeof e&&(!!i[e.toLowerCase()]&&e.toLowerCase())}function a(e,t,i){this.hasBeenReset=!1;var a="",s=!1,o=e,u=t,l=i,c=null,h="",d=!0,f="auto",p="start",m="auto",g="auto",v=100,y="center";Object.defineProperties(this,{id:{enumerable:!0,get:function(){return a},set:function(e){a=""+e}},pauseOnExit:{enumerable:!0,get:function(){return s},set:function(e){s=!!e}},startTime:{enumerable:!0,get:function(){return o},set:function(e){if("number"!=typeof e)throw new TypeError("Start time must be set to a number.");o=e,this.hasBeenReset=!0}},endTime:{enumerable:!0,get:function(){return u},set:function(e){if("number"!=typeof e)throw new TypeError("End time must be set to a number.");u=e,this.hasBeenReset=!0}},text:{enumerable:!0,get:function(){return l},set:function(e){l=""+e,this.hasBeenReset=!0}},region:{enumerable:!0,get:function(){return c},set:function(e){c=e,this.hasBeenReset=!0}},vertical:{enumerable:!0,get:function(){return h},set:function(e){var t=function(e){return"string"==typeof e&&(!!n[e.toLowerCase()]&&e.toLowerCase())}(e);if(!1===t)throw new SyntaxError("Vertical: an invalid or illegal direction string was specified.");h=t,this.hasBeenReset=!0}},snapToLines:{enumerable:!0,get:function(){return d},set:function(e){d=!!e,this.hasBeenReset=!0}},line:{enumerable:!0,get:function(){return f},set:function(e){if("number"!=typeof e&&"auto"!==e)throw new SyntaxError("Line: an invalid number or illegal string was specified.");f=e,this.hasBeenReset=!0}},lineAlign:{enumerable:!0,get:function(){return p},set:function(e){var t=r(e);t?(p=t,this.hasBeenReset=!0):console.warn("lineAlign: an invalid or illegal string was specified.")}},position:{enumerable:!0,get:function(){return m},set:function(e){if(e<0||e>100)throw new Error("Position must be between 0 and 100.");m=e,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return g},set:function(e){var t=r(e);t?(g=t,this.hasBeenReset=!0):console.warn("positionAlign: an invalid or illegal string was specified.")}},size:{enumerable:!0,get:function(){return v},set:function(e){if(e<0||e>100)throw new Error("Size must be between 0 and 100.");v=e,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return y},set:function(e){var t=r(e);if(!t)throw new SyntaxError("align: an invalid or illegal alignment string was specified.");y=t,this.hasBeenReset=!0}}}),this.displayState=void 0}a.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},e.exports=a},1524:function(e,t){var n={"":!0,up:!0};function i(e){return"number"==typeof e&&e>=0&&e<=100}e.exports=function(){var e=100,t=3,r=0,a=100,s=0,o=100,u="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return e},set:function(t){if(!i(t))throw new Error("Width must be between 0 and 100.");e=t}},lines:{enumerable:!0,get:function(){return t},set:function(e){if("number"!=typeof e)throw new TypeError("Lines must be set to a number.");t=e}},regionAnchorY:{enumerable:!0,get:function(){return a},set:function(e){if(!i(e))throw new Error("RegionAnchorX must be between 0 and 100.");a=e}},regionAnchorX:{enumerable:!0,get:function(){return r},set:function(e){if(!i(e))throw new Error("RegionAnchorY must be between 0 and 100.");r=e}},viewportAnchorY:{enumerable:!0,get:function(){return o},set:function(e){if(!i(e))throw new Error("ViewportAnchorY must be between 0 and 100.");o=e}},viewportAnchorX:{enumerable:!0,get:function(){return s},set:function(e){if(!i(e))throw new Error("ViewportAnchorX must be between 0 and 100.");s=e}},scroll:{enumerable:!0,get:function(){return u},set:function(e){var t=function(e){return"string"==typeof e&&(!!n[e.toLowerCase()]&&e.toLowerCase())}(e);!1===t?console.warn("Scroll: an invalid or illegal string was specified."):u=t}}})}},1525:function(e,t,n){var i=n(728),r=n(1526);function a(t,n,s){return r()?(e.exports=a=Reflect.construct.bind(),e.exports.__esModule=!0,e.exports.default=e.exports):(e.exports=a=function(e,t,n){var r=[null];r.push.apply(r,t);var a=new(Function.bind.apply(e,r));return n&&i(a,n.prototype),a},e.exports.__esModule=!0,e.exports.default=e.exports),a.apply(null,arguments)}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},1526:function(e,t){e.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}},e.exports.__esModule=!0,e.exports.default=e.exports},1527:function(e,t,n){var i=n(728);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},1528:function(e,t,n){var i,r,a,s,o;i=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,r=/^(?=([^\/?#]*))\1([^]*)$/,a=/(?:\/|^)\.(?=\/)/g,s=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,o={buildAbsoluteURL:function(e,t,n){if(n=n||{},e=e.trim(),!(t=t.trim())){if(!n.alwaysNormalize)return e;var i=o.parseURL(e);if(!i)throw new Error("Error trying to parse base URL.");return i.path=o.normalizePath(i.path),o.buildURLFromParts(i)}var a=o.parseURL(t);if(!a)throw new Error("Error trying to parse relative URL.");if(a.scheme)return n.alwaysNormalize?(a.path=o.normalizePath(a.path),o.buildURLFromParts(a)):t;var s=o.parseURL(e);if(!s)throw new Error("Error trying to parse base URL.");if(!s.netLoc&&s.path&&"/"!==s.path[0]){var u=r.exec(s.path);s.netLoc=u[1],s.path=u[2]}s.netLoc&&!s.path&&(s.path="/");var l={scheme:s.scheme,netLoc:a.netLoc,path:null,params:a.params,query:a.query,fragment:a.fragment};if(!a.netLoc&&(l.netLoc=s.netLoc,"/"!==a.path[0]))if(a.path){var c=s.path,h=c.substring(0,c.lastIndexOf("/")+1)+a.path;l.path=o.normalizePath(h)}else l.path=s.path,a.params||(l.params=s.params,a.query||(l.query=s.query));return null===l.path&&(l.path=n.alwaysNormalize?o.normalizePath(a.path):a.path),o.buildURLFromParts(l)},parseURL:function(e){var t=i.exec(e);return t?{scheme:t[1]||"",netLoc:t[2]||"",path:t[3]||"",params:t[4]||"",query:t[5]||"",fragment:t[6]||""}:null},normalizePath:function(e){for(e=e.split("").reverse().join("").replace(a,"");e.length!==(e=e.replace(s,"")).length;);return e.split("").reverse().join("")},buildURLFromParts:function(e){return e.scheme+e.netLoc+e.path+e.params+e.query+e.fragment}},e.exports=o},1529:function(e,t,n){"use strict";
|
|
75
75
|
/*! @name @videojs/vhs-utils @version 2.3.0 @license MIT */var i=function(){function e(){this.listeners={}}var t=e.prototype;return t.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},t.off=function(e,t){if(!this.listeners[e])return!1;var n=this.listeners[e].indexOf(t);return this.listeners[e]=this.listeners[e].slice(0),this.listeners[e].splice(n,1),n>-1},t.trigger=function(e){var t=this.listeners[e];if(t)if(2===arguments.length)for(var n=t.length,i=0;i<n;++i)t[i].call(this,arguments[1]);else for(var r=Array.prototype.slice.call(arguments,1),a=t.length,s=0;s<a;++s)t[s].apply(this,r)},t.dispose=function(){this.listeners={}},t.pipe=function(e){this.on("data",(function(t){e.push(t)}))},e}();e.exports=i},1530:function(e,t,n){"use strict";(function(e){
|
|
76
76
|
/*!
|
|
@@ -98,4 +98,4 @@ t.read=function(e,t,n,i,r){var a,s,o=8*r-i-1,u=(1<<o)-1,l=u>>1,c=-7,h=n?r-1:0,d=
|
|
|
98
98
|
object-assign
|
|
99
99
|
(c) Sindre Sorhus
|
|
100
100
|
@license MIT
|
|
101
|
-
*/var i=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function s(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,o,u=s(e),l=1;l<arguments.length;l++){for(var c in n=Object(arguments[l]))r.call(n,c)&&(u[c]=n[c]);if(i){o=i(n);for(var h=0;h<o.length;h++)a.call(n,o[h])&&(u[o[h]]=n[o[h]])}}return u}},164:function(e,t){e.exports={}},165:function(e,t,n){var i=n(12),r=n(90),a="".split;e.exports=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==r(e)?a.call(e,""):Object(e)}:Object},166:function(e,t,n){var i=n(118),r=n(730);(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.4.0",mode:i?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},167:function(e,t){e.exports={}},168:function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+i).toString(36)}},169:function(e,t,n){var i=n(12),r=/#|\.prototype\./,a=function(e,t){var n=o[s(e)];return n==l||n!=u&&("function"==typeof t?i(t):!!t)},s=a.normalize=function(e){return String(e).replace(r,".").toLowerCase()},o=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},170:function(e,t,n){var i=n(296),r=n(244);e.exports=Object.keys||function(e){return i(e,r)}},171:function(e,t,n){var i=n(90),r=n(28)("toStringTag"),a="Arguments"==i(function(){return arguments}());e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),r))?n:a?i(t):"Object"==(s=i(t))&&"function"==typeof t.callee?"Arguments":s}},172:function(e,t,n){var i=n(23),r=n(253),a=n(30),s=n(119),o=n(177),u=n(307),l=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,c,h){var d,f,p,m,g,v,y,_=s(t,n,c?2:1);if(h)d=e;else{if("function"!=typeof(f=o(e)))throw TypeError("Target is not iterable");if(r(f)){for(p=0,m=a(e.length);m>p;p++)if((g=c?_(i(y=e[p])[0],y[1]):_(e[p]))&&g instanceof l)return g;return new l(!1)}d=f.call(e)}for(v=d.next;!(y=v.call(d)).done;)if("object"==typeof(g=u(d,_,y.value,c))&&g&&g instanceof l)return g;return new l(!1)}).stop=function(e){return new l(!0,e)}},173:function(e,t,n){var i=n(71),r=n(30),a=n(121),s=function(e){return function(t,n,s){var o,u=i(t),l=r(u.length),c=a(s,l);if(e&&n!=n){for(;l>c;)if((o=u[c++])!=o)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},174:function(e,t,n){var i=n(22),r=n(133),a=n(28)("species");e.exports=function(e,t){var n;return r(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!r(n.prototype)?i(n)&&null===(n=n[a])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},175:function(e,t,n){var i=n(12),r=n(28),a=n(252),s=r("species");e.exports=function(e){return a>=51||!i((function(){var t=[];return(t.constructor={})[s]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},176:function(e,t,n){var i=n(91);e.exports=i("navigator","userAgent")||""},177:function(e,t,n){var i=n(171),r=n(164),a=n(28)("iterator");e.exports=function(e){if(null!=e)return e[a]||e["@@iterator"]||r[i(e)]}},178:function(e,t,n){var i=n(12);e.exports=!i((function(){return Object.isExtensible(Object.preventExtensions({}))}))},19:function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n(163))},198:function(e,t,n){var i=n(166),r=n(168),a=i("keys");e.exports=function(e){return a[e]||(a[e]=r(e))}},199:function(e,t,n){"use strict";var i,r,a=n(210),s=RegExp.prototype.exec,o=String.prototype.replace,u=s,l=(i=/a/,r=/b*/g,s.call(i,"a"),s.call(r,"a"),0!==i.lastIndex||0!==r.lastIndex),c=void 0!==/()??/.exec("")[1];(l||c)&&(u=function(e){var t,n,i,r,u=this;return c&&(n=new RegExp("^"+u.source+"$(?!\\s)",a.call(u))),l&&(t=u.lastIndex),i=s.call(u,e),l&&i&&(u.lastIndex=u.global?i.index+i[0].length:t),c&&i&&i.length>1&&o.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i}),e.exports=u},2:function(e,t,n){var i=n(19),r=n(64).f,a=n(57),s=n(55),o=n(243),u=n(303),l=n(169);e.exports=function(e,t){var n,c,h,d,f,p=e.target,m=e.global,g=e.stat;if(n=m?i:g?i[p]||o(p,{}):(i[p]||{}).prototype)for(c in t){if(d=t[c],h=e.noTargetGet?(f=r(n,c))&&f.value:n[c],!l(m?c:p+(g?".":"#")+c,e.forced)&&void 0!==h){if(typeof d==typeof h)continue;u(d,h)}(e.sham||h&&h.sham)&&a(d,"sham",!0),s(n,c,d,e)}}},200:function(e,t,n){"use strict";var i={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!i.call({1:2},1);t.f=a?function(e){var t=r(this,e);return!!t&&t.enumerable}:i},201:function(e,t,n){"use strict";var i=n(71),r=n(122),a=n(164),s=n(80),o=n(247),u=s.set,l=s.getterFor("Array Iterator");e.exports=o(Array,"Array",(function(e,t){u(this,{type:"Array Iterator",target:i(e),index:0,kind:t})}),(function(){var e=l(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}}),"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},202:function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},203:function(e,t,n){var i=n(82),r=n(63),a=function(e){return function(t,n){var a,s,o=String(r(t)),u=i(n),l=o.length;return u<0||u>=l?e?"":void 0:(a=o.charCodeAt(u))<55296||a>56319||u+1===l||(s=o.charCodeAt(u+1))<56320||s>57343?e?o.charAt(u):a:e?o.slice(u,u+2):s-56320+(a-55296<<10)+65536}};e.exports={codeAt:a(!1),charAt:a(!0)}},204:function(e,t,n){"use strict";var i=n(57),r=n(55),a=n(12),s=n(28),o=n(199),u=s("species"),l=!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),c=!a((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,h){var d=s(e),f=!a((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),p=f&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return t=!0,null},n[d](""),!t}));if(!f||!p||"replace"===e&&!l||"split"===e&&!c){var m=/./[d],g=n(d,""[e],(function(e,t,n,i,r){return t.exec===o?f&&!r?{done:!0,value:m.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}})),v=g[0],y=g[1];r(String.prototype,e,v),r(RegExp.prototype,d,2==t?function(e,t){return y.call(e,this,t)}:function(e){return y.call(e,this)}),h&&i(RegExp.prototype[d],"sham",!0)}}},205:function(e,t,n){var i=n(90),r=n(199);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var a=n.call(e,t);if("object"!=typeof a)throw TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==i(e))throw TypeError("RegExp#exec called on incompatible receiver");return r.call(e,t)}},206:function(e,t,n){var i=n(28)("iterator"),r=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){r=!0}};s[i]=function(){return this},Array.from(s,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var a={};a[i]=function(){return{next:function(){return{done:n=!0}}}},e(a)}catch(e){}return n}},207:function(e,t,n){var i=n(84),r=n(34),a=n(165),s=n(30),o=function(e){return function(t,n,o,u){i(n);var l=r(t),c=a(l),h=s(l.length),d=e?h-1:0,f=e?-1:1;if(o<2)for(;;){if(d in c){u=c[d],d+=f;break}if(d+=f,e?d<0:h<=d)throw TypeError("Reduce of empty array with no initial value")}for(;e?d>=0:h>d;d+=f)d in c&&(u=n(u,c[d],d,l));return u}};e.exports={left:o(!1),right:o(!0)}},208:function(e,t,n){"use strict";var i=n(2),r=n(19),a=n(169),s=n(55),o=n(131),u=n(172),l=n(120),c=n(22),h=n(12),d=n(206),f=n(101),p=n(209);e.exports=function(e,t,n,m,g){var v=r[e],y=v&&v.prototype,_=v,b=m?"set":"add",T={},S=function(e){var t=y[e];s(y,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(g&&!c(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!c(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!c(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(a(e,"function"!=typeof v||!(g||y.forEach&&!h((function(){(new v).entries().next()})))))_=n.getConstructor(t,e,m,b),o.REQUIRED=!0;else if(a(e,!0)){var w=new _,E=w[b](g?{}:-0,1)!=w,k=h((function(){w.has(1)})),C=d((function(e){new v(e)})),x=!g&&h((function(){for(var e=new v,t=5;t--;)e[b](t,t);return!e.has(-0)}));C||((_=t((function(t,n){l(t,_,e);var i=p(new v,t,_);return null!=n&&u(n,i[b],i,m),i}))).prototype=y,y.constructor=_),(k||x)&&(S("delete"),S("has"),m&&S("get")),(x||E)&&S(b),g&&y.clear&&delete y.clear}return T[e]=_,i({global:!0,forced:_!=v},T),f(_,e),g||n.setStrong(_,e,m),_}},209:function(e,t,n){var i=n(22),r=n(146);e.exports=function(e,t,n){var a,s;return r&&"function"==typeof(a=t.constructor)&&a!==n&&i(s=a.prototype)&&s!==n.prototype&&r(e,s),e}},210:function(e,t,n){"use strict";var i=n(23);e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},22:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},23:function(e,t,n){var i=n(22);e.exports=function(e){if(!i(e))throw TypeError(String(e)+" is not an object");return e}},243:function(e,t,n){var i=n(19),r=n(57);e.exports=function(e,t){try{r(i,e,t)}catch(n){i[e]=t}return t}},244:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},245:function(e,t,n){var i=n(19),r=n(22),a=i.document,s=r(a)&&r(a.createElement);e.exports=function(e){return s?a.createElement(e):{}}},246:function(e,t){t.f=Object.getOwnPropertySymbols},247:function(e,t,n){"use strict";var i=n(2),r=n(308),a=n(102),s=n(146),o=n(101),u=n(57),l=n(55),c=n(28),h=n(118),d=n(164),f=n(298),p=f.IteratorPrototype,m=f.BUGGY_SAFARI_ITERATORS,g=c("iterator"),v=function(){return this};e.exports=function(e,t,n,c,f,y,_){r(n,t,c);var b,T,S,w=function(e){if(e===f&&A)return A;if(!m&&e in C)return C[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},E=t+" Iterator",k=!1,C=e.prototype,x=C[g]||C["@@iterator"]||f&&C[f],A=!m&&x||w(f),I="Array"==t&&C.entries||x;if(I&&(b=a(I.call(new e)),p!==Object.prototype&&b.next&&(h||a(b)===p||(s?s(b,p):"function"!=typeof b[g]&&u(b,g,v)),o(b,E,!0,!0),h&&(d[E]=v))),"values"==f&&x&&"values"!==x.name&&(k=!0,A=function(){return x.call(this)}),h&&!_||C[g]===A||u(C,g,A),d[t]=A,f)if(T={values:w("values"),keys:y?A:w("keys"),entries:w("entries")},_)for(S in T)(m||k||!(S in C))&&l(C,S,T[S]);else i({target:t,proto:!0,forced:m||k},T);return T}},248:function(e,t,n){"use strict";var i=n(203).charAt;e.exports=function(e,t,n){return t+(n?i(e,t).length:1)}},250:function(e,t,n){var i=n(91),r=n(132),a=n(246),s=n(23);e.exports=i("Reflect","ownKeys")||function(e){var t=r.f(s(e)),n=a.f;return n?t.concat(n(e)):t}},251:function(e,t,n){var i=n(26),r=n(33),a=n(23),s=n(170);e.exports=i?Object.defineProperties:function(e,t){a(e);for(var n,i=s(t),o=i.length,u=0;o>u;)r.f(e,n=i[u++],t[n]);return e}},252:function(e,t,n){var i,r,a=n(19),s=n(176),o=a.process,u=o&&o.versions,l=u&&u.v8;l?r=(i=l.split("."))[0]+i[1]:s&&(!(i=s.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=s.match(/Chrome\/(\d+)/))&&(r=i[1]),e.exports=r&&+r},253:function(e,t,n){var i=n(28),r=n(164),a=i("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||s[a]===e)}},254:function(e,t,n){var i=n(12);e.exports=!i((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},26:function(e,t,n){var i=n(12);e.exports=!i((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},28:function(e,t,n){var i=n(19),r=n(166),a=n(168),s=n(305),o=i.Symbol,u=r("wks");e.exports=function(e){return u[e]||(u[e]=s&&o[e]||(s?o:a)("Symbol."+e))}},293:function(e,t,n){var i=n(26),r=n(12),a=n(245);e.exports=!i&&!r((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},294:function(e,t,n){var i=n(166);e.exports=i("native-function-to-string",Function.toString)},295:function(e,t,n){var i=n(19),r=n(294),a=i.WeakMap;e.exports="function"==typeof a&&/native code/.test(r.call(a))},296:function(e,t,n){var i=n(44),r=n(71),a=n(173).indexOf,s=n(167);e.exports=function(e,t){var n,o=r(e),u=0,l=[];for(n in o)!i(s,n)&&i(o,n)&&l.push(n);for(;t.length>u;)i(o,n=t[u++])&&(~a(l,n)||l.push(n));return l}},297:function(e,t,n){"use strict";var i=n(51).forEach,r=n(111);e.exports=r("forEach")?function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}:[].forEach},298:function(e,t,n){"use strict";var i,r,a,s=n(102),o=n(57),u=n(44),l=n(28),c=n(118),h=l("iterator"),d=!1;[].keys&&("next"in(a=[].keys())?(r=s(s(a)))!==Object.prototype&&(i=r):d=!0),null==i&&(i={}),c||u(i,h)||o(i,h,(function(){return this})),e.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:d}},299:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},30:function(e,t,n){var i=n(82),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},303:function(e,t,n){var i=n(44),r=n(250),a=n(64),s=n(33);e.exports=function(e,t){for(var n=r(t),o=s.f,u=a.f,l=0;l<n.length;l++){var c=n[l];i(e,c)||o(e,c,u(t,c))}}},304:function(e,t,n){e.exports=n(19)},305:function(e,t,n){var i=n(12);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())}))},306:function(e,t,n){var i=n(91);e.exports=i("document","documentElement")},307:function(e,t,n){var i=n(23);e.exports=function(e,t,n,r){try{return r?t(i(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw void 0!==a&&i(a.call(e)),t}}},308:function(e,t,n){"use strict";var i=n(298).IteratorPrototype,r=n(110),a=n(117),s=n(101),o=n(164),u=function(){return this};e.exports=function(e,t,n){var l=t+" Iterator";return e.prototype=r(i,{next:a(1,n)}),s(e,l,!1,!0),o[l]=u,e}},309:function(e,t,n){var i=n(22);e.exports=function(e){if(!i(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},310:function(e,t,n){var i=n(19),r=n(148).trim,a=n(202),s=i.parseInt,o=/^[+-]?0[Xx]/,u=8!==s(a+"08")||22!==s(a+"0x16");e.exports=u?function(e,t){var n=r(String(e));return s(n,t>>>0||(o.test(n)?16:10))}:s},311:function(e,t,n){"use strict";var i=n(26),r=n(12),a=n(170),s=n(246),o=n(200),u=n(34),l=n(165),c=Object.assign;e.exports=!c||r((function(){var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||"abcdefghijklmnopqrst"!=a(c({},t)).join("")}))?function(e,t){for(var n=u(e),r=arguments.length,c=1,h=s.f,d=o.f;r>c;)for(var f,p=l(arguments[c++]),m=h?a(p).concat(h(p)):a(p),g=m.length,v=0;g>v;)f=m[v++],i&&!d.call(p,f)||(n[f]=p[f]);return n}:c},312:function(e,t,n){"use strict";var i=n(203).charAt,r=n(80),a=n(247),s=r.set,o=r.getterFor("String Iterator");a(String,"String",(function(e){s(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=o(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=i(n,r),t.index+=e.length,{value:e,done:!1})}))},313:function(e,t,n){"use strict";var i=n(147),r=n(131).getWeakData,a=n(23),s=n(22),o=n(120),u=n(172),l=n(51),c=n(44),h=n(80),d=h.set,f=h.getterFor,p=l.find,m=l.findIndex,g=0,v=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},_=function(e,t){return p(e.entries,(function(e){return e[0]===t}))};y.prototype={get:function(e){var t=_(this,e);if(t)return t[1]},has:function(e){return!!_(this,e)},set:function(e,t){var n=_(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=m(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,l){var h=e((function(e,i){o(e,h,t),d(e,{type:t,id:g++,frozen:void 0}),null!=i&&u(i,e[l],e,n)})),p=f(t),m=function(e,t,n){var i=p(e),s=r(a(t),!0);return!0===s?v(i).set(t,n):s[i.id]=n,e};return i(h.prototype,{delete:function(e){var t=p(this);if(!s(e))return!1;var n=r(e);return!0===n?v(t).delete(e):n&&c(n,t.id)&&delete n[t.id]},has:function(e){var t=p(this);if(!s(e))return!1;var n=r(e);return!0===n?v(t).has(e):n&&c(n,t.id)}}),i(h.prototype,n?{get:function(e){var t=p(this);if(s(e)){var n=r(e);return!0===n?v(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return m(this,e,t)}}:{add:function(e){return m(this,e,!0)}}),h}}},33:function(e,t,n){var i=n(26),r=n(293),a=n(23),s=n(92),o=Object.defineProperty;t.f=i?o:function(e,t,n){if(a(e),t=s(t,!0),a(n),r)try{return o(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},34:function(e,t,n){var i=n(63);e.exports=function(e){return Object(i(e))}},44:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},51:function(e,t,n){var i=n(119),r=n(165),a=n(34),s=n(30),o=n(174),u=[].push,l=function(e){var t=1==e,n=2==e,l=3==e,c=4==e,h=6==e,d=5==e||h;return function(f,p,m,g){for(var v,y,_=a(f),b=r(_),T=i(p,m,3),S=s(b.length),w=0,E=g||o,k=t?E(f,S):n?E(f,0):void 0;S>w;w++)if((d||w in b)&&(y=T(v=b[w],w,_),e))if(t)k[w]=y;else if(y)switch(e){case 3:return!0;case 5:return v;case 6:return w;case 2:u.call(k,v)}else if(c)return!1;return h?-1:l||c?c:k}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6)}},55:function(e,t,n){var i=n(19),r=n(166),a=n(57),s=n(44),o=n(243),u=n(294),l=n(80),c=l.get,h=l.enforce,d=String(u).split("toString");r("inspectSource",(function(e){return u.call(e)})),(e.exports=function(e,t,n,r){var u=!!r&&!!r.unsafe,l=!!r&&!!r.enumerable,c=!!r&&!!r.noTargetGet;"function"==typeof n&&("string"!=typeof t||s(n,"name")||a(n,"name",t),h(n).source=d.join("string"==typeof t?t:"")),e!==i?(u?!c&&e[t]&&(l=!0):delete e[t],l?e[t]=n:a(e,t,n)):l?e[t]=n:o(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||u.call(this)}))},57:function(e,t,n){var i=n(26),r=n(33),a=n(117);e.exports=i?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},63:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},64:function(e,t,n){var i=n(26),r=n(200),a=n(117),s=n(71),o=n(92),u=n(44),l=n(293),c=Object.getOwnPropertyDescriptor;t.f=i?c:function(e,t){if(e=s(e),t=o(t,!0),l)try{return c(e,t)}catch(e){}if(u(e,t))return a(!r.f.call(e,t),e[t])}},71:function(e,t,n){var i=n(165),r=n(63);e.exports=function(e){return i(r(e))}},730:function(e,t,n){var i=n(19),r=n(243),a=i["__core-js_shared__"]||r("__core-js_shared__",{});e.exports=a},731:function(e,t,n){"use strict";var i=n(2),r=n(51).filter;i({target:"Array",proto:!0,forced:!n(175)("filter")},{filter:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},732:function(e,t,n){"use strict";var i=n(2),r=n(297);i({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},733:function(e,t,n){"use strict";var i=n(2),r=n(207).left;i({target:"Array",proto:!0,forced:n(111)("reduce")},{reduce:function(e){return r(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},734:function(e,t,n){var i=n(26),r=n(33).f,a=Function.prototype,s=a.toString,o=/^\s*function ([^ (]*)/;i&&!("name"in a)&&r(a,"name",{configurable:!0,get:function(){try{return s.call(this).match(o)[1]}catch(e){return""}}})},735:function(e,t,n){var i=n(2),r=n(311);i({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},736:function(e,t,n){var i=n(55),r=n(737),a=Object.prototype;r!==a.toString&&i(a,"toString",r,{unsafe:!0})},737:function(e,t,n){"use strict";var i=n(171),r={};r[n(28)("toStringTag")]="z",e.exports="[object z]"!==String(r)?function(){return"[object "+i(this)+"]"}:r.toString},738:function(e,t,n){var i=n(2),r=n(310);i({global:!0,forced:parseInt!=r},{parseInt:r})},739:function(e,t,n){"use strict";var i=n(2),r=n(199);i({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},740:function(e,t,n){"use strict";var i=n(204),r=n(23),a=n(30),s=n(63),o=n(248),u=n(205);i("match",1,(function(e,t,n){return[function(t){var n=s(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,n):new RegExp(t)[e](String(n))},function(e){var i=n(t,e,this);if(i.done)return i.value;var s=r(e),l=String(this);if(!s.global)return u(s,l);var c=s.unicode;s.lastIndex=0;for(var h,d=[],f=0;null!==(h=u(s,l));){var p=String(h[0]);d[f]=p,""===p&&(s.lastIndex=o(l,a(s.lastIndex),c)),f++}return 0===f?null:d}]}))},741:function(e,t,n){"use strict";var i=n(204),r=n(23),a=n(34),s=n(30),o=n(82),u=n(63),l=n(248),c=n(205),h=Math.max,d=Math.min,f=Math.floor,p=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g;i("replace",2,(function(e,t,n){return[function(n,i){var r=u(this),a=null==n?void 0:n[e];return void 0!==a?a.call(n,r,i):t.call(String(r),n,i)},function(e,a){var u=n(t,e,this,a);if(u.done)return u.value;var f=r(e),p=String(this),m="function"==typeof a;m||(a=String(a));var g=f.global;if(g){var v=f.unicode;f.lastIndex=0}for(var y=[];;){var _=c(f,p);if(null===_)break;if(y.push(_),!g)break;""===String(_[0])&&(f.lastIndex=l(p,s(f.lastIndex),v))}for(var b,T="",S=0,w=0;w<y.length;w++){_=y[w];for(var E=String(_[0]),k=h(d(o(_.index),p.length),0),C=[],x=1;x<_.length;x++)C.push(void 0===(b=_[x])?b:String(b));var A=_.groups;if(m){var I=[E].concat(C,k,p);void 0!==A&&I.push(A);var O=String(a.apply(void 0,I))}else O=i(E,p,k,C,A,a);k>=S&&(T+=p.slice(S,k)+O,S=k+E.length)}return T+p.slice(S)}];function i(e,n,i,r,s,o){var u=i+e.length,l=r.length,c=m;return void 0!==s&&(s=a(s),c=p),t.call(o,c,(function(t,a){var o;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,i);case"'":return n.slice(u);case"<":o=s[a.slice(1,-1)];break;default:var c=+a;if(0===c)return t;if(c>l){var h=f(c/10);return 0===h?t:h<=l?void 0===r[h-1]?a.charAt(1):r[h-1]+a.charAt(1):t}o=r[c-1]}return void 0===o?"":o}))}}))},742:function(e,t,n){"use strict";var i,r=n(19),a=n(147),s=n(131),o=n(208),u=n(313),l=n(22),c=n(80).enforce,h=n(295),d=!r.ActiveXObject&&"ActiveXObject"in r,f=Object.isExtensible,p=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},m=e.exports=o("WeakMap",p,u,!0,!0);if(h&&d){i=u.getConstructor(p,"WeakMap",!0),s.REQUIRED=!0;var g=m.prototype,v=g.delete,y=g.has,_=g.get,b=g.set;a(g,{delete:function(e){if(l(e)&&!f(e)){var t=c(this);return t.frozen||(t.frozen=new i),v.call(this,e)||t.frozen.delete(e)}return v.call(this,e)},has:function(e){if(l(e)&&!f(e)){var t=c(this);return t.frozen||(t.frozen=new i),y.call(this,e)||t.frozen.has(e)}return y.call(this,e)},get:function(e){if(l(e)&&!f(e)){var t=c(this);return t.frozen||(t.frozen=new i),y.call(this,e)?_.call(this,e):t.frozen.get(e)}return _.call(this,e)},set:function(e,t){if(l(e)&&!f(e)){var n=c(this);n.frozen||(n.frozen=new i),y.call(this,e)?b.call(this,e,t):n.frozen.set(e,t)}else b.call(this,e,t);return this}})}},743:function(e,t,n){var i=n(19),r=n(299),a=n(297),s=n(57);for(var o in r){var u=i[o],l=u&&u.prototype;if(l&&l.forEach!==a)try{s(l,"forEach",a)}catch(e){l.forEach=a}}},744:function(e,t,n){var i=n(19),r=n(299),a=n(201),s=n(57),o=n(28),u=o("iterator"),l=o("toStringTag"),c=a.values;for(var h in r){var d=i[h],f=d&&d.prototype;if(f){if(f[u]!==c)try{s(f,u,c)}catch(e){f[u]=c}if(f[l]||s(f,l,h),r[h])for(var p in a)if(f[p]!==a[p])try{s(f,p,a[p])}catch(e){f[p]=a[p]}}}},80:function(e,t,n){var i,r,a,s=n(295),o=n(19),u=n(22),l=n(57),c=n(44),h=n(198),d=n(167),f=o.WeakMap;if(s){var p=new f,m=p.get,g=p.has,v=p.set;i=function(e,t){return v.call(p,e,t),t},r=function(e){return m.call(p,e)||{}},a=function(e){return g.call(p,e)}}else{var y=h("state");d[y]=!0,i=function(e,t){return l(e,y,t),t},r=function(e){return c(e,y)?e[y]:{}},a=function(e){return c(e,y)}}e.exports={set:i,get:r,has:a,enforce:function(e){return a(e)?r(e):i(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=r(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},82:function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},84:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},90:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},91:function(e,t,n){var i=n(304),r=n(19),a=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?a(i[e])||a(r[e]):i[e]&&i[e][t]||r[e]&&r[e][t]}},92:function(e,t,n){var i=n(22);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}}}]);
|
|
101
|
+
*/var i=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function s(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,o,u=s(e),l=1;l<arguments.length;l++){for(var c in n=Object(arguments[l]))r.call(n,c)&&(u[c]=n[c]);if(i){o=i(n);for(var h=0;h<o.length;h++)a.call(n,o[h])&&(u[o[h]]=n[o[h]])}}return u}},164:function(e,t){e.exports={}},165:function(e,t,n){var i=n(12),r=n(90),a="".split;e.exports=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==r(e)?a.call(e,""):Object(e)}:Object},166:function(e,t,n){var i=n(118),r=n(730);(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.4.0",mode:i?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},167:function(e,t){e.exports={}},168:function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+i).toString(36)}},169:function(e,t,n){var i=n(12),r=/#|\.prototype\./,a=function(e,t){var n=o[s(e)];return n==l||n!=u&&("function"==typeof t?i(t):!!t)},s=a.normalize=function(e){return String(e).replace(r,".").toLowerCase()},o=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},170:function(e,t,n){var i=n(297),r=n(244);e.exports=Object.keys||function(e){return i(e,r)}},171:function(e,t,n){var i=n(90),r=n(28)("toStringTag"),a="Arguments"==i(function(){return arguments}());e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),r))?n:a?i(t):"Object"==(s=i(t))&&"function"==typeof t.callee?"Arguments":s}},172:function(e,t,n){var i=n(23),r=n(253),a=n(30),s=n(119),o=n(177),u=n(307),l=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,c,h){var d,f,p,m,g,v,y,_=s(t,n,c?2:1);if(h)d=e;else{if("function"!=typeof(f=o(e)))throw TypeError("Target is not iterable");if(r(f)){for(p=0,m=a(e.length);m>p;p++)if((g=c?_(i(y=e[p])[0],y[1]):_(e[p]))&&g instanceof l)return g;return new l(!1)}d=f.call(e)}for(v=d.next;!(y=v.call(d)).done;)if("object"==typeof(g=u(d,_,y.value,c))&&g&&g instanceof l)return g;return new l(!1)}).stop=function(e){return new l(!0,e)}},173:function(e,t,n){var i=n(71),r=n(30),a=n(121),s=function(e){return function(t,n,s){var o,u=i(t),l=r(u.length),c=a(s,l);if(e&&n!=n){for(;l>c;)if((o=u[c++])!=o)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},174:function(e,t,n){var i=n(22),r=n(133),a=n(28)("species");e.exports=function(e,t){var n;return r(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!r(n.prototype)?i(n)&&null===(n=n[a])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},175:function(e,t,n){var i=n(12),r=n(28),a=n(252),s=r("species");e.exports=function(e){return a>=51||!i((function(){var t=[];return(t.constructor={})[s]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},176:function(e,t,n){var i=n(91);e.exports=i("navigator","userAgent")||""},177:function(e,t,n){var i=n(171),r=n(164),a=n(28)("iterator");e.exports=function(e){if(null!=e)return e[a]||e["@@iterator"]||r[i(e)]}},178:function(e,t,n){var i=n(12);e.exports=!i((function(){return Object.isExtensible(Object.preventExtensions({}))}))},19:function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n(163))},198:function(e,t,n){var i=n(166),r=n(168),a=i("keys");e.exports=function(e){return a[e]||(a[e]=r(e))}},199:function(e,t,n){"use strict";var i,r,a=n(210),s=RegExp.prototype.exec,o=String.prototype.replace,u=s,l=(i=/a/,r=/b*/g,s.call(i,"a"),s.call(r,"a"),0!==i.lastIndex||0!==r.lastIndex),c=void 0!==/()??/.exec("")[1];(l||c)&&(u=function(e){var t,n,i,r,u=this;return c&&(n=new RegExp("^"+u.source+"$(?!\\s)",a.call(u))),l&&(t=u.lastIndex),i=s.call(u,e),l&&i&&(u.lastIndex=u.global?i.index+i[0].length:t),c&&i&&i.length>1&&o.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i}),e.exports=u},2:function(e,t,n){var i=n(19),r=n(64).f,a=n(57),s=n(55),o=n(243),u=n(303),l=n(169);e.exports=function(e,t){var n,c,h,d,f,p=e.target,m=e.global,g=e.stat;if(n=m?i:g?i[p]||o(p,{}):(i[p]||{}).prototype)for(c in t){if(d=t[c],h=e.noTargetGet?(f=r(n,c))&&f.value:n[c],!l(m?c:p+(g?".":"#")+c,e.forced)&&void 0!==h){if(typeof d==typeof h)continue;u(d,h)}(e.sham||h&&h.sham)&&a(d,"sham",!0),s(n,c,d,e)}}},200:function(e,t,n){"use strict";var i={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!i.call({1:2},1);t.f=a?function(e){var t=r(this,e);return!!t&&t.enumerable}:i},201:function(e,t,n){"use strict";var i=n(71),r=n(122),a=n(164),s=n(80),o=n(247),u=s.set,l=s.getterFor("Array Iterator");e.exports=o(Array,"Array",(function(e,t){u(this,{type:"Array Iterator",target:i(e),index:0,kind:t})}),(function(){var e=l(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}}),"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},202:function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},203:function(e,t,n){var i=n(82),r=n(63),a=function(e){return function(t,n){var a,s,o=String(r(t)),u=i(n),l=o.length;return u<0||u>=l?e?"":void 0:(a=o.charCodeAt(u))<55296||a>56319||u+1===l||(s=o.charCodeAt(u+1))<56320||s>57343?e?o.charAt(u):a:e?o.slice(u,u+2):s-56320+(a-55296<<10)+65536}};e.exports={codeAt:a(!1),charAt:a(!0)}},204:function(e,t,n){"use strict";var i=n(57),r=n(55),a=n(12),s=n(28),o=n(199),u=s("species"),l=!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),c=!a((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,h){var d=s(e),f=!a((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),p=f&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return t=!0,null},n[d](""),!t}));if(!f||!p||"replace"===e&&!l||"split"===e&&!c){var m=/./[d],g=n(d,""[e],(function(e,t,n,i,r){return t.exec===o?f&&!r?{done:!0,value:m.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}})),v=g[0],y=g[1];r(String.prototype,e,v),r(RegExp.prototype,d,2==t?function(e,t){return y.call(e,this,t)}:function(e){return y.call(e,this)}),h&&i(RegExp.prototype[d],"sham",!0)}}},205:function(e,t,n){var i=n(90),r=n(199);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var a=n.call(e,t);if("object"!=typeof a)throw TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==i(e))throw TypeError("RegExp#exec called on incompatible receiver");return r.call(e,t)}},206:function(e,t,n){var i=n(28)("iterator"),r=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){r=!0}};s[i]=function(){return this},Array.from(s,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var a={};a[i]=function(){return{next:function(){return{done:n=!0}}}},e(a)}catch(e){}return n}},207:function(e,t,n){var i=n(84),r=n(34),a=n(165),s=n(30),o=function(e){return function(t,n,o,u){i(n);var l=r(t),c=a(l),h=s(l.length),d=e?h-1:0,f=e?-1:1;if(o<2)for(;;){if(d in c){u=c[d],d+=f;break}if(d+=f,e?d<0:h<=d)throw TypeError("Reduce of empty array with no initial value")}for(;e?d>=0:h>d;d+=f)d in c&&(u=n(u,c[d],d,l));return u}};e.exports={left:o(!1),right:o(!0)}},208:function(e,t,n){"use strict";var i=n(2),r=n(19),a=n(169),s=n(55),o=n(131),u=n(172),l=n(120),c=n(22),h=n(12),d=n(206),f=n(101),p=n(209);e.exports=function(e,t,n,m,g){var v=r[e],y=v&&v.prototype,_=v,b=m?"set":"add",T={},S=function(e){var t=y[e];s(y,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(g&&!c(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!c(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!c(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(a(e,"function"!=typeof v||!(g||y.forEach&&!h((function(){(new v).entries().next()})))))_=n.getConstructor(t,e,m,b),o.REQUIRED=!0;else if(a(e,!0)){var w=new _,E=w[b](g?{}:-0,1)!=w,k=h((function(){w.has(1)})),C=d((function(e){new v(e)})),x=!g&&h((function(){for(var e=new v,t=5;t--;)e[b](t,t);return!e.has(-0)}));C||((_=t((function(t,n){l(t,_,e);var i=p(new v,t,_);return null!=n&&u(n,i[b],i,m),i}))).prototype=y,y.constructor=_),(k||x)&&(S("delete"),S("has"),m&&S("get")),(x||E)&&S(b),g&&y.clear&&delete y.clear}return T[e]=_,i({global:!0,forced:_!=v},T),f(_,e),g||n.setStrong(_,e,m),_}},209:function(e,t,n){var i=n(22),r=n(146);e.exports=function(e,t,n){var a,s;return r&&"function"==typeof(a=t.constructor)&&a!==n&&i(s=a.prototype)&&s!==n.prototype&&r(e,s),e}},210:function(e,t,n){"use strict";var i=n(23);e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},22:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},23:function(e,t,n){var i=n(22);e.exports=function(e){if(!i(e))throw TypeError(String(e)+" is not an object");return e}},243:function(e,t,n){var i=n(19),r=n(57);e.exports=function(e,t){try{r(i,e,t)}catch(n){i[e]=t}return t}},244:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},245:function(e,t,n){var i=n(19),r=n(22),a=i.document,s=r(a)&&r(a.createElement);e.exports=function(e){return s?a.createElement(e):{}}},246:function(e,t){t.f=Object.getOwnPropertySymbols},247:function(e,t,n){"use strict";var i=n(2),r=n(308),a=n(102),s=n(146),o=n(101),u=n(57),l=n(55),c=n(28),h=n(118),d=n(164),f=n(299),p=f.IteratorPrototype,m=f.BUGGY_SAFARI_ITERATORS,g=c("iterator"),v=function(){return this};e.exports=function(e,t,n,c,f,y,_){r(n,t,c);var b,T,S,w=function(e){if(e===f&&A)return A;if(!m&&e in C)return C[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},E=t+" Iterator",k=!1,C=e.prototype,x=C[g]||C["@@iterator"]||f&&C[f],A=!m&&x||w(f),I="Array"==t&&C.entries||x;if(I&&(b=a(I.call(new e)),p!==Object.prototype&&b.next&&(h||a(b)===p||(s?s(b,p):"function"!=typeof b[g]&&u(b,g,v)),o(b,E,!0,!0),h&&(d[E]=v))),"values"==f&&x&&"values"!==x.name&&(k=!0,A=function(){return x.call(this)}),h&&!_||C[g]===A||u(C,g,A),d[t]=A,f)if(T={values:w("values"),keys:y?A:w("keys"),entries:w("entries")},_)for(S in T)(m||k||!(S in C))&&l(C,S,T[S]);else i({target:t,proto:!0,forced:m||k},T);return T}},248:function(e,t,n){"use strict";var i=n(203).charAt;e.exports=function(e,t,n){return t+(n?i(e,t).length:1)}},250:function(e,t,n){var i=n(91),r=n(132),a=n(246),s=n(23);e.exports=i("Reflect","ownKeys")||function(e){var t=r.f(s(e)),n=a.f;return n?t.concat(n(e)):t}},251:function(e,t,n){var i=n(26),r=n(33),a=n(23),s=n(170);e.exports=i?Object.defineProperties:function(e,t){a(e);for(var n,i=s(t),o=i.length,u=0;o>u;)r.f(e,n=i[u++],t[n]);return e}},252:function(e,t,n){var i,r,a=n(19),s=n(176),o=a.process,u=o&&o.versions,l=u&&u.v8;l?r=(i=l.split("."))[0]+i[1]:s&&(!(i=s.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=s.match(/Chrome\/(\d+)/))&&(r=i[1]),e.exports=r&&+r},253:function(e,t,n){var i=n(28),r=n(164),a=i("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||s[a]===e)}},254:function(e,t,n){var i=n(12);e.exports=!i((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},26:function(e,t,n){var i=n(12);e.exports=!i((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},28:function(e,t,n){var i=n(19),r=n(166),a=n(168),s=n(305),o=i.Symbol,u=r("wks");e.exports=function(e){return u[e]||(u[e]=s&&o[e]||(s?o:a)("Symbol."+e))}},294:function(e,t,n){var i=n(26),r=n(12),a=n(245);e.exports=!i&&!r((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},295:function(e,t,n){var i=n(166);e.exports=i("native-function-to-string",Function.toString)},296:function(e,t,n){var i=n(19),r=n(295),a=i.WeakMap;e.exports="function"==typeof a&&/native code/.test(r.call(a))},297:function(e,t,n){var i=n(44),r=n(71),a=n(173).indexOf,s=n(167);e.exports=function(e,t){var n,o=r(e),u=0,l=[];for(n in o)!i(s,n)&&i(o,n)&&l.push(n);for(;t.length>u;)i(o,n=t[u++])&&(~a(l,n)||l.push(n));return l}},298:function(e,t,n){"use strict";var i=n(51).forEach,r=n(111);e.exports=r("forEach")?function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}:[].forEach},299:function(e,t,n){"use strict";var i,r,a,s=n(102),o=n(57),u=n(44),l=n(28),c=n(118),h=l("iterator"),d=!1;[].keys&&("next"in(a=[].keys())?(r=s(s(a)))!==Object.prototype&&(i=r):d=!0),null==i&&(i={}),c||u(i,h)||o(i,h,(function(){return this})),e.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:d}},30:function(e,t,n){var i=n(82),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},300:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},303:function(e,t,n){var i=n(44),r=n(250),a=n(64),s=n(33);e.exports=function(e,t){for(var n=r(t),o=s.f,u=a.f,l=0;l<n.length;l++){var c=n[l];i(e,c)||o(e,c,u(t,c))}}},304:function(e,t,n){e.exports=n(19)},305:function(e,t,n){var i=n(12);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())}))},306:function(e,t,n){var i=n(91);e.exports=i("document","documentElement")},307:function(e,t,n){var i=n(23);e.exports=function(e,t,n,r){try{return r?t(i(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw void 0!==a&&i(a.call(e)),t}}},308:function(e,t,n){"use strict";var i=n(299).IteratorPrototype,r=n(110),a=n(117),s=n(101),o=n(164),u=function(){return this};e.exports=function(e,t,n){var l=t+" Iterator";return e.prototype=r(i,{next:a(1,n)}),s(e,l,!1,!0),o[l]=u,e}},309:function(e,t,n){var i=n(22);e.exports=function(e){if(!i(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},310:function(e,t,n){var i=n(19),r=n(148).trim,a=n(202),s=i.parseInt,o=/^[+-]?0[Xx]/,u=8!==s(a+"08")||22!==s(a+"0x16");e.exports=u?function(e,t){var n=r(String(e));return s(n,t>>>0||(o.test(n)?16:10))}:s},311:function(e,t,n){"use strict";var i=n(26),r=n(12),a=n(170),s=n(246),o=n(200),u=n(34),l=n(165),c=Object.assign;e.exports=!c||r((function(){var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||"abcdefghijklmnopqrst"!=a(c({},t)).join("")}))?function(e,t){for(var n=u(e),r=arguments.length,c=1,h=s.f,d=o.f;r>c;)for(var f,p=l(arguments[c++]),m=h?a(p).concat(h(p)):a(p),g=m.length,v=0;g>v;)f=m[v++],i&&!d.call(p,f)||(n[f]=p[f]);return n}:c},312:function(e,t,n){"use strict";var i=n(203).charAt,r=n(80),a=n(247),s=r.set,o=r.getterFor("String Iterator");a(String,"String",(function(e){s(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=o(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=i(n,r),t.index+=e.length,{value:e,done:!1})}))},313:function(e,t,n){"use strict";var i=n(147),r=n(131).getWeakData,a=n(23),s=n(22),o=n(120),u=n(172),l=n(51),c=n(44),h=n(80),d=h.set,f=h.getterFor,p=l.find,m=l.findIndex,g=0,v=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},_=function(e,t){return p(e.entries,(function(e){return e[0]===t}))};y.prototype={get:function(e){var t=_(this,e);if(t)return t[1]},has:function(e){return!!_(this,e)},set:function(e,t){var n=_(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=m(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,l){var h=e((function(e,i){o(e,h,t),d(e,{type:t,id:g++,frozen:void 0}),null!=i&&u(i,e[l],e,n)})),p=f(t),m=function(e,t,n){var i=p(e),s=r(a(t),!0);return!0===s?v(i).set(t,n):s[i.id]=n,e};return i(h.prototype,{delete:function(e){var t=p(this);if(!s(e))return!1;var n=r(e);return!0===n?v(t).delete(e):n&&c(n,t.id)&&delete n[t.id]},has:function(e){var t=p(this);if(!s(e))return!1;var n=r(e);return!0===n?v(t).has(e):n&&c(n,t.id)}}),i(h.prototype,n?{get:function(e){var t=p(this);if(s(e)){var n=r(e);return!0===n?v(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return m(this,e,t)}}:{add:function(e){return m(this,e,!0)}}),h}}},33:function(e,t,n){var i=n(26),r=n(294),a=n(23),s=n(92),o=Object.defineProperty;t.f=i?o:function(e,t,n){if(a(e),t=s(t,!0),a(n),r)try{return o(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},34:function(e,t,n){var i=n(63);e.exports=function(e){return Object(i(e))}},44:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},51:function(e,t,n){var i=n(119),r=n(165),a=n(34),s=n(30),o=n(174),u=[].push,l=function(e){var t=1==e,n=2==e,l=3==e,c=4==e,h=6==e,d=5==e||h;return function(f,p,m,g){for(var v,y,_=a(f),b=r(_),T=i(p,m,3),S=s(b.length),w=0,E=g||o,k=t?E(f,S):n?E(f,0):void 0;S>w;w++)if((d||w in b)&&(y=T(v=b[w],w,_),e))if(t)k[w]=y;else if(y)switch(e){case 3:return!0;case 5:return v;case 6:return w;case 2:u.call(k,v)}else if(c)return!1;return h?-1:l||c?c:k}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6)}},55:function(e,t,n){var i=n(19),r=n(166),a=n(57),s=n(44),o=n(243),u=n(295),l=n(80),c=l.get,h=l.enforce,d=String(u).split("toString");r("inspectSource",(function(e){return u.call(e)})),(e.exports=function(e,t,n,r){var u=!!r&&!!r.unsafe,l=!!r&&!!r.enumerable,c=!!r&&!!r.noTargetGet;"function"==typeof n&&("string"!=typeof t||s(n,"name")||a(n,"name",t),h(n).source=d.join("string"==typeof t?t:"")),e!==i?(u?!c&&e[t]&&(l=!0):delete e[t],l?e[t]=n:a(e,t,n)):l?e[t]=n:o(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||u.call(this)}))},57:function(e,t,n){var i=n(26),r=n(33),a=n(117);e.exports=i?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},63:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},64:function(e,t,n){var i=n(26),r=n(200),a=n(117),s=n(71),o=n(92),u=n(44),l=n(294),c=Object.getOwnPropertyDescriptor;t.f=i?c:function(e,t){if(e=s(e),t=o(t,!0),l)try{return c(e,t)}catch(e){}if(u(e,t))return a(!r.f.call(e,t),e[t])}},71:function(e,t,n){var i=n(165),r=n(63);e.exports=function(e){return i(r(e))}},730:function(e,t,n){var i=n(19),r=n(243),a=i["__core-js_shared__"]||r("__core-js_shared__",{});e.exports=a},731:function(e,t,n){"use strict";var i=n(2),r=n(51).filter;i({target:"Array",proto:!0,forced:!n(175)("filter")},{filter:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},732:function(e,t,n){"use strict";var i=n(2),r=n(298);i({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},733:function(e,t,n){"use strict";var i=n(2),r=n(207).left;i({target:"Array",proto:!0,forced:n(111)("reduce")},{reduce:function(e){return r(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},734:function(e,t,n){var i=n(26),r=n(33).f,a=Function.prototype,s=a.toString,o=/^\s*function ([^ (]*)/;i&&!("name"in a)&&r(a,"name",{configurable:!0,get:function(){try{return s.call(this).match(o)[1]}catch(e){return""}}})},735:function(e,t,n){var i=n(2),r=n(311);i({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},736:function(e,t,n){var i=n(55),r=n(737),a=Object.prototype;r!==a.toString&&i(a,"toString",r,{unsafe:!0})},737:function(e,t,n){"use strict";var i=n(171),r={};r[n(28)("toStringTag")]="z",e.exports="[object z]"!==String(r)?function(){return"[object "+i(this)+"]"}:r.toString},738:function(e,t,n){var i=n(2),r=n(310);i({global:!0,forced:parseInt!=r},{parseInt:r})},739:function(e,t,n){"use strict";var i=n(2),r=n(199);i({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},740:function(e,t,n){"use strict";var i=n(204),r=n(23),a=n(30),s=n(63),o=n(248),u=n(205);i("match",1,(function(e,t,n){return[function(t){var n=s(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,n):new RegExp(t)[e](String(n))},function(e){var i=n(t,e,this);if(i.done)return i.value;var s=r(e),l=String(this);if(!s.global)return u(s,l);var c=s.unicode;s.lastIndex=0;for(var h,d=[],f=0;null!==(h=u(s,l));){var p=String(h[0]);d[f]=p,""===p&&(s.lastIndex=o(l,a(s.lastIndex),c)),f++}return 0===f?null:d}]}))},741:function(e,t,n){"use strict";var i=n(204),r=n(23),a=n(34),s=n(30),o=n(82),u=n(63),l=n(248),c=n(205),h=Math.max,d=Math.min,f=Math.floor,p=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g;i("replace",2,(function(e,t,n){return[function(n,i){var r=u(this),a=null==n?void 0:n[e];return void 0!==a?a.call(n,r,i):t.call(String(r),n,i)},function(e,a){var u=n(t,e,this,a);if(u.done)return u.value;var f=r(e),p=String(this),m="function"==typeof a;m||(a=String(a));var g=f.global;if(g){var v=f.unicode;f.lastIndex=0}for(var y=[];;){var _=c(f,p);if(null===_)break;if(y.push(_),!g)break;""===String(_[0])&&(f.lastIndex=l(p,s(f.lastIndex),v))}for(var b,T="",S=0,w=0;w<y.length;w++){_=y[w];for(var E=String(_[0]),k=h(d(o(_.index),p.length),0),C=[],x=1;x<_.length;x++)C.push(void 0===(b=_[x])?b:String(b));var A=_.groups;if(m){var I=[E].concat(C,k,p);void 0!==A&&I.push(A);var O=String(a.apply(void 0,I))}else O=i(E,p,k,C,A,a);k>=S&&(T+=p.slice(S,k)+O,S=k+E.length)}return T+p.slice(S)}];function i(e,n,i,r,s,o){var u=i+e.length,l=r.length,c=m;return void 0!==s&&(s=a(s),c=p),t.call(o,c,(function(t,a){var o;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,i);case"'":return n.slice(u);case"<":o=s[a.slice(1,-1)];break;default:var c=+a;if(0===c)return t;if(c>l){var h=f(c/10);return 0===h?t:h<=l?void 0===r[h-1]?a.charAt(1):r[h-1]+a.charAt(1):t}o=r[c-1]}return void 0===o?"":o}))}}))},742:function(e,t,n){"use strict";var i,r=n(19),a=n(147),s=n(131),o=n(208),u=n(313),l=n(22),c=n(80).enforce,h=n(296),d=!r.ActiveXObject&&"ActiveXObject"in r,f=Object.isExtensible,p=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},m=e.exports=o("WeakMap",p,u,!0,!0);if(h&&d){i=u.getConstructor(p,"WeakMap",!0),s.REQUIRED=!0;var g=m.prototype,v=g.delete,y=g.has,_=g.get,b=g.set;a(g,{delete:function(e){if(l(e)&&!f(e)){var t=c(this);return t.frozen||(t.frozen=new i),v.call(this,e)||t.frozen.delete(e)}return v.call(this,e)},has:function(e){if(l(e)&&!f(e)){var t=c(this);return t.frozen||(t.frozen=new i),y.call(this,e)||t.frozen.has(e)}return y.call(this,e)},get:function(e){if(l(e)&&!f(e)){var t=c(this);return t.frozen||(t.frozen=new i),y.call(this,e)?_.call(this,e):t.frozen.get(e)}return _.call(this,e)},set:function(e,t){if(l(e)&&!f(e)){var n=c(this);n.frozen||(n.frozen=new i),y.call(this,e)?b.call(this,e,t):n.frozen.set(e,t)}else b.call(this,e,t);return this}})}},743:function(e,t,n){var i=n(19),r=n(300),a=n(298),s=n(57);for(var o in r){var u=i[o],l=u&&u.prototype;if(l&&l.forEach!==a)try{s(l,"forEach",a)}catch(e){l.forEach=a}}},744:function(e,t,n){var i=n(19),r=n(300),a=n(201),s=n(57),o=n(28),u=o("iterator"),l=o("toStringTag"),c=a.values;for(var h in r){var d=i[h],f=d&&d.prototype;if(f){if(f[u]!==c)try{s(f,u,c)}catch(e){f[u]=c}if(f[l]||s(f,l,h),r[h])for(var p in a)if(f[p]!==a[p])try{s(f,p,a[p])}catch(e){f[p]=a[p]}}}},80:function(e,t,n){var i,r,a,s=n(296),o=n(19),u=n(22),l=n(57),c=n(44),h=n(198),d=n(167),f=o.WeakMap;if(s){var p=new f,m=p.get,g=p.has,v=p.set;i=function(e,t){return v.call(p,e,t),t},r=function(e){return m.call(p,e)||{}},a=function(e){return g.call(p,e)}}else{var y=h("state");d[y]=!0,i=function(e,t){return l(e,y,t),t},r=function(e){return c(e,y)?e[y]:{}},a=function(e){return c(e,y)}}e.exports={set:i,get:r,has:a,enforce:function(e){return a(e)?r(e):i(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=r(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},82:function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},84:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},90:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},91:function(e,t,n){var i=n(304),r=n(19),a=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?a(i[e])||a(r[e]):i[e]&&i[e][t]||r[e]&&r[e][t]}},92:function(e,t,n){var i=n(22);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}}}]);
|