-
Covid-19 : hospitalisations, décès... suivez au jour le jour l'évolution de l'épidémie en Occitanie
Covid-19 : hospitalisations, décès... suivez au jour le jour l'évolution de l'épidémie en Occitanie
- Suivez, chaque jour, l'évolution de la situation dans chacun des départements de l'Occitanie.
Ce vendredi 27 mars, en Occitanie, l’Agence régionale de santé recense 1 553 cas positifs 1 285 cas positifs, soit 268 de plus que jeudi dans la région Occitanie au Covid-19 et 61 décès (+ 7 par rapport à jeudi). Visualisez notre carte et nos graphiques qui font un état des lieux de la situation sanitaire jour après jour depuis le premier cas de coronavirus avéré en Occitanie. C'était à Montpellier, fin février.
L'épidémie liée au Covid-19 a gagné la France et ses voisins européens depuis le mois de février. Midi Libre vous propose de suivre son évolution en Occitanie (nombre de personnes contaminées, hospitalisées ou décédées) département par département avec une carte et quatre graphiques mis à jour quotidiennement.
Les chiffres par département
Données ARS - Mise à jour quotidienne
Une évolution croissante du nombre de cas
Le graphique ci-dessous montre l'évolution du nombre de personnes contaminées département par département depuis le début de la pandémie dans la région fin février. En Occitanie comme ailleurs, le nombre de cas confirmés suit une croissance exponentielle. Il est néanmoins difficile de connaître l'ampleur exacte de la pandémie car les dépistages ne sont pas systématiques, et seuls sont publiés les chiffres des personnes testées positives au Covid-19. Covid19 Occitanie - Contamination
Covid19 Occitanie - Contamination <script>// <![CDATA[ window.Flourish = {"static_prefix":"https://public.flourish.studio/template/1366/v11/static","environment":"live"}; // ]]></script> <script>// <![CDATA[ var template=function(t){"use strict";var i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function n(t,e){return t(e={exports:{}},e.exports),e.exports}var r=function(t){return t&&t.Math==Math&&t},L=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof i&&i)||Function("return this")(),_=function(t){try{return!!t()}catch(t){return!0}},d=!_(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),a={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,s,c,p={f:o&&!a.call({1:2},1)?function t(e){var n=o(this,e);return!!n&&n.enumerable}:a},u=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},l={}.toString,f=function(t){return l.call(t).slice(8,-1)},h="".split,b=_(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==f(t)?h.call(t,""):Object(t)}:Object,g=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},v=function(t){return b(g(t))},N=function(t){return"object"==typeof t?null!==t:"function"==typeof t},P=function(t,e){if(!N(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!N(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!N(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!N(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},y={}.hasOwnProperty,F=function(t,e){return y.call(t,e)},m=L.document,x=N(m)&&N(m.createElement),w=function(t){return x?m.createElement(t):{}},k=!d&&!_(function(){return 7!=Object.defineProperty(w("div"),"a",{get:function(){return 7}}).a}),A=Object.getOwnPropertyDescriptor,M,R={f:d?A:function t(e,n){if(e=v(e),n=P(n,!0),k)try{return A(e,n)}catch(t){}if(F(e,n))return u(!p.f.call(e,n),e[n])}},E=function(t){if(!N(t))throw TypeError(String(t)+" is not an object");return t},S=Object.defineProperty,T,j={f:d?S:function t(e,n,r){if(E(e),n=P(n,!0),E(r),k)try{return S(e,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[n]=r.value),e}},z=d?function(t,e,n){return j.f(t,e,u(1,n))}:function(t,e,n){return t[e]=n,t},O=function(e,n){try{z(L,e,n)}catch(t){L[e]=n}return n},C="__core-js_shared__",I,D=L[C]||O(C,{}),U=Function.toString;"function"!=typeof D.inspectSource&&(D.inspectSource=function(t){return U.call(t)});var q=D.inspectSource,B=L.WeakMap,H="function"==typeof B&&/native code/.test(q(B)),V=!1,Y=n(function(t){(t.exports=function(t,e){return D[t]||(D[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.4",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})}),W=0,G=Math.random(),$=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++W+G).toString(36)},X=Y("keys"),Z=function(t){return X[t]||(X[t]=$(t))},K={},Q=L.WeakMap,J,tt,et,nt=function(t){return et(t)?tt(t):J(t,{})},rt=function(n){return function(t){var e;if(!N(t)||(e=tt(t)).type!==n)throw TypeError("Incompatible receiver, "+n+" required");return e}};if(H){var it=new Q,at=it.get,ot=it.has,st=it.set;J=function(t,e){return st.call(it,t,e),e},tt=function(t){return at.call(it,t)||{}},et=function(t){return ot.call(it,t)}}else{var ct=Z("state");K[ct]=!0,J=function(t,e){return z(t,ct,e),e},tt=function(t){return F(t,ct)?t[ct]:{}},et=function(t){return F(t,ct)}}var ut={set:J,get:tt,has:et,enforce:nt,getterFor:rt},lt=n(function(t){var e=ut.get,s=ut.enforce,c=String(String).split("String");(t.exports=function(t,e,n,r){var i=!!r&&!!r.unsafe,a=!!r&&!!r.enumerable,o=!!r&&!!r.noTargetGet;"function"==typeof n&&("string"!=typeof e||F(n,"name")||z(n,"name",e),s(n).source=c.join("string"==typeof e?e:"")),t!==L?(i?!o&&t[e]&&(a=!0):delete t[e],a?t[e]=n:z(t,e,n)):a?t[e]=n:O(e,n)})(Function.prototype,"toString",function t(){return"function"==typeof this&&e(this).source||q(this)})}),ft=L,ht=function(t){return"function"==typeof t?t:void 0},dt=function(t,e){return arguments.length<2?ht(ft[t])||ht(L[t]):ft[t]&&ft[t][e]||L[t]&&L[t][e]},pt=Math.ceil,gt=Math.floor,_t=function(t){return isNaN(t=+t)?0:(0<t?gt:pt)(t)},vt=Math.min,yt=function(t){return 0<t?vt(_t(t),9007199254740991):0},mt=Math.max,bt=Math.min,xt=function(t,e){var n=_t(t);return n<0?mt(n+e,0):bt(n,e)},wt=function(s){return function(t,e,n){var r=v(t),i=yt(r.length),a=xt(n,i),o;if(s&&e!=e){for(;a<i;)if((o=r[a++])!=o)return!0}else for(;a<i;a++)if((s||a in r)&&r[a]===e)return s||a||0;return!s&&-1}},kt={includes:wt(!0),indexOf:wt(!1)},At=kt.indexOf,Mt=function(t,e){var n=v(t),r=0,i=[],a;for(a in n)!F(K,a)&&F(n,a)&&i.push(a);for(;e.length>r;)F(n,a=e[r++])&&(~At(i,a)||i.push(a));return i},St=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Et=St.concat("length","prototype"),Tt,Ot={f:Object.getOwnPropertyNames||function t(e){return Mt(e,Et)}},Ct,It={f:Object.getOwnPropertySymbols},Lt=dt("Reflect","ownKeys")||function t(e){var n=Ot.f(E(e)),r=It.f;return r?n.concat(r(e)):n},Nt=function(t,e){for(var n=Lt(e),r=j.f,i=R.f,a=0;a<n.length;a++){var o=n[a];F(t,o)||r(t,o,i(e,o))}},Pt=/#|\.prototype\./,Ft=function(t,e){var n=jt[Rt(t)];return n==Dt||n!=zt&&("function"==typeof e?_(e):!!e)},Rt=Ft.normalize=function(t){return String(t).replace(Pt,".").toLowerCase()},jt=Ft.data={},zt=Ft.NATIVE="N",Dt=Ft.POLYFILL="P",Ut=Ft,qt=R.f,Bt=function(t,e){var n=t.target,r=t.global,i=t.stat,a,o,s,c,u,l;if(o=r?L:i?L[n]||O(n,{}):(L[n]||{}).prototype)for(s in e){if(u=e[s],c=t.noTargetGet?(l=qt(o,s))&&l.value:o[s],!(a=Ut(r?s:n+(i?".":"#")+s,t.forced))&&void 0!==c){if(typeof u==typeof c)continue;Nt(u,c)}(t.sham||c&&c.sham)&&z(u,"sham",!0),lt(o,s,u,t)}},Ht=!!Object.getOwnPropertySymbols&&!_(function(){return!String(Symbol())}),Vt=Ht&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Yt=Array.isArray||function t(e){return"Array"==f(e)},Wt=function(t){return Object(g(t))},Gt=Object.keys||function t(e){return Mt(e,St)},$t=d?Object.defineProperties:function t(e,n){E(e);for(var r=Gt(n),i=r.length,a=0,o;a<i;)j.f(e,o=r[a++],n[o]);return e},Xt=dt("document","documentElement"),Zt=">",Kt="<",Qt="prototype",Jt="script",te=Z("IE_PROTO"),ee=function(){},ne=function(t){return Kt+Jt+Zt+t+Kt+"/"+Jt+Zt},re=function(t){t.write(ne("")),t.close();var e=t.parentWindow.Object;return t=null,e},ie=function(){var t=w("iframe"),e="javascript:",n;return t.style.display="none",Xt.appendChild(t),t.src=String(e),(n=t.contentWindow.document).open(),n.write(ne("document.F=Object")),n.close(),n.F},ae,oe=function(){try{ae=document.domain&&new ActiveXObject("htmlfile")}catch(t){}oe=ae?re(ae):ie();for(var t=St.length;t--;)delete oe[Qt][St[t]];return oe()};K[te]=!0;var se=Object.create||function t(e,n){var r;return null!==e?(ee[Qt]=E(e),r=new ee,ee[Qt]=null,r[te]=e):r=oe(),void 0===n?r:$t(r,n)},ce=Ot.f,ue={}.toString,le="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],fe=function(t){try{return ce(t)}catch(t){return le.slice()}},he,de={f:function t(e){return le&&"[object Window]"==ue.call(e)?fe(e):ce(v(e))}},pe=Y("wks"),ge=L.Symbol,_e=Vt?ge:ge&&ge.withoutSetter||$,ve=function(t){return F(pe,t)||(Ht&&F(ge,t)?pe[t]=ge[t]:pe[t]=_e("Symbol."+t)),pe[t]},ye,me={f:ve},be=j.f,xe=function(t){var e=ft.Symbol||(ft.Symbol={});F(e,t)||be(e,t,{value:me.f(t)})},we=j.f,ke=ve("toStringTag"),Ae=function(t,e,n){t&&!F(t=n?t:t.prototype,ke)&&we(t,ke,{configurable:!0,value:e})},Me=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},Se=function(r,i,t){if(Me(r),void 0===i)return r;switch(t){case 0:return function(){return r.call(i)};case 1:return function(t){return r.call(i,t)};case 2:return function(t,e){return r.call(i,t,e)};case 3:return function(t,e,n){return r.call(i,t,e,n)}}return function(){return r.apply(i,arguments)}},Ee=ve("species"),Te=function(t,e){var n;return Yt(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!Yt(n.prototype)?N(n)&&null===(n=n[Ee])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)},Oe=[].push,Ce=function(d){var p=1==d,g=2==d,_=3==d,v=4==d,y=6==d,m=5==d||y;return function(t,e,n,r){for(var i=Wt(t),a=b(i),o=Se(e,n,3),s=yt(a.length),c=0,u=r||Te,l=p?u(t,s):g?u(t,0):void 0,f,h;c<s;c++)if((m||c in a)&&(h=o(f=a[c],c,i),d))if(p)l[c]=h;else if(h)switch(d){case 3:return!0;case 5:return f;case 6:return c;case 2:Oe.call(l,f)}else if(v)return!1;return y?-1:_||v?v:l}},Ie={forEach:Ce(0),map:Ce(1),filter:Ce(2),some:Ce(3),every:Ce(4),find:Ce(5),findIndex:Ce(6)},Le=Ie.forEach,Ne=Z("hidden"),Pe="Symbol",Fe="prototype",Re=ve("toPrimitive"),je=ut.set,ze=ut.getterFor(Pe),De=Object[Fe],Ue=L.Symbol,qe=dt("JSON","stringify"),Be=R.f,He=j.f,Ve=de.f,Ye=p.f,We=Y("symbols"),Ge=Y("op-symbols"),$e=Y("string-to-symbol-registry"),Xe=Y("symbol-to-string-registry"),Ze=Y("wks"),Ke=L.QObject,Qe=!Ke||!Ke[Fe]||!Ke[Fe].findChild,Je=d&&_(function(){return 7!=se(He({},"a",{get:function(){return He(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=Be(De,e);r&&delete De[e],He(t,e,n),r&&t!==De&&He(De,e,r)}:He,tn=function(t,e){var n=We[t]=se(Ue[Fe]);return je(n,{type:Pe,tag:t,description:e}),d||(n.description=e),n},en=Vt?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof Ue},nn=function t(e,n,r){e===De&&nn(Ge,n,r),E(e);var i=P(n,!0);return E(r),F(We,i)?(r.enumerable?(F(e,Ne)&&e[Ne][i]&&(e[Ne][i]=!1),r=se(r,{enumerable:u(0,!1)})):(F(e,Ne)||He(e,Ne,u(1,{})),e[Ne][i]=!0),Je(e,i,r)):He(e,i,r)},rn=function t(e,n){E(e);var r=v(n),i=Gt(r).concat(un(r));return Le(i,function(t){d&&!on.call(r,t)||nn(e,t,r[t])}),e},an=function t(e,n){return void 0===n?se(e):rn(se(e),n)},on=function t(e){var n=P(e,!0),r=Ye.call(this,n);return!(this===De&&F(We,n)&&!F(Ge,n))&&(!(r||!F(this,n)||!F(We,n)||F(this,Ne)&&this[Ne][n])||r)},sn=function t(e,n){var r=v(e),i=P(n,!0);if(r!==De||!F(We,i)||F(Ge,i)){var a=Be(r,i);return!a||!F(We,i)||F(r,Ne)&&r[Ne][i]||(a.enumerable=!0),a}},cn=function t(e){var n=Ve(v(e)),r=[];return Le(n,function(t){F(We,t)||F(K,t)||r.push(t)}),r},un=function t(e){var n=e===De,r=Ve(n?Ge:v(e)),i=[];return Le(r,function(t){!F(We,t)||n&&!F(De,t)||i.push(We[t])}),i};if(Ht||(lt((Ue=function t(e){if(this instanceof Ue)throw TypeError("Symbol is not a constructor");var n=arguments.length&&void 0!==e?String(e):void 0,r=$(n),i=function(t){this===De&&i.call(Ge,t),F(this,Ne)&&F(this[Ne],r)&&(this[Ne][r]=!1),Je(this,r,u(1,t))};return d&&Qe&&Je(De,r,{configurable:!0,set:i}),tn(r,n)})[Fe],"toString",function t(){return ze(this).tag}),lt(Ue,"withoutSetter",function(t){return tn($(t),t)}),p.f=on,j.f=nn,R.f=sn,Ot.f=de.f=cn,It.f=un,me.f=function(t){return tn(ve(t),t)},d&&(He(Ue[Fe],"description",{configurable:!0,get:function t(){return ze(this).description}}),lt(De,"propertyIsEnumerable",on,{unsafe:!0}))),Bt({global:!0,wrap:!0,forced:!Ht,sham:!Ht},{Symbol:Ue}),Le(Gt(Ze),function(t){xe(t)}),Bt({target:Pe,stat:!0,forced:!Ht},{for:function(t){var e=String(t);if(F($e,e))return $e[e];var n=Ue(e);return $e[e]=n,Xe[n]=e,n},keyFor:function t(e){if(!en(e))throw TypeError(e+" is not a symbol");if(F(Xe,e))return Xe[e]},useSetter:function(){Qe=!0},useSimple:function(){Qe=!1}}),Bt({target:"Object",stat:!0,forced:!Ht,sham:!d},{create:an,defineProperty:nn,defineProperties:rn,getOwnPropertyDescriptor:sn}),Bt({target:"Object",stat:!0,forced:!Ht},{getOwnPropertyNames:cn,getOwnPropertySymbols:un}),Bt({target:"Object",stat:!0,forced:_(function(){It.f(1)})},{getOwnPropertySymbols:function t(e){return It.f(Wt(e))}}),qe){var ln=!Ht||_(function(){var t=Ue();return"[null]"!=qe([t])||"{}"!=qe({a:t})||"{}"!=qe(Object(t))});Bt({target:"JSON",stat:!0,forced:ln},{stringify:function t(e,n,r){for(var i=[e],a=1,o;a<arguments.length;)i.push(arguments[a++]);if((N(o=n)||void 0!==e)&&!en(e))return Yt(n)||(n=function(t,e){if("function"==typeof o&&(e=o.call(this,t,e)),!en(e))return e}),i[1]=n,qe.apply(null,i)}})}Ue[Fe][Re]||z(Ue[Fe],Re,Ue[Fe].valueOf),Ae(Ue,Pe),K[Ne]=!0,xe("asyncIterator");var fn=j.f,hn=L.Symbol;if(!(!d||"function"!=typeof hn||"description"in hn.prototype&&void 0===hn().description)){var dn={},pn=function t(e){var n=arguments.length<1||void 0===e?void 0:String(e),r=this instanceof pn?new hn(n):void 0===n?hn():hn(n);return""===n&&(dn[r]=!0),r};Nt(pn,hn);var gn=pn.prototype=hn.prototype;gn.constructor=pn;var _n=gn.toString,vn="Symbol(test)"==String(hn("test")),yn=/^Symbol\((.*)\)[^)]+$/;fn(gn,"description",{configurable:!0,get:function t(){var e=N(this)?this.valueOf():this,n=_n.call(e);if(F(dn,e))return"";var r=vn?n.slice(7,-1):n.replace(yn,"$1");return""===r?void 0:r}}),Bt({global:!0,forced:!0},{Symbol:pn})}xe("hasInstance"),xe("isConcatSpreadable"),xe("iterator"),xe("match"),xe("matchAll"),xe("replace"),xe("search"),xe("species"),xe("split"),xe("toPrimitive"),xe("toStringTag"),xe("unscopables");var mn=Object.assign,bn=Object.defineProperty,xn=!mn||_(function(){if(d&&1!==mn({b:1},mn(bn({},"a",{enumerable:!0,get:function(){bn(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return 1;var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=mn({},t)[n]||Gt(mn({},e)).join("")!=r})?function t(e,n){for(var r=Wt(e),i=arguments.length,a=1,o=It.f,s=p.f;a<i;)for(var c=b(arguments[a++]),u=o?Gt(c).concat(o(c)):Gt(c),l=u.length,f=0,h;f<l;)h=u[f++],d&&!s.call(c,h)||(r[h]=c[h]);return r}:mn;Bt({target:"Object",stat:!0,forced:Object.assign!==xn},{assign:xn}),Bt({target:"Object",stat:!0,sham:!d},{create:se}),Bt({target:"Object",stat:!0,forced:!d,sham:!d},{defineProperty:j.f}),Bt({target:"Object",stat:!0,forced:!d,sham:!d},{defineProperties:$t});var wn=p.f,kn=function(s){return function(t){for(var e=v(t),n=Gt(e),r=n.length,i=0,a=[],o;i<r;)o=n[i++],d&&!wn.call(e,o)||a.push(s?[o,e[o]]:e[o]);return a}},An={entries:kn(!0),values:kn(!1)},Mn=An.entries;Bt({target:"Object",stat:!0},{entries:function t(e){return Mn(e)}});var Sn=!_(function(){return Object.isExtensible(Object.preventExtensions({}))}),En=n(function(t){var e=j.f,n=$("meta"),r=0,i=Object.isExtensible||function(){return!0},a=function(t){e(t,n,{value:{objectID:"O"+ ++r,weakData:{}}})},o=function(t,e){if(!N(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!F(t,n)){if(!i(t))return"F";if(!e)return"E";a(t)}return t[n].objectID},s=function(t,e){if(!F(t,n)){if(!i(t))return!0;if(!e)return!1;a(t)}return t[n].weakData},c=function(t){return Sn&&u.REQUIRED&&i(t)&&!F(t,n)&&a(t),t},u=t.exports={REQUIRED:!1,fastKey:o,getWeakData:s,onFreeze:c};K[n]=!0}),Tn=En.REQUIRED,On=En.fastKey,Cn=En.getWeakData,In=En.onFreeze,Ln=En.onFreeze,Nn=Object.freeze,Pn=_(function(){Nn(1)});Bt({target:"Object",stat:!0,forced:Pn,sham:!Sn},{freeze:function t(e){return Nn&&N(e)?Nn(Ln(e)):e}});var Fn={},Rn=ve("iterator"),jn=Array.prototype,zn=function(t){return void 0!==t&&(Fn.Array===t||jn[Rn]===t)},Dn,Un={};Un[ve("toStringTag")]="z";var qn="[object z]"===String(Un),Bn=ve("toStringTag"),Hn="Arguments"==f(function(){return arguments}()),Vn=function(t,e){try{return t[e]}catch(t){}},Yn=qn?f:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=Vn(e=Object(t),Bn))?n:Hn?f(e):"Object"==(r=f(e))&&"function"==typeof e.callee?"Arguments":r},Wn=ve("iterator"),Gn=function(t){if(null!=t)return t[Wn]||t["@@iterator"]||Fn[Yn(t)]},$n=function(e,t,n,r){try{return r?t(E(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&E(i.call(e)),t}},Xn=n(function(t){var d=function(t,e){this.stopped=t,this.result=e},e;(t.exports=function(t,e,n,r,i){var a=Se(e,n,r?2:1),o,s,c,u,l,f,h;if(i)o=t;else{if("function"!=typeof(s=Gn(t)))throw TypeError("Target is not iterable");if(zn(s)){for(c=0,u=yt(t.length);c<u;c++)if((l=r?a(E(h=t[c])[0],h[1]):a(t[c]))&&l instanceof d)return l;return new d(!1)}o=s.call(t)}for(f=o.next;!(h=f.call(o)).done;)if("object"==typeof(l=$n(o,a,h.value,r))&&l&&l instanceof d)return l;return new d(!1)}).stop=function(t){return new d(!0,t)}}),Zn=function(t,e,n){var r=P(e);r in t?j.f(t,r,u(0,n)):t[r]=n};Bt({target:"Object",stat:!0},{fromEntries:function t(e){var n={};return Xn(e,function(t,e){Zn(n,t,e)},void 0,!0),n}});var Kn=R.f,Qn=_(function(){Kn(1)}),Jn;Bt({target:"Object",stat:!0,forced:!d||Qn,sham:!d},{getOwnPropertyDescriptor:function t(e,n){return Kn(v(e),n)}}),Bt({target:"Object",stat:!0,sham:!d},{getOwnPropertyDescriptors:function t(e){for(var n=v(e),r=R.f,i=Lt(n),a={},o=0,s,c;i.length>o;)void 0!==(c=r(n,s=i[o++]))&&Zn(a,s,c);return a}});var tr=de.f,er=_(function(){return!Object.getOwnPropertyNames(1)});Bt({target:"Object",stat:!0,forced:er},{getOwnPropertyNames:tr});var nr=!_(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),rr=Z("IE_PROTO"),ir=Object.prototype,ar=nr?Object.getPrototypeOf:function(t){return t=Wt(t),F(t,rr)?t[rr]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?ir:null},or=_(function(){ar(1)});Bt({target:"Object",stat:!0,forced:or,sham:!nr},{getPrototypeOf:function t(e){return ar(Wt(e))}});var sr=Object.is||function t(e,n){return e===n?0!==e||1/e==1/n:e!=e&&n!=n};Bt({target:"Object",stat:!0},{is:sr});var cr=Object.isExtensible,ur=_(function(){cr(1)});Bt({target:"Object",stat:!0,forced:ur},{isExtensible:function t(e){return!!N(e)&&(!cr||cr(e))}});var lr=Object.isFrozen,fr=_(function(){lr(1)});Bt({target:"Object",stat:!0,forced:fr},{isFrozen:function t(e){return!N(e)||!!lr&&lr(e)}});var hr=Object.isSealed,dr=_(function(){hr(1)});Bt({target:"Object",stat:!0,forced:dr},{isSealed:function t(e){return!N(e)||!!hr&&hr(e)}});var pr=_(function(){Gt(1)});Bt({target:"Object",stat:!0,forced:pr},{keys:function t(e){return Gt(Wt(e))}});var gr=En.onFreeze,_r=Object.preventExtensions,vr=_(function(){_r(1)});Bt({target:"Object",stat:!0,forced:vr,sham:!Sn},{preventExtensions:function t(e){return _r&&N(e)?_r(gr(e)):e}});var yr=En.onFreeze,mr=Object.seal,br=_(function(){mr(1)});Bt({target:"Object",stat:!0,forced:br,sham:!Sn},{seal:function t(e){return mr&&N(e)?mr(yr(e)):e}});var xr=function(t){if(!N(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t},wr=Object.setPrototypeOf||("__proto__"in{}?function(){var r=!1,t={},i;try{(i=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(t,[]),r=t instanceof Array}catch(t){}return function t(e,n){return E(e),xr(n),r?i.call(e,n):e.__proto__=n,e}}():void 0);Bt({target:"Object",stat:!0},{setPrototypeOf:wr});var kr=An.values;Bt({target:"Object",stat:!0},{values:function t(e){return kr(e)}});var Ar=qn?{}.toString:function t(){return"[object "+Yn(this)+"]"};qn||lt(Object.prototype,"toString",Ar,{unsafe:!0});var Mr=!_(function(){var t=Math.random();__defineSetter__.call(null,t,function(){}),delete L[t]});d&&Bt({target:"Object",proto:!0,forced:Mr},{__defineGetter__:function t(e,n){j.f(Wt(this),e,{get:Me(n),enumerable:!0,configurable:!0})}}),d&&Bt({target:"Object",proto:!0,forced:Mr},{__defineSetter__:function t(e,n){j.f(Wt(this),e,{set:Me(n),enumerable:!0,configurable:!0})}});var Sr=R.f;d&&Bt({target:"Object",proto:!0,forced:Mr},{__lookupGetter__:function t(e){var n=Wt(this),r=P(e,!0),i;do{if(i=Sr(n,r))return i.get}while(n=ar(n))}});var Er=R.f;d&&Bt({target:"Object",proto:!0,forced:Mr},{__lookupSetter__:function t(e){var n=Wt(this),r=P(e,!0),i;do{if(i=Er(n,r))return i.set}while(n=ar(n))}});var Tr=[].slice,Or={},Cr=function(t,e,n){if(!(e in Or)){for(var r=[],i=0;i<e;i++)r[i]="a["+i+"]";Or[e]=Function("C,a","return new C("+r.join(",")+")")}return Or[e](t,n)},Ir=Function.bind||function t(n){var r=Me(this),i=Tr.call(arguments,1),a=function t(){var e=i.concat(Tr.call(arguments));return this instanceof a?Cr(r,e.length,e):r.apply(n,e)};return N(r.prototype)&&(a.prototype=r.prototype),a};Bt({target:"Function",proto:!0},{bind:Ir});var Lr=j.f,Nr=Function.prototype,Pr=Nr.toString,Fr=/^\s*function ([^ (]*)/,Rr="name";!d||Rr in Nr||Lr(Nr,Rr,{configurable:!0,get:function(){try{return Pr.call(this).match(Fr)[1]}catch(t){return""}}});var jr=ve("hasInstance"),zr=Function.prototype;jr in zr||j.f(zr,jr,{value:function(t){if("function"!=typeof this||!N(t))return!1;if(!N(this.prototype))return t instanceof this;for(;t=ar(t);)if(this.prototype===t)return!0;return!1}}),Bt({global:!0},{globalThis:L});var Dr=function t(e,n,r){var i=Wt(e),a="function"==typeof this?this:Array,o=arguments.length,s=1<o?n:void 0,c=void 0!==s,u=Gn(i),l=0,f,h,d,p,g,_;if(c&&(s=Se(s,2<o?r:void 0,2)),null==u||a==Array&&zn(u))for(h=new a(f=yt(i.length));l<f;l++)_=c?s(i[l],l):i[l],Zn(h,l,_);else for(g=(p=u.call(i)).next,h=new a;!(d=g.call(p)).done;l++)_=c?$n(p,s,[d.value,l],!0):d.value,Zn(h,l,_);return h.length=l,h},Ur=ve("iterator"),qr=!1;try{var Br=0,Hr={next:function(){return{done:!!Br++}},return:function(){qr=!0}};Hr[Ur]=function(){return this},Array.from(Hr,function(){throw 2})}catch(t){}var Vr=function(t,e){if(!e&&!qr)return!1;var n=!1;try{var r={};r[Ur]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(t){}return n},Yr=!Vr(function(t){Array.from(t)});Bt({target:"Array",stat:!0,forced:Yr},{from:Dr}),Bt({target:"Array",stat:!0},{isArray:Yt});var Wr=_(function(){function t(){}return!(Array.of.call(t)instanceof t)});Bt({target:"Array",stat:!0,forced:Wr},{of:function t(){for(var e=0,n=arguments.length,r=new("function"==typeof this?this:Array)(n);e<n;)Zn(r,e,arguments[e++]);return r.length=n,r}});var Gr=dt("navigator","userAgent")||"",$r=L.process,Xr=$r&&$r.versions,Zr=Xr&&Xr.v8,Kr,Qr;Zr?Qr=(Kr=Zr.split("."))[0]+Kr[1]:Gr&&(!(Kr=Gr.match(/Edge\/(\d+)/))||74<=Kr[1])&&(Kr=Gr.match(/Chrome\/(\d+)/))&&(Qr=Kr[1]);var Jr=Qr&&+Qr,ti=ve("species"),ei=function(n){return 51<=Jr||!_(function(){var t=[],e;return(t.constructor={})[ti]=function(){return{foo:1}},1!==t[n](Boolean).foo})},ni=ve("isConcatSpreadable"),ri=9007199254740991,ii="Maximum allowed index exceeded",ai=51<=Jr||!_(function(){var t=[];return t[ni]=!1,t.concat()[0]!==t}),oi=ei("concat"),si=function(t){if(!N(t))return!1;var e=t[ni];return void 0!==e?!!e:Yt(t)},ci;Bt({target:"Array",proto:!0,forced:!ai||!oi},{concat:function t(e){var n=Wt(this),r=Te(n,0),i=0,a,o,s,c,u;for(a=-1,s=arguments.length;a<s;a++)if(si(u=-1===a?n:arguments[a])){if(c=yt(u.length),ri<i+c)throw TypeError(ii);for(o=0;o<c;o++,i++)o in u&&Zn(r,i,u[o])}else{if(ri<=i)throw TypeError(ii);Zn(r,i++,u)}return r.length=i,r}});var ui=Math.min,li=[].copyWithin||function t(e,n,r){var i=Wt(this),a=yt(i.length),o=xt(e,a),s=xt(n,a),c=2<arguments.length?r:void 0,u=ui((void 0===c?a:xt(c,a))-s,a-o),l=1;for(s<o&&o<s+u&&(l=-1,s+=u-1,o+=u-1);0<u--;)s in i?i[o]=i[s]:delete i[o],o+=l,s+=l;return i},fi=ve("unscopables"),hi=Array.prototype;null==hi[fi]&&j.f(hi,fi,{configurable:!0,value:se(null)});var di=function(t){hi[fi][t]=!0};Bt({target:"Array",proto:!0},{copyWithin:li}),di("copyWithin");var pi=function(t,e){var n=[][t];return!!n&&_(function(){n.call(null,e||function(){throw 1},1)})},gi=Object.defineProperty,_i={},vi=function(t){throw t},yi=function(t,e){if(F(_i,t))return _i[t];var n=[][t],r=!!F(e=e||{},"ACCESSORS")&&e.ACCESSORS,i=F(e,0)?e[0]:vi,a=F(e,1)?e[1]:void 0;return _i[t]=!!n&&!_(function(){if(r&&!d)return 1;var t={length:-1};r?gi(t,1,{enumerable:!0,get:vi}):t[1]=1,n.call(t,i,a)})},mi=Ie.every,bi=pi("every"),xi=yi("every");Bt({target:"Array",proto:!0,forced:!bi||!xi},{every:function t(e,n){return mi(this,e,1<arguments.length?n:void 0)}});var wi=function t(e,n,r){for(var i=Wt(this),a=yt(i.length),o=arguments.length,s=xt(1<o?n:void 0,a),c=2<o?r:void 0,u=void 0===c?a:xt(c,a);s<u;)i[s++]=e;return i};Bt({target:"Array",proto:!0},{fill:wi}),di("fill");var ki=Ie.filter,Ai=ei("filter"),Mi=yi("filter");Bt({target:"Array",proto:!0,forced:!Ai||!Mi},{filter:function t(e,n){return ki(this,e,1<arguments.length?n:void 0)}});var Si=Ie.find,Ei="find",Ti=!0,Oi=yi(Ei);Ei in[]&&Array(1)[Ei](function(){Ti=!1}),Bt({target:"Array",proto:!0,forced:Ti||!Oi},{find:function t(e,n){return Si(this,e,1<arguments.length?n:void 0)}}),di(Ei);var Ci=Ie.findIndex,Ii="findIndex",Li=!0,Ni=yi(Ii);Ii in[]&&Array(1)[Ii](function(){Li=!1}),Bt({target:"Array",proto:!0,forced:Li||!Ni},{findIndex:function t(e,n){return Ci(this,e,1<arguments.length?n:void 0)}}),di(Ii);var Pi=function(t,e,n,r,i,a,o,s){for(var c=i,u=0,l=!!o&&Se(o,s,3),f;u<r;){if(u in n){if(f=l?l(n[u],u,e):n[u],0<a&&Yt(f))c=Pi(t,e,f,yt(f.length),c,a-1)-1;else{if(9007199254740991<=c)throw TypeError("Exceed the acceptable array length");t[c]=f}c++}u++}return c},Fi=Pi;Bt({target:"Array",proto:!0},{flat:function t(e){var n=arguments.length?e:void 0,r=Wt(this),i=yt(r.length),a=Te(r,0);return a.length=Fi(a,r,r,i,0,void 0===n?1:_t(n)),a}}),Bt({target:"Array",proto:!0},{flatMap:function t(e,n){var r=Wt(this),i=yt(r.length),a;return Me(e),(a=Te(r,0)).length=Fi(a,r,r,i,0,1,e,1<arguments.length?n:void 0),a}});var Ri=Ie.forEach,ji=pi("forEach"),zi=yi("forEach"),Di=ji&&zi?[].forEach:function t(e,n){return Ri(this,e,1<arguments.length?n:void 0)};Bt({target:"Array",proto:!0,forced:[].forEach!=Di},{forEach:Di});var Ui=kt.includes,qi=yi("indexOf",{ACCESSORS:!0,1:0});Bt({target:"Array",proto:!0,forced:!qi},{includes:function t(e,n){return Ui(this,e,1<arguments.length?n:void 0)}}),di("includes");var Bi=kt.indexOf,Hi=[].indexOf,Vi=!!Hi&&1/[1].indexOf(1,-0)<0,Yi=pi("indexOf"),Wi=yi("indexOf",{ACCESSORS:!0,1:0});Bt({target:"Array",proto:!0,forced:Vi||!Yi||!Wi},{indexOf:function t(e,n){return Vi?Hi.apply(this,arguments)||0:Bi(this,e,1<arguments.length?n:void 0)}});var Gi=[].join,$i=b!=Object,Xi=pi("join",",");Bt({target:"Array",proto:!0,forced:$i||!Xi},{join:function t(e){return Gi.call(v(this),void 0===e?",":e)}});var Zi=Math.min,Ki=[].lastIndexOf,Qi=!!Ki&&1/[1].lastIndexOf(1,-0)<0,Ji=pi("lastIndexOf"),ta=yi("indexOf",{ACCESSORS:!0,1:0}),ea,na=Qi||!Ji||!ta?function t(e,n){if(Qi)return Ki.apply(this,arguments)||0;var r=v(this),i=yt(r.length),a=i-1;for(1<arguments.length&&(a=Zi(a,_t(n))),a<0&&(a=i+a);0<=a;a--)if(a in r&&r[a]===e)return a||0;return-1}:Ki;Bt({target:"Array",proto:!0,forced:na!==[].lastIndexOf},{lastIndexOf:na});var ra=Ie.map,ia=ei("map"),aa=yi("map");Bt({target:"Array",proto:!0,forced:!ia||!aa},{map:function t(e,n){return ra(this,e,1<arguments.length?n:void 0)}});var oa=function(u){return function(t,e,n,r){Me(e);var i=Wt(t),a=b(i),o=yt(i.length),s=u?o-1:0,c=u?-1:1;if(n<2)for(;;){if(s in a){r=a[s],s+=c;break}if(s+=c,u?s<0:o<=s)throw TypeError("Reduce of empty array with no initial value")}for(;u?0<=s:s<o;s+=c)s in a&&(r=e(r,a[s],s,i));return r}},sa={left:oa(!1),right:oa(!0)},ca=sa.left,ua=pi("reduce"),la=yi("reduce",{1:0});Bt({target:"Array",proto:!0,forced:!ua||!la},{reduce:function t(e,n){return ca(this,e,arguments.length,1<arguments.length?n:void 0)}});var fa=sa.right,ha=pi("reduceRight"),da=yi("reduce",{1:0});Bt({target:"Array",proto:!0,forced:!ha||!da},{reduceRight:function t(e,n){return fa(this,e,arguments.length,1<arguments.length?n:void 0)}});var pa=[].reverse,ga=[1,2];Bt({target:"Array",proto:!0,forced:String(ga)===String(ga.reverse())},{reverse:function t(){return Yt(this)&&(this.length=this.length),pa.call(this)}});var _a=ei("slice"),va=yi("slice",{ACCESSORS:!0,0:0,1:2}),ya=ve("species"),ma=[].slice,ba=Math.max;Bt({target:"Array",proto:!0,forced:!_a||!va},{slice:function t(e,n){var r=v(this),i=yt(r.length),a=xt(e,i),o=xt(void 0===n?i:n,i),s,c,u;if(Yt(r)&&("function"!=typeof(s=r.constructor)||s!==Array&&!Yt(s.prototype)?N(s)&&null===(s=s[ya])&&(s=void 0):s=void 0,s===Array||void 0===s))return ma.call(r,a,o);for(c=new(void 0===s?Array:s)(ba(o-a,0)),u=0;a<o;a++,u++)a in r&&Zn(c,u,r[a]);return c.length=u,c}});var xa=Ie.some,wa=pi("some"),ka=yi("some");Bt({target:"Array",proto:!0,forced:!wa||!ka},{some:function t(e,n){return xa(this,e,1<arguments.length?n:void 0)}});var Aa=[],Ma=Aa.sort,Sa=_(function(){Aa.sort(void 0)}),Ea=_(function(){Aa.sort(null)}),Ta=pi("sort"),Oa;Bt({target:"Array",proto:!0,forced:Sa||!Ea||!Ta},{sort:function t(e){return void 0===e?Ma.call(Wt(this)):Ma.call(Wt(this),Me(e))}});var Ca=ei("splice"),Ia=yi("splice",{ACCESSORS:!0,0:0,1:2}),La=Math.max,Na=Math.min,Pa=9007199254740991,Fa="Maximum allowed length exceeded";Bt({target:"Array",proto:!0,forced:!Ca||!Ia},{splice:function t(e,n){var r=Wt(this),i=yt(r.length),a=xt(e,i),o=arguments.length,s,c,u,l,f,h;if(0===o?s=c=0:c=1===o?(s=0,i-a):(s=o-2,Na(La(_t(n),0),i-a)),Pa<i+s-c)throw TypeError(Fa);for(u=Te(r,c),l=0;l<c;l++)(f=a+l)in r&&Zn(u,l,r[f]);if(s<(u.length=c)){for(l=a;l<i-c;l++)h=l+s,(f=l+c)in r?r[h]=r[f]:delete r[h];for(l=i;i-c+s<l;l--)delete r[l-1]}else if(c<s)for(l=i-c;a<l;l--)h=l+s-1,(f=l+c-1)in r?r[h]=r[f]:delete r[h];for(l=0;l<s;l++)r[l+a]=arguments[l+2];return r.length=i-c+s,u}});var Ra=ve("species"),ja=function(t){var e=dt(t),n=j.f;d&&e&&!e[Ra]&&n(e,Ra,{configurable:!0,get:function(){return this}})};ja("Array"),di("flat"),di("flatMap");var za=ve("iterator"),Da=!1,Ua=function(){return this},qa,Ba,Ha;[].keys&&("next"in(Ha=[].keys())?(Ba=ar(ar(Ha)))!==Object.prototype&&(qa=Ba):Da=!0),null==qa&&(qa={}),F(qa,za)||z(qa,za,Ua);var Va={IteratorPrototype:qa,BUGGY_SAFARI_ITERATORS:Da},Ya=Va.IteratorPrototype,Wa=function(){return this},Ga=function(t,e,n){var r=e+" Iterator";return t.prototype=se(Ya,{next:u(1,n)}),Ae(t,r,!1),Fn[r]=Wa,t},$a=Va.IteratorPrototype,Xa=Va.BUGGY_SAFARI_ITERATORS,Za=ve("iterator"),Ka="keys",Qa="values",Ja="entries",to=function(){return this},eo=function(t,e,n,r,i,a,o){Ga(n,e,r);var s=function(e){if(e===i&&h)return h;if(!Xa&&e in l)return l[e];switch(e){case Ka:return function t(){return new n(this,e)};case Qa:return function t(){return new n(this,e)};case Ja:return function t(){return new n(this,e)}}return function(){return new n(this)}},c=e+" Iterator",u=!1,l=t.prototype,f=l[Za]||l["@@iterator"]||i&&l[i],h=!Xa&&f||s(i),d="Array"==e&&l.entries||f,p,g,_;if(d&&(p=ar(d.call(new t)),$a!==Object.prototype&&p.next&&(ar(p)!==$a&&(wr?wr(p,$a):"function"!=typeof p[Za]&&z(p,Za,to)),Ae(p,c,!0))),i==Qa&&f&&f.name!==Qa&&(u=!0,h=function t(){return f.call(this)}),l[Za]!==h&&z(l,Za,h),Fn[e]=h,i)if(g={values:s(Qa),keys:a?h:s(Ka),entries:s(Ja)},o)for(_ in g)!Xa&&!u&&_ in l||lt(l,_,g[_]);else Bt({target:e,proto:!0,forced:Xa||u},g);return g},no="Array Iterator",ro=ut.set,io=ut.getterFor(no),ao=eo(Array,"Array",function(t,e){ro(this,{type:no,target:v(t),index:0,kind:e})},function(){var t=io(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?{value:t.target=void 0,done:!0}:"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}},"values");Fn.Arguments=Fn.Array,di("keys"),di("values"),di("entries");var oo=String.fromCharCode,so=String.fromCodePoint,co=!!so&&1!=so.length;Bt({target:"String",stat:!0,forced:co},{fromCodePoint:function t(e){for(var n=[],r=arguments.length,i=0,a;i<r;){if(a=+arguments[i++],xt(a,1114111)!==a)throw RangeError(a+" is not a valid code point");n.push(a<65536?oo(a):oo(55296+((a-=65536)>>10),a%1024+56320))}return n.join("")}}),Bt({target:"String",stat:!0},{raw:function t(e){for(var n=v(e.raw),r=yt(n.length),i=arguments.length,a=[],o=0;o<r;)a.push(String(n[o++])),o<i&&a.push(String(arguments[o]));return a.join("")}});var uo=function(s){return function(t,e){var n=String(g(t)),r=_t(e),i=n.length,a,o;return r<0||i<=r?s?"":void 0:(a=n.charCodeAt(r))<55296||56319<a||r+1===i||(o=n.charCodeAt(r+1))<56320||57343<o?s?n.charAt(r):a:s?n.slice(r,r+2):o-56320+(a-55296<<10)+65536}},lo={codeAt:uo(!1),charAt:uo(!0)},fo=lo.codeAt;Bt({target:"String",proto:!0},{codePointAt:function t(e){return fo(this,e)}});var ho=ve("match"),po=function(t){var e;return N(t)&&(void 0!==(e=t[ho])?!!e:"RegExp"==f(t))},go=function(t){if(po(t))throw TypeError("The method doesn't accept regular expressions");return t},_o=ve("match"),vo=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[_o]=!1,"/./"[e](n)}catch(t){}}return!1},yo=R.f,mo="".endsWith,bo=Math.min,xo=vo("endsWith"),wo=!(xo||(!(ko=yo(String.prototype,"endsWith"))||ko.writable)),ko;Bt({target:"String",proto:!0,forced:!wo&&!xo},{endsWith:function t(e,n){var r=String(g(this));go(e);var i=1<arguments.length?n:void 0,a=yt(r.length),o=void 0===i?a:bo(yt(i),a),s=String(e);return mo?mo.call(r,s,o):r.slice(o-s.length,o)===s}}),Bt({target:"String",proto:!0,forced:!vo("includes")},{includes:function t(e,n){return!!~String(g(this)).indexOf(go(e),1<arguments.length?n:void 0)}});var Ao=function(){var t=E(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e};function Mo(t,e){return RegExp(t,e)}var So,Eo,To={UNSUPPORTED_Y:_(function(){var t=Mo("a","y");return t.lastIndex=2,null!=t.exec("abcd")}),BROKEN_CARET:_(function(){var t=Mo("^r","gy");return t.lastIndex=2,null!=t.exec("str")})},Oo=RegExp.prototype.exec,Co=String.prototype.replace,Io=Oo,Lo=(No=/a/,Po=/b*/g,Oo.call(No,"a"),Oo.call(Po,"a"),0!==No.lastIndex||0!==Po.lastIndex),No,Po,Fo=To.UNSUPPORTED_Y||To.BROKEN_CARET,Ro=void 0!==/()??/.exec("")[1],jo;(Lo||Ro||Fo)&&(Io=function t(e){var n=this,r,i,a,o,s=Fo&&n.sticky,c=Ao.call(n),u=n.source,l=0,f=e;return s&&(-1===(c=c.replace("y","")).indexOf("g")&&(c+="g"),f=String(e).slice(n.lastIndex),0<n.lastIndex&&(!n.multiline||n.multiline&&"\n"!==e[n.lastIndex-1])&&(u="(?: "+u+")",f=" "+f,l++),i=new RegExp("^(?:"+u+")",c)),Ro&&(i=new RegExp("^"+u+"$(?!\\s)",c)),Lo&&(r=n.lastIndex),a=Oo.call(s?i:n,f),s?a?(a.input=a.input.slice(l),a[0]=a[0].slice(l),a.index=n.lastIndex,n.lastIndex+=a[0].length):n.lastIndex=0:Lo&&a&&(n.lastIndex=n.global?a.index+a[0].length:r),Ro&&a&&1<a.length&&Co.call(a[0],i,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(a[o]=void 0)}),a});var zo=Io;Bt({target:"RegExp",proto:!0,forced:/./.exec!==zo},{exec:zo});var Do=ve("species"),Uo=!_(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}),qo="$0"==="a".replace(/./,"$0"),Bo=ve("replace"),Ho=!!/./[Bo]&&""===/./[Bo]("a","$0"),Vo=!_(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),Yo=function(n,t,e,r){var i=ve(n),a=!_(function(){var t={};return t[i]=function(){return 7},7!=""[n](t)}),o=a&&!_(function(){var t=!1,e=/a/;return"split"===n&&((e={constructor:{}}).constructor[Do]=function(){return e},e.flags="",e[i]=/./[i]),e.exec=function(){return t=!0,null},e[i](""),!t});if(!a||!o||"replace"===n&&(!Uo||!qo||Ho)||"split"===n&&!Vo){var s=/./[i],c=e(i,""[n],function(t,e,n,r,i){return e.exec===zo?a&&!i?{done:!0,value:s.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}},{REPLACE_KEEPS_$0:qo,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Ho}),u=c[0],l=c[1];lt(String.prototype,n,u),lt(RegExp.prototype,i,2==t?function(t,e){return l.call(t,this,e)}:function(t){return l.call(t,this)})}r&&z(RegExp.prototype[i],"sham",!0)},Wo=lo.charAt,Go=function(t,e,n){return e+(n?Wo(t,e).length:1)},$o=function(t,e){var n=t.exec;if("function"==typeof n){var r=n.call(t,e);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==f(t))throw TypeError("RegExp#exec called on incompatible receiver");return zo.call(t,e)};Yo("match",1,function(i,u,l){return[function t(e){var n=g(this),r=null==e?void 0:e[i];return void 0!==r?r.call(e,n):new RegExp(e)[i](String(n))},function(t){var e=l(u,t,this);if(e.done)return e.value;var n=E(t),r=String(this);if(!n.global)return $o(n,r);for(var i=n.unicode,a=[],o=n.lastIndex=0,s;null!==(s=$o(n,r));){var c=String(s[0]);""===(a[o]=c)&&(n.lastIndex=Go(r,yt(n.lastIndex),i)),o++}return 0===o?null:a}]});var Xo=ve("species"),Zo=function(t,e){var n=E(t).constructor,r;return void 0===n||null==(r=E(n)[Xo])?e:Me(r)},Ko=ve("matchAll"),Qo="RegExp String",Jo=Qo+" Iterator",ts=ut.set,es=ut.getterFor(Jo),ns=RegExp.prototype,rs=ns.exec,is="".matchAll,as=!!is&&!_(function(){"a".matchAll(/./)}),os=function(t,e){var n=t.exec,r;if("function"!=typeof n)return rs.call(t,e);if("object"!=typeof(r=n.call(t,e)))throw TypeError("Incorrect exec result");return r},ss=Ga(function t(e,n,r,i){ts(this,{type:Jo,regexp:e,string:n,global:r,unicode:i,done:!1})},Qo,function t(){var e=es(this);if(e.done)return{value:void 0,done:!0};var n=e.regexp,r=e.string,i=os(n,r);return null===i?{value:void 0,done:e.done=!0}:e.global?(""==String(i[0])&&(n.lastIndex=Go(r,yt(n.lastIndex),e.unicode)),{value:i,done:!1}):{value:i,done:!(e.done=!0)}}),cs=function(t){var e=E(this),n=String(t),r,i,a,o,s,c;return r=Zo(e,RegExp),void 0===(i=e.flags)&&e instanceof RegExp&&!("flags"in ns)&&(i=Ao.call(e)),a=void 0===i?"":String(i),o=new r(r===RegExp?e.source:e,a),s=!!~a.indexOf("g"),c=!!~a.indexOf("u"),o.lastIndex=yt(e.lastIndex),new ss(o,n,s,c)};Bt({target:"String",proto:!0,forced:as},{matchAll:function t(e){var n=g(this),r,i,a,o;if(null!=e){if(po(e)&&!~(r=String(g("flags"in ns?e.flags:Ao.call(e)))).indexOf("g"))throw TypeError("`.matchAll` does not allow non-global regexes");if(as)return is.apply(n,arguments);if(null!=(a=e[Ko]))return Me(a).call(e,n)}else if(as)return is.apply(n,arguments);return i=String(n),(o=new RegExp(e,"g"))[Ko](i)}}),Ko in ns||z(ns,Ko,cs);var us="".repeat||function t(e){var n=String(g(this)),r="",i=_t(e);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;0<i;(i>>>=1)&&(n+=n))1&i&&(r+=n);return r},ls=Math.ceil,fs=function(u){return function(t,e,n){var r=String(g(t)),i=r.length,a=void 0===n?" ":String(n),o=yt(e),s,c;return o<=i||""==a?r:(s=o-i,(c=us.call(a,ls(s/a.length))).length>s&&(c=c.slice(0,s)),u?r+c:c+r)}},hs={start:fs(!1),end:fs(!0)},ds=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(Gr),ps=hs.end;Bt({target:"String",proto:!0,forced:ds},{padEnd:function t(e,n){return ps(this,e,1<arguments.length?n:void 0)}});var gs=hs.start;Bt({target:"String",proto:!0,forced:ds},{padStart:function t(e,n){return gs(this,e,1<arguments.length?n:void 0)}}),Bt({target:"String",proto:!0},{repeat:us});var _s=Math.max,vs=Math.min,ys=Math.floor,ms=/\$([$&'`]|\d\d?|<[^>]*>)/g,bs=/\$([$&'`]|\d\d?)/g,xs=function(t){return void 0===t?t:String(t)};Yo("replace",2,function(a,x,w,t){var k=t.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,A=t.REPLACE_KEEPS_$0,M=k?"$":"$0";return[function t(e,n){var r=g(this),i=null==e?void 0:e[a];return void 0!==i?i.call(e,r,n):x.call(String(r),e,n)},function(t,e){if(!k&&A||"string"==typeof e&&-1===e.indexOf(M)){var n=w(x,t,this,e);if(n.done)return n.value}var r=E(t),i=String(this),a="function"==typeof e;a||(e=String(e));var o=r.global;if(o){var s=r.unicode;r.lastIndex=0}for(var c=[];;){var u=$o(r,i),l;if(null===u)break;if(c.push(u),!o)break;""===String(u[0])&&(r.lastIndex=Go(i,yt(r.lastIndex),s))}for(var f="",h=0,d=0;d<c.length;d++){u=c[d];for(var p=String(u[0]),g=_s(vs(_t(u.index),i.length),0),_=[],v=1;v<u.length;v++)_.push(xs(u[v]));var y=u.groups;if(a){var m=[p].concat(_,g,i);void 0!==y&&m.push(y);var b=String(e.apply(void 0,m))}else b=S(p,i,g,_,y,e);h<=g&&(f+=i.slice(h,g)+b,h=g+p.length)}return f+i.slice(h)}];function S(a,o,s,c,u,t){var l=s+a.length,f=c.length,e=bs;return void 0!==u&&(u=Wt(u),e=ms),x.call(t,e,function(t,e){var n;switch(e.charAt(0)){case"$":return"$";case"&":return a;case"`":return o.slice(0,s);case"'":return o.slice(l);case"<":n=u[e.slice(1,-1)];break;default:var r=+e;if(0==r)return t;if(f<r){var i=ys(r/10);return 0===i?t:i<=f?void 0===c[i-1]?e.charAt(1):c[i-1]+e.charAt(1):t}n=c[r-1]}return void 0===n?"":n})}}),Yo("search",1,function(i,o,s){return[function t(e){var n=g(this),r=null==e?void 0:e[i];return void 0!==r?r.call(e,n):new RegExp(e)[i](String(n))},function(t){var e=s(o,t,this);if(e.done)return e.value;var n=E(t),r=String(this),i=n.lastIndex;sr(i,0)||(n.lastIndex=0);var a=$o(n,r);return sr(n.lastIndex,i)||(n.lastIndex=i),null===a?-1:a.index}]});var ws=[].push,ks=Math.min,As=4294967295,Ms=!_(function(){return!RegExp(As,"y")});Yo("split",2,function(a,_,v){var y;return y="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||1<".".split(/()()/).length||"".split(/.?/).length?function(t,e){var n=String(g(this)),r=void 0===e?As:e>>>0;if(0==r)return[];if(void 0===t)return[n];if(!po(t))return _.call(n,t,r);for(var i=[],a=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),o=0,s=new RegExp(t.source,a+"g"),c,u,l;(c=zo.call(s,n))&&!(o<(u=s.lastIndex)&&(i.push(n.slice(o,c.index)),1<c.length&&c.index<n.length&&ws.apply(i,c.slice(1)),l=c[0].length,o=u,i.length>=r));)s.lastIndex===c.index&&s.lastIndex++;return o===n.length?!l&&s.test("")||i.push(""):i.push(n.slice(o)),i.length>r?i.slice(0,r):i}:"0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:_.call(this,t,e)}:_,[function t(e,n){var r=g(this),i=null==e?void 0:e[a];return void 0!==i?i.call(e,r,n):y.call(String(r),e,n)},function(t,e){var n=v(y,t,this,e,y!==_);if(n.done)return n.value;var r=E(t),i=String(this),a=Zo(r,RegExp),o=r.unicode,s=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(Ms?"y":"g"),c=new a(Ms?r:"^(?:"+r.source+")",s),u=void 0===e?As:e>>>0;if(0==u)return[];if(0===i.length)return null===$o(c,i)?[i]:[];for(var l=0,f=0,h=[];f<i.length;){c.lastIndex=Ms?f:0;var d=$o(c,Ms?i:i.slice(f)),p;if(null===d||(p=ks(yt(c.lastIndex+(Ms?0:f)),i.length))===l)f=Go(i,f,o);else{if(h.push(i.slice(l,f)),h.length===u)return h;for(var g=1;g<=d.length-1;g++)if(h.push(d[g]),h.length===u)return h;f=l=p}}return h.push(i.slice(l)),h}]},!Ms);var Ss=R.f,Es="".startsWith,Ts=Math.min,Os=vo("startsWith"),Cs=!(Os||(!(Is=Ss(String.prototype,"startsWith"))||Is.writable)),Is;Bt({target:"String",proto:!0,forced:!Cs&&!Os},{startsWith:function t(e,n){var r=String(g(this));go(e);var i=yt(Ts(1<arguments.length?n:void 0,r.length)),a=String(e);return Es?Es.call(r,a,i):r.slice(i,i+a.length)===a}});var Ls="\t\n\v\f\r \u2028\u2029\ufeff",Ns="["+Ls+"]",Ps=RegExp("^"+Ns+Ns+"*"),Fs=RegExp(Ns+Ns+"*$"),Rs=function(n){return function(t){var e=String(g(t));return 1&n&&(e=e.replace(Ps,"")),2&n&&(e=e.replace(Fs,"")),e}},js={start:Rs(1),end:Rs(2),trim:Rs(3)},zs=" ",Ds=function(t){return _(function(){return Ls[t]()||zs[t]()!=zs||Ls[t].name!==t})},Us=js.trim;Bt({target:"String",proto:!0,forced:Ds("trim")},{trim:function t(){return Us(this)}});var qs=js.start,Bs=Ds("trimStart"),Hs=Bs?function t(){return qs(this)}:"".trimStart;Bt({target:"String",proto:!0,forced:Bs},{trimStart:Hs,trimLeft:Hs});var Vs=js.end,Ys=Ds("trimEnd"),Ws=Ys?function t(){return Vs(this)}:"".trimEnd;Bt({target:"String",proto:!0,forced:Ys},{trimEnd:Ws,trimRight:Ws});var Gs=lo.charAt,$s="String Iterator",Xs=ut.set,Zs=ut.getterFor($s);eo(String,"String",function(t){Xs(this,{type:$s,string:String(t),index:0})},function t(){var e=Zs(this),n=e.string,r=e.index,i;return r>=n.length?{value:void 0,done:!0}:(i=Gs(n,r),e.index+=i.length,{value:i,done:!1})});var Ks=/"/g,Qs=function(t,e,n,r){var i=String(g(t)),a="<"+e;return""!==n&&(a+=" "+n+'="'+String(r).replace(Ks,""")+'"'),a+">"+i+"</"+e+">"},Js=function(e){return _(function(){var t=""[e]('"');return t!==t.toLowerCase()||3<t.split('"').length})};Bt({target:"String",proto:!0,forced:Js("anchor")},{anchor:function t(e){return Qs(this,"a","name",e)}}),Bt({target:"String",proto:!0,forced:Js("big")},{big:function t(){return Qs(this,"big","","")}}),Bt({target:"String",proto:!0,forced:Js("blink")},{blink:function t(){return Qs(this,"blink","","")}}),Bt({target:"String",proto:!0,forced:Js("bold")},{bold:function t(){return Qs(this,"b","","")}}),Bt({target:"String",proto:!0,forced:Js("fixed")},{fixed:function t(){return Qs(this,"tt","","")}}),Bt({target:"String",proto:!0,forced:Js("fontcolor")},{fontcolor:function t(e){return Qs(this,"font","color",e)}}),Bt({target:"String",proto:!0,forced:Js("fontsize")},{fontsize:function t(e){return Qs(this,"font","size",e)}}),Bt({target:"String",proto:!0,forced:Js("italics")},{italics:function t(){return Qs(this,"i","","")}}),Bt({target:"String",proto:!0,forced:Js("link")},{link:function t(e){return Qs(this,"a","href",e)}}),Bt({target:"String",proto:!0,forced:Js("small")},{small:function t(){return Qs(this,"small","","")}}),Bt({target:"String",proto:!0,forced:Js("strike")},{strike:function t(){return Qs(this,"strike","","")}}),Bt({target:"String",proto:!0,forced:Js("sub")},{sub:function t(){return Qs(this,"sub","","")}}),Bt({target:"String",proto:!0,forced:Js("sup")},{sup:function t(){return Qs(this,"sup","","")}});var tc=function(t,e,n){var r,i;return wr&&"function"==typeof(r=e.constructor)&&r!==n&&N(i=r.prototype)&&i!==n.prototype&&wr(t,i),t},ec=j.f,nc=Ot.f,rc=ut.set,ic=ve("match"),ac=L.RegExp,oc=ac.prototype,sc=/a/g,cc=/a/g,uc=new ac(sc)!==sc,lc=To.UNSUPPORTED_Y,fc,hc;if(d&&Ut("RegExp",!uc||lc||_(function(){return cc[ic]=!1,ac(sc)!=sc||ac(cc)==cc||"/a/i"!=ac(sc,"i")}))){for(var dc=function t(e,n){var r=this instanceof dc,i=po(e),a=void 0===n,o;if(!r&&i&&e.constructor===dc&&a)return e;uc?i&&!a&&(e=e.source):e instanceof dc&&(a&&(n=Ao.call(e)),e=e.source),lc&&(o=!!n&&-1<n.indexOf("y"))&&(n=n.replace(/y/g,""));var s=tc(uc?new ac(e,n):ac(e,n),r?this:oc,dc);return lc&&o&&rc(s,{sticky:o}),s},pc=function(e){e in dc||ec(dc,e,{configurable:!0,get:function(){return ac[e]},set:function(t){ac[e]=t}})},gc=nc(ac),_c=0;gc.length>_c;)pc(gc[_c++]);(oc.constructor=dc).prototype=oc,lt(L,"RegExp",dc)}ja("RegExp"),d&&("g"!=/./g.flags||To.UNSUPPORTED_Y)&&j.f(RegExp.prototype,"flags",{configurable:!0,get:Ao});var vc=To.UNSUPPORTED_Y,yc=j.f,mc=ut.get,bc=RegExp.prototype;d&&vc&&yc(RegExp.prototype,"sticky",{configurable:!0,get:function(){if(this!==bc){if(this instanceof RegExp)return!!mc(this).sticky;throw TypeError("Incompatible receiver, RegExp required")}}});var xc=(wc=!1,(kc=/[ac]/).exec=function(){return wc=!0,/./.exec.apply(this,arguments)},!0===kc.test("abc")&&wc),wc,kc,Ac=/./.test;Bt({target:"RegExp",proto:!0,forced:!xc},{test:function(t){if("function"!=typeof this.exec)return Ac.call(this,t);var e=this.exec(t);if(null!==e&&!N(e))throw new Error("RegExp exec method returned something other than an Object or null");return!!e}});var Mc="toString",Sc=RegExp.prototype,Ec=Sc[Mc],Tc=_(function(){return"/a/b"!=Ec.call({source:"a",flags:"b"})}),Oc=Ec.name!=Mc;(Tc||Oc)&<(RegExp.prototype,Mc,function t(){var e=E(this),n=String(e.source),r=e.flags,i;return"/"+n+"/"+String(void 0===r&&e instanceof RegExp&&!("flags"in Sc)?Ao.call(e):r)},{unsafe:!0});var Cc=js.trim,Ic=L.parseInt,Lc=/^[+-]?0[Xx]/,Nc,Pc=8!==Ic(Ls+"08")||22!==Ic(Ls+"0x16")?function t(e,n){var r=Cc(String(e));return Ic(r,n>>>0||(Lc.test(r)?16:10))}:Ic;Bt({global:!0,forced:parseInt!=Pc},{parseInt:Pc});var Fc=js.trim,Rc=L.parseFloat,jc,zc=1/Rc(Ls+"-0")!=-1/0?function t(e){var n=Fc(String(e)),r=Rc(n);return 0===r&&"-"==n.charAt(0)?-0:r}:Rc;Bt({global:!0,forced:parseFloat!=zc},{parseFloat:zc});var Dc=Ot.f,Uc=R.f,qc=j.f,Bc=js.trim,Hc="Number",Vc=L[Hc],Yc=Vc.prototype,Wc=f(se(Yc))==Hc,Gc=function(t){var e=P(t,!1),n,r,i,a,o,s,c,u;if("string"==typeof e&&2<e.length)if(43===(n=(e=Bc(e)).charCodeAt(0))||45===n){if(88===(r=e.charCodeAt(2))||120===r)return NaN}else if(48===n){switch(e.charCodeAt(1)){case 66:case 98:i=2,a=49;break;case 79:case 111:i=8,a=55;break;default:return+e}for(s=(o=e.slice(2)).length,c=0;c<s;c++)if((u=o.charCodeAt(c))<48||a<u)return NaN;return parseInt(o,i)}return+e};if(Ut(Hc,!Vc(" 0o1")||!Vc("0b1")||Vc("+0x1"))){for(var $c=function t(e){var n=arguments.length<1?0:e,r=this;return r instanceof $c&&(Wc?_(function(){Yc.valueOf.call(r)}):f(r)!=Hc)?tc(new Vc(Gc(n)),r,$c):Gc(n)},Xc=d?Dc(Vc):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),Zc=0,Kc;Xc.length>Zc;Zc++)F(Vc,Kc=Xc[Zc])&&!F($c,Kc)&&qc($c,Kc,Uc(Vc,Kc));($c.prototype=Yc).constructor=$c,lt(L,Hc,$c)}Bt({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)});var Qc=L.isFinite,Jc=Number.isFinite||function t(e){return"number"==typeof e&&Qc(e)};Bt({target:"Number",stat:!0},{isFinite:Jc});var tu=Math.floor,eu=function t(e){return!N(e)&&isFinite(e)&&tu(e)===e};Bt({target:"Number",stat:!0},{isInteger:eu}),Bt({target:"Number",stat:!0},{isNaN:function t(e){return e!=e}});var nu=Math.abs;Bt({target:"Number",stat:!0},{isSafeInteger:function t(e){return eu(e)&&nu(e)<=9007199254740991}}),Bt({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991}),Bt({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991}),Bt({target:"Number",stat:!0,forced:Number.parseFloat!=zc},{parseFloat:zc}),Bt({target:"Number",stat:!0,forced:Number.parseInt!=Pc},{parseInt:Pc});var ru=function(t){if("number"!=typeof t&&"Number"!=f(t))throw TypeError("Incorrect invocation");return+t},iu=1..toFixed,au=Math.floor,ou=function(t,e,n){return 0===e?n:e%2==1?ou(t,e-1,n*t):ou(t*t,e/2,n)},su=function(t){for(var e=0,n=t;4096<=n;)e+=12,n/=4096;for(;2<=n;)e+=1,n/=2;return e},cu=iu&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!_(function(){iu.call({})});Bt({target:"Number",proto:!0,forced:cu},{toFixed:function t(e){var n=ru(this),r=_t(e),i=[0,0,0,0,0,0],a="",o="0",s,c,u,l,f=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*i[n],i[n]=r%1e7,r=au(r/1e7)},h=function(t){for(var e=6,n=0;0<=--e;)n+=i[e],i[e]=au(n/t),n=n%t*1e7},d=function(){for(var t=6,e="";0<=--t;)if(""!==e||0===t||0!==i[t]){var n=String(i[t]);e=""===e?n:e+us.call("0",7-n.length)+n}return e};if(r<0||20<r)throw RangeError("Incorrect fraction digits");if(n!=n)return"NaN";if(n<=-1e21||1e21<=n)return String(n);if(n<0&&(a="-",n=-n),1e-21<n)if(c=(s=su(n*ou(2,69,1))-69)<0?n*ou(2,-s,1):n/ou(2,s,1),c*=4503599627370496,0<(s=52-s)){for(f(0,c),u=r;7<=u;)f(1e7,0),u-=7;for(f(ou(10,u,1),0),u=s-1;23<=u;)h(1<<23),u-=23;h(1<<u),f(1,1),h(2),o=d()}else f(0,c),f(1<<-s,0),o=d()+us.call("0",r);return o=0<r?a+((l=o.length)<=r?"0."+us.call("0",r-l)+o:o.slice(0,l-r)+"."+o.slice(l-r)):a+o}});var uu=1..toPrecision,lu=_(function(){return"1"!==uu.call(1,void 0)})||!_(function(){uu.call({})});Bt({target:"Number",proto:!0,forced:lu},{toPrecision:function t(e){return void 0===e?uu.call(ru(this)):uu.call(ru(this),e)}});var fu=Math.log,hu=Math.log1p||function t(e){return-1e-8<(e=+e)&&e<1e-8?e-e*e/2:fu(1+e)},du=Math.acosh,pu=Math.log,gu=Math.sqrt,_u=Math.LN2,vu=!du||710!=Math.floor(du(Number.MAX_VALUE))||du(1/0)!=1/0;Bt({target:"Math",stat:!0,forced:vu},{acosh:function t(e){return(e=+e)<1?NaN:94906265.62425156<e?pu(e)+_u:hu(e-1+gu(e-1)*gu(e+1))}});var yu=Math.asinh,mu=Math.log,bu=Math.sqrt;function xu(t){return isFinite(t=+t)&&0!=t?t<0?-xu(-t):mu(t+bu(t*t+1)):t}Bt({target:"Math",stat:!0,forced:!(yu&&0<1/yu(0))},{asinh:xu});var wu=Math.atanh,ku=Math.log;Bt({target:"Math",stat:!0,forced:!(wu&&1/wu(-0)<0)},{atanh:function t(e){return 0==(e=+e)?e:ku((1+e)/(1-e))/2}});var Au=Math.sign||function t(e){return 0==(e=+e)||e!=e?e:e<0?-1:1},Mu=Math.abs,Su=Math.pow;Bt({target:"Math",stat:!0},{cbrt:function t(e){return Au(e=+e)*Su(Mu(e),1/3)}});var Eu=Math.floor,Tu=Math.log,Ou=Math.LOG2E;Bt({target:"Math",stat:!0},{clz32:function t(e){return(e>>>=0)?31-Eu(Tu(e+.5)*Ou):32}});var Cu=Math.expm1,Iu=Math.exp,Lu=!Cu||22025.465794806718<Cu(10)||Cu(10)<22025.465794806718||-2e-17!=Cu(-2e-17)?function t(e){return 0==(e=+e)?e:-1e-6<e&&e<1e-6?e+e*e/2:Iu(e)-1}:Cu,Nu=Math.cosh,Pu=Math.abs,Fu=Math.E;Bt({target:"Math",stat:!0,forced:!Nu||Nu(710)===1/0},{cosh:function t(e){var n=Lu(Pu(e)-1)+1;return(n+1/(n*Fu*Fu))*(Fu/2)}}),Bt({target:"Math",stat:!0,forced:Lu!=Math.expm1},{expm1:Lu});var Ru=Math.abs,ju=Math.pow,zu=ju(2,-52),Du=ju(2,-23),Uu=ju(2,127)*(2-Du),qu=ju(2,-126),Bu=function(t){return t+1/zu-1/zu},Hu=Math.fround||function t(e){var n=Ru(e),r=Au(e),i,a;return n<qu?r*Bu(n/qu/Du)*qu*Du:Uu<(a=(i=(1+Du/zu)*n)-(i-n))||a!=a?r*(1/0):r*a};Bt({target:"Math",stat:!0},{fround:Hu});var Vu=Math.hypot,Yu=Math.abs,Wu=Math.sqrt,Gu=!!Vu&&Vu(1/0,NaN)!==1/0;Bt({target:"Math",stat:!0,forced:Gu},{hypot:function t(e,n){for(var r=0,i=0,a=arguments.length,o=0,s,c;i<a;)o<(s=Yu(arguments[i++]))?(r=r*(c=o/s)*c+1,o=s):r+=0<s?(c=s/o)*c:s;return o===1/0?1/0:o*Wu(r)}});var $u=Math.imul,Xu=_(function(){return-5!=$u(4294967295,5)||2!=$u.length});Bt({target:"Math",stat:!0,forced:Xu},{imul:function t(e,n){var r=65535,i=+e,a=+n,o=r&i,s=r&a;return 0|o*s+((r&i>>>16)*s+o*(r&a>>>16)<<16>>>0)}});var Zu=Math.log,Ku=Math.LOG10E;Bt({target:"Math",stat:!0},{log10:function t(e){return Zu(e)*Ku}}),Bt({target:"Math",stat:!0},{log1p:hu});var Qu=Math.log,Ju=Math.LN2;Bt({target:"Math",stat:!0},{log2:function t(e){return Qu(e)/Ju}}),Bt({target:"Math",stat:!0},{sign:Au});var tl=Math.abs,el=Math.exp,nl=Math.E,rl=_(function(){return-2e-17!=Math.sinh(-2e-17)});Bt({target:"Math",stat:!0,forced:rl},{sinh:function t(e){return tl(e=+e)<1?(Lu(e)-Lu(-e))/2:(el(e-1)-el(-e-1))*(nl/2)}});var il=Math.exp;Bt({target:"Math",stat:!0},{tanh:function t(e){var n=Lu(e=+e),r=Lu(-e);return n==1/0?1:r==1/0?-1:(n-r)/(il(e)+il(-e))}}),Ae(Math,"Math",!0);var al=Math.ceil,ol=Math.floor;Bt({target:"Math",stat:!0},{trunc:function t(e){return(0<e?ol:al)(e)}}),Bt({target:"Date",stat:!0},{now:function t(){return(new Date).getTime()}});var sl=_(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})});Bt({target:"Date",proto:!0,forced:sl},{toJSON:function t(e){var n=Wt(this),r=P(n);return"number"!=typeof r||isFinite(r)?n.toISOString():null}});var cl=hs.start,ul=Math.abs,ll=Date.prototype,fl=ll.getTime,hl=ll.toISOString,dl=_(function(){return"0385-07-25T07:06:39.999Z"!=hl.call(new Date(-5e13-1))})||!_(function(){hl.call(new Date(NaN))})?function t(){if(!isFinite(fl.call(this)))throw RangeError("Invalid time value");var e=this,n=e.getUTCFullYear(),r=e.getUTCMilliseconds(),i=n<0?"-":9999<n?"+":"";return i+cl(ul(n),i?6:4,0)+"-"+cl(e.getUTCMonth()+1,2,0)+"-"+cl(e.getUTCDate(),2,0)+"T"+cl(e.getUTCHours(),2,0)+":"+cl(e.getUTCMinutes(),2,0)+":"+cl(e.getUTCSeconds(),2,0)+"."+cl(r,3,0)+"Z"}:hl;Bt({target:"Date",proto:!0,forced:Date.prototype.toISOString!==dl},{toISOString:dl});var pl=Date.prototype,gl="Invalid Date",_l="toString",vl=pl[_l],yl=pl.getTime;new Date(NaN)+""!=gl&<(pl,_l,function t(){var e=yl.call(this);return e==e?vl.call(this):gl});var ml=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return P(E(this),"number"!==t)},bl=ve("toPrimitive"),xl=Date.prototype;bl in xl||z(xl,bl,ml);var wl=dt("JSON","stringify"),kl=/[\uD800-\uDFFF]/g,Al=/^[\uD800-\uDBFF]$/,Ml=/^[\uDC00-\uDFFF]$/,Sl=function(t,e,n){var r=n.charAt(e-1),i=n.charAt(e+1);return Al.test(t)&&!Ml.test(i)||Ml.test(t)&&!Al.test(r)?"\\u"+t.charCodeAt(0).toString(16):t},El=_(function(){return'"\\udf06\\ud834"'!==wl("\udf06\ud834")||'"\\udead"'!==wl("\udead")});wl&&Bt({target:"JSON",stat:!0,forced:El},{stringify:function t(e,n,r){var i=wl.apply(null,arguments);return"string"==typeof i?i.replace(kl,Sl):i}}),Ae(L.JSON,"JSON",!0);var Tl=L.Promise,Ol=function(t,e,n){for(var r in e)lt(t,r,e[r],n);return t},Cl=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t},Il=/(iphone|ipod|ipad).*applewebkit/i.test(Gr),Ll=L.location,Nl=L.setImmediate,Pl=L.clearImmediate,Fl=L.process,Rl=L.MessageChannel,jl=L.Dispatch,zl=0,Dl={},Ul="onreadystatechange",ql,Bl,Hl,Vl=function(t){if(Dl.hasOwnProperty(t)){var e=Dl[t];delete Dl[t],e()}},Yl=function(t){return function(){Vl(t)}},Wl=function(t){Vl(t.data)},Gl=function(t){L.postMessage(t+"",Ll.protocol+"//"+Ll.host)};Nl&&Pl||(Nl=function t(e){for(var n=[],r=1;r<arguments.length;)n.push(arguments[r++]);return Dl[++zl]=function(){("function"==typeof e?e:Function(e)).apply(void 0,n)},ql(zl),zl},Pl=function t(e){delete Dl[e]},"process"==f(Fl)?ql=function(t){Fl.nextTick(Yl(t))}:jl&&jl.now?ql=function(t){jl.now(Yl(t))}:Rl&&!Il?(Hl=(Bl=new Rl).port2,Bl.port1.onmessage=Wl,ql=Se(Hl.postMessage,Hl,1)):!L.addEventListener||"function"!=typeof postMessage||L.importScripts||_(Gl)?ql=Ul in w("script")?function(t){Xt.appendChild(w("script"))[Ul]=function(){Xt.removeChild(this),Vl(t)}}:function(t){setTimeout(Yl(t),0)}:(ql=Gl,L.addEventListener("message",Wl,!1)));var $l={set:Nl,clear:Pl},Xl=R.f,Zl=$l.set,Kl=L.MutationObserver||L.WebKitMutationObserver,Ql=L.process,Jl=L.Promise,tf="process"==f(Ql),ef=Xl(L,"queueMicrotask"),nf=ef&&ef.value,rf,af,of,sf,cf,uf,lf,ff;nf||(rf=function(){var t,e;for(tf&&(t=Ql.domain)&&t.exit();af;){e=af.fn,af=af.next;try{e()}catch(t){throw af?sf():of=void 0,t}}of=void 0,t&&t.enter()},sf=tf?function(){Ql.nextTick(rf)}:Kl&&!Il?(cf=!0,uf=document.createTextNode(""),new Kl(rf).observe(uf,{characterData:!0}),function(){uf.data=cf=!cf}):Jl&&Jl.resolve?(lf=Jl.resolve(void 0),ff=lf.then,function(){ff.call(lf,rf)}):function(){Zl.call(L,rf)});var hf=nf||function(t){var e={fn:t,next:void 0};of&&(of.next=e),af||(af=e,sf()),of=e},df=function(t){var n,r;this.promise=new t(function(t,e){if(void 0!==n||void 0!==r)throw TypeError("Bad Promise constructor");n=t,r=e}),this.resolve=Me(n),this.reject=Me(r)},pf,gf={f:function(t){return new df(t)}},_f=function(t,e){if(E(t),N(e)&&e.constructor===t)return e;var n=gf.f(t),r;return(0,n.resolve)(e),n.promise},vf=function(t,e){var n=L.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))},yf=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},mf=$l.set,bf=ve("species"),xf="Promise",wf=ut.get,kf=ut.set,Af=ut.getterFor(xf),Mf=Tl,Sf=L.TypeError,Ef=L.document,Tf=L.process,Of=dt("fetch"),Cf=gf.f,If=Cf,Lf="process"==f(Tf),Nf=!!(Ef&&Ef.createEvent&&L.dispatchEvent),Pf="unhandledrejection",Ff="rejectionhandled",Rf=0,jf=1,zf=2,Df=1,Uf=2,qf,Bf,Hf,Vf,Yf=Ut(xf,function(){var t;if(!(q(Mf)!==String(Mf))){if(66===Jr)return!0;if(!Lf&&"function"!=typeof PromiseRejectionEvent)return!0}if(51<=Jr&&/native code/.test(Mf))return!1;var e=Mf.resolve(1),n=function(t){t(function(){},function(){})},r;return(e.constructor={})[bf]=n,!(e.then(function(){})instanceof n)}),Wf=Yf||!Vr(function(t){Mf.all(t).catch(function(){})}),Gf=function(t){var e;return!(!N(t)||"function"!=typeof(e=t.then))&&e},$f=function(f,h,d){if(!h.notified){h.notified=!0;var p=h.reactions;hf(function(){for(var t=h.value,e=1==h.state,n=0;p.length>n;){var r=p[n++],i=e?r.ok:r.fail,a=r.resolve,o=r.reject,s=r.domain,c,u,l;try{i?(e||(2===h.rejection&&Qf(f,h),h.rejection=1),!0===i?c=t:(s&&s.enter(),c=i(t),s&&(s.exit(),l=!0)),c===r.promise?o(Sf("Promise-chain cycle")):(u=Gf(c))?u.call(c,a,o):a(c)):o(t)}catch(t){s&&!l&&s.exit(),o(t)}}h.reactions=[],h.notified=!1,d&&!h.rejection&&Zf(f,h)})}},Xf=function(t,e,n){var r,i;Nf?((r=Ef.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),L.dispatchEvent(r)):r={promise:e,reason:n},(i=L["on"+t])?i(r):t===Pf&&vf("Unhandled promise rejection",n)},Zf=function(r,i){mf.call(L,function(){var t=i.value,e,n;if(Kf(i)&&(n=yf(function(){Lf?Tf.emit("unhandledRejection",t,r):Xf(Pf,r,t)}),i.rejection=Lf||Kf(i)?2:1,n.error))throw n.value})},Kf=function(t){return 1!==t.rejection&&!t.parent},Qf=function(t,e){mf.call(L,function(){Lf?Tf.emit("rejectionHandled",t):Xf(Ff,t,e.value)})},Jf=function(e,n,r,i){return function(t){e(n,r,t,i)}},th=function(t,e,n,r){e.done||(e.done=!0,r&&(e=r),e.value=n,e.state=2,$f(t,e,!0))},eh=function(n,r,t,e){if(!r.done){r.done=!0,e&&(r=e);try{if(n===t)throw Sf("Promise can't be resolved itself");var i=Gf(t);i?hf(function(){var e={done:!1};try{i.call(t,Jf(eh,n,e,r),Jf(th,n,e,r))}catch(t){th(n,e,t,r)}}):(r.value=t,r.state=1,$f(n,r,!1))}catch(t){th(n,{done:!1},t,r)}}};Yf&&(Mf=function t(e){Cl(this,Mf,xf),Me(e),qf.call(this);var n=wf(this);try{e(Jf(eh,this,n),Jf(th,this,n))}catch(t){th(this,n,t)}},(qf=function t(e){kf(this,{type:xf,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Ol(Mf.prototype,{then:function t(e,n){var r=Af(this),i=Cf(Zo(this,Mf));return i.ok="function"!=typeof e||e,i.fail="function"==typeof n&&n,i.domain=Lf?Tf.domain:void 0,r.parent=!0,r.reactions.push(i),0!=r.state&&$f(this,r,!1),i.promise},catch:function(t){return this.then(void 0,t)}}),Bf=function(){var t=new qf,e=wf(t);this.promise=t,this.resolve=Jf(eh,t,e),this.reject=Jf(th,t,e)},gf.f=Cf=function(t){return t===Mf||t===Hf?new Bf(t):If(t)},"function"==typeof Tl&&(Vf=Tl.prototype.then,lt(Tl.prototype,"then",function t(e,n){var r=this;return new Mf(function(t,e){Vf.call(r,t,e)}).then(e,n)},{unsafe:!0}),"function"==typeof Of&&Bt({global:!0,enumerable:!0,forced:!0},{fetch:function t(e){return _f(Mf,Of.apply(L,arguments))}}))),Bt({global:!0,wrap:!0,forced:Yf},{Promise:Mf}),Ae(Mf,xf,!1),ja(xf),Hf=dt(xf),Bt({target:xf,stat:!0,forced:Yf},{reject:function t(e){var n=Cf(this);return n.reject.call(void 0,e),n.promise}}),Bt({target:xf,stat:!0,forced:Yf},{resolve:function t(e){return _f(this,e)}}),Bt({target:xf,stat:!0,forced:Wf},{all:function t(e){var s=this,n=Cf(s),c=n.resolve,u=n.reject,r=yf(function(){var r=Me(s.resolve),i=[],a=0,o=1;Xn(e,function(t){var e=a++,n=!1;i.push(void 0),o++,r.call(s,t).then(function(t){n||(n=!0,i[e]=t,--o||c(i))},u)}),--o||c(i)});return r.error&&u(r.value),n.promise},race:function t(n){var r=this,i=Cf(r),a=i.reject,e=yf(function(){var e=Me(r.resolve);Xn(n,function(t){e.call(r,t).then(i.resolve,a)})});return e.error&&a(e.value),i.promise}}),Bt({target:"Promise",stat:!0},{allSettled:function t(e){var s=this,n=gf.f(s),c=n.resolve,r=n.reject,i=yf(function(){var r=Me(s.resolve),i=[],a=0,o=1;Xn(e,function(t){var e=a++,n=!1;i.push(void 0),o++,r.call(s,t).then(function(t){n||(n=!0,i[e]={status:"fulfilled",value:t},--o||c(i))},function(t){n||(n=!0,i[e]={status:"rejected",reason:t},--o||c(i))})}),--o||c(i)});return i.error&&r(i.value),n.promise}});var nh=!!Tl&&_(function(){Tl.prototype.finally.call({then:function(){}},function(){})});Bt({target:"Promise",proto:!0,real:!0,forced:nh},{finally:function(e){var n=Zo(this,dt("Promise")),t="function"==typeof e;return this.then(t?function(t){return _f(n,e()).then(function(){return t})}:e,t?function(t){return _f(n,e()).then(function(){throw t})}:e)}}),"function"!=typeof Tl||Tl.prototype.finally||lt(Tl.prototype,"finally",dt("Promise").prototype.finally);var rh=function(r,t,e){var i=-1!==r.indexOf("Map"),n=-1!==r.indexOf("Weak"),a=i?"set":"add",o=L[r],s=o&&o.prototype,c=o,u={},l=function(t){var r=s[t];lt(s,t,"add"==t?function t(e){return r.call(this,0===e?0:e),this}:"delete"==t?function(t){return!(n&&!N(t))&&r.call(this,0===t?0:t)}:"get"==t?function t(e){return n&&!N(e)?void 0:r.call(this,0===e?0:e)}:"has"==t?function t(e){return!(n&&!N(e))&&r.call(this,0===e?0:e)}:function t(e,n){return r.call(this,0===e?0:e,n),this})};if(Ut(r,"function"!=typeof o||!(n||s.forEach&&!_(function(){(new o).entries().next()}))))c=e.getConstructor(t,r,i,a),En.REQUIRED=!0;else if(Ut(r,!0)){var f=new c,h=f[a](n?{}:-0,1)!=f,d=_(function(){f.has(1)}),p=Vr(function(t){new o(t)}),g=!n&&_(function(){for(var t=new o,e=5;e--;)t[a](e,e);return!t.has(-0)});p||(((c=t(function(t,e){Cl(t,c,r);var n=tc(new o,t,c);return null!=e&&Xn(e,n[a],n,i),n})).prototype=s).constructor=c),(d||g)&&(l("delete"),l("has"),i&&l("get")),(g||h)&&l(a),n&&s.clear&&delete s.clear}return u[r]=c,Bt({global:!0,forced:c!=o},u),Ae(c,r),n||e.setStrong(c,r,i),c},ih=j.f,ah=En.fastKey,oh=ut.set,sh=ut.getterFor,ch={getConstructor:function(t,n,r,i){var a=t(function(t,e){Cl(t,a,n),oh(t,{type:n,index:se(null),first:void 0,last:void 0,size:0}),d||(t.size=0),null!=e&&Xn(e,t[i],t,r)}),s=sh(n),o=function(t,e,n){var r=s(t),i=c(t,e),a,o;return i?i.value=n:(r.last=i={index:o=ah(e,!0),key:e,value:n,previous:a=r.last,next:void 0,removed:!1},r.first||(r.first=i),a&&(a.next=i),d?r.size++:t.size++,"F"!==o&&(r.index[o]=i)),t},c=function(t,e){var n=s(t),r=ah(e),i;if("F"!==r)return n.index[r];for(i=n.first;i;i=i.next)if(i.key==e)return i};return Ol(a.prototype,{clear:function t(){for(var e=this,n=s(e),r=n.index,i=n.first;i;)i.removed=!0,i.previous&&(i.previous=i.previous.next=void 0),delete r[i.index],i=i.next;n.first=n.last=void 0,d?n.size=0:e.size=0},delete:function(t){var e=this,n=s(e),r=c(e,t);if(r){var i=r.next,a=r.previous;delete n.index[r.index],r.removed=!0,a&&(a.next=i),i&&(i.previous=a),n.first==r&&(n.first=i),n.last==r&&(n.last=a),d?n.size--:e.size--}return!!r},forEach:function t(e,n){for(var r=s(this),i=Se(e,1<arguments.length?n:void 0,3),a;a=a?a.next:r.first;)for(i(a.value,a.key,this);a&&a.removed;)a=a.previous},has:function t(e){return!!c(this,e)}}),Ol(a.prototype,r?{get:function t(e){var n=c(this,e);return n&&n.value},set:function t(e,n){return o(this,0===e?0:e,n)}}:{add:function t(e){return o(this,e=0===e?0:e,e)}}),d&&ih(a.prototype,"size",{get:function(){return s(this).size}}),a},setStrong:function(t,e,n){var r=e+" Iterator",i=sh(e),a=sh(r);eo(t,e,function(t,e){oh(this,{type:r,target:t,state:i(t),kind:e,last:void 0})},function(){for(var t=a(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:{value:t.target=void 0,done:!0}},n?"entries":"values",!n,!0),ja(e)}},uh=rh("Map",function(n){return function t(e){return n(this,arguments.length?e:void 0)}},ch),lh=rh("Set",function(n){return function t(e){return n(this,arguments.length?e:void 0)}},ch),fh=En.getWeakData,hh=ut.set,dh=ut.getterFor,ph=Ie.find,gh=Ie.findIndex,_h=0,vh=function(t){return t.frozen||(t.frozen=new yh)},yh=function(){this.entries=[]},mh=function(t,e){return ph(t.entries,function(t){return t[0]===e})};yh.prototype={get:function(t){var e=mh(this,t);if(e)return e[1]},has:function(t){return!!mh(this,t)},set:function(t,e){var n=mh(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(e){var t=gh(this.entries,function(t){return t[0]===e});return~t&&this.entries.splice(t,1),!!~t}};var bh={getConstructor:function(t,n,r,i){var a=t(function(t,e){Cl(t,a,n),hh(t,{type:n,id:_h++,frozen:void 0}),null!=e&&Xn(e,t[i],t,r)}),o=dh(n),s=function(t,e,n){var r=o(t),i=fh(E(e),!0);return!0===i?vh(r).set(e,n):i[r.id]=n,t};return Ol(a.prototype,{delete:function(t){var e=o(this);if(!N(t))return!1;var n=fh(t);return!0===n?vh(e).delete(t):n&&F(n,e.id)&&delete n[e.id]},has:function t(e){var n=o(this);if(!N(e))return!1;var r=fh(e);return!0===r?vh(n).has(e):r&&F(r,n.id)}}),Ol(a.prototype,r?{get:function t(e){var n=o(this);if(N(e)){var r=fh(e);return!0===r?vh(n).get(e):r?r[n.id]:void 0}},set:function t(e,n){return s(this,e,n)}}:{add:function t(e){return s(this,e,!0)}}),a}},xh=n(function(t){var i=ut.enforce,e=!L.ActiveXObject&&"ActiveXObject"in L,a=Object.isExtensible,o,n=function(n){return function t(e){return n(this,arguments.length?e:void 0)}},r=t.exports=rh("WeakMap",n,bh);if(H&&e){o=bh.getConstructor(n,"WeakMap",!0),En.REQUIRED=!0;var s=r.prototype,c=s.delete,u=s.has,l=s.get,f=s.set;Ol(s,{delete:function(t){if(!N(t)||a(t))return c.call(this,t);var e=i(this);return e.frozen||(e.frozen=new o),c.call(this,t)||e.frozen.delete(t)},has:function t(e){if(!N(e)||a(e))return u.call(this,e);var n=i(this);return n.frozen||(n.frozen=new o),u.call(this,e)||n.frozen.has(e)},get:function t(e){if(!N(e)||a(e))return l.call(this,e);var n=i(this);return n.frozen||(n.frozen=new o),u.call(this,e)?l.call(this,e):n.frozen.get(e)},set:function t(e,n){if(N(e)&&!a(e)){var r=i(this);r.frozen||(r.frozen=new o),u.call(this,e)?f.call(this,e,n):r.frozen.set(e,n)}else f.call(this,e,n);return this}})}});rh("WeakSet",function(n){return function t(e){return n(this,arguments.length?e:void 0)}},bh);var wh="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView,kh=function(t){if(void 0===t)return 0;var e=_t(t),n=yt(e);if(e!==n)throw RangeError("Wrong length or index");return n},Ah=1/0,Mh=Math.abs,Sh=Math.pow,Eh=Math.floor,Th=Math.log,Oh=Math.LN2,Ch,Ih,Lh=function(t,e,n){var r=new Array(n),i=8*n-e-1,a=(1<<i)-1,o=a>>1,s=23===e?Sh(2,-24)-Sh(2,-77):0,c=t<0||0===t&&1/t<0?1:0,u=0,l,f,h;for((t=Mh(t))!=t||t===Ah?(f=t!=t?1:0,l=a):(l=Eh(Th(t)/Oh),t*(h=Sh(2,-l))<1&&(l--,h*=2),2<=(t+=1<=l+o?s/h:s*Sh(2,1-o))*h&&(l++,h/=2),a<=l+o?(f=0,l=a):1<=l+o?(f=(t*h-1)*Sh(2,e),l+=o):(f=t*Sh(2,o-1)*Sh(2,e),l=0));8<=e;r[u++]=255&f,f/=256,e-=8);for(l=l<<e|f,i+=e;0<i;r[u++]=255&l,l/=256,i-=8);return r[--u]|=128*c,r},Nh=function(t,e){var n=t.length,r=8*n-e-1,i=(1<<r)-1,a=i>>1,o=r-7,s=n-1,c=t[s--],u=127&c,l;for(c>>=7;0<o;u=256*u+t[s],s--,o-=8);for(l=u&(1<<-o)-1,u>>=-o,o+=e;0<o;l=256*l+t[s],s--,o-=8);if(0===u)u=1-a;else{if(u===i)return l?NaN:c?-Ah:Ah;l+=Sh(2,e),u-=a}return(c?-1:1)*l*Sh(2,u-e)},Ph=Ot.f,Fh=j.f,Rh=ut.get,jh=ut.set,zh="ArrayBuffer",Dh="DataView",Uh="prototype",qh="Wrong length",Bh="Wrong index",Hh=L[zh],Vh=Hh,Yh=L[Dh],Wh=Yh&&Yh[Uh],Gh=Object.prototype,$h=L.RangeError,Xh=Lh,Zh=Nh,Kh=function(t){return[255&t]},Qh=function(t){return[255&t,t>>8&255]},Jh=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},td=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},ed=function(t){return Xh(t,23,4)},nd=function(t){return Xh(t,52,8)},rd=function(t,e){Fh(t[Uh],e,{get:function(){return Rh(this)[e]}})},id=function(t,e,n,r){var i=kh(n),a=Rh(t);if(i+e>a.byteLength)throw $h(Bh);var o=Rh(a.buffer).bytes,s=i+a.byteOffset,c=o.slice(s,s+e);return r?c:c.reverse()},ad=function(t,e,n,r,i,a){var o=kh(n),s=Rh(t);if(o+e>s.byteLength)throw $h(Bh);for(var c=Rh(s.buffer).bytes,u=o+s.byteOffset,l=r(+i),f=0;f<e;f++)c[u+f]=l[a?f:e-f-1]};if(wh){if(!_(function(){Hh(1)})||!_(function(){new Hh(-1)})||_(function(){return new Hh,new Hh(1.5),new Hh(NaN),Hh.name!=zh})){for(var od=(Vh=function t(e){return Cl(this,Vh),new Hh(kh(e))})[Uh]=Hh[Uh],sd=Ph(Hh),cd=0,ud;sd.length>cd;)(ud=sd[cd++])in Vh||z(Vh,ud,Hh[ud]);od.constructor=Vh}wr&&ar(Wh)!==Gh&&wr(Wh,Gh);var ld=new Yh(new Vh(2)),fd=Wh.setInt8;ld.setInt8(0,2147483648),ld.setInt8(1,2147483649),!ld.getInt8(0)&&ld.getInt8(1)||Ol(Wh,{setInt8:function t(e,n){fd.call(this,e,n<<24>>24)},setUint8:function t(e,n){fd.call(this,e,n<<24>>24)}},{unsafe:!0})}else Vh=function t(e){Cl(this,Vh,zh);var n=kh(e);jh(this,{bytes:wi.call(new Array(n),0),byteLength:n}),d||(this.byteLength=n)},Yh=function t(e,n,r){Cl(this,Yh,Dh),Cl(e,Vh,Dh);var i=Rh(e).byteLength,a=_t(n);if(a<0||i<a)throw $h("Wrong offset");if(i<a+(r=void 0===r?i-a:yt(r)))throw $h(qh);jh(this,{buffer:e,byteLength:r,byteOffset:a}),d||(this.buffer=e,this.byteLength=r,this.byteOffset=a)},d&&(rd(Vh,"byteLength"),rd(Yh,"buffer"),rd(Yh,"byteLength"),rd(Yh,"byteOffset")),Ol(Yh[Uh],{getInt8:function t(e){return id(this,1,e)[0]<<24>>24},getUint8:function t(e){return id(this,1,e)[0]},getInt16:function t(e,n){var r=id(this,2,e,1<arguments.length?n:void 0);return(r[1]<<8|r[0])<<16>>16},getUint16:function t(e,n){var r=id(this,2,e,1<arguments.length?n:void 0);return r[1]<<8|r[0]},getInt32:function t(e,n){return td(id(this,4,e,1<arguments.length?n:void 0))},getUint32:function t(e,n){return td(id(this,4,e,1<arguments.length?n:void 0))>>>0},getFloat32:function t(e,n){return Zh(id(this,4,e,1<arguments.length?n:void 0),23)},getFloat64:function t(e,n){return Zh(id(this,8,e,1<arguments.length?n:void 0),52)},setInt8:function t(e,n){ad(this,1,e,Kh,n)},setUint8:function t(e,n){ad(this,1,e,Kh,n)},setInt16:function t(e,n,r){ad(this,2,e,Qh,n,2<arguments.length?r:void 0)},setUint16:function t(e,n,r){ad(this,2,e,Qh,n,2<arguments.length?r:void 0)},setInt32:function t(e,n,r){ad(this,4,e,Jh,n,2<arguments.length?r:void 0)},setUint32:function t(e,n,r){ad(this,4,e,Jh,n,2<arguments.length?r:void 0)},setFloat32:function t(e,n,r){ad(this,4,e,ed,n,2<arguments.length?r:void 0)},setFloat64:function t(e,n,r){ad(this,8,e,nd,n,2<arguments.length?r:void 0)}});Ae(Vh,zh),Ae(Yh,Dh);var hd={ArrayBuffer:Vh,DataView:Yh},dd="ArrayBuffer",pd=hd[dd],gd=L[dd];Bt({global:!0,forced:gd!==pd},{ArrayBuffer:pd}),ja(dd);var _d=j.f,vd=L.Int8Array,yd=vd&&vd.prototype,md=L.Uint8ClampedArray,bd=md&&md.prototype,xd=vd&&ar(vd),wd=yd&&ar(yd),kd=Object.prototype,Ad=kd.isPrototypeOf,Md=ve("toStringTag"),Sd=$("TYPED_ARRAY_TAG"),Ed=wh&&!!wr&&"Opera"!==Yn(L.opera),Td=!1,Od,Cd={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Id=function t(e){var n=Yn(e);return"DataView"===n||F(Cd,n)},Ld=function(t){return N(t)&&F(Cd,Yn(t))},Nd=function(t){if(Ld(t))return t;throw TypeError("Target is not a typed array")},Pd=function(t){if(wr){if(Ad.call(xd,t))return t}else for(var e in Cd)if(F(Cd,Od)){var n=L[e];if(n&&(t===n||Ad.call(n,t)))return t}throw TypeError("Target is not a typed array constructor")},Fd=function(t,e,n){if(d){if(n)for(var r in Cd){var i=L[r];i&&F(i.prototype,t)&&delete i.prototype[t]}wd[t]&&!n||lt(wd,t,n?e:Ed&&yd[t]||e)}},Rd=function(t,e,n){var r,i;if(d){if(wr){if(n)for(r in Cd)(i=L[r])&&F(i,t)&&delete i[t];if(xd[t]&&!n)return;try{return lt(xd,t,n?e:Ed&&vd[t]||e)}catch(t){}}for(r in Cd)!(i=L[r])||i[t]&&!n||lt(i,t,e)}};for(Od in Cd)L[Od]||(Ed=!1);if((!Ed||"function"!=typeof xd||xd===Function.prototype)&&(xd=function t(){throw TypeError("Incorrect invocation")},Ed))for(Od in Cd)L[Od]&&wr(L[Od],xd);if((!Ed||!wd||wd===kd)&&(wd=xd.prototype,Ed))for(Od in Cd)L[Od]&&wr(L[Od].prototype,wd);if(Ed&&ar(bd)!==wd&&wr(bd,wd),d&&!F(wd,Md))for(Od in Td=!0,_d(wd,Md,{get:function(){return N(this)?this[Sd]:void 0}}),Cd)L[Od]&&z(L[Od],Sd,Od);var jd={NATIVE_ARRAY_BUFFER_VIEWS:Ed,TYPED_ARRAY_TAG:Td&&Sd,aTypedArray:Nd,aTypedArrayConstructor:Pd,exportTypedArrayMethod:Fd,exportTypedArrayStaticMethod:Rd,isView:Id,isTypedArray:Ld,TypedArray:xd,TypedArrayPrototype:wd},zd;Bt({target:"ArrayBuffer",stat:!0,forced:!jd.NATIVE_ARRAY_BUFFER_VIEWS},{isView:jd.isView});var Dd=hd.ArrayBuffer,Ud=hd.DataView,qd=Dd.prototype.slice,Bd=_(function(){return!new Dd(2).slice(1,void 0).byteLength});Bt({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:Bd},{slice:function t(e,n){if(void 0!==qd&&void 0===n)return qd.call(E(this),e);for(var r=E(this).byteLength,i=xt(e,r),a=xt(void 0===n?r:n,r),o=new(Zo(this,Dd))(yt(a-i)),s=new Ud(this),c=new Ud(o),u=0;i<a;)c.setUint8(u++,s.getUint8(i++));return o}}),Bt({global:!0,forced:!wh},{DataView:hd.DataView});var Hd=jd.NATIVE_ARRAY_BUFFER_VIEWS,Vd=L.ArrayBuffer,Yd=L.Int8Array,Wd=!Hd||!_(function(){Yd(1)})||!_(function(){new Yd(-1)})||!Vr(function(t){new Yd,new Yd(null),new Yd(1.5),new Yd(t)},!0)||_(function(){return 1!==new Yd(new Vd(2),1,void 0).length}),Gd=function(t){var e=_t(t);if(e<0)throw RangeError("The argument can't be less than 0");return e},$d=function(t,e){var n=Gd(t);if(n%e)throw RangeError("Wrong offset");return n},Xd=jd.aTypedArrayConstructor,Zd=function t(e,n,r){var i=Wt(e),a=arguments.length,o=1<a?n:void 0,s=void 0!==o,c=Gn(i),u,l,f,h,d,p;if(null!=c&&!zn(c))for(p=(d=c.call(i)).next,i=[];!(h=p.call(d)).done;)i.push(h.value);for(s&&2<a&&(o=Se(o,r,2)),l=yt(i.length),f=new(Xd(this))(l),u=0;u<l;u++)f[u]=s?o(i[u],u):i[u];return f},Kd=n(function(t){var p=Ot.f,g=Ie.forEach,_=ut.get,v=ut.set,y=j.f,r=R.f,m=Math.round,b=L.RangeError,x=hd.ArrayBuffer,w=hd.DataView,k=jd.NATIVE_ARRAY_BUFFER_VIEWS,A=jd.TYPED_ARRAY_TAG,M=jd.TypedArray,S=jd.TypedArrayPrototype,a=jd.aTypedArrayConstructor,E=jd.isTypedArray,T="BYTES_PER_ELEMENT",O="Wrong length",C=function(t,e){for(var n=0,r=e.length,i=new(a(t))(r);n<r;)i[n]=e[n++];return i},e=function(t,e){y(t,e,{get:function(){return _(this)[e]}})},I=function(t){var e;return t instanceof x||"ArrayBuffer"==(e=Yn(t))||"SharedArrayBuffer"==e},i=function(t,e){return E(t)&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},n=function t(e,n){return i(e,n=P(n,!0))?u(2,e[n]):r(e,n)},o=function t(e,n,r){return!(i(e,n=P(n,!0))&&N(r)&&F(r,"value"))||F(r,"get")||F(r,"set")||r.configurable||F(r,"writable")&&!r.writable||F(r,"enumerable")&&!r.enumerable?y(e,n,r):(e[n]=r.value,e)};d?(k||(R.f=n,j.f=o,e(S,"buffer"),e(S,"byteOffset"),e(S,"byteLength"),e(S,"length")),Bt({target:"Object",stat:!0,forced:!k},{getOwnPropertyDescriptor:n,defineProperty:o}),t.exports=function(t,e,i){var l=t.match(/\d+$/)[0]/8,f=t+(i?"Clamped":"")+"Array",r="get"+t,a="set"+t,o=L[f],h=o,n=h&&h.prototype,s={},c=function(t,e){var n=_(t);return n.view[r](e*l+n.byteOffset,!0)},u=function(t,e,n){var r=_(t);i&&(n=(n=m(n))<0?0:255<n?255:255&n),r.view[a](e*l+r.byteOffset,n,!0)},d=function(t,e){y(t,e,{get:function(){return c(this,e)},set:function(t){return u(this,e,t)},enumerable:!0})};k?Wd&&(h=e(function(t,e,n,r){return Cl(t,h,f),tc(N(e)?I(e)?void 0!==r?new o(e,$d(n,l),r):void 0!==n?new o(e,$d(n,l)):new o(e):E(e)?C(h,e):Zd.call(h,e):new o(kh(e)),t,h)}),wr&&wr(h,M),g(p(o),function(t){t in h||z(h,t,o[t])}),h.prototype=n):(h=e(function(t,e,n,r){Cl(t,h,f);var i=0,a=0,o,s,c;if(N(e)){if(!I(e))return E(e)?C(h,e):Zd.call(h,e);o=e,a=$d(n,l);var u=e.byteLength;if(void 0===r){if(u%l)throw b(O);if((s=u-a)<0)throw b(O)}else if(u<(s=yt(r)*l)+a)throw b(O);c=s/l}else c=kh(e),o=new x(s=c*l);for(v(t,{buffer:o,byteOffset:a,byteLength:s,length:c,view:new w(o)});i<c;)d(t,i++)}),wr&&wr(h,M),n=h.prototype=se(S)),n.constructor!==h&&z(n,"constructor",h),A&&z(n,A,f),s[f]=h,Bt({global:!0,forced:h!=o,sham:!k},s),T in h||z(h,T,l),T in n||z(n,T,l),ja(f)}):t.exports=function(){}}),Qd;Kd("Int8",function(i){return function t(e,n,r){return i(this,e,n,r)}}),Kd("Uint8",function(i){return function t(e,n,r){return i(this,e,n,r)}}),Kd("Uint8",function(i){return function t(e,n,r){return i(this,e,n,r)}},!0),Kd("Int16",function(i){return function t(e,n,r){return i(this,e,n,r)}}),Kd("Uint16",function(i){return function t(e,n,r){return i(this,e,n,r)}}),Kd("Int32",function(i){return function t(e,n,r){return i(this,e,n,r)}}),Kd("Uint32",function(i){return function t(e,n,r){return i(this,e,n,r)}}),Kd("Float32",function(i){return function t(e,n,r){return i(this,e,n,r)}}),Kd("Float64",function(i){return function t(e,n,r){return i(this,e,n,r)}}),(0,jd.exportTypedArrayStaticMethod)("from",Zd,Wd);var Jd=jd.aTypedArrayConstructor,tp;(0,jd.exportTypedArrayStaticMethod)("of",function t(){for(var e=0,n=arguments.length,r=new(Jd(this))(n);e<n;)r[e]=arguments[e++];return r},Wd);var ep=jd.aTypedArray,np;(0,jd.exportTypedArrayMethod)("copyWithin",function t(e,n,r){return li.call(ep(this),e,n,2<arguments.length?r:void 0)});var rp=Ie.every,ip=jd.aTypedArray,ap;(0,jd.exportTypedArrayMethod)("every",function t(e,n){return rp(ip(this),e,1<arguments.length?n:void 0)});var op=jd.aTypedArray,sp;(0,jd.exportTypedArrayMethod)("fill",function t(e){return wi.apply(op(this),arguments)});var cp=Ie.filter,up=jd.aTypedArray,lp=jd.aTypedArrayConstructor,fp;(0,jd.exportTypedArrayMethod)("filter",function t(e,n){for(var r=cp(up(this),e,1<arguments.length?n:void 0),i=Zo(this,this.constructor),a=0,o=r.length,s=new(lp(i))(o);a<o;)s[a]=r[a++];return s});var hp=Ie.find,dp=jd.aTypedArray,pp;(0,jd.exportTypedArrayMethod)("find",function t(e,n){return hp(dp(this),e,1<arguments.length?n:void 0)});var gp=Ie.findIndex,_p=jd.aTypedArray,vp;(0,jd.exportTypedArrayMethod)("findIndex",function t(e,n){return gp(_p(this),e,1<arguments.length?n:void 0)});var yp=Ie.forEach,mp=jd.aTypedArray,bp;(0,jd.exportTypedArrayMethod)("forEach",function t(e,n){yp(mp(this),e,1<arguments.length?n:void 0)});var xp=kt.includes,wp=jd.aTypedArray,kp;(0,jd.exportTypedArrayMethod)("includes",function t(e,n){return xp(wp(this),e,1<arguments.length?n:void 0)});var Ap=kt.indexOf,Mp=jd.aTypedArray,Sp;(0,jd.exportTypedArrayMethod)("indexOf",function t(e,n){return Ap(Mp(this),e,1<arguments.length?n:void 0)});var Ep=ve("iterator"),Tp=L.Uint8Array,Op=ao.values,Cp=ao.keys,Ip=ao.entries,Lp=jd.aTypedArray,Np=jd.exportTypedArrayMethod,Pp=Tp&&Tp.prototype[Ep],Fp=!!Pp&&("values"==Pp.name||null==Pp.name),Rp=function t(){return Op.call(Lp(this))};Np("entries",function t(){return Ip.call(Lp(this))}),Np("keys",function t(){return Cp.call(Lp(this))}),Np("values",Rp,!Fp),Np(Ep,Rp,!Fp);var jp=jd.aTypedArray,zp,Dp=[].join;(0,jd.exportTypedArrayMethod)("join",function t(e){return Dp.apply(jp(this),arguments)});var Up=jd.aTypedArray,qp;(0,jd.exportTypedArrayMethod)("lastIndexOf",function t(e){return na.apply(Up(this),arguments)});var Bp=Ie.map,Hp=jd.aTypedArray,Vp=jd.aTypedArrayConstructor,Yp;(0,jd.exportTypedArrayMethod)("map",function t(e,n){return Bp(Hp(this),e,1<arguments.length?n:void 0,function(t,e){return new(Vp(Zo(t,t.constructor)))(e)})});var Wp=sa.left,Gp=jd.aTypedArray,$p;(0,jd.exportTypedArrayMethod)("reduce",function t(e,n){return Wp(Gp(this),e,arguments.length,1<arguments.length?n:void 0)});var Xp=sa.right,Zp=jd.aTypedArray,Kp;(0,jd.exportTypedArrayMethod)("reduceRight",function t(e,n){return Xp(Zp(this),e,arguments.length,1<arguments.length?n:void 0)});var Qp=jd.aTypedArray,Jp=jd.exportTypedArrayMethod,tg=Math.floor;Jp("reverse",function t(){for(var e=this,n=Qp(e).length,r=tg(n/2),i=0,a;i<r;)a=e[i],e[i++]=e[--n],e[n]=a;return e});var eg=jd.aTypedArray,ng,rg;(0,jd.exportTypedArrayMethod)("set",function t(e,n){eg(this);var r=$d(1<arguments.length?n:void 0,1),i=this.length,a=Wt(e),o=yt(a.length),s=0;if(i<o+r)throw RangeError("Wrong length");for(;s<o;)this[r+s]=a[s++]},_(function(){new Int8Array(1).set({})}));var ig=jd.aTypedArray,ag=jd.aTypedArrayConstructor,og,sg=[].slice,cg;(0,jd.exportTypedArrayMethod)("slice",function t(e,n){for(var r=sg.call(ig(this),e,n),i=Zo(this,this.constructor),a=0,o=r.length,s=new(ag(i))(o);a<o;)s[a]=r[a++];return s},_(function(){new Int8Array(1).slice()}));var ug=Ie.some,lg=jd.aTypedArray,fg;(0,jd.exportTypedArrayMethod)("some",function t(e,n){return ug(lg(this),e,1<arguments.length?n:void 0)});var hg=jd.aTypedArray,dg,pg=[].sort;(0,jd.exportTypedArrayMethod)("sort",function t(e){return pg.call(hg(this),e)});var gg=jd.aTypedArray,_g;(0,jd.exportTypedArrayMethod)("subarray",function t(e,n){var r=gg(this),i=r.length,a=xt(e,i);return new(Zo(r,r.constructor))(r.buffer,r.byteOffset+a*r.BYTES_PER_ELEMENT,yt((void 0===n?i:xt(n,i))-a))});var vg=L.Int8Array,yg=jd.aTypedArray,mg=jd.exportTypedArrayMethod,bg=[].toLocaleString,xg=[].slice,wg=!!vg&&_(function(){bg.call(new vg(1))}),kg;mg("toLocaleString",function t(){return bg.apply(wg?xg.call(yg(this)):yg(this),arguments)},_(function(){return[1,2].toLocaleString()!=new vg([1,2]).toLocaleString()})||!_(function(){vg.prototype.toLocaleString.call([1,2])}));var Ag=jd.exportTypedArrayMethod,Mg=L.Uint8Array,Sg=Mg&&Mg.prototype||{},Eg=[].toString,Tg=[].join,Og;_(function(){Eg.call({})})&&(Eg=function t(){return Tg.call(this)}),Ag("toString",Eg,Sg.toString!=Eg);var Cg=dt("Reflect","apply"),Ig=Function.apply,Lg=!_(function(){Cg(function(){})});Bt({target:"Reflect",stat:!0,forced:Lg},{apply:function t(e,n,r){return Me(e),E(r),Cg?Cg(e,n,r):Ig.call(e,n,r)}});var Ng=dt("Reflect","construct"),Pg=_(function(){function t(){}return!(Ng(function(){},[],t)instanceof t)}),Fg=!_(function(){Ng(function(){})}),Rg=Pg||Fg;Bt({target:"Reflect",stat:!0,forced:Rg,sham:Rg},{construct:function t(e,n,r){Me(e),E(n);var i=arguments.length<3?e:Me(r);if(Fg&&!Pg)return Ng(e,n,i);if(e==i){switch(n.length){case 0:return new e;case 1:return new e(n[0]);case 2:return new e(n[0],n[1]);case 3:return new e(n[0],n[1],n[2]);case 4:return new e(n[0],n[1],n[2],n[3])}var a=[null];return a.push.apply(a,n),new(Ir.apply(e,a))}var o=i.prototype,s=se(N(o)?o:Object.prototype),c=Function.apply.call(e,s,n);return N(c)?c:s}});var jg=_(function(){Reflect.defineProperty(j.f({},1,{value:1}),1,{value:2})});Bt({target:"Reflect",stat:!0,forced:jg,sham:!d},{defineProperty:function t(e,n,r){E(e);var i=P(n,!0);E(r);try{return j.f(e,i,r),!0}catch(t){return!1}}});var zg=R.f;function Dg(t,e){var n=arguments.length<3?t:arguments[2],r,i;return E(t)===n?t[e]:(r=R.f(t,e))?F(r,"value")?r.value:void 0===r.get?void 0:r.get.call(n):N(i=ar(t))?Dg(i,e,n):void 0}Bt({target:"Reflect",stat:!0},{deleteProperty:function t(e,n){var r=zg(E(e),n);return!(r&&!r.configurable)&&delete e[n]}}),Bt({target:"Reflect",stat:!0},{get:Dg}),Bt({target:"Reflect",stat:!0,sham:!d},{getOwnPropertyDescriptor:function t(e,n){return R.f(E(e),n)}}),Bt({target:"Reflect",stat:!0,sham:!nr},{getPrototypeOf:function t(e){return ar(E(e))}}),Bt({target:"Reflect",stat:!0},{has:function t(e,n){return n in e}});var Ug=Object.isExtensible;function qg(t,e,n){var r=arguments.length<4?t:arguments[3],i=R.f(E(t),e),a,o;if(!i){if(N(o=ar(t)))return qg(o,e,n,r);i=u(0)}if(F(i,"value")){if(!1===i.writable||!N(r))return!1;if(a=R.f(r,e)){if(a.get||a.set||!1===a.writable)return!1;a.value=n,j.f(r,e,a)}else j.f(r,e,u(0,n));return!0}return void 0!==i.set&&(i.set.call(r,n),!0)}Bt({target:"Reflect",stat:!0},{isExtensible:function t(e){return E(e),!Ug||Ug(e)}}),Bt({target:"Reflect",stat:!0},{ownKeys:Lt}),Bt({target:"Reflect",stat:!0,sham:!Sn},{preventExtensions:function t(e){E(e);try{var n=dt("Object","preventExtensions");return n&&n(e),!0}catch(t){return!1}}});var Bg=_(function(){var t=j.f({},"a",{configurable:!0});return!1!==Reflect.set(ar(t),"a",1,t)});Bt({target:"Reflect",stat:!0,forced:Bg},{set:qg}),wr&&Bt({target:"Reflect",stat:!0},{setPrototypeOf:function t(e,n){E(e),xr(n);try{return wr(e,n),!0}catch(t){return!1}}});var Hg={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};for(var Vg in Hg){var Yg=L[Vg],Wg=Yg&&Yg.prototype;if(Wg&&Wg.forEach!==Di)try{z(Wg,"forEach",Di)}catch(t){Wg.forEach=Di}}var Gg=ve("iterator"),$g=ve("toStringTag"),Xg=ao.values;for(var Zg in Hg){var Kg=L[Zg],Qg=Kg&&Kg.prototype;if(Qg){if(Qg[Gg]!==Xg)try{z(Qg,Gg,Xg)}catch(t){Qg[Gg]=Xg}if(Qg[$g]||z(Qg,$g,Zg),Hg[Zg])for(var Jg in ao)if(Qg[Jg]!==ao[Jg])try{z(Qg,Jg,ao[Jg])}catch(t){Qg[Jg]=ao[Jg]}}}var t_=!L.setImmediate||!L.clearImmediate;Bt({global:!0,bind:!0,enumerable:!0,forced:t_},{setImmediate:$l.set,clearImmediate:$l.clear});var e_=L.process,n_="process"==f(e_);Bt({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function t(e){var n=n_&&e_.domain;hf(n?n.bind(e):e)}});var r_=[].slice,i_=/MSIE .\./.test(Gr),a_=function(i){return function(t,e){var n=2<arguments.length,r=n?r_.call(arguments,2):void 0;return i(n?function(){("function"==typeof t?t:Function(t)).apply(this,r)}:t,e)}};Bt({global:!0,bind:!0,forced:i_},{setTimeout:a_(L.setTimeout),setInterval:a_(L.setInterval)});var o_=ve("iterator"),s_=!_(function(){var t=new URL("b?a=1&b=2&c=3","http://a"),n=t.searchParams,r="";return t.pathname="c%20d",n.forEach(function(t,e){n.delete("b"),r+=e+t}),!n.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==n.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!n[o_]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}),c_=2147483647,u_=36,l_=1,f_=26,h_=38,d_=700,p_=72,g_=128,__="-",v_=/[^\0-\u007E]/,y_=/[.\u3002\uFF0E\uFF61]/g,m_="Overflow: input needs wider integers to process",b_=35,x_=Math.floor,w_=String.fromCharCode,k_=function(t){for(var e=[],n=0,r=t.length;n<r;){var i=t.charCodeAt(n++);if(55296<=i&&i<=56319&&n<r){var a=t.charCodeAt(n++);56320==(64512&a)?e.push(((1023&i)<<10)+(1023&a)+65536):(e.push(i),n--)}else e.push(i)}return e},A_=function(t){return t+22+75*(t<26)},M_=function(t,e,n){var r=0;for(t=n?x_(t/d_):t>>1,t+=x_(t/e);455<t;r+=36)t=x_(t/35);return x_(r+36*t/(t+38))},S_=function(t){var e=[],n=(t=k_(t)).length,r=g_,i=0,a=72,o,s;for(o=0;o<t.length;o++)(s=t[o])<128&&e.push(w_(s));var c=e.length,u=c;for(c&&e.push(__);u<n;){var l=c_;for(o=0;o<t.length;o++)r<=(s=t[o])&&s<l&&(l=s);var f=u+1;if(l-r>x_((c_-i)/f))throw RangeError(m_);for(i+=(l-r)*f,r=l,o=0;o<t.length;o++){if((s=t[o])<r&&++i>c_)throw RangeError(m_);if(s==r){for(var h=i,d=36;;d+=36){var p=d<=a?1:a+26<=d?26:d-a;if(h<p)break;var g=h-p,_=36-p;e.push(w_(A_(p+g%_))),h=x_(g/_)}e.push(w_(A_(h))),a=M_(i,f,u==c),i=0,++u}}++i,++r}return e.join("")},E_=function(t){var e=[],n=t.toLowerCase().replace(y_,".").split("."),r,i;for(r=0;r<n.length;r++)i=n[r],e.push(v_.test(i)?"xn--"+S_(i):i);return e.join(".")},T_=function(t){var e=Gn(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return E(e.call(t))},O_=dt("fetch"),C_=dt("Headers"),I_=ve("iterator"),L_="URLSearchParams",N_=L_+"Iterator",P_=ut.set,F_=ut.getterFor(L_),R_=ut.getterFor(N_),j_=/\+/g,z_=Array(4),D_=function(t){return z_[t-1]||(z_[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},U_=function(e){try{return decodeURIComponent(e)}catch(t){return e}},q_=function(t){var e=t.replace(j_," "),n=4;try{return decodeURIComponent(e)}catch(t){for(;n;)e=e.replace(D_(n--),U_);return e}},B_=/[!'()~]|%20/g,H_={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},V_=function(t){return H_[t]},Y_=function(t){return encodeURIComponent(t).replace(B_,V_)},W_=function(t,e){if(e)for(var n=e.split("&"),r=0,i,a;r<n.length;)(i=n[r++]).length&&(a=i.split("="),t.push({key:q_(a.shift()),value:q_(a.join("="))}))},G_=function(t){this.entries.length=0,W_(this.entries,t)},$_=function(t,e){if(t<e)throw TypeError("Not enough arguments")},X_=Ga(function t(e,n){P_(this,{type:N_,iterator:T_(F_(e).entries),kind:n})},"Iterator",function t(){var e=R_(this),n=e.kind,r=e.iterator.next(),i=r.value;return r.done||(r.value="keys"===n?i.key:"values"===n?i.value:[i.key,i.value]),r}),Z_=function t(e){Cl(this,Z_,L_);var n=0<arguments.length?e:void 0,r,i=[],a,o,s,c,u,l,f,h,d;if(P_(this,{type:L_,entries:i,updateURL:function(){},updateSearchParams:G_}),void 0!==n)if(N(n))if("function"==typeof(a=Gn(n)))for(s=(o=a.call(n)).next;!(c=s.call(o)).done;){if((f=(l=(u=T_(E(c.value))).next).call(u)).done||(h=l.call(u)).done||!l.call(u).done)throw TypeError("Expected sequence with length 2");i.push({key:f.value+"",value:h.value+""})}else for(d in n)F(n,d)&&i.push({key:d,value:n[d]+""});else W_(i,"string"==typeof n?"?"===n.charAt(0)?n.slice(1):n:n+"")},K_=Z_.prototype;Ol(K_,{append:function t(e,n){$_(arguments.length,2);var r=F_(this);r.entries.push({key:e+"",value:n+""}),r.updateURL()},delete:function(t){$_(arguments.length,1);for(var e=F_(this),n=e.entries,r=t+"",i=0;i<n.length;)n[i].key===r?n.splice(i,1):i++;e.updateURL()},get:function t(e){$_(arguments.length,1);for(var n=F_(this).entries,r=e+"",i=0;i<n.length;i++)if(n[i].key===r)return n[i].value;return null},getAll:function t(e){$_(arguments.length,1);for(var n=F_(this).entries,r=e+"",i=[],a=0;a<n.length;a++)n[a].key===r&&i.push(n[a].value);return i},has:function t(e){$_(arguments.length,1);for(var n=F_(this).entries,r=e+"",i=0;i<n.length;)if(n[i++].key===r)return!0;return!1},set:function t(e,n){$_(arguments.length,1);for(var r=F_(this),i=r.entries,a=!1,o=e+"",s=n+"",c=0,u;c<i.length;c++)(u=i[c]).key===o&&(a?i.splice(c--,1):(a=!0,u.value=s));a||i.push({key:o,value:s}),r.updateURL()},sort:function t(){var e=F_(this),n=e.entries,r=n.slice(),i,a,o;for(o=n.length=0;o<r.length;o++){for(i=r[o],a=0;a<o;a++)if(n[a].key>i.key){n.splice(a,0,i);break}a===o&&n.push(i)}e.updateURL()},forEach:function t(e,n){for(var r=F_(this).entries,i=Se(e,1<arguments.length?n:void 0,3),a=0,o;a<r.length;)i((o=r[a++]).value,o.key,this)},keys:function t(){return new X_(this,"keys")},values:function t(){return new X_(this,"values")},entries:function t(){return new X_(this,"entries")}},{enumerable:!0}),lt(K_,I_,K_.entries),lt(K_,"toString",function t(){for(var e=F_(this).entries,n=[],r=0,i;r<e.length;)i=e[r++],n.push(Y_(i.key)+"="+Y_(i.value));return n.join("&")},{enumerable:!0}),Ae(Z_,L_),Bt({global:!0,forced:!s_},{URLSearchParams:Z_}),s_||"function"!=typeof O_||"function"!=typeof C_||Bt({global:!0,enumerable:!0,forced:!0},{fetch:function t(e,n){var r=[e],i,a,o;return 1<arguments.length&&(N(i=n)&&(a=i.body,Yn(a)===L_&&((o=i.headers?new C_(i.headers):new C_).has("content-type")||o.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),i=se(i,{body:u(0,String(a)),headers:u(0,o)}))),r.push(i)),O_.apply(this,r)}});var Q_={URLSearchParams:Z_,getState:F_},J_=lo.codeAt,tv=L.URL,ev=Q_.URLSearchParams,nv=Q_.getState,rv=ut.set,iv=ut.getterFor("URL"),av=Math.floor,ov=Math.pow,sv="Invalid authority",cv="Invalid scheme",uv="Invalid host",lv="Invalid port",fv=/[A-Za-z]/,hv=/[\d+\-.A-Za-z]/,dv=/\d/,pv=/^(0x|0X)/,gv=/^[0-7]+$/,_v=/^\d+$/,vv=/^[\dA-Fa-f]+$/,yv=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,mv=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,bv=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,xv=/[\u0009\u000A\u000D]/g,wv,kv=function(t,e){var n,r,i;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return uv;if(!(n=Mv(e.slice(1,-1))))return uv;t.host=n}else if(Pv(t)){if(e=E_(e),yv.test(e))return uv;if(null===(n=Av(e)))return uv;t.host=n}else{if(mv.test(e))return uv;for(n="",r=Dr(e),i=0;i<r.length;i++)n+=Lv(r[i],Tv);t.host=n}},Av=function(t){var e=t.split("."),n,r,i,a,o,s,c;if(e.length&&""==e[e.length-1]&&e.pop(),4<(n=e.length))return t;for(r=[],i=0;i<n;i++){if(""==(a=e[i]))return t;if(o=10,1<a.length&&"0"==a.charAt(0)&&(o=pv.test(a)?16:8,a=a.slice(8==o?1:2)),""===a)s=0;else{if(!(10==o?_v:8==o?gv:vv).test(a))return t;s=parseInt(a,o)}r.push(s)}for(i=0;i<n;i++)if(s=r[i],i==n-1){if(s>=ov(256,5-n))return null}else if(255<s)return null;for(c=r.pop(),i=0;i<r.length;i++)c+=r[i]*ov(256,3-i);return c},Mv=function(t){var e=[0,0,0,0,0,0,0,0],n=0,r=null,i=0,a,o,s,c,u,l,f,h=function(){return t.charAt(i)};if(":"==h()){if(":"!=t.charAt(1))return;i+=2,r=++n}for(;h();){if(8==n)return;if(":"!=h()){for(a=o=0;o<4&&vv.test(h());)a=16*a+parseInt(h(),16),i++,o++;if("."==h()){if(0==o)return;if(i-=o,6<n)return;for(s=0;h();){if(c=null,0<s){if(!("."==h()&&s<4))return;i++}if(!dv.test(h()))return;for(;dv.test(h());){if(u=parseInt(h(),10),null===c)c=u;else{if(0==c)return;c=10*c+u}if(255<c)return;i++}e[n]=256*e[n]+c,2!=++s&&4!=s||n++}if(4!=s)return;break}if(":"==h()){if(i++,!h())return}else if(h())return;e[n++]=a}else{if(null!==r)return;i++,r=++n}}if(null!==r)for(l=n-r,n=7;0!=n&&0<l;)f=e[n],e[n--]=e[r+l-1],e[r+--l]=f;else if(8!=n)return;return e},Sv=function(t){for(var e=null,n=1,r=null,i=0,a=0;a<8;a++)0!==t[a]?(n<i&&(e=r,n=i),r=null,i=0):(null===r&&(r=a),++i);return n<i&&(e=r,n=i),e},Ev=function(t){var e,n,r,i;if("number"==typeof t){for(e=[],n=0;n<4;n++)e.unshift(t%256),t=av(t/256);return e.join(".")}if("object"!=typeof t)return t;for(e="",r=Sv(t),n=0;n<8;n++)i&&0===t[n]||(i=i&&!1,r===n?(e+=n?":":"::",i=!0):(e+=t[n].toString(16),n<7&&(e+=":")));return"["+e+"]"},Tv={},Ov=xn({},Tv,{" ":1,'"':1,"<":1,">":1,"`":1}),Cv=xn({},Ov,{"#":1,"?":1,"{":1,"}":1}),Iv=xn({},Cv,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Lv=function(t,e){var n=J_(t,0);return 32<n&&n<127&&!F(e,t)?t:encodeURIComponent(t)},Nv={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Pv=function(t){return F(Nv,t.scheme)},Fv=function(t){return""!=t.username||""!=t.password},Rv=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},jv=function(t,e){var n;return 2==t.length&&fv.test(t.charAt(0))&&(":"==(n=t.charAt(1))||!e&&"|"==n)},zv=function(t){var e;return 1<t.length&&jv(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},Dv=function(t){var e=t.path,n=e.length;!n||"file"==t.scheme&&1==n&&jv(e[0],!0)||e.pop()},Uv=function(t){return"."===t||"%2e"===t.toLowerCase()},qv=function(t){return".."===(t=t.toLowerCase())||"%2e."===t||".%2e"===t||"%2e%2e"===t},Bv={},Hv={},Vv={},Yv={},Wv={},Gv={},$v={},Xv={},Zv={},Kv={},Qv={},Jv={},ty={},ey={},ny={},ry={},iy={},ay={},oy={},sy={},cy={},uy=function(t,e,n,r){var i=n||Bv,a=0,o="",s=!1,c=!1,u=!1,l,f,h,d;for(n||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(bv,"")),e=e.replace(xv,""),l=Dr(e);a<=l.length;){switch(f=l[a],i){case Bv:if(!f||!fv.test(f)){if(n)return cv;i=Vv;continue}o+=f.toLowerCase(),i=Hv;break;case Hv:if(f&&(hv.test(f)||"+"==f||"-"==f||"."==f))o+=f.toLowerCase();else{if(":"!=f){if(n)return cv;o="",i=Vv,a=0;continue}if(n&&(Pv(t)!=F(Nv,o)||"file"==o&&(Fv(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=o,n)return void(Pv(t)&&Nv[t.scheme]==t.port&&(t.port=null));o="","file"==t.scheme?i=ey:Pv(t)&&r&&r.scheme==t.scheme?i=Yv:Pv(t)?i=Xv:"/"==l[a+1]?(i=Wv,a++):(t.cannotBeABaseURL=!0,t.path.push(""),i=oy)}break;case Vv:if(!r||r.cannotBeABaseURL&&"#"!=f)return cv;if(r.cannotBeABaseURL&&"#"==f){t.scheme=r.scheme,t.path=r.path.slice(),t.query=r.query,t.fragment="",t.cannotBeABaseURL=!0,i=cy;break}i="file"==r.scheme?ey:Gv;continue;case Yv:if("/"!=f||"/"!=l[a+1]){i=Gv;continue}i=Zv,a++;break;case Wv:if("/"==f){i=Kv;break}i=ay;continue;case Gv:if(t.scheme=r.scheme,f==wv)t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query=r.query;else if("/"==f||"\\"==f&&Pv(t))i=$v;else if("?"==f)t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query="",i=sy;else{if("#"!=f){t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.path.pop(),i=ay;continue}t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query=r.query,t.fragment="",i=cy}break;case $v:if(!Pv(t)||"/"!=f&&"\\"!=f){if("/"!=f){t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,i=ay;continue}i=Kv}else i=Zv;break;case Xv:if(i=Zv,"/"!=f||"/"!=o.charAt(a+1))continue;a++;break;case Zv:if("/"==f||"\\"==f)break;i=Kv;continue;case Kv:if("@"==f){s&&(o="%40"+o),s=!0,h=Dr(o);for(var p=0;p<h.length;p++){var g=h[p];if(":"!=g||u){var _=Lv(g,Iv);u?t.password+=_:t.username+=_}else u=!0}o=""}else if(f==wv||"/"==f||"?"==f||"#"==f||"\\"==f&&Pv(t)){if(s&&""==o)return sv;a-=Dr(o).length+1,o="",i=Qv}else o+=f;break;case Qv:case Jv:if(n&&"file"==t.scheme){i=ry;continue}if(":"!=f||c){if(f==wv||"/"==f||"?"==f||"#"==f||"\\"==f&&Pv(t)){if(Pv(t)&&""==o)return uv;if(n&&""==o&&(Fv(t)||null!==t.port))return;if(d=kv(t,o))return d;if(o="",i=iy,n)return;continue}"["==f?c=!0:"]"==f&&(c=!1),o+=f}else{if(""==o)return uv;if(d=kv(t,o))return d;if(o="",i=ty,n==Jv)return}break;case ty:if(!dv.test(f)){if(f==wv||"/"==f||"?"==f||"#"==f||"\\"==f&&Pv(t)||n){if(""!=o){var v=parseInt(o,10);if(65535<v)return lv;t.port=Pv(t)&&v===Nv[t.scheme]?null:v,o=""}if(n)return;i=iy;continue}return lv}o+=f;break;case ey:if(t.scheme="file","/"==f||"\\"==f)i=ny;else{if(!r||"file"!=r.scheme){i=ay;continue}if(f==wv)t.host=r.host,t.path=r.path.slice(),t.query=r.query;else if("?"==f)t.host=r.host,t.path=r.path.slice(),t.query="",i=sy;else{if("#"!=f){zv(l.slice(a).join(""))||(t.host=r.host,t.path=r.path.slice(),Dv(t)),i=ay;continue}t.host=r.host,t.path=r.path.slice(),t.query=r.query,t.fragment="",i=cy}}break;case ny:if("/"==f||"\\"==f){i=ry;break}r&&"file"==r.scheme&&!zv(l.slice(a).join(""))&&(jv(r.path[0],!0)?t.path.push(r.path[0]):t.host=r.host),i=ay;continue;case ry:if(f==wv||"/"==f||"\\"==f||"?"==f||"#"==f){if(!n&&jv(o))i=ay;else if(""==o){if(t.host="",n)return;i=iy}else{if(d=kv(t,o))return d;if("localhost"==t.host&&(t.host=""),n)return;o="",i=iy}continue}o+=f;break;case iy:if(Pv(t)){if(i=ay,"/"!=f&&"\\"!=f)continue}else if(n||"?"!=f)if(n||"#"!=f){if(f!=wv&&(i=ay,"/"!=f))continue}else t.fragment="",i=cy;else t.query="",i=sy;break;case ay:if(f==wv||"/"==f||"\\"==f&&Pv(t)||!n&&("?"==f||"#"==f)){if(qv(o)?(Dv(t),"/"==f||"\\"==f&&Pv(t)||t.path.push("")):Uv(o)?"/"==f||"\\"==f&&Pv(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&jv(o)&&(t.host&&(t.host=""),o=o.charAt(0)+":"),t.path.push(o)),o="","file"==t.scheme&&(f==wv||"?"==f||"#"==f))for(;1<t.path.length&&""===t.path[0];)t.path.shift();"?"==f?(t.query="",i=sy):"#"==f&&(t.fragment="",i=cy)}else o+=Lv(f,Cv);break;case oy:"?"==f?(t.query="",i=sy):"#"==f?(t.fragment="",i=cy):f!=wv&&(t.path[0]+=Lv(f,Tv));break;case sy:n||"#"!=f?f!=wv&&("'"==f&&Pv(t)?t.query+="%27":t.query+="#"==f?"%23":Lv(f,Tv)):(t.fragment="",i=cy);break;case cy:f!=wv&&(t.fragment+=Lv(f,Ov))}a++}},ly=function t(e,n){var r=Cl(this,ly,"URL"),i=1<arguments.length?n:void 0,a=String(e),o=rv(r,{type:"URL"}),s,c;if(void 0!==i)if(i instanceof ly)s=iv(i);else if(c=uy(s={},String(i)))throw TypeError(c);if(c=uy(o,a,null,s))throw TypeError(c);var u=o.searchParams=new ev,l=nv(u);l.updateSearchParams(o.query),l.updateURL=function(){o.query=String(u)||null},d||(r.href=hy.call(r),r.origin=dy.call(r),r.protocol=py.call(r),r.username=gy.call(r),r.password=_y.call(r),r.host=vy.call(r),r.hostname=yy.call(r),r.port=my.call(r),r.pathname=by.call(r),r.search=xy.call(r),r.searchParams=wy.call(r),r.hash=ky.call(r))},fy=ly.prototype,hy=function(){var t=iv(this),e=t.scheme,n=t.username,r=t.password,i=t.host,a=t.port,o=t.path,s=t.query,c=t.fragment,u=e+":";return null!==i?(u+="//",Fv(t)&&(u+=n+(r?":"+r:"")+"@"),u+=Ev(i),null!==a&&(u+=":"+a)):"file"==e&&(u+="//"),u+=t.cannotBeABaseURL?o[0]:o.length?"/"+o.join("/"):"",null!==s&&(u+="?"+s),null!==c&&(u+="#"+c),u},dy=function(){var t=iv(this),e=t.scheme,n=t.port;if("blob"==e)try{return new URL(e.path[0]).origin}catch(t){return"null"}return"file"!=e&&Pv(t)?e+"://"+Ev(t.host)+(null!==n?":"+n:""):"null"},py=function(){return iv(this).scheme+":"},gy=function(){return iv(this).username},_y=function(){return iv(this).password},vy=function(){var t=iv(this),e=t.host,n=t.port;return null===e?"":null===n?Ev(e):Ev(e)+":"+n},yy=function(){var t=iv(this).host;return null===t?"":Ev(t)},my=function(){var t=iv(this).port;return null===t?"":String(t)},by=function(){var t=iv(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},xy=function(){var t=iv(this).query;return t?"?"+t:""},wy=function(){return iv(this).searchParams},ky=function(){var t=iv(this).fragment;return t?"#"+t:""},Ay=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(d&&$t(fy,{href:Ay(hy,function(t){var e=iv(this),n=String(t),r=uy(e,n);if(r)throw TypeError(r);nv(e.searchParams).updateSearchParams(e.query)}),origin:Ay(dy),protocol:Ay(py,function(t){var e=iv(this);uy(e,String(t)+":",Bv)}),username:Ay(gy,function(t){var e=iv(this),n=Dr(String(t));if(!Rv(e)){e.username="";for(var r=0;r<n.length;r++)e.username+=Lv(n[r],Iv)}}),password:Ay(_y,function(t){var e=iv(this),n=Dr(String(t));if(!Rv(e)){e.password="";for(var r=0;r<n.length;r++)e.password+=Lv(n[r],Iv)}}),host:Ay(vy,function(t){var e=iv(this);e.cannotBeABaseURL||uy(e,String(t),Qv)}),hostname:Ay(yy,function(t){var e=iv(this);e.cannotBeABaseURL||uy(e,String(t),Jv)}),port:Ay(my,function(t){var e=iv(this);Rv(e)||(""==(t=String(t))?e.port=null:uy(e,t,ty))}),pathname:Ay(by,function(t){var e=iv(this);e.cannotBeABaseURL||(e.path=[],uy(e,t+"",iy))}),search:Ay(xy,function(t){var e=iv(this);""==(t=String(t))?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",uy(e,t,sy)),nv(e.searchParams).updateSearchParams(e.query)}),searchParams:Ay(wy),hash:Ay(ky,function(t){var e=iv(this);""!=(t=String(t))?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",uy(e,t,cy)):e.fragment=null})}),lt(fy,"toJSON",function t(){return hy.call(this)},{enumerable:!0}),lt(fy,"toString",function t(){return hy.call(this)},{enumerable:!0}),tv){var My=tv.createObjectURL,Sy=tv.revokeObjectURL;My&<(ly,"createObjectURL",function t(e){return My.apply(tv,arguments)}),Sy&<(ly,"revokeObjectURL",function t(e){return Sy.apply(tv,arguments)})}Ae(ly,"URL"),Bt({global:!0,forced:!s_,sham:!d},{URL:ly}),Bt({target:"URL",proto:!0,enumerable:!0},{toJSON:function t(){return URL.prototype.toString.call(this)}});var Ey=n(function(t){var e=function(o){var t=Object.prototype,l=t.hasOwnProperty,c,e="function"==typeof Symbol?Symbol:{},i=e.iterator||"@@iterator",n=e.asyncIterator||"@@asyncIterator",r=e.toStringTag||"@@toStringTag";function s(t,e,n,r){var i=e&&e.prototype instanceof u?e:u,a=Object.create(i.prototype),o=new T(r||[]);return a._invoke=A(t,n,o),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}o.wrap=s;var h="suspendedStart",d="suspendedYield",p="executing",g="completed",_={};function u(){}function a(){}function v(){}var y={};y[i]=function(){return this};var m=Object.getPrototypeOf,b=m&&m(m(O([])));b&&b!==t&&l.call(b,i)&&(y=b);var x=v.prototype=u.prototype=Object.create(y);function w(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function k(s,c){function u(t,e,n,r){var i=f(s[t],s,e);if("throw"!==i.type){var a=i.arg,o=a.value;return o&&"object"==typeof o&&l.call(o,"__await")?c.resolve(o.__await).then(function(t){u("next",t,n,r)},function(t){u("throw",t,n,r)}):c.resolve(o).then(function(t){a.value=t,n(a)},function(t){return u("throw",t,n,r)})}r(i.arg)}var e;function t(n,r){function t(){return new c(function(t,e){u(n,r,t,e)})}return e=e?e.then(t,t):t()}this._invoke=t}function A(o,s,c){var u=h;return function t(e,n){if(u===p)throw new Error("Generator is already running");if(u===g){if("throw"===e)throw n;return C()}for(c.method=e,c.arg=n;;){var r=c.delegate;if(r){var i=M(r,c);if(i){if(i===_)continue;return i}}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(u===h)throw u=g,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);u=p;var a=f(o,s,c);if("normal"===a.type){if(u=c.done?g:d,a.arg===_)continue;return{value:a.arg,done:c.done}}"throw"===a.type&&(u=g,c.method="throw",c.arg=a.arg)}}}function M(t,e){var n=t.iterator[e.method];if(n===c){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=c,M(t,e),"throw"===e.method))return _;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return _}var r=f(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,_;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=c),e.delegate=null,_):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,_)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function O(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(l.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=c,t.done=!0,t};return r.next=r}}return{next:C}}function C(){return{value:c,done:!0}}return a.prototype=x.constructor=v,v.constructor=a,v[r]=a.displayName="GeneratorFunction",o.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===a||"GeneratorFunction"===(e.displayName||e.name))},o.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,r in t||(t[r]="GeneratorFunction")),t.prototype=Object.create(x),t},o.awrap=function(t){return{__await:t}},w(k.prototype),k.prototype[n]=function(){return this},o.AsyncIterator=k,o.async=function(t,e,n,r,i){void 0===i&&(i=Promise);var a=new k(s(t,e,n,r),i);return o.isGeneratorFunction(e)?a:a.next().then(function(t){return t.done?t.value:a.next()})},w(x),x[r]="Generator",x[i]=function(){return this},x.toString=function(){return"[object Generator]"},o.keys=function(n){var r=[];for(var t in n)r.push(t);return r.reverse(),function t(){for(;r.length;){var e=r.pop();if(e in n)return t.value=e,t.done=!1,t}return t.done=!0,t}},o.values=O,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=c,this.done=!1,this.delegate=null,this.method="next",this.arg=c,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&l.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=c)},stop:function(){this.done=!0;var t,e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var r=this;function t(t,e){return a.type="throw",a.arg=n,r.next=t,e&&(r.method="next",r.arg=c),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var i=this.tryEntries[e],a=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var o=l.call(i,"catchLoc"),s=l.call(i,"finallyLoc");if(o&&s){if(this.prev<i.catchLoc)return t(i.catchLoc,!0);if(this.prev<i.finallyLoc)return t(i.finallyLoc)}else if(o){if(this.prev<i.catchLoc)return t(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return t(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&l.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,_):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),_},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),E(n),_}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;E(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:O(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=c),_}},o}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}}),Ty,Oy,Cy;function Iy(){(Ty=document.createElement("style")).id="flourish-page-styles",Ty.type="text/css",document.head.appendChild(Ty),(Cy=document.createElement("link")).setAttribute("rel","stylesheet"),document.body.appendChild(Cy)}function Ly(){if(im.body_font&&im.body_font.url!==Oy){Oy=im.body_font.url,Cy.setAttribute("href",Oy),document.body.style.fontFamily=im.body_font.name;var t,i="";["mobile_small","mobile_big","tablet","desktop","big_screen"].forEach(function(t,e){var n="@media(min-width: "+im["breakpoint_"+t]+"px) {\n",r="html { font-size:"+im["font_size_"+t]+"%; }";i+=(0==e?"":n)+r+(0==e?"":"\n}")+"\n\n"}),Ty.innerHTML=i}}var Ny=Object.freeze({"stack-default":["header","controls","primary","footer"],"stack-2":["primary","header","controls","footer"],"stack-3":["header","primary","controls","footer"],"stack-4":["controls","primary","header","footer"]}),Py,Fy,Ry,jy,zy,Dy,Uy,qy,By;function Hy(){return im.title||im.subtitle?im.text?("custom"!=im.text_size?im.text_size/2:im.text_size_custom/2)+"rem":im.subtitle?("custom"!=im.subtitle_size?im.subtitle_size/2:im.subtitle_size_custom/2)+"rem":im.title?("custom"!=im.title_size?im.title_size/2:im.title_size_custom/2)+"rem":void 0:""}function Vy(){(Py=document.createElement("header")).className="flourish-header";var t=document.createElement("hgroup");return Fy=document.createElement("h1"),Ry=document.createElement("h2"),jy=document.createElement("p"),zy=document.createElement("img"),Py.appendChild(zy),Py.appendChild(t),t.appendChild(Fy),t.appendChild(Ry),Py.appendChild(jy),Py}function Yy(){Py.style.textAlign=im.header_align,Py.style.margin=0,Py.style.borderTop="top"==im.header_border?im.header_border_width+"px "+im.header_border_style+" "+im.header_border_color:null,Py.style.borderBottom="bottom"==im.header_border?im.header_border_width+"px "+im.header_border_style+" "+im.header_border_color:null,Py.style.paddingBottom=Hy(),Fy.innerHTML=im.title?im.title:"",Fy.style.fontSize=("custom"!=im.title_size?im.title_size:im.title_size_custom)+"rem",Fy.style.lineHeight=im.title_line_height,Fy.style.fontWeight=im.title_weight,Fy.style.color=im.title_color,Fy.style.margin=0,Fy.style.lineHeight=im.title_color,Fy.style.paddingTop=im.title?("custom"==im.title_space_above?im.title_space_above_custom:im.title_space_above)+"rem":0,Ry.innerHTML=im.subtitle?im.subtitle:"",Ry.style.fontSize=("custom"!=im.subtitle_size?im.subtitle_size:im.subtitle_size_custom)+"rem",Ry.style.lineHeight=im.subtitle_line_height,Ry.style.fontWeight=im.subtitle_weight,Ry.style.color=im.subtitle_color,Ry.style.margin=0,Ry.style.paddingTop=im.subtitle?("custom"==im.subtitle_space_above?im.subtitle_space_above_custom:im.subtitle_space_above)+"rem":0,jy.innerHTML=im.text?im.text:"",jy.style.fontSize=("custom"!=im.text_size?im.text_size:im.text_size_custom)+"rem",jy.style.lineHeight=im.text_line_height,jy.style.fontWeight=im.text_weight,jy.style.margin=0,jy.style.color=im.text_color,jy.style.paddingTop=im.text?("custom"==im.text_space_above?im.text_space_above_custom:im.text_space_above)+"rem":0,zy.style.display=im.header_logo_enabled?"":"none",zy.style.position="inside"==im.header_logo_align?"":"fixed",zy.style.height=im.header_logo_height+"rem",zy.style.top="outside"==im.header_logo_align?0:"",zy.style.left="outside"==im.header_logo_align&&"left"==im.header_logo_position_outside?0:"",zy.style.right="outside"==im.header_logo_align&&"right"==im.header_logo_position_outside?0:"",zy.style.marginTop=im.header_logo_margin_top+"rem",zy.style.marginBottom=im.header_logo_margin_bottom+"rem",zy.style.marginLeft=im.header_logo_margin_left+"rem",zy.style.marginRight=im.header_logo_margin_right+"rem",zy.style.float="top"==im.header_logo_position_inside||"outside"==im.header_logo_align?"":im.header_logo_position_inside,zy.style.width="auto",zy.src=im.header_logo_src}function Wy(t){return"string"==typeof t&&null!=t.match(/^https?:\/\//i)}var Gy=!1;function $y(){var t=document.createElement("style");t.type="text/css",t.innerHTML=".flourish-footer { margin: 0; } .flourish-footer p { margin: 0; display: inline; } .flourish-footer p:empty { height: 0; } .flourish-footer a { color: inherit; }",document.head.appendChild(t)}function Xy(t){return 0!==t.indexOf("http://")&&0!==t.indexOf("https://")?"http://"+t:t}function Zy(){return $y(),(Dy=document.createElement("footer")).className="flourish-footer",(Uy=document.createElement("div")).className="flourish-footer-text",(By=document.createElement("a")).target="_blank",(qy=document.createElement("img")).className="flourish-footer-logo",By.appendChild(qy),Dy.appendChild(Uy),Dy.appendChild(By),Dy}function Ky(){return im.source_name||im.source_name_2||im.source_name_3||im.source_url||im.source_url_2||im.source_url_3||im.footer_note||Wy(im.footer_logo_src)&&im.footer_logo_enabled?Tm(im.footer_text_size)/2+"px":""}function Qy(){var t=[{name:im.source_name,url:im.source_url},{name:im.multiple_sources?im.source_name_2:"",url:im.multiple_sources?im.source_url_2:""},{name:im.multiple_sources?im.source_name_3:"",url:im.multiple_sources?im.source_url_3:""}].filter(function(t){return t.name||t.url});Gy=0<t.length||im.footer_note||Wy(im.footer_logo_src)&&im.footer_logo_enabled,Dy.style.display="flex",Dy.style.height=Gy?null:0,Dy.style.width="100%",Dy.style.paddingTop=Ky(),Dy.style.borderTop="top"==im.footer_border?im.footer_border_width+"px "+im.footer_border_style+" "+im.footer_border_color:"",Dy.style.borderBottom="bottom"==im.footer_border?im.footer_border_width+"px "+im.footer_border_style+" "+im.footer_border_color:"","justify"==im.footer_align?Dy.style.justifyContent="space-between":"left"==im.footer_align?Dy.style.justifyContent="flex-start":"right"==im.footer_align?Dy.style.justifyContent="flex-end":"center"==im.footer_align&&(Dy.style.justifyContent="center"),Dy.style.fontSize=im.footer_text_size+"rem",Dy.style.color=im.footer_text_color;var i=document.createElement("span");t.forEach(function(t,e){var n=document.createElement("p");if(0<e&&(n.innerText=", "),t.url){var r=document.createElement("a");r.innerText=t.name||t.url,r.href=Xy(t.url),r.target="_blank",n.appendChild(r)}else n.innerText+=t.name||t.url;i.innerHTML+=n.innerHTML}),Uy.style.order="left"==im.footer_logo_order?2:"",Uy.style.display="flex",Uy.style.alignItems=im.footer_align_vertical;var e="
";e+=""!==i.innerHTML?im.source_label+" "+i.innerHTML:"",e+=im.footer_note?(""!==i.innerHTML?" • ":"")+im.footer_note:"",e+="
",Uy.innerHTML=e,qy.src=Wy(im.footer_logo_src)?im.footer_logo_src:"",qy.style.height=im.footer_logo_height+"rem",qy.style.marginLeft="right"==im.footer_logo_order?im.footer_logo_margin+"rem":"",qy.style.marginRight="left"==im.footer_logo_order?im.footer_logo_margin+"rem":"",qy.style.verticalAlign=im.footer_align_vertical,qy.style.display=Wy(im.footer_logo_src)&&im.footer_logo_enabled?"":"none",By.href=""==im.footer_logo_link_url?"":Xy(im.footer_logo_link_url),By.style.cursor=""==im.footer_logo_link_url?"default":"pointer"}function Jy(){Ly(),Yy(),Qy(),tm();var t=sm.wrapper.style;t.height="100vh",t.maxWidth=im.max_width?im.max_width+"px":"",t.padding=im.margin_top+"rem "+im.margin_right+"rem "+im.margin_bottom+"rem "+im.margin_left+"rem",t.borderTop=im.border.enabled?im.border.top.width+"px "+im.border.top.style+" "+im.border.top.color:"",t.borderRight=im.border.enabled?im.border.right.width+"px "+im.border.right.style+" "+im.border.right.color:"",t.borderBottom=im.border.enabled?im.border.bottom.width+"px "+im.border.bottom.style+" "+im.border.bottom.color:"",t.borderLeft=im.border.enabled?im.border.left.width+"px "+im.border.left.style+" "+im.border.left.color:"";var e=sm.primary.outer.style,n=sm.legend.outer.style,r=parseFloat(e.order)>parseFloat(n.order)?"above":"below",i;Ny[im.layout_order].forEach(function(t,e){sm[t].outer.style.order=10*e}),e.flex="1 1 auto",e.height=null,Sm(r),n.textAlign=im.header_align,sm.controls.outer.style.textAlign=im.header_align,sm.primary.inner.style.height="100%";var a=(i="custom"==im.space_between_sections?im.space_between_sections_custom:im.space_between_sections)/2+"rem";am.map(function(t){var e=sm[t],n=e.outer.style,r;return{name:t,height:um(e.inner),order:parseFloat(n.order),style:n}}).sort(function(t,e){return t.order-e.order}).filter(function(t){if(t.height)return!0;t.style.paddingBottom="",t.style.paddingTop=""}).forEach(function(t,e,n){t.style.paddingTop=e?a:"",t.style.paddingBottom=e<n.length-1?a:""})}function tm(){document.body.style.backgroundColor=im.background_color_enabled?im.background_color:"transparent",document.body.style.backgroundImage=im.background_image_enabled?"url("+im.background_image_src+")":"",document.body.style.backgroundSize=im.background_image_size,document.body.style.backgroundRepeat="no-repeat",document.body.style.backgroundPosition=im.background_image_position}var em=Object.freeze({body_font:{name:"Source Sans Pro",url:"https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700"},border:{enabled:!1,top:{width:1,color:"#dddddd",style:"solid"},right:{width:1,color:"#dddddd",style:"solid"},bottom:{width:1,color:"#dddddd",style:"solid"},left:{width:1,color:"#dddddd",style:"solid"}},layout_order:"stack-default",margin_top:.75,margin_right:.75,margin_bottom:.75,margin_left:.75,space_between_sections:0,space_between_sections_custom:1,background_color_enabled:!0,background_color:"#ffffff",background_image_enabled:!1,background_image_src:"",background_image_size:"cover",background_image_position:"center center",max_width:null,breakpoint_mobile_small:0,breakpoint_mobile_big:380,breakpoint_tablet:580,breakpoint_desktop:1080,breakpoint_big_screen:1280,font_size_mobile_small:62.5,font_size_mobile_big:75,font_size_tablet:87.5,font_size_desktop:100,font_size_big_screen:120,header_align:"left",header_border:"none",header_border_width:1,header_border_color:"#dddddd",header_border_style:"solid",header_logo_enabled:!1,header_logo_align:"inside",header_logo_src:"",header_logo_height:3,header_logo_position_inside:"left",header_logo_position_outside:"left",header_logo_margin_top:.25,header_logo_margin_right:.5,header_logo_margin_bottom:0,header_logo_margin_left:0,title:"",title_size:1.6,title_size_custom:1.6,title_line_height:1.2,title_color:"#333333",title_weight:"bold",title_space_above:0,title_space_above_custom:1.5,subtitle:"",subtitle_size:1.6,subtitle_size_custom:1.6,subtitle_line_height:1.2,subtitle_color:"#666666",subtitle_weight:"normal",subtitle_space_above:0,subtitle_space_above_custom:1.5,text:"",text_size:1.2,text_size_custom:1.2,text_line_height:1.2,text_color:"#666666",text_weight:"normal",text_space_above:.5,text_space_above_custom:1.5,source_label:"Source: ",source_name:"",source_url:"",source_name_2:"",source_url_2:"",source_name_3:"",source_url_3:"",footer_note:"",footer_text_size:1,footer_text_color:"#aaaaaa",footer_align:"justify",footer_align_vertical:"center",footer_border:"none",footer_border_width:1,footer_border_color:"#dddddd",footer_border_style:"solid",footer_logo_enabled:!1,footer_logo_src:"",footer_logo_link_url:"",footer_logo_height:1.5,footer_logo_margin:.25,footer_logo_order:"right"});function nm(){if(Flourish.fixed_height)return window.innerHeight;var t=window.innerWidth;return 999<t?650:599<t?575:400}var rm="Your web browser does not support the features used by this content. Consider updating to a modern browser.",im,am=["header","controls","legend","primary","footer"],om,sm={};function cm(t){return t.getBoundingClientRect().width}function um(t){return t.getBoundingClientRect().height}function lm(){var t=document.querySelector("#fl-layout-wrapper")||document.createElement("main");t.id="fl-layout-wrapper";var e=t.style;return e.display="flex",e.flexDirection="column",e.boxSizing="border-box",e.marginLeft="auto",e.marginRight="auto",t}function fm(t,e){var n="fl-layout-"+t,r=document.createElement("section");r.className="fl-layout-container",r.id=n+"-container",r.style.width="100%",r.style.position="relative",r.style.order=e;var i=document.createElement("div");return i.className="fl-layout-inner",i.id=n,i.style.width="100%",i.style.overflow="hidden",i.style.position="relative",r.appendChild(i),sm.wrapper.appendChild(r),{outer:r,inner:i}}function hm(){var t=sm.primary.outer;t.style.position="relative",(om=document.createElement("div")).id="fl-layout-overlay";var e=om.style;e.position="absolute",e.display="none",e.width="100%",e.height="100%",e.top=0,e.left=0,e.backgroundColor="rgb(200,200,200)",e.zIndex=999999,e.pointerEvents="none";var n=document.createElement("p");return n.className="fl-layout-overlay-message",(e=n.style).color="#333333",e.fontSize="1.5rem",e.paddingLeft="15%",e.paddingRight="15%",e.width="100%",e.boxSizing="border-box",e.position="absolute",e.top="50%",e.transform="translate(0, -50%)",e.margin="0",e.textAlign="center",om.appendChild(n),t.appendChild(om),om}function dm(){return sm.wrapper}function pm(t){return-1!==am.indexOf(t)?sm[t].inner:null}function gm(t){return sm[t]||void 0===t?cm("wrapper"==t||void 0===t?sm.wrapper:sm[t].outer):null}function _m(t){return sm[t]||void 0===t?"wrapper"==t||void 0===t?cm(sm.wrapper)-km("horizontal")-Am("horizontal"):cm(sm[t].inner):null}function vm(t){return sm[t]||void 0===t?um("wrapper"==t||void 0===t?sm.wrapper:sm[t].outer):null}function ym(t){return sm[t]||void 0===t?"wrapper"==t||void 0===t?um(sm.wrapper)-km("vertical")-Am("vertical"):um(sm[t].inner):null}function mm(){return um(sm.primary.outer)-xm(sm.primary.outer)}function bm(){return cm(sm.primary.inner)}function xm(t){var e,n;return(parseFloat(getComputedStyle(t).paddingTop)||0)+(parseFloat(getComputedStyle(t).paddingBottom)||0)}function wm(){var t,e,n;return nm()-km("vertical")-Am("vertical")-["header","controls","legend","footer"].reduce(function(t,e){return t+vm(e)},0)-xm(sm.primary.outer)}function km(t){var e;return"left"==t?e=im.margin_left:"right"==t?e=im.margin_right:"top"==t?e=im.margin_top:"bottom"==t?e=im.margin_bottom:"horizontal"==t?e=im.margin_left+im.margin_right:"vertical"==t&&(e=im.margin_top+im.margin_bottom),Tm(e)}function Am(t){return im.border.enabled?"vertical"==t?im.border.top.width+im.border.bottom.width:"horizontal"==t?im.border.left.width+im.border.right.width:null:0}function Mm(t){if(!Flourish.fixed_height&&void 0!==Flourish.fixed_height){var e=null===t,n=sm.primary,r=e?wm():t;r+xm(sm.primary.outer)!==parseFloat(n.outer.style.height)&&(sm.wrapper.style.height="",n.outer.style.flex="",n.inner.style.height=r+"px",Flourish.setHeight(e?null:vm()))}}function Sm(t){var e=parseFloat(sm.primary.outer.style.order);sm.legend.outer.style.order=e+("below"===t.trim().toLowerCase()?1:-1)}function Em(t){var e=om.querySelector(".fl-layout-overlay-message");if(t){om.style.display="block";var n="string"==typeof t?t:rm;e.innerHTML=n}else e.textContent="",om.style.display="none"}function Tm(t){return t*parseFloat(getComputedStyle(document.documentElement).fontSize)}function Om(){return om}function Cm(t){for(var e in im=t,em)void 0===im[e]&&(im[e]=em[e]);return Iy(),sm.wrapper=lm(),am.forEach(function(t,e){sm[t]=fm(t,e)}),pm("header").appendChild(Vy()),pm("footer").appendChild(Zy()),sm.primary.outer.style.overflow="hidden",sm.controls.inner.style.overflow="",document.body.appendChild(sm.wrapper),hm(),Jy(),{update:Jy,getWrapper:dm,getSection:pm,getOuterWidth:gm,getInnerWidth:_m,getOuterHeight:vm,getInnerHeight:ym,getPrimaryHeight:mm,getPrimaryWidth:bm,getDefaultPrimaryHeight:wm,setHeight:Mm,setLegendPosition:Sm,showOverlay:Em,remToPx:Tm,getOverlay:Om}}function Im(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[1<r.length?r[0]+r.slice(2):r,+t.slice(n+1)]}function Lm(t){return(t=Im(Math.abs(t)))?t[1]:NaN}function Nm(s,c){return function(t,e){for(var n=t.length,r=[],i=0,a=s[0],o=0;0<n&&0<a&&(e<o+a+1&&(a=Math.max(1,e-o)),r.push(t.substring(n-=a,n+a)),!((o+=a+1)>e));)a=s[i=(i+1)%s.length];return r.reverse().join(c)}}function Pm(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}var Fm=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i,Rm;function jm(t){if(!(e=Fm.exec(t)))throw new Error("invalid format: "+t);var e;return new zm({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function zm(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function Dm(t){t:for(var e=t.length,n=1,r=-1,i;n<e;++n)switch(t[n]){case".":r=i=n;break;case"0":0===r&&(r=n),i=n;break;default:if(!+t[n])break t;0<r&&(r=0)}return 0<r?t.slice(0,r)+t.slice(i+1):t}function Um(t,e){var n=Im(t,e);if(!n)return t+"";var r=n[0],i=n[1],a=i-(Rm=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,o=r.length;return a===o?r:o<a?r+new Array(a-o+1).join("0"):0<a?r.slice(0,a)+"."+r.slice(a):"0."+new Array(1-a).join("0")+Im(t,Math.max(0,e+a-1))[0]}function qm(t,e){var n=Im(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}jm.prototype=zm.prototype,zm.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Bm={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return qm(100*t,e)},r:qm,s:Um,X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}};function Hm(t){return t}var Vm=Array.prototype.map,Ym=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],Wm,Gm,$m;function Xm(t){var w=void 0===t.grouping||void 0===t.thousands?Hm:Nm(Vm.call(t.grouping,Number),t.thousands+""),r=void 0===t.currency?"":t.currency[0]+"",i=void 0===t.currency?"":t.currency[1]+"",k=void 0===t.decimal?".":t.decimal+"",A=void 0===t.numerals?Hm:Pm(Vm.call(t.numerals,String)),a=void 0===t.percent?"%":t.percent+"",M=void 0===t.minus?"-":t.minus+"",S=void 0===t.nan?"NaN":t.nan+"";function o(t){var u=(t=jm(t)).fill,l=t.align,f=t.sign,e=t.symbol,h=t.zero,d=t.width,p=t.comma,g=t.precision,_=t.trim,v=t.type;"n"===v?(p=!0,v="g"):Bm[v]||(void 0===g&&(g=12),_=!0,v="g"),(h||"0"===u&&"="===l)&&(h=!0,u="0",l="=");var y="$"===e?r:"#"===e&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",m="$"===e?i:/[%p]/.test(v)?a:"",b=Bm[v],x=/[defgprs%]/.test(v);function n(t){var e=y,n=m,r,i,a;if("c"===v)n=b(t)+n,t="";else{var o=(t=+t)<0;if(t=isNaN(t)?S:b(Math.abs(t),g),_&&(t=Dm(t)),o&&0==+t&&(o=!1),e=(o?"("===f?f:M:"-"===f||"("===f?"":f)+e,n=("s"===v?Ym[8+Rm/3]:"")+n+(o&&"("===f?")":""),x)for(r=-1,i=t.length;++r<i;)if((a=t.charCodeAt(r))<48||57<a){n=(46===a?k+t.slice(r+1):t.slice(r))+n,t=t.slice(0,r);break}}p&&!h&&(t=w(t,1/0));var s=e.length+t.length+n.length,c=s<d?new Array(d-s+1).join(u):"";switch(p&&h&&(t=w(c+t,c.length?d-n.length:1/0),c=""),l){case"<":t=e+t+n+c;break;case"=":t=e+c+t+n;break;case"^":t=c.slice(0,s=c.length>>1)+e+t+n+c.slice(s);break;default:t=c+e+t+n}return A(t)}return g=void 0===g?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),n.toString=function(){return t+""},n}function e(t,e){var n=o(((t=jm(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(Lm(e)/3))),i=Math.pow(10,-r),a=Ym[8+r/3];return function(t){return n(i*t)+a}}return{format:o,formatPrefix:e}}function Zm(t){return Wm=Xm(t),Gm=Wm.format,$m=Wm.formatPrefix,Wm}function Km(t){return Math.max(0,-Lm(Math.abs(t)))}function Qm(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Lm(e)/3)))-Lm(Math.abs(t)))}function Jm(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Lm(e)-Lm(t))+1}Zm({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});var tb=Object.freeze({input_decimal_separator:".",output_separators:",."});function eb(t,e){return{decimal:t,thousands:e,grouping:[3],currency:["",""]}}function nb(e){var n=new RegExp("[^-0-9eE"+e+"]","g");return function(t){return"number"==typeof t?t:""===t||void 0===t?NaN:parseFloat(t.replace(n,"").replace(e,"."))}}function rb(t){var e=1<t.length,n=e?t.charAt(1):t.charAt(0),r=e?t.charAt(0):"",i=Xm(eb(n,r)).format;return i.decimal=n,i.thousands=r,i}function ib(t){for(var e in tb)void 0===t[e]&&(t[e]=tb[e]);return{getParser:function(){return nb(t.input_decimal_separator)},getFormatterFunction:function(){return rb(t.output_separators)}}}var ab=Object.freeze({transform_labels:!1,transform:"multiply",multiply_divide_constant:1,exponentiate_constant:0,multiplier:1,prefix:"",n_dec:2,suffix:"",strip_zeros:!0,strip_separator:!0,negative_sign:"-$nk"});function ob(t,e){if(!(e=0<e?Math.floor(e):Math.ceil(e)))return Math.round(t);var n=Math.pow(10,Math.abs(e));return 0<e?Math.round(t*n)/n:Math.round(t/n)*n}function sb(t){var e=1;return t.transform_labels&&(e="multiply"===t.transform?t.multiply_divide_constant:"divide"===t.transform?1/t.multiply_divide_constant:Math.pow(10,t.exponentiate_constant)),function(t){return t*e}}function cb(o,t){var s=0<=o.n_dec?Math.floor(o.n_dec):Math.ceil(o.n_dec),c=t(",."+(0<s?s:"0")+"f"),e=t.decimal,u=t.thousands,l=o.strip_zeros&&0<s?new RegExp("\\"+e+"?0+$"):null,f=o.strip_separator&&u,h=o.negative_sign,d=sb(o);return function(t){var e=0<=s?d(t):ob(d(t),s),n=e<0,r=Math.abs(e),i=f&&u&&1e3<=r&&r<1e4,a=c(r);return l&&(a=a.replace(l,"")),i&&(a=a.replace(u,"")),n&&"none"!==h?"-$nk"===h?"-"+o.prefix+a+o.suffix:"$-nk"===h?o.prefix+"-"+a+o.suffix:"($nk)"===h?"("+o.prefix+a+o.suffix+")":o.prefix+"("+a+")"+o.suffix:o.prefix+a+o.suffix}}function ub(e){for(var t in ab)void 0===e[t]&&(e[t]=ab[t]);return function(t){return cb(e,t)}}var lb=new Date,fb=new Date;function hb(a,o,n,r){function s(t){return a(t=0===arguments.length?new Date:new Date(+t)),t}return s.floor=function(t){return a(t=new Date(+t)),t},s.ceil=function(t){return a(t=new Date(t-1)),o(t,1),a(t),t},s.round=function(t){var e=s(t),n=s.ceil(t);return t-e<n-t?e:n},s.offset=function(t,e){return o(t=new Date(+t),null==e?1:Math.floor(e)),t},s.range=function(t,e,n){var r=[],i;if(t=s.ceil(t),n=null==n?1:Math.floor(n),!(t<e&&0<n))return r;for(;r.push(i=new Date(+t)),o(t,n),a(t),i<t&&t<e;);return r},s.filter=function(n){return hb(function(t){if(t<=t)for(;a(t),!n(t);)t.setTime(t-1)},function(t,e){if(t<=t)if(e<0)for(;++e<=0;)for(;o(t,-1),!n(t););else for(;0<=--e;)for(;o(t,1),!n(t););})},n&&(s.count=function(t,e){return lb.setTime(+t),fb.setTime(+e),a(lb),a(fb),Math.floor(n(lb,fb))},s.every=function(e){return e=Math.floor(e),isFinite(e)&&0<e?1<e?s.filter(r?function(t){return r(t)%e==0}:function(t){return s.count(0,t)%e==0}):s:null}),s}var db=hb(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});db.every=function(n){return n=Math.floor(n),isFinite(n)&&0<n?1<n?hb(function(t){t.setTime(Math.floor(t/n)*n)},function(t,e){t.setTime(+t+e*n)},function(t,e){return(e-t)/n}):db:null};var pb=1e3,gb=6e4,_b=36e5,vb=864e5,yb=6048e5,mb=hb(function(t){t.setTime(t-t.getMilliseconds())},function(t,e){t.setTime(+t+e*pb)},function(t,e){return(e-t)/pb},function(t){return t.getUTCSeconds()}),bb=hb(function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*pb)},function(t,e){t.setTime(+t+e*gb)},function(t,e){return(e-t)/gb},function(t){return t.getMinutes()}),xb=hb(function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*pb-t.getMinutes()*gb)},function(t,e){t.setTime(+t+e*_b)},function(t,e){return(e-t)/_b},function(t){return t.getHours()}),wb=hb(function(t){t.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*gb)/vb},function(t){return t.getDate()-1});function kb(e){return hb(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*gb)/yb})}var Ab=kb(0),Mb=kb(1),Sb=kb(2),Eb=kb(3),Tb=kb(4),Ob=kb(5),Cb=kb(6),Ib=hb(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,e){t.setMonth(t.getMonth()+e)},function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())},function(t){return t.getMonth()}),Lb=hb(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});Lb.every=function(n){return isFinite(n=Math.floor(n))&&0<n?hb(function(t){t.setFullYear(Math.floor(t.getFullYear()/n)*n),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e*n)}):null};var Nb=hb(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/vb},function(t){return t.getUTCDate()-1});function Pb(e){return hb(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/yb})}var Fb=Pb(0),Rb=Pb(1),jb=Pb(2),zb=Pb(3),Db=Pb(4),Ub=Pb(5),qb=Pb(6),Bb=hb(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});function Hb(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Vb(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Yb(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}function Wb(t){var r=t.dateTime,i=t.date,a=t.time,e=t.periods,n=t.days,o=t.shortDays,s=t.months,c=t.shortMonths,u=ix(e),l=ax(e),f=ix(n),h=ax(n),d=ix(o),p=ax(o),g=ix(s),_=ax(s),v=ix(c),y=ax(c),m={a:N,A:P,b:F,B:R,c:null,d:Sx,e:Sx,f:Ix,H:Ex,I:Tx,j:Ox,L:Cx,m:Lx,M:Nx,p:j,q:z,Q:sw,s:cw,S:Px,u:Fx,U:Rx,V:jx,w:zx,W:Dx,x:null,X:null,y:Ux,Y:qx,Z:Bx,"%":ow},b={a:D,A:U,b:q,B:B,c:null,d:Hx,e:Hx,f:$x,H:Vx,I:Yx,j:Wx,L:Gx,m:Xx,M:Zx,p:H,q:V,Q:sw,s:cw,S:Kx,u:Qx,U:Jx,V:tw,w:ew,W:nw,x:null,X:null,y:rw,Y:iw,Z:aw,"%":ow},x={a:S,A:E,b:T,B:O,c:C,d:_x,e:_x,f:wx,H:yx,I:yx,j:vx,L:xx,m:gx,M:mx,p:M,q:px,Q:Ax,s:Mx,S:bx,u:sx,U:cx,V:ux,w:ox,W:lx,x:I,X:L,y:hx,Y:fx,Z:dx,"%":kx};function w(c,u){return function(t){var e=[],n=-1,r=0,i=c.length,a,o,s;for(t instanceof Date||(t=new Date(+t));++n<i;)37===c.charCodeAt(n)&&(e.push(c.slice(r,n)),null!=(o=Gb[a=c.charAt(++n)])?a=c.charAt(++n):o="e"===a?" ":"0",(s=u[a])&&(a=s(t,o)),e.push(a),r=n+1);return e.push(c.slice(r,n)),e.join("")}}function k(a,o){return function(t){var e=Yb(1900,void 0,1),n,r,i;if(A(e,a,t+="",0)!=t.length)return null;if("Q"in e)return new Date(e.Q);if("s"in e)return new Date(1e3*e.s+("L"in e?e.L:0));if(!o||"Z"in e||(e.Z=0),"p"in e&&(e.H=e.H%12+12*e.p),void 0===e.m&&(e.m="q"in e?e.q:0),"V"in e){if(e.V<1||53<e.V)return null;"w"in e||(e.w=1),"Z"in e?(r=4<(i=(r=Vb(Yb(e.y,0,1))).getUTCDay())||0===i?Rb.ceil(r):Rb(r),r=Nb.offset(r,7*(e.V-1)),e.y=r.getUTCFullYear(),e.m=r.getUTCMonth(),e.d=r.getUTCDate()+(e.w+6)%7):(r=4<(i=(r=Hb(Yb(e.y,0,1))).getDay())||0===i?Mb.ceil(r):Mb(r),r=wb.offset(r,7*(e.V-1)),e.y=r.getFullYear(),e.m=r.getMonth(),e.d=r.getDate()+(e.w+6)%7)}else("W"in e||"U"in e)&&("w"in e||(e.w="u"in e?e.u%7:"W"in e?1:0),i="Z"in e?Vb(Yb(e.y,0,1)).getUTCDay():Hb(Yb(e.y,0,1)).getDay(),e.m=0,e.d="W"in e?(e.w+6)%7+7*e.W-(i+5)%7:e.w+7*e.U-(i+6)%7);return"Z"in e?(e.H+=e.Z/100|0,e.M+=e.Z%100,Vb(e)):Hb(e)}}function A(t,e,n,r){for(var i=0,a=e.length,o=n.length,s,c;i<a;){if(o<=r)return-1;if(37===(s=e.charCodeAt(i++))){if(s=e.charAt(i++),!(c=x[s in Gb?e.charAt(i++):s])||(r=c(t,n,r))<0)return-1}else if(s!=n.charCodeAt(r++))return-1}return r}function M(t,e,n){var r=u.exec(e.slice(n));return r?(t.p=l[r[0].toLowerCase()],n+r[0].length):-1}function S(t,e,n){var r=d.exec(e.slice(n));return r?(t.w=p[r[0].toLowerCase()],n+r[0].length):-1}function E(t,e,n){var r=f.exec(e.slice(n));return r?(t.w=h[r[0].toLowerCase()],n+r[0].length):-1}function T(t,e,n){var r=v.exec(e.slice(n));return r?(t.m=y[r[0].toLowerCase()],n+r[0].length):-1}function O(t,e,n){var r=g.exec(e.slice(n));return r?(t.m=_[r[0].toLowerCase()],n+r[0].length):-1}function C(t,e,n){return A(t,r,e,n)}function I(t,e,n){return A(t,i,e,n)}function L(t,e,n){return A(t,a,e,n)}function N(t){return o[t.getDay()]}function P(t){return n[t.getDay()]}function F(t){return c[t.getMonth()]}function R(t){return s[t.getMonth()]}function j(t){return e[+(12<=t.getHours())]}function z(t){return 1+~~(t.getMonth()/3)}function D(t){return o[t.getUTCDay()]}function U(t){return n[t.getUTCDay()]}function q(t){return c[t.getUTCMonth()]}function B(t){return s[t.getUTCMonth()]}function H(t){return e[+(12<=t.getUTCHours())]}function V(t){return 1+~~(t.getUTCMonth()/3)}return m.x=w(i,m),m.X=w(a,m),m.c=w(r,m),b.x=w(i,b),b.X=w(a,b),b.c=w(r,b),{format:function(t){var e=w(t+="",m);return e.toString=function(){return t},e},parse:function(t){var e=k(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=w(t+="",b);return e.toString=function(){return t},e},utcParse:function(t){var e=k(t+="",!0);return e.toString=function(){return t},e}}}Bb.every=function(n){return isFinite(n=Math.floor(n))&&0<n?hb(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/n)*n),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e*n)}):null};var Gb={"-":"",_:" ",0:"0"},$b=/^\s*\d+/,Xb=/^%/,Zb=/[\\^$*+?|[\]().{}]/g,Kb,Qb,Jb,tx,ex;function nx(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",a=i.length;return r+(a<n?new Array(n-a+1).join(e)+i:i)}function rx(t){return t.replace(Zb,"\\$&")}function ix(t){return new RegExp("^(?:"+t.map(rx).join("|")+")","i")}function ax(t){for(var e={},n=-1,r=t.length;++n<r;)e[t[n].toLowerCase()]=n;return e}function ox(t,e,n){var r=$b.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function sx(t,e,n){var r=$b.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function cx(t,e,n){var r=$b.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function ux(t,e,n){var r=$b.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function lx(t,e,n){var r=$b.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function fx(t,e,n){var r=$b.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function hx(t,e,n){var r=$b.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(68<+r[0]?1900:2e3),n+r[0].length):-1}function dx(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function px(t,e,n){var r=$b.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function gx(t,e,n){var r=$b.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function _x(t,e,n){var r=$b.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function vx(t,e,n){var r=$b.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function yx(t,e,n){var r=$b.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function mx(t,e,n){var r=$b.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function bx(t,e,n){var r=$b.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function xx(t,e,n){var r=$b.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function wx(t,e,n){var r=$b.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function kx(t,e,n){var r=Xb.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function Ax(t,e,n){var r=$b.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function Mx(t,e,n){var r=$b.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Sx(t,e){return nx(t.getDate(),e,2)}function Ex(t,e){return nx(t.getHours(),e,2)}function Tx(t,e){return nx(t.getHours()%12||12,e,2)}function Ox(t,e){return nx(1+wb.count(Lb(t),t),e,3)}function Cx(t,e){return nx(t.getMilliseconds(),e,3)}function Ix(t,e){return Cx(t,e)+"000"}function Lx(t,e){return nx(t.getMonth()+1,e,2)}function Nx(t,e){return nx(t.getMinutes(),e,2)}function Px(t,e){return nx(t.getSeconds(),e,2)}function Fx(t){var e=t.getDay();return 0===e?7:e}function Rx(t,e){return nx(Ab.count(Lb(t)-1,t),e,2)}function jx(t,e){var n=t.getDay();return t=4<=n||0===n?Tb(t):Tb.ceil(t),nx(Tb.count(Lb(t),t)+(4===Lb(t).getDay()),e,2)}function zx(t){return t.getDay()}function Dx(t,e){return nx(Mb.count(Lb(t)-1,t),e,2)}function Ux(t,e){return nx(t.getFullYear()%100,e,2)}function qx(t,e){return nx(t.getFullYear()%1e4,e,4)}function Bx(t){var e=t.getTimezoneOffset();return(0<e?"-":(e*=-1,"+"))+nx(e/60|0,"0",2)+nx(e%60,"0",2)}function Hx(t,e){return nx(t.getUTCDate(),e,2)}function Vx(t,e){return nx(t.getUTCHours(),e,2)}function Yx(t,e){return nx(t.getUTCHours()%12||12,e,2)}function Wx(t,e){return nx(1+Nb.count(Bb(t),t),e,3)}function Gx(t,e){return nx(t.getUTCMilliseconds(),e,3)}function $x(t,e){return Gx(t,e)+"000"}function Xx(t,e){return nx(t.getUTCMonth()+1,e,2)}function Zx(t,e){return nx(t.getUTCMinutes(),e,2)}function Kx(t,e){return nx(t.getUTCSeconds(),e,2)}function Qx(t){var e=t.getUTCDay();return 0===e?7:e}function Jx(t,e){return nx(Fb.count(Bb(t)-1,t),e,2)}function tw(t,e){var n=t.getUTCDay();return t=4<=n||0===n?Db(t):Db.ceil(t),nx(Db.count(Bb(t),t)+(4===Bb(t).getUTCDay()),e,2)}function ew(t){return t.getUTCDay()}function nw(t,e){return nx(Rb.count(Bb(t)-1,t),e,2)}function rw(t,e){return nx(t.getUTCFullYear()%100,e,2)}function iw(t,e){return nx(t.getUTCFullYear()%1e4,e,4)}function aw(){return"+0000"}function ow(){return"%"}function sw(t){return+t}function cw(t){return Math.floor(t/1e3)}function uw(t){return Kb=Wb(t),Qb=Kb.format,Jb=Kb.parse,tx=Kb.utcFormat,ex=Kb.utcParse,Kb}function lw(t){throw new TypeError("Expected a value of type string but got a value of type "+typeof t)}function fw(e){return function(t){return"string"!=typeof t&&lw(t),(t=t.trim())?e(t):null}}function hw(t,e){var n=Jb(t),r=Qb(t),i;return i=fw("function"==typeof e?function(t){return null!==n(t)&&e(t)}:function(t){return null!==n(t)}),Object.freeze({test:i,parse:fw(function(t){return n(t)}),type:"datetime",description:t,stringToString:function(t){return r(n(t.trim()))},datetimeToString:function(t){return r(t)}})}uw({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var dw=Object.freeze([hw("%Y-%m-%dT%H:%M:%S.%LZ"),hw("%Y-%m-%d"),hw("%m/%d/%Y",function(t){var e=t.split("/").map(parseFloat);return 0<e[0]&&e[0]<=12&&0<e[1]&&e[1]<=31&&!isNaN(e[2])}),hw("%d/%m/%Y",function(t){var e=t.split("/").map(parseFloat);return 0<e[0]&&e[0]<=31&&0<e[1]&&e[1]<=12&&!isNaN(e[2])}),hw("%d-%b-%y"),hw("%m/%y"),hw("%m/%Y"),hw("%b %Y"),hw("%B %d"),hw("%d %b"),hw("%Y",function(t){var e=parseFloat(t);return 1499<e&&e<2200}),hw("%B"),hw("%b"),hw("%X"),hw("%I:%M %p"),hw("%-I%p"),hw("%H:%M")]),pw={test:fw(function(t){return/^(\+|-)?\d{1,3}(,\d{3})*(\.\d+)?((e|E)(\+|-)?\d+)?$/.test(t.trim())}),parse:fw(function(t){return parseFloat(t.replace(/,/g,""))}),description:"Comma thousand separator, point decimal mark",thousand_separator:",",decimal_mark:"."},gw={test:fw(function(t){return/^(\+|-)?\d{1,3}(\s\d{3})*(\.\d+)?((e|E)(\+|-)?\d+)?$/.test(t.trim())}),parse:fw(function(t){return parseFloat(t.replace(/\s/g,""))}),description:"Space thousand separator, point decimal mark",thousand_separator:" ",decimal_mark:"."},_w={test:fw(function(t){return/^(\+|-)?\d+(\.\d+)?((e|E)(\+|-)?\d+)?$/.test(t.trim())}),parse:fw(function(t){return parseFloat(t)}),description:"No thousand separator, point decimal mark",thousand_separator:"",decimal_mark:"."},vw={test:fw(function(t){return/^(\+|-)?\d{1,3}(\.\d{3})*(,\d+)?((e|E)(\+|-)?\d+)?$/.test(t.trim())}),parse:fw(function(t){return parseFloat(t.replace(/\./g,"").replace(/,/,"."))}),description:"Point thousand separator, comma decimal mark",thousand_separator:".",decimal_mark:","},yw={test:fw(function(t){return/^(\+|-)?\d{1,3}(\s\d{3})*(,\d+)?((e|E)(\+|-)?\d+)?$/.test(t.trim())}),parse:fw(function(t){return parseFloat(t.replace(/\s/g,"").replace(/,/,"."))}),description:"Space thousand separator, comma decimal mark",thousand_separator:" ",decimal_mark:","},mw={test:fw(function(t){return/^(\+|-)?\d+(,\d+)?((e|E)(\+|-)?\d+)?$/.test(t.trim())}),parse:fw(function(t){return parseFloat(t.replace(/,/,"."))}),description:"No thousand separator, comma decimal mark",thousand_separator:"",decimal_mark:","},bw={test:function(t){return _w.test(t)||pw.test(t)},parse:pw.parse,description:"Optional comma separator, point decimal mark",thousand_separator:",",decimal_mark:"."},xw={test:function(t){return mw.test(t)||vw.test(t)},parse:vw.parse,description:"Optional point thousand separator, comma decimal mark",thousand_separator:".",decimal_mark:","},ww={test:function(t){return mw.test(t)||yw.test(t)},parse:yw.parse,description:"Optional space thousand separator, comma decimal mark",thousand_separator:" ",decimal_mark:","},kw={test:function(t){return _w.test(t)||gw.test(t)},parse:gw.parse,description:"Optional space separator, point decimal mark",thousand_separator:",",decimal_mark:"."},Aw=Object.freeze([pw,gw,vw,yw,_w,mw,bw,xw,ww,kw]);Aw.forEach(function(t){t.type="number",Object.freeze(t)});var Mw=Object.freeze({test:function(t){return"string"==typeof t||lw(t)},parse:function(t){return"string"==typeof t?t:lw(t)},type:"string",description:"Arbitrary string"}),Sw=Object.freeze({datetime:dw,number:Aw}),Ew=Object.freeze(["datetime","number","string"]),Tw=Object.freeze({n_max:250,n_failing_values:0,failure_fraction:.05,sort:!0}),Ow=Object.freeze(Object.keys(Tw));function Cw(t){return t.replace(/_(\w)/g,function(t,e){return e.toUpperCase()})}function Iw(t,e){return t.index-e.index}function Lw(t,e){return e.n_success-t.n_success||Iw(t,e)}function Nw(t){return(""+t).trim()}function Pw(n){return void 0===n?function(t){return Nw(t)}:"function"==typeof n?function(t,e){return Nw(n(t,e))}:function(t){return Nw(t[""+n])}}function Fw(t){t?Array.isArray(t)||(t=[t]):t=Ew;var i=t.reduce(function(t,e){var n=Sw[e];return n&&Array.prototype.push.apply(t,n),t},[]),a=-1!==t.indexOf("string"),o=Ow.reduce(function(t,e){return t[e]=Tw[e],t},{}),n=function(t,e){e=Pw(e);var u=t.map(e).filter(function(t){return t});if(!u.length)return a?[Mw]:[];var l=Math.min(o.n_max,u.length),f=Math.floor(l*o.failure_fraction),h=o.n_failing_values,n=o.sort?Lw:Iw,r=i.slice().reduce(function(t,e,n){for(var r=o=0,i=[],a=!1,o=0;o<l;o++){var s=u[o],c;if(!e.test(s)&&(++r>f?a=!0:-1===i.indexOf(s)&&(i.push(s),i.length>h&&(a=!0)),a))break}return a||t.push({interp:e,n_success:l-r,index:n}),t},[]).sort(n).map(function(t){return t.interp});return a&&r.push(Mw),r};return Ow.forEach(function(e){n[Cw(e)]=function(t){return void 0===t?o[e]:(o[e]=t,n)}}),n}Fw._createAccessorFunction=Pw;var Rw=25,jw=5,zw=10,Dw=10,Uw={},qw,Bw;function Hw(t,e,n,r,i,a,o){var s=n-t/2-10,c=n+t/2+10,u=t/2+Math.min(0,s-i.left)+Math.max(0,c-i.right),l;return{pos:[u,o],shape:l=u-10<5?[-u,-15*a,Math.max(10,5-u),-10*a]:t-5<u+10?[Math.min(-10,t-u-5),-10*a,Math.min(10,t-u),-15*a]:[-10,-10*a,10,-10*a]}}function Vw(t,e,n,r,i,a,o){var s=r-e/2-10,c=r+e/2+10,u=e/2+Math.min(0,s-i.top)+Math.max(0,c-i.bottom),l;return{pos:[o,u],shape:l=u-10<5?[-15*a,-u,-10*a,Math.max(10,5-u)]:e-5<u+10?[-10*a,Math.min(-10,e-u-5),-15*a,Math.min(10,e-u)]:[-10*a,-10,-10*a,10]}}function Yw(t,e,n,r,i,a){var o=Uw[t](e,n,r,i,a),s=r-Rw-o.pos[0],c=i-Rw-o.pos[1];return{left:s,top:c,right:s+e+2*Rw,bottom:c+n+2*Rw}}function Ww(t,e,n,r,i,a,o,s,c,u){var l=Uw[t](r,i,s,c,u);e.left=a-Rw-l.pos[0]+"px",e.top=o-Rw-l.pos[1]+"px",n.setAttribute("d","M0,0L"+l.shape.join(",")+"Z"),n.setAttribute("transform","translate("+(l.pos[0]+Rw)+","+(l.pos[1]+Rw)+")")}function Gw(){var e=this;function t(t){return e._maxWidth.match(/^\d+(?:\.\d+)?%$/)?t.width*parseFloat(e._maxWidth)/100:e._maxWidth.match(/^\d+(?:\.\d+)?(?:px)?$/)?parseFloat(e._maxWidth):(null!=e._maxWidth&&console.error("Popup: Unknown value for maxWidth: "+e._maxWidth),t.width)}if(e._point){var n=document.documentElement.getBoundingClientRect(),r=e._point[0],i=e._point[1],a=e._container.getBoundingClientRect();r<a.left?r=a.left:r>a.right&&(r=a.right),i<a.top?i=a.top:i>a.bottom&&(i=a.bottom);var o=r-n.left,s=i-n.top,c=e._getElement(),u=c.style,l=c.querySelector(".flourish-popup-svg"),f=l.querySelector("g"),h=f.querySelector("rect"),d=f.querySelector("path"),p=c.querySelector(".flourish-popup-content");u.display="block",p.style.maxWidth=t(a)+"px",e._inner_html!=e._html&&(p.innerHTML=e._inner_html=e._html);for(var g=p.getBoundingClientRect(),_,v;_=Math.ceil(g.width),v=Math.ceil(g.height),u.width=_+2*Rw+"px",u.height=v+2*Rw+"px",g=p.getBoundingClientRect(),_!=Math.ceil(g.width)||v!=Math.ceil(g.height););h.setAttribute("width",_),h.setAttribute("height",v),l.setAttribute("width",_+2*Rw),l.setAttribute("height",v+2*Rw);for(var y=Rw-10,m=null,b=null,x=null,w=1/0,k=1/0,A,M,S=0;S<e._directions.length;S++){var E=e._directions[S],T=Yw(E,_,v,r,i,a),O=Math.max(0,Math.floor(a.left)-T.left-y)+Math.max(0,T.right-Math.ceil(a.right)-y),C=Math.max(0,Math.floor(a.top)-T.top-y)+Math.max(0,T.bottom-Math.ceil(a.bottom)-y);if(0==O&&0==C){m=E;break}(O<w||O==w&&C<A)&&(w=O,A=C,b=E),(C<k||C==k&&O<M)&&(k=C,M=O,x=E)}return Ww(E=m||("horizontal"==e._fallbackFit?b:"vertical"==e._fallbackFit?x:(console.warn("Popup: failed to point box of size ("+_+", "+v+") at ("+r+", "+i+") within ("+a.left+", "+a.top+", "+a.right+", "+a.bottom+")"),e._directions[0])),u,d,_,v,o,s,r,i,a),e}console.error("Popup: cannot draw popup till point() has been specified")}function $w(t,e,n){var r=document.createElementNS("http://www.w3.org/2000/svg",t),i;if(e)for(i in e)r.setAttribute(i,e[i]);var a=r.style;if(n)for(i in n)a[i]=n[i];return r}function Xw(){var e=this,t="flourish-popup-"+e.unique_id,n=document.getElementById(t);if(!n){(n=document.createElement("div")).className="flourish-popup",n.id=t;var r=n.style;r.display="none",r.margin=r.padding=0,r.position="absolute",r.width="80px",r.height="40px",r.boxSizing="border-box",n.addEventListener("click",function(t){e.fire("click",t)},!1);var i=$w("svg",{class:"flourish-popup-svg"},{position:"absolute",top:0,left:0,bottom:0,right:0}),a=$w("filter",{id:"dropshadow-"+e.unique_id,height:"130%"});a.appendChild($w("feGaussianBlur",{in:"SourceAlpha",stdDeviation:5})),a.appendChild($w("feOffset",{dx:0,dy:2,result:"offsetblur"}));var o=$w("feComponentTransfer");o.appendChild($w("feFuncA",{type:"linear",slope:.2})),a.appendChild(o);var s=$w("feMerge");a.appendChild(s),s.appendChild($w("feMergeNode")),s.appendChild($w("feMergeNode",{in:"SourceGraphic"})),i.appendChild(a);var c=$w("g",{filter:"url(#dropshadow-"+e.unique_id+")",fill:"white",stroke:"none"});c.appendChild($w("rect",{x:Rw,y:Rw,rx:5})),c.appendChild($w("path")),i.appendChild(c),n.appendChild(i);var u=document.createElement("div");u.className="flourish-popup-content",(r=u.style).position="absolute",r.top=r.left=Rw+"px",r.padding="10px",n.appendChild(u),e._getConstrainer().appendChild(n)}return e._resizeConstrainer(),n}function Zw(){return qw||((qw=document.createElement("div")).id="flourish-popup-constrainer",(Bw=qw.style).overflow="hidden",Bw.pointerEvents="none",Bw.position="absolute",Bw.left="0",Bw.top="0",Bw.margin="0",Bw.padding="0",document.body.appendChild(qw),this._resizeConstrainer(),qw)}function Kw(){var t=Bw.display;Bw.display="none",Bw.width=document.documentElement.scrollWidth+"px",Bw.height=document.documentElement.scrollHeight+"px",Bw.display=t}Uw.bottom=function t(e,n){return{shape:[-10,-10,10,-10],pos:[e/2,n+10]}},Uw.top=function t(e,n){return{shape:[-10,10,10,10],pos:[e/2,-10]}},Uw.left=function t(e,n){return{shape:[10,10,10,-10],pos:[-10,n/2]}},Uw.right=function t(e,n){return{shape:[-10,10,-10,-10],pos:[e+10,n/2]}},Uw.topLeft=function t(e,n){return{shape:[15,10,10,15],pos:[-10,-10]}},Uw.bottomLeft=function t(e,n){return{shape:[15,-10,10,-15],pos:[-10,n+10]}},Uw.topRight=function t(e,n){return{shape:[-15,10,-10,15],pos:[e+10,-10]}},Uw.bottomRight=function t(e,n){return{shape:[-15,-10,-10,-15],pos:[e+10,n+10]}},Uw.bottomFlexible=function t(e,n,r,i,a){return Hw(e,n,r,i,a,1,n+10)},Uw.topFlexible=function t(e,n,r,i,a){return Hw(e,n,r,i,a,-1,-10)},Uw.rightFlexible=function t(e,n,r,i,a){return Vw(e,n,r,i,a,1,e+10)},Uw.leftFlexible=function t(e,n,r,i,a){return Vw(e,n,r,i,a,-1,-10)};var Qw="2.1.2",Jw=1,tk={container:document.body,maxWidth:"70%",point:null,html:null,directions:["bottom","top","left","right","topLeft","bottomLeft","topRight","bottomRight","bottomFlexible","topFlexible","leftFlexible","rightFlexible"],fallbackFit:"horizontal"};function ek(){for(var t in this.unique_id=Jw++,tk)this["_"+t]=tk[t];this.handlers={click:[]}}function nk(e){ek.prototype[e]=function(t){return void 0===t?this["_"+e]:(this["_"+e]=t,this)}}for(var rk in tk)nk(rk);function ik(t){return t.replace(/[&<>]/g,function(t){return{"&":"&","<":"<",">":">"}[t]})}function ak(){return new ek}ek.prototype.point=function(t,e){if(void 0===t)return this._point;if(Array.isArray(t))this._point=[t[0],t[1]];else if(void 0!==e)this._point=[t,e];else if(t instanceof HTMLElement||t instanceof SVGElement){var n=t.getBoundingClientRect();this._point=[Math.floor(n.left+n.width/2),Math.floor(n.top+n.height/2)]}else console.error("Popup: could not understand argument");return this},ek.prototype.directions=function(t){return void 0===t?this._directions:("string"==typeof t&&(t=[t]),this._directions=t.slice(),this)},ek.prototype.text=function t(e){return this._html=ik(e),this},ek.prototype.on=function t(e,n){if(!(e in this.handlers))throw new Error("Popup.on: No such event: "+e);return this.handlers[e].push(n),this},ek.prototype.fire=function t(e,n){if(!(e in this.handlers))throw new Error("Popup.fire: No such event: "+e);for(var r=this.handlers[e],i=0;i<r.length;i++)r[i].call(this,n);return this},ek.prototype._getElement=Xw,ek.prototype._getConstrainer=Zw,ek.prototype._resizeConstrainer=Kw,ek.prototype.draw=Gw,ek.prototype.hide=function t(){return this._getElement().style.display="none",this};var ok={show_popups:!0,text_color:"#333333",align:"left",font_size:12,fill_color:"#ffffff",opacity:1,padding:10,border_radius:3,show_pointer:!0,show_shadow:!0,is_custom:!(ak.version=Qw),style_popups:!1};function sk(t){if("number"!=typeof t)return t;var e=Math.round(t*Math.pow(10,2))/100;return 4==Math.round(t).toString().length?e:Gm(",")(e)}function ck(){if(!document.querySelector("#popup-styles")){var t=document.createElement("style");t.id="popup-styles",t.type="text/css",t.innerHTML=".flourish-popup { pointer-events: none; }.flourish-popup .flourish-popup-content { pointer-events: auto; }.flourish-popup h1 { margin: 0; font-size: inherit; }.flourish-popup h2 { font-weight: normal; font-size: inherit; margin: 0; }.flourish-popup h2 .name { font-weight: bold; }.flourish-popup ul { padding: 0; margin: 0; }.flourish-popup li { font-size: inherit; list-style: none; }",document.head.appendChild(t)}}function uk(t,e,n,r){for(var i in this._state=e,this._default_template=n,this._first_load=!0,this._title_binding=r||"id",ok)null==e[i]&&(e[i]=ok[i]);ck(),this.popup=ak().container(t).point(0,0).draw().hide()}function lk(t,e,n,r){return new uk(t,e,n,r)}uk.prototype.addColumnNames=function(t){if(this._column_names=t,!this._state.custom_template&&this._first_load){for(var e in this._column_names)if(!Array.isArray(this._column_names[e])){var n=this._column_names[e];this._state.custom_template=n+": {{"+n+"}}";break}this._first_load=!1}},uk.prototype.hide=function(){return this.popup.hide(),this},uk.prototype.point=function(t,e){if(1==arguments.length){var n=t.getBoundingClientRect();t=n.left+n.width/2,e=n.top}return this.popup.point(t,e),this},uk.prototype.html=function(t){return this.popup.html(t),this},uk.prototype.updateStyle=function(){var t=this.popup._getElement(),e=t.querySelector(".flourish-popup-content");e.style.padding=this._state.padding+"px",e.style.textAlign=this._state.align;var n=t.querySelector(".flourish-popup-svg g");return n.style.fill=this._state.fill_color,n.style.opacity=this._state.opacity,0==this._state.show_shadow?n.removeAttribute("filter"):n.setAttribute("filter","url(#dropshadow-"+this.popup.unique_id+")"),n.querySelector("rect").setAttribute("rx",this._state.border_radius),n.querySelector("path").style.display=this._state.show_pointer?"block":"none",this},uk.prototype.draw=function(i,t){if(this._state.show_popups){var a=this;if(this.updateStyle(),!arguments.length)return this.popup.draw(),t&&t(this.popup._getElement()),this;var n="";if(this._state.is_custom||this._default_template)!this._state.is_custom&&this._default_template?n+=this._default_template.replace(/\{\{((?:[^}]|\}[^}])*)\}\}/g,function(t,n){var r;if(Array.isArray(a._column_names[n])){var e=a._column_names[n];if(0==e.length)return"";r="- ",e.forEach(function(t,e){r+="
- "+t+": "+i[n][e]+" "}),r+="
"+i[this._title_binding]+"
");var e={};for(var r in this._column_names){var o;if(r!=this._title_binding)if("metadata"==r){if(!Array.isArray(i.metadata))return;for(var s=0;s<i.metadata.length;s++)e[o=this._column_names.metadata[s]]||(e[o]=!0,n+=""+o+": "+sk(i.metadata[s])+"
")}else{if(o=this._column_names[r],Array.isArray(o)){o.forEach(function(t,e){n+=""+t+": "+sk(i[r][e])+"
"});continue}if(e[o])continue;e[o]=!0,n+=""+o+": "+sk(i[r])+"
"}}n+=""}return this.popup.html(n).draw(),t&&t(this.popup._getElement()),this}},uk.prototype.directions=function(t){return this.popup.directions(t),this};var fk={height_mode:"auto",facet_layout:"single",facet_aspect:66,facet_by_series:null,facet_min_w:100,facet_fixed_cols:!(uk.prototype.container=function(t){return this.popup.container(t),this}),facet_cols:2,facet_gutter_w:1,facet_gutter_h:3,facet_header_color_mode:"auto",facet_header_color:"#333333",facet_header_font_size:1.25,facet_header_padding:.25,facet_header_bg:"none",facet_header_bg_mode:"fixed",facet_header_bg_color:"#eeeeee",facet_title_align:"auto",chart_type:"line",secondary_series:1,series_filter_enabled:!1,series_filter:[],series_filter_text:"Enter series to show",series_filter_none_text:"No more series to show",series_filter_hidden:!1,max_series:50,popup:{},popup_series_text:"",highlighted:null,current_series:0,color_mode:"column",color:{},bg_color_style:"none",bg_color:"#f7f7f7",legend_position:"above",legend_text_color:"#333333",legend_swatch_radius:3,legend_swatch_height:.85,legend_swatch_width:1.5,legend_text_size:1,legend_stack:!1,text_legend:"off",text_legend_title:!0,text_legend_subtitle:!0,text_legend_bold:!0,labels:!1,labels_styles_auto:!0,labels_responsive:!0,labels_font_size_min:9,labels_font_size_max:16,labels_font_size:12,labels_bg_mode:"auto",labels_bg_size:15,labels_color_mode:"auto",labels_fixed_color:"#333333",labels_show_value:"auto",labels_show_label:"auto",labels_dot_center:!1,labels_bar_autohide:!0,label_bar_align:"right",line_width:2,line_opacity:1,line_curve:"curveMonotoneX",line_end_labels:!1,line_end_labels_width:50,line_end_labels_font_size:12,area_opacity:.7,donut_inner_radius:50,donut_pad_angle:.5,donut_corner_radius:0,donut_auto_scale:!0,column_opacity:.9,column_padding_inner:10,column_padding_outer:10,column_padding_in_group:0,dot_radius:3,dot_radius_last:null,dot_opacity:1,data_trans_duration:800,data_trans_delay:0,data_trans_stagger:0,data_trans_bind_series:!0,data_trans_bind_data_points:!0,animate_on_load:!0,margin_top:10,margin_right:10,margin_bottom:10,margin_left:10,label_data_type:"auto",x_axis_date_format:"auto",x_axis_tick_style:"ticks",x_axis_last_row_only:!0,x_axis_matching:!0,x_axis_tick_h:35,x_axis_label:"",x_axis_label_font_size:12,x_axis_min:null,x_axis_max:null,x_axis_tick_mode:"auto",x_axis_tick_count:5,x_axis_tick_custom:"",x_axis_ticks_inline:!1,x_axis_tick_angle:"45",x_axis_tick_font_size:12,x_axis_color:"#999999",x_axis_tick_color:"#eeeeee",x_axis_tick_dashed:0,y_axis_tick_style:"gridlines",y_axis_first_col_only:!0,y_axis_matching:!0,y_axis_tick_w:35,y_axis_log:!1,y_axis_label:"",y_axis_label_font_size:12,y_axis_min:null,y_axis_max:null,y_axis_tick_mode:"auto",y_axis_tick_count:5,y_axis_tick_custom:"",y_axis_tick_font_size:12,y_axis_ticks_inline:!1,y_axis_color:"#999999",y_axis_tick_color:"#eeeeee",y_axis_tick_dashed:0,y_axis_bar_label_position:"above",y_secondary_axis_tick_style:"gridlines",y_secondary_axis_last_col_only:!0,y_secondary_axis_matching:!0,y_secondary_axis_tick_w:35,y_secondary_axis_log:!1,y_secondary_axis_label:"",y_secondary_axis_label_font_size:12,y_secondary_axis_min:null,y_secondary_axis_max:null,y_secondary_axis_tick_mode:"auto",y_secondary_axis_tick_count:5,y_secondary_axis_tick_custom:"",y_secondary_axis_tick_font_size:12,y_secondary_axis_ticks_inline:!1,y_secondary_axis_color:"#999999",y_secondary_axis_tick_color:"#eeeeee",y_secondary_axis_tick_dashed:0,anno_x_enabled:!1,anno_x_lines:"",anno_x_line_color:"#333333",anno_x_line_width:2,anno_x_line_dash:"2",anno_x_areas:"",anno_x_fill_color:"#555555",anno_x_fill_opacity:.1,anno_x_label_align:"right",anno_x_label_color:"#888888",anno_x_stack:"below",anno_y_enabled:!1,anno_y_lines:"",anno_y_line_color:"#333333",anno_y_line_width:2,anno_y_line_dash:"2",anno_y_areas:"",anno_y_fill_color:"#555555",anno_y_fill_opacity:.1,anno_y_label_align:"right",anno_y_label_color:"#888888",anno_y_stack:"below",layout:{},localization:{},number_format:{},number_format_secondary:{},datetime_input_format:"auto"},hk=ib(fk.localization),dk=ub(fk.number_format),pk=ub(fk.number_format_secondary),gk=Cm(fk.layout),_k=Fw(),vk=lk(document.body,fk.popup);"font_size"in fk.popup&&"text_color"in fk.popup&&"show_popups"in fk.popup&&"is_custom"in fk.popup||console.error("popup.js relies on data-popup module having `font_size`, `text_color` and `popups_show` properties.");var yk={},mk="http://www.w3.org/1999/xhtml",bk={svg:"http://www.w3.org/2000/svg",xhtml:mk,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function xk(t){var e=t+="",n=e.indexOf(":");return 0<=n&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),bk.hasOwnProperty(e)?{space:bk[e],local:t}:t}function wk(n){return function(){var t=this.ownerDocument,e=this.namespaceURI;return e===mk&&t.documentElement.namespaceURI===mk?t.createElement(n):t.createElementNS(e,n)}}function kk(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Ak(t){var e=xk(t);return(e.local?kk:wk)(e)}function Mk(){}function Sk(t){return null==t?Mk:function(){return this.querySelector(t)}}function Ek(t){"function"!=typeof t&&(t=Sk(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var a=e[i],o=a.length,s=r[i]=new Array(o),c,u,l=0;l<o;++l)(c=a[l])&&(u=t.call(c,c.__data__,l,a))&&("__data__"in c&&(u.__data__=c.__data__),s[l]=u);return new oM(r,this._parents)}function Tk(){return[]}function Ok(t){return null==t?Tk:function(){return this.querySelectorAll(t)}}function Ck(t){"function"!=typeof t&&(t=Ok(t));for(var e=this._groups,n=e.length,r=[],i=[],a=0;a<n;++a)for(var o=e[a],s=o.length,c,u=0;u<s;++u)(c=o[u])&&(r.push(t.call(c,c.__data__,u,o)),i.push(c));return new oM(r,i)}function Ik(t){return function(){return this.matches(t)}}function Lk(t){"function"!=typeof t&&(t=Ik(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var a=e[i],o=a.length,s=r[i]=[],c,u=0;u<o;++u)(c=a[u])&&t.call(c,c.__data__,u,a)&&s.push(c);return new oM(r,this._parents)}function Nk(t){return new Array(t.length)}function Pk(){return new oM(this._enter||this._groups.map(Nk),this._parents)}function Fk(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function Rk(t){return function(){return t}}Fk.prototype={constructor:Fk,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var jk="$";function zk(t,e,n,r,i,a){for(var o=0,s,c=e.length,u=a.length;o<u;++o)(s=e[o])?(s.__data__=a[o],r[o]=s):n[o]=new Fk(t,a[o]);for(;o<c;++o)(s=e[o])&&(i[o]=s)}function Dk(t,e,n,r,i,a,o){var s,c,u={},l=e.length,f=a.length,h=new Array(l),d;for(s=0;s<l;++s)(c=e[s])&&(h[s]=d=jk+o.call(c,c.__data__,s,e),d in u?i[s]=c:u[d]=c);for(s=0;s<f;++s)(c=u[d=jk+o.call(t,a[s],s,a)])?((r[s]=c).__data__=a[s],u[d]=null):n[s]=new Fk(t,a[s]);for(s=0;s<l;++s)(c=e[s])&&u[h[s]]===c&&(i[s]=c)}function Uk(t,e){if(!t)return d=new Array(this.size()),u=-1,this.each(function(t){d[++u]=t}),d;var n=e?Dk:zk,r=this._parents,i=this._groups;"function"!=typeof t&&(t=Rk(t));for(var a=i.length,o=new Array(a),s=new Array(a),c=new Array(a),u=0;u<a;++u){var l=r[u],f=i[u],h=f.length,d=t.call(l,l&&l.__data__,u,r),p=d.length,g=s[u]=new Array(p),_=o[u]=new Array(p),v;n(l,f,g,_,c[u]=new Array(h),d,e);for(var y=0,m=0,b,x;y<p;++y)if(b=g[y]){for(m<=y&&(m=y+1);!(x=_[m])&&++m<p;);b._next=x||null}}return(o=new oM(o,r))._enter=s,o._exit=c,o}function qk(){return new oM(this._exit||this._groups.map(Nk),this._parents)}function Bk(t,e,n){var r=this.enter(),i=this,a=this.exit();return r="function"==typeof t?t(r):r.append(t+""),null!=e&&(i=e(i)),null==n?a.remove():n(a),r&&i?r.merge(i).order():i}function Hk(t){for(var e=this._groups,n=t._groups,r=e.length,i=n.length,a=Math.min(r,i),o=new Array(r),s=0;s<a;++s)for(var c=e[s],u=n[s],l=c.length,f=o[s]=new Array(l),h,d=0;d<l;++d)(h=c[d]||u[d])&&(f[d]=h);for(;s<r;++s)o[s]=e[s];return new oM(o,this._parents)}function Vk(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r=t[e],i=r.length-1,a=r[i],o;0<=--i;)(o=r[i])&&(a&&4^o.compareDocumentPosition(a)&&a.parentNode.insertBefore(o,a),a=o);return this}function Yk(n){function t(t,e){return t&&e?n(t.__data__,e.__data__):!t-!e}n=n||Wk;for(var e=this._groups,r=e.length,i=new Array(r),a=0;a<r;++a){for(var o=e[a],s=o.length,c=i[a]=new Array(s),u,l=0;l<s;++l)(u=o[l])&&(c[l]=u);c.sort(t)}return new oM(i,this._parents).order()}function Wk(t,e){return t<e?-1:e<t?1:e<=t?0:NaN}function Gk(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function $k(){var t=new Array(this.size()),e=-1;return this.each(function(){t[++e]=this}),t}function Xk(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,a=r.length;i<a;++i){var o=r[i];if(o)return o}return null}function Zk(){var t=0;return this.each(function(){++t}),t}function Kk(){return!this.node()}function Qk(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i=e[n],a=0,o=i.length,s;a<o;++a)(s=i[a])&&t.call(s,s.__data__,a,i);return this}function Jk(t){return function(){this.removeAttribute(t)}}function tA(t){return function(){this.removeAttributeNS(t.space,t.local)}}function eA(t,e){return function(){this.setAttribute(t,e)}}function nA(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function rA(e,n){return function(){var t=n.apply(this,arguments);null==t?this.removeAttribute(e):this.setAttribute(e,t)}}function iA(e,n){return function(){var t=n.apply(this,arguments);null==t?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,t)}}function aA(t,e){var n=xk(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?tA:Jk:"function"==typeof e?n.local?iA:rA:n.local?nA:eA)(n,e))}function oA(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function sA(t){return function(){this.style.removeProperty(t)}}function cA(t,e,n){return function(){this.style.setProperty(t,e,n)}}function uA(e,n,r){return function(){var t=n.apply(this,arguments);null==t?this.style.removeProperty(e):this.style.setProperty(e,t,r)}}function lA(t,e,n){return 1<arguments.length?this.each((null==e?sA:"function"==typeof e?uA:cA)(t,e,null==n?"":n)):fA(this.node(),t)}function fA(t,e){return t.style.getPropertyValue(e)||oA(t).getComputedStyle(t,null).getPropertyValue(e)}function hA(t){return function(){delete this[t]}}function dA(t,e){return function(){this[t]=e}}function pA(e,n){return function(){var t=n.apply(this,arguments);null==t?delete this[e]:this[e]=t}}function gA(t,e){return 1<arguments.length?this.each((null==e?hA:"function"==typeof e?pA:dA)(t,e)):this.node()[t]}function _A(t){return t.trim().split(/^|\s+/)}function vA(t){return t.classList||new yA(t)}function yA(t){this._node=t,this._names=_A(t.getAttribute("class")||"")}function mA(t,e){for(var n=vA(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function bA(t,e){for(var n=vA(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function xA(t){return function(){mA(this,t)}}function wA(t){return function(){bA(this,t)}}function kA(t,e){return function(){(e.apply(this,arguments)?mA:bA)(this,t)}}function AA(t,e){var n=_A(t+"");if(arguments.length<2){for(var r=vA(this.node()),i=-1,a=n.length;++i<a;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof e?kA:e?xA:wA)(n,e))}function MA(){this.textContent=""}function SA(t){return function(){this.textContent=t}}function EA(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}function TA(t){return arguments.length?this.each(null==t?MA:("function"==typeof t?EA:SA)(t)):this.node().textContent}function OA(){this.innerHTML=""}function CA(t){return function(){this.innerHTML=t}}function IA(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}function LA(t){return arguments.length?this.each(null==t?OA:("function"==typeof t?IA:CA)(t)):this.node().innerHTML}function NA(){this.nextSibling&&this.parentNode.appendChild(this)}function PA(){return this.each(NA)}function FA(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function RA(){return this.each(FA)}function jA(t){var e="function"==typeof t?t:Ak(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}function zA(){return null}function DA(t,e){var n="function"==typeof t?t:Ak(t),r=null==e?zA:"function"==typeof e?e:Sk(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})}function UA(){var t=this.parentNode;t&&t.removeChild(this)}function qA(){return this.each(UA)}function BA(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function HA(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function VA(t){return this.select(t?HA:BA)}function YA(t){return arguments.length?this.property("__data__",t):this.node().__data__}yA.prototype={add:function(t){var e;this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);0<=e&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return 0<=this._names.indexOf(t)}};var WA={},GA=null,$A;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(WA={mouseenter:"mouseover",mouseleave:"mouseout"}));function XA(n,t,e){return n=ZA(n,t,e),function(t){var e=t.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||n.call(this,t)}}function ZA(n,r,i){return function(t){var e=GA;GA=t;try{n.call(this,this.__data__,r,i)}finally{GA=e}}}function KA(t){return t.trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");return 0<=n&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}})}function QA(a){return function(){var t=this.__on;if(t){for(var e=0,n=-1,r=t.length,i;e<r;++e)i=t[e],a.type&&i.type!==a.type||i.name!==a.name?t[++n]=i:this.removeEventListener(i.type,i.listener,i.capture);++n?t.length=n:delete this.__on}}}function JA(c,u,l){var f=WA.hasOwnProperty(c.type)?XA:ZA;return function(t,e,n){var r=this.__on,i,a=f(u,e,n);if(r)for(var o=0,s=r.length;o<s;++o)if((i=r[o]).type===c.type&&i.name===c.name)return this.removeEventListener(i.type,i.listener,i.capture),this.addEventListener(i.type,i.listener=a,i.capture=l),void(i.value=u);this.addEventListener(c.type,a,l),i={type:c.type,name:c.name,value:u,listener:a,capture:l},r?r.push(i):this.__on=[i]}}function tM(t,e,n){var r=KA(t+""),i,a=r.length,o;if(!(arguments.length<2)){for(s=e?JA:QA,null==n&&(n=!1),i=0;i<a;++i)this.each(s(r[i],e,n));return this}var s=this.node().__on;if(s)for(var c=0,u=s.length,l;c<u;++c)for(i=0,l=s[c];i<a;++i)if((o=r[i]).type===l.type&&o.name===l.name)return l.value}function eM(t,e,n){var r=oA(t),i=r.CustomEvent;"function"==typeof i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function nM(t,e){return function(){return eM(this,t,e)}}function rM(t,e){return function(){return eM(this,t,e.apply(this,arguments))}}function iM(t,e){return this.each(("function"==typeof e?rM:nM)(t,e))}var aM=[null];function oM(t,e){this._groups=t,this._parents=e}function sM(){return new oM([[document.documentElement]],aM)}function cM(t){return"string"==typeof t?new oM([[document.querySelector(t)]],[document.documentElement]):new oM([[t]],aM)}var uM={line:{mode:"line",has_lines:!0,stack:!(oM.prototype=sM.prototype={constructor:oM,select:Ek,selectAll:Ck,filter:Lk,data:Uk,enter:Pk,exit:qk,join:Bk,merge:Hk,order:Vk,sort:Yk,call:Gk,nodes:$k,node:Xk,size:Zk,empty:Kk,each:Qk,attr:aA,style:lA,property:gA,classed:AA,text:TA,html:LA,raise:PA,lower:RA,append:jA,insert:DA,remove:qA,clone:VA,datum:YA,on:tM,dispatch:iM}),has_axes:!0},area:{mode:"line",has_lines:!0,stack:!1,has_axes:!0,area:!0},area_stacked:{mode:"line",stack:!0,has_lines:!0,has_axes:!0,area:!0},area_prop:{mode:"line",stack:!0,has_lines:!0,proportional:!0,has_axes:!0,area:!0},donut:{mode:"donut",stack:!1,has_axes:!1,legend_type:"row",single_series:!0},bar_grouped:{mode:"bar",stack:!1,has_axes:!0,legend_type:"either",values_on_x:!0},bar_stacked:{mode:"bar",stack:!0,has_axes:!0,legend_type:"either",values_on_x:!0},bar_stacked_prop:{mode:"bar",stack:!0,legend_type:"either",proportional:!0,has_axes:!0,values_on_x:!0},column_grouped:{mode:"column",stack:!1,legend_type:"either",has_axes:!0},column_stacked:{mode:"column",stack:!0,legend_type:"either",has_axes:!0},column_stacked_prop:{mode:"column",stack:!0,legend_type:"either",proportional:!0,has_axes:!0},column_grouped_line:{mode:"column",has_lines:!0,stack:!1,legend_type:"either",has_axes:!0,has_secondary_value_axis:!0},column_stacked_line:{mode:"column",has_lines:!0,stack:!0,legend_type:"either",has_axes:!0,has_secondary_value_axis:!0},column_stacked_prop_line:{mode:"column",has_lines:!0,stack:!0,legend_type:"either",proportional:!0,has_axes:!0,has_secondary_value_axis:!0},area_stacked_line:{mode:"line",has_lines:!0,stack:!0,has_axes:!0,area:!0,has_secondary_value_axis:!0},line_line:{mode:"line",has_lines:!0,stack:!1,has_axes:!0,has_secondary_value_axis:!0}},lM={},fM;function hM(){var t=uM[fk.chart_type],e=t.proportional?"data_points_stack_prop":t.stack?"data_points_stack":"data_points",n="facets"===fk.facet_layout;lM={mode:t.mode,has_lines:t.has_lines,area:t.area,stack:t.stack,proportional:t.proportional,has_axes:t.has_axes,has_secondary_value_axis:t.has_secondary_value_axis,single_series:t.single_series,legend_show:"off"!==fk.legend_position,legend_type:t.legend_type||"column",facets_show:n,facet_by_series:n&&!("facet"in yk.data.column_names),values_on_x:t.values_on_x,data_points:e,prev_mode:fM||t.mode},fM=t.mode}var dM=n(function(t,e){var n,r;n=i,r=function(){return i={},n.m=r=[function(t,e,n){t.exports=n(1)},function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}function M(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function y(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=function(t,e,n){return e&&h(t.prototype,e),n&&h(t,n),t},a,u=r(n(2)),o,s=r(n(3)),l,f=r(n(4)),p=n(31),S=n(32);function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}n(33);var d=(i(g,[{key:"init",value:function(){if(!0!==this.initialised){var t=this.config.callbackOnInit;this.initialised=!0,this._createTemplates(),this._createInput(),this.store.subscribe(this.render),this.render(),this._addEventListeners(),t&&(0,S.isType)("Function",t)&&t.call(this)}}},{key:"destroy",value:function(){if(!1!==this.initialised){this._removeEventListeners(),this.passedElement.classList.remove(this.config.classNames.input,this.config.classNames.hiddenState),this.passedElement.removeAttribute("tabindex");var t=this.passedElement.getAttribute("data-choice-orig-style");Boolean(t)?(this.passedElement.removeAttribute("data-choice-orig-style"),this.passedElement.setAttribute("style",t)):this.passedElement.removeAttribute("style"),this.passedElement.removeAttribute("aria-hidden"),this.passedElement.removeAttribute("data-choice"),this.passedElement.value=this.passedElement.value,this.containerOuter.parentNode.insertBefore(this.passedElement,this.containerOuter),this.containerOuter.parentNode.removeChild(this.containerOuter),this.clearStore(),this.config.templates=null,this.initialised=!1}}},{key:"renderGroups",value:function(t,r,e){var i=this,a=e||document.createDocumentFragment(),n=this.config.sortFilter;return this.config.shouldSort&&t.sort(n),t.forEach(function(e){var t=r.filter(function(t){return i.isSelectOneElement?t.groupId===e.id:t.groupId===e.id&&!t.selected});if(1<=t.length){var n=i._getTemplate("choiceGroup",e);a.appendChild(n),i.renderChoices(t,a,!0)}}),a}},{key:"renderChoices",value:function(t,e){var r=this,n=2<arguments.length&&void 0!==arguments[2]&&arguments[2],i=e||document.createDocumentFragment(),a=this.config,o=a.renderSelectedChoices,s=a.searchResultLimit,c=a.renderChoiceLimit,u=this.isSearching?S.sortByScore:this.config.sortFilter,l=function(t){var e;if("auto"!==o||r.isSelectOneElement||!t.selected){var n=r._getTemplate("choice",t);i.appendChild(n)}},f=t;"auto"!==o||this.isSelectOneElement||(f=t.filter(function(t){return!t.selected}));var h=f.reduce(function(t,e){return e.placeholder?t.placeholderChoices.push(e):t.normalChoices.push(e),t},{placeholderChoices:[],normalChoices:[]}),d=h.placeholderChoices,p=h.normalChoices;(this.config.shouldSort||this.isSearching)&&p.sort(u);var g=f.length,_=[].concat(y(d),y(p));this.isSearching?g=s:0<c&&!n&&(g=c);for(var v=0;v<g;v++)_[v]&&l(_[v]);return i}},{key:"renderItems",value:function(t){var n=this,e,r=(1<arguments.length&&void 0!==arguments[1]?arguments[1]:null)||document.createDocumentFragment();if(this.config.shouldSortItems&&!this.isSelectOneElement&&t.sort(this.config.sortFilter),this.isTextElement){var i,a=this.store.getItemsReducedToValues(t).join(this.config.delimiter);this.passedElement.setAttribute("value",a),this.passedElement.value=a}else{var o=document.createDocumentFragment();t.forEach(function(t){var e=n._getTemplate("option",t);o.appendChild(e)}),this.passedElement.innerHTML="",this.passedElement.appendChild(o)}return t.forEach(function(t){var e=n._getTemplate("item",t);r.appendChild(e)}),r}},{key:"render",value:function(){if(!this.store.isLoading()&&(this.currentState=this.store.getState(),this.currentState!==this.prevState)){if((this.currentState.choices!==this.prevState.choices||this.currentState.groups!==this.prevState.groups||this.currentState.items!==this.prevState.items)&&this.isSelectElement){var t=this.store.getGroupsFilteredByActive(),e=this.store.getChoicesFilteredByActive(),n=document.createDocumentFragment();this.choiceList.innerHTML="",this.config.resetScrollPosition&&(this.choiceList.scrollTop=0),1<=t.length&&!0!==this.isSearching?n=this.renderGroups(t,e,n):1<=e.length&&(n=this.renderChoices(e,n));var r=this.store.getItemsFilteredByActive(),i=this._canAddItem(r,this.input.value);if(n.childNodes&&0<n.childNodes.length)i.response?(this.choiceList.appendChild(n),this._highlightChoice()):this.choiceList.appendChild(this._getTemplate("notice",i.notice));else{var a=void 0,o=void 0;a=this.isSearching?(o=(0,S.isType)("Function",this.config.noResultsText)?this.config.noResultsText():this.config.noResultsText,this._getTemplate("notice",o,"no-results")):(o=(0,S.isType)("Function",this.config.noChoicesText)?this.config.noChoicesText():this.config.noChoicesText,this._getTemplate("notice",o,"no-choices")),this.choiceList.appendChild(a)}}if(this.currentState.items!==this.prevState.items){var s=this.store.getItemsFilteredByActive();if(this.itemList.innerHTML="",s&&s){var c=this.renderItems(s);c.childNodes&&this.itemList.appendChild(c)}}this.prevState=this.currentState}}},{key:"highlightItem",value:function(t){var e=!(1<arguments.length&&void 0!==arguments[1])||arguments[1];if(!t)return this;var n=t.id,r=t.groupId,i=0<=r?this.store.getGroupById(r):null;return this.store.dispatch((0,p.highlightItem)(n,!0)),e&&(i&&i.value?(0,S.triggerEvent)(this.passedElement,"highlightItem",{id:n,value:t.value,label:t.label,groupValue:i.value}):(0,S.triggerEvent)(this.passedElement,"highlightItem",{id:n,value:t.value,label:t.label})),this}},{key:"unhighlightItem",value:function(t){if(!t)return this;var e=t.id,n=t.groupId,r=0<=n?this.store.getGroupById(n):null;return this.store.dispatch((0,p.highlightItem)(e,!1)),r&&r.value?(0,S.triggerEvent)(this.passedElement,"unhighlightItem",{id:e,value:t.value,label:t.label,groupValue:r.value}):(0,S.triggerEvent)(this.passedElement,"unhighlightItem",{id:e,value:t.value,label:t.label}),this}},{key:"highlightAll",value:function(){var e=this,t;return this.store.getItems().forEach(function(t){e.highlightItem(t)}),this}},{key:"unhighlightAll",value:function(){var e=this,t;return this.store.getItems().forEach(function(t){e.unhighlightItem(t)}),this}},{key:"removeItemsByValue",value:function(e){var n=this,t;return e&&(0,S.isType)("String",e)&&this.store.getItemsFilteredByActive().forEach(function(t){t.value===e&&n._removeItem(t)}),this}},{key:"removeActiveItems",value:function(e){var n=this,t;return this.store.getItemsFilteredByActive().forEach(function(t){t.active&&e!==t.id&&n._removeItem(t)}),this}},{key:"removeHighlightedItems",value:function(){var e=this,n=0<arguments.length&&void 0!==arguments[0]&&arguments[0],t;return this.store.getItemsFilteredByActive().forEach(function(t){t.highlighted&&t.active&&(e._removeItem(t),n&&e._triggerChange(t.value))}),this}},{key:"showDropdown",value:function(){var t=0<arguments.length&&void 0!==arguments[0]&&arguments[0],e=document.body,n=document.documentElement,r=Math.max(e.scrollHeight,e.offsetHeight,n.clientHeight,n.scrollHeight,n.offsetHeight);this.containerOuter.classList.add(this.config.classNames.openState),this.containerOuter.setAttribute("aria-expanded","true"),this.dropdown.classList.add(this.config.classNames.activeState),this.dropdown.setAttribute("aria-expanded","true");var i=this.dropdown.getBoundingClientRect(),a=Math.ceil(i.top+window.scrollY+this.dropdown.offsetHeight),o=!1;return"auto"===this.config.position?o=r<=a:"top"===this.config.position&&(o=!0),o&&this.containerOuter.classList.add(this.config.classNames.flippedState),t&&this.canSearch&&document.activeElement!==this.input&&this.input.focus(),(0,S.triggerEvent)(this.passedElement,"showDropdown",{}),this}},{key:"hideDropdown",value:function(){var t=0<arguments.length&&void 0!==arguments[0]&&arguments[0],e=this.containerOuter.classList.contains(this.config.classNames.flippedState);return this.containerOuter.classList.remove(this.config.classNames.openState),this.containerOuter.setAttribute("aria-expanded","false"),this.dropdown.classList.remove(this.config.classNames.activeState),this.dropdown.setAttribute("aria-expanded","false"),e&&this.containerOuter.classList.remove(this.config.classNames.flippedState),t&&this.canSearch&&document.activeElement===this.input&&this.input.blur(),(0,S.triggerEvent)(this.passedElement,"hideDropdown",{}),this}},{key:"toggleDropdown",value:function(){var t;return this.dropdown.classList.contains(this.config.classNames.activeState)?this.hideDropdown():this.showDropdown(!0),this}},{key:"getValue",value:function(){var e=this,n=0<arguments.length&&void 0!==arguments[0]&&arguments[0],t=this.store.getItemsFilteredByActive(),r=[];return t.forEach(function(t){e.isTextElement?r.push(n?t.value:t):t.active&&r.push(n?t.value:t)}),this.isSelectOneElement?r[0]:r}},{key:"setValue",value:function(t){var n=this;if(!0===this.initialised){var e=[].concat(y(t)),r=function(t){var e=(0,S.getType)(t);if("Object"===e){if(!t.value)return;n.isTextElement?n._addItem(t.value,t.label,t.id,void 0,t.customProperties,t.placeholder):n._addChoice(t.value,t.label,!0,!1,-1,t.customProperties,t.placeholder)}else"String"===e&&(n.isTextElement?n._addItem(t):n._addChoice(t,t,!0,!1,-1,null))};1<e.length?e.forEach(function(t){r(t)}):r(e[0])}return this}},{key:"setValueByChoice",value:function(t){var n=this;if(!this.isTextElement){var r=this.store.getChoices(),e;((0,S.isType)("Array",t)?t:[t]).forEach(function(e){var t=r.find(function(t){return n.config.itemComparer(t.value,e)});t?t.selected?n.config.silent||console.warn("Attempting to select choice already selected"):n._addItem(t.value,t.label,t.id,t.groupId,t.customProperties,t.placeholder,t.keyCode):n.config.silent||console.warn("Attempting to select choice that does not exist")})}return this}},{key:"setChoices",value:function(t,e,n){var r=this,i=3<arguments.length&&void 0!==arguments[3]&&arguments[3];if(!0===this.initialised&&this.isSelectElement){if(!(0,S.isType)("Array",t)||!e)return this;i&&this._clearChoices(),this._setLoading(!0),t&&t.length&&(this.containerOuter.classList.remove(this.config.classNames.loadingState),t.forEach(function(t){t.choices?r._addGroup(t,t.id||null,e,n):r._addChoice(t[e],t[n],t.selected,t.disabled,void 0,t.customProperties,t.placeholder)})),this._setLoading(!1)}return this}},{key:"clearStore",value:function(){return this.store.dispatch((0,p.clearAll)()),this}},{key:"clearInput",value:function(){return this.input.value&&(this.input.value=""),this.isSelectOneElement||this._setInputWidth(),!this.isTextElement&&this.config.searchEnabled&&(this.isSearching=!1,this.store.dispatch((0,p.activateChoices)(!0))),this}},{key:"enable",value:function(){var t;return this.initialised&&(this.passedElement.disabled=!1,this.containerOuter.classList.contains(this.config.classNames.disabledState)&&(this._addEventListeners(),this.passedElement.removeAttribute("disabled"),this.input.removeAttribute("disabled"),this.containerOuter.classList.remove(this.config.classNames.disabledState),this.containerOuter.removeAttribute("aria-disabled"),this.isSelectOneElement&&this.containerOuter.setAttribute("tabindex","0"))),this}},{key:"disable",value:function(){var t;return this.initialised&&(this.passedElement.disabled=!0,this.containerOuter.classList.contains(this.config.classNames.disabledState)||(this._removeEventListeners(),this.passedElement.setAttribute("disabled",""),this.input.setAttribute("disabled",""),this.containerOuter.classList.add(this.config.classNames.disabledState),this.containerOuter.setAttribute("aria-disabled","true"),this.isSelectOneElement&&this.containerOuter.setAttribute("tabindex","-1"))),this}},{key:"ajax",value:function(t){var e=this;return!0===this.initialised&&this.isSelectElement&&(requestAnimationFrame(function(){e._handleLoadingState(!0)}),t(this._ajaxCallback())),this}},{key:"_triggerChange",value:function(t){t&&(0,S.triggerEvent)(this.passedElement,"change",{value:t})}},{key:"_handleButtonAction",value:function(t,e){if(t&&e&&this.config.removeItems&&this.config.removeItemButton){var n=e.parentNode.getAttribute("data-id"),r=t.find(function(t){return t.id===parseInt(n,10)});this._removeItem(r),this._triggerChange(r.value),this.isSelectOneElement&&this._selectPlaceholderChoice()}}},{key:"_selectPlaceholderChoice",value:function(){var t=this.store.getPlaceholderChoice();t&&(this._addItem(t.value,t.label,t.id,t.groupId,null,t.placeholder),this._triggerChange(t.value))}},{key:"_handleItemAction",value:function(t,e){var n=this,r=2<arguments.length&&void 0!==arguments[2]&&arguments[2];if(t&&e&&this.config.removeItems&&!this.isSelectOneElement){var i=e.getAttribute("data-id");t.forEach(function(t){t.id!==parseInt(i,10)||t.highlighted?r||t.highlighted&&n.unhighlightItem(t):n.highlightItem(t)}),document.activeElement!==this.input&&this.input.focus()}}},{key:"_handleChoiceAction",value:function(t,e){if(t&&e){var n=e.getAttribute("data-id"),r=this.store.getChoiceById(n),i=t[0]&&t[0].keyCode?t[0].keyCode:null,a=this.dropdown.classList.contains(this.config.classNames.activeState),o;r.keyCode=i,(0,S.triggerEvent)(this.passedElement,"choice",{choice:r}),!r||r.selected||r.disabled||this._canAddItem(t,r.value).response&&(this._addItem(r.value,r.label,r.id,r.groupId,r.customProperties,r.placeholder,r.keyCode),this._triggerChange(r.value)),this.clearInput(),a&&this.isSelectOneElement&&(this.hideDropdown(),this.containerOuter.focus())}}},{key:"_handleBackspace",value:function(t){if(this.config.removeItems&&t){var e=t[t.length-1],n=t.some(function(t){return t.highlighted});this.config.editItems&&!n&&e?(this.input.value=e.value,this._setInputWidth(),this._removeItem(e),this._triggerChange(e.value)):(n||this.highlightItem(e,!1),this.removeHighlightedItems(!0))}}},{key:"_canAddItem",value:function(t,e){var n=!0,r=(0,S.isType)("Function",this.config.addItemText)?this.config.addItemText(e):this.config.addItemText,i;return(this.isSelectMultipleElement||this.isTextElement)&&0<this.config.maxItemCount&&this.config.maxItemCount<=t.length&&(r=(n=!1,S.isType)("Function",this.config.maxItemText)?this.config.maxItemText(this.config.maxItemCount):this.config.maxItemText),this.isTextElement&&this.config.addItems&&n&&this.config.regexFilter&&(n=this._regexFilter(e)),!t.some(function(t){return(0,S.isType)("String",e)?t.value===e.trim():t.value===e})||this.config.duplicateItems||this.isSelectOneElement||!n||(r=(n=!1,S.isType)("Function",this.config.uniqueItemText)?this.config.uniqueItemText(e):this.config.uniqueItemText),{response:n,notice:r}}},{key:"_handleLoadingState",value:function(){var t=!(0<arguments.length&&void 0!==arguments[0])||arguments[0],e=this.itemList.querySelector("."+this.config.classNames.placeholder);t?(this.containerOuter.classList.add(this.config.classNames.loadingState),this.containerOuter.setAttribute("aria-busy","true"),this.isSelectOneElement?e?e.innerHTML=this.config.loadingText:(e=this._getTemplate("placeholder",this.config.loadingText),this.itemList.appendChild(e)):this.input.placeholder=this.config.loadingText):(this.containerOuter.classList.remove(this.config.classNames.loadingState),this.isSelectOneElement?e.innerHTML=this.placeholder||"":this.input.placeholder=this.placeholder||"")}},{key:"_ajaxCallback",value:function(){var i=this;return function(t,n,r){if(t&&n){var e=(0,S.isType)("Object",t)?[t]:t;e&&(0,S.isType)("Array",e)&&e.length?(i._handleLoadingState(!1),i._setLoading(!0),e.forEach(function(t){if(t.choices){var e=t.id||null;i._addGroup(t,e,n,r)}else i._addChoice(t[n],t[r],t.selected,t.disabled,void 0,t.customProperties,t.placeholder)}),i._setLoading(!1),i.isSelectOneElement&&i._selectPlaceholderChoice()):i._handleLoadingState(!1),i.containerOuter.removeAttribute("aria-busy")}}}},{key:"_searchChoices",value:function(t){var e=(0,S.isType)("String",t)?t.trim():t,n=(0,S.isType)("String",this.currentValue)?this.currentValue.trim():this.currentValue;if(1<=e.length&&e!==n+" "){var r=this.store.getSearchableChoices(),i=e,a=(0,S.isType)("Array",this.config.searchFields)?this.config.searchFields:[this.config.searchFields],o=Object.assign(this.config.fuseOptions,{keys:a}),s,c=new u.default(r,o).search(i);return this.currentValue=e,this.highlightPosition=0,this.isSearching=!0,this.store.dispatch((0,p.filterChoices)(c)),c.length}return 0}},{key:"_handleSearch",value:function(t){if(t){var e,n=this.store.getChoices().some(function(t){return!t.active});if(this.input===document.activeElement)if(t&&t.length>=this.config.searchFloor){var r=0;this.config.searchChoices&&(r=this._searchChoices(t)),(0,S.triggerEvent)(this.passedElement,"search",{value:t,resultCount:r})}else n&&(this.isSearching=!1,this.store.dispatch((0,p.activateChoices)(!0)))}}},{key:"_addEventListeners",value:function(){document.addEventListener("keyup",this._onKeyUp),document.addEventListener("keydown",this._onKeyDown),document.addEventListener("click",this._onClick),document.addEventListener("touchmove",this._onTouchMove),document.addEventListener("touchend",this._onTouchEnd),document.addEventListener("mousedown",this._onMouseDown),document.addEventListener("mouseover",this._onMouseOver),this.isSelectOneElement&&(this.containerOuter.addEventListener("focus",this._onFocus),this.containerOuter.addEventListener("blur",this._onBlur)),this.input.addEventListener("input",this._onInput),this.input.addEventListener("paste",this._onPaste),this.input.addEventListener("focus",this._onFocus),this.input.addEventListener("blur",this._onBlur)}},{key:"_removeEventListeners",value:function(){document.removeEventListener("keyup",this._onKeyUp),document.removeEventListener("keydown",this._onKeyDown),document.removeEventListener("click",this._onClick),document.removeEventListener("touchmove",this._onTouchMove),document.removeEventListener("touchend",this._onTouchEnd),document.removeEventListener("mousedown",this._onMouseDown),document.removeEventListener("mouseover",this._onMouseOver),this.isSelectOneElement&&(this.containerOuter.removeEventListener("focus",this._onFocus),this.containerOuter.removeEventListener("blur",this._onBlur)),this.input.removeEventListener("input",this._onInput),this.input.removeEventListener("paste",this._onPaste),this.input.removeEventListener("focus",this._onFocus),this.input.removeEventListener("blur",this._onBlur)}},{key:"_setInputWidth",value:function(){this.placeholder?this.input.value&&this.input.value.length>=this.placeholder.length/1.25&&(this.input.style.width=(0,S.getWidthOfInput)(this.input)):this.input.style.width=(0,S.getWidthOfInput)(this.input)}},{key:"_onKeyDown",value:function(i){var t,a=this;if(i.target===this.input||this.containerOuter.contains(i.target)){var r=i.target,o=this.store.getItemsFilteredByActive(),e=this.input===document.activeElement,s=this.dropdown.classList.contains(this.config.classNames.activeState),n=this.itemList&&this.itemList.children,c=String.fromCharCode(i.keyCode),u=46,l=8,f=13,h=65,d=27,p=38,g=40,_=33,v=34,y=i.ctrlKey||i.metaKey;this.isTextElement||!/[a-zA-Z0-9-_ ]/.test(c)||s||this.showDropdown(!0),this.canSearch=this.config.searchEnabled;var m,b=function(){if(a.isTextElement&&r.value){var t=a.input.value,e;a._canAddItem(o,t).response&&(s&&a.hideDropdown(),a._addItem(t),a._triggerChange(t),a.clearInput())}if(r.hasAttribute("data-button")&&(a._handleButtonAction(o,r),i.preventDefault()),s){i.preventDefault();var n=a.dropdown.querySelector("."+a.config.classNames.highlightedState);n&&(o[0]&&(o[0].keyCode=13),a._handleChoiceAction(o,n))}else a.isSelectOneElement&&(s||(a.showDropdown(!0),i.preventDefault()))},x=function(){s&&(a.toggleDropdown(),a.containerOuter.focus())},w=function(){if(s||a.isSelectOneElement){s||a.showDropdown(!0),a.canSearch=!1;var t=40===i.keyCode||34===i.keyCode?1:-1,e,n=void 0;if(i.metaKey||34===i.keyCode||33===i.keyCode)n=0<t?Array.from(a.dropdown.querySelectorAll("[data-choice-selectable]")).pop():a.dropdown.querySelector("[data-choice-selectable]");else{var r=a.dropdown.querySelector("."+a.config.classNames.highlightedState);n=r?(0,S.getAdjacentEl)(r,"[data-choice-selectable]",t):a.dropdown.querySelector("[data-choice-selectable]")}n&&((0,S.isScrolledIntoView)(n,a.choiceList,t)||a._scrollToChoice(n,t),a._highlightChoice(n)),i.preventDefault()}},k=function(){!e||i.target.value||a.isSelectOneElement||(a._handleBackspace(o),i.preventDefault())},A=(M(t={},65,function(){y&&n&&(a.canSearch=!1,a.config.removeItems&&!a.input.value&&a.input===document.activeElement&&a.highlightAll())}),M(t,13,b),M(t,27,x),M(t,38,w),M(t,33,w),M(t,40,w),M(t,34,w),M(t,8,k),M(t,46,k),t);A[i.keyCode]&&A[i.keyCode]()}}},{key:"_onKeyUp",value:function(t){if(t.target===this.input){var e=this.input.value,n=this.store.getItemsFilteredByActive(),r=this._canAddItem(n,e);if(this.isTextElement){var i=this.dropdown.classList.contains(this.config.classNames.activeState);if(e){if(r.notice){var a=this._getTemplate("notice",r.notice);this.dropdown.innerHTML=a.outerHTML}!0===r.response?i||this.showDropdown():!r.notice&&i&&this.hideDropdown()}else i&&this.hideDropdown()}else{var o=46,s=8;46!==t.keyCode&&8!==t.keyCode||t.target.value?this.canSearch&&r.response&&this._handleSearch(this.input.value):!this.isTextElement&&this.isSearching&&(this.isSearching=!1,this.store.dispatch((0,p.activateChoices)(!0)))}this.canSearch=this.config.searchEnabled}}},{key:"_onInput",value:function(){this.isSelectOneElement||this._setInputWidth()}},{key:"_onTouchMove",value:function(){!0===this.wasTap&&(this.wasTap=!1)}},{key:"_onTouchEnd",value:function(t){var e=t.target||t.touches[0].target,n=this.dropdown.classList.contains(this.config.classNames.activeState);!0===this.wasTap&&this.containerOuter.contains(e)&&(e!==this.containerOuter&&e!==this.containerInner||this.isSelectOneElement||(this.isTextElement?document.activeElement!==this.input&&this.input.focus():n||this.showDropdown(!0)),t.stopPropagation()),this.wasTap=!0}},{key:"_onMouseDown",value:function(t){var e=t.target;if(e===this.choiceList&&this.isIe11&&(this.isScrollingOnIe=!0),this.containerOuter.contains(e)&&e!==this.input){var n=void 0,r=this.store.getItemsFilteredByActive(),i=t.shiftKey;(n=(0,S.findAncestorByAttrName)(e,"data-button"))?this._handleButtonAction(r,n):(n=(0,S.findAncestorByAttrName)(e,"data-item"))?this._handleItemAction(r,n,i):(n=(0,S.findAncestorByAttrName)(e,"data-choice"))&&this._handleChoiceAction(r,n),t.preventDefault()}}},{key:"_onClick",value:function(t){var e=t.target,n=this.dropdown.classList.contains(this.config.classNames.activeState),r=this.store.getItemsFilteredByActive(),i;this.containerOuter.contains(e)?(e.hasAttribute("data-button")&&this._handleButtonAction(r,e),n?this.isSelectOneElement&&e!==this.input&&!this.dropdown.contains(e)&&this.hideDropdown(!0):this.isTextElement?document.activeElement!==this.input&&this.input.focus():this.canSearch?this.showDropdown(!0):(this.showDropdown(),this.containerOuter.focus())):(r.some(function(t){return t.highlighted})&&this.unhighlightAll(),this.containerOuter.classList.remove(this.config.classNames.focusState),n&&this.hideDropdown())}},{key:"_onMouseOver",value:function(t){(t.target===this.dropdown||this.dropdown.contains(t.target))&&t.target.hasAttribute("data-choice")&&this._highlightChoice(t.target)}},{key:"_onPaste",value:function(t){t.target!==this.input||this.config.paste||t.preventDefault()}},{key:"_onFocus",value:function(t){var e=this,n=t.target;if(this.containerOuter.contains(n)){var r=this.dropdown.classList.contains(this.config.classNames.activeState),i;({text:function(){n===e.input&&e.containerOuter.classList.add(e.config.classNames.focusState)},"select-one":function(){e.containerOuter.classList.add(e.config.classNames.focusState),n===e.input&&(r||e.showDropdown())},"select-multiple":function(){n===e.input&&(e.containerOuter.classList.add(e.config.classNames.focusState),r||e.showDropdown(!0))}})[this.passedElement.type]()}}},{key:"_onBlur",value:function(t){var e=this,n=t.target;if(this.containerOuter.contains(n)&&!this.isScrollingOnIe){var r=this.store.getItemsFilteredByActive(),i=this.dropdown.classList.contains(this.config.classNames.activeState),a=r.some(function(t){return t.highlighted}),o;({text:function(){n===e.input&&(e.containerOuter.classList.remove(e.config.classNames.focusState),a&&e.unhighlightAll(),i&&e.hideDropdown())},"select-one":function(){e.containerOuter.classList.remove(e.config.classNames.focusState),n===e.containerOuter&&i&&!e.canSearch&&e.hideDropdown(),n===e.input&&i&&e.hideDropdown()},"select-multiple":function(){n===e.input&&(e.containerOuter.classList.remove(e.config.classNames.focusState),i&&e.hideDropdown(),a&&e.unhighlightAll())}})[this.passedElement.type]()}else this.isScrollingOnIe=!1,this.input.focus()}},{key:"_regexFilter",value:function(t){if(!t)return!1;var e=this.config.regexFilter,n;return new RegExp(e.source,"i").test(t)}},{key:"_scrollToChoice",value:function(t,o){var s=this;if(t){var e=this.choiceList.offsetHeight,n=t.offsetHeight,r=t.offsetTop+n,i=this.choiceList.scrollTop+e,c=0<o?this.choiceList.scrollTop+r-i:t.offsetTop,a=function e(){var t=4,n=s.choiceList.scrollTop,r=!1,i=void 0,a=void 0;0<o?(a=1<(i=(c-n)/4)?i:1,s.choiceList.scrollTop=n+a,n<c&&(r=!0)):(a=1<(i=(n-c)/4)?i:1,s.choiceList.scrollTop=n-a,c<n&&(r=!0)),r&&requestAnimationFrame(function(t){e()})};requestAnimationFrame(function(t){a(t,c,o)})}}},{key:"_highlightChoice",value:function(){var e=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,n=Array.from(this.dropdown.querySelectorAll("[data-choice-selectable]")),r=t,i;n&&n.length&&(Array.from(this.dropdown.querySelectorAll("."+this.config.classNames.highlightedState)).forEach(function(t){t.classList.remove(e.config.classNames.highlightedState),t.setAttribute("aria-selected","false")}),r?this.highlightPosition=n.indexOf(r):r=(r=n.length>this.highlightPosition?n[this.highlightPosition]:n[n.length-1])||n[0],r.classList.add(this.config.classNames.highlightedState),r.setAttribute("aria-selected","true"),this.containerOuter.setAttribute("aria-activedescendant",r.id))}},{key:"_addItem",value:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:-1,r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:-1,i=4<arguments.length&&void 0!==arguments[4]?arguments[4]:null,a=5<arguments.length&&void 0!==arguments[5]&&arguments[5],o=6<arguments.length&&void 0!==arguments[6]?arguments[6]:null,s=(0,S.isType)("String",t)?t.trim():t,c=o,u=this.store.getItems(),l=e||s,f=parseInt(n,10)||-1,h=0<=r?this.store.getGroupById(r):null,d=u?u.length+1:1;return this.config.prependValue&&(s=this.config.prependValue+s.toString()),this.config.appendValue&&(s+=this.config.appendValue.toString()),this.store.dispatch((0,p.addItem)(s,l,d,f,r,i,a,c)),this.isSelectOneElement&&this.removeActiveItems(d),h&&h.value?(0,S.triggerEvent)(this.passedElement,"addItem",{id:d,value:s,label:l,groupValue:h.value,keyCode:c}):(0,S.triggerEvent)(this.passedElement,"addItem",{id:d,value:s,label:l,keyCode:c}),this}},{key:"_removeItem",value:function(t){if(!t||!(0,S.isType)("Object",t))return this;var e=t.id,n=t.value,r=t.label,i=t.choiceId,a=t.groupId,o=0<=a?this.store.getGroupById(a):null;return this.store.dispatch((0,p.removeItem)(e,i)),o&&o.value?(0,S.triggerEvent)(this.passedElement,"removeItem",{id:e,value:n,label:r,groupValue:o.value}):(0,S.triggerEvent)(this.passedElement,"removeItem",{id:e,value:n,label:r}),this}},{key:"_addChoice",value:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null,n=2<arguments.length&&void 0!==arguments[2]&&arguments[2],r=3<arguments.length&&void 0!==arguments[3]&&arguments[3],i=4<arguments.length&&void 0!==arguments[4]?arguments[4]:-1,a=5<arguments.length&&void 0!==arguments[5]?arguments[5]:null,o=6<arguments.length&&void 0!==arguments[6]&&arguments[6],s=7<arguments.length&&void 0!==arguments[7]?arguments[7]:null;if(null!=t){var c=this.store.getChoices(),u=e||t,l=c?c.length+1:1,f=this.baseId+"-"+this.idNames.itemChoice+"-"+l;this.store.dispatch((0,p.addChoice)(t,u,l,i,r,f,a,o,s)),n&&this._addItem(t,u,l,void 0,a,o,s)}}},{key:"_clearChoices",value:function(){this.store.dispatch((0,p.clearChoices)())}},{key:"_addGroup",value:function(t,e){var n=this,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"value",i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"label",a=(0,S.isType)("Object",t)?t.choices:Array.from(t.getElementsByTagName("OPTION")),o=e||Math.floor((new Date).valueOf()*Math.random()),s=!!t.disabled&&t.disabled;a?(this.store.dispatch((0,p.addGroup)(t.label,o,!0,s)),a.forEach(function(t){var e=t.disabled||t.parentNode&&t.parentNode.disabled;n._addChoice(t[r],(0,S.isType)("Object",t)?t[i]:t.innerHTML,t.selected,e,o,t.customProperties,t.placeholder)})):this.store.dispatch((0,p.addGroup)(t.label,t.id,!1,t.disabled))}},{key:"_getTemplate",value:function(t){if(!t)return null;for(var e=this.config.templates,n=arguments.length,r=Array(1<n?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return e[t].apply(e,r)}},{key:"_createTemplates",value:function(){var i=this,a=this.config.classNames,t={containerOuter:function(t){return(0,S.strToEl)('\n <div\n class="'+a.containerOuter+'"\n '+(i.isSelectElement?i.config.searchEnabled?'role="combobox" aria-autocomplete="list"':'role="listbox"':"")+'\n data-type="'+i.passedElement.type+'"\n '+(i.isSelectOneElement?'tabindex="0"':"")+'\n aria-haspopup="true"\n aria-expanded="false"\n dir="'+t+'"\n >\n\n '+t+"\n\n ")},item:function(t){var e,n=(0,s.default)(a.item,(M(e={},a.highlightedState,t.highlighted),M(e,a.itemSelectable,!t.highlighted),M(e,a.placeholder,t.placeholder),e)),r;return i.config.removeItemButton?(n=(0,s.default)(a.item,(M(r={},a.highlightedState,t.highlighted),M(r,a.itemSelectable,!t.disabled),M(r,a.placeholder,t.placeholder),r)),(0,S.strToEl)('\n <div\n class="'+n+'"\n data-item\n data-id="'+t.id+'"\n data-value="'+t.value+'"\n data-deletable\n '+(t.active?'aria-selected="true"':"")+"\n "+(t.disabled?'aria-disabled="true"':"")+"\n >\n "+t.label+'\x3c!--\n --\x3e<button\n type="button"\n class="'+a.button+'"\n data-button\n aria-label="Remove item: \''+t.value+"'\"\n >\n Remove item\n \n'+t.value+"\n\n ')},notice:function(t){var e,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",r=(0,s.default)(a.item,a.itemChoice,(M(e={},a.noResults,"no-results"===n),M(e,a.noChoices,"no-choices"===n),e));return(0,S.strToEl)('\n
\n '+t+"\n\n ")},option:function(t){return(0,S.strToEl)('\n'+t.label+"\n ")}},e=this.config.callbackOnCreateTemplates,n={};e&&(0,S.isType)("Function",e)&&(n=e.call(this,S.strToEl)),this.config.templates=(0,S.extend)(t,n)}},{key:"_setLoading",value:function(t){this.store.dispatch((0,p.setIsLoading)(t))}},{key:"_createInput",value:function(){var r=this,t=this.passedElement.getAttribute("dir")||"ltr",e=this._getTemplate("containerOuter",t),n=this._getTemplate("containerInner"),i=this._getTemplate("itemList"),a=this._getTemplate("choiceList"),o=this._getTemplate("input"),s=this._getTemplate("dropdown");this.containerOuter=e,this.containerInner=n,this.input=o,this.choiceList=a,this.itemList=i,this.dropdown=s,this.passedElement.classList.add(this.config.classNames.input,this.config.classNames.hiddenState),this.passedElement.tabIndex="-1";var c=this.passedElement.getAttribute("style");if(Boolean(c)&&this.passedElement.setAttribute("data-choice-orig-style",c),this.passedElement.setAttribute("style","display:none;"),this.passedElement.setAttribute("aria-hidden","true"),this.passedElement.setAttribute("data-choice","active"),(0,S.wrap)(this.passedElement,n),(0,S.wrap)(n,e),this.isSelectOneElement?o.placeholder=this.config.searchPlaceholderValue||"":this.placeholder&&(o.placeholder=this.placeholder,o.style.width=(0,S.getWidthOfInput)(o)),this.config.addItems||this.disable(),e.appendChild(n),e.appendChild(s),n.appendChild(i),this.isTextElement||s.appendChild(a),this.isSelectMultipleElement||this.isTextElement?n.appendChild(o):this.canSearch&&s.insertBefore(o,s.firstChild),this.isSelectElement){var u=Array.from(this.passedElement.getElementsByTagName("OPTGROUP"));if(this.highlightPosition=0,this.isSearching=!1,this._setLoading(!0),u&&u.length)u.forEach(function(t){r._addGroup(t,t.id||null)});else{var l=Array.from(this.passedElement.options),f=this.config.sortFilter,h=this.presetChoices;l.forEach(function(t){h.push({value:t.value,label:t.innerHTML,selected:t.selected,disabled:t.disabled||t.parentNode.disabled,placeholder:t.hasAttribute("placeholder")})}),this.config.shouldSort&&h.sort(f);var d=h.some(function(t){return t.selected});h.forEach(function(t,e){if(r.isSelectOneElement){var n=d||!d&&0<e;r._addChoice(t.value,t.label,!n||t.selected,!!n&&t.disabled,void 0,t.customProperties,t.placeholder)}else r._addChoice(t.value,t.label,t.selected,t.disabled,void 0,t.customProperties,t.placeholder)})}this._setLoading(!1)}else this.isTextElement&&this.presetItems.forEach(function(t){var e=(0,S.getType)(t);if("Object"===e){if(!t.value)return;r._addItem(t.value,t.label,t.id,void 0,t.customProperties,t.placeholder)}else"String"===e&&r._addItem(t)})}}]),g);function g(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"[data-choice]",e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(c(this,g),(0,S.isType)("String",t)){var n=document.querySelectorAll(t);if(1<n.length)for(var r=1;r<n.length;r++){var i;new g(n[r],e)}}var a={silent:!1,items:[],choices:[],renderChoiceLimit:-1,maxItemCount:-1,addItems:!0,removeItems:!0,removeItemButton:!1,editItems:!1,duplicateItems:!0,delimiter:",",paste:!0,searchEnabled:!0,searchChoices:!0,searchFloor:1,searchResultLimit:4,searchFields:["label","value"],position:"auto",resetScrollPosition:!0,regexFilter:null,shouldSort:!0,shouldSortItems:!1,sortFilter:S.sortByAlpha,placeholder:!0,placeholderValue:null,searchPlaceholderValue:null,prependValue:null,appendValue:null,renderSelectedChoices:"auto",loadingText:"Loading...",noResultsText:"No results found",noChoicesText:"No choices to choose from",itemSelectText:"Press to select",addItemText:function(t){return'Press Enter to add "'+(0,S.stripHTML)(t)+'"'},maxItemText:function(t){return"Only "+t+" values can be added."},itemComparer:function(t,e){return t===e},uniqueItemText:"Only unique values can be added.",classNames:{containerOuter:"choices",containerInner:"choices__inner",input:"choices__input",inputCloned:"choices__input--cloned",list:"choices__list",listItems:"choices__list--multiple",listSingle:"choices__list--single",listDropdown:"choices__list--dropdown",item:"choices__item",itemSelectable:"choices__item--selectable",itemDisabled:"choices__item--disabled",itemChoice:"choices__item--choice",placeholder:"choices__placeholder",group:"choices__group",groupHeading:"choices__heading",button:"choices__button",activeState:"is-active",focusState:"is-focused",openState:"is-open",disabledState:"is-disabled",highlightedState:"is-highlighted",hiddenState:"is-hidden",flippedState:"is-flipped",loadingState:"is-loading",noResults:"has-no-results",noChoices:"has-no-choices"},fuseOptions:{include:"score"},callbackOnInit:null,callbackOnCreateTemplates:null},o,s;if(this.idNames={itemChoice:"item-choice"},this.config=(0,S.extend)(a,e),"auto"!==this.config.renderSelectedChoices&&"always"!==this.config.renderSelectedChoices&&(this.config.silent||console.warn("renderSelectedChoices: Possible values are 'auto' and 'always'. Falling back to 'auto'."),this.config.renderSelectedChoices="auto"),this.store=new f.default(this.render),this.initialised=!1,this.currentState={},this.prevState={},this.currentValue="",this.element=t,this.passedElement=(0,S.isType)("String",t)?document.querySelector(t):t,this.passedElement)if(this.isTextElement="text"===this.passedElement.type,this.isSelectOneElement="select-one"===this.passedElement.type,this.isSelectMultipleElement="select-multiple"===this.passedElement.type,this.isSelectElement=this.isSelectOneElement||this.isSelectMultipleElement,this.isValidElementType=this.isTextElement||this.isSelectElement,this.isIe11=!(!navigator.userAgent.match(/Trident/)||!navigator.userAgent.match(/rv[ :]11/)),!(this.isScrollingOnIe=!1)===this.config.shouldSortItems&&this.isSelectOneElement&&(this.config.silent||console.warn("shouldSortElements: Type of passed element is 'select-one', falling back to false.")),this.highlightPosition=0,this.canSearch=this.config.searchEnabled,this.placeholder=!1,this.isSelectOneElement||(this.placeholder=!!this.config.placeholder&&(this.config.placeholderValue||this.passedElement.getAttribute("placeholder"))),this.presetChoices=this.config.choices,this.presetItems=this.config.items,this.passedElement.value&&(this.presetItems=this.presetItems.concat(this.passedElement.value.split(this.config.delimiter))),this.baseId=(0,S.generateId)(this.passedElement,"choices-"),this.render=this.render.bind(this),this._onFocus=this._onFocus.bind(this),this._onBlur=this._onBlur.bind(this),this._onKeyUp=this._onKeyUp.bind(this),this._onKeyDown=this._onKeyDown.bind(this),this._onClick=this._onClick.bind(this),this._onTouchMove=this._onTouchMove.bind(this),this._onTouchEnd=this._onTouchEnd.bind(this),this._onMouseDown=this._onMouseDown.bind(this),this._onMouseOver=this._onMouseOver.bind(this),this._onPaste=this._onPaste.bind(this),this._onInput=this._onInput.bind(this),this.wasTap=!0,"classList"in document.documentElement||this.config.silent||console.error("Choices: Your browser doesn't support Choices"),(0,S.isElement)(this.passedElement)&&this.isValidElementType){if("active"===this.passedElement.getAttribute("data-choice"))return;this.init()}else this.config.silent||console.error("Incompatible input passed");else this.config.silent||console.error("Passed element not found")}t.exports=d},function(t,e,n){function k(){console.log.apply(console,arguments)}function r(t,e){var n;for(n in this.list=t,this.options=e=e||{},o)o.hasOwnProperty(n)&&("boolean"==typeof o[n]?this.options[n]=n in e?e[n]:o[n]:this.options[n]=e[n]||o[n])}function u(t,e,n){var r,i,a,o,s,c;if(e){if(-1!==(a=e.indexOf("."))?(r=e.slice(0,a),i=e.slice(a+1)):r=e,null!=(o=t[r]))if(i||"string"!=typeof o&&"number"!=typeof o)if(A(o))for(s=0,c=o.length;s<c;s++)u(o[s],i,n);else i&&u(o,i,n);else n.push(o)}else n.push(t);return n}function A(t){return"[object Array]"===Object.prototype.toString.call(t)}function i(t,e){e=e||{},this.options=e,this.options.location=e.location||i.defaultOptions.location,this.options.distance="distance"in e?e.distance:i.defaultOptions.distance,this.options.threshold="threshold"in e?e.threshold:i.defaultOptions.threshold,this.options.maxPatternLength=e.maxPatternLength||i.defaultOptions.maxPatternLength,this.pattern=e.caseSensitive?t:t.toLowerCase(),this.patternLen=t.length,this.patternLen<=this.options.maxPatternLength&&(this.matchmask=1<<this.patternLen-1,this.patternAlphabet=this._calculatePatternAlphabet())}var a,o;o={id:null,caseSensitive:!1,include:[],shouldSort:!0,searchFn:i,sortFn:function(t,e){return t.score-e.score},getFn:u,keys:[],verbose:!1,tokenize:!1,matchAllTokens:!1,tokenSeparator:/ +/g,minMatchCharLength:1,findAllMatches:!1},r.VERSION="2.7.3",r.prototype.set=function(t){return this.list=t},r.prototype.search=function(t){var e;return this.options.verbose&&k("\nSearch term:",t,"\n"),this.pattern=t,this.results=[],this.resultMap={},this._keyMap=null,this._prepareSearchers(),this._startSearch(),this._computeScore(),this._sort(),this._format()},r.prototype._prepareSearchers=function(){var t=this.options,e=this.pattern,n=t.searchFn,r=e.split(t.tokenSeparator),i=0,a=r.length;if(this.options.tokenize)for(this.tokenSearchers=[];i<a;i++)this.tokenSearchers.push(new n(r[i],t));this.fullSeacher=new n(e,t)},r.prototype._startSearch=function(){var t,e,n,r,i,a=this.options.getFn,o=this.list,s=o.length,c=this.options.keys,u=c.length,l=null;if("string"==typeof o[0])for(n=0;n<s;n++)this._analyze("",o[n],n,n);else for(this._keyMap={},n=0;n<s;n++)for(l=o[n],r=0;r<u;r++){if("string"!=typeof(t=c[r])){if(e=1-t.weight||1,this._keyMap[t.name]={weight:e},t.weight<=0||1<t.weight)throw new Error("Key weight has to be > 0 and <= 1");t=t.name}else this._keyMap[t]={weight:1};this._analyze(t,a(l,t,[]),l,n)}},r.prototype._analyze=function(t,e,n,r){var i,a,o,s,c,u,l,f,h,d,p,g,_,v,y,m=this.options,b=!1;if(null!=e){a=[];var x=0;if("string"==typeof e){if(i=e.split(m.tokenSeparator),m.verbose&&k("---------\nKey:",t),this.options.tokenize){for(v=0;v<this.tokenSearchers.length;v++){for(f=this.tokenSearchers[v],m.verbose&&k("Pattern:",f.pattern),g=!(h=[]),y=0;y<i.length;y++){d=i[y];var w={};(p=f.search(d)).isMatch?(w[d]=p.score,g=b=!0,a.push(p.score)):(w[d]=1,this.options.matchAllTokens||a.push(1)),h.push(w)}g&&x++,m.verbose&&k("Token scores:",h)}for(s=a[0],u=a.length,v=1;v<u;v++)s+=a[v];s/=u,m.verbose&&k("Token score average:",s)}l=this.fullSeacher.search(e),m.verbose&&k("Full text score:",l.score),c=l.score,void 0!==s&&(c=(c+s)/2),m.verbose&&k("Score average:",c),_=!this.options.tokenize||!this.options.matchAllTokens||x>=this.tokenSearchers.length,m.verbose&&k("Check Matches",_),(b||l.isMatch)&&_&&((o=this.resultMap[r])?o.output.push({key:t,score:c,matchedIndices:l.matchedIndices}):(this.resultMap[r]={item:n,output:[{key:t,score:c,matchedIndices:l.matchedIndices}]},this.results.push(this.resultMap[r])))}else if(A(e))for(v=0;v<e.length;v++)this._analyze(t,e[v],n,r)}},r.prototype._computeScore=function(){var t,e,n,r,i,a,o,s,c,u=this._keyMap,l=this.results;for(this.options.verbose&&k("\n\nComputing score:\n"),t=0;t<l.length;t++){for(n=0,i=(r=l[t].output).length,s=1,e=0;e<i;e++)c=(a=r[e].score)*(o=u?u[r[e].key].weight:1),1!==o?s=Math.min(s,c):(n+=c,r[e].nScore=c);l[t].score=1===s?n/i:s,this.options.verbose&&k(l[t])}},r.prototype._sort=function(){var t=this.options;t.shouldSort&&(t.verbose&&k("\n\nSorting...."),this.results.sort(t.sortFn))},r.prototype._format=function(){var t,e,n,r,i=this.options,a=i.getFn,o=[],s=this.results,c=i.include;for(i.verbose&&k("\n\nOutput:\n\n",s),n=i.id?function(t){s[t].item=a(s[t].item,i.id,[])[0]}:function(){},r=function(t){var e,n,r,i,a,o=s[t];if(0<c.length){if(e={item:o.item},-1!==c.indexOf("matches"))for(r=o.output,e.matches=[],n=0;n<r.length;n++)a={indices:(i=r[n]).matchedIndices},i.key&&(a.key=i.key),e.matches.push(a);-1!==c.indexOf("score")&&(e.score=s[t].score)}else e=o.item;return e},t=0,e=s.length;t<e;t++)n(t),o.push(r(t));return o},i.defaultOptions={location:0,distance:100,threshold:.6,maxPatternLength:32},i.prototype._calculatePatternAlphabet=function(){var t={},e=0;for(e=0;e<this.patternLen;e++)t[this.pattern.charAt(e)]=0;for(e=0;e<this.patternLen;e++)t[this.pattern.charAt(e)]|=1<<this.pattern.length-e-1;return t},i.prototype._bitapScore=function(t,e){var n=t/this.patternLen,r=Math.abs(this.options.location-e);return this.options.distance?n+r/this.options.distance:r?1:n},i.prototype.search=function(t){var e,n,r,i,a,o,s,c,u,l,f,h,d,p,g,_,v,y,m,b,x,w,k,A=this.options;if(t=A.caseSensitive?t:t.toLowerCase(),this.pattern===t)return{isMatch:!0,score:0,matchedIndices:[[0,t.length-1]]};if(this.patternLen>A.maxPatternLength){if(m=!!(y=t.match(new RegExp(this.pattern.replace(A.tokenSeparator,"|")))))for(x=[],e=0,w=y.length;e<w;e++)k=y[e],x.push([t.indexOf(k),k.length-1]);return{isMatch:m,score:m?.5:1,matchedIndices:x}}for(i=A.findAllMatches,a=A.location,r=t.length,o=A.threshold,s=t.indexOf(this.pattern,a),b=[],e=0;e<r;e++)b[e]=0;for(-1!=s&&(o=Math.min(this._bitapScore(0,s),o),-1!=(s=t.lastIndexOf(this.pattern,a+this.patternLen))&&(o=Math.min(this._bitapScore(0,s),o))),s=-1,_=1,v=[],l=this.patternLen+r,e=0;e<this.patternLen;e++){for(c=0,u=l;c<u;)this._bitapScore(e,a+u)<=o?c=u:l=u,u=Math.floor((l-c)/2+c);for(l=u,f=Math.max(1,a-u+1),h=i?r:Math.min(a+u,r)+this.patternLen,(d=Array(h+2))[h+1]=(1<<e)-1,n=h;f<=n;n--)if((g=this.patternAlphabet[t.charAt(n-1)])&&(b[n-1]=1),d[n]=(d[n+1]<<1|1)&g,0!==e&&(d[n]|=(p[n+1]|p[n])<<1|1|p[n+1]),d[n]&this.matchmask&&(_=this._bitapScore(e,n-1))<=o){if(o=_,s=n-1,v.push(s),s<=a)break;f=Math.max(1,2*a-s)}if(this._bitapScore(e+1,a)>o)break;p=d}return{isMatch:0<=s,score:0===_?.001:_,matchedIndices:x=this._getMatchedIndices(b)}},i.prototype._getMatchedIndices=function(t){for(var e,n=[],r=-1,i=-1,a=0,o=t.length;a<o;a++)(e=t[a])&&-1===r?r=a:e||-1===r||((i=a-1)-r+1>=this.options.minMatchCharLength&&n.push([r,i]),r=-1);return t[a-1]&&a-1-r+1>=this.options.minMatchCharLength&&n.push([r,a-1]),n},t.exports=r},function(t,e,n){var r,i,a;function o(){for(var t=[],e=0;e<arguments.length;e++){var n=arguments[e];if(n){var r=typeof n;if("string"==r||"number"==r)t.push(n);else if(Array.isArray(n))t.push(o.apply(null,n));else if("object"==r)for(var i in n)a.call(n,i)&&n[i]&&t.push(i)}}return t.join(" ")}a={}.hasOwnProperty,void 0!==t&&t.exports?t.exports=o:void 0===(i=function(){return o}.apply(e,r=[]))||(t.exports=i)},function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}function i(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var o=function(t,e,n){return e&&h(t.prototype,e),n&&h(t,n),t},s=n(5),c,u=r(n(26)),l=(o(f,[{key:"getState",value:function(){return this.store.getState()}},{key:"dispatch",value:function(t){this.store.dispatch(t)}},{key:"subscribe",value:function(t){this.store.subscribe(t)}},{key:"isLoading",value:function(){var t;return this.store.getState().general.loading}},{key:"getItems",value:function(){var t;return this.store.getState().items}},{key:"getItemsFilteredByActive",value:function(){var t,e;return this.getItems().filter(function(t){return!0===t.active},[])}},{key:"getItemsReducedToValues",value:function(){var t,e;return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.getItems()).reduce(function(t,e){return t.push(e.value),t},[])}},{key:"getChoices",value:function(){var t;return this.store.getState().choices}},{key:"getChoicesFilteredByActive",value:function(){var t,e;return this.getChoices().filter(function(t){return!0===t.active})}},{key:"getChoicesFilteredBySelectable",value:function(){var t,e;return this.getChoices().filter(function(t){return!0!==t.disabled})}},{key:"getSearchableChoices",value:function(){var t;return this.getChoicesFilteredBySelectable().filter(function(t){return!0!==t.placeholder})}},{key:"getChoiceById",value:function(e){var t,n;return!!e&&this.getChoicesFilteredByActive().find(function(t){return t.id===parseInt(e,10)})}},{key:"getGroups",value:function(){var t;return this.store.getState().groups}},{key:"getGroupsFilteredByActive",value:function(){var t=this.getGroups(),r=this.getChoices(),e;return t.filter(function(t){var e=!0===t.active&&!1===t.disabled,n=r.some(function(t){return!0===t.active&&!1===t.disabled});return e&&n},[])}},{key:"getGroupById",value:function(e){var t,n;return this.getGroups().find(function(t){return t.id===e})}},{key:"getPlaceholderChoice",value:function(){var t=this.getChoices(),e;return[].concat(i(t)).reverse().find(function(t){return!0===t.placeholder})}}]),f);function f(){a(this,f),this.store=(0,s.createStore)(u.default,window.devToolsExtension?window.devToolsExtension():void 0)}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}e.default=l,t.exports=l},function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0,e.compose=e.applyMiddleware=e.bindActionCreators=e.combineReducers=e.createStore=void 0;var i,a=r(n(6)),o,s=r(n(21)),c,u=r(n(23)),l,f=r(n(24)),h,d=r(n(25)),p;r(n(22)),e.createStore=a.default,e.combineReducers=s.default,e.bindActionCreators=u.default,e.applyMiddleware=f.default,e.compose=d.default},function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}function g(t,e,n){function r(){d===h&&(d=h.slice())}function i(){return f}function a(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var n=!0;return r(),d.push(e),function(){if(n){n=!1,r();var t=d.indexOf(e);d.splice(t,1)}}}function o(t){if(!(0,_.default)(t))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===t.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(p)throw new Error("Reducers may not dispatch actions.");try{p=!0,f=l(f,t)}finally{p=!1}for(var e=h=d,n=0;n<e.length;n++){var r;(0,e[n])()}return t}function s(t){if("function"!=typeof t)throw new Error("Expected the nextReducer to be a function.");l=t,o({type:y.INIT})}function c(){var t,r=a;return(t={subscribe:function(t){function e(){t.next&&t.next(i())}if("object"!=typeof t)throw new TypeError("Expected the observer to be an object.");var n;return e(),{unsubscribe:r(e)}}})[v.default]=function(){return this},t}var u;if("function"==typeof e&&void 0===n&&(n=e,e=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(g)(t,e)}if("function"!=typeof t)throw new Error("Expected the reducer to be a function.");var l=t,f=e,h=[],d=h,p=!1;return o({type:y.INIT}),(u={dispatch:o,subscribe:a,getState:i,replaceReducer:s})[v.default]=c,u}e.__esModule=!0,e.ActionTypes=void 0,e.default=g;var i,_=r(n(7)),a,v=r(n(17)),y=e.ActionTypes={INIT:"@@redux/INIT"}},function(t,e,n){function r(t){if(!o(t)||i(t)!=s)return!1;var e=a(t);if(null===e)return!0;var n=f.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==h}var i=n(8),a=n(14),o=n(16),s="[object Object]",c=Function.prototype,u=Object.prototype,l=c.toString,f=u.hasOwnProperty,h=l.call(Object);t.exports=r},function(t,e,n){function r(t){return null==t?void 0===t?c:s:(u&&u in Object(t)?a:o)(t)}var i=n(9),a=n(12),o=n(13),s="[object Null]",c="[object Undefined]",u=i?i.toStringTag:void 0;t.exports=r},function(t,e,n){var r,i=n(10).Symbol;t.exports=i},function(t,e,n){var r=n(11),i="object"==typeof self&&self&&self.Object===Object&&self,a=r||i||Function("return this")();t.exports=a},function(n,t){(function(t){var e="object"==typeof t&&t&&t.Object===Object&&t;n.exports=e}).call(t,function(){return this}())},function(t,e,n){function r(t){var e=o.call(t,c),n=t[c];try{var r=!(t[c]=void 0)}catch(t){}var i=s.call(t);return r&&(e?t[c]=n:delete t[c]),i}var i=n(9),a=Object.prototype,o=a.hasOwnProperty,s=a.toString,c=i?i.toStringTag:void 0;t.exports=r},function(t,e){function n(t){return i.call(t)}var r,i=Object.prototype.toString;t.exports=n},function(t,e,n){var r,i=n(15)(Object.getPrototypeOf,Object);t.exports=i},function(t,e){function n(e,n){return function(t){return e(n(t))}}t.exports=n},function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},function(t,e,n){t.exports=n(18)},function(t,s,c){(function(t,e){function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(s,"__esModule",{value:!0});var r,i,a=n(c(20));r="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:e;var o=(0,a.default)(r);s.default=o}).call(s,function(){return this}(),c(19)(t))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,e){function n(t){var e,n=t.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n},function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}function d(t,e){var n=e&&e.type,r;return"Given action "+(n&&'"'+n.toString()+'"'||"an action")+', reducer "'+t+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function i(i){Object.keys(i).forEach(function(t){var e=i[t],n,r;if(void 0===e(void 0,{type:o.ActionTypes.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===e(void 0,{type:"@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".")}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+o.ActionTypes.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')})}function a(t){for(var e=Object.keys(t),l={},n=0;n<e.length;n++){var r=e[n];"function"==typeof t[r]&&(l[r]=t[r])}var f=Object.keys(l),h=void 0;try{i(l)}catch(t){h=t}return function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=arguments[1];if(h)throw h;for(var n=!1,r={},i=0;i<f.length;i++){var a=f[i],o=l[a],s=t[a],c=o(s,e);if(void 0===c){var u=d(a,e);throw new Error(u)}r[a]=c,n=n||c!==s}return n?r:t}}e.__esModule=!0,e.default=a;var o=n(6),s,c=(r(n(7)),n(22));r(c)},function(t,e){function n(t){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(t);try{throw new Error(t)}catch(t){}}e.__esModule=!0,e.default=n},function(t,e){function s(t,e){return function(){return e(t.apply(void 0,arguments))}}function n(t,e){if("function"==typeof t)return s(t,e);if("object"!=typeof t||null===t)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===t?"null":typeof t)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var n=Object.keys(t),r={},i=0;i<n.length;i++){var a=n[i],o=t[a];"function"==typeof o&&(r[a]=s(o,e))}return r}e.__esModule=!0,e.default=n},function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}function i(){for(var t=arguments.length,c=Array(t),e=0;e<t;e++)c[e]=arguments[e];return function(s){return function(t,e,n){var r=s(t,e,n),i=r.dispatch,a=[],o={getState:r.getState,dispatch:function(t){return i(t)}};return a=c.map(function(t){return t(o)}),i=l.default.apply(void 0,a)(r.dispatch),u({},r,{dispatch:i})}}}e.__esModule=!0;var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};e.default=i;var a,l=r(n(25))},function(t,e){function n(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce(function(t,e){return function(){return t(e.apply(void 0,arguments))}})}e.__esModule=!0,e.default=n},function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(5),a,o=r(n(27)),s,c=r(n(28)),u,l=r(n(29)),f,h=r(n(30)),d=(0,i.combineReducers)({items:o.default,groups:c.default,choices:l.default,general:h.default}),p=function(t,e){var n=t;return"CLEAR_ALL"===e.type&&(n=void 0),d(n,e)};e.default=p},function(t,e){function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}Object.defineProperty(e,"__esModule",{value:!0});var n=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e=arguments[1];switch(e.type){case"ADD_ITEM":var n;return[].concat(r(t),[{id:e.id,choiceId:e.choiceId,groupId:e.groupId,value:e.value,label:e.label,active:!0,highlighted:!1,customProperties:e.customProperties,placeholder:e.placeholder||!1,keyCode:null}]).map(function(t){return t.highlighted&&(t.highlighted=!1),t});case"REMOVE_ITEM":return t.map(function(t){return t.id===e.id&&(t.active=!1),t});case"HIGHLIGHT_ITEM":return t.map(function(t){return t.id===e.id&&(t.highlighted=e.highlighted),t});default:return t}};e.default=n},function(t,e){function n(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e=arguments[1];switch(e.type){case"ADD_GROUP":return[].concat(n(t),[{id:e.id,value:e.value,active:e.active,disabled:e.disabled}]);case"CLEAR_CHOICES":return t.groups=[];default:return t}};e.default=r},function(t,e){function a(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}Object.defineProperty(e,"__esModule",{value:!0});var n=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e=arguments[1];switch(e.type){case"ADD_CHOICE":return[].concat(a(t),[{id:e.id,elementId:e.elementId,groupId:e.groupId,value:e.value,label:e.label||e.value,disabled:e.disabled||!1,selected:!1,active:!0,score:9999,customProperties:e.customProperties,placeholder:e.placeholder||!1,keyCode:null}]);case"ADD_ITEM":var n=t;return e.activateOptions&&(n=t.map(function(t){return t.active=e.active,t})),-1<e.choiceId&&(n=t.map(function(t){return t.id===parseInt(e.choiceId,10)&&(t.selected=!0),t})),n;case"REMOVE_ITEM":return-1<e.choiceId?t.map(function(t){return t.id===parseInt(e.choiceId,10)&&(t.selected=!1),t}):t;case"FILTER_CHOICES":var r=e.results,i;return t.map(function(e){return e.active=r.some(function(t){return t.item.id===e.id&&(e.score=t.score,!0)}),e});case"ACTIVATE_CHOICES":return t.map(function(t){return t.active=e.active,t});case"CLEAR_CHOICES":return t.choices=[];default:return t}};e.default=n},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{loading:!1},e=arguments[1];switch(e.type){case"LOADING":return{loading:e.isLoading};default:return t}};e.default=n},function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.addItem=function(t,e,n,r,i,a,o,s){return{type:"ADD_ITEM",value:t,label:e,id:n,choiceId:r,groupId:i,customProperties:a,placeholder:o,keyCode:s}},e.removeItem=function(t,e){return{type:"REMOVE_ITEM",id:t,choiceId:e}},e.highlightItem=function(t,e){return{type:"HIGHLIGHT_ITEM",id:t,highlighted:e}},e.addChoice=function(t,e,n,r,i,a,o,s,c){return{type:"ADD_CHOICE",value:t,label:e,id:n,groupId:r,disabled:i,elementId:a,customProperties:o,placeholder:s,keyCode:c}},e.filterChoices=function(t){return{type:"FILTER_CHOICES",results:t}},e.activateChoices=function(){var t;return{type:"ACTIVATE_CHOICES",active:!(0<arguments.length&&void 0!==arguments[0])||arguments[0]}},e.clearChoices=function(){return{type:"CLEAR_CHOICES"}},e.addGroup=function(t,e,n,r){return{type:"ADD_GROUP",value:t,id:e,active:n,disabled:r}},e.clearAll=function(){return{type:"CLEAR_ALL"}},e.setIsLoading=function(t){return{type:"LOADING",isLoading:t}}},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=(e.capitalise=function(t){return t.replace(/\w\S*/g,function(t){return t.charAt(0).toUpperCase()+t.substr(1).toLowerCase()})},e.generateChars=function(t){for(var e="",n=0;n<t;n++){var r;e+=c(0,36).toString(36)}return e}),i=(e.generateId=function(t,e){var n=t.id||t.name&&t.name+"-"+r(2)||r(4);return e+(n=n.replace(/(:|\.|\[|\]|,)/g,""))},e.getType=function(t){return Object.prototype.toString.call(t).slice(8,-1)}),o=e.isType=function(t,e){var n=i(e);return null!=e&&n===t},a=(e.isNode=function(t){return"object"===("undefined"==typeof Node?"undefined":n(Node))?t instanceof Node:t&&"object"===(void 0===t?"undefined":n(t))&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},e.isElement=function(t){return"object"===("undefined"==typeof HTMLElement?"undefined":n(HTMLElement))?t instanceof HTMLElement:t&&"object"===(void 0===t?"undefined":n(t))&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName},e.extend=function n(){for(var r={},t=arguments.length,e=function(t){for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(o("Object",t[e])?r[e]=n(!0,r[e],t[e]):r[e]=t[e])},i=0;i<t;i++){var a=arguments[i];o("Object",a)&&e(a)}return r},e.whichTransitionEvent=function(){var t,e=document.createElement("fakeelement"),n={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(t in n)if(void 0!==e.style[t])return n[t]},e.whichAnimationEvent=function(){var t,e=document.createElement("fakeelement"),n={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"animationend",WebkitAnimation:"webkitAnimationEnd"};for(t in n)if(void 0!==e.style[t])return n[t]}),s=(e.getParentsUntil=function(t,e,n){for(var r=[];t&&t!==document;t=t.parentNode){if(e){var i=e.charAt(0);if("."===i&&t.classList.contains(e.substr(1)))break;if("#"===i&&t.id===e.substr(1))break;if("["===i&&t.hasAttribute(e.substr(1,e.length-1)))break;if(t.tagName.toLowerCase()===e)break}if(n){var a=n.charAt(0);"."===a&&t.classList.contains(n.substr(1))&&r.push(t),"#"===a&&t.id===n.substr(1)&&r.push(t),"["===a&&t.hasAttribute(n.substr(1,n.length-1))&&r.push(t),t.tagName.toLowerCase()===n&&r.push(t)}else r.push(t)}return 0===r.length?null:r},e.wrap=function(t,e){return e=e||document.createElement("div"),t.nextSibling?t.parentNode.insertBefore(e,t.nextSibling):t.parentNode.appendChild(e),e.appendChild(t)},e.getSiblings=function(t){for(var e=[],n=t.parentNode.firstChild;n;n=n.nextSibling)1===n.nodeType&&n!==t&&e.push(n);return e},e.findAncestor=function(t,e){for(;(t=t.parentElement)&&!t.classList.contains(e););return t},e.findAncestorByAttrName=function(t,e){for(var n=t;n;){if(n.hasAttribute(e))return n;n=n.parentElement}return null},e.debounce=function(i,a,o){var s;return function(){var t=this,e=arguments,n=function(){s=null,o||i.apply(t,e)},r=o&&!s;clearTimeout(s),s=setTimeout(n,a),r&&i.apply(t,e)}},e.getElemDistance=function(t){var e=0;if(t.offsetParent)for(;e+=t.offsetTop,t=t.offsetParent;);return 0<=e?e:0},e.getElementOffset=function(t,e){var n=e;return 1<n&&(n=1),0<n&&(n=0),Math.max(t.offsetHeight*n)},e.getAdjacentEl=function(t,e){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:1;if(t&&e){var r=t.parentNode.parentNode,i=Array.from(r.querySelectorAll(e)),a=i.indexOf(t),o;return i[a+(0<n?1:-1)]}},e.getScrollPosition=function(t){return"bottom"===t?Math.max((window.scrollY||window.pageYOffset)+(window.innerHeight||document.documentElement.clientHeight)):window.scrollY||window.pageYOffset},e.isInView=function(t,e,n){return this.getScrollPosition(e)>this.getElemDistance(t)+this.getElementOffset(t,n)},e.isScrolledIntoView=function(t,e){var n;if(t){var r=void 0;return 0<(2<arguments.length&&void 0!==arguments[2]?arguments[2]:1)?e.scrollTop+e.offsetHeight>=t.offsetTop+t.offsetHeight:t.offsetTop>=e.scrollTop}},e.stripHTML=function(t){return t.replace(/&/g,"&").replace(/>/g,"&rt;").replace(/</g,"<").replace(/"/g,""")}),c=(e.addAnimation=function(e,n){var r=a(),t=function t(){e.classList.remove(n),e.removeEventListener(r,t,!1)};e.classList.add(n),e.addEventListener(r,t,!1)},e.getRandomNumber=function(t,e){return Math.floor(Math.random()*(e-t)+t)}),u=e.strToEl=(l=document.createElement("div"),function(t){var e=t.trim(),n=void 0;for(l.innerHTML=e,n=l.children[0];l.firstChild;)l.removeChild(l.firstChild);return n}),l;e.getWidthOfInput=function(t){var e=t.value||t.placeholder,n=t.offsetWidth;if(e){var r=u(""+s(e)+"");if(r.style.position="absolute",r.style.padding="0",r.style.top="-9999px",r.style.left="-9999px",r.style.width="auto",r.style.whiteSpace="pre",document.body.contains(t)&&window.getComputedStyle){var i=window.getComputedStyle(t);i&&(r.style.fontSize=i.fontSize,r.style.fontFamily=i.fontFamily,r.style.fontWeight=i.fontWeight,r.style.fontStyle=i.fontStyle,r.style.letterSpacing=i.letterSpacing,r.style.textTransform=i.textTransform,r.style.padding=i.padding)}document.body.appendChild(r),e&&r.offsetWidth!==t.offsetWidth&&(n=r.offsetWidth+4),document.body.removeChild(r)}return n+"px"},e.sortByAlpha=function(t,e){var n=(t.label||t.value).toLowerCase(),r=(e.label||e.value).toLowerCase();return n<r?-1:r<n?1:0},e.sortByScore=function(t,e){return t.score-e.score},e.triggerEvent=function(t,e){var n,r=new CustomEvent(e,{detail:2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,bubbles:!0,cancelable:!0});return t.dispatchEvent(r)}},function(t,e){function n(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}var r,u,i,a,l;Array.from||(Array.from=(r=Object.prototype.toString,u=function(t){return"function"==typeof t||"[object Function]"===r.call(t)},i=function(t){var e=Number(t);return isNaN(e)?0:0!==e&&isFinite(e)?(0<e?1:-1)*Math.floor(Math.abs(e)):e},a=Math.pow(2,53)-1,l=function(t){var e=i(t);return Math.min(Math.max(e,0),a)},function(t){var e=this,n=Object(t);if(null==t)throw new TypeError("Array.from requires an array-like object - not null or undefined");var r,i=1<arguments.length?arguments[1]:void 0;if(void 0!==i){if(!u(i))throw new TypeError("Array.from: when provided, the second argument must be a function");2<arguments.length&&(r=arguments[2])}for(var a,o=l(n.length),s=u(e)?Object(new e(o)):new Array(o),c=0;c<o;)a=n[c],s[c]=i?void 0===r?i(a,c):i.call(r,a,c):a,c+=1;return s.length=o,s})),Array.prototype.find||(Array.prototype.find=function(t){if(null==this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var e,n=Object(this),r=n.length>>>0,i=arguments[1],a=0;a<r;a++)if(e=n[a],t.call(i,e,a,n))return e}),n.prototype=window.Event.prototype,window.CustomEvent=n}],n.c=i,n.p="/assets/scripts/dist/",n(0);function n(t){if(i[t])return i[t].exports;var e=i[t]={exports:{},id:t,loaded:!1};return r[t].call(e.exports,e,e.exports,n),e.loaded=!0,e.exports}var r,i},t.exports=r()}),pM=e(dM),gM=dM.Choices,_M,vM,yM,mM,bM,xM,wM;function kM(){xz()}function AM(){SM(),_M.style.display="block",(yM=new pM(_M,{removeItemButton:!0,placeholderValue:fk.series_filter_text,noChoicesText:fk.series_filter_none_text,maxItemCount:fk.max_series})).setValueByChoice(fk.series_filter);var t=(vM=document.querySelector(".choices")).querySelector("div.choices__inner");t.style.display="flex";var e=t.querySelector("input.choices__input").style;e.width=null,e.flex="1 1 auto",e.overflow="hidden",e.textOverflow="ellipsis",e.whiteSpace="nowrap",e.minWidth=0,_M.addEventListener("change",function(){fk.series_filter=yM.getValue().map(function(t){return t.value}),kM()})}function MM(){yM&&yM.destroy(),_M.style.display="none",yM=null}function SM(){var t=cM(_M).selectAll("option").data(yk.data.column_names.value),e=t.enter().append("option");t.merge(e).attr("value",function(t){return t}).text(function(t){return t}),t.exit().remove()}function EM(){_M=_M||document.getElementById("series-filter");var t=mM!=fk.series_filter_text||bM!=fk.series_filter_none_text||xM!=fk.max_series,e=yk.data.column_names.value.join("")!=wM;fk.series_filter_enabled?(yM?(t||e)&&(yM.destroy(),AM()):AM(),yM.removeActiveItems(),yM.setValueByChoice(fk.series_filter),vM.style.display=fk.series_filter_hidden?"none":null,mM=fk.series_filter_text,bM=fk.series_filter_none_text,xM=fk.max_series,wM=yk.data.column_names.value.join("")):MM()}var TM="$";function OM(){}function CM(t,e){var n=new OM;if(t instanceof OM)t.each(function(t,e){n.set(e,t)});else if(Array.isArray(t)){var r=-1,i=t.length,a;if(null==e)for(;++r<i;)n.set(r,t[r]);else for(;++r<i;)n.set(e(a=t[r],r,t),a)}else if(t)for(var o in t)n.set(o,t[o]);return n}function IM(){var h=[],e=[],d,p,n;function g(t,n,r,i){if(n>=h.length)return null!=d&&t.sort(d),null!=p?p(t):t;for(var e=-1,a=t.length,o=h[n++],s,c,u=CM(),l,f=r();++e<a;)(l=u.get(s=o(c=t[e])+""))?l.push(c):u.set(s,[c]);return u.each(function(t,e){i(f,e,g(t,n,r,i))}),f}function a(t,n){if(++n>h.length)return t;var r,i=e[n-1];return null!=p&&n>=h.length?r=t.entries():(r=[],t.each(function(t,e){r.push({key:e,values:a(t,n)})})),null!=i?r.sort(function(t,e){return i(t.key,e.key)}):r}return n={object:function(t){return g(t,0,LM,NM)},map:function(t){return g(t,0,PM,FM)},entries:function(t){return a(g(t,0,PM,FM),0)},key:function(t){return h.push(t),n},sortKeys:function(t){return e[h.length-1]=t,n},sortValues:function(t){return d=t,n},rollup:function(t){return p=t,n}}}function LM(){return{}}function NM(t,e,n){t[e]=n}function PM(){return CM()}function FM(t,e,n){t.set(e,n)}function RM(){}OM.prototype=CM.prototype={constructor:OM,has:function(t){return TM+t in this},get:function(t){return this[TM+t]},set:function(t,e){return this[TM+t]=e,this},remove:function(t){var e=TM+t;return e in this&&delete this[e]},clear:function(){for(var t in this)t[0]===TM&&delete this[t]},keys:function(){var t=[];for(var e in this)e[0]===TM&&t.push(e.slice(1));return t},values:function(){var t=[];for(var e in this)e[0]===TM&&t.push(this[e]);return t},entries:function(){var t=[];for(var e in this)e[0]===TM&&t.push({key:e.slice(1),value:this[e]});return t},size:function(){var t=0;for(var e in this)e[0]===TM&&++t;return t},empty:function(){for(var t in this)if(t[0]===TM)return!1;return!0},each:function(t){for(var e in this)e[0]===TM&&t(this[e],e.slice(1),this)}};var jM=CM.prototype;function zM(t,e){var n=new RM;if(t instanceof RM)t.each(function(t){n.add(t)});else if(t){var r=-1,i=t.length;if(null==e)for(;++r<i;)n.add(t[r]);else for(;++r<i;)n.add(e(t[r],r,t))}return n}function DM(t,e){return t<e?-1:e<t?1:e<=t?0:NaN}function UM(a){return 1===a.length&&(a=qM(a)),{left:function(t,e,n,r){for(null==n&&(n=0),null==r&&(r=t.length);n<r;){var i=n+r>>>1;a(t[i],e)<0?n=1+i:r=i}return n},right:function(t,e,n,r){for(null==n&&(n=0),null==r&&(r=t.length);n<r;){var i=n+r>>>1;0<a(t[i],e)?r=i:n=1+i}return n}}}function qM(n){return function(t,e){return DM(n(t),e)}}RM.prototype=zM.prototype={constructor:RM,has:jM.has,add:function(t){return this[TM+(t+="")]=t,this},remove:jM.remove,clear:jM.clear,values:jM.keys,size:jM.size,empty:jM.empty,each:jM.each};var BM,HM=UM(DM).right;function VM(t,e){var n=t.length,r=-1,i,a,o;if(null==e){for(;++r<n;)if(null!=(i=t[r])&&i<=i)for(a=o=i;++r<n;)null!=(i=t[r])&&(i<a&&(a=i),o<i&&(o=i))}else for(;++r<n;)if(null!=(i=e(t[r],r,t))&&i<=i)for(a=o=i;++r<n;)null!=(i=e(t[r],r,t))&&(i<a&&(a=i),o<i&&(o=i));return[a,o]}function YM(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),a=new Array(i);++r<i;)a[r]=t+r*n;return a}var WM=Math.sqrt(50),GM=Math.sqrt(10),$M=Math.sqrt(2),XM,ZM,KM,QM,JM,tS,eS,nS,rS,iS,aS;function oS(t,e,n){var r,i=-1,a,o,s;if(n=+n,(t=+t)===(e=+e)&&0<n)return[t];if((r=e<t)&&(a=t,t=e,e=a),0===(s=sS(t,e,n))||!isFinite(s))return[];if(0<s)for(t=Math.ceil(t/s),e=Math.floor(e/s),o=new Array(a=Math.ceil(e-t+1));++i<a;)o[i]=(t+i)*s;else for(t=Math.floor(t*s),e=Math.ceil(e*s),o=new Array(a=Math.ceil(t-e+1));++i<a;)o[i]=(t-i)/s;return r&&o.reverse(),o}function sS(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),a=r/Math.pow(10,i);return 0<=i?(WM<=a?10:GM<=a?5:$M<=a?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(WM<=a?10:GM<=a?5:$M<=a?2:1)}function cS(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),a=r/i;return WM<=a?i*=10:GM<=a?i*=5:$M<=a&&(i*=2),e<t?-i:i}function uS(t,e){var n=t.length,r=-1,i,a;if(null==e){for(;++r<n;)if(null!=(i=t[r])&&i<=i)for(a=i;++r<n;)null!=(i=t[r])&&a<i&&(a=i)}else for(;++r<n;)if(null!=(i=e(t[r],r,t))&&i<=i)for(a=i;++r<n;)null!=(i=e(t[r],r,t))&&a<i&&(a=i);return a}function lS(t,e){var n=t.length,r=-1,i,a;if(null==e){for(;++r<n;)if(null!=(i=t[r])&&i<=i)for(a=i;++r<n;)null!=(i=t[r])&&i<a&&(a=i)}else for(;++r<n;)if(null!=(i=e(t[r],r,t))&&i<=i)for(a=i;++r<n;)null!=(i=e(t[r],r,t))&&i<a&&(a=i);return a}function fS(t){if("number"!=XM.label_type)return"datetime"==XM.label_type?XM.labelParse(t)||null:""==t?null:t;var e=aS(t);return isNaN(e)?null:e}function hS(){aS=hk.getParser();var t=lM.has_secondary_value_axis||!1;if(!yk.data.processed||ZM!=lM.facets_show||fk.localization.input_decimal_separator!=KM||fk.series_filter.toString()!=JM||fk.series_filter_enabled!=tS||fk.max_series!=QM||fk.label_data_type!=eS||fk.datetime_input_format!=nS||t!=rS||fk.secondary_series!=iS){yk.data.forEach(function(t,e){t.row_index=e}),yk.data.column_names.value.forEach(function(t,e){""==t&&(yk.data.column_names.value[e]="Series "+(e+1))});var g={};if(t)for(var e=0;e<fk.secondary_series;e++)g[e]=!0;for(var r={},e=0;e<fk.series_filter.length;e++){var n=yk.data.column_names.value.indexOf(fk.series_filter[e]);r[n]=!0}var i=fk.series_filter_enabled&&0<fk.series_filter.length,_=yk.data.map(function(t){var e=i?t.value.filter(function(t,e){return r[e]&&!g[e]}):t.value,n={row_index:t.row_index,label:t.label,value:e.slice(0,fk.max_series),metadata:t.metadata};return"facet"in t&&(n.facet=t.facet),n});for(var a in _.column_names={},yk.data.column_names)"value"!=a?_.column_names[a]=yk.data.column_names[a]:_.column_names.value=yk.data.column_names.value.filter(function(t,e){return!i||r[e]}).slice(0,fk.max_series);if(XM=[],lM.facet_by_series)for(var o=0;o<_.column_names.value.length;o++)XM.push({key:_.column_names.value[o],values:_.slice()});else XM=IM().key(function(t){return t.facet||""}).entries(_),lM.facets_show||(XM=[XM[0]||{key:"",values:[]}]);var s=_k(_,"label")[0],c,u,l,f,h;c="auto"==fk.label_data_type?s.type:fk.label_data_type,XM.label_type=c,XM.label_description=s.description,XM.labelTest=s.test,XM.labelParse=function(t){return"auto"==fk.datetime_input_format?s.parse(t):Jb(fk.datetime_input_format)(t)},XM.labelFormat=function(t){if("number"==XM.label_type)return mz(t);if("datetime"!=XM.label_type)return t;var e="auto"==fk.x_axis_date_format?XM.label_description:fk.x_axis_date_format;return Qb(e)(t)},XM.label_extent=VM(_,function(t){return fS(t.label)}),void 0===(u=lS(_,function(t){return lS(t.value.map(function(t,e){return g[e]?null:aS(t)}))}))&&(u=0),void 0===(l=uS(_,function(t){return uS(t.value.map(function(t,e){return g[e]?null:aS(t)}))}))&&(l=Math.max(u+100,100)),XM.value_extent=[u,l],XM.value_extent_stack=[u,l],f=lS(_,function(t){return lS(t.value.map(function(t,e){return g[e]?aS(t):null}))}),h=uS(_,function(t){return uS(t.value.map(function(t,e){return g[e]?aS(t):null}))}),XM.value_extent_secondary=[f,h],XM.forEach(function(t,e){t.name=t.key,t.index=e,t.series=[],t.series_primary=[],t.series_secondary=[],t.label_extent=XM.label_extent.slice(),t.label_type=XM.label_type,t.label_domain=t.values.map(function(t){return fS(t.label)}),t.dataset_value_extent_stack=XM.value_extent_stack,t.dataset_value_extent=XM.value_extent,t.dataset_value_extent_secondary=XM.value_extent_secondary,t.value_extent=[0,0],t.value_extent_stack=[0,0],t.value_extent_secondary=[0,0],t.value_extent_stack_secondary=[0,0];for(var n=0,r=lM.facet_by_series?e:0;r<(lM.facet_by_series?e+1:_.column_names.value.length);r++){for(var i={name:_.column_names.value[r],index:r,index_primary:g[r]?null:n++,data_points:[],data_points_stack:[],data_points_stack_prop:[],data_points_positive_sum:0,data_point_stack_max:0,secondary:g[r]},a=0;a<t.values.length;a++){var o,s=fS((o=t.values[a]).label),c=aS(o.value[r]);null==s||isNaN(c)||(i.data_points.push({label:s,label_formatted:XM.labelFormat(s),row_values:o.value,value:c,value_display:c,series:r,series_primary:i.index_primary,secondary:i.secondary,index:a,facet:t,row_index:o.row_index,metadata:o.metadata,SERIES:i.name}),0<c&&(i.data_points_positive_sum+=c),i.secondary?(c<t.value_extent_secondary[0]&&(t.value_extent_secondary[0]=c),c>t.value_extent_secondary[1]&&(t.value_extent_secondary[1]=c)):(c<t.value_extent[0]&&(t.value_extent[0]=c),c>t.value_extent[1]&&(t.value_extent[1]=c)))}i.secondary?t.series_secondary.push(i):t.series_primary.push(i),t.series.push(i)}for(var a=0;a<t.values.length;a++){for(var o=t.values[a],u=0,l=0,f=0,r=lM.facet_by_series?e:0;r<(lM.facet_by_series?e+1:_.column_names.value.length);r++)g[r]||(f+=Math.max(0,aS(o.value[r])||0));for(var h=100/f,r=lM.facet_by_series?e:0;r<(lM.facet_by_series?e+1:_.column_names.value.length);r++)if(!g[r]){var s=fS(o.label),c,d=(c=aS(o.value[r])||0)<0?l:u,p=_.column_names.value[r],i;if(null!=s)(i=t.series[lM.facet_by_series?0:r]).data_points_stack.push({label:s,label_formatted:XM.labelFormat(s),row_values:o.value,value:d+c,value_display:c,value_base:d,series:r,series_primary:i.series_primary,index:a,facet:t,row_index:o.row_index,metadata:o.metadata,SERIES:p}),isFinite(h)&&i.data_points_stack_prop.push({label:s,label_formatted:XM.labelFormat(s),row_values:o.value,value:h*(Math.max(0,c)+u),value_display:c,value_base:h*u,series:r,series_primary:i.series_primary,index:a,facet:t,row_index:o.row_index,metadata:o.metadata,SERIES:p}),c<0?l+=c:u+=c,l<t.value_extent_stack[0]&&(t.value_extent_stack[0]=l),u>t.value_extent_stack[1]&&(t.value_extent_stack[1]=u),l<XM.value_extent_stack[0]&&(XM.value_extent_stack[0]=l),u>XM.value_extent_stack[1]&&(XM.value_extent_stack[1]=u)}}});var d=uS(XM,function(t){return uS(t.series.map(function(t){return t.data_points_positive_sum||null}))});XM.forEach(function(t){return t.dataset_max_series_sum=d,t}),XM.series_names=_.column_names.value,XM.unfiltered_series_names=yk.data.column_names.value;var p={};for(var v in XM.row_names=[],_.forEach(function(t){p[t.label]||(p[t.label]=!0)}),p){var y=XM.labelFormat(fS(v));XM.row_names.push(y)}XM.series=[],XM.series_primary=[],XM.series_secondary=[],XM.forEach(function(e){var n=0;e.series.forEach(function(t){++n<=fk.max_series&&(t.facet=e,XM.series.push(t),t.secondary?XM.series_secondary.push(t):XM.series_primary.push(t))})}),XM.column_names=yk.data.column_names,XM.series_popup_text={},fk.popup_series_text&&fk.popup_series_text.split(/\n/).forEach(function(t){var e=t.replace(/\s*::\s*/,"::").split("::");XM.series_popup_text[e[0]]=e[1]}),ZM=lM.facets_show,KM=fk.localization.input_decimal_separator,JM=fk.series_filter.toString(),tS=fk.series_filter_enabled,QM=fk.max_series,eS=fk.label_data_type,nS=fk.datetime_input_format,rS=t,yk.data.processed=!0}}var dS={value:function(){}};function pS(){for(var t=0,e=arguments.length,n={},r;t<e;++t){if(!(r=arguments[t]+"")||r in n||/[\s.]/.test(r))throw new Error("illegal type: "+r);n[r]=[]}return new gS(n)}function gS(t){this._=t}function _S(t,r){return t.trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");if(0<=n&&(e=t.slice(n+1),t=t.slice(0,n)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}})}function vS(t,e){for(var n=0,r=t.length,i;n<r;++n)if((i=t[n]).name===e)return i.value}function yS(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){t[r]=dS,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=n&&t.push({name:e,value:n}),t}gS.prototype=pS.prototype={constructor:gS,on:function(t,e){var n=this._,r=_S(t+"",n),i,a=-1,o=r.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++a<o;)if(i=(t=r[a]).type)n[i]=yS(n[i],t.name,e);else if(null==e)for(i in n)n[i]=yS(n[i],t.name,null);return this}for(;++a<o;)if((i=(t=r[a]).type)&&(i=vS(n[i],t.name)))return i},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new gS(t)},call:function(t,e){if(0<(i=arguments.length-2))for(var n=new Array(i),r=0,i,a;r<i;++r)n[r]=arguments[r+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(r=0,i=(a=this._[t]).length;r<i;++r)a[r].value.apply(e,n)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,a=r.length;i<a;++i)r[i].value.apply(e,n)}};var mS=0,bS=0,xS=0,wS=1e3,kS,AS,MS=0,SS=0,ES=0,TS="object"==typeof performance&&performance.now?performance:Date,OS="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function CS(){return SS||(OS(IS),SS=TS.now()+ES)}function IS(){SS=0}function LS(){this._call=this._time=this._next=null}function NS(t,e,n){var r=new LS;return r.restart(t,e,n),r}function PS(){CS(),++mS;for(var t=kS,e;t;)0<=(e=SS-t._time)&&t._call.call(null,e),t=t._next;--mS}function FS(){SS=(MS=TS.now())+ES,mS=bS=0;try{PS()}finally{mS=0,jS(),SS=0}}function RS(){var t=TS.now(),e=t-MS;wS<e&&(ES-=e,MS=t)}function jS(){for(var t,e=kS,n,r=1/0;e;)e=e._call?(r>e._time&&(r=e._time),(t=e)._next):(n=e._next,e._next=null,t?t._next=n:kS=n);AS=t,zS(r)}function zS(t){var e;mS||(bS=bS&&clearTimeout(bS),24<t-SS?(t<1/0&&(bS=setTimeout(FS,t-TS.now()-ES)),xS=xS&&clearInterval(xS)):(xS||(MS=TS.now(),xS=setInterval(RS,wS)),mS=1,OS(FS)))}function DS(e,n,t){var r=new LS;return n=null==n?0:+n,r.restart(function(t){r.stop(),e(t+n)},n,t),r}LS.prototype=NS.prototype={constructor:LS,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?CS():+n)+(null==e?0:+e),this._next||AS===this||(AS?AS._next=this:kS=this,AS=this),this._call=t,this._time=n,zS()},stop:function(){this._call&&(this._call=null,this._time=1/0,zS())}};var US=pS("start","end","cancel","interrupt"),qS=[],BS=0,HS=1,VS=2,YS=3,WS=4,GS=5,$S=6;function XS(t,e,n,r,i,a){var o=t.__transition;if(o){if(n in o)return}else t.__transition={};JS(t,n,{name:e,index:r,group:i,on:US,tween:qS,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:BS})}function ZS(t,e){var n=QS(t,e);if(n.state>BS)throw new Error("too late; already scheduled");return n}function KS(t,e){var n=QS(t,e);if(n.state>YS)throw new Error("too late; already running");return n}function QS(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function JS(a,o,s){var c=a.__transition,u;function t(t){s.state=HS,s.timer.restart(l,s.delay,s.time),s.delay<=t&&l(t-s.delay)}function l(t){var e,n,r,i;if(s.state!==HS)return h();for(e in c)if((i=c[e]).name===s.name){if(i.state===YS)return DS(l);i.state===WS?(i.state=$S,i.timer.stop(),i.on.call("interrupt",a,a.__data__,i.index,i.group),delete c[e]):+e<o&&(i.state=$S,i.timer.stop(),i.on.call("cancel",a,a.__data__,i.index,i.group),delete c[e])}if(DS(function(){s.state===YS&&(s.state=WS,s.timer.restart(f,s.delay,s.time),f(t))}),s.state=VS,s.on.call("start",a,a.__data__,s.index,s.group),s.state===VS){for(s.state=YS,u=new Array(r=s.tween.length),e=0,n=-1;e<r;++e)(i=s.tween[e].value.call(a,a.__data__,s.index,s.group))&&(u[++n]=i);u.length=n+1}}function f(t){for(var e=t<s.duration?s.ease.call(null,t/s.duration):(s.timer.restart(h),s.state=GS,1),n=-1,r=u.length;++n<r;)u[n].call(a,e);s.state===GS&&(s.on.call("end",a,a.__data__,s.index,s.group),h())}function h(){for(var t in s.state=$S,s.timer.stop(),delete c[o],c)return;delete a.__transition}(c[o]=s).timer=NS(t,0,s.time)}function tE(t,e){var n=t.__transition,r,i,a=!0,o;if(n){for(o in e=null==e?null:e+"",n)(r=n[o]).name===e?(i=r.state>VS&&r.state<GS,r.state=$S,r.timer.stop(),r.on.call(i?"interrupt":"cancel",t,t.__data__,r.index,r.group),delete n[o]):a=!1;a&&delete t.__transition}}function eE(t){return this.each(function(){tE(this,t)})}function nE(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function rE(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function iE(){}var aE=.7,oE=1/.7,sE="\\s*([+-]?\\d+)\\s*",cE="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",uE="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",lE=/^#([0-9a-f]{3,8})$/,fE=new RegExp("^rgb\\("+[sE,sE,sE]+"\\)$"),hE=new RegExp("^rgb\\("+[uE,uE,uE]+"\\)$"),dE=new RegExp("^rgba\\("+[sE,sE,sE,cE]+"\\)$"),pE=new RegExp("^rgba\\("+[uE,uE,uE,cE]+"\\)$"),gE=new RegExp("^hsl\\("+[cE,uE,uE]+"\\)$"),_E=new RegExp("^hsla\\("+[cE,uE,uE,cE]+"\\)$"),vE={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function yE(){return this.rgb().formatHex()}function mE(){return IE(this).formatHsl()}function bE(){return this.rgb().formatRgb()}function xE(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=lE.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?wE(e):3===n?new SE(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?new SE(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?new SE(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=fE.exec(t))?new SE(e[1],e[2],e[3],1):(e=hE.exec(t))?new SE(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=dE.exec(t))?kE(e[1],e[2],e[3],e[4]):(e=pE.exec(t))?kE(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=gE.exec(t))?CE(e[1],e[2]/100,e[3]/100,1):(e=_E.exec(t))?CE(e[1],e[2]/100,e[3]/100,e[4]):vE.hasOwnProperty(t)?wE(vE[t]):"transparent"===t?new SE(NaN,NaN,NaN,0):null}function wE(t){return new SE(t>>16&255,t>>8&255,255&t,1)}function kE(t,e,n,r){return r<=0&&(t=e=n=NaN),new SE(t,e,n,r)}function AE(t){return t instanceof iE||(t=xE(t)),t?new SE((t=t.rgb()).r,t.g,t.b,t.opacity):new SE}function ME(t,e,n,r){return 1===arguments.length?AE(t):new SE(t,e,n,null==r?1:r)}function SE(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function EE(){return"#"+OE(this.r)+OE(this.g)+OE(this.b)}function TE(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function OE(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function CE(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||1<=n?t=e=NaN:e<=0&&(t=NaN),new NE(t,e,n,r)}function IE(t){if(t instanceof NE)return new NE(t.h,t.s,t.l,t.opacity);if(t instanceof iE||(t=xE(t)),!t)return new NE;if(t instanceof NE)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),a=Math.max(e,n,r),o=NaN,s=a-i,c=(a+i)/2;return s?(o=e===a?(n-r)/s+6*(n<r):n===a?(r-e)/s+2:(e-n)/s+4,s/=c<.5?a+i:2-a-i,o*=60):s=0<c&&c<1?0:o,new NE(o,s,c,t.opacity)}function LE(t,e,n,r){return 1===arguments.length?IE(t):new NE(t,e,n,null==r?1:r)}function NE(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function PE(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}nE(iE,xE,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:yE,formatHex:yE,formatHsl:mE,formatRgb:bE,toString:bE}),nE(SE,ME,rE(iE,{brighter:function(t){return t=null==t?oE:Math.pow(oE,t),new SE(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new SE(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:EE,formatHex:EE,formatRgb:TE,toString:TE})),nE(NE,LE,rE(iE,{brighter:function(t){return t=null==t?oE:Math.pow(oE,t),new NE(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new NE(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new SE(PE(240<=t?t-240:120+t,i,r),PE(t,i,r),PE(t<120?240+t:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var FE=Math.PI/180,RE=180/Math.PI,jE=18,zE=.96422,DE=1,UE=.82521,qE=4/29,BE=6/29,HE=3*BE*BE,VE=BE*BE*BE;function YE(t){if(t instanceof GE)return new GE(t.l,t.a,t.b,t.opacity);if(t instanceof tT)return eT(t);t instanceof SE||(t=AE(t));var e=KE(t.r),n=KE(t.g),r=KE(t.b),i=$E((.2225045*e+.7168786*n+.0606169*r)/DE),a,o;return e===n&&n===r?a=o=i:(a=$E((.4360747*e+.3850649*n+.1430804*r)/zE),o=$E((.0139322*e+.0971045*n+.7141733*r)/UE)),new GE(116*i-16,500*(a-i),200*(i-o),t.opacity)}function WE(t,e,n,r){return 1===arguments.length?YE(t):new GE(t,e,n,null==r?1:r)}function GE(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function $E(t){return VE<t?Math.pow(t,1/3):t/HE+qE}function XE(t){return BE<t?t*t*t:HE*(t-qE)}function ZE(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function KE(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function QE(t){if(t instanceof tT)return new tT(t.h,t.c,t.l,t.opacity);if(t instanceof GE||(t=YE(t)),0===t.a&&0===t.b)return new tT(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*RE;return new tT(e<0?360+e:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function JE(t,e,n,r){return 1===arguments.length?QE(t):new tT(t,e,n,null==r?1:r)}function tT(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function eT(t){if(isNaN(t.h))return new GE(t.l,0,0,t.opacity);var e=t.h*FE;return new GE(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}nE(GE,WE,rE(iE,{brighter:function(t){return new GE(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new GE(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return new SE(ZE(3.1338561*(e=zE*XE(e))-1.6168667*(t=DE*XE(t))-.4906146*(n=UE*XE(n))),ZE(-.9787684*e+1.9161415*t+.033454*n),ZE(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}})),nE(tT,JE,rE(iE,{brighter:function(t){return new tT(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new tT(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return eT(this).rgb()}}));var nT=-.14861,rT=1.78277,iT=-.29227,aT=-.90649,oT=1.97294,sT=oT*aT,cT=oT*rT,uT=rT*iT-aT*nT;function lT(t){if(t instanceof hT)return new hT(t.h,t.s,t.l,t.opacity);t instanceof SE||(t=AE(t));var e=t.r/255,n=t.g/255,r=t.b/255,i=(uT*r+sT*e-cT*n)/(uT+sT-cT),a=r-i,o=(oT*(n-i)-iT*a)/aT,s=Math.sqrt(o*o+a*a)/(oT*i*(1-i)),c=s?Math.atan2(o,a)*RE-120:NaN;return new hT(c<0?c+360:c,s,i,t.opacity)}function fT(t,e,n,r){return 1===arguments.length?lT(t):new hT(t,e,n,null==r?1:r)}function hT(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function dT(t,e,n,r,i){var a=t*t,o=a*t;return((1-3*t+3*a-o)*e+(4-6*a+3*o)*n+(1+3*t+3*a-3*o)*r+o*i)/6}function pT(o){var s=o.length-1;return function(t){var e=t<=0?t=0:1<=t?s-(t=1):Math.floor(t*s),n=o[e],r=o[e+1],i=0<e?o[e-1]:2*n-r,a=e<s-1?o[e+2]:2*r-n;return dT((t-e/s)*s,i,n,r,a)}}function gT(t){return function(){return t}}function _T(e,n){return function(t){return e+t*n}}function vT(e,n,r){return e=Math.pow(e,r),n=Math.pow(n,r)-e,r=1/r,function(t){return Math.pow(e+t*n,r)}}function yT(t,e){var n=e-t;return n?_T(t,180<n||n<-180?n-360*Math.round(n/360):n):gT(isNaN(t)?e:t)}function mT(n){return 1==(n=+n)?bT:function(t,e){return e-t?vT(t,e,n):gT(isNaN(t)?e:t)}}function bT(t,e){var n=e-t;return n?_T(t,n):gT(isNaN(t)?e:t)}nE(hT,fT,rE(iE,{brighter:function(t){return t=null==t?oE:Math.pow(oE,t),new hT(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new hT(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*FE,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),i=Math.sin(t);return new SE(255*(e+n*(nT*r+rT*i)),255*(e+n*(iT*r+aT*i)),255*(e+oT*r*n),this.opacity)}}));var xT=function t(e){var o=mT(e);function n(e,t){var n=o((e=ME(e)).r,(t=ME(t)).r),r=o(e.g,t.g),i=o(e.b,t.b),a=bT(e.opacity,t.opacity);return function(t){return e.r=n(t),e.g=r(t),e.b=i(t),e.opacity=a(t),e+""}}return n.gamma=t,n}(1);function wT(s){return function(t){var e=t.length,n=new Array(e),r=new Array(e),i=new Array(e),a,o;for(a=0;a<e;++a)o=ME(t[a]),n[a]=o.r||0,r[a]=o.g||0,i[a]=o.b||0;return n=s(n),r=s(r),i=s(i),o.opacity=1,function(t){return o.r=n(t),o.g=r(t),o.b=i(t),o+""}}}var kT=wT(pT);function AT(e,n){n=n||[];var r=e?Math.min(n.length,e.length):0,i=n.slice(),a;return function(t){for(a=0;a<r;++a)i[a]=e[a]*(1-t)+n[a]*t;return i}}function MT(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function ST(t,e){var n=e?e.length:0,r=t?Math.min(n,t.length):0,i=new Array(r),a=new Array(n),o;for(o=0;o<r;++o)i[o]=FT(t[o],e[o]);for(;o<n;++o)a[o]=e[o];return function(t){for(o=0;o<r;++o)a[o]=i[o](t);return a}}function ET(e,n){var r=new Date;return e=+e,n=+n,function(t){return r.setTime(e*(1-t)+n*t),r}}function TT(e,n){return e=+e,n=+n,function(t){return e*(1-t)+n*t}}function OT(t,e){var n={},r={},i;for(i in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)i in t?n[i]=FT(t[i],e[i]):r[i]=e[i];return function(t){for(i in n)r[i]=n[i](t);return r}}var CT=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,IT=new RegExp(CT.source,"g");function LT(t){return function(){return t}}function NT(e){return function(t){return e(t)+""}}function PT(t,r){var e=CT.lastIndex=IT.lastIndex=0,n,i,a,o=-1,s=[],c=[];for(t+="",r+="";(n=CT.exec(t))&&(i=IT.exec(r));)(a=i.index)>e&&(a=r.slice(e,a),s[o]?s[o]+=a:s[++o]=a),(n=n[0])===(i=i[0])?s[o]?s[o]+=i:s[++o]=i:(s[++o]=null,c.push({i:o,x:TT(n,i)})),e=IT.lastIndex;return e<r.length&&(a=r.slice(e),s[o]?s[o]+=a:s[++o]=a),s.length<2?c[0]?NT(c[0].x):LT(r):(r=c.length,function(t){for(var e=0,n;e<r;++e)s[(n=c[e]).i]=n.x(t);return s.join("")})}function FT(t,e){var n=typeof e,r;return null==e||"boolean"==n?gT(e):("number"==n?TT:"string"==n?(r=xE(e))?(e=r,xT):PT:e instanceof xE?xT:e instanceof Date?ET:MT(e)?AT:Array.isArray(e)?ST:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?OT:TT)(t,e)}function RT(e,n){return e=+e,n=+n,function(t){return Math.round(e*(1-t)+n*t)}}var jT=180/Math.PI,zT={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},DT,UT,qT,BT;function HT(t,e,n,r,i,a){var o,s,c;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(c=t*n+e*r)&&(n-=t*c,r-=e*c),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,c/=s),t*r<e*n&&(t=-t,e=-e,c=-c,o=-o),{translateX:i,translateY:a,rotate:Math.atan2(e,t)*jT,skewX:Math.atan(c)*jT,scaleX:o,scaleY:s}}function VT(t){return"none"===t?zT:(DT||(DT=document.createElement("DIV"),UT=document.documentElement,qT=document.defaultView),DT.style.transform=t,t=qT.getComputedStyle(UT.appendChild(DT),null).getPropertyValue("transform"),UT.removeChild(DT),HT(+(t=t.slice(7,-1).split(","))[0],+t[1],+t[2],+t[3],+t[4],+t[5]))}function YT(t){return null==t?zT:((BT=BT||document.createElementNS("http://www.w3.org/2000/svg","g")).setAttribute("transform",t),(t=BT.transform.baseVal.consolidate())?HT((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):zT)}function WT(n,s,c,i){function u(t){return t.length?t.pop()+" ":""}function r(t,e,n,r,i,a){if(t!==n||e!==r){var o=i.push("translate(",null,s,null,c);a.push({i:o-4,x:TT(t,n)},{i:o-2,x:TT(e,r)})}else(n||r)&&i.push("translate("+n+s+r+c)}function o(t,e,n,r){t!==e?(180<t-e?e+=360:180<e-t&&(t+=360),r.push({i:n.push(u(n)+"rotate(",null,i)-2,x:TT(t,e)})):e&&n.push(u(n)+"rotate("+e+i)}function l(t,e,n,r){t!==e?r.push({i:n.push(u(n)+"skewX(",null,i)-2,x:TT(t,e)}):e&&n.push(u(n)+"skewX("+e+i)}function f(t,e,n,r,i,a){if(t!==n||e!==r){var o=i.push(u(i)+"scale(",null,",",null,")");a.push({i:o-4,x:TT(t,n)},{i:o-2,x:TT(e,r)})}else 1===n&&1===r||i.push(u(i)+"scale("+n+","+r+")")}return function(t,e){var i=[],a=[];return t=n(t),e=n(e),r(t.translateX,t.translateY,e.translateX,e.translateY,i,a),o(t.rotate,e.rotate,i,a),l(t.skewX,e.skewX,i,a),f(t.scaleX,t.scaleY,e.scaleX,e.scaleY,i,a),t=e=null,function(t){for(var e=-1,n=a.length,r;++e<n;)i[(r=a[e]).i]=r.x(t);return i.join("")}}}var GT=WT(VT,"px, ","px)","deg)"),$T=WT(YT,", ",")",")");function XT(o){return function(e,t){var n=o((e=LE(e)).h,(t=LE(t)).h),r=bT(e.s,t.s),i=bT(e.l,t.l),a=bT(e.opacity,t.opacity);return function(t){return e.h=n(t),e.s=r(t),e.l=i(t),e.opacity=a(t),e+""}}}var ZT=XT(yT);function KT(e,t){var n=bT((e=WE(e)).l,(t=WE(t)).l),r=bT(e.a,t.a),i=bT(e.b,t.b),a=bT(e.opacity,t.opacity);return function(t){return e.l=n(t),e.a=r(t),e.b=i(t),e.opacity=a(t),e+""}}function QT(o){return function(e,t){var n=o((e=JE(e)).h,(t=JE(t)).h),r=bT(e.c,t.c),i=bT(e.l,t.l),a=bT(e.opacity,t.opacity);return function(t){return e.h=n(t),e.c=r(t),e.l=i(t),e.opacity=a(t),e+""}}}var JT=QT(yT);function tO(s){return function t(o){function e(e,t){var n=s((e=fT(e)).h,(t=fT(t)).h),r=bT(e.s,t.s),i=bT(e.l,t.l),a=bT(e.opacity,t.opacity);return function(t){return e.h=n(t),e.s=r(t),e.l=i(Math.pow(t,o)),e.opacity=a(t),e+""}}return o=+o,e.gamma=t,e}(1)}tO(yT);var eO=tO(bT);function nO(t,e){for(var n=0,r=e.length-1,i=e[0],a=new Array(r<0?0:r);n<r;)a[n]=t(i,i=e[++n]);return function(t){var e=Math.max(0,Math.min(r-1,Math.floor(t*=r)));return a[e](t-e)}}function rO(i,a){var o,s;return function(){var t=KS(this,i),e=t.tween;if(e!==o)for(var n=0,r=(s=o=e).length;n<r;++n)if(s[n].name===a){(s=s.slice()).splice(n,1);break}t.tween=s}}function iO(a,o,s){var c,u;if("function"!=typeof s)throw new Error;return function(){var t=KS(this,a),e=t.tween;if(e!==c){u=(c=e).slice();for(var n={name:o,value:s},r=0,i=u.length;r<i;++r)if(u[r].name===o){u[r]=n;break}r===i&&u.push(n)}t.tween=u}}function aO(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r=QS(this.node(),n).tween,i=0,a=r.length,o;i<a;++i)if((o=r[i]).name===t)return o.value;return null}return this.each((null==e?rO:iO)(n,t,e))}function oO(t,e,n){var r=t._id;return t.each(function(){var t=KS(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)}),function(t){return QS(t,r).value[e]}}function sO(t,e){var n;return("number"==typeof e?TT:e instanceof xE?xT:(n=xE(e))?(e=n,xT):PT)(t,e)}function cO(t){return function(){this.removeAttribute(t)}}function uO(t){return function(){this.removeAttributeNS(t.space,t.local)}}function lO(e,n,r){var i,a=r+"",o;return function(){var t=this.getAttribute(e);return t===a?null:t===i?o:o=n(i=t,r)}}function fO(e,n,r){var i,a=r+"",o;return function(){var t=this.getAttributeNS(e.space,e.local);return t===a?null:t===i?o:o=n(i=t,r)}}function hO(r,i,a){var o,s,c;return function(){var t,e=a(this),n;if(null!=e)return(t=this.getAttribute(r))===(n=e+"")?null:t===o&&n===s?c:(s=n,c=i(o=t,e));this.removeAttribute(r)}}function dO(r,i,a){var o,s,c;return function(){var t,e=a(this),n;if(null!=e)return(t=this.getAttributeNS(r.space,r.local))===(n=e+"")?null:t===o&&n===s?c:(s=n,c=i(o=t,e));this.removeAttributeNS(r.space,r.local)}}function pO(t,e){var n=xk(t),r="transform"===n?$T:sO;return this.attrTween(t,"function"==typeof e?(n.local?dO:hO)(n,r,oO(this,"attr."+t,e)):null==e?(n.local?uO:cO)(n):(n.local?fO:lO)(n,r,e))}function gO(e,n){return function(t){this.setAttribute(e,n.call(this,t))}}function _O(e,n){return function(t){this.setAttributeNS(e.space,e.local,n.call(this,t))}}function vO(e,n){var r,i;function t(){var t=n.apply(this,arguments);return t!==i&&(r=(i=t)&&_O(e,t)),r}return t._value=n,t}function yO(e,n){var r,i;function t(){var t=n.apply(this,arguments);return t!==i&&(r=(i=t)&&gO(e,t)),r}return t._value=n,t}function mO(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw new Error;var r=xk(t);return this.tween(n,(r.local?vO:yO)(r,e))}function bO(t,e){return function(){ZS(this,t).delay=+e.apply(this,arguments)}}function xO(t,e){return e=+e,function(){ZS(this,t).delay=e}}function wO(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?bO:xO)(e,t)):QS(this.node(),e).delay}function kO(t,e){return function(){KS(this,t).duration=+e.apply(this,arguments)}}function AO(t,e){return e=+e,function(){KS(this,t).duration=e}}function MO(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?kO:AO)(e,t)):QS(this.node(),e).duration}function SO(t,e){if("function"!=typeof e)throw new Error;return function(){KS(this,t).ease=e}}function EO(t){var e=this._id;return arguments.length?this.each(SO(e,t)):QS(this.node(),e).ease}function TO(t){"function"!=typeof t&&(t=Ik(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var a=e[i],o=a.length,s=r[i]=[],c,u=0;u<o;++u)(c=a[u])&&t.call(c,c.__data__,u,a)&&s.push(c);return new rC(r,this._parents,this._name,this._id)}function OO(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,r=e.length,i=n.length,a=Math.min(r,i),o=new Array(r),s=0;s<a;++s)for(var c=e[s],u=n[s],l=c.length,f=o[s]=new Array(l),h,d=0;d<l;++d)(h=c[d]||u[d])&&(f[d]=h);for(;s<r;++s)o[s]=e[s];return new rC(o,this._parents,this._name,this._id)}function CO(t){return(t+"").trim().split(/^|\s+/).every(function(t){var e=t.indexOf(".");return 0<=e&&(t=t.slice(0,e)),!t||"start"===t})}function IO(n,r,i){var a,o,s=CO(r)?ZS:KS;return function(){var t=s(this,n),e=t.on;e!==a&&(o=(a=e).copy()).on(r,i),t.on=o}}function LO(t,e){var n=this._id;return arguments.length<2?QS(this.node(),n).on.on(t):this.each(IO(n,t,e))}function NO(n){return function(){var t=this.parentNode;for(var e in this.__transition)if(+e!==n)return;t&&t.removeChild(this)}}function PO(){return this.on("end.remove",NO(this._id))}function FO(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=Sk(t));for(var r=this._groups,i=r.length,a=new Array(i),o=0;o<i;++o)for(var s=r[o],c=s.length,u=a[o]=new Array(c),l,f,h=0;h<c;++h)(l=s[h])&&(f=t.call(l,l.__data__,h,s))&&("__data__"in l&&(f.__data__=l.__data__),u[h]=f,XS(u[h],e,n,h,u,QS(l,n)));return new rC(a,this._parents,e,n)}function RO(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=Ok(t));for(var r=this._groups,i=r.length,a=[],o=[],s=0;s<i;++s)for(var c=r[s],u=c.length,l,f=0;f<u;++f)if(l=c[f]){for(var h=t.call(l,l.__data__,f,c),d,p=QS(l,n),g=0,_=h.length;g<_;++g)(d=h[g])&&XS(d,e,n,g,h,p);a.push(h),o.push(l)}return new rC(a,o,e,n)}var jO=sM.prototype.constructor;function zO(){return new jO(this._groups,this._parents)}function DO(n,r){var i,a,o;return function(){var t=fA(this,n),e=(this.style.removeProperty(n),fA(this,n));return t===e?null:t===i&&e===a?o:o=r(i=t,a=e)}}function UO(t){return function(){this.style.removeProperty(t)}}function qO(e,n,r){var i,a=r+"",o;return function(){var t=fA(this,e);return t===a?null:t===i?o:o=n(i=t,r)}}function BO(r,i,a){var o,s,c;return function(){var t=fA(this,r),e=a(this),n=e+"";return null==e&&(this.style.removeProperty(r),n=e=fA(this,r)),t===n?null:t===o&&n===s?c:(s=n,c=i(o=t,e))}}function HO(r,i){var a,o,s,c="style."+i,u="end."+c,l;return function(){var t=KS(this,r),e=t.on,n=null==t.value[c]?l=l||UO(i):void 0;e===a&&s===n||(o=(a=e).copy()).on(u,s=n),t.on=o}}function VO(t,e,n){var r="transform"==(t+="")?GT:sO;return null==e?this.styleTween(t,DO(t,r)).on("end.style."+t,UO(t)):"function"==typeof e?this.styleTween(t,BO(t,r,oO(this,"style."+t,e))).each(HO(this._id,t)):this.styleTween(t,qO(t,r,e),n).on("end.style."+t,null)}function YO(e,n,r){return function(t){this.style.setProperty(e,n.call(this,t),r)}}function WO(e,n,r){var i,a;function t(){var t=n.apply(this,arguments);return t!==a&&(i=(a=t)&&YO(e,t,r)),i}return t._value=n,t}function GO(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw new Error;return this.tween(r,WO(t,e,null==n?"":n))}function $O(t){return function(){this.textContent=t}}function XO(e){return function(){var t=e(this);this.textContent=null==t?"":t}}function ZO(t){return this.tween("text","function"==typeof t?XO(oO(this,"text",t)):$O(null==t?"":t+""))}function KO(e){return function(t){this.textContent=e.call(this,t)}}function QO(e){var n,r;function t(){var t=e.apply(this,arguments);return t!==r&&(n=(r=t)&&KO(t)),n}return t._value=e,t}function JO(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw new Error;return this.tween(e,QO(t))}function tC(){for(var t=this._name,e=this._id,n=aC(),r=this._groups,i=r.length,a=0;a<i;++a)for(var o=r[a],s=o.length,c,u=0;u<s;++u)if(c=o[u]){var l=QS(c,e);XS(c,t,n,u,o,{time:l.time+l.delay+l.duration,delay:0,duration:l.duration,ease:l.ease})}return new rC(r,this._parents,t,n)}function eC(){var i,a,o=this,s=o._id,c=o.size();return new Promise(function(t,e){var n={value:e},r={value:function(){0==--c&&t()}};o.each(function(){var t=KS(this,s),e=t.on;e!==i&&((a=(i=e).copy())._.cancel.push(n),a._.interrupt.push(n),a._.end.push(r)),t.on=a})})}var nC=0;function rC(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function iC(t){return sM().transition(t)}function aC(){return++nC}var oC=sM.prototype;function sC(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}rC.prototype=iC.prototype={constructor:rC,select:FO,selectAll:RO,filter:TO,merge:OO,selection:zO,transition:tC,call:oC.call,nodes:oC.nodes,node:oC.node,size:oC.size,empty:oC.empty,each:oC.each,on:LO,attr:pO,attrTween:mO,style:VO,styleTween:GO,text:ZO,textTween:JO,remove:PO,tween:aO,delay:wO,duration:MO,ease:EO,end:eC};var cC={time:null,delay:0,duration:250,ease:sC};function uC(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))return cC.time=CS(),cC;return n}function lC(t){var e,n;t=t instanceof rC?(e=t._id,t._name):(e=aC(),(n=cC).time=CS(),null==t?null:t+"");for(var r=this._groups,i=r.length,a=0;a<i;++a)for(var o=r[a],s=o.length,c,u=0;u<s;++u)(c=o[u])&&XS(c,t,e,u,o,n||uC(c,e));return new rC(r,this._parents,t,e)}sM.prototype.interrupt=eE,sM.prototype.transition=lC;var fC=Object.freeze({scale_type:"categorical",categorical_type:"palette",categorical_palette:["#1D6996","#EDAD08","#73AF48","#94346E","#38A6A5","#E17C05","#5F4690","#0F8554","#6F4070","#CC503E","#994E95","#666666"],categorical_extend:!0,categorical_seed_color:"#af5f68",categorical_rotation_angle:222.49,categorical_color_space:"hcl",categorical_custom_palette:"",sequential_palette:"Blues",sequential_custom_min:"#FFFFFF",sequential_custom_max:"#000000",sequential_color_space:"rgb",sequential_reverse:!1,diverging_palette:"RdBu",diverging_custom_min:"#67001f",diverging_custom_mid:"#f7f7f7",diverging_custom_max:"#053061",diverging_color_space:"rgb",diverging_reverse:!1});function hC(t){return"string"!=typeof t&&(t=""+t),t.toLowerCase().replace(/\s+/g,"")}var dC=null,pC,gC=360/((1+Math.sqrt(5))/2),_C="#FF0000";function vC(u,l,f){return function(t,r){Array.isArray(t)||(t=t?[t]:[_C]),r=void 0!==r?r:gC;for(var e=t.length,n=t.map(function(t){return u(t)}),i=n.reduce(function(t,e){return t+e[l]},0)/e,a=n.reduce(function(t,e){return t+e[f]},0)/e,o=e,s;s=n[--o].h,isNaN(s)&&0<o;);var c=0;return function t(){var e=++c*r,n;return xE(u((s+e)%360,i,a)).hex()}}}var yC,mC,bC={hcl:vC(JE,"c","l"),hsl:vC(LE,"s","l")};function xC(t,e,i){var a={},n=zM(e.map(i)).values(),r="palette"===t.categorical_type?t.categorical_palette:[t.categorical_seed_color],o=r.length;if(t.categorical_extend||"generated"===t.categorical_type){var s="palette"===t.categorical_type?fC.rotation_angle:t.categorical_rotation_angle,c=bC[t.categorical_color_space](r,s);n.forEach(function(t,e){a[t]=e<o?r[e]:c()})}else n.forEach(function(t,e){a[t]=r[e%o]});return t.categorical_custom_palette.split("\n").filter(function(t){return t}).forEach(function(t){var e=t.lastIndexOf(":");if(-1!==e){var n=i(t.slice(0,e).trim()),r=t.slice(e+1).trim();n&&r&&(a[n]=r)}}),function(t){return a[i(t)]}}function wC(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function kC(t,e){switch(arguments.length){case 0:break;case 1:this.interpolator(t);break;default:this.interpolator(e).domain(t)}return this}var AC=Array.prototype,MC=AC.map,SC=AC.slice,EC={name:"implicit"};function TC(){var a=CM(),o=[],r=[],i=EC;function s(t){var e=t+"",n=a.get(e);if(!n){if(i!==EC)return i;a.set(e,n=o.push(t))}return r[(n-1)%r.length]}return s.domain=function(t){if(!arguments.length)return o.slice();o=[],a=CM();for(var e=-1,n=t.length,r,i;++e<n;)a.has(i=(r=t[e])+"")||a.set(i,o.push(r));return s},s.range=function(t){return arguments.length?(r=SC.call(t),s):r.slice()},s.unknown=function(t){return arguments.length?(i=t,s):i},s.copy=function(){return TC(o,r).unknown(i)},wC.apply(s,arguments),s}function OC(){var t=TC().unknown(void 0),a=t.domain,o=t.range,s=[0,1],c,u,l=!1,f=0,h=0,d=.5;function e(){var t=a().length,e=s[1]<s[0],n=s[+e],r=s[1-e];c=(r-n)/Math.max(1,t-f+2*h),l&&(c=Math.floor(c)),n+=(r-n-c*(t-f))*d,u=c*(1-f),l&&(n=Math.round(n),u=Math.round(u));var i=YM(t).map(function(t){return n+c*t});return o(e?i.reverse():i)}return delete t.unknown,t.domain=function(t){return arguments.length?(a(t),e()):a()},t.range=function(t){return arguments.length?(s=[+t[0],+t[1]],e()):s.slice()},t.rangeRound=function(t){return s=[+t[0],+t[1]],l=!0,e()},t.bandwidth=function(){return u},t.step=function(){return c},t.round=function(t){return arguments.length?(l=!!t,e()):l},t.padding=function(t){return arguments.length?(f=Math.min(1,h=+t),e()):f},t.paddingInner=function(t){return arguments.length?(f=Math.min(1,t),e()):f},t.paddingOuter=function(t){return arguments.length?(h=+t,e()):h},t.align=function(t){return arguments.length?(d=Math.max(0,Math.min(1,t)),e()):d},t.copy=function(){return OC(a(),s).round(l).paddingInner(f).paddingOuter(h).align(d)},wC.apply(e(),arguments)}function CC(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return CC(e())},t}function IC(){return CC(OC.apply(null,arguments).paddingInner(1))}function LC(t){return function(){return t}}function NC(t){return+t}var PC=[0,1];function FC(t){return t}function RC(e,n){return(n-=e=+e)?function(t){return(t-e)/n}:LC(isNaN(n)?NaN:.5)}function jC(t){var e=t[0],n=t[t.length-1],r;return n<e&&(r=e,e=n,n=r),function(t){return Math.max(e,Math.min(n,t))}}function zC(t,e,n){var r=t[0],i=t[1],a=e[0],o=e[1];return a=i<r?(r=RC(i,r),n(o,a)):(r=RC(r,i),n(a,o)),function(t){return a(r(t))}}function DC(n,t,e){var r=Math.min(n.length,t.length)-1,i=new Array(r),a=new Array(r),o=-1;for(n[r]<n[0]&&(n=n.slice().reverse(),t=t.slice().reverse());++o<r;)i[o]=RC(n[o],n[o+1]),a[o]=e(t[o],t[o+1]);return function(t){var e=HM(n,t,1,r)-1;return a[e](i[e](t))}}function UC(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function qC(){var e=PC,n=PC,r=FT,i,a,o,s=FC,c,u,l;function f(){return c=2<Math.min(e.length,n.length)?DC:zC,u=l=null,h}function h(t){return isNaN(t=+t)?o:(u=u||c(e.map(i),n,r))(i(s(t)))}return h.invert=function(t){return s(a((l=l||c(n,e.map(i),TT))(t)))},h.domain=function(t){return arguments.length?(e=MC.call(t,NC),s===FC||(s=jC(e)),f()):e.slice()},h.range=function(t){return arguments.length?(n=SC.call(t),f()):n.slice()},h.rangeRound=function(t){return n=SC.call(t),r=RT,f()},h.clamp=function(t){return arguments.length?(s=t?jC(e):FC,h):s!==FC},h.interpolate=function(t){return arguments.length?(r=t,f()):r},h.unknown=function(t){return arguments.length?(o=t,h):o},function(t,e){return i=t,a=e,f()}}function BC(t,e){return qC()(t,e)}function HC(t,e,n,r){var i=cS(t,e,n),a;switch((r=jm(null==r?",f":r)).type){case"s":var o=Math.max(Math.abs(t),Math.abs(e));return null!=r.precision||isNaN(a=Qm(i,o))||(r.precision=a),$m(r,o);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(a=Jm(i,Math.max(Math.abs(t),Math.abs(e))))||(r.precision=a-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(a=Km(i))||(r.precision=a-2*("%"===r.type))}return Gm(r)}function VC(s){var c=s.domain;return s.ticks=function(t){var e=c();return oS(e[0],e[e.length-1],null==t?10:t)},s.tickFormat=function(t,e){var n=c();return HC(n[0],n[n.length-1],null==t?10:t,e)},s.nice=function(t){null==t&&(t=10);var e=c(),n=0,r=e.length-1,i=e[n],a=e[r],o;return a<i&&(o=i,i=a,a=o,o=n,n=r,r=o),0<(o=sS(i,a,t))?o=sS(i=Math.floor(i/o)*o,a=Math.ceil(a/o)*o,t):o<0&&(o=sS(i=Math.ceil(i*o)/o,a=Math.floor(a*o)/o,t)),0<o?(e[n]=Math.floor(i/o)*o,e[r]=Math.ceil(a/o)*o,c(e)):o<0&&(e[n]=Math.ceil(i*o)/o,e[r]=Math.floor(a*o)/o,c(e)),s},s}function YC(){var t=BC(FC,FC);return t.copy=function(){return UC(t,YC())},wC.apply(t,arguments),VC(t)}function WC(t,e){var n=0,r=(t=t.slice()).length-1,i=t[n],a=t[r],o;return a<i&&(o=n,n=r,r=o,o=i,i=a,a=o),t[n]=e.floor(i),t[r]=e.ceil(a),t}function GC(t){return Math.log(t)}function $C(t){return Math.exp(t)}function XC(t){return-Math.log(-t)}function ZC(t){return-Math.exp(-t)}function KC(t){return isFinite(t)?+("1e"+t):t<0?0:t}function QC(e){return 10===e?KC:e===Math.E?Math.exp:function(t){return Math.pow(e,t)}}function JC(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),function(t){return Math.log(t)/e})}function tI(e){return function(t){return-e(-t)}}function eI(t){var e=t(GC,$C),h=e.domain,d=10,p,g;function n(){return p=JC(d),g=QC(d),h()[0]<0?(p=tI(p),g=tI(g),t(XC,ZC)):t(GC,$C),e}return e.base=function(t){return arguments.length?(d=+t,n()):d},e.domain=function(t){return arguments.length?(h(t),n()):h()},e.ticks=function(t){var e=h(),n=e[0],r=e[e.length-1],i;(i=r<n)&&(a=n,n=r,r=a);var a=p(n),o=p(r),s,c,u,l=null==t?10:+t,f=[];if(!(d%1)&&o-a<l){if(a=Math.round(a)-1,o=Math.round(o)+1,0<n){for(;a<o;++a)for(c=1,s=g(a);c<d;++c)if(!((u=s*c)<n)){if(r<u)break;f.push(u)}}else for(;a<o;++a)for(c=d-1,s=g(a);1<=c;--c)if(!((u=s*c)<n)){if(r<u)break;f.push(u)}}else f=oS(a,o,Math.min(o-a,l)).map(g);return i?f.reverse():f},e.tickFormat=function(t,n){if(null==n&&(n=10===d?".0e":","),"function"!=typeof n&&(n=Gm(n)),t===1/0)return n;null==t&&(t=10);var r=Math.max(1,d*t/e.ticks().length);return function(t){var e=t/g(Math.round(p(t)));return e*d<d-.5&&(e*=d),e<=r?n(t):""}},e.nice=function(){return h(WC(h(),{floor:function(t){return g(Math.floor(p(t)))},ceil:function(t){return g(Math.ceil(p(t)))}}))},e}function nI(){var t=eI(qC()).domain([1,10]);return t.copy=function(){return UC(t,nI()).base(t.base())},wC.apply(t,arguments),t}var rI=1e3,iI=60*rI,aI=60*iI,oI=24*aI,sI=7*oI,cI=30*oI,uI=365*oI;function lI(t){return new Date(t)}function fI(t){return t instanceof Date?+t:+new Date(+t)}function hI(o,e,n,r,i,a,s,c,u){var l=BC(FC,FC),f=l.invert,h=l.domain,d=u(".%L"),p=u(":%S"),g=u("%I:%M"),_=u("%I %p"),v=u("%a %d"),y=u("%b %d"),m=u("%B"),b=u("%Y"),x=[[s,1,rI],[s,5,5*rI],[s,15,15*rI],[s,30,30*rI],[a,1,iI],[a,5,5*iI],[a,15,15*iI],[a,30,30*iI],[i,1,aI],[i,3,3*aI],[i,6,6*aI],[i,12,12*aI],[r,1,oI],[r,2,2*oI],[n,1,sI],[e,1,cI],[e,3,3*cI],[o,1,uI]];function w(t){return(s(t)<t?d:a(t)<t?p:i(t)<t?g:r(t)<t?_:e(t)<t?n(t)<t?v:y:o(t)<t?m:b)(t)}function k(t,e,n,r){if(null==t&&(t=10),"number"==typeof t){var i=Math.abs(n-e)/t,a=UM(function(t){return t[2]}).right(x,i);t=a===x.length?(r=cS(e/uI,n/uI,t),o):a?(r=(a=x[i/x[a-1][2]<x[a][2]/i?a-1:a])[1],a[0]):(r=Math.max(cS(e,n,t),1),c)}return null==r?t:t.every(r)}return l.invert=function(t){return new Date(f(t))},l.domain=function(t){return arguments.length?h(MC.call(t,fI)):h().map(lI)},l.ticks=function(t,e){var n=h(),r=n[0],i=n[n.length-1],a=i<r,o;return a&&(o=r,r=i,i=o),o=(o=k(t,r,i,e))?o.range(r,i+1):[],a?o.reverse():o},l.tickFormat=function(t,e){return null==e?w:u(e)},l.nice=function(t,e){var n=h();return(t=k(t,n[0],n[n.length-1],e))?h(WC(n,t)):l},l.copy=function(){return UC(l,hI(o,e,n,r,i,a,s,c,u))},l}function dI(){return wC.apply(hI(Lb,Ib,Ab,wb,xb,bb,mb,db,Qb).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function pI(){var e=0,n=1,r,i,a,o,s=FC,c=!1,u;function l(t){return isNaN(t=+t)?u:s(0===a?.5:(t=(o(t)-r)*a,c?Math.max(0,Math.min(1,t)):t))}return l.domain=function(t){return arguments.length?(r=o(e=+t[0]),i=o(n=+t[1]),a=r===i?0:1/(i-r),l):[e,n]},l.clamp=function(t){return arguments.length?(c=!!t,l):c},l.interpolator=function(t){return arguments.length?(s=t,l):s},l.unknown=function(t){return arguments.length?(u=t,l):u},function(t){return r=(o=t)(e),i=t(n),a=r===i?0:1/(i-r),l}}function gI(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function _I(){var t=VC(pI()(FC));return t.copy=function(){return gI(t,_I())},kC.apply(t,arguments)}function vI(t){for(var e=t.length/6|0,n=new Array(e),r=0;r<e;)n[r]="#"+t.slice(6*r,6*++r);return n}function yI(t){return kT(t[t.length-1])}var mI,bI=yI(new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(vI)),xI,wI=yI(new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(vI)),kI,AI=yI(new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(vI)),MI,SI=yI(new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(vI)),EI,TI=yI(new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(vI)),OI,CI=yI(new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(vI)),II,LI=yI(new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(vI)),NI,PI=yI(new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(vI)),FI,RI=yI(new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(vI)),jI,zI=yI(new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(vI)),DI,UI=yI(new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(vI)),qI,BI=yI(new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(vI)),HI,VI=yI(new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(vI)),YI,WI=yI(new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(vI)),GI,$I=yI(new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(vI)),XI,ZI=yI(new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(vI)),KI,QI=yI(new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(vI)),JI,tL=yI(new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(vI)),eL,nL=yI(new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(vI)),rL,iL=yI(new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(vI)),aL,oL=yI(new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(vI)),sL,cL=yI(new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(vI)),uL,lL=yI(new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(vI)),fL,hL=yI(new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(vI)),dL,pL=yI(new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(vI)),gL,_L=yI(new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(vI)),vL,yL=yI(new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(vI)),mL=eO(fT(300,.5,0),fT(-240,.5,1)),bL=eO(fT(-100,.75,.35),fT(80,1.5,.8)),xL=eO(fT(260,.75,.35),fT(80,1.5,.8)),wL=fT();function kL(e){var n=e.length;return function(t){return e[Math.max(0,Math.min(n-1,Math.floor(t*n)))]}}var AL=kL(vI("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),ML=kL(vI("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),SL=kL(vI("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),EL=kL(vI("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),TL=Object.freeze(["#efeca4","#e9e28f","#dccf64","#e3b23c","#e49547","#e37746","#dc5b36","#cb4144","#bb2244","#972545","#6a2c4f"]),OL=Object.freeze({Blues:cL,BuGn:zI,BuPu:UI,Carrots:kT(TL),Cool:xL,CubehelixDefault:mL,GnBu:BI,Greens:lL,Greys:hL,Inferno:SL,Magma:ML,Oranges:yL,OrRd:VI,Plasma:EL,PuBu:$I,PuBuGn:WI,PuRd:ZI,Purples:pL,RdPu:QI,Reds:_L,Viridis:AL,Warm:bL,YlGn:nL,YlGnBu:tL,YlOrBr:iL,YlOrRd:oL}),CL={hcl:JT,hsl:ZT,lab:KT,rgb:xT};function IL(t){var e=t.sequential_color_space,n=t.sequential_custom_min,r=t.sequential_custom_max;return CL[e](n,r)}function LL(t,e){var n;return _I(OL[t.sequential_palette]||IL(t)).domain(t.sequential_reverse?e.reverse():e)}var NL=Object.freeze({BrBG:bI,PiYG:AI,PRGn:wI,PuOr:SI,RdBu:TI,RdGy:CI,RdYlBu:LI,RdYlGn:PI,Spectral:RI}),PL={hcl:JT,hsl:ZT,lab:KT,rgb:xT};function FL(t){var e=t.diverging_color_space,n=t.diverging_custom_min,r=t.diverging_custom_mid,i=t.diverging_custom_max;return nO(PL[e],[n,r,i])}function RL(t,e){var n;return _I(NL[t.diverging_palette]||FL(t)).domain(t.diverging_reverse?e.reverse():e)}function jL(e){var n=null;for(var t in fC)void 0===e[t]&&(e[t]=fC[t]);var r=hC,i=dC,a,o,s,c;return{getColor:function(t){return n&&n(t,r)||i},updateColorScale:function(t){return t=Array.isArray(t)?t.slice():[0,1],n="categorical"===e.scale_type?xC(e,t,r):("sequential"===e.scale_type?LL:RL)(e,t),this},fallback:function(t){return void 0===t?i:(i="default"===t?dC:t,this)},stringNormalizer:function(t){return void 0===t?r:(r="default"===t?hC:"function"==typeof t?t:function(t){return t},this)}}}var zL="A-Za-zªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎↃↄⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々〆〱-〵〻〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛥꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",DL="fl-spanner",UL=DL+"-";function qL(t,e,n){return"<"+t+" class='"+UL+n+"'>"+e+"</"+t+">"}function BL(n){("string"==typeof n||n instanceof HTMLElement)&&(n=cM(n));var u={data:[],element:null,ignore_case:!0,text:function(t){return t},class:DL},r=function(t,e){var n=u.text(t,e);if(!n||"string"!=typeof n)return null;var r=n.trim();return r?{original:n,trimmed:r,length:r.length,d:t,i:e}:null},o=function(t,e){var n=e.trimmed.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),r,i,a,o,s="<"+t+".*?<\\/"+t+">"+"|(?:"+("(^|[^"+zL+"])"+"("+n+")"+("($|[^"+zL+"])"))+")",c=u.ignore_case?"gi":"g";return new RegExp(s,c)},e=function(){var t=n.node(),e=n.text(),a=u.element;return a=a||(t instanceof SVGElement||"svg"===t.nodeName.toLowerCase()?"tspan":"span"),u.data.map(r).filter(function(t){return t}).sort(function(t,e){return e.length-t.length||t.i-e.i}).forEach(function(i){var t=o(a,i);e=e.replace(t,function(t,e,n,r){return n?e+qL(a,n,i.i)+r:t})}),n.html(e),n.selectAll(a).each(function(){var t=u.data[this.getAttribute("class").slice(UL.length)];cM(this).datum(t).attr("class",u.class)})};return e.data=function(t){return void 0===t?u.data:(u.data=Array.isArray(t)?t:[t],e)},e.element=function(t){return void 0===t?u.element:(u.element=t,e)},e.ignoreCase=function(t){return void 0===t?u.ignore_case:(u.ignore_case=!!t,e)},e.text=function(t){return void 0===t?u.text:(u.text=t,e)},e.class=function(t){return void 0===t?u.class:(u.class=t,e)},e}function HL(t,e,n,r){BL(t).data(e)().style("color",function(t){return n(t)}).style("font-weight",r)}function VL(t,e){if("off"!=fk.text_legend){var n=fk.text_legend_bold?"bold":null;"auto"!=fk.text_legend&&!fk.text_legend_title||HL(cM("#fl-layout-header h1"),t,e,n),"auto"!=fk.text_legend&&!fk.text_legend_subtitle||HL(cM("#fl-layout-header h2"),t,e,n)}}var YL=jL(fk.color),WL=[],GL;function $L(){return"row"==lM.legend_type||"either"==lM.legend_type&&"row"==fk.color_mode}function XL(){var t=(GL=$L())?XM.row_names:XM.unfiltered_series_names;YL.updateColorScale(t),WL=GL?XM.row_names:XM.series_names,tN()}function ZL(t){return YL.getColor(XM.series_names[t])}function KL(t){return YL.getColor(XM.labelFormat(t).toString())}function QL(t){return GL?KL(t.label):ZL(t.series)}function JL(t){return GL?"rgba(0,0,0,0.5)":ZL(t.index)}function tN(){var t=!lM.legend_show||lM.facet_by_series&&!GL,e=cM("#legend").selectAll(".series").data(t?[]:WL),n=e.enter().append("span").attr("class","series");n.append("span").attr("class","swatch"),n.append("span").attr("class","label");var r=e.merge(n);r.style("width",fk.legend_stack?"100%":null).style("line-height",1.33*Math.max(fk.legend_swatch_height,fk.legend_text_size)+"rem"),r.select(".swatch").style("border-radius",fk.legend_swatch_radius+"px").style("width",fk.legend_swatch_width+"rem").style("height",fk.legend_swatch_height+"rem").style("background",function(t){return YL.getColor(t)}),r.select(".label").text(function(t){return t}).style("font-size",fk.legend_text_size+"rem").style("color",fk.legend_text_color),e.exit().remove(),gk.setLegendPosition(fk.legend_position)}function eN(){VL(WL,YL.getColor)}function nN(t,e){var n=void 0!==t.label?t.label:t.data.label;return fk.data_trans_bind_data_points?n:e}function rN(t,e){var n=lM.facets_show&&!lM.facet_by_series?"-"+t.facet.index:"";return fk.data_trans_bind_series?t.name+n:e}function iN(t){for(var e=-1,n=t.length,r,i=t[n-1],a=0;++e<n;)r=i,i=t[e],a+=r[1]*i[0]-r[0]*i[1];return a/2}function aN(t){for(var e=-1,n=t.length,r=0,i=0,a,o=t[n-1],s,c=0;++e<n;)a=o,o=t[e],c+=s=a[0]*o[1]-o[0]*a[1],r+=(a[0]+o[0])*s,i+=(a[1]+o[1])*s;return[r/(c*=3),i/c]}function oN(t){for(var e=-1,n=t.length,r=t[n-1],i,a,o=r[0],s=r[1],c=0;++e<n;)i=o,a=s,i-=o=(r=t[e])[0],a-=s=r[1],c+=Math.sqrt(i*i+a*a);return c}function sN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cN(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function uN(t,e,n){return e&&cN(t.prototype,e),n&&cN(t,n),t}function lN(t,e){return dN(t)||gN(t,e)||vN()}function fN(t){return hN(t)||pN(t)||_N()}function hN(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}function dN(t){if(Array.isArray(t))return t}function pN(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function gN(t,e){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)){var n=[],r=!0,i=!1,a=void 0;try{for(var o=t[Symbol.iterator](),s;!(r=(s=o.next()).done)&&(n.push(s.value),!e||n.length!==e);r=!0);}catch(t){i=!0,a=t}finally{try{r||null==o.return||o.return()}finally{if(i)throw a}}return n}}function _N(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function vN(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}var yN={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0},mN=[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function bN(t){return 10===t||13===t||8232===t||8233===t||32===t||9===t||11===t||12===t||160===t||5760<=t&&0<=mN.indexOf(t)}function xN(t){switch(32|t){case 109:case 122:case 108:case 104:case 118:case 99:case 115:case 113:case 116:case 97:case 114:return 1}}function wN(t){return 48<=t&&t<=57}function kN(t){return 48<=t&&t<=57||43===t||45===t||46===t}function AN(t){this.index=0,this.path=t,this.max=t.length,this.result=[],this.param=0,this.err="",this.segmentStart=0,this.data=[]}function MN(t){for(;t.index<t.max&&bN(t.path.charCodeAt(t.index));)t.index++}function SN(t){var e=t.index,n=e,r=t.max,i=!1,a=!1,o=!1,s=!1,c;if(r<=n)t.err="SvgPath: missed param (at pos "+n+")";else if(43!==(c=t.path.charCodeAt(n))&&45!==c||(c=++n<r?t.path.charCodeAt(n):0),wN(c)||46===c){if(46!==c){if(i=48===c,c=++n<r?t.path.charCodeAt(n):0,i&&n<r&&c&&wN(c))return void(t.err="SvgPath: numbers started with `0` such as `09` are ilegal (at pos "+e+")");for(;n<r&&wN(t.path.charCodeAt(n));)n++,a=!0;c=n<r?t.path.charCodeAt(n):0}if(46===c){for(s=!0,n++;wN(t.path.charCodeAt(n));)n++,o=!0;c=n<r?t.path.charCodeAt(n):0}if(101===c||69===c){if(s&&!a&&!o)return void(t.err="SvgPath: invalid float exponent (at pos "+n+")");if(43!==(c=++n<r?t.path.charCodeAt(n):0)&&45!==c||n++,!(n<r&&wN(t.path.charCodeAt(n))))return void(t.err="SvgPath: invalid float exponent (at pos "+n+")");for(;n<r&&wN(t.path.charCodeAt(n));)n++}t.index=n,t.param=parseFloat(t.path.slice(e,n))+0}else t.err="SvgPath: param should start with 0..9 or `.` (at pos "+n+")"}function EN(t){var e,n;n=(e=t.path[t.segmentStart]).toLowerCase();var r=t.data;if("m"===n&&2<r.length&&(t.result.push([e,r[0],r[1]]),r=r.slice(2),n="l",e="m"===e?"l":"L"),"r"===n)t.result.push([e].concat(r));else for(;r.length>=yN[n]&&(t.result.push([e].concat(r.splice(0,yN[n]))),yN[n]););}function TN(t){var e=t.max,n,r,i,a;if(t.segmentStart=t.index,xN(n=t.path.charCodeAt(t.index)))if(i=yN[t.path[t.index].toLowerCase()],t.index++,MN(t),t.data=[],i){for(r=!1;;){for(a=i;0<a;a--){if(SN(t),t.err.length)return;t.data.push(t.param),MN(t),r=!1,t.index<e&&44===t.path.charCodeAt(t.index)&&(t.index++,MN(t),r=!0)}if(!r){if(t.index>=t.max)break;if(!kN(t.path.charCodeAt(t.index)))break}}EN(t)}else EN(t);else t.err="SvgPath: bad command "+t.path[t.index]+" (at pos "+t.index+")"}var ON=function t(e){var n=new AN(e),r=n.max;for(MN(n);n.index<r&&!n.err.length;)TN(n);return n.err.length?n.result=[]:n.result.length&&("mM".indexOf(n.result[0][0])<0?(n.err="SvgPath: string should start with `M` or `m`",n.result=[]):n.result[0][0]="M"),{err:n.err,segments:n.result}};function CN(t,e){return[t[0]*e[0]+t[2]*e[1],t[1]*e[0]+t[3]*e[1],t[0]*e[2]+t[2]*e[3],t[1]*e[2]+t[3]*e[3],t[0]*e[4]+t[2]*e[5]+t[4],t[1]*e[4]+t[3]*e[5]+t[5]]}function IN(){if(!(this instanceof IN))return new IN;this.queue=[],this.cache=null}IN.prototype.matrix=function(t){return 1===t[0]&&0===t[1]&&0===t[2]&&1===t[3]&&0===t[4]&&0===t[5]||(this.cache=null,this.queue.push(t)),this},IN.prototype.translate=function(t,e){return 0===t&&0===e||(this.cache=null,this.queue.push([1,0,0,1,t,e])),this},IN.prototype.scale=function(t,e){return 1===t&&1===e||(this.cache=null,this.queue.push([t,0,0,e,0,0])),this},IN.prototype.rotate=function(t,e,n){var r,i,a;return 0!==t&&(this.translate(e,n),r=t*Math.PI/180,i=Math.cos(r),a=Math.sin(r),this.queue.push([i,a,-a,i,0,0]),this.cache=null,this.translate(-e,-n)),this},IN.prototype.skewX=function(t){return 0!==t&&(this.cache=null,this.queue.push([1,0,Math.tan(t*Math.PI/180),1,0,0])),this},IN.prototype.skewY=function(t){return 0!==t&&(this.cache=null,this.queue.push([1,Math.tan(t*Math.PI/180),0,1,0,0])),this},IN.prototype.toArray=function(){if(this.cache)return this.cache;if(!this.queue.length)return this.cache=[1,0,0,1,0,0],this.cache;if(this.cache=this.queue[0],1===this.queue.length)return this.cache;for(var t=1;t<this.queue.length;t++)this.cache=CN(this.cache,this.queue[t]);return this.cache},IN.prototype.calc=function(t,e,n){var r;return this.queue.length?(this.cache||(this.cache=this.toArray()),[t*(r=this.cache)[0]+e*r[2]+(n?0:r[4]),t*r[1]+e*r[3]+(n?0:r[5])]):[t,e]};var LN=IN,NN={matrix:!0,scale:!0,rotate:!0,translate:!0,skewX:!0,skewY:!0},PN=/\s*(matrix|translate|scale|rotate|skewX|skewY)\s*\(\s*(.+?)\s*\)[\s,]*/,FN=/[\s,]+/,RN=function t(e){var n=new LN,r,i;return e.split(PN).forEach(function(t){if(t.length)if(void 0===NN[t])switch(i=t.split(FN).map(function(t){return+t||0}),r){case"matrix":return void(6===i.length&&n.matrix(i));case"scale":return void(1===i.length?n.scale(i[0],i[0]):2===i.length&&n.scale(i[0],i[1]));case"rotate":return void(1===i.length?n.rotate(i[0],0,0):3===i.length&&n.rotate(i[0],i[1],i[2]));case"translate":return void(1===i.length?n.translate(i[0],0):2===i.length&&n.translate(i[0],i[1]));case"skewX":return void(1===i.length&&n.skewX(i[0]));case"skewY":return void(1===i.length&&n.skewY(i[0]))}else r=t}),n},jN=2*Math.PI;function zN(t,e,n,r){var i,a=t*n+e*r;return 1<a&&(a=1),a<-1&&(a=-1),(t*r-e*n<0?-1:1)*Math.acos(a)}function DN(t,e,n,r,i,a,o,s,c,u){var l=u*(t-n)/2+c*(e-r)/2,f=-c*(t-n)/2+u*(e-r)/2,h=o*o,d=s*s,p=l*l,g=f*f,_=h*d-h*g-d*p;_<0&&(_=0),_/=h*g+d*p;var v=(_=Math.sqrt(_)*(i===a?-1:1))*o/s*f,y=_*-s/o*l,m=u*v-c*y+(t+n)/2,b=c*v+u*y+(e+r)/2,x=(l-v)/o,w=(f-y)/s,k=(-l-v)/o,A=(-f-y)/s,M=zN(1,0,x,w),S=zN(x,w,k,A);return 0===a&&0<S&&(S-=jN),1===a&&S<0&&(S+=jN),[m,b,M,S]}function UN(t,e){var n=4/3*Math.tan(e/4),r=Math.cos(t),i=Math.sin(t),a=Math.cos(t+e),o=Math.sin(t+e);return[r,i,r-i*n,i+r*n,a+o*n,o-a*n,a,o]}var qN=function t(e,n,r,i,a,o,s,c,u){var l=Math.sin(u*jN/360),f=Math.cos(u*jN/360),h=f*(e-r)/2+l*(n-i)/2,d=-l*(e-r)/2+f*(n-i)/2;if(0==h&&0==d)return[];if(0===s||0===c)return[];s=Math.abs(s),c=Math.abs(c);var p=h*h/(s*s)+d*d/(c*c);1<p&&(s*=Math.sqrt(p),c*=Math.sqrt(p));var g=DN(e,n,r,i,a,o,s,c,l,f),_=[],v=g[2],y=g[3],m=Math.max(Math.ceil(Math.abs(y)/(jN/4)),1);y/=m;for(var b=0;b<m;b++)_.push(UN(v,y)),v+=y;return _.map(function(t){for(var e=0;e<t.length;e+=2){var n=t[e+0],r=t[e+1],i=f*(n*=s)-l*(r*=c),a=l*n+f*r;t[e+0]=i+g[0],t[e+1]=a+g[1]}return t})},BN=1e-10,HN=Math.PI/180;function VN(t,e,n){if(!(this instanceof VN))return new VN(t,e,n);this.rx=t,this.ry=e,this.ax=n}VN.prototype.transform=function(t){var e=Math.cos(this.ax*HN),n=Math.sin(this.ax*HN),r=[this.rx*(t[0]*e+t[2]*n),this.rx*(t[1]*e+t[3]*n),this.ry*(-t[0]*n+t[2]*e),this.ry*(-t[1]*n+t[3]*e)],i=r[0]*r[0]+r[2]*r[2],a=r[1]*r[1]+r[3]*r[3],o=((r[0]-r[3])*(r[0]-r[3])+(r[2]+r[1])*(r[2]+r[1]))*((r[0]+r[3])*(r[0]+r[3])+(r[2]-r[1])*(r[2]-r[1])),s=(i+a)/2;if(o<BN*s)return this.rx=this.ry=Math.sqrt(s),this.ax=0,this;var c=r[0]*r[1]+r[2]*r[3],u=s+(o=Math.sqrt(o))/2,l=s-o/2;return this.ax=Math.abs(c)<BN&&Math.abs(u-a)<BN?90:180*Math.atan(Math.abs(c)>Math.abs(u-a)?(u-i)/c:c/(u-a))/Math.PI,0<=this.ax?(this.rx=Math.sqrt(u),this.ry=Math.sqrt(l)):(this.ax+=90,this.rx=Math.sqrt(l),this.ry=Math.sqrt(u)),this},VN.prototype.isDegenerate=function(){return this.rx<BN*this.ry||this.ry<BN*this.rx};var YN=VN;function WN(t){if(!(this instanceof WN))return new WN(t);var e=ON(t);this.segments=e.segments,this.err=e.err,this.__stack=[]}WN.prototype.__matrix=function(l){var f=this,h;l.queue.length&&this.iterate(function(t,e,n,r){var i,a,o,s;switch(t[0]){case"v":a=0===(i=l.calc(0,t[1],!0))[0]?["v",i[1]]:["l",i[0],i[1]];break;case"V":a=(i=l.calc(n,t[1],!1))[0]===l.calc(n,r,!1)[0]?["V",i[1]]:["L",i[0],i[1]];break;case"h":a=0===(i=l.calc(t[1],0,!0))[1]?["h",i[0]]:["l",i[0],i[1]];break;case"H":a=(i=l.calc(t[1],r,!1))[1]===l.calc(n,r,!1)[1]?["H",i[0]]:["L",i[0],i[1]];break;case"a":case"A":var c=l.toArray(),u=YN(t[1],t[2],t[3]).transform(c);if(c[0]*c[3]-c[1]*c[2]<0&&(t[5]=t[5]?"0":"1"),i=l.calc(t[6],t[7],"a"===t[0]),"A"===t[0]&&t[6]===n&&t[7]===r||"a"===t[0]&&0===t[6]&&0===t[7]){a=["a"===t[0]?"l":"L",i[0],i[1]];break}a=u.isDegenerate()?["a"===t[0]?"l":"L",i[0],i[1]]:[t[0],u.rx,u.ry,u.ax,t[4],t[5],i[0],i[1]];break;case"m":s=0<e,a=["m",(i=l.calc(t[1],t[2],s))[0],i[1]];break;default:for(a=[o=t[0]],s=o.toLowerCase()===o,h=1;h<t.length;h+=2)i=l.calc(t[h],t[h+1],s),a.push(i[0],i[1])}f.segments[e]=a},!0)},WN.prototype.__evaluateStack=function(){var t,e;if(this.__stack.length){if(1===this.__stack.length)return this.__matrix(this.__stack[0]),void(this.__stack=[]);for(t=LN(),e=this.__stack.length;0<=--e;)t.matrix(this.__stack[e].toArray());this.__matrix(t),this.__stack=[]}},WN.prototype.toString=function(){var t=[],e,n;this.__evaluateStack();for(var r=0;r<this.segments.length;r++)n=this.segments[r][0],e=0<r&&"m"!==n&&"M"!==n&&n===this.segments[r-1][0],t=t.concat(e?this.segments[r].slice(1):this.segments[r]);return t.join(" ").replace(/ ?([achlmqrstvz]) ?/gi,"$1").replace(/ \-/g,"-").replace(/zm/g,"z m")},WN.prototype.translate=function(t,e){return this.__stack.push(LN().translate(t,e||0)),this},WN.prototype.scale=function(t,e){return this.__stack.push(LN().scale(t,e||0===e?e:t)),this},WN.prototype.rotate=function(t,e,n){return this.__stack.push(LN().rotate(t,e||0,n||0)),this},WN.prototype.skewX=function(t){return this.__stack.push(LN().skewX(t)),this},WN.prototype.skewY=function(t){return this.__stack.push(LN().skewY(t)),this},WN.prototype.matrix=function(t){return this.__stack.push(LN().matrix(t)),this},WN.prototype.transform=function(t){return t.trim()&&this.__stack.push(RN(t)),this},WN.prototype.round=function(r){var e=0,i=0,a=0,o=0,s;return r=r||0,this.__evaluateStack(),this.segments.forEach(function(n){var t=n[0].toLowerCase()===n[0];switch(n[0]){case"H":case"h":return t&&(n[1]+=a),a=n[1]-n[1].toFixed(r),void(n[1]=+n[1].toFixed(r));case"V":case"v":return t&&(n[1]+=o),o=n[1]-n[1].toFixed(r),void(n[1]=+n[1].toFixed(r));case"Z":case"z":return a=e,void(o=i);case"M":case"m":return t&&(n[1]+=a,n[2]+=o),a=n[1]-n[1].toFixed(r),o=n[2]-n[2].toFixed(r),e=a,i=o,n[1]=+n[1].toFixed(r),void(n[2]=+n[2].toFixed(r));case"A":case"a":return t&&(n[6]+=a,n[7]+=o),a=n[6]-n[6].toFixed(r),o=n[7]-n[7].toFixed(r),n[1]=+n[1].toFixed(r),n[2]=+n[2].toFixed(r),n[3]=+n[3].toFixed(r+2),n[6]=+n[6].toFixed(r),void(n[7]=+n[7].toFixed(r));default:return s=n.length,t&&(n[s-2]+=a,n[s-1]+=o),a=n[s-2]-n[s-2].toFixed(r),o=n[s-1]-n[s-1].toFixed(r),void n.forEach(function(t,e){e&&(n[e]=+n[e].toFixed(r))})}}),this},WN.prototype.iterate=function(i,t){var e=this.segments,a={},o=!1,s=0,c=0,u=0,l=0,n,r,f;if(t||this.__evaluateStack(),e.forEach(function(t,e){var n=i(t,e,s,c);Array.isArray(n)&&(a[e]=n,o=!0);var r=t[0]===t[0].toLowerCase();switch(t[0]){case"m":case"M":return s=t[1]+(r?s:0),c=t[2]+(r?c:0),u=s,void(l=c);case"h":case"H":return void(s=t[1]+(r?s:0));case"v":case"V":return void(c=t[1]+(r?c:0));case"z":case"Z":return s=u,void(c=l);default:s=t[t.length-2]+(r?s:0),c=t[t.length-1]+(r?c:0)}}),!o)return this;for(f=[],n=0;n<e.length;n++)if(void 0!==a[n])for(r=0;r<a[n].length;r++)f.push(a[n][r]);else f.push(e[n]);return this.segments=f,this},WN.prototype.abs=function(){return this.iterate(function(t,e,n,r){var i=t[0],a=i.toUpperCase(),o;if(i!==a)switch(t[0]=a,i){case"v":return void(t[1]+=r);case"a":return t[6]+=n,void(t[7]+=r);default:for(o=1;o<t.length;o++)t[o]+=o%2?n:r}},!0),this},WN.prototype.rel=function(){return this.iterate(function(t,e,n,r){var i=t[0],a=i.toLowerCase(),o;if(i!==a&&(0!==e||"M"!==i))switch(t[0]=a,i){case"V":return void(t[1]-=r);case"A":return t[6]-=n,void(t[7]-=r);default:for(o=1;o<t.length;o++)t[o]-=o%2?n:r}},!0),this},WN.prototype.unarc=function(){return this.iterate(function(t,e,n,r){var i,a,o,s=[],c=t[0];return"A"!==c&&"a"!==c?null:(o="a"===c?(a=n+t[6],r+t[7]):(a=t[6],t[7]),0===(i=qN(n,r,a,o,t[4],t[5],t[1],t[2],t[3])).length?[["a"===t[0]?"l":"L",t[6],t[7]]]:(i.forEach(function(t){s.push(["C",t[2],t[3],t[4],t[5],t[6],t[7]])}),s))}),this},WN.prototype.unshort=function(){var s=this.segments,c,u,l,f,h;return this.iterate(function(t,e,n,r){var i=t[0],a=i.toUpperCase(),o;e&&("T"===a?(o="t"===i,l=s[e-1],u="Q"===l[0]?(c=l[1]-n,l[2]-r):"q"===l[0]?(c=l[1]-l[3],l[2]-l[4]):c=0,f=-c,h=-u,o||(f+=n,h+=r),s[e]=[o?"q":"Q",f,h,t[1],t[2]]):"S"===a&&(o="s"===i,l=s[e-1],u="C"===l[0]?(c=l[3]-n,l[4]-r):"c"===l[0]?(c=l[3]-l[5],l[4]-l[6]):c=0,f=-c,h=-u,o||(f+=n,h+=r),s[e]=[o?"c":"C",f,h,t[1],t[2],t[3],t[4]]))}),this};var GN,$N=WN,XN={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},ZN=/([astvzqmhlc])([^astvzqmhlc]*)/gi;function KN(t){var i=[];return t.replace(ZN,function(t,e,n){var r=e.toLowerCase();for(n=JN(n),"m"===r&&2<n.length&&(i.push([e].concat(n.splice(0,2))),r="l",e="m"===e?"l":"L");0<=n.length;){if(n.length===XN[r])return n.unshift(e),i.push(n);if(n.length<XN[r])throw new Error("malformed path data");i.push([e].concat(n.splice(0,XN[r])))}}),i}var QN=/-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/gi;function JN(t){var e=t.match(QN);return e?e.map(Number):[]}function tP(t,e,n,r,i,a,o,s){return new eP(t,e,n,r,i,a,o,s)}function eP(t,e,n,r,i,a,o,s){this.a={x:t,y:e},this.b={x:n,y:r},this.c={x:i,y:a},this.d={x:o,y:s},null!=o&&null!=s?(this.getArcLength=pP,this.getPoint=oP,this.getDerivative=rP):(this.getArcLength=sP,this.getPoint=aP,this.getDerivative=nP),this.init()}function nP(t,e,n){return{x:2*(1-n)*(t[1]-t[0])+2*n*(t[2]-t[1]),y:2*(1-n)*(e[1]-e[0])+2*n*(e[2]-e[1])}}function rP(t,e,n){var r;return aP([3*(t[1]-t[0]),3*(t[2]-t[1]),3*(t[3]-t[2])],[3*(e[1]-e[0]),3*(e[2]-e[1]),3*(e[3]-e[2])],n)}function iP(t,e,n,r,i){for(var a=1,o=t/e,s=(t-n(r,i,o))/e;.001<a;){var c=n(r,i,o+s),u=n(r,i,o-s),l=Math.abs(t-c)/e,f=Math.abs(t-u)/e;l<a?(a=l,o+=s):f<a?(a=f,o-=s):s/=2}return o}function aP(t,e,n){var r,i;return{x:(1-n)*(1-n)*t[0]+2*(1-n)*n*t[1]+n*n*t[2],y:(1-n)*(1-n)*e[0]+2*(1-n)*n*e[1]+n*n*e[2]}}function oP(t,e,n){var r,i;return{x:(1-n)*(1-n)*(1-n)*t[0]+3*(1-n)*(1-n)*n*t[1]+3*(1-n)*n*n*t[2]+n*n*n*t[3],y:(1-n)*(1-n)*(1-n)*e[0]+3*(1-n)*(1-n)*n*e[1]+3*(1-n)*n*n*e[2]+n*n*n*e[3]}}function sP(t,e,n){void 0===n&&(n=1);var r=t[0]-2*t[1]+t[2],i=e[0]-2*e[1]+e[2],a=2*t[1]-2*t[0],o=2*e[1]-2*e[0],s=4*(r*r+i*i),c=4*(r*a+i*o),u=a*a+o*o;if(0==s)return n*Math.sqrt(Math.pow(t[2]-t[0],2)+Math.pow(e[2]-e[0],2));var l=c/(2*s),f,h=n+l,d=u/s-l*l;return Math.sqrt(s)/2*(h*Math.sqrt(h*h+d)-l*Math.sqrt(l*l+d)+d*Math.log(Math.abs((h+Math.sqrt(h*h+d))/(l+Math.sqrt(l*l+d)))))}eP.prototype={constructor:eP,init:function(){this.length=this.getArcLength([this.a.x,this.b.x,this.c.x,this.d.x],[this.a.y,this.b.y,this.c.y,this.d.y])},getTotalLength:function(){return this.length},getPointAtLength:function(t){var e=iP(t,this.length,this.getArcLength,[this.a.x,this.b.x,this.c.x,this.d.x],[this.a.y,this.b.y,this.c.y,this.d.y]);return this.getPoint([this.a.x,this.b.x,this.c.x,this.d.x],[this.a.y,this.b.y,this.c.y,this.d.y],e)},getTangentAtLength:function(t){var e=iP(t,this.length,this.getArcLength,[this.a.x,this.b.x,this.c.x,this.d.x],[this.a.y,this.b.y,this.c.y,this.d.y]),n=this.getDerivative([this.a.x,this.b.x,this.c.x,this.d.x],[this.a.y,this.b.y,this.c.y,this.d.y],e),r=Math.sqrt(n.x*n.x+n.y*n.y),i;return i=0<r?{x:n.x/r,y:n.y/r}:{x:0,y:0}},getPropertiesAtLength:function(t){var e=iP(t,this.length,this.getArcLength,[this.a.x,this.b.x,this.c.x,this.d.x],[this.a.y,this.b.y,this.c.y,this.d.y]),n=this.getDerivative([this.a.x,this.b.x,this.c.x,this.d.x],[this.a.y,this.b.y,this.c.y,this.d.y],e),r=Math.sqrt(n.x*n.x+n.y*n.y),i;i=0<r?{x:n.x/r,y:n.y/r}:{x:0,y:0};var a=this.getPoint([this.a.x,this.b.x,this.c.x,this.d.x],[this.a.y,this.b.y,this.c.y,this.d.y],e);return{x:a.x,y:a.y,tangentX:i.x,tangentY:i.y}}};var cP=[[],[],[-.5773502691896257,.5773502691896257],[0,-.7745966692414834,.7745966692414834],[-.33998104358485626,.33998104358485626,-.8611363115940526,.8611363115940526],[0,-.5384693101056831,.5384693101056831,-.906179845938664,.906179845938664],[.6612093864662645,-.6612093864662645,-.2386191860831969,.2386191860831969,-.932469514203152,.932469514203152],[0,.4058451513773972,-.4058451513773972,-.7415311855993945,.7415311855993945,-.9491079123427585,.9491079123427585],[-.1834346424956498,.1834346424956498,-.525532409916329,.525532409916329,-.7966664774136267,.7966664774136267,-.9602898564975363,.9602898564975363],[0,-.8360311073266358,.8360311073266358,-.9681602395076261,.9681602395076261,-.3242534234038089,.3242534234038089,-.6133714327005904,.6133714327005904],[-.14887433898163122,.14887433898163122,-.4333953941292472,.4333953941292472,-.6794095682990244,.6794095682990244,-.8650633666889845,.8650633666889845,-.9739065285171717,.9739065285171717],[0,-.26954315595234496,.26954315595234496,-.5190961292068118,.5190961292068118,-.7301520055740494,.7301520055740494,-.8870625997680953,.8870625997680953,-.978228658146057,.978228658146057],[-.1252334085114689,.1252334085114689,-.3678314989981802,.3678314989981802,-.5873179542866175,.5873179542866175,-.7699026741943047,.7699026741943047,-.9041172563704749,.9041172563704749,-.9815606342467192,.9815606342467192],[0,-.2304583159551348,.2304583159551348,-.44849275103644687,.44849275103644687,-.6423493394403402,.6423493394403402,-.8015780907333099,.8015780907333099,-.9175983992229779,.9175983992229779,-.9841830547185881,.9841830547185881],[-.10805494870734367,.10805494870734367,-.31911236892788974,.31911236892788974,-.5152486363581541,.5152486363581541,-.6872929048116855,.6872929048116855,-.827201315069765,.827201315069765,-.9284348836635735,.9284348836635735,-.9862838086968123,.9862838086968123],[0,-.20119409399743451,.20119409399743451,-.3941513470775634,.3941513470775634,-.5709721726085388,.5709721726085388,-.7244177313601701,.7244177313601701,-.8482065834104272,.8482065834104272,-.937273392400706,.937273392400706,-.9879925180204854,.9879925180204854],[-.09501250983763744,.09501250983763744,-.2816035507792589,.2816035507792589,-.45801677765722737,.45801677765722737,-.6178762444026438,.6178762444026438,-.755404408355003,.755404408355003,-.8656312023878318,.8656312023878318,-.9445750230732326,.9445750230732326,-.9894009349916499,.9894009349916499],[0,-.17848418149584785,.17848418149584785,-.3512317634538763,.3512317634538763,-.5126905370864769,.5126905370864769,-.6576711592166907,.6576711592166907,-.7815140038968014,.7815140038968014,-.8802391537269859,.8802391537269859,-.9506755217687678,.9506755217687678,-.9905754753144174,.9905754753144174],[-.0847750130417353,.0847750130417353,-.2518862256915055,.2518862256915055,-.41175116146284263,.41175116146284263,-.5597708310739475,.5597708310739475,-.6916870430603532,.6916870430603532,-.8037049589725231,.8037049589725231,-.8926024664975557,.8926024664975557,-.9558239495713977,.9558239495713977,-.9915651684209309,.9915651684209309],[0,-.16035864564022537,.16035864564022537,-.31656409996362983,.31656409996362983,-.46457074137596094,.46457074137596094,-.600545304661681,.600545304661681,-.7209661773352294,.7209661773352294,-.8227146565371428,.8227146565371428,-.9031559036148179,.9031559036148179,-.96020815213483,.96020815213483,-.9924068438435844,.9924068438435844],[-.07652652113349734,.07652652113349734,-.22778585114164507,.22778585114164507,-.37370608871541955,.37370608871541955,-.5108670019508271,.5108670019508271,-.636053680726515,.636053680726515,-.7463319064601508,.7463319064601508,-.8391169718222188,.8391169718222188,-.912234428251326,.912234428251326,-.9639719272779138,.9639719272779138,-.9931285991850949,.9931285991850949],[0,-.1455618541608951,.1455618541608951,-.2880213168024011,.2880213168024011,-.4243421202074388,.4243421202074388,-.5516188358872198,.5516188358872198,-.6671388041974123,.6671388041974123,-.7684399634756779,.7684399634756779,-.8533633645833173,.8533633645833173,-.9200993341504008,.9200993341504008,-.9672268385663063,.9672268385663063,-.9937521706203895,.9937521706203895],[-.06973927331972223,.06973927331972223,-.20786042668822127,.20786042668822127,-.34193582089208424,.34193582089208424,-.469355837986757,.469355837986757,-.5876404035069116,.5876404035069116,-.6944872631866827,.6944872631866827,-.7878168059792081,.7878168059792081,-.8658125777203002,.8658125777203002,-.926956772187174,.926956772187174,-.9700604978354287,.9700604978354287,-.9942945854823992,.9942945854823992],[0,-.1332568242984661,.1332568242984661,-.26413568097034495,.26413568097034495,-.3903010380302908,.3903010380302908,-.5095014778460075,.5095014778460075,-.6196098757636461,.6196098757636461,-.7186613631319502,.7186613631319502,-.8048884016188399,.8048884016188399,-.8767523582704416,.8767523582704416,-.9329710868260161,.9329710868260161,-.9725424712181152,.9725424712181152,-.9947693349975522,.9947693349975522],[-.06405689286260563,.06405689286260563,-.1911188674736163,.1911188674736163,-.3150426796961634,.3150426796961634,-.4337935076260451,.4337935076260451,-.5454214713888396,.5454214713888396,-.6480936519369755,.6480936519369755,-.7401241915785544,.7401241915785544,-.820001985973903,.820001985973903,-.8864155270044011,.8864155270044011,-.9382745520027328,.9382745520027328,-.9747285559713095,.9747285559713095,-.9951872199970213,.9951872199970213]],uP=[[],[],[1,1],[.8888888888888888,.5555555555555556,.5555555555555556],[.6521451548625461,.6521451548625461,.34785484513745385,.34785484513745385],[.5688888888888889,.47862867049936647,.47862867049936647,.23692688505618908,.23692688505618908],[.3607615730481386,.3607615730481386,.46791393457269104,.46791393457269104,.17132449237917036,.17132449237917036],[.4179591836734694,.3818300505051189,.3818300505051189,.27970539148927664,.27970539148927664,.1294849661688697,.1294849661688697],[.362683783378362,.362683783378362,.31370664587788727,.31370664587788727,.22238103445337448,.22238103445337448,.10122853629037626,.10122853629037626],[.3302393550012598,.1806481606948574,.1806481606948574,.08127438836157441,.08127438836157441,.31234707704000286,.31234707704000286,.26061069640293544,.26061069640293544],[.29552422471475287,.29552422471475287,.26926671930999635,.26926671930999635,.21908636251598204,.21908636251598204,.1494513491505806,.1494513491505806,.06667134430868814,.06667134430868814],[.2729250867779006,.26280454451024665,.26280454451024665,.23319376459199048,.23319376459199048,.18629021092773426,.18629021092773426,.1255803694649046,.1255803694649046,.05566856711617366,.05566856711617366],[.24914704581340277,.24914704581340277,.2334925365383548,.2334925365383548,.20316742672306592,.20316742672306592,.16007832854334622,.16007832854334622,.10693932599531843,.10693932599531843,.04717533638651183,.04717533638651183],[.2325515532308739,.22628318026289723,.22628318026289723,.2078160475368885,.2078160475368885,.17814598076194574,.17814598076194574,.13887351021978725,.13887351021978725,.09212149983772845,.09212149983772845,.04048400476531588,.04048400476531588],[.2152638534631578,.2152638534631578,.2051984637212956,.2051984637212956,.18553839747793782,.18553839747793782,.15720316715819355,.15720316715819355,.12151857068790319,.12151857068790319,.08015808715976021,.08015808715976021,.03511946033175186,.03511946033175186],[.2025782419255613,.19843148532711158,.19843148532711158,.1861610000155622,.1861610000155622,.16626920581699392,.16626920581699392,.13957067792615432,.13957067792615432,.10715922046717194,.10715922046717194,.07036604748810812,.07036604748810812,.03075324199611727,.03075324199611727],[.1894506104550685,.1894506104550685,.18260341504492358,.18260341504492358,.16915651939500254,.16915651939500254,.14959598881657674,.14959598881657674,.12462897125553388,.12462897125553388,.09515851168249279,.09515851168249279,.062253523938647894,.062253523938647894,.027152459411754096,.027152459411754096],[.17944647035620653,.17656270536699264,.17656270536699264,.16800410215645004,.16800410215645004,.15404576107681028,.15404576107681028,.13513636846852548,.13513636846852548,.11188384719340397,.11188384719340397,.08503614831717918,.08503614831717918,.0554595293739872,.0554595293739872,.02414830286854793,.02414830286854793],[.1691423829631436,.1691423829631436,.16427648374583273,.16427648374583273,.15468467512626524,.15468467512626524,.14064291467065065,.14064291467065065,.12255520671147846,.12255520671147846,.10094204410628717,.10094204410628717,.07642573025488905,.07642573025488905,.0497145488949698,.0497145488949698,.02161601352648331,.02161601352648331],[.1610544498487837,.15896884339395434,.15896884339395434,.15276604206585967,.15276604206585967,.1426067021736066,.1426067021736066,.12875396253933621,.12875396253933621,.11156664554733399,.11156664554733399,.09149002162245,.09149002162245,.06904454273764123,.06904454273764123,.0448142267656996,.0448142267656996,.019461788229726478,.019461788229726478],[.15275338713072584,.15275338713072584,.14917298647260374,.14917298647260374,.14209610931838204,.14209610931838204,.13168863844917664,.13168863844917664,.11819453196151841,.11819453196151841,.10193011981724044,.10193011981724044,.08327674157670475,.08327674157670475,.06267204833410907,.06267204833410907,.04060142980038694,.04060142980038694,.017614007139152118,.017614007139152118],[.14608113364969041,.14452440398997005,.14452440398997005,.13988739479107315,.13988739479107315,.13226893863333747,.13226893863333747,.12183141605372853,.12183141605372853,.10879729916714838,.10879729916714838,.09344442345603386,.09344442345603386,.0761001136283793,.0761001136283793,.057134425426857205,.057134425426857205,.036953789770852494,.036953789770852494,.016017228257774335,.016017228257774335],[.13925187285563198,.13925187285563198,.13654149834601517,.13654149834601517,.13117350478706238,.13117350478706238,.12325237681051242,.12325237681051242,.11293229608053922,.11293229608053922,.10041414444288096,.10041414444288096,.08594160621706773,.08594160621706773,.06979646842452049,.06979646842452049,.052293335152683286,.052293335152683286,.03377490158481415,.03377490158481415,.0146279952982722,.0146279952982722],[.13365457218610619,.1324620394046966,.1324620394046966,.12890572218808216,.12890572218808216,.12304908430672953,.12304908430672953,.11499664022241136,.11499664022241136,.10489209146454141,.10489209146454141,.09291576606003515,.09291576606003515,.07928141177671895,.07928141177671895,.06423242140852585,.06423242140852585,.04803767173108467,.04803767173108467,.030988005856979445,.030988005856979445,.013411859487141771,.013411859487141771],[.12793819534675216,.12793819534675216,.1258374563468283,.1258374563468283,.12167047292780339,.12167047292780339,.1155056680537256,.1155056680537256,.10744427011596563,.10744427011596563,.09761865210411388,.09761865210411388,.08619016153195327,.08619016153195327,.0733464814110803,.0733464814110803,.05929858491543678,.05929858491543678,.04427743881741981,.04427743881741981,.028531388628933663,.028531388628933663,.0123412297999872,.0123412297999872]],lP=[[1],[1,1],[1,2,1],[1,3,3,1]];function fP(t,e){return lP[t][e]}function hP(t,e,n){var r=n.length-1,i,a,o;if(0==r)return 0;if(0===t){for(o=a=0;o<=r;o++)a+=fP(r,o)*Math.pow(1-e,r-o)*Math.pow(e,o)*n[o];return a}for(i=new Array(r),o=0;o<r;o++)i[o]=r*(n[o+1]-n[o]);return hP(t-1,e,i)}function dP(t,e,n){var r=hP(1,n,t),i=hP(1,n,e),a=r*r+i*i;return Math.sqrt(a)}function pP(t,e,n){var r,i,a,o;void 0===n&&(n=1);var s=20;for(r=n/2,a=i=0;a<20;a++)o=r*cP[20][a]+r,i+=uP[20][a]*dP(t,e,o);return r*i}var gP=2*Math.PI;function _P(t,e,n,r){var i,a=t*n+e*r;return 1<a&&(a=1),a<-1&&(a=-1),(t*r-e*n<0?-1:1)*Math.acos(a)}function vP(t,e,n,r,i,a,o,s,c,u){var l=u*(t-n)/2+c*(e-r)/2,f=-c*(t-n)/2+u*(e-r)/2,h=o*o,d=s*s,p=l*l,g=f*f,_=h*d-h*g-d*p;_<0&&(_=0),_/=h*g+d*p;var v=(_=Math.sqrt(_)*(i===a?-1:1))*o/s*f,y=_*-s/o*l,m=u*v-c*y+(t+n)/2,b=c*v+u*y+(e+r)/2,x=(l-v)/o,w=(f-y)/s,k=(-l-v)/o,A=(-f-y)/s,M=_P(1,0,x,w),S=_P(x,w,k,A);return 0===a&&0<S&&(S-=gP),1===a&&S<0&&(S+=gP),[m,b,M,S]}function yP(t,e){var n=4/3*Math.tan(e/4),r=Math.cos(t),i=Math.sin(t),a=Math.cos(t+e),o=Math.sin(t+e);return[r,i,r-i*n,i+r*n,a+o*n,o-a*n,a,o]}function mP(t,e,o,s,n,r,i,a,c){var u=Math.sin(n*gP/360),l=Math.cos(n*gP/360),f=l*(t-a)/2+u*(e-c)/2,h=-u*(t-a)/2+l*(e-c)/2;if(0==f&&0==h)return[];if(0===o||0===s)return[];o=Math.abs(o),s=Math.abs(s);var d=f*f/(o*o)+h*h/(s*s);1<d&&(o*=Math.sqrt(d),s*=Math.sqrt(d));var p=vP(t,e,a,c,r,i,o,s,u,l),g=[],_=p[2],v=p[3],y=Math.max(Math.ceil(Math.abs(v)/(gP/4)),1);v/=y;for(var m=0;m<y;m++)g.push(yP(_,v)),_+=v;return g.map(function(t){for(var e=0;e<t.length;e+=2){var n=t[e+0],r=t[e+1],i=l*(n*=o)-u*(r*=s),a=u*n+l*r;t[e+0]=i+p[0],t[e+1]=a+p[1]}return t})}function bP(t,e,n,r,i,a,o,s,c){return new xP(t,e,n,r,i,a,o,s,c)}function xP(t,e,n,r,i,a,o,s,c){var u=0,l=[],f=[],h;mP(t,e,n,r,i,a,o,s,c).forEach(function(t){var e=new tP(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]),n=e.getTotalLength();u+=n,l.push(n),f.push(e)}),this.length=u,this.partialLengths=l,this.curves=f}function wP(t,e,n,r){return new kP(t,e,n,r)}function kP(t,e,n,r){this.x0=t,this.x1=e,this.y0=n,this.y1=r}function AP(t){var s=0,c=[],u=[];function l(t){if(!t)return null;for(var e=KN(t),n=[0,0],r=[0,0],i,a,o=0;o<e.length;o++)"M"===e[o][0]?(a=[(n=[e[o][1],e[o][2]])[0],n[1]],u.push(null)):"m"===e[o][0]?(a=[(n=[e[o][1]+n[0],e[o][2]+n[1]])[0],n[1]],u.push(null)):"L"===e[o][0]?(s+=Math.sqrt(Math.pow(n[0]-e[o][1],2)+Math.pow(n[1]-e[o][2],2)),u.push(new wP(n[0],e[o][1],n[1],e[o][2])),n=[e[o][1],e[o][2]]):"l"===e[o][0]?(s+=Math.sqrt(Math.pow(e[o][1],2)+Math.pow(e[o][2],2)),u.push(new wP(n[0],e[o][1]+n[0],n[1],e[o][2]+n[1])),n=[e[o][1]+n[0],e[o][2]+n[1]]):"H"===e[o][0]?(s+=Math.abs(n[0]-e[o][1]),u.push(new wP(n[0],e[o][1],n[1],n[1])),n[0]=e[o][1]):"h"===e[o][0]?(s+=Math.abs(e[o][1]),u.push(new wP(n[0],n[0]+e[o][1],n[1],n[1])),n[0]=e[o][1]+n[0]):"V"===e[o][0]?(s+=Math.abs(n[1]-e[o][1]),u.push(new wP(n[0],n[0],n[1],e[o][1])),n[1]=e[o][1]):"v"===e[o][0]?(s+=Math.abs(e[o][1]),u.push(new wP(n[0],n[0],n[1],n[1]+e[o][1])),n[1]=e[o][1]+n[1]):"z"===e[o][0]||"Z"===e[o][0]?(s+=Math.sqrt(Math.pow(a[0]-n[0],2)+Math.pow(a[1]-n[1],2)),u.push(new wP(n[0],a[0],n[1],a[1])),n=[a[0],a[1]]):"C"===e[o][0]?(i=new tP(n[0],n[1],e[o][1],e[o][2],e[o][3],e[o][4],e[o][5],e[o][6]),s+=i.getTotalLength(),n=[e[o][5],e[o][6]],u.push(i)):"c"===e[o][0]?(i=new tP(n[0],n[1],n[0]+e[o][1],n[1]+e[o][2],n[0]+e[o][3],n[1]+e[o][4],n[0]+e[o][5],n[1]+e[o][6]),s+=i.getTotalLength(),n=[e[o][5]+n[0],e[o][6]+n[1]],u.push(i)):"S"===e[o][0]?(i=0<o&&-1<["C","c","S","s"].indexOf(e[o-1][0])?new tP(n[0],n[1],2*n[0]-e[o-1][e[o-1].length-4],2*n[1]-e[o-1][e[o-1].length-3],e[o][1],e[o][2],e[o][3],e[o][4]):new tP(n[0],n[1],n[0],n[1],e[o][1],e[o][2],e[o][3],e[o][4]),s+=i.getTotalLength(),n=[e[o][3],e[o][4]],u.push(i)):"s"===e[o][0]?(i=0<o&&-1<["C","c","S","s"].indexOf(e[o-1][0])?new tP(n[0],n[1],n[0]+i.d.x-i.c.x,n[1]+i.d.y-i.c.y,n[0]+e[o][1],n[1]+e[o][2],n[0]+e[o][3],n[1]+e[o][4]):new tP(n[0],n[1],n[0],n[1],n[0]+e[o][1],n[1]+e[o][2],n[0]+e[o][3],n[1]+e[o][4]),s+=i.getTotalLength(),n=[e[o][3]+n[0],e[o][4]+n[1]],u.push(i)):"Q"===e[o][0]?(i=n[0]!=e[o][1]&&n[1]!=e[o][2]?new tP(n[0],n[1],e[o][1],e[o][2],e[o][3],e[o][4]):new wP(e[o][1],e[o][3],e[o][2],e[o][4]),s+=i.getTotalLength(),u.push(i),n=[e[o][3],e[o][4]],r=[e[o][1],e[o][2]]):"q"===e[o][0]?(i=0!=e[o][1]||0!=e[o][2]?new tP(n[0],n[1],n[0]+e[o][1],n[1]+e[o][2],n[0]+e[o][3],n[1]+e[o][4]):new wP(n[0]+e[o][1],n[0]+e[o][3],n[1]+e[o][2],n[1]+e[o][4]),s+=i.getTotalLength(),r=[n[0]+e[o][1],n[1]+e[o][2]],n=[e[o][3]+n[0],e[o][4]+n[1]],u.push(i)):"T"===e[o][0]?(i=0<o&&-1<["Q","q","T","t"].indexOf(e[o-1][0])?new tP(n[0],n[1],2*n[0]-r[0],2*n[1]-r[1],e[o][1],e[o][2]):new wP(n[0],e[o][1],n[1],e[o][2]),u.push(i),s+=i.getTotalLength(),r=[2*n[0]-r[0],2*n[1]-r[1]],n=[e[o][1],e[o][2]]):"t"===e[o][0]?(i=0<o&&-1<["Q","q","T","t"].indexOf(e[o-1][0])?new tP(n[0],n[1],2*n[0]-r[0],2*n[1]-r[1],n[0]+e[o][1],n[1]+e[o][2]):new wP(n[0],n[0]+e[o][1],n[1],n[1]+e[o][2]),s+=i.getTotalLength(),r=[2*n[0]-r[0],2*n[1]-r[1]],n=[e[o][1]+n[0],e[o][2]+n[0]],u.push(i)):"A"===e[o][0]?(i=new bP(n[0],n[1],e[o][1],e[o][2],e[o][3],e[o][4],e[o][5],e[o][6],e[o][7]),s+=i.getTotalLength(),n=[e[o][6],e[o][7]],u.push(i)):"a"===e[o][0]&&(i=new bP(n[0],n[1],e[o][1],e[o][2],e[o][3],e[o][4],e[o][5],n[0]+e[o][6],n[1]+e[o][7]),s+=i.getTotalLength(),n=[n[0]+e[o][6],n[1]+e[o][7]],u.push(i)),c.push(s);return l}l.getTotalLength=function(){return s},l.getPointAtLength=function(t){var e=n(t);return u[e.i].getPointAtLength(e.fraction)},l.getTangentAtLength=function(t){var e=n(t);return u[e.i].getTangentAtLength(e.fraction)},l.getPropertiesAtLength=function(t){var e=n(t);return u[e.i].getPropertiesAtLength(e.fraction)};var n=function(t){t<0?t=0:s<t&&(t=s);for(var e=c.length-1;c[e]>=t&&0<c[e];)e--;return{fraction:t-c[++e-1],i:e}};return l(t)}function MP(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}function SP(t,e,n){return[t[0]+(e[0]-t[0])*n,t[1]+(e[1]-t[1])*n]}function EP(t,e){return MP(t,e)<1e-9}function TP(t,n,r){var i=t.map(function(t,e){return OP(t,n[e])});return function(e){var t=i.map(function(t){return t(e)});return r?RP(t):t}}function OP(t,r){return function(n){return t.map(function(t,e){return t+n*(r[e]-t)})}}function CP(t){return"number"==typeof t&&isFinite(t)}function IP(t){return LP(t)?aN(t):[(t[0][0]+t[t.length-1][0])/2,(t[0][1]+t[t.length-1][1])/2]}function LP(t){for(var e=0;e<t.length-2;e++){var n=t[e],r=t[e+1],i=t[e+2];if(n[0]*(r[1]-i[1])+r[0]*(i[1]-n[1])+i[0]*(n[1]-r[1]))return 1}}xP.prototype={constructor:xP,init:function(){},getTotalLength:function(){return this.length},getPointAtLength:function(t){t<0?t=0:t>this.length&&(t=this.length);for(var e=this.partialLengths.length-1;this.partialLengths[e]>=t&&0<this.partialLengths[e];)e--;e<this.partialLengths.length-1&&e++;for(var n=0,r=0;r<e;r++)n+=this.partialLengths[r];return this.curves[e].getPointAtLength(t-n)},getTangentAtLength:function(t){t<0?t=0:t>this.length&&(t=this.length);for(var e=this.partialLengths.length-1;this.partialLengths[e]>=t&&0<this.partialLengths[e];)e--;e<this.partialLengths.length-1&&e++;for(var n=0,r=0;r<e;r++)n+=this.partialLengths[r];return this.curves[e].getTangentAtLength(t-n)},getPropertiesAtLength:function(t){var e=this.getTangentAtLength(t),n=this.getPointAtLength(t);return{x:n.x,y:n.y,tangentX:e.x,tangentY:e.y}}},kP.prototype.getTotalLength=function(){return Math.sqrt(Math.pow(this.x0-this.x1,2)+Math.pow(this.y0-this.y1,2))},kP.prototype.getPointAtLength=function(t){var e=t/Math.sqrt(Math.pow(this.x0-this.x1,2)+Math.pow(this.y0-this.y1,2)),n=(this.x1-this.x0)*e,r=(this.y1-this.y0)*e;return{x:this.x0+n,y:this.y0+r}},kP.prototype.getTangentAtLength=function(){var t=Math.sqrt((this.x1-this.x0)*(this.x1-this.x0)+(this.y1-this.y0)*(this.y1-this.y0));return{x:(this.x1-this.x0)/t,y:(this.y1-this.y0)/t}},kP.prototype.getPropertiesAtLength=function(t){var e=this.getPointAtLength(t),n=this.getTangentAtLength();return{x:e.x,y:e.y,tangentX:n.x,tangentY:n.y}};var NP='All shapes must be supplied as arrays of [x, y] points or an SVG path string (https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/d).\nExample valid ways of supplying a shape would be:\n[[0, 0], [10, 0], [10, 10]]\n"M0,0 L10,0 L10,10Z"\n';function PP(t){return new $N(t).abs()}function FP(t){return t.toString().split("M").map(function(t,e){return t=t.trim(),e&&t?"M"+t:t}).filter(function(t){return t})}function RP(t){return"M"+t.join("L")+"Z"}function jP(t,e){var n=PP(t);return zP(n)||DP(n,e)}function zP(t){var e=t.segments||[],n=[];if(!e.length||"M"!==e[0][0])return!1;for(var r=0;r<e.length;r++){var i=lN(e[r],3),a=i[0],o=i[1],s=i[2];if("M"===a&&r||"Z"===a)break;if("M"===a||"L"===a)n.push([o,s]);else if("H"===a)n.push([o,n[n.length-1][1]]);else{if("V"!==a)return!1;n.push([n[n.length-1][0],o])}}return!!n.length&&{ring:n}}function DP(t,e){var n=FP(t)[0],r=[],i,a,o=3;if(!n)throw new TypeError(NP);i=(a=UP(n)).getTotalLength(),e&&CP(e)&&0<e&&(o=Math.max(o,Math.ceil(i/e)));for(var s=0;s<o;s++){var c=a.getPointAtLength(i*s/o);r.push([c.x,c.y])}return{ring:r,skipBisect:!0}}function UP(t){if("undefined"!=typeof window&&window&&window.document)try{var e=window.document.createElementNS("http://www.w3.org/2000/svg","path");return e.setAttributeNS(null,"d",t),e}catch(t){}return AP(t)}function qP(t,e){for(var n=t.length+e,r=oN(t)/e,i=0,a=0,o=r/2;t.length<n;){var s=t[i],c=t[(i+1)%t.length],u=MP(s,c);o<=a+u?(t.splice(i+1,0,u?SP(s,c,(o-a)/u):s.slice(0)),o+=r):(a+=u,i++)}}function BP(t,e){for(var n=1<arguments.length&&void 0!==e?e:1/0,r=0;r<t.length;r++)for(var i=t[r],a=r===t.length-1?t[0]:t[r+1];MP(i,a)>n;)a=SP(i,a,.5),t.splice(r+1,0,a)}function HP(t,e){var n,r,i;if("string"==typeof t){var a=jP(t,e);t=a.ring,i=a.skipBisect}else if(!Array.isArray(t))throw new TypeError(NP);if(!VP(n=t.slice(0)))throw new TypeError(NP);return 1<n.length&&EP(n[0],n[n.length-1])&&n.pop(),0<(r=iN(n))&&n.reverse(),!i&&e&&CP(e)&&0<e&&BP(n,e),n}function VP(t){return t.every(function(t){return Array.isArray(t)&&2<=t.length&&CP(t[0])&&CP(t[1])})}function YP(i,e){for(var a=i.length,n=1/0,o,s,t,r=function t(r){s=0,e.forEach(function(t,e){var n=MP(i[(r+e)%a],t);s+=n*n}),s<n&&(n=s,o=r)},c=0;c<a;c++)r(c);o&&(t=i.splice(0,o),i.splice.apply(i,[i.length,0].concat(fN(t))))}function WP(e,n,t){var r=2<arguments.length&&void 0!==t?t:{},i=r.maxSegmentLength,a=void 0===i?10:i,o=r.string,s=void 0===o||o,c,u,l=GP(HP(e,a),HP(n,a),s);return!s||"string"!=typeof e&&"string"!=typeof n?l:function(t){return t<1e-4&&"string"==typeof e?e:1-t<1e-4&&"string"==typeof n?n:l(t)}}function GP(t,e,n){var r;return qP(t,(r=t.length-e.length)<0?-1*r:0),qP(e,0<r?r:0),YP(t,e),TP(t,e,n)}function $P(t,e,n,r,i){return QP(JP(t,e,n),r,nF(t,e,n),2*Math.PI*n,i)}function XP(t,e,n,r,i){var a=$P(e,n,r,t,i);return function(t){return a(1-t)}}function ZP(t,e,n,r,i,a){return QP(tF(t,e,n,r),i,rF(t,e,n,r),2*n+2*r,a)}function KP(t,e,n,r,i,a){var o=ZP(e,n,r,i,t,a);return function(t){return o(1-t)}}function QP(t,e,n,r,i){var a=4<arguments.length&&void 0!==i?i:{},o=a.maxSegmentLength,s=void 0===o?10:o,c=a.string,u=void 0===c||c,l=HP(e,s),f,h;return CP(r)&&l.length<r/s&&qP(l,Math.ceil(r/s-l.length)),f=t(l),h=TP(f,l,u),u?function(t){return t<1e-4?n:h(t)}:h}function JP(s,c,u){return function(r){var t=IP(r),i=oN([].concat(fN(r),[r[0]])),a=Math.atan2(r[0][1]-t[1],r[0][0]-t[0]),o=0;return r.map(function(t,e){var n;return e&&(o+=MP(t,r[e-1])),n=a+2*Math.PI*(i?o/i:e/r.length),[Math.cos(n)*u+s,Math.sin(n)*u+c]})}}function tF(s,c,u,l){return function(r){var t=IP(r),i=oN([].concat(fN(r),[r[0]])),e=Math.atan2(r[0][1]-t[1],r[0][0]-t[0]),a=0;e<0&&(e=2*Math.PI+e);var o=e/(2*Math.PI);return r.map(function(t,e){e&&(a+=MP(t,r[e-1]));var n=eF((o+(i?a/i:e/r.length))%1);return[s+n[0]*u,c+n[1]*l]})}}function eF(t){return t<=1/8?[1,.5+4*t]:t<=3/8?[1.5-4*t,1]:t<=5/8?[0,2.5-4*t]:t<=7/8?[4*t-2.5,0]:[1,4*t-3.5]}function nF(t,e,n){var r=t-n+","+e,i,a="A"+n+","+n+",0,1,1,";return"M"+r+a+(t+n+","+e)+a+r+"Z"}function rF(t,e,n,r){var i=t+n,a=e+r;return"M"+t+","+e+"L"+i+","+e+"L"+i+","+a+"L"+t+","+a+"Z"}function iF(t){var e=t.split(/[A-Z]/).filter(function(t){return""!=t});return 2==e.length?t="M"+e[0]+"L"+e[0]+"L"+e[1]+"Z":1==e.length&&(t="M"+e[0]+"L"+e[0]+"L"+e[0]+"Z"),t}function aF(t){return fk.y_axis_log&&t<=0?.01:t}function oF(t,e,n){var r=Math.max(fk.dot_radius,.1);return fk.dot_radius_last&&e==n.parentNode.__data__.data_points.length-1&&(r=fk.dot_radius_last),r}function sF(t,e,n,l){var r=l?"-secondary":"",i=t.selectAll(".data-point"+r).data(function(t){return l?t.data_points:t[lM.data_points]},nN),a=i.enter().append("path").attr("class","data-point"+r).attr("fill",QL).attr("data-type","point").attr("transform","translate(0, 0)").attr("d",function(t,e){var n=l?t.facet.scales.value_secondary:t.facet.scales.value,r=t.facet.scales.label,i=oF(t,e,this),a=r(t.label)+(r.bandwidth?r.bandwidth()/2:0),o=n(aF(t.value)),s=a-i+","+o,c,u="A"+i+","+i+",0,1,1,";return"M"+s+u+(a+i+","+o)+u+s+"Z"}).attr("opacity",0).on("mouseout",Az).on("click",wz);i.merge(a).on("mouseover",kz).attr("id",function(t){return"point-"+t.series+"-"+t.row_index+r}).transition().duration(e?0:fk.data_trans_duration).delay(n).attr("transform","translate(0, 0)").attr("opacity",fk.dot_opacity).attr("fill",QL).attrTween("d",function(t,e){var n=l?t.facet.scales.value_secondary:t.facet.scales.value,r=t.facet.scales.label,i=oF(t,e,this),a=r(t.label)+(r.bandwidth?r.bandwidth()/2:0),o=n(aF(t.value)),s;return XP(iF(this.getAttribute("d")),a,o,i,{maxSegmentLength:1})}).on("end",function(){this.setAttribute("data-type","point")}),i.exit().remove()}function cF(t,e,n){var r=t.selectAll(".data-point").data(function(t){return t[lM.data_points]},nN),i=r.enter().append("path").attr("class","data-point").attr("data-type","bar").attr("opacity",fk.column_opacity).attr("fill",QL).attr("d",function(t,e){var n=s(t),r,i=0,a;return l(t.facet.scales.value(0),n,0,t.facet.scales.col_w)}).attr("transform","translate(0, 0)").on("click",wz).on("mouseout",Az),a;function s(t){var e=t.facet.scales;if(lM.stack)return e.label(t.label);var n=lM.facet_by_series?0:t.series,r,i;return e.label(t.label)+e.col_padding/2+n*(e.col_w+e.col_padding)}function c(t){return Math.abs(t.facet.scales.value(lM.stack?t.value_base:0)-t.facet.scales.value(t.value))}function u(t){var e=t.value<0;return lM.stack?t.facet.scales.value(t.value_base)-(e?c(t):0):e?t.facet.scales.value(0)-c(t):t.facet.scales.value(0)}function o(t,e){var n=this.getAttribute("d"),r=u(t),i=s(t),a=t.facet.scales.col_w,o=c(t);return"bar"==this.getAttribute("data-type")?FT(n,l(r,i,o,a)):KP(iF(n),r,i,o,a,{maxSegmentLength:1})}function l(t,e,n,r){var i=t+n,a=e+r;return"M"+t+","+e+"L"+i+","+e+"L"+i+","+a+"L"+t+","+a+"Z"}r.merge(i).on("mouseover",kz).attr("id",function(t){return"point-"+t.series+"-"+t.row_index}).transition().duration(e?0:fk.data_trans_duration).delay(n).attr("transform","translate(0, 0)").attr("opacity",fk.column_opacity).attr("fill",QL).attrTween("d",o).on("end",function(){this.setAttribute("data-type","bar")}),r.exit().remove()}function uF(t,e,n){var r=t.selectAll(".data-point").data(function(t){return t[lM.data_points]},nN),i=r.enter().append("path").attr("class","data-point").attr("data-type","column").attr("opacity",fk.column_opacity).attr("fill",QL).attr("d",function(t,e){var n,r,i,a=0;return u(s(t),t.facet.scales.value(0),t.facet.scales.col_w,0)}).attr("transform","translate(0, 0)").on("click",wz).on("mouseout",Az),a;function s(t){var e=t.facet.scales;if(lM.stack)return e.label(t.label);var n=lM.facet_by_series?0:t.series_primary,r,i;return e.label(t.label)+e.col_padding/2+n*(e.col_w+e.col_padding)}function c(t){var e=t.facet.scales.value.domain(),n=e[0]>e[1],r=t.value<0;return lM.stack?r==n?t.facet.scales.value(t.value_base)-(t.facet.scales.value(t.value_base)-t.facet.scales.value(t.value)):t.facet.scales.value(t.value_base):r==n?t.facet.scales.h-(t.facet.scales.value(t.facet.scales.value.domain()[0])-t.facet.scales.value(t.value)):t.facet.scales.value(0)}function o(t,e){var n=this.getAttribute("d"),r=s(t),i=c(t),a=t.facet.scales.col_w,o=Math.abs(t.facet.scales.value(lM.stack?t.value_base:0)-t.facet.scales.value(t.value));return"column"==this.getAttribute("data-type")?FT(n,u(r,i,a,o)):KP(iF(n),r,i,a,o,{maxSegmentLength:1})}function u(t,e,n,r){var i=t+n,a=e+r;return"M"+t+","+e+"L"+i+","+e+"L"+i+","+a+"L"+t+","+a+"Z"}r.merge(i).on("mouseover",kz).attr("id",function(t){return"point-"+t.series+"-"+t.row_index}).transition().duration(e?0:fk.data_trans_duration).delay(n).attr("transform","translate(0, 0)").attr("opacity",fk.column_opacity).attr("fill",QL).attrTween("d",o).on("end",function(){this.setAttribute("data-type","column")}),r.exit().remove()}var lF=Math.PI,fF=2*lF,hF=1e-6,dF=fF-hF;function pF(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function gF(){return new pF}function _F(e){return function t(){return e}}pF.prototype=gF.prototype={constructor:pF,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(t,e,n,r,i,a){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+a)},arcTo:function(t,e,n,r,i){t=+t,e=+e,n=+n,r=+r,i=+i;var a=this._x1,o=this._y1,s=n-t,c=r-e,u=a-t,l=o-e,f=u*u+l*l;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(hF<f)if(Math.abs(l*s-c*u)>hF&&i){var h=n-a,d=r-o,p=s*s+c*c,g=h*h+d*d,_=Math.sqrt(p),v=Math.sqrt(f),y=i*Math.tan((lF-Math.acos((p+f-g)/(2*_*v)))/2),m=y/v,b=y/_;Math.abs(m-1)>hF&&(this._+="L"+(t+m*u)+","+(e+m*l)),this._+="A"+i+","+i+",0,0,"+ +(u*d<l*h)+","+(this._x1=t+b*s)+","+(this._y1=e+b*c)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,n,r,i,a){t=+t,e=+e,a=!!a;var o=(n=+n)*Math.cos(r),s=n*Math.sin(r),c=t+o,u=e+s,l=1^a,f=a?r-i:i-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+c+","+u:(Math.abs(this._x1-c)>hF||Math.abs(this._y1-u)>hF)&&(this._+="L"+c+","+u),n&&(f<0&&(f=f%fF+fF),dF<f?this._+="A"+n+","+n+",0,1,"+l+","+(t-o)+","+(e-s)+"A"+n+","+n+",0,1,"+l+","+(this._x1=c)+","+(this._y1=u):hF<f&&(this._+="A"+n+","+n+",0,"+ +(lF<=f)+","+l+","+(this._x1=t+n*Math.cos(i))+","+(this._y1=e+n*Math.sin(i))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var vF=Math.abs,yF=Math.atan2,mF=Math.cos,bF=Math.max,xF=Math.min,wF=Math.sin,kF=Math.sqrt,AF=1e-12,MF=Math.PI,SF=MF/2,EF=2*MF;function TF(t){return 1<t?0:t<-1?MF:Math.acos(t)}function OF(t){return 1<=t?SF:t<=-1?-SF:Math.asin(t)}function CF(t){return t.innerRadius}function IF(t){return t.outerRadius}function LF(t){return t.startAngle}function NF(t){return t.endAngle}function PF(t){return t&&t.padAngle}function FF(t,e,n,r,i,a,o,s){var c=n-t,u=r-e,l=o-i,f=s-a,h=f*c-l*u;if(!(h*h<AF))return[t+(h=(l*(e-a)-f*(t-i))/h)*c,e+h*u]}function RF(t,e,n,r,i,a,o){var s=t-n,c=e-r,u=(o?a:-a)/kF(s*s+c*c),l=u*c,f=-u*s,h=t+l,d=e+f,p=n+l,g=r+f,_=(h+p)/2,v=(d+g)/2,y=p-h,m=g-d,b=y*y+m*m,x=i-a,w=h*g-p*d,k=(m<0?-1:1)*kF(bF(0,x*x*b-w*w)),A=(w*m-y*k)/b,M=(-w*y-m*k)/b,S=(w*m+y*k)/b,E=(-w*y+m*k)/b,T=A-_,O=M-v,C=S-_,I=E-v;return C*C+I*I<T*T+O*O&&(A=S,M=E),{cx:A,cy:M,x01:-l,y01:-f,x11:A*(i/x-1),y11:M*(i/x-1)}}function jF(){var z=CF,D=IF,U=_F(0),q=null,B=LF,H=NF,V=PF,Y=null;function e(){var t,e,n=+z.apply(this,arguments),r=+D.apply(this,arguments),i=B.apply(this,arguments)-SF,a=H.apply(this,arguments)-SF,o=vF(a-i),s=i<a;if(Y=Y||(t=gF()),r<n&&(e=r,r=n,n=e),AF<r)if(EF-AF<o)Y.moveTo(r*mF(i),r*wF(i)),Y.arc(0,0,r,i,a,!s),AF<n&&(Y.moveTo(n*mF(a),n*wF(a)),Y.arc(0,0,n,a,i,s));else{var c=i,u=a,l=i,f=a,h=o,d=o,p=V.apply(this,arguments)/2,g=AF<p&&(q?+q.apply(this,arguments):kF(n*n+r*r)),_=xF(vF(r-n)/2,+U.apply(this,arguments)),v=_,y=_,m,b;if(AF<g){var x=OF(g/n*wF(p)),w=OF(g/r*wF(p));(h-=2*x)>AF?(l+=x*=s?1:-1,f-=x):(h=0,l=f=(i+a)/2),(d-=2*w)>AF?(c+=w*=s?1:-1,u-=w):(d=0,c=u=(i+a)/2)}var k=r*mF(c),A=r*wF(c),M=n*mF(f),S=n*wF(f);if(AF<_){var E=r*mF(u),T=r*wF(u),O=n*mF(l),C=n*wF(l),I;if(o<MF&&(I=FF(k,A,O,C,E,T,M,S))){var L=k-I[0],N=A-I[1],P=E-I[0],F=T-I[1],R=1/wF(TF((L*P+N*F)/(kF(L*L+N*N)*kF(P*P+F*F)))/2),j=kF(I[0]*I[0]+I[1]*I[1]);v=xF(_,(n-j)/(R-1)),y=xF(_,(r-j)/(1+R))}}AF<d?AF<y?(m=RF(O,C,k,A,r,y,s),b=RF(E,T,M,S,r,y,s),Y.moveTo(m.cx+m.x01,m.cy+m.y01),y<_?Y.arc(m.cx,m.cy,y,yF(m.y01,m.x01),yF(b.y01,b.x01),!s):(Y.arc(m.cx,m.cy,y,yF(m.y01,m.x01),yF(m.y11,m.x11),!s),Y.arc(0,0,r,yF(m.cy+m.y11,m.cx+m.x11),yF(b.cy+b.y11,b.cx+b.x11),!s),Y.arc(b.cx,b.cy,y,yF(b.y11,b.x11),yF(b.y01,b.x01),!s))):(Y.moveTo(k,A),Y.arc(0,0,r,c,u,!s)):Y.moveTo(k,A),AF<n&&AF<h?AF<v?(m=RF(M,S,E,T,n,-v,s),b=RF(k,A,O,C,n,-v,s),Y.lineTo(m.cx+m.x01,m.cy+m.y01),v<_?Y.arc(m.cx,m.cy,v,yF(m.y01,m.x01),yF(b.y01,b.x01),!s):(Y.arc(m.cx,m.cy,v,yF(m.y01,m.x01),yF(m.y11,m.x11),!s),Y.arc(0,0,n,yF(m.cy+m.y11,m.cx+m.x11),yF(b.cy+b.y11,b.cx+b.x11),s),Y.arc(b.cx,b.cy,v,yF(b.y11,b.x11),yF(b.y01,b.x01),!s))):Y.arc(0,0,n,f,l,s):Y.lineTo(M,S)}else Y.moveTo(0,0);if(Y.closePath(),t)return Y=null,t+""||null}return e.centroid=function(){var t=(+z.apply(this,arguments)+ +D.apply(this,arguments))/2,e=(+B.apply(this,arguments)+ +H.apply(this,arguments))/2-MF/2;return[mF(e)*t,wF(e)*t]},e.innerRadius=function(t){return arguments.length?(z="function"==typeof t?t:_F(+t),e):z},e.outerRadius=function(t){return arguments.length?(D="function"==typeof t?t:_F(+t),e):D},e.cornerRadius=function(t){return arguments.length?(U="function"==typeof t?t:_F(+t),e):U},e.padRadius=function(t){return arguments.length?(q=null==t?null:"function"==typeof t?t:_F(+t),e):q},e.startAngle=function(t){return arguments.length?(B="function"==typeof t?t:_F(+t),e):B},e.endAngle=function(t){return arguments.length?(H="function"==typeof t?t:_F(+t),e):H},e.padAngle=function(t){return arguments.length?(V="function"==typeof t?t:_F(+t),e):V},e.context=function(t){return arguments.length?(Y=null==t?null:t,e):Y},e}function zF(t){this._context=t}function DF(t){return new zF(t)}function UF(t){return t[0]}function qF(t){return t[1]}function BF(){var o=UF,s=qF,c=_F(!0),u=null,l=DF,f=null;function e(t){var e,n=t.length,r,i=!1,a;for(null==u&&(f=l(a=gF())),e=0;e<=n;++e)!(e<n&&c(r=t[e],e,t))===i&&((i=!i)?f.lineStart():f.lineEnd()),i&&f.point(+o(r,e,t),+s(r,e,t));if(a)return f=null,a+""||null}return e.x=function(t){return arguments.length?(o="function"==typeof t?t:_F(+t),e):o},e.y=function(t){return arguments.length?(s="function"==typeof t?t:_F(+t),e):s},e.defined=function(t){return arguments.length?(c="function"==typeof t?t:_F(!!t),e):c},e.curve=function(t){return arguments.length?(l=t,null!=u&&(f=l(u)),e):l},e.context=function(t){return arguments.length?(null==t?u=f=null:f=l(u=t),e):u},e}function HF(){var l=UF,f=null,h=_F(0),d=qF,p=_F(!0),g=null,_=DF,v=null;function e(t){var e,n,r,i=t.length,a,o=!1,s,c=new Array(i),u=new Array(i);for(null==g&&(v=_(s=gF())),e=0;e<=i;++e){if(!(e<i&&p(a=t[e],e,t))===o)if(o=!o)n=e,v.areaStart(),v.lineStart();else{for(v.lineEnd(),v.lineStart(),r=e-1;n<=r;--r)v.point(c[r],u[r]);v.lineEnd(),v.areaEnd()}o&&(c[e]=+l(a,e,t),u[e]=+h(a,e,t),v.point(f?+f(a,e,t):c[e],d?+d(a,e,t):u[e]))}if(s)return v=null,s+""||null}function t(){return BF().defined(p).curve(_).context(g)}return e.x=function(t){return arguments.length?(l="function"==typeof t?t:_F(+t),f=null,e):l},e.x0=function(t){return arguments.length?(l="function"==typeof t?t:_F(+t),e):l},e.x1=function(t){return arguments.length?(f=null==t?null:"function"==typeof t?t:_F(+t),e):f},e.y=function(t){return arguments.length?(h="function"==typeof t?t:_F(+t),d=null,e):h},e.y0=function(t){return arguments.length?(h="function"==typeof t?t:_F(+t),e):h},e.y1=function(t){return arguments.length?(d=null==t?null:"function"==typeof t?t:_F(+t),e):d},e.lineX0=e.lineY0=function(){return t().x(l).y(h)},e.lineY1=function(){return t().x(l).y(d)},e.lineX1=function(){return t().x(f).y(h)},e.defined=function(t){return arguments.length?(p="function"==typeof t?t:_F(!!t),e):p},e.curve=function(t){return arguments.length?(_=t,null!=g&&(v=_(g)),e):_},e.context=function(t){return arguments.length?(null==t?g=v=null:v=_(g=t),e):g},e}function VF(t,e){return e<t?-1:t<e?1:t<=e?0:NaN}function YF(t){return t}function WF(){var p=YF,g=VF,_=null,v=_F(0),y=_F(EF),m=_F(0);function e(n){var t,e=n.length,r,i,a=0,o=new Array(e),s=new Array(e),c=+v.apply(this,arguments),u=Math.min(EF,Math.max(-EF,y.apply(this,arguments)-c)),l,f=Math.min(Math.abs(u)/e,m.apply(this,arguments)),h=f*(u<0?-1:1),d;for(t=0;t<e;++t)0<(d=s[o[t]=t]=+p(n[t],t,n))&&(a+=d);for(null!=g?o.sort(function(t,e){return g(s[t],s[e])}):null!=_&&o.sort(function(t,e){return _(n[t],n[e])}),t=0,i=a?(u-e*h)/a:0;t<e;++t,c=l)r=o[t],l=c+(0<(d=s[r])?d*i:0)+h,s[r]={data:n[r],index:t,value:d,startAngle:c,endAngle:l,padAngle:f};return s}return e.value=function(t){return arguments.length?(p="function"==typeof t?t:_F(+t),e):p},e.sortValues=function(t){return arguments.length?(g=t,_=null,e):g},e.sort=function(t){return arguments.length?(_=t,g=null,e):_},e.startAngle=function(t){return arguments.length?(v="function"==typeof t?t:_F(+t),e):v},e.endAngle=function(t){return arguments.length?(y="function"==typeof t?t:_F(+t),e):y},e.padAngle=function(t){return arguments.length?(m="function"==typeof t?t:_F(+t),e):m},e}function GF(t){return t<0?-1:1}function $F(t,e,n){var r=t._x1-t._x0,i=e-t._x1,a=(t._y1-t._y0)/(r||i<0&&-0),o=(n-t._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(GF(a)+GF(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function XF(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function ZF(t,e,n){var r=t._x0,i=t._y0,a=t._x1,o=t._y1,s=(a-r)/3;t._context.bezierCurveTo(r+s,i+s*e,a-s,o-s*n,a,o)}function KF(t){this._context=t}function QF(t){this._context=new JF(t)}function JF(t){this._context=t}function tR(t){return new KF(t)}function eR(t){this._context=t}function nR(t){var e,n=t.length-1,r,i=new Array(n),a=new Array(n),o=new Array(n);for(a[i[0]=0]=2,o[0]=t[0]+2*t[1],e=1;e<n-1;++e)i[e]=1,a[e]=4,o[e]=4*t[e]+2*t[e+1];for(i[n-1]=2,a[n-1]=7,o[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)r=i[e]/a[e-1],a[e]-=r,o[e]-=r*o[e-1];for(i[n-1]=o[n-1]/a[n-1],e=n-2;0<=e;--e)i[e]=(o[e]-i[e+1])/a[e];for(a[n-1]=(t[n]+i[n-1])/2,e=0;e<n-1;++e)a[e]=2*t[e+1]-i[e+1];return[i,a]}function rR(t){return new eR(t)}function iR(t,e){this._context=t,this._t=e}function aR(t){return new iR(t,.5)}function oR(t){return new iR(t,0)}function sR(t){return new iR(t,1)}zF.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},KF.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:ZF(this,this._t0,XF(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,ZF(this,XF(this,n=$F(this,t,e)),n);break;default:ZF(this,this._t0,n=$F(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(QF.prototype=Object.create(KF.prototype)).point=function(t,e){KF.prototype.point.call(this,e,t)},JF.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,a){this._context.bezierCurveTo(e,t,r,n,a,i)}},eR.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var r=nR(t),i=nR(e),a=0,o=1;o<n;++a,++o)this._context.bezierCurveTo(r[0][a],i[0][a],r[1][a],i[1][a],t[o],e[o]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},iR.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),0<=this._line&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}};var cR=WF().value(function(t){return t.value}).sort(null);function uR(t){var e=cR(t);return e.forEach(function(t){t.label_formatted=t.data.label_formatted,t.metadata=t.data.metadata,t.row_values=t.data.row_values}),e}function lR(t,e,n,r){var i=FT((e=e||this)._current,{startAngle:t.startAngle,endAngle:t.endAngle});e._current=i(0);var a=FT(e._prev_r,n);return function(t){var e=a(t);return r.outerRadius(e).innerRadius(e*fk.donut_inner_radius/100),r(i(t))}}function fR(t){var e,n;return"translate("+t.data.facet.scales.w/2+","+t.data.facet.scales.h/2+")"}function hR(t){return Math.min(t.data.facet.scales.h,t.data.facet.scales.w)/2*Math.sqrt(t.data.facet.scales.sum_scale_ratio)}function dR(t,e,n){var r=jF().outerRadius(function(t){return hR(t)}).innerRadius(function(t){return hR(t)*fk.donut_inner_radius/100}).cornerRadius(fk.donut_corner_radius).padAngle(fk.donut_pad_angle*Math.PI/180),i=t.selectAll(".data-point").data(function(t){return uR(t.data_points)},nN),a=i.enter().append("path").attr("class","data-point").attr("data-type","arc").each(function(t){this._current={startAngle:0,endAngle:0},this._prev_r=hR(t)}).attr("fill",function(t){return QL(t.data)}).attr("opacity",0).attr("d",r).attr("transform",fR).on("click",wz).on("mouseout",Az);i.merge(a).on("mouseover",kz).each(function(t){this.__centroid__=r.centroid(t)}).attr("id",function(t){return"point-"+t.data.series+"-"+t.data.row_index}).transition().duration(e?0:fk.data_trans_duration).delay(n).attr("fill",function(t){return QL(t.data)}).attr("transform",fR).attr("opacity",1).attrTween("d",function(t){var e=hR(t);return"arc"==this.getAttribute("data-type")?lR(t,this,e,r,t.data.facet.index):WP(this.getAttribute("d"),iF(r(t)),{maxSegmentLength:1})}).on("end",function(t){this.setAttribute("data-type","arc"),this._prev_r=hR(t),this._current=t}),i.exit().each(function(t){cM(this).attr("id",null),t.data?cM(this).transition().duration(e?0:fk.data_trans_duration).attrTween("d",function(t){return lR({startAngle:2*Math.PI,endAngle:2*Math.PI},this,hR(t),r)}).remove():cM(this).remove()})}var pR={area:HF,line:BF,curveLinear:DF,curveMonotoneX:tR,curveNatural:rR,curveStep:aR,curveStepAfter:sR,curveStepBefore:oR};function gR(t){return fk.y_axis_log&&t<=0?.01:t}function _R(t){return"translate("+t.facet.layout.x+","+t.facet.layout.y+")"}function vR(t,e,n,r,o){var i=pR.line().x(function(t){var e=t.facet.scales.label;return e(t.label)+(e.bandwidth?e.bandwidth()/2:0)}).y(function(t){return t.facet.scales[o?"value_secondary":"value"](gR(t.value))}).curve(pR[fk.line_curve]||pR.curveLinear),a=o?"-secondary":"",s=cM("#lines"+a).selectAll(".series"+a).data(t,rN),c=s;if(lM.has_lines){var u=s.enter().append("g").attr("class","series"+a);u.append("clipPath").attr("id",function(t,e){return"clip-"+t.facet.index+"-"+e+a}).append("rect").attr("width",0).attr("y",-fk.margin_top).attr("height",function(t){return t.facet.scales.h+fk.margin_top+fk.margin_bottom}),u.append("path").attr("class","line").attr("opacity",fk.line_opacity).attr("pointer-events","none").attr("fill","none").attr("stroke",JL).attr("stroke-width",fk.line_width).attr("transform",_R).attr("clip-path",function(t,e){return"url(#clip-"+t.facet.index+"-"+e+a+")"}),u.append("text").attr("class","label").attr("font-size",fk.line_end_labels_font_size+"px").attr("alignment-baseline","middle").attr("opacity",0).attr("x",(fk.dot_radius_last||fk.dot_radius)+2).attr("fill",JL).attr("transform",h),c=s.merge(u)}var l=3*c.size();function f(){lM.has_lines||0==--l&&c.remove()}function h(t){var e=o?t.data_points:t[lM.data_points],n=e[e.length-1]||null,r=t.facet.scales.label,i,a;return n?"translate("+(r(n.label)+t.facet.layout.x+(r.bandwidth?r.bandwidth()/2:0))+","+(t.facet.scales[o?"value_secondary":"value"](n.value)+t.facet.layout.y)+")":null}c.select("clipPath rect").transition().duration(e?0:fk.data_trans_duration).delay(e?0:r).attr("y",-fk.margin_top).attr("height",function(t){return t.facet.scales.h+fk.margin_top+fk.margin_bottom}).attr("width",function(t){return o||"line"==lM.mode?t.facet.scales.w:0}).on("interrupt",function(t){cM(this).attr("height",t.facet.scales.h+fk.margin_top+fk.margin_bottom).attr("width",o||"line"==lM.mode?t.facet.scales.w:0)}).on("end",f),c.select("path.line").transition().duration(e?0:fk.data_trans_duration).delay(n).attr("opacity",fk.line_opacity).attr("fill","none").attr("stroke",JL).attr("stroke-width",fk.line_width).attr("transform",_R).attr("d",function(t){return i(o?t.data_points:t[lM.data_points])}).on("end",f),c.select(".label").text(function(t){return fk.line_end_labels?t.name:""}).transition().duration(e?0:fk.data_trans_duration).delay(n).attr("fill",JL).attr("x",(fk.dot_radius_last||fk.dot_radius)+2).attr("opacity",o||"line"==lM.mode?1:0).attr("transform",h).attr("font-size",fk.line_end_labels_font_size+"px").on("end",f),s.exit().remove()}function yR(t,e){return"area"==e?0:"value_base"in t?t.value_base:t.value}var mR=null;function bR(e){return pR.area().x(function(t){return t.facet.scales.label(t.label)}).y0(function(t){return t.facet.scales.value(gR(t.value))}).y1(function(t){return t.facet.scales.value(gR(yR(t,e)))}).curve(pR[fk.line_curve]||pR.curveLinear)}function xR(t,e,n){var r=bR(mR),i=bR(fk.chart_type),a=cM("#lines-secondary").selectAll(".series-secondary").size(),o=cM("#lines").selectAll(".series").data(),s=cM("#areas").selectAll(".series").data(t),c=s;if(lM.area){var u=s.enter().append("g").attr("class","series").attr("pointer-events","none"),l=u.append("path").attr("class","area").attr("transform",_R).attr("fill-opacity",0).attr("fill",JL).attr("clip-path",function(t,e){return"url(#clip-"+t.facet.index+"-"+e+")"});o&&o.length&&l.attr("d",function(t,e){var n=o[a+e];return n?r(n.data_points):null}),c=s.merge(u)}var f=c.size();c.select("path.area").transition().duration(e?0:fk.data_trans_duration).delay(n).attr("transform",_R).attr("fill-opacity",lM.area?fk.area_opacity:0).attr("fill",JL).attr("d",function(t){return i(t[lM.data_points])}).on("end",function(){lM.area||0!=--f||c.remove()}),s.exit().remove(),mR=fk.chart_type}function wR(t,e,n,r,i){i||xR(t,e,n),vR(t,e,n,r,i)}var kR=Array.prototype.slice;function AR(t){return t}var MR=1,SR=2,ER=3,TR=4,OR=1e-6;function CR(t){return"translate("+(t+.5)+",0)"}function IR(t){return"translate(0,"+(t+.5)+")"}function LR(e){return function(t){return+e(t)}}function NR(e){var n=Math.max(0,e.bandwidth()-1)/2;return e.round()&&(n=Math.round(n)),function(t){return+e(t)+n}}function PR(){return!this.__axis}function FR(g,_){var v=[],y=null,m=null,b=6,x=6,w=3,k=g===MR||g===TR?-1:1,A=g===TR||g===SR?"x":"y",M=g===MR||g===ER?CR:IR;function e(t){var e=null==y?_.ticks?_.ticks.apply(_,v):_.domain():y,n=null==m?_.tickFormat?_.tickFormat.apply(_,v):AR:m,r=Math.max(b,0)+w,i=_.range(),a=+i[0]+.5,o=+i[i.length-1]+.5,s=(_.bandwidth?NR:LR)(_.copy()),c=t.selection?t.selection():t,u=c.selectAll(".domain").data([null]),l=c.selectAll(".tick").data(e,_).order(),f=l.exit(),h=l.enter().append("g").attr("class","tick"),d=l.select("line"),p=l.select("text");u=u.merge(u.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),l=l.merge(h),d=d.merge(h.append("line").attr("stroke","currentColor").attr(A+"2",k*b)),p=p.merge(h.append("text").attr("fill","currentColor").attr(A,k*r).attr("dy",g===MR?"0em":g===ER?"0.71em":"0.32em")),t!==c&&(u=u.transition(t),l=l.transition(t),d=d.transition(t),p=p.transition(t),f=f.transition(t).attr("opacity",OR).attr("transform",function(t){return isFinite(t=s(t))?M(t):this.getAttribute("transform")}),h.attr("opacity",OR).attr("transform",function(t){var e=this.parentNode.__axis;return M(e&&isFinite(e=e(t))?e:s(t))})),f.remove(),u.attr("d",g===TR||g==SR?x?"M"+k*x+","+a+"H0.5V"+o+"H"+k*x:"M0.5,"+a+"V"+o:x?"M"+a+","+k*x+"V0.5H"+o+"V"+k*x:"M"+a+",0.5H"+o),l.attr("opacity",1).attr("transform",function(t){return M(s(t))}),d.attr(A+"2",k*b),p.attr(A,k*r).text(n),c.filter(PR).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",g===SR?"start":g===TR?"end":"middle"),c.each(function(){this.__axis=s})}return e.scale=function(t){return arguments.length?(_=t,e):_},e.ticks=function(){return v=kR.call(arguments),e},e.tickArguments=function(t){return arguments.length?(v=null==t?[]:kR.call(t),e):v.slice()},e.tickValues=function(t){return arguments.length?(y=null==t?null:kR.call(t),e):y&&y.slice()},e.tickFormat=function(t){return arguments.length?(m=t,e):m},e.tickSize=function(t){return arguments.length?(b=x=+t,e):b},e.tickSizeInner=function(t){return arguments.length?(b=+t,e):b},e.tickSizeOuter=function(t){return arguments.length?(x=+t,e):x},e.tickPadding=function(t){return arguments.length?(w=+t,e):w},e}function RR(t){return FR(SR,t)}function jR(t){return FR(ER,t)}function zR(t){return FR(TR,t)}var DR=500,UR,qR;function BR(t){var e=t.getBBox(),n=cM(t.parentNode).attr("transform").match(/.*translate\((\d[.\d]*)/),r;return{x:n?parseFloat(n[1]):NaN,width:e.width,height:e.height}}function HR(t,e,n){if(""==t)return null;var r=t.split("\n");if("number"==e)r=r.map(function(t){return parseFloat(t.replace(/[^\de.-]/g,""))});else if("datetime"==e){var i=_k(r)[0];r=r.map(function(t){return XM.labelTest(t)?XM.labelParse(t):i.parse(t)})}return r.filter(function(t){return!isNaN(n(t))})}function VR(t){var e=t.selectAll("text"),i=-1/0,a={};e.style("visibility",function(t){var e=lM.values_on_x?t:XM.labelFormat(t)||t;if(a[e])return"hidden";a[e]=!0;var n=this.getBoundingClientRect(),r="hidden";return i<=n.left-2&&(0!==n.left&&0!==n.right&&(i=n.right),r="visible"),r})}function YR(t,s){var e=t.selectAll("text"),c=null,u={};e.style("visibility",function(t){var e=lM.values_on_x?t:XM.labelFormat(t)||t;if(u[e])return"hidden";u[e]=!0;var n=BR(this);if(!c)return c=n,"visible";var r=n.x-c.x,i=.5*(n.height+c.height),a=n.width,o="hidden";return(i<r*Math.sin(s)||a<r*Math.cos(s))&&(c=n,o="visible"),o})}function WR(t,e,n,r,i){var a="none"!=fk.y_axis_tick_style&&lM.has_axes?[e]:[],o="gridlines"==fk.y_axis_tick_style,s=o&&fk.y_axis_ticks_inline,c="bar"==lM.mode&&"above"==fk.y_axis_bar_label_position,u=lM.values_on_x?n.label:n.value,l=lM.values_on_x?XM.label_type:"number",f=zR().scale(u).tickFormat(function(t){return lM.values_on_x?XM.labelFormat(t):mz(t)}).tickSizeOuter(0).tickSizeInner(c?0:o?-n.w:6).tickPadding(c?0:s?-3:3).ticks("number"==fk.y_axis_tick_mode?fk.y_axis_tick_count:null).tickValues("custom"==fk.y_axis_tick_mode?HR(fk.y_axis_tick_custom,l,u):null),h=t.select(".axes").selectAll(".y.axis").data(a),d=h.enter().append("g").attr("class","y axis").call(f);h.merge(d).style("font-family",fk.layout.body_font.name).transition().duration(r?0:fk.data_trans_duration).delay(i).call(f).on("end",function(){var e=1/0,t=cM(this).selectAll(".tick");setTimeout(function(){t.style("visibility",function(){var t=this.getBoundingClientRect();return e<t.bottom+2?"hidden":(0!=t.top&&0!=t.bottom&&(e=t.top),"visible")})},0)}),h.exit().transition().duration(DR).delay(i).attr("opacity",0).remove(),XR(e,t,n,c,o,s,r),QR(e,t,n,s,r,i)}function GR(t,e,n,r,i){var a="none"!=fk.y_secondary_axis_tick_style&&lM.has_secondary_value_axis?[e]:[],o="gridlines"==fk.y_secondary_axis_tick_style,s=o&&fk.y_secondary_axis_ticks_inline,c="bar"==lM.mode&&"above"==fk.y_secondary_axis_bar_label_position,u=RR().scale(n.value_secondary).tickFormat(function(t){return lM.values_on_x?XM.labelFormat(t):bz(t)}).tickSizeOuter(0).tickSizeInner(c?0:o?-n.w:6).tickPadding(c?0:s?-3:3).ticks("number"==fk.y_secondary_axis_tick_mode?fk.y_secondary_axis_tick_count:null).tickValues("custom"==fk.y_secondary_axis_tick_mode?HR(fk.y_secondary_axis_tick_custom,"number",n.value_secondary):null),l=t.select(".axes").selectAll(".y-secondary.axis").data(a),f=l.enter().append("g").attr("class","y-secondary axis").attr("transform","translate("+n.w+", 0)").call(u);l.merge(f).style("font-family",fk.layout.body_font.name).transition().duration(r?0:fk.data_trans_duration).delay(i).attr("transform","translate("+n.w+", 0)").call(u).on("end",function(){var e=1/0,t=cM(this).selectAll(".tick");setTimeout(function(){t.style("visibility",function(){var t=this.getBoundingClientRect();return e<t.bottom+2?"hidden":(0!=t.top&&0!=t.bottom&&(e=t.top),"visible")})},0)}),l.exit().transition().duration(DR).delay(i).attr("opacity",0).remove(),ZR(e,t,n,c,o,s,r),JR(e,t,n,s,r,i)}function $R(t,e,n,r,i){var a="none"!=fk.x_axis_tick_style&&lM.has_axes?[e]:[],o="gridlines"==fk.x_axis_tick_style,s=o&&fk.x_axis_ticks_inline,c=lM.values_on_x?n.value:n.label,u=lM.values_on_x?"number":XM.label_type,l=jR().scale(c).tickFormat(function(t){return lM.values_on_x?mz(t):XM.labelFormat(t)}).tickSizeOuter(0).tickSizeInner(o?-n.h:6).tickPadding(s?2:3).ticks("number"==fk.x_axis_tick_mode?fk.x_axis_tick_count:null).tickValues("custom"==fk.x_axis_tick_mode?HR(fk.x_axis_tick_custom,u,c):null),f=t.select(".axes").selectAll(".x.axis").data(a),h;h=lM.values_on_x?n.h:"column"==lM.mode&&n.value.domain()[0]<0||"gridlines"==fk.x_axis_tick_style?n.value(n.value.domain()[0]):n.value(Math.max(0,n.value.domain()[0]));var d=f.enter().append("g").attr("class","x axis").attr("transform","translate(0,"+h+")").call(l),p=parseFloat(fk.x_axis_tick_angle)*(Math.PI/180),g=p?YR:VR;f.merge(d).style("font-family",fk.layout.body_font.name).transition().duration(r?0:fk.data_trans_duration).delay(i).attr("transform","translate(0,"+h+")").call(l).on("end",function(){var t=cM(this);setTimeout(function(){g(t,p)},0)}),f.exit().transition().duration(DR).delay(i).attr("opacity",0).remove(),KR(e,t,o,s,r),tj(e,t,n,s,r,i)}function XR(t,e,n,r,i,a,o){var s=e.select(".y.axis"),c;s.selectAll(".tick").select("text").attr("opacity",t.layout.has_y_axis?1:0).attr("text-anchor",r||a?"start":"end").transition("style").duration(o?0:fk.data_trans_duration).attr("font-size",fk.y_axis_tick_font_size).attr("fill",fk.y_axis_color).attr("dy",function(){var t=.33*(r||a?-1:1)*fk.y_axis_tick_font_size;return r&&(t-=n.label.bandwidth()/2),t/fk.y_axis_tick_font_size+"em"}),s.selectAll("line, path").attr("stroke",fk.y_axis_tick_color).attr("stroke-dasharray",fk.y_axis_tick_dashed),s.select(".domain").style("visibility",i?"hidden":null)}function ZR(t,e,n,r,i,a,o){var s=e.select(".y-secondary.axis"),c;s.selectAll(".tick").select("text").attr("opacity",t.layout.has_y_secondary_axis?1:0).attr("text-anchor",r||a?"end":"start").transition("style").duration(o?0:fk.data_trans_duration).attr("font-size",fk.y_secondary_axis_tick_font_size).attr("fill",fk.y_secondary_axis_color).attr("dy",function(){var t=.33*(r||a?-1:1)*fk.y_secondary_axis_tick_font_size;return r&&(t-=n.label.bandwidth()/2),t/fk.y_secondary_axis_tick_font_size+"em"}),s.selectAll("line, path").attr("stroke",fk.y_secondary_axis_tick_color).attr("stroke-dasharray",fk.y_axis_tick_dashed),s.select(".domain").style("visibility",i?"hidden":null)}function KR(t,e,n,r,i){var a=e.selectAll(".x.axis"),o=a.selectAll(".tick"),s=o.size(),c=r?"-90":-fk.x_axis_tick_angle;o.select("text").attr("dy",function(t,e){return r?e==s-1?"-0.33em":"0":"-9"}).transition("style").duration(i?0:fk.data_trans_duration).attr("opacity",t.layout.has_x_axis?1:0).attr("dominant-baseline",function(t,e){return r?e==s-1?"ideographic":"hanging":r?"hanging":"central"}).style("text-anchor",function(){return r?"start":0==c?"middle":"end"}).attr("font-size",fk.x_axis_tick_font_size).attr("fill",fk.x_axis_color).attr("transform","translate(0,15) rotate("+c+")").attr("dx",function(){return r?"17":0==c?0:"5"}),a.selectAll("line, path").attr("stroke",fk.x_axis_tick_color).attr("stroke-dasharray",fk.x_axis_tick_dashed),a.select(".domain").style("visibility",n?"hidden":null)}function QR(t,e,n,r,i,a){var o=e.select(".axes").selectAll(".y.axis-label").data(fk.y_axis_label&&t.layout.has_y_axis?[fk.y_axis_label]:[]),s=o.enter().append("text").attr("class","y axis-label").attr("transform",c).attr("fill",fk.y_axis_color).attr("text-anchor","middle").attr("dominant-baseline","middle").attr("font-size",fk.y_axis_label_font_size);function c(){var t="none"==fk.y_axis_tick_style||r||"bar"==lM.mode&&"above"==fk.y_axis_bar_label_position?0:fk.y_axis_tick_w;return"rotate(-90) translate("+-n.h/2+","+-(fk.y_axis_label_font_size+t)+")"}o.merge(s).text(function(t){return t}).transition().duration(i?0:fk.data_trans_duration).delay(a).attr("fill",fk.y_axis_color).attr("transform",c).attr("font-size",fk.y_axis_label_font_size),o.exit().transition().duration(DR).delay(a).attr("opacity",0).remove()}function JR(t,e,n,r,i,a){var o=e.select(".axes").selectAll(".y-secondary.axis-label").data(fk.y_secondary_axis_label&&t.layout.has_y_secondary_axis?[fk.y_secondary_axis_label]:[]),s=o.enter().append("text").attr("class","y-secondary axis-label").attr("transform",c).attr("fill",fk.y_secondary_axis_color).attr("text-anchor","middle").attr("dominant-baseline","middle").attr("font-size",fk.y_secondary_axis_label_font_size);function c(){var t="none"==fk.y_secondary_axis_tick_style||r||"bar"==lM.mode&&"above"==fk.y_secondary_axis_bar_label_position?0:fk.y_secondary_axis_tick_w;return"rotate(90) translate("+n.h/2+","+-(n.w+(fk.y_secondary_axis_label_font_size+t))+")"}o.merge(s).text(function(t){return t}).transition().duration(i?0:fk.data_trans_duration).delay(a).attr("fill",fk.y_secondary_axis_color).attr("transform",c).attr("font-size",fk.y_secondary_axis_label_font_size),o.exit().transition().duration(DR).delay(a).attr("opacity",0).remove()}function tj(t,e,n,r,i,a){var o=e.select(".axes").selectAll(".x.axis-label").data(fk.x_axis_label&&t.layout.has_x_axis?[fk.x_axis_label]:[]),s=o.enter().append("text").attr("class","x axis-label").attr("transform",c).attr("fill",fk.x_axis_color).attr("text-anchor","middle").attr("dominant-baseline","middle").attr("font-size",fk.x_axis_label_font_size);function c(){var t="none"==fk.x_axis_tick_style||r?0:fk.x_axis_tick_h;return"translate("+n.w/2+","+(n.h+fk.x_axis_label_font_size+t)+")"}o.merge(s).text(function(t){return t}).attr("fill",fk.x_axis_color).transition().duration(i?0:fk.data_trans_duration).delay(a).attr("font-size",fk.x_axis_label_font_size).attr("transform",c),o.exit().transition().duration(DR).delay(a).attr("opacity",0).remove()}function ej(t,e,n,r,i){WR(t,e,n,r,i),$R(t,e,n,r,i),GR(t,e,n,r,i)}function nj(t){return Math.min(12,Math.max(9,t/25))}function rj(t){return t.replace(/\s*::\s*/,"::").split("::")}function ij(t){return t.replace(/\s*>>\s*/,">>").split(">>")}function aj(t,e){var n;return n="number"===e?isNaN(UR(t))?UR(t):t:"datetime"===e?XM.labelTest(t)?XM.labelParse(t):_k([t])[0].parse(t):t}function oj(t,e,n,r){var i=e.scales,a=i.h,o=fk.anno_x_label_align,s=lM.values_on_x?i.value:i.label,c=s.bandwidth?s.bandwidth()/2:0,u=lM.values_on_x?"number":XM.label_type,l=[];fk.anno_x_enabled&&lM.has_axes&&fk.anno_x_lines&&r==fk.anno_x_stack&&fk.anno_x_lines.split("\n").forEach(function(t){var e=rj(t),n=e[0],r=e[1];void 0!==r&&l.push({label:n,x:aj(r,u)})});var f=cM(t).selectAll("g.line.x").data(l),h=f.enter().append("g").attr("class","line x").attr("transform",function(t){return"translate("+(s(t.x)?s(t.x)+c:0)+", 0)"});h.append("line").attr("width",0),h.append("text").attr("transform","rotate(-90)");var d=f.merge(h);d.transition().duration(qR).attr("transform",function(t){return"translate("+(s(t.x)?s(t.x)+c:0)+", 0)"}),d.select("line").attr("stroke-dasharray",fk.anno_x_line_dash+" "+fk.anno_x_line_dash).attr("stroke",fk.anno_x_line_color).attr("stroke-width",fk.anno_x_line_width).attr("y2",a),d.select("text").text(function(t){return t.label}).attr("fill",fk.anno_x_line_color).attr("transform",function(){var t;return"translate(0, "+("left"==o?a-6:"right"==o?6:a/2)+") rotate(-90)"}).attr("text-anchor","left"==o?"start":"right"==o?"end":"middle").attr("dy",function(t){return(s(t.x)||0)<nj(i.w)?"1.25em":"-0.5em"}).attr("font-size",nj(i.w)),f.exit().remove()}function sj(t,e,n,r){var i=e.scales,a=i.h,o=fk.anno_x_label_align,s=lM.values_on_x?i.value:i.label,c=s.bandwidth?s.bandwidth():0,u=lM.values_on_x?"number":XM.label_type,l=[];fk.anno_x_enabled&&lM.has_axes&&fk.anno_x_areas&&r==fk.anno_x_stack&&fk.anno_x_areas.split("\n").map(function(t){var e=rj(t);if(!(e.length<2)){var n=e[0],r=ij(e[1]).map(function(t){return aj(t,u)});1<r.length&&l.push({label:n,range:r})}});var f=cM(t).selectAll("g.area.x").data(l),h=f.enter().append("g").attr("class","area x").attr("transform",function(t){return"translate("+(Math.min(s(t.range[0]),s(t.range[1]))||0)+", 0)"});h.append("rect").attr("height",a).attr("width",function(t){return Math.abs(s(t.range[1])-s(t.range[0]))+c||0}),h.append("text").attr("transform","rotate(-90)");var d=f.merge(h);d.transition().duration(qR).attr("transform",function(t){return"translate("+(Math.min(s(t.range[0]),s(t.range[1]))||0)+", 0)"}),d.select("rect").attr("width",function(t){return Math.abs(s(t.range[1])-s(t.range[0]))+c||0}).attr("fill",fk.anno_x_fill_color).attr("opacity",fk.anno_x_fill_opacity).attr("height",a),d.select("text").text(function(t){return t.label}).attr("fill",fk.anno_x_label_color).attr("transform",function(){var t;return"translate(0, "+("left"==o?a-6:"right"==o?6:a/2)+") rotate(-90)"}).attr("text-anchor","left"==o?"start":"right"==o?"end":"middle").attr("dominant-baseline","hanging").attr("dy","0.33em").attr("font-size",nj(i.w)),f.exit().remove()}function cj(t,e,n,r){var i=e.scales,a=i.w,o=fk.anno_y_label_align,s=lM.values_on_x?i.label:i.value,c=s.bandwidth?s.bandwidth()/2:0,u=lM.values_on_x?XM.label_type:"number",l=[];fk.anno_y_enabled&&lM.has_axes&&fk.anno_y_lines&&r==fk.anno_y_stack&&fk.anno_y_lines.split("\n").forEach(function(t){var e=rj(t),n=e[0],r=e[1];void 0!==r&&l.push({label:n,y:aj(r,u)})});var f=cM(t).selectAll("g.line.y").data(l),h=f.enter().append("g").attr("class","line y").attr("transform",function(t){return"translate(0, "+(s(t.y)?s(t.y)+c:0)+")"});h.append("line").attr("width",0),h.append("text");var d=f.merge(h);d.transition().duration(qR).attr("transform",function(t){return"translate(0, "+(s(t.y)?s(t.y)+c:0)+")"}),d.select("line").attr("stroke-dasharray",fk.anno_y_line_dash+" "+fk.anno_y_line_dash).attr("stroke",fk.anno_y_line_color).attr("stroke-width",fk.anno_y_line_width).attr("x2",a),d.select("text").text(function(t){return t.label}).attr("fill",fk.anno_y_line_color).attr("x","left"==o?10:"right"==o?a-6:a/2).attr("text-anchor","left"==o?"start":"right"==o?"end":"middle").attr("dy","-0.5em").attr("font-size",nj(a)),f.exit().remove()}function uj(t,e,n,r){var i=e.scales,a=i.w,o=fk.anno_y_label_align,s=lM.values_on_x?i.label:i.value,c=s.bandwidth?s.bandwidth():0,u=lM.values_on_x?XM.label_type:"number",l=[];fk.anno_y_enabled&&lM.has_axes&&fk.anno_y_areas&&r==fk.anno_y_stack&&fk.anno_y_areas.split("\n").map(function(t){var e=rj(t);if(!(e.length<2)){var n=e[0],r=ij(e[1]).map(function(t){return aj(t,u)});1<r.length&&l.push({label:n,range:r})}});var f=cM(t).selectAll("g.area.y").data(l),h=f.enter().append("g").attr("class","area y").attr("transform",function(t){return"translate(0, "+Math.min(s(t.range[0]),s(t.range[1]))+")"});h.append("rect").attr("width",a).attr("height",function(t){return Math.abs(s(t.range[1])-s(t.range[0]))+c}),h.append("text");var d=f.merge(h);d.transition().duration(qR).attr("transform",function(t){return"translate(0, "+Math.min(s(t.range[0]),s(t.range[1]))+")"}),d.select("rect").attr("height",function(t){return Math.abs(s(t.range[1])-s(t.range[0]))+c}).attr("fill",fk.anno_y_fill_color).attr("opacity",fk.anno_y_fill_opacity).attr("width",a),d.select("text").text(function(t){return t.label}).attr("fill",fk.anno_y_label_color).attr("x","left"==o?10:"right"==o?a-6:a/2).attr("text-anchor","left"==o?"start":"right"==o?"end":"middle").attr("dominant-baseline","hanging").attr("dy","0.33em").attr("font-size",nj(a)),f.exit().remove()}function lj(t,n,r){var e=cM(".annotations."+r).selectAll("g.axis-highlights").data(XM),i=e.enter().append("g").attr("class","axis-highlights").attr("transform",function(t){return"translate("+t.layout.x+", "+t.layout.y+")"}).style("opacity",0);e.merge(i).transition().duration(n?0:fk.data_trans_duration).style("opacity",1).attr("transform",function(t){return"translate("+t.layout.x+", "+t.layout.y+")"}).each(function(t){var e=this;oj(e,t,n,r),sj(e,t,n,r),cj(e,t,n,r),uj(e,t,n,r)}),e.exit().remove()}function fj(t,e){qR=e?0:fk.data_trans_duration,UR=hk.getParser(),lj(t,e,"above"),lj(t,e,"below")}var hj=Math.pow(2,-52),dj=new Uint32Array(512),pj=function(){function l(t){sN(this,l);var e=t.length>>1;if(0<e&&"number"!=typeof t[0])throw new Error("Expected coords to contain numbers.");this.coords=t;var n=Math.max(2*e-5,0);this._triangles=new Uint32Array(3*n),this._halfedges=new Int32Array(3*n),this._hashSize=Math.ceil(Math.sqrt(e)),this._hullPrev=new Uint32Array(e),this._hullNext=new Uint32Array(e),this._hullTri=new Uint32Array(e),this._hullHash=new Int32Array(this._hashSize).fill(-1),this._ids=new Uint32Array(e),this._dists=new Float64Array(e),this.update()}return uN(l,null,[{key:"from",value:function t(e,n,r){for(var i=1<arguments.length&&void 0!==n?n:Aj,a=2<arguments.length&&void 0!==r?r:Mj,o=e.length,s=new Float64Array(2*o),c=0;c<o;c++){var u=e[c];s[2*c]=i(u),s[2*c+1]=a(u)}return new l(s)}}]),uN(l,[{key:"update",value:function t(){for(var e=this.coords,n=this._hullPrev,r=this._hullNext,i=this._hullTri,a=this._hullHash,o=e.length>>1,s=1/0,c=1/0,u=-1/0,l=-1/0,f=0;f<o;f++){var h=e[2*f],d=e[2*f+1];h<s&&(s=h),d<c&&(c=d),u<h&&(u=h),l<d&&(l=d),this._ids[f]=f}for(var p=(s+u)/2,g=(c+l)/2,_=1/0,v,y,m,b=0;b<o;b++){var x=_j(p,g,e[2*b],e[2*b+1]);x<_&&(v=b,_=x)}var w=e[2*v],k=e[2*v+1];_=1/0;for(var A=0;A<o;A++)if(A!==v){var M=_j(w,k,e[2*A],e[2*A+1]);M<_&&0<M&&(y=A,_=M)}for(var S=e[2*y],E=e[2*y+1],T=1/0,O=0;O<o;O++)if(O!==v&&O!==y){var C=bj(w,k,S,E,e[2*O],e[2*O+1]);C<T&&(m=O,T=C)}var I=e[2*m],L=e[2*m+1];if(T===1/0){for(var N=0;N<o;N++)this._dists[N]=e[2*N]-e[0]||e[2*N+1]-e[1];wj(this._ids,this._dists,0,o-1);for(var P=new Uint32Array(o),F=0,R=0,j=-1/0;R<o;R++){var z=this._ids[R];this._dists[z]>j&&(P[F++]=z,j=this._dists[z])}return this.hull=P.subarray(0,F),this.triangles=new Uint32Array(0),void(this.halfedges=new Uint32Array(0))}if(yj(w,k,S,E,I,L)){var D=y,U=S,q=E;y=m,S=I,E=L,m=D,I=U,L=q}var B=xj(w,k,S,E,I,L);this._cx=B.x,this._cy=B.y;for(var H=0;H<o;H++)this._dists[H]=_j(e[2*H],e[2*H+1],B.x,B.y);wj(this._ids,this._dists,0,o-1);var V=3;r[this._hullStart=v]=n[m]=y,r[y]=n[v]=m,r[m]=n[y]=v,i[v]=0,i[y]=1,i[m]=2,a.fill(-1),a[this._hashKey(w,k)]=v,a[this._hashKey(S,E)]=y,a[this._hashKey(I,L)]=m,this.trianglesLen=0,this._addTriangle(v,y,m,-1,-1,-1);for(var Y=0,W,G;Y<this._ids.length;Y++){var $=this._ids[Y],X=e[2*$],Z=e[2*$+1];if(!(0<Y&&Math.abs(X-W)<=hj&&Math.abs(Z-G)<=hj)&&(W=X,G=Z,$!==v&&$!==y&&$!==m)){for(var K=0,Q=0,J=this._hashKey(X,Z);Q<this._hashSize&&(-1===(K=a[(J+Q)%this._hashSize])||K===r[K]);Q++);for(var tt=K=n[K],et=void 0;et=r[tt],!yj(X,Z,e[2*tt],e[2*tt+1],e[2*et],e[2*et+1]);)if((tt=et)===K){tt=-1;break}if(-1!==tt){var nt=this._addTriangle(tt,$,r[tt],-1,-1,i[tt]);i[$]=this._legalize(nt+2),i[tt]=nt,V++;for(var rt=r[tt];et=r[rt],yj(X,Z,e[2*rt],e[2*rt+1],e[2*et],e[2*et+1]);)nt=this._addTriangle(rt,$,et,i[$],-1,i[rt]),i[$]=this._legalize(nt+2),r[rt]=rt,V--,rt=et;if(tt===K)for(;yj(X,Z,e[2*(et=n[tt])],e[2*et+1],e[2*tt],e[2*tt+1]);)nt=this._addTriangle(et,$,tt,-1,i[tt],i[et]),this._legalize(nt+2),i[et]=nt,r[tt]=tt,V--,tt=et;this._hullStart=n[$]=tt,r[tt]=n[rt]=$,r[$]=rt,a[this._hashKey(X,Z)]=$,a[this._hashKey(e[2*tt],e[2*tt+1])]=tt}}}this.hull=new Uint32Array(V);for(var it=0,at=this._hullStart;it<V;it++)at=r[this.hull[it]=at];this.triangles=this._triangles.subarray(0,this.trianglesLen),this.halfedges=this._halfedges.subarray(0,this.trianglesLen)}},{key:"_hashKey",value:function t(e,n){return Math.floor(gj(e-this._cx,n-this._cy)*this._hashSize)%this._hashSize}},{key:"_legalize",value:function t(e){for(var n=this._triangles,r=this._halfedges,i=this.coords,a=0,o=0;;){var s=r[e],c=e-e%3;if(o=c+(e+2)%3,-1!==s){var u=s-s%3,l=c+(e+1)%3,f=u+(s+2)%3,h=n[o],d=n[e],p=n[l],g=n[f],_;if(mj(i[2*h],i[2*h+1],i[2*d],i[2*d+1],i[2*p],i[2*p+1],i[2*g],i[2*g+1])){n[e]=g,n[s]=h;var v=r[f];if(-1===v){var y=this._hullStart;do{if(this._hullTri[y]===f){this._hullTri[y]=e;break}y=this._hullPrev[y]}while(y!==this._hullStart)}this._link(e,v),this._link(s,r[o]),this._link(o,f);var m=u+(s+1)%3;a<dj.length&&(dj[a++]=m)}else{if(0===a)break;e=dj[--a]}}else{if(0===a)break;e=dj[--a]}}return o}},{key:"_link",value:function t(e,n){-1!==(this._halfedges[e]=n)&&(this._halfedges[n]=e)}},{key:"_addTriangle",value:function t(e,n,r,i,a,o){var s=this.trianglesLen;return this._triangles[s]=e,this._triangles[s+1]=n,this._triangles[s+2]=r,this._link(s,i),this._link(s+1,a),this._link(s+2,o),this.trianglesLen+=3,s}}]),l}();function gj(t,e){var n=t/(Math.abs(t)+Math.abs(e));return(0<e?3-n:1+n)/4}function _j(t,e,n,r){var i=t-n,a=e-r;return i*i+a*a}function vj(t,e,n,r,i,a){var o=(r-e)*(i-t),s=(n-t)*(a-e);return Math.abs(o-s)>=33306690738754716e-32*Math.abs(o+s)?o-s:0}function yj(t,e,n,r,i,a){var o;return(vj(i,a,t,e,n,r)||vj(t,e,n,r,i,a)||vj(n,r,i,a,t,e))<0}function mj(t,e,n,r,i,a,o,s){var c=t-o,u=e-s,l=n-o,f=r-s,h=i-o,d=a-s,p,g=l*l+f*f,_=h*h+d*d;return c*(f*_-g*d)-u*(l*_-g*h)+(c*c+u*u)*(l*d-f*h)<0}function bj(t,e,n,r,i,a){var o=n-t,s=r-e,c=i-t,u=a-e,l=o*o+s*s,f=c*c+u*u,h=.5/(o*u-s*c),d=(u*l-s*f)*h,p=(o*f-c*l)*h;return d*d+p*p}function xj(t,e,n,r,i,a){var o=n-t,s=r-e,c=i-t,u=a-e,l=o*o+s*s,f=c*c+u*u,h=.5/(o*u-s*c),d,p;return{x:t+(u*l-s*f)*h,y:e+(o*f-c*l)*h}}function wj(t,e,n,r){if(r-n<=20)for(var i=n+1;i<=r;i++){for(var a=t[i],o=e[a],s=i-1;n<=s&&e[t[s]]>o;)t[s+1]=t[s--];t[s+1]=a}else{var c,u=n+1,l=r;kj(t,n+r>>1,u),e[t[n]]>e[t[r]]&&kj(t,n,r),e[t[u]]>e[t[r]]&&kj(t,u,r),e[t[n]]>e[t[u]]&&kj(t,n,u);for(var f=t[u],h=e[f];;){for(;e[t[++u]]<h;);for(;e[t[--l]]>h;);if(l<u)break;kj(t,u,l)}t[n+1]=t[l],t[l]=f,l-n<=r-u+1?(wj(t,e,u,r),wj(t,e,n,l-1)):(wj(t,e,n,l-1),wj(t,e,u,r))}}function kj(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function Aj(t){return t[0]}function Mj(t){return t[1]}var Sj=1e-6,Ej=function(){function t(){sN(this,t),this._x0=this._y0=this._x1=this._y1=null,this._=""}return uN(t,[{key:"moveTo",value:function t(e,n){this._+="M".concat(this._x0=this._x1=+e,",").concat(this._y0=this._y1=+n)}},{key:"closePath",value:function t(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")}},{key:"lineTo",value:function t(e,n){this._+="L".concat(this._x1=+e,",").concat(this._y1=+n)}},{key:"arc",value:function t(e,n,r){var i=(e=+e)+(r=+r),a=n=+n;if(r<0)throw new Error("negative radius");null===this._x1?this._+="M".concat(i,",").concat(a):(Math.abs(this._x1-i)>Sj||Math.abs(this._y1-a)>Sj)&&(this._+="L"+i+","+a),r&&(this._+="A".concat(r,",").concat(r,",0,1,1,").concat(e-r,",").concat(n,"A").concat(r,",").concat(r,",0,1,1,").concat(this._x1=i,",").concat(this._y1=a))}},{key:"rect",value:function t(e,n,r,i){this._+="M".concat(this._x0=this._x1=+e,",").concat(this._y0=this._y1=+n,"h").concat(+r,"v").concat(+i,"h").concat(-r,"Z")}},{key:"value",value:function t(){return this._||null}}]),t}(),Tj=function(){function t(){sN(this,t),this._=[]}return uN(t,[{key:"moveTo",value:function t(e,n){this._.push([e,n])}},{key:"closePath",value:function t(){this._.push(this._[0].slice())}},{key:"lineTo",value:function t(e,n){this._.push([e,n])}},{key:"value",value:function t(){return this._.length?this._:null}}]),t}(),Oj=function(){function s(t){var e,n=lN(1<arguments.length&&void 0!==arguments[1]?arguments[1]:[0,0,960,500],4),r=n[0],i=n[1],a=n[2],o=n[3];if(sN(this,s),!((a=+a)>=(r=+r)&&(o=+o)>=(i=+i)))throw new Error("invalid bounds");this.delaunay=t,this._circumcenters=new Float64Array(2*t.points.length),this.vectors=new Float64Array(2*t.points.length),this.xmax=a,this.xmin=r,this.ymax=o,this.ymin=i,this._init()}return uN(s,[{key:"update",value:function t(){return this.delaunay.update(),this._init(),this}},{key:"_init",value:function t(){for(var e=this.delaunay,n=e.points,r=e.hull,i=e.triangles,a=this.vectors,o=this.circumcenters=this._circumcenters.subarray(0,i.length/3*2),s=0,c=0,u=i.length,l,f;s<u;s+=3,c+=2){var h=2*i[s],d=2*i[s+1],p=2*i[s+2],g=n[h],_=n[1+h],v=n[d],y=n[1+d],m=n[p],b=n[1+p],x=v-g,w=y-_,k=m-g,A=b-_,M=x*x+w*w,S=k*k+A*A,E=2*(x*A-w*k);if(E)if(Math.abs(E)<1e-8)l=(g+m)/2,f=(_+b)/2;else{var T=1/E;l=g+(A*M-w*S)*T,f=_+(x*S-k*M)*T}else l=(g+m)/2-1e8*A,f=(_+b)/2+1e8*k;o[c]=l,o[c+1]=f}var O=r[r.length-1],C,I=4*O,L,N=n[2*O],P,F=n[2*O+1];a.fill(0);for(var R=0;R<r.length;++R)C=I,L=N,P=F,I=4*(O=r[R]),N=n[2*O],F=n[2*O+1],a[C+2]=a[I]=P-F,a[C+3]=a[I+1]=N-L}},{key:"render",value:function t(e){var n=null==e?e=new Ej:void 0,r=this.delaunay,i=r.halfedges,a=r.inedges,o=r.hull,s=this.circumcenters,c=this.vectors;if(o.length<=1)return null;for(var u=0,l=i.length;u<l;++u){var f=i[u];if(!(f<u)){var h=2*Math.floor(u/3),d=2*Math.floor(f/3),p=s[h],g=s[1+h],_=s[d],v=s[1+d];this._renderSegment(p,g,_,v,e)}}for(var y,m=o[o.length-1],b=0;b<o.length;++b){y=m,m=o[b];var x=2*Math.floor(a[m]/3),w=s[x],k=s[1+x],A=4*y,M=this._project(w,k,c[2+A],c[3+A]);M&&this._renderSegment(w,k,M[0],M[1],e)}return n&&n.value()}},{key:"renderBounds",value:function t(e){var n=null==e?e=new Ej:void 0;return e.rect(this.xmin,this.ymin,this.xmax-this.xmin,this.ymax-this.ymin),n&&n.value()}},{key:"renderCell",value:function t(e,n){var r=null==n?n=new Ej:void 0,i=this._clip(e);if(null!==i){n.moveTo(i[0],i[1]);for(var a=i.length;i[0]===i[a-2]&&i[1]===i[a-1]&&1<a;)a-=2;for(var o=2;o<a;o+=2)i[o]===i[o-2]&&i[o+1]===i[o-1]||n.lineTo(i[o],i[o+1]);return n.closePath(),r&&r.value()}}},{key:"cellPolygons",value:regeneratorRuntime.mark(function t(){var n,r,i,a;return regeneratorRuntime.wrap(function t(e){for(;;)switch(e.prev=e.next){case 0:n=this.delaunay.points,r=0,i=n.length/2;case 2:if(!(r<i)){e.next=10;break}if(a=this.cellPolygon(r))return e.next=7,a;e.next=7;break;case 7:++r,e.next=2;break;case 10:case"end":return e.stop()}},t,this)})},{key:"cellPolygon",value:function t(e){var n=new Tj;return this.renderCell(e,n),n.value()}},{key:"_renderSegment",value:function t(e,n,r,i,a){var o,s=this._regioncode(e,n),c=this._regioncode(r,i);0===s&&0===c?(a.moveTo(e,n),a.lineTo(r,i)):(o=this._clipSegment(e,n,r,i,s,c))&&(a.moveTo(o[0],o[1]),a.lineTo(o[2],o[3]))}},{key:"contains",value:function t(e,n,r){return(n=+n)==n&&(r=+r)==r&&this.delaunay._step(e,n,r)===e}},{key:"neighbors",value:regeneratorRuntime.mark(function t(n){var r,i,a,o,s,c,u,l,f,h,d,p;return regeneratorRuntime.wrap(function t(e){for(;;)switch(e.prev=e.next){case 0:if(!(r=this._clip(n))){e.next=42;break}a=!(i=!0),o=void 0,e.prev=5,s=this.delaunay.neighbors(n)[Symbol.iterator]();case 7:if(i=(c=s.next()).done){e.next=28;break}if(u=c.value,!(l=this._clip(u))){e.next=25;break}f=0,h=r.length;case 12:if(!(f<h)){e.next=25;break}d=0,p=l.length;case 14:if(!(d<p)){e.next=22;break}if(r[f]==l[d]&&r[f+1]==l[d+1]&&r[(f+2)%h]==l[(d+p-2)%p]&&r[(f+3)%h]==l[(d+p-1)%p])return e.next=18,u;e.next=19;break;case 18:return e.abrupt("break",25);case 19:d+=2,e.next=14;break;case 22:f+=2,e.next=12;break;case 25:i=!0,e.next=7;break;case 28:e.next=34;break;case 30:e.prev=30,e.t0=e.catch(5),a=!0,o=e.t0;case 34:e.prev=34,e.prev=35,i||null==s.return||s.return();case 37:if(e.prev=37,a)throw o;e.next=40;break;case 40:return e.finish(37);case 41:return e.finish(34);case 42:case"end":return e.stop()}},t,this,[[5,30,34,42],[35,,37,41]])})},{key:"_cell",value:function t(e){var n=this.circumcenters,r=this.delaunay,i=r.inedges,a=r.halfedges,o=r.triangles,s=i[e];if(-1===s)return null;var c=[],u=s;do{var l=Math.floor(u/3);if(c.push(n[2*l],n[2*l+1]),o[u=u%3==2?u-2:u+1]!==e)break;u=a[u]}while(u!==s&&-1!==u);return c}},{key:"_clip",value:function t(e){if(0===e&&1===this.delaunay.hull.length)return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];var n=this._cell(e);if(null===n)return null;var r=this.vectors,i=4*e;return r[i]||r[1+i]?this._clipInfinite(e,n,r[i],r[1+i],r[2+i],r[3+i]):this._clipFinite(e,n)}},{key:"_clipFinite",value:function t(e,n){for(var r=n.length,i=null,a,o,s=n[r-2],c=n[r-1],u,l=this._regioncode(s,c),f,h,d=0;d<r;d+=2)if(a=s,o=c,s=n[d],c=n[d+1],u=l,l=this._regioncode(s,c),0===u&&0===l)f=h,h=0,i?i.push(s,c):i=[s,c];else{var p=void 0,g=void 0,_=void 0,v=void 0,y=void 0;if(0===u){if(null===(p=this._clipSegment(a,o,s,c,u,l)))continue;var m,b=lN(p,4);g=b[0],_=b[1],v=b[2],y=b[3]}else{if(null===(p=this._clipSegment(s,c,a,o,l,u)))continue;var x,w=lN(p,4);v=w[0],y=w[1],g=w[2],_=w[3],f=h,h=this._edgecode(g,_),f&&h&&this._edge(e,f,h,i,i.length),i?i.push(g,_):i=[g,_]}f=h,h=this._edgecode(v,y),f&&h&&this._edge(e,f,h,i,i.length),i?i.push(v,y):i=[v,y]}if(i)f=h,h=this._edgecode(i[0],i[1]),f&&h&&this._edge(e,f,h,i,i.length);else if(this.contains(e,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2))return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];return i}},{key:"_clipSegment",value:function t(e,n,r,i,a,o){for(;;){if(0===a&&0===o)return[e,n,r,i];if(a&o)return null;var s=void 0,c=void 0,u=a||o;8&u?(s=e+(r-e)*(this.ymax-n)/(i-n),c=this.ymax):4&u?(s=e+(r-e)*(this.ymin-n)/(i-n),c=this.ymin):s=2&u?(c=n+(i-n)*(this.xmax-e)/(r-e),this.xmax):(c=n+(i-n)*(this.xmin-e)/(r-e),this.xmin),a?(e=s,n=c,a=this._regioncode(e,n)):(r=s,i=c,o=this._regioncode(r,i))}}},{key:"_clipInfinite",value:function t(e,n,r,i,a,o){var s=Array.from(n),c;if((c=this._project(s[0],s[1],r,i))&&s.unshift(c[0],c[1]),(c=this._project(s[s.length-2],s[s.length-1],a,o))&&s.push(c[0],c[1]),s=this._clipFinite(e,s))for(var u=0,l=s.length,f,h=this._edgecode(s[l-2],s[l-1]);u<l;u+=2)f=h,h=this._edgecode(s[u],s[u+1]),f&&h&&(u=this._edge(e,f,h,s,u),l=s.length);else this.contains(e,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2)&&(s=[this.xmin,this.ymin,this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax]);return s}},{key:"_edge",value:function t(e,n,r,i,a){for(;n!==r;){var o=void 0,s=void 0;switch(n){case 5:n=4;continue;case 4:n=6,o=this.xmax,s=this.ymin;break;case 6:n=2;continue;case 2:n=10,o=this.xmax,s=this.ymax;break;case 10:n=8;continue;case 8:n=9,o=this.xmin,s=this.ymax;break;case 9:n=1;continue;case 1:n=5,o=this.xmin,s=this.ymin}i[a]===o&&i[a+1]===s||!this.contains(e,o,s)||(i.splice(a,0,o,s),a+=2)}if(4<i.length)for(var c=0;c<i.length;c+=2){var u=(c+2)%i.length,l=(c+4)%i.length;(i[c]===i[u]&&i[u]===i[l]||i[c+1]===i[1+u]&&i[1+u]===i[1+l])&&(i.splice(u,2),c-=2)}return a}},{key:"_project",value:function t(e,n,r,i){var a=1/0,o,s,c;if(i<0){if(n<=this.ymin)return null;(o=(this.ymin-n)/i)<a&&(c=this.ymin,s=e+(a=o)*r)}else if(0<i){if(n>=this.ymax)return null;(o=(this.ymax-n)/i)<a&&(c=this.ymax,s=e+(a=o)*r)}if(0<r){if(e>=this.xmax)return null;(o=(this.xmax-e)/r)<a&&(s=this.xmax,c=n+(a=o)*i)}else if(r<0){if(e<=this.xmin)return null;(o=(this.xmin-e)/r)<a&&(s=this.xmin,c=n+(a=o)*i)}return[s,c]}},{key:"_edgecode",value:function t(e,n){return(e===this.xmin?1:e===this.xmax?2:0)|(n===this.ymin?4:n===this.ymax?8:0)}},{key:"_regioncode",value:function t(e,n){return(e<this.xmin?1:e>this.xmax?2:0)|(n<this.ymin?4:n>this.ymax?8:0)}}]),s}(),Cj=regeneratorRuntime.mark(zj),Ij=2*Math.PI;function Lj(t){return t[0]}function Nj(t){return t[1]}function Pj(t){for(var e=t.triangles,n=t.coords,r=0;r<e.length;r+=3){var i=2*e[r],a=2*e[r+1],o=2*e[r+2],s;if(1e-10<(n[o]-n[i])*(n[1+a]-n[1+i])-(n[a]-n[i])*(n[1+o]-n[1+i]))return}return 1}function Fj(t,e,n){return[t+Math.sin(t+e)*n,e+Math.cos(t-e)*n]}var Rj=function(){function c(t){sN(this,c),this._delaunator=new pj(t),this.inedges=new Int32Array(t.length/2),this._hullIndex=new Int32Array(t.length/2),this.points=this._delaunator.coords,this._init()}return uN(c,null,[{key:"from",value:function t(e,n,r,i){var a=1<arguments.length&&void 0!==n?n:Lj,o=2<arguments.length&&void 0!==r?r:Nj,s=3<arguments.length?i:void 0;return new c("length"in e?jj(e,a,o,s):Float64Array.from(zj(e,a,o,s)))}}]),uN(c,[{key:"update",value:function t(){return this._delaunator.update(),this._init(),this}},{key:"_init",value:function t(){var e=this._delaunator,n=this.points;if(e.hull&&2<e.hull.length&&Pj(e)){this.collinear=Int32Array.from({length:n.length/2},function(t,e){return e}).sort(function(t,e){return n[2*t]-n[2*e]||n[2*t+1]-n[2*e+1]});for(var r=this.collinear[0],i=this.collinear[this.collinear.length-1],a=[n[2*r],n[2*r+1],n[2*i],n[2*i+1]],o=1e-8*Math.sqrt(Math.pow(a[3]-a[1],2)+Math.pow(a[2]-a[0],2)),s=0,c=n.length/2;s<c;++s){var u=Fj(n[2*s],n[2*s+1],o);n[2*s]=u[0],n[2*s+1]=u[1]}this._delaunator=new pj(n)}else delete this.collinear;for(var l=this.halfedges=this._delaunator.halfedges,f=this.hull=this._delaunator.hull,h=this.triangles=this._delaunator.triangles,d=this.inedges.fill(-1),p=this._hullIndex.fill(-1),g=0,_=l.length;g<_;++g){var v=h[g%3==2?g-2:g+1];-1!==l[g]&&-1!==d[v]||(d[v]=g)}for(var y=0,m=f.length;y<m;++y)p[f[y]]=y;f.length<=2&&0<f.length&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=f[0],this.triangles[1]=f[1],this.triangles[2]=f[1],d[f[0]]=1,2===f.length&&(d[f[1]]=0))}},{key:"voronoi",value:function t(e){return new Oj(this,e)}},{key:"neighbors",value:regeneratorRuntime.mark(function t(n){var r,i,a,o,s,c,u,l,f,h,d;return regeneratorRuntime.wrap(function t(e){for(;;)switch(e.prev=e.next){case 0:if(r=this.inedges,i=this.hull,a=this._hullIndex,o=this.halfedges,s=this.triangles,!(c=this.collinear)){e.next=10;break}if(0<(u=c.indexOf(n)))return e.next=6,c[u-1];e.next=6;break;case 6:if(u<c.length-1)return e.next=9,c[u+1];e.next=9;break;case 9:return e.abrupt("return");case 10:if(-1===(l=r[n]))return e.abrupt("return");e.next=13;break;case 13:f=l,h=-1;case 14:return e.next=16,h=s[f];case 16:if(s[f=f%3==2?f-2:f+1]!==n)return e.abrupt("return");e.next=19;break;case 19:if(-1!==(f=o[f])){e.next=26;break}if((d=i[(a[n]+1)%i.length])!==h)return e.next=25,d;e.next=25;break;case 25:return e.abrupt("return");case 26:if(f!==l){e.next=14;break}case 27:case"end":return e.stop()}},t,this)})},{key:"find",value:function t(e,n,r){var i=2<arguments.length&&void 0!==r?r:0;if((e=+e)!=e||(n=+n)!=n)return-1;for(var a=i,o;0<=(o=this._step(i,e,n))&&o!==i&&o!==a;)i=o;return o}},{key:"_step",value:function t(e,n,r){var i=this.inedges,a=this.hull,o=this._hullIndex,s=this.halfedges,c=this.triangles,u=this.points;if(-1===i[e]||!u.length)return(e+1)%(u.length>>1);var l=e,f=Math.pow(n-u[2*e],2)+Math.pow(r-u[2*e+1],2),h=i[e],d=h;do{var p=c[d],g=Math.pow(n-u[2*p],2)+Math.pow(r-u[2*p+1],2);if(g<f&&(f=g,l=p),c[d=d%3==2?d-2:d+1]!==e)break;if(-1===(d=s[d])){if((d=a[(o[e]+1)%a.length])!==p&&Math.pow(n-u[2*d],2)+Math.pow(r-u[2*d+1],2)<f)return d;break}}while(d!==h);return l}},{key:"render",value:function t(e){for(var n=null==e?e=new Ej:void 0,r=this.points,i=this.halfedges,a=this.triangles,o=0,s=i.length;o<s;++o){var c=i[o];if(!(c<o)){var u=2*a[o],l=2*a[c];e.moveTo(r[u],r[1+u]),e.lineTo(r[l],r[1+l])}}return this.renderHull(e),n&&n.value()}},{key:"renderPoints",value:function t(e,n){for(var r=1<arguments.length&&void 0!==n?n:2,i=null==e?e=new Ej:void 0,a=this.points,o=0,s=a.length;o<s;o+=2){var c=a[o],u=a[o+1];e.moveTo(c+r,u),e.arc(c,u,r,0,Ij)}return i&&i.value()}},{key:"renderHull",value:function t(e){var n=null==e?e=new Ej:void 0,r=this.hull,i=this.points,a=2*r[0],o=r.length;e.moveTo(i[a],i[1+a]);for(var s=1;s<o;++s){var c=2*r[s];e.lineTo(i[c],i[1+c])}return e.closePath(),n&&n.value()}},{key:"hullPolygon",value:function t(){var e=new Tj;return this.renderHull(e),e.value()}},{key:"renderTriangle",value:function t(e,n){var r=null==n?n=new Ej:void 0,i=this.points,a=this.triangles,o=2*a[e*=3],s=2*a[e+1],c=2*a[e+2];return n.moveTo(i[o],i[1+o]),n.lineTo(i[s],i[1+s]),n.lineTo(i[c],i[1+c]),n.closePath(),r&&r.value()}},{key:"trianglePolygons",value:regeneratorRuntime.mark(function t(){var n,r,i;return regeneratorRuntime.wrap(function t(e){for(;;)switch(e.prev=e.next){case 0:n=this.triangles,r=0,i=n.length/3;case 2:if(r<i)return e.next=5,this.trianglePolygon(r);e.next=8;break;case 5:++r,e.next=2;break;case 8:case"end":return e.stop()}},t,this)})},{key:"trianglePolygon",value:function t(e){var n=new Tj;return this.renderTriangle(e,n),n.value()}}]),c}();function jj(t,e,n,r){for(var i=t.length,a=new Float64Array(2*i),o=0;o<i;++o){var s=t[o];a[2*o]=e.call(r,s,o,t),a[2*o+1]=n.call(r,s,o,t)}return a}function zj(n,r,i,a){var o,s,c,u,l,f,h;return regeneratorRuntime.wrap(function t(e){for(;;)switch(e.prev=e.next){case 0:c=!(s=!(o=0)),u=void 0,e.prev=4,l=n[Symbol.iterator]();case 6:if(s=(f=l.next()).done){e.next=16;break}return h=f.value,e.next=10,r.call(a,h,o,n);case 10:return e.next=12,i.call(a,h,o,n);case 12:++o;case 13:s=!0,e.next=6;break;case 16:e.next=22;break;case 18:e.prev=18,e.t0=e.catch(4),c=!0,u=e.t0;case 22:e.prev=22,e.prev=23,s||null==l.return||l.return();case 25:if(e.prev=25,c)throw u;e.next=28;break;case 28:return e.finish(25);case 29:return e.finish(22);case 30:case"end":return e.stop()}},Cj,null,[[4,18,22,30],[23,,25,29]])}function Dj(t,e,n,r){var i=r.select(".interaction").selectAll(".series").data(t,rN),a=i.enter().append("g").attr("class","series"),o=i.merge(a);i.exit().remove();var s=[];lM.has_lines&&o.each(function(t){"line"!=lM.mode&&!t.secondary||(s=s.concat(t[lM.data_points]))});for(var c=Rj.from(s,function(t){return e.label(t.label)},function(t){return e[t.secondary?"value_secondary":"value"](t.value)}).voronoi([0,0,e.w,e.h]),u=[],l=0;l<s.length;l++){var f=c.cellPolygon(l);f&&(f.data=s[l],u.push(f))}var h=o.selectAll("path").data(u,nN),d=h.enter().append("path").style("opacity",0).on("mouseover",function(){kz(this.getAttribute("data-target"))}).on("click",function(){wz(this.getAttribute("data-target"))}).on("mouseout",Az);h.merge(d).attr("data-target",function(t){return"point-"+t.data.series+"-"+t.data.row_index}).attr("d",function(t){return null==t?null:"M"+t.join("L")+"Z"}),h.exit().remove()}function Uj(t){return fk.y_axis_log&&t<=0?.01:t}function qj(t,e,n){var r=Math.max(fk.dot_radius,.1);return fk.dot_radius_last&&e==n.parentNode.__data__.data_points.length-1&&(r=fk.dot_radius_last),r}function Bj(t){return fk.labels_responsive?"bar"==lM.mode?Math.min(fk.labels_font_size_max,Math.max(fk.labels_font_size_min,.8*t.facet.scales.col_w)):Math.min(fk.labels_font_size_max,Math.max(fk.labels_font_size_min,t.facet.scales.w/45)):fk.labels_font_size}function Hj(t){return"off"==fk.labels_bg_mode||"auto"==fk.labels_bg_mode&&"bar"==lM.mode?0:Bj(t)/(100/fk.labels_bg_size)}function Vj(t,e){return t.getBBox().width*e/parseFloat(t.getAttribute("font-size"))}function Yj(t,e){var n=qj(t,e,this),r=Bj(t),i=Vj(this,r),a=t.facet.scales,o=a.label,s=t.facet.scales.label(t.label),c=t.facet.scales[t.secondary?"value_secondary":"value"](Uj(t.value))+ +Bj(t),u=lM.facet_by_series?0:t.series_primary;if(t.secondary||"line"==lM.mode)fk.labels_dot_center?c-=.55*Bj(t):(c+=n,st.facet.scales.w-i/2&&(s-=i/2),o.bandwidth&&(s+=o.bandwidth()/2));else if("column"==lM.mode)s+=t.facet.scales.col_w/2+t.facet.scales.col_padding/2,lM.stack||(s+=u*(t.facet.scales.col_w+t.facet.scales.col_padding));else{if("donut"==lM.mode){var l="point-"+t.series+"-"+t.row_index,f=document.getElementById(l).__centroid__;return"translate("+(f[0]+t.facet.scales.w/2)+","+(f[1]+t.facet.scales.h/2)+")"}if("bar"==lM.mode){s=a.value(t.value);var h=a.value(t.value_base||0),d=Math.abs(s-h),p=r/4,g=0<t.value;s="left"==fk.label_bar_align?g?h+p+i/2:h-p-i/2:"right"==fk.label_bar_align?g?s-i/2-p:s+i/2+p:g?s-d/2:s+d/2,c=t.facet.scales.label(t.label)+.33*r,c+=t.facet.scales.col_w/2+t.facet.scales.col_padding/2,lM.stack||(c+=u*(t.facet.scales.col_w+t.facet.scales.col_padding))}}return"translate("+s+","+c+")"}function Wj(t){return XM.labelFormat(t.label)}function Gj(t){return t.secondary?bz(t.value):lM.stack?mz(t.value-t.value_base):mz(t.value)}function $j(t,e,n){return GL?KL(n):ZL(t.parentNode.__data__.series)}function Xj(t){if(t){var e=xE(t);return 195<Math.round(299*e.r+587*e.g+114*e.b)/1e3}console.warn("No valid color",t)}function Zj(t,e){if("auto"!=fk.labels_color_mode)return"series"==fk.labels_color_mode?$j(this,t,e):fk.labels_fixed_color;var n=$j(this,t,e);return"line"==fk.chart_type?n:"bar"==lM.mode?Xj(n)?"black":"white":"black"}function Kj(t,e){var n=e.facet.scales.value,r=Bj(e),i=Math.abs(n(e.value)-n(e.value_base||0)),a=Vj(t,r)>.9*i,o=e.facet.scales.col_w<r;return a||o}function Qj(t,e){var n=e.facet.scales.value,r=Bj(e),i,a;return.75*Math.abs(n(e.value)-n(e.value_base||0))<r}function Jj(t){return"bar"==lM.mode&&Kj(this,t)&&fk.labels_bar_autohide||"column"==lM.mode&&lM.stack&&Qj(this,t)?0:1}function tz(t,e,n){var r=t.selectAll(".data-label").data(function(t){return fk.labels?t[t.secondary?"data_points":lM.data_points]:[]},nN),i=r.enter().append("g").attr("class","data-label").attr("text-anchor","middle").attr("font-size",function(t){return Bj(t)+"px"}).attr("pointer-events","none").attr("opacity",0),a=i.append("text").attr("class","back").attr("stroke-width",Hj).attr("stroke",fk.bg_color),o=i.append("text").attr("class","front").attr("fill",Zj),s=!1;"always"==fk.labels_show_label&&(s=!0),"auto"==fk.labels_show_label&&"donut"==lM.mode&&(s=!0);var c="never"!=fk.labels_show_value;o.append("tspan").attr("class","label").text(s?Wj:""),o.append("tspan").attr("class","value").text(c?Gj:"").attr("x",0).attr("dy",s?"1.05em":0),a.append("tspan").attr("class","label").text(s?Wj:""),a.append("tspan").attr("class","value").text(c?Gj:"").attr("x",0).attr("dy",s?"1.05em":0),i.attr("transform",Yj);var u=r.merge(i),l=u.select(".back").attr("stroke-width",Hj).attr("stroke",fk.bg_color),f=u.select(".front").attr("fill",Zj);f.select("tspan.label").text(s?Wj:""),f.select("tspan.value").text(c?Gj:"").attr("x",0).attr("dy",s?"1.05em":0),l.select("tspan.label").text(s?Wj:""),l.select("tspan.value").text(c?Gj:"").attr("x",0).attr("dy",s?"1.05em":0);var h=e?0:fk.data_trans_duration;u.transition().duration(h).delay(n).attr("text-anchor","middle").attr("font-size",function(t){return Bj(t)+"px"}).attr("transform",Yj),u.transition("opacity").duration(.5*h).delay(n+.8*h).attr("opacity",Jj),r.exit().remove()}function ez(t){if(Fz(),fk.highlighted){var e=document.getElementById(fk.highlighted);setTimeout(function(){e&&Mz(e)},t)}}function nz(t,e){var n,r=lM.values_on_x?"x":"y",i=fk[r+"_axis_log"],a=fk[r+"_axis_min"],o=fk[r+"_axis_max"],s=fk[r+"_axis_matching"];if(0<(n=lM.proportional?[0,100]:s?lM.stack?t.dataset_value_extent_stack.slice():t.dataset_value_extent.slice():lM.stack?t.value_extent_stack.slice():t.value_extent.slice())[0]&&(n[0]=0),i&&(n[0]=1),null!=a&&(n[0]=a),null!=o&&(n[1]=o),"line"==fk.chart_type&&i){if(n[0]<=0||n[1]<=0)throw new Error("With a log scale, axis min cannot be set at or below zero!");e.value=nI()}else e.value=YC();e.value.range(iz(e)).domain(n),null==a&&null==o&&e.value.nice()}function rz(t,e){var n,r="y_secondary",i=fk[r+"_axis_log"],a=fk[r+"_axis_min"],o=fk[r+"_axis_max"],s;if(0<(n=fk[r+"_axis_matching"]?t.dataset_value_extent_secondary.slice():t.value_extent_secondary.slice())[0]&&(n[0]=0),i&&(n[0]=1),null!=a&&(n[0]=a),null!=o&&(n[1]=o),i){if(n[0]<=0||n[1]<=0)throw new Error("With a log scale, axis min cannot be set at or below zero!");e.value_secondary=nI()}else e.value_secondary=YC();e.value_secondary.range(iz(e)).domain(n),null==a&&null==o&&e.value_secondary.nice()}function iz(t){return lM.values_on_x?[0,t.w]:[t.h,0]}function az(t){return lM.values_on_x?[t.h,"gridlines"==fk.x_axis_tick_style&&fk.x_axis_ticks_inline?fk.x_axis_tick_h:0]:["gridlines"==fk.y_axis_tick_style&&fk.y_axis_ticks_inline?fk.y_axis_tick_w:0,t.w]}function oz(t,e){var n,r,i=("bar"==lM.mode&&"above"==fk.y_axis_bar_label_position?1.5*fk.y_axis_tick_font_size:0)/(e.h/t.label_domain.length),a=az(e),o=i/2+fk.column_padding_outer/100,s=i+fk.column_padding_inner/100;e.label=OC().range(a).domain(t.label_domain).paddingOuter(o).paddingInner(s).align(0<i?.5+i/2:.5)}function sz(t,e){e.label=IC().range(az(e)).domain(t.label_domain)}function cz(t,e){var n=t.label_extent.slice();null!=fk.x_axis_min&&(n[0]=fk.x_axis_min),null!=fk.x_axis_max&&(n[1]=fk.x_axis_max),e.label=YC().range(az(e)).domain(n),null==fk.x_axis_min&&null==fk.x_axis_max&&e.label.nice()}function uz(t,e){var n=t.label_extent.slice();e.label=dI().range(az(e)).domain(n),null==fk.x_axis_min&&null==fk.x_axis_max&&e.label.nice()}function lz(t,e,n,r){var i=e.scales,a=cM(t);"_mode"in t||(t._mode=lM.mode);var o=lM.single_series?fk.current_series:0,s=lM.single_series?o+1:void 0,c=e.series.slice(o,s),u=0;switch("line"==lM.prev_mode&&"line"!=lM.mode&&(u=fk.data_trans_duration),nz(e,i),rz(e,i),lM.mode){case"bar":case"column":if(oz(e,i),i.num_series=e.series_primary.length,lM.stack||i.num_series<2)i.col_w=i.label.bandwidth(),i.col_padding=0;else{var l=fk.column_padding_in_group/100,f=i.label.bandwidth()/i.num_series,h=f*l;f-=h,i.col_w=f,i.col_padding=h}break;case"line":("number"==i.label_type?cz:"datetime"==i.label_type?uz:sz)(e,i);break;case"donut":i.label||oz(e,i),i.sum_scale_ratio=fk.donut_auto_scale?c[0].data_points_positive_sum/e.dataset_max_series_sum:1}Dj(c,i,n,a),ej(a,e,i,r,u)}function fz(t){var e,n;return"translate("+t.facet.layout.x+","+t.facet.layout.y+")"}function hz(t,e){var n=e&&"except-data-points"!=e,r=lM.single_series&&!lM.facet_by_series,i=t.series_primary.filter(function(t){return!r||t.index==fk.current_series}),a=0,o=0;"line"!=lM.prev_mode&&"line"==lM.mode&&(o=fk.data_trans_duration),"line"==lM.prev_mode&&"line"!=lM.mode&&(a=fk.data_trans_duration);var s=cM("#data-points").selectAll(".series").data(i,rN),c=s.enter().append("g").attr("class","series").attr("transform",fz),u=s.merge(c);u.transition().duration(e?0:fk.data_trans_duration).delay(a).attr("transform",fz);var l=s.exit();l.selectAll(".data-point").attr("id",null),l.transition().duration(e?0:fk.data_trans_duration).delay(a).style("opacity",0).remove();var f=cM("#data-points").selectAll(".series-secondary").data(t.series_secondary,function(t){return"secondary-"+t.name}),h=f.enter().append("g").attr("class","series-secondary").attr("transform",fz),d=f.merge(h);d.transition().duration(e?0:fk.data_trans_duration).delay(a).attr("transform",fz);var p=f.exit();switch(p.selectAll(".data-point").attr("id",null),p.transition().duration(e?0:fk.data_trans_duration).delay(a).style("opacity",0).remove(),lM.mode){case"bar":cF(u,n,a);break;case"column":uF(u,n,a);break;case"line":sF(u,n,a);break;case"donut":dR(u,n,a)}wR(i,n,a,o),tz(u,n,a),ez(e?0:a+fk.data_trans_duration),sF(d,n,a,!0),wR(t.series_secondary,n,a,o,!0),tz(d,n,a)}function dz(t,e){fj(t,e)}function pz(t){return"translate("+t.layout.x+","+t.layout.y+")"}var gz=!1;function _z(n){var t=gk.getPrimaryWidth(),e=XM.length,r,i,a=(""!=fk.y_axis_label&&lM.has_axes?2*fk.y_axis_label_font_size:0)+(!lM.has_axes||"none"==fk.y_axis_tick_style||"gridlines"==fk.y_axis_tick_style&&fk.y_axis_ticks_inline||"bar"==lM.mode&&"above"==fk.y_axis_bar_label_position?0:fk.y_axis_tick_w),o,s,c=(""!=fk.y_secondary_axis_label&&lM.has_secondary_value_axis?2*fk.y_secondary_axis_label_font_size:0)+(!lM.has_secondary_value_axis||"none"==fk.y_secondary_axis_tick_style||"gridlines"==fk.y_secondary_axis_tick_style&&fk.y_secondary_axis_ticks_inline?0:fk.y_secondary_axis_tick_w),u,l,f=(""!=fk.x_axis_label&&lM.has_axes?2*fk.x_axis_label_font_size:0)+(!lM.has_axes||"none"==fk.x_axis_tick_style||"gridlines"==fk.x_axis_tick_style&&fk.x_axis_ticks_inline?0:fk.x_axis_tick_h),h=gk.remToPx(fk.facet_gutter_w),d=fk.y_axis_first_col_only&&fk.y_axis_matching,p=fk.y_secondary_axis_last_col_only&&fk.y_secondary_axis_matching;d||(h+=a),p||(h+=c);var g="line"==lM.mode&&fk.line_end_labels?fk.line_end_labels_width:0,_=t-a-c-fk.margin_right-fk.margin_left,v,y;if("facets"==fk.facet_layout&&fk.facet_fixed_cols)v=Math.floor(fk.facet_cols),y=Math.ceil(e/v);else{var m=Math.floor((_+h)/(fk.facet_min_w+h));v=Math.max(1,Math.min(m,e)),y=Math.ceil(e/v);for(var b=v;0<b&&Math.ceil(e/(v-1))==y;b--)v--}var x=e%v!=0&&v<e,w=(_-h*(v-1))/v-g,k=gk.remToPx(fk.facet_gutter_h),A=fk.x_axis_last_row_only&&fk.x_axis_matching&&!x;A||(k+=f);var M=A?1:y,S=XM.length<2?0:1.5*gk.remToPx(fk.facet_header_font_size),E,T,O=w*fk.facet_aspect/100,C,I=y*(O+S+k)+f-k+fk.margin_top+fk.margin_bottom,L=60*XM.row_names.length,N,P=y*(L+S+k)+f-k+fk.margin_top+fk.margin_bottom,F=Math.max(gk.getDefaultPrimaryHeight(),1),R,j=(Math.max(F-fk.margin_top-fk.margin_bottom,1)-f*M-y*S-(y-1)*k)/y;function z(){gk.setHeight(null),T=F,E=j}function D(){T=I,E=O,gk.setHeight(T)}function U(){T=P,E=L,gk.setHeight(T)}if(Flourish.fixed_height||"fill_space"==fk.height_mode)z();else if("aspect"==fk.height_mode)D();else if("bar"==lM.mode&&"above"==fk.y_axis_bar_label_position)U();else{var q;((w<fk.facet_min_w||j<100)&&F<I?D:z)()}w=Math.max(w,0),E=Math.max(E,0),cM("#graphic").transition().duration(n?0:fk.data_trans_duration).attr("width",t).attr("height",T);for(var b=0;b<e;b++){var B=Math.ceil(b%v),H=Math.floor(b/v),V=XM[b].layout={};V.has_y_axis=0==B||!d,V.has_y_secondary_axis=B==v-1||!p,V.has_x_axis=H==y-1||!A,V.x=fk.margin_left+a+B*(w+h+g),V.y=fk.margin_top+S+H*(E+S+k),V.w=w+V.has_y_axis?a:0,V.h=S+E+V.has_x_axis?f:0}var Y=gk.remToPx(fk.facet_header_padding*fk.facet_header_font_size),W="center"==fk.facet_title_align||"auto"==fk.facet_title_align&&"donut"==fk.chart_type,G=cM("#facets").selectAll(".facet").data(XM),$=G.enter().append("g").attr("class","facet").attr("transform",function(t){return pz(gz?XM[0]:t)}).attr("opacity",0);$.append("rect").attr("class","facet-title-bg"),$.append("text").attr("class","facet-title").attr("y",.75*-S).attr("font-size",gk.remToPx(fk.facet_header_font_size)+"px").attr("font-weight","bold").attr("dx",W||"none"==fk.facet_header_bg?0:Y).each(nt).attr("x",Q).attr("fill",J),$.select(".facet-title-bg").attr("width",et).attr("height",S).attr("fill",tt).attr("x",Q).attr("y",1.3*-S);var X=$.append("g").attr("class","plot");X.append("clipPath").attr("class","facet-clip").append("rect").attr("width",w+h).attr("height",S+E+k).attr("transform","translate("+-h/2+","+-(S+k/2)+")"),X.append("g").attr("class","bg").append("rect").attr("fill","none"),X.append("g").attr("class","interaction"),X.append("g").attr("class","axes");var Z=G.merge($);function K(){return W?w/2-this.parentNode.__title_width__/2:0}function Q(){return"full"==fk.facet_header_bg?0:W?w/2-this.parentNode.__title_width__/2-Y:0}function J(t,e){var n;return"fixed"==fk.facet_header_color_mode||"row"==lM.legend_type||!lM.facet_by_series?fk.facet_header_color:ZL(e)}function tt(t,e){var n;return"fixed"==fk.facet_header_bg_mode||"row"==lM.legend_type||!lM.facet_by_series?fk.facet_header_bg_color:ZL(e)}function et(){if("none"!=fk.facet_header_bg)return"full"==fk.facet_header_bg?w:this.parentNode.__title_width__+2*Y}function nt(){var t=this.getBBox().width,e=parseFloat(this.getAttribute("font-size")),n=gk.remToPx(fk.facet_header_font_size);this.parentNode.__title_width__=t*n/e}Z.transition().duration(n?0:fk.data_trans_duration).attr("transform",pz).attr("opacity",1),Z.select(".facet-title").text(function(t){return t.name}).transition().duration(n?0:fk.data_trans_duration).attr("font-size",gk.remToPx(fk.facet_header_font_size)+"px").attr("clip-path",function(t,e){return"url(#facet-clip-"+e+")"}).attr("fill",J).attr("opacity",XM.length<2?0:1).attr("dx",W||"none"==fk.facet_header_bg?0:Y).attr("y",.56*-S).each(nt).attr("x",K),Z.select(".facet-title-bg").attr("clip-path",function(t,e){return"url(#facet-clip-"+e+")"}).transition().duration(n?0:fk.data_trans_duration).attr("height",S).attr("width",et).attr("fill",tt).attr("x",Q).attr("y",1.3*-S),Z.select(".facet-clip").attr("id",function(t,e){return"facet-clip-"+e}).select("rect").transition().duration(n?0:fk.data_trans_duration).attr("width",w+h+g).attr("height",S+E+k).attr("transform","translate("+-h/2+","+-(S+k/2)+")"),Z.select(".data-points").attr("clip-path",function(t,e){return"url(#facet-clip-"+e+")"}),Z.select(".data-labels").attr("clip-path",function(t,e){return"url(#facet-clip-"+e+")"}),Z.select(".annotations").attr("clip-path",function(t,e){return"url(#facet-clip-"+e+")"}),Z.select(".bg rect").style("fill","chart"==fk.bg_color_style?fk.bg_color:"none").attr("width",w).attr("height",E),Z.select(".plot").each(function(t,e){t.scales={},t.scales.w=w,t.scales.h=E,t.scales.label_type=XM.label_type,lz(this,t,e,n)}),G.exit().transition().duration(n?0:fk.data_trans_duration).attr("transform",function(){return pz(XM[XM.length-1])}).attr("opacity",0).remove(),hz(XM,n),dz(XM,n),gz=1==XM.length}var vz=fk.line_curve,yz=lM.mode,mz,bz;function xz(t){mz=dk(hk.getFormatterFunction()),bz=pk(hk.getFormatterFunction()),document.body.setAttribute("class","chart-type-"+fk.chart_type.replace(/_/g,"-")),hM();var e=t||"line"==lM.mode&&"line"===yz&&fk.line_curve!==vz;vz=fk.line_curve,yz=lM.mode,EM(),hS(),XL(),gk.update(),eN(),_z(e)}function wz(t){if(GA.stopPropagation(),fk.highlighted)Fz(),fk.highlighted=null;else{var e=this||document.getElementById(t);if(!fk.popup.show_popups)return;if(!e.getAttribute("data-type"))return;fk.highlighted=e.id,xz(!0)}}function kz(t){var e;fk.popup.show_popups&&!fk.highlighted&&Mz(this||document.getElementById(t)||document.getElementById(t+"-secondary"))}function Az(){fk.popup.show_popups&&!fk.highlighted&&Fz()}function Mz(t){fk.popup.show_popups&&(("arc"==t.getAttribute("data-type")?Pz:Lz)(t),document.querySelector("#flourish-popup-"+vk.popup.unique_id+" .flourish-popup-content").style.pointerEvents=fk.highlighted?"":"none")}function Sz(t){return(t.secondary?bz:mz)(t.value_display)}function Ez(t,e,n,r){if(void 0===t)return"";void 0===r&&(r="");var i="";return i+="<"+t+" style='"+r+"'>",i+=e?""+e+": ":"",i+=n,i+="</"+t+">"}function Tz(){return""}function Oz(){return""}function Cz(t,e,n){var r="";if(r+=Tz(),r+=Ez("h1",void 0,e,"color: "+n),e in XM.series_popup_text&&(r+=Ez("h2",null,XM.series_popup_text[e])),r+=Ez("h2",XM.labelFormat(t.label),Sz(t)),"metadata"in XM.column_names)for(var i=XM.column_names.metadata,a=0;a<i.length;a++){var o=(t.metadata||t.data.metadata)[a];o&&(r+=Ez("h2",i[a],o))}return r+=Oz(),r+=""}function Iz(){var t={};for(var e in XM.column_names)t[e]=XM.column_names[e];return t.row_values=XM.column_names.value,t.value_display="VALUE",t.label_formatted=t.label,delete t.label,t.SERIES="SERIES",t}function Lz(t){var e=t.__data__||{},n=t.parentNode.__data__,r="row"==lM.legend_type?KL(e.index):ZL(n.index),i=Cz(e,n.name,r);fk.popup.is_custom?(vk.addColumnNames(Iz()),vk.point(t).draw(e)):vk.point(t).html(i).draw()}function Nz(t){var e=t*(8/Math.PI);return e<1||15<e?["bottom","top"]:e<3?["bottomLeft","topRight"]:e<5?["left","right"]:e<7?["topLeft","bottomRight"]:e<9?["top","bottom"]:e<11?["topRight","bottomLeft"]:e<13?["right","left"]:["bottomRight","topLeft"]}function Pz(t){var e=t.__data__||{},n=t.parentNode.__data__,r=e.startAngle+(e.endAngle-e.startAngle)/2,i=t.parentNode.getBoundingClientRect(),a=t.__centroid__,o=i.left+i.width/2+a[0],s=i.top+i.height/2+a[1],c="row"===lM.legend_type?KL(e.data.label):ZL(n.index),u=Cz(e.data,n.name,c),l=vk.popup.directions();vk.directions(Nz(r)),fk.popup.is_custom?(vk.addColumnNames(Iz()),vk.point(o,s).draw(e)):vk.point(o,s).html(u).draw(),vk.directions(l)}function Fz(){vk.hide()}function Rz(){cM("body").on("click",wz),cM(gk.getSection("controls")).append("select").attr("id","series-filter").attr("multiple",!0),cM(gk.getSection("legend")).attr("id","legend");var t=cM(gk.getSection("primary")).append("svg").attr("id","graphic"),e;function n(){var t=window.innerWidth;xz(e&&t!=e),e=t}t.append("g").attr("id","facets"),t.append("g").attr("class","annotations below"),t.append("g").attr("id","areas"),t.append("g").attr("id","lines"),t.append("g").attr("id","data-points"),t.append("g").attr("id","lines-secondary"),t.append("g").attr("id","data-labels"),t.append("g").attr("class","annotations above"),vk.container(gk.getWrapper()),xz(!fk.animate_on_load||"except-data-points"),window.addEventListener("resize",n,!1)}return t.data=yk,t.draw=Rz,t.state=fk,t.update=kM,t}({}); //# sourceMappingURL=template.js.map // ]]></script> <script>// <![CDATA[ var path = document.location.href.match(/\/visualisation\/(\d+)/); if (path) { path = path[0]; (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); ga("create", "UA-44635456-19", "auto", { storage: "none" }); ga("set", "transport", "beacon"); ga("set", "dimension1", path.substr(1)); ga("set", "dimension2", new Date().toISOString()); ga("send", "pageview", path); } // ]]></script> <script src="https://public.flourish.studio/resources/v3/embedded.js"></script> <script>// <![CDATA[ function _Flourish_unflattenInto(dest, src) { dest = dest || {}; for (var k in src) { var t = dest; for (var i = k.indexOf("."), p = 0; i >= 0; i = k.indexOf(".", p = i+1)) { var s = k.substring(p, i); if (!(s in t)) t[s] = {}; t = t[s]; } t[k.substring(p)] = src[k]; } return dest; } var _Flourish_settings = {"bg_color_style":"none","chart_type":"line","color.scale_type":"categorical","height_mode":"auto","label_data_type":"categorical","labels":false,"legend_stack":false,"text_legend":"auto","y_axis_ticks_inline":false}; _Flourish_unflattenInto(window.template.state, _Flourish_settings); var _Flourish_data_column_names = {"data":{"label":"","value":["Hérault","Aude","Haute-Garonne","Gard","Aveyron","Tarn-et-Garonne","Pyrénées-Orientales","Tarn","Gers","Lot","Hautes-Pyrénées","Lozère","Ariège","",""]}}, _Flourish_data = {"data":[{"label":"27/02","value":["1","0","0","0","0","0","0","0","0","0","0","0","0","",""]},{"label":"28/02","value":["3","0","0","0","0","0","0","0","0","0","0","0","0","",""]},{"label":"29/02","value":["6","0","0","0","0","0","0","0","0","0","0","0","0","",""]},{"label":"01/03","value":["8","0","0","0","0","0","0","0","0","0","0","0","0","",""]},{"label":"02/03","value":["9","0","0","0","0","0","0","0","0","0","0","0","0","",""]},{"label":"03/03","value":["9","0","0","2","0","0","0","0","0","0","0","0","0","",""]},{"label":"04/03","value":["11","0","0","2","2","0","0","0","0","0","0","0","0","",""]},{"label":"05/03","value":["12","0","1","2","4","0","0","0","0","0","0","0","0","",""]},{"label":"06/03","value":["14","0","2","3","4","3","0","2","0","1","0","0","0","",""]},{"label":"07/03","value":["18","3","0","3","6","2","0","2","0","2","0","0","0","",""]},{"label":"08/03","value":["18","8","2","3","8","3","0","2","1","2","0","0","0","",""]},{"label":"09/03","value":["24","14","3","3","8","3","0","2","1","2","0","0","0","",""]},{"label":"10/03","value":["40","22","3","6","9","4","0","3","1","2","0","0","0","",""]},{"label":"11/03","value":["59","22","7","6","9","5","0","3","3","3","1","0","0","",""]},{"label":"12/03","value":["65","25","13","17","9","6","3","4","3","3","2","0","0","",""]},{"label":"13/03","value":["69","25","25","21","10","6","4","4","4","3","3","1","0","",""]},{"label":"14/03","value":["76","28","37","22","13","7","6","6","6","5","3","1","0","",""]},{"label":"15/03","value":["99","32","40","23","16","7","11","7","7","3","5","3","1","",""]},{"label":"16/03","value":["109","34","47","27","16","7","11","10","9","3","6","3","2","",""]},{"label":"17/03","value":["119","38","48","32","16","7","14","11","9","3","6","8","2","",""]},{"label":"18/03","value":["137","42","57","39","22","8","26","13","12","4","7","8","2","",""]},{"label":"19/03","value":["171","44","72","44","29","11","35","14","14","4","11","8","3","",""]}]}; for (var _Flourish_dataset in _Flourish_data) { window.template.data[_Flourish_dataset] = _Flourish_data[_Flourish_dataset]; window.template.data[_Flourish_dataset].column_names = _Flourish_data_column_names[_Flourish_dataset]; } window.template.draw(); // ]]></script> <script>// <![CDATA[ window.Flourish = {"static_prefix":"https://public.flourish.studio/template/1366/v11/static","environment":"live"}; // ]]></script> <script>// <![CDATA[ var template=function(t){"use strict";var i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function n(t,e){return t(e={exports:{}},e.exports),e.exports}var r=function(t){return t&&t.Math==Math&&t},L=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof i&&i)||Function("return this")(),_=function(t){try{return!!t()}catch(t){return!0}},d=!_(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),a={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,s,c,p={f:o&&!a.call({1:2},1)?function t(e){var n=o(this,e);return!!n&&n.enumerable}:a},u=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},l={}.toString,f=function(t){return l.call(t).slice(8,-1)},h="".split,b=_(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==f(t)?h.call(t,""):Object(t)}:Object,g=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},v=function(t){return b(g(t))},N=function(t){return"object"==typeof t?null!==t:"function"==typeof t},P=function(t,e){if(!N(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!N(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!N(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!N(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},y={}.hasOwnProperty,F=function(t,e){return y.call(t,e)},m=L.document,x=N(m)&&N(m.createElement),w=function(t){return x?m.createElement(t):{}},k=!d&&!_(function(){return 7!=Object.defineProperty(w("div"),"a",{get:function(){return 7}}).a}),A=Object.getOwnPropertyDescriptor,M,R={f:d?A:function t(e,n){if(e=v(e),n=P(n,!0),k)try{return A(e,n)}catch(t){}if(F(e,n))return u(!p.f.call(e,n),e[n])}},E=function(t){if(!N(t))throw TypeError(String(t)+" is not an object");return t},S=Object.defineProperty,T,j={f:d?S:function t(e,n,r){if(E(e),n=P(n,!0),E(r),k)try{return S(e,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[n]=r.value),e}},z=d?function(t,e,n){return j.f(t,e,u(1,n))}:function(t,e,n){return t[e]=n,t},O=function(e,n){try{z(L,e,n)}catch(t){L[e]=n}return n},C="__core-js_shared__",I,D=L[C]||O(C,{}),U=Function.toString;"function"!=typeof D.inspectSource&&(D.inspectSource=function(t){return U.call(t)});var q=D.inspectSource,B=L.WeakMap,H="function"==typeof B&&/native code/.test(q(B)),V=!1,Y=n(function(t){(t.exports=function(t,e){return D[t]||(D[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.4",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})}),W=0,G=Math.random(),$=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++W+G).toString(36)},X=Y("keys"),Z=function(t){return X[t]||(X[t]=$(t))},K={},Q=L.WeakMap,J,tt,et,nt=function(t){return et(t)?tt(t):J(t,{})},rt=function(n){return function(t){var e;if(!N(t)||(e=tt(t)).type!==n)throw TypeError("Incompatible receiver, "+n+" required");return e}};if(H){var it=new Q,at=it.get,ot=it.has,st=it.set;J=function(t,e){return st.call(it,t,e),e},tt=function(t){return at.call(it,t)||{}},et=function(t){return ot.call(it,t)}}else{var ct=Z("state");K[ct]=!0,J=function(t,e){return z(t,ct,e),e},tt=function(t){return F(t,ct)?t[ct]:{}},et=function(t){return F(t,ct)}}var ut={set:J,get:tt,has:et,enforce:nt,getterFor:rt},lt=n(function(t){var e=ut.get,s=ut.enforce,c=String(String).split("String");(t.exports=function(t,e,n,r){var i=!!r&&!!r.unsafe,a=!!r&&!!r.enumerable,o=!!r&&!!r.noTargetGet;"function"==typeof n&&("string"!=typeof e||F(n,"name")||z(n,"name",e),s(n).source=c.join("string"==typeof e?e:"")),t!==L?(i?!o&&t[e]&&(a=!0):delete t[e],a?t[e]=n:z(t,e,n)):a?t[e]=n:O(e,n)})(Function.prototype,"toString",function t(){return"function"==typeof this&&e(this).source||q(this)})}),ft=L,ht=function(t){return"function"==typeof t?t:void 0},dt=function(t,e){return arguments.length<2?ht(ft[t])||ht(L[t]):ft[t]&&ft[t][e]||L[t]&&L[t][e]},pt=Math.ceil,gt=Math.floor,_t=function(t){return isNaN(t=+t)?0:(0<t?gt:pt)(t)},vt=Math.min,yt=function(t){return 0<t?vt(_t(t),9007199254740991):0},mt=Math.max,bt=Math.min,xt=function(t,e){var n=_t(t);return n<0?mt(n+e,0):bt(n,e)},wt=function(s){return function(t,e,n){var r=v(t),i=yt(r.length),a=xt(n,i),o;if(s&&e!=e){for(;a<i;)if((o=r[a++])!=o)return!0}else for(;a<i;a++)if((s||a in r)&&r[a]===e)return s||a||0;return!s&&-1}},kt={includes:wt(!0),indexOf:wt(!1)},At=kt.indexOf,Mt=function(t,e){var n=v(t),r=0,i=[],a;for(a in n)!F(K,a)&&F(n,a)&&i.push(a);for(;e.length>r;)F(n,a=e[r++])&&(~At(i,a)||i.push(a));return i},St=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Et=St.concat("length","prototype"),Tt,Ot={f:Object.getOwnPropertyNames||function t(e){return Mt(e,Et)}},Ct,It={f:Object.getOwnPropertySymbols},Lt=dt("Reflect","ownKeys")||function t(e){var n=Ot.f(E(e)),r=It.f;return r?n.concat(r(e)):n},Nt=function(t,e){for(var n=Lt(e),r=j.f,i=R.f,a=0;a<n.length;a++){var o=n[a];F(t,o)||r(t,o,i(e,o))}},Pt=/#|\.prototype\./,Ft=function(t,e){var n=jt[Rt(t)];return n==Dt||n!=zt&&("function"==typeof e?_(e):!!e)},Rt=Ft.normalize=function(t){return String(t).replace(Pt,".").toLowerCase()},jt=Ft.data={},zt=Ft.NATIVE="N",Dt=Ft.POLYFILL="P",Ut=Ft,qt=R.f,Bt=function(t,e){var n=t.target,r=t.global,i=t.stat,a,o,s,c,u,l;if(o=r?L:i?L[n]||O(n,{}):(L[n]||{}).prototype)for(s in e){if(u=e[s],c=t.noTargetGet?(l=qt(o,s))&&l.value:o[s],!(a=Ut(r?s:n+(i?".":"#")+s,t.forced))&&void 0!==c){if(typeof u==typeof c)continue;Nt(u,c)}(t.sham||c&&c.sham)&&z(u,"sham",!0),lt(o,s,u,t)}},Ht=!!Object.getOwnPropertySymbols&&!_(function(){return!String(Symbol())}),Vt=Ht&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Yt=Array.isArray||function t(e){return"Array"==f(e)},Wt=function(t){return Object(g(t))},Gt=Object.keys||function t(e){return Mt(e,St)},$t=d?Object.defineProperties:function t(e,n){E(e);for(var r=Gt(n),i=r.length,a=0,o;a<i;)j.f(e,o=r[a++],n[o]);return e},Xt=dt("document","documentElement"),Zt=">",Kt="<",Qt="prototype",Jt="script",te=Z("IE_PROTO"),ee=function(){},ne=function(t){return Kt+Jt+Zt+t+Kt+"/"+Jt+Zt},re=function(t){t.write(ne("")),t.close();var e=t.parentWindow.Object;return t=null,e},ie=function(){var t=w("iframe"),e="javascript:",n;return t.style.display="none",Xt.appendChild(t),t.src=String(e),(n=t.contentWindow.document).open(),n.write(ne("document.F=Object")),n.close(),n.F},ae,oe=function(){try{ae=document.domain&&new ActiveXObject("htmlfile")}catch(t){}oe=ae?re(ae):ie();for(var t=St.length;t--;)delete oe[Qt][St[t]];return oe()};K[te]=!0;var se=Object.create||function t(e,n){var r;return null!==e?(ee[Qt]=E(e),r=new ee,ee[Qt]=null,r[te]=e):r=oe(),void 0===n?r:$t(r,n)},ce=Ot.f,ue={}.toString,le="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],fe=function(t){try{return ce(t)}catch(t){return le.slice()}},he,de={f:function t(e){return le&&"[object Window]"==ue.call(e)?fe(e):ce(v(e))}},pe=Y("wks"),ge=L.Symbol,_e=Vt?ge:ge&&ge.withoutSetter||$,ve=function(t){return F(pe,t)||(Ht&&F(ge,t)?pe[t]=ge[t]:pe[t]=_e("Symbol."+t)),pe[t]},ye,me={f:ve},be=j.f,xe=function(t){var e=ft.Symbol||(ft.Symbol={});F(e,t)||be(e,t,{value:me.f(t)})},we=j.f,ke=ve("toStringTag"),Ae=function(t,e,n){t&&!F(t=n?t:t.prototype,ke)&&we(t,ke,{configurable:!0,value:e})},Me=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},Se=function(r,i,t){if(Me(r),void 0===i)return r;switch(t){case 0:return function(){return r.call(i)};case 1:return function(t){return r.call(i,t)};case 2:return function(t,e){return r.call(i,t,e)};case 3:return function(t,e,n){return r.call(i,t,e,n)}}return function(){return r.apply(i,arguments)}},Ee=ve("species"),Te=function(t,e){var n;return Yt(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!Yt(n.prototype)?N(n)&&null===(n=n[Ee])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)},Oe=[].push,Ce=function(d){var p=1==d,g=2==d,_=3==d,v=4==d,y=6==d,m=5==d||y;return function(t,e,n,r){for(var i=Wt(t),a=b(i),o=Se(e,n,3),s=yt(a.length),c=0,u=r||Te,l=p?u(t,s):g?u(t,0):void 0,f,h;c<s;c++)if((m||c in a)&&(h=o(f=a[c],c,i),d))if(p)l[c]=h;else if(h)switch(d){case 3:return!0;case 5:return f;case 6:return c;case 2:Oe.call(l,f)}else if(v)return!1;return y?-1:_||v?v:l}},Ie={forEach:Ce(0),map:Ce(1),filter:Ce(2),some:Ce(3),every:Ce(4),find:Ce(5),findIndex:Ce(6)},Le=Ie.forEach,Ne=Z("hidden"),Pe="Symbol",Fe="prototype",Re=ve("toPrimitive"),je=ut.set,ze=ut.getterFor(Pe),De=Object[Fe],Ue=L.Symbol,qe=dt("JSON","stringify"),Be=R.f,He=j.f,Ve=de.f,Ye=p.f,We=Y("symbols"),Ge=Y("op-symbols"),$e=Y("string-to-symbol-registry"),Xe=Y("symbol-to-string-registry"),Ze=Y("wks"),Ke=L.QObject,Qe=!Ke||!Ke[Fe]||!Ke[Fe].findChild,Je=d&&_(function(){return 7!=se(He({},"a",{get:function(){return He(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=Be(De,e);r&&delete De[e],He(t,e,n),r&&t!==De&&He(De,e,r)}:He,tn=function(t,e){var n=We[t]=se(Ue[Fe]);return je(n,{type:Pe,tag:t,description:e}),d||(n.description=e),n},en=Vt?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof Ue},nn=function t(e,n,r){e===De&&nn(Ge,n,r),E(e);var i=P(n,!0);return E(r),F(We,i)?(r.enumerable?(F(e,Ne)&&e[Ne][i]&&(e[Ne][i]=!1),r=se(r,{enumerable:u(0,!1)})):(F(e,Ne)||He(e,Ne,u(1,{})),e[Ne][i]=!0),Je(e,i,r)):He(e,i,r)},rn=function t(e,n){E(e);var r=v(n),i=Gt(r).concat(un(r));return Le(i,function(t){d&&!on.call(r,t)||nn(e,t,r[t])}),e},an=function t(e,n){return void 0===n?se(e):rn(se(e),n)},on=function t(e){var n=P(e,!0),r=Ye.call(this,n);return!(this===De&&F(We,n)&&!F(Ge,n))&&(!(r||!F(this,n)||!F(We,n)||F(this,Ne)&&this[Ne][n])||r)},sn=function t(e,n){var r=v(e),i=P(n,!0);if(r!==De||!F(We,i)||F(Ge,i)){var a=Be(r,i);return!a||!F(We,i)||F(r,Ne)&&r[Ne][i]||(a.enumerable=!0),a}},cn=function t(e){var n=Ve(v(e)),r=[];return Le(n,function(t){F(We,t)||F(K,t)||r.push(t)}),r},un=function t(e){var n=e===De,r=Ve(n?Ge:v(e)),i=[];return Le(r,function(t){!F(We,t)||n&&!F(De,t)||i.push(We[t])}),i};if(Ht||(lt((Ue=function t(e){if(this instanceof Ue)throw TypeError("Symbol is not a constructor");var n=arguments.length&&void 0!==e?String(e):void 0,r=$(n),i=function(t){this===De&&i.call(Ge,t),F(this,Ne)&&F(this[Ne],r)&&(this[Ne][r]=!1),Je(this,r,u(1,t))};return d&&Qe&&Je(De,r,{configurable:!0,set:i}),tn(r,n)})[Fe],"toString",function t(){return ze(this).tag}),lt(Ue,"withoutSetter",function(t){return tn($(t),t)}),p.f=on,j.f=nn,R.f=sn,Ot.f=de.f=cn,It.f=un,me.f=function(t){return tn(ve(t),t)},d&&(He(Ue[Fe],"description",{configurable:!0,get:function t(){return ze(this).description}}),lt(De,"propertyIsEnumerable",on,{unsafe:!0}))),Bt({global:!0,wrap:!0,forced:!Ht,sham:!Ht},{Symbol:Ue}),Le(Gt(Ze),function(t){xe(t)}),Bt({target:Pe,stat:!0,forced:!Ht},{for:function(t){var e=String(t);if(F($e,e))return $e[e];var n=Ue(e);return $e[e]=n,Xe[n]=e,n},keyFor:function t(e){if(!en(e))throw TypeError(e+" is not a symbol");if(F(Xe,e))return Xe[e]},useSetter:function(){Qe=!0},useSimple:function(){Qe=!1}}),Bt({target:"Object",stat:!0,forced:!Ht,sham:!d},{create:an,defineProperty:nn,defineProperties:rn,getOwnPropertyDescriptor:sn}),Bt({target:"Object",stat:!0,forced:!Ht},{getOwnPropertyNames:cn,getOwnPropertySymbols:un}),Bt({target:"Object",stat:!0,forced:_(function(){It.f(1)})},{getOwnPropertySymbols:function t(e){return It.f(Wt(e))}}),qe){var ln=!Ht||_(function(){var t=Ue();return"[null]"!=qe([t])||"{}"!=qe({a:t})||"{}"!=qe(Object(t))});Bt({target:"JSON",stat:!0,forced:ln},{stringify:function t(e,n,r){for(var i=[e],a=1,o;a<arguments.length;)i.push(arguments[a++]);if((N(o=n)||void 0!==e)&&!en(e))return Yt(n)||(n=function(t,e){if("function"==typeof o&&(e=o.call(this,t,e)),!en(e))return e}),i[1]=n,qe.apply(null,i)}})}Ue[Fe][Re]||z(Ue[Fe],Re,Ue[Fe].valueOf),Ae(Ue,Pe),K[Ne]=!0,xe("asyncIterator");var fn=j.f,hn=L.Symbol;if(!(!d||"function"!=typeof hn||"description"in hn.prototype&&void 0===hn().description)){var dn={},pn=function t(e){var n=arguments.length<1||void 0===e?void 0:String(e),r=this instanceof pn?new hn(n):void 0===n?hn():hn(n);return""===n&&(dn[r]=!0),r};Nt(pn,hn);var gn=pn.prototype=hn.prototype;gn.constructor=pn;var _n=gn.toString,vn="Symbol(test)"==String(hn("test")),yn=/^Symbol\((.*)\)[^)]+$/;fn(gn,"description",{configurable:!0,get:function t(){var e=N(this)?this.valueOf():this,n=_n.call(e);if(F(dn,e))return"";var r=vn?n.slice(7,-1):n.replace(yn,"$1");return""===r?void 0:r}}),Bt({global:!0,forced:!0},{Symbol:pn})}xe("hasInstance"),xe("isConcatSpreadable"),xe("iterator"),xe("match"),xe("matchAll"),xe("replace"),xe("search"),xe("species"),xe("split"),xe("toPrimitive"),xe("toStringTag"),xe("unscopables");var mn=Object.assign,bn=Object.defineProperty,xn=!mn||_(function(){if(d&&1!==mn({b:1},mn(bn({},"a",{enumerable:!0,get:function(){bn(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return 1;var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=mn({},t)[n]||Gt(mn({},e)).join("")!=r})?function t(e,n){for(var r=Wt(e),i=arguments.length,a=1,o=It.f,s=p.f;a<i;)for(var c=b(arguments[a++]),u=o?Gt(c).concat(o(c)):Gt(c),l=u.length,f=0,h;f<l;)h=u[f++],d&&!s.call(c,h)||(r[h]=c[h]);return r}:mn;Bt({target:"Object",stat:!0,forced:Object.assign!==xn},{assign:xn}),Bt({target:"Object",stat:!0,sham:!d},{create:se}),Bt({target:"Object",stat:!0,forced:!d,sham:!d},{defineProperty:j.f}),Bt({target:"Object",stat:!0,forced:!d,sham:!d},{defineProperties:$t});var wn=p.f,kn=function(s){return function(t){for(var e=v(t),n=Gt(e),r=n.length,i=0,a=[],o;i<r;)o=n[i++],d&&!wn.call(e,o)||a.push(s?[o,e[o]]:e[o]);return a}},An={entries:kn(!0),values:kn(!1)},Mn=An.entries;Bt({target:"Object",stat:!0},{entries:function t(e){return Mn(e)}});var Sn=!_(function(){return Object.isExtensible(Object.preventExtensions({}))}),En=n(function(t){var e=j.f,n=$("meta"),r=0,i=Object.isExtensible||function(){return!0},a=function(t){e(t,n,{value:{objectID:"O"+ ++r,weakData:{}}})},o=function(t,e){if(!N(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!F(t,n)){if(!i(t))return"F";if(!e)return"E";a(t)}return t[n].objectID},s=function(t,e){if(!F(t,n)){if(!i(t))return!0;if(!e)return!1;a(t)}return t[n].weakData},c=function(t){return Sn&&u.REQUIRED&&i(t)&&!F(t,n)&&a(t),t},u=t.exports={REQUIRED:!1,fastKey:o,getWeakData:s,onFreeze:c};K[n]=!0}),Tn=En.REQUIRED,On=En.fastKey,Cn=En.getWeakData,In=En.onFreeze,Ln=En.onFreeze,Nn=Object.freeze,Pn=_(function(){Nn(1)});Bt({target:"Object",stat:!0,forced:Pn,sham:!Sn},{freeze:function t(e){return Nn&&N(e)?Nn(Ln(e)):e}});var Fn={},Rn=ve("iterator"),jn=Array.prototype,zn=function(t){return void 0!==t&&(Fn.Array===t||jn[Rn]===t)},Dn,Un={};Un[ve("toStringTag")]="z";var qn="[object z]"===String(Un),Bn=ve("toStringTag"),Hn="Arguments"==f(function(){return arguments}()),Vn=function(t,e){try{return t[e]}catch(t){}},Yn=qn?f:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=Vn(e=Object(t),Bn))?n:Hn?f(e):"Object"==(r=f(e))&&"function"==typeof e.callee?"Arguments":r},Wn=ve("iterator"),Gn=function(t){if(null!=t)return t[Wn]||t["@@iterator"]||Fn[Yn(t)]},$n=function(e,t,n,r){try{return r?t(E(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&E(i.call(e)),t}},Xn=n(function(t){var d=function(t,e){this.stopped=t,this.result=e},e;(t.exports=function(t,e,n,r,i){var a=Se(e,n,r?2:1),o,s,c,u,l,f,h;if(i)o=t;else{if("function"!=typeof(s=Gn(t)))throw TypeError("Target is not iterable");if(zn(s)){for(c=0,u=yt(t.length);c<u;c++)if((l=r?a(E(h=t[c])[0],h[1]):a(t[c]))&&l instanceof d)return l;return new d(!1)}o=s.call(t)}for(f=o.next;!(h=f.call(o)).done;)if("object"==typeof(l=$n(o,a,h.value,r))&&l&&l instanceof d)return l;return new d(!1)}).stop=function(t){return new d(!0,t)}}),Zn=function(t,e,n){var r=P(e);r in t?j.f(t,r,u(0,n)):t[r]=n};Bt({target:"Object",stat:!0},{fromEntries:function t(e){var n={};return Xn(e,function(t,e){Zn(n,t,e)},void 0,!0),n}});var Kn=R.f,Qn=_(function(){Kn(1)}),Jn;Bt({target:"Object",stat:!0,forced:!d||Qn,sham:!d},{getOwnPropertyDescriptor:function t(e,n){return Kn(v(e),n)}}),Bt({target:"Object",stat:!0,sham:!d},{getOwnPropertyDescriptors:function t(e){for(var n=v(e),r=R.f,i=Lt(n),a={},o=0,s,c;i.length>o;)void 0!==(c=r(n,s=i[o++]))&&Zn(a,s,c);return a}});var tr=de.f,er=_(function(){return!Object.getOwnPropertyNames(1)});Bt({target:"Object",stat:!0,forced:er},{getOwnPropertyNames:tr});var nr=!_(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),rr=Z("IE_PROTO"),ir=Object.prototype,ar=nr?Object.getPrototypeOf:function(t){return t=Wt(t),F(t,rr)?t[rr]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?ir:null},or=_(function(){ar(1)});Bt({target:"Object",stat:!0,forced:or,sham:!nr},{getPrototypeOf:function t(e){return ar(Wt(e))}});var sr=Object.is||function t(e,n){return e===n?0!==e||1/e==1/n:e!=e&&n!=n};Bt({target:"Object",stat:!0},{is:sr});var cr=Object.isExtensible,ur=_(function(){cr(1)});Bt({target:"Object",stat:!0,forced:ur},{isExtensible:function t(e){return!!N(e)&&(!cr||cr(e))}});var lr=Object.isFrozen,fr=_(function(){lr(1)});Bt({target:"Object",stat:!0,forced:fr},{isFrozen:function t(e){return!N(e)||!!lr&&lr(e)}});var hr=Object.isSealed,dr=_(function(){hr(1)});Bt({target:"Object",stat:!0,forced:dr},{isSealed:function t(e){return!N(e)||!!hr&&hr(e)}});var pr=_(function(){Gt(1)});Bt({target:"Object",stat:!0,forced:pr},{keys:function t(e){return Gt(Wt(e))}});var gr=En.onFreeze,_r=Object.preventExtensions,vr=_(function(){_r(1)});Bt({target:"Object",stat:!0,forced:vr,sham:!Sn},{preventExtensions:function t(e){return _r&&N(e)?_r(gr(e)):e}});var yr=En.onFreeze,mr=Object.seal,br=_(function(){mr(1)});Bt({target:"Object",stat:!0,forced:br,sham:!Sn},{seal:function t(e){return mr&&N(e)?mr(yr(e)):e}});var xr=function(t){if(!N(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t},wr=Object.setPrototypeOf||("__proto__"in{}?function(){var r=!1,t={},i;try{(i=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(t,[]),r=t instanceof Array}catch(t){}return function t(e,n){return E(e),xr(n),r?i.call(e,n):e.__proto__=n,e}}():void 0);Bt({target:"Object",stat:!0},{setPrototypeOf:wr});var kr=An.values;Bt({target:"Object",stat:!0},{values:function t(e){return kr(e)}});var Ar=qn?{}.toString:function t(){return"[object "+Yn(this)+"]"};qn||lt(Object.prototype,"toString",Ar,{unsafe:!0});var Mr=!_(function(){var t=Math.random();__defineSetter__.call(null,t,function(){}),delete L[t]});d&&Bt({target:"Object",proto:!0,forced:Mr},{__defineGetter__:function t(e,n){j.f(Wt(this),e,{get:Me(n),enumerable:!0,configurable:!0})}}),d&&Bt({target:"Object",proto:!0,forced:Mr},{__defineSetter__:function t(e,n){j.f(Wt(this),e,{set:Me(n),enumerable:!0,configurable:!0})}});var Sr=R.f;d&&Bt({target:"Object",proto:!0,forced:Mr},{__lookupGetter__:function t(e){var n=Wt(this),r=P(e,!0),i;do{if(i=Sr(n,r))return i.get}while(n=ar(n))}});var Er=R.f;d&&Bt({target:"Object",proto:!0,forced:Mr},{__lookupSetter__:function t(e){var n=Wt(this),r=P(e,!0),i;do{if(i=Er(n,r))return i.set}while(n=ar(n))}});var Tr=[].slice,Or={},Cr=function(t,e,n){if(!(e in Or)){for(var r=[],i=0;i<e;i++)r[i]="a["+i+"]";Or[e]=Function("C,a","return new C("+r.join(",")+")")}return Or[e](t,n)},Ir=Function.bind||function t(n){var r=Me(this),i=Tr.call(arguments,1),a=function t(){var e=i.concat(Tr.call(arguments));return this instanceof a?Cr(r,e.length,e):r.apply(n,e)};return N(r.prototype)&&(a.prototype=r.prototype),a};Bt({target:"Function",proto:!0},{bind:Ir});var Lr=j.f,Nr=Function.prototype,Pr=Nr.toString,Fr=/^\s*function ([^ (]*)/,Rr="name";!d||Rr in Nr||Lr(Nr,Rr,{configurable:!0,get:function(){try{return Pr.call(this).match(Fr)[1]}catch(t){return""}}});var jr=ve("hasInstance"),zr=Function.prototype;jr in zr||j.f(zr,jr,{value:function(t){if("function"!=typeof this||!N(t))return!1;if(!N(this.prototype))return t instanceof this;for(;t=ar(t);)if(this.prototype===t)return!0;return!1}}),Bt({global:!0},{globalThis:L});var Dr=function t(e,n,r){var i=Wt(e),a="function"==typeof this?this:Array,o=arguments.length,s=1<o?n:void 0,c=void 0!==s,u=Gn(i),l=0,f,h,d,p,g,_;if(c&&(s=Se(s,2<o?r:void 0,2)),null==u||a==Array&&zn(u))for(h=new a(f=yt(i.length));l<f;l++)_=c?s(i[l],l):i[l],Zn(h,l,_);else for(g=(p=u.call(i)).next,h=new a;!(d=g.call(p)).done;l++)_=c?$n(p,s,[d.value,l],!0):d.value,Zn(h,l,_);return h.length=l,h},Ur=ve("iterator"),qr=!1;try{var Br=0,Hr={next:function(){return{done:!!Br++}},return:function(){qr=!0}};Hr[Ur]=function(){return this},Array.from(Hr,function(){throw 2})}catch(t){}var Vr=function(t,e){if(!e&&!qr)return!1;var n=!1;try{var r={};r[Ur]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(t){}return n},Yr=!Vr(function(t){Array.from(t)});Bt({target:"Array",stat:!0,forced:Yr},{from:Dr}),Bt({target:"Array",stat:!0},{isArray:Yt});var Wr=_(function(){function t(){}return!(Array.of.call(t)instanceof t)});Bt({target:"Array",stat:!0,forced:Wr},{of:function t(){for(var e=0,n=arguments.length,r=new("function"==typeof this?this:Array)(n);e<n;)Zn(r,e,arguments[e++]);return r.length=n,r}});var Gr=dt("navigator","userAgent")||"",$r=L.process,Xr=$r&&$r.versions,Zr=Xr&&Xr.v8,Kr,Qr;Zr?Qr=(Kr=Zr.split("."))[0]+Kr[1]:Gr&&(!(Kr=Gr.match(/Edge\/(\d+)/))||74<=Kr[1])&&(Kr=Gr.match(/Chrome\/(\d+)/))&&(Qr=Kr[1]);var Jr=Qr&&+Qr,ti=ve("species"),ei=function(n){return 51<=Jr||!_(function(){var t=[],e;return(t.constructor={})[ti]=function(){return{foo:1}},1!==t[n](Boolean).foo})},ni=ve("isConcatSpreadable"),ri=9007199254740991,ii="Maximum allowed index exceeded",ai=51<=Jr||!_(function(){var t=[];return t[ni]=!1,t.concat()[0]!==t}),oi=ei("concat"),si=function(t){if(!N(t))return!1;var e=t[ni];return void 0!==e?!!e:Yt(t)},ci;Bt({target:"Array",proto:!0,forced:!ai||!oi},{concat:function t(e){var n=Wt(this),r=Te(n,0),i=0,a,o,s,c,u;for(a=-1,s=arguments.length;a<s;a++)if(si(u=-1===a?n:arguments[a])){if(c=yt(u.length),ri<i+c)throw TypeError(ii);for(o=0;o<c;o++,i++)o in u&&Zn(r,i,u[o])}else{if(ri<=i)throw TypeError(ii);Zn(r,i++,u)}return r.length=i,r}});var ui=Math.min,li=[].copyWithin||function t(e,n,r){var i=Wt(this),a=yt(i.length),o=xt(e,a),s=xt(n,a),c=2<arguments.length?r:void 0,u=ui((void 0===c?a:xt(c,a))-s,a-o),l=1;for(s<o&&o<s+u&&(l=-1,s+=u-1,o+=u-1);0<u--;)s in i?i[o]=i[s]:delete i[o],o+=l,s+=l;return i},fi=ve("unscopables"),hi=Array.prototype;null==hi[fi]&&j.f(hi,fi,{configurable:!0,value:se(null)});var di=function(t){hi[fi][t]=!0};Bt({target:"Array",proto:!0},{copyWithin:li}),di("copyWithin");var pi=function(t,e){var n=[][t];return!!n&&_(function(){n.call(null,e||function(){throw 1},1)})},gi=Object.defineProperty,_i={},vi=function(t){throw t},yi=function(t,e){if(F(_i,t))return _i[t];var n=[][t],r=!!F(e=e||{},"ACCESSORS")&&e.ACCESSORS,i=F(e,0)?e[0]:vi,a=F(e,1)?e[1]:void 0;return _i[t]=!!n&&!_(function(){if(r&&!d)return 1;var t={length:-1};r?gi(t,1,{enumerable:!0,get:vi}):t[1]=1,n.call(t,i,a)})},mi=Ie.every,bi=pi("every"),xi=yi("every");Bt({target:"Array",proto:!0,forced:!bi||!xi},{every:function t(e,n){return mi(this,e,1<arguments.length?n:void 0)}});var wi=function t(e,n,r){for(var i=Wt(this),a=yt(i.length),o=arguments.length,s=xt(1<o?n:void 0,a),c=2<o?r:void 0,u=void 0===c?a:xt(c,a);s<u;)i[s++]=e;return i};Bt({target:"Array",proto:!0},{fill:wi}),di("fill");var ki=Ie.filter,Ai=ei("filter"),Mi=yi("filter");Bt({target:"Array",proto:!0,forced:!Ai||!Mi},{filter:function t(e,n){return ki(this,e,1<arguments.length?n:void 0)}});var Si=Ie.find,Ei="find",Ti=!0,Oi=yi(Ei);Ei in[]&&Array(1)[Ei](function(){Ti=!1}),Bt({target:"Array",proto:!0,forced:Ti||!Oi},{find:function t(e,n){return Si(this,e,1<arguments.length?n:void 0)}}),di(Ei);var Ci=Ie.findIndex,Ii="findIndex",Li=!0,Ni=yi(Ii);Ii in[]&&Array(1)[Ii](function(){Li=!1}),Bt({target:"Array",proto:!0,forced:Li||!Ni},{findIndex:function t(e,n){return Ci(this,e,1<arguments.length?n:void 0)}}),di(Ii);var Pi=function(t,e,n,r,i,a,o,s){for(var c=i,u=0,l=!!o&&Se(o,s,3),f;u<r;){if(u in n){if(f=l?l(n[u],u,e):n[u],0<a&&Yt(f))c=Pi(t,e,f,yt(f.length),c,a-1)-1;else{if(9007199254740991<=c)throw TypeError("Exceed the acceptable array length");t[c]=f}c++}u++}return c},Fi=Pi;Bt({target:"Array",proto:!0},{flat:function t(e){var n=arguments.length?e:void 0,r=Wt(this),i=yt(r.length),a=Te(r,0);return a.length=Fi(a,r,r,i,0,void 0===n?1:_t(n)),a}}),Bt({target:"Array",proto:!0},{flatMap:function t(e,n){var r=Wt(this),i=yt(r.length),a;return Me(e),(a=Te(r,0)).length=Fi(a,r,r,i,0,1,e,1<arguments.length?n:void 0),a}});var Ri=Ie.forEach,ji=pi("forEach"),zi=yi("forEach"),Di=ji&&zi?[].forEach:function t(e,n){return Ri(this,e,1<arguments.length?n:void 0)};Bt({target:"Array",proto:!0,forced:[].forEach!=Di},{forEach:Di});var Ui=kt.includes,qi=yi("indexOf",{ACCESSORS:!0,1:0});Bt({target:"Array",proto:!0,forced:!qi},{includes:function t(e,n){return Ui(this,e,1<arguments.length?n:void 0)}}),di("includes");var Bi=kt.indexOf,Hi=[].indexOf,Vi=!!Hi&&1/[1].indexOf(1,-0)<0,Yi=pi("indexOf"),Wi=yi("indexOf",{ACCESSORS:!0,1:0});Bt({target:"Array",proto:!0,forced:Vi||!Yi||!Wi},{indexOf:function t(e,n){return Vi?Hi.apply(this,arguments)||0:Bi(this,e,1<arguments.length?n:void 0)}});var Gi=[].join,$i=b!=Object,Xi=pi("join",",");Bt({target:"Array",proto:!0,forced:$i||!Xi},{join:function t(e){return Gi.call(v(this),void 0===e?",":e)}});var Zi=Math.min,Ki=[].lastIndexOf,Qi=!!Ki&&1/[1].lastIndexOf(1,-0)<0,Ji=pi("lastIndexOf"),ta=yi("indexOf",{ACCESSORS:!0,1:0}),ea,na=Qi||!Ji||!ta?function t(e,n){if(Qi)return Ki.apply(this,arguments)||0;var r=v(this),i=yt(r.length),a=i-1;for(1<arguments.length&&(a=Zi(a,_t(n))),a<0&&(a=i+a);0<=a;a--)if(a in r&&r[a]===e)return a||0;return-1}:Ki;Bt({target:"Array",proto:!0,forced:na!==[].lastIndexOf},{lastIndexOf:na});var ra=Ie.map,ia=ei("map"),aa=yi("map");Bt({target:"Array",proto:!0,forced:!ia||!aa},{map:function t(e,n){return ra(this,e,1<arguments.length?n:void 0)}});var oa=function(u){return function(t,e,n,r){Me(e);var i=Wt(t),a=b(i),o=yt(i.length),s=u?o-1:0,c=u?-1:1;if(n<2)for(;;){if(s in a){r=a[s],s+=c;break}if(s+=c,u?s<0:o<=s)throw TypeError("Reduce of empty array with no initial value")}for(;u?0<=s:s<o;s+=c)s in a&&(r=e(r,a[s],s,i));return r}},sa={left:oa(!1),right:oa(!0)},ca=sa.left,ua=pi("reduce"),la=yi("reduce",{1:0});Bt({target:"Array",proto:!0,forced:!ua||!la},{reduce:function t(e,n){return ca(this,e,arguments.length,1<arguments.length?n:void 0)}});var fa=sa.right,ha=pi("reduceRight"),da=yi("reduce",{1:0});Bt({target:"Array",proto:!0,forced:!ha||!da},{reduceRight:function t(e,n){return fa(this,e,arguments.length,1<arguments.length?n:void 0)}});var pa=[].reverse,ga=[1,2];Bt({target:"Array",proto:!0,forced:String(ga)===String(ga.reverse())},{reverse:function t(){return Yt(this)&&(this.length=this.length),pa.call(this)}});var _a=ei("slice"),va=yi("slice",{ACCESSORS:!0,0:0,1:2}),ya=ve("species"),ma=[].slice,ba=Math.max;Bt({target:"Array",proto:!0,forced:!_a||!va},{slice:function t(e,n){var r=v(this),i=yt(r.length),a=xt(e,i),o=xt(void 0===n?i:n,i),s,c,u;if(Yt(r)&&("function"!=typeof(s=r.constructor)||s!==Array&&!Yt(s.prototype)?N(s)&&null===(s=s[ya])&&(s=void 0):s=void 0,s===Array||void 0===s))return ma.call(r,a,o);for(c=new(void 0===s?Array:s)(ba(o-a,0)),u=0;a<o;a++,u++)a in r&&Zn(c,u,r[a]);return c.length=u,c}});var xa=Ie.some,wa=pi("some"),ka=yi("some");Bt({target:"Array",proto:!0,forced:!wa||!ka},{some:function t(e,n){return xa(this,e,1<arguments.length?n:void 0)}});var Aa=[],Ma=Aa.sort,Sa=_(function(){Aa.sort(void 0)}),Ea=_(function(){Aa.sort(null)}),Ta=pi("sort"),Oa;Bt({target:"Array",proto:!0,forced:Sa||!Ea||!Ta},{sort:function t(e){return void 0===e?Ma.call(Wt(this)):Ma.call(Wt(this),Me(e))}});var Ca=ei("splice"),Ia=yi("splice",{ACCESSORS:!0,0:0,1:2}),La=Math.max,Na=Math.min,Pa=9007199254740991,Fa="Maximum allowed length exceeded";Bt({target:"Array",proto:!0,forced:!Ca||!Ia},{splice:function t(e,n){var r=Wt(this),i=yt(r.length),a=xt(e,i),o=arguments.length,s,c,u,l,f,h;if(0===o?s=c=0:c=1===o?(s=0,i-a):(s=o-2,Na(La(_t(n),0),i-a)),Pa<i+s-c)throw TypeError(Fa);for(u=Te(r,c),l=0;l<c;l++)(f=a+l)in r&&Zn(u,l,r[f]);if(s<(u.length=c)){for(l=a;l<i-c;l++)h=l+s,(f=l+c)in r?r[h]=r[f]:delete r[h];for(l=i;i-c+s<l;l--)delete r[l-1]}else if(c<s)for(l=i-c;a<l;l--)h=l+s-1,(f=l+c-1)in r?r[h]=r[f]:delete r[h];for(l=0;l<s;l++)r[l+a]=arguments[l+2];return r.length=i-c+s,u}});var Ra=ve("species"),ja=function(t){var e=dt(t),n=j.f;d&&e&&!e[Ra]&&n(e,Ra,{configurable:!0,get:function(){return this}})};ja("Array"),di("flat"),di("flatMap");var za=ve("iterator"),Da=!1,Ua=function(){return this},qa,Ba,Ha;[].keys&&("next"in(Ha=[].keys())?(Ba=ar(ar(Ha)))!==Object.prototype&&(qa=Ba):Da=!0),null==qa&&(qa={}),F(qa,za)||z(qa,za,Ua);var Va={IteratorPrototype:qa,BUGGY_SAFARI_ITERATORS:Da},Ya=Va.IteratorPrototype,Wa=function(){return this},Ga=function(t,e,n){var r=e+" Iterator";return t.prototype=se(Ya,{next:u(1,n)}),Ae(t,r,!1),Fn[r]=Wa,t},$a=Va.IteratorPrototype,Xa=Va.BUGGY_SAFARI_ITERATORS,Za=ve("iterator"),Ka="keys",Qa="values",Ja="entries",to=function(){return this},eo=function(t,e,n,r,i,a,o){Ga(n,e,r);var s=function(e){if(e===i&&h)return h;if(!Xa&&e in l)return l[e];switch(e){case Ka:return function t(){return new n(this,e)};case Qa:return function t(){return new n(this,e)};case Ja:return function t(){return new n(this,e)}}return function(){return new n(this)}},c=e+" Iterator",u=!1,l=t.prototype,f=l[Za]||l["@@iterator"]||i&&l[i],h=!Xa&&f||s(i),d="Array"==e&&l.entries||f,p,g,_;if(d&&(p=ar(d.call(new t)),$a!==Object.prototype&&p.next&&(ar(p)!==$a&&(wr?wr(p,$a):"function"!=typeof p[Za]&&z(p,Za,to)),Ae(p,c,!0))),i==Qa&&f&&f.name!==Qa&&(u=!0,h=function t(){return f.call(this)}),l[Za]!==h&&z(l,Za,h),Fn[e]=h,i)if(g={values:s(Qa),keys:a?h:s(Ka),entries:s(Ja)},o)for(_ in g)!Xa&&!u&&_ in l||lt(l,_,g[_]);else Bt({target:e,proto:!0,forced:Xa||u},g);return g},no="Array Iterator",ro=ut.set,io=ut.getterFor(no),ao=eo(Array,"Array",function(t,e){ro(this,{type:no,target:v(t),index:0,kind:e})},function(){var t=io(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?{value:t.target=void 0,done:!0}:"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}},"values");Fn.Arguments=Fn.Array,di("keys"),di("values"),di("entries");var oo=String.fromCharCode,so=String.fromCodePoint,co=!!so&&1!=so.length;Bt({target:"String",stat:!0,forced:co},{fromCodePoint:function t(e){for(var n=[],r=arguments.length,i=0,a;i<r;){if(a=+arguments[i++],xt(a,1114111)!==a)throw RangeError(a+" is not a valid code point");n.push(a<65536?oo(a):oo(55296+((a-=65536)>>10),a%1024+56320))}return n.join("")}}),Bt({target:"String",stat:!0},{raw:function t(e){for(var n=v(e.raw),r=yt(n.length),i=arguments.length,a=[],o=0;o<r;)a.push(String(n[o++])),o<i&&a.push(String(arguments[o]));return a.join("")}});var uo=function(s){return function(t,e){var n=String(g(t)),r=_t(e),i=n.length,a,o;return r<0||i<=r?s?"":void 0:(a=n.charCodeAt(r))<55296||56319<a||r+1===i||(o=n.charCodeAt(r+1))<56320||57343<o?s?n.charAt(r):a:s?n.slice(r,r+2):o-56320+(a-55296<<10)+65536}},lo={codeAt:uo(!1),charAt:uo(!0)},fo=lo.codeAt;Bt({target:"String",proto:!0},{codePointAt:function t(e){return fo(this,e)}});var ho=ve("match"),po=function(t){var e;return N(t)&&(void 0!==(e=t[ho])?!!e:"RegExp"==f(t))},go=function(t){if(po(t))throw TypeError("The method doesn't accept regular expressions");return t},_o=ve("match"),vo=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[_o]=!1,"/./"[e](n)}catch(t){}}return!1},yo=R.f,mo="".endsWith,bo=Math.min,xo=vo("endsWith"),wo=!(xo||(!(ko=yo(String.prototype,"endsWith"))||ko.writable)),ko;Bt({target:"String",proto:!0,forced:!wo&&!xo},{endsWith:function t(e,n){var r=String(g(this));go(e);var i=1<arguments.length?n:void 0,a=yt(r.length),o=void 0===i?a:bo(yt(i),a),s=String(e);return mo?mo.call(r,s,o):r.slice(o-s.length,o)===s}}),Bt({target:"String",proto:!0,forced:!vo("includes")},{includes:function t(e,n){return!!~String(g(this)).indexOf(go(e),1<arguments.length?n:void 0)}});var Ao=function(){var t=E(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e};function Mo(t,e){return RegExp(t,e)}var So,Eo,To={UNSUPPORTED_Y:_(function(){var t=Mo("a","y");return t.lastIndex=2,null!=t.exec("abcd")}),BROKEN_CARET:_(function(){var t=Mo("^r","gy");return t.lastIndex=2,null!=t.exec("str")})},Oo=RegExp.prototype.exec,Co=String.prototype.replace,Io=Oo,Lo=(No=/a/,Po=/b*/g,Oo.call(No,"a"),Oo.call(Po,"a"),0!==No.lastIndex||0!==Po.lastIndex),No,Po,Fo=To.UNSUPPORTED_Y||To.BROKEN_CARET,Ro=void 0!==/()??/.exec("")[1],jo;(Lo||Ro||Fo)&&(Io=function t(e){var n=this,r,i,a,o,s=Fo&&n.sticky,c=Ao.call(n),u=n.source,l=0,f=e;return s&&(-1===(c=c.replace("y","")).indexOf("g")&&(c+="g"),f=String(e).slice(n.lastIndex),0<n.lastIndex&&(!n.multiline||n.multiline&&"\n"!==e[n.lastIndex-1])&&(u="(?: "+u+")",f=" "+f,l++),i=new RegExp("^(?:"+u+")",c)),Ro&&(i=new RegExp("^"+u+"$(?!\\s)",c)),Lo&&(r=n.lastIndex),a=Oo.call(s?i:n,f),s?a?(a.input=a.input.slice(l),a[0]=a[0].slice(l),a.index=n.lastIndex,n.lastIndex+=a[0].length):n.lastIndex=0:Lo&&a&&(n.lastIndex=n.global?a.index+a[0].length:r),Ro&&a&&1<a.length&&Co.call(a[0],i,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(a[o]=void 0)}),a});var zo=Io;Bt({target:"RegExp",proto:!0,forced:/./.exec!==zo},{exec:zo});var Do=ve("species"),Uo=!_(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}),qo="$0"==="a".replace(/./,"$0"),Bo=ve("replace"),Ho=!!/./[Bo]&&""===/./[Bo]("a","$0"),Vo=!_(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),Yo=function(n,t,e,r){var i=ve(n),a=!_(function(){var t={};return t[i]=function(){return 7},7!=""[n](t)}),o=a&&!_(function(){var t=!1,e=/a/;return"split"===n&&((e={constructor:{}}).constructor[Do]=function(){return e},e.flags="",e[i]=/./[i]),e.exec=function(){return t=!0,null},e[i](""),!t});if(!a||!o||"replace"===n&&(!Uo||!qo||Ho)||"split"===n&&!Vo){var s=/./[i],c=e(i,""[n],function(t,e,n,r,i){return e.exec===zo?a&&!i?{done:!0,value:s.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}},{REPLACE_KEEPS_$0:qo,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Ho}),u=c[0],l=c[1];lt(String.prototype,n,u),lt(RegExp.prototype,i,2==t?function(t,e){return l.call(t,this,e)}:function(t){return l.call(t,this)})}r&&z(RegExp.prototype[i],"sham",!0)},Wo=lo.charAt,Go=function(t,e,n){return e+(n?Wo(t,e).length:1)},$o=function(t,e){var n=t.exec;if("function"==typeof n){var r=n.call(t,e);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==f(t))throw TypeError("RegExp#exec called on incompatible receiver");return zo.call(t,e)};Yo("match",1,function(i,u,l){return[function t(e){var n=g(this),r=null==e?void 0:e[i];return void 0!==r?r.call(e,n):new RegExp(e)[i](String(n))},function(t){var e=l(u,t,this);if(e.done)return e.value;var n=E(t),r=String(this);if(!n.global)return $o(n,r);for(var i=n.unicode,a=[],o=n.lastIndex=0,s;null!==(s=$o(n,r));){var c=String(s[0]);""===(a[o]=c)&&(n.lastIndex=Go(r,yt(n.lastIndex),i)),o++}return 0===o?null:a}]});var Xo=ve("species"),Zo=function(t,e){var n=E(t).constructor,r;return void 0===n||null==(r=E(n)[Xo])?e:Me(r)},Ko=ve("matchAll"),Qo="RegExp String",Jo=Qo+" Iterator",ts=ut.set,es=ut.getterFor(Jo),ns=RegExp.prototype,rs=ns.exec,is="".matchAll,as=!!is&&!_(function(){"a".matchAll(/./)}),os=function(t,e){var n=t.exec,r;if("function"!=typeof n)return rs.call(t,e);if("object"!=typeof(r=n.call(t,e)))throw TypeError("Incorrect exec result");return r},ss=Ga(function t(e,n,r,i){ts(this,{type:Jo,regexp:e,string:n,global:r,unicode:i,done:!1})},Qo,function t(){var e=es(this);if(e.done)return{value:void 0,done:!0};var n=e.regexp,r=e.string,i=os(n,r);return null===i?{value:void 0,done:e.done=!0}:e.global?(""==String(i[0])&&(n.lastIndex=Go(r,yt(n.lastIndex),e.unicode)),{value:i,done:!1}):{value:i,done:!(e.done=!0)}}),cs=function(t){var e=E(this),n=String(t),r,i,a,o,s,c;return r=Zo(e,RegExp),void 0===(i=e.flags)&&e instanceof RegExp&&!("flags"in ns)&&(i=Ao.call(e)),a=void 0===i?"":String(i),o=new r(r===RegExp?e.source:e,a),s=!!~a.indexOf("g"),c=!!~a.indexOf("u"),o.lastIndex=yt(e.lastIndex),new ss(o,n,s,c)};Bt({target:"String",proto:!0,forced:as},{matchAll:function t(e){var n=g(this),r,i,a,o;if(null!=e){if(po(e)&&!~(r=String(g("flags"in ns?e.flags:Ao.call(e)))).indexOf("g"))throw TypeError("`.matchAll` does not allow non-global regexes");if(as)return is.apply(n,arguments);if(null!=(a=e[Ko]))return Me(a).call(e,n)}else if(as)return is.apply(n,arguments);return i=String(n),(o=new RegExp(e,"g"))[Ko](i)}}),Ko in ns||z(ns,Ko,cs);var us="".repeat||function t(e){var n=String(g(this)),r="",i=_t(e);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;0<i;(i>>>=1)&&(n+=n))1&i&&(r+=n);return r},ls=Math.ceil,fs=function(u){return function(t,e,n){var r=String(g(t)),i=r.length,a=void 0===n?" ":String(n),o=yt(e),s,c;return o<=i||""==a?r:(s=o-i,(c=us.call(a,ls(s/a.length))).length>s&&(c=c.slice(0,s)),u?r+c:c+r)}},hs={start:fs(!1),end:fs(!0)},ds=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(Gr),ps=hs.end;Bt({target:"String",proto:!0,forced:ds},{padEnd:function t(e,n){return ps(this,e,1<arguments.length?n:void 0)}});var gs=hs.start;Bt({target:"String",proto:!0,forced:ds},{padStart:function t(e,n){return gs(this,e,1<arguments.length?n:void 0)}}),Bt({target:"String",proto:!0},{repeat:us});var _s=Math.max,vs=Math.min,ys=Math.floor,ms=/\$([$&'`]|\d\d?|<[^>]*>)/g,bs=/\$([$&'`]|\d\d?)/g,xs=function(t){return void 0===t?t:String(t)};Yo("replace",2,function(a,x,w,t){var k=t.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,A=t.REPLACE_KEEPS_$0,M=k?"$":"$0";return[function t(e,n){var r=g(this),i=null==e?void 0:e[a];return void 0!==i?i.call(e,r,n):x.call(String(r),e,n)},function(t,e){if(!k&&A||"string"==typeof e&&-1===e.indexOf(M)){var n=w(x,t,this,e);if(n.done)return n.value}var r=E(t),i=String(this),a="function"==typeof e;a||(e=String(e));var o=r.global;if(o){var s=r.unicode;r.lastIndex=0}for(var c=[];;){var u=$o(r,i),l;if(null===u)break;if(c.push(u),!o)break;""===String(u[0])&&(r.lastIndex=Go(i,yt(r.lastIndex),s))}for(var f="",h=0,d=0;d<c.length;d++){u=c[d];for(var p=String(u[0]),g=_s(vs(_t(u.index),i.length),0),_=[],v=1;v<u.length;v++)_.push(xs(u[v]));var y=u.groups;if(a){var m=[p].concat(_,g,i);void 0!==y&&m.push(y);var b=String(e.apply(void 0,m))}else b=S(p,i,g,_,y,e);h<=g&&(f+=i.slice(h,g)+b,h=g+p.length)}return f+i.slice(h)}];function S(a,o,s,c,u,t){var l=s+a.length,f=c.length,e=bs;return void 0!==u&&(u=Wt(u),e=ms),x.call(t,e,function(t,e){var n;switch(e.charAt(0)){case"$":return"$";case"&":return a;case"`":return o.slice(0,s);case"'":return o.slice(l);case"<":n=u[e.slice(1,-1)];break;default:var r=+e;if(0==r)return t;if(f<r){var i=ys(r/10);return 0===i?t:i<=f?void 0===c[i-1]?e.charAt(1):c[i-1]+e.charAt(1):t}n=c[r-1]}return void 0===n?"":n})}}),Yo("search",1,function(i,o,s){return[function t(e){var n=g(this),r=null==e?void 0:e[i];return void 0!==r?r.call(e,n):new RegExp(e)[i](String(n))},function(t){var e=s(o,t,this);if(e.done)return e.value;var n=E(t),r=String(this),i=n.lastIndex;sr(i,0)||(n.lastIndex=0);var a=$o(n,r);return sr(n.lastIndex,i)||(n.lastIndex=i),null===a?-1:a.index}]});var ws=[].push,ks=Math.min,As=4294967295,Ms=!_(function(){return!RegExp(As,"y")});Yo("split",2,function(a,_,v){var y;return y="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||1<".".split(/()()/).length||"".split(/.?/).length?function(t,e){var n=String(g(this)),r=void 0===e?As:e>>>0;if(0==r)return[];if(void 0===t)return[n];if(!po(t))return _.call(n,t,r);for(var i=[],a=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),o=0,s=new RegExp(t.source,a+"g"),c,u,l;(c=zo.call(s,n))&&!(o<(u=s.lastIndex)&&(i.push(n.slice(o,c.index)),1<c.length&&c.index<n.length&&ws.apply(i,c.slice(1)),l=c[0].length,o=u,i.length>=r));)s.lastIndex===c.index&&s.lastIndex++;return o===n.length?!l&&s.test("")||i.push(""):i.push(n.slice(o)),i.length>r?i.slice(0,r):i}:"0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:_.call(this,t,e)}:_,[function t(e,n){var r=g(this),i=null==e?void 0:e[a];return void 0!==i?i.call(e,r,n):y.call(String(r),e,n)},function(t,e){var n=v(y,t,this,e,y!==_);if(n.done)return n.value;var r=E(t),i=String(this),a=Zo(r,RegExp),o=r.unicode,s=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(Ms?"y":"g"),c=new a(Ms?r:"^(?:"+r.source+")",s),u=void 0===e?As:e>>>0;if(0==u)return[];if(0===i.length)return null===$o(c,i)?[i]:[];for(var l=0,f=0,h=[];f<i.length;){c.lastIndex=Ms?f:0;var d=$o(c,Ms?i:i.slice(f)),p;if(null===d||(p=ks(yt(c.lastIndex+(Ms?0:f)),i.length))===l)f=Go(i,f,o);else{if(h.push(i.slice(l,f)),h.length===u)return h;for(var g=1;g<=d.length-1;g++)if(h.push(d[g]),h.length===u)return h;f=l=p}}return h.push(i.slice(l)),h}]},!Ms);var Ss=R.f,Es="".startsWith,Ts=Math.min,Os=vo("startsWith"),Cs=!(Os||(!(Is=Ss(String.prototype,"startsWith"))||Is.writable)),Is;Bt({target:"String",proto:!0,forced:!Cs&&!Os},{startsWith:function t(e,n){var r=String(g(this));go(e);var i=yt(Ts(1<arguments.length?n:void 0,r.length)),a=String(e);return Es?Es.call(r,a,i):r.slice(i,i+a.length)===a}});var Ls="\t\n\v\f\r \u2028\u2029\ufeff",Ns="["+Ls+"]",Ps=RegExp("^"+Ns+Ns+"*"),Fs=RegExp(Ns+Ns+"*$"),Rs=function(n){return function(t){var e=String(g(t));return 1&n&&(e=e.replace(Ps,"")),2&n&&(e=e.replace(Fs,"")),e}},js={start:Rs(1),end:Rs(2),trim:Rs(3)},zs=" ",Ds=function(t){return _(function(){return Ls[t]()||zs[t]()!=zs||Ls[t].name!==t})},Us=js.trim;Bt({target:"String",proto:!0,forced:Ds("trim")},{trim:function t(){return Us(this)}});var qs=js.start,Bs=Ds("trimStart"),Hs=Bs?function t(){return qs(this)}:"".trimStart;Bt({target:"String",proto:!0,forced:Bs},{trimStart:Hs,trimLeft:Hs});var Vs=js.end,Ys=Ds("trimEnd"),Ws=Ys?function t(){return Vs(this)}:"".trimEnd;Bt({target:"String",proto:!0,forced:Ys},{trimEnd:Ws,trimRight:Ws});var Gs=lo.charAt,$s="String Iterator",Xs=ut.set,Zs=ut.getterFor($s);eo(String,"String",function(t){Xs(this,{type:$s,string:String(t),index:0})},function t(){var e=Zs(this),n=e.string,r=e.index,i;return r>=n.length?{value:void 0,done:!0}:(i=Gs(n,r),e.index+=i.length,{value:i,done:!1})});var Ks=/"/g,Qs=function(t,e,n,r){var i=String(g(t)),a="<"+e;return""!==n&&(a+=" "+n+'="'+String(r).replace(Ks,""")+'"'),a+">"+i+"</"+e+">"},Js=function(e){return _(function(){var t=""[e]('"');return t!==t.toLowerCase()||3<t.split('"').length})};Bt({target:"String",proto:!0,forced:Js("anchor")},{anchor:function t(e){return Qs(this,"a","name",e)}}),Bt({target:"String",proto:!0,forced:Js("big")},{big:function t(){return Qs(this,"big","","")}}),Bt({target:"String",proto:!0,forced:Js("blink")},{blink:function t(){return Qs(this,"blink","","")}}),Bt({target:"String",proto:!0,forced:Js("bold")},{bold:function t(){return Qs(this,"b","","")}}),Bt({target:"String",proto:!0,forced:Js("fixed")},{fixed:function t(){return Qs(this,"tt","","")}}),Bt({target:"String",proto:!0,forced:Js("fontcolor")},{fontcolor:function t(e){return Qs(this,"font","color",e)}}),Bt({target:"String",proto:!0,forced:Js("fontsize")},{fontsize:function t(e){return Qs(this,"font","size",e)}}),Bt({target:"String",proto:!0,forced:Js("italics")},{italics:function t(){return Qs(this,"i","","")}}),Bt({target:"String",proto:!0,forced:Js("link")},{link:function t(e){return Qs(this,"a","href",e)}}),Bt({target:"String",proto:!0,forced:Js("small")},{small:function t(){return Qs(this,"small","","")}}),Bt({target:"String",proto:!0,forced:Js("strike")},{strike:function t(){return Qs(this,"strike","","")}}),Bt({target:"String",proto:!0,forced:Js("sub")},{sub:function t(){return Qs(this,"sub","","")}}),Bt({target:"String",proto:!0,forced:Js("sup")},{sup:function t(){return Qs(this,"sup","","")}});var tc=function(t,e,n){var r,i;return wr&&"function"==typeof(r=e.constructor)&&r!==n&&N(i=r.prototype)&&i!==n.prototype&&wr(t,i),t},ec=j.f,nc=Ot.f,rc=ut.set,ic=ve("match"),ac=L.RegExp,oc=ac.prototype,sc=/a/g,cc=/a/g,uc=new ac(sc)!==sc,lc=To.UNSUPPORTED_Y,fc,hc;if(d&&Ut("RegExp",!uc||lc||_(function(){return cc[ic]=!1,ac(sc)!=sc||ac(cc)==cc||"/a/i"!=ac(sc,"i")}))){for(var dc=function t(e,n){var r=this instanceof dc,i=po(e),a=void 0===n,o;if(!r&&i&&e.constructor===dc&&a)return e;uc?i&&!a&&(e=e.source):e instanceof dc&&(a&&(n=Ao.call(e)),e=e.source),lc&&(o=!!n&&-1<n.indexOf("y"))&&(n=n.replace(/y/g,""));var s=tc(uc?new ac(e,n):ac(e,n),r?this:oc,dc);return lc&&o&&rc(s,{sticky:o}),s},pc=function(e){e in dc||ec(dc,e,{configurable:!0,get:function(){return ac[e]},set:function(t){ac[e]=t}})},gc=nc(ac),_c=0;gc.length>_c;)pc(gc[_c++]);(oc.constructor=dc).prototype=oc,lt(L,"RegExp",dc)}ja("RegExp"),d&&("g"!=/./g.flags||To.UNSUPPORTED_Y)&&j.f(RegExp.prototype,"flags",{configurable:!0,get:Ao});var vc=To.UNSUPPORTED_Y,yc=j.f,mc=ut.get,bc=RegExp.prototype;d&&vc&&yc(RegExp.prototype,"sticky",{configurable:!0,get:function(){if(this!==bc){if(this instanceof RegExp)return!!mc(this).sticky;throw TypeError("Incompatible receiver, RegExp required")}}});var xc=(wc=!1,(kc=/[ac]/).exec=function(){return wc=!0,/./.exec.apply(this,arguments)},!0===kc.test("abc")&&wc),wc,kc,Ac=/./.test;Bt({target:"RegExp",proto:!0,forced:!xc},{test:function(t){if("function"!=typeof this.exec)return Ac.call(this,t);var e=this.exec(t);if(null!==e&&!N(e))throw new Error("RegExp exec method returned something other than an Object or null");return!!e}});var Mc="toString",Sc=RegExp.prototype,Ec=Sc[Mc],Tc=_(function(){return"/a/b"!=Ec.call({source:"a",flags:"b"})}),Oc=Ec.name!=Mc;(Tc||Oc)&<(RegExp.prototype,Mc,function t(){var e=E(this),n=String(e.source),r=e.flags,i;return"/"+n+"/"+String(void 0===r&&e instanceof RegExp&&!("flags"in Sc)?Ao.call(e):r)},{unsafe:!0});var Cc=js.trim,Ic=L.parseInt,Lc=/^[+-]?0[Xx]/,Nc,Pc=8!==Ic(Ls+"08")||22!==Ic(Ls+"0x16")?function t(e,n){var r=Cc(String(e));return Ic(r,n>>>0||(Lc.test(r)?16:10))}:Ic;Bt({global:!0,forced:parseInt!=Pc},{parseInt:Pc});var Fc=js.trim,Rc=L.parseFloat,jc,zc=1/Rc(Ls+"-0")!=-1/0?function t(e){var n=Fc(String(e)),r=Rc(n);return 0===r&&"-"==n.charAt(0)?-0:r}:Rc;Bt({global:!0,forced:parseFloat!=zc},{parseFloat:zc});var Dc=Ot.f,Uc=R.f,qc=j.f,Bc=js.trim,Hc="Number",Vc=L[Hc],Yc=Vc.prototype,Wc=f(se(Yc))==Hc,Gc=function(t){var e=P(t,!1),n,r,i,a,o,s,c,u;if("string"==typeof e&&2<e.length)if(43===(n=(e=Bc(e)).charCodeAt(0))||45===n){if(88===(r=e.charCodeAt(2))||120===r)return NaN}else if(48===n){switch(e.charCodeAt(1)){case 66:case 98:i=2,a=49;break;case 79:case 111:i=8,a=55;break;default:return+e}for(s=(o=e.slice(2)).length,c=0;c<s;c++)if((u=o.charCodeAt(c))<48||a<u)return NaN;return parseInt(o,i)}return+e};if(Ut(Hc,!Vc(" 0o1")||!Vc("0b1")||Vc("+0x1"))){for(var $c=function t(e){var n=arguments.length<1?0:e,r=this;return r instanceof $c&&(Wc?_(function(){Yc.valueOf.call(r)}):f(r)!=Hc)?tc(new Vc(Gc(n)),r,$c):Gc(n)},Xc=d?Dc(Vc):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),Zc=0,Kc;Xc.length>Zc;Zc++)F(Vc,Kc=Xc[Zc])&&!F($c,Kc)&&qc($c,Kc,Uc(Vc,Kc));($c.prototype=Yc).constructor=$c,lt(L,Hc,$c)}Bt({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)});var Qc=L.isFinite,Jc=Number.isFinite||function t(e){return"number"==typeof e&&Qc(e)};Bt({target:"Number",stat:!0},{isFinite:Jc});var tu=Math.floor,eu=function t(e){return!N(e)&&isFinite(e)&&tu(e)===e};Bt({target:"Number",stat:!0},{isInteger:eu}),Bt({target:"Number",stat:!0},{isNaN:function t(e){return e!=e}});var nu=Math.abs;Bt({target:"Number",stat:!0},{isSafeInteger:function t(e){return eu(e)&&nu(e)<=9007199254740991}}),Bt({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991}),Bt({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991}),Bt({target:"Number",stat:!0,forced:Number.parseFloat!=zc},{parseFloat:zc}),Bt({target:"Number",stat:!0,forced:Number.parseInt!=Pc},{parseInt:Pc});var ru=function(t){if("number"!=typeof t&&"Number"!=f(t))throw TypeError("Incorrect invocation");return+t},iu=1..toFixed,au=Math.floor,ou=function(t,e,n){return 0===e?n:e%2==1?ou(t,e-1,n*t):ou(t*t,e/2,n)},su=function(t){for(var e=0,n=t;4096<=n;)e+=12,n/=4096;for(;2<=n;)e+=1,n/=2;return e},cu=iu&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!_(function(){iu.call({})});Bt({target:"Number",proto:!0,forced:cu},{toFixed:function t(e){var n=ru(this),r=_t(e),i=[0,0,0,0,0,0],a="",o="0",s,c,u,l,f=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*i[n],i[n]=r%1e7,r=au(r/1e7)},h=function(t){for(var e=6,n=0;0<=--e;)n+=i[e],i[e]=au(n/t),n=n%t*1e7},d=function(){for(var t=6,e="";0<=--t;)if(""!==e||0===t||0!==i[t]){var n=String(i[t]);e=""===e?n:e+us.call("0",7-n.length)+n}return e};if(r<0||20<r)throw RangeError("Incorrect fraction digits");if(n!=n)return"NaN";if(n<=-1e21||1e21<=n)return String(n);if(n<0&&(a="-",n=-n),1e-21<n)if(c=(s=su(n*ou(2,69,1))-69)<0?n*ou(2,-s,1):n/ou(2,s,1),c*=4503599627370496,0<(s=52-s)){for(f(0,c),u=r;7<=u;)f(1e7,0),u-=7;for(f(ou(10,u,1),0),u=s-1;23<=u;)h(1<<23),u-=23;h(1<<u),f(1,1),h(2),o=d()}else f(0,c),f(1<<-s,0),o=d()+us.call("0",r);return o=0<r?a+((l=o.length)<=r?"0."+us.call("0",r-l)+o:o.slice(0,l-r)+"."+o.slice(l-r)):a+o}});var uu=1..toPrecision,lu=_(function(){return"1"!==uu.call(1,void 0)})||!_(function(){uu.call({})});Bt({target:"Number",proto:!0,forced:lu},{toPrecision:function t(e){return void 0===e?uu.call(ru(this)):uu.call(ru(this),e)}});var fu=Math.log,hu=Math.log1p||function t(e){return-1e-8<(e=+e)&&e<1e-8?e-e*e/2:fu(1+e)},du=Math.acosh,pu=Math.log,gu=Math.sqrt,_u=Math.LN2,vu=!du||710!=Math.floor(du(Number.MAX_VALUE))||du(1/0)!=1/0;Bt({target:"Math",stat:!0,forced:vu},{acosh:function t(e){return(e=+e)<1?NaN:94906265.62425156<e?pu(e)+_u:hu(e-1+gu(e-1)*gu(e+1))}});var yu=Math.asinh,mu=Math.log,bu=Math.sqrt;function xu(t){return isFinite(t=+t)&&0!=t?t<0?-xu(-t):mu(t+bu(t*t+1)):t}Bt({target:"Math",stat:!0,forced:!(yu&&0<1/yu(0))},{asinh:xu});var wu=Math.atanh,ku=Math.log;Bt({target:"Math",stat:!0,forced:!(wu&&1/wu(-0)<0)},{atanh:function t(e){return 0==(e=+e)?e:ku((1+e)/(1-e))/2}});var Au=Math.sign||function t(e){return 0==(e=+e)||e!=e?e:e<0?-1:1},Mu=Math.abs,Su=Math.pow;Bt({target:"Math",stat:!0},{cbrt:function t(e){return Au(e=+e)*Su(Mu(e),1/3)}});var Eu=Math.floor,Tu=Math.log,Ou=Math.LOG2E;Bt({target:"Math",stat:!0},{clz32:function t(e){return(e>>>=0)?31-Eu(Tu(e+.5)*Ou):32}});var Cu=Math.expm1,Iu=Math.exp,Lu=!Cu||22025.465794806718<Cu(10)||Cu(10)<22025.465794806718||-2e-17!=Cu(-2e-17)?function t(e){return 0==(e=+e)?e:-1e-6<e&&e<1e-6?e+e*e/2:Iu(e)-1}:Cu,Nu=Math.cosh,Pu=Math.abs,Fu=Math.E;Bt({target:"Math",stat:!0,forced:!Nu||Nu(710)===1/0},{cosh:function t(e){var n=Lu(Pu(e)-1)+1;return(n+1/(n*Fu*Fu))*(Fu/2)}}),Bt({target:"Math",stat:!0,forced:Lu!=Math.expm1},{expm1:Lu});var Ru=Math.abs,ju=Math.pow,zu=ju(2,-52),Du=ju(2,-23),Uu=ju(2,127)*(2-Du),qu=ju(2,-126),Bu=function(t){return t+1/zu-1/zu},Hu=Math.fround||function t(e){var n=Ru(e),r=Au(e),i,a;return n<qu?r*Bu(n/qu/Du)*qu*Du:Uu<(a=(i=(1+Du/zu)*n)-(i-n))||a!=a?r*(1/0):r*a};Bt({target:"Math",stat:!0},{fround:Hu});var Vu=Math.hypot,Yu=Math.abs,Wu=Math.sqrt,Gu=!!Vu&&Vu(1/0,NaN)!==1/0;Bt({target:"Math",stat:!0,forced:Gu},{hypot:function t(e,n){for(var r=0,i=0,a=arguments.length,o=0,s,c;i<a;)o<(s=Yu(arguments[i++]))?(r=r*(c=o/s)*c+1,o=s):r+=0<s?(c=s/o)*c:s;return o===1/0?1/0:o*Wu(r)}});var $u=Math.imul,Xu=_(function(){return-5!=$u(4294967295,5)||2!=$u.length});Bt({target:"Math",stat:!0,forced:Xu},{imul:function t(e,n){var r=65535,i=+e,a=+n,o=r&i,s=r&a;return 0|o*s+((r&i>>>16)*s+o*(r&a>>>16)<<16>>>0)}});var Zu=Math.log,Ku=Math.LOG10E;Bt({target:"Math",stat:!0},{log10:function t(e){return Zu(e)*Ku}}),Bt({target:"Math",stat:!0},{log1p:hu});var Qu=Math.log,Ju=Math.LN2;Bt({target:"Math",stat:!0},{log2:function t(e){return Qu(e)/Ju}}),Bt({target:"Math",stat:!0},{sign:Au});var tl=Math.abs,el=Math.exp,nl=Math.E,rl=_(function(){return-2e-17!=Math.sinh(-2e-17)});Bt({target:"Math",stat:!0,forced:rl},{sinh:function t(e){return tl(e=+e)<1?(Lu(e)-Lu(-e))/2:(el(e-1)-el(-e-1))*(nl/2)}});var il=Math.exp;Bt({target:"Math",stat:!0},{tanh:function t(e){var n=Lu(e=+e),r=Lu(-e);return n==1/0?1:r==1/0?-1:(n-r)/(il(e)+il(-e))}}),Ae(Math,"Math",!0);var al=Math.ceil,ol=Math.floor;Bt({target:"Math",stat:!0},{trunc:function t(e){return(0<e?ol:al)(e)}}),Bt({target:"Date",stat:!0},{now:function t(){return(new Date).getTime()}});var sl=_(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})});Bt({target:"Date",proto:!0,forced:sl},{toJSON:function t(e){var n=Wt(this),r=P(n);return"number"!=typeof r||isFinite(r)?n.toISOString():null}});var cl=hs.start,ul=Math.abs,ll=Date.prototype,fl=ll.getTime,hl=ll.toISOString,dl=_(function(){return"0385-07-25T07:06:39.999Z"!=hl.call(new Date(-5e13-1))})||!_(function(){hl.call(new Date(NaN))})?function t(){if(!isFinite(fl.call(this)))throw RangeError("Invalid time value");var e=this,n=e.getUTCFullYear(),r=e.getUTCMilliseconds(),i=n<0?"-":9999<n?"+":"";return i+cl(ul(n),i?6:4,0)+"-"+cl(e.getUTCMonth()+1,2,0)+"-"+cl(e.getUTCDate(),2,0)+"T"+cl(e.getUTCHours(),2,0)+":"+cl(e.getUTCMinutes(),2,0)+":"+cl(e.getUTCSeconds(),2,0)+"."+cl(r,3,0)+"Z"}:hl;Bt({target:"Date",proto:!0,forced:Date.prototype.toISOString!==dl},{toISOString:dl});var pl=Date.prototype,gl="Invalid Date",_l="toString",vl=pl[_l],yl=pl.getTime;new Date(NaN)+""!=gl&<(pl,_l,function t(){var e=yl.call(this);return e==e?vl.call(this):gl});var ml=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return P(E(this),"number"!==t)},bl=ve("toPrimitive"),xl=Date.prototype;bl in xl||z(xl,bl,ml);var wl=dt("JSON","stringify"),kl=/[\uD800-\uDFFF]/g,Al=/^[\uD800-\uDBFF]$/,Ml=/^[\uDC00-\uDFFF]$/,Sl=function(t,e,n){var r=n.charAt(e-1),i=n.charAt(e+1);return Al.test(t)&&!Ml.test(i)||Ml.test(t)&&!Al.test(r)?"\\u"+t.charCodeAt(0).toString(16):t},El=_(function(){return'"\\udf06\\ud834"'!==wl("\udf06\ud834")||'"\\udead"'!==wl("\udead")});wl&&Bt({target:"JSON",stat:!0,forced:El},{stringify:function t(e,n,r){var i=wl.apply(null,arguments);return"string"==typeof i?i.replace(kl,Sl):i}}),Ae(L.JSON,"JSON",!0);var Tl=L.Promise,Ol=function(t,e,n){for(var r in e)lt(t,r,e[r],n);return t},Cl=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t},Il=/(iphone|ipod|ipad).*applewebkit/i.test(Gr),Ll=L.location,Nl=L.setImmediate,Pl=L.clearImmediate,Fl=L.process,Rl=L.MessageChannel,jl=L.Dispatch,zl=0,Dl={},Ul="onreadystatechange",ql,Bl,Hl,Vl=function(t){if(Dl.hasOwnProperty(t)){var e=Dl[t];delete Dl[t],e()}},Yl=function(t){return function(){Vl(t)}},Wl=function(t){Vl(t.data)},Gl=function(t){L.postMessage(t+"",Ll.protocol+"//"+Ll.host)};Nl&&Pl||(Nl=function t(e){for(var n=[],r=1;r<arguments.length;)n.push(arguments[r++]);return Dl[++zl]=function(){("function"==typeof e?e:Function(e)).apply(void 0,n)},ql(zl),zl},Pl=function t(e){delete Dl[e]},"process"==f(Fl)?ql=function(t){Fl.nextTick(Yl(t))}:jl&&jl.now?ql=function(t){jl.now(Yl(t))}:Rl&&!Il?(Hl=(Bl=new Rl).port2,Bl.port1.onmessage=Wl,ql=Se(Hl.postMessage,Hl,1)):!L.addEventListener||"function"!=typeof postMessage||L.importScripts||_(Gl)?ql=Ul in w("script")?function(t){Xt.appendChild(w("script"))[Ul]=function(){Xt.removeChild(this),Vl(t)}}:function(t){setTimeout(Yl(t),0)}:(ql=Gl,L.addEventListener("message",Wl,!1)));var $l={set:Nl,clear:Pl},Xl=R.f,Zl=$l.set,Kl=L.MutationObserver||L.WebKitMutationObserver,Ql=L.process,Jl=L.Promise,tf="process"==f(Ql),ef=Xl(L,"queueMicrotask"),nf=ef&&ef.value,rf,af,of,sf,cf,uf,lf,ff;nf||(rf=function(){var t,e;for(tf&&(t=Ql.domain)&&t.exit();af;){e=af.fn,af=af.next;try{e()}catch(t){throw af?sf():of=void 0,t}}of=void 0,t&&t.enter()},sf=tf?function(){Ql.nextTick(rf)}:Kl&&!Il?(cf=!0,uf=document.createTextNode(""),new Kl(rf).observe(uf,{characterData:!0}),function(){uf.data=cf=!cf}):Jl&&Jl.resolve?(lf=Jl.resolve(void 0),ff=lf.then,function(){ff.call(lf,rf)}):function(){Zl.call(L,rf)});var hf=nf||function(t){var e={fn:t,next:void 0};of&&(of.next=e),af||(af=e,sf()),of=e},df=function(t){var n,r;this.promise=new t(function(t,e){if(void 0!==n||void 0!==r)throw TypeError("Bad Promise constructor");n=t,r=e}),this.resolve=Me(n),this.reject=Me(r)},pf,gf={f:function(t){return new df(t)}},_f=function(t,e){if(E(t),N(e)&&e.constructor===t)return e;var n=gf.f(t),r;return(0,n.resolve)(e),n.promise},vf=function(t,e){var n=L.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))},yf=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},mf=$l.set,bf=ve("species"),xf="Promise",wf=ut.get,kf=ut.set,Af=ut.getterFor(xf),Mf=Tl,Sf=L.TypeError,Ef=L.document,Tf=L.process,Of=dt("fetch"),Cf=gf.f,If=Cf,Lf="process"==f(Tf),Nf=!!(Ef&&Ef.createEvent&&L.dispatchEvent),Pf="unhandledrejection",Ff="rejectionhandled",Rf=0,jf=1,zf=2,Df=1,Uf=2,qf,Bf,Hf,Vf,Yf=Ut(xf,function(){var t;if(!(q(Mf)!==String(Mf))){if(66===Jr)return!0;if(!Lf&&"function"!=typeof PromiseRejectionEvent)return!0}if(51<=Jr&&/native code/.test(Mf))return!1;var e=Mf.resolve(1),n=function(t){t(function(){},function(){})},r;return(e.constructor={})[bf]=n,!(e.then(function(){})instanceof n)}),Wf=Yf||!Vr(function(t){Mf.all(t).catch(function(){})}),Gf=function(t){var e;return!(!N(t)||"function"!=typeof(e=t.then))&&e},$f=function(f,h,d){if(!h.notified){h.notified=!0;var p=h.reactions;hf(function(){for(var t=h.value,e=1==h.state,n=0;p.length>n;){var r=p[n++],i=e?r.ok:r.fail,a=r.resolve,o=r.reject,s=r.domain,c,u,l;try{i?(e||(2===h.rejection&&Qf(f,h),h.rejection=1),!0===i?c=t:(s&&s.enter(),c=i(t),s&&(s.exit(),l=!0)),c===r.promise?o(Sf("Promise-chain cycle")):(u=Gf(c))?u.call(c,a,o):a(c)):o(t)}catch(t){s&&!l&&s.exit(),o(t)}}h.reactions=[],h.notified=!1,d&&!h.rejection&&Zf(f,h)})}},Xf=function(t,e,n){var r,i;Nf?((r=Ef.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),L.dispatchEvent(r)):r={promise:e,reason:n},(i=L["on"+t])?i(r):t===Pf&&vf("Unhandled promise rejection",n)},Zf=function(r,i){mf.call(L,function(){var t=i.value,e,n;if(Kf(i)&&(n=yf(function(){Lf?Tf.emit("unhandledRejection",t,r):Xf(Pf,r,t)}),i.rejection=Lf||Kf(i)?2:1,n.error))throw n.value})},Kf=function(t){return 1!==t.rejection&&!t.parent},Qf=function(t,e){mf.call(L,function(){Lf?Tf.emit("rejectionHandled",t):Xf(Ff,t,e.value)})},Jf=function(e,n,r,i){return function(t){e(n,r,t,i)}},th=function(t,e,n,r){e.done||(e.done=!0,r&&(e=r),e.value=n,e.state=2,$f(t,e,!0))},eh=function(n,r,t,e){if(!r.done){r.done=!0,e&&(r=e);try{if(n===t)throw Sf("Promise can't be resolved itself");var i=Gf(t);i?hf(function(){var e={done:!1};try{i.call(t,Jf(eh,n,e,r),Jf(th,n,e,r))}catch(t){th(n,e,t,r)}}):(r.value=t,r.state=1,$f(n,r,!1))}catch(t){th(n,{done:!1},t,r)}}};Yf&&(Mf=function t(e){Cl(this,Mf,xf),Me(e),qf.call(this);var n=wf(this);try{e(Jf(eh,this,n),Jf(th,this,n))}catch(t){th(this,n,t)}},(qf=function t(e){kf(this,{type:xf,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Ol(Mf.prototype,{then:function t(e,n){var r=Af(this),i=Cf(Zo(this,Mf));return i.ok="function"!=typeof e||e,i.fail="function"==typeof n&&n,i.domain=Lf?Tf.domain:void 0,r.parent=!0,r.reactions.push(i),0!=r.state&&$f(this,r,!1),i.promise},catch:function(t){return this.then(void 0,t)}}),Bf=function(){var t=new qf,e=wf(t);this.promise=t,this.resolve=Jf(eh,t,e),this.reject=Jf(th,t,e)},gf.f=Cf=function(t){return t===Mf||t===Hf?new Bf(t):If(t)},"function"==typeof Tl&&(Vf=Tl.prototype.then,lt(Tl.prototype,"then",function t(e,n){var r=this;return new Mf(function(t,e){Vf.call(r,t,e)}).then(e,n)},{unsafe:!0}),"function"==typeof Of&&Bt({global:!0,enumerable:!0,forced:!0},{fetch:function t(e){return _f(Mf,Of.apply(L,arguments))}}))),Bt({global:!0,wrap:!0,forced:Yf},{Promise:Mf}),Ae(Mf,xf,!1),ja(xf),Hf=dt(xf),Bt({target:xf,stat:!0,forced:Yf},{reject:function t(e){var n=Cf(this);return n.reject.call(void 0,e),n.promise}}),Bt({target:xf,stat:!0,forced:Yf},{resolve:function t(e){return _f(this,e)}}),Bt({target:xf,stat:!0,forced:Wf},{all:function t(e){var s=this,n=Cf(s),c=n.resolve,u=n.reject,r=yf(function(){var r=Me(s.resolve),i=[],a=0,o=1;Xn(e,function(t){var e=a++,n=!1;i.push(void 0),o++,r.call(s,t).then(function(t){n||(n=!0,i[e]=t,--o||c(i))},u)}),--o||c(i)});return r.error&&u(r.value),n.promise},race:function t(n){var r=this,i=Cf(r),a=i.reject,e=yf(function(){var e=Me(r.resolve);Xn(n,function(t){e.call(r,t).then(i.resolve,a)})});return e.error&&a(e.value),i.promise}}),Bt({target:"Promise",stat:!0},{allSettled:function t(e){var s=this,n=gf.f(s),c=n.resolve,r=n.reject,i=yf(function(){var r=Me(s.resolve),i=[],a=0,o=1;Xn(e,function(t){var e=a++,n=!1;i.push(void 0),o++,r.call(s,t).then(function(t){n||(n=!0,i[e]={status:"fulfilled",value:t},--o||c(i))},function(t){n||(n=!0,i[e]={status:"rejected",reason:t},--o||c(i))})}),--o||c(i)});return i.error&&r(i.value),n.promise}});var nh=!!Tl&&_(function(){Tl.prototype.finally.call({then:function(){}},function(){})});Bt({target:"Promise",proto:!0,real:!0,forced:nh},{finally:function(e){var n=Zo(this,dt("Promise")),t="function"==typeof e;return this.then(t?function(t){return _f(n,e()).then(function(){return t})}:e,t?function(t){return _f(n,e()).then(function(){throw t})}:e)}}),"function"!=typeof Tl||Tl.prototype.finally||lt(Tl.prototype,"finally",dt("Promise").prototype.finally);var rh=function(r,t,e){var i=-1!==r.indexOf("Map"),n=-1!==r.indexOf("Weak"),a=i?"set":"add",o=L[r],s=o&&o.prototype,c=o,u={},l=function(t){var r=s[t];lt(s,t,"add"==t?function t(e){return r.call(this,0===e?0:e),this}:"delete"==t?function(t){return!(n&&!N(t))&&r.call(this,0===t?0:t)}:"get"==t?function t(e){return n&&!N(e)?void 0:r.call(this,0===e?0:e)}:"has"==t?function t(e){return!(n&&!N(e))&&r.call(this,0===e?0:e)}:function t(e,n){return r.call(this,0===e?0:e,n),this})};if(Ut(r,"function"!=typeof o||!(n||s.forEach&&!_(function(){(new o).entries().next()}))))c=e.getConstructor(t,r,i,a),En.REQUIRED=!0;else if(Ut(r,!0)){var f=new c,h=f[a](n?{}:-0,1)!=f,d=_(function(){f.has(1)}),p=Vr(function(t){new o(t)}),g=!n&&_(function(){for(var t=new o,e=5;e--;)t[a](e,e);return!t.has(-0)});p||(((c=t(function(t,e){Cl(t,c,r);var n=tc(new o,t,c);return null!=e&&Xn(e,n[a],n,i),n})).prototype=s).constructor=c),(d||g)&&(l("delete"),l("has"),i&&l("get")),(g||h)&&l(a),n&&s.clear&&delete s.clear}return u[r]=c,Bt({global:!0,forced:c!=o},u),Ae(c,r),n||e.setStrong(c,r,i),c},ih=j.f,ah=En.fastKey,oh=ut.set,sh=ut.getterFor,ch={getConstructor:function(t,n,r,i){var a=t(function(t,e){Cl(t,a,n),oh(t,{type:n,index:se(null),first:void 0,last:void 0,size:0}),d||(t.size=0),null!=e&&Xn(e,t[i],t,r)}),s=sh(n),o=function(t,e,n){var r=s(t),i=c(t,e),a,o;return i?i.value=n:(r.last=i={index:o=ah(e,!0),key:e,value:n,previous:a=r.last,next:void 0,removed:!1},r.first||(r.first=i),a&&(a.next=i),d?r.size++:t.size++,"F"!==o&&(r.index[o]=i)),t},c=function(t,e){var n=s(t),r=ah(e),i;if("F"!==r)return n.index[r];for(i=n.first;i;i=i.next)if(i.key==e)return i};return Ol(a.prototype,{clear:function t(){for(var e=this,n=s(e),r=n.index,i=n.first;i;)i.removed=!0,i.previous&&(i.previous=i.previous.next=void 0),delete r[i.index],i=i.next;n.first=n.last=void 0,d?n.size=0:e.size=0},delete:function(t){var e=this,n=s(e),r=c(e,t);if(r){var i=r.next,a=r.previous;delete n.index[r.index],r.removed=!0,a&&(a.next=i),i&&(i.previous=a),n.first==r&&(n.first=i),n.last==r&&(n.last=a),d?n.size--:e.size--}return!!r},forEach:function t(e,n){for(var r=s(this),i=Se(e,1<arguments.length?n:void 0,3),a;a=a?a.next:r.first;)for(i(a.value,a.key,this);a&&a.removed;)a=a.previous},has:function t(e){return!!c(this,e)}}),Ol(a.prototype,r?{get:function t(e){var n=c(this,e);return n&&n.value},set:function t(e,n){return o(this,0===e?0:e,n)}}:{add:function t(e){return o(this,e=0===e?0:e,e)}}),d&&ih(a.prototype,"size",{get:function(){return s(this).size}}),a},setStrong:function(t,e,n){var r=e+" Iterator",i=sh(e),a=sh(r);eo(t,e,function(t,e){oh(this,{type:r,target:t,state:i(t),kind:e,last:void 0})},function(){for(var t=a(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:{value:t.target=void 0,done:!0}},n?"entries":"values",!n,!0),ja(e)}},uh=rh("Map",function(n){return function t(e){return n(this,arguments.length?e:void 0)}},ch),lh=rh("Set",function(n){return function t(e){return n(this,arguments.length?e:void 0)}},ch),fh=En.getWeakData,hh=ut.set,dh=ut.getterFor,ph=Ie.find,gh=Ie.findIndex,_h=0,vh=function(t){return t.frozen||(t.frozen=new yh)},yh=function(){this.entries=[]},mh=function(t,e){return ph(t.entries,function(t){return t[0]===e})};yh.prototype={get:function(t){var e=mh(this,t);if(e)return e[1]},has:function(t){return!!mh(this,t)},set:function(t,e){var n=mh(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(e){var t=gh(this.entries,function(t){return t[0]===e});return~t&&this.entries.splice(t,1),!!~t}};var bh={getConstructor:function(t,n,r,i){var a=t(function(t,e){Cl(t,a,n),hh(t,{type:n,id:_h++,frozen:void 0}),null!=e&&Xn(e,t[i],t,r)}),o=dh(n),s=function(t,e,n){var r=o(t),i=fh(E(e),!0);return!0===i?vh(r).set(e,n):i[r.id]=n,t};return Ol(a.prototype,{delete:function(t){var e=o(this);if(!N(t))return!1;var n=fh(t);return!0===n?vh(e).delete(t):n&&F(n,e.id)&&delete n[e.id]},has:function t(e){var n=o(this);if(!N(e))return!1;var r=fh(e);return!0===r?vh(n).has(e):r&&F(r,n.id)}}),Ol(a.prototype,r?{get:function t(e){var n=o(this);if(N(e)){var r=fh(e);return!0===r?vh(n).get(e):r?r[n.id]:void 0}},set:function t(e,n){return s(this,e,n)}}:{add:function t(e){return s(this,e,!0)}}),a}},xh=n(function(t){var i=ut.enforce,e=!L.ActiveXObject&&"ActiveXObject"in L,a=Object.isExtensible,o,n=function(n){return function t(e){return n(this,arguments.length?e:void 0)}},r=t.exports=rh("WeakMap",n,bh);if(H&&e){o=bh.getConstructor(n,"WeakMap",!0),En.REQUIRED=!0;var s=r.prototype,c=s.delete,u=s.has,l=s.get,f=s.set;Ol(s,{delete:function(t){if(!N(t)||a(t))return c.call(this,t);var e=i(this);return e.frozen||(e.frozen=new o),c.call(this,t)||e.frozen.delete(t)},has:function t(e){if(!N(e)||a(e))return u.call(this,e);var n=i(this);return n.frozen||(n.frozen=new o),u.call(this,e)||n.frozen.has(e)},get:function t(e){if(!N(e)||a(e))return l.call(this,e);var n=i(this);return n.frozen||(n.frozen=new o),u.call(this,e)?l.call(this,e):n.frozen.get(e)},set:function t(e,n){if(N(e)&&!a(e)){var r=i(this);r.frozen||(r.frozen=new o),u.call(this,e)?f.call(this,e,n):r.frozen.set(e,n)}else f.call(this,e,n);return this}})}});rh("WeakSet",function(n){return function t(e){return n(this,arguments.length?e:void 0)}},bh);var wh="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView,kh=function(t){if(void 0===t)return 0;var e=_t(t),n=yt(e);if(e!==n)throw RangeError("Wrong length or index");return n},Ah=1/0,Mh=Math.abs,Sh=Math.pow,Eh=Math.floor,Th=Math.log,Oh=Math.LN2,Ch,Ih,Lh=function(t,e,n){var r=new Array(n),i=8*n-e-1,a=(1<<i)-1,o=a>>1,s=23===e?Sh(2,-24)-Sh(2,-77):0,c=t<0||0===t&&1/t<0?1:0,u=0,l,f,h;for((t=Mh(t))!=t||t===Ah?(f=t!=t?1:0,l=a):(l=Eh(Th(t)/Oh),t*(h=Sh(2,-l))<1&&(l--,h*=2),2<=(t+=1<=l+o?s/h:s*Sh(2,1-o))*h&&(l++,h/=2),a<=l+o?(f=0,l=a):1<=l+o?(f=(t*h-1)*Sh(2,e),l+=o):(f=t*Sh(2,o-1)*Sh(2,e),l=0));8<=e;r[u++]=255&f,f/=256,e-=8);for(l=l<<e|f,i+=e;0<i;r[u++]=255&l,l/=256,i-=8);return r[--u]|=128*c,r},Nh=function(t,e){var n=t.length,r=8*n-e-1,i=(1<<r)-1,a=i>>1,o=r-7,s=n-1,c=t[s--],u=127&c,l;for(c>>=7;0<o;u=256*u+t[s],s--,o-=8);for(l=u&(1<<-o)-1,u>>=-o,o+=e;0<o;l=256*l+t[s],s--,o-=8);if(0===u)u=1-a;else{if(u===i)return l?NaN:c?-Ah:Ah;l+=Sh(2,e),u-=a}return(c?-1:1)*l*Sh(2,u-e)},Ph=Ot.f,Fh=j.f,Rh=ut.get,jh=ut.set,zh="ArrayBuffer",Dh="DataView",Uh="prototype",qh="Wrong length",Bh="Wrong index",Hh=L[zh],Vh=Hh,Yh=L[Dh],Wh=Yh&&Yh[Uh],Gh=Object.prototype,$h=L.RangeError,Xh=Lh,Zh=Nh,Kh=function(t){return[255&t]},Qh=function(t){return[255&t,t>>8&255]},Jh=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},td=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},ed=function(t){return Xh(t,23,4)},nd=function(t){return Xh(t,52,8)},rd=function(t,e){Fh(t[Uh],e,{get:function(){return Rh(this)[e]}})},id=function(t,e,n,r){var i=kh(n),a=Rh(t);if(i+e>a.byteLength)throw $h(Bh);var o=Rh(a.buffer).bytes,s=i+a.byteOffset,c=o.slice(s,s+e);return r?c:c.reverse()},ad=function(t,e,n,r,i,a){var o=kh(n),s=Rh(t);if(o+e>s.byteLength)throw $h(Bh);for(var c=Rh(s.buffer).bytes,u=o+s.byteOffset,l=r(+i),f=0;f<e;f++)c[u+f]=l[a?f:e-f-1]};if(wh){if(!_(function(){Hh(1)})||!_(function(){new Hh(-1)})||_(function(){return new Hh,new Hh(1.5),new Hh(NaN),Hh.name!=zh})){for(var od=(Vh=function t(e){return Cl(this,Vh),new Hh(kh(e))})[Uh]=Hh[Uh],sd=Ph(Hh),cd=0,ud;sd.length>cd;)(ud=sd[cd++])in Vh||z(Vh,ud,Hh[ud]);od.constructor=Vh}wr&&ar(Wh)!==Gh&&wr(Wh,Gh);var ld=new Yh(new Vh(2)),fd=Wh.setInt8;ld.setInt8(0,2147483648),ld.setInt8(1,2147483649),!ld.getInt8(0)&&ld.getInt8(1)||Ol(Wh,{setInt8:function t(e,n){fd.call(this,e,n<<24>>24)},setUint8:function t(e,n){fd.call(this,e,n<<24>>24)}},{unsafe:!0})}else Vh=function t(e){Cl(this,Vh,zh);var n=kh(e);jh(this,{bytes:wi.call(new Array(n),0),byteLength:n}),d||(this.byteLength=n)},Yh=function t(e,n,r){Cl(this,Yh,Dh),Cl(e,Vh,Dh);var i=Rh(e).byteLength,a=_t(n);if(a<0||i<a)throw $h("Wrong offset");if(i<a+(r=void 0===r?i-a:yt(r)))throw $h(qh);jh(this,{buffer:e,byteLength:r,byteOffset:a}),d||(this.buffer=e,this.byteLength=r,this.byteOffset=a)},d&&(rd(Vh,"byteLength"),rd(Yh,"buffer"),rd(Yh,"byteLength"),rd(Yh,"byteOffset")),Ol(Yh[Uh],{getInt8:function t(e){return id(this,1,e)[0]<<24>>24},getUint8:function t(e){return id(this,1,e)[0]},getInt16:function t(e,n){var r=id(this,2,e,1<arguments.length?n:void 0);return(r[1]<<8|r[0])<<16>>16},getUint16:function t(e,n){var r=id(this,2,e,1<arguments.length?n:void 0);return r[1]<<8|r[0]},getInt32:function t(e,n){return td(id(this,4,e,1<arguments.length?n:void 0))},getUint32:function t(e,n){return td(id(this,4,e,1<arguments.length?n:void 0))>>>0},getFloat32:function t(e,n){return Zh(id(this,4,e,1<arguments.length?n:void 0),23)},getFloat64:function t(e,n){return Zh(id(this,8,e,1<arguments.length?n:void 0),52)},setInt8:function t(e,n){ad(this,1,e,Kh,n)},setUint8:function t(e,n){ad(this,1,e,Kh,n)},setInt16:function t(e,n,r){ad(this,2,e,Qh,n,2<arguments.length?r:void 0)},setUint16:function t(e,n,r){ad(this,2,e,Qh,n,2<arguments.length?r:void 0)},setInt32:function t(e,n,r){ad(this,4,e,Jh,n,2<arguments.length?r:void 0)},setUint32:function t(e,n,r){ad(this,4,e,Jh,n,2<arguments.length?r:void 0)},setFloat32:function t(e,n,r){ad(this,4,e,ed,n,2<arguments.length?r:void 0)},setFloat64:function t(e,n,r){ad(this,8,e,nd,n,2<arguments.length?r:void 0)}});Ae(Vh,zh),Ae(Yh,Dh);var hd={ArrayBuffer:Vh,DataView:Yh},dd="ArrayBuffer",pd=hd[dd],gd=L[dd];Bt({global:!0,forced:gd!==pd},{ArrayBuffer:pd}),ja(dd);var _d=j.f,vd=L.Int8Array,yd=vd&&vd.prototype,md=L.Uint8ClampedArray,bd=md&&md.prototype,xd=vd&&ar(vd),wd=yd&&ar(yd),kd=Object.prototype,Ad=kd.isPrototypeOf,Md=ve("toStringTag"),Sd=$("TYPED_ARRAY_TAG"),Ed=wh&&!!wr&&"Opera"!==Yn(L.opera),Td=!1,Od,Cd={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Id=function t(e){var n=Yn(e);return"DataView"===n||F(Cd,n)},Ld=function(t){return N(t)&&F(Cd,Yn(t))},Nd=function(t){if(Ld(t))return t;throw TypeError("Target is not a typed array")},Pd=function(t){if(wr){if(Ad.call(xd,t))return t}else for(var e in Cd)if(F(Cd,Od)){var n=L[e];if(n&&(t===n||Ad.call(n,t)))return t}throw TypeError("Target is not a typed array constructor")},Fd=function(t,e,n){if(d){if(n)for(var r in Cd){var i=L[r];i&&F(i.prototype,t)&&delete i.prototype[t]}wd[t]&&!n||lt(wd,t,n?e:Ed&&yd[t]||e)}},Rd=function(t,e,n){var r,i;if(d){if(wr){if(n)for(r in Cd)(i=L[r])&&F(i,t)&&delete i[t];if(xd[t]&&!n)return;try{return lt(xd,t,n?e:Ed&&vd[t]||e)}catch(t){}}for(r in Cd)!(i=L[r])||i[t]&&!n||lt(i,t,e)}};for(Od in Cd)L[Od]||(Ed=!1);if((!Ed||"function"!=typeof xd||xd===Function.prototype)&&(xd=function t(){throw TypeError("Incorrect invocation")},Ed))for(Od in Cd)L[Od]&&wr(L[Od],xd);if((!Ed||!wd||wd===kd)&&(wd=xd.prototype,Ed))for(Od in Cd)L[Od]&&wr(L[Od].prototype,wd);if(Ed&&ar(bd)!==wd&&wr(bd,wd),d&&!F(wd,Md))for(Od in Td=!0,_d(wd,Md,{get:function(){return N(this)?this[Sd]:void 0}}),Cd)L[Od]&&z(L[Od],Sd,Od);var jd={NATIVE_ARRAY_BUFFER_VIEWS:Ed,TYPED_ARRAY_TAG:Td&&Sd,aTypedArray:Nd,aTypedArrayConstructor:Pd,exportTypedArrayMethod:Fd,exportTypedArrayStaticMethod:Rd,isView:Id,isTypedArray:Ld,TypedArray:xd,TypedArrayPrototype:wd},zd;Bt({target:"ArrayBuffer",stat:!0,forced:!jd.NATIVE_ARRAY_BUFFER_VIEWS},{isView:jd.isView});var Dd=hd.ArrayBuffer,Ud=hd.DataView,qd=Dd.prototype.slice,Bd=_(function(){return!new Dd(2).slice(1,void 0).byteLength});Bt({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:Bd},{slice:function t(e,n){if(void 0!==qd&&void 0===n)return qd.call(E(this),e);for(var r=E(this).byteLength,i=xt(e,r),a=xt(void 0===n?r:n,r),o=new(Zo(this,Dd))(yt(a-i)),s=new Ud(this),c=new Ud(o),u=0;i<a;)c.setUint8(u++,s.getUint8(i++));return o}}),Bt({global:!0,forced:!wh},{DataView:hd.DataView});var Hd=jd.NATIVE_ARRAY_BUFFER_VIEWS,Vd=L.ArrayBuffer,Yd=L.Int8Array,Wd=!Hd||!_(function(){Yd(1)})||!_(function(){new Yd(-1)})||!Vr(function(t){new Yd,new Yd(null),new Yd(1.5),new Yd(t)},!0)||_(function(){return 1!==new Yd(new Vd(2),1,void 0).length}),Gd=function(t){var e=_t(t);if(e<0)throw RangeError("The argument can't be less than 0");return e},$d=function(t,e){var n=Gd(t);if(n%e)throw RangeError("Wrong offset");return n},Xd=jd.aTypedArrayConstructor,Zd=function t(e,n,r){var i=Wt(e),a=arguments.length,o=1<a?n:void 0,s=void 0!==o,c=Gn(i),u,l,f,h,d,p;if(null!=c&&!zn(c))for(p=(d=c.call(i)).next,i=[];!(h=p.call(d)).done;)i.push(h.value);for(s&&2<a&&(o=Se(o,r,2)),l=yt(i.length),f=new(Xd(this))(l),u=0;u<l;u++)f[u]=s?o(i[u],u):i[u];return f},Kd=n(function(t){var p=Ot.f,g=Ie.forEach,_=ut.get,v=ut.set,y=j.f,r=R.f,m=Math.round,b=L.RangeError,x=hd.ArrayBuffer,w=hd.DataView,k=jd.NATIVE_ARRAY_BUFFER_VIEWS,A=jd.TYPED_ARRAY_TAG,M=jd.TypedArray,S=jd.TypedArrayPrototype,a=jd.aTypedArrayConstructor,E=jd.isTypedArray,T="BYTES_PER_ELEMENT",O="Wrong length",C=function(t,e){for(var n=0,r=e.length,i=new(a(t))(r);n<r;)i[n]=e[n++];return i},e=function(t,e){y(t,e,{get:function(){return _(this)[e]}})},I=function(t){var e;return t instanceof x||"ArrayBuffer"==(e=Yn(t))||"SharedArrayBuffer"==e},i=function(t,e){return E(t)&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},n=function t(e,n){return i(e,n=P(n,!0))?u(2,e[n]):r(e,n)},o=function t(e,n,r){return!(i(e,n=P(n,!0))&&N(r)&&F(r,"value"))||F(r,"get")||F(r,"set")||r.configurable||F(r,"writable")&&!r.writable||F(r,"enumerable")&&!r.enumerable?y(e,n,r):(e[n]=r.value,e)};d?(k||(R.f=n,j.f=o,e(S,"buffer"),e(S,"byteOffset"),e(S,"byteLength"),e(S,"length")),Bt({target:"Object",stat:!0,forced:!k},{getOwnPropertyDescriptor:n,defineProperty:o}),t.exports=function(t,e,i){var l=t.match(/\d+$/)[0]/8,f=t+(i?"Clamped":"")+"Array",r="get"+t,a="set"+t,o=L[f],h=o,n=h&&h.prototype,s={},c=function(t,e){var n=_(t);return n.view[r](e*l+n.byteOffset,!0)},u=function(t,e,n){var r=_(t);i&&(n=(n=m(n))<0?0:255<n?255:255&n),r.view[a](e*l+r.byteOffset,n,!0)},d=function(t,e){y(t,e,{get:function(){return c(this,e)},set:function(t){return u(this,e,t)},enumerable:!0})};k?Wd&&(h=e(function(t,e,n,r){return Cl(t,h,f),tc(N(e)?I(e)?void 0!==r?new o(e,$d(n,l),r):void 0!==n?new o(e,$d(n,l)):new o(e):E(e)?C(h,e):Zd.call(h,e):new o(kh(e)),t,h)}),wr&&wr(h,M),g(p(o),function(t){t in h||z(h,t,o[t])}),h.prototype=n):(h=e(function(t,e,n,r){Cl(t,h,f);var i=0,a=0,o,s,c;if(N(e)){if(!I(e))return E(e)?C(h,e):Zd.call(h,e);o=e,a=$d(n,l);var u=e.byteLength;if(void 0===r){if(u%l)throw b(O);if((s=u-a)<0)throw b(O)}else if(u<(s=yt(r)*l)+a)throw b(O);c=s/l}else c=kh(e),o=new x(s=c*l);for(v(t,{buffer:o,byteOffset:a,byteLength:s,length:c,view:new w(o)});i<c;)d(t,i++)}),wr&&wr(h,M),n=h.prototype=se(S)),n.constructor!==h&&z(n,"constructor",h),A&&z(n,A,f),s[f]=h,Bt({global:!0,forced:h!=o,sham:!k},s),T in h||z(h,T,l),T in n||z(n,T,l),ja(f)}):t.exports=function(){}}),Qd;Kd("Int8",function(i){return function t(e,n,r){return i(this,e,n,r)}}),Kd("Uint8",function(i){return function t(e,n,r){return i(this,e,n,r)}}),Kd("Uint8",function(i){return function t(e,n,r){return i(this,e,n,r)}},!0),Kd("Int16",function(i){return function t(e,n,r){return i(this,e,n,r)}}),Kd("Uint16",function(i){return function t(e,n,r){return i(this,e,n,r)}}),Kd("Int32",function(i){return function t(e,n,r){return i(this,e,n,r)}}),Kd("Uint32",function(i){return function t(e,n,r){return i(this,e,n,r)}}),Kd("Float32",function(i){return function t(e,n,r){return i(this,e,n,r)}}),Kd("Float64",function(i){return function t(e,n,r){return i(this,e,n,r)}}),(0,jd.exportTypedArrayStaticMethod)("from",Zd,Wd);var Jd=jd.aTypedArrayConstructor,tp;(0,jd.exportTypedArrayStaticMethod)("of",function t(){for(var e=0,n=arguments.length,r=new(Jd(this))(n);e<n;)r[e]=arguments[e++];return r},Wd);var ep=jd.aTypedArray,np;(0,jd.exportTypedArrayMethod)("copyWithin",function t(e,n,r){return li.call(ep(this),e,n,2<arguments.length?r:void 0)});var rp=Ie.every,ip=jd.aTypedArray,ap;(0,jd.exportTypedArrayMethod)("every",function t(e,n){return rp(ip(this),e,1<arguments.length?n:void 0)});var op=jd.aTypedArray,sp;(0,jd.exportTypedArrayMethod)("fill",function t(e){return wi.apply(op(this),arguments)});var cp=Ie.filter,up=jd.aTypedArray,lp=jd.aTypedArrayConstructor,fp;(0,jd.exportTypedArrayMethod)("filter",function t(e,n){for(var r=cp(up(this),e,1<arguments.length?n:void 0),i=Zo(this,this.constructor),a=0,o=r.length,s=new(lp(i))(o);a<o;)s[a]=r[a++];return s});var hp=Ie.find,dp=jd.aTypedArray,pp;(0,jd.exportTypedArrayMethod)("find",function t(e,n){return hp(dp(this),e,1<arguments.length?n:void 0)});var gp=Ie.findIndex,_p=jd.aTypedArray,vp;(0,jd.exportTypedArrayMethod)("findIndex",function t(e,n){return gp(_p(this),e,1<arguments.length?n:void 0)});var yp=Ie.forEach,mp=jd.aTypedArray,bp;(0,jd.exportTypedArrayMethod)("forEach",function t(e,n){yp(mp(this),e,1<arguments.length?n:void 0)});var xp=kt.includes,wp=jd.aTypedArray,kp;(0,jd.exportTypedArrayMethod)("includes",function t(e,n){return xp(wp(this),e,1<arguments.length?n:void 0)});var Ap=kt.indexOf,Mp=jd.aTypedArray,Sp;(0,jd.exportTypedArrayMethod)("indexOf",function t(e,n){return Ap(Mp(this),e,1<arguments.length?n:void 0)});var Ep=ve("iterator"),Tp=L.Uint8Array,Op=ao.values,Cp=ao.keys,Ip=ao.entries,Lp=jd.aTypedArray,Np=jd.exportTypedArrayMethod,Pp=Tp&&Tp.prototype[Ep],Fp=!!Pp&&("values"==Pp.name||null==Pp.name),Rp=function t(){return Op.call(Lp(this))};Np("entries",function t(){return Ip.call(Lp(this))}),Np("keys",function t(){return Cp.call(Lp(this))}),Np("values",Rp,!Fp),Np(Ep,Rp,!Fp);var jp=jd.aTypedArray,zp,Dp=[].join;(0,jd.exportTypedArrayMethod)("join",function t(e){return Dp.apply(jp(this),arguments)});var Up=jd.aTypedArray,qp;(0,jd.exportTypedArrayMethod)("lastIndexOf",function t(e){return na.apply(Up(this),arguments)});var Bp=Ie.map,Hp=jd.aTypedArray,Vp=jd.aTypedArrayConstructor,Yp;(0,jd.exportTypedArrayMethod)("map",function t(e,n){return Bp(Hp(this),e,1<arguments.length?n:void 0,function(t,e){return new(Vp(Zo(t,t.constructor)))(e)})});var Wp=sa.left,Gp=jd.aTypedArray,$p;(0,jd.exportTypedArrayMethod)("reduce",function t(e,n){return Wp(Gp(this),e,arguments.length,1<arguments.length?n:void 0)});var Xp=sa.right,Zp=jd.aTypedArray,Kp;(0,jd.exportTypedArrayMethod)("reduceRight",function t(e,n){return Xp(Zp(this),e,arguments.length,1<arguments.length?n:void 0)});var Qp=jd.aTypedArray,Jp=jd.exportTypedArrayMethod,tg=Math.floor;Jp("reverse",function t(){for(var e=this,n=Qp(e).length,r=tg(n/2),i=0,a;i<r;)a=e[i],e[i++]=e[--n],e[n]=a;return e});var eg=jd.aTypedArray,ng,rg;(0,jd.exportTypedArrayMethod)("set",function t(e,n){eg(this);var r=$d(1<arguments.length?n:void 0,1),i=this.length,a=Wt(e),o=yt(a.length),s=0;if(i<o+r)throw RangeError("Wrong length");for(;s<o;)this[r+s]=a[s++]},_(function(){new Int8Array(1).set({})}));var ig=jd.aTypedArray,ag=jd.aTypedArrayConstructor,og,sg=[].slice,cg;(0,jd.exportTypedArrayMethod)("slice",function t(e,n){for(var r=sg.call(ig(this),e,n),i=Zo(this,this.constructor),a=0,o=r.length,s=new(ag(i))(o);a<o;)s[a]=r[a++];return s},_(function(){new Int8Array(1).slice()}));var ug=Ie.some,lg=jd.aTypedArray,fg;(0,jd.exportTypedArrayMethod)("some",function t(e,n){return ug(lg(this),e,1<arguments.length?n:void 0)});var hg=jd.aTypedArray,dg,pg=[].sort;(0,jd.exportTypedArrayMethod)("sort",function t(e){return pg.call(hg(this),e)});var gg=jd.aTypedArray,_g;(0,jd.exportTypedArrayMethod)("subarray",function t(e,n){var r=gg(this),i=r.length,a=xt(e,i);return new(Zo(r,r.constructor))(r.buffer,r.byteOffset+a*r.BYTES_PER_ELEMENT,yt((void 0===n?i:xt(n,i))-a))});var vg=L.Int8Array,yg=jd.aTypedArray,mg=jd.exportTypedArrayMethod,bg=[].toLocaleString,xg=[].slice,wg=!!vg&&_(function(){bg.call(new vg(1))}),kg;mg("toLocaleString",function t(){return bg.apply(wg?xg.call(yg(this)):yg(this),arguments)},_(function(){return[1,2].toLocaleString()!=new vg([1,2]).toLocaleString()})||!_(function(){vg.prototype.toLocaleString.call([1,2])}));var Ag=jd.exportTypedArrayMethod,Mg=L.Uint8Array,Sg=Mg&&Mg.prototype||{},Eg=[].toString,Tg=[].join,Og;_(function(){Eg.call({})})&&(Eg=function t(){return Tg.call(this)}),Ag("toString",Eg,Sg.toString!=Eg);var Cg=dt("Reflect","apply"),Ig=Function.apply,Lg=!_(function(){Cg(function(){})});Bt({target:"Reflect",stat:!0,forced:Lg},{apply:function t(e,n,r){return Me(e),E(r),Cg?Cg(e,n,r):Ig.call(e,n,r)}});var Ng=dt("Reflect","construct"),Pg=_(function(){function t(){}return!(Ng(function(){},[],t)instanceof t)}),Fg=!_(function(){Ng(function(){})}),Rg=Pg||Fg;Bt({target:"Reflect",stat:!0,forced:Rg,sham:Rg},{construct:function t(e,n,r){Me(e),E(n);var i=arguments.length<3?e:Me(r);if(Fg&&!Pg)return Ng(e,n,i);if(e==i){switch(n.length){case 0:return new e;case 1:return new e(n[0]);case 2:return new e(n[0],n[1]);case 3:return new e(n[0],n[1],n[2]);case 4:return new e(n[0],n[1],n[2],n[3])}var a=[null];return a.push.apply(a,n),new(Ir.apply(e,a))}var o=i.prototype,s=se(N(o)?o:Object.prototype),c=Function.apply.call(e,s,n);return N(c)?c:s}});var jg=_(function(){Reflect.defineProperty(j.f({},1,{value:1}),1,{value:2})});Bt({target:"Reflect",stat:!0,forced:jg,sham:!d},{defineProperty:function t(e,n,r){E(e);var i=P(n,!0);E(r);try{return j.f(e,i,r),!0}catch(t){return!1}}});var zg=R.f;function Dg(t,e){var n=arguments.length<3?t:arguments[2],r,i;return E(t)===n?t[e]:(r=R.f(t,e))?F(r,"value")?r.value:void 0===r.get?void 0:r.get.call(n):N(i=ar(t))?Dg(i,e,n):void 0}Bt({target:"Reflect",stat:!0},{deleteProperty:function t(e,n){var r=zg(E(e),n);return!(r&&!r.configurable)&&delete e[n]}}),Bt({target:"Reflect",stat:!0},{get:Dg}),Bt({target:"Reflect",stat:!0,sham:!d},{getOwnPropertyDescriptor:function t(e,n){return R.f(E(e),n)}}),Bt({target:"Reflect",stat:!0,sham:!nr},{getPrototypeOf:function t(e){return ar(E(e))}}),Bt({target:"Reflect",stat:!0},{has:function t(e,n){return n in e}});var Ug=Object.isExtensible;function qg(t,e,n){var r=arguments.length<4?t:arguments[3],i=R.f(E(t),e),a,o;if(!i){if(N(o=ar(t)))return qg(o,e,n,r);i=u(0)}if(F(i,"value")){if(!1===i.writable||!N(r))return!1;if(a=R.f(r,e)){if(a.get||a.set||!1===a.writable)return!1;a.value=n,j.f(r,e,a)}else j.f(r,e,u(0,n));return!0}return void 0!==i.set&&(i.set.call(r,n),!0)}Bt({target:"Reflect",stat:!0},{isExtensible:function t(e){return E(e),!Ug||Ug(e)}}),Bt({target:"Reflect",stat:!0},{ownKeys:Lt}),Bt({target:"Reflect",stat:!0,sham:!Sn},{preventExtensions:function t(e){E(e);try{var n=dt("Object","preventExtensions");return n&&n(e),!0}catch(t){return!1}}});var Bg=_(function(){var t=j.f({},"a",{configurable:!0});return!1!==Reflect.set(ar(t),"a",1,t)});Bt({target:"Reflect",stat:!0,forced:Bg},{set:qg}),wr&&Bt({target:"Reflect",stat:!0},{setPrototypeOf:function t(e,n){E(e),xr(n);try{return wr(e,n),!0}catch(t){return!1}}});var Hg={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};for(var Vg in Hg){var Yg=L[Vg],Wg=Yg&&Yg.prototype;if(Wg&&Wg.forEach!==Di)try{z(Wg,"forEach",Di)}catch(t){Wg.forEach=Di}}var Gg=ve("iterator"),$g=ve("toStringTag"),Xg=ao.values;for(var Zg in Hg){var Kg=L[Zg],Qg=Kg&&Kg.prototype;if(Qg){if(Qg[Gg]!==Xg)try{z(Qg,Gg,Xg)}catch(t){Qg[Gg]=Xg}if(Qg[$g]||z(Qg,$g,Zg),Hg[Zg])for(var Jg in ao)if(Qg[Jg]!==ao[Jg])try{z(Qg,Jg,ao[Jg])}catch(t){Qg[Jg]=ao[Jg]}}}var t_=!L.setImmediate||!L.clearImmediate;Bt({global:!0,bind:!0,enumerable:!0,forced:t_},{setImmediate:$l.set,clearImmediate:$l.clear});var e_=L.process,n_="process"==f(e_);Bt({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function t(e){var n=n_&&e_.domain;hf(n?n.bind(e):e)}});var r_=[].slice,i_=/MSIE .\./.test(Gr),a_=function(i){return function(t,e){var n=2<arguments.length,r=n?r_.call(arguments,2):void 0;return i(n?function(){("function"==typeof t?t:Function(t)).apply(this,r)}:t,e)}};Bt({global:!0,bind:!0,forced:i_},{setTimeout:a_(L.setTimeout),setInterval:a_(L.setInterval)});var o_=ve("iterator"),s_=!_(function(){var t=new URL("b?a=1&b=2&c=3","http://a"),n=t.searchParams,r="";return t.pathname="c%20d",n.forEach(function(t,e){n.delete("b"),r+=e+t}),!n.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==n.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!n[o_]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}),c_=2147483647,u_=36,l_=1,f_=26,h_=38,d_=700,p_=72,g_=128,__="-",v_=/[^\0-\u007E]/,y_=/[.\u3002\uFF0E\uFF61]/g,m_="Overflow: input needs wider integers to process",b_=35,x_=Math.floor,w_=String.fromCharCode,k_=function(t){for(var e=[],n=0,r=t.length;n<r;){var i=t.charCodeAt(n++);if(55296<=i&&i<=56319&&n<r){var a=t.charCodeAt(n++);56320==(64512&a)?e.push(((1023&i)<<10)+(1023&a)+65536):(e.push(i),n--)}else e.push(i)}return e},A_=function(t){return t+22+75*(t<26)},M_=function(t,e,n){var r=0;for(t=n?x_(t/d_):t>>1,t+=x_(t/e);455<t;r+=36)t=x_(t/35);return x_(r+36*t/(t+38))},S_=function(t){var e=[],n=(t=k_(t)).length,r=g_,i=0,a=72,o,s;for(o=0;o<t.length;o++)(s=t[o])<128&&e.push(w_(s));var c=e.length,u=c;for(c&&e.push(__);u<n;){var l=c_;for(o=0;o<t.length;o++)r<=(s=t[o])&&s<l&&(l=s);var f=u+1;if(l-r>x_((c_-i)/f))throw RangeError(m_);for(i+=(l-r)*f,r=l,o=0;o<t.length;o++){if((s=t[o])<r&&++i>c_)throw RangeError(m_);if(s==r){for(var h=i,d=36;;d+=36){var p=d<=a?1:a+26<=d?26:d-a;if(h<p)break;var g=h-p,_=36-p;e.push(w_(A_(p+g%_))),h=x_(g/_)}e.push(w_(A_(h))),a=M_(i,f,u==c),i=0,++u}}++i,++r}return e.join("")},E_=function(t){var e=[],n=t.toLowerCase().replace(y_,".").split("."),r,i;for(r=0;r<n.length;r++)i=n[r],e.push(v_.test(i)?"xn--"+S_(i):i);return e.join(".")},T_=function(t){var e=Gn(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return E(e.call(t))},O_=dt("fetch"),C_=dt("Headers"),I_=ve("iterator"),L_="URLSearchParams",N_=L_+"Iterator",P_=ut.set,F_=ut.getterFor(L_),R_=ut.getterFor(N_),j_=/\+/g,z_=Array(4),D_=function(t){return z_[t-1]||(z_[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},U_=function(e){try{return decodeURIComponent(e)}catch(t){return e}},q_=function(t){var e=t.replace(j_," "),n=4;try{return decodeURIComponent(e)}catch(t){for(;n;)e=e.replace(D_(n--),U_);return e}},B_=/[!'()~]|%20/g,H_={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},V_=function(t){return H_[t]},Y_=function(t){return encodeURIComponent(t).replace(B_,V_)},W_=function(t,e){if(e)for(var n=e.split("&"),r=0,i,a;r<n.length;)(i=n[r++]).length&&(a=i.split("="),t.push({key:q_(a.shift()),value:q_(a.join("="))}))},G_=function(t){this.entries.length=0,W_(this.entries,t)},$_=function(t,e){if(t<e)throw TypeError("Not enough arguments")},X_=Ga(function t(e,n){P_(this,{type:N_,iterator:T_(F_(e).entries),kind:n})},"Iterator",function t(){var e=R_(this),n=e.kind,r=e.iterator.next(),i=r.value;return r.done||(r.value="keys"===n?i.key:"values"===n?i.value:[i.key,i.value]),r}),Z_=function t(e){Cl(this,Z_,L_);var n=0<arguments.length?e:void 0,r,i=[],a,o,s,c,u,l,f,h,d;if(P_(this,{type:L_,entries:i,updateURL:function(){},updateSearchParams:G_}),void 0!==n)if(N(n))if("function"==typeof(a=Gn(n)))for(s=(o=a.call(n)).next;!(c=s.call(o)).done;){if((f=(l=(u=T_(E(c.value))).next).call(u)).done||(h=l.call(u)).done||!l.call(u).done)throw TypeError("Expected sequence with length 2");i.push({key:f.value+"",value:h.value+""})}else for(d in n)F(n,d)&&i.push({key:d,value:n[d]+""});else W_(i,"string"==typeof n?"?"===n.charAt(0)?n.slice(1):n:n+"")},K_=Z_.prototype;Ol(K_,{append:function t(e,n){$_(arguments.length,2);var r=F_(this);r.entries.push({key:e+"",value:n+""}),r.updateURL()},delete:function(t){$_(arguments.length,1);for(var e=F_(this),n=e.entries,r=t+"",i=0;i<n.length;)n[i].key===r?n.splice(i,1):i++;e.updateURL()},get:function t(e){$_(arguments.length,1);for(var n=F_(this).entries,r=e+"",i=0;i<n.length;i++)if(n[i].key===r)return n[i].value;return null},getAll:function t(e){$_(arguments.length,1);for(var n=F_(this).entries,r=e+"",i=[],a=0;a<n.length;a++)n[a].key===r&&i.push(n[a].value);return i},has:function t(e){$_(arguments.length,1);for(var n=F_(this).entries,r=e+"",i=0;i<n.length;)if(n[i++].key===r)return!0;return!1},set:function t(e,n){$_(arguments.length,1);for(var r=F_(this),i=r.entries,a=!1,o=e+"",s=n+"",c=0,u;c<i.length;c++)(u=i[c]).key===o&&(a?i.splice(c--,1):(a=!0,u.value=s));a||i.push({key:o,value:s}),r.updateURL()},sort:function t(){var e=F_(this),n=e.entries,r=n.slice(),i,a,o;for(o=n.length=0;o<r.length;o++){for(i=r[o],a=0;a<o;a++)if(n[a].key>i.key){n.splice(a,0,i);break}a===o&&n.push(i)}e.updateURL()},forEach:function t(e,n){for(var r=F_(this).entries,i=Se(e,1<arguments.length?n:void 0,3),a=0,o;a<r.length;)i((o=r[a++]).value,o.key,this)},keys:function t(){return new X_(this,"keys")},values:function t(){return new X_(this,"values")},entries:function t(){return new X_(this,"entries")}},{enumerable:!0}),lt(K_,I_,K_.entries),lt(K_,"toString",function t(){for(var e=F_(this).entries,n=[],r=0,i;r<e.length;)i=e[r++],n.push(Y_(i.key)+"="+Y_(i.value));return n.join("&")},{enumerable:!0}),Ae(Z_,L_),Bt({global:!0,forced:!s_},{URLSearchParams:Z_}),s_||"function"!=typeof O_||"function"!=typeof C_||Bt({global:!0,enumerable:!0,forced:!0},{fetch:function t(e,n){var r=[e],i,a,o;return 1<arguments.length&&(N(i=n)&&(a=i.body,Yn(a)===L_&&((o=i.headers?new C_(i.headers):new C_).has("content-type")||o.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),i=se(i,{body:u(0,String(a)),headers:u(0,o)}))),r.push(i)),O_.apply(this,r)}});var Q_={URLSearchParams:Z_,getState:F_},J_=lo.codeAt,tv=L.URL,ev=Q_.URLSearchParams,nv=Q_.getState,rv=ut.set,iv=ut.getterFor("URL"),av=Math.floor,ov=Math.pow,sv="Invalid authority",cv="Invalid scheme",uv="Invalid host",lv="Invalid port",fv=/[A-Za-z]/,hv=/[\d+\-.A-Za-z]/,dv=/\d/,pv=/^(0x|0X)/,gv=/^[0-7]+$/,_v=/^\d+$/,vv=/^[\dA-Fa-f]+$/,yv=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,mv=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,bv=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,xv=/[\u0009\u000A\u000D]/g,wv,kv=function(t,e){var n,r,i;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return uv;if(!(n=Mv(e.slice(1,-1))))return uv;t.host=n}else if(Pv(t)){if(e=E_(e),yv.test(e))return uv;if(null===(n=Av(e)))return uv;t.host=n}else{if(mv.test(e))return uv;for(n="",r=Dr(e),i=0;i<r.length;i++)n+=Lv(r[i],Tv);t.host=n}},Av=function(t){var e=t.split("."),n,r,i,a,o,s,c;if(e.length&&""==e[e.length-1]&&e.pop(),4<(n=e.length))return t;for(r=[],i=0;i<n;i++){if(""==(a=e[i]))return t;if(o=10,1<a.length&&"0"==a.charAt(0)&&(o=pv.test(a)?16:8,a=a.slice(8==o?1:2)),""===a)s=0;else{if(!(10==o?_v:8==o?gv:vv).test(a))return t;s=parseInt(a,o)}r.push(s)}for(i=0;i<n;i++)if(s=r[i],i==n-1){if(s>=ov(256,5-n))return null}else if(255<s)return null;for(c=r.pop(),i=0;i<r.length;i++)c+=r[i]*ov(256,3-i);return c},Mv=function(t){var e=[0,0,0,0,0,0,0,0],n=0,r=null,i=0,a,o,s,c,u,l,f,h=function(){return t.charAt(i)};if(":"==h()){if(":"!=t.charAt(1))return;i+=2,r=++n}for(;h();){if(8==n)return;if(":"!=h()){for(a=o=0;o<4&&vv.test(h());)a=16*a+parseInt(h(),16),i++,o++;if("."==h()){if(0==o)return;if(i-=o,6<n)return;for(s=0;h();){if(c=null,0<s){if(!("."==h()&&s<4))return;i++}if(!dv.test(h()))return;for(;dv.test(h());){if(u=parseInt(h(),10),null===c)c=u;else{if(0==c)return;c=10*c+u}if(255<c)return;i++}e[n]=256*e[n]+c,2!=++s&&4!=s||n++}if(4!=s)return;break}if(":"==h()){if(i++,!h())return}else if(h())return;e[n++]=a}else{if(null!==r)return;i++,r=++n}}if(null!==r)for(l=n-r,n=7;0!=n&&0<l;)f=e[n],e[n--]=e[r+l-1],e[r+--l]=f;else if(8!=n)return;return e},Sv=function(t){for(var e=null,n=1,r=null,i=0,a=0;a<8;a++)0!==t[a]?(n<i&&(e=r,n=i),r=null,i=0):(null===r&&(r=a),++i);return n<i&&(e=r,n=i),e},Ev=function(t){var e,n,r,i;if("number"==typeof t){for(e=[],n=0;n<4;n++)e.unshift(t%256),t=av(t/256);return e.join(".")}if("object"!=typeof t)return t;for(e="",r=Sv(t),n=0;n<8;n++)i&&0===t[n]||(i=i&&!1,r===n?(e+=n?":":"::",i=!0):(e+=t[n].toString(16),n<7&&(e+=":")));return"["+e+"]"},Tv={},Ov=xn({},Tv,{" ":1,'"':1,"<":1,">":1,"`":1}),Cv=xn({},Ov,{"#":1,"?":1,"{":1,"}":1}),Iv=xn({},Cv,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Lv=function(t,e){var n=J_(t,0);return 32<n&&n<127&&!F(e,t)?t:encodeURIComponent(t)},Nv={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Pv=function(t){return F(Nv,t.scheme)},Fv=function(t){return""!=t.username||""!=t.password},Rv=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},jv=function(t,e){var n;return 2==t.length&&fv.test(t.charAt(0))&&(":"==(n=t.charAt(1))||!e&&"|"==n)},zv=function(t){var e;return 1<t.length&&jv(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},Dv=function(t){var e=t.path,n=e.length;!n||"file"==t.scheme&&1==n&&jv(e[0],!0)||e.pop()},Uv=function(t){return"."===t||"%2e"===t.toLowerCase()},qv=function(t){return".."===(t=t.toLowerCase())||"%2e."===t||".%2e"===t||"%2e%2e"===t},Bv={},Hv={},Vv={},Yv={},Wv={},Gv={},$v={},Xv={},Zv={},Kv={},Qv={},Jv={},ty={},ey={},ny={},ry={},iy={},ay={},oy={},sy={},cy={},uy=function(t,e,n,r){var i=n||Bv,a=0,o="",s=!1,c=!1,u=!1,l,f,h,d;for(n||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(bv,"")),e=e.replace(xv,""),l=Dr(e);a<=l.length;){switch(f=l[a],i){case Bv:if(!f||!fv.test(f)){if(n)return cv;i=Vv;continue}o+=f.toLowerCase(),i=Hv;break;case Hv:if(f&&(hv.test(f)||"+"==f||"-"==f||"."==f))o+=f.toLowerCase();else{if(":"!=f){if(n)return cv;o="",i=Vv,a=0;continue}if(n&&(Pv(t)!=F(Nv,o)||"file"==o&&(Fv(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=o,n)return void(Pv(t)&&Nv[t.scheme]==t.port&&(t.port=null));o="","file"==t.scheme?i=ey:Pv(t)&&r&&r.scheme==t.scheme?i=Yv:Pv(t)?i=Xv:"/"==l[a+1]?(i=Wv,a++):(t.cannotBeABaseURL=!0,t.path.push(""),i=oy)}break;case Vv:if(!r||r.cannotBeABaseURL&&"#"!=f)return cv;if(r.cannotBeABaseURL&&"#"==f){t.scheme=r.scheme,t.path=r.path.slice(),t.query=r.query,t.fragment="",t.cannotBeABaseURL=!0,i=cy;break}i="file"==r.scheme?ey:Gv;continue;case Yv:if("/"!=f||"/"!=l[a+1]){i=Gv;continue}i=Zv,a++;break;case Wv:if("/"==f){i=Kv;break}i=ay;continue;case Gv:if(t.scheme=r.scheme,f==wv)t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query=r.query;else if("/"==f||"\\"==f&&Pv(t))i=$v;else if("?"==f)t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query="",i=sy;else{if("#"!=f){t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.path.pop(),i=ay;continue}t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query=r.query,t.fragment="",i=cy}break;case $v:if(!Pv(t)||"/"!=f&&"\\"!=f){if("/"!=f){t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,i=ay;continue}i=Kv}else i=Zv;break;case Xv:if(i=Zv,"/"!=f||"/"!=o.charAt(a+1))continue;a++;break;case Zv:if("/"==f||"\\"==f)break;i=Kv;continue;case Kv:if("@"==f){s&&(o="%40"+o),s=!0,h=Dr(o);for(var p=0;p<h.length;p++){var g=h[p];if(":"!=g||u){var _=Lv(g,Iv);u?t.password+=_:t.username+=_}else u=!0}o=""}else if(f==wv||"/"==f||"?"==f||"#"==f||"\\"==f&&Pv(t)){if(s&&""==o)return sv;a-=Dr(o).length+1,o="",i=Qv}else o+=f;break;case Qv:case Jv:if(n&&"file"==t.scheme){i=ry;continue}if(":"!=f||c){if(f==wv||"/"==f||"?"==f||"#"==f||"\\"==f&&Pv(t)){if(Pv(t)&&""==o)return uv;if(n&&""==o&&(Fv(t)||null!==t.port))return;if(d=kv(t,o))return d;if(o="",i=iy,n)return;continue}"["==f?c=!0:"]"==f&&(c=!1),o+=f}else{if(""==o)return uv;if(d=kv(t,o))return d;if(o="",i=ty,n==Jv)return}break;case ty:if(!dv.test(f)){if(f==wv||"/"==f||"?"==f||"#"==f||"\\"==f&&Pv(t)||n){if(""!=o){var v=parseInt(o,10);if(65535<v)return lv;t.port=Pv(t)&&v===Nv[t.scheme]?null:v,o=""}if(n)return;i=iy;continue}return lv}o+=f;break;case ey:if(t.scheme="file","/"==f||"\\"==f)i=ny;else{if(!r||"file"!=r.scheme){i=ay;continue}if(f==wv)t.host=r.host,t.path=r.path.slice(),t.query=r.query;else if("?"==f)t.host=r.host,t.path=r.path.slice(),t.query="",i=sy;else{if("#"!=f){zv(l.slice(a).join(""))||(t.host=r.host,t.path=r.path.slice(),Dv(t)),i=ay;continue}t.host=r.host,t.path=r.path.slice(),t.query=r.query,t.fragment="",i=cy}}break;case ny:if("/"==f||"\\"==f){i=ry;break}r&&"file"==r.scheme&&!zv(l.slice(a).join(""))&&(jv(r.path[0],!0)?t.path.push(r.path[0]):t.host=r.host),i=ay;continue;case ry:if(f==wv||"/"==f||"\\"==f||"?"==f||"#"==f){if(!n&&jv(o))i=ay;else if(""==o){if(t.host="",n)return;i=iy}else{if(d=kv(t,o))return d;if("localhost"==t.host&&(t.host=""),n)return;o="",i=iy}continue}o+=f;break;case iy:if(Pv(t)){if(i=ay,"/"!=f&&"\\"!=f)continue}else if(n||"?"!=f)if(n||"#"!=f){if(f!=wv&&(i=ay,"/"!=f))continue}else t.fragment="",i=cy;else t.query="",i=sy;break;case ay:if(f==wv||"/"==f||"\\"==f&&Pv(t)||!n&&("?"==f||"#"==f)){if(qv(o)?(Dv(t),"/"==f||"\\"==f&&Pv(t)||t.path.push("")):Uv(o)?"/"==f||"\\"==f&&Pv(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&jv(o)&&(t.host&&(t.host=""),o=o.charAt(0)+":"),t.path.push(o)),o="","file"==t.scheme&&(f==wv||"?"==f||"#"==f))for(;1<t.path.length&&""===t.path[0];)t.path.shift();"?"==f?(t.query="",i=sy):"#"==f&&(t.fragment="",i=cy)}else o+=Lv(f,Cv);break;case oy:"?"==f?(t.query="",i=sy):"#"==f?(t.fragment="",i=cy):f!=wv&&(t.path[0]+=Lv(f,Tv));break;case sy:n||"#"!=f?f!=wv&&("'"==f&&Pv(t)?t.query+="%27":t.query+="#"==f?"%23":Lv(f,Tv)):(t.fragment="",i=cy);break;case cy:f!=wv&&(t.fragment+=Lv(f,Ov))}a++}},ly=function t(e,n){var r=Cl(this,ly,"URL"),i=1<arguments.length?n:void 0,a=String(e),o=rv(r,{type:"URL"}),s,c;if(void 0!==i)if(i instanceof ly)s=iv(i);else if(c=uy(s={},String(i)))throw TypeError(c);if(c=uy(o,a,null,s))throw TypeError(c);var u=o.searchParams=new ev,l=nv(u);l.updateSearchParams(o.query),l.updateURL=function(){o.query=String(u)||null},d||(r.href=hy.call(r),r.origin=dy.call(r),r.protocol=py.call(r),r.username=gy.call(r),r.password=_y.call(r),r.host=vy.call(r),r.hostname=yy.call(r),r.port=my.call(r),r.pathname=by.call(r),r.search=xy.call(r),r.searchParams=wy.call(r),r.hash=ky.call(r))},fy=ly.prototype,hy=function(){var t=iv(this),e=t.scheme,n=t.username,r=t.password,i=t.host,a=t.port,o=t.path,s=t.query,c=t.fragment,u=e+":";return null!==i?(u+="//",Fv(t)&&(u+=n+(r?":"+r:"")+"@"),u+=Ev(i),null!==a&&(u+=":"+a)):"file"==e&&(u+="//"),u+=t.cannotBeABaseURL?o[0]:o.length?"/"+o.join("/"):"",null!==s&&(u+="?"+s),null!==c&&(u+="#"+c),u},dy=function(){var t=iv(this),e=t.scheme,n=t.port;if("blob"==e)try{return new URL(e.path[0]).origin}catch(t){return"null"}return"file"!=e&&Pv(t)?e+"://"+Ev(t.host)+(null!==n?":"+n:""):"null"},py=function(){return iv(this).scheme+":"},gy=function(){return iv(this).username},_y=function(){return iv(this).password},vy=function(){var t=iv(this),e=t.host,n=t.port;return null===e?"":null===n?Ev(e):Ev(e)+":"+n},yy=function(){var t=iv(this).host;return null===t?"":Ev(t)},my=function(){var t=iv(this).port;return null===t?"":String(t)},by=function(){var t=iv(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},xy=function(){var t=iv(this).query;return t?"?"+t:""},wy=function(){return iv(this).searchParams},ky=function(){var t=iv(this).fragment;return t?"#"+t:""},Ay=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(d&&$t(fy,{href:Ay(hy,function(t){var e=iv(this),n=String(t),r=uy(e,n);if(r)throw TypeError(r);nv(e.searchParams).updateSearchParams(e.query)}),origin:Ay(dy),protocol:Ay(py,function(t){var e=iv(this);uy(e,String(t)+":",Bv)}),username:Ay(gy,function(t){var e=iv(this),n=Dr(String(t));if(!Rv(e)){e.username="";for(var r=0;r<n.length;r++)e.username+=Lv(n[r],Iv)}}),password:Ay(_y,function(t){var e=iv(this),n=Dr(String(t));if(!Rv(e)){e.password="";for(var r=0;r<n.length;r++)e.password+=Lv(n[r],Iv)}}),host:Ay(vy,function(t){var e=iv(this);e.cannotBeABaseURL||uy(e,String(t),Qv)}),hostname:Ay(yy,function(t){var e=iv(this);e.cannotBeABaseURL||uy(e,String(t),Jv)}),port:Ay(my,function(t){var e=iv(this);Rv(e)||(""==(t=String(t))?e.port=null:uy(e,t,ty))}),pathname:Ay(by,function(t){var e=iv(this);e.cannotBeABaseURL||(e.path=[],uy(e,t+"",iy))}),search:Ay(xy,function(t){var e=iv(this);""==(t=String(t))?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",uy(e,t,sy)),nv(e.searchParams).updateSearchParams(e.query)}),searchParams:Ay(wy),hash:Ay(ky,function(t){var e=iv(this);""!=(t=String(t))?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",uy(e,t,cy)):e.fragment=null})}),lt(fy,"toJSON",function t(){return hy.call(this)},{enumerable:!0}),lt(fy,"toString",function t(){return hy.call(this)},{enumerable:!0}),tv){var My=tv.createObjectURL,Sy=tv.revokeObjectURL;My&<(ly,"createObjectURL",function t(e){return My.apply(tv,arguments)}),Sy&<(ly,"revokeObjectURL",function t(e){return Sy.apply(tv,arguments)})}Ae(ly,"URL"),Bt({global:!0,forced:!s_,sham:!d},{URL:ly}),Bt({target:"URL",proto:!0,enumerable:!0},{toJSON:function t(){return URL.prototype.toString.call(this)}});var Ey=n(function(t){var e=function(o){var t=Object.prototype,l=t.hasOwnProperty,c,e="function"==typeof Symbol?Symbol:{},i=e.iterator||"@@iterator",n=e.asyncIterator||"@@asyncIterator",r=e.toStringTag||"@@toStringTag";function s(t,e,n,r){var i=e&&e.prototype instanceof u?e:u,a=Object.create(i.prototype),o=new T(r||[]);return a._invoke=A(t,n,o),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}o.wrap=s;var h="suspendedStart",d="suspendedYield",p="executing",g="completed",_={};function u(){}function a(){}function v(){}var y={};y[i]=function(){return this};var m=Object.getPrototypeOf,b=m&&m(m(O([])));b&&b!==t&&l.call(b,i)&&(y=b);var x=v.prototype=u.prototype=Object.create(y);function w(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function k(s,c){function u(t,e,n,r){var i=f(s[t],s,e);if("throw"!==i.type){var a=i.arg,o=a.value;return o&&"object"==typeof o&&l.call(o,"__await")?c.resolve(o.__await).then(function(t){u("next",t,n,r)},function(t){u("throw",t,n,r)}):c.resolve(o).then(function(t){a.value=t,n(a)},function(t){return u("throw",t,n,r)})}r(i.arg)}var e;function t(n,r){function t(){return new c(function(t,e){u(n,r,t,e)})}return e=e?e.then(t,t):t()}this._invoke=t}function A(o,s,c){var u=h;return function t(e,n){if(u===p)throw new Error("Generator is already running");if(u===g){if("throw"===e)throw n;return C()}for(c.method=e,c.arg=n;;){var r=c.delegate;if(r){var i=M(r,c);if(i){if(i===_)continue;return i}}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(u===h)throw u=g,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);u=p;var a=f(o,s,c);if("normal"===a.type){if(u=c.done?g:d,a.arg===_)continue;return{value:a.arg,done:c.done}}"throw"===a.type&&(u=g,c.method="throw",c.arg=a.arg)}}}function M(t,e){var n=t.iterator[e.method];if(n===c){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=c,M(t,e),"throw"===e.method))return _;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return _}var r=f(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,_;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=c),e.delegate=null,_):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,_)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function O(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(l.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=c,t.done=!0,t};return r.next=r}}return{next:C}}function C(){return{value:c,done:!0}}return a.prototype=x.constructor=v,v.constructor=a,v[r]=a.displayName="GeneratorFunction",o.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===a||"GeneratorFunction"===(e.displayName||e.name))},o.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,r in t||(t[r]="GeneratorFunction")),t.prototype=Object.create(x),t},o.awrap=function(t){return{__await:t}},w(k.prototype),k.prototype[n]=function(){return this},o.AsyncIterator=k,o.async=function(t,e,n,r,i){void 0===i&&(i=Promise);var a=new k(s(t,e,n,r),i);return o.isGeneratorFunction(e)?a:a.next().then(function(t){return t.done?t.value:a.next()})},w(x),x[r]="Generator",x[i]=function(){return this},x.toString=function(){return"[object Generator]"},o.keys=function(n){var r=[];for(var t in n)r.push(t);return r.reverse(),function t(){for(;r.length;){var e=r.pop();if(e in n)return t.value=e,t.done=!1,t}return t.done=!0,t}},o.values=O,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=c,this.done=!1,this.delegate=null,this.method="next",this.arg=c,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&l.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=c)},stop:function(){this.done=!0;var t,e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var r=this;function t(t,e){return a.type="throw",a.arg=n,r.next=t,e&&(r.method="next",r.arg=c),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var i=this.tryEntries[e],a=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var o=l.call(i,"catchLoc"),s=l.call(i,"finallyLoc");if(o&&s){if(this.prev<i.catchLoc)return t(i.catchLoc,!0);if(this.prev<i.finallyLoc)return t(i.finallyLoc)}else if(o){if(this.prev<i.catchLoc)return t(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return t(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&l.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,_):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),_},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),E(n),_}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;E(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:O(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=c),_}},o}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}}),Ty,Oy,Cy;function Iy(){(Ty=document.createElement("style")).id="flourish-page-styles",Ty.type="text/css",document.head.appendChild(Ty),(Cy=document.createElement("link")).setAttribute("rel","stylesheet"),document.body.appendChild(Cy)}function Ly(){if(im.body_font&&im.body_font.url!==Oy){Oy=im.body_font.url,Cy.setAttribute("href",Oy),document.body.style.fontFamily=im.body_font.name;var t,i="";["mobile_small","mobile_big","tablet","desktop","big_screen"].forEach(function(t,e){var n="@media(min-width: "+im["breakpoint_"+t]+"px) {\n",r="html { font-size:"+im["font_size_"+t]+"%; }";i+=(0==e?"":n)+r+(0==e?"":"\n}")+"\n\n"}),Ty.innerHTML=i}}var Ny=Object.freeze({"stack-default":["header","controls","primary","footer"],"stack-2":["primary","header","controls","footer"],"stack-3":["header","primary","controls","footer"],"stack-4":["controls","primary","header","footer"]}),Py,Fy,Ry,jy,zy,Dy,Uy,qy,By;function Hy(){return im.title||im.subtitle?im.text?("custom"!=im.text_size?im.text_size/2:im.text_size_custom/2)+"rem":im.subtitle?("custom"!=im.subtitle_size?im.subtitle_size/2:im.subtitle_size_custom/2)+"rem":im.title?("custom"!=im.title_size?im.title_size/2:im.title_size_custom/2)+"rem":void 0:""}function Vy(){(Py=document.createElement("header")).className="flourish-header";var t=document.createElement("hgroup");return Fy=document.createElement("h1"),Ry=document.createElement("h2"),jy=document.createElement("p"),zy=document.createElement("img"),Py.appendChild(zy),Py.appendChild(t),t.appendChild(Fy),t.appendChild(Ry),Py.appendChild(jy),Py}function Yy(){Py.style.textAlign=im.header_align,Py.style.margin=0,Py.style.borderTop="top"==im.header_border?im.header_border_width+"px "+im.header_border_style+" "+im.header_border_color:null,Py.style.borderBottom="bottom"==im.header_border?im.header_border_width+"px "+im.header_border_style+" "+im.header_border_color:null,Py.style.paddingBottom=Hy(),Fy.innerHTML=im.title?im.title:"",Fy.style.fontSize=("custom"!=im.title_size?im.title_size:im.title_size_custom)+"rem",Fy.style.lineHeight=im.title_line_height,Fy.style.fontWeight=im.title_weight,Fy.style.color=im.title_color,Fy.style.margin=0,Fy.style.lineHeight=im.title_color,Fy.style.paddingTop=im.title?("custom"==im.title_space_above?im.title_space_above_custom:im.title_space_above)+"rem":0,Ry.innerHTML=im.subtitle?im.subtitle:"",Ry.style.fontSize=("custom"!=im.subtitle_size?im.subtitle_size:im.subtitle_size_custom)+"rem",Ry.style.lineHeight=im.subtitle_line_height,Ry.style.fontWeight=im.subtitle_weight,Ry.style.color=im.subtitle_color,Ry.style.margin=0,Ry.style.paddingTop=im.subtitle?("custom"==im.subtitle_space_above?im.subtitle_space_above_custom:im.subtitle_space_above)+"rem":0,jy.innerHTML=im.text?im.text:"",jy.style.fontSize=("custom"!=im.text_size?im.text_size:im.text_size_custom)+"rem",jy.style.lineHeight=im.text_line_height,jy.style.fontWeight=im.text_weight,jy.style.margin=0,jy.style.color=im.text_color,jy.style.paddingTop=im.text?("custom"==im.text_space_above?im.text_space_above_custom:im.text_space_above)+"rem":0,zy.style.display=im.header_logo_enabled?"":"none",zy.style.position="inside"==im.header_logo_align?"":"fixed",zy.style.height=im.header_logo_height+"rem",zy.style.top="outside"==im.header_logo_align?0:"",zy.style.left="outside"==im.header_logo_align&&"left"==im.header_logo_position_outside?0:"",zy.style.right="outside"==im.header_logo_align&&"right"==im.header_logo_position_outside?0:"",zy.style.marginTop=im.header_logo_margin_top+"rem",zy.style.marginBottom=im.header_logo_margin_bottom+"rem",zy.style.marginLeft=im.header_logo_margin_left+"rem",zy.style.marginRight=im.header_logo_margin_right+"rem",zy.style.float="top"==im.header_logo_position_inside||"outside"==im.header_logo_align?"":im.header_logo_position_inside,zy.style.width="auto",zy.src=im.header_logo_src}function Wy(t){return"string"==typeof t&&null!=t.match(/^https?:\/\//i)}var Gy=!1;function $y(){var t=document.createElement("style");t.type="text/css",t.innerHTML=".flourish-footer { margin: 0; } .flourish-footer p { margin: 0; display: inline; } .flourish-footer p:empty { height: 0; } .flourish-footer a { color: inherit; }",document.head.appendChild(t)}function Xy(t){return 0!==t.indexOf("http://")&&0!==t.indexOf("https://")?"http://"+t:t}function Zy(){return $y(),(Dy=document.createElement("footer")).className="flourish-footer",(Uy=document.createElement("div")).className="flourish-footer-text",(By=document.createElement("a")).target="_blank",(qy=document.createElement("img")).className="flourish-footer-logo",By.appendChild(qy),Dy.appendChild(Uy),Dy.appendChild(By),Dy}function Ky(){return im.source_name||im.source_name_2||im.source_name_3||im.source_url||im.source_url_2||im.source_url_3||im.footer_note||Wy(im.footer_logo_src)&&im.footer_logo_enabled?Tm(im.footer_text_size)/2+"px":""}function Qy(){var t=[{name:im.source_name,url:im.source_url},{name:im.multiple_sources?im.source_name_2:"",url:im.multiple_sources?im.source_url_2:""},{name:im.multiple_sources?im.source_name_3:"",url:im.multiple_sources?im.source_url_3:""}].filter(function(t){return t.name||t.url});Gy=0<t.length||im.footer_note||Wy(im.footer_logo_src)&&im.footer_logo_enabled,Dy.style.display="flex",Dy.style.height=Gy?null:0,Dy.style.width="100%",Dy.style.paddingTop=Ky(),Dy.style.borderTop="top"==im.footer_border?im.footer_border_width+"px "+im.footer_border_style+" "+im.footer_border_color:"",Dy.style.borderBottom="bottom"==im.footer_border?im.footer_border_width+"px "+im.footer_border_style+" "+im.footer_border_color:"","justify"==im.footer_align?Dy.style.justifyContent="space-between":"left"==im.footer_align?Dy.style.justifyContent="flex-start":"right"==im.footer_align?Dy.style.justifyContent="flex-end":"center"==im.footer_align&&(Dy.style.justifyContent="center"),Dy.style.fontSize=im.footer_text_size+"rem",Dy.style.color=im.footer_text_color;var i=document.createElement("span");t.forEach(function(t,e){var n=document.createElement("p");if(0<e&&(n.innerText=", "),t.url){var r=document.createElement("a");r.innerText=t.name||t.url,r.href=Xy(t.url),r.target="_blank",n.appendChild(r)}else n.innerText+=t.name||t.url;i.innerHTML+=n.innerHTML}),Uy.style.order="left"==im.footer_logo_order?2:"",Uy.style.display="flex",Uy.style.alignItems=im.footer_align_vertical;var e="
";e+=""!==i.innerHTML?im.source_label+" "+i.innerHTML:"",e+=im.footer_note?(""!==i.innerHTML?" • ":"")+im.footer_note:"",e+="
- ",e.forEach(function(t,e){r+="
- "+t+": "+i[n][e]+" "}),r+="
"+i[this._title_binding]+"
"+o+": "+sk(i.metadata[s])+"
")}else{if(o=this._column_names[r],Array.isArray(o)){o.forEach(function(t,e){n+="
"+t+": "+sk(i[r][e])+"
"});continue}if(e[o])continue;e[o]=!0,n+="
"+o+": "+sk(i[r])+"
\n ')},placeholder:function(t){return(0,S.strToEl)('\n
\n '+t+"\n'+t.value+"\n '+t+"\nC'est pourquoi, notre tableau s'arrête à la date du 19 mars, puisque le passage en épidémie a entraîné la fin des tests systématiques. L'Hérault, l'Aude, la Haute-Garonne affichent la plus forte progression.
Hospitalisations : Hérault, P.-O et Haute-Garonne les plus impactés
Les départements de l'Hérault et des Pyrénées-Orientales arrivent en tête des départements de l'ex-Languedoc-Roussillon en termes d'hospitalisations. Au 27 mars, les 5 départements qui composaient l'ex-Languedoc-Roussillon totalisent 365 hospitalisations, soit 40 de plus que jeudi.
L'Hérault reste le plus touché avec 177 hospitalisations (+ 25). Contre 257 pour les départements d'ex-Midi-Pyrénées. C'est la Haute-Garonne qui est la plus touchée avec 159 hospitalisations..
L'Aude et l'Hérault les plus touchés par les décès
En Occitanie, l’Agence régionale de santé recense ce vendredi soir un total de 61 décès en établissements de santé, soit 7 de plus que vendredi soir. 1 553 cas de coronavirus sont confirmés, 622 hospitalisations sont en cours, dont 186 en réanimation. 269 personnes sont, à ce jour, rentrées chez elles.
Les départements de l'Hérault avec 18 morts et l'Aude, avec 15 morts sont pour l'heure les plus touchés. Neuf personnes (+ 1) sont mortes dans les Pyrénées-Orientales, 6 dans le Gard ( +1), 5 en Haute-Garonne (+ 2), 5 en Aveyron (+ 1), 1 dans le Tarn et 1 en Tarn-et-Garonne. Les Hautes-Pyrénées enregistrent leur premier décès ce 26 mars.
1 995 victimes en France
Jérôme Salomon, directeur général de la Santé, a présenté le bilan journalier de l’épidémie de Covid-19. 299 décès de plus en 24 h, ce qui fait un total de 1 995 morts au total. 15 732 personnes sont hospitalisées dont 3 787 en réanimation. Il faut aussi noter que 5 700 personnes sont sorties guéries de l’hôpital. Ces chiffres de mortalité ne prennent pas en compte les morts en Ehpad ni ceux à domicile. Le nombre de cas confirmés est de 32 964.
Il y a eu 3 788 passages aux urgences pour une suspicion de coronavirus. "Le nombre observé de décès sur la semaine du 16 au 23 mars devient significativement supérieur avec un excès de mortalité de 6 % au niveau national", a-t-il ajouté, se basant sur les chiffres de l'Insee. La situation devient de plus en plus critique dans certaines région et Jérôme Salomon a annoncé d’autres transferts médicalisés de patients entre régions.
L'Occitanie, septième région la plus touchée
L'Ile-de-France est désormais la région la plus touchée par l'évolution de la pandémie. Devant le Grand Est.
Suivent la région Auvergne-Rhônes Alpes, Provence-Alpes-Côtes-d'Azur, les Hauts-de-France, Bourgogne-Franche Comté. LOccitanie est la septième région la plus impactée (1 553 cas confirmés).
La Corse reste la moins touchée de Métropole.
Pour suivre l'évolution de l'épidémie en France, Santé Publique France publie chaque soir par région, en métropole et Outre-mer, les nouvelles données.
Tags : France, Covid-19, hospitalisations, décès, au jour le jour, l'évolution, épidémie en Occitanie
-
Commentaires