UNPKG

737 kBJavaScriptView Raw
1!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.mermaid=e():t.mermaid=e()}(window,function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=55)}([function(t,e,n){"use strict";n.r(e);var r=function(t,e){return t<e?-1:t>e?1:t>=e?0:NaN},i=function(t){var e;return 1===t.length&&(e=t,t=function(t,n){return r(e(t),n)}),{left:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){var a=r+i>>>1;t(e[a],n)<0?r=a+1:i=a}return r},right:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){var a=r+i>>>1;t(e[a],n)>0?i=a:r=a+1}return r}}};var a=i(r),o=a.right,u=a.left,s=o,c=function(t,e){null==e&&(e=l);for(var n=0,r=t.length-1,i=t[0],a=new Array(r<0?0:r);n<r;)a[n]=e(i,i=t[++n]);return a};function l(t,e){return[t,e]}var f=function(t,e,n){var r,i,a,o,u=t.length,s=e.length,c=new Array(u*s);for(null==n&&(n=l),r=a=0;r<u;++r)for(o=t[r],i=0;i<s;++i,++a)c[a]=n(o,e[i]);return c},h=function(t,e){return e<t?-1:e>t?1:e>=t?0:NaN},d=function(t){return null===t?NaN:+t},p=function(t,e){var n,r,i=t.length,a=0,o=-1,u=0,s=0;if(null==e)for(;++o<i;)isNaN(n=d(t[o]))||(s+=(r=n-u)*(n-(u+=r/++a)));else for(;++o<i;)isNaN(n=d(e(t[o],o,t)))||(s+=(r=n-u)*(n-(u+=r/++a)));if(a>1)return s/(a-1)},g=function(t,e){var n=p(t,e);return n?Math.sqrt(n):n},y=function(t,e){var n,r,i,a=t.length,o=-1;if(null==e){for(;++o<a;)if(null!=(n=t[o])&&n>=n)for(r=i=n;++o<a;)null!=(n=t[o])&&(r>n&&(r=n),i<n&&(i=n))}else for(;++o<a;)if(null!=(n=e(t[o],o,t))&&n>=n)for(r=i=n;++o<a;)null!=(n=e(t[o],o,t))&&(r>n&&(r=n),i<n&&(i=n));return[r,i]},m=Array.prototype,v=m.slice,b=m.map,_=function(t){return function(){return t}},x=function(t){return t},w=function(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},k=Math.sqrt(50),E=Math.sqrt(10),A=Math.sqrt(2),T=function(t,e,n){var r,i,a,o,u=-1;if(n=+n,(t=+t)===(e=+e)&&n>0)return[t];if((r=e<t)&&(i=t,t=e,e=i),0===(o=S(t,e,n))||!isFinite(o))return[];if(o>0)for(t=Math.ceil(t/o),e=Math.floor(e/o),a=new Array(i=Math.ceil(e-t+1));++u<i;)a[u]=(t+u)*o;else for(t=Math.floor(t*o),e=Math.ceil(e*o),a=new Array(i=Math.ceil(t-e+1));++u<i;)a[u]=(t-u)/o;return r&&a.reverse(),a};function S(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 i>=0?(a>=k?10:a>=E?5:a>=A?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(a>=k?10:a>=E?5:a>=A?2:1)}function D(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 a>=k?i*=10:a>=E?i*=5:a>=A&&(i*=2),e<t?-i:i}var M=function(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1},C=function(){var t=x,e=y,n=M;function r(r){var i,a,o=r.length,u=new Array(o);for(i=0;i<o;++i)u[i]=t(r[i],i,r);var c=e(u),l=c[0],f=c[1],h=n(u,l,f);Array.isArray(h)||(h=D(l,f,h),h=w(Math.ceil(l/h)*h,f,h));for(var d=h.length;h[0]<=l;)h.shift(),--d;for(;h[d-1]>f;)h.pop(),--d;var p,g=new Array(d+1);for(i=0;i<=d;++i)(p=g[i]=[]).x0=i>0?h[i-1]:l,p.x1=i<d?h[i]:f;for(i=0;i<o;++i)l<=(a=u[i])&&a<=f&&g[s(h,a,0,d)].push(r[i]);return g}return r.value=function(e){return arguments.length?(t="function"==typeof e?e:_(e),r):t},r.domain=function(t){return arguments.length?(e="function"==typeof t?t:_([t[0],t[1]]),r):e},r.thresholds=function(t){return arguments.length?(n="function"==typeof t?t:Array.isArray(t)?_(v.call(t)):_(t),r):n},r},O=function(t,e,n){if(null==n&&(n=d),r=t.length){if((e=+e)<=0||r<2)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,i=(r-1)*e,a=Math.floor(i),o=+n(t[a],a,t);return o+(+n(t[a+1],a+1,t)-o)*(i-a)}},L=function(t,e,n){return t=b.call(t,d).sort(r),Math.ceil((n-e)/(2*(O(t,.75)-O(t,.25))*Math.pow(t.length,-1/3)))},N=function(t,e,n){return Math.ceil((n-e)/(3.5*g(t)*Math.pow(t.length,-1/3)))},R=function(t,e){var n,r,i=t.length,a=-1;if(null==e){for(;++a<i;)if(null!=(n=t[a])&&n>=n)for(r=n;++a<i;)null!=(n=t[a])&&n>r&&(r=n)}else for(;++a<i;)if(null!=(n=e(t[a],a,t))&&n>=n)for(r=n;++a<i;)null!=(n=e(t[a],a,t))&&n>r&&(r=n);return r},F=function(t,e){var n,r=t.length,i=r,a=-1,o=0;if(null==e)for(;++a<r;)isNaN(n=d(t[a]))?--i:o+=n;else for(;++a<r;)isNaN(n=d(e(t[a],a,t)))?--i:o+=n;if(i)return o/i},P=function(t,e){var n,i=t.length,a=-1,o=[];if(null==e)for(;++a<i;)isNaN(n=d(t[a]))||o.push(n);else for(;++a<i;)isNaN(n=d(e(t[a],a,t)))||o.push(n);return O(o.sort(r),.5)},B=function(t){for(var e,n,r,i=t.length,a=-1,o=0;++a<i;)o+=t[a].length;for(n=new Array(o);--i>=0;)for(e=(r=t[i]).length;--e>=0;)n[--o]=r[e];return n},I=function(t,e){var n,r,i=t.length,a=-1;if(null==e){for(;++a<i;)if(null!=(n=t[a])&&n>=n)for(r=n;++a<i;)null!=(n=t[a])&&r>n&&(r=n)}else for(;++a<i;)if(null!=(n=e(t[a],a,t))&&n>=n)for(r=n;++a<i;)null!=(n=e(t[a],a,t))&&r>n&&(r=n);return r},q=function(t,e){for(var n=e.length,r=new Array(n);n--;)r[n]=t[e[n]];return r},U=function(t,e){if(n=t.length){var n,i,a=0,o=0,u=t[o];for(null==e&&(e=r);++a<n;)(e(i=t[a],u)<0||0!==e(u,u))&&(u=i,o=a);return 0===e(u,u)?o:void 0}},j=function(t,e,n){for(var r,i,a=(null==n?t.length:n)-(e=null==e?0:+e);a;)i=Math.random()*a--|0,r=t[a+e],t[a+e]=t[i+e],t[i+e]=r;return t},Y=function(t,e){var n,r=t.length,i=-1,a=0;if(null==e)for(;++i<r;)(n=+t[i])&&(a+=n);else for(;++i<r;)(n=+e(t[i],i,t))&&(a+=n);return a},z=function(t){if(!(i=t.length))return[];for(var e=-1,n=I(t,V),r=new Array(n);++e<n;)for(var i,a=-1,o=r[e]=new Array(i);++a<i;)o[a]=t[a][e];return r};function V(t){return t.length}var $=function(){return z(arguments)},H=Array.prototype.slice,G=function(t){return t},W=1,Z=2,X=3,J=4,K=1e-6;function Q(t){return"translate("+(t+.5)+",0)"}function tt(t){return"translate(0,"+(t+.5)+")"}function et(){return!this.__axis}function nt(t,e){var n=[],r=null,i=null,a=6,o=6,u=3,s=t===W||t===J?-1:1,c=t===J||t===Z?"x":"y",l=t===W||t===X?Q:tt;function f(f){var h=null==r?e.ticks?e.ticks.apply(e,n):e.domain():r,d=null==i?e.tickFormat?e.tickFormat.apply(e,n):G:i,p=Math.max(a,0)+u,g=e.range(),y=+g[0]+.5,m=+g[g.length-1]+.5,v=(e.bandwidth?function(t){var e=Math.max(0,t.bandwidth()-1)/2;return t.round()&&(e=Math.round(e)),function(n){return+t(n)+e}}:function(t){return function(e){return+t(e)}})(e.copy()),b=f.selection?f.selection():f,_=b.selectAll(".domain").data([null]),x=b.selectAll(".tick").data(h,e).order(),w=x.exit(),k=x.enter().append("g").attr("class","tick"),E=x.select("line"),A=x.select("text");_=_.merge(_.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),x=x.merge(k),E=E.merge(k.append("line").attr("stroke","currentColor").attr(c+"2",s*a)),A=A.merge(k.append("text").attr("fill","currentColor").attr(c,s*p).attr("dy",t===W?"0em":t===X?"0.71em":"0.32em")),f!==b&&(_=_.transition(f),x=x.transition(f),E=E.transition(f),A=A.transition(f),w=w.transition(f).attr("opacity",K).attr("transform",function(t){return isFinite(t=v(t))?l(t):this.getAttribute("transform")}),k.attr("opacity",K).attr("transform",function(t){var e=this.parentNode.__axis;return l(e&&isFinite(e=e(t))?e:v(t))})),w.remove(),_.attr("d",t===J||t==Z?o?"M"+s*o+","+y+"H0.5V"+m+"H"+s*o:"M0.5,"+y+"V"+m:o?"M"+y+","+s*o+"V0.5H"+m+"V"+s*o:"M"+y+",0.5H"+m),x.attr("opacity",1).attr("transform",function(t){return l(v(t))}),E.attr(c+"2",s*a),A.attr(c,s*p).text(d),b.filter(et).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===Z?"start":t===J?"end":"middle"),b.each(function(){this.__axis=v})}return f.scale=function(t){return arguments.length?(e=t,f):e},f.ticks=function(){return n=H.call(arguments),f},f.tickArguments=function(t){return arguments.length?(n=null==t?[]:H.call(t),f):n.slice()},f.tickValues=function(t){return arguments.length?(r=null==t?null:H.call(t),f):r&&r.slice()},f.tickFormat=function(t){return arguments.length?(i=t,f):i},f.tickSize=function(t){return arguments.length?(a=o=+t,f):a},f.tickSizeInner=function(t){return arguments.length?(a=+t,f):a},f.tickSizeOuter=function(t){return arguments.length?(o=+t,f):o},f.tickPadding=function(t){return arguments.length?(u=+t,f):u},f}function rt(t){return nt(W,t)}function it(t){return nt(Z,t)}function at(t){return nt(X,t)}function ot(t){return nt(J,t)}var ut={value:function(){}};function st(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r)throw new Error("illegal type: "+t);r[t]=[]}return new ct(r)}function ct(t){this._=t}function lt(t,e){for(var n,r=0,i=t.length;r<i;++r)if((n=t[r]).name===e)return n.value}function ft(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){t[r]=ut,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=n&&t.push({name:e,value:n}),t}ct.prototype=st.prototype={constructor:ct,on:function(t,e){var n,r,i=this._,a=(r=i,(t+"").trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");if(n>=0&&(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}})),o=-1,u=a.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++o<u;)if(n=(t=a[o]).type)i[n]=ft(i[n],t.name,e);else if(null==e)for(n in i)i[n]=ft(i[n],t.name,null);return this}for(;++o<u;)if((n=(t=a[o]).type)&&(n=lt(i[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new ct(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),a=0;a<n;++a)i[a]=arguments[a+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(a=0,n=(r=this._[t]).length;a<n;++a)r[a].value.apply(e,i)},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 ht=st,dt="http://www.w3.org/1999/xhtml",pt={svg:"http://www.w3.org/2000/svg",xhtml:dt,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},gt=function(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),pt.hasOwnProperty(e)?{space:pt[e],local:t}:t};var yt=function(t){var e=gt(t);return(e.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===dt&&e.documentElement.namespaceURI===dt?e.createElement(t):e.createElementNS(n,t)}})(e)};function mt(){}var vt=function(t){return null==t?mt:function(){return this.querySelector(t)}};function bt(){return[]}var _t=function(t){return null==t?bt:function(){return this.querySelectorAll(t)}},xt=function(t){return function(){return this.matches(t)}};if("undefined"!=typeof document){var wt=document.documentElement;if(!wt.matches){var kt=wt.webkitMatchesSelector||wt.msMatchesSelector||wt.mozMatchesSelector||wt.oMatchesSelector;xt=function(t){return function(){return kt.call(this,t)}}}}var Et=xt,At=function(t){return new Array(t.length)};function Tt(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}Tt.prototype={constructor:Tt,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 St="$";function Dt(t,e,n,r,i,a){for(var o,u=0,s=e.length,c=a.length;u<c;++u)(o=e[u])?(o.__data__=a[u],r[u]=o):n[u]=new Tt(t,a[u]);for(;u<s;++u)(o=e[u])&&(i[u]=o)}function Mt(t,e,n,r,i,a,o){var u,s,c,l={},f=e.length,h=a.length,d=new Array(f);for(u=0;u<f;++u)(s=e[u])&&(d[u]=c=St+o.call(s,s.__data__,u,e),c in l?i[u]=s:l[c]=s);for(u=0;u<h;++u)(s=l[c=St+o.call(t,a[u],u,a)])?(r[u]=s,s.__data__=a[u],l[c]=null):n[u]=new Tt(t,a[u]);for(u=0;u<f;++u)(s=e[u])&&l[d[u]]===s&&(i[u]=s)}function Ct(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}var Ot=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function Lt(t,e){return t.style.getPropertyValue(e)||Ot(t).getComputedStyle(t,null).getPropertyValue(e)}function Nt(t){return t.trim().split(/^|\s+/)}function Rt(t){return t.classList||new Ft(t)}function Ft(t){this._node=t,this._names=Nt(t.getAttribute("class")||"")}function Pt(t,e){for(var n=Rt(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function Bt(t,e){for(var n=Rt(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}Ft.prototype={add:function(t){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);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function It(){this.textContent=""}function qt(){this.innerHTML=""}function Ut(){this.nextSibling&&this.parentNode.appendChild(this)}function jt(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Yt(){return null}function zt(){var t=this.parentNode;t&&t.removeChild(this)}function Vt(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function $t(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}var Ht={},Gt=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(Ht={mouseenter:"mouseover",mouseleave:"mouseout"}));function Wt(t,e,n){return t=Zt(t,e,n),function(e){var n=e.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||t.call(this,e)}}function Zt(t,e,n){return function(r){var i=Gt;Gt=r;try{t.call(this,this.__data__,e,n)}finally{Gt=i}}}function Xt(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,a=e.length;r<a;++r)n=e[r],t.type&&n.type!==t.type||n.name!==t.name?e[++i]=n:this.removeEventListener(n.type,n.listener,n.capture);++i?e.length=i:delete this.__on}}}function Jt(t,e,n){var r=Ht.hasOwnProperty(t.type)?Wt:Zt;return function(i,a,o){var u,s=this.__on,c=r(e,a,o);if(s)for(var l=0,f=s.length;l<f;++l)if((u=s[l]).type===t.type&&u.name===t.name)return this.removeEventListener(u.type,u.listener,u.capture),this.addEventListener(u.type,u.listener=c,u.capture=n),void(u.value=e);this.addEventListener(t.type,c,n),u={type:t.type,name:t.name,value:e,listener:c,capture:n},s?s.push(u):this.__on=[u]}}function Kt(t,e,n,r){var i=Gt;t.sourceEvent=Gt,Gt=t;try{return e.apply(n,r)}finally{Gt=i}}function Qt(t,e,n){var r=Ot(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)}var te=[null];function ee(t,e){this._groups=t,this._parents=e}function ne(){return new ee([[document.documentElement]],te)}ee.prototype=ne.prototype={constructor:ee,select:function(t){"function"!=typeof t&&(t=vt(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var a,o,u=e[i],s=u.length,c=r[i]=new Array(s),l=0;l<s;++l)(a=u[l])&&(o=t.call(a,a.__data__,l,u))&&("__data__"in a&&(o.__data__=a.__data__),c[l]=o);return new ee(r,this._parents)},selectAll:function(t){"function"!=typeof t&&(t=_t(t));for(var e=this._groups,n=e.length,r=[],i=[],a=0;a<n;++a)for(var o,u=e[a],s=u.length,c=0;c<s;++c)(o=u[c])&&(r.push(t.call(o,o.__data__,c,u)),i.push(o));return new ee(r,i)},filter:function(t){"function"!=typeof t&&(t=Et(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var a,o=e[i],u=o.length,s=r[i]=[],c=0;c<u;++c)(a=o[c])&&t.call(a,a.__data__,c,o)&&s.push(a);return new ee(r,this._parents)},data:function(t,e){if(!t)return p=new Array(this.size()),l=-1,this.each(function(t){p[++l]=t}),p;var n,r=e?Mt:Dt,i=this._parents,a=this._groups;"function"!=typeof t&&(n=t,t=function(){return n});for(var o=a.length,u=new Array(o),s=new Array(o),c=new Array(o),l=0;l<o;++l){var f=i[l],h=a[l],d=h.length,p=t.call(f,f&&f.__data__,l,i),g=p.length,y=s[l]=new Array(g),m=u[l]=new Array(g);r(f,h,y,m,c[l]=new Array(d),p,e);for(var v,b,_=0,x=0;_<g;++_)if(v=y[_]){for(_>=x&&(x=_+1);!(b=m[x])&&++x<g;);v._next=b||null}}return(u=new ee(u,i))._enter=s,u._exit=c,u},enter:function(){return new ee(this._enter||this._groups.map(At),this._parents)},exit:function(){return new ee(this._exit||this._groups.map(At),this._parents)},merge:function(t){for(var e=this._groups,n=t._groups,r=e.length,i=n.length,a=Math.min(r,i),o=new Array(r),u=0;u<a;++u)for(var s,c=e[u],l=n[u],f=c.length,h=o[u]=new Array(f),d=0;d<f;++d)(s=c[d]||l[d])&&(h[d]=s);for(;u<r;++u)o[u]=e[u];return new ee(o,this._parents)},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],a=i.length-1,o=i[a];--a>=0;)(r=i[a])&&(o&&o!==r.nextSibling&&o.parentNode.insertBefore(r,o),o=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=Ct);for(var n=this._groups,r=n.length,i=new Array(r),a=0;a<r;++a){for(var o,u=n[a],s=u.length,c=i[a]=new Array(s),l=0;l<s;++l)(o=u[l])&&(c[l]=o);c.sort(e)}return new ee(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){var t=new Array(this.size()),e=-1;return this.each(function(){t[++e]=this}),t},node:function(){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},size:function(){var t=0;return this.each(function(){++t}),t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i,a=e[n],o=0,u=a.length;o<u;++o)(i=a[o])&&t.call(i,i.__data__,o,a);return this},attr:function(t,e){var n=gt(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?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}}:"function"==typeof e?n.local?function(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}:function(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}:n.local?function(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}:function(t,e){return function(){this.setAttribute(t,e)}})(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof e?function(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}:function(t,e,n){return function(){this.style.setProperty(t,e,n)}})(t,e,null==n?"":n)):Lt(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?function(t){return function(){delete this[t]}}:"function"==typeof e?function(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}:function(t,e){return function(){this[t]=e}})(t,e)):this.node()[t]},classed:function(t,e){var n=Nt(t+"");if(arguments.length<2){for(var r=Rt(this.node()),i=-1,a=n.length;++i<a;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof e?function(t,e){return function(){(e.apply(this,arguments)?Pt:Bt)(this,t)}}:e?function(t){return function(){Pt(this,t)}}:function(t){return function(){Bt(this,t)}})(n,e))},text:function(t){return arguments.length?this.each(null==t?It:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}:function(t){return function(){this.textContent=t}})(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?qt:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}:function(t){return function(){this.innerHTML=t}})(t)):this.node().innerHTML},raise:function(){return this.each(Ut)},lower:function(){return this.each(jt)},append:function(t){var e="function"==typeof t?t:yt(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})},insert:function(t,e){var n="function"==typeof t?t:yt(t),r=null==e?Yt:"function"==typeof e?e:vt(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})},remove:function(){return this.each(zt)},clone:function(t){return this.select(t?$t:Vt)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var r,i,a=function(t){return t.trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}})}(t+""),o=a.length;if(!(arguments.length<2)){for(u=e?Jt:Xt,null==n&&(n=!1),r=0;r<o;++r)this.each(u(a[r],e,n));return this}var u=this.node().__on;if(u)for(var s,c=0,l=u.length;c<l;++c)for(r=0,s=u[c];r<o;++r)if((i=a[r]).type===s.type&&i.name===s.name)return s.value},dispatch:function(t,e){return this.each(("function"==typeof e?function(t,e){return function(){return Qt(this,t,e.apply(this,arguments))}}:function(t,e){return function(){return Qt(this,t,e)}})(t,e))}};var re=ne,ie=function(t){return"string"==typeof t?new ee([[document.querySelector(t)]],[document.documentElement]):new ee([[t]],te)},ae=function(t){return ie(yt(t).call(document.documentElement))},oe=0;function ue(){return new se}function se(){this._="@"+(++oe).toString(36)}se.prototype=ue.prototype={constructor:se,get:function(t){for(var e=this._;!(e in t);)if(!(t=t.parentNode))return;return t[e]},set:function(t,e){return t[this._]=e},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}};var ce=function(){for(var t,e=Gt;t=e.sourceEvent;)e=t;return e},le=function(t,e){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,[(r=r.matrixTransform(t.getScreenCTM().inverse())).x,r.y]}var i=t.getBoundingClientRect();return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]},fe=function(t){var e=ce();return e.changedTouches&&(e=e.changedTouches[0]),le(t,e)},he=function(t){return"string"==typeof t?new ee([document.querySelectorAll(t)],[document.documentElement]):new ee([null==t?[]:t],te)},de=function(t,e,n){arguments.length<3&&(n=e,e=ce().changedTouches);for(var r,i=0,a=e?e.length:0;i<a;++i)if((r=e[i]).identifier===n)return le(t,r);return null},pe=function(t,e){null==e&&(e=ce().touches);for(var n=0,r=e?e.length:0,i=new Array(r);n<r;++n)i[n]=le(t,e[n]);return i};function ge(){Gt.stopImmediatePropagation()}var ye=function(){Gt.preventDefault(),Gt.stopImmediatePropagation()},me=function(t){var e=t.document.documentElement,n=ie(t).on("dragstart.drag",ye,!0);"onselectstart"in e?n.on("selectstart.drag",ye,!0):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")};function ve(t,e){var n=t.document.documentElement,r=ie(t).on("dragstart.drag",null);e&&(r.on("click.drag",ye,!0),setTimeout(function(){r.on("click.drag",null)},0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}var be=function(t){return function(){return t}};function _e(t,e,n,r,i,a,o,u,s,c){this.target=t,this.type=e,this.subject=n,this.identifier=r,this.active=i,this.x=a,this.y=o,this.dx=u,this.dy=s,this._=c}function xe(){return!Gt.button}function we(){return this.parentNode}function ke(t){return null==t?{x:Gt.x,y:Gt.y}:t}function Ee(){return"ontouchstart"in this}_e.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};var Ae=function(){var t,e,n,r,i=xe,a=we,o=ke,u=Ee,s={},c=ht("start","drag","end"),l=0,f=0;function h(t){t.on("mousedown.drag",d).filter(u).on("touchstart.drag",y).on("touchmove.drag",m).on("touchend.drag touchcancel.drag",v).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function d(){if(!r&&i.apply(this,arguments)){var o=b("mouse",a.apply(this,arguments),fe,this,arguments);o&&(ie(Gt.view).on("mousemove.drag",p,!0).on("mouseup.drag",g,!0),me(Gt.view),ge(),n=!1,t=Gt.clientX,e=Gt.clientY,o("start"))}}function p(){if(ye(),!n){var r=Gt.clientX-t,i=Gt.clientY-e;n=r*r+i*i>f}s.mouse("drag")}function g(){ie(Gt.view).on("mousemove.drag mouseup.drag",null),ve(Gt.view,n),ye(),s.mouse("end")}function y(){if(i.apply(this,arguments)){var t,e,n=Gt.changedTouches,r=a.apply(this,arguments),o=n.length;for(t=0;t<o;++t)(e=b(n[t].identifier,r,de,this,arguments))&&(ge(),e("start"))}}function m(){var t,e,n=Gt.changedTouches,r=n.length;for(t=0;t<r;++t)(e=s[n[t].identifier])&&(ye(),e("drag"))}function v(){var t,e,n=Gt.changedTouches,i=n.length;for(r&&clearTimeout(r),r=setTimeout(function(){r=null},500),t=0;t<i;++t)(e=s[n[t].identifier])&&(ge(),e("end"))}function b(t,e,n,r,i){var a,u,f,d=n(e,t),p=c.copy();if(Kt(new _e(h,"beforestart",a,t,l,d[0],d[1],0,0,p),function(){return null!=(Gt.subject=a=o.apply(r,i))&&(u=a.x-d[0]||0,f=a.y-d[1]||0,!0)}))return function o(c){var g,y=d;switch(c){case"start":s[t]=o,g=l++;break;case"end":delete s[t],--l;case"drag":d=n(e,t),g=l}Kt(new _e(h,c,a,t,g,d[0]+u,d[1]+f,d[0]-y[0],d[1]-y[1],p),p.apply,p,[c,r,i])}}return h.filter=function(t){return arguments.length?(i="function"==typeof t?t:be(!!t),h):i},h.container=function(t){return arguments.length?(a="function"==typeof t?t:be(t),h):a},h.subject=function(t){return arguments.length?(o="function"==typeof t?t:be(t),h):o},h.touchable=function(t){return arguments.length?(u="function"==typeof t?t:be(!!t),h):u},h.on=function(){var t=c.on.apply(c,arguments);return t===c?h:t},h.clickDistance=function(t){return arguments.length?(f=(t=+t)*t,h):Math.sqrt(f)},h},Te=function(t,e,n){t.prototype=e.prototype=n,n.constructor=t};function Se(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function De(){}var Me="\\s*([+-]?\\d+)\\s*",Ce="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Oe="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Le=/^#([0-9a-f]{3})$/,Ne=/^#([0-9a-f]{6})$/,Re=new RegExp("^rgb\\("+[Me,Me,Me]+"\\)$"),Fe=new RegExp("^rgb\\("+[Oe,Oe,Oe]+"\\)$"),Pe=new RegExp("^rgba\\("+[Me,Me,Me,Ce]+"\\)$"),Be=new RegExp("^rgba\\("+[Oe,Oe,Oe,Ce]+"\\)$"),Ie=new RegExp("^hsl\\("+[Ce,Oe,Oe]+"\\)$"),qe=new RegExp("^hsla\\("+[Ce,Oe,Oe,Ce]+"\\)$"),Ue={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 je(t){var e;return t=(t+"").trim().toLowerCase(),(e=Le.exec(t))?new He((e=parseInt(e[1],16))>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):(e=Ne.exec(t))?Ye(parseInt(e[1],16)):(e=Re.exec(t))?new He(e[1],e[2],e[3],1):(e=Fe.exec(t))?new He(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Pe.exec(t))?ze(e[1],e[2],e[3],e[4]):(e=Be.exec(t))?ze(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Ie.exec(t))?We(e[1],e[2]/100,e[3]/100,1):(e=qe.exec(t))?We(e[1],e[2]/100,e[3]/100,e[4]):Ue.hasOwnProperty(t)?Ye(Ue[t]):"transparent"===t?new He(NaN,NaN,NaN,0):null}function Ye(t){return new He(t>>16&255,t>>8&255,255&t,1)}function ze(t,e,n,r){return r<=0&&(t=e=n=NaN),new He(t,e,n,r)}function Ve(t){return t instanceof De||(t=je(t)),t?new He((t=t.rgb()).r,t.g,t.b,t.opacity):new He}function $e(t,e,n,r){return 1===arguments.length?Ve(t):new He(t,e,n,null==r?1:r)}function He(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function Ge(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function We(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Xe(t,e,n,r)}function Ze(t,e,n,r){return 1===arguments.length?function(t){if(t instanceof Xe)return new Xe(t.h,t.s,t.l,t.opacity);if(t instanceof De||(t=je(t)),!t)return new Xe;if(t instanceof Xe)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,u=a-i,s=(a+i)/2;return u?(o=e===a?(n-r)/u+6*(n<r):n===a?(r-e)/u+2:(e-n)/u+4,u/=s<.5?a+i:2-a-i,o*=60):u=s>0&&s<1?0:o,new Xe(o,u,s,t.opacity)}(t):new Xe(t,e,n,null==r?1:r)}function Xe(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function Je(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}Te(De,je,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),Te(He,$e,Se(De,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new He(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new He(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},hex:function(){return"#"+Ge(this.r)+Ge(this.g)+Ge(this.b)},toString:function(){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+")")}})),Te(Xe,Ze,Se(De,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new Xe(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Xe(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 He(Je(t>=240?t-240:t+120,i,r),Je(t,i,r),Je(t<120?t+240: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}}));var Ke=Math.PI/180,Qe=180/Math.PI,tn=.96422,en=1,nn=.82521,rn=4/29,an=6/29,on=3*an*an,un=an*an*an;function sn(t){if(t instanceof fn)return new fn(t.l,t.a,t.b,t.opacity);if(t instanceof bn){if(isNaN(t.h))return new fn(t.l,0,0,t.opacity);var e=t.h*Ke;return new fn(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}t instanceof He||(t=Ve(t));var n,r,i=gn(t.r),a=gn(t.g),o=gn(t.b),u=hn((.2225045*i+.7168786*a+.0606169*o)/en);return i===a&&a===o?n=r=u:(n=hn((.4360747*i+.3850649*a+.1430804*o)/tn),r=hn((.0139322*i+.0971045*a+.7141733*o)/nn)),new fn(116*u-16,500*(n-u),200*(u-r),t.opacity)}function cn(t,e){return new fn(t,0,0,null==e?1:e)}function ln(t,e,n,r){return 1===arguments.length?sn(t):new fn(t,e,n,null==r?1:r)}function fn(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function hn(t){return t>un?Math.pow(t,1/3):t/on+rn}function dn(t){return t>an?t*t*t:on*(t-rn)}function pn(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function gn(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function yn(t){if(t instanceof bn)return new bn(t.h,t.c,t.l,t.opacity);if(t instanceof fn||(t=sn(t)),0===t.a&&0===t.b)return new bn(NaN,0,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*Qe;return new bn(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function mn(t,e,n,r){return 1===arguments.length?yn(t):new bn(n,e,t,null==r?1:r)}function vn(t,e,n,r){return 1===arguments.length?yn(t):new bn(t,e,n,null==r?1:r)}function bn(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}Te(fn,ln,Se(De,{brighter:function(t){return new fn(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new fn(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 He(pn(3.1338561*(e=tn*dn(e))-1.6168667*(t=en*dn(t))-.4906146*(n=nn*dn(n))),pn(-.9787684*e+1.9161415*t+.033454*n),pn(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}})),Te(bn,vn,Se(De,{brighter:function(t){return new bn(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new bn(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return sn(this).rgb()}}));var _n=-.29227,xn=-.90649,wn=1.97294,kn=wn*xn,En=1.78277*wn,An=1.78277*_n- -.14861*xn;function Tn(t,e,n,r){return 1===arguments.length?function(t){if(t instanceof Sn)return new Sn(t.h,t.s,t.l,t.opacity);t instanceof He||(t=Ve(t));var e=t.r/255,n=t.g/255,r=t.b/255,i=(An*r+kn*e-En*n)/(An+kn-En),a=r-i,o=(wn*(n-i)-_n*a)/xn,u=Math.sqrt(o*o+a*a)/(wn*i*(1-i)),s=u?Math.atan2(o,a)*Qe-120:NaN;return new Sn(s<0?s+360:s,u,i,t.opacity)}(t):new Sn(t,e,n,null==r?1:r)}function Sn(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function Dn(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}Te(Sn,Tn,Se(De,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new Sn(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Sn(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*Ke,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),i=Math.sin(t);return new He(255*(e+n*(-.14861*r+1.78277*i)),255*(e+n*(_n*r+xn*i)),255*(e+n*(wn*r)),this.opacity)}}));var Mn=function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[r],a=t[r+1],o=r>0?t[r-1]:2*i-a,u=r<e-1?t[r+2]:2*a-i;return Dn((n-r/e)*e,o,i,a,u)}},Cn=function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),i=t[(r+e-1)%e],a=t[r%e],o=t[(r+1)%e],u=t[(r+2)%e];return Dn((n-r/e)*e,i,a,o,u)}},On=function(t){return function(){return t}};function Ln(t,e){return function(n){return t+n*e}}function Nn(t,e){var n=e-t;return n?Ln(t,n>180||n<-180?n-360*Math.round(n/360):n):On(isNaN(t)?e:t)}function Rn(t){return 1==(t=+t)?Fn:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):On(isNaN(e)?n:e)}}function Fn(t,e){var n=e-t;return n?Ln(t,n):On(isNaN(t)?e:t)}var Pn=function t(e){var n=Rn(e);function r(t,e){var r=n((t=$e(t)).r,(e=$e(e)).r),i=n(t.g,e.g),a=n(t.b,e.b),o=Fn(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=a(e),t.opacity=o(e),t+""}}return r.gamma=t,r}(1);function Bn(t){return function(e){var n,r,i=e.length,a=new Array(i),o=new Array(i),u=new Array(i);for(n=0;n<i;++n)r=$e(e[n]),a[n]=r.r||0,o[n]=r.g||0,u[n]=r.b||0;return a=t(a),o=t(o),u=t(u),r.opacity=1,function(t){return r.r=a(t),r.g=o(t),r.b=u(t),r+""}}}var In=Bn(Mn),qn=Bn(Cn),Un=function(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,a=new Array(i),o=new Array(r);for(n=0;n<i;++n)a[n]=Jn(t[n],e[n]);for(;n<r;++n)o[n]=e[n];return function(t){for(n=0;n<i;++n)o[n]=a[n](t);return o}},jn=function(t,e){var n=new Date;return e-=t=+t,function(r){return n.setTime(t+e*r),n}},Yn=function(t,e){return e-=t=+t,function(n){return t+e*n}},zn=function(t,e){var n,r={},i={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?r[n]=Jn(t[n],e[n]):i[n]=e[n];return function(t){for(n in r)i[n]=r[n](t);return i}},Vn=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,$n=new RegExp(Vn.source,"g");var Hn,Gn,Wn,Zn,Xn=function(t,e){var n,r,i,a=Vn.lastIndex=$n.lastIndex=0,o=-1,u=[],s=[];for(t+="",e+="";(n=Vn.exec(t))&&(r=$n.exec(e));)(i=r.index)>a&&(i=e.slice(a,i),u[o]?u[o]+=i:u[++o]=i),(n=n[0])===(r=r[0])?u[o]?u[o]+=r:u[++o]=r:(u[++o]=null,s.push({i:o,x:Yn(n,r)})),a=$n.lastIndex;return a<e.length&&(i=e.slice(a),u[o]?u[o]+=i:u[++o]=i),u.length<2?s[0]?function(t){return function(e){return t(e)+""}}(s[0].x):function(t){return function(){return t}}(e):(e=s.length,function(t){for(var n,r=0;r<e;++r)u[(n=s[r]).i]=n.x(t);return u.join("")})},Jn=function(t,e){var n,r=typeof e;return null==e||"boolean"===r?On(e):("number"===r?Yn:"string"===r?(n=je(e))?(e=n,Pn):Xn:e instanceof je?Pn:e instanceof Date?jn:Array.isArray(e)?Un:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?zn:Yn)(t,e)},Kn=function(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}},Qn=function(t,e){var n=Nn(+t,+e);return function(t){var e=n(t);return e-360*Math.floor(e/360)}},tr=function(t,e){return e-=t=+t,function(n){return Math.round(t+e*n)}},er=180/Math.PI,nr={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},rr=function(t,e,n,r,i,a){var o,u,s;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(s=t*n+e*r)&&(n-=t*s,r-=e*s),(u=Math.sqrt(n*n+r*r))&&(n/=u,r/=u,s/=u),t*r<e*n&&(t=-t,e=-e,s=-s,o=-o),{translateX:i,translateY:a,rotate:Math.atan2(e,t)*er,skewX:Math.atan(s)*er,scaleX:o,scaleY:u}};function ir(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}return function(a,o){var u=[],s=[];return a=t(a),o=t(o),function(t,r,i,a,o,u){if(t!==i||r!==a){var s=o.push("translate(",null,e,null,n);u.push({i:s-4,x:Yn(t,i)},{i:s-2,x:Yn(r,a)})}else(i||a)&&o.push("translate("+i+e+a+n)}(a.translateX,a.translateY,o.translateX,o.translateY,u,s),function(t,e,n,a){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),a.push({i:n.push(i(n)+"rotate(",null,r)-2,x:Yn(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(a.rotate,o.rotate,u,s),function(t,e,n,a){t!==e?a.push({i:n.push(i(n)+"skewX(",null,r)-2,x:Yn(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(a.skewX,o.skewX,u,s),function(t,e,n,r,a,o){if(t!==n||e!==r){var u=a.push(i(a)+"scale(",null,",",null,")");o.push({i:u-4,x:Yn(t,n)},{i:u-2,x:Yn(e,r)})}else 1===n&&1===r||a.push(i(a)+"scale("+n+","+r+")")}(a.scaleX,a.scaleY,o.scaleX,o.scaleY,u,s),a=o=null,function(t){for(var e,n=-1,r=s.length;++n<r;)u[(e=s[n]).i]=e.x(t);return u.join("")}}}var ar=ir(function(t){return"none"===t?nr:(Hn||(Hn=document.createElement("DIV"),Gn=document.documentElement,Wn=document.defaultView),Hn.style.transform=t,t=Wn.getComputedStyle(Gn.appendChild(Hn),null).getPropertyValue("transform"),Gn.removeChild(Hn),t=t.slice(7,-1).split(","),rr(+t[0],+t[1],+t[2],+t[3],+t[4],+t[5]))},"px, ","px)","deg)"),or=ir(function(t){return null==t?nr:(Zn||(Zn=document.createElementNS("http://www.w3.org/2000/svg","g")),Zn.setAttribute("transform",t),(t=Zn.transform.baseVal.consolidate())?(t=t.matrix,rr(t.a,t.b,t.c,t.d,t.e,t.f)):nr)},", ",")",")"),ur=Math.SQRT2;function sr(t){return((t=Math.exp(t))+1/t)/2}var cr=function(t,e){var n,r,i=t[0],a=t[1],o=t[2],u=e[0],s=e[1],c=e[2],l=u-i,f=s-a,h=l*l+f*f;if(h<1e-12)r=Math.log(c/o)/ur,n=function(t){return[i+t*l,a+t*f,o*Math.exp(ur*t*r)]};else{var d=Math.sqrt(h),p=(c*c-o*o+4*h)/(2*o*2*d),g=(c*c-o*o-4*h)/(2*c*2*d),y=Math.log(Math.sqrt(p*p+1)-p),m=Math.log(Math.sqrt(g*g+1)-g);r=(m-y)/ur,n=function(t){var e,n=t*r,u=sr(y),s=o/(2*d)*(u*(e=ur*n+y,((e=Math.exp(2*e))-1)/(e+1))-function(t){return((t=Math.exp(t))-1/t)/2}(y));return[i+s*l,a+s*f,o*u/sr(ur*n+y)]}}return n.duration=1e3*r,n};function lr(t){return function(e,n){var r=t((e=Ze(e)).h,(n=Ze(n)).h),i=Fn(e.s,n.s),a=Fn(e.l,n.l),o=Fn(e.opacity,n.opacity);return function(t){return e.h=r(t),e.s=i(t),e.l=a(t),e.opacity=o(t),e+""}}}var fr=lr(Nn),hr=lr(Fn);function dr(t,e){var n=Fn((t=ln(t)).l,(e=ln(e)).l),r=Fn(t.a,e.a),i=Fn(t.b,e.b),a=Fn(t.opacity,e.opacity);return function(e){return t.l=n(e),t.a=r(e),t.b=i(e),t.opacity=a(e),t+""}}function pr(t){return function(e,n){var r=t((e=vn(e)).h,(n=vn(n)).h),i=Fn(e.c,n.c),a=Fn(e.l,n.l),o=Fn(e.opacity,n.opacity);return function(t){return e.h=r(t),e.c=i(t),e.l=a(t),e.opacity=o(t),e+""}}}var gr=pr(Nn),yr=pr(Fn);function mr(t){return function e(n){function r(e,r){var i=t((e=Tn(e)).h,(r=Tn(r)).h),a=Fn(e.s,r.s),o=Fn(e.l,r.l),u=Fn(e.opacity,r.opacity);return function(t){return e.h=i(t),e.s=a(t),e.l=o(Math.pow(t,n)),e.opacity=u(t),e+""}}return n=+n,r.gamma=e,r}(1)}var vr=mr(Nn),br=mr(Fn);function _r(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)}}var xr,wr,kr=function(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t(r/(e-1));return n},Er=0,Ar=0,Tr=0,Sr=1e3,Dr=0,Mr=0,Cr=0,Or="object"==typeof performance&&performance.now?performance:Date,Lr="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Nr(){return Mr||(Lr(Rr),Mr=Or.now()+Cr)}function Rr(){Mr=0}function Fr(){this._call=this._time=this._next=null}function Pr(t,e,n){var r=new Fr;return r.restart(t,e,n),r}function Br(){Nr(),++Er;for(var t,e=xr;e;)(t=Mr-e._time)>=0&&e._call.call(null,t),e=e._next;--Er}function Ir(){Mr=(Dr=Or.now())+Cr,Er=Ar=0;try{Br()}finally{Er=0,function(){var t,e,n=xr,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:xr=e);wr=t,Ur(r)}(),Mr=0}}function qr(){var t=Or.now(),e=t-Dr;e>Sr&&(Cr-=e,Dr=t)}function Ur(t){Er||(Ar&&(Ar=clearTimeout(Ar)),t-Mr>24?(t<1/0&&(Ar=setTimeout(Ir,t-Or.now()-Cr)),Tr&&(Tr=clearInterval(Tr))):(Tr||(Dr=Or.now(),Tr=setInterval(qr,Sr)),Er=1,Lr(Ir)))}Fr.prototype=Pr.prototype={constructor:Fr,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?Nr():+n)+(null==e?0:+e),this._next||wr===this||(wr?wr._next=this:xr=this,wr=this),this._call=t,this._time=n,Ur()},stop:function(){this._call&&(this._call=null,this._time=1/0,Ur())}};var jr=function(t,e,n){var r=new Fr;return e=null==e?0:+e,r.restart(function(n){r.stop(),t(n+e)},e,n),r},Yr=function(t,e,n){var r=new Fr,i=e;return null==e?(r.restart(t,e,n),r):(e=+e,n=null==n?Nr():+n,r.restart(function a(o){o+=i,r.restart(a,i+=e,n),t(o)},e,n),r)},zr=ht("start","end","interrupt"),Vr=[],$r=0,Hr=1,Gr=2,Wr=3,Zr=4,Xr=5,Jr=6,Kr=function(t,e,n,r,i,a){var o=t.__transition;if(o){if(n in o)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function a(s){var c,l,f,h;if(n.state!==Hr)return u();for(c in i)if((h=i[c]).name===n.name){if(h.state===Wr)return jr(a);h.state===Zr?(h.state=Jr,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[c]):+c<e&&(h.state=Jr,h.timer.stop(),delete i[c])}if(jr(function(){n.state===Wr&&(n.state=Zr,n.timer.restart(o,n.delay,n.time),o(s))}),n.state=Gr,n.on.call("start",t,t.__data__,n.index,n.group),n.state===Gr){for(n.state=Wr,r=new Array(f=n.tween.length),c=0,l=-1;c<f;++c)(h=n.tween[c].value.call(t,t.__data__,n.index,n.group))&&(r[++l]=h);r.length=l+1}}function o(e){for(var i=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(u),n.state=Xr,1),a=-1,o=r.length;++a<o;)r[a].call(null,i);n.state===Xr&&(n.on.call("end",t,t.__data__,n.index,n.group),u())}function u(){for(var r in n.state=Jr,n.timer.stop(),delete i[e],i)return;delete t.__transition}i[e]=n,n.timer=Pr(function(t){n.state=Hr,n.timer.restart(a,n.delay,n.time),n.delay<=t&&a(t-n.delay)},0,n.time)}(t,n,{name:e,index:r,group:i,on:zr,tween:Vr,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:$r})};function Qr(t,e){var n=ei(t,e);if(n.state>$r)throw new Error("too late; already scheduled");return n}function ti(t,e){var n=ei(t,e);if(n.state>Gr)throw new Error("too late; already started");return n}function ei(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}var ni=function(t,e){var n,r,i,a=t.__transition,o=!0;if(a){for(i in e=null==e?null:e+"",a)(n=a[i]).name===e?(r=n.state>Gr&&n.state<Xr,n.state=Jr,n.timer.stop(),r&&n.on.call("interrupt",t,t.__data__,n.index,n.group),delete a[i]):o=!1;o&&delete t.__transition}};function ri(t,e,n){var r=t._id;return t.each(function(){var t=ti(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)}),function(t){return ei(t,r).value[e]}}var ii=function(t,e){var n;return("number"==typeof e?Yn:e instanceof je?Pn:(n=je(e))?(e=n,Pn):Xn)(t,e)};var ai=re.prototype.constructor;var oi=0;function ui(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function si(t){return re().transition(t)}function ci(){return++oi}var li=re.prototype;function fi(t){return+t}function hi(t){return t*t}function di(t){return t*(2-t)}function pi(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function gi(t){return t*t*t}function yi(t){return--t*t*t+1}function mi(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}ui.prototype=si.prototype={constructor:ui,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=vt(t));for(var r=this._groups,i=r.length,a=new Array(i),o=0;o<i;++o)for(var u,s,c=r[o],l=c.length,f=a[o]=new Array(l),h=0;h<l;++h)(u=c[h])&&(s=t.call(u,u.__data__,h,c))&&("__data__"in u&&(s.__data__=u.__data__),f[h]=s,Kr(f[h],e,n,h,f,ei(u,n)));return new ui(a,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=_t(t));for(var r=this._groups,i=r.length,a=[],o=[],u=0;u<i;++u)for(var s,c=r[u],l=c.length,f=0;f<l;++f)if(s=c[f]){for(var h,d=t.call(s,s.__data__,f,c),p=ei(s,n),g=0,y=d.length;g<y;++g)(h=d[g])&&Kr(h,e,n,g,d,p);a.push(d),o.push(s)}return new ui(a,o,e,n)},filter:function(t){"function"!=typeof t&&(t=Et(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var a,o=e[i],u=o.length,s=r[i]=[],c=0;c<u;++c)(a=o[c])&&t.call(a,a.__data__,c,o)&&s.push(a);return new ui(r,this._parents,this._name,this._id)},merge:function(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),u=0;u<a;++u)for(var s,c=e[u],l=n[u],f=c.length,h=o[u]=new Array(f),d=0;d<f;++d)(s=c[d]||l[d])&&(h[d]=s);for(;u<r;++u)o[u]=e[u];return new ui(o,this._parents,this._name,this._id)},selection:function(){return new ai(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=ci(),r=this._groups,i=r.length,a=0;a<i;++a)for(var o,u=r[a],s=u.length,c=0;c<s;++c)if(o=u[c]){var l=ei(o,e);Kr(o,t,n,c,u,{time:l.time+l.delay+l.duration,delay:0,duration:l.duration,ease:l.ease})}return new ui(r,this._parents,t,n)},call:li.call,nodes:li.nodes,node:li.node,size:li.size,empty:li.empty,each:li.each,on:function(t,e){var n=this._id;return arguments.length<2?ei(this.node(),n).on.on(t):this.each(function(t,e,n){var r,i,a=function(t){return(t+"").trim().split(/^|\s+/).every(function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t})}(e)?Qr:ti;return function(){var o=a(this,t),u=o.on;u!==r&&(i=(r=u).copy()).on(e,n),o.on=i}}(n,t,e))},attr:function(t,e){var n=gt(t),r="transform"===n?or:ii;return this.attrTween(t,"function"==typeof e?(n.local?function(t,e,n){var r,i,a;return function(){var o,u=n(this);if(null!=u)return(o=this.getAttributeNS(t.space,t.local))===u?null:o===r&&u===i?a:a=e(r=o,i=u);this.removeAttributeNS(t.space,t.local)}}:function(t,e,n){var r,i,a;return function(){var o,u=n(this);if(null!=u)return(o=this.getAttribute(t))===u?null:o===r&&u===i?a:a=e(r=o,i=u);this.removeAttribute(t)}})(n,r,ri(this,"attr."+t,e)):null==e?(n.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(n):(n.local?function(t,e,n){var r,i;return function(){var a=this.getAttributeNS(t.space,t.local);return a===n?null:a===r?i:i=e(r=a,n)}}:function(t,e,n){var r,i;return function(){var a=this.getAttribute(t);return a===n?null:a===r?i:i=e(r=a,n)}})(n,r,e+""))},attrTween:function(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=gt(t);return this.tween(n,(r.local?function(t,e){function n(){var n=this,r=e.apply(n,arguments);return r&&function(e){n.setAttributeNS(t.space,t.local,r(e))}}return n._value=e,n}:function(t,e){function n(){var n=this,r=e.apply(n,arguments);return r&&function(e){n.setAttribute(t,r(e))}}return n._value=e,n})(r,e))},style:function(t,e,n){var r="transform"==(t+="")?ar:ii;return null==e?this.styleTween(t,function(t,e){var n,r,i;return function(){var a=Lt(this,t),o=(this.style.removeProperty(t),Lt(this,t));return a===o?null:a===n&&o===r?i:i=e(n=a,r=o)}}(t,r)).on("end.style."+t,function(t){return function(){this.style.removeProperty(t)}}(t)):this.styleTween(t,"function"==typeof e?function(t,e,n){var r,i,a;return function(){var o=Lt(this,t),u=n(this);return null==u&&(this.style.removeProperty(t),u=Lt(this,t)),o===u?null:o===r&&u===i?a:a=e(r=o,i=u)}}(t,r,ri(this,"style."+t,e)):function(t,e,n){var r,i;return function(){var a=Lt(this,t);return a===n?null:a===r?i:i=e(r=a,n)}}(t,r,e+""),n)},styleTween:function(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,function(t,e,n){function r(){var r=this,i=e.apply(r,arguments);return i&&function(e){r.style.setProperty(t,i(e),n)}}return r._value=e,r}(t,e,null==n?"":n))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(ri(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},remove:function(){return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}));var t},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,i=ei(this.node(),n).tween,a=0,o=i.length;a<o;++a)if((r=i[a]).name===t)return r.value;return null}return this.each((null==e?function(t,e){var n,r;return function(){var i=ti(this,t),a=i.tween;if(a!==n)for(var o=0,u=(r=n=a).length;o<u;++o)if(r[o].name===e){(r=r.slice()).splice(o,1);break}i.tween=r}}:function(t,e,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var a=ti(this,t),o=a.tween;if(o!==r){i=(r=o).slice();for(var u={name:e,value:n},s=0,c=i.length;s<c;++s)if(i[s].name===e){i[s]=u;break}s===c&&i.push(u)}a.tween=i}})(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){Qr(this,t).delay=+e.apply(this,arguments)}}:function(t,e){return e=+e,function(){Qr(this,t).delay=e}})(e,t)):ei(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){ti(this,t).duration=+e.apply(this,arguments)}}:function(t,e){return e=+e,function(){ti(this,t).duration=e}})(e,t)):ei(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(function(t,e){if("function"!=typeof e)throw new Error;return function(){ti(this,t).ease=e}}(e,t)):ei(this.node(),e).ease}};var vi=function t(e){function n(t){return Math.pow(t,e)}return e=+e,n.exponent=t,n}(3),bi=function t(e){function n(t){return 1-Math.pow(1-t,e)}return e=+e,n.exponent=t,n}(3),_i=function t(e){function n(t){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}return e=+e,n.exponent=t,n}(3),xi=Math.PI,wi=xi/2;function ki(t){return 1-Math.cos(t*wi)}function Ei(t){return Math.sin(t*wi)}function Ai(t){return(1-Math.cos(xi*t))/2}function Ti(t){return Math.pow(2,10*t-10)}function Si(t){return 1-Math.pow(2,-10*t)}function Di(t){return((t*=2)<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2}function Mi(t){return 1-Math.sqrt(1-t*t)}function Ci(t){return Math.sqrt(1- --t*t)}function Oi(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var Li=4/11,Ni=6/11,Ri=8/11,Fi=.75,Pi=9/11,Bi=10/11,Ii=.9375,qi=21/22,Ui=63/64,ji=1/Li/Li;function Yi(t){return 1-zi(1-t)}function zi(t){return(t=+t)<Li?ji*t*t:t<Ri?ji*(t-=Ni)*t+Fi:t<Bi?ji*(t-=Pi)*t+Ii:ji*(t-=qi)*t+Ui}function Vi(t){return((t*=2)<=1?1-zi(1-t):zi(t-1)+1)/2}var $i=function t(e){function n(t){return t*t*((e+1)*t-e)}return e=+e,n.overshoot=t,n}(1.70158),Hi=function t(e){function n(t){return--t*t*((e+1)*t+e)+1}return e=+e,n.overshoot=t,n}(1.70158),Gi=function t(e){function n(t){return((t*=2)<1?t*t*((e+1)*t-e):(t-=2)*t*((e+1)*t+e)+2)/2}return e=+e,n.overshoot=t,n}(1.70158),Wi=2*Math.PI,Zi=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=Wi);function i(t){return e*Math.pow(2,10*--t)*Math.sin((r-t)/n)}return i.amplitude=function(e){return t(e,n*Wi)},i.period=function(n){return t(e,n)},i}(1,.3),Xi=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=Wi);function i(t){return 1-e*Math.pow(2,-10*(t=+t))*Math.sin((t+r)/n)}return i.amplitude=function(e){return t(e,n*Wi)},i.period=function(n){return t(e,n)},i}(1,.3),Ji=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=Wi);function i(t){return((t=2*t-1)<0?e*Math.pow(2,10*t)*Math.sin((r-t)/n):2-e*Math.pow(2,-10*t)*Math.sin((r+t)/n))/2}return i.amplitude=function(e){return t(e,n*Wi)},i.period=function(n){return t(e,n)},i}(1,.3),Ki={time:null,delay:0,duration:250,ease:mi};function Qi(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))return Ki.time=Nr(),Ki;return n}re.prototype.interrupt=function(t){return this.each(function(){ni(this,t)})},re.prototype.transition=function(t){var e,n;t instanceof ui?(e=t._id,t=t._name):(e=ci(),(n=Ki).time=Nr(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,a=0;a<i;++a)for(var o,u=r[a],s=u.length,c=0;c<s;++c)(o=u[c])&&Kr(o,t,e,c,u,n||Qi(o,e));return new ui(r,this._parents,t,e)};var ta=[null],ea=function(t,e){var n,r,i=t.__transition;if(i)for(r in e=null==e?null:e+"",i)if((n=i[r]).state>Hr&&n.name===e)return new ui([[t]],ta,e,+r);return null},na=function(t){return function(){return t}},ra=function(t,e,n){this.target=t,this.type=e,this.selection=n};function ia(){Gt.stopImmediatePropagation()}var aa=function(){Gt.preventDefault(),Gt.stopImmediatePropagation()},oa={name:"drag"},ua={name:"space"},sa={name:"handle"},ca={name:"center"},la={name:"x",handles:["e","w"].map(va),input:function(t,e){return t&&[[t[0],e[0][1]],[t[1],e[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},fa={name:"y",handles:["n","s"].map(va),input:function(t,e){return t&&[[e[0][0],t[0]],[e[1][0],t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},ha={name:"xy",handles:["n","e","s","w","nw","ne","se","sw"].map(va),input:function(t){return t},output:function(t){return t}},da={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},pa={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},ga={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},ya={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},ma={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function va(t){return{type:t}}function ba(){return!Gt.button}function _a(){var t=this.ownerSVGElement||this;return[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function xa(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function wa(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}function ka(t){var e=t.__brush;return e?e.dim.output(e.selection):null}function Ea(){return Sa(la)}function Aa(){return Sa(fa)}var Ta=function(){return Sa(ha)};function Sa(t){var e,n=_a,r=ba,i=ht(o,"start","brush","end"),a=6;function o(e){var n=e.property("__brush",f).selectAll(".overlay").data([va("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",da.overlay).merge(n).each(function(){var t=xa(this).extent;ie(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])}),e.selectAll(".selection").data([va("selection")]).enter().append("rect").attr("class","selection").attr("cursor",da.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=e.selectAll(".handle").data(t.handles,function(t){return t.type});r.exit().remove(),r.enter().append("rect").attr("class",function(t){return"handle handle--"+t.type}).attr("cursor",function(t){return da[t.type]}),e.each(u).attr("fill","none").attr("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush touchstart.brush",l)}function u(){var t=ie(this),e=xa(this).selection;e?(t.selectAll(".selection").style("display",null).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1]),t.selectAll(".handle").style("display",null).attr("x",function(t){return"e"===t.type[t.type.length-1]?e[1][0]-a/2:e[0][0]-a/2}).attr("y",function(t){return"s"===t.type[0]?e[1][1]-a/2:e[0][1]-a/2}).attr("width",function(t){return"n"===t.type||"s"===t.type?e[1][0]-e[0][0]+a:a}).attr("height",function(t){return"e"===t.type||"w"===t.type?e[1][1]-e[0][1]+a:a})):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function s(t,e){return t.__brush.emitter||new c(t,e)}function c(t,e){this.that=t,this.args=e,this.state=t.__brush,this.active=0}function l(){if(Gt.touches){if(Gt.changedTouches.length<Gt.touches.length)return aa()}else if(e)return;if(r.apply(this,arguments)){var n,i,a,o,c,l,f,h,d,p,g,y,m,v=this,b=Gt.target.__data__.type,_="selection"===(Gt.metaKey?b="overlay":b)?oa:Gt.altKey?ca:sa,x=t===fa?null:ya[b],w=t===la?null:ma[b],k=xa(v),E=k.extent,A=k.selection,T=E[0][0],S=E[0][1],D=E[1][0],M=E[1][1],C=x&&w&&Gt.shiftKey,O=fe(v),L=O,N=s(v,arguments).beforestart();"overlay"===b?k.selection=A=[[n=t===fa?T:O[0],a=t===la?S:O[1]],[c=t===fa?D:n,f=t===la?M:a]]:(n=A[0][0],a=A[0][1],c=A[1][0],f=A[1][1]),i=n,o=a,l=c,h=f;var R=ie(v).attr("pointer-events","none"),F=R.selectAll(".overlay").attr("cursor",da[b]);if(Gt.touches)R.on("touchmove.brush",B,!0).on("touchend.brush touchcancel.brush",q,!0);else{var P=ie(Gt.view).on("keydown.brush",function(){switch(Gt.keyCode){case 16:C=x&&w;break;case 18:_===sa&&(x&&(c=l-d*x,n=i+d*x),w&&(f=h-p*w,a=o+p*w),_=ca,I());break;case 32:_!==sa&&_!==ca||(x<0?c=l-d:x>0&&(n=i-d),w<0?f=h-p:w>0&&(a=o-p),_=ua,F.attr("cursor",da.selection),I());break;default:return}aa()},!0).on("keyup.brush",function(){switch(Gt.keyCode){case 16:C&&(y=m=C=!1,I());break;case 18:_===ca&&(x<0?c=l:x>0&&(n=i),w<0?f=h:w>0&&(a=o),_=sa,I());break;case 32:_===ua&&(Gt.altKey?(x&&(c=l-d*x,n=i+d*x),w&&(f=h-p*w,a=o+p*w),_=ca):(x<0?c=l:x>0&&(n=i),w<0?f=h:w>0&&(a=o),_=sa),F.attr("cursor",da[b]),I());break;default:return}aa()},!0).on("mousemove.brush",B,!0).on("mouseup.brush",q,!0);me(Gt.view)}ia(),ni(v),u.call(v),N.start()}function B(){var t=fe(v);!C||y||m||(Math.abs(t[0]-L[0])>Math.abs(t[1]-L[1])?m=!0:y=!0),L=t,g=!0,aa(),I()}function I(){var t;switch(d=L[0]-O[0],p=L[1]-O[1],_){case ua:case oa:x&&(d=Math.max(T-n,Math.min(D-c,d)),i=n+d,l=c+d),w&&(p=Math.max(S-a,Math.min(M-f,p)),o=a+p,h=f+p);break;case sa:x<0?(d=Math.max(T-n,Math.min(D-n,d)),i=n+d,l=c):x>0&&(d=Math.max(T-c,Math.min(D-c,d)),i=n,l=c+d),w<0?(p=Math.max(S-a,Math.min(M-a,p)),o=a+p,h=f):w>0&&(p=Math.max(S-f,Math.min(M-f,p)),o=a,h=f+p);break;case ca:x&&(i=Math.max(T,Math.min(D,n-d*x)),l=Math.max(T,Math.min(D,c+d*x))),w&&(o=Math.max(S,Math.min(M,a-p*w)),h=Math.max(S,Math.min(M,f+p*w)))}l<i&&(x*=-1,t=n,n=c,c=t,t=i,i=l,l=t,b in pa&&F.attr("cursor",da[b=pa[b]])),h<o&&(w*=-1,t=a,a=f,f=t,t=o,o=h,h=t,b in ga&&F.attr("cursor",da[b=ga[b]])),k.selection&&(A=k.selection),y&&(i=A[0][0],l=A[1][0]),m&&(o=A[0][1],h=A[1][1]),A[0][0]===i&&A[0][1]===o&&A[1][0]===l&&A[1][1]===h||(k.selection=[[i,o],[l,h]],u.call(v),N.brush())}function q(){if(ia(),Gt.touches){if(Gt.touches.length)return;e&&clearTimeout(e),e=setTimeout(function(){e=null},500),R.on("touchmove.brush touchend.brush touchcancel.brush",null)}else ve(Gt.view,g),P.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);R.attr("pointer-events","all"),F.attr("cursor",da.overlay),k.selection&&(A=k.selection),wa(A)&&(k.selection=null,u.call(v)),N.end()}}function f(){var e=this.__brush||{selection:null};return e.extent=n.apply(this,arguments),e.dim=t,e}return o.move=function(e,n){e.selection?e.on("start.brush",function(){s(this,arguments).beforestart().start()}).on("interrupt.brush end.brush",function(){s(this,arguments).end()}).tween("brush",function(){var e=this,r=e.__brush,i=s(e,arguments),a=r.selection,o=t.input("function"==typeof n?n.apply(this,arguments):n,r.extent),c=Jn(a,o);function l(t){r.selection=1===t&&wa(o)?null:c(t),u.call(e),i.brush()}return a&&o?l:l(1)}):e.each(function(){var e=arguments,r=this.__brush,i=t.input("function"==typeof n?n.apply(this,e):n,r.extent),a=s(this,e).beforestart();ni(this),r.selection=null==i||wa(i)?null:i,u.call(this),a.start().brush().end()})},c.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting&&(this.starting=!1,this.emit("start")),this},brush:function(){return this.emit("brush"),this},end:function(){return 0==--this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(e){Kt(new ra(o,e,t.output(this.state.selection)),i.apply,i,[e,this.that,this.args])}},o.extent=function(t){return arguments.length?(n="function"==typeof t?t:na([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),o):n},o.filter=function(t){return arguments.length?(r="function"==typeof t?t:na(!!t),o):r},o.handleSize=function(t){return arguments.length?(a=+t,o):a},o.on=function(){var t=i.on.apply(i,arguments);return t===i?o:t},o}var Da=Math.cos,Ma=Math.sin,Ca=Math.PI,Oa=Ca/2,La=2*Ca,Na=Math.max;var Ra=function(){var t=0,e=null,n=null,r=null;function i(i){var a,o,u,s,c,l,f=i.length,h=[],d=w(f),p=[],g=[],y=g.groups=new Array(f),m=new Array(f*f);for(a=0,c=-1;++c<f;){for(o=0,l=-1;++l<f;)o+=i[c][l];h.push(o),p.push(w(f)),a+=o}for(e&&d.sort(function(t,n){return e(h[t],h[n])}),n&&p.forEach(function(t,e){t.sort(function(t,r){return n(i[e][t],i[e][r])})}),s=(a=Na(0,La-t*f)/a)?t:La/f,o=0,c=-1;++c<f;){for(u=o,l=-1;++l<f;){var v=d[c],b=p[v][l],_=i[v][b],x=o,k=o+=_*a;m[b*f+v]={index:v,subindex:b,startAngle:x,endAngle:k,value:_}}y[v]={index:v,startAngle:u,endAngle:o,value:h[v]},o+=s}for(c=-1;++c<f;)for(l=c-1;++l<f;){var E=m[l*f+c],A=m[c*f+l];(E.value||A.value)&&g.push(E.value<A.value?{source:A,target:E}:{source:E,target:A})}return r?g.sort(r):g}return i.padAngle=function(e){return arguments.length?(t=Na(0,e),i):t},i.sortGroups=function(t){return arguments.length?(e=t,i):e},i.sortSubgroups=function(t){return arguments.length?(n=t,i):n},i.sortChords=function(t){return arguments.length?(null==t?r=null:(e=t,r=function(t,n){return e(t.source.value+t.target.value,n.source.value+n.target.value)})._=t,i):r&&r._;var e},i},Fa=Array.prototype.slice,Pa=function(t){return function(){return t}},Ba=Math.PI,Ia=2*Ba,qa=Ia-1e-6;function Ua(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function ja(){return new Ua}Ua.prototype=ja.prototype={constructor:Ua,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,u=n-t,s=r-e,c=a-t,l=o-e,f=c*c+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(f>1e-6)if(Math.abs(l*u-s*c)>1e-6&&i){var h=n-a,d=r-o,p=u*u+s*s,g=h*h+d*d,y=Math.sqrt(p),m=Math.sqrt(f),v=i*Math.tan((Ba-Math.acos((p+f-g)/(2*y*m)))/2),b=v/m,_=v/y;Math.abs(b-1)>1e-6&&(this._+="L"+(t+b*c)+","+(e+b*l)),this._+="A"+i+","+i+",0,0,"+ +(l*h>c*d)+","+(this._x1=t+_*u)+","+(this._y1=e+_*s)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,n,r,i,a){t=+t,e=+e;var o=(n=+n)*Math.cos(r),u=n*Math.sin(r),s=t+o,c=e+u,l=1^a,f=a?r-i:i-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+s+","+c:(Math.abs(this._x1-s)>1e-6||Math.abs(this._y1-c)>1e-6)&&(this._+="L"+s+","+c),n&&(f<0&&(f=f%Ia+Ia),f>qa?this._+="A"+n+","+n+",0,1,"+l+","+(t-o)+","+(e-u)+"A"+n+","+n+",0,1,"+l+","+(this._x1=s)+","+(this._y1=c):f>1e-6&&(this._+="A"+n+","+n+",0,"+ +(f>=Ba)+","+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 Ya=ja;function za(t){return t.source}function Va(t){return t.target}function $a(t){return t.radius}function Ha(t){return t.startAngle}function Ga(t){return t.endAngle}var Wa=function(){var t=za,e=Va,n=$a,r=Ha,i=Ga,a=null;function o(){var o,u=Fa.call(arguments),s=t.apply(this,u),c=e.apply(this,u),l=+n.apply(this,(u[0]=s,u)),f=r.apply(this,u)-Oa,h=i.apply(this,u)-Oa,d=l*Da(f),p=l*Ma(f),g=+n.apply(this,(u[0]=c,u)),y=r.apply(this,u)-Oa,m=i.apply(this,u)-Oa;if(a||(a=o=Ya()),a.moveTo(d,p),a.arc(0,0,l,f,h),f===y&&h===m||(a.quadraticCurveTo(0,0,g*Da(y),g*Ma(y)),a.arc(0,0,g,y,m)),a.quadraticCurveTo(0,0,d,p),a.closePath(),o)return a=null,o+""||null}return o.radius=function(t){return arguments.length?(n="function"==typeof t?t:Pa(+t),o):n},o.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:Pa(+t),o):r},o.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:Pa(+t),o):i},o.source=function(e){return arguments.length?(t=e,o):t},o.target=function(t){return arguments.length?(e=t,o):e},o.context=function(t){return arguments.length?(a=null==t?null:t,o):a},o};function Za(){}function Xa(t,e){var n=new Za;if(t instanceof Za)t.each(function(t,e){n.set(e,t)});else if(Array.isArray(t)){var r,i=-1,a=t.length;if(null==e)for(;++i<a;)n.set(i,t[i]);else for(;++i<a;)n.set(e(r=t[i],i,t),r)}else if(t)for(var o in t)n.set(o,t[o]);return n}Za.prototype=Xa.prototype={constructor:Za,has:function(t){return"$"+t in this},get:function(t){return this["$"+t]},set:function(t,e){return this["$"+t]=e,this},remove:function(t){var e="$"+t;return e in this&&delete this[e]},clear:function(){for(var t in this)"$"===t[0]&&delete this[t]},keys:function(){var t=[];for(var e in this)"$"===e[0]&&t.push(e.slice(1));return t},values:function(){var t=[];for(var e in this)"$"===e[0]&&t.push(this[e]);return t},entries:function(){var t=[];for(var e in this)"$"===e[0]&&t.push({key:e.slice(1),value:this[e]});return t},size:function(){var t=0;for(var e in this)"$"===e[0]&&++t;return t},empty:function(){for(var t in this)if("$"===t[0])return!1;return!0},each:function(t){for(var e in this)"$"===e[0]&&t(this[e],e.slice(1),this)}};var Ja=Xa,Ka=function(){var t,e,n,r=[],i=[];function a(n,i,o,u){if(i>=r.length)return null!=t&&n.sort(t),null!=e?e(n):n;for(var s,c,l,f=-1,h=n.length,d=r[i++],p=Ja(),g=o();++f<h;)(l=p.get(s=d(c=n[f])+""))?l.push(c):p.set(s,[c]);return p.each(function(t,e){u(g,e,a(t,i,o,u))}),g}return n={object:function(t){return a(t,0,Qa,to)},map:function(t){return a(t,0,eo,no)},entries:function(t){return function t(n,a){if(++a>r.length)return n;var o,u=i[a-1];return null!=e&&a>=r.length?o=n.entries():(o=[],n.each(function(e,n){o.push({key:n,values:t(e,a)})})),null!=u?o.sort(function(t,e){return u(t.key,e.key)}):o}(a(t,0,eo,no),0)},key:function(t){return r.push(t),n},sortKeys:function(t){return i[r.length-1]=t,n},sortValues:function(e){return t=e,n},rollup:function(t){return e=t,n}}};function Qa(){return{}}function to(t,e,n){t[e]=n}function eo(){return Ja()}function no(t,e,n){t.set(e,n)}function ro(){}var io=Ja.prototype;function ao(t,e){var n=new ro;if(t instanceof ro)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}ro.prototype=ao.prototype={constructor:ro,has:io.has,add:function(t){return this["$"+(t+="")]=t,this},remove:io.remove,clear:io.clear,values:io.keys,size:io.size,empty:io.empty,each:io.each};var oo=ao,uo=function(t){var e=[];for(var n in t)e.push(n);return e},so=function(t){var e=[];for(var n in t)e.push(t[n]);return e},co=function(t){var e=[];for(var n in t)e.push({key:n,value:t[n]});return e},lo=Array.prototype.slice,fo=function(t,e){return t-e},ho=function(t){for(var e=0,n=t.length,r=t[n-1][1]*t[0][0]-t[n-1][0]*t[0][1];++e<n;)r+=t[e-1][1]*t[e][0]-t[e-1][0]*t[e][1];return r},po=function(t){return function(){return t}},go=function(t,e){for(var n,r=-1,i=e.length;++r<i;)if(n=yo(t,e[r]))return n;return 0};function yo(t,e){for(var n=e[0],r=e[1],i=-1,a=0,o=t.length,u=o-1;a<o;u=a++){var s=t[a],c=s[0],l=s[1],f=t[u],h=f[0],d=f[1];if(mo(s,f,e))return 0;l>r!=d>r&&n<(h-c)*(r-l)/(d-l)+c&&(i=-i)}return i}function mo(t,e,n){var r,i,a,o;return function(t,e,n){return(e[0]-t[0])*(n[1]-t[1])==(n[0]-t[0])*(e[1]-t[1])}(t,e,n)&&(i=t[r=+(t[0]===e[0])],a=n[r],o=e[r],i<=a&&a<=o||o<=a&&a<=i)}var vo=function(){},bo=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]],_o=function(){var t=1,e=1,n=M,r=u;function i(t){var e=n(t);if(Array.isArray(e))e=e.slice().sort(fo);else{var r=y(t),i=r[0],o=r[1];e=D(i,o,e),e=w(Math.floor(i/e)*e,Math.floor(o/e)*e,e)}return e.map(function(e){return a(t,e)})}function a(n,i){var a=[],u=[];return function(n,r,i){var a,u,s,c,l,f,h=new Array,d=new Array;a=u=-1,c=n[0]>=r,bo[c<<1].forEach(p);for(;++a<t-1;)s=c,c=n[a+1]>=r,bo[s|c<<1].forEach(p);bo[c<<0].forEach(p);for(;++u<e-1;){for(a=-1,c=n[u*t+t]>=r,l=n[u*t]>=r,bo[c<<1|l<<2].forEach(p);++a<t-1;)s=c,c=n[u*t+t+a+1]>=r,f=l,l=n[u*t+a+1]>=r,bo[s|c<<1|l<<2|f<<3].forEach(p);bo[c|l<<3].forEach(p)}a=-1,l=n[u*t]>=r,bo[l<<2].forEach(p);for(;++a<t-1;)f=l,l=n[u*t+a+1]>=r,bo[l<<2|f<<3].forEach(p);function p(t){var e,n,r=[t[0][0]+a,t[0][1]+u],s=[t[1][0]+a,t[1][1]+u],c=o(r),l=o(s);(e=d[c])?(n=h[l])?(delete d[e.end],delete h[n.start],e===n?(e.ring.push(s),i(e.ring)):h[e.start]=d[n.end]={start:e.start,end:n.end,ring:e.ring.concat(n.ring)}):(delete d[e.end],e.ring.push(s),d[e.end=l]=e):(e=h[l])?(n=d[c])?(delete h[e.start],delete d[n.end],e===n?(e.ring.push(s),i(e.ring)):h[n.start]=d[e.end]={start:n.start,end:e.end,ring:n.ring.concat(e.ring)}):(delete h[e.start],e.ring.unshift(r),h[e.start=c]=e):h[c]=d[l]={start:c,end:l,ring:[r,s]}}bo[l<<3].forEach(p)}(n,i,function(t){r(t,n,i),ho(t)>0?a.push([t]):u.push(t)}),u.forEach(function(t){for(var e,n=0,r=a.length;n<r;++n)if(-1!==go((e=a[n])[0],t))return void e.push(t)}),{type:"MultiPolygon",value:i,coordinates:a}}function o(e){return 2*e[0]+e[1]*(t+1)*4}function u(n,r,i){n.forEach(function(n){var a,o=n[0],u=n[1],s=0|o,c=0|u,l=r[c*t+s];o>0&&o<t&&s===o&&(a=r[c*t+s-1],n[0]=o+(i-a)/(l-a)-.5),u>0&&u<e&&c===u&&(a=r[(c-1)*t+s],n[1]=u+(i-a)/(l-a)-.5)})}return i.contour=a,i.size=function(n){if(!arguments.length)return[t,e];var r=Math.ceil(n[0]),a=Math.ceil(n[1]);if(!(r>0&&a>0))throw new Error("invalid size");return t=r,e=a,i},i.thresholds=function(t){return arguments.length?(n="function"==typeof t?t:Array.isArray(t)?po(lo.call(t)):po(t),i):n},i.smooth=function(t){return arguments.length?(r=t?u:vo,i):r===u},i};function xo(t,e,n){for(var r=t.width,i=t.height,a=1+(n<<1),o=0;o<i;++o)for(var u=0,s=0;u<r+n;++u)u<r&&(s+=t.data[u+o*r]),u>=n&&(u>=a&&(s-=t.data[u-a+o*r]),e.data[u-n+o*r]=s/Math.min(u+1,r-1+a-u,a))}function wo(t,e,n){for(var r=t.width,i=t.height,a=1+(n<<1),o=0;o<r;++o)for(var u=0,s=0;u<i+n;++u)u<i&&(s+=t.data[o+u*r]),u>=n&&(u>=a&&(s-=t.data[o+(u-a)*r]),e.data[o+(u-n)*r]=s/Math.min(u+1,i-1+a-u,a))}function ko(t){return t[0]}function Eo(t){return t[1]}function Ao(){return 1}var To=function(){var t=ko,e=Eo,n=Ao,r=960,i=500,a=20,o=2,u=3*a,s=r+2*u>>o,c=i+2*u>>o,l=po(20);function f(r){var i=new Float32Array(s*c),f=new Float32Array(s*c);r.forEach(function(r,a,l){var f=+t(r,a,l)+u>>o,h=+e(r,a,l)+u>>o,d=+n(r,a,l);f>=0&&f<s&&h>=0&&h<c&&(i[f+h*s]+=d)}),xo({width:s,height:c,data:i},{width:s,height:c,data:f},a>>o),wo({width:s,height:c,data:f},{width:s,height:c,data:i},a>>o),xo({width:s,height:c,data:i},{width:s,height:c,data:f},a>>o),wo({width:s,height:c,data:f},{width:s,height:c,data:i},a>>o),xo({width:s,height:c,data:i},{width:s,height:c,data:f},a>>o),wo({width:s,height:c,data:f},{width:s,height:c,data:i},a>>o);var d=l(i);if(!Array.isArray(d)){var p=R(i);d=D(0,p,d),(d=w(0,Math.floor(p/d)*d,d)).shift()}return _o().thresholds(d).size([s,c])(i).map(h)}function h(t){return t.value*=Math.pow(2,-2*o),t.coordinates.forEach(d),t}function d(t){t.forEach(p)}function p(t){t.forEach(g)}function g(t){t[0]=t[0]*Math.pow(2,o)-u,t[1]=t[1]*Math.pow(2,o)-u}function y(){return s=r+2*(u=3*a)>>o,c=i+2*u>>o,f}return f.x=function(e){return arguments.length?(t="function"==typeof e?e:po(+e),f):t},f.y=function(t){return arguments.length?(e="function"==typeof t?t:po(+t),f):e},f.weight=function(t){return arguments.length?(n="function"==typeof t?t:po(+t),f):n},f.size=function(t){if(!arguments.length)return[r,i];var e=Math.ceil(t[0]),n=Math.ceil(t[1]);if(!(e>=0||e>=0))throw new Error("invalid size");return r=e,i=n,y()},f.cellSize=function(t){if(!arguments.length)return 1<<o;if(!((t=+t)>=1))throw new Error("invalid cell size");return o=Math.floor(Math.log(t)/Math.LN2),y()},f.thresholds=function(t){return arguments.length?(l="function"==typeof t?t:Array.isArray(t)?po(lo.call(t)):po(t),f):l},f.bandwidth=function(t){if(!arguments.length)return Math.sqrt(a*(a+1));if(!((t=+t)>=0))throw new Error("invalid bandwidth");return a=Math.round((Math.sqrt(4*t*t+1)-1)/2),y()},f},So={},Do={},Mo=34,Co=10,Oo=13;function Lo(t){return new Function("d","return {"+t.map(function(t,e){return JSON.stringify(t)+": d["+e+"]"}).join(",")+"}")}var No=function(t){var e=new RegExp('["'+t+"\n\r]"),n=t.charCodeAt(0);function r(t,e){var r,i=[],a=t.length,o=0,u=0,s=a<=0,c=!1;function l(){if(s)return Do;if(c)return c=!1,So;var e,r,i=o;if(t.charCodeAt(i)===Mo){for(;o++<a&&t.charCodeAt(o)!==Mo||t.charCodeAt(++o)===Mo;);return(e=o)>=a?s=!0:(r=t.charCodeAt(o++))===Co?c=!0:r===Oo&&(c=!0,t.charCodeAt(o)===Co&&++o),t.slice(i+1,e-1).replace(/""/g,'"')}for(;o<a;){if((r=t.charCodeAt(e=o++))===Co)c=!0;else if(r===Oo)c=!0,t.charCodeAt(o)===Co&&++o;else if(r!==n)continue;return t.slice(i,e)}return s=!0,t.slice(i,a)}for(t.charCodeAt(a-1)===Co&&--a,t.charCodeAt(a-1)===Oo&&--a;(r=l())!==Do;){for(var f=[];r!==So&&r!==Do;)f.push(r),r=l();e&&null==(f=e(f,u++))||i.push(f)}return i}function i(e){return e.map(a).join(t)}function a(t){return null==t?"":e.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,e){var n,i,a=r(t,function(t,r){if(n)return n(t,r-1);i=t,n=e?function(t,e){var n=Lo(t);return function(r,i){return e(n(r),i,t)}}(t,e):Lo(t)});return a.columns=i||[],a},parseRows:r,format:function(e,n){return null==n&&(n=function(t){var e=Object.create(null),n=[];return t.forEach(function(t){for(var r in t)r in e||n.push(e[r]=r)}),n}(e)),[n.map(a).join(t)].concat(e.map(function(e){return n.map(function(t){return a(e[t])}).join(t)})).join("\n")},formatRows:function(t){return t.map(i).join("\n")}}},Ro=No(","),Fo=Ro.parse,Po=Ro.parseRows,Bo=Ro.format,Io=Ro.formatRows,qo=No("\t"),Uo=qo.parse,jo=qo.parseRows,Yo=qo.format,zo=qo.formatRows;function Vo(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.blob()}var $o=function(t,e){return fetch(t,e).then(Vo)};function Ho(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.arrayBuffer()}var Go=function(t,e){return fetch(t,e).then(Ho)};function Wo(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.text()}var Zo=function(t,e){return fetch(t,e).then(Wo)};function Xo(t){return function(e,n,r){return 2===arguments.length&&"function"==typeof n&&(r=n,n=void 0),Zo(e,n).then(function(e){return t(e,r)})}}function Jo(t,e,n,r){3===arguments.length&&"function"==typeof n&&(r=n,n=void 0);var i=No(t);return Zo(e,n).then(function(t){return i.parse(t,r)})}var Ko=Xo(Fo),Qo=Xo(Uo),tu=function(t,e){return new Promise(function(n,r){var i=new Image;for(var a in e)i[a]=e[a];i.onerror=r,i.onload=function(){n(i)},i.src=t})};function eu(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.json()}var nu=function(t,e){return fetch(t,e).then(eu)};function ru(t){return function(e,n){return Zo(e,n).then(function(e){return(new DOMParser).parseFromString(e,t)})}}var iu=ru("application/xml"),au=ru("text/html"),ou=ru("image/svg+xml"),uu=function(t,e){var n;function r(){var r,i,a=n.length,o=0,u=0;for(r=0;r<a;++r)o+=(i=n[r]).x,u+=i.y;for(o=o/a-t,u=u/a-e,r=0;r<a;++r)(i=n[r]).x-=o,i.y-=u}return null==t&&(t=0),null==e&&(e=0),r.initialize=function(t){n=t},r.x=function(e){return arguments.length?(t=+e,r):t},r.y=function(t){return arguments.length?(e=+t,r):e},r},su=function(t){return function(){return t}},cu=function(){return 1e-6*(Math.random()-.5)};function lu(t,e,n,r){if(isNaN(e)||isNaN(n))return t;var i,a,o,u,s,c,l,f,h,d=t._root,p={data:r},g=t._x0,y=t._y0,m=t._x1,v=t._y1;if(!d)return t._root=p,t;for(;d.length;)if((c=e>=(a=(g+m)/2))?g=a:m=a,(l=n>=(o=(y+v)/2))?y=o:v=o,i=d,!(d=d[f=l<<1|c]))return i[f]=p,t;if(u=+t._x.call(null,d.data),s=+t._y.call(null,d.data),e===u&&n===s)return p.next=d,i?i[f]=p:t._root=p,t;do{i=i?i[f]=new Array(4):t._root=new Array(4),(c=e>=(a=(g+m)/2))?g=a:m=a,(l=n>=(o=(y+v)/2))?y=o:v=o}while((f=l<<1|c)==(h=(s>=o)<<1|u>=a));return i[h]=d,i[f]=p,t}var fu=function(t,e,n,r,i){this.node=t,this.x0=e,this.y0=n,this.x1=r,this.y1=i};function hu(t){return t[0]}function du(t){return t[1]}function pu(t,e,n){var r=new gu(null==e?hu:e,null==n?du:n,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function gu(t,e,n,r,i,a){this._x=t,this._y=e,this._x0=n,this._y0=r,this._x1=i,this._y1=a,this._root=void 0}function yu(t){for(var e={data:t.data},n=e;t=t.next;)n=n.next={data:t.data};return e}var mu=pu.prototype=gu.prototype;function vu(t){return t.x+t.vx}function bu(t){return t.y+t.vy}mu.copy=function(){var t,e,n=new gu(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=yu(r),n;for(t=[{source:r,target:n._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(e=r.source[i])&&(e.length?t.push({source:e,target:r.target[i]=new Array(4)}):r.target[i]=yu(e));return n},mu.add=function(t){var e=+this._x.call(null,t),n=+this._y.call(null,t);return lu(this.cover(e,n),e,n,t)},mu.addAll=function(t){var e,n,r,i,a=t.length,o=new Array(a),u=new Array(a),s=1/0,c=1/0,l=-1/0,f=-1/0;for(n=0;n<a;++n)isNaN(r=+this._x.call(null,e=t[n]))||isNaN(i=+this._y.call(null,e))||(o[n]=r,u[n]=i,r<s&&(s=r),r>l&&(l=r),i<c&&(c=i),i>f&&(f=i));for(l<s&&(s=this._x0,l=this._x1),f<c&&(c=this._y0,f=this._y1),this.cover(s,c).cover(l,f),n=0;n<a;++n)lu(this,o[n],u[n],t[n]);return this},mu.cover=function(t,e){if(isNaN(t=+t)||isNaN(e=+e))return this;var n=this._x0,r=this._y0,i=this._x1,a=this._y1;if(isNaN(n))i=(n=Math.floor(t))+1,a=(r=Math.floor(e))+1;else{if(!(n>t||t>i||r>e||e>a))return this;var o,u,s=i-n,c=this._root;switch(u=(e<(r+a)/2)<<1|t<(n+i)/2){case 0:do{(o=new Array(4))[u]=c,c=o}while(a=r+(s*=2),t>(i=n+s)||e>a);break;case 1:do{(o=new Array(4))[u]=c,c=o}while(a=r+(s*=2),(n=i-s)>t||e>a);break;case 2:do{(o=new Array(4))[u]=c,c=o}while(r=a-(s*=2),t>(i=n+s)||r>e);break;case 3:do{(o=new Array(4))[u]=c,c=o}while(r=a-(s*=2),(n=i-s)>t||r>e)}this._root&&this._root.length&&(this._root=c)}return this._x0=n,this._y0=r,this._x1=i,this._y1=a,this},mu.data=function(){var t=[];return this.visit(function(e){if(!e.length)do{t.push(e.data)}while(e=e.next)}),t},mu.extent=function(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},mu.find=function(t,e,n){var r,i,a,o,u,s,c,l=this._x0,f=this._y0,h=this._x1,d=this._y1,p=[],g=this._root;for(g&&p.push(new fu(g,l,f,h,d)),null==n?n=1/0:(l=t-n,f=e-n,h=t+n,d=e+n,n*=n);s=p.pop();)if(!(!(g=s.node)||(i=s.x0)>h||(a=s.y0)>d||(o=s.x1)<l||(u=s.y1)<f))if(g.length){var y=(i+o)/2,m=(a+u)/2;p.push(new fu(g[3],y,m,o,u),new fu(g[2],i,m,y,u),new fu(g[1],y,a,o,m),new fu(g[0],i,a,y,m)),(c=(e>=m)<<1|t>=y)&&(s=p[p.length-1],p[p.length-1]=p[p.length-1-c],p[p.length-1-c]=s)}else{var v=t-+this._x.call(null,g.data),b=e-+this._y.call(null,g.data),_=v*v+b*b;if(_<n){var x=Math.sqrt(n=_);l=t-x,f=e-x,h=t+x,d=e+x,r=g.data}}return r},mu.remove=function(t){if(isNaN(a=+this._x.call(null,t))||isNaN(o=+this._y.call(null,t)))return this;var e,n,r,i,a,o,u,s,c,l,f,h,d=this._root,p=this._x0,g=this._y0,y=this._x1,m=this._y1;if(!d)return this;if(d.length)for(;;){if((c=a>=(u=(p+y)/2))?p=u:y=u,(l=o>=(s=(g+m)/2))?g=s:m=s,e=d,!(d=d[f=l<<1|c]))return this;if(!d.length)break;(e[f+1&3]||e[f+2&3]||e[f+3&3])&&(n=e,h=f)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):e?(i?e[f]=i:delete e[f],(d=e[0]||e[1]||e[2]||e[3])&&d===(e[3]||e[2]||e[1]||e[0])&&!d.length&&(n?n[h]=d:this._root=d),this):(this._root=i,this)},mu.removeAll=function(t){for(var e=0,n=t.length;e<n;++e)this.remove(t[e]);return this},mu.root=function(){return this._root},mu.size=function(){var t=0;return this.visit(function(e){if(!e.length)do{++t}while(e=e.next)}),t},mu.visit=function(t){var e,n,r,i,a,o,u=[],s=this._root;for(s&&u.push(new fu(s,this._x0,this._y0,this._x1,this._y1));e=u.pop();)if(!t(s=e.node,r=e.x0,i=e.y0,a=e.x1,o=e.y1)&&s.length){var c=(r+a)/2,l=(i+o)/2;(n=s[3])&&u.push(new fu(n,c,l,a,o)),(n=s[2])&&u.push(new fu(n,r,l,c,o)),(n=s[1])&&u.push(new fu(n,c,i,a,l)),(n=s[0])&&u.push(new fu(n,r,i,c,l))}return this},mu.visitAfter=function(t){var e,n=[],r=[];for(this._root&&n.push(new fu(this._root,this._x0,this._y0,this._x1,this._y1));e=n.pop();){var i=e.node;if(i.length){var a,o=e.x0,u=e.y0,s=e.x1,c=e.y1,l=(o+s)/2,f=(u+c)/2;(a=i[0])&&n.push(new fu(a,o,u,l,f)),(a=i[1])&&n.push(new fu(a,l,u,s,f)),(a=i[2])&&n.push(new fu(a,o,f,l,c)),(a=i[3])&&n.push(new fu(a,l,f,s,c))}r.push(e)}for(;e=r.pop();)t(e.node,e.x0,e.y0,e.x1,e.y1);return this},mu.x=function(t){return arguments.length?(this._x=t,this):this._x},mu.y=function(t){return arguments.length?(this._y=t,this):this._y};var _u=function(t){var e,n,r=1,i=1;function a(){for(var t,a,u,s,c,l,f,h=e.length,d=0;d<i;++d)for(a=pu(e,vu,bu).visitAfter(o),t=0;t<h;++t)u=e[t],l=n[u.index],f=l*l,s=u.x+u.vx,c=u.y+u.vy,a.visit(p);function p(t,e,n,i,a){var o=t.data,h=t.r,d=l+h;if(!o)return e>s+d||i<s-d||n>c+d||a<c-d;if(o.index>u.index){var p=s-o.x-o.vx,g=c-o.y-o.vy,y=p*p+g*g;y<d*d&&(0===p&&(y+=(p=cu())*p),0===g&&(y+=(g=cu())*g),y=(d-(y=Math.sqrt(y)))/y*r,u.vx+=(p*=y)*(d=(h*=h)/(f+h)),u.vy+=(g*=y)*d,o.vx-=p*(d=1-d),o.vy-=g*d)}}}function o(t){if(t.data)return t.r=n[t.data.index];for(var e=t.r=0;e<4;++e)t[e]&&t[e].r>t.r&&(t.r=t[e].r)}function u(){if(e){var r,i,a=e.length;for(n=new Array(a),r=0;r<a;++r)i=e[r],n[i.index]=+t(i,r,e)}}return"function"!=typeof t&&(t=su(null==t?1:+t)),a.initialize=function(t){e=t,u()},a.iterations=function(t){return arguments.length?(i=+t,a):i},a.strength=function(t){return arguments.length?(r=+t,a):r},a.radius=function(e){return arguments.length?(t="function"==typeof e?e:su(+e),u(),a):t},a};function xu(t){return t.index}function wu(t,e){var n=t.get(e);if(!n)throw new Error("missing: "+e);return n}var ku=function(t){var e,n,r,i,a,o=xu,u=function(t){return 1/Math.min(i[t.source.index],i[t.target.index])},s=su(30),c=1;function l(r){for(var i=0,o=t.length;i<c;++i)for(var u,s,l,f,h,d,p,g=0;g<o;++g)s=(u=t[g]).source,f=(l=u.target).x+l.vx-s.x-s.vx||cu(),h=l.y+l.vy-s.y-s.vy||cu(),f*=d=((d=Math.sqrt(f*f+h*h))-n[g])/d*r*e[g],h*=d,l.vx-=f*(p=a[g]),l.vy-=h*p,s.vx+=f*(p=1-p),s.vy+=h*p}function f(){if(r){var u,s,c=r.length,l=t.length,f=Ja(r,o);for(u=0,i=new Array(c);u<l;++u)(s=t[u]).index=u,"object"!=typeof s.source&&(s.source=wu(f,s.source)),"object"!=typeof s.target&&(s.target=wu(f,s.target)),i[s.source.index]=(i[s.source.index]||0)+1,i[s.target.index]=(i[s.target.index]||0)+1;for(u=0,a=new Array(l);u<l;++u)s=t[u],a[u]=i[s.source.index]/(i[s.source.index]+i[s.target.index]);e=new Array(l),h(),n=new Array(l),d()}}function h(){if(r)for(var n=0,i=t.length;n<i;++n)e[n]=+u(t[n],n,t)}function d(){if(r)for(var e=0,i=t.length;e<i;++e)n[e]=+s(t[e],e,t)}return null==t&&(t=[]),l.initialize=function(t){r=t,f()},l.links=function(e){return arguments.length?(t=e,f(),l):t},l.id=function(t){return arguments.length?(o=t,l):o},l.iterations=function(t){return arguments.length?(c=+t,l):c},l.strength=function(t){return arguments.length?(u="function"==typeof t?t:su(+t),h(),l):u},l.distance=function(t){return arguments.length?(s="function"==typeof t?t:su(+t),d(),l):s},l};function Eu(t){return t.x}function Au(t){return t.y}var Tu=10,Su=Math.PI*(3-Math.sqrt(5)),Du=function(t){var e,n=1,r=.001,i=1-Math.pow(r,1/300),a=0,o=.6,u=Ja(),s=Pr(l),c=ht("tick","end");function l(){f(),c.call("tick",e),n<r&&(s.stop(),c.call("end",e))}function f(){var e,r,s=t.length;for(n+=(a-n)*i,u.each(function(t){t(n)}),e=0;e<s;++e)null==(r=t[e]).fx?r.x+=r.vx*=o:(r.x=r.fx,r.vx=0),null==r.fy?r.y+=r.vy*=o:(r.y=r.fy,r.vy=0)}function h(){for(var e,n=0,r=t.length;n<r;++n){if((e=t[n]).index=n,isNaN(e.x)||isNaN(e.y)){var i=Tu*Math.sqrt(n),a=n*Su;e.x=i*Math.cos(a),e.y=i*Math.sin(a)}(isNaN(e.vx)||isNaN(e.vy))&&(e.vx=e.vy=0)}}function d(e){return e.initialize&&e.initialize(t),e}return null==t&&(t=[]),h(),e={tick:f,restart:function(){return s.restart(l),e},stop:function(){return s.stop(),e},nodes:function(n){return arguments.length?(t=n,h(),u.each(d),e):t},alpha:function(t){return arguments.length?(n=+t,e):n},alphaMin:function(t){return arguments.length?(r=+t,e):r},alphaDecay:function(t){return arguments.length?(i=+t,e):+i},alphaTarget:function(t){return arguments.length?(a=+t,e):a},velocityDecay:function(t){return arguments.length?(o=1-t,e):1-o},force:function(t,n){return arguments.length>1?(null==n?u.remove(t):u.set(t,d(n)),e):u.get(t)},find:function(e,n,r){var i,a,o,u,s,c=0,l=t.length;for(null==r?r=1/0:r*=r,c=0;c<l;++c)(o=(i=e-(u=t[c]).x)*i+(a=n-u.y)*a)<r&&(s=u,r=o);return s},on:function(t,n){return arguments.length>1?(c.on(t,n),e):c.on(t)}}},Mu=function(){var t,e,n,r,i=su(-30),a=1,o=1/0,u=.81;function s(r){var i,a=t.length,o=pu(t,Eu,Au).visitAfter(l);for(n=r,i=0;i<a;++i)e=t[i],o.visit(f)}function c(){if(t){var e,n,a=t.length;for(r=new Array(a),e=0;e<a;++e)n=t[e],r[n.index]=+i(n,e,t)}}function l(t){var e,n,i,a,o,u=0,s=0;if(t.length){for(i=a=o=0;o<4;++o)(e=t[o])&&(n=Math.abs(e.value))&&(u+=e.value,s+=n,i+=n*e.x,a+=n*e.y);t.x=i/s,t.y=a/s}else{(e=t).x=e.data.x,e.y=e.data.y;do{u+=r[e.data.index]}while(e=e.next)}t.value=u}function f(t,i,s,c){if(!t.value)return!0;var l=t.x-e.x,f=t.y-e.y,h=c-i,d=l*l+f*f;if(h*h/u<d)return d<o&&(0===l&&(d+=(l=cu())*l),0===f&&(d+=(f=cu())*f),d<a&&(d=Math.sqrt(a*d)),e.vx+=l*t.value*n/d,e.vy+=f*t.value*n/d),!0;if(!(t.length||d>=o)){(t.data!==e||t.next)&&(0===l&&(d+=(l=cu())*l),0===f&&(d+=(f=cu())*f),d<a&&(d=Math.sqrt(a*d)));do{t.data!==e&&(h=r[t.data.index]*n/d,e.vx+=l*h,e.vy+=f*h)}while(t=t.next)}}return s.initialize=function(e){t=e,c()},s.strength=function(t){return arguments.length?(i="function"==typeof t?t:su(+t),c(),s):i},s.distanceMin=function(t){return arguments.length?(a=t*t,s):Math.sqrt(a)},s.distanceMax=function(t){return arguments.length?(o=t*t,s):Math.sqrt(o)},s.theta=function(t){return arguments.length?(u=t*t,s):Math.sqrt(u)},s},Cu=function(t,e,n){var r,i,a,o=su(.1);function u(t){for(var o=0,u=r.length;o<u;++o){var s=r[o],c=s.x-e||1e-6,l=s.y-n||1e-6,f=Math.sqrt(c*c+l*l),h=(a[o]-f)*i[o]*t/f;s.vx+=c*h,s.vy+=l*h}}function s(){if(r){var e,n=r.length;for(i=new Array(n),a=new Array(n),e=0;e<n;++e)a[e]=+t(r[e],e,r),i[e]=isNaN(a[e])?0:+o(r[e],e,r)}}return"function"!=typeof t&&(t=su(+t)),null==e&&(e=0),null==n&&(n=0),u.initialize=function(t){r=t,s()},u.strength=function(t){return arguments.length?(o="function"==typeof t?t:su(+t),s(),u):o},u.radius=function(e){return arguments.length?(t="function"==typeof e?e:su(+e),s(),u):t},u.x=function(t){return arguments.length?(e=+t,u):e},u.y=function(t){return arguments.length?(n=+t,u):n},u},Ou=function(t){var e,n,r,i=su(.1);function a(t){for(var i,a=0,o=e.length;a<o;++a)(i=e[a]).vx+=(r[a]-i.x)*n[a]*t}function o(){if(e){var a,o=e.length;for(n=new Array(o),r=new Array(o),a=0;a<o;++a)n[a]=isNaN(r[a]=+t(e[a],a,e))?0:+i(e[a],a,e)}}return"function"!=typeof t&&(t=su(null==t?0:+t)),a.initialize=function(t){e=t,o()},a.strength=function(t){return arguments.length?(i="function"==typeof t?t:su(+t),o(),a):i},a.x=function(e){return arguments.length?(t="function"==typeof e?e:su(+e),o(),a):t},a},Lu=function(t){var e,n,r,i=su(.1);function a(t){for(var i,a=0,o=e.length;a<o;++a)(i=e[a]).vy+=(r[a]-i.y)*n[a]*t}function o(){if(e){var a,o=e.length;for(n=new Array(o),r=new Array(o),a=0;a<o;++a)n[a]=isNaN(r[a]=+t(e[a],a,e))?0:+i(e[a],a,e)}}return"function"!=typeof t&&(t=su(null==t?0:+t)),a.initialize=function(t){e=t,o()},a.strength=function(t){return arguments.length?(i="function"==typeof t?t:su(+t),o(),a):i},a.y=function(e){return arguments.length?(t="function"==typeof e?e:su(+e),o(),a):t},a},Nu=function(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[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]},Ru=function(t){return(t=Nu(Math.abs(t)))?t[1]:NaN},Fu=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Pu(t){return new Bu(t)}function Bu(t){if(!(e=Fu.exec(t)))throw new Error("invalid format: "+t);var e;this.fill=e[1]||" ",this.align=e[2]||">",this.sign=e[3]||"-",this.symbol=e[4]||"",this.zero=!!e[5],this.width=e[6]&&+e[6],this.comma=!!e[7],this.precision=e[8]&&+e[8].slice(1),this.trim=!!e[9],this.type=e[10]||""}Pu.prototype=Bu.prototype,Bu.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Iu,qu,Uu,ju,Yu=function(t){t:for(var e,n=t.length,r=1,i=-1;r<n;++r)switch(t[r]){case".":i=e=r;break;case"0":0===i&&(i=r),e=r;break;default:if(i>0){if(!+t[r])break t;i=0}}return i>0?t.slice(0,i)+t.slice(e+1):t},zu=function(t,e){var n=Nu(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")},Vu={"%":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 zu(100*t,e)},r:zu,s:function(t,e){var n=Nu(t,e);if(!n)return t+"";var r=n[0],i=n[1],a=i-(Iu=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,o=r.length;return a===o?r:a>o?r+new Array(a-o+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+new Array(1-a).join("0")+Nu(t,Math.max(0,e+a-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},$u=function(t){return t},Hu=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],Gu=function(t){var e,n,r=t.grouping&&t.thousands?(e=t.grouping,n=t.thousands,function(t,r){for(var i=t.length,a=[],o=0,u=e[0],s=0;i>0&&u>0&&(s+u+1>r&&(u=Math.max(1,r-s)),a.push(t.substring(i-=u,i+u)),!((s+=u+1)>r));)u=e[o=(o+1)%e.length];return a.reverse().join(n)}):$u,i=t.currency,a=t.decimal,o=t.numerals?function(t){return function(e){return e.replace(/[0-9]/g,function(e){return t[+e]})}}(t.numerals):$u,u=t.percent||"%";function s(t){var e=(t=Pu(t)).fill,n=t.align,s=t.sign,c=t.symbol,l=t.zero,f=t.width,h=t.comma,d=t.precision,p=t.trim,g=t.type;"n"===g?(h=!0,g="g"):Vu[g]||(null==d&&(d=12),p=!0,g="g"),(l||"0"===e&&"="===n)&&(l=!0,e="0",n="=");var y="$"===c?i[0]:"#"===c&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",m="$"===c?i[1]:/[%p]/.test(g)?u:"",v=Vu[g],b=/[defgprs%]/.test(g);function _(t){var i,u,c,_=y,x=m;if("c"===g)x=v(t)+x,t="";else{var w=(t=+t)<0;if(t=v(Math.abs(t),d),p&&(t=Yu(t)),w&&0==+t&&(w=!1),_=(w?"("===s?s:"-":"-"===s||"("===s?"":s)+_,x=("s"===g?Hu[8+Iu/3]:"")+x+(w&&"("===s?")":""),b)for(i=-1,u=t.length;++i<u;)if(48>(c=t.charCodeAt(i))||c>57){x=(46===c?a+t.slice(i+1):t.slice(i))+x,t=t.slice(0,i);break}}h&&!l&&(t=r(t,1/0));var k=_.length+t.length+x.length,E=k<f?new Array(f-k+1).join(e):"";switch(h&&l&&(t=r(E+t,E.length?f-x.length:1/0),E=""),n){case"<":t=_+t+x+E;break;case"=":t=_+E+t+x;break;case"^":t=E.slice(0,k=E.length>>1)+_+t+x+E.slice(k);break;default:t=E+_+t+x}return o(t)}return d=null==d?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,d)):Math.max(0,Math.min(20,d)),_.toString=function(){return t+""},_}return{format:s,formatPrefix:function(t,e){var n=s(((t=Pu(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(Ru(e)/3))),i=Math.pow(10,-r),a=Hu[8+r/3];return function(t){return n(i*t)+a}}}};function Wu(t){return qu=Gu(t),Uu=qu.format,ju=qu.formatPrefix,qu}Wu({decimal:".",thousands:",",grouping:[3],currency:["$",""]});var Zu=function(t){return Math.max(0,-Ru(Math.abs(t)))},Xu=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Ru(e)/3)))-Ru(Math.abs(t)))},Ju=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Ru(e)-Ru(t))+1},Ku=function(){return new Qu};function Qu(){this.reset()}Qu.prototype={constructor:Qu,reset:function(){this.s=this.t=0},add:function(t){es(ts,t,this.t),es(this,ts.s,this.s),this.s?this.t+=ts.t:this.s=ts.t},valueOf:function(){return this.s}};var ts=new Qu;function es(t,e,n){var r=t.s=e+n,i=r-e,a=r-i;t.t=e-a+(n-i)}var ns=1e-6,rs=Math.PI,is=rs/2,as=rs/4,os=2*rs,us=180/rs,ss=rs/180,cs=Math.abs,ls=Math.atan,fs=Math.atan2,hs=Math.cos,ds=Math.ceil,ps=Math.exp,gs=(Math.floor,Math.log),ys=Math.pow,ms=Math.sin,vs=Math.sign||function(t){return t>0?1:t<0?-1:0},bs=Math.sqrt,_s=Math.tan;function xs(t){return t>1?0:t<-1?rs:Math.acos(t)}function ws(t){return t>1?is:t<-1?-is:Math.asin(t)}function ks(t){return(t=ms(t/2))*t}function Es(){}function As(t,e){t&&Ss.hasOwnProperty(t.type)&&Ss[t.type](t,e)}var Ts={Feature:function(t,e){As(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r<i;)As(n[r].geometry,e)}},Ss={Sphere:function(t,e){e.sphere()},Point:function(t,e){t=t.coordinates,e.point(t[0],t[1],t[2])},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)t=n[r],e.point(t[0],t[1],t[2])},LineString:function(t,e){Ds(t.coordinates,e,0)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)Ds(n[r],e,0)},Polygon:function(t,e){Ms(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)Ms(n[r],e)},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,i=n.length;++r<i;)As(n[r],e)}};function Ds(t,e,n){var r,i=-1,a=t.length-n;for(e.lineStart();++i<a;)r=t[i],e.point(r[0],r[1],r[2]);e.lineEnd()}function Ms(t,e){var n=-1,r=t.length;for(e.polygonStart();++n<r;)Ds(t[n],e,1);e.polygonEnd()}var Cs,Os,Ls,Ns,Rs,Fs=function(t,e){t&&Ts.hasOwnProperty(t.type)?Ts[t.type](t,e):As(t,e)},Ps=Ku(),Bs=Ku(),Is={point:Es,lineStart:Es,lineEnd:Es,polygonStart:function(){Ps.reset(),Is.lineStart=qs,Is.lineEnd=Us},polygonEnd:function(){var t=+Ps;Bs.add(t<0?os+t:t),this.lineStart=this.lineEnd=this.point=Es},sphere:function(){Bs.add(os)}};function qs(){Is.point=js}function Us(){Ys(Cs,Os)}function js(t,e){Is.point=Ys,Cs=t,Os=e,Ls=t*=ss,Ns=hs(e=(e*=ss)/2+as),Rs=ms(e)}function Ys(t,e){var n=(t*=ss)-Ls,r=n>=0?1:-1,i=r*n,a=hs(e=(e*=ss)/2+as),o=ms(e),u=Rs*o,s=Ns*a+u*hs(i),c=u*r*ms(i);Ps.add(fs(c,s)),Ls=t,Ns=a,Rs=o}var zs=function(t){return Bs.reset(),Fs(t,Is),2*Bs};function Vs(t){return[fs(t[1],t[0]),ws(t[2])]}function $s(t){var e=t[0],n=t[1],r=hs(n);return[r*hs(e),r*ms(e),ms(n)]}function Hs(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function Gs(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function Ws(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function Zs(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function Xs(t){var e=bs(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}var Js,Ks,Qs,tc,ec,nc,rc,ic,ac,oc,uc=Ku(),sc={point:cc,lineStart:fc,lineEnd:hc,polygonStart:function(){sc.point=dc,sc.lineStart=pc,sc.lineEnd=gc,uc.reset(),Is.polygonStart()},polygonEnd:function(){Is.polygonEnd(),sc.point=cc,sc.lineStart=fc,sc.lineEnd=hc,Ps<0?(Js=-(Qs=180),Ks=-(tc=90)):uc>ns?tc=90:uc<-ns&&(Ks=-90),oc[0]=Js,oc[1]=Qs}};function cc(t,e){ac.push(oc=[Js=t,Qs=t]),e<Ks&&(Ks=e),e>tc&&(tc=e)}function lc(t,e){var n=$s([t*ss,e*ss]);if(ic){var r=Gs(ic,n),i=Gs([r[1],-r[0],0],r);Xs(i),i=Vs(i);var a,o=t-ec,u=o>0?1:-1,s=i[0]*us*u,c=cs(o)>180;c^(u*ec<s&&s<u*t)?(a=i[1]*us)>tc&&(tc=a):c^(u*ec<(s=(s+360)%360-180)&&s<u*t)?(a=-i[1]*us)<Ks&&(Ks=a):(e<Ks&&(Ks=e),e>tc&&(tc=e)),c?t<ec?yc(Js,t)>yc(Js,Qs)&&(Qs=t):yc(t,Qs)>yc(Js,Qs)&&(Js=t):Qs>=Js?(t<Js&&(Js=t),t>Qs&&(Qs=t)):t>ec?yc(Js,t)>yc(Js,Qs)&&(Qs=t):yc(t,Qs)>yc(Js,Qs)&&(Js=t)}else ac.push(oc=[Js=t,Qs=t]);e<Ks&&(Ks=e),e>tc&&(tc=e),ic=n,ec=t}function fc(){sc.point=lc}function hc(){oc[0]=Js,oc[1]=Qs,sc.point=cc,ic=null}function dc(t,e){if(ic){var n=t-ec;uc.add(cs(n)>180?n+(n>0?360:-360):n)}else nc=t,rc=e;Is.point(t,e),lc(t,e)}function pc(){Is.lineStart()}function gc(){dc(nc,rc),Is.lineEnd(),cs(uc)>ns&&(Js=-(Qs=180)),oc[0]=Js,oc[1]=Qs,ic=null}function yc(t,e){return(e-=t)<0?e+360:e}function mc(t,e){return t[0]-e[0]}function vc(t,e){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:e<t[0]||t[1]<e}var bc,_c,xc,wc,kc,Ec,Ac,Tc,Sc,Dc,Mc,Cc,Oc,Lc,Nc,Rc,Fc=function(t){var e,n,r,i,a,o,u;if(tc=Qs=-(Js=Ks=1/0),ac=[],Fs(t,sc),n=ac.length){for(ac.sort(mc),e=1,a=[r=ac[0]];e<n;++e)vc(r,(i=ac[e])[0])||vc(r,i[1])?(yc(r[0],i[1])>yc(r[0],r[1])&&(r[1]=i[1]),yc(i[0],r[1])>yc(r[0],r[1])&&(r[0]=i[0])):a.push(r=i);for(o=-1/0,e=0,r=a[n=a.length-1];e<=n;r=i,++e)i=a[e],(u=yc(r[1],i[0]))>o&&(o=u,Js=i[0],Qs=r[1])}return ac=oc=null,Js===1/0||Ks===1/0?[[NaN,NaN],[NaN,NaN]]:[[Js,Ks],[Qs,tc]]},Pc={sphere:Es,point:Bc,lineStart:qc,lineEnd:Yc,polygonStart:function(){Pc.lineStart=zc,Pc.lineEnd=Vc},polygonEnd:function(){Pc.lineStart=qc,Pc.lineEnd=Yc}};function Bc(t,e){t*=ss;var n=hs(e*=ss);Ic(n*hs(t),n*ms(t),ms(e))}function Ic(t,e,n){xc+=(t-xc)/++bc,wc+=(e-wc)/bc,kc+=(n-kc)/bc}function qc(){Pc.point=Uc}function Uc(t,e){t*=ss;var n=hs(e*=ss);Lc=n*hs(t),Nc=n*ms(t),Rc=ms(e),Pc.point=jc,Ic(Lc,Nc,Rc)}function jc(t,e){t*=ss;var n=hs(e*=ss),r=n*hs(t),i=n*ms(t),a=ms(e),o=fs(bs((o=Nc*a-Rc*i)*o+(o=Rc*r-Lc*a)*o+(o=Lc*i-Nc*r)*o),Lc*r+Nc*i+Rc*a);_c+=o,Ec+=o*(Lc+(Lc=r)),Ac+=o*(Nc+(Nc=i)),Tc+=o*(Rc+(Rc=a)),Ic(Lc,Nc,Rc)}function Yc(){Pc.point=Bc}function zc(){Pc.point=$c}function Vc(){Hc(Cc,Oc),Pc.point=Bc}function $c(t,e){Cc=t,Oc=e,t*=ss,e*=ss,Pc.point=Hc;var n=hs(e);Lc=n*hs(t),Nc=n*ms(t),Rc=ms(e),Ic(Lc,Nc,Rc)}function Hc(t,e){t*=ss;var n=hs(e*=ss),r=n*hs(t),i=n*ms(t),a=ms(e),o=Nc*a-Rc*i,u=Rc*r-Lc*a,s=Lc*i-Nc*r,c=bs(o*o+u*u+s*s),l=ws(c),f=c&&-l/c;Sc+=f*o,Dc+=f*u,Mc+=f*s,_c+=l,Ec+=l*(Lc+(Lc=r)),Ac+=l*(Nc+(Nc=i)),Tc+=l*(Rc+(Rc=a)),Ic(Lc,Nc,Rc)}var Gc=function(t){bc=_c=xc=wc=kc=Ec=Ac=Tc=Sc=Dc=Mc=0,Fs(t,Pc);var e=Sc,n=Dc,r=Mc,i=e*e+n*n+r*r;return i<1e-12&&(e=Ec,n=Ac,r=Tc,_c<ns&&(e=xc,n=wc,r=kc),(i=e*e+n*n+r*r)<1e-12)?[NaN,NaN]:[fs(n,e)*us,ws(r/bs(i))*us]},Wc=function(t){return function(){return t}},Zc=function(t,e){function n(n,r){return n=t(n,r),e(n[0],n[1])}return t.invert&&e.invert&&(n.invert=function(n,r){return(n=e.invert(n,r))&&t.invert(n[0],n[1])}),n};function Xc(t,e){return[cs(t)>rs?t+Math.round(-t/os)*os:t,e]}function Jc(t,e,n){return(t%=os)?e||n?Zc(Qc(t),tl(e,n)):Qc(t):e||n?tl(e,n):Xc}function Kc(t){return function(e,n){return[(e+=t)>rs?e-os:e<-rs?e+os:e,n]}}function Qc(t){var e=Kc(t);return e.invert=Kc(-t),e}function tl(t,e){var n=hs(t),r=ms(t),i=hs(e),a=ms(e);function o(t,e){var o=hs(e),u=hs(t)*o,s=ms(t)*o,c=ms(e),l=c*n+u*r;return[fs(s*i-l*a,u*n-c*r),ws(l*i+s*a)]}return o.invert=function(t,e){var o=hs(e),u=hs(t)*o,s=ms(t)*o,c=ms(e),l=c*i-s*a;return[fs(s*i+c*a,u*n+l*r),ws(l*n-u*r)]},o}Xc.invert=Xc;var el=function(t){function e(e){return(e=t(e[0]*ss,e[1]*ss))[0]*=us,e[1]*=us,e}return t=Jc(t[0]*ss,t[1]*ss,t.length>2?t[2]*ss:0),e.invert=function(e){return(e=t.invert(e[0]*ss,e[1]*ss))[0]*=us,e[1]*=us,e},e};function nl(t,e,n,r,i,a){if(n){var o=hs(e),u=ms(e),s=r*n;null==i?(i=e+r*os,a=e-s/2):(i=rl(o,i),a=rl(o,a),(r>0?i<a:i>a)&&(i+=r*os));for(var c,l=i;r>0?l>a:l<a;l-=s)c=Vs([o,-u*hs(l),-u*ms(l)]),t.point(c[0],c[1])}}function rl(t,e){(e=$s(e))[0]-=t,Xs(e);var n=xs(-e[1]);return((-e[2]<0?-n:n)+os-ns)%os}var il=function(){var t,e,n=Wc([0,0]),r=Wc(90),i=Wc(6),a={point:function(n,r){t.push(n=e(n,r)),n[0]*=us,n[1]*=us}};function o(){var o=n.apply(this,arguments),u=r.apply(this,arguments)*ss,s=i.apply(this,arguments)*ss;return t=[],e=Jc(-o[0]*ss,-o[1]*ss,0).invert,nl(a,u,s,1),o={type:"Polygon",coordinates:[t]},t=e=null,o}return o.center=function(t){return arguments.length?(n="function"==typeof t?t:Wc([+t[0],+t[1]]),o):n},o.radius=function(t){return arguments.length?(r="function"==typeof t?t:Wc(+t),o):r},o.precision=function(t){return arguments.length?(i="function"==typeof t?t:Wc(+t),o):i},o},al=function(){var t,e=[];return{point:function(e,n){t.push([e,n])},lineStart:function(){e.push(t=[])},lineEnd:Es,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}},ol=function(t,e){return cs(t[0]-e[0])<ns&&cs(t[1]-e[1])<ns};function ul(t,e,n,r){this.x=t,this.z=e,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}var sl=function(t,e,n,r,i){var a,o,u=[],s=[];if(t.forEach(function(t){if(!((e=t.length-1)<=0)){var e,n,r=t[0],o=t[e];if(ol(r,o)){for(i.lineStart(),a=0;a<e;++a)i.point((r=t[a])[0],r[1]);i.lineEnd()}else u.push(n=new ul(r,t,null,!0)),s.push(n.o=new ul(r,null,n,!1)),u.push(n=new ul(o,t,null,!1)),s.push(n.o=new ul(o,null,n,!0))}}),u.length){for(s.sort(e),cl(u),cl(s),a=0,o=s.length;a<o;++a)s[a].e=n=!n;for(var c,l,f=u[0];;){for(var h=f,d=!0;h.v;)if((h=h.n)===f)return;c=h.z,i.lineStart();do{if(h.v=h.o.v=!0,h.e){if(d)for(a=0,o=c.length;a<o;++a)i.point((l=c[a])[0],l[1]);else r(h.x,h.n.x,1,i);h=h.n}else{if(d)for(c=h.p.z,a=c.length-1;a>=0;--a)i.point((l=c[a])[0],l[1]);else r(h.x,h.p.x,-1,i);h=h.p}c=(h=h.o).z,d=!d}while(!h.v);i.lineEnd()}}};function cl(t){if(e=t.length){for(var e,n,r=0,i=t[0];++r<e;)i.n=n=t[r],n.p=i,i=n;i.n=n=t[0],n.p=i}}var ll=Ku(),fl=function(t,e){var n=e[0],r=e[1],i=ms(r),a=[ms(n),-hs(n),0],o=0,u=0;ll.reset(),1===i?r=is+ns:-1===i&&(r=-is-ns);for(var s=0,c=t.length;s<c;++s)if(f=(l=t[s]).length)for(var l,f,h=l[f-1],d=h[0],p=h[1]/2+as,g=ms(p),y=hs(p),m=0;m<f;++m,d=b,g=x,y=w,h=v){var v=l[m],b=v[0],_=v[1]/2+as,x=ms(_),w=hs(_),k=b-d,E=k>=0?1:-1,A=E*k,T=A>rs,S=g*x;if(ll.add(fs(S*E*ms(A),y*w+S*hs(A))),o+=T?k+E*os:k,T^d>=n^b>=n){var D=Gs($s(h),$s(v));Xs(D);var M=Gs(a,D);Xs(M);var C=(T^k>=0?-1:1)*ws(M[2]);(r>C||r===C&&(D[0]||D[1]))&&(u+=T^k>=0?1:-1)}}return(o<-ns||o<ns&&ll<-ns)^1&u},hl=function(t,e,n,r){return function(i){var a,o,u,s=e(i),c=al(),l=e(c),f=!1,h={point:d,lineStart:g,lineEnd:y,polygonStart:function(){h.point=m,h.lineStart=v,h.lineEnd=b,o=[],a=[]},polygonEnd:function(){h.point=d,h.lineStart=g,h.lineEnd=y,o=B(o);var t=fl(a,r);o.length?(f||(i.polygonStart(),f=!0),sl(o,pl,t,n,i)):t&&(f||(i.polygonStart(),f=!0),i.lineStart(),n(null,null,1,i),i.lineEnd()),f&&(i.polygonEnd(),f=!1),o=a=null},sphere:function(){i.polygonStart(),i.lineStart(),n(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function d(e,n){t(e,n)&&i.point(e,n)}function p(t,e){s.point(t,e)}function g(){h.point=p,s.lineStart()}function y(){h.point=d,s.lineEnd()}function m(t,e){u.push([t,e]),l.point(t,e)}function v(){l.lineStart(),u=[]}function b(){m(u[0][0],u[0][1]),l.lineEnd();var t,e,n,r,s=l.clean(),h=c.result(),d=h.length;if(u.pop(),a.push(u),u=null,d)if(1&s){if((e=(n=h[0]).length-1)>0){for(f||(i.polygonStart(),f=!0),i.lineStart(),t=0;t<e;++t)i.point((r=n[t])[0],r[1]);i.lineEnd()}}else d>1&&2&s&&h.push(h.pop().concat(h.shift())),o.push(h.filter(dl))}return h}};function dl(t){return t.length>1}function pl(t,e){return((t=t.x)[0]<0?t[1]-is-ns:is-t[1])-((e=e.x)[0]<0?e[1]-is-ns:is-e[1])}var gl=hl(function(){return!0},function(t){var e,n=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(a,o){var u=a>0?rs:-rs,s=cs(a-n);cs(s-rs)<ns?(t.point(n,r=(r+o)/2>0?is:-is),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(u,r),t.point(a,r),e=0):i!==u&&s>=rs&&(cs(n-i)<ns&&(n-=i*ns),cs(a-u)<ns&&(a-=u*ns),r=function(t,e,n,r){var i,a,o=ms(t-n);return cs(o)>ns?ls((ms(e)*(a=hs(r))*ms(n)-ms(r)*(i=hs(e))*ms(t))/(i*a*o)):(e+r)/2}(n,r,a,o),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(u,r),e=0),t.point(n=a,r=o),i=u},lineEnd:function(){t.lineEnd(),n=r=NaN},clean:function(){return 2-e}}},function(t,e,n,r){var i;if(null==t)i=n*is,r.point(-rs,i),r.point(0,i),r.point(rs,i),r.point(rs,0),r.point(rs,-i),r.point(0,-i),r.point(-rs,-i),r.point(-rs,0),r.point(-rs,i);else if(cs(t[0]-e[0])>ns){var a=t[0]<e[0]?rs:-rs;i=n*a/2,r.point(-a,i),r.point(0,i),r.point(a,i)}else r.point(e[0],e[1])},[-rs,-is]);var yl=function(t){var e=hs(t),n=6*ss,r=e>0,i=cs(e)>ns;function a(t,n){return hs(t)*hs(n)>e}function o(t,n,r){var i=[1,0,0],a=Gs($s(t),$s(n)),o=Hs(a,a),u=a[0],s=o-u*u;if(!s)return!r&&t;var c=e*o/s,l=-e*u/s,f=Gs(i,a),h=Zs(i,c);Ws(h,Zs(a,l));var d=f,p=Hs(h,d),g=Hs(d,d),y=p*p-g*(Hs(h,h)-1);if(!(y<0)){var m=bs(y),v=Zs(d,(-p-m)/g);if(Ws(v,h),v=Vs(v),!r)return v;var b,_=t[0],x=n[0],w=t[1],k=n[1];x<_&&(b=_,_=x,x=b);var E=x-_,A=cs(E-rs)<ns;if(!A&&k<w&&(b=w,w=k,k=b),A||E<ns?A?w+k>0^v[1]<(cs(v[0]-_)<ns?w:k):w<=v[1]&&v[1]<=k:E>rs^(_<=v[0]&&v[0]<=x)){var T=Zs(d,(-p+m)/g);return Ws(T,h),[v,Vs(T)]}}}function u(e,n){var i=r?t:rs-t,a=0;return e<-i?a|=1:e>i&&(a|=2),n<-i?a|=4:n>i&&(a|=8),a}return hl(a,function(t){var e,n,s,c,l;return{lineStart:function(){c=s=!1,l=1},point:function(f,h){var d,p=[f,h],g=a(f,h),y=r?g?0:u(f,h):g?u(f+(f<0?rs:-rs),h):0;if(!e&&(c=s=g)&&t.lineStart(),g!==s&&(!(d=o(e,p))||ol(e,d)||ol(p,d))&&(p[0]+=ns,p[1]+=ns,g=a(p[0],p[1])),g!==s)l=0,g?(t.lineStart(),d=o(p,e),t.point(d[0],d[1])):(d=o(e,p),t.point(d[0],d[1]),t.lineEnd()),e=d;else if(i&&e&&r^g){var m;y&n||!(m=o(p,e,!0))||(l=0,r?(t.lineStart(),t.point(m[0][0],m[0][1]),t.point(m[1][0],m[1][1]),t.lineEnd()):(t.point(m[1][0],m[1][1]),t.lineEnd(),t.lineStart(),t.point(m[0][0],m[0][1])))}!g||e&&ol(e,p)||t.point(p[0],p[1]),e=p,s=g,n=y},lineEnd:function(){s&&t.lineEnd(),e=null},clean:function(){return l|(c&&s)<<1}}},function(e,r,i,a){nl(a,t,n,i,e,r)},r?[0,-t]:[-rs,t-rs])},ml=function(t,e,n,r,i,a){var o,u=t[0],s=t[1],c=0,l=1,f=e[0]-u,h=e[1]-s;if(o=n-u,f||!(o>0)){if(o/=f,f<0){if(o<c)return;o<l&&(l=o)}else if(f>0){if(o>l)return;o>c&&(c=o)}if(o=i-u,f||!(o<0)){if(o/=f,f<0){if(o>l)return;o>c&&(c=o)}else if(f>0){if(o<c)return;o<l&&(l=o)}if(o=r-s,h||!(o>0)){if(o/=h,h<0){if(o<c)return;o<l&&(l=o)}else if(h>0){if(o>l)return;o>c&&(c=o)}if(o=a-s,h||!(o<0)){if(o/=h,h<0){if(o>l)return;o>c&&(c=o)}else if(h>0){if(o<c)return;o<l&&(l=o)}return c>0&&(t[0]=u+c*f,t[1]=s+c*h),l<1&&(e[0]=u+l*f,e[1]=s+l*h),!0}}}}},vl=1e9,bl=-vl;function _l(t,e,n,r){function i(i,a){return t<=i&&i<=n&&e<=a&&a<=r}function a(i,a,u,c){var l=0,f=0;if(null==i||(l=o(i,u))!==(f=o(a,u))||s(i,a)<0^u>0)do{c.point(0===l||3===l?t:n,l>1?r:e)}while((l=(l+u+4)%4)!==f);else c.point(a[0],a[1])}function o(r,i){return cs(r[0]-t)<ns?i>0?0:3:cs(r[0]-n)<ns?i>0?2:1:cs(r[1]-e)<ns?i>0?1:0:i>0?3:2}function u(t,e){return s(t.x,e.x)}function s(t,e){var n=o(t,1),r=o(e,1);return n!==r?n-r:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(o){var s,c,l,f,h,d,p,g,y,m,v,b=o,_=al(),x={point:w,lineStart:function(){x.point=k,c&&c.push(l=[]);m=!0,y=!1,p=g=NaN},lineEnd:function(){s&&(k(f,h),d&&y&&_.rejoin(),s.push(_.result()));x.point=w,y&&b.lineEnd()},polygonStart:function(){b=_,s=[],c=[],v=!0},polygonEnd:function(){var e=function(){for(var e=0,n=0,i=c.length;n<i;++n)for(var a,o,u=c[n],s=1,l=u.length,f=u[0],h=f[0],d=f[1];s<l;++s)a=h,o=d,f=u[s],h=f[0],d=f[1],o<=r?d>r&&(h-a)*(r-o)>(d-o)*(t-a)&&++e:d<=r&&(h-a)*(r-o)<(d-o)*(t-a)&&--e;return e}(),n=v&&e,i=(s=B(s)).length;(n||i)&&(o.polygonStart(),n&&(o.lineStart(),a(null,null,1,o),o.lineEnd()),i&&sl(s,u,e,a,o),o.polygonEnd());b=o,s=c=l=null}};function w(t,e){i(t,e)&&b.point(t,e)}function k(a,o){var u=i(a,o);if(c&&l.push([a,o]),m)f=a,h=o,d=u,m=!1,u&&(b.lineStart(),b.point(a,o));else if(u&&y)b.point(a,o);else{var s=[p=Math.max(bl,Math.min(vl,p)),g=Math.max(bl,Math.min(vl,g))],_=[a=Math.max(bl,Math.min(vl,a)),o=Math.max(bl,Math.min(vl,o))];ml(s,_,t,e,n,r)?(y||(b.lineStart(),b.point(s[0],s[1])),b.point(_[0],_[1]),u||b.lineEnd(),v=!1):u&&(b.lineStart(),b.point(a,o),v=!1)}p=a,g=o,y=u}return x}}var xl,wl,kl,El=function(){var t,e,n,r=0,i=0,a=960,o=500;return n={stream:function(n){return t&&e===n?t:t=_l(r,i,a,o)(e=n)},extent:function(u){return arguments.length?(r=+u[0][0],i=+u[0][1],a=+u[1][0],o=+u[1][1],t=e=null,n):[[r,i],[a,o]]}}},Al=Ku(),Tl={sphere:Es,point:Es,lineStart:function(){Tl.point=Dl,Tl.lineEnd=Sl},lineEnd:Es,polygonStart:Es,polygonEnd:Es};function Sl(){Tl.point=Tl.lineEnd=Es}function Dl(t,e){xl=t*=ss,wl=ms(e*=ss),kl=hs(e),Tl.point=Ml}function Ml(t,e){t*=ss;var n=ms(e*=ss),r=hs(e),i=cs(t-xl),a=hs(i),o=r*ms(i),u=kl*n-wl*r*a,s=wl*n+kl*r*a;Al.add(fs(bs(o*o+u*u),s)),xl=t,wl=n,kl=r}var Cl=function(t){return Al.reset(),Fs(t,Tl),+Al},Ol=[null,null],Ll={type:"LineString",coordinates:Ol},Nl=function(t,e){return Ol[0]=t,Ol[1]=e,Cl(Ll)},Rl={Feature:function(t,e){return Pl(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r<i;)if(Pl(n[r].geometry,e))return!0;return!1}},Fl={Sphere:function(){return!0},Point:function(t,e){return Bl(t.coordinates,e)},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(Bl(n[r],e))return!0;return!1},LineString:function(t,e){return Il(t.coordinates,e)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(Il(n[r],e))return!0;return!1},Polygon:function(t,e){return ql(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(ql(n[r],e))return!0;return!1},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,i=n.length;++r<i;)if(Pl(n[r],e))return!0;return!1}};function Pl(t,e){return!(!t||!Fl.hasOwnProperty(t.type))&&Fl[t.type](t,e)}function Bl(t,e){return 0===Nl(t,e)}function Il(t,e){var n=Nl(t[0],t[1]);return Nl(t[0],e)+Nl(e,t[1])<=n+ns}function ql(t,e){return!!fl(t.map(Ul),jl(e))}function Ul(t){return(t=t.map(jl)).pop(),t}function jl(t){return[t[0]*ss,t[1]*ss]}var Yl=function(t,e){return(t&&Rl.hasOwnProperty(t.type)?Rl[t.type]:Pl)(t,e)};function zl(t,e,n){var r=w(t,e-ns,n).concat(e);return function(t){return r.map(function(e){return[t,e]})}}function Vl(t,e,n){var r=w(t,e-ns,n).concat(e);return function(t){return r.map(function(e){return[e,t]})}}function $l(){var t,e,n,r,i,a,o,u,s,c,l,f,h=10,d=h,p=90,g=360,y=2.5;function m(){return{type:"MultiLineString",coordinates:v()}}function v(){return w(ds(r/p)*p,n,p).map(l).concat(w(ds(u/g)*g,o,g).map(f)).concat(w(ds(e/h)*h,t,h).filter(function(t){return cs(t%p)>ns}).map(s)).concat(w(ds(a/d)*d,i,d).filter(function(t){return cs(t%g)>ns}).map(c))}return m.lines=function(){return v().map(function(t){return{type:"LineString",coordinates:t}})},m.outline=function(){return{type:"Polygon",coordinates:[l(r).concat(f(o).slice(1),l(n).reverse().slice(1),f(u).reverse().slice(1))]}},m.extent=function(t){return arguments.length?m.extentMajor(t).extentMinor(t):m.extentMinor()},m.extentMajor=function(t){return arguments.length?(r=+t[0][0],n=+t[1][0],u=+t[0][1],o=+t[1][1],r>n&&(t=r,r=n,n=t),u>o&&(t=u,u=o,o=t),m.precision(y)):[[r,u],[n,o]]},m.extentMinor=function(n){return arguments.length?(e=+n[0][0],t=+n[1][0],a=+n[0][1],i=+n[1][1],e>t&&(n=e,e=t,t=n),a>i&&(n=a,a=i,i=n),m.precision(y)):[[e,a],[t,i]]},m.step=function(t){return arguments.length?m.stepMajor(t).stepMinor(t):m.stepMinor()},m.stepMajor=function(t){return arguments.length?(p=+t[0],g=+t[1],m):[p,g]},m.stepMinor=function(t){return arguments.length?(h=+t[0],d=+t[1],m):[h,d]},m.precision=function(h){return arguments.length?(y=+h,s=zl(a,i,90),c=Vl(e,t,y),l=zl(u,o,90),f=Vl(r,n,y),m):y},m.extentMajor([[-180,-90+ns],[180,90-ns]]).extentMinor([[-180,-80-ns],[180,80+ns]])}function Hl(){return $l()()}var Gl,Wl,Zl,Xl,Jl=function(t,e){var n=t[0]*ss,r=t[1]*ss,i=e[0]*ss,a=e[1]*ss,o=hs(r),u=ms(r),s=hs(a),c=ms(a),l=o*hs(n),f=o*ms(n),h=s*hs(i),d=s*ms(i),p=2*ws(bs(ks(a-r)+o*s*ks(i-n))),g=ms(p),y=p?function(t){var e=ms(t*=p)/g,n=ms(p-t)/g,r=n*l+e*h,i=n*f+e*d,a=n*u+e*c;return[fs(i,r)*us,fs(a,bs(r*r+i*i))*us]}:function(){return[n*us,r*us]};return y.distance=p,y},Kl=function(t){return t},Ql=Ku(),tf=Ku(),ef={point:Es,lineStart:Es,lineEnd:Es,polygonStart:function(){ef.lineStart=nf,ef.lineEnd=of},polygonEnd:function(){ef.lineStart=ef.lineEnd=ef.point=Es,Ql.add(cs(tf)),tf.reset()},result:function(){var t=Ql/2;return Ql.reset(),t}};function nf(){ef.point=rf}function rf(t,e){ef.point=af,Gl=Zl=t,Wl=Xl=e}function af(t,e){tf.add(Xl*t-Zl*e),Zl=t,Xl=e}function of(){af(Gl,Wl)}var uf=ef,sf=1/0,cf=sf,lf=-sf,ff=lf;var hf,df,pf,gf,yf={point:function(t,e){t<sf&&(sf=t);t>lf&&(lf=t);e<cf&&(cf=e);e>ff&&(ff=e)},lineStart:Es,lineEnd:Es,polygonStart:Es,polygonEnd:Es,result:function(){var t=[[sf,cf],[lf,ff]];return lf=ff=-(cf=sf=1/0),t}},mf=0,vf=0,bf=0,_f=0,xf=0,wf=0,kf=0,Ef=0,Af=0,Tf={point:Sf,lineStart:Df,lineEnd:Of,polygonStart:function(){Tf.lineStart=Lf,Tf.lineEnd=Nf},polygonEnd:function(){Tf.point=Sf,Tf.lineStart=Df,Tf.lineEnd=Of},result:function(){var t=Af?[kf/Af,Ef/Af]:wf?[_f/wf,xf/wf]:bf?[mf/bf,vf/bf]:[NaN,NaN];return mf=vf=bf=_f=xf=wf=kf=Ef=Af=0,t}};function Sf(t,e){mf+=t,vf+=e,++bf}function Df(){Tf.point=Mf}function Mf(t,e){Tf.point=Cf,Sf(pf=t,gf=e)}function Cf(t,e){var n=t-pf,r=e-gf,i=bs(n*n+r*r);_f+=i*(pf+t)/2,xf+=i*(gf+e)/2,wf+=i,Sf(pf=t,gf=e)}function Of(){Tf.point=Sf}function Lf(){Tf.point=Rf}function Nf(){Ff(hf,df)}function Rf(t,e){Tf.point=Ff,Sf(hf=pf=t,df=gf=e)}function Ff(t,e){var n=t-pf,r=e-gf,i=bs(n*n+r*r);_f+=i*(pf+t)/2,xf+=i*(gf+e)/2,wf+=i,kf+=(i=gf*t-pf*e)*(pf+t),Ef+=i*(gf+e),Af+=3*i,Sf(pf=t,gf=e)}var Pf=Tf;function Bf(t){this._context=t}Bf.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._context.moveTo(t,e),this._point=1;break;case 1:this._context.lineTo(t,e);break;default:this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,os)}},result:Es};var If,qf,Uf,jf,Yf,zf=Ku(),Vf={point:Es,lineStart:function(){Vf.point=$f},lineEnd:function(){If&&Hf(qf,Uf),Vf.point=Es},polygonStart:function(){If=!0},polygonEnd:function(){If=null},result:function(){var t=+zf;return zf.reset(),t}};function $f(t,e){Vf.point=Hf,qf=jf=t,Uf=Yf=e}function Hf(t,e){jf-=t,Yf-=e,zf.add(bs(jf*jf+Yf*Yf)),jf=t,Yf=e}var Gf=Vf;function Wf(){this._string=[]}function Zf(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}Wf.prototype={_radius:4.5,_circle:Zf(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._string.push("M",t,",",e),this._point=1;break;case 1:this._string.push("L",t,",",e);break;default:null==this._circle&&(this._circle=Zf(this._radius)),this._string.push("M",t,",",e,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}};var Xf=function(t,e){var n,r,i=4.5;function a(t){return t&&("function"==typeof i&&r.pointRadius(+i.apply(this,arguments)),Fs(t,n(r))),r.result()}return a.area=function(t){return Fs(t,n(uf)),uf.result()},a.measure=function(t){return Fs(t,n(Gf)),Gf.result()},a.bounds=function(t){return Fs(t,n(yf)),yf.result()},a.centroid=function(t){return Fs(t,n(Pf)),Pf.result()},a.projection=function(e){return arguments.length?(n=null==e?(t=null,Kl):(t=e).stream,a):t},a.context=function(t){return arguments.length?(r=null==t?(e=null,new Wf):new Bf(e=t),"function"!=typeof i&&r.pointRadius(i),a):e},a.pointRadius=function(t){return arguments.length?(i="function"==typeof t?t:(r.pointRadius(+t),+t),a):i},a.projection(t).context(e)},Jf=function(t){return{stream:Kf(t)}};function Kf(t){return function(e){var n=new Qf;for(var r in t)n[r]=t[r];return n.stream=e,n}}function Qf(){}function th(t,e,n){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),Fs(n,t.stream(yf)),e(yf.result()),null!=r&&t.clipExtent(r),t}function eh(t,e,n){return th(t,function(n){var r=e[1][0]-e[0][0],i=e[1][1]-e[0][1],a=Math.min(r/(n[1][0]-n[0][0]),i/(n[1][1]-n[0][1])),o=+e[0][0]+(r-a*(n[1][0]+n[0][0]))/2,u=+e[0][1]+(i-a*(n[1][1]+n[0][1]))/2;t.scale(150*a).translate([o,u])},n)}function nh(t,e,n){return eh(t,[[0,0],e],n)}function rh(t,e,n){return th(t,function(n){var r=+e,i=r/(n[1][0]-n[0][0]),a=(r-i*(n[1][0]+n[0][0]))/2,o=-i*n[0][1];t.scale(150*i).translate([a,o])},n)}function ih(t,e,n){return th(t,function(n){var r=+e,i=r/(n[1][1]-n[0][1]),a=-i*n[0][0],o=(r-i*(n[1][1]+n[0][1]))/2;t.scale(150*i).translate([a,o])},n)}Qf.prototype={constructor:Qf,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var ah=16,oh=hs(30*ss),uh=function(t,e){return+e?function(t,e){function n(r,i,a,o,u,s,c,l,f,h,d,p,g,y){var m=c-r,v=l-i,b=m*m+v*v;if(b>4*e&&g--){var _=o+h,x=u+d,w=s+p,k=bs(_*_+x*x+w*w),E=ws(w/=k),A=cs(cs(w)-1)<ns||cs(a-f)<ns?(a+f)/2:fs(x,_),T=t(A,E),S=T[0],D=T[1],M=S-r,C=D-i,O=v*M-m*C;(O*O/b>e||cs((m*M+v*C)/b-.5)>.3||o*h+u*d+s*p<oh)&&(n(r,i,a,o,u,s,S,D,A,_/=k,x/=k,w,g,y),y.point(S,D),n(S,D,A,_,x,w,c,l,f,h,d,p,g,y))}}return function(e){var r,i,a,o,u,s,c,l,f,h,d,p,g={point:y,lineStart:m,lineEnd:b,polygonStart:function(){e.polygonStart(),g.lineStart=_},polygonEnd:function(){e.polygonEnd(),g.lineStart=m}};function y(n,r){n=t(n,r),e.point(n[0],n[1])}function m(){l=NaN,g.point=v,e.lineStart()}function v(r,i){var a=$s([r,i]),o=t(r,i);n(l,f,c,h,d,p,l=o[0],f=o[1],c=r,h=a[0],d=a[1],p=a[2],ah,e),e.point(l,f)}function b(){g.point=y,e.lineEnd()}function _(){m(),g.point=x,g.lineEnd=w}function x(t,e){v(r=t,e),i=l,a=f,o=h,u=d,s=p,g.point=v}function w(){n(l,f,c,h,d,p,i,a,r,o,u,s,ah,e),g.lineEnd=b,b()}return g}}(t,e):function(t){return Kf({point:function(e,n){e=t(e,n),this.stream.point(e[0],e[1])}})}(t)};var sh=Kf({point:function(t,e){this.stream.point(t*ss,e*ss)}});function ch(t,e,n,r){var i=hs(r),a=ms(r),o=i*t,u=a*t,s=i/t,c=a/t,l=(a*n-i*e)/t,f=(a*e+i*n)/t;function h(t,r){return[o*t-u*r+e,n-u*t-o*r]}return h.invert=function(t,e){return[s*t-c*e+l,f-c*t-s*e]},h}function lh(t){return fh(function(){return t})()}function fh(t){var e,n,r,i,a,o,u,s,c,l,f=150,h=480,d=250,p=0,g=0,y=0,m=0,v=0,b=0,_=null,x=gl,w=null,k=Kl,E=.5;function A(t){return s(t[0]*ss,t[1]*ss)}function T(t){return(t=s.invert(t[0],t[1]))&&[t[0]*us,t[1]*us]}function S(){var t=ch(f,0,0,b).apply(null,e(p,g)),r=(b?ch:function(t,e,n){function r(r,i){return[e+t*r,n-t*i]}return r.invert=function(r,i){return[(r-e)/t,(n-i)/t]},r})(f,h-t[0],d-t[1],b);return n=Jc(y,m,v),u=Zc(e,r),s=Zc(n,u),o=uh(u,E),D()}function D(){return c=l=null,A}return A.stream=function(t){return c&&l===t?c:c=sh(function(t){return Kf({point:function(e,n){var r=t(e,n);return this.stream.point(r[0],r[1])}})}(n)(x(o(k(l=t)))))},A.preclip=function(t){return arguments.length?(x=t,_=void 0,D()):x},A.postclip=function(t){return arguments.length?(k=t,w=r=i=a=null,D()):k},A.clipAngle=function(t){return arguments.length?(x=+t?yl(_=t*ss):(_=null,gl),D()):_*us},A.clipExtent=function(t){return arguments.length?(k=null==t?(w=r=i=a=null,Kl):_l(w=+t[0][0],r=+t[0][1],i=+t[1][0],a=+t[1][1]),D()):null==w?null:[[w,r],[i,a]]},A.scale=function(t){return arguments.length?(f=+t,S()):f},A.translate=function(t){return arguments.length?(h=+t[0],d=+t[1],S()):[h,d]},A.center=function(t){return arguments.length?(p=t[0]%360*ss,g=t[1]%360*ss,S()):[p*us,g*us]},A.rotate=function(t){return arguments.length?(y=t[0]%360*ss,m=t[1]%360*ss,v=t.length>2?t[2]%360*ss:0,S()):[y*us,m*us,v*us]},A.angle=function(t){return arguments.length?(b=t%360*ss,S()):b*us},A.precision=function(t){return arguments.length?(o=uh(u,E=t*t),D()):bs(E)},A.fitExtent=function(t,e){return eh(A,t,e)},A.fitSize=function(t,e){return nh(A,t,e)},A.fitWidth=function(t,e){return rh(A,t,e)},A.fitHeight=function(t,e){return ih(A,t,e)},function(){return e=t.apply(this,arguments),A.invert=e.invert&&T,S()}}function hh(t){var e=0,n=rs/3,r=fh(t),i=r(e,n);return i.parallels=function(t){return arguments.length?r(e=t[0]*ss,n=t[1]*ss):[e*us,n*us]},i}function dh(t,e){var n=ms(t),r=(n+ms(e))/2;if(cs(r)<ns)return function(t){var e=hs(t);function n(t,n){return[t*e,ms(n)/e]}return n.invert=function(t,n){return[t/e,ws(n*e)]},n}(t);var i=1+n*(2*r-n),a=bs(i)/r;function o(t,e){var n=bs(i-2*r*ms(e))/r;return[n*ms(t*=r),a-n*hs(t)]}return o.invert=function(t,e){var n=a-e;return[fs(t,cs(n))/r*vs(n),ws((i-(t*t+n*n)*r*r)/(2*r))]},o}var ph=function(){return hh(dh).scale(155.424).center([0,33.6442])},gh=function(){return ph().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])};var yh=function(){var t,e,n,r,i,a,o=gh(),u=ph().rotate([154,0]).center([-2,58.5]).parallels([55,65]),s=ph().rotate([157,0]).center([-3,19.9]).parallels([8,18]),c={point:function(t,e){a=[t,e]}};function l(t){var e=t[0],o=t[1];return a=null,n.point(e,o),a||(r.point(e,o),a)||(i.point(e,o),a)}function f(){return t=e=null,l}return l.invert=function(t){var e=o.scale(),n=o.translate(),r=(t[0]-n[0])/e,i=(t[1]-n[1])/e;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?u:i>=.166&&i<.234&&r>=-.214&&r<-.115?s:o).invert(t)},l.stream=function(n){return t&&e===n?t:(r=[o.stream(e=n),u.stream(n),s.stream(n)],i=r.length,t={point:function(t,e){for(var n=-1;++n<i;)r[n].point(t,e)},sphere:function(){for(var t=-1;++t<i;)r[t].sphere()},lineStart:function(){for(var t=-1;++t<i;)r[t].lineStart()},lineEnd:function(){for(var t=-1;++t<i;)r[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<i;)r[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<i;)r[t].polygonEnd()}});var r,i},l.precision=function(t){return arguments.length?(o.precision(t),u.precision(t),s.precision(t),f()):o.precision()},l.scale=function(t){return arguments.length?(o.scale(t),u.scale(.35*t),s.scale(t),l.translate(o.translate())):o.scale()},l.translate=function(t){if(!arguments.length)return o.translate();var e=o.scale(),a=+t[0],l=+t[1];return n=o.translate(t).clipExtent([[a-.455*e,l-.238*e],[a+.455*e,l+.238*e]]).stream(c),r=u.translate([a-.307*e,l+.201*e]).clipExtent([[a-.425*e+ns,l+.12*e+ns],[a-.214*e-ns,l+.234*e-ns]]).stream(c),i=s.translate([a-.205*e,l+.212*e]).clipExtent([[a-.214*e+ns,l+.166*e+ns],[a-.115*e-ns,l+.234*e-ns]]).stream(c),f()},l.fitExtent=function(t,e){return eh(l,t,e)},l.fitSize=function(t,e){return nh(l,t,e)},l.fitWidth=function(t,e){return rh(l,t,e)},l.fitHeight=function(t,e){return ih(l,t,e)},l.scale(1070)};function mh(t){return function(e,n){var r=hs(e),i=hs(n),a=t(r*i);return[a*i*ms(e),a*ms(n)]}}function vh(t){return function(e,n){var r=bs(e*e+n*n),i=t(r),a=ms(i),o=hs(i);return[fs(e*a,r*o),ws(r&&n*a/r)]}}var bh=mh(function(t){return bs(2/(1+t))});bh.invert=vh(function(t){return 2*ws(t/2)});var _h=function(){return lh(bh).scale(124.75).clipAngle(179.999)},xh=mh(function(t){return(t=xs(t))&&t/ms(t)});xh.invert=vh(function(t){return t});var wh=function(){return lh(xh).scale(79.4188).clipAngle(179.999)};function kh(t,e){return[t,gs(_s((is+e)/2))]}kh.invert=function(t,e){return[t,2*ls(ps(e))-is]};var Eh=function(){return Ah(kh).scale(961/os)};function Ah(t){var e,n,r,i=lh(t),a=i.center,o=i.scale,u=i.translate,s=i.clipExtent,c=null;function l(){var a=rs*o(),u=i(el(i.rotate()).invert([0,0]));return s(null==c?[[u[0]-a,u[1]-a],[u[0]+a,u[1]+a]]:t===kh?[[Math.max(u[0]-a,c),e],[Math.min(u[0]+a,n),r]]:[[c,Math.max(u[1]-a,e)],[n,Math.min(u[1]+a,r)]])}return i.scale=function(t){return arguments.length?(o(t),l()):o()},i.translate=function(t){return arguments.length?(u(t),l()):u()},i.center=function(t){return arguments.length?(a(t),l()):a()},i.clipExtent=function(t){return arguments.length?(null==t?c=e=n=r=null:(c=+t[0][0],e=+t[0][1],n=+t[1][0],r=+t[1][1]),l()):null==c?null:[[c,e],[n,r]]},l()}function Th(t){return _s((is+t)/2)}function Sh(t,e){var n=hs(t),r=t===e?ms(t):gs(n/hs(e))/gs(Th(e)/Th(t)),i=n*ys(Th(t),r)/r;if(!r)return kh;function a(t,e){i>0?e<-is+ns&&(e=-is+ns):e>is-ns&&(e=is-ns);var n=i/ys(Th(e),r);return[n*ms(r*t),i-n*hs(r*t)]}return a.invert=function(t,e){var n=i-e,a=vs(r)*bs(t*t+n*n);return[fs(t,cs(n))/r*vs(n),2*ls(ys(i/a,1/r))-is]},a}var Dh=function(){return hh(Sh).scale(109.5).parallels([30,30])};function Mh(t,e){return[t,e]}Mh.invert=Mh;var Ch=function(){return lh(Mh).scale(152.63)};function Oh(t,e){var n=hs(t),r=t===e?ms(t):(n-hs(e))/(e-t),i=n/r+t;if(cs(r)<ns)return Mh;function a(t,e){var n=i-e,a=r*t;return[n*ms(a),i-n*hs(a)]}return a.invert=function(t,e){var n=i-e;return[fs(t,cs(n))/r*vs(n),i-vs(r)*bs(t*t+n*n)]},a}var Lh=function(){return hh(Oh).scale(131.154).center([0,13.9389])},Nh=1.340264,Rh=-.081106,Fh=893e-6,Ph=.003796,Bh=bs(3)/2;function Ih(t,e){var n=ws(Bh*ms(e)),r=n*n,i=r*r*r;return[t*hs(n)/(Bh*(Nh+3*Rh*r+i*(7*Fh+9*Ph*r))),n*(Nh+Rh*r+i*(Fh+Ph*r))]}Ih.invert=function(t,e){for(var n,r=e,i=r*r,a=i*i*i,o=0;o<12&&(a=(i=(r-=n=(r*(Nh+Rh*i+a*(Fh+Ph*i))-e)/(Nh+3*Rh*i+a*(7*Fh+9*Ph*i)))*r)*i*i,!(cs(n)<1e-12));++o);return[Bh*t*(Nh+3*Rh*i+a*(7*Fh+9*Ph*i))/hs(r),ws(ms(r)/Bh)]};var qh=function(){return lh(Ih).scale(177.158)};function Uh(t,e){var n=hs(e),r=hs(t)*n;return[n*ms(t)/r,ms(e)/r]}Uh.invert=vh(ls);var jh=function(){return lh(Uh).scale(144.049).clipAngle(60)};function Yh(t,e,n,r){return 1===t&&1===e&&0===n&&0===r?Kl:Kf({point:function(i,a){this.stream.point(i*t+n,a*e+r)}})}var zh=function(){var t,e,n,r,i,a,o=1,u=0,s=0,c=1,l=1,f=Kl,h=null,d=Kl;function p(){return r=i=null,a}return a={stream:function(t){return r&&i===t?r:r=f(d(i=t))},postclip:function(r){return arguments.length?(d=r,h=t=e=n=null,p()):d},clipExtent:function(r){return arguments.length?(d=null==r?(h=t=e=n=null,Kl):_l(h=+r[0][0],t=+r[0][1],e=+r[1][0],n=+r[1][1]),p()):null==h?null:[[h,t],[e,n]]},scale:function(t){return arguments.length?(f=Yh((o=+t)*c,o*l,u,s),p()):o},translate:function(t){return arguments.length?(f=Yh(o*c,o*l,u=+t[0],s=+t[1]),p()):[u,s]},reflectX:function(t){return arguments.length?(f=Yh(o*(c=t?-1:1),o*l,u,s),p()):c<0},reflectY:function(t){return arguments.length?(f=Yh(o*c,o*(l=t?-1:1),u,s),p()):l<0},fitExtent:function(t,e){return eh(a,t,e)},fitSize:function(t,e){return nh(a,t,e)},fitWidth:function(t,e){return rh(a,t,e)},fitHeight:function(t,e){return ih(a,t,e)}}};function Vh(t,e){var n=e*e,r=n*n;return[t*(.8707-.131979*n+r*(r*(.003971*n-.001529*r)-.013791)),e*(1.007226+n*(.015085+r*(.028874*n-.044475-.005916*r)))]}Vh.invert=function(t,e){var n,r=e,i=25;do{var a=r*r,o=a*a;r-=n=(r*(1.007226+a*(.015085+o*(.028874*a-.044475-.005916*o)))-e)/(1.007226+a*(.045255+o*(.259866*a-.311325-.005916*11*o)))}while(cs(n)>ns&&--i>0);return[t/(.8707+(a=r*r)*(a*(a*a*a*(.003971-.001529*a)-.013791)-.131979)),r]};var $h=function(){return lh(Vh).scale(175.295)};function Hh(t,e){return[hs(e)*ms(t),ms(e)]}Hh.invert=vh(ws);var Gh=function(){return lh(Hh).scale(249.5).clipAngle(90+ns)};function Wh(t,e){var n=hs(e),r=1+hs(t)*n;return[n*ms(t)/r,ms(e)/r]}Wh.invert=vh(function(t){return 2*ls(t)});var Zh=function(){return lh(Wh).scale(250).clipAngle(142)};function Xh(t,e){return[gs(_s((is+e)/2)),-t]}Xh.invert=function(t,e){return[-e,2*ls(ps(t))-is]};var Jh=function(){var t=Ah(Xh),e=t.center,n=t.rotate;return t.center=function(t){return arguments.length?e([-t[1],t[0]]):[(t=e())[1],-t[0]]},t.rotate=function(t){return arguments.length?n([t[0],t[1],t.length>2?t[2]+90:90]):[(t=n())[0],t[1],t[2]-90]},n([0,0,90]).scale(159.155)};function Kh(t,e){return t.parent===e.parent?1:2}function Qh(t,e){return t+e.x}function td(t,e){return Math.max(t,e.y)}var ed=function(){var t=Kh,e=1,n=1,r=!1;function i(i){var a,o=0;i.eachAfter(function(e){var n=e.children;n?(e.x=function(t){return t.reduce(Qh,0)/t.length}(n),e.y=function(t){return 1+t.reduce(td,0)}(n)):(e.x=a?o+=t(e,a):0,e.y=0,a=e)});var u=function(t){for(var e;e=t.children;)t=e[0];return t}(i),s=function(t){for(var e;e=t.children;)t=e[e.length-1];return t}(i),c=u.x-t(u,s)/2,l=s.x+t(s,u)/2;return i.eachAfter(r?function(t){t.x=(t.x-i.x)*e,t.y=(i.y-t.y)*n}:function(t){t.x=(t.x-c)/(l-c)*e,t.y=(1-(i.y?t.y/i.y:1))*n})}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],i):r?null:[e,n]},i.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],i):r?[e,n]:null},i};function nd(t){var e=0,n=t.children,r=n&&n.length;if(r)for(;--r>=0;)e+=n[r].value;else e=1;t.value=e}function rd(t,e){var n,r,i,a,o,u=new ud(t),s=+t.value&&(u.value=t.value),c=[u];for(null==e&&(e=id);n=c.pop();)if(s&&(n.value=+n.data.value),(i=e(n.data))&&(o=i.length))for(n.children=new Array(o),a=o-1;a>=0;--a)c.push(r=n.children[a]=new ud(i[a])),r.parent=n,r.depth=n.depth+1;return u.eachBefore(od)}function id(t){return t.children}function ad(t){t.data=t.data.data}function od(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function ud(t){this.data=t,this.depth=this.height=0,this.parent=null}ud.prototype=rd.prototype={constructor:ud,count:function(){return this.eachAfter(nd)},each:function(t){var e,n,r,i,a=this,o=[a];do{for(e=o.reverse(),o=[];a=e.pop();)if(t(a),n=a.children)for(r=0,i=n.length;r<i;++r)o.push(n[r])}while(o.length);return this},eachAfter:function(t){for(var e,n,r,i=this,a=[i],o=[];i=a.pop();)if(o.push(i),e=i.children)for(n=0,r=e.length;n<r;++n)a.push(e[n]);for(;i=o.pop();)t(i);return this},eachBefore:function(t){for(var e,n,r=this,i=[r];r=i.pop();)if(t(r),e=r.children)for(n=e.length-1;n>=0;--n)i.push(e[n]);return this},sum:function(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n})},sort:function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;for(t=n.pop(),e=r.pop();t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)e=e.parent,r.push(e);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){var t=[];return this.each(function(e){t.push(e)}),t},leaves:function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t},links:function(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e},copy:function(){return rd(this).eachBefore(ad)}};var sd=Array.prototype.slice;var cd=function(t){for(var e,n,r=0,i=(t=function(t){for(var e,n,r=t.length;r;)n=Math.random()*r--|0,e=t[r],t[r]=t[n],t[n]=e;return t}(sd.call(t))).length,a=[];r<i;)e=t[r],n&&hd(n,e)?++r:(n=pd(a=ld(a,e)),r=0);return n};function ld(t,e){var n,r;if(dd(e,t))return[e];for(n=0;n<t.length;++n)if(fd(e,t[n])&&dd(gd(t[n],e),t))return[t[n],e];for(n=0;n<t.length-1;++n)for(r=n+1;r<t.length;++r)if(fd(gd(t[n],t[r]),e)&&fd(gd(t[n],e),t[r])&&fd(gd(t[r],e),t[n])&&dd(yd(t[n],t[r],e),t))return[t[n],t[r],e];throw new Error}function fd(t,e){var n=t.r-e.r,r=e.x-t.x,i=e.y-t.y;return n<0||n*n<r*r+i*i}function hd(t,e){var n=t.r-e.r+1e-6,r=e.x-t.x,i=e.y-t.y;return n>0&&n*n>r*r+i*i}function dd(t,e){for(var n=0;n<e.length;++n)if(!hd(t,e[n]))return!1;return!0}function pd(t){switch(t.length){case 1:return{x:(e=t[0]).x,y:e.y,r:e.r};case 2:return gd(t[0],t[1]);case 3:return yd(t[0],t[1],t[2])}var e}function gd(t,e){var n=t.x,r=t.y,i=t.r,a=e.x,o=e.y,u=e.r,s=a-n,c=o-r,l=u-i,f=Math.sqrt(s*s+c*c);return{x:(n+a+s/f*l)/2,y:(r+o+c/f*l)/2,r:(f+i+u)/2}}function yd(t,e,n){var r=t.x,i=t.y,a=t.r,o=e.x,u=e.y,s=e.r,c=n.x,l=n.y,f=n.r,h=r-o,d=r-c,p=i-u,g=i-l,y=s-a,m=f-a,v=r*r+i*i-a*a,b=v-o*o-u*u+s*s,_=v-c*c-l*l+f*f,x=d*p-h*g,w=(p*_-g*b)/(2*x)-r,k=(g*y-p*m)/x,E=(d*b-h*_)/(2*x)-i,A=(h*m-d*y)/x,T=k*k+A*A-1,S=2*(a+w*k+E*A),D=w*w+E*E-a*a,M=-(T?(S+Math.sqrt(S*S-4*T*D))/(2*T):D/S);return{x:r+w+k*M,y:i+E+A*M,r:M}}function md(t,e,n){var r,i,a,o,u=t.x-e.x,s=t.y-e.y,c=u*u+s*s;c?(i=e.r+n.r,i*=i,o=t.r+n.r,i>(o*=o)?(r=(c+o-i)/(2*c),a=Math.sqrt(Math.max(0,o/c-r*r)),n.x=t.x-r*u-a*s,n.y=t.y-r*s+a*u):(r=(c+i-o)/(2*c),a=Math.sqrt(Math.max(0,i/c-r*r)),n.x=e.x+r*u-a*s,n.y=e.y+r*s+a*u)):(n.x=e.x+n.r,n.y=e.y)}function vd(t,e){var n=t.r+e.r-1e-6,r=e.x-t.x,i=e.y-t.y;return n>0&&n*n>r*r+i*i}function bd(t){var e=t._,n=t.next._,r=e.r+n.r,i=(e.x*n.r+n.x*e.r)/r,a=(e.y*n.r+n.y*e.r)/r;return i*i+a*a}function _d(t){this._=t,this.next=null,this.previous=null}function xd(t){if(!(i=t.length))return 0;var e,n,r,i,a,o,u,s,c,l,f;if((e=t[0]).x=0,e.y=0,!(i>1))return e.r;if(n=t[1],e.x=-n.r,n.x=e.r,n.y=0,!(i>2))return e.r+n.r;md(n,e,r=t[2]),e=new _d(e),n=new _d(n),r=new _d(r),e.next=r.previous=n,n.next=e.previous=r,r.next=n.previous=e;t:for(u=3;u<i;++u){md(e._,n._,r=t[u]),r=new _d(r),s=n.next,c=e.previous,l=n._.r,f=e._.r;do{if(l<=f){if(vd(s._,r._)){n=s,e.next=n,n.previous=e,--u;continue t}l+=s._.r,s=s.next}else{if(vd(c._,r._)){(e=c).next=n,n.previous=e,--u;continue t}f+=c._.r,c=c.previous}}while(s!==c.next);for(r.previous=e,r.next=n,e.next=n.previous=n=r,a=bd(e);(r=r.next)!==n;)(o=bd(r))<a&&(e=r,a=o);n=e.next}for(e=[n._],r=n;(r=r.next)!==n;)e.push(r._);for(r=cd(e),u=0;u<i;++u)(e=t[u]).x-=r.x,e.y-=r.y;return r.r}var wd=function(t){return xd(t),t};function kd(t){if("function"!=typeof t)throw new Error;return t}function Ed(){return 0}var Ad=function(t){return function(){return t}};function Td(t){return Math.sqrt(t.value)}var Sd=function(){var t=null,e=1,n=1,r=Ed;function i(i){return i.x=e/2,i.y=n/2,t?i.eachBefore(Dd(t)).eachAfter(Md(r,.5)).eachBefore(Cd(1)):i.eachBefore(Dd(Td)).eachAfter(Md(Ed,1)).eachAfter(Md(r,i.r/Math.min(e,n))).eachBefore(Cd(Math.min(e,n)/(2*i.r))),i}return i.radius=function(e){return arguments.length?(t=null==(n=e)?null:kd(n),i):t;var n},i.size=function(t){return arguments.length?(e=+t[0],n=+t[1],i):[e,n]},i.padding=function(t){return arguments.length?(r="function"==typeof t?t:Ad(+t),i):r},i};function Dd(t){return function(e){e.children||(e.r=Math.max(0,+t(e)||0))}}function Md(t,e){return function(n){if(r=n.children){var r,i,a,o=r.length,u=t(n)*e||0;if(u)for(i=0;i<o;++i)r[i].r+=u;if(a=xd(r),u)for(i=0;i<o;++i)r[i].r-=u;n.r=a+u}}}function Cd(t){return function(e){var n=e.parent;e.r*=t,n&&(e.x=n.x+t*e.x,e.y=n.y+t*e.y)}}var Od=function(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)},Ld=function(t,e,n,r,i){for(var a,o=t.children,u=-1,s=o.length,c=t.value&&(r-e)/t.value;++u<s;)(a=o[u]).y0=n,a.y1=i,a.x0=e,a.x1=e+=a.value*c},Nd=function(){var t=1,e=1,n=0,r=!1;function i(i){var a=i.height+1;return i.x0=i.y0=n,i.x1=t,i.y1=e/a,i.eachBefore(function(t,e){return function(r){r.children&&Ld(r,r.x0,t*(r.depth+1)/e,r.x1,t*(r.depth+2)/e);var i=r.x0,a=r.y0,o=r.x1-n,u=r.y1-n;o<i&&(i=o=(i+o)/2),u<a&&(a=u=(a+u)/2),r.x0=i,r.y0=a,r.x1=o,r.y1=u}}(e,a)),r&&i.eachBefore(Od),i}return i.round=function(t){return arguments.length?(r=!!t,i):r},i.size=function(n){return arguments.length?(t=+n[0],e=+n[1],i):[t,e]},i.padding=function(t){return arguments.length?(n=+t,i):n},i},Rd="$",Fd={depth:-1},Pd={};function Bd(t){return t.id}function Id(t){return t.parentId}var qd=function(){var t=Bd,e=Id;function n(n){var r,i,a,o,u,s,c,l=n.length,f=new Array(l),h={};for(i=0;i<l;++i)r=n[i],u=f[i]=new ud(r),null!=(s=t(r,i,n))&&(s+="")&&(h[c=Rd+(u.id=s)]=c in h?Pd:u);for(i=0;i<l;++i)if(u=f[i],null!=(s=e(n[i],i,n))&&(s+="")){if(!(o=h[Rd+s]))throw new Error("missing: "+s);if(o===Pd)throw new Error("ambiguous: "+s);o.children?o.children.push(u):o.children=[u],u.parent=o}else{if(a)throw new Error("multiple roots");a=u}if(!a)throw new Error("no root");if(a.parent=Fd,a.eachBefore(function(t){t.depth=t.parent.depth+1,--l}).eachBefore(od),a.parent=null,l>0)throw new Error("cycle");return a}return n.id=function(e){return arguments.length?(t=kd(e),n):t},n.parentId=function(t){return arguments.length?(e=kd(t),n):e},n};function Ud(t,e){return t.parent===e.parent?1:2}function jd(t){var e=t.children;return e?e[0]:t.t}function Yd(t){var e=t.children;return e?e[e.length-1]:t.t}function zd(t,e,n){var r=n/(e.i-t.i);e.c-=r,e.s+=n,t.c+=r,e.z+=n,e.m+=n}function Vd(t,e,n){return t.a.parent===e.parent?t.a:n}function $d(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}$d.prototype=Object.create(ud.prototype);var Hd=function(){var t=Ud,e=1,n=1,r=null;function i(i){var s=function(t){for(var e,n,r,i,a,o=new $d(t,0),u=[o];e=u.pop();)if(r=e._.children)for(e.children=new Array(a=r.length),i=a-1;i>=0;--i)u.push(n=e.children[i]=new $d(r[i],i)),n.parent=e;return(o.parent=new $d(null,0)).children=[o],o}(i);if(s.eachAfter(a),s.parent.m=-s.z,s.eachBefore(o),r)i.eachBefore(u);else{var c=i,l=i,f=i;i.eachBefore(function(t){t.x<c.x&&(c=t),t.x>l.x&&(l=t),t.depth>f.depth&&(f=t)});var h=c===l?1:t(c,l)/2,d=h-c.x,p=e/(l.x+h+d),g=n/(f.depth||1);i.eachBefore(function(t){t.x=(t.x+d)*p,t.y=t.depth*g})}return i}function a(e){var n=e.children,r=e.parent.children,i=e.i?r[e.i-1]:null;if(n){!function(t){for(var e,n=0,r=0,i=t.children,a=i.length;--a>=0;)(e=i[a]).z+=n,e.m+=n,n+=e.s+(r+=e.c)}(e);var a=(n[0].z+n[n.length-1].z)/2;i?(e.z=i.z+t(e._,i._),e.m=e.z-a):e.z=a}else i&&(e.z=i.z+t(e._,i._));e.parent.A=function(e,n,r){if(n){for(var i,a=e,o=e,u=n,s=a.parent.children[0],c=a.m,l=o.m,f=u.m,h=s.m;u=Yd(u),a=jd(a),u&&a;)s=jd(s),(o=Yd(o)).a=e,(i=u.z+f-a.z-c+t(u._,a._))>0&&(zd(Vd(u,e,r),e,i),c+=i,l+=i),f+=u.m,c+=a.m,h+=s.m,l+=o.m;u&&!Yd(o)&&(o.t=u,o.m+=f-l),a&&!jd(s)&&(s.t=a,s.m+=c-h,r=e)}return r}(e,i,e.parent.A||r[0])}function o(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function u(t){t.x*=e,t.y=t.depth*n}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],i):r?null:[e,n]},i.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],i):r?[e,n]:null},i},Gd=function(t,e,n,r,i){for(var a,o=t.children,u=-1,s=o.length,c=t.value&&(i-n)/t.value;++u<s;)(a=o[u]).x0=e,a.x1=r,a.y0=n,a.y1=n+=a.value*c},Wd=(1+Math.sqrt(5))/2;function Zd(t,e,n,r,i,a){for(var o,u,s,c,l,f,h,d,p,g,y,m=[],v=e.children,b=0,_=0,x=v.length,w=e.value;b<x;){s=i-n,c=a-r;do{l=v[_++].value}while(!l&&_<x);for(f=h=l,y=l*l*(g=Math.max(c/s,s/c)/(w*t)),p=Math.max(h/y,y/f);_<x;++_){if(l+=u=v[_].value,u<f&&(f=u),u>h&&(h=u),y=l*l*g,(d=Math.max(h/y,y/f))>p){l-=u;break}p=d}m.push(o={value:l,dice:s<c,children:v.slice(b,_)}),o.dice?Ld(o,n,r,i,w?r+=c*l/w:a):Gd(o,n,r,w?n+=s*l/w:i,a),w-=l,b=_}return m}var Xd=function t(e){function n(t,n,r,i,a){Zd(e,t,n,r,i,a)}return n.ratio=function(e){return t((e=+e)>1?e:1)},n}(Wd),Jd=function(){var t=Xd,e=!1,n=1,r=1,i=[0],a=Ed,o=Ed,u=Ed,s=Ed,c=Ed;function l(t){return t.x0=t.y0=0,t.x1=n,t.y1=r,t.eachBefore(f),i=[0],e&&t.eachBefore(Od),t}function f(e){var n=i[e.depth],r=e.x0+n,l=e.y0+n,f=e.x1-n,h=e.y1-n;f<r&&(r=f=(r+f)/2),h<l&&(l=h=(l+h)/2),e.x0=r,e.y0=l,e.x1=f,e.y1=h,e.children&&(n=i[e.depth+1]=a(e)/2,r+=c(e)-n,l+=o(e)-n,(f-=u(e)-n)<r&&(r=f=(r+f)/2),(h-=s(e)-n)<l&&(l=h=(l+h)/2),t(e,r,l,f,h))}return l.round=function(t){return arguments.length?(e=!!t,l):e},l.size=function(t){return arguments.length?(n=+t[0],r=+t[1],l):[n,r]},l.tile=function(e){return arguments.length?(t=kd(e),l):t},l.padding=function(t){return arguments.length?l.paddingInner(t).paddingOuter(t):l.paddingInner()},l.paddingInner=function(t){return arguments.length?(a="function"==typeof t?t:Ad(+t),l):a},l.paddingOuter=function(t){return arguments.length?l.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):l.paddingTop()},l.paddingTop=function(t){return arguments.length?(o="function"==typeof t?t:Ad(+t),l):o},l.paddingRight=function(t){return arguments.length?(u="function"==typeof t?t:Ad(+t),l):u},l.paddingBottom=function(t){return arguments.length?(s="function"==typeof t?t:Ad(+t),l):s},l.paddingLeft=function(t){return arguments.length?(c="function"==typeof t?t:Ad(+t),l):c},l},Kd=function(t,e,n,r,i){var a,o,u=t.children,s=u.length,c=new Array(s+1);for(c[0]=o=a=0;a<s;++a)c[a+1]=o+=u[a].value;!function t(e,n,r,i,a,o,s){if(e>=n-1){var l=u[e];return l.x0=i,l.y0=a,l.x1=o,void(l.y1=s)}var f=c[e],h=r/2+f,d=e+1,p=n-1;for(;d<p;){var g=d+p>>>1;c[g]<h?d=g+1:p=g}h-c[d-1]<c[d]-h&&e+1<d&&--d;var y=c[d]-f,m=r-y;if(o-i>s-a){var v=(i*m+o*y)/r;t(e,d,y,i,a,v,s),t(d,n,m,v,a,o,s)}else{var b=(a*m+s*y)/r;t(e,d,y,i,a,o,b),t(d,n,m,i,b,o,s)}}(0,s,t.value,e,n,r,i)},Qd=function(t,e,n,r,i){(1&t.depth?Gd:Ld)(t,e,n,r,i)},tp=function t(e){function n(t,n,r,i,a){if((o=t._squarify)&&o.ratio===e)for(var o,u,s,c,l,f=-1,h=o.length,d=t.value;++f<h;){for(s=(u=o[f]).children,c=u.value=0,l=s.length;c<l;++c)u.value+=s[c].value;u.dice?Ld(u,n,r,i,r+=(a-r)*u.value/d):Gd(u,n,r,n+=(i-n)*u.value/d,a),d-=u.value}else t._squarify=o=Zd(e,t,n,r,i,a),o.ratio=e}return n.ratio=function(e){return t((e=+e)>1?e:1)},n}(Wd),ep=function(t){for(var e,n=-1,r=t.length,i=t[r-1],a=0;++n<r;)e=i,i=t[n],a+=e[1]*i[0]-e[0]*i[1];return a/2},np=function(t){for(var e,n,r=-1,i=t.length,a=0,o=0,u=t[i-1],s=0;++r<i;)e=u,u=t[r],s+=n=e[0]*u[1]-u[0]*e[1],a+=(e[0]+u[0])*n,o+=(e[1]+u[1])*n;return[a/(s*=3),o/s]},rp=function(t,e,n){return(e[0]-t[0])*(n[1]-t[1])-(e[1]-t[1])*(n[0]-t[0])};function ip(t,e){return t[0]-e[0]||t[1]-e[1]}function ap(t){for(var e=t.length,n=[0,1],r=2,i=2;i<e;++i){for(;r>1&&rp(t[n[r-2]],t[n[r-1]],t[i])<=0;)--r;n[r++]=i}return n.slice(0,r)}var op=function(t){if((n=t.length)<3)return null;var e,n,r=new Array(n),i=new Array(n);for(e=0;e<n;++e)r[e]=[+t[e][0],+t[e][1],e];for(r.sort(ip),e=0;e<n;++e)i[e]=[r[e][0],-r[e][1]];var a=ap(r),o=ap(i),u=o[0]===a[0],s=o[o.length-1]===a[a.length-1],c=[];for(e=a.length-1;e>=0;--e)c.push(t[r[a[e]][2]]);for(e=+u;e<o.length-s;++e)c.push(t[r[o[e]][2]]);return c},up=function(t,e){for(var n,r,i=t.length,a=t[i-1],o=e[0],u=e[1],s=a[0],c=a[1],l=!1,f=0;f<i;++f)n=(a=t[f])[0],(r=a[1])>u!=c>u&&o<(s-n)*(u-r)/(c-r)+n&&(l=!l),s=n,c=r;return l},sp=function(t){for(var e,n,r=-1,i=t.length,a=t[i-1],o=a[0],u=a[1],s=0;++r<i;)e=o,n=u,e-=o=(a=t[r])[0],n-=u=a[1],s+=Math.sqrt(e*e+n*n);return s},cp=function(){return Math.random()},lp=function t(e){function n(t,n){return t=null==t?0:+t,n=null==n?1:+n,1===arguments.length?(n=t,t=0):n-=t,function(){return e()*n+t}}return n.source=t,n}(cp),fp=function t(e){function n(t,n){var r,i;return t=null==t?0:+t,n=null==n?1:+n,function(){var a;if(null!=r)a=r,r=null;else do{r=2*e()-1,a=2*e()-1,i=r*r+a*a}while(!i||i>1);return t+n*a*Math.sqrt(-2*Math.log(i)/i)}}return n.source=t,n}(cp),hp=function t(e){function n(){var t=fp.source(e).apply(this,arguments);return function(){return Math.exp(t())}}return n.source=t,n}(cp),dp=function t(e){function n(t){return function(){for(var n=0,r=0;r<t;++r)n+=e();return n}}return n.source=t,n}(cp),pp=function t(e){function n(t){var n=dp.source(e)(t);return function(){return n()/t}}return n.source=t,n}(cp),gp=function t(e){function n(t){return function(){return-Math.log(1-e())/t}}return n.source=t,n}(cp),yp=Array.prototype,mp=yp.map,vp=yp.slice,bp={name:"implicit"};function _p(t){var e=Ja(),n=[],r=bp;function i(i){var a=i+"",o=e.get(a);if(!o){if(r!==bp)return r;e.set(a,o=n.push(i))}return t[(o-1)%t.length]}return t=null==t?[]:vp.call(t),i.domain=function(t){if(!arguments.length)return n.slice();n=[],e=Ja();for(var r,a,o=-1,u=t.length;++o<u;)e.has(a=(r=t[o])+"")||e.set(a,n.push(r));return i},i.range=function(e){return arguments.length?(t=vp.call(e),i):t.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return _p().domain(n).range(t).unknown(r)},i}function xp(){var t,e,n=_p().unknown(void 0),r=n.domain,i=n.range,a=[0,1],o=!1,u=0,s=0,c=.5;function l(){var n=r().length,l=a[1]<a[0],f=a[l-0],h=a[1-l];t=(h-f)/Math.max(1,n-u+2*s),o&&(t=Math.floor(t)),f+=(h-f-t*(n-u))*c,e=t*(1-u),o&&(f=Math.round(f),e=Math.round(e));var d=w(n).map(function(e){return f+t*e});return i(l?d.reverse():d)}return delete n.unknown,n.domain=function(t){return arguments.length?(r(t),l()):r()},n.range=function(t){return arguments.length?(a=[+t[0],+t[1]],l()):a.slice()},n.rangeRound=function(t){return a=[+t[0],+t[1]],o=!0,l()},n.bandwidth=function(){return e},n.step=function(){return t},n.round=function(t){return arguments.length?(o=!!t,l()):o},n.padding=function(t){return arguments.length?(u=s=Math.max(0,Math.min(1,t)),l()):u},n.paddingInner=function(t){return arguments.length?(u=Math.max(0,Math.min(1,t)),l()):u},n.paddingOuter=function(t){return arguments.length?(s=Math.max(0,Math.min(1,t)),l()):s},n.align=function(t){return arguments.length?(c=Math.max(0,Math.min(1,t)),l()):c},n.copy=function(){return xp().domain(r()).range(a).round(o).paddingInner(u).paddingOuter(s).align(c)},l()}function wp(){return function t(e){var n=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return t(n())},e}(xp().paddingInner(1))}var kp=function(t){return function(){return t}},Ep=function(t){return+t},Ap=[0,1];function Tp(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:kp(e)}function Sp(t,e,n,r){var i=t[0],a=t[1],o=e[0],u=e[1];return a<i?(i=n(a,i),o=r(u,o)):(i=n(i,a),o=r(o,u)),function(t){return o(i(t))}}function Dp(t,e,n,r){var i=Math.min(t.length,e.length)-1,a=new Array(i),o=new Array(i),u=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++u<i;)a[u]=n(t[u],t[u+1]),o[u]=r(e[u],e[u+1]);return function(e){var n=s(t,e,1,i)-1;return o[n](a[n](e))}}function Mp(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp())}function Cp(t,e){var n,r,i,a=Ap,o=Ap,u=Jn,s=!1;function c(){return n=Math.min(a.length,o.length)>2?Dp:Sp,r=i=null,l}function l(e){return(r||(r=n(a,o,s?function(t){return function(e,n){var r=t(e=+e,n=+n);return function(t){return t<=e?0:t>=n?1:r(t)}}}(t):t,u)))(+e)}return l.invert=function(t){return(i||(i=n(o,a,Tp,s?function(t){return function(e,n){var r=t(e=+e,n=+n);return function(t){return t<=0?e:t>=1?n:r(t)}}}(e):e)))(+t)},l.domain=function(t){return arguments.length?(a=mp.call(t,Ep),c()):a.slice()},l.range=function(t){return arguments.length?(o=vp.call(t),c()):o.slice()},l.rangeRound=function(t){return o=vp.call(t),u=tr,c()},l.clamp=function(t){return arguments.length?(s=!!t,c()):s},l.interpolate=function(t){return arguments.length?(u=t,c()):u},c()}var Op=function(t,e,n){var r,i=t[0],a=t[t.length-1],o=D(i,a,null==e?10:e);switch((n=Pu(null==n?",f":n)).type){case"s":var u=Math.max(Math.abs(i),Math.abs(a));return null!=n.precision||isNaN(r=Xu(o,u))||(n.precision=r),ju(n,u);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(r=Ju(o,Math.max(Math.abs(i),Math.abs(a))))||(n.precision=r-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(r=Zu(o))||(n.precision=r-2*("%"===n.type))}return Uu(n)};function Lp(t){var e=t.domain;return t.ticks=function(t){var n=e();return T(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){return Op(e(),t,n)},t.nice=function(n){null==n&&(n=10);var r,i=e(),a=0,o=i.length-1,u=i[a],s=i[o];return s<u&&(r=u,u=s,s=r,r=a,a=o,o=r),(r=S(u,s,n))>0?r=S(u=Math.floor(u/r)*r,s=Math.ceil(s/r)*r,n):r<0&&(r=S(u=Math.ceil(u*r)/r,s=Math.floor(s*r)/r,n)),r>0?(i[a]=Math.floor(u/r)*r,i[o]=Math.ceil(s/r)*r,e(i)):r<0&&(i[a]=Math.ceil(u*r)/r,i[o]=Math.floor(s*r)/r,e(i)),t},t}function Np(){var t=Cp(Tp,Yn);return t.copy=function(){return Mp(t,Np())},Lp(t)}function Rp(){var t=[0,1];function e(t){return+t}return e.invert=e,e.domain=e.range=function(n){return arguments.length?(t=mp.call(n,Ep),e):t.slice()},e.copy=function(){return Rp().domain(t)},Lp(e)}var Fp=function(t,e){var n,r=0,i=(t=t.slice()).length-1,a=t[r],o=t[i];return o<a&&(n=r,r=i,i=n,n=a,a=o,o=n),t[r]=e.floor(a),t[i]=e.ceil(o),t};function Pp(t,e){return(e=Math.log(e/t))?function(n){return Math.log(n/t)/e}:kp(e)}function Bp(t,e){return t<0?function(n){return-Math.pow(-e,n)*Math.pow(-t,1-n)}:function(n){return Math.pow(e,n)*Math.pow(t,1-n)}}function Ip(t){return isFinite(t)?+("1e"+t):t<0?0:t}function qp(t){return 10===t?Ip:t===Math.E?Math.exp:function(e){return Math.pow(t,e)}}function Up(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(e){return Math.log(e)/t})}function jp(t){return function(e){return-t(-e)}}function Yp(){var t=Cp(Pp,Bp).domain([1,10]),e=t.domain,n=10,r=Up(10),i=qp(10);function a(){return r=Up(n),i=qp(n),e()[0]<0&&(r=jp(r),i=jp(i)),t}return t.base=function(t){return arguments.length?(n=+t,a()):n},t.domain=function(t){return arguments.length?(e(t),a()):e()},t.ticks=function(t){var a,o=e(),u=o[0],s=o[o.length-1];(a=s<u)&&(h=u,u=s,s=h);var c,l,f,h=r(u),d=r(s),p=null==t?10:+t,g=[];if(!(n%1)&&d-h<p){if(h=Math.round(h)-1,d=Math.round(d)+1,u>0){for(;h<d;++h)for(l=1,c=i(h);l<n;++l)if(!((f=c*l)<u)){if(f>s)break;g.push(f)}}else for(;h<d;++h)for(l=n-1,c=i(h);l>=1;--l)if(!((f=c*l)<u)){if(f>s)break;g.push(f)}}else g=T(h,d,Math.min(d-h,p)).map(i);return a?g.reverse():g},t.tickFormat=function(e,a){if(null==a&&(a=10===n?".0e":","),"function"!=typeof a&&(a=Uu(a)),e===1/0)return a;null==e&&(e=10);var o=Math.max(1,n*e/t.ticks().length);return function(t){var e=t/i(Math.round(r(t)));return e*n<n-.5&&(e*=n),e<=o?a(t):""}},t.nice=function(){return e(Fp(e(),{floor:function(t){return i(Math.floor(r(t)))},ceil:function(t){return i(Math.ceil(r(t)))}}))},t.copy=function(){return Mp(t,Yp().base(n))},t}function zp(t,e){return t<0?-Math.pow(-t,e):Math.pow(t,e)}function Vp(){var t=1,e=Cp(function(e,n){return(n=zp(n,t)-(e=zp(e,t)))?function(r){return(zp(r,t)-e)/n}:kp(n)},function(e,n){return n=zp(n,t)-(e=zp(e,t)),function(r){return zp(e+n*r,1/t)}}),n=e.domain;return e.exponent=function(e){return arguments.length?(t=+e,n(n())):t},e.copy=function(){return Mp(e,Vp().exponent(t))},Lp(e)}function $p(){return Vp().exponent(.5)}function Hp(){var t=[],e=[],n=[];function i(){var r=0,i=Math.max(1,e.length);for(n=new Array(i-1);++r<i;)n[r-1]=O(t,r/i);return a}function a(t){if(!isNaN(t=+t))return e[s(n,t)]}return a.invertExtent=function(r){var i=e.indexOf(r);return i<0?[NaN,NaN]:[i>0?n[i-1]:t[0],i<n.length?n[i]:t[t.length-1]]},a.domain=function(e){if(!arguments.length)return t.slice();t=[];for(var n,a=0,o=e.length;a<o;++a)null==(n=e[a])||isNaN(n=+n)||t.push(n);return t.sort(r),i()},a.range=function(t){return arguments.length?(e=vp.call(t),i()):e.slice()},a.quantiles=function(){return n.slice()},a.copy=function(){return Hp().domain(t).range(e)},a}function Gp(){var t=0,e=1,n=1,r=[.5],i=[0,1];function a(t){if(t<=t)return i[s(r,t,0,n)]}function o(){var i=-1;for(r=new Array(n);++i<n;)r[i]=((i+1)*e-(i-n)*t)/(n+1);return a}return a.domain=function(n){return arguments.length?(t=+n[0],e=+n[1],o()):[t,e]},a.range=function(t){return arguments.length?(n=(i=vp.call(t)).length-1,o()):i.slice()},a.invertExtent=function(a){var o=i.indexOf(a);return o<0?[NaN,NaN]:o<1?[t,r[0]]:o>=n?[r[n-1],e]:[r[o-1],r[o]]},a.copy=function(){return Gp().domain([t,e]).range(i)},Lp(a)}function Wp(){var t=[.5],e=[0,1],n=1;function r(r){if(r<=r)return e[s(t,r,0,n)]}return r.domain=function(i){return arguments.length?(t=vp.call(i),n=Math.min(t.length,e.length-1),r):t.slice()},r.range=function(i){return arguments.length?(e=vp.call(i),n=Math.min(t.length,e.length-1),r):e.slice()},r.invertExtent=function(n){var r=e.indexOf(n);return[t[r-1],t[r]]},r.copy=function(){return Wp().domain(t).range(e)},r}var Zp=new Date,Xp=new Date;function Jp(t,e,n,r){function i(e){return t(e=new Date(+e)),e}return i.floor=i,i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e<n-t?e:n},i.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},i.range=function(n,r,a){var o,u=[];if(n=i.ceil(n),a=null==a?1:Math.floor(a),!(n<r&&a>0))return u;do{u.push(o=new Date(+n)),e(n,a),t(n)}while(o<n&&n<r);return u},i.filter=function(n){return Jp(function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)},function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););})},n&&(i.count=function(e,r){return Zp.setTime(+e),Xp.setTime(+r),t(Zp),t(Xp),Math.floor(n(Zp,Xp))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}var Kp=Jp(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});Kp.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Jp(function(e){e.setTime(Math.floor(e/t)*t)},function(e,n){e.setTime(+e+n*t)},function(e,n){return(n-e)/t}):Kp:null};var Qp=Kp,tg=Kp.range,eg=6e4,ng=6048e5,rg=Jp(function(t){t.setTime(1e3*Math.floor(t/1e3))},function(t,e){t.setTime(+t+1e3*e)},function(t,e){return(e-t)/1e3},function(t){return t.getUTCSeconds()}),ig=rg,ag=rg.range,og=Jp(function(t){t.setTime(Math.floor(t/eg)*eg)},function(t,e){t.setTime(+t+e*eg)},function(t,e){return(e-t)/eg},function(t){return t.getMinutes()}),ug=og,sg=og.range,cg=Jp(function(t){var e=t.getTimezoneOffset()*eg%36e5;e<0&&(e+=36e5),t.setTime(36e5*Math.floor((+t-e)/36e5)+e)},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getHours()}),lg=cg,fg=cg.range,hg=Jp(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())*eg)/864e5},function(t){return t.getDate()-1}),dg=hg,pg=hg.range;function gg(t){return Jp(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*eg)/ng})}var yg=gg(0),mg=gg(1),vg=gg(2),bg=gg(3),_g=gg(4),xg=gg(5),wg=gg(6),kg=yg.range,Eg=mg.range,Ag=vg.range,Tg=bg.range,Sg=_g.range,Dg=xg.range,Mg=wg.range,Cg=Jp(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()}),Og=Cg,Lg=Cg.range,Ng=Jp(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()});Ng.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Jp(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n*t)}):null};var Rg=Ng,Fg=Ng.range,Pg=Jp(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+e*eg)},function(t,e){return(e-t)/eg},function(t){return t.getUTCMinutes()}),Bg=Pg,Ig=Pg.range,qg=Jp(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getUTCHours()}),Ug=qg,jg=qg.range,Yg=Jp(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/864e5},function(t){return t.getUTCDate()-1}),zg=Yg,Vg=Yg.range;function $g(t){return Jp(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/ng})}var Hg=$g(0),Gg=$g(1),Wg=$g(2),Zg=$g(3),Xg=$g(4),Jg=$g(5),Kg=$g(6),Qg=Hg.range,ty=Gg.range,ey=Wg.range,ny=Zg.range,ry=Xg.range,iy=Jg.range,ay=Kg.range,oy=Jp(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()}),uy=oy,sy=oy.range,cy=Jp(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()});cy.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Jp(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null};var ly=cy,fy=cy.range;function hy(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 dy(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 py(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}function gy(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,a=t.days,o=t.shortDays,u=t.months,s=t.shortMonths,c=Sy(i),l=Dy(i),f=Sy(a),h=Dy(a),d=Sy(o),p=Dy(o),g=Sy(u),y=Dy(u),m=Sy(s),v=Dy(s),b={a:function(t){return o[t.getDay()]},A:function(t){return a[t.getDay()]},b:function(t){return s[t.getMonth()]},B:function(t){return u[t.getMonth()]},c:null,d:Wy,e:Wy,f:Qy,H:Zy,I:Xy,j:Jy,L:Ky,m:tm,M:em,p:function(t){return i[+(t.getHours()>=12)]},Q:Mm,s:Cm,S:nm,u:rm,U:im,V:am,w:om,W:um,x:null,X:null,y:sm,Y:cm,Z:lm,"%":Dm},_={a:function(t){return o[t.getUTCDay()]},A:function(t){return a[t.getUTCDay()]},b:function(t){return s[t.getUTCMonth()]},B:function(t){return u[t.getUTCMonth()]},c:null,d:fm,e:fm,f:ym,H:hm,I:dm,j:pm,L:gm,m:mm,M:vm,p:function(t){return i[+(t.getUTCHours()>=12)]},Q:Mm,s:Cm,S:bm,u:_m,U:xm,V:wm,w:km,W:Em,x:null,X:null,y:Am,Y:Tm,Z:Sm,"%":Dm},x={a:function(t,e,n){var r=d.exec(e.slice(n));return r?(t.w=p[r[0].toLowerCase()],n+r[0].length):-1},A:function(t,e,n){var r=f.exec(e.slice(n));return r?(t.w=h[r[0].toLowerCase()],n+r[0].length):-1},b:function(t,e,n){var r=m.exec(e.slice(n));return r?(t.m=v[r[0].toLowerCase()],n+r[0].length):-1},B:function(t,e,n){var r=g.exec(e.slice(n));return r?(t.m=y[r[0].toLowerCase()],n+r[0].length):-1},c:function(t,n,r){return E(t,e,n,r)},d:Iy,e:Iy,f:Vy,H:Uy,I:Uy,j:qy,L:zy,m:By,M:jy,p:function(t,e,n){var r=c.exec(e.slice(n));return r?(t.p=l[r[0].toLowerCase()],n+r[0].length):-1},Q:Hy,s:Gy,S:Yy,u:Cy,U:Oy,V:Ly,w:My,W:Ny,x:function(t,e,r){return E(t,n,e,r)},X:function(t,e,n){return E(t,r,e,n)},y:Fy,Y:Ry,Z:Py,"%":$y};function w(t,e){return function(n){var r,i,a,o=[],u=-1,s=0,c=t.length;for(n instanceof Date||(n=new Date(+n));++u<c;)37===t.charCodeAt(u)&&(o.push(t.slice(s,u)),null!=(i=xy[r=t.charAt(++u)])?r=t.charAt(++u):i="e"===r?" ":"0",(a=e[r])&&(r=a(n,i)),o.push(r),s=u+1);return o.push(t.slice(s,u)),o.join("")}}function k(t,e){return function(n){var r,i,a=py(1900);if(E(a,t,n+="",0)!=n.length)return null;if("Q"in a)return new Date(a.Q);if("p"in a&&(a.H=a.H%12+12*a.p),"V"in a){if(a.V<1||a.V>53)return null;"w"in a||(a.w=1),"Z"in a?(i=(r=dy(py(a.y))).getUTCDay(),r=i>4||0===i?Gg.ceil(r):Gg(r),r=zg.offset(r,7*(a.V-1)),a.y=r.getUTCFullYear(),a.m=r.getUTCMonth(),a.d=r.getUTCDate()+(a.w+6)%7):(i=(r=e(py(a.y))).getDay(),r=i>4||0===i?mg.ceil(r):mg(r),r=dg.offset(r,7*(a.V-1)),a.y=r.getFullYear(),a.m=r.getMonth(),a.d=r.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),i="Z"in a?dy(py(a.y)).getUTCDay():e(py(a.y)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(i+5)%7:a.w+7*a.U-(i+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,dy(a)):e(a)}}function E(t,e,n,r){for(var i,a,o=0,u=e.length,s=n.length;o<u;){if(r>=s)return-1;if(37===(i=e.charCodeAt(o++))){if(i=e.charAt(o++),!(a=x[i in xy?e.charAt(o++):i])||(r=a(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return b.x=w(n,b),b.X=w(r,b),b.c=w(e,b),_.x=w(n,_),_.X=w(r,_),_.c=w(e,_),{format:function(t){var e=w(t+="",b);return e.toString=function(){return t},e},parse:function(t){var e=k(t+="",hy);return e.toString=function(){return t},e},utcFormat:function(t){var e=w(t+="",_);return e.toString=function(){return t},e},utcParse:function(t){var e=k(t,dy);return e.toString=function(){return t},e}}}var yy,my,vy,by,_y,xy={"-":"",_:" ",0:"0"},wy=/^\s*\d+/,ky=/^%/,Ey=/[\\^$*+?|[\]().{}]/g;function Ay(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 Ty(t){return t.replace(Ey,"\\$&")}function Sy(t){return new RegExp("^(?:"+t.map(Ty).join("|")+")","i")}function Dy(t){for(var e={},n=-1,r=t.length;++n<r;)e[t[n].toLowerCase()]=n;return e}function My(t,e,n){var r=wy.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function Cy(t,e,n){var r=wy.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function Oy(t,e,n){var r=wy.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function Ly(t,e,n){var r=wy.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function Ny(t,e,n){var r=wy.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function Ry(t,e,n){var r=wy.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function Fy(t,e,n){var r=wy.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Py(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 By(t,e,n){var r=wy.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function Iy(t,e,n){var r=wy.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function qy(t,e,n){var r=wy.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function Uy(t,e,n){var r=wy.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function jy(t,e,n){var r=wy.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Yy(t,e,n){var r=wy.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function zy(t,e,n){var r=wy.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Vy(t,e,n){var r=wy.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function $y(t,e,n){var r=ky.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function Hy(t,e,n){var r=wy.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function Gy(t,e,n){var r=wy.exec(e.slice(n));return r?(t.Q=1e3*+r[0],n+r[0].length):-1}function Wy(t,e){return Ay(t.getDate(),e,2)}function Zy(t,e){return Ay(t.getHours(),e,2)}function Xy(t,e){return Ay(t.getHours()%12||12,e,2)}function Jy(t,e){return Ay(1+dg.count(Rg(t),t),e,3)}function Ky(t,e){return Ay(t.getMilliseconds(),e,3)}function Qy(t,e){return Ky(t,e)+"000"}function tm(t,e){return Ay(t.getMonth()+1,e,2)}function em(t,e){return Ay(t.getMinutes(),e,2)}function nm(t,e){return Ay(t.getSeconds(),e,2)}function rm(t){var e=t.getDay();return 0===e?7:e}function im(t,e){return Ay(yg.count(Rg(t),t),e,2)}function am(t,e){var n=t.getDay();return t=n>=4||0===n?_g(t):_g.ceil(t),Ay(_g.count(Rg(t),t)+(4===Rg(t).getDay()),e,2)}function om(t){return t.getDay()}function um(t,e){return Ay(mg.count(Rg(t),t),e,2)}function sm(t,e){return Ay(t.getFullYear()%100,e,2)}function cm(t,e){return Ay(t.getFullYear()%1e4,e,4)}function lm(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Ay(e/60|0,"0",2)+Ay(e%60,"0",2)}function fm(t,e){return Ay(t.getUTCDate(),e,2)}function hm(t,e){return Ay(t.getUTCHours(),e,2)}function dm(t,e){return Ay(t.getUTCHours()%12||12,e,2)}function pm(t,e){return Ay(1+zg.count(ly(t),t),e,3)}function gm(t,e){return Ay(t.getUTCMilliseconds(),e,3)}function ym(t,e){return gm(t,e)+"000"}function mm(t,e){return Ay(t.getUTCMonth()+1,e,2)}function vm(t,e){return Ay(t.getUTCMinutes(),e,2)}function bm(t,e){return Ay(t.getUTCSeconds(),e,2)}function _m(t){var e=t.getUTCDay();return 0===e?7:e}function xm(t,e){return Ay(Hg.count(ly(t),t),e,2)}function wm(t,e){var n=t.getUTCDay();return t=n>=4||0===n?Xg(t):Xg.ceil(t),Ay(Xg.count(ly(t),t)+(4===ly(t).getUTCDay()),e,2)}function km(t){return t.getUTCDay()}function Em(t,e){return Ay(Gg.count(ly(t),t),e,2)}function Am(t,e){return Ay(t.getUTCFullYear()%100,e,2)}function Tm(t,e){return Ay(t.getUTCFullYear()%1e4,e,4)}function Sm(){return"+0000"}function Dm(){return"%"}function Mm(t){return+t}function Cm(t){return Math.floor(+t/1e3)}function Om(t){return yy=gy(t),my=yy.format,vy=yy.parse,by=yy.utcFormat,_y=yy.utcParse,yy}Om({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 Lm=Date.prototype.toISOString?function(t){return t.toISOString()}:by("%Y-%m-%dT%H:%M:%S.%LZ");var Nm=+new Date("2000-01-01T00:00:00.000Z")?function(t){var e=new Date(t);return isNaN(e)?null:e}:_y("%Y-%m-%dT%H:%M:%S.%LZ"),Rm=1e3,Fm=60*Rm,Pm=60*Fm,Bm=24*Pm,Im=7*Bm,qm=30*Bm,Um=365*Bm;function jm(t){return new Date(t)}function Ym(t){return t instanceof Date?+t:+new Date(+t)}function zm(t,e,n,r,a,o,u,s,c){var l=Cp(Tp,Yn),f=l.invert,h=l.domain,d=c(".%L"),p=c(":%S"),g=c("%I:%M"),y=c("%I %p"),m=c("%a %d"),v=c("%b %d"),b=c("%B"),_=c("%Y"),x=[[u,1,Rm],[u,5,5*Rm],[u,15,15*Rm],[u,30,30*Rm],[o,1,Fm],[o,5,5*Fm],[o,15,15*Fm],[o,30,30*Fm],[a,1,Pm],[a,3,3*Pm],[a,6,6*Pm],[a,12,12*Pm],[r,1,Bm],[r,2,2*Bm],[n,1,Im],[e,1,qm],[e,3,3*qm],[t,1,Um]];function w(i){return(u(i)<i?d:o(i)<i?p:a(i)<i?g:r(i)<i?y:e(i)<i?n(i)<i?m:v:t(i)<i?b:_)(i)}function k(e,n,r,a){if(null==e&&(e=10),"number"==typeof e){var o=Math.abs(r-n)/e,u=i(function(t){return t[2]}).right(x,o);u===x.length?(a=D(n/Um,r/Um,e),e=t):u?(a=(u=x[o/x[u-1][2]<x[u][2]/o?u-1:u])[1],e=u[0]):(a=Math.max(D(n,r,e),1),e=s)}return null==a?e:e.every(a)}return l.invert=function(t){return new Date(f(t))},l.domain=function(t){return arguments.length?h(mp.call(t,Ym)):h().map(jm)},l.ticks=function(t,e){var n,r=h(),i=r[0],a=r[r.length-1],o=a<i;return o&&(n=i,i=a,a=n),n=(n=k(t,i,a,e))?n.range(i,a+1):[],o?n.reverse():n},l.tickFormat=function(t,e){return null==e?w:c(e)},l.nice=function(t,e){var n=h();return(t=k(t,n[0],n[n.length-1],e))?h(Fp(n,t)):l},l.copy=function(){return Mp(l,zm(t,e,n,r,a,o,u,s,c))},l}var Vm=function(){return zm(Rg,Og,yg,dg,lg,ug,ig,Qp,my).domain([new Date(2e3,0,1),new Date(2e3,0,2)])},$m=function(){return zm(ly,uy,Hg,zg,Ug,Bg,ig,Qp,by).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])};function Hm(t){var e=0,n=1,r=1,i=!1;function a(n){var a=(n-e)*r;return t(i?Math.max(0,Math.min(1,a)):a)}return a.domain=function(t){return arguments.length?(e=+t[0],n=+t[1],r=e===n?0:1/(n-e),a):[e,n]},a.clamp=function(t){return arguments.length?(i=!!t,a):i},a.interpolator=function(e){return arguments.length?(t=e,a):t},a.copy=function(){return Hm(t).domain([e,n]).clamp(i)},Lp(a)}function Gm(t){var e=0,n=.5,r=1,i=1,a=1,o=!1;function u(e){var r=.5+((e=+e)-n)*(e<n?i:a);return t(o?Math.max(0,Math.min(1,r)):r)}return u.domain=function(t){return arguments.length?(e=+t[0],n=+t[1],r=+t[2],i=e===n?0:.5/(n-e),a=n===r?0:.5/(r-n),u):[e,n,r]},u.clamp=function(t){return arguments.length?(o=!!t,u):o},u.interpolator=function(e){return arguments.length?(t=e,u):t},u.copy=function(){return Gm(t).domain([e,n,r]).clamp(o)},Lp(u)}var Wm=function(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},Zm=Wm("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),Xm=Wm("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),Jm=Wm("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),Km=Wm("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),Qm=Wm("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),tv=Wm("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),ev=Wm("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),nv=Wm("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),rv=Wm("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),iv=function(t){return In(t[t.length-1])},av=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(Wm),ov=iv(av),uv=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(Wm),sv=iv(uv),cv=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(Wm),lv=iv(cv),fv=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(Wm),hv=iv(fv),dv=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(Wm),pv=iv(dv),gv=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(Wm),yv=iv(gv),mv=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(Wm),vv=iv(mv),bv=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(Wm),_v=iv(bv),xv=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(Wm),wv=iv(xv),kv=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(Wm),Ev=iv(kv),Av=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(Wm),Tv=iv(Av),Sv=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(Wm),Dv=iv(Sv),Mv=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(Wm),Cv=iv(Mv),Ov=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(Wm),Lv=iv(Ov),Nv=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(Wm),Rv=iv(Nv),Fv=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(Wm),Pv=iv(Fv),Bv=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(Wm),Iv=iv(Bv),qv=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(Wm),Uv=iv(qv),jv=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(Wm),Yv=iv(jv),zv=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(Wm),Vv=iv(zv),$v=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(Wm),Hv=iv($v),Gv=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(Wm),Wv=iv(Gv),Zv=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(Wm),Xv=iv(Zv),Jv=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(Wm),Kv=iv(Jv),Qv=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(Wm),tb=iv(Qv),eb=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(Wm),nb=iv(eb),rb=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(Wm),ib=iv(rb),ab=br(Tn(300,.5,0),Tn(-240,.5,1)),ob=br(Tn(-100,.75,.35),Tn(80,1.5,.8)),ub=br(Tn(260,.75,.35),Tn(80,1.5,.8)),sb=Tn(),cb=function(t){(t<0||t>1)&&(t-=Math.floor(t));var e=Math.abs(t-.5);return sb.h=360*t-100,sb.s=1.5-1.5*e,sb.l=.8-.9*e,sb+""},lb=$e(),fb=Math.PI/3,hb=2*Math.PI/3,db=function(t){var e;return t=(.5-t)*Math.PI,lb.r=255*(e=Math.sin(t))*e,lb.g=255*(e=Math.sin(t+fb))*e,lb.b=255*(e=Math.sin(t+hb))*e,lb+""};function pb(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}var gb=pb(Wm("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),yb=pb(Wm("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),mb=pb(Wm("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),vb=pb(Wm("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),bb=function(t){return function(){return t}},_b=Math.abs,xb=Math.atan2,wb=Math.cos,kb=Math.max,Eb=Math.min,Ab=Math.sin,Tb=Math.sqrt,Sb=1e-12,Db=Math.PI,Mb=Db/2,Cb=2*Db;function Ob(t){return t>=1?Mb:t<=-1?-Mb:Math.asin(t)}function Lb(t){return t.innerRadius}function Nb(t){return t.outerRadius}function Rb(t){return t.startAngle}function Fb(t){return t.endAngle}function Pb(t){return t&&t.padAngle}function Bb(t,e,n,r,i,a,o){var u=t-n,s=e-r,c=(o?a:-a)/Tb(u*u+s*s),l=c*s,f=-c*u,h=t+l,d=e+f,p=n+l,g=r+f,y=(h+p)/2,m=(d+g)/2,v=p-h,b=g-d,_=v*v+b*b,x=i-a,w=h*g-p*d,k=(b<0?-1:1)*Tb(kb(0,x*x*_-w*w)),E=(w*b-v*k)/_,A=(-w*v-b*k)/_,T=(w*b+v*k)/_,S=(-w*v+b*k)/_,D=E-y,M=A-m,C=T-y,O=S-m;return D*D+M*M>C*C+O*O&&(E=T,A=S),{cx:E,cy:A,x01:-l,y01:-f,x11:E*(i/x-1),y11:A*(i/x-1)}}var Ib=function(){var t=Lb,e=Nb,n=bb(0),r=null,i=Rb,a=Fb,o=Pb,u=null;function s(){var s,c,l,f=+t.apply(this,arguments),h=+e.apply(this,arguments),d=i.apply(this,arguments)-Mb,p=a.apply(this,arguments)-Mb,g=_b(p-d),y=p>d;if(u||(u=s=Ya()),h<f&&(c=h,h=f,f=c),h>Sb)if(g>Cb-Sb)u.moveTo(h*wb(d),h*Ab(d)),u.arc(0,0,h,d,p,!y),f>Sb&&(u.moveTo(f*wb(p),f*Ab(p)),u.arc(0,0,f,p,d,y));else{var m,v,b=d,_=p,x=d,w=p,k=g,E=g,A=o.apply(this,arguments)/2,T=A>Sb&&(r?+r.apply(this,arguments):Tb(f*f+h*h)),S=Eb(_b(h-f)/2,+n.apply(this,arguments)),D=S,M=S;if(T>Sb){var C=Ob(T/f*Ab(A)),O=Ob(T/h*Ab(A));(k-=2*C)>Sb?(x+=C*=y?1:-1,w-=C):(k=0,x=w=(d+p)/2),(E-=2*O)>Sb?(b+=O*=y?1:-1,_-=O):(E=0,b=_=(d+p)/2)}var L=h*wb(b),N=h*Ab(b),R=f*wb(w),F=f*Ab(w);if(S>Sb){var P=h*wb(_),B=h*Ab(_),I=f*wb(x),q=f*Ab(x);if(g<Db){var U=k>Sb?function(t,e,n,r,i,a,o,u){var s=n-t,c=r-e,l=o-i,f=u-a,h=(l*(e-a)-f*(t-i))/(f*s-l*c);return[t+h*s,e+h*c]}(L,N,I,q,P,B,R,F):[R,F],j=L-U[0],Y=N-U[1],z=P-U[0],V=B-U[1],$=1/Ab(((l=(j*z+Y*V)/(Tb(j*j+Y*Y)*Tb(z*z+V*V)))>1?0:l<-1?Db:Math.acos(l))/2),H=Tb(U[0]*U[0]+U[1]*U[1]);D=Eb(S,(f-H)/($-1)),M=Eb(S,(h-H)/($+1))}}E>Sb?M>Sb?(m=Bb(I,q,L,N,h,M,y),v=Bb(P,B,R,F,h,M,y),u.moveTo(m.cx+m.x01,m.cy+m.y01),M<S?u.arc(m.cx,m.cy,M,xb(m.y01,m.x01),xb(v.y01,v.x01),!y):(u.arc(m.cx,m.cy,M,xb(m.y01,m.x01),xb(m.y11,m.x11),!y),u.arc(0,0,h,xb(m.cy+m.y11,m.cx+m.x11),xb(v.cy+v.y11,v.cx+v.x11),!y),u.arc(v.cx,v.cy,M,xb(v.y11,v.x11),xb(v.y01,v.x01),!y))):(u.moveTo(L,N),u.arc(0,0,h,b,_,!y)):u.moveTo(L,N),f>Sb&&k>Sb?D>Sb?(m=Bb(R,F,P,B,f,-D,y),v=Bb(L,N,I,q,f,-D,y),u.lineTo(m.cx+m.x01,m.cy+m.y01),D<S?u.arc(m.cx,m.cy,D,xb(m.y01,m.x01),xb(v.y01,v.x01),!y):(u.arc(m.cx,m.cy,D,xb(m.y01,m.x01),xb(m.y11,m.x11),!y),u.arc(0,0,f,xb(m.cy+m.y11,m.cx+m.x11),xb(v.cy+v.y11,v.cx+v.x11),y),u.arc(v.cx,v.cy,D,xb(v.y11,v.x11),xb(v.y01,v.x01),!y))):u.arc(0,0,f,w,x,y):u.lineTo(R,F)}else u.moveTo(0,0);if(u.closePath(),s)return u=null,s+""||null}return s.centroid=function(){var n=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +a.apply(this,arguments))/2-Db/2;return[wb(r)*n,Ab(r)*n]},s.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:bb(+e),s):t},s.outerRadius=function(t){return arguments.length?(e="function"==typeof t?t:bb(+t),s):e},s.cornerRadius=function(t){return arguments.length?(n="function"==typeof t?t:bb(+t),s):n},s.padRadius=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:bb(+t),s):r},s.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:bb(+t),s):i},s.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:bb(+t),s):a},s.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:bb(+t),s):o},s.context=function(t){return arguments.length?(u=null==t?null:t,s):u},s};function qb(t){this._context=t}qb.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)}}};var Ub=function(t){return new qb(t)};function jb(t){return t[0]}function Yb(t){return t[1]}var zb=function(){var t=jb,e=Yb,n=bb(!0),r=null,i=Ub,a=null;function o(o){var u,s,c,l=o.length,f=!1;for(null==r&&(a=i(c=Ya())),u=0;u<=l;++u)!(u<l&&n(s=o[u],u,o))===f&&((f=!f)?a.lineStart():a.lineEnd()),f&&a.point(+t(s,u,o),+e(s,u,o));if(c)return a=null,c+""||null}return o.x=function(e){return arguments.length?(t="function"==typeof e?e:bb(+e),o):t},o.y=function(t){return arguments.length?(e="function"==typeof t?t:bb(+t),o):e},o.defined=function(t){return arguments.length?(n="function"==typeof t?t:bb(!!t),o):n},o.curve=function(t){return arguments.length?(i=t,null!=r&&(a=i(r)),o):i},o.context=function(t){return arguments.length?(null==t?r=a=null:a=i(r=t),o):r},o},Vb=function(){var t=jb,e=null,n=bb(0),r=Yb,i=bb(!0),a=null,o=Ub,u=null;function s(s){var c,l,f,h,d,p=s.length,g=!1,y=new Array(p),m=new Array(p);for(null==a&&(u=o(d=Ya())),c=0;c<=p;++c){if(!(c<p&&i(h=s[c],c,s))===g)if(g=!g)l=c,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),f=c-1;f>=l;--f)u.point(y[f],m[f]);u.lineEnd(),u.areaEnd()}g&&(y[c]=+t(h,c,s),m[c]=+n(h,c,s),u.point(e?+e(h,c,s):y[c],r?+r(h,c,s):m[c]))}if(d)return u=null,d+""||null}function c(){return zb().defined(i).curve(o).context(a)}return s.x=function(n){return arguments.length?(t="function"==typeof n?n:bb(+n),e=null,s):t},s.x0=function(e){return arguments.length?(t="function"==typeof e?e:bb(+e),s):t},s.x1=function(t){return arguments.length?(e=null==t?null:"function"==typeof t?t:bb(+t),s):e},s.y=function(t){return arguments.length?(n="function"==typeof t?t:bb(+t),r=null,s):n},s.y0=function(t){return arguments.length?(n="function"==typeof t?t:bb(+t),s):n},s.y1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:bb(+t),s):r},s.lineX0=s.lineY0=function(){return c().x(t).y(n)},s.lineY1=function(){return c().x(t).y(r)},s.lineX1=function(){return c().x(e).y(n)},s.defined=function(t){return arguments.length?(i="function"==typeof t?t:bb(!!t),s):i},s.curve=function(t){return arguments.length?(o=t,null!=a&&(u=o(a)),s):o},s.context=function(t){return arguments.length?(null==t?a=u=null:u=o(a=t),s):a},s},$b=function(t,e){return e<t?-1:e>t?1:e>=t?0:NaN},Hb=function(t){return t},Gb=function(){var t=Hb,e=$b,n=null,r=bb(0),i=bb(Cb),a=bb(0);function o(o){var u,s,c,l,f,h=o.length,d=0,p=new Array(h),g=new Array(h),y=+r.apply(this,arguments),m=Math.min(Cb,Math.max(-Cb,i.apply(this,arguments)-y)),v=Math.min(Math.abs(m)/h,a.apply(this,arguments)),b=v*(m<0?-1:1);for(u=0;u<h;++u)(f=g[p[u]=u]=+t(o[u],u,o))>0&&(d+=f);for(null!=e?p.sort(function(t,n){return e(g[t],g[n])}):null!=n&&p.sort(function(t,e){return n(o[t],o[e])}),u=0,c=d?(m-h*b)/d:0;u<h;++u,y=l)s=p[u],l=y+((f=g[s])>0?f*c:0)+b,g[s]={data:o[s],index:u,value:f,startAngle:y,endAngle:l,padAngle:v};return g}return o.value=function(e){return arguments.length?(t="function"==typeof e?e:bb(+e),o):t},o.sortValues=function(t){return arguments.length?(e=t,n=null,o):e},o.sort=function(t){return arguments.length?(n=t,e=null,o):n},o.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:bb(+t),o):r},o.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:bb(+t),o):i},o.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:bb(+t),o):a},o},Wb=Xb(Ub);function Zb(t){this._curve=t}function Xb(t){function e(e){return new Zb(t(e))}return e._curve=t,e}function Jb(t){var e=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?e(Xb(t)):e()._curve},t}Zb.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}};var Kb=function(){return Jb(zb().curve(Wb))},Qb=function(){var t=Vb().curve(Wb),e=t.curve,n=t.lineX0,r=t.lineX1,i=t.lineY0,a=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Jb(n())},delete t.lineX0,t.lineEndAngle=function(){return Jb(r())},delete t.lineX1,t.lineInnerRadius=function(){return Jb(i())},delete t.lineY0,t.lineOuterRadius=function(){return Jb(a())},delete t.lineY1,t.curve=function(t){return arguments.length?e(Xb(t)):e()._curve},t},t_=function(t,e){return[(e=+e)*Math.cos(t-=Math.PI/2),e*Math.sin(t)]},e_=Array.prototype.slice;function n_(t){return t.source}function r_(t){return t.target}function i_(t){var e=n_,n=r_,r=jb,i=Yb,a=null;function o(){var o,u=e_.call(arguments),s=e.apply(this,u),c=n.apply(this,u);if(a||(a=o=Ya()),t(a,+r.apply(this,(u[0]=s,u)),+i.apply(this,u),+r.apply(this,(u[0]=c,u)),+i.apply(this,u)),o)return a=null,o+""||null}return o.source=function(t){return arguments.length?(e=t,o):e},o.target=function(t){return arguments.length?(n=t,o):n},o.x=function(t){return arguments.length?(r="function"==typeof t?t:bb(+t),o):r},o.y=function(t){return arguments.length?(i="function"==typeof t?t:bb(+t),o):i},o.context=function(t){return arguments.length?(a=null==t?null:t,o):a},o}function a_(t,e,n,r,i){t.moveTo(e,n),t.bezierCurveTo(e=(e+r)/2,n,e,i,r,i)}function o_(t,e,n,r,i){t.moveTo(e,n),t.bezierCurveTo(e,n=(n+i)/2,r,n,r,i)}function u_(t,e,n,r,i){var a=t_(e,n),o=t_(e,n=(n+i)/2),u=t_(r,n),s=t_(r,i);t.moveTo(a[0],a[1]),t.bezierCurveTo(o[0],o[1],u[0],u[1],s[0],s[1])}function s_(){return i_(a_)}function c_(){return i_(o_)}function l_(){var t=i_(u_);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}var f_={draw:function(t,e){var n=Math.sqrt(e/Db);t.moveTo(n,0),t.arc(0,0,n,0,Cb)}},h_={draw:function(t,e){var n=Math.sqrt(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}},d_=Math.sqrt(1/3),p_=2*d_,g_={draw:function(t,e){var n=Math.sqrt(e/p_),r=n*d_;t.moveTo(0,-n),t.lineTo(r,0),t.lineTo(0,n),t.lineTo(-r,0),t.closePath()}},y_=Math.sin(Db/10)/Math.sin(7*Db/10),m_=Math.sin(Cb/10)*y_,v_=-Math.cos(Cb/10)*y_,b_={draw:function(t,e){var n=Math.sqrt(.8908130915292852*e),r=m_*n,i=v_*n;t.moveTo(0,-n),t.lineTo(r,i);for(var a=1;a<5;++a){var o=Cb*a/5,u=Math.cos(o),s=Math.sin(o);t.lineTo(s*n,-u*n),t.lineTo(u*r-s*i,s*r+u*i)}t.closePath()}},__={draw:function(t,e){var n=Math.sqrt(e),r=-n/2;t.rect(r,r,n,n)}},x_=Math.sqrt(3),w_={draw:function(t,e){var n=-Math.sqrt(e/(3*x_));t.moveTo(0,2*n),t.lineTo(-x_*n,-n),t.lineTo(x_*n,-n),t.closePath()}},k_=Math.sqrt(3)/2,E_=1/Math.sqrt(12),A_=3*(E_/2+1),T_={draw:function(t,e){var n=Math.sqrt(e/A_),r=n/2,i=n*E_,a=r,o=n*E_+n,u=-a,s=o;t.moveTo(r,i),t.lineTo(a,o),t.lineTo(u,s),t.lineTo(-.5*r-k_*i,k_*r+-.5*i),t.lineTo(-.5*a-k_*o,k_*a+-.5*o),t.lineTo(-.5*u-k_*s,k_*u+-.5*s),t.lineTo(-.5*r+k_*i,-.5*i-k_*r),t.lineTo(-.5*a+k_*o,-.5*o-k_*a),t.lineTo(-.5*u+k_*s,-.5*s-k_*u),t.closePath()}},S_=[f_,h_,g_,__,b_,w_,T_],D_=function(){var t=bb(f_),e=bb(64),n=null;function r(){var r;if(n||(n=r=Ya()),t.apply(this,arguments).draw(n,+e.apply(this,arguments)),r)return n=null,r+""||null}return r.type=function(e){return arguments.length?(t="function"==typeof e?e:bb(e),r):t},r.size=function(t){return arguments.length?(e="function"==typeof t?t:bb(+t),r):e},r.context=function(t){return arguments.length?(n=null==t?null:t,r):n},r},M_=function(){};function C_(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function O_(t){this._context=t}O_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:C_(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(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;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:C_(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};var L_=function(t){return new O_(t)};function N_(t){this._context=t}N_.prototype={areaStart:M_,areaEnd:M_,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:C_(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};var R_=function(t){return new N_(t)};function F_(t){this._context=t}F_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===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;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:C_(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};var P_=function(t){return new F_(t)};function B_(t,e){this._basis=new O_(t),this._beta=e}B_.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r,i=t[0],a=e[0],o=t[n]-i,u=e[n]-a,s=-1;++s<=n;)r=s/n,this._basis.point(this._beta*t[s]+(1-this._beta)*(i+r*o),this._beta*e[s]+(1-this._beta)*(a+r*u));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var I_=function t(e){function n(t){return 1===e?new O_(t):new B_(t,e)}return n.beta=function(e){return t(+e)},n}(.85);function q_(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function U_(t,e){this._context=t,this._k=(1-e)/6}U_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:q_(this,this._x1,this._y1)}(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,this._x1=t,this._y1=e;break;case 2:this._point=3;default:q_(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var j_=function t(e){function n(t){return new U_(t,e)}return n.tension=function(e){return t(+e)},n}(0);function Y_(t,e){this._context=t,this._k=(1-e)/6}Y_.prototype={areaStart:M_,areaEnd:M_,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:q_(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var z_=function t(e){function n(t){return new Y_(t,e)}return n.tension=function(e){return t(+e)},n}(0);function V_(t,e){this._context=t,this._k=(1-e)/6}V_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===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;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:q_(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var $_=function t(e){function n(t){return new V_(t,e)}return n.tension=function(e){return t(+e)},n}(0);function H_(t,e,n){var r=t._x1,i=t._y1,a=t._x2,o=t._y2;if(t._l01_a>Sb){var u=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,s=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*u-t._x0*t._l12_2a+t._x2*t._l01_2a)/s,i=(i*u-t._y0*t._l12_2a+t._y2*t._l01_2a)/s}if(t._l23_a>Sb){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*c+t._x1*t._l23_2a-e*t._l12_2a)/l,o=(o*c+t._y1*t._l23_2a-n*t._l12_2a)/l}t._context.bezierCurveTo(r,i,a,o,t._x2,t._y2)}function G_(t,e){this._context=t,this._alpha=e}G_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}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;default:H_(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var W_=function t(e){function n(t){return e?new G_(t,e):new U_(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Z_(t,e){this._context=t,this._alpha=e}Z_.prototype={areaStart:M_,areaEnd:M_,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:H_(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var X_=function t(e){function n(t){return e?new Z_(t,e):new Y_(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function J_(t,e){this._context=t,this._alpha=e}J_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:H_(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var K_=function t(e){function n(t){return e?new J_(t,e):new V_(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Q_(t){this._context=t}Q_.prototype={areaStart:M_,areaEnd:M_,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};var tx=function(t){return new Q_(t)};function ex(t){return t<0?-1:1}function nx(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),u=(a*i+o*r)/(r+i);return(ex(a)+ex(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(u))||0}function rx(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function ix(t,e,n){var r=t._x0,i=t._y0,a=t._x1,o=t._y1,u=(a-r)/3;t._context.bezierCurveTo(r+u,i+u*e,a-u,o-u*n,a,o)}function ax(t){this._context=t}function ox(t){this._context=new ux(t)}function ux(t){this._context=t}function sx(t){return new ax(t)}function cx(t){return new ox(t)}function lx(t){this._context=t}function fx(t){var e,n,r=t.length-1,i=new Array(r),a=new Array(r),o=new Array(r);for(i[0]=0,a[0]=2,o[0]=t[0]+2*t[1],e=1;e<r-1;++e)i[e]=1,a[e]=4,o[e]=4*t[e]+2*t[e+1];for(i[r-1]=2,a[r-1]=7,o[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=i[e]/a[e-1],a[e]-=n,o[e]-=n*o[e-1];for(i[r-1]=o[r-1]/a[r-1],e=r-2;e>=0;--e)i[e]=(o[e]-i[e+1])/a[e];for(a[r-1]=(t[r]+i[r-1])/2,e=0;e<r-1;++e)a[e]=2*t[e+1]-i[e+1];return[i,a]}ax.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:ix(this,this._t0,rx(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,ix(this,rx(this,n=nx(this,t,e)),n);break;default:ix(this,this._t0,n=nx(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(ox.prototype=Object.create(ax.prototype)).point=function(t,e){ax.prototype.point.call(this,e,t)},ux.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)}},lx.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=fx(t),i=fx(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)}};var hx=function(t){return new lx(t)};function dx(t,e){this._context=t,this._t=e}dx.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(),this._line>=0&&(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 px=function(t){return new dx(t,.5)};function gx(t){return new dx(t,0)}function yx(t){return new dx(t,1)}var mx=function(t,e){if((i=t.length)>1)for(var n,r,i,a=1,o=t[e[0]],u=o.length;a<i;++a)for(r=o,o=t[e[a]],n=0;n<u;++n)o[n][1]+=o[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]},vx=function(t){for(var e=t.length,n=new Array(e);--e>=0;)n[e]=e;return n};function bx(t,e){return t[e]}var _x=function(){var t=bb([]),e=vx,n=mx,r=bx;function i(i){var a,o,u=t.apply(this,arguments),s=i.length,c=u.length,l=new Array(c);for(a=0;a<c;++a){for(var f,h=u[a],d=l[a]=new Array(s),p=0;p<s;++p)d[p]=f=[0,+r(i[p],h,p,i)],f.data=i[p];d.key=h}for(a=0,o=e(l);a<c;++a)l[o[a]].index=a;return n(l,o),l}return i.keys=function(e){return arguments.length?(t="function"==typeof e?e:bb(e_.call(e)),i):t},i.value=function(t){return arguments.length?(r="function"==typeof t?t:bb(+t),i):r},i.order=function(t){return arguments.length?(e=null==t?vx:"function"==typeof t?t:bb(e_.call(t)),i):e},i.offset=function(t){return arguments.length?(n=null==t?mx:t,i):n},i},xx=function(t,e){if((r=t.length)>0){for(var n,r,i,a=0,o=t[0].length;a<o;++a){for(i=n=0;n<r;++n)i+=t[n][a][1]||0;if(i)for(n=0;n<r;++n)t[n][a][1]/=i}mx(t,e)}},wx=function(t,e){if((u=t.length)>1)for(var n,r,i,a,o,u,s=0,c=t[e[0]].length;s<c;++s)for(a=o=0,n=0;n<u;++n)(i=(r=t[e[n]][s])[1]-r[0])>=0?(r[0]=a,r[1]=a+=i):i<0?(r[1]=o,r[0]=o+=i):r[0]=a},kx=function(t,e){if((n=t.length)>0){for(var n,r=0,i=t[e[0]],a=i.length;r<a;++r){for(var o=0,u=0;o<n;++o)u+=t[o][r][1]||0;i[r][1]+=i[r][0]=-u/2}mx(t,e)}},Ex=function(t,e){if((i=t.length)>0&&(r=(n=t[e[0]]).length)>0){for(var n,r,i,a=0,o=1;o<r;++o){for(var u=0,s=0,c=0;u<i;++u){for(var l=t[e[u]],f=l[o][1]||0,h=(f-(l[o-1][1]||0))/2,d=0;d<u;++d){var p=t[e[d]];h+=(p[o][1]||0)-(p[o-1][1]||0)}s+=f,c+=h*f}n[o-1][1]+=n[o-1][0]=a,s&&(a-=c/s)}n[o-1][1]+=n[o-1][0]=a,mx(t,e)}},Ax=function(t){var e=t.map(Tx);return vx(t).sort(function(t,n){return e[t]-e[n]})};function Tx(t){for(var e,n=0,r=-1,i=t.length;++r<i;)(e=+t[r][1])&&(n+=e);return n}var Sx=function(t){return Ax(t).reverse()},Dx=function(t){var e,n,r=t.length,i=t.map(Tx),a=vx(t).sort(function(t,e){return i[e]-i[t]}),o=0,u=0,s=[],c=[];for(e=0;e<r;++e)n=a[e],o<u?(o+=i[n],s.push(n)):(u+=i[n],c.push(n));return c.reverse().concat(s)},Mx=function(t){return vx(t).reverse()},Cx=function(t){return function(){return t}};function Ox(t){return t[0]}function Lx(t){return t[1]}function Nx(){this._=null}function Rx(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function Fx(t,e){var n=e,r=e.R,i=n.U;i?i.L===n?i.L=r:i.R=r:t._=r,r.U=i,n.U=r,n.R=r.L,n.R&&(n.R.U=n),r.L=n}function Px(t,e){var n=e,r=e.L,i=n.U;i?i.L===n?i.L=r:i.R=r:t._=r,r.U=i,n.U=r,n.L=r.R,n.L&&(n.L.U=n),r.R=n}function Bx(t){for(;t.L;)t=t.L;return t}Nx.prototype={constructor:Nx,insert:function(t,e){var n,r,i;if(t){if(e.P=t,e.N=t.N,t.N&&(t.N.P=e),t.N=e,t.R){for(t=t.R;t.L;)t=t.L;t.L=e}else t.R=e;n=t}else this._?(t=Bx(this._),e.P=null,e.N=t,t.P=t.L=e,n=t):(e.P=e.N=null,this._=e,n=null);for(e.L=e.R=null,e.U=n,e.C=!0,t=e;n&&n.C;)n===(r=n.U).L?(i=r.R)&&i.C?(n.C=i.C=!1,r.C=!0,t=r):(t===n.R&&(Fx(this,n),n=(t=n).U),n.C=!1,r.C=!0,Px(this,r)):(i=r.L)&&i.C?(n.C=i.C=!1,r.C=!0,t=r):(t===n.L&&(Px(this,n),n=(t=n).U),n.C=!1,r.C=!0,Fx(this,r)),n=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var e,n,r,i=t.U,a=t.L,o=t.R;if(n=a?o?Bx(o):a:o,i?i.L===t?i.L=n:i.R=n:this._=n,a&&o?(r=n.C,n.C=t.C,n.L=a,a.U=n,n!==o?(i=n.U,n.U=t.U,t=n.R,i.L=t,n.R=o,o.U=n):(n.U=i,i=n,t=n.R)):(r=t.C,t=n),t&&(t.U=i),!r)if(t&&t.C)t.C=!1;else{do{if(t===this._)break;if(t===i.L){if((e=i.R).C&&(e.C=!1,i.C=!0,Fx(this,i),e=i.R),e.L&&e.L.C||e.R&&e.R.C){e.R&&e.R.C||(e.L.C=!1,e.C=!0,Px(this,e),e=i.R),e.C=i.C,i.C=e.R.C=!1,Fx(this,i),t=this._;break}}else if((e=i.L).C&&(e.C=!1,i.C=!0,Px(this,i),e=i.L),e.L&&e.L.C||e.R&&e.R.C){e.L&&e.L.C||(e.R.C=!1,e.C=!0,Fx(this,e),e=i.L),e.C=i.C,i.C=e.L.C=!1,Px(this,i),t=this._;break}e.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}};var Ix=Nx;function qx(t,e,n,r){var i=[null,null],a=cw.push(i)-1;return i.left=t,i.right=e,n&&jx(i,t,e,n),r&&jx(i,e,t,r),uw[t.index].halfedges.push(a),uw[e.index].halfedges.push(a),i}function Ux(t,e,n){var r=[e,n];return r.left=t,r}function jx(t,e,n,r){t[0]||t[1]?t.left===n?t[1]=r:t[0]=r:(t[0]=r,t.left=e,t.right=n)}function Yx(t,e,n,r,i){var a,o=t[0],u=t[1],s=o[0],c=o[1],l=0,f=1,h=u[0]-s,d=u[1]-c;if(a=e-s,h||!(a>0)){if(a/=h,h<0){if(a<l)return;a<f&&(f=a)}else if(h>0){if(a>f)return;a>l&&(l=a)}if(a=r-s,h||!(a<0)){if(a/=h,h<0){if(a>f)return;a>l&&(l=a)}else if(h>0){if(a<l)return;a<f&&(f=a)}if(a=n-c,d||!(a>0)){if(a/=d,d<0){if(a<l)return;a<f&&(f=a)}else if(d>0){if(a>f)return;a>l&&(l=a)}if(a=i-c,d||!(a<0)){if(a/=d,d<0){if(a>f)return;a>l&&(l=a)}else if(d>0){if(a<l)return;a<f&&(f=a)}return!(l>0||f<1)||(l>0&&(t[0]=[s+l*h,c+l*d]),f<1&&(t[1]=[s+f*h,c+f*d]),!0)}}}}}function zx(t,e,n,r,i){var a=t[1];if(a)return!0;var o,u,s=t[0],c=t.left,l=t.right,f=c[0],h=c[1],d=l[0],p=l[1],g=(f+d)/2,y=(h+p)/2;if(p===h){if(g<e||g>=r)return;if(f>d){if(s){if(s[1]>=i)return}else s=[g,n];a=[g,i]}else{if(s){if(s[1]<n)return}else s=[g,i];a=[g,n]}}else if(u=y-(o=(f-d)/(p-h))*g,o<-1||o>1)if(f>d){if(s){if(s[1]>=i)return}else s=[(n-u)/o,n];a=[(i-u)/o,i]}else{if(s){if(s[1]<n)return}else s=[(i-u)/o,i];a=[(n-u)/o,n]}else if(h<p){if(s){if(s[0]>=r)return}else s=[e,o*e+u];a=[r,o*r+u]}else{if(s){if(s[0]<e)return}else s=[r,o*r+u];a=[e,o*e+u]}return t[0]=s,t[1]=a,!0}function Vx(t,e){var n=t.site,r=e.left,i=e.right;return n===i&&(i=r,r=n),i?Math.atan2(i[1]-r[1],i[0]-r[0]):(n===r?(r=e[1],i=e[0]):(r=e[0],i=e[1]),Math.atan2(r[0]-i[0],i[1]-r[1]))}function $x(t,e){return e[+(e.left!==t.site)]}function Hx(t,e){return e[+(e.left===t.site)]}var Gx,Wx=[];function Zx(){Rx(this),this.x=this.y=this.arc=this.site=this.cy=null}function Xx(t){var e=t.P,n=t.N;if(e&&n){var r=e.site,i=t.site,a=n.site;if(r!==a){var o=i[0],u=i[1],s=r[0]-o,c=r[1]-u,l=a[0]-o,f=a[1]-u,h=2*(s*f-c*l);if(!(h>=-fw)){var d=s*s+c*c,p=l*l+f*f,g=(f*d-c*p)/h,y=(s*p-l*d)/h,m=Wx.pop()||new Zx;m.arc=t,m.site=i,m.x=g+o,m.y=(m.cy=y+u)+Math.sqrt(g*g+y*y),t.circle=m;for(var v=null,b=sw._;b;)if(m.y<b.y||m.y===b.y&&m.x<=b.x){if(!b.L){v=b.P;break}b=b.L}else{if(!b.R){v=b;break}b=b.R}sw.insert(v,m),v||(Gx=m)}}}}function Jx(t){var e=t.circle;e&&(e.P||(Gx=e.N),sw.remove(e),Wx.push(e),Rx(e),t.circle=null)}var Kx=[];function Qx(){Rx(this),this.edge=this.site=this.circle=null}function tw(t){var e=Kx.pop()||new Qx;return e.site=t,e}function ew(t){Jx(t),ow.remove(t),Kx.push(t),Rx(t)}function nw(t){var e=t.circle,n=e.x,r=e.cy,i=[n,r],a=t.P,o=t.N,u=[t];ew(t);for(var s=a;s.circle&&Math.abs(n-s.circle.x)<lw&&Math.abs(r-s.circle.cy)<lw;)a=s.P,u.unshift(s),ew(s),s=a;u.unshift(s),Jx(s);for(var c=o;c.circle&&Math.abs(n-c.circle.x)<lw&&Math.abs(r-c.circle.cy)<lw;)o=c.N,u.push(c),ew(c),c=o;u.push(c),Jx(c);var l,f=u.length;for(l=1;l<f;++l)c=u[l],s=u[l-1],jx(c.edge,s.site,c.site,i);s=u[0],(c=u[f-1]).edge=qx(s.site,c.site,null,i),Xx(s),Xx(c)}function rw(t){for(var e,n,r,i,a=t[0],o=t[1],u=ow._;u;)if((r=iw(u,o)-a)>lw)u=u.L;else{if(!((i=a-aw(u,o))>lw)){r>-lw?(e=u.P,n=u):i>-lw?(e=u,n=u.N):e=n=u;break}if(!u.R){e=u;break}u=u.R}!function(t){uw[t.index]={site:t,halfedges:[]}}(t);var s=tw(t);if(ow.insert(e,s),e||n){if(e===n)return Jx(e),n=tw(e.site),ow.insert(s,n),s.edge=n.edge=qx(e.site,s.site),Xx(e),void Xx(n);if(n){Jx(e),Jx(n);var c=e.site,l=c[0],f=c[1],h=t[0]-l,d=t[1]-f,p=n.site,g=p[0]-l,y=p[1]-f,m=2*(h*y-d*g),v=h*h+d*d,b=g*g+y*y,_=[(y*v-d*b)/m+l,(h*b-g*v)/m+f];jx(n.edge,c,p,_),s.edge=qx(c,t,null,_),n.edge=qx(t,p,null,_),Xx(e),Xx(n)}else s.edge=qx(e.site,s.site)}}function iw(t,e){var n=t.site,r=n[0],i=n[1],a=i-e;if(!a)return r;var o=t.P;if(!o)return-1/0;var u=(n=o.site)[0],s=n[1],c=s-e;if(!c)return u;var l=u-r,f=1/a-1/c,h=l/c;return f?(-h+Math.sqrt(h*h-2*f*(l*l/(-2*c)-s+c/2+i-a/2)))/f+r:(r+u)/2}function aw(t,e){var n=t.N;if(n)return iw(n,e);var r=t.site;return r[1]===e?r[0]:1/0}var ow,uw,sw,cw,lw=1e-6,fw=1e-12;function hw(t,e){return e[1]-t[1]||e[0]-t[0]}function dw(t,e){var n,r,i,a=t.sort(hw).pop();for(cw=[],uw=new Array(t.length),ow=new Ix,sw=new Ix;;)if(i=Gx,a&&(!i||a[1]<i.y||a[1]===i.y&&a[0]<i.x))a[0]===n&&a[1]===r||(rw(a),n=a[0],r=a[1]),a=t.pop();else{if(!i)break;nw(i.arc)}if(function(){for(var t,e,n,r,i=0,a=uw.length;i<a;++i)if((t=uw[i])&&(r=(e=t.halfedges).length)){var o=new Array(r),u=new Array(r);for(n=0;n<r;++n)o[n]=n,u[n]=Vx(t,cw[e[n]]);for(o.sort(function(t,e){return u[e]-u[t]}),n=0;n<r;++n)u[n]=e[o[n]];for(n=0;n<r;++n)e[n]=u[n]}}(),e){var o=+e[0][0],u=+e[0][1],s=+e[1][0],c=+e[1][1];!function(t,e,n,r){for(var i,a=cw.length;a--;)zx(i=cw[a],t,e,n,r)&&Yx(i,t,e,n,r)&&(Math.abs(i[0][0]-i[1][0])>lw||Math.abs(i[0][1]-i[1][1])>lw)||delete cw[a]}(o,u,s,c),function(t,e,n,r){var i,a,o,u,s,c,l,f,h,d,p,g,y=uw.length,m=!0;for(i=0;i<y;++i)if(a=uw[i]){for(o=a.site,u=(s=a.halfedges).length;u--;)cw[s[u]]||s.splice(u,1);for(u=0,c=s.length;u<c;)p=(d=Hx(a,cw[s[u]]))[0],g=d[1],f=(l=$x(a,cw[s[++u%c]]))[0],h=l[1],(Math.abs(p-f)>lw||Math.abs(g-h)>lw)&&(s.splice(u,0,cw.push(Ux(o,d,Math.abs(p-t)<lw&&r-g>lw?[t,Math.abs(f-t)<lw?h:r]:Math.abs(g-r)<lw&&n-p>lw?[Math.abs(h-r)<lw?f:n,r]:Math.abs(p-n)<lw&&g-e>lw?[n,Math.abs(f-n)<lw?h:e]:Math.abs(g-e)<lw&&p-t>lw?[Math.abs(h-e)<lw?f:t,e]:null))-1),++c);c&&(m=!1)}if(m){var v,b,_,x=1/0;for(i=0,m=null;i<y;++i)(a=uw[i])&&(_=(v=(o=a.site)[0]-t)*v+(b=o[1]-e)*b)<x&&(x=_,m=a);if(m){var w=[t,e],k=[t,r],E=[n,r],A=[n,e];m.halfedges.push(cw.push(Ux(o=m.site,w,k))-1,cw.push(Ux(o,k,E))-1,cw.push(Ux(o,E,A))-1,cw.push(Ux(o,A,w))-1)}}for(i=0;i<y;++i)(a=uw[i])&&(a.halfedges.length||delete uw[i])}(o,u,s,c)}this.edges=cw,this.cells=uw,ow=sw=cw=uw=null}dw.prototype={constructor:dw,polygons:function(){var t=this.edges;return this.cells.map(function(e){var n=e.halfedges.map(function(n){return $x(e,t[n])});return n.data=e.site.data,n})},triangles:function(){var t=[],e=this.edges;return this.cells.forEach(function(n,r){if(a=(i=n.halfedges).length)for(var i,a,o,u,s,c,l=n.site,f=-1,h=e[i[a-1]],d=h.left===l?h.right:h.left;++f<a;)o=d,d=(h=e[i[f]]).left===l?h.right:h.left,o&&d&&r<o.index&&r<d.index&&(s=o,c=d,((u=l)[0]-c[0])*(s[1]-u[1])-(u[0]-s[0])*(c[1]-u[1])<0)&&t.push([l.data,o.data,d.data])}),t},links:function(){return this.edges.filter(function(t){return t.right}).map(function(t){return{source:t.left.data,target:t.right.data}})},find:function(t,e,n){for(var r,i,a=this,o=a._found||0,u=a.cells.length;!(i=a.cells[o]);)if(++o>=u)return null;var s=t-i.site[0],c=e-i.site[1],l=s*s+c*c;do{i=a.cells[r=o],o=null,i.halfedges.forEach(function(n){var r=a.edges[n],u=r.left;if(u!==i.site&&u||(u=r.right)){var s=t-u[0],c=e-u[1],f=s*s+c*c;f<l&&(l=f,o=u.index)}})}while(null!==o);return a._found=r,null==n||l<=n*n?i.site:null}};var pw=function(){var t=Ox,e=Lx,n=null;function r(r){return new dw(r.map(function(n,i){var a=[Math.round(t(n,i,r)/lw)*lw,Math.round(e(n,i,r)/lw)*lw];return a.index=i,a.data=n,a}),n)}return r.polygons=function(t){return r(t).polygons()},r.links=function(t){return r(t).links()},r.triangles=function(t){return r(t).triangles()},r.x=function(e){return arguments.length?(t="function"==typeof e?e:Cx(+e),r):t},r.y=function(t){return arguments.length?(e="function"==typeof t?t:Cx(+t),r):e},r.extent=function(t){return arguments.length?(n=null==t?null:[[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]],r):n&&[[n[0][0],n[0][1]],[n[1][0],n[1][1]]]},r.size=function(t){return arguments.length?(n=null==t?null:[[0,0],[+t[0],+t[1]]],r):n&&[n[1][0]-n[0][0],n[1][1]-n[0][1]]},r},gw=function(t){return function(){return t}};function yw(t,e,n){this.target=t,this.type=e,this.transform=n}function mw(t,e,n){this.k=t,this.x=e,this.y=n}mw.prototype={constructor:mw,scale:function(t){return 1===t?this:new mw(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new mw(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var vw=new mw(1,0,0);function bw(t){return t.__zoom||vw}function _w(){Gt.stopImmediatePropagation()}bw.prototype=mw.prototype;var xw=function(){Gt.preventDefault(),Gt.stopImmediatePropagation()};function ww(){return!Gt.button}function kw(){var t,e,n=this;return n instanceof SVGElement?(t=(n=n.ownerSVGElement||n).width.baseVal.value,e=n.height.baseVal.value):(t=n.clientWidth,e=n.clientHeight),[[0,0],[t,e]]}function Ew(){return this.__zoom||vw}function Aw(){return-Gt.deltaY*(Gt.deltaMode?120:1)/500}function Tw(){return"ontouchstart"in this}function Sw(t,e,n){var r=t.invertX(e[0][0])-n[0][0],i=t.invertX(e[1][0])-n[1][0],a=t.invertY(e[0][1])-n[0][1],o=t.invertY(e[1][1])-n[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),o>a?(a+o)/2:Math.min(0,a)||Math.max(0,o))}var Dw=function(){var t,e,n=ww,r=kw,i=Sw,a=Aw,o=Tw,u=[0,1/0],s=[[-1/0,-1/0],[1/0,1/0]],c=250,l=cr,f=[],h=ht("start","zoom","end"),d=500,p=150,g=0;function y(t){t.property("__zoom",Ew).on("wheel.zoom",k).on("mousedown.zoom",E).on("dblclick.zoom",A).filter(o).on("touchstart.zoom",T).on("touchmove.zoom",S).on("touchend.zoom touchcancel.zoom",D).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function m(t,e){return(e=Math.max(u[0],Math.min(u[1],e)))===t.k?t:new mw(e,t.x,t.y)}function v(t,e,n){var r=e[0]-n[0]*t.k,i=e[1]-n[1]*t.k;return r===t.x&&i===t.y?t:new mw(t.k,r,i)}function b(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function _(t,e,n){t.on("start.zoom",function(){x(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){x(this,arguments).end()}).tween("zoom",function(){var t=arguments,i=x(this,t),a=r.apply(this,t),o=n||b(a),u=Math.max(a[1][0]-a[0][0],a[1][1]-a[0][1]),s=this.__zoom,c="function"==typeof e?e.apply(this,t):e,f=l(s.invert(o).concat(u/s.k),c.invert(o).concat(u/c.k));return function(t){if(1===t)t=c;else{var e=f(t),n=u/e[2];t=new mw(n,o[0]-e[0]*n,o[1]-e[1]*n)}i.zoom(null,t)}})}function x(t,e){for(var n,r=0,i=f.length;r<i;++r)if((n=f[r]).that===t)return n;return new w(t,e)}function w(t,e){this.that=t,this.args=e,this.index=-1,this.active=0,this.extent=r.apply(t,e)}function k(){if(n.apply(this,arguments)){var t=x(this,arguments),e=this.__zoom,r=Math.max(u[0],Math.min(u[1],e.k*Math.pow(2,a.apply(this,arguments)))),o=fe(this);if(t.wheel)t.mouse[0][0]===o[0]&&t.mouse[0][1]===o[1]||(t.mouse[1]=e.invert(t.mouse[0]=o)),clearTimeout(t.wheel);else{if(e.k===r)return;t.mouse=[o,e.invert(o)],ni(this),t.start()}xw(),t.wheel=setTimeout(function(){t.wheel=null,t.end()},p),t.zoom("mouse",i(v(m(e,r),t.mouse[0],t.mouse[1]),t.extent,s))}}function E(){if(!e&&n.apply(this,arguments)){var t=x(this,arguments),r=ie(Gt.view).on("mousemove.zoom",function(){if(xw(),!t.moved){var e=Gt.clientX-o,n=Gt.clientY-u;t.moved=e*e+n*n>g}t.zoom("mouse",i(v(t.that.__zoom,t.mouse[0]=fe(t.that),t.mouse[1]),t.extent,s))},!0).on("mouseup.zoom",function(){r.on("mousemove.zoom mouseup.zoom",null),ve(Gt.view,t.moved),xw(),t.end()},!0),a=fe(this),o=Gt.clientX,u=Gt.clientY;me(Gt.view),_w(),t.mouse=[a,this.__zoom.invert(a)],ni(this),t.start()}}function A(){if(n.apply(this,arguments)){var t=this.__zoom,e=fe(this),a=t.invert(e),o=t.k*(Gt.shiftKey?.5:2),u=i(v(m(t,o),e,a),r.apply(this,arguments),s);xw(),c>0?ie(this).transition().duration(c).call(_,u,e):ie(this).call(y.transform,u)}}function T(){if(n.apply(this,arguments)){var e,r,i,a,o=x(this,arguments),u=Gt.changedTouches,s=u.length;for(_w(),r=0;r<s;++r)i=u[r],a=[a=de(this,u,i.identifier),this.__zoom.invert(a),i.identifier],o.touch0?o.touch1||(o.touch1=a):(o.touch0=a,e=!0);if(t&&(t=clearTimeout(t),!o.touch1))return o.end(),void((a=ie(this).on("dblclick.zoom"))&&a.apply(this,arguments));e&&(t=setTimeout(function(){t=null},d),ni(this),o.start())}}function S(){var e,n,r,a,o=x(this,arguments),u=Gt.changedTouches,c=u.length;for(xw(),t&&(t=clearTimeout(t)),e=0;e<c;++e)n=u[e],r=de(this,u,n.identifier),o.touch0&&o.touch0[2]===n.identifier?o.touch0[0]=r:o.touch1&&o.touch1[2]===n.identifier&&(o.touch1[0]=r);if(n=o.that.__zoom,o.touch1){var l=o.touch0[0],f=o.touch0[1],h=o.touch1[0],d=o.touch1[1],p=(p=h[0]-l[0])*p+(p=h[1]-l[1])*p,g=(g=d[0]-f[0])*g+(g=d[1]-f[1])*g;n=m(n,Math.sqrt(p/g)),r=[(l[0]+h[0])/2,(l[1]+h[1])/2],a=[(f[0]+d[0])/2,(f[1]+d[1])/2]}else{if(!o.touch0)return;r=o.touch0[0],a=o.touch0[1]}o.zoom("touch",i(v(n,r,a),o.extent,s))}function D(){var t,n,r=x(this,arguments),i=Gt.changedTouches,a=i.length;for(_w(),e&&clearTimeout(e),e=setTimeout(function(){e=null},d),t=0;t<a;++t)n=i[t],r.touch0&&r.touch0[2]===n.identifier?delete r.touch0:r.touch1&&r.touch1[2]===n.identifier&&delete r.touch1;r.touch1&&!r.touch0&&(r.touch0=r.touch1,delete r.touch1),r.touch0?r.touch0[1]=this.__zoom.invert(r.touch0[0]):r.end()}return y.transform=function(t,e){var n=t.selection?t.selection():t;n.property("__zoom",Ew),t!==n?_(t,e):n.interrupt().each(function(){x(this,arguments).start().zoom(null,"function"==typeof e?e.apply(this,arguments):e).end()})},y.scaleBy=function(t,e){y.scaleTo(t,function(){return this.__zoom.k*("function"==typeof e?e.apply(this,arguments):e)})},y.scaleTo=function(t,e){y.transform(t,function(){var t=r.apply(this,arguments),n=this.__zoom,a=b(t),o=n.invert(a),u="function"==typeof e?e.apply(this,arguments):e;return i(v(m(n,u),a,o),t,s)})},y.translateBy=function(t,e,n){y.transform(t,function(){return i(this.__zoom.translate("function"==typeof e?e.apply(this,arguments):e,"function"==typeof n?n.apply(this,arguments):n),r.apply(this,arguments),s)})},y.translateTo=function(t,e,n){y.transform(t,function(){var t=r.apply(this,arguments),a=this.__zoom,o=b(t);return i(vw.translate(o[0],o[1]).scale(a.k).translate("function"==typeof e?-e.apply(this,arguments):-e,"function"==typeof n?-n.apply(this,arguments):-n),t,s)})},w.prototype={start:function(){return 1==++this.active&&(this.index=f.push(this)-1,this.emit("start")),this},zoom:function(t,e){return this.mouse&&"mouse"!==t&&(this.mouse[1]=e.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=e.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=e.invert(this.touch1[0])),this.that.__zoom=e,this.emit("zoom"),this},end:function(){return 0==--this.active&&(f.splice(this.index,1),this.index=-1,this.emit("end")),this},emit:function(t){Kt(new yw(y,t,this.that.__zoom),h.apply,h,[t,this.that,this.args])}},y.wheelDelta=function(t){return arguments.length?(a="function"==typeof t?t:gw(+t),y):a},y.filter=function(t){return arguments.length?(n="function"==typeof t?t:gw(!!t),y):n},y.touchable=function(t){return arguments.length?(o="function"==typeof t?t:gw(!!t),y):o},y.extent=function(t){return arguments.length?(r="function"==typeof t?t:gw([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),y):r},y.scaleExtent=function(t){return arguments.length?(u[0]=+t[0],u[1]=+t[1],y):[u[0],u[1]]},y.translateExtent=function(t){return arguments.length?(s[0][0]=+t[0][0],s[1][0]=+t[1][0],s[0][1]=+t[0][1],s[1][1]=+t[1][1],y):[[s[0][0],s[0][1]],[s[1][0],s[1][1]]]},y.constrain=function(t){return arguments.length?(i=t,y):i},y.duration=function(t){return arguments.length?(c=+t,y):c},y.interpolate=function(t){return arguments.length?(l=t,y):l},y.on=function(){var t=h.on.apply(h,arguments);return t===h?y:t},y.clickDistance=function(t){return arguments.length?(g=(t=+t)*t,y):Math.sqrt(g)},y};n.d(e,"version",function(){return"5.7.0"}),n.d(e,"bisect",function(){return s}),n.d(e,"bisectRight",function(){return o}),n.d(e,"bisectLeft",function(){return u}),n.d(e,"ascending",function(){return r}),n.d(e,"bisector",function(){return i}),n.d(e,"cross",function(){return f}),n.d(e,"descending",function(){return h}),n.d(e,"deviation",function(){return g}),n.d(e,"extent",function(){return y}),n.d(e,"histogram",function(){return C}),n.d(e,"thresholdFreedmanDiaconis",function(){return L}),n.d(e,"thresholdScott",function(){return N}),n.d(e,"thresholdSturges",function(){return M}),n.d(e,"max",function(){return R}),n.d(e,"mean",function(){return F}),n.d(e,"median",function(){return P}),n.d(e,"merge",function(){return B}),n.d(e,"min",function(){return I}),n.d(e,"pairs",function(){return c}),n.d(e,"permute",function(){return q}),n.d(e,"quantile",function(){return O}),n.d(e,"range",function(){return w}),n.d(e,"scan",function(){return U}),n.d(e,"shuffle",function(){return j}),n.d(e,"sum",function(){return Y}),n.d(e,"ticks",function(){return T}),n.d(e,"tickIncrement",function(){return S}),n.d(e,"tickStep",function(){return D}),n.d(e,"transpose",function(){return z}),n.d(e,"variance",function(){return p}),n.d(e,"zip",function(){return $}),n.d(e,"axisTop",function(){return rt}),n.d(e,"axisRight",function(){return it}),n.d(e,"axisBottom",function(){return at}),n.d(e,"axisLeft",function(){return ot}),n.d(e,"brush",function(){return Ta}),n.d(e,"brushX",function(){return Ea}),n.d(e,"brushY",function(){return Aa}),n.d(e,"brushSelection",function(){return ka}),n.d(e,"chord",function(){return Ra}),n.d(e,"ribbon",function(){return Wa}),n.d(e,"nest",function(){return Ka}),n.d(e,"set",function(){return oo}),n.d(e,"map",function(){return Ja}),n.d(e,"keys",function(){return uo}),n.d(e,"values",function(){return so}),n.d(e,"entries",function(){return co}),n.d(e,"color",function(){return je}),n.d(e,"rgb",function(){return $e}),n.d(e,"hsl",function(){return Ze}),n.d(e,"lab",function(){return ln}),n.d(e,"hcl",function(){return vn}),n.d(e,"lch",function(){return mn}),n.d(e,"gray",function(){return cn}),n.d(e,"cubehelix",function(){return Tn}),n.d(e,"contours",function(){return _o}),n.d(e,"contourDensity",function(){return To}),n.d(e,"dispatch",function(){return ht}),n.d(e,"drag",function(){return Ae}),n.d(e,"dragDisable",function(){return me}),n.d(e,"dragEnable",function(){return ve}),n.d(e,"dsvFormat",function(){return No}),n.d(e,"csvParse",function(){return Fo}),n.d(e,"csvParseRows",function(){return Po}),n.d(e,"csvFormat",function(){return Bo}),n.d(e,"csvFormatRows",function(){return Io}),n.d(e,"tsvParse",function(){return Uo}),n.d(e,"tsvParseRows",function(){return jo}),n.d(e,"tsvFormat",function(){return Yo}),n.d(e,"tsvFormatRows",function(){return zo}),n.d(e,"easeLinear",function(){return fi}),n.d(e,"easeQuad",function(){return pi}),n.d(e,"easeQuadIn",function(){return hi}),n.d(e,"easeQuadOut",function(){return di}),n.d(e,"easeQuadInOut",function(){return pi}),n.d(e,"easeCubic",function(){return mi}),n.d(e,"easeCubicIn",function(){return gi}),n.d(e,"easeCubicOut",function(){return yi}),n.d(e,"easeCubicInOut",function(){return mi}),n.d(e,"easePoly",function(){return _i}),n.d(e,"easePolyIn",function(){return vi}),n.d(e,"easePolyOut",function(){return bi}),n.d(e,"easePolyInOut",function(){return _i}),n.d(e,"easeSin",function(){return Ai}),n.d(e,"easeSinIn",function(){return ki}),n.d(e,"easeSinOut",function(){return Ei}),n.d(e,"easeSinInOut",function(){return Ai}),n.d(e,"easeExp",function(){return Di}),n.d(e,"easeExpIn",function(){return Ti}),n.d(e,"easeExpOut",function(){return Si}),n.d(e,"easeExpInOut",function(){return Di}),n.d(e,"easeCircle",function(){return Oi}),n.d(e,"easeCircleIn",function(){return Mi}),n.d(e,"easeCircleOut",function(){return Ci}),n.d(e,"easeCircleInOut",function(){return Oi}),n.d(e,"easeBounce",function(){return zi}),n.d(e,"easeBounceIn",function(){return Yi}),n.d(e,"easeBounceOut",function(){return zi}),n.d(e,"easeBounceInOut",function(){return Vi}),n.d(e,"easeBack",function(){return Gi}),n.d(e,"easeBackIn",function(){return $i}),n.d(e,"easeBackOut",function(){return Hi}),n.d(e,"easeBackInOut",function(){return Gi}),n.d(e,"easeElastic",function(){return Xi}),n.d(e,"easeElasticIn",function(){return Zi}),n.d(e,"easeElasticOut",function(){return Xi}),n.d(e,"easeElasticInOut",function(){return Ji}),n.d(e,"blob",function(){return $o}),n.d(e,"buffer",function(){return Go}),n.d(e,"dsv",function(){return Jo}),n.d(e,"csv",function(){return Ko}),n.d(e,"tsv",function(){return Qo}),n.d(e,"image",function(){return tu}),n.d(e,"json",function(){return nu}),n.d(e,"text",function(){return Zo}),n.d(e,"xml",function(){return iu}),n.d(e,"html",function(){return au}),n.d(e,"svg",function(){return ou}),n.d(e,"forceCenter",function(){return uu}),n.d(e,"forceCollide",function(){return _u}),n.d(e,"forceLink",function(){return ku}),n.d(e,"forceManyBody",function(){return Mu}),n.d(e,"forceRadial",function(){return Cu}),n.d(e,"forceSimulation",function(){return Du}),n.d(e,"forceX",function(){return Ou}),n.d(e,"forceY",function(){return Lu}),n.d(e,"formatDefaultLocale",function(){return Wu}),n.d(e,"format",function(){return Uu}),n.d(e,"formatPrefix",function(){return ju}),n.d(e,"formatLocale",function(){return Gu}),n.d(e,"formatSpecifier",function(){return Pu}),n.d(e,"precisionFixed",function(){return Zu}),n.d(e,"precisionPrefix",function(){return Xu}),n.d(e,"precisionRound",function(){return Ju}),n.d(e,"geoArea",function(){return zs}),n.d(e,"geoBounds",function(){return Fc}),n.d(e,"geoCentroid",function(){return Gc}),n.d(e,"geoCircle",function(){return il}),n.d(e,"geoClipAntimeridian",function(){return gl}),n.d(e,"geoClipCircle",function(){return yl}),n.d(e,"geoClipExtent",function(){return El}),n.d(e,"geoClipRectangle",function(){return _l}),n.d(e,"geoContains",function(){return Yl}),n.d(e,"geoDistance",function(){return Nl}),n.d(e,"geoGraticule",function(){return $l}),n.d(e,"geoGraticule10",function(){return Hl}),n.d(e,"geoInterpolate",function(){return Jl}),n.d(e,"geoLength",function(){return Cl}),n.d(e,"geoPath",function(){return Xf}),n.d(e,"geoAlbers",function(){return gh}),n.d(e,"geoAlbersUsa",function(){return yh}),n.d(e,"geoAzimuthalEqualArea",function(){return _h}),n.d(e,"geoAzimuthalEqualAreaRaw",function(){return bh}),n.d(e,"geoAzimuthalEquidistant",function(){return wh}),n.d(e,"geoAzimuthalEquidistantRaw",function(){return xh}),n.d(e,"geoConicConformal",function(){return Dh}),n.d(e,"geoConicConformalRaw",function(){return Sh}),n.d(e,"geoConicEqualArea",function(){return ph}),n.d(e,"geoConicEqualAreaRaw",function(){return dh}),n.d(e,"geoConicEquidistant",function(){return Lh}),n.d(e,"geoConicEquidistantRaw",function(){return Oh}),n.d(e,"geoEqualEarth",function(){return qh}),n.d(e,"geoEqualEarthRaw",function(){return Ih}),n.d(e,"geoEquirectangular",function(){return Ch}),n.d(e,"geoEquirectangularRaw",function(){return Mh}),n.d(e,"geoGnomonic",function(){return jh}),n.d(e,"geoGnomonicRaw",function(){return Uh}),n.d(e,"geoIdentity",function(){return zh}),n.d(e,"geoProjection",function(){return lh}),n.d(e,"geoProjectionMutator",function(){return fh}),n.d(e,"geoMercator",function(){return Eh}),n.d(e,"geoMercatorRaw",function(){return kh}),n.d(e,"geoNaturalEarth1",function(){return $h}),n.d(e,"geoNaturalEarth1Raw",function(){return Vh}),n.d(e,"geoOrthographic",function(){return Gh}),n.d(e,"geoOrthographicRaw",function(){return Hh}),n.d(e,"geoStereographic",function(){return Zh}),n.d(e,"geoStereographicRaw",function(){return Wh}),n.d(e,"geoTransverseMercator",function(){return Jh}),n.d(e,"geoTransverseMercatorRaw",function(){return Xh}),n.d(e,"geoRotation",function(){return el}),n.d(e,"geoStream",function(){return Fs}),n.d(e,"geoTransform",function(){return Jf}),n.d(e,"cluster",function(){return ed}),n.d(e,"hierarchy",function(){return rd}),n.d(e,"pack",function(){return Sd}),n.d(e,"packSiblings",function(){return wd}),n.d(e,"packEnclose",function(){return cd}),n.d(e,"partition",function(){return Nd}),n.d(e,"stratify",function(){return qd}),n.d(e,"tree",function(){return Hd}),n.d(e,"treemap",function(){return Jd}),n.d(e,"treemapBinary",function(){return Kd}),n.d(e,"treemapDice",function(){return Ld}),n.d(e,"treemapSlice",function(){return Gd}),n.d(e,"treemapSliceDice",function(){return Qd}),n.d(e,"treemapSquarify",function(){return Xd}),n.d(e,"treemapResquarify",function(){return tp}),n.d(e,"interpolate",function(){return Jn}),n.d(e,"interpolateArray",function(){return Un}),n.d(e,"interpolateBasis",function(){return Mn}),n.d(e,"interpolateBasisClosed",function(){return Cn}),n.d(e,"interpolateDate",function(){return jn}),n.d(e,"interpolateDiscrete",function(){return Kn}),n.d(e,"interpolateHue",function(){return Qn}),n.d(e,"interpolateNumber",function(){return Yn}),n.d(e,"interpolateObject",function(){return zn}),n.d(e,"interpolateRound",function(){return tr}),n.d(e,"interpolateString",function(){return Xn}),n.d(e,"interpolateTransformCss",function(){return ar}),n.d(e,"interpolateTransformSvg",function(){return or}),n.d(e,"interpolateZoom",function(){return cr}),n.d(e,"interpolateRgb",function(){return Pn}),n.d(e,"interpolateRgbBasis",function(){return In}),n.d(e,"interpolateRgbBasisClosed",function(){return qn}),n.d(e,"interpolateHsl",function(){return fr}),n.d(e,"interpolateHslLong",function(){return hr}),n.d(e,"interpolateLab",function(){return dr}),n.d(e,"interpolateHcl",function(){return gr}),n.d(e,"interpolateHclLong",function(){return yr}),n.d(e,"interpolateCubehelix",function(){return vr}),n.d(e,"interpolateCubehelixLong",function(){return br}),n.d(e,"piecewise",function(){return _r}),n.d(e,"quantize",function(){return kr}),n.d(e,"path",function(){return Ya}),n.d(e,"polygonArea",function(){return ep}),n.d(e,"polygonCentroid",function(){return np}),n.d(e,"polygonHull",function(){return op}),n.d(e,"polygonContains",function(){return up}),n.d(e,"polygonLength",function(){return sp}),n.d(e,"quadtree",function(){return pu}),n.d(e,"randomUniform",function(){return lp}),n.d(e,"randomNormal",function(){return fp}),n.d(e,"randomLogNormal",function(){return hp}),n.d(e,"randomBates",function(){return pp}),n.d(e,"randomIrwinHall",function(){return dp}),n.d(e,"randomExponential",function(){return gp}),n.d(e,"scaleBand",function(){return xp}),n.d(e,"scalePoint",function(){return wp}),n.d(e,"scaleIdentity",function(){return Rp}),n.d(e,"scaleLinear",function(){return Np}),n.d(e,"scaleLog",function(){return Yp}),n.d(e,"scaleOrdinal",function(){return _p}),n.d(e,"scaleImplicit",function(){return bp}),n.d(e,"scalePow",function(){return Vp}),n.d(e,"scaleSqrt",function(){return $p}),n.d(e,"scaleQuantile",function(){return Hp}),n.d(e,"scaleQuantize",function(){return Gp}),n.d(e,"scaleThreshold",function(){return Wp}),n.d(e,"scaleTime",function(){return Vm}),n.d(e,"scaleUtc",function(){return $m}),n.d(e,"scaleSequential",function(){return Hm}),n.d(e,"scaleDiverging",function(){return Gm}),n.d(e,"schemeCategory10",function(){return Zm}),n.d(e,"schemeAccent",function(){return Xm}),n.d(e,"schemeDark2",function(){return Jm}),n.d(e,"schemePaired",function(){return Km}),n.d(e,"schemePastel1",function(){return Qm}),n.d(e,"schemePastel2",function(){return tv}),n.d(e,"schemeSet1",function(){return ev}),n.d(e,"schemeSet2",function(){return nv}),n.d(e,"schemeSet3",function(){return rv}),n.d(e,"interpolateBrBG",function(){return ov}),n.d(e,"schemeBrBG",function(){return av}),n.d(e,"interpolatePRGn",function(){return sv}),n.d(e,"schemePRGn",function(){return uv}),n.d(e,"interpolatePiYG",function(){return lv}),n.d(e,"schemePiYG",function(){return cv}),n.d(e,"interpolatePuOr",function(){return hv}),n.d(e,"schemePuOr",function(){return fv}),n.d(e,"interpolateRdBu",function(){return pv}),n.d(e,"schemeRdBu",function(){return dv}),n.d(e,"interpolateRdGy",function(){return yv}),n.d(e,"schemeRdGy",function(){return gv}),n.d(e,"interpolateRdYlBu",function(){return vv}),n.d(e,"schemeRdYlBu",function(){return mv}),n.d(e,"interpolateRdYlGn",function(){return _v}),n.d(e,"schemeRdYlGn",function(){return bv}),n.d(e,"interpolateSpectral",function(){return wv}),n.d(e,"schemeSpectral",function(){return xv}),n.d(e,"interpolateBuGn",function(){return Ev}),n.d(e,"schemeBuGn",function(){return kv}),n.d(e,"interpolateBuPu",function(){return Tv}),n.d(e,"schemeBuPu",function(){return Av}),n.d(e,"interpolateGnBu",function(){return Dv}),n.d(e,"schemeGnBu",function(){return Sv}),n.d(e,"interpolateOrRd",function(){return Cv}),n.d(e,"schemeOrRd",function(){return Mv}),n.d(e,"interpolatePuBuGn",function(){return Lv}),n.d(e,"schemePuBuGn",function(){return Ov}),n.d(e,"interpolatePuBu",function(){return Rv}),n.d(e,"schemePuBu",function(){return Nv}),n.d(e,"interpolatePuRd",function(){return Pv}),n.d(e,"schemePuRd",function(){return Fv}),n.d(e,"interpolateRdPu",function(){return Iv}),n.d(e,"schemeRdPu",function(){return Bv}),n.d(e,"interpolateYlGnBu",function(){return Uv}),n.d(e,"schemeYlGnBu",function(){return qv}),n.d(e,"interpolateYlGn",function(){return Yv}),n.d(e,"schemeYlGn",function(){return jv}),n.d(e,"interpolateYlOrBr",function(){return Vv}),n.d(e,"schemeYlOrBr",function(){return zv}),n.d(e,"interpolateYlOrRd",function(){return Hv}),n.d(e,"schemeYlOrRd",function(){return $v}),n.d(e,"interpolateBlues",function(){return Wv}),n.d(e,"schemeBlues",function(){return Gv}),n.d(e,"interpolateGreens",function(){return Xv}),n.d(e,"schemeGreens",function(){return Zv}),n.d(e,"interpolateGreys",function(){return Kv}),n.d(e,"schemeGreys",function(){return Jv}),n.d(e,"interpolatePurples",function(){return tb}),n.d(e,"schemePurples",function(){return Qv}),n.d(e,"interpolateReds",function(){return nb}),n.d(e,"schemeReds",function(){return eb}),n.d(e,"interpolateOranges",function(){return ib}),n.d(e,"schemeOranges",function(){return rb}),n.d(e,"interpolateCubehelixDefault",function(){return ab}),n.d(e,"interpolateRainbow",function(){return cb}),n.d(e,"interpolateWarm",function(){return ob}),n.d(e,"interpolateCool",function(){return ub}),n.d(e,"interpolateSinebow",function(){return db}),n.d(e,"interpolateViridis",function(){return gb}),n.d(e,"interpolateMagma",function(){return yb}),n.d(e,"interpolateInferno",function(){return mb}),n.d(e,"interpolatePlasma",function(){return vb}),n.d(e,"create",function(){return ae}),n.d(e,"creator",function(){return yt}),n.d(e,"local",function(){return ue}),n.d(e,"matcher",function(){return Et}),n.d(e,"mouse",function(){return fe}),n.d(e,"namespace",function(){return gt}),n.d(e,"namespaces",function(){return pt}),n.d(e,"clientPoint",function(){return le}),n.d(e,"select",function(){return ie}),n.d(e,"selectAll",function(){return he}),n.d(e,"selection",function(){return re}),n.d(e,"selector",function(){return vt}),n.d(e,"selectorAll",function(){return _t}),n.d(e,"style",function(){return Lt}),n.d(e,"touch",function(){return de}),n.d(e,"touches",function(){return pe}),n.d(e,"window",function(){return Ot}),n.d(e,"event",function(){return Gt}),n.d(e,"customEvent",function(){return Kt}),n.d(e,"arc",function(){return Ib}),n.d(e,"area",function(){return Vb}),n.d(e,"line",function(){return zb}),n.d(e,"pie",function(){return Gb}),n.d(e,"areaRadial",function(){return Qb}),n.d(e,"radialArea",function(){return Qb}),n.d(e,"lineRadial",function(){return Kb}),n.d(e,"radialLine",function(){return Kb}),n.d(e,"pointRadial",function(){return t_}),n.d(e,"linkHorizontal",function(){return s_}),n.d(e,"linkVertical",function(){return c_}),n.d(e,"linkRadial",function(){return l_}),n.d(e,"symbol",function(){return D_}),n.d(e,"symbols",function(){return S_}),n.d(e,"symbolCircle",function(){return f_}),n.d(e,"symbolCross",function(){return h_}),n.d(e,"symbolDiamond",function(){return g_}),n.d(e,"symbolSquare",function(){return __}),n.d(e,"symbolStar",function(){return b_}),n.d(e,"symbolTriangle",function(){return w_}),n.d(e,"symbolWye",function(){return T_}),n.d(e,"curveBasisClosed",function(){return R_}),n.d(e,"curveBasisOpen",function(){return P_}),n.d(e,"curveBasis",function(){return L_}),n.d(e,"curveBundle",function(){return I_}),n.d(e,"curveCardinalClosed",function(){return z_}),n.d(e,"curveCardinalOpen",function(){return $_}),n.d(e,"curveCardinal",function(){return j_}),n.d(e,"curveCatmullRomClosed",function(){return X_}),n.d(e,"curveCatmullRomOpen",function(){return K_}),n.d(e,"curveCatmullRom",function(){return W_}),n.d(e,"curveLinearClosed",function(){return tx}),n.d(e,"curveLinear",function(){return Ub}),n.d(e,"curveMonotoneX",function(){return sx}),n.d(e,"curveMonotoneY",function(){return cx}),n.d(e,"curveNatural",function(){return hx}),n.d(e,"curveStep",function(){return px}),n.d(e,"curveStepAfter",function(){return yx}),n.d(e,"curveStepBefore",function(){return gx}),n.d(e,"stack",function(){return _x}),n.d(e,"stackOffsetExpand",function(){return xx}),n.d(e,"stackOffsetDiverging",function(){return wx}),n.d(e,"stackOffsetNone",function(){return mx}),n.d(e,"stackOffsetSilhouette",function(){return kx}),n.d(e,"stackOffsetWiggle",function(){return Ex}),n.d(e,"stackOrderAscending",function(){return Ax}),n.d(e,"stackOrderDescending",function(){return Sx}),n.d(e,"stackOrderInsideOut",function(){return Dx}),n.d(e,"stackOrderNone",function(){return vx}),n.d(e,"stackOrderReverse",function(){return Mx}),n.d(e,"timeInterval",function(){return Jp}),n.d(e,"timeMillisecond",function(){return Qp}),n.d(e,"timeMilliseconds",function(){return tg}),n.d(e,"utcMillisecond",function(){return Qp}),n.d(e,"utcMilliseconds",function(){return tg}),n.d(e,"timeSecond",function(){return ig}),n.d(e,"timeSeconds",function(){return ag}),n.d(e,"utcSecond",function(){return ig}),n.d(e,"utcSeconds",function(){return ag}),n.d(e,"timeMinute",function(){return ug}),n.d(e,"timeMinutes",function(){return sg}),n.d(e,"timeHour",function(){return lg}),n.d(e,"timeHours",function(){return fg}),n.d(e,"timeDay",function(){return dg}),n.d(e,"timeDays",function(){return pg}),n.d(e,"timeWeek",function(){return yg}),n.d(e,"timeWeeks",function(){return kg}),n.d(e,"timeSunday",function(){return yg}),n.d(e,"timeSundays",function(){return kg}),n.d(e,"timeMonday",function(){return mg}),n.d(e,"timeMondays",function(){return Eg}),n.d(e,"timeTuesday",function(){return vg}),n.d(e,"timeTuesdays",function(){return Ag}),n.d(e,"timeWednesday",function(){return bg}),n.d(e,"timeWednesdays",function(){return Tg}),n.d(e,"timeThursday",function(){return _g}),n.d(e,"timeThursdays",function(){return Sg}),n.d(e,"timeFriday",function(){return xg}),n.d(e,"timeFridays",function(){return Dg}),n.d(e,"timeSaturday",function(){return wg}),n.d(e,"timeSaturdays",function(){return Mg}),n.d(e,"timeMonth",function(){return Og}),n.d(e,"timeMonths",function(){return Lg}),n.d(e,"timeYear",function(){return Rg}),n.d(e,"timeYears",function(){return Fg}),n.d(e,"utcMinute",function(){return Bg}),n.d(e,"utcMinutes",function(){return Ig}),n.d(e,"utcHour",function(){return Ug}),n.d(e,"utcHours",function(){return jg}),n.d(e,"utcDay",function(){return zg}),n.d(e,"utcDays",function(){return Vg}),n.d(e,"utcWeek",function(){return Hg}),n.d(e,"utcWeeks",function(){return Qg}),n.d(e,"utcSunday",function(){return Hg}),n.d(e,"utcSundays",function(){return Qg}),n.d(e,"utcMonday",function(){return Gg}),n.d(e,"utcMondays",function(){return ty}),n.d(e,"utcTuesday",function(){return Wg}),n.d(e,"utcTuesdays",function(){return ey}),n.d(e,"utcWednesday",function(){return Zg}),n.d(e,"utcWednesdays",function(){return ny}),n.d(e,"utcThursday",function(){return Xg}),n.d(e,"utcThursdays",function(){return ry}),n.d(e,"utcFriday",function(){return Jg}),n.d(e,"utcFridays",function(){return iy}),n.d(e,"utcSaturday",function(){return Kg}),n.d(e,"utcSaturdays",function(){return ay}),n.d(e,"utcMonth",function(){return uy}),n.d(e,"utcMonths",function(){return sy}),n.d(e,"utcYear",function(){return ly}),n.d(e,"utcYears",function(){return fy}),n.d(e,"timeFormatDefaultLocale",function(){return Om}),n.d(e,"timeFormat",function(){return my}),n.d(e,"timeParse",function(){return vy}),n.d(e,"utcFormat",function(){return by}),n.d(e,"utcParse",function(){return _y}),n.d(e,"timeFormatLocale",function(){return gy}),n.d(e,"isoFormat",function(){return Lm}),n.d(e,"isoParse",function(){return Nm}),n.d(e,"now",function(){return Nr}),n.d(e,"timer",function(){return Pr}),n.d(e,"timerFlush",function(){return Br}),n.d(e,"timeout",function(){return jr}),n.d(e,"interval",function(){return Yr}),n.d(e,"transition",function(){return si}),n.d(e,"active",function(){return ea}),n.d(e,"interrupt",function(){return ni}),n.d(e,"voronoi",function(){return pw}),n.d(e,"zoom",function(){return Dw}),n.d(e,"zoomTransform",function(){return bw}),n.d(e,"zoomIdentity",function(){return vw})},function(t,e,n){(function(t,r){var i=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,2],n=[1,3],r=[1,4],i=[2,4],a=[1,9],o=[1,11],u=[1,12],s=[1,14],c=[1,15],l=[1,17],f=[1,18],h=[1,19],d=[1,20],p=[1,21],g=[1,22],y=[1,24],m=[1,25],v=[1,4,5,10,15,16,18,20,21,22,23,24,26,28,29,30,41],b=[1,33],_=[4,5,10,15,16,18,20,21,22,23,24,26,30,41],x=[4,5,10,15,16,18,20,21,22,23,24,26,29,30,41],w=[4,5,10,15,16,18,20,21,22,23,24,26,28,30,41],k=[39,40,41],E={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,participant:10,actor:11,AS:12,restOfLine:13,signal:14,activate:15,deactivate:16,note_statement:17,title:18,text2:19,loop:20,end:21,rect:22,opt:23,alt:24,else_sections:25,par:26,par_sections:27,and:28,else:29,note:30,placement:31,over:32,actor_pair:33,spaceList:34,",":35,left_of:36,right_of:37,signaltype:38,"+":39,"-":40,ACTOR:41,SOLID_OPEN_ARROW:42,DOTTED_OPEN_ARROW:43,SOLID_ARROW:44,DOTTED_ARROW:45,SOLID_CROSS:46,DOTTED_CROSS:47,TXT:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",10:"participant",12:"AS",13:"restOfLine",15:"activate",16:"deactivate",18:"title",20:"loop",21:"end",22:"rect",23:"opt",24:"alt",26:"par",28:"and",29:"else",30:"note",32:"over",35:",",36:"left_of",37:"right_of",39:"+",40:"-",41:"ACTOR",42:"SOLID_OPEN_ARROW",43:"DOTTED_OPEN_ARROW",44:"SOLID_ARROW",45:"DOTTED_ARROW",46:"SOLID_CROSS",47:"DOTTED_CROSS",48:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,5],[9,3],[9,2],[9,3],[9,3],[9,2],[9,3],[9,4],[9,4],[9,4],[9,4],[9,4],[27,1],[27,4],[25,1],[25,4],[17,4],[17,4],[34,2],[34,1],[33,3],[33,1],[31,1],[31,1],[14,5],[14,5],[14,4],[11,1],[38,1],[38,1],[38,1],[38,1],[38,1],[38,1],[19,1]],performAction:function(t,e,n,r,i,a,o){var u=a.length-1;switch(i){case 3:return r.apply(a[u]),a[u];case 4:this.$=[];break;case 5:a[u-1].push(a[u]),this.$=a[u-1];break;case 6:case 7:this.$=a[u];break;case 8:this.$=[];break;case 9:a[u-3].description=a[u-1],this.$=a[u-3];break;case 10:this.$=a[u-1];break;case 12:this.$={type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:a[u-1]};break;case 13:this.$={type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:a[u-1]};break;case 15:this.$=[{type:"setTitle",text:a[u-1]}];break;case 16:a[u-1].unshift({type:"loopStart",loopText:a[u-2],signalType:r.LINETYPE.LOOP_START}),a[u-1].push({type:"loopEnd",loopText:a[u-2],signalType:r.LINETYPE.LOOP_END}),this.$=a[u-1];break;case 17:a[u-1].unshift({type:"rectStart",color:a[u-2],signalType:r.LINETYPE.RECT_START}),a[u-1].push({type:"rectEnd",color:a[u-2],signalType:r.LINETYPE.RECT_END}),this.$=a[u-1];break;case 18:a[u-1].unshift({type:"optStart",optText:a[u-2],signalType:r.LINETYPE.OPT_START}),a[u-1].push({type:"optEnd",optText:a[u-2],signalType:r.LINETYPE.OPT_END}),this.$=a[u-1];break;case 19:a[u-1].unshift({type:"altStart",altText:a[u-2],signalType:r.LINETYPE.ALT_START}),a[u-1].push({type:"altEnd",signalType:r.LINETYPE.ALT_END}),this.$=a[u-1];break;case 20:a[u-1].unshift({type:"parStart",parText:a[u-2],signalType:r.LINETYPE.PAR_START}),a[u-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=a[u-1];break;case 22:this.$=a[u-3].concat([{type:"and",parText:a[u-1],signalType:r.LINETYPE.PAR_AND},a[u]]);break;case 24:this.$=a[u-3].concat([{type:"else",altText:a[u-1],signalType:r.LINETYPE.ALT_ELSE},a[u]]);break;case 25:this.$=[a[u-1],{type:"addNote",placement:a[u-2],actor:a[u-1].actor,text:a[u]}];break;case 26:a[u-2]=[].concat(a[u-1],a[u-1]).slice(0,2),a[u-2][0]=a[u-2][0].actor,a[u-2][1]=a[u-2][1].actor,this.$=[a[u-1],{type:"addNote",placement:r.PLACEMENT.OVER,actor:a[u-2].slice(0,2),text:a[u]}];break;case 29:this.$=[a[u-2],a[u]];break;case 30:this.$=a[u];break;case 31:this.$=r.PLACEMENT.LEFTOF;break;case 32:this.$=r.PLACEMENT.RIGHTOF;break;case 33:this.$=[a[u-4],a[u-1],{type:"addMessage",from:a[u-4].actor,to:a[u-1].actor,signalType:a[u-3],msg:a[u]},{type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:a[u-1]}];break;case 34:this.$=[a[u-4],a[u-1],{type:"addMessage",from:a[u-4].actor,to:a[u-1].actor,signalType:a[u-3],msg:a[u]},{type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:a[u-4]}];break;case 35:this.$=[a[u-3],a[u-1],{type:"addMessage",from:a[u-3].actor,to:a[u-1].actor,signalType:a[u-2],msg:a[u]}];break;case 36:this.$={type:"addActor",actor:a[u]};break;case 37:this.$=r.LINETYPE.SOLID_OPEN;break;case 38:this.$=r.LINETYPE.DOTTED_OPEN;break;case 39:this.$=r.LINETYPE.SOLID;break;case 40:this.$=r.LINETYPE.DOTTED;break;case 41:this.$=r.LINETYPE.SOLID_CROSS;break;case 42:this.$=r.LINETYPE.DOTTED_CROSS;break;case 43:this.$=a[u].substring(1).trim().replace(/\\n/gm,"\n")}},table:[{3:1,4:e,5:n,6:r},{1:[3]},{3:5,4:e,5:n,6:r},{3:6,4:e,5:n,6:r},t([1,4,5,10,15,16,18,20,22,23,24,26,30,41],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:a,5:o,8:8,9:10,10:u,11:23,14:13,15:s,16:c,17:16,18:l,20:f,22:h,23:d,24:p,26:g,30:y,41:m},t(v,[2,5]),{9:26,10:u,11:23,14:13,15:s,16:c,17:16,18:l,20:f,22:h,23:d,24:p,26:g,30:y,41:m},t(v,[2,7]),t(v,[2,8]),{11:27,41:m},{5:[1,28]},{11:29,41:m},{11:30,41:m},{5:[1,31]},{19:32,48:b},{13:[1,34]},{13:[1,35]},{13:[1,36]},{13:[1,37]},{13:[1,38]},{38:39,42:[1,40],43:[1,41],44:[1,42],45:[1,43],46:[1,44],47:[1,45]},{31:46,32:[1,47],36:[1,48],37:[1,49]},t([5,12,35,42,43,44,45,46,47,48],[2,36]),t(v,[2,6]),{5:[1,51],12:[1,50]},t(v,[2,11]),{5:[1,52]},{5:[1,53]},t(v,[2,14]),{5:[1,54]},{5:[2,43]},t(_,i,{7:55}),t(_,i,{7:56}),t(_,i,{7:57}),t(x,i,{25:58,7:59}),t(w,i,{27:60,7:61}),{11:64,39:[1,62],40:[1,63],41:m},t(k,[2,37]),t(k,[2,38]),t(k,[2,39]),t(k,[2,40]),t(k,[2,41]),t(k,[2,42]),{11:65,41:m},{11:67,33:66,41:m},{41:[2,31]},{41:[2,32]},{13:[1,68]},t(v,[2,10]),t(v,[2,12]),t(v,[2,13]),t(v,[2,15]),{4:a,5:o,8:8,9:10,10:u,11:23,14:13,15:s,16:c,17:16,18:l,20:f,21:[1,69],22:h,23:d,24:p,26:g,30:y,41:m},{4:a,5:o,8:8,9:10,10:u,11:23,14:13,15:s,16:c,17:16,18:l,20:f,21:[1,70],22:h,23:d,24:p,26:g,30:y,41:m},{4:a,5:o,8:8,9:10,10:u,11:23,14:13,15:s,16:c,17:16,18:l,20:f,21:[1,71],22:h,23:d,24:p,26:g,30:y,41:m},{21:[1,72]},{4:a,5:o,8:8,9:10,10:u,11:23,14:13,15:s,16:c,17:16,18:l,20:f,21:[2,23],22:h,23:d,24:p,26:g,29:[1,73],30:y,41:m},{21:[1,74]},{4:a,5:o,8:8,9:10,10:u,11:23,14:13,15:s,16:c,17:16,18:l,20:f,21:[2,21],22:h,23:d,24:p,26:g,28:[1,75],30:y,41:m},{11:76,41:m},{11:77,41:m},{19:78,48:b},{19:79,48:b},{19:80,48:b},{35:[1,81],48:[2,30]},{5:[1,82]},t(v,[2,16]),t(v,[2,17]),t(v,[2,18]),t(v,[2,19]),{13:[1,83]},t(v,[2,20]),{13:[1,84]},{19:85,48:b},{19:86,48:b},{5:[2,35]},{5:[2,25]},{5:[2,26]},{11:87,41:m},t(v,[2,9]),t(x,i,{7:59,25:88}),t(w,i,{7:61,27:89}),{5:[2,33]},{5:[2,34]},{48:[2,29]},{21:[2,24]},{21:[2,22]}],defaultActions:{5:[2,1],6:[2,2],33:[2,43],48:[2,31],49:[2,32],78:[2,35],79:[2,25],80:[2,26],85:[2,33],86:[2,34],87:[2,29],88:[2,24],89:[2,22]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,u="",s=0,c=0,l=0,f=1,h=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(p.yy[g]=this.yy[g]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var y=d.yylloc;a.push(y);var m=d.options&&d.options.ranges;"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var v,b,_,x,w,k,E,A,T,S,D={};;){if(_=n[n.length-1],this.defaultActions[_]?x=this.defaultActions[_]:(null==v&&(S=void 0,"number"!=typeof(S=r.pop()||d.lex()||f)&&(S instanceof Array&&(S=(r=S).pop()),S=e.symbols_[S]||S),v=S),x=o[_]&&o[_][v]),void 0===x||!x.length||!x[0]){var M="";for(k in T=[],o[_])this.terminals_[k]&&k>2&&T.push("'"+this.terminals_[k]+"'");M=d.showPosition?"Parse error on line "+(s+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(s+1)+": Unexpected "+(v==f?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(M,{text:d.match,token:this.terminals_[v]||v,line:d.yylineno,loc:y,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+v);switch(x[0]){case 1:n.push(v),i.push(d.yytext),a.push(d.yylloc),n.push(x[1]),v=null,b?(v=b,b=null):(c=d.yyleng,u=d.yytext,s=d.yylineno,y=d.yylloc,l>0&&l--);break;case 2:if(E=this.productions_[x[1]][1],D.$=i[i.length-E],D._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},m&&(D._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(w=this.performAction.apply(D,[u,c,s,p.yy,x[1],i,a].concat(h))))return w;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),i.push(D.$),a.push(D._$),A=o[n[n.length-2]][n[n.length-1]],n.push(A);break;case 3:return!0}}return!0}},A={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return 5;case 1:case 2:case 3:case 4:break;case 5:return this.begin("ID"),10;case 6:return e.yytext=e.yytext.trim(),this.begin("ALIAS"),41;case 7:return this.popState(),this.popState(),this.begin("LINE"),12;case 8:return this.popState(),this.popState(),5;case 9:return this.begin("LINE"),20;case 10:return this.begin("LINE"),22;case 11:return this.begin("LINE"),23;case 12:return this.begin("LINE"),24;case 13:return this.begin("LINE"),29;case 14:return this.begin("LINE"),26;case 15:return this.begin("LINE"),28;case 16:return this.popState(),13;case 17:return 21;case 18:return 36;case 19:return 37;case 20:return 32;case 21:return 30;case 22:return this.begin("ID"),15;case 23:return this.begin("ID"),16;case 24:return 18;case 25:return 6;case 26:return 35;case 27:return 5;case 28:return e.yytext=e.yytext.trim(),41;case 29:return 44;case 30:return 45;case 31:return 42;case 32:return 43;case 33:return 46;case 34:return 47;case 35:return 48;case 36:return 39;case 37:return 40;case 38:return 5;case 39:return"INVALID"}},rules:[/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:participant\b)/i,/^(?:[^\->:\n,;]+?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:and\b)/i,/^(?:[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\b)/i,/^(?:sequenceDiagram\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\+\->:\n,;]+)/i,/^(?:->>)/i,/^(?:-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?::[^#\n;]+)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[2,3,16],inclusive:!1},ALIAS:{rules:[2,3,7,8],inclusive:!1},ID:{rules:[2,3,6],inclusive:!1},INITIAL:{rules:[0,1,3,4,5,9,10,11,12,13,14,15,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],inclusive:!0}}};function T(){this.yy={}}return E.lexer=A,T.prototype=E,E.Parser=T,new T}();e.parser=i,e.Parser=i.Parser,e.parse=function(){return i.parse.apply(i,arguments)},e.main=function(r){r[1]||(console.log("Usage: "+r[0]+" FILE"),t.exit(1));var i=n(9).readFileSync(n(10).normalize(r[1]),"utf8");return e.parser.parse(i)},n.c[n.s]===r&&e.main(t.argv.slice(1))}).call(this,n(8),n(4)(t))},function(t,e,n){var r;try{r=n(3)}catch(t){}r||(r=window._),t.exports=r},function(t,e,n){(function(t,n){(function(){var r,i=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",o="Expected a function",u="__lodash_hash_undefined__",s=500,c="__lodash_placeholder__",l=1,f=2,h=4,d=1,p=2,g=1,y=2,m=4,v=8,b=16,_=32,x=64,w=128,k=256,E=512,A=30,T="...",S=800,D=16,M=1,C=2,O=1/0,L=9007199254740991,N=1.7976931348623157e308,R=NaN,F=4294967295,P=F-1,B=F>>>1,I=[["ary",w],["bind",g],["bindKey",y],["curry",v],["curryRight",b],["flip",E],["partial",_],["partialRight",x],["rearg",k]],q="[object Arguments]",U="[object Array]",j="[object AsyncFunction]",Y="[object Boolean]",z="[object Date]",V="[object DOMException]",$="[object Error]",H="[object Function]",G="[object GeneratorFunction]",W="[object Map]",Z="[object Number]",X="[object Null]",J="[object Object]",K="[object Proxy]",Q="[object RegExp]",tt="[object Set]",et="[object String]",nt="[object Symbol]",rt="[object Undefined]",it="[object WeakMap]",at="[object WeakSet]",ot="[object ArrayBuffer]",ut="[object DataView]",st="[object Float32Array]",ct="[object Float64Array]",lt="[object Int8Array]",ft="[object Int16Array]",ht="[object Int32Array]",dt="[object Uint8Array]",pt="[object Uint8ClampedArray]",gt="[object Uint16Array]",yt="[object Uint32Array]",mt=/\b__p \+= '';/g,vt=/\b(__p \+=) '' \+/g,bt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_t=/&(?:amp|lt|gt|quot|#39);/g,xt=/[&<>"']/g,wt=RegExp(_t.source),kt=RegExp(xt.source),Et=/<%-([\s\S]+?)%>/g,At=/<%([\s\S]+?)%>/g,Tt=/<%=([\s\S]+?)%>/g,St=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Dt=/^\w*$/,Mt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ct=/[\\^$.*+?()[\]{}|]/g,Ot=RegExp(Ct.source),Lt=/^\s+|\s+$/g,Nt=/^\s+/,Rt=/\s+$/,Ft=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Pt=/\{\n\/\* \[wrapped with (.+)\] \*/,Bt=/,? & /,It=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,qt=/\\(\\)?/g,Ut=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,jt=/\w*$/,Yt=/^[-+]0x[0-9a-f]+$/i,zt=/^0b[01]+$/i,Vt=/^\[object .+?Constructor\]$/,$t=/^0o[0-7]+$/i,Ht=/^(?:0|[1-9]\d*)$/,Gt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Wt=/($^)/,Zt=/['\n\r\u2028\u2029\\]/g,Xt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Jt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Kt="[\\ud800-\\udfff]",Qt="["+Jt+"]",te="["+Xt+"]",ee="\\d+",ne="[\\u2700-\\u27bf]",re="[a-z\\xdf-\\xf6\\xf8-\\xff]",ie="[^\\ud800-\\udfff"+Jt+ee+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ae="\\ud83c[\\udffb-\\udfff]",oe="[^\\ud800-\\udfff]",ue="(?:\\ud83c[\\udde6-\\uddff]){2}",se="[\\ud800-\\udbff][\\udc00-\\udfff]",ce="[A-Z\\xc0-\\xd6\\xd8-\\xde]",le="(?:"+re+"|"+ie+")",fe="(?:"+ce+"|"+ie+")",he="(?:"+te+"|"+ae+")"+"?",de="[\\ufe0e\\ufe0f]?"+he+("(?:\\u200d(?:"+[oe,ue,se].join("|")+")[\\ufe0e\\ufe0f]?"+he+")*"),pe="(?:"+[ne,ue,se].join("|")+")"+de,ge="(?:"+[oe+te+"?",te,ue,se,Kt].join("|")+")",ye=RegExp("['’]","g"),me=RegExp(te,"g"),ve=RegExp(ae+"(?="+ae+")|"+ge+de,"g"),be=RegExp([ce+"?"+re+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[Qt,ce,"$"].join("|")+")",fe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[Qt,ce+le,"$"].join("|")+")",ce+"?"+le+"+(?:['’](?:d|ll|m|re|s|t|ve))?",ce+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ee,pe].join("|"),"g"),_e=RegExp("[\\u200d\\ud800-\\udfff"+Xt+"\\ufe0e\\ufe0f]"),xe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,we=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ke=-1,Ee={};Ee[st]=Ee[ct]=Ee[lt]=Ee[ft]=Ee[ht]=Ee[dt]=Ee[pt]=Ee[gt]=Ee[yt]=!0,Ee[q]=Ee[U]=Ee[ot]=Ee[Y]=Ee[ut]=Ee[z]=Ee[$]=Ee[H]=Ee[W]=Ee[Z]=Ee[J]=Ee[Q]=Ee[tt]=Ee[et]=Ee[it]=!1;var Ae={};Ae[q]=Ae[U]=Ae[ot]=Ae[ut]=Ae[Y]=Ae[z]=Ae[st]=Ae[ct]=Ae[lt]=Ae[ft]=Ae[ht]=Ae[W]=Ae[Z]=Ae[J]=Ae[Q]=Ae[tt]=Ae[et]=Ae[nt]=Ae[dt]=Ae[pt]=Ae[gt]=Ae[yt]=!0,Ae[$]=Ae[H]=Ae[it]=!1;var Te={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Se=parseFloat,De=parseInt,Me="object"==typeof t&&t&&t.Object===Object&&t,Ce="object"==typeof self&&self&&self.Object===Object&&self,Oe=Me||Ce||Function("return this")(),Le=e&&!e.nodeType&&e,Ne=Le&&"object"==typeof n&&n&&!n.nodeType&&n,Re=Ne&&Ne.exports===Le,Fe=Re&&Me.process,Pe=function(){try{var t=Ne&&Ne.require&&Ne.require("util").types;return t||Fe&&Fe.binding&&Fe.binding("util")}catch(t){}}(),Be=Pe&&Pe.isArrayBuffer,Ie=Pe&&Pe.isDate,qe=Pe&&Pe.isMap,Ue=Pe&&Pe.isRegExp,je=Pe&&Pe.isSet,Ye=Pe&&Pe.isTypedArray;function ze(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Ve(t,e,n,r){for(var i=-1,a=null==t?0:t.length;++i<a;){var o=t[i];e(r,o,n(o),t)}return r}function $e(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function He(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function Ge(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function We(t,e){for(var n=-1,r=null==t?0:t.length,i=0,a=[];++n<r;){var o=t[n];e(o,n,t)&&(a[i++]=o)}return a}function Ze(t,e){return!!(null==t?0:t.length)&&on(t,e,0)>-1}function Xe(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function Je(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function Ke(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function Qe(t,e,n,r){var i=-1,a=null==t?0:t.length;for(r&&a&&(n=t[++i]);++i<a;)n=e(n,t[i],i,t);return n}function tn(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function en(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}var nn=ln("length");function rn(t,e,n){var r;return n(t,function(t,n,i){if(e(t,n,i))return r=n,!1}),r}function an(t,e,n,r){for(var i=t.length,a=n+(r?1:-1);r?a--:++a<i;)if(e(t[a],a,t))return a;return-1}function on(t,e,n){return e==e?function(t,e,n){var r=n-1,i=t.length;for(;++r<i;)if(t[r]===e)return r;return-1}(t,e,n):an(t,sn,n)}function un(t,e,n,r){for(var i=n-1,a=t.length;++i<a;)if(r(t[i],e))return i;return-1}function sn(t){return t!=t}function cn(t,e){var n=null==t?0:t.length;return n?dn(t,e)/n:R}function ln(t){return function(e){return null==e?r:e[t]}}function fn(t){return function(e){return null==t?r:t[e]}}function hn(t,e,n,r,i){return i(t,function(t,i,a){n=r?(r=!1,t):e(n,t,i,a)}),n}function dn(t,e){for(var n,i=-1,a=t.length;++i<a;){var o=e(t[i]);o!==r&&(n=n===r?o:n+o)}return n}function pn(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function gn(t){return function(e){return t(e)}}function yn(t,e){return Je(e,function(e){return t[e]})}function mn(t,e){return t.has(e)}function vn(t,e){for(var n=-1,r=t.length;++n<r&&on(e,t[n],0)>-1;);return n}function bn(t,e){for(var n=t.length;n--&&on(e,t[n],0)>-1;);return n}var _n=fn({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),xn=fn({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function wn(t){return"\\"+Te[t]}function kn(t){return _e.test(t)}function En(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function An(t,e){return function(n){return t(e(n))}}function Tn(t,e){for(var n=-1,r=t.length,i=0,a=[];++n<r;){var o=t[n];o!==e&&o!==c||(t[n]=c,a[i++]=n)}return a}function Sn(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function Dn(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function Mn(t){return kn(t)?function(t){var e=ve.lastIndex=0;for(;ve.test(t);)++e;return e}(t):nn(t)}function Cn(t){return kn(t)?function(t){return t.match(ve)||[]}(t):function(t){return t.split("")}(t)}var On=fn({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var Ln=function t(e){var n,Xt=(e=null==e?Oe:Ln.defaults(Oe.Object(),e,Ln.pick(Oe,we))).Array,Jt=e.Date,Kt=e.Error,Qt=e.Function,te=e.Math,ee=e.Object,ne=e.RegExp,re=e.String,ie=e.TypeError,ae=Xt.prototype,oe=Qt.prototype,ue=ee.prototype,se=e["__core-js_shared__"],ce=oe.toString,le=ue.hasOwnProperty,fe=0,he=(n=/[^.]+$/.exec(se&&se.keys&&se.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",de=ue.toString,pe=ce.call(ee),ge=Oe._,ve=ne("^"+ce.call(le).replace(Ct,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),_e=Re?e.Buffer:r,Te=e.Symbol,Me=e.Uint8Array,Ce=_e?_e.allocUnsafe:r,Le=An(ee.getPrototypeOf,ee),Ne=ee.create,Fe=ue.propertyIsEnumerable,Pe=ae.splice,nn=Te?Te.isConcatSpreadable:r,fn=Te?Te.iterator:r,Nn=Te?Te.toStringTag:r,Rn=function(){try{var t=Ia(ee,"defineProperty");return t({},"",{}),t}catch(t){}}(),Fn=e.clearTimeout!==Oe.clearTimeout&&e.clearTimeout,Pn=Jt&&Jt.now!==Oe.Date.now&&Jt.now,Bn=e.setTimeout!==Oe.setTimeout&&e.setTimeout,In=te.ceil,qn=te.floor,Un=ee.getOwnPropertySymbols,jn=_e?_e.isBuffer:r,Yn=e.isFinite,zn=ae.join,Vn=An(ee.keys,ee),$n=te.max,Hn=te.min,Gn=Jt.now,Wn=e.parseInt,Zn=te.random,Xn=ae.reverse,Jn=Ia(e,"DataView"),Kn=Ia(e,"Map"),Qn=Ia(e,"Promise"),tr=Ia(e,"Set"),er=Ia(e,"WeakMap"),nr=Ia(ee,"create"),rr=er&&new er,ir={},ar=lo(Jn),or=lo(Kn),ur=lo(Qn),sr=lo(tr),cr=lo(er),lr=Te?Te.prototype:r,fr=lr?lr.valueOf:r,hr=lr?lr.toString:r;function dr(t){if(Du(t)&&!mu(t)&&!(t instanceof mr)){if(t instanceof yr)return t;if(le.call(t,"__wrapped__"))return fo(t)}return new yr(t)}var pr=function(){function t(){}return function(e){if(!Su(e))return{};if(Ne)return Ne(e);t.prototype=e;var n=new t;return t.prototype=r,n}}();function gr(){}function yr(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=r}function mr(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=F,this.__views__=[]}function vr(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function br(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function _r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function xr(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new _r;++e<n;)this.add(t[e])}function wr(t){var e=this.__data__=new br(t);this.size=e.size}function kr(t,e){var n=mu(t),r=!n&&yu(t),i=!n&&!r&&xu(t),a=!n&&!r&&!i&&Pu(t),o=n||r||i||a,u=o?pn(t.length,re):[],s=u.length;for(var c in t)!e&&!le.call(t,c)||o&&("length"==c||i&&("offset"==c||"parent"==c)||a&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||$a(c,s))||u.push(c);return u}function Er(t){var e=t.length;return e?t[xi(0,e-1)]:r}function Ar(t,e){return uo(na(t),Rr(e,0,t.length))}function Tr(t){return uo(na(t))}function Sr(t,e,n){(n===r||du(t[e],n))&&(n!==r||e in t)||Lr(t,e,n)}function Dr(t,e,n){var i=t[e];le.call(t,e)&&du(i,n)&&(n!==r||e in t)||Lr(t,e,n)}function Mr(t,e){for(var n=t.length;n--;)if(du(t[n][0],e))return n;return-1}function Cr(t,e,n,r){return qr(t,function(t,i,a){e(r,t,n(t),a)}),r}function Or(t,e){return t&&ra(e,is(e),t)}function Lr(t,e,n){"__proto__"==e&&Rn?Rn(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function Nr(t,e){for(var n=-1,i=e.length,a=Xt(i),o=null==t;++n<i;)a[n]=o?r:Qu(t,e[n]);return a}function Rr(t,e,n){return t==t&&(n!==r&&(t=t<=n?t:n),e!==r&&(t=t>=e?t:e)),t}function Fr(t,e,n,i,a,o){var u,s=e&l,c=e&f,d=e&h;if(n&&(u=a?n(t,i,a,o):n(t)),u!==r)return u;if(!Su(t))return t;var p=mu(t);if(p){if(u=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&le.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!s)return na(t,u)}else{var g=ja(t),y=g==H||g==G;if(xu(t))return Xi(t,s);if(g==J||g==q||y&&!a){if(u=c||y?{}:za(t),!s)return c?function(t,e){return ra(t,Ua(t),e)}(t,function(t,e){return t&&ra(e,as(e),t)}(u,t)):function(t,e){return ra(t,qa(t),e)}(t,Or(u,t))}else{if(!Ae[g])return a?t:{};u=function(t,e,n){var r,i,a,o=t.constructor;switch(e){case ot:return Ji(t);case Y:case z:return new o(+t);case ut:return function(t,e){var n=e?Ji(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case st:case ct:case lt:case ft:case ht:case dt:case pt:case gt:case yt:return Ki(t,n);case W:return new o;case Z:case et:return new o(t);case Q:return(a=new(i=t).constructor(i.source,jt.exec(i))).lastIndex=i.lastIndex,a;case tt:return new o;case nt:return r=t,fr?ee(fr.call(r)):{}}}(t,g,s)}}o||(o=new wr);var m=o.get(t);if(m)return m;o.set(t,u),Nu(t)?t.forEach(function(r){u.add(Fr(r,e,n,r,t,o))}):Mu(t)&&t.forEach(function(r,i){u.set(i,Fr(r,e,n,i,t,o))});var v=p?r:(d?c?Oa:Ca:c?as:is)(t);return $e(v||t,function(r,i){v&&(r=t[i=r]),Dr(u,i,Fr(r,e,n,i,t,o))}),u}function Pr(t,e,n){var i=n.length;if(null==t)return!i;for(t=ee(t);i--;){var a=n[i],o=e[a],u=t[a];if(u===r&&!(a in t)||!o(u))return!1}return!0}function Br(t,e,n){if("function"!=typeof t)throw new ie(o);return ro(function(){t.apply(r,n)},e)}function Ir(t,e,n,r){var a=-1,o=Ze,u=!0,s=t.length,c=[],l=e.length;if(!s)return c;n&&(e=Je(e,gn(n))),r?(o=Xe,u=!1):e.length>=i&&(o=mn,u=!1,e=new xr(e));t:for(;++a<s;){var f=t[a],h=null==n?f:n(f);if(f=r||0!==f?f:0,u&&h==h){for(var d=l;d--;)if(e[d]===h)continue t;c.push(f)}else o(e,h,r)||c.push(f)}return c}dr.templateSettings={escape:Et,evaluate:At,interpolate:Tt,variable:"",imports:{_:dr}},dr.prototype=gr.prototype,dr.prototype.constructor=dr,yr.prototype=pr(gr.prototype),yr.prototype.constructor=yr,mr.prototype=pr(gr.prototype),mr.prototype.constructor=mr,vr.prototype.clear=function(){this.__data__=nr?nr(null):{},this.size=0},vr.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},vr.prototype.get=function(t){var e=this.__data__;if(nr){var n=e[t];return n===u?r:n}return le.call(e,t)?e[t]:r},vr.prototype.has=function(t){var e=this.__data__;return nr?e[t]!==r:le.call(e,t)},vr.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=nr&&e===r?u:e,this},br.prototype.clear=function(){this.__data__=[],this.size=0},br.prototype.delete=function(t){var e=this.__data__,n=Mr(e,t);return!(n<0||(n==e.length-1?e.pop():Pe.call(e,n,1),--this.size,0))},br.prototype.get=function(t){var e=this.__data__,n=Mr(e,t);return n<0?r:e[n][1]},br.prototype.has=function(t){return Mr(this.__data__,t)>-1},br.prototype.set=function(t,e){var n=this.__data__,r=Mr(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},_r.prototype.clear=function(){this.size=0,this.__data__={hash:new vr,map:new(Kn||br),string:new vr}},_r.prototype.delete=function(t){var e=Pa(this,t).delete(t);return this.size-=e?1:0,e},_r.prototype.get=function(t){return Pa(this,t).get(t)},_r.prototype.has=function(t){return Pa(this,t).has(t)},_r.prototype.set=function(t,e){var n=Pa(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},xr.prototype.add=xr.prototype.push=function(t){return this.__data__.set(t,u),this},xr.prototype.has=function(t){return this.__data__.has(t)},wr.prototype.clear=function(){this.__data__=new br,this.size=0},wr.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},wr.prototype.get=function(t){return this.__data__.get(t)},wr.prototype.has=function(t){return this.__data__.has(t)},wr.prototype.set=function(t,e){var n=this.__data__;if(n instanceof br){var r=n.__data__;if(!Kn||r.length<i-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new _r(r)}return n.set(t,e),this.size=n.size,this};var qr=oa(Gr),Ur=oa(Wr,!0);function jr(t,e){var n=!0;return qr(t,function(t,r,i){return n=!!e(t,r,i)}),n}function Yr(t,e,n){for(var i=-1,a=t.length;++i<a;){var o=t[i],u=e(o);if(null!=u&&(s===r?u==u&&!Fu(u):n(u,s)))var s=u,c=o}return c}function zr(t,e){var n=[];return qr(t,function(t,r,i){e(t,r,i)&&n.push(t)}),n}function Vr(t,e,n,r,i){var a=-1,o=t.length;for(n||(n=Va),i||(i=[]);++a<o;){var u=t[a];e>0&&n(u)?e>1?Vr(u,e-1,n,r,i):Ke(i,u):r||(i[i.length]=u)}return i}var $r=ua(),Hr=ua(!0);function Gr(t,e){return t&&$r(t,e,is)}function Wr(t,e){return t&&Hr(t,e,is)}function Zr(t,e){return We(e,function(e){return Eu(t[e])})}function Xr(t,e){for(var n=0,i=(e=Hi(e,t)).length;null!=t&&n<i;)t=t[co(e[n++])];return n&&n==i?t:r}function Jr(t,e,n){var r=e(t);return mu(t)?r:Ke(r,n(t))}function Kr(t){return null==t?t===r?rt:X:Nn&&Nn in ee(t)?function(t){var e=le.call(t,Nn),n=t[Nn];try{t[Nn]=r;var i=!0}catch(t){}var a=de.call(t);return i&&(e?t[Nn]=n:delete t[Nn]),a}(t):function(t){return de.call(t)}(t)}function Qr(t,e){return t>e}function ti(t,e){return null!=t&&le.call(t,e)}function ei(t,e){return null!=t&&e in ee(t)}function ni(t,e,n){for(var i=n?Xe:Ze,a=t[0].length,o=t.length,u=o,s=Xt(o),c=1/0,l=[];u--;){var f=t[u];u&&e&&(f=Je(f,gn(e))),c=Hn(f.length,c),s[u]=!n&&(e||a>=120&&f.length>=120)?new xr(u&&f):r}f=t[0];var h=-1,d=s[0];t:for(;++h<a&&l.length<c;){var p=f[h],g=e?e(p):p;if(p=n||0!==p?p:0,!(d?mn(d,g):i(l,g,n))){for(u=o;--u;){var y=s[u];if(!(y?mn(y,g):i(t[u],g,n)))continue t}d&&d.push(g),l.push(p)}}return l}function ri(t,e,n){var i=null==(t=to(t,e=Hi(e,t)))?t:t[co(ko(e))];return null==i?r:ze(i,t,n)}function ii(t){return Du(t)&&Kr(t)==q}function ai(t,e,n,i,a){return t===e||(null==t||null==e||!Du(t)&&!Du(e)?t!=t&&e!=e:function(t,e,n,i,a,o){var u=mu(t),s=mu(e),c=u?U:ja(t),l=s?U:ja(e),f=(c=c==q?J:c)==J,h=(l=l==q?J:l)==J,g=c==l;if(g&&xu(t)){if(!xu(e))return!1;u=!0,f=!1}if(g&&!f)return o||(o=new wr),u||Pu(t)?Da(t,e,n,i,a,o):function(t,e,n,r,i,a,o){switch(n){case ut:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ot:return!(t.byteLength!=e.byteLength||!a(new Me(t),new Me(e)));case Y:case z:case Z:return du(+t,+e);case $:return t.name==e.name&&t.message==e.message;case Q:case et:return t==e+"";case W:var u=En;case tt:var s=r&d;if(u||(u=Sn),t.size!=e.size&&!s)return!1;var c=o.get(t);if(c)return c==e;r|=p,o.set(t,e);var l=Da(u(t),u(e),r,i,a,o);return o.delete(t),l;case nt:if(fr)return fr.call(t)==fr.call(e)}return!1}(t,e,c,n,i,a,o);if(!(n&d)){var y=f&&le.call(t,"__wrapped__"),m=h&&le.call(e,"__wrapped__");if(y||m){var v=y?t.value():t,b=m?e.value():e;return o||(o=new wr),a(v,b,n,i,o)}}return!!g&&(o||(o=new wr),function(t,e,n,i,a,o){var u=n&d,s=Ca(t),c=s.length,l=Ca(e).length;if(c!=l&&!u)return!1;for(var f=c;f--;){var h=s[f];if(!(u?h in e:le.call(e,h)))return!1}var p=o.get(t);if(p&&o.get(e))return p==e;var g=!0;o.set(t,e),o.set(e,t);for(var y=u;++f<c;){h=s[f];var m=t[h],v=e[h];if(i)var b=u?i(v,m,h,e,t,o):i(m,v,h,t,e,o);if(!(b===r?m===v||a(m,v,n,i,o):b)){g=!1;break}y||(y="constructor"==h)}if(g&&!y){var _=t.constructor,x=e.constructor;_!=x&&"constructor"in t&&"constructor"in e&&!("function"==typeof _&&_ instanceof _&&"function"==typeof x&&x instanceof x)&&(g=!1)}return o.delete(t),o.delete(e),g}(t,e,n,i,a,o))}(t,e,n,i,ai,a))}function oi(t,e,n,i){var a=n.length,o=a,u=!i;if(null==t)return!o;for(t=ee(t);a--;){var s=n[a];if(u&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++a<o;){var c=(s=n[a])[0],l=t[c],f=s[1];if(u&&s[2]){if(l===r&&!(c in t))return!1}else{var h=new wr;if(i)var g=i(l,f,c,t,e,h);if(!(g===r?ai(f,l,d|p,i,h):g))return!1}}return!0}function ui(t){return!(!Su(t)||(e=t,he&&he in e))&&(Eu(t)?ve:Vt).test(lo(t));var e}function si(t){return"function"==typeof t?t:null==t?Cs:"object"==typeof t?mu(t)?pi(t[0],t[1]):di(t):qs(t)}function ci(t){if(!Xa(t))return Vn(t);var e=[];for(var n in ee(t))le.call(t,n)&&"constructor"!=n&&e.push(n);return e}function li(t){if(!Su(t))return function(t){var e=[];if(null!=t)for(var n in ee(t))e.push(n);return e}(t);var e=Xa(t),n=[];for(var r in t)("constructor"!=r||!e&&le.call(t,r))&&n.push(r);return n}function fi(t,e){return t<e}function hi(t,e){var n=-1,r=bu(t)?Xt(t.length):[];return qr(t,function(t,i,a){r[++n]=e(t,i,a)}),r}function di(t){var e=Ba(t);return 1==e.length&&e[0][2]?Ka(e[0][0],e[0][1]):function(n){return n===t||oi(n,t,e)}}function pi(t,e){return Ga(t)&&Ja(e)?Ka(co(t),e):function(n){var i=Qu(n,t);return i===r&&i===e?ts(n,t):ai(e,i,d|p)}}function gi(t,e,n,i,a){t!==e&&$r(e,function(o,u){if(a||(a=new wr),Su(o))!function(t,e,n,i,a,o,u){var s=eo(t,n),c=eo(e,n),l=u.get(c);if(l)Sr(t,n,l);else{var f=o?o(s,c,n+"",t,e,u):r,h=f===r;if(h){var d=mu(c),p=!d&&xu(c),g=!d&&!p&&Pu(c);f=c,d||p||g?mu(s)?f=s:_u(s)?f=na(s):p?(h=!1,f=Xi(c,!0)):g?(h=!1,f=Ki(c,!0)):f=[]:Ou(c)||yu(c)?(f=s,yu(s)?f=Vu(s):Su(s)&&!Eu(s)||(f=za(c))):h=!1}h&&(u.set(c,f),a(f,c,i,o,u),u.delete(c)),Sr(t,n,f)}}(t,e,u,n,gi,i,a);else{var s=i?i(eo(t,u),o,u+"",t,e,a):r;s===r&&(s=o),Sr(t,u,s)}},as)}function yi(t,e){var n=t.length;if(n)return $a(e+=e<0?n:0,n)?t[e]:r}function mi(t,e,n){var r=-1;return e=Je(e.length?e:[Cs],gn(Fa())),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(hi(t,function(t,n,i){return{criteria:Je(e,function(e){return e(t)}),index:++r,value:t}}),function(t,e){return function(t,e,n){for(var r=-1,i=t.criteria,a=e.criteria,o=i.length,u=n.length;++r<o;){var s=Qi(i[r],a[r]);if(s){if(r>=u)return s;var c=n[r];return s*("desc"==c?-1:1)}}return t.index-e.index}(t,e,n)})}function vi(t,e,n){for(var r=-1,i=e.length,a={};++r<i;){var o=e[r],u=Xr(t,o);n(u,o)&&Ti(a,Hi(o,t),u)}return a}function bi(t,e,n,r){var i=r?un:on,a=-1,o=e.length,u=t;for(t===e&&(e=na(e)),n&&(u=Je(t,gn(n)));++a<o;)for(var s=0,c=e[a],l=n?n(c):c;(s=i(u,l,s,r))>-1;)u!==t&&Pe.call(u,s,1),Pe.call(t,s,1);return t}function _i(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==a){var a=i;$a(i)?Pe.call(t,i,1):Ii(t,i)}}return t}function xi(t,e){return t+qn(Zn()*(e-t+1))}function wi(t,e){var n="";if(!t||e<1||e>L)return n;do{e%2&&(n+=t),(e=qn(e/2))&&(t+=t)}while(e);return n}function ki(t,e){return io(Qa(t,e,Cs),t+"")}function Ei(t){return Er(ds(t))}function Ai(t,e){var n=ds(t);return uo(n,Rr(e,0,n.length))}function Ti(t,e,n,i){if(!Su(t))return t;for(var a=-1,o=(e=Hi(e,t)).length,u=o-1,s=t;null!=s&&++a<o;){var c=co(e[a]),l=n;if(a!=u){var f=s[c];(l=i?i(f,c,s):r)===r&&(l=Su(f)?f:$a(e[a+1])?[]:{})}Dr(s,c,l),s=s[c]}return t}var Si=rr?function(t,e){return rr.set(t,e),t}:Cs,Di=Rn?function(t,e){return Rn(t,"toString",{configurable:!0,enumerable:!1,value:Ss(e),writable:!0})}:Cs;function Mi(t){return uo(ds(t))}function Ci(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var a=Xt(i);++r<i;)a[r]=t[r+e];return a}function Oi(t,e){var n;return qr(t,function(t,r,i){return!(n=e(t,r,i))}),!!n}function Li(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e==e&&i<=B){for(;r<i;){var a=r+i>>>1,o=t[a];null!==o&&!Fu(o)&&(n?o<=e:o<e)?r=a+1:i=a}return i}return Ni(t,e,Cs,n)}function Ni(t,e,n,i){e=n(e);for(var a=0,o=null==t?0:t.length,u=e!=e,s=null===e,c=Fu(e),l=e===r;a<o;){var f=qn((a+o)/2),h=n(t[f]),d=h!==r,p=null===h,g=h==h,y=Fu(h);if(u)var m=i||g;else m=l?g&&(i||d):s?g&&d&&(i||!p):c?g&&d&&!p&&(i||!y):!p&&!y&&(i?h<=e:h<e);m?a=f+1:o=f}return Hn(o,P)}function Ri(t,e){for(var n=-1,r=t.length,i=0,a=[];++n<r;){var o=t[n],u=e?e(o):o;if(!n||!du(u,s)){var s=u;a[i++]=0===o?0:o}}return a}function Fi(t){return"number"==typeof t?t:Fu(t)?R:+t}function Pi(t){if("string"==typeof t)return t;if(mu(t))return Je(t,Pi)+"";if(Fu(t))return hr?hr.call(t):"";var e=t+"";return"0"==e&&1/t==-O?"-0":e}function Bi(t,e,n){var r=-1,a=Ze,o=t.length,u=!0,s=[],c=s;if(n)u=!1,a=Xe;else if(o>=i){var l=e?null:wa(t);if(l)return Sn(l);u=!1,a=mn,c=new xr}else c=e?[]:s;t:for(;++r<o;){var f=t[r],h=e?e(f):f;if(f=n||0!==f?f:0,u&&h==h){for(var d=c.length;d--;)if(c[d]===h)continue t;e&&c.push(h),s.push(f)}else a(c,h,n)||(c!==s&&c.push(h),s.push(f))}return s}function Ii(t,e){return null==(t=to(t,e=Hi(e,t)))||delete t[co(ko(e))]}function qi(t,e,n,r){return Ti(t,e,n(Xr(t,e)),r)}function Ui(t,e,n,r){for(var i=t.length,a=r?i:-1;(r?a--:++a<i)&&e(t[a],a,t););return n?Ci(t,r?0:a,r?a+1:i):Ci(t,r?a+1:0,r?i:a)}function ji(t,e){var n=t;return n instanceof mr&&(n=n.value()),Qe(e,function(t,e){return e.func.apply(e.thisArg,Ke([t],e.args))},n)}function Yi(t,e,n){var r=t.length;if(r<2)return r?Bi(t[0]):[];for(var i=-1,a=Xt(r);++i<r;)for(var o=t[i],u=-1;++u<r;)u!=i&&(a[i]=Ir(a[i]||o,t[u],e,n));return Bi(Vr(a,1),e,n)}function zi(t,e,n){for(var i=-1,a=t.length,o=e.length,u={};++i<a;){var s=i<o?e[i]:r;n(u,t[i],s)}return u}function Vi(t){return _u(t)?t:[]}function $i(t){return"function"==typeof t?t:Cs}function Hi(t,e){return mu(t)?t:Ga(t,e)?[t]:so($u(t))}var Gi=ki;function Wi(t,e,n){var i=t.length;return n=n===r?i:n,!e&&n>=i?t:Ci(t,e,n)}var Zi=Fn||function(t){return Oe.clearTimeout(t)};function Xi(t,e){if(e)return t.slice();var n=t.length,r=Ce?Ce(n):new t.constructor(n);return t.copy(r),r}function Ji(t){var e=new t.constructor(t.byteLength);return new Me(e).set(new Me(t)),e}function Ki(t,e){var n=e?Ji(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Qi(t,e){if(t!==e){var n=t!==r,i=null===t,a=t==t,o=Fu(t),u=e!==r,s=null===e,c=e==e,l=Fu(e);if(!s&&!l&&!o&&t>e||o&&u&&c&&!s&&!l||i&&u&&c||!n&&c||!a)return 1;if(!i&&!o&&!l&&t<e||l&&n&&a&&!i&&!o||s&&n&&a||!u&&a||!c)return-1}return 0}function ta(t,e,n,r){for(var i=-1,a=t.length,o=n.length,u=-1,s=e.length,c=$n(a-o,0),l=Xt(s+c),f=!r;++u<s;)l[u]=e[u];for(;++i<o;)(f||i<a)&&(l[n[i]]=t[i]);for(;c--;)l[u++]=t[i++];return l}function ea(t,e,n,r){for(var i=-1,a=t.length,o=-1,u=n.length,s=-1,c=e.length,l=$n(a-u,0),f=Xt(l+c),h=!r;++i<l;)f[i]=t[i];for(var d=i;++s<c;)f[d+s]=e[s];for(;++o<u;)(h||i<a)&&(f[d+n[o]]=t[i++]);return f}function na(t,e){var n=-1,r=t.length;for(e||(e=Xt(r));++n<r;)e[n]=t[n];return e}function ra(t,e,n,i){var a=!n;n||(n={});for(var o=-1,u=e.length;++o<u;){var s=e[o],c=i?i(n[s],t[s],s,n,t):r;c===r&&(c=t[s]),a?Lr(n,s,c):Dr(n,s,c)}return n}function ia(t,e){return function(n,r){var i=mu(n)?Ve:Cr,a=e?e():{};return i(n,t,Fa(r,2),a)}}function aa(t){return ki(function(e,n){var i=-1,a=n.length,o=a>1?n[a-1]:r,u=a>2?n[2]:r;for(o=t.length>3&&"function"==typeof o?(a--,o):r,u&&Ha(n[0],n[1],u)&&(o=a<3?r:o,a=1),e=ee(e);++i<a;){var s=n[i];s&&t(e,s,i,o)}return e})}function oa(t,e){return function(n,r){if(null==n)return n;if(!bu(n))return t(n,r);for(var i=n.length,a=e?i:-1,o=ee(n);(e?a--:++a<i)&&!1!==r(o[a],a,o););return n}}function ua(t){return function(e,n,r){for(var i=-1,a=ee(e),o=r(e),u=o.length;u--;){var s=o[t?u:++i];if(!1===n(a[s],s,a))break}return e}}function sa(t){return function(e){var n=kn(e=$u(e))?Cn(e):r,i=n?n[0]:e.charAt(0),a=n?Wi(n,1).join(""):e.slice(1);return i[t]()+a}}function ca(t){return function(e){return Qe(Es(ys(e).replace(ye,"")),t,"")}}function la(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=pr(t.prototype),r=t.apply(n,e);return Su(r)?r:n}}function fa(t){return function(e,n,i){var a=ee(e);if(!bu(e)){var o=Fa(n,3);e=is(e),n=function(t){return o(a[t],t,a)}}var u=t(e,n,i);return u>-1?a[o?e[u]:u]:r}}function ha(t){return Ma(function(e){var n=e.length,i=n,a=yr.prototype.thru;for(t&&e.reverse();i--;){var u=e[i];if("function"!=typeof u)throw new ie(o);if(a&&!s&&"wrapper"==Na(u))var s=new yr([],!0)}for(i=s?i:n;++i<n;){var c=Na(u=e[i]),l="wrapper"==c?La(u):r;s=l&&Wa(l[0])&&l[1]==(w|v|_|k)&&!l[4].length&&1==l[9]?s[Na(l[0])].apply(s,l[3]):1==u.length&&Wa(u)?s[c]():s.thru(u)}return function(){var t=arguments,r=t[0];if(s&&1==t.length&&mu(r))return s.plant(r).value();for(var i=0,a=n?e[i].apply(this,t):r;++i<n;)a=e[i].call(this,a);return a}})}function da(t,e,n,i,a,o,u,s,c,l){var f=e&w,h=e&g,d=e&y,p=e&(v|b),m=e&E,_=d?r:la(t);return function g(){for(var y=arguments.length,v=Xt(y),b=y;b--;)v[b]=arguments[b];if(p)var x=Ra(g),w=function(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}(v,x);if(i&&(v=ta(v,i,a,p)),o&&(v=ea(v,o,u,p)),y-=w,p&&y<l){var k=Tn(v,x);return _a(t,e,da,g.placeholder,n,v,k,s,c,l-y)}var E=h?n:this,A=d?E[t]:t;return y=v.length,s?v=function(t,e){for(var n=t.length,i=Hn(e.length,n),a=na(t);i--;){var o=e[i];t[i]=$a(o,n)?a[o]:r}return t}(v,s):m&&y>1&&v.reverse(),f&&c<y&&(v.length=c),this&&this!==Oe&&this instanceof g&&(A=_||la(A)),A.apply(E,v)}}function pa(t,e){return function(n,r){return function(t,e,n,r){return Gr(t,function(t,i,a){e(r,n(t),i,a)}),r}(n,t,e(r),{})}}function ga(t,e){return function(n,i){var a;if(n===r&&i===r)return e;if(n!==r&&(a=n),i!==r){if(a===r)return i;"string"==typeof n||"string"==typeof i?(n=Pi(n),i=Pi(i)):(n=Fi(n),i=Fi(i)),a=t(n,i)}return a}}function ya(t){return Ma(function(e){return e=Je(e,gn(Fa())),ki(function(n){var r=this;return t(e,function(t){return ze(t,r,n)})})})}function ma(t,e){var n=(e=e===r?" ":Pi(e)).length;if(n<2)return n?wi(e,t):e;var i=wi(e,In(t/Mn(e)));return kn(e)?Wi(Cn(i),0,t).join(""):i.slice(0,t)}function va(t){return function(e,n,i){return i&&"number"!=typeof i&&Ha(e,n,i)&&(n=i=r),e=Uu(e),n===r?(n=e,e=0):n=Uu(n),function(t,e,n,r){for(var i=-1,a=$n(In((e-t)/(n||1)),0),o=Xt(a);a--;)o[r?a:++i]=t,t+=n;return o}(e,n,i=i===r?e<n?1:-1:Uu(i),t)}}function ba(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=zu(e),n=zu(n)),t(e,n)}}function _a(t,e,n,i,a,o,u,s,c,l){var f=e&v;e|=f?_:x,(e&=~(f?x:_))&m||(e&=~(g|y));var h=[t,e,a,f?o:r,f?u:r,f?r:o,f?r:u,s,c,l],d=n.apply(r,h);return Wa(t)&&no(d,h),d.placeholder=i,ao(d,t,e)}function xa(t){var e=te[t];return function(t,n){if(t=zu(t),(n=null==n?0:Hn(ju(n),292))&&Yn(t)){var r=($u(t)+"e").split("e");return+((r=($u(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}var wa=tr&&1/Sn(new tr([,-0]))[1]==O?function(t){return new tr(t)}:Fs;function ka(t){return function(e){var n=ja(e);return n==W?En(e):n==tt?Dn(e):function(t,e){return Je(e,function(e){return[e,t[e]]})}(e,t(e))}}function Ea(t,e,n,i,a,u,s,l){var f=e&y;if(!f&&"function"!=typeof t)throw new ie(o);var h=i?i.length:0;if(h||(e&=~(_|x),i=a=r),s=s===r?s:$n(ju(s),0),l=l===r?l:ju(l),h-=a?a.length:0,e&x){var d=i,p=a;i=a=r}var E=f?r:La(t),A=[t,e,n,i,a,d,p,u,s,l];if(E&&function(t,e){var n=t[1],r=e[1],i=n|r,a=i<(g|y|w),o=r==w&&n==v||r==w&&n==k&&t[7].length<=e[8]||r==(w|k)&&e[7].length<=e[8]&&n==v;if(!a&&!o)return t;r&g&&(t[2]=e[2],i|=n&g?0:m);var u=e[3];if(u){var s=t[3];t[3]=s?ta(s,u,e[4]):u,t[4]=s?Tn(t[3],c):e[4]}(u=e[5])&&(s=t[5],t[5]=s?ea(s,u,e[6]):u,t[6]=s?Tn(t[5],c):e[6]),(u=e[7])&&(t[7]=u),r&w&&(t[8]=null==t[8]?e[8]:Hn(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=i}(A,E),t=A[0],e=A[1],n=A[2],i=A[3],a=A[4],!(l=A[9]=A[9]===r?f?0:t.length:$n(A[9]-h,0))&&e&(v|b)&&(e&=~(v|b)),e&&e!=g)T=e==v||e==b?function(t,e,n){var i=la(t);return function a(){for(var o=arguments.length,u=Xt(o),s=o,c=Ra(a);s--;)u[s]=arguments[s];var l=o<3&&u[0]!==c&&u[o-1]!==c?[]:Tn(u,c);return(o-=l.length)<n?_a(t,e,da,a.placeholder,r,u,l,r,r,n-o):ze(this&&this!==Oe&&this instanceof a?i:t,this,u)}}(t,e,l):e!=_&&e!=(g|_)||a.length?da.apply(r,A):function(t,e,n,r){var i=e&g,a=la(t);return function e(){for(var o=-1,u=arguments.length,s=-1,c=r.length,l=Xt(c+u),f=this&&this!==Oe&&this instanceof e?a:t;++s<c;)l[s]=r[s];for(;u--;)l[s++]=arguments[++o];return ze(f,i?n:this,l)}}(t,e,n,i);else var T=function(t,e,n){var r=e&g,i=la(t);return function e(){return(this&&this!==Oe&&this instanceof e?i:t).apply(r?n:this,arguments)}}(t,e,n);return ao((E?Si:no)(T,A),t,e)}function Aa(t,e,n,i){return t===r||du(t,ue[n])&&!le.call(i,n)?e:t}function Ta(t,e,n,i,a,o){return Su(t)&&Su(e)&&(o.set(e,t),gi(t,e,r,Ta,o),o.delete(e)),t}function Sa(t){return Ou(t)?r:t}function Da(t,e,n,i,a,o){var u=n&d,s=t.length,c=e.length;if(s!=c&&!(u&&c>s))return!1;var l=o.get(t);if(l&&o.get(e))return l==e;var f=-1,h=!0,g=n&p?new xr:r;for(o.set(t,e),o.set(e,t);++f<s;){var y=t[f],m=e[f];if(i)var v=u?i(m,y,f,e,t,o):i(y,m,f,t,e,o);if(v!==r){if(v)continue;h=!1;break}if(g){if(!en(e,function(t,e){if(!mn(g,e)&&(y===t||a(y,t,n,i,o)))return g.push(e)})){h=!1;break}}else if(y!==m&&!a(y,m,n,i,o)){h=!1;break}}return o.delete(t),o.delete(e),h}function Ma(t){return io(Qa(t,r,vo),t+"")}function Ca(t){return Jr(t,is,qa)}function Oa(t){return Jr(t,as,Ua)}var La=rr?function(t){return rr.get(t)}:Fs;function Na(t){for(var e=t.name+"",n=ir[e],r=le.call(ir,e)?n.length:0;r--;){var i=n[r],a=i.func;if(null==a||a==t)return i.name}return e}function Ra(t){return(le.call(dr,"placeholder")?dr:t).placeholder}function Fa(){var t=dr.iteratee||Os;return t=t===Os?si:t,arguments.length?t(arguments[0],arguments[1]):t}function Pa(t,e){var n,r,i=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function Ba(t){for(var e=is(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,Ja(i)]}return e}function Ia(t,e){var n=function(t,e){return null==t?r:t[e]}(t,e);return ui(n)?n:r}var qa=Un?function(t){return null==t?[]:(t=ee(t),We(Un(t),function(e){return Fe.call(t,e)}))}:Ys,Ua=Un?function(t){for(var e=[];t;)Ke(e,qa(t)),t=Le(t);return e}:Ys,ja=Kr;function Ya(t,e,n){for(var r=-1,i=(e=Hi(e,t)).length,a=!1;++r<i;){var o=co(e[r]);if(!(a=null!=t&&n(t,o)))break;t=t[o]}return a||++r!=i?a:!!(i=null==t?0:t.length)&&Tu(i)&&$a(o,i)&&(mu(t)||yu(t))}function za(t){return"function"!=typeof t.constructor||Xa(t)?{}:pr(Le(t))}function Va(t){return mu(t)||yu(t)||!!(nn&&t&&t[nn])}function $a(t,e){var n=typeof t;return!!(e=null==e?L:e)&&("number"==n||"symbol"!=n&&Ht.test(t))&&t>-1&&t%1==0&&t<e}function Ha(t,e,n){if(!Su(n))return!1;var r=typeof e;return!!("number"==r?bu(n)&&$a(e,n.length):"string"==r&&e in n)&&du(n[e],t)}function Ga(t,e){if(mu(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Fu(t))||Dt.test(t)||!St.test(t)||null!=e&&t in ee(e)}function Wa(t){var e=Na(t),n=dr[e];if("function"!=typeof n||!(e in mr.prototype))return!1;if(t===n)return!0;var r=La(n);return!!r&&t===r[0]}(Jn&&ja(new Jn(new ArrayBuffer(1)))!=ut||Kn&&ja(new Kn)!=W||Qn&&"[object Promise]"!=ja(Qn.resolve())||tr&&ja(new tr)!=tt||er&&ja(new er)!=it)&&(ja=function(t){var e=Kr(t),n=e==J?t.constructor:r,i=n?lo(n):"";if(i)switch(i){case ar:return ut;case or:return W;case ur:return"[object Promise]";case sr:return tt;case cr:return it}return e});var Za=se?Eu:zs;function Xa(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||ue)}function Ja(t){return t==t&&!Su(t)}function Ka(t,e){return function(n){return null!=n&&n[t]===e&&(e!==r||t in ee(n))}}function Qa(t,e,n){return e=$n(e===r?t.length-1:e,0),function(){for(var r=arguments,i=-1,a=$n(r.length-e,0),o=Xt(a);++i<a;)o[i]=r[e+i];i=-1;for(var u=Xt(e+1);++i<e;)u[i]=r[i];return u[e]=n(o),ze(t,this,u)}}function to(t,e){return e.length<2?t:Xr(t,Ci(e,0,-1))}function eo(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var no=oo(Si),ro=Bn||function(t,e){return Oe.setTimeout(t,e)},io=oo(Di);function ao(t,e,n){var r=e+"";return io(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(Ft,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return $e(I,function(n){var r="_."+n[0];e&n[1]&&!Ze(t,r)&&t.push(r)}),t.sort()}(function(t){var e=t.match(Pt);return e?e[1].split(Bt):[]}(r),n)))}function oo(t){var e=0,n=0;return function(){var i=Gn(),a=D-(i-n);if(n=i,a>0){if(++e>=S)return arguments[0]}else e=0;return t.apply(r,arguments)}}function uo(t,e){var n=-1,i=t.length,a=i-1;for(e=e===r?i:e;++n<e;){var o=xi(n,a),u=t[o];t[o]=t[n],t[n]=u}return t.length=e,t}var so=function(t){var e=uu(t,function(t){return n.size===s&&n.clear(),t}),n=e.cache;return e}(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Mt,function(t,n,r,i){e.push(r?i.replace(qt,"$1"):n||t)}),e});function co(t){if("string"==typeof t||Fu(t))return t;var e=t+"";return"0"==e&&1/t==-O?"-0":e}function lo(t){if(null!=t){try{return ce.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function fo(t){if(t instanceof mr)return t.clone();var e=new yr(t.__wrapped__,t.__chain__);return e.__actions__=na(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var ho=ki(function(t,e){return _u(t)?Ir(t,Vr(e,1,_u,!0)):[]}),po=ki(function(t,e){var n=ko(e);return _u(n)&&(n=r),_u(t)?Ir(t,Vr(e,1,_u,!0),Fa(n,2)):[]}),go=ki(function(t,e){var n=ko(e);return _u(n)&&(n=r),_u(t)?Ir(t,Vr(e,1,_u,!0),r,n):[]});function yo(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:ju(n);return i<0&&(i=$n(r+i,0)),an(t,Fa(e,3),i)}function mo(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var a=i-1;return n!==r&&(a=ju(n),a=n<0?$n(i+a,0):Hn(a,i-1)),an(t,Fa(e,3),a,!0)}function vo(t){return null!=t&&t.length?Vr(t,1):[]}function bo(t){return t&&t.length?t[0]:r}var _o=ki(function(t){var e=Je(t,Vi);return e.length&&e[0]===t[0]?ni(e):[]}),xo=ki(function(t){var e=ko(t),n=Je(t,Vi);return e===ko(n)?e=r:n.pop(),n.length&&n[0]===t[0]?ni(n,Fa(e,2)):[]}),wo=ki(function(t){var e=ko(t),n=Je(t,Vi);return(e="function"==typeof e?e:r)&&n.pop(),n.length&&n[0]===t[0]?ni(n,r,e):[]});function ko(t){var e=null==t?0:t.length;return e?t[e-1]:r}var Eo=ki(Ao);function Ao(t,e){return t&&t.length&&e&&e.length?bi(t,e):t}var To=Ma(function(t,e){var n=null==t?0:t.length,r=Nr(t,e);return _i(t,Je(e,function(t){return $a(t,n)?+t:t}).sort(Qi)),r});function So(t){return null==t?t:Xn.call(t)}var Do=ki(function(t){return Bi(Vr(t,1,_u,!0))}),Mo=ki(function(t){var e=ko(t);return _u(e)&&(e=r),Bi(Vr(t,1,_u,!0),Fa(e,2))}),Co=ki(function(t){var e=ko(t);return e="function"==typeof e?e:r,Bi(Vr(t,1,_u,!0),r,e)});function Oo(t){if(!t||!t.length)return[];var e=0;return t=We(t,function(t){if(_u(t))return e=$n(t.length,e),!0}),pn(e,function(e){return Je(t,ln(e))})}function Lo(t,e){if(!t||!t.length)return[];var n=Oo(t);return null==e?n:Je(n,function(t){return ze(e,r,t)})}var No=ki(function(t,e){return _u(t)?Ir(t,e):[]}),Ro=ki(function(t){return Yi(We(t,_u))}),Fo=ki(function(t){var e=ko(t);return _u(e)&&(e=r),Yi(We(t,_u),Fa(e,2))}),Po=ki(function(t){var e=ko(t);return e="function"==typeof e?e:r,Yi(We(t,_u),r,e)}),Bo=ki(Oo);var Io=ki(function(t){var e=t.length,n=e>1?t[e-1]:r;return n="function"==typeof n?(t.pop(),n):r,Lo(t,n)});function qo(t){var e=dr(t);return e.__chain__=!0,e}function Uo(t,e){return e(t)}var jo=Ma(function(t){var e=t.length,n=e?t[0]:0,i=this.__wrapped__,a=function(e){return Nr(e,t)};return!(e>1||this.__actions__.length)&&i instanceof mr&&$a(n)?((i=i.slice(n,+n+(e?1:0))).__actions__.push({func:Uo,args:[a],thisArg:r}),new yr(i,this.__chain__).thru(function(t){return e&&!t.length&&t.push(r),t})):this.thru(a)});var Yo=ia(function(t,e,n){le.call(t,n)?++t[n]:Lr(t,n,1)});var zo=fa(yo),Vo=fa(mo);function $o(t,e){return(mu(t)?$e:qr)(t,Fa(e,3))}function Ho(t,e){return(mu(t)?He:Ur)(t,Fa(e,3))}var Go=ia(function(t,e,n){le.call(t,n)?t[n].push(e):Lr(t,n,[e])});var Wo=ki(function(t,e,n){var r=-1,i="function"==typeof e,a=bu(t)?Xt(t.length):[];return qr(t,function(t){a[++r]=i?ze(e,t,n):ri(t,e,n)}),a}),Zo=ia(function(t,e,n){Lr(t,n,e)});function Xo(t,e){return(mu(t)?Je:hi)(t,Fa(e,3))}var Jo=ia(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]});var Ko=ki(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Ha(t,e[0],e[1])?e=[]:n>2&&Ha(e[0],e[1],e[2])&&(e=[e[0]]),mi(t,Vr(e,1),[])}),Qo=Pn||function(){return Oe.Date.now()};function tu(t,e,n){return e=n?r:e,e=t&&null==e?t.length:e,Ea(t,w,r,r,r,r,e)}function eu(t,e){var n;if("function"!=typeof e)throw new ie(o);return t=ju(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=r),n}}var nu=ki(function(t,e,n){var r=g;if(n.length){var i=Tn(n,Ra(nu));r|=_}return Ea(t,r,e,n,i)}),ru=ki(function(t,e,n){var r=g|y;if(n.length){var i=Tn(n,Ra(ru));r|=_}return Ea(e,r,t,n,i)});function iu(t,e,n){var i,a,u,s,c,l,f=0,h=!1,d=!1,p=!0;if("function"!=typeof t)throw new ie(o);function g(e){var n=i,o=a;return i=a=r,f=e,s=t.apply(o,n)}function y(t){var n=t-l;return l===r||n>=e||n<0||d&&t-f>=u}function m(){var t=Qo();if(y(t))return v(t);c=ro(m,function(t){var n=e-(t-l);return d?Hn(n,u-(t-f)):n}(t))}function v(t){return c=r,p&&i?g(t):(i=a=r,s)}function b(){var t=Qo(),n=y(t);if(i=arguments,a=this,l=t,n){if(c===r)return function(t){return f=t,c=ro(m,e),h?g(t):s}(l);if(d)return Zi(c),c=ro(m,e),g(l)}return c===r&&(c=ro(m,e)),s}return e=zu(e)||0,Su(n)&&(h=!!n.leading,u=(d="maxWait"in n)?$n(zu(n.maxWait)||0,e):u,p="trailing"in n?!!n.trailing:p),b.cancel=function(){c!==r&&Zi(c),f=0,i=l=a=c=r},b.flush=function(){return c===r?s:v(Qo())},b}var au=ki(function(t,e){return Br(t,1,e)}),ou=ki(function(t,e,n){return Br(t,zu(e)||0,n)});function uu(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new ie(o);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=t.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(uu.Cache||_r),n}function su(t){if("function"!=typeof t)throw new ie(o);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}uu.Cache=_r;var cu=Gi(function(t,e){var n=(e=1==e.length&&mu(e[0])?Je(e[0],gn(Fa())):Je(Vr(e,1),gn(Fa()))).length;return ki(function(r){for(var i=-1,a=Hn(r.length,n);++i<a;)r[i]=e[i].call(this,r[i]);return ze(t,this,r)})}),lu=ki(function(t,e){var n=Tn(e,Ra(lu));return Ea(t,_,r,e,n)}),fu=ki(function(t,e){var n=Tn(e,Ra(fu));return Ea(t,x,r,e,n)}),hu=Ma(function(t,e){return Ea(t,k,r,r,r,e)});function du(t,e){return t===e||t!=t&&e!=e}var pu=ba(Qr),gu=ba(function(t,e){return t>=e}),yu=ii(function(){return arguments}())?ii:function(t){return Du(t)&&le.call(t,"callee")&&!Fe.call(t,"callee")},mu=Xt.isArray,vu=Be?gn(Be):function(t){return Du(t)&&Kr(t)==ot};function bu(t){return null!=t&&Tu(t.length)&&!Eu(t)}function _u(t){return Du(t)&&bu(t)}var xu=jn||zs,wu=Ie?gn(Ie):function(t){return Du(t)&&Kr(t)==z};function ku(t){if(!Du(t))return!1;var e=Kr(t);return e==$||e==V||"string"==typeof t.message&&"string"==typeof t.name&&!Ou(t)}function Eu(t){if(!Su(t))return!1;var e=Kr(t);return e==H||e==G||e==j||e==K}function Au(t){return"number"==typeof t&&t==ju(t)}function Tu(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=L}function Su(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Du(t){return null!=t&&"object"==typeof t}var Mu=qe?gn(qe):function(t){return Du(t)&&ja(t)==W};function Cu(t){return"number"==typeof t||Du(t)&&Kr(t)==Z}function Ou(t){if(!Du(t)||Kr(t)!=J)return!1;var e=Le(t);if(null===e)return!0;var n=le.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&ce.call(n)==pe}var Lu=Ue?gn(Ue):function(t){return Du(t)&&Kr(t)==Q};var Nu=je?gn(je):function(t){return Du(t)&&ja(t)==tt};function Ru(t){return"string"==typeof t||!mu(t)&&Du(t)&&Kr(t)==et}function Fu(t){return"symbol"==typeof t||Du(t)&&Kr(t)==nt}var Pu=Ye?gn(Ye):function(t){return Du(t)&&Tu(t.length)&&!!Ee[Kr(t)]};var Bu=ba(fi),Iu=ba(function(t,e){return t<=e});function qu(t){if(!t)return[];if(bu(t))return Ru(t)?Cn(t):na(t);if(fn&&t[fn])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[fn]());var e=ja(t);return(e==W?En:e==tt?Sn:ds)(t)}function Uu(t){return t?(t=zu(t))===O||t===-O?(t<0?-1:1)*N:t==t?t:0:0===t?t:0}function ju(t){var e=Uu(t),n=e%1;return e==e?n?e-n:e:0}function Yu(t){return t?Rr(ju(t),0,F):0}function zu(t){if("number"==typeof t)return t;if(Fu(t))return R;if(Su(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Su(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Lt,"");var n=zt.test(t);return n||$t.test(t)?De(t.slice(2),n?2:8):Yt.test(t)?R:+t}function Vu(t){return ra(t,as(t))}function $u(t){return null==t?"":Pi(t)}var Hu=aa(function(t,e){if(Xa(e)||bu(e))ra(e,is(e),t);else for(var n in e)le.call(e,n)&&Dr(t,n,e[n])}),Gu=aa(function(t,e){ra(e,as(e),t)}),Wu=aa(function(t,e,n,r){ra(e,as(e),t,r)}),Zu=aa(function(t,e,n,r){ra(e,is(e),t,r)}),Xu=Ma(Nr);var Ju=ki(function(t,e){t=ee(t);var n=-1,i=e.length,a=i>2?e[2]:r;for(a&&Ha(e[0],e[1],a)&&(i=1);++n<i;)for(var o=e[n],u=as(o),s=-1,c=u.length;++s<c;){var l=u[s],f=t[l];(f===r||du(f,ue[l])&&!le.call(t,l))&&(t[l]=o[l])}return t}),Ku=ki(function(t){return t.push(r,Ta),ze(us,r,t)});function Qu(t,e,n){var i=null==t?r:Xr(t,e);return i===r?n:i}function ts(t,e){return null!=t&&Ya(t,e,ei)}var es=pa(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=de.call(e)),t[e]=n},Ss(Cs)),ns=pa(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=de.call(e)),le.call(t,e)?t[e].push(n):t[e]=[n]},Fa),rs=ki(ri);function is(t){return bu(t)?kr(t):ci(t)}function as(t){return bu(t)?kr(t,!0):li(t)}var os=aa(function(t,e,n){gi(t,e,n)}),us=aa(function(t,e,n,r){gi(t,e,n,r)}),ss=Ma(function(t,e){var n={};if(null==t)return n;var r=!1;e=Je(e,function(e){return e=Hi(e,t),r||(r=e.length>1),e}),ra(t,Oa(t),n),r&&(n=Fr(n,l|f|h,Sa));for(var i=e.length;i--;)Ii(n,e[i]);return n});var cs=Ma(function(t,e){return null==t?{}:function(t,e){return vi(t,e,function(e,n){return ts(t,n)})}(t,e)});function ls(t,e){if(null==t)return{};var n=Je(Oa(t),function(t){return[t]});return e=Fa(e),vi(t,n,function(t,n){return e(t,n[0])})}var fs=ka(is),hs=ka(as);function ds(t){return null==t?[]:yn(t,is(t))}var ps=ca(function(t,e,n){return e=e.toLowerCase(),t+(n?gs(e):e)});function gs(t){return ks($u(t).toLowerCase())}function ys(t){return(t=$u(t))&&t.replace(Gt,_n).replace(me,"")}var ms=ca(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),vs=ca(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),bs=sa("toLowerCase");var _s=ca(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()});var xs=ca(function(t,e,n){return t+(n?" ":"")+ks(e)});var ws=ca(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),ks=sa("toUpperCase");function Es(t,e,n){return t=$u(t),(e=n?r:e)===r?function(t){return xe.test(t)}(t)?function(t){return t.match(be)||[]}(t):function(t){return t.match(It)||[]}(t):t.match(e)||[]}var As=ki(function(t,e){try{return ze(t,r,e)}catch(t){return ku(t)?t:new Kt(t)}}),Ts=Ma(function(t,e){return $e(e,function(e){e=co(e),Lr(t,e,nu(t[e],t))}),t});function Ss(t){return function(){return t}}var Ds=ha(),Ms=ha(!0);function Cs(t){return t}function Os(t){return si("function"==typeof t?t:Fr(t,l))}var Ls=ki(function(t,e){return function(n){return ri(n,t,e)}}),Ns=ki(function(t,e){return function(n){return ri(t,n,e)}});function Rs(t,e,n){var r=is(e),i=Zr(e,r);null!=n||Su(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=Zr(e,is(e)));var a=!(Su(n)&&"chain"in n&&!n.chain),o=Eu(t);return $e(i,function(n){var r=e[n];t[n]=r,o&&(t.prototype[n]=function(){var e=this.__chain__;if(a||e){var n=t(this.__wrapped__);return(n.__actions__=na(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,Ke([this.value()],arguments))})}),t}function Fs(){}var Ps=ya(Je),Bs=ya(Ge),Is=ya(en);function qs(t){return Ga(t)?ln(co(t)):function(t){return function(e){return Xr(e,t)}}(t)}var Us=va(),js=va(!0);function Ys(){return[]}function zs(){return!1}var Vs=ga(function(t,e){return t+e},0),$s=xa("ceil"),Hs=ga(function(t,e){return t/e},1),Gs=xa("floor");var Ws,Zs=ga(function(t,e){return t*e},1),Xs=xa("round"),Js=ga(function(t,e){return t-e},0);return dr.after=function(t,e){if("function"!=typeof e)throw new ie(o);return t=ju(t),function(){if(--t<1)return e.apply(this,arguments)}},dr.ary=tu,dr.assign=Hu,dr.assignIn=Gu,dr.assignInWith=Wu,dr.assignWith=Zu,dr.at=Xu,dr.before=eu,dr.bind=nu,dr.bindAll=Ts,dr.bindKey=ru,dr.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return mu(t)?t:[t]},dr.chain=qo,dr.chunk=function(t,e,n){e=(n?Ha(t,e,n):e===r)?1:$n(ju(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];for(var a=0,o=0,u=Xt(In(i/e));a<i;)u[o++]=Ci(t,a,a+=e);return u},dr.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var a=t[e];a&&(i[r++]=a)}return i},dr.concat=function(){var t=arguments.length;if(!t)return[];for(var e=Xt(t-1),n=arguments[0],r=t;r--;)e[r-1]=arguments[r];return Ke(mu(n)?na(n):[n],Vr(e,1))},dr.cond=function(t){var e=null==t?0:t.length,n=Fa();return t=e?Je(t,function(t){if("function"!=typeof t[1])throw new ie(o);return[n(t[0]),t[1]]}):[],ki(function(n){for(var r=-1;++r<e;){var i=t[r];if(ze(i[0],this,n))return ze(i[1],this,n)}})},dr.conforms=function(t){return function(t){var e=is(t);return function(n){return Pr(n,t,e)}}(Fr(t,l))},dr.constant=Ss,dr.countBy=Yo,dr.create=function(t,e){var n=pr(t);return null==e?n:Or(n,e)},dr.curry=function t(e,n,i){var a=Ea(e,v,r,r,r,r,r,n=i?r:n);return a.placeholder=t.placeholder,a},dr.curryRight=function t(e,n,i){var a=Ea(e,b,r,r,r,r,r,n=i?r:n);return a.placeholder=t.placeholder,a},dr.debounce=iu,dr.defaults=Ju,dr.defaultsDeep=Ku,dr.defer=au,dr.delay=ou,dr.difference=ho,dr.differenceBy=po,dr.differenceWith=go,dr.drop=function(t,e,n){var i=null==t?0:t.length;return i?Ci(t,(e=n||e===r?1:ju(e))<0?0:e,i):[]},dr.dropRight=function(t,e,n){var i=null==t?0:t.length;return i?Ci(t,0,(e=i-(e=n||e===r?1:ju(e)))<0?0:e):[]},dr.dropRightWhile=function(t,e){return t&&t.length?Ui(t,Fa(e,3),!0,!0):[]},dr.dropWhile=function(t,e){return t&&t.length?Ui(t,Fa(e,3),!0):[]},dr.fill=function(t,e,n,i){var a=null==t?0:t.length;return a?(n&&"number"!=typeof n&&Ha(t,e,n)&&(n=0,i=a),function(t,e,n,i){var a=t.length;for((n=ju(n))<0&&(n=-n>a?0:a+n),(i=i===r||i>a?a:ju(i))<0&&(i+=a),i=n>i?0:Yu(i);n<i;)t[n++]=e;return t}(t,e,n,i)):[]},dr.filter=function(t,e){return(mu(t)?We:zr)(t,Fa(e,3))},dr.flatMap=function(t,e){return Vr(Xo(t,e),1)},dr.flatMapDeep=function(t,e){return Vr(Xo(t,e),O)},dr.flatMapDepth=function(t,e,n){return n=n===r?1:ju(n),Vr(Xo(t,e),n)},dr.flatten=vo,dr.flattenDeep=function(t){return null!=t&&t.length?Vr(t,O):[]},dr.flattenDepth=function(t,e){return null!=t&&t.length?Vr(t,e=e===r?1:ju(e)):[]},dr.flip=function(t){return Ea(t,E)},dr.flow=Ds,dr.flowRight=Ms,dr.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r},dr.functions=function(t){return null==t?[]:Zr(t,is(t))},dr.functionsIn=function(t){return null==t?[]:Zr(t,as(t))},dr.groupBy=Go,dr.initial=function(t){return null!=t&&t.length?Ci(t,0,-1):[]},dr.intersection=_o,dr.intersectionBy=xo,dr.intersectionWith=wo,dr.invert=es,dr.invertBy=ns,dr.invokeMap=Wo,dr.iteratee=Os,dr.keyBy=Zo,dr.keys=is,dr.keysIn=as,dr.map=Xo,dr.mapKeys=function(t,e){var n={};return e=Fa(e,3),Gr(t,function(t,r,i){Lr(n,e(t,r,i),t)}),n},dr.mapValues=function(t,e){var n={};return e=Fa(e,3),Gr(t,function(t,r,i){Lr(n,r,e(t,r,i))}),n},dr.matches=function(t){return di(Fr(t,l))},dr.matchesProperty=function(t,e){return pi(t,Fr(e,l))},dr.memoize=uu,dr.merge=os,dr.mergeWith=us,dr.method=Ls,dr.methodOf=Ns,dr.mixin=Rs,dr.negate=su,dr.nthArg=function(t){return t=ju(t),ki(function(e){return yi(e,t)})},dr.omit=ss,dr.omitBy=function(t,e){return ls(t,su(Fa(e)))},dr.once=function(t){return eu(2,t)},dr.orderBy=function(t,e,n,i){return null==t?[]:(mu(e)||(e=null==e?[]:[e]),mu(n=i?r:n)||(n=null==n?[]:[n]),mi(t,e,n))},dr.over=Ps,dr.overArgs=cu,dr.overEvery=Bs,dr.overSome=Is,dr.partial=lu,dr.partialRight=fu,dr.partition=Jo,dr.pick=cs,dr.pickBy=ls,dr.property=qs,dr.propertyOf=function(t){return function(e){return null==t?r:Xr(t,e)}},dr.pull=Eo,dr.pullAll=Ao,dr.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?bi(t,e,Fa(n,2)):t},dr.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?bi(t,e,r,n):t},dr.pullAt=To,dr.range=Us,dr.rangeRight=js,dr.rearg=hu,dr.reject=function(t,e){return(mu(t)?We:zr)(t,su(Fa(e,3)))},dr.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],a=t.length;for(e=Fa(e,3);++r<a;){var o=t[r];e(o,r,t)&&(n.push(o),i.push(r))}return _i(t,i),n},dr.rest=function(t,e){if("function"!=typeof t)throw new ie(o);return ki(t,e=e===r?e:ju(e))},dr.reverse=So,dr.sampleSize=function(t,e,n){return e=(n?Ha(t,e,n):e===r)?1:ju(e),(mu(t)?Ar:Ai)(t,e)},dr.set=function(t,e,n){return null==t?t:Ti(t,e,n)},dr.setWith=function(t,e,n,i){return i="function"==typeof i?i:r,null==t?t:Ti(t,e,n,i)},dr.shuffle=function(t){return(mu(t)?Tr:Mi)(t)},dr.slice=function(t,e,n){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&Ha(t,e,n)?(e=0,n=i):(e=null==e?0:ju(e),n=n===r?i:ju(n)),Ci(t,e,n)):[]},dr.sortBy=Ko,dr.sortedUniq=function(t){return t&&t.length?Ri(t):[]},dr.sortedUniqBy=function(t,e){return t&&t.length?Ri(t,Fa(e,2)):[]},dr.split=function(t,e,n){return n&&"number"!=typeof n&&Ha(t,e,n)&&(e=n=r),(n=n===r?F:n>>>0)?(t=$u(t))&&("string"==typeof e||null!=e&&!Lu(e))&&!(e=Pi(e))&&kn(t)?Wi(Cn(t),0,n):t.split(e,n):[]},dr.spread=function(t,e){if("function"!=typeof t)throw new ie(o);return e=null==e?0:$n(ju(e),0),ki(function(n){var r=n[e],i=Wi(n,0,e);return r&&Ke(i,r),ze(t,this,i)})},dr.tail=function(t){var e=null==t?0:t.length;return e?Ci(t,1,e):[]},dr.take=function(t,e,n){return t&&t.length?Ci(t,0,(e=n||e===r?1:ju(e))<0?0:e):[]},dr.takeRight=function(t,e,n){var i=null==t?0:t.length;return i?Ci(t,(e=i-(e=n||e===r?1:ju(e)))<0?0:e,i):[]},dr.takeRightWhile=function(t,e){return t&&t.length?Ui(t,Fa(e,3),!1,!0):[]},dr.takeWhile=function(t,e){return t&&t.length?Ui(t,Fa(e,3)):[]},dr.tap=function(t,e){return e(t),t},dr.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new ie(o);return Su(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),iu(t,e,{leading:r,maxWait:e,trailing:i})},dr.thru=Uo,dr.toArray=qu,dr.toPairs=fs,dr.toPairsIn=hs,dr.toPath=function(t){return mu(t)?Je(t,co):Fu(t)?[t]:na(so($u(t)))},dr.toPlainObject=Vu,dr.transform=function(t,e,n){var r=mu(t),i=r||xu(t)||Pu(t);if(e=Fa(e,4),null==n){var a=t&&t.constructor;n=i?r?new a:[]:Su(t)&&Eu(a)?pr(Le(t)):{}}return(i?$e:Gr)(t,function(t,r,i){return e(n,t,r,i)}),n},dr.unary=function(t){return tu(t,1)},dr.union=Do,dr.unionBy=Mo,dr.unionWith=Co,dr.uniq=function(t){return t&&t.length?Bi(t):[]},dr.uniqBy=function(t,e){return t&&t.length?Bi(t,Fa(e,2)):[]},dr.uniqWith=function(t,e){return e="function"==typeof e?e:r,t&&t.length?Bi(t,r,e):[]},dr.unset=function(t,e){return null==t||Ii(t,e)},dr.unzip=Oo,dr.unzipWith=Lo,dr.update=function(t,e,n){return null==t?t:qi(t,e,$i(n))},dr.updateWith=function(t,e,n,i){return i="function"==typeof i?i:r,null==t?t:qi(t,e,$i(n),i)},dr.values=ds,dr.valuesIn=function(t){return null==t?[]:yn(t,as(t))},dr.without=No,dr.words=Es,dr.wrap=function(t,e){return lu($i(e),t)},dr.xor=Ro,dr.xorBy=Fo,dr.xorWith=Po,dr.zip=Bo,dr.zipObject=function(t,e){return zi(t||[],e||[],Dr)},dr.zipObjectDeep=function(t,e){return zi(t||[],e||[],Ti)},dr.zipWith=Io,dr.entries=fs,dr.entriesIn=hs,dr.extend=Gu,dr.extendWith=Wu,Rs(dr,dr),dr.add=Vs,dr.attempt=As,dr.camelCase=ps,dr.capitalize=gs,dr.ceil=$s,dr.clamp=function(t,e,n){return n===r&&(n=e,e=r),n!==r&&(n=(n=zu(n))==n?n:0),e!==r&&(e=(e=zu(e))==e?e:0),Rr(zu(t),e,n)},dr.clone=function(t){return Fr(t,h)},dr.cloneDeep=function(t){return Fr(t,l|h)},dr.cloneDeepWith=function(t,e){return Fr(t,l|h,e="function"==typeof e?e:r)},dr.cloneWith=function(t,e){return Fr(t,h,e="function"==typeof e?e:r)},dr.conformsTo=function(t,e){return null==e||Pr(t,e,is(e))},dr.deburr=ys,dr.defaultTo=function(t,e){return null==t||t!=t?e:t},dr.divide=Hs,dr.endsWith=function(t,e,n){t=$u(t),e=Pi(e);var i=t.length,a=n=n===r?i:Rr(ju(n),0,i);return(n-=e.length)>=0&&t.slice(n,a)==e},dr.eq=du,dr.escape=function(t){return(t=$u(t))&&kt.test(t)?t.replace(xt,xn):t},dr.escapeRegExp=function(t){return(t=$u(t))&&Ot.test(t)?t.replace(Ct,"\\$&"):t},dr.every=function(t,e,n){var i=mu(t)?Ge:jr;return n&&Ha(t,e,n)&&(e=r),i(t,Fa(e,3))},dr.find=zo,dr.findIndex=yo,dr.findKey=function(t,e){return rn(t,Fa(e,3),Gr)},dr.findLast=Vo,dr.findLastIndex=mo,dr.findLastKey=function(t,e){return rn(t,Fa(e,3),Wr)},dr.floor=Gs,dr.forEach=$o,dr.forEachRight=Ho,dr.forIn=function(t,e){return null==t?t:$r(t,Fa(e,3),as)},dr.forInRight=function(t,e){return null==t?t:Hr(t,Fa(e,3),as)},dr.forOwn=function(t,e){return t&&Gr(t,Fa(e,3))},dr.forOwnRight=function(t,e){return t&&Wr(t,Fa(e,3))},dr.get=Qu,dr.gt=pu,dr.gte=gu,dr.has=function(t,e){return null!=t&&Ya(t,e,ti)},dr.hasIn=ts,dr.head=bo,dr.identity=Cs,dr.includes=function(t,e,n,r){t=bu(t)?t:ds(t),n=n&&!r?ju(n):0;var i=t.length;return n<0&&(n=$n(i+n,0)),Ru(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&on(t,e,n)>-1},dr.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:ju(n);return i<0&&(i=$n(r+i,0)),on(t,e,i)},dr.inRange=function(t,e,n){return e=Uu(e),n===r?(n=e,e=0):n=Uu(n),function(t,e,n){return t>=Hn(e,n)&&t<$n(e,n)}(t=zu(t),e,n)},dr.invoke=rs,dr.isArguments=yu,dr.isArray=mu,dr.isArrayBuffer=vu,dr.isArrayLike=bu,dr.isArrayLikeObject=_u,dr.isBoolean=function(t){return!0===t||!1===t||Du(t)&&Kr(t)==Y},dr.isBuffer=xu,dr.isDate=wu,dr.isElement=function(t){return Du(t)&&1===t.nodeType&&!Ou(t)},dr.isEmpty=function(t){if(null==t)return!0;if(bu(t)&&(mu(t)||"string"==typeof t||"function"==typeof t.splice||xu(t)||Pu(t)||yu(t)))return!t.length;var e=ja(t);if(e==W||e==tt)return!t.size;if(Xa(t))return!ci(t).length;for(var n in t)if(le.call(t,n))return!1;return!0},dr.isEqual=function(t,e){return ai(t,e)},dr.isEqualWith=function(t,e,n){var i=(n="function"==typeof n?n:r)?n(t,e):r;return i===r?ai(t,e,r,n):!!i},dr.isError=ku,dr.isFinite=function(t){return"number"==typeof t&&Yn(t)},dr.isFunction=Eu,dr.isInteger=Au,dr.isLength=Tu,dr.isMap=Mu,dr.isMatch=function(t,e){return t===e||oi(t,e,Ba(e))},dr.isMatchWith=function(t,e,n){return n="function"==typeof n?n:r,oi(t,e,Ba(e),n)},dr.isNaN=function(t){return Cu(t)&&t!=+t},dr.isNative=function(t){if(Za(t))throw new Kt(a);return ui(t)},dr.isNil=function(t){return null==t},dr.isNull=function(t){return null===t},dr.isNumber=Cu,dr.isObject=Su,dr.isObjectLike=Du,dr.isPlainObject=Ou,dr.isRegExp=Lu,dr.isSafeInteger=function(t){return Au(t)&&t>=-L&&t<=L},dr.isSet=Nu,dr.isString=Ru,dr.isSymbol=Fu,dr.isTypedArray=Pu,dr.isUndefined=function(t){return t===r},dr.isWeakMap=function(t){return Du(t)&&ja(t)==it},dr.isWeakSet=function(t){return Du(t)&&Kr(t)==at},dr.join=function(t,e){return null==t?"":zn.call(t,e)},dr.kebabCase=ms,dr.last=ko,dr.lastIndexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var a=i;return n!==r&&(a=(a=ju(n))<0?$n(i+a,0):Hn(a,i-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,a):an(t,sn,a,!0)},dr.lowerCase=vs,dr.lowerFirst=bs,dr.lt=Bu,dr.lte=Iu,dr.max=function(t){return t&&t.length?Yr(t,Cs,Qr):r},dr.maxBy=function(t,e){return t&&t.length?Yr(t,Fa(e,2),Qr):r},dr.mean=function(t){return cn(t,Cs)},dr.meanBy=function(t,e){return cn(t,Fa(e,2))},dr.min=function(t){return t&&t.length?Yr(t,Cs,fi):r},dr.minBy=function(t,e){return t&&t.length?Yr(t,Fa(e,2),fi):r},dr.stubArray=Ys,dr.stubFalse=zs,dr.stubObject=function(){return{}},dr.stubString=function(){return""},dr.stubTrue=function(){return!0},dr.multiply=Zs,dr.nth=function(t,e){return t&&t.length?yi(t,ju(e)):r},dr.noConflict=function(){return Oe._===this&&(Oe._=ge),this},dr.noop=Fs,dr.now=Qo,dr.pad=function(t,e,n){t=$u(t);var r=(e=ju(e))?Mn(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return ma(qn(i),n)+t+ma(In(i),n)},dr.padEnd=function(t,e,n){t=$u(t);var r=(e=ju(e))?Mn(t):0;return e&&r<e?t+ma(e-r,n):t},dr.padStart=function(t,e,n){t=$u(t);var r=(e=ju(e))?Mn(t):0;return e&&r<e?ma(e-r,n)+t:t},dr.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),Wn($u(t).replace(Nt,""),e||0)},dr.random=function(t,e,n){if(n&&"boolean"!=typeof n&&Ha(t,e,n)&&(e=n=r),n===r&&("boolean"==typeof e?(n=e,e=r):"boolean"==typeof t&&(n=t,t=r)),t===r&&e===r?(t=0,e=1):(t=Uu(t),e===r?(e=t,t=0):e=Uu(e)),t>e){var i=t;t=e,e=i}if(n||t%1||e%1){var a=Zn();return Hn(t+a*(e-t+Se("1e-"+((a+"").length-1))),e)}return xi(t,e)},dr.reduce=function(t,e,n){var r=mu(t)?Qe:hn,i=arguments.length<3;return r(t,Fa(e,4),n,i,qr)},dr.reduceRight=function(t,e,n){var r=mu(t)?tn:hn,i=arguments.length<3;return r(t,Fa(e,4),n,i,Ur)},dr.repeat=function(t,e,n){return e=(n?Ha(t,e,n):e===r)?1:ju(e),wi($u(t),e)},dr.replace=function(){var t=arguments,e=$u(t[0]);return t.length<3?e:e.replace(t[1],t[2])},dr.result=function(t,e,n){var i=-1,a=(e=Hi(e,t)).length;for(a||(a=1,t=r);++i<a;){var o=null==t?r:t[co(e[i])];o===r&&(i=a,o=n),t=Eu(o)?o.call(t):o}return t},dr.round=Xs,dr.runInContext=t,dr.sample=function(t){return(mu(t)?Er:Ei)(t)},dr.size=function(t){if(null==t)return 0;if(bu(t))return Ru(t)?Mn(t):t.length;var e=ja(t);return e==W||e==tt?t.size:ci(t).length},dr.snakeCase=_s,dr.some=function(t,e,n){var i=mu(t)?en:Oi;return n&&Ha(t,e,n)&&(e=r),i(t,Fa(e,3))},dr.sortedIndex=function(t,e){return Li(t,e)},dr.sortedIndexBy=function(t,e,n){return Ni(t,e,Fa(n,2))},dr.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=Li(t,e);if(r<n&&du(t[r],e))return r}return-1},dr.sortedLastIndex=function(t,e){return Li(t,e,!0)},dr.sortedLastIndexBy=function(t,e,n){return Ni(t,e,Fa(n,2),!0)},dr.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=Li(t,e,!0)-1;if(du(t[n],e))return n}return-1},dr.startCase=xs,dr.startsWith=function(t,e,n){return t=$u(t),n=null==n?0:Rr(ju(n),0,t.length),e=Pi(e),t.slice(n,n+e.length)==e},dr.subtract=Js,dr.sum=function(t){return t&&t.length?dn(t,Cs):0},dr.sumBy=function(t,e){return t&&t.length?dn(t,Fa(e,2)):0},dr.template=function(t,e,n){var i=dr.templateSettings;n&&Ha(t,e,n)&&(e=r),t=$u(t),e=Wu({},e,i,Aa);var a,o,u=Wu({},e.imports,i.imports,Aa),s=is(u),c=yn(u,s),l=0,f=e.interpolate||Wt,h="__p += '",d=ne((e.escape||Wt).source+"|"+f.source+"|"+(f===Tt?Ut:Wt).source+"|"+(e.evaluate||Wt).source+"|$","g"),p="//# sourceURL="+(le.call(e,"sourceURL")?(e.sourceURL+"").replace(/[\r\n]/g," "):"lodash.templateSources["+ ++ke+"]")+"\n";t.replace(d,function(e,n,r,i,u,s){return r||(r=i),h+=t.slice(l,s).replace(Zt,wn),n&&(a=!0,h+="' +\n__e("+n+") +\n'"),u&&(o=!0,h+="';\n"+u+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=s+e.length,e}),h+="';\n";var g=le.call(e,"variable")&&e.variable;g||(h="with (obj) {\n"+h+"\n}\n"),h=(o?h.replace(mt,""):h).replace(vt,"$1").replace(bt,"$1;"),h="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var y=As(function(){return Qt(s,p+"return "+h).apply(r,c)});if(y.source=h,ku(y))throw y;return y},dr.times=function(t,e){if((t=ju(t))<1||t>L)return[];var n=F,r=Hn(t,F);e=Fa(e),t-=F;for(var i=pn(r,e);++n<t;)e(n);return i},dr.toFinite=Uu,dr.toInteger=ju,dr.toLength=Yu,dr.toLower=function(t){return $u(t).toLowerCase()},dr.toNumber=zu,dr.toSafeInteger=function(t){return t?Rr(ju(t),-L,L):0===t?t:0},dr.toString=$u,dr.toUpper=function(t){return $u(t).toUpperCase()},dr.trim=function(t,e,n){if((t=$u(t))&&(n||e===r))return t.replace(Lt,"");if(!t||!(e=Pi(e)))return t;var i=Cn(t),a=Cn(e);return Wi(i,vn(i,a),bn(i,a)+1).join("")},dr.trimEnd=function(t,e,n){if((t=$u(t))&&(n||e===r))return t.replace(Rt,"");if(!t||!(e=Pi(e)))return t;var i=Cn(t);return Wi(i,0,bn(i,Cn(e))+1).join("")},dr.trimStart=function(t,e,n){if((t=$u(t))&&(n||e===r))return t.replace(Nt,"");if(!t||!(e=Pi(e)))return t;var i=Cn(t);return Wi(i,vn(i,Cn(e))).join("")},dr.truncate=function(t,e){var n=A,i=T;if(Su(e)){var a="separator"in e?e.separator:a;n="length"in e?ju(e.length):n,i="omission"in e?Pi(e.omission):i}var o=(t=$u(t)).length;if(kn(t)){var u=Cn(t);o=u.length}if(n>=o)return t;var s=n-Mn(i);if(s<1)return i;var c=u?Wi(u,0,s).join(""):t.slice(0,s);if(a===r)return c+i;if(u&&(s+=c.length-s),Lu(a)){if(t.slice(s).search(a)){var l,f=c;for(a.global||(a=ne(a.source,$u(jt.exec(a))+"g")),a.lastIndex=0;l=a.exec(f);)var h=l.index;c=c.slice(0,h===r?s:h)}}else if(t.indexOf(Pi(a),s)!=s){var d=c.lastIndexOf(a);d>-1&&(c=c.slice(0,d))}return c+i},dr.unescape=function(t){return(t=$u(t))&&wt.test(t)?t.replace(_t,On):t},dr.uniqueId=function(t){var e=++fe;return $u(t)+e},dr.upperCase=ws,dr.upperFirst=ks,dr.each=$o,dr.eachRight=Ho,dr.first=bo,Rs(dr,(Ws={},Gr(dr,function(t,e){le.call(dr.prototype,e)||(Ws[e]=t)}),Ws),{chain:!1}),dr.VERSION="4.17.13",$e(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){dr[t].placeholder=dr}),$e(["drop","take"],function(t,e){mr.prototype[t]=function(n){n=n===r?1:$n(ju(n),0);var i=this.__filtered__&&!e?new mr(this):this.clone();return i.__filtered__?i.__takeCount__=Hn(n,i.__takeCount__):i.__views__.push({size:Hn(n,F),type:t+(i.__dir__<0?"Right":"")}),i},mr.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),$e(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==M||3==n;mr.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Fa(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),$e(["head","last"],function(t,e){var n="take"+(e?"Right":"");mr.prototype[t]=function(){return this[n](1).value()[0]}}),$e(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");mr.prototype[t]=function(){return this.__filtered__?new mr(this):this[n](1)}}),mr.prototype.compact=function(){return this.filter(Cs)},mr.prototype.find=function(t){return this.filter(t).head()},mr.prototype.findLast=function(t){return this.reverse().find(t)},mr.prototype.invokeMap=ki(function(t,e){return"function"==typeof t?new mr(this):this.map(function(n){return ri(n,t,e)})}),mr.prototype.reject=function(t){return this.filter(su(Fa(t)))},mr.prototype.slice=function(t,e){t=ju(t);var n=this;return n.__filtered__&&(t>0||e<0)?new mr(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==r&&(n=(e=ju(e))<0?n.dropRight(-e):n.take(e-t)),n)},mr.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},mr.prototype.toArray=function(){return this.take(F)},Gr(mr.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),i=/^(?:head|last)$/.test(e),a=dr[i?"take"+("last"==e?"Right":""):e],o=i||/^find/.test(e);a&&(dr.prototype[e]=function(){var e=this.__wrapped__,u=i?[1]:arguments,s=e instanceof mr,c=u[0],l=s||mu(e),f=function(t){var e=a.apply(dr,Ke([t],u));return i&&h?e[0]:e};l&&n&&"function"==typeof c&&1!=c.length&&(s=l=!1);var h=this.__chain__,d=!!this.__actions__.length,p=o&&!h,g=s&&!d;if(!o&&l){e=g?e:new mr(this);var y=t.apply(e,u);return y.__actions__.push({func:Uo,args:[f],thisArg:r}),new yr(y,h)}return p&&g?t.apply(this,u):(y=this.thru(f),p?i?y.value()[0]:y.value():y)})}),$e(["pop","push","shift","sort","splice","unshift"],function(t){var e=ae[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);dr.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(mu(i)?i:[],t)}return this[n](function(n){return e.apply(mu(n)?n:[],t)})}}),Gr(mr.prototype,function(t,e){var n=dr[e];if(n){var r=n.name+"";le.call(ir,r)||(ir[r]=[]),ir[r].push({name:e,func:n})}}),ir[da(r,y).name]=[{name:"wrapper",func:r}],mr.prototype.clone=function(){var t=new mr(this.__wrapped__);return t.__actions__=na(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=na(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=na(this.__views__),t},mr.prototype.reverse=function(){if(this.__filtered__){var t=new mr(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},mr.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=mu(t),r=e<0,i=n?t.length:0,a=function(t,e,n){for(var r=-1,i=n.length;++r<i;){var a=n[r],o=a.size;switch(a.type){case"drop":t+=o;break;case"dropRight":e-=o;break;case"take":e=Hn(e,t+o);break;case"takeRight":t=$n(t,e-o)}}return{start:t,end:e}}(0,i,this.__views__),o=a.start,u=a.end,s=u-o,c=r?u:o-1,l=this.__iteratees__,f=l.length,h=0,d=Hn(s,this.__takeCount__);if(!n||!r&&i==s&&d==s)return ji(t,this.__actions__);var p=[];t:for(;s--&&h<d;){for(var g=-1,y=t[c+=e];++g<f;){var m=l[g],v=m.iteratee,b=m.type,_=v(y);if(b==C)y=_;else if(!_){if(b==M)continue t;break t}}p[h++]=y}return p},dr.prototype.at=jo,dr.prototype.chain=function(){return qo(this)},dr.prototype.commit=function(){return new yr(this.value(),this.__chain__)},dr.prototype.next=function(){this.__values__===r&&(this.__values__=qu(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?r:this.__values__[this.__index__++]}},dr.prototype.plant=function(t){for(var e,n=this;n instanceof gr;){var i=fo(n);i.__index__=0,i.__values__=r,e?a.__wrapped__=i:e=i;var a=i;n=n.__wrapped__}return a.__wrapped__=t,e},dr.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof mr){var e=t;return this.__actions__.length&&(e=new mr(this)),(e=e.reverse()).__actions__.push({func:Uo,args:[So],thisArg:r}),new yr(e,this.__chain__)}return this.thru(So)},dr.prototype.toJSON=dr.prototype.valueOf=dr.prototype.value=function(){return ji(this.__wrapped__,this.__actions__)},dr.prototype.first=dr.prototype.head,fn&&(dr.prototype[fn]=function(){return this}),dr}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(Oe._=Ln,define(function(){return Ln})):Ne?((Ne.exports=Ln)._=Ln,Le._=Ln):Oe._=Ln}).call(this)}).call(this,n(22),n(4)(t))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){(function(t){t.exports=function(){"use strict";var e,r;function i(){return e.apply(null,arguments)}function a(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function o(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function u(t){return void 0===t}function s(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function c(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function l(t,e){var n,r=[];for(n=0;n<t.length;++n)r.push(e(t[n],n));return r}function f(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function h(t,e){for(var n in e)f(e,n)&&(t[n]=e[n]);return f(e,"toString")&&(t.toString=e.toString),f(e,"valueOf")&&(t.valueOf=e.valueOf),t}function d(t,e,n,r){return Se(t,e,n,r,!0).utc()}function p(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function g(t){if(null==t._isValid){var e=p(t),n=r.call(e.parsedDateParts,function(t){return null!=t}),i=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(i=i&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return i;t._isValid=i}return t._isValid}function y(t){var e=d(NaN);return null!=t?h(p(e),t):p(e).userInvalidated=!0,e}r=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,r=0;r<n;r++)if(r in e&&t.call(this,e[r],r,e))return!0;return!1};var m=i.momentProperties=[];function v(t,e){var n,r,i;if(u(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),u(e._i)||(t._i=e._i),u(e._f)||(t._f=e._f),u(e._l)||(t._l=e._l),u(e._strict)||(t._strict=e._strict),u(e._tzm)||(t._tzm=e._tzm),u(e._isUTC)||(t._isUTC=e._isUTC),u(e._offset)||(t._offset=e._offset),u(e._pf)||(t._pf=p(e)),u(e._locale)||(t._locale=e._locale),0<m.length)for(n=0;n<m.length;n++)u(i=e[r=m[n]])||(t[r]=i);return t}var b=!1;function _(t){v(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===b&&(b=!0,i.updateOffset(this),b=!1)}function x(t){return t instanceof _||null!=t&&null!=t._isAMomentObject}function w(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function k(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=w(e)),n}function E(t,e,n){var r,i=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),o=0;for(r=0;r<i;r++)(n&&t[r]!==e[r]||!n&&k(t[r])!==k(e[r]))&&o++;return o+a}function A(t){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function T(t,e){var n=!0;return h(function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,t),n){for(var r,a=[],o=0;o<arguments.length;o++){if(r="","object"==typeof arguments[o]){for(var u in r+="\n["+o+"] ",arguments[0])r+=u+": "+arguments[0][u]+", ";r=r.slice(0,-2)}else r=arguments[o];a.push(r)}A(t+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),n=!1}return e.apply(this,arguments)},e)}var S,D={};function M(t,e){null!=i.deprecationHandler&&i.deprecationHandler(t,e),D[t]||(A(e),D[t]=!0)}function C(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function O(t,e){var n,r=h({},t);for(n in e)f(e,n)&&(o(t[n])&&o(e[n])?(r[n]={},h(r[n],t[n]),h(r[n],e[n])):null!=e[n]?r[n]=e[n]:delete r[n]);for(n in t)f(t,n)&&!f(e,n)&&o(t[n])&&(r[n]=h({},r[n]));return r}function L(t){null!=t&&this.set(t)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,S=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)f(t,e)&&n.push(e);return n};var N={};function R(t,e){var n=t.toLowerCase();N[n]=N[n+"s"]=N[e]=t}function F(t){return"string"==typeof t?N[t]||N[t.toLowerCase()]:void 0}function P(t){var e,n,r={};for(n in t)f(t,n)&&(e=F(n))&&(r[e]=t[n]);return r}var B={};function I(t,e){B[t]=e}function q(t,e,n){var r=""+Math.abs(t),i=e-r.length;return(0<=t?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var U=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,j=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Y={},z={};function V(t,e,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),t&&(z[t]=i),e&&(z[e[0]]=function(){return q(i.apply(this,arguments),e[1],e[2])}),n&&(z[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function $(t,e){return t.isValid()?(e=H(e,t.localeData()),Y[e]=Y[e]||function(t){var e,n,r,i=t.match(U);for(e=0,n=i.length;e<n;e++)z[i[e]]?i[e]=z[i[e]]:i[e]=(r=i[e]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(e){var r,a="";for(r=0;r<n;r++)a+=C(i[r])?i[r].call(e,t):i[r];return a}}(e),Y[e](t)):t.localeData().invalidDate()}function H(t,e){var n=5;function r(t){return e.longDateFormat(t)||t}for(j.lastIndex=0;0<=n&&j.test(t);)t=t.replace(j,r),j.lastIndex=0,n-=1;return t}var G=/\d/,W=/\d\d/,Z=/\d{3}/,X=/\d{4}/,J=/[+-]?\d{6}/,K=/\d\d?/,Q=/\d\d\d\d?/,tt=/\d\d\d\d\d\d?/,et=/\d{1,3}/,nt=/\d{1,4}/,rt=/[+-]?\d{1,6}/,it=/\d+/,at=/[+-]?\d+/,ot=/Z|[+-]\d\d:?\d\d/gi,ut=/Z|[+-]\d\d(?::?\d\d)?/gi,st=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ct={};function lt(t,e,n){ct[t]=C(e)?e:function(t,r){return t&&n?n:e}}function ft(t,e){return f(ct,t)?ct[t](e._strict,e._locale):new RegExp(ht(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,r,i){return e||n||r||i})))}function ht(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var dt={};function pt(t,e){var n,r=e;for("string"==typeof t&&(t=[t]),s(e)&&(r=function(t,n){n[e]=k(t)}),n=0;n<t.length;n++)dt[t[n]]=r}function gt(t,e){pt(t,function(t,n,r,i){r._w=r._w||{},e(t,r._w,r,i)})}var yt=0,mt=1,vt=2,bt=3,_t=4,xt=5,wt=6,kt=7,Et=8;function At(t){return Tt(t)?366:365}function Tt(t){return t%4==0&&t%100!=0||t%400==0}V("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),V(0,["YY",2],0,function(){return this.year()%100}),V(0,["YYYY",4],0,"year"),V(0,["YYYYY",5],0,"year"),V(0,["YYYYYY",6,!0],0,"year"),R("year","y"),I("year",1),lt("Y",at),lt("YY",K,W),lt("YYYY",nt,X),lt("YYYYY",rt,J),lt("YYYYYY",rt,J),pt(["YYYYY","YYYYYY"],yt),pt("YYYY",function(t,e){e[yt]=2===t.length?i.parseTwoDigitYear(t):k(t)}),pt("YY",function(t,e){e[yt]=i.parseTwoDigitYear(t)}),pt("Y",function(t,e){e[yt]=parseInt(t,10)}),i.parseTwoDigitYear=function(t){return k(t)+(68<k(t)?1900:2e3)};var St,Dt=Mt("FullYear",!0);function Mt(t,e){return function(n){return null!=n?(Ot(this,t,n),i.updateOffset(this,e),this):Ct(this,t)}}function Ct(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Ot(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&Tt(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),Lt(n,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function Lt(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=(e%12+12)%12;return t+=(e-n)/12,1===n?Tt(t)?29:28:31-n%7%2}St=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},V("M",["MM",2],"Mo",function(){return this.month()+1}),V("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),V("MMMM",0,0,function(t){return this.localeData().months(this,t)}),R("month","M"),I("month",8),lt("M",K),lt("MM",K,W),lt("MMM",function(t,e){return e.monthsShortRegex(t)}),lt("MMMM",function(t,e){return e.monthsRegex(t)}),pt(["M","MM"],function(t,e){e[mt]=k(t)-1}),pt(["MMM","MMMM"],function(t,e,n,r){var i=n._locale.monthsParse(t,r,n._strict);null!=i?e[mt]=i:p(n).invalidMonth=t});var Nt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Rt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ft="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Pt(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=k(e);else if(!s(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),Lt(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function Bt(t){return null!=t?(Pt(this,t),i.updateOffset(this,!0),this):Ct(this,"Month")}var It=st,qt=st;function Ut(){function t(t,e){return e.length-t.length}var e,n,r=[],i=[],a=[];for(e=0;e<12;e++)n=d([2e3,e]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(r.sort(t),i.sort(t),a.sort(t),e=0;e<12;e++)r[e]=ht(r[e]),i[e]=ht(i[e]);for(e=0;e<24;e++)a[e]=ht(a[e]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function jt(t){var e=new Date(Date.UTC.apply(null,arguments));return t<100&&0<=t&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function Yt(t,e,n){var r=7+e-n;return-(7+jt(t,0,r).getUTCDay()-e)%7+r-1}function zt(t,e,n,r,i){var a,o,u=1+7*(e-1)+(7+n-r)%7+Yt(t,r,i);return u<=0?o=At(a=t-1)+u:u>At(t)?(a=t+1,o=u-At(t)):(a=t,o=u),{year:a,dayOfYear:o}}function Vt(t,e,n){var r,i,a=Yt(t.year(),e,n),o=Math.floor((t.dayOfYear()-a-1)/7)+1;return o<1?r=o+$t(i=t.year()-1,e,n):o>$t(t.year(),e,n)?(r=o-$t(t.year(),e,n),i=t.year()+1):(i=t.year(),r=o),{week:r,year:i}}function $t(t,e,n){var r=Yt(t,e,n),i=Yt(t+1,e,n);return(At(t)-r+i)/7}V("w",["ww",2],"wo","week"),V("W",["WW",2],"Wo","isoWeek"),R("week","w"),R("isoWeek","W"),I("week",5),I("isoWeek",5),lt("w",K),lt("ww",K,W),lt("W",K),lt("WW",K,W),gt(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=k(t)}),V("d",0,"do","day"),V("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),V("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),V("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),V("e",0,0,"weekday"),V("E",0,0,"isoWeekday"),R("day","d"),R("weekday","e"),R("isoWeekday","E"),I("day",11),I("weekday",11),I("isoWeekday",11),lt("d",K),lt("e",K),lt("E",K),lt("dd",function(t,e){return e.weekdaysMinRegex(t)}),lt("ddd",function(t,e){return e.weekdaysShortRegex(t)}),lt("dddd",function(t,e){return e.weekdaysRegex(t)}),gt(["dd","ddd","dddd"],function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._strict);null!=i?e.d=i:p(n).invalidWeekday=t}),gt(["d","e","E"],function(t,e,n,r){e[r]=k(t)});var Ht="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Gt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Wt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Zt=st,Xt=st,Jt=st;function Kt(){function t(t,e){return e.length-t.length}var e,n,r,i,a,o=[],u=[],s=[],c=[];for(e=0;e<7;e++)n=d([2e3,1]).day(e),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),a=this.weekdays(n,""),o.push(r),u.push(i),s.push(a),c.push(r),c.push(i),c.push(a);for(o.sort(t),u.sort(t),s.sort(t),c.sort(t),e=0;e<7;e++)u[e]=ht(u[e]),s[e]=ht(s[e]),c[e]=ht(c[e]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Qt(){return this.hours()%12||12}function te(t,e){V(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function ee(t,e){return e._meridiemParse}V("H",["HH",2],0,"hour"),V("h",["hh",2],0,Qt),V("k",["kk",2],0,function(){return this.hours()||24}),V("hmm",0,0,function(){return""+Qt.apply(this)+q(this.minutes(),2)}),V("hmmss",0,0,function(){return""+Qt.apply(this)+q(this.minutes(),2)+q(this.seconds(),2)}),V("Hmm",0,0,function(){return""+this.hours()+q(this.minutes(),2)}),V("Hmmss",0,0,function(){return""+this.hours()+q(this.minutes(),2)+q(this.seconds(),2)}),te("a",!0),te("A",!1),R("hour","h"),I("hour",13),lt("a",ee),lt("A",ee),lt("H",K),lt("h",K),lt("k",K),lt("HH",K,W),lt("hh",K,W),lt("kk",K,W),lt("hmm",Q),lt("hmmss",tt),lt("Hmm",Q),lt("Hmmss",tt),pt(["H","HH"],bt),pt(["k","kk"],function(t,e,n){var r=k(t);e[bt]=24===r?0:r}),pt(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),pt(["h","hh"],function(t,e,n){e[bt]=k(t),p(n).bigHour=!0}),pt("hmm",function(t,e,n){var r=t.length-2;e[bt]=k(t.substr(0,r)),e[_t]=k(t.substr(r)),p(n).bigHour=!0}),pt("hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[bt]=k(t.substr(0,r)),e[_t]=k(t.substr(r,2)),e[xt]=k(t.substr(i)),p(n).bigHour=!0}),pt("Hmm",function(t,e,n){var r=t.length-2;e[bt]=k(t.substr(0,r)),e[_t]=k(t.substr(r))}),pt("Hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[bt]=k(t.substr(0,r)),e[_t]=k(t.substr(r,2)),e[xt]=k(t.substr(i))});var ne,re=Mt("Hours",!0),ie={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Rt,monthsShort:Ft,week:{dow:0,doy:6},weekdays:Ht,weekdaysMin:Wt,weekdaysShort:Gt,meridiemParse:/[ap]\.?m?\.?/i},ae={},oe={};function ue(t){return t?t.toLowerCase().replace("_","-"):t}function se(e){var r=null;if(!ae[e]&&void 0!==t&&t&&t.exports)try{r=ne._abbr,n(35)("./"+e),ce(r)}catch(e){}return ae[e]}function ce(t,e){var n;return t&&((n=u(e)?fe(t):le(t,e))?ne=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),ne._abbr}function le(t,e){if(null!==e){var n,r=ie;if(e.abbr=t,null!=ae[t])M("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ae[t]._config;else if(null!=e.parentLocale)if(null!=ae[e.parentLocale])r=ae[e.parentLocale]._config;else{if(null==(n=se(e.parentLocale)))return oe[e.parentLocale]||(oe[e.parentLocale]=[]),oe[e.parentLocale].push({name:t,config:e}),null;r=n._config}return ae[t]=new L(O(r,e)),oe[t]&&oe[t].forEach(function(t){le(t.name,t.config)}),ce(t),ae[t]}return delete ae[t],null}function fe(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return ne;if(!a(t)){if(e=se(t))return e;t=[t]}return function(t){for(var e,n,r,i,a=0;a<t.length;){for(e=(i=ue(t[a]).split("-")).length,n=(n=ue(t[a+1]))?n.split("-"):null;0<e;){if(r=se(i.slice(0,e).join("-")))return r;if(n&&n.length>=e&&E(i,n,!0)>=e-1)break;e--}a++}return ne}(t)}function he(t){var e,n=t._a;return n&&-2===p(t).overflow&&(e=n[mt]<0||11<n[mt]?mt:n[vt]<1||n[vt]>Lt(n[yt],n[mt])?vt:n[bt]<0||24<n[bt]||24===n[bt]&&(0!==n[_t]||0!==n[xt]||0!==n[wt])?bt:n[_t]<0||59<n[_t]?_t:n[xt]<0||59<n[xt]?xt:n[wt]<0||999<n[wt]?wt:-1,p(t)._overflowDayOfYear&&(e<yt||vt<e)&&(e=vt),p(t)._overflowWeeks&&-1===e&&(e=kt),p(t)._overflowWeekday&&-1===e&&(e=Et),p(t).overflow=e),t}function de(t,e,n){return null!=t?t:null!=e?e:n}function pe(t){var e,n,r,a,o,u=[];if(!t._d){var s,c;for(s=t,c=new Date(i.now()),r=s._useUTC?[c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()]:[c.getFullYear(),c.getMonth(),c.getDate()],t._w&&null==t._a[vt]&&null==t._a[mt]&&function(t){var e,n,r,i,a,o,u,s;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)a=1,o=4,n=de(e.GG,t._a[yt],Vt(De(),1,4).year),r=de(e.W,1),((i=de(e.E,1))<1||7<i)&&(s=!0);else{a=t._locale._week.dow,o=t._locale._week.doy;var c=Vt(De(),a,o);n=de(e.gg,t._a[yt],c.year),r=de(e.w,c.week),null!=e.d?((i=e.d)<0||6<i)&&(s=!0):null!=e.e?(i=e.e+a,(e.e<0||6<e.e)&&(s=!0)):i=a}r<1||r>$t(n,a,o)?p(t)._overflowWeeks=!0:null!=s?p(t)._overflowWeekday=!0:(u=zt(n,r,i,a,o),t._a[yt]=u.year,t._dayOfYear=u.dayOfYear)}(t),null!=t._dayOfYear&&(o=de(t._a[yt],r[yt]),(t._dayOfYear>At(o)||0===t._dayOfYear)&&(p(t)._overflowDayOfYear=!0),n=jt(o,0,t._dayOfYear),t._a[mt]=n.getUTCMonth(),t._a[vt]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=u[e]=r[e];for(;e<7;e++)t._a[e]=u[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[bt]&&0===t._a[_t]&&0===t._a[xt]&&0===t._a[wt]&&(t._nextDay=!0,t._a[bt]=0),t._d=(t._useUTC?jt:function(t,e,n,r,i,a,o){var u=new Date(t,e,n,r,i,a,o);return t<100&&0<=t&&isFinite(u.getFullYear())&&u.setFullYear(t),u}).apply(null,u),a=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[bt]=24),t._w&&void 0!==t._w.d&&t._w.d!==a&&(p(t).weekdayMismatch=!0)}}var ge=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ye=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,me=/Z|[+-]\d\d(?::?\d\d)?/,ve=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],be=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],_e=/^\/?Date\((\-?\d+)/i;function xe(t){var e,n,r,i,a,o,u=t._i,s=ge.exec(u)||ye.exec(u);if(s){for(p(t).iso=!0,e=0,n=ve.length;e<n;e++)if(ve[e][1].exec(s[1])){i=ve[e][0],r=!1!==ve[e][2];break}if(null==i)return void(t._isValid=!1);if(s[3]){for(e=0,n=be.length;e<n;e++)if(be[e][1].exec(s[3])){a=(s[2]||" ")+be[e][0];break}if(null==a)return void(t._isValid=!1)}if(!r&&null!=a)return void(t._isValid=!1);if(s[4]){if(!me.exec(s[4]))return void(t._isValid=!1);o="Z"}t._f=i+(a||"")+(o||""),Ae(t)}else t._isValid=!1}var we=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,ke={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ee(t){var e,n,r,i=we.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim());if(i){var a=function(t,e,n,r,i,a){var o=[function(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}(t),Ft.indexOf(e),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&o.push(parseInt(a,10)),o}(i[4],i[3],i[2],i[5],i[6],i[7]);if(e=i[1],n=a,r=t,e&&Gt.indexOf(e)!==new Date(n[0],n[1],n[2]).getDay()&&(p(r).weekdayMismatch=!0,!(r._isValid=!1)))return;t._a=a,t._tzm=function(t,e,n){if(t)return ke[t];if(e)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}(i[8],i[9],i[10]),t._d=jt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),p(t).rfc2822=!0}else t._isValid=!1}function Ae(t){if(t._f!==i.ISO_8601)if(t._f!==i.RFC_2822){t._a=[],p(t).empty=!0;var e,n,r,a,o,u,s,c,l=""+t._i,h=l.length,d=0;for(r=H(t._f,t._locale).match(U)||[],e=0;e<r.length;e++)a=r[e],(n=(l.match(ft(a,t))||[])[0])&&(0<(o=l.substr(0,l.indexOf(n))).length&&p(t).unusedInput.push(o),l=l.slice(l.indexOf(n)+n.length),d+=n.length),z[a]?(n?p(t).empty=!1:p(t).unusedTokens.push(a),u=a,c=t,null!=(s=n)&&f(dt,u)&&dt[u](s,c._a,c,u)):t._strict&&!n&&p(t).unusedTokens.push(a);p(t).charsLeftOver=h-d,0<l.length&&p(t).unusedInput.push(l),t._a[bt]<=12&&!0===p(t).bigHour&&0<t._a[bt]&&(p(t).bigHour=void 0),p(t).parsedDateParts=t._a.slice(0),p(t).meridiem=t._meridiem,t._a[bt]=function(t,e,n){var r;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):(null!=t.isPM&&((r=t.isPM(n))&&e<12&&(e+=12),r||12!==e||(e=0)),e)}(t._locale,t._a[bt],t._meridiem),pe(t),he(t)}else Ee(t);else xe(t)}function Te(t){var e,n,r,f,d=t._i,m=t._f;return t._locale=t._locale||fe(t._l),null===d||void 0===m&&""===d?y({nullInput:!0}):("string"==typeof d&&(t._i=d=t._locale.preparse(d)),x(d)?new _(he(d)):(c(d)?t._d=d:a(m)?function(t){var e,n,r,i,a;if(0===t._f.length)return p(t).invalidFormat=!0,t._d=new Date(NaN);for(i=0;i<t._f.length;i++)a=0,e=v({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[i],Ae(e),g(e)&&(a+=p(e).charsLeftOver,a+=10*p(e).unusedTokens.length,p(e).score=a,(null==r||a<r)&&(r=a,n=e));h(t,n||e)}(t):m?Ae(t):u(n=(e=t)._i)?e._d=new Date(i.now()):c(n)?e._d=new Date(n.valueOf()):"string"==typeof n?(r=e,null===(f=_e.exec(r._i))?(xe(r),!1===r._isValid&&(delete r._isValid,Ee(r),!1===r._isValid&&(delete r._isValid,i.createFromInputFallback(r)))):r._d=new Date(+f[1])):a(n)?(e._a=l(n.slice(0),function(t){return parseInt(t,10)}),pe(e)):o(n)?function(t){if(!t._d){var e=P(t._i);t._a=l([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),pe(t)}}(e):s(n)?e._d=new Date(n):i.createFromInputFallback(e),g(t)||(t._d=null),t))}function Se(t,e,n,r,i){var u,s={};return!0!==n&&!1!==n||(r=n,n=void 0),(o(t)&&function(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}(t)||a(t)&&0===t.length)&&(t=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=n,s._i=t,s._f=e,s._strict=r,(u=new _(he(Te(s))))._nextDay&&(u.add(1,"d"),u._nextDay=void 0),u}function De(t,e,n,r){return Se(t,e,n,r,!1)}i.createFromInputFallback=T("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),i.ISO_8601=function(){},i.RFC_2822=function(){};var Me=T("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=De.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:y()}),Ce=T("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=De.apply(null,arguments);return this.isValid()&&t.isValid()?this<t?this:t:y()});function Oe(t,e){var n,r;if(1===e.length&&a(e[0])&&(e=e[0]),!e.length)return De();for(n=e[0],r=1;r<e.length;++r)e[r].isValid()&&!e[r][t](n)||(n=e[r]);return n}var Le=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ne(t){var e=P(t),n=e.year||0,r=e.quarter||0,i=e.month||0,a=e.week||0,o=e.day||0,u=e.hour||0,s=e.minute||0,c=e.second||0,l=e.millisecond||0;this._isValid=function(t){for(var e in t)if(-1===St.call(Le,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var n=!1,r=0;r<Le.length;++r)if(t[Le[r]]){if(n)return!1;parseFloat(t[Le[r]])!==k(t[Le[r]])&&(n=!0)}return!0}(e),this._milliseconds=+l+1e3*c+6e4*s+1e3*u*60*60,this._days=+o+7*a,this._months=+i+3*r+12*n,this._data={},this._locale=fe(),this._bubble()}function Re(t){return t instanceof Ne}function Fe(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Pe(t,e){V(t,0,0,function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+q(~~(t/60),2)+e+q(~~t%60,2)})}Pe("Z",":"),Pe("ZZ",""),lt("Z",ut),lt("ZZ",ut),pt(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Ie(ut,t)});var Be=/([\+\-]|\d\d)/gi;function Ie(t,e){var n=(e||"").match(t);if(null===n)return null;var r=((n[n.length-1]||[])+"").match(Be)||["-",0,0],i=60*r[1]+k(r[2]);return 0===i?0:"+"===r[0]?i:-i}function qe(t,e){var n,r;return e._isUTC?(n=e.clone(),r=(x(t)||c(t)?t.valueOf():De(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):De(t).local()}function Ue(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function je(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Ye=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,ze=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ve(t,e){var n,r,i,a=t,o=null;return Re(t)?a={ms:t._milliseconds,d:t._days,M:t._months}:s(t)?(a={},e?a[e]=t:a.milliseconds=t):(o=Ye.exec(t))?(n="-"===o[1]?-1:1,a={y:0,d:k(o[vt])*n,h:k(o[bt])*n,m:k(o[_t])*n,s:k(o[xt])*n,ms:k(Fe(1e3*o[wt]))*n}):(o=ze.exec(t))?(n="-"===o[1]?-1:(o[1],1),a={y:$e(o[2],n),M:$e(o[3],n),w:$e(o[4],n),d:$e(o[5],n),h:$e(o[6],n),m:$e(o[7],n),s:$e(o[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(i=function(t,e){var n;return t.isValid()&&e.isValid()?(e=qe(e,t),t.isBefore(e)?n=He(t,e):((n=He(e,t)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}(De(a.from),De(a.to)),(a={}).ms=i.milliseconds,a.M=i.months),r=new Ne(a),Re(t)&&f(t,"_locale")&&(r._locale=t._locale),r}function $e(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function He(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Ge(t,e){return function(n,r){var i;return null===r||isNaN(+r)||(M(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),We(this,Ve(n="string"==typeof n?+n:n,r),t),this}}function We(t,e,n,r){var a=e._milliseconds,o=Fe(e._days),u=Fe(e._months);t.isValid()&&(r=null==r||r,u&&Pt(t,Ct(t,"Month")+u*n),o&&Ot(t,"Date",Ct(t,"Date")+o*n),a&&t._d.setTime(t._d.valueOf()+a*n),r&&i.updateOffset(t,o||u))}Ve.fn=Ne.prototype,Ve.invalid=function(){return Ve(NaN)};var Ze=Ge(1,"add"),Xe=Ge(-1,"subtract");function Je(t,e){var n=12*(e.year()-t.year())+(e.month()-t.month()),r=t.clone().add(n,"months");return-(n+(e-r<0?(e-r)/(r-t.clone().add(n-1,"months")):(e-r)/(t.clone().add(n+1,"months")-r)))||0}function Ke(t){var e;return void 0===t?this._locale._abbr:(null!=(e=fe(t))&&(this._locale=e),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Qe=T("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});function tn(){return this._locale}function en(t,e){V(0,[t,t.length],0,e)}function nn(t,e,n,r,i){var a;return null==t?Vt(this,r,i).year:((a=$t(t,r,i))<e&&(e=a),function(t,e,n,r,i){var a=zt(t,e,n,r,i),o=jt(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}.call(this,t,e,n,r,i))}V(0,["gg",2],0,function(){return this.weekYear()%100}),V(0,["GG",2],0,function(){return this.isoWeekYear()%100}),en("gggg","weekYear"),en("ggggg","weekYear"),en("GGGG","isoWeekYear"),en("GGGGG","isoWeekYear"),R("weekYear","gg"),R("isoWeekYear","GG"),I("weekYear",1),I("isoWeekYear",1),lt("G",at),lt("g",at),lt("GG",K,W),lt("gg",K,W),lt("GGGG",nt,X),lt("gggg",nt,X),lt("GGGGG",rt,J),lt("ggggg",rt,J),gt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=k(t)}),gt(["gg","GG"],function(t,e,n,r){e[r]=i.parseTwoDigitYear(t)}),V("Q",0,"Qo","quarter"),R("quarter","Q"),I("quarter",7),lt("Q",G),pt("Q",function(t,e){e[mt]=3*(k(t)-1)}),V("D",["DD",2],"Do","date"),R("date","D"),I("date",9),lt("D",K),lt("DD",K,W),lt("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),pt(["D","DD"],vt),pt("Do",function(t,e){e[vt]=k(t.match(K)[0])});var rn=Mt("Date",!0);V("DDD",["DDDD",3],"DDDo","dayOfYear"),R("dayOfYear","DDD"),I("dayOfYear",4),lt("DDD",et),lt("DDDD",Z),pt(["DDD","DDDD"],function(t,e,n){n._dayOfYear=k(t)}),V("m",["mm",2],0,"minute"),R("minute","m"),I("minute",14),lt("m",K),lt("mm",K,W),pt(["m","mm"],_t);var an=Mt("Minutes",!1);V("s",["ss",2],0,"second"),R("second","s"),I("second",15),lt("s",K),lt("ss",K,W),pt(["s","ss"],xt);var on,un=Mt("Seconds",!1);for(V("S",0,0,function(){return~~(this.millisecond()/100)}),V(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),V(0,["SSS",3],0,"millisecond"),V(0,["SSSS",4],0,function(){return 10*this.millisecond()}),V(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),V(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),V(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),V(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),V(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),R("millisecond","ms"),I("millisecond",16),lt("S",et,G),lt("SS",et,W),lt("SSS",et,Z),on="SSSS";on.length<=9;on+="S")lt(on,it);function sn(t,e){e[wt]=k(1e3*("0."+t))}for(on="S";on.length<=9;on+="S")pt(on,sn);var cn=Mt("Milliseconds",!1);V("z",0,0,"zoneAbbr"),V("zz",0,0,"zoneName");var ln=_.prototype;function fn(t){return t}ln.add=Ze,ln.calendar=function(t,e){var n=t||De(),r=qe(n,this).startOf("day"),a=i.calendarFormat(this,r)||"sameElse",o=e&&(C(e[a])?e[a].call(this,n):e[a]);return this.format(o||this.localeData().calendar(a,this,De(n)))},ln.clone=function(){return new _(this)},ln.diff=function(t,e,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=qe(t,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),e=F(e)){case"year":a=Je(this,r)/12;break;case"month":a=Je(this,r);break;case"quarter":a=Je(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:w(a)},ln.endOf=function(t){return void 0===(t=F(t))||"millisecond"===t?this:("date"===t&&(t="day"),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms"))},ln.format=function(t){t||(t=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var e=$(this,t);return this.localeData().postformat(e)},ln.from=function(t,e){return this.isValid()&&(x(t)&&t.isValid()||De(t).isValid())?Ve({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},ln.fromNow=function(t){return this.from(De(),t)},ln.to=function(t,e){return this.isValid()&&(x(t)&&t.isValid()||De(t).isValid())?Ve({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},ln.toNow=function(t){return this.to(De(),t)},ln.get=function(t){return C(this[t=F(t)])?this[t]():this},ln.invalidAt=function(){return p(this).overflow},ln.isAfter=function(t,e){var n=x(t)?t:De(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=F(u(e)?"millisecond":e))?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())},ln.isBefore=function(t,e){var n=x(t)?t:De(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=F(u(e)?"millisecond":e))?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())},ln.isBetween=function(t,e,n,r){return("("===(r=r||"()")[0]?this.isAfter(t,n):!this.isBefore(t,n))&&(")"===r[1]?this.isBefore(e,n):!this.isAfter(e,n))},ln.isSame=function(t,e){var n,r=x(t)?t:De(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(e=F(e||"millisecond"))?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))},ln.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},ln.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},ln.isValid=function(){return g(this)},ln.lang=Qe,ln.locale=Ke,ln.localeData=tn,ln.max=Ce,ln.min=Me,ln.parsingFlags=function(){return h({},p(this))},ln.set=function(t,e){if("object"==typeof t)for(var n=function(t){var e=[];for(var n in t)e.push({unit:n,priority:B[n]});return e.sort(function(t,e){return t.priority-e.priority}),e}(t=P(t)),r=0;r<n.length;r++)this[n[r].unit](t[n[r].unit]);else if(C(this[t=F(t)]))return this[t](e);return this},ln.startOf=function(t){switch(t=F(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this},ln.subtract=Xe,ln.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},ln.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},ln.toDate=function(){return new Date(this.valueOf())},ln.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||9999<n.year()?$(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):C(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",$(n,"Z")):$(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ln.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=e+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+i)},ln.toJSON=function(){return this.isValid()?this.toISOString():null},ln.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ln.unix=function(){return Math.floor(this.valueOf()/1e3)},ln.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ln.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ln.year=Dt,ln.isLeapYear=function(){return Tt(this.year())},ln.weekYear=function(t){return nn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ln.isoWeekYear=function(t){return nn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},ln.quarter=ln.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},ln.month=Bt,ln.daysInMonth=function(){return Lt(this.year(),this.month())},ln.week=ln.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},ln.isoWeek=ln.isoWeeks=function(t){var e=Vt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},ln.weeksInYear=function(){var t=this.localeData()._week;return $t(this.year(),t.dow,t.doy)},ln.isoWeeksInYear=function(){return $t(this.year(),1,4)},ln.date=rn,ln.day=ln.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e,n,r=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(e=t,n=this.localeData(),t="string"!=typeof e?e:isNaN(e)?"number"==typeof(e=n.weekdaysParse(e))?e:null:parseInt(e,10),this.add(t-r,"d")):r},ln.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},ln.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=(n=t,r=this.localeData(),"string"==typeof n?r.weekdaysParse(n)%7||7:isNaN(n)?null:n);return this.day(this.day()%7?e:e-7)}return this.day()||7;var n,r},ln.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},ln.hour=ln.hours=re,ln.minute=ln.minutes=an,ln.second=ln.seconds=un,ln.millisecond=ln.milliseconds=cn,ln.utcOffset=function(t,e,n){var r,a=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Ie(ut,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(r=Ue(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),a!==t&&(!e||this._changeInProgress?We(this,Ve(t-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:Ue(this)},ln.utc=function(t){return this.utcOffset(0,t)},ln.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ue(this),"m")),this},ln.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Ie(ot,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},ln.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?De(t).utcOffset():0,(this.utcOffset()-t)%60==0)},ln.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ln.isLocal=function(){return!!this.isValid()&&!this._isUTC},ln.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ln.isUtc=je,ln.isUTC=je,ln.zoneAbbr=function(){return this._isUTC?"UTC":""},ln.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ln.dates=T("dates accessor is deprecated. Use date instead.",rn),ln.months=T("months accessor is deprecated. Use month instead",Bt),ln.years=T("years accessor is deprecated. Use year instead",Dt),ln.zone=T("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),ln.isDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!u(this._isDSTShifted))return this._isDSTShifted;var t={};if(v(t,this),(t=Te(t))._a){var e=t._isUTC?d(t._a):De(t._a);this._isDSTShifted=this.isValid()&&0<E(t._a,e.toArray())}else this._isDSTShifted=!1;return this._isDSTShifted});var hn=L.prototype;function dn(t,e,n,r){var i=fe(),a=d().set(r,e);return i[n](a,t)}function pn(t,e,n){if(s(t)&&(e=t,t=void 0),t=t||"",null!=e)return dn(t,e,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=dn(t,r,n,"month");return i}function gn(t,e,n,r){"boolean"==typeof t?s(e)&&(n=e,e=void 0):(e=t,t=!1,s(n=e)&&(n=e,e=void 0)),e=e||"";var i,a=fe(),o=t?a._week.dow:0;if(null!=n)return dn(e,(n+o)%7,r,"day");var u=[];for(i=0;i<7;i++)u[i]=dn(e,(i+o)%7,r,"day");return u}hn.calendar=function(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return C(r)?r.call(e,n):r},hn.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])},hn.invalidDate=function(){return this._invalidDate},hn.ordinal=function(t){return this._ordinal.replace("%d",t)},hn.preparse=fn,hn.postformat=fn,hn.relativeTime=function(t,e,n,r){var i=this._relativeTime[n];return C(i)?i(t,e,n,r):i.replace(/%d/i,t)},hn.pastFuture=function(t,e){var n=this._relativeTime[0<t?"future":"past"];return C(n)?n(e):n.replace(/%s/i,e)},hn.set=function(t){var e,n;for(n in t)C(e=t[n])?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},hn.months=function(t,e){return t?a(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Nt).test(e)?"format":"standalone"][t.month()]:a(this._months)?this._months:this._months.standalone},hn.monthsShort=function(t,e){return t?a(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Nt.test(e)?"format":"standalone"][t.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},hn.monthsParse=function(t,e,n){var r,i,a;if(this._monthsParseExact)return function(t,e,n){var r,i,a,o=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=d([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(i=St.call(this._shortMonthsParse,o))?i:null:-1!==(i=St.call(this._longMonthsParse,o))?i:null:"MMM"===e?-1!==(i=St.call(this._shortMonthsParse,o))?i:-1!==(i=St.call(this._longMonthsParse,o))?i:null:-1!==(i=St.call(this._longMonthsParse,o))?i:-1!==(i=St.call(this._shortMonthsParse,o))?i:null}.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=d([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(n&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}},hn.monthsRegex=function(t){return this._monthsParseExact?(f(this,"_monthsRegex")||Ut.call(this),t?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=qt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},hn.monthsShortRegex=function(t){return this._monthsParseExact?(f(this,"_monthsRegex")||Ut.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=It),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},hn.week=function(t){return Vt(t,this._week.dow,this._week.doy).week},hn.firstDayOfYear=function(){return this._week.doy},hn.firstDayOfWeek=function(){return this._week.dow},hn.weekdays=function(t,e){return t?a(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"][t.day()]:a(this._weekdays)?this._weekdays:this._weekdays.standalone},hn.weekdaysMin=function(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin},hn.weekdaysShort=function(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort},hn.weekdaysParse=function(t,e,n){var r,i,a;if(this._weekdaysParseExact)return function(t,e,n){var r,i,a,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=d([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(i=St.call(this._weekdaysParse,o))?i:null:"ddd"===e?-1!==(i=St.call(this._shortWeekdaysParse,o))?i:null:-1!==(i=St.call(this._minWeekdaysParse,o))?i:null:"dddd"===e?-1!==(i=St.call(this._weekdaysParse,o))?i:-1!==(i=St.call(this._shortWeekdaysParse,o))?i:-1!==(i=St.call(this._minWeekdaysParse,o))?i:null:"ddd"===e?-1!==(i=St.call(this._shortWeekdaysParse,o))?i:-1!==(i=St.call(this._weekdaysParse,o))?i:-1!==(i=St.call(this._minWeekdaysParse,o))?i:null:-1!==(i=St.call(this._minWeekdaysParse,o))?i:-1!==(i=St.call(this._weekdaysParse,o))?i:-1!==(i=St.call(this._shortWeekdaysParse,o))?i:null}.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=d([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}},hn.weekdaysRegex=function(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Kt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=Zt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},hn.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Kt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Xt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},hn.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Kt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Jt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},hn.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},hn.meridiem=function(t,e,n){return 11<t?n?"pm":"PM":n?"am":"AM"},ce("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===k(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),i.lang=T("moment.lang is deprecated. Use moment.locale instead.",ce),i.langData=T("moment.langData is deprecated. Use moment.localeData instead.",fe);var yn=Math.abs;function mn(t,e,n,r){var i=Ve(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function vn(t){return t<0?Math.floor(t):Math.ceil(t)}function bn(t){return 4800*t/146097}function _n(t){return 146097*t/4800}function xn(t){return function(){return this.as(t)}}var wn=xn("ms"),kn=xn("s"),En=xn("m"),An=xn("h"),Tn=xn("d"),Sn=xn("w"),Dn=xn("M"),Mn=xn("y");function Cn(t){return function(){return this.isValid()?this._data[t]:NaN}}var On=Cn("milliseconds"),Ln=Cn("seconds"),Nn=Cn("minutes"),Rn=Cn("hours"),Fn=Cn("days"),Pn=Cn("months"),Bn=Cn("years"),In=Math.round,qn={ss:44,s:45,m:45,h:22,d:26,M:11},Un=Math.abs;function jn(t){return(0<t)-(t<0)||+t}function Yn(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n=Un(this._milliseconds)/1e3,r=Un(this._days),i=Un(this._months);e=w((t=w(n/60))/60),n%=60,t%=60;var a=w(i/12),o=i%=12,u=r,s=e,c=t,l=n?n.toFixed(3).replace(/\.?0+$/,""):"",f=this.asSeconds();if(!f)return"P0D";var h=f<0?"-":"",d=jn(this._months)!==jn(f)?"-":"",p=jn(this._days)!==jn(f)?"-":"",g=jn(this._milliseconds)!==jn(f)?"-":"";return h+"P"+(a?d+a+"Y":"")+(o?d+o+"M":"")+(u?p+u+"D":"")+(s||c||l?"T":"")+(s?g+s+"H":"")+(c?g+c+"M":"")+(l?g+l+"S":"")}var zn=Ne.prototype;return zn.isValid=function(){return this._isValid},zn.abs=function(){var t=this._data;return this._milliseconds=yn(this._milliseconds),this._days=yn(this._days),this._months=yn(this._months),t.milliseconds=yn(t.milliseconds),t.seconds=yn(t.seconds),t.minutes=yn(t.minutes),t.hours=yn(t.hours),t.months=yn(t.months),t.years=yn(t.years),this},zn.add=function(t,e){return mn(this,t,e,1)},zn.subtract=function(t,e){return mn(this,t,e,-1)},zn.as=function(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if("month"===(t=F(t))||"year"===t)return e=this._days+r/864e5,n=this._months+bn(e),"month"===t?n:n/12;switch(e=this._days+Math.round(_n(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}},zn.asMilliseconds=wn,zn.asSeconds=kn,zn.asMinutes=En,zn.asHours=An,zn.asDays=Tn,zn.asWeeks=Sn,zn.asMonths=Dn,zn.asYears=Mn,zn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*k(this._months/12):NaN},zn._bubble=function(){var t,e,n,r,i,a=this._milliseconds,o=this._days,u=this._months,s=this._data;return 0<=a&&0<=o&&0<=u||a<=0&&o<=0&&u<=0||(a+=864e5*vn(_n(u)+o),u=o=0),s.milliseconds=a%1e3,t=w(a/1e3),s.seconds=t%60,e=w(t/60),s.minutes=e%60,n=w(e/60),s.hours=n%24,u+=i=w(bn(o+=w(n/24))),o-=vn(_n(i)),r=w(u/12),u%=12,s.days=o,s.months=u,s.years=r,this},zn.clone=function(){return Ve(this)},zn.get=function(t){return t=F(t),this.isValid()?this[t+"s"]():NaN},zn.milliseconds=On,zn.seconds=Ln,zn.minutes=Nn,zn.hours=Rn,zn.days=Fn,zn.weeks=function(){return w(this.days()/7)},zn.months=Pn,zn.years=Bn,zn.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e,n,r,i,a,o,u,s,c,l,f=this.localeData(),h=(e=!t,n=f,r=Ve(this).abs(),i=In(r.as("s")),a=In(r.as("m")),o=In(r.as("h")),u=In(r.as("d")),s=In(r.as("M")),c=In(r.as("y")),(l=i<=qn.ss&&["s",i]||i<qn.s&&["ss",i]||a<=1&&["m"]||a<qn.m&&["mm",a]||o<=1&&["h"]||o<qn.h&&["hh",o]||u<=1&&["d"]||u<qn.d&&["dd",u]||s<=1&&["M"]||s<qn.M&&["MM",s]||c<=1&&["y"]||["yy",c])[2]=e,l[3]=0<+this,l[4]=n,function(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}.apply(null,l));return t&&(h=f.pastFuture(+this,h)),f.postformat(h)},zn.toISOString=Yn,zn.toString=Yn,zn.toJSON=Yn,zn.locale=Ke,zn.localeData=tn,zn.toIsoString=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Yn),zn.lang=Qe,V("X",0,0,"unix"),V("x",0,0,"valueOf"),lt("x",at),lt("X",/[+-]?\d+(\.\d{1,3})?/),pt("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),pt("x",function(t,e,n){n._d=new Date(k(t))}),i.version="2.22.1",e=De,i.fn=ln,i.min=function(){return Oe("isBefore",[].slice.call(arguments,0))},i.max=function(){return Oe("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=d,i.unix=function(t){return De(1e3*t)},i.months=function(t,e){return pn(t,e,"months")},i.isDate=c,i.locale=ce,i.invalid=y,i.duration=Ve,i.isMoment=x,i.weekdays=function(t,e,n){return gn(t,e,n,"weekdays")},i.parseZone=function(){return De.apply(null,arguments).parseZone()},i.localeData=fe,i.isDuration=Re,i.monthsShort=function(t,e){return pn(t,e,"monthsShort")},i.weekdaysMin=function(t,e,n){return gn(t,e,n,"weekdaysMin")},i.defineLocale=le,i.updateLocale=function(t,e){if(null!=e){var n,r,i=ie;null!=(r=se(t))&&(i=r._config),(n=new L(e=O(i,e))).parentLocale=ae[t],ae[t]=n,ce(t)}else null!=ae[t]&&(null!=ae[t].parentLocale?ae[t]=ae[t].parentLocale:null!=ae[t]&&delete ae[t]);return ae[t]},i.locales=function(){return S(ae)},i.weekdaysShort=function(t,e,n){return gn(t,e,n,"weekdaysShort")},i.normalizeUnits=F,i.relativeTimeRounding=function(t){return void 0===t?In:"function"==typeof t&&(In=t,!0)},i.relativeTimeThreshold=function(t,e){return void 0!==qn[t]&&(void 0===e?qn[t]:(qn[t]=e,"s"===t&&(qn.ss=e-1),!0))},i.calendarFormat=function(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},i.prototype=ln,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},i}()}).call(this,n(4)(t))},function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n.w={},n(n.s=25)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(r=n(2))&&r.__esModule?r:{default:r},a=/:/g;function o(t){return t?String(t).replace(a,"\\:"):""}e.default={isSubgraph:function(t,e){return!!t.children(e).length},edgeToId:function(t){return o(t.v)+":"+o(t.w)+":"+o(t.name)},applyStyle:function(t,e){e&&t.attr("style",e)},applyClass:function(t,e,n){e&&t.attr("class",e).attr("class",n+" "+t.attr("class"))},applyTransition:function(t,e){var n=e.graph();if(i.default.isPlainObject(n)){var r=n.transition;if(i.default.isFunction(r))return r(t)}return t}}},function(t,e){t.exports=n(0)},function(t,e){t.exports=n(3)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=o(n(16)),i=o(n(15)),a=o(n(14));function o(t){return t&&t.__esModule?t:{default:t}}e.default=function(t,e,n){var o=e.label,u=t.append("g");"svg"===e.labelType?(0,a.default)(u,e):"string"!=typeof o||"html"===e.labelType?(0,i.default)(u,e):(0,r.default)(u,e);var s=u.node().getBBox(),c=void 0;switch(n){case"top":c=-e.height/2;break;case"bottom":c=e.height/2-s.height;break;default:c=-s.height/2}return u.attr("transform","translate("+-s.width/2+","+c+")"),u}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,r){var i=t.x,a=t.y,o=i-r.x,u=a-r.y,s=Math.sqrt(e*e*u*u+n*n*o*o),c=Math.abs(e*n*o/s);r.x<i&&(c=-c);var l=Math.abs(e*n*u/s);return r.y<a&&(l=-l),{x:i+c,y:a+l}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n=t.x,r=t.y,i=e.x-n,a=e.y-r,o=t.width/2,u=t.height/2,s=void 0,c=void 0;return Math.abs(a)*o>Math.abs(i)*u?(a<0&&(u=-u),s=0===a?0:u*i/a,c=u):(i<0&&(o=-o),s=o,c=0===i?0:o*a/i),{x:n+s,y:r+c}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(r=n(23))&&r.__esModule?r:{default:r};e.default=function(t,e,n){var r=t.x,a=t.y,o=[],u=Number.POSITIVE_INFINITY,s=Number.POSITIVE_INFINITY;e.forEach(function(t){u=Math.min(u,t.x),s=Math.min(s,t.y)});for(var c=r-t.width/2-u,l=a-t.height/2-s,f=0;f<e.length;f+=1){var h=e[f],d=e[f<e.length-1?f+1:0],p=(0,i.default)(t,n,{x:c+h.x,y:l+h.y},{x:c+d.x,y:l+d.y});p&&o.push(p)}return o.length?(o.length>1&&o.sort(function(t,e){var r=t.x-n.x,i=t.y-n.y,a=Math.sqrt(r*r+i*i),o=e.x-n.x,u=e.y-n.y,s=Math.sqrt(o*o+u*u);return a<s?-1:a===s?0:1}),o[0]):(console.log("NO INTERSECTION FOUND, RETURN NODE CENTER",t),t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(r=n(4))&&r.__esModule?r:{default:r};e.default=function(t,e,n){return(0,i.default)(t,e,e,n)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return t.intersect(e)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(r=n(0))&&r.__esModule?r:{default:r};function a(t,e,n,r){var a=t.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").style("stroke-width",1).style("stroke-dasharray","1,0");i.default.applyStyle(a,n[r+"Style"]),n[r+"Class"]&&a.attr("class",n[r+"Class"])}e.default={normal:a,vee:function(t,e,n,r){var a=t.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 L 4 5 z").style("stroke-width",1).style("stroke-dasharray","1,0");i.default.applyStyle(a,n[r+"Style"]),n[r+"Class"]&&a.attr("class",n[r+"Class"])},undirected:function(t,e,n,r){var a=t.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 5 L 10 5").style("stroke-width",1).style("stroke-dasharray","1,0");i.default.applyStyle(a,n[r+"Style"]),n[r+"Class"]&&a.attr("class",n[r+"Class"])},default:a}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=u(n(5)),i=u(n(4)),a=u(n(7)),o=u(n(6));function u(t){return t&&t.__esModule?t:{default:t}}e.default={rect:function(t,e,n){var i=t.insert("rect",":first-child").attr("rx",n.rx).attr("ry",n.ry).attr("x",-e.width/2).attr("y",-e.height/2).attr("width",e.width).attr("height",e.height);return n.intersect=function(t){return(0,r.default)(n,t)},i},ellipse:function(t,e,n){var r=e.width/2,a=e.height/2,o=t.insert("ellipse",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("rx",r).attr("ry",a);return n.intersect=function(t){return(0,i.default)(n,r,a,t)},o},circle:function(t,e,n){var r=Math.max(e.width,e.height)/2,i=t.insert("circle",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("r",r);return n.intersect=function(t){return(0,a.default)(n,r,t)},i},diamond:function(t,e,n){var r=e.width*Math.SQRT2/2,i=e.height*Math.SQRT2/2,a=[{x:0,y:-i},{x:-r,y:0},{x:0,y:i},{x:r,y:0}],u=t.insert("polygon",":first-child").attr("points",a.map(function(t){return t.x+","+t.y}).join(" "));return n.intersect=function(t){return(0,o.default)(n,a,t)},u}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(1)),i=u(n(2)),a=u(n(8)),o=u(n(0));function u(t){return t&&t.__esModule?t:{default:t}}function s(t,e){var n=r.line().x(function(t){return t.x}).y(function(t){return t.y});return n.curve(t.curve),n(e)}e.default=function(t,e,n){var u=t.selectAll("g.edgePath").data(e.edges(),function(t){return o.default.edgeToId(t)}).classed("update",!0);return function(t,e){var n=u.enter().append("g").attr("class","edgePath").style("opacity",0);n.append("path").attr("class","path").attr("d",function(t){var n=e.edge(t),r=e.node(t.v).elem,a=i.default.range(n.points.length).map(function(){return e=(t=r).getBBox(),{x:(n=t.ownerSVGElement.getScreenCTM().inverse().multiply(t.getScreenCTM()).translate(e.width/2,e.height/2)).e,y:n.f};var t,e,n});return s(n,a)}),n.append("defs")}(0,e),function(t,e){var n=u.exit();o.default.applyTransition(n,e).style("opacity",0).remove(),o.default.applyTransition(n.select("path.path"),e).attr("d",function(t){var n=e.node(t.v);return n?s({},i.default.range(this.getTotalLength()).map(function(){return n})):r.select(this).attr("d")})}(0,e),u=t.selectAll("g.edgePath"),o.default.applyTransition(u,e).style("opacity",1),u.each(function(t){var n=r.select(this),i=e.edge(t);i.elem=this,i.id&&n.attr("id",i.id),o.default.applyClass(n,i.class,(n.classed("update")?"update ":"")+"edgePath")}),u.selectAll("path.path").each(function(t){var n=e.edge(t);n.arrowheadId=i.default.uniqueId("arrowhead");var u=r.select(this).attr("marker-end",function(){return"url(#"+n.arrowheadId+")"}).style("fill","none");o.default.applyTransition(u,e).attr("d",function(t){return function(t,e){var n=t.edge(e),r=t.node(e.v),i=t.node(e.w),o=n.points.slice(1,n.points.length-1);return o.unshift((0,a.default)(r,o[0])),o.push((0,a.default)(i,o[o.length-1])),s(n,o)}(e,t)}),o.default.applyStyle(u,n.style)}),u.selectAll("defs *").remove(),u.selectAll("defs").each(function(t){var i=e.edge(t);(0,n[i.arrowhead])(r.select(this),i.arrowheadId,i,"arrowhead")}),u}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(1)),i=u(n(2)),a=u(n(3)),o=u(n(0));function u(t){return t&&t.__esModule?t:{default:t}}e.default=function(t,e){var n=t.selectAll("g.edgeLabel").data(e.edges(),function(t){return o.default.edgeToId(t)}).classed("update",!0);return n.selectAll("*").remove(),n.enter().append("g").classed("edgeLabel",!0).style("opacity",0),(n=t.selectAll("g.edgeLabel")).each(function(t){var n=e.edge(t),o=(0,a.default)(r.select(this),e.edge(t),0,0).classed("label",!0),u=o.node().getBBox();n.labelId&&o.attr("id",n.labelId),i.default.has(n,"width")||(n.width=u.width),i.default.has(n,"height")||(n.height=u.height)}),o.default.applyTransition(n.exit(),e).style("opacity",0).remove(),n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(1)),i=o(n(0)),a=o(n(3));function o(t){return t&&t.__esModule?t:{default:t}}e.default=function(t,e){var n=e.nodes().filter(function(t){return i.default.isSubgraph(e,t)}),o=t.selectAll("g.cluster").data(n,function(t){return t});return o.selectAll("*").remove(),o.enter().append("g").attr("class","cluster").attr("id",function(t){return e.node(t).id}).style("opacity",0),o=t.selectAll("g.cluster"),i.default.applyTransition(o,e).style("opacity",1),o.each(function(t){var n=e.node(t),i=r.select(this);r.select(this).append("rect");var o=i.append("g").attr("class","label");(0,a.default)(o,n,n.clusterLabelPos)}),o.selectAll("rect").each(function(t){var n=e.node(t),a=r.select(this);i.default.applyStyle(a,n.style)}),i.default.applyTransition(o.exit(),e).style("opacity",0).remove(),o}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(r=n(0))&&r.__esModule?r:{default:r};e.default=function(t,e){var n=t;return n.node().appendChild(e.label),i.default.applyStyle(n,e.labelStyle),n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i="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},a=(r=n(0))&&r.__esModule?r:{default:r};e.default=function(t,e){var n=t.append("foreignObject").attr("width","100000"),r=n.append("xhtml:div");r.attr("xmlns","http://www.w3.org/1999/xhtml");var o=e.label;switch(void 0===o?"undefined":i(o)){case"function":r.insert(o);break;case"object":r.insert(function(){return o});break;default:r.html(o)}a.default.applyStyle(r,e.labelStyle),r.style("display","inline-block"),r.style("white-space","nowrap");var u=r.node().getBoundingClientRect();return n.attr("width",u.width).attr("height",u.height),n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(r=n(0))&&r.__esModule?r:{default:r};e.default=function(t,e){for(var n=t.append("text"),r=function(t){for(var e="",n=!1,r=null,i=0;i<t.length;i+=1)if(r=t[i],n){switch(r){case"n":e+="\n";break;default:e+=r}n=!1}else"\\"===r?n=!0:e+=r;return e}(e.label).split("\n"),a=0;a<r.length;a+=1)n.append("tspan").attr("xml:space","preserve").attr("dy","1em").attr("x","1").text(r[a]);return i.default.applyStyle(n,e.labelStyle),n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=u(n(2)),i=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(1)),a=u(n(3)),o=u(n(0));function u(t){return t&&t.__esModule?t:{default:t}}e.default=function(t,e,n){var u=e.nodes().filter(function(t){return!o.default.isSubgraph(e,t)}),s=t.selectAll("g.node").data(u,function(t){return t}).classed("update",!0);return s.selectAll("*").remove(),s.enter().append("g").attr("class","node").style("opacity",0),(s=t.selectAll("g.node")).each(function(t){var u=e.node(t),s=i.select(this);o.default.applyClass(s,u.class,(s.classed("update")?"update ":"")+"node");var c=s.append("g").attr("class","label"),l=(0,a.default)(c,u),f=n[u.shape],h=r.default.pick(l.node().getBBox(),"width","height");u.elem=this,u.id&&s.attr("id",u.id),u.labelId&&c.attr("id",u.labelId),r.default.has(u,"width")&&(h.width=u.width),r.default.has(u,"height")&&(h.height=u.height),h.width+=u.paddingLeft+u.paddingRight,h.height+=u.paddingTop+u.paddingBottom,c.attr("transform","translate("+(u.paddingLeft-u.paddingRight)/2+","+(u.paddingTop-u.paddingBottom)/2+")");var d=f(i.select(this),h,u);o.default.applyStyle(d,u.style);var p=d.node().getBBox();u.width=p.width,u.height=p.height}),o.default.applyTransition(s.exit(),e).style("opacity",0).remove(),s}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(1)),a=(r=n(0))&&r.__esModule?r:{default:r};e.default=function(t,e){var n=t.filter(function(){return!i.select(this).classed("update")});function r(t){var n=e.node(t);return"translate("+n.x+","+n.y+")"}n.attr("transform",r),a.default.applyTransition(t,e).style("opacity",1).attr("transform",r),a.default.applyTransition(n.selectAll("rect"),e).attr("width",function(t){return e.node(t).width}).attr("height",function(t){return e.node(t).height}).attr("x",function(t){return-e.node(t).width/2}).attr("y",function(t){return-e.node(t).height/2})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(1)),i=o(n(2)),a=o(n(0));function o(t){return t&&t.__esModule?t:{default:t}}e.default=function(t,e){function n(t){var n=e.edge(t);return i.default.has(n,"x")?"translate("+n.x+","+n.y+")":""}t.filter(function(){return!r.select(this).classed("update")}).attr("transform",n),a.default.applyTransition(t,e).style("opacity",1).attr("transform",n)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(1)),a=(r=n(0))&&r.__esModule?r:{default:r};e.default=function(t,e){function n(t){var n=e.node(t);return"translate("+n.x+","+n.y+")"}t.filter(function(){return!i.select(this).classed("update")}).attr("transform",n),a.default.applyTransition(t,e).style("opacity",1).attr("transform",n)}},function(t,e){t.exports=n(21)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=g(n(2)),i=g(n(21)),a=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(1)),o=g(n(20)),u=g(n(19)),s=g(n(18)),c=g(n(17)),l=g(n(13)),f=g(n(12)),h=g(n(11)),d=g(n(10)),p=g(n(9));function g(t){return t&&t.__esModule?t:{default:t}}var y={paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10,rx:0,ry:0,shape:"rect"},m={arrowhead:"normal",curve:a.curveLinear};function v(t,e){var n=t.select("g."+e);return n.empty()&&(n=t.append("g").attr("class",e)),n}e.default=function(){var t=c.default,e=l.default,n=f.default,a=h.default,g=d.default,b=p.default,_=function(c,l){!function(t){t.nodes().forEach(function(e){var n=t.node(e);r.default.has(n,"label")||t.children(e).length||(n.label=e),r.default.has(n,"paddingX")&&r.default.defaults(n,{paddingLeft:n.paddingX,paddingRight:n.paddingX}),r.default.has(n,"paddingY")&&r.default.defaults(n,{paddingTop:n.paddingY,paddingBottom:n.paddingY}),r.default.has(n,"padding")&&r.default.defaults(n,{paddingLeft:n.padding,paddingRight:n.padding,paddingTop:n.padding,paddingBottom:n.padding}),r.default.defaults(n,y),r.default.each(["paddingLeft","paddingRight","paddingTop","paddingBottom"],function(t){n[t]=Number(n[t])}),r.default.has(n,"width")&&(n._prevWidth=n.width),r.default.has(n,"height")&&(n._prevHeight=n.height)}),t.edges().forEach(function(e){var n=t.edge(e);r.default.has(n,"label")||(n.label=""),r.default.defaults(n,m)})}(l),c.selectAll("*").remove();var f=v(c,"output"),h=v(f,"clusters"),d=v(f,"edgePaths"),p=n(v(f,"edgeLabels"),l),_=t(v(f,"nodes"),l,g);i.default.layout(l);var x=1e3,w=1e3,k=-1e3,E=-1e3,A=l;A.nodes().map(function(t){return A.node(t)}).forEach(function(t){x=Math.min(x,t.x-t.width/2),w=Math.min(w,t.y-t.height/2),k=Math.max(k,t.x+t.width/2),E=Math.max(E,t.y+t.height/2)}),A.edges().forEach(function(t){var e=A.edge(t);void 0!==e.label&&void 0!==e.x&&void 0!==e.y&&(x=Math.min(x,e.x-e.width/2),w=Math.min(w,e.y-e.height/2),k=Math.max(k,e.x+e.width/2),E=Math.max(E,e.y+e.height/2));for(var n=e.points.slice(1,e.points.length-1),r=0;r<n.length;r++){var i=n[r];x=Math.min(x,i.x),w=Math.min(w,i.y),k=Math.max(k,i.x),E=Math.max(E,i.y)}}),A.minX=x,A.minY=w,A.maxX=k,A.maxY=E,(0,o.default)(_,l),(0,u.default)(p,l),a(d,l,b);var T=e(h,l);(0,s.default)(T,l),function(t){r.default.each(t.nodes(),function(e){var n=t.node(e);r.default.has(n,"_prevWidth")?n.width=n._prevWidth:delete n.width,r.default.has(n,"_prevHeight")?n.height=n._prevHeight:delete n.height,delete n._prevWidth,delete n._prevHeight})}(l)};return _.createNodes=function(e){return arguments.length?(t=e,_):t},_.createClusters=function(t){return arguments.length?(e=t,_):e},_.createEdgeLabels=function(t){return arguments.length?(n=t,_):n},_.createEdgePaths=function(t){return arguments.length?(a=t,_):a},_.shapes=function(t){return arguments.length?(g=t,_):g},_.arrows=function(t){return arguments.length?(b=t,_):b},_}},function(t,e,n){"use strict";function r(t,e){return t*e>0}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,i){var a=e.y-t.y,o=t.x-e.x,u=e.x*t.y-t.x*e.y,s=a*n.x+o*n.y+u,c=a*i.x+o*i.y+u;if(0===s||0===c||!r(s,c)){var l=i.y-n.y,f=n.x-i.x,h=i.x*n.y-n.x*i.y,d=l*t.x+f*t.y+h,p=l*e.x+f*e.y+h;if(0===d||0===p||!r(d,p)){var g=a*f-l*o;if(0!==g){var y=Math.abs(g/2),m=o*h-f*u;return{x:m<0?(m-y)/g:(m+y)/g,y:(m=l*u-a*h)<0?(m-y)/g:(m+y)/g}}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=s(n(8)),i=s(n(7)),a=s(n(4)),o=s(n(6)),u=s(n(5));function s(t){return t&&t.__esModule?t:{default:t}}e.default={node:r.default,circle:i.default,ellipse:a.default,polygon:o.default,rect:u.default}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=o(n(24)),i=o(n(22)),a=o(n(0));function o(t){return t&&t.__esModule?t:{default:t}}e.default={intersect:r.default,render:i.default,util:a.default}}])},function(t,e,n){(function(t,r){var i=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[6,8,10,11,12,13,14,15,16,18,20],n=[1,9],r=[1,10],i=[1,11],a=[1,12],o=[1,13],u=[1,14],s=[1,16],c=[1,17],l={trace:function(){},yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,dateFormat:11,inclusiveEndDates:12,axisFormat:13,excludes:14,title:15,section:16,clickStatement:17,taskTxt:18,taskData:19,click:20,callbackname:21,callbackargs:22,href:23,clickStatementDebug:24,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",11:"dateFormat",12:"inclusiveEndDates",13:"axisFormat",14:"excludes",15:"title",16:"section",18:"taskTxt",19:"taskData",20:"click",21:"callbackname",22:"callbackargs",23:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[17,2],[17,3],[17,3],[17,4],[17,3],[17,4],[17,2],[24,2],[24,3],[24,3],[24,4],[24,3],[24,4],[24,2]],performAction:function(t,e,n,r,i,a,o){var u=a.length-1;switch(i){case 1:return a[u-1];case 2:this.$=[];break;case 3:a[u-1].push(a[u]),this.$=a[u-1];break;case 4:case 5:this.$=a[u];break;case 6:case 7:this.$=[];break;case 8:r.setDateFormat(a[u].substr(11)),this.$=a[u].substr(11);break;case 9:r.enableInclusiveEndDates(),this.$=a[u].substr(18);break;case 10:r.setAxisFormat(a[u].substr(11)),this.$=a[u].substr(11);break;case 11:r.setExcludes(a[u].substr(9)),this.$=a[u].substr(9);break;case 12:r.setTitle(a[u].substr(6)),this.$=a[u].substr(6);break;case 13:r.addSection(a[u].substr(8)),this.$=a[u].substr(8);break;case 15:r.addTask(a[u-1],a[u]),this.$="task";break;case 16:this.$=a[u-1],r.setClickEvent(a[u-1],a[u],null);break;case 17:this.$=a[u-2],r.setClickEvent(a[u-2],a[u-1],a[u]);break;case 18:this.$=a[u-2],r.setClickEvent(a[u-2],a[u-1],null),r.setLink(a[u-2],a[u]);break;case 19:this.$=a[u-3],r.setClickEvent(a[u-3],a[u-2],a[u-1]),r.setLink(a[u-3],a[u]);break;case 20:this.$=a[u-2],r.setClickEvent(a[u-2],a[u],null),r.setLink(a[u-2],a[u-1]);break;case 21:this.$=a[u-3],r.setClickEvent(a[u-3],a[u-1],a[u]),r.setLink(a[u-3],a[u-2]);break;case 22:this.$=a[u-1],r.setLink(a[u-1],a[u]);break;case 23:case 29:this.$=a[u-1]+" "+a[u];break;case 24:case 25:case 27:this.$=a[u-2]+" "+a[u-1]+" "+a[u];break;case 26:case 28:this.$=a[u-3]+" "+a[u-2]+" "+a[u-1]+" "+a[u]}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:n,12:r,13:i,14:a,15:o,16:u,17:15,18:s,20:c},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:18,11:n,12:r,13:i,14:a,15:o,16:u,17:15,18:s,20:c},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),{19:[1,19]},{21:[1,20],23:[1,21]},t(e,[2,4]),t(e,[2,15]),t(e,[2,16],{22:[1,22],23:[1,23]}),t(e,[2,22],{21:[1,24]}),t(e,[2,17],{23:[1,25]}),t(e,[2,18]),t(e,[2,20],{22:[1,26]}),t(e,[2,19]),t(e,[2,21])],defaultActions:{},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,u="",s=0,c=0,l=0,f=1,h=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(p.yy[g]=this.yy[g]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var y=d.yylloc;a.push(y);var m=d.options&&d.options.ranges;"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var v,b,_,x,w,k,E,A,T,S,D={};;){if(_=n[n.length-1],this.defaultActions[_]?x=this.defaultActions[_]:(null==v&&(S=void 0,"number"!=typeof(S=r.pop()||d.lex()||f)&&(S instanceof Array&&(S=(r=S).pop()),S=e.symbols_[S]||S),v=S),x=o[_]&&o[_][v]),void 0===x||!x.length||!x[0]){var M="";for(k in T=[],o[_])this.terminals_[k]&&k>2&&T.push("'"+this.terminals_[k]+"'");M=d.showPosition?"Parse error on line "+(s+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(s+1)+": Unexpected "+(v==f?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(M,{text:d.match,token:this.terminals_[v]||v,line:d.yylineno,loc:y,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+v);switch(x[0]){case 1:n.push(v),i.push(d.yytext),a.push(d.yylloc),n.push(x[1]),v=null,b?(v=b,b=null):(c=d.yyleng,u=d.yytext,s=d.yylineno,y=d.yylloc,l>0&&l--);break;case 2:if(E=this.productions_[x[1]][1],D.$=i[i.length-E],D._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},m&&(D._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(w=this.performAction.apply(D,[u,c,s,p.yy,x[1],i,a].concat(h))))return w;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),i.push(D.$),a.push(D._$),A=o[n[n.length-2]][n[n.length-1]],n.push(A);break;case 3:return!0}}return!0}},f={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return 10;case 1:case 2:case 3:break;case 4:this.begin("href");break;case 5:this.popState();break;case 6:return 23;case 7:this.begin("callbackname");break;case 8:this.popState();break;case 9:this.popState(),this.begin("callbackargs");break;case 10:return 21;case 11:this.popState();break;case 12:return 22;case 13:this.begin("click");break;case 14:this.popState();break;case 15:return 20;case 16:return 4;case 17:return 11;case 18:return 12;case 19:return 13;case 20:return 14;case 21:return"date";case 22:return 15;case 23:return 16;case 24:return 18;case 25:return 19;case 26:return":";case 27:return 6;case 28:return"INVALID"}},rules:[/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{callbackargs:{rules:[11,12],inclusive:!1},callbackname:{rules:[8,9,10],inclusive:!1},href:{rules:[5,6],inclusive:!1},click:{rules:[14,15],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,7,13,16,17,18,19,20,21,22,23,24,25,26,27,28],inclusive:!0}}};function h(){this.yy={}}return l.lexer=f,h.prototype=l,l.Parser=h,new h}();e.parser=i,e.Parser=i.Parser,e.parse=function(){return i.parse.apply(i,arguments)},e.main=function(r){r[1]||(console.log("Usage: "+r[0]+" FILE"),t.exit(1));var i=n(9).readFileSync(n(10).normalize(r[1]),"utf8");return e.parser.parse(i)},n.c[n.s]===r&&e.main(t.argv.slice(1))}).call(this,n(8),n(4)(t))},function(t,e){var n,r,i=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function u(t){if(n===setTimeout)return setTimeout(t,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(t){n=a}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(t){r=o}}();var s,c=[],l=!1,f=-1;function h(){l&&s&&(l=!1,s.length?c=s.concat(c):f=-1,c.length&&d())}function d(){if(!l){var t=u(h);l=!0;for(var e=c.length;e;){for(s=c,c=[];++f<e;)s&&s[f].run();f=-1,e=c.length}s=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function g(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new p(t,e)),1!==c.length||l||u(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(t,e){},function(t,e,n){(function(t){function n(t,e){for(var n=0,r=t.length-1;r>=0;r--){var i=t[r];"."===i?t.splice(r,1):".."===i?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}var r=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,i=function(t){return r.exec(t).slice(1)};function a(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r<t.length;r++)e(t[r],r,t)&&n.push(t[r]);return n}e.resolve=function(){for(var e="",r=!1,i=arguments.length-1;i>=-1&&!r;i--){var o=i>=0?arguments[i]:t.cwd();if("string"!=typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(e=o+"/"+e,r="/"===o.charAt(0))}return(r?"/":"")+(e=n(a(e.split("/"),function(t){return!!t}),!r).join("/"))||"."},e.normalize=function(t){var r=e.isAbsolute(t),i="/"===o(t,-1);return(t=n(a(t.split("/"),function(t){return!!t}),!r).join("/"))||r||(t="."),t&&i&&(t+="/"),(r?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(a(t,function(t,e){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t}).join("/"))},e.relative=function(t,n){function r(t){for(var e=0;e<t.length&&""===t[e];e++);for(var n=t.length-1;n>=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var i=r(t.split("/")),a=r(n.split("/")),o=Math.min(i.length,a.length),u=o,s=0;s<o;s++)if(i[s]!==a[s]){u=s;break}var c=[];for(s=u;s<i.length;s++)c.push("..");return(c=c.concat(a.slice(u))).join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){var e=i(t),n=e[0],r=e[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},e.basename=function(t,e){var n=i(t)[2];return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){return i(t)[3]};var o="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n(8))},function(t,e,n){(function(t,r){var i=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,11],n=[1,12],r=[1,13],i=[1,15],a=[1,16],o=[1,17],u=[6,8],s=[1,26],c=[1,27],l=[1,28],f=[1,29],h=[1,30],d=[1,31],p=[6,8,13,17,23,26,27,28,29,30,31],g=[6,8,13,17,23,26,27,28,29,30,31,45,46,47],y=[23,45,46,47],m=[23,30,31,45,46,47],v=[23,26,27,28,29,45,46,47],b=[6,8,13],_=[1,46],x={trace:function(){},yy:{},symbols_:{error:2,mermaidDoc:3,graphConfig:4,CLASS_DIAGRAM:5,NEWLINE:6,statements:7,EOF:8,statement:9,className:10,alphaNumToken:11,relationStatement:12,LABEL:13,classStatement:14,methodStatement:15,CLASS:16,STRUCT_START:17,members:18,STRUCT_STOP:19,MEMBER:20,SEPARATOR:21,relation:22,STR:23,relationType:24,lineType:25,AGGREGATION:26,EXTENSION:27,COMPOSITION:28,DEPENDENCY:29,LINE:30,DOTTED_LINE:31,commentToken:32,textToken:33,graphCodeTokens:34,textNoTagsToken:35,TAGSTART:36,TAGEND:37,"==":38,"--":39,PCT:40,DEFAULT:41,SPACE:42,MINUS:43,keywords:44,UNICODE_TEXT:45,NUM:46,ALPHA:47,$accept:0,$end:1},terminals_:{2:"error",5:"CLASS_DIAGRAM",6:"NEWLINE",8:"EOF",13:"LABEL",16:"CLASS",17:"STRUCT_START",19:"STRUCT_STOP",20:"MEMBER",21:"SEPARATOR",23:"STR",26:"AGGREGATION",27:"EXTENSION",28:"COMPOSITION",29:"DEPENDENCY",30:"LINE",31:"DOTTED_LINE",34:"graphCodeTokens",36:"TAGSTART",37:"TAGEND",38:"==",39:"--",40:"PCT",41:"DEFAULT",42:"SPACE",43:"MINUS",44:"keywords",45:"UNICODE_TEXT",46:"NUM",47:"ALPHA"},productions_:[0,[3,1],[4,4],[7,1],[7,2],[7,3],[10,2],[10,1],[9,1],[9,2],[9,1],[9,1],[14,2],[14,5],[18,1],[18,2],[15,1],[15,2],[15,1],[15,1],[12,3],[12,4],[12,4],[12,5],[22,3],[22,2],[22,2],[22,1],[24,1],[24,1],[24,1],[24,1],[25,1],[25,1],[32,1],[32,1],[33,1],[33,1],[33,1],[33,1],[33,1],[33,1],[33,1],[35,1],[35,1],[35,1],[35,1],[11,1],[11,1],[11,1]],performAction:function(t,e,n,r,i,a,o){var u=a.length-1;switch(i){case 6:this.$=a[u-1]+a[u];break;case 7:this.$=a[u];break;case 8:r.addRelation(a[u]);break;case 9:a[u-1].title=r.cleanupLabel(a[u]),r.addRelation(a[u-1]);break;case 12:r.addClass(a[u]);break;case 13:r.addClass(a[u-3]),r.addMembers(a[u-3],a[u-1]);break;case 14:this.$=[a[u]];break;case 15:a[u].push(a[u-1]),this.$=a[u];break;case 16:break;case 17:r.addMember(a[u-1],r.cleanupLabel(a[u]));break;case 18:console.warn("Member",a[u]);break;case 19:break;case 20:this.$={id1:a[u-2],id2:a[u],relation:a[u-1],relationTitle1:"none",relationTitle2:"none"};break;case 21:this.$={id1:a[u-3],id2:a[u],relation:a[u-1],relationTitle1:a[u-2],relationTitle2:"none"};break;case 22:this.$={id1:a[u-3],id2:a[u],relation:a[u-2],relationTitle1:"none",relationTitle2:a[u-1]};break;case 23:this.$={id1:a[u-4],id2:a[u],relation:a[u-2],relationTitle1:a[u-3],relationTitle2:a[u-1]};break;case 24:this.$={type1:a[u-2],type2:a[u],lineType:a[u-1]};break;case 25:this.$={type1:"none",type2:a[u],lineType:a[u-1]};break;case 26:this.$={type1:a[u-1],type2:"none",lineType:a[u]};break;case 27:this.$={type1:"none",type2:"none",lineType:a[u]};break;case 28:this.$=r.relationType.AGGREGATION;break;case 29:this.$=r.relationType.EXTENSION;break;case 30:this.$=r.relationType.COMPOSITION;break;case 31:this.$=r.relationType.DEPENDENCY;break;case 32:this.$=r.lineType.LINE;break;case 33:this.$=r.lineType.DOTTED_LINE}},table:[{3:1,4:2,5:[1,3]},{1:[3]},{1:[2,1]},{6:[1,4]},{7:5,9:6,10:10,11:14,12:7,14:8,15:9,16:e,20:n,21:r,45:i,46:a,47:o},{8:[1,18]},{6:[1,19],8:[2,3]},t(u,[2,8],{13:[1,20]}),t(u,[2,10]),t(u,[2,11]),t(u,[2,16],{22:21,24:24,25:25,13:[1,23],23:[1,22],26:s,27:c,28:l,29:f,30:h,31:d}),{10:32,11:14,45:i,46:a,47:o},t(u,[2,18]),t(u,[2,19]),t(p,[2,7],{11:14,10:33,45:i,46:a,47:o}),t(g,[2,47]),t(g,[2,48]),t(g,[2,49]),{1:[2,2]},{7:34,8:[2,4],9:6,10:10,11:14,12:7,14:8,15:9,16:e,20:n,21:r,45:i,46:a,47:o},t(u,[2,9]),{10:35,11:14,23:[1,36],45:i,46:a,47:o},{22:37,24:24,25:25,26:s,27:c,28:l,29:f,30:h,31:d},t(u,[2,17]),{25:38,30:h,31:d},t(y,[2,27],{24:39,26:s,27:c,28:l,29:f}),t(m,[2,28]),t(m,[2,29]),t(m,[2,30]),t(m,[2,31]),t(v,[2,32]),t(v,[2,33]),t(u,[2,12],{17:[1,40]}),t(p,[2,6]),{8:[2,5]},t(b,[2,20]),{10:41,11:14,45:i,46:a,47:o},{10:42,11:14,23:[1,43],45:i,46:a,47:o},t(y,[2,26],{24:44,26:s,27:c,28:l,29:f}),t(y,[2,25]),{18:45,20:_},t(b,[2,22]),t(b,[2,21]),{10:47,11:14,45:i,46:a,47:o},t(y,[2,24]),{19:[1,48]},{18:49,19:[2,14],20:_},t(b,[2,23]),t(u,[2,13]),{19:[2,15]}],defaultActions:{2:[2,1],18:[2,2],34:[2,5],49:[2,15]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,u="",s=0,c=0,l=0,f=1,h=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(p.yy[g]=this.yy[g]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var y=d.yylloc;a.push(y);var m=d.options&&d.options.ranges;"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var v,b,_,x,w,k,E,A,T,S,D={};;){if(_=n[n.length-1],this.defaultActions[_]?x=this.defaultActions[_]:(null==v&&(S=void 0,"number"!=typeof(S=r.pop()||d.lex()||f)&&(S instanceof Array&&(S=(r=S).pop()),S=e.symbols_[S]||S),v=S),x=o[_]&&o[_][v]),void 0===x||!x.length||!x[0]){var M="";for(k in T=[],o[_])this.terminals_[k]&&k>2&&T.push("'"+this.terminals_[k]+"'");M=d.showPosition?"Parse error on line "+(s+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(s+1)+": Unexpected "+(v==f?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(M,{text:d.match,token:this.terminals_[v]||v,line:d.yylineno,loc:y,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+v);switch(x[0]){case 1:n.push(v),i.push(d.yytext),a.push(d.yylloc),n.push(x[1]),v=null,b?(v=b,b=null):(c=d.yyleng,u=d.yytext,s=d.yylineno,y=d.yylloc,l>0&&l--);break;case 2:if(E=this.productions_[x[1]][1],D.$=i[i.length-E],D._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},m&&(D._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(w=this.performAction.apply(D,[u,c,s,p.yy,x[1],i,a].concat(h))))return w;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),i.push(D.$),a.push(D._$),A=o[n[n.length-2]][n[n.length-1]],n.push(A);break;case 3:return!0}}return!0}},w={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,r){switch(n){case 0:break;case 1:return 6;case 2:break;case 3:return 5;case 4:return this.begin("struct"),17;case 5:return this.popState(),19;case 6:break;case 7:return"MEMBER";case 8:return 16;case 9:this.begin("string");break;case 10:this.popState();break;case 11:return"STR";case 12:case 13:return 27;case 14:case 15:return 29;case 16:return 28;case 17:return 26;case 18:return 30;case 19:return 31;case 20:return 13;case 21:return 43;case 22:return"DOT";case 23:return"PLUS";case 24:return 40;case 25:case 26:return"EQUALS";case 27:return 47;case 28:return"PUNCTUATION";case 29:return 46;case 30:return 45;case 31:return 42;case 32:return 8}},rules:[/^(?:%%[^\n]*)/,/^(?:\n+)/,/^(?:\s+)/,/^(?:classDiagram\b)/,/^(?:[\{])/,/^(?:\})/,/^(?:[\n])/,/^(?:[^\{\}\n]*)/,/^(?:class\b)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:--)/,/^(?:\.\.)/,/^(?::[^#\n;]+)/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:[A-Za-z]+)/,/^(?:[!"#$%&'*+,-.`?\\_\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:$)/],conditions:{string:{rules:[10,11],inclusive:!1},struct:{rules:[5,6,7],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,8,9,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32],inclusive:!0}}};function k(){this.yy={}}return x.lexer=w,k.prototype=x,x.Parser=k,new k}();e.parser=i,e.Parser=i.Parser,e.parse=function(){return i.parse.apply(i,arguments)},e.main=function(r){r[1]||(console.log("Usage: "+r[0]+" FILE"),t.exit(1));var i=n(9).readFileSync(n(10).normalize(r[1]),"utf8");return e.parser.parse(i)},n.c[n.s]===r&&e.main(t.argv.slice(1))}).call(this,n(8),n(4)(t))},function(t,e,n){t.exports={Graph:n(20),json:n(36),alg:n(37)}},function(t,e,n){(function(t,r){var i=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,4],n=[1,3],r=[1,5],i=[1,8,9,10,11,26,89,90,91,92,93,94,106,107,110,111,112,114,115,121,122,123,124,125,126],a=[2,2],o=[1,12],u=[1,13],s=[1,14],c=[1,15],l=[1,22],f=[1,24],h=[1,25],d=[1,26],p=[1,27],g=[1,28],y=[1,40],m=[1,35],v=[1,37],b=[1,32],_=[1,36],x=[1,39],w=[1,43],k=[1,44],E=[1,45],A=[1,34],T=[1,38],S=[1,41],D=[1,42],M=[1,33],C=[1,50],O=[1,8,9,10,11,26,30,89,90,91,92,93,94,106,107,110,111,112,114,115,121,122,123,124,125,126],L=[1,54],N=[1,53],R=[1,55],F=[8,9,11,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82],P=[8,9,11,34,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82],B=[8,9,10,11,28,34,36,38,40,42,43,45,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,94,106,107,110,111,112,114,115,121,122,123,124,125,126],I=[94,106,107,110,111,112,114,115,121,122,123,124,125,126],q=[1,129],U=[1,149],j=[1,150],Y=[1,151],z=[1,152],V=[1,123],$=[1,125],H=[1,124],G=[1,120],W=[1,144],Z=[1,145],X=[1,146],J=[1,147],K=[1,148],Q=[1,153],tt=[1,154],et=[1,127],nt=[1,126],rt=[1,134],it=[1,137],at=[1,135],ot=[1,136],ut=[1,130],st=[1,142],ct=[1,141],lt=[1,122],ft=[1,132],ht=[1,133],dt=[1,138],pt=[1,139],gt=[1,140],yt=[1,143],mt=[49,83,94,106,107,110,111,112,114,115,121,122,123,124,125,126],vt=[8,9,10,11,26,30,89,90,91,92,93,94,106,107,110,111,112,114,115,121,122,123,124,125,126],bt=[1,171],_t=[1,173],xt=[1,174],wt=[8,9,10,11,12,13,26,28,29,30,37,39,41,42,44,46,50,51,53,55,57,59,61,63,65,66,67,69,71,73,83,89,90,91,92,93,94,95,98,105,106,107,110,111,112,114,115,117,121,122,123,124,125,126],kt=[8,9,10,11,13,94,106,107,110,111,112,114,115,121,122,123,124,125,126],Et=[10,107],At=[1,250],Tt=[1,254],St=[1,251],Dt=[1,255],Mt=[1,248],Ct=[1,245],Ot=[1,246],Lt=[1,247],Nt=[1,249],Rt=[1,252],Ft=[1,253],Pt=[8,9,11],Bt=[1,279],It=[8,9,11,107],qt=[8,9,10,11,89,101,105,106,107,110,111,112,113,114,115],Ut={trace:function(){},yy:{},symbols_:{error:2,mermaidDoc:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,DIR:13,FirstStmtSeperator:14,ending:15,endToken:16,spaceList:17,spaceListNewline:18,verticeStatement:19,separator:20,styleStatement:21,linkStyleStatement:22,classDefStatement:23,classStatement:24,clickStatement:25,subgraph:26,text:27,SQS:28,SQE:29,end:30,link:31,node:32,vertex:33,STYLE_SEPARATOR:34,idString:35,PS:36,PE:37,"(-":38,"-)":39,DIAMOND_START:40,DIAMOND_STOP:41,TAGEND:42,TRAPSTART:43,TRAPEND:44,INVTRAPSTART:45,INVTRAPEND:46,linkStatement:47,arrowText:48,TESTSTR:49,"--":50,ARROW_POINT:51,START_DOUBLE_ARROW_POINT:52,ARROW_CIRCLE:53,START_DOUBLE_ARROW_CIRCLE:54,ARROW_CROSS:55,START_DOUBLE_ARROW_CROSS:56,ARROW_OPEN:57,"-.":58,DOTTED_ARROW_POINT:59,START_DOUBLE_DOTTED_ARROW_POINT:60,DOTTED_ARROW_CIRCLE:61,START_DOUBLE_DOTTED_ARROW_CIRCLE:62,DOTTED_ARROW_CROSS:63,START_DOUBLE_DOTTED_ARROW_CROSS:64,DOTTED_ARROW_OPEN:65,"==":66,THICK_ARROW_POINT:67,START_DOUBLE_THICK_ARROW_POINT:68,THICK_ARROW_CIRCLE:69,START_DOUBLE_THICK_ARROW_CIRCLE:70,THICK_ARROW_CROSS:71,START_DOUBLE_THICK_ARROW_CROSS:72,THICK_ARROW_OPEN:73,DOUBLE_ARROW_POINT:74,DOUBLE_ARROW_CIRCLE:75,DOUBLE_ARROW_CROSS:76,DOUBLE_DOTTED_ARROW_POINT:77,DOUBLE_DOTTED_ARROW_CIRCLE:78,DOUBLE_DOTTED_ARROW_CROSS:79,DOUBLE_THICK_ARROW_POINT:80,DOUBLE_THICK_ARROW_CIRCLE:81,DOUBLE_THICK_ARROW_CROSS:82,PIPE:83,textToken:84,STR:85,commentText:86,commentToken:87,keywords:88,STYLE:89,LINKSTYLE:90,CLASSDEF:91,CLASS:92,CLICK:93,DOWN:94,UP:95,textNoTags:96,textNoTagsToken:97,DEFAULT:98,stylesOpt:99,alphaNum:100,HEX:101,numList:102,INTERPOLATE:103,commentStatement:104,PCT:105,NUM:106,COMMA:107,style:108,styleComponent:109,ALPHA:110,COLON:111,MINUS:112,UNIT:113,BRKT:114,DOT:115,graphCodeTokens:116,TAGSTART:117,alphaNumToken:118,idStringToken:119,alphaNumStatement:120,PUNCTUATION:121,UNICODE_TEXT:122,PLUS:123,EQUALS:124,MULT:125,UNDERSCORE:126,QUOTE:127,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"DIR",26:"subgraph",28:"SQS",29:"SQE",30:"end",34:"STYLE_SEPARATOR",36:"PS",37:"PE",38:"(-",39:"-)",40:"DIAMOND_START",41:"DIAMOND_STOP",42:"TAGEND",43:"TRAPSTART",44:"TRAPEND",45:"INVTRAPSTART",46:"INVTRAPEND",49:"TESTSTR",50:"--",51:"ARROW_POINT",52:"START_DOUBLE_ARROW_POINT",53:"ARROW_CIRCLE",54:"START_DOUBLE_ARROW_CIRCLE",55:"ARROW_CROSS",56:"START_DOUBLE_ARROW_CROSS",57:"ARROW_OPEN",58:"-.",59:"DOTTED_ARROW_POINT",60:"START_DOUBLE_DOTTED_ARROW_POINT",61:"DOTTED_ARROW_CIRCLE",62:"START_DOUBLE_DOTTED_ARROW_CIRCLE",63:"DOTTED_ARROW_CROSS",64:"START_DOUBLE_DOTTED_ARROW_CROSS",65:"DOTTED_ARROW_OPEN",66:"==",67:"THICK_ARROW_POINT",68:"START_DOUBLE_THICK_ARROW_POINT",69:"THICK_ARROW_CIRCLE",70:"START_DOUBLE_THICK_ARROW_CIRCLE",71:"THICK_ARROW_CROSS",72:"START_DOUBLE_THICK_ARROW_CROSS",73:"THICK_ARROW_OPEN",74:"DOUBLE_ARROW_POINT",75:"DOUBLE_ARROW_CIRCLE",76:"DOUBLE_ARROW_CROSS",77:"DOUBLE_DOTTED_ARROW_POINT",78:"DOUBLE_DOTTED_ARROW_CIRCLE",79:"DOUBLE_DOTTED_ARROW_CROSS",80:"DOUBLE_THICK_ARROW_POINT",81:"DOUBLE_THICK_ARROW_CIRCLE",82:"DOUBLE_THICK_ARROW_CROSS",83:"PIPE",85:"STR",89:"STYLE",90:"LINKSTYLE",91:"CLASSDEF",92:"CLASS",93:"CLICK",94:"DOWN",95:"UP",98:"DEFAULT",101:"HEX",103:"INTERPOLATE",105:"PCT",106:"NUM",107:"COMMA",110:"ALPHA",111:"COLON",112:"MINUS",113:"UNIT",114:"BRKT",115:"DOT",117:"TAGSTART",121:"PUNCTUATION",122:"UNICODE_TEXT",123:"PLUS",124:"EQUALS",125:"MULT",126:"UNDERSCORE",127:"QUOTE"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,3],[15,2],[15,1],[16,1],[16,1],[16,1],[14,1],[14,1],[14,2],[18,2],[18,2],[18,1],[18,1],[17,2],[17,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[20,1],[20,1],[20,1],[19,3],[19,1],[32,1],[32,3],[33,4],[33,5],[33,6],[33,7],[33,4],[33,5],[33,4],[33,5],[33,4],[33,5],[33,4],[33,5],[33,4],[33,5],[33,4],[33,5],[33,4],[33,5],[33,4],[33,5],[33,1],[33,2],[31,2],[31,3],[31,3],[31,1],[31,3],[31,3],[31,3],[31,3],[31,3],[31,3],[31,3],[31,3],[31,3],[31,3],[31,3],[31,3],[31,3],[31,3],[31,3],[31,3],[31,3],[31,3],[31,3],[31,3],[31,3],[47,1],[47,1],[47,1],[47,1],[47,1],[47,1],[47,1],[47,1],[47,1],[47,1],[47,1],[47,1],[47,1],[47,1],[47,1],[47,1],[47,1],[47,1],[47,1],[47,1],[47,1],[48,3],[27,1],[27,2],[27,1],[86,1],[86,2],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[96,1],[96,2],[23,5],[23,5],[24,5],[25,5],[25,7],[25,5],[25,7],[21,5],[21,5],[22,5],[22,5],[22,9],[22,9],[22,7],[22,7],[104,3],[102,1],[102,3],[99,1],[99,3],[108,1],[108,2],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[87,1],[87,1],[84,1],[84,1],[84,1],[84,1],[84,1],[84,1],[84,1],[97,1],[97,1],[97,1],[97,1],[35,1],[35,2],[100,1],[100,2],[120,1],[120,1],[120,1],[120,1],[118,1],[118,1],[118,1],[118,1],[118,1],[118,1],[118,1],[118,1],[118,1],[118,1],[118,1],[118,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1]],performAction:function(t,e,n,r,i,a,o){var u=a.length-1;switch(i){case 2:this.$=[];break;case 3:a[u]!==[]&&a[u-1].push(a[u]),this.$=a[u-1];break;case 4:case 111:case 113:case 114:case 127:case 177:case 179:case 180:this.$=a[u];break;case 11:r.setDirection(a[u-1]),this.$=a[u-1];break;case 26:this.$=a[u-1];break;case 27:case 28:case 29:case 30:case 31:this.$=[];break;case 32:this.$=r.addSubGraph(a[u-6],a[u-1],a[u-4]);break;case 33:this.$=r.addSubGraph(a[u-3],a[u-1],a[u-3]);break;case 34:this.$=r.addSubGraph(void 0,a[u-1],void 0);break;case 38:r.addLink(a[u-2][0],a[u][0],a[u-1]),this.$=a[u].concat(a[u-2]);break;case 39:this.$=a[u];break;case 40:this.$=[a[u]];break;case 41:this.$=[a[u-2]],r.setClass(a[u-2],a[u]);break;case 42:this.$=a[u-3],r.addVertex(a[u-3],a[u-1],"square");break;case 43:this.$=a[u-4],r.addVertex(a[u-4],a[u-2],"square");break;case 44:this.$=a[u-5],r.addVertex(a[u-5],a[u-2],"circle");break;case 45:this.$=a[u-6],r.addVertex(a[u-6],a[u-3],"circle");break;case 46:this.$=a[u-3],r.addVertex(a[u-3],a[u-1],"ellipse");break;case 47:this.$=a[u-4],r.addVertex(a[u-4],a[u-2],"ellipse");break;case 48:this.$=a[u-3],r.addVertex(a[u-3],a[u-1],"round");break;case 49:this.$=a[u-4],r.addVertex(a[u-4],a[u-2],"round");break;case 50:this.$=a[u-3],r.addVertex(a[u-3],a[u-1],"diamond");break;case 51:this.$=a[u-4],r.addVertex(a[u-4],a[u-2],"diamond");break;case 52:this.$=a[u-3],r.addVertex(a[u-3],a[u-1],"odd");break;case 53:this.$=a[u-4],r.addVertex(a[u-4],a[u-2],"odd");break;case 54:this.$=a[u-3],r.addVertex(a[u-3],a[u-1],"trapezoid");break;case 55:this.$=a[u-4],r.addVertex(a[u-4],a[u-2],"trapezoid");break;case 56:this.$=a[u-3],r.addVertex(a[u-3],a[u-1],"inv_trapezoid");break;case 57:this.$=a[u-4],r.addVertex(a[u-4],a[u-2],"inv_trapezoid");break;case 58:this.$=a[u-3],r.addVertex(a[u-3],a[u-1],"lean_right");break;case 59:this.$=a[u-4],r.addVertex(a[u-4],a[u-2],"lean_right");break;case 60:this.$=a[u-3],r.addVertex(a[u-3],a[u-1],"lean_left");break;case 61:this.$=a[u-4],r.addVertex(a[u-4],a[u-2],"lean_left");break;case 62:this.$=a[u],r.addVertex(a[u]);break;case 63:this.$=a[u-1],r.addVertex(a[u-1]);break;case 64:a[u-1].text=a[u],this.$=a[u-1];break;case 65:case 66:a[u-2].text=a[u-1],this.$=a[u-2];break;case 67:this.$=a[u];break;case 68:this.$={type:"arrow",stroke:"normal",text:a[u-1]};break;case 69:this.$={type:"double_arrow_point",stroke:"normal",text:a[u-1]};break;case 70:this.$={type:"arrow_circle",stroke:"normal",text:a[u-1]};break;case 71:this.$={type:"double_arrow_circle",stroke:"normal",text:a[u-1]};break;case 72:this.$={type:"arrow_cross",stroke:"normal",text:a[u-1]};break;case 73:this.$={type:"double_arrow_cross",stroke:"normal",text:a[u-1]};break;case 74:this.$={type:"arrow_open",stroke:"normal",text:a[u-1]};break;case 75:this.$={type:"arrow",stroke:"dotted",text:a[u-1]};break;case 76:this.$={type:"double_arrow_point",stroke:"dotted",text:a[u-1]};break;case 77:this.$={type:"arrow_circle",stroke:"dotted",text:a[u-1]};break;case 78:this.$={type:"double_arrow_circle",stroke:"dotted",text:a[u-1]};break;case 79:this.$={type:"arrow_cross",stroke:"dotted",text:a[u-1]};break;case 80:this.$={type:"double_arrow_cross",stroke:"dotted",text:a[u-1]};break;case 81:this.$={type:"arrow_open",stroke:"dotted",text:a[u-1]};break;case 82:this.$={type:"arrow",stroke:"thick",text:a[u-1]};break;case 83:this.$={type:"double_arrow_point",stroke:"thick",text:a[u-1]};break;case 84:this.$={type:"arrow_circle",stroke:"thick",text:a[u-1]};break;case 85:this.$={type:"double_arrow_circle",stroke:"thick",text:a[u-1]};break;case 86:this.$={type:"arrow_cross",stroke:"thick",text:a[u-1]};break;case 87:this.$={type:"double_arrow_cross",stroke:"thick",text:a[u-1]};break;case 88:this.$={type:"arrow_open",stroke:"thick",text:a[u-1]};break;case 89:this.$={type:"arrow",stroke:"normal"};break;case 90:this.$={type:"double_arrow_point",stroke:"normal"};break;case 91:this.$={type:"arrow_circle",stroke:"normal"};break;case 92:this.$={type:"double_arrow_circle",stroke:"normal"};break;case 93:this.$={type:"arrow_cross",stroke:"normal"};break;case 94:this.$={type:"double_arrow_cross",stroke:"normal"};break;case 95:this.$={type:"arrow_open",stroke:"normal"};break;case 96:this.$={type:"arrow",stroke:"dotted"};break;case 97:this.$={type:"double_arrow_point",stroke:"dotted"};break;case 98:this.$={type:"arrow_circle",stroke:"dotted"};break;case 99:this.$={type:"double_arrow_circle",stroke:"dotted"};break;case 100:this.$={type:"arrow_cross",stroke:"dotted"};break;case 101:this.$={type:"double_arrow_cross",stroke:"dotted"};break;case 102:this.$={type:"arrow_open",stroke:"dotted"};break;case 103:this.$={type:"arrow",stroke:"thick"};break;case 104:this.$={type:"double_arrow_point",stroke:"thick"};break;case 105:this.$={type:"arrow_circle",stroke:"thick"};break;case 106:this.$={type:"double_arrow_circle",stroke:"thick"};break;case 107:this.$={type:"arrow_cross",stroke:"thick"};break;case 108:this.$={type:"double_arrow_cross",stroke:"thick"};break;case 109:this.$={type:"arrow_open",stroke:"thick"};break;case 110:this.$=a[u-1];break;case 112:case 115:case 128:case 178:this.$=a[u-1]+""+a[u];break;case 129:case 130:this.$=a[u-4],r.addClass(a[u-2],a[u]);break;case 131:this.$=a[u-4],r.setClass(a[u-2],a[u]);break;case 132:this.$=a[u-4],r.setClickEvent(a[u-2],a[u],void 0);break;case 133:this.$=a[u-6],r.setClickEvent(a[u-4],a[u-2],a[u]);break;case 134:this.$=a[u-4],r.setLink(a[u-2],a[u],void 0);break;case 135:this.$=a[u-6],r.setLink(a[u-4],a[u-2],a[u]);break;case 136:this.$=a[u-4],r.addVertex(a[u-2],void 0,void 0,a[u]);break;case 137:case 139:this.$=a[u-4],r.updateLink(a[u-2],a[u]);break;case 138:this.$=a[u-4],r.updateLink([a[u-2]],a[u]);break;case 140:this.$=a[u-8],r.updateLinkInterpolate([a[u-6]],a[u-2]),r.updateLink([a[u-6]],a[u]);break;case 141:this.$=a[u-8],r.updateLinkInterpolate(a[u-6],a[u-2]),r.updateLink(a[u-6],a[u]);break;case 142:this.$=a[u-6],r.updateLinkInterpolate([a[u-4]],a[u]);break;case 143:this.$=a[u-6],r.updateLinkInterpolate(a[u-4],a[u]);break;case 145:case 147:this.$=[a[u]];break;case 146:case 148:a[u-2].push(a[u]),this.$=a[u-2];break;case 150:this.$=a[u-1]+a[u];break;case 175:this.$=a[u];break;case 176:this.$=a[u-1]+""+a[u];break;case 181:this.$="v";break;case 182:this.$="-"}},table:[{3:1,4:2,9:e,10:n,12:r},{1:[3]},t(i,a,{5:6}),{4:7,9:e,10:n,12:r},{4:8,9:e,10:n,12:r},{13:[1,9]},{1:[2,1],6:10,7:11,8:o,9:u,10:s,11:c,19:16,21:17,22:18,23:19,24:20,25:21,26:l,32:23,33:29,35:30,89:f,90:h,91:d,92:p,93:g,94:y,106:m,107:v,110:b,111:_,112:x,114:w,115:k,119:31,121:E,122:A,123:T,124:S,125:D,126:M},t(i,[2,9]),t(i,[2,10]),{8:[1,47],9:[1,48],10:C,14:46,17:49},t(O,[2,3]),t(O,[2,4]),t(O,[2,5]),t(O,[2,6]),t(O,[2,7]),t(O,[2,8]),{8:L,9:N,11:R,20:51,31:52,47:56,50:[1,57],51:[1,69],52:[1,58],53:[1,71],54:[1,59],55:[1,73],56:[1,60],57:[1,75],58:[1,61],59:[1,76],60:[1,62],61:[1,78],62:[1,63],63:[1,80],64:[1,64],65:[1,82],66:[1,65],67:[1,83],68:[1,66],69:[1,85],70:[1,67],71:[1,87],72:[1,68],73:[1,89],74:[1,70],75:[1,72],76:[1,74],77:[1,77],78:[1,79],79:[1,81],80:[1,84],81:[1,86],82:[1,88]},{8:L,9:N,11:R,20:90},{8:L,9:N,11:R,20:91},{8:L,9:N,11:R,20:92},{8:L,9:N,11:R,20:93},{8:L,9:N,11:R,20:94},{8:L,9:N,10:[1,95],11:R,20:96},t(F,[2,39]),{10:[1,97]},{10:[1,98]},{10:[1,99]},{10:[1,100]},{10:[1,101]},t(F,[2,40],{34:[1,102]}),t(P,[2,62],{17:110,119:111,10:C,28:[1,103],36:[1,104],38:[1,105],40:[1,106],42:[1,107],43:[1,108],45:[1,109],94:y,106:m,107:v,110:b,111:_,112:x,114:w,115:k,121:E,122:A,123:T,124:S,125:D,126:M}),t(B,[2,175]),t(B,[2,195]),t(B,[2,196]),t(B,[2,197]),t(B,[2,198]),t(B,[2,199]),t(B,[2,200]),t(B,[2,201]),t(B,[2,202]),t(B,[2,203]),t(B,[2,204]),t(B,[2,205]),t(B,[2,206]),t(B,[2,207]),t(B,[2,208]),t(i,[2,11]),t(i,[2,17]),t(i,[2,18]),{9:[1,112]},t(P,[2,25],{17:113,10:C}),t(O,[2,26]),{32:114,33:29,35:30,94:y,106:m,107:v,110:b,111:_,112:x,114:w,115:k,119:31,121:E,122:A,123:T,124:S,125:D,126:M},t(O,[2,35]),t(O,[2,36]),t(O,[2,37]),t(I,[2,67],{48:115,49:[1,116],83:[1,117]}),{10:q,12:U,13:j,26:Y,27:118,30:z,42:V,50:$,66:H,84:119,85:G,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,27:155,30:z,42:V,50:$,66:H,84:119,85:G,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,27:156,30:z,42:V,50:$,66:H,84:119,85:G,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,27:157,30:z,42:V,50:$,66:H,84:119,85:G,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,27:158,30:z,42:V,50:$,66:H,84:119,85:G,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,27:159,30:z,42:V,50:$,66:H,84:119,85:G,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,27:160,30:z,42:V,50:$,66:H,84:119,85:G,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,27:161,30:z,42:V,50:$,66:H,84:119,85:G,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,27:162,30:z,42:V,50:$,66:H,84:119,85:G,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,27:163,30:z,42:V,50:$,66:H,84:119,85:G,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,27:164,30:z,42:V,50:$,66:H,84:119,85:G,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,27:165,30:z,42:V,50:$,66:H,84:119,85:G,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},t(mt,[2,89]),t(mt,[2,90]),t(mt,[2,91]),t(mt,[2,92]),t(mt,[2,93]),t(mt,[2,94]),t(mt,[2,95]),t(mt,[2,96]),t(mt,[2,97]),t(mt,[2,98]),t(mt,[2,99]),t(mt,[2,100]),t(mt,[2,101]),t(mt,[2,102]),t(mt,[2,103]),t(mt,[2,104]),t(mt,[2,105]),t(mt,[2,106]),t(mt,[2,107]),t(mt,[2,108]),t(mt,[2,109]),t(O,[2,27]),t(O,[2,28]),t(O,[2,29]),t(O,[2,30]),t(O,[2,31]),{10:q,12:U,13:j,26:Y,27:166,30:z,42:V,50:$,66:H,84:119,85:G,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},t(vt,a,{5:167}),{13:bt,94:_t,100:168,101:[1,169],106:rt,107:it,110:at,111:ot,112:xt,114:st,115:ct,118:172,120:170,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{98:[1,175],102:176,106:[1,177]},{13:bt,94:_t,98:[1,178],100:179,106:rt,107:it,110:at,111:ot,112:xt,114:st,115:ct,118:172,120:170,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{13:bt,94:_t,100:180,106:rt,107:it,110:at,111:ot,112:xt,114:st,115:ct,118:172,120:170,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{13:bt,94:_t,100:181,106:rt,107:it,110:at,111:ot,112:xt,114:st,115:ct,118:172,120:170,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{35:182,94:y,106:m,107:v,110:b,111:_,112:x,114:w,115:k,119:31,121:E,122:A,123:T,124:S,125:D,126:M},{10:q,12:U,13:j,26:Y,27:183,30:z,42:V,50:$,66:H,84:119,85:G,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,27:185,30:z,36:[1,184],42:V,50:$,66:H,84:119,85:G,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,27:186,30:z,42:V,50:$,66:H,84:119,85:G,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,27:187,30:z,42:V,50:$,66:H,84:119,85:G,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,27:188,30:z,42:V,50:$,66:H,84:119,85:G,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,27:189,30:z,42:V,50:$,66:H,84:119,85:G,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,27:190,30:z,42:V,50:$,66:H,84:119,85:G,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},t(P,[2,63]),t(B,[2,176]),t(i,[2,19]),t(P,[2,24]),t(F,[2,38]),t(I,[2,64],{10:[1,191]}),{10:[1,192]},{10:q,12:U,13:j,26:Y,27:193,30:z,42:V,50:$,66:H,84:119,85:G,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,30:z,42:V,50:$,51:[1,194],53:[1,195],55:[1,196],57:[1,197],66:H,84:198,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},t(wt,[2,111]),t(wt,[2,113]),t(wt,[2,164]),t(wt,[2,165]),t(wt,[2,166]),t(wt,[2,167]),t(wt,[2,168]),t(wt,[2,169]),t(wt,[2,170]),t(wt,[2,171]),t(wt,[2,172]),t(wt,[2,173]),t(wt,[2,174]),t(wt,[2,183]),t(wt,[2,184]),t(wt,[2,185]),t(wt,[2,186]),t(wt,[2,187]),t(wt,[2,188]),t(wt,[2,189]),t(wt,[2,190]),t(wt,[2,191]),t(wt,[2,192]),t(wt,[2,193]),t(wt,[2,194]),t(wt,[2,116]),t(wt,[2,117]),t(wt,[2,118]),t(wt,[2,119]),t(wt,[2,120]),t(wt,[2,121]),t(wt,[2,122]),t(wt,[2,123]),t(wt,[2,124]),t(wt,[2,125]),t(wt,[2,126]),{10:q,12:U,13:j,26:Y,30:z,42:V,50:$,51:[1,199],66:H,84:198,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,30:z,42:V,50:$,53:[1,200],66:H,84:198,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,30:z,42:V,50:$,55:[1,201],66:H,84:198,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,30:z,42:V,50:$,59:[1,202],61:[1,203],63:[1,204],65:[1,205],66:H,84:198,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,30:z,42:V,50:$,59:[1,206],66:H,84:198,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,30:z,42:V,50:$,61:[1,207],66:H,84:198,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,30:z,42:V,50:$,63:[1,208],66:H,84:198,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,30:z,42:V,50:$,66:H,67:[1,209],69:[1,210],71:[1,211],73:[1,212],84:198,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,30:z,42:V,50:$,66:H,67:[1,213],84:198,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,30:z,42:V,50:$,66:H,69:[1,214],84:198,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,30:z,42:V,50:$,66:H,71:[1,215],84:198,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{8:L,9:N,10:q,11:R,12:U,13:j,20:217,26:Y,28:[1,216],30:z,42:V,50:$,66:H,84:198,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{6:10,7:11,8:o,9:u,10:s,11:c,19:16,21:17,22:18,23:19,24:20,25:21,26:l,30:[1,218],32:23,33:29,35:30,89:f,90:h,91:d,92:p,93:g,94:y,106:m,107:v,110:b,111:_,112:x,114:w,115:k,119:31,121:E,122:A,123:T,124:S,125:D,126:M},{10:[1,219],13:bt,94:_t,106:rt,107:it,110:at,111:ot,112:xt,114:st,115:ct,118:172,120:220,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:[1,221]},t(kt,[2,177]),t(kt,[2,179]),t(kt,[2,180]),t(kt,[2,181]),t(kt,[2,182]),{10:[1,222]},{10:[1,223],107:[1,224]},t(Et,[2,145]),{10:[1,225]},{10:[1,226],13:bt,94:_t,106:rt,107:it,110:at,111:ot,112:xt,114:st,115:ct,118:172,120:220,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:[1,227],13:bt,94:_t,106:rt,107:it,110:at,111:ot,112:xt,114:st,115:ct,118:172,120:220,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:[1,228],13:bt,94:_t,106:rt,107:it,110:at,111:ot,112:xt,114:st,115:ct,118:172,120:220,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},t(F,[2,41],{119:111,94:y,106:m,107:v,110:b,111:_,112:x,114:w,115:k,121:E,122:A,123:T,124:S,125:D,126:M}),{10:q,12:U,13:j,26:Y,29:[1,229],30:z,42:V,50:$,66:H,84:198,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,27:230,30:z,42:V,50:$,66:H,84:119,85:G,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,30:z,37:[1,231],42:V,50:$,66:H,84:198,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,30:z,39:[1,232],42:V,50:$,66:H,84:198,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,30:z,41:[1,233],42:V,50:$,66:H,84:198,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,29:[1,234],30:z,42:V,50:$,66:H,84:198,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,30:z,42:V,44:[1,235],46:[1,236],50:$,66:H,84:198,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{10:q,12:U,13:j,26:Y,30:z,42:V,44:[1,238],46:[1,237],50:$,66:H,84:198,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},t(I,[2,66]),t(I,[2,65]),{10:q,12:U,13:j,26:Y,30:z,42:V,50:$,66:H,83:[1,239],84:198,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},t(I,[2,68]),t(I,[2,70]),t(I,[2,72]),t(I,[2,74]),t(wt,[2,112]),t(I,[2,69]),t(I,[2,71]),t(I,[2,73]),t(I,[2,75]),t(I,[2,77]),t(I,[2,79]),t(I,[2,81]),t(I,[2,76]),t(I,[2,78]),t(I,[2,80]),t(I,[2,82]),t(I,[2,84]),t(I,[2,86]),t(I,[2,88]),t(I,[2,83]),t(I,[2,85]),t(I,[2,87]),{10:q,12:U,13:j,26:Y,27:240,30:z,42:V,50:$,66:H,84:119,85:G,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},t(vt,a,{5:241}),t(O,[2,34]),{10:At,89:Tt,99:242,101:St,105:Dt,106:Mt,108:243,109:244,110:Ct,111:Ot,112:Lt,113:Nt,114:Rt,115:Ft},t(kt,[2,178]),{10:At,89:Tt,99:256,101:St,105:Dt,106:Mt,108:243,109:244,110:Ct,111:Ot,112:Lt,113:Nt,114:Rt,115:Ft},{10:At,89:Tt,99:257,101:St,103:[1,258],105:Dt,106:Mt,108:243,109:244,110:Ct,111:Ot,112:Lt,113:Nt,114:Rt,115:Ft},{10:At,89:Tt,99:259,101:St,103:[1,260],105:Dt,106:Mt,108:243,109:244,110:Ct,111:Ot,112:Lt,113:Nt,114:Rt,115:Ft},{106:[1,261]},{10:At,89:Tt,99:262,101:St,105:Dt,106:Mt,108:243,109:244,110:Ct,111:Ot,112:Lt,113:Nt,114:Rt,115:Ft},{10:At,89:Tt,99:263,101:St,105:Dt,106:Mt,108:243,109:244,110:Ct,111:Ot,112:Lt,113:Nt,114:Rt,115:Ft},{13:bt,94:_t,100:264,106:rt,107:it,110:at,111:ot,112:xt,114:st,115:ct,118:172,120:170,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{13:bt,85:[1,266],94:_t,100:265,106:rt,107:it,110:at,111:ot,112:xt,114:st,115:ct,118:172,120:170,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},t(P,[2,42],{17:267,10:C}),{10:q,12:U,13:j,26:Y,30:z,37:[1,268],42:V,50:$,66:H,84:198,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},t(P,[2,48],{17:269,10:C}),t(P,[2,46],{17:270,10:C}),t(P,[2,50],{17:271,10:C}),t(P,[2,52],{17:272,10:C}),t(P,[2,54],{17:273,10:C}),t(P,[2,58],{17:274,10:C}),t(P,[2,56],{17:275,10:C}),t(P,[2,60],{17:276,10:C}),t([10,94,106,107,110,111,112,114,115,121,122,123,124,125,126],[2,110]),{10:q,12:U,13:j,26:Y,29:[1,277],30:z,42:V,50:$,66:H,84:198,88:131,89:W,90:Z,91:X,92:J,93:K,94:Q,95:tt,97:121,98:et,105:nt,106:rt,107:it,110:at,111:ot,112:ut,114:st,115:ct,117:lt,118:128,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{6:10,7:11,8:o,9:u,10:s,11:c,19:16,21:17,22:18,23:19,24:20,25:21,26:l,30:[1,278],32:23,33:29,35:30,89:f,90:h,91:d,92:p,93:g,94:y,106:m,107:v,110:b,111:_,112:x,114:w,115:k,119:31,121:E,122:A,123:T,124:S,125:D,126:M},t(Pt,[2,136],{107:Bt}),t(It,[2,147],{109:280,10:At,89:Tt,101:St,105:Dt,106:Mt,110:Ct,111:Ot,112:Lt,113:Nt,114:Rt,115:Ft}),t(qt,[2,149]),t(qt,[2,151]),t(qt,[2,152]),t(qt,[2,153]),t(qt,[2,154]),t(qt,[2,155]),t(qt,[2,156]),t(qt,[2,157]),t(qt,[2,158]),t(qt,[2,159]),t(qt,[2,160]),t(qt,[2,161]),t(Pt,[2,137],{107:Bt}),t(Pt,[2,138],{107:Bt}),{10:[1,281]},t(Pt,[2,139],{107:Bt}),{10:[1,282]},t(Et,[2,146]),t(Pt,[2,129],{107:Bt}),t(Pt,[2,130],{107:Bt}),t(Pt,[2,131],{118:172,120:220,13:bt,94:_t,106:rt,107:it,110:at,111:ot,112:xt,114:st,115:ct,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt}),t(Pt,[2,132],{118:172,120:220,10:[1,283],13:bt,94:_t,106:rt,107:it,110:at,111:ot,112:xt,114:st,115:ct,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt}),t(Pt,[2,134],{10:[1,284]}),t(P,[2,43]),{37:[1,285]},t(P,[2,49]),t(P,[2,47]),t(P,[2,51]),t(P,[2,53]),t(P,[2,55]),t(P,[2,59]),t(P,[2,57]),t(P,[2,61]),{8:L,9:N,11:R,20:286},t(O,[2,33]),{10:At,89:Tt,101:St,105:Dt,106:Mt,108:287,109:244,110:Ct,111:Ot,112:Lt,113:Nt,114:Rt,115:Ft},t(qt,[2,150]),{13:bt,94:_t,100:288,106:rt,107:it,110:at,111:ot,112:xt,114:st,115:ct,118:172,120:170,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{13:bt,94:_t,100:289,106:rt,107:it,110:at,111:ot,112:xt,114:st,115:ct,118:172,120:170,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt},{85:[1,290]},{85:[1,291]},t(P,[2,44],{17:292,10:C}),t(vt,a,{5:293}),t(It,[2,148],{109:280,10:At,89:Tt,101:St,105:Dt,106:Mt,110:Ct,111:Ot,112:Lt,113:Nt,114:Rt,115:Ft}),t(Pt,[2,142],{118:172,120:220,10:[1,294],13:bt,94:_t,106:rt,107:it,110:at,111:ot,112:xt,114:st,115:ct,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt}),t(Pt,[2,143],{118:172,120:220,10:[1,295],13:bt,94:_t,106:rt,107:it,110:at,111:ot,112:xt,114:st,115:ct,121:ft,122:ht,123:dt,124:pt,125:gt,126:yt}),t(Pt,[2,133]),t(Pt,[2,135]),t(P,[2,45]),{6:10,7:11,8:o,9:u,10:s,11:c,19:16,21:17,22:18,23:19,24:20,25:21,26:l,30:[1,296],32:23,33:29,35:30,89:f,90:h,91:d,92:p,93:g,94:y,106:m,107:v,110:b,111:_,112:x,114:w,115:k,119:31,121:E,122:A,123:T,124:S,125:D,126:M},{10:At,89:Tt,99:297,101:St,105:Dt,106:Mt,108:243,109:244,110:Ct,111:Ot,112:Lt,113:Nt,114:Rt,115:Ft},{10:At,89:Tt,99:298,101:St,105:Dt,106:Mt,108:243,109:244,110:Ct,111:Ot,112:Lt,113:Nt,114:Rt,115:Ft},t(O,[2,32]),t(Pt,[2,140],{107:Bt}),t(Pt,[2,141],{107:Bt})],defaultActions:{},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,u="",s=0,c=0,l=0,f=1,h=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(p.yy[g]=this.yy[g]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var y=d.yylloc;a.push(y);var m=d.options&&d.options.ranges;"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var v,b,_,x,w,k,E,A,T,S,D={};;){if(_=n[n.length-1],this.defaultActions[_]?x=this.defaultActions[_]:(null==v&&(S=void 0,"number"!=typeof(S=r.pop()||d.lex()||f)&&(S instanceof Array&&(S=(r=S).pop()),S=e.symbols_[S]||S),v=S),x=o[_]&&o[_][v]),void 0===x||!x.length||!x[0]){var M="";for(k in T=[],o[_])this.terminals_[k]&&k>2&&T.push("'"+this.terminals_[k]+"'");M=d.showPosition?"Parse error on line "+(s+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(s+1)+": Unexpected "+(v==f?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(M,{text:d.match,token:this.terminals_[v]||v,line:d.yylineno,loc:y,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+v);switch(x[0]){case 1:n.push(v),i.push(d.yytext),a.push(d.yylloc),n.push(x[1]),v=null,b?(v=b,b=null):(c=d.yyleng,u=d.yytext,s=d.yylineno,y=d.yylloc,l>0&&l--);break;case 2:if(E=this.productions_[x[1]][1],D.$=i[i.length-E],D._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},m&&(D._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(w=this.performAction.apply(D,[u,c,s,p.yy,x[1],i,a].concat(h))))return w;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),i.push(D.$),a.push(D._$),A=o[n[n.length-2]][n[n.length-1]],n.push(A);break;case 3:return!0}}return!0}},jt={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,r){switch(n){case 0:break;case 1:this.begin("string");break;case 2:this.popState();break;case 3:return"STR";case 4:return 89;case 5:return 98;case 6:return 90;case 7:return 103;case 8:return 91;case 9:return 92;case 10:return 93;case 11:return t.lex.firstGraph()&&this.begin("dir"),12;case 12:return 26;case 13:return 30;case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:return this.popState(),13;case 24:return 106;case 25:return 114;case 26:return 34;case 27:return 111;case 28:return 8;case 29:return 107;case 30:return 125;case 31:return 55;case 32:return 51;case 33:return 74;case 34:return 76;case 35:return 75;case 36:return 78;case 37:return 80;case 38:return 81;case 39:return 82;case 40:case 41:return 79;case 42:case 43:return 77;case 44:return 78;case 45:return 53;case 46:return 57;case 47:return 63;case 48:return 59;case 49:return 61;case 50:return 65;case 51:return 63;case 52:return 59;case 53:return 61;case 54:return 65;case 55:return 71;case 56:return 67;case 57:return 69;case 58:return 73;case 59:return 52;case 60:return 56;case 61:return 54;case 62:return 60;case 63:return 64;case 64:return 62;case 65:return 68;case 66:return 72;case 67:return 70;case 68:return 50;case 69:return 58;case 70:return 66;case 71:return 38;case 72:return 39;case 73:return 112;case 74:return 115;case 75:return 126;case 76:return 123;case 77:return 105;case 78:case 79:return 124;case 80:return 117;case 81:return 42;case 82:return 95;case 83:return 94;case 84:return 110;case 85:return 44;case 86:return 43;case 87:return 46;case 88:return 45;case 89:return 121;case 90:return 122;case 91:return 83;case 92:return 36;case 93:return 37;case 94:return 28;case 95:return 29;case 96:return 40;case 97:return 41;case 98:return 127;case 99:return 9;case 100:return 10;case 101:return 11}},rules:[/^(?:%%[^\n]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:click\b)/,/^(?:graph\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*--[x]\s*)/,/^(?:\s*-->\s*)/,/^(?:\s*<-->\s*)/,/^(?:\s*[x]--[x]\s*)/,/^(?:\s*[o]--[o]\s*)/,/^(?:\s*[o]\.-[o]\s*)/,/^(?:\s*<==>\s*)/,/^(?:\s*[o]==[o]\s*)/,/^(?:\s*[x]==[x]\s*)/,/^(?:\s*[x].-[x]\s*)/,/^(?:\s*[x]-\.-[x]\s*)/,/^(?:\s*<\.->\s*)/,/^(?:\s*<-\.->\s*)/,/^(?:\s*[o]-\.-[o]\s*)/,/^(?:\s*--[o]\s*)/,/^(?:\s*---\s*)/,/^(?:\s*-\.-[x]\s*)/,/^(?:\s*-\.->\s*)/,/^(?:\s*-\.-[o]\s*)/,/^(?:\s*-\.-\s*)/,/^(?:\s*.-[x]\s*)/,/^(?:\s*\.->\s*)/,/^(?:\s*\.-[o]\s*)/,/^(?:\s*\.-\s*)/,/^(?:\s*==[x]\s*)/,/^(?:\s*==>\s*)/,/^(?:\s*==[o]\s*)/,/^(?:\s*==[\=]\s*)/,/^(?:\s*<--\s*)/,/^(?:\s*[x]--\s*)/,/^(?:\s*[o]--\s*)/,/^(?:\s*<-\.\s*)/,/^(?:\s*[x]-\.\s*)/,/^(?:\s*[o]-\.\s*)/,/^(?:\s*<==\s*)/,/^(?:\s*[x]==\s*)/,/^(?:\s*[o]==\s*)/,/^(?:\s*--\s*)/,/^(?:\s*-\.\s*)/,/^(?:\s*==\s*)/,/^(?:\(-)/,/^(?:-\))/,/^(?:-)/,/^(?:\.)/,/^(?:[\_])/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:v\b)/,/^(?:[A-Za-z]+)/,/^(?:\\\])/,/^(?:\[\/)/,/^(?:\/\])/,/^(?:\[\\)/,/^(?:[!"#$%&'*+,-.`?\\_\/])/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\()/,/^(?:\))/,/^(?:\[)/,/^(?:\])/,/^(?:\{)/,/^(?:\})/,/^(?:")/,/^(?:\n+)/,/^(?:\s)/,/^(?:$)/],conditions:{dir:{rules:[14,15,16,17,18,19,20,21,22,23],inclusive:!1},string:{rules:[2,3],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,8,9,10,11,12,13,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101],inclusive:!0}}};function Yt(){this.yy={}}return Ut.lexer=jt,Yt.prototype=Ut,Ut.Parser=Yt,new Yt}();e.parser=i,e.Parser=i.Parser,e.parse=function(){return i.parse.apply(i,arguments)},e.main=function(r){r[1]||(console.log("Usage: "+r[0]+" FILE"),t.exit(1));var i=n(9).readFileSync(n(10).normalize(r[1]),"utf8");return e.parser.parse(i)},n.c[n.s]===r&&e.main(t.argv.slice(1))}).call(this,n(8),n(4)(t))},function(t){t.exports={name:"mermaid",version:"8.3.1",description:"Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",main:"dist/mermaid.core.js",keywords:["diagram","markdown","flowchart","sequence diagram","gantt","class diagram","git graph"],scripts:{build:"webpack --progress --colors",postbuild:"documentation build src/mermaidAPI.js --shallow -f md --markdown-toc false -o docs/mermaidAPI.md","build:watch":"yarn build --watch",minify:"minify ./dist/mermaid.js > ./dist/mermaid.min.js",release:"yarn build -p --config webpack.config.prod.babel.js",lint:"eslint src","e2e:depr":"yarn lint && jest e2e --config e2e/jest.config.js",cypress:"percy exec -- cypress run",e2e:"start-server-and-test dev http://localhost:9000/ cypress","e2e-upd":"yarn lint && jest e2e -u --config e2e/jest.config.js",dev:"webpack-dev-server --config webpack.config.e2e.js",test:"yarn lint && jest src","test:watch":"jest --watch src",prepublishOnly:"yarn build && yarn release && yarn test",prepush:"yarn test"},repository:{type:"git",url:"https://github.com/knsv/mermaid"},author:"Knut Sveidqvist",license:"MIT",standard:{ignore:["**/parser/*.js","dist/**/*.js","cypress/**/*.js"],globals:["page"]},dependencies:{"@braintree/sanitize-url":"^3.1.0",d3:"^5.7.0","dagre-d3-renderer":"^0.5.8","dagre-layout":"^0.8.8",graphlibrary:"^2.2.0",he:"^1.2.0",lodash:"^4.17.11",minify:"^4.1.1","moment-mini":"^2.22.1",prettier:"^1.18.2","scope-css":"^1.2.1"},devDependencies:{documentation:"^12.0.1",eslint:"^6.3.0","eslint-config-prettier":"^6.3.0","eslint-plugin-prettier":"^3.1.0","@babel/core":"^7.2.2","@babel/preset-env":"^7.2.0","@babel/register":"^7.0.0","@percy/cypress":"^2.0.1","babel-core":"7.0.0-bridge.0","babel-jest":"^23.6.0","babel-loader":"^8.0.4",coveralls:"^3.0.2","css-loader":"^2.0.1","css-to-string-loader":"^0.1.3",cypress:"3.4.0",husky:"^1.2.1","identity-obj-proxy":"^3.0.0",jest:"^23.6.0","jest-environment-puppeteer":"^4.2.0","jest-image-snapshot":"^2.8.2","jest-puppeteer":"^4.2.0",jison:"^0.4.18",moment:"^2.23.0","node-sass":"^4.11.0",puppeteer:"^1.17.0","sass-loader":"^7.1.0","start-server-and-test":"^1.10.0",webpack:"^4.27.1","webpack-cli":"^3.1.2","webpack-dev-server":"^3.4.1","webpack-node-externals":"^1.7.2","yarn-upgrade-all":"^0.5.0"},files:["dist"],"yarn-upgrade-all":{ignore:["babel-core"]}}},function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var i=(o=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),a=r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"});return[n].concat(a).concat([i]).join("\n")}var o;return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},i=0;i<this.length;i++){var a=this[i][0];null!=a&&(r[a]=!0)}for(i=0;i<t.length;i++){var o=t[i];null!=o[0]&&r[o[0]]||(n&&!o[2]?o[2]=n:n&&(o[2]="("+o[2]+") and ("+n+")"),e.push(o))}},e}},function(t,e,n){"use strict";var r=/^(%20|\s)*(javascript|data)/im,i=/[^\x20-\x7E]/gim,a=/^([^:]+):/gm,o=[".","/"];t.exports={sanitizeUrl:function(t){if(!t)return"about:blank";var e,n,u=t.replace(i,"").trim();return function(t){return o.indexOf(t[0])>-1}(u)?u:(n=u.match(a))?(e=n[0],r.test(e)?"about:blank":u):"about:blank"}}},function(t,e,n){(function(t,r){var i=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[2,3],n=[1,7],r=[7,12,15,17,19,20,21],i=[7,11,12,15,17,19,20,21],a=[2,20],o=[1,32],u={trace:function(){},yy:{},symbols_:{error:2,start:3,GG:4,":":5,document:6,EOF:7,DIR:8,options:9,body:10,OPT:11,NL:12,line:13,statement:14,COMMIT:15,commit_arg:16,BRANCH:17,ID:18,CHECKOUT:19,MERGE:20,RESET:21,reset_arg:22,STR:23,HEAD:24,reset_parents:25,CARET:26,$accept:0,$end:1},terminals_:{2:"error",4:"GG",5:":",7:"EOF",8:"DIR",11:"OPT",12:"NL",15:"COMMIT",17:"BRANCH",18:"ID",19:"CHECKOUT",20:"MERGE",21:"RESET",23:"STR",24:"HEAD",26:"CARET"},productions_:[0,[3,4],[3,5],[6,0],[6,2],[9,2],[9,1],[10,0],[10,2],[13,2],[13,1],[14,2],[14,2],[14,2],[14,2],[14,2],[16,0],[16,1],[22,2],[22,2],[25,0],[25,2]],performAction:function(t,e,n,r,i,a,o){var u=a.length-1;switch(i){case 1:return a[u-1];case 2:return r.setDirection(a[u-3]),a[u-1];case 4:r.setOptions(a[u-1]),this.$=a[u];break;case 5:a[u-1]+=a[u],this.$=a[u-1];break;case 7:this.$=[];break;case 8:a[u-1].push(a[u]),this.$=a[u-1];break;case 9:this.$=a[u-1];break;case 11:r.commit(a[u]);break;case 12:r.branch(a[u]);break;case 13:r.checkout(a[u]);break;case 14:r.merge(a[u]);break;case 15:r.reset(a[u]);break;case 16:this.$="";break;case 17:this.$=a[u];break;case 18:this.$=a[u-1]+":"+a[u];break;case 19:this.$=a[u-1]+":"+r.count,r.count=0;break;case 20:r.count=0;break;case 21:r.count+=1}},table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3],8:[1,4]},{6:5,7:e,9:6,12:n},{5:[1,8]},{7:[1,9]},t(r,[2,7],{10:10,11:[1,11]}),t(i,[2,6]),{6:12,7:e,9:6,12:n},{1:[2,1]},{7:[2,4],12:[1,15],13:13,14:14,15:[1,16],17:[1,17],19:[1,18],20:[1,19],21:[1,20]},t(i,[2,5]),{7:[1,21]},t(r,[2,8]),{12:[1,22]},t(r,[2,10]),{12:[2,16],16:23,23:[1,24]},{18:[1,25]},{18:[1,26]},{18:[1,27]},{18:[1,30],22:28,24:[1,29]},{1:[2,2]},t(r,[2,9]),{12:[2,11]},{12:[2,17]},{12:[2,12]},{12:[2,13]},{12:[2,14]},{12:[2,15]},{12:a,25:31,26:o},{12:a,25:33,26:o},{12:[2,18]},{12:a,25:34,26:o},{12:[2,19]},{12:[2,21]}],defaultActions:{9:[2,1],21:[2,2],23:[2,11],24:[2,17],25:[2,12],26:[2,13],27:[2,14],28:[2,15],31:[2,18],33:[2,19],34:[2,21]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,u="",s=0,c=0,l=0,f=1,h=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(p.yy[g]=this.yy[g]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var y=d.yylloc;a.push(y);var m=d.options&&d.options.ranges;"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var v,b,_,x,w,k,E,A,T,S,D={};;){if(_=n[n.length-1],this.defaultActions[_]?x=this.defaultActions[_]:(null==v&&(S=void 0,"number"!=typeof(S=r.pop()||d.lex()||f)&&(S instanceof Array&&(S=(r=S).pop()),S=e.symbols_[S]||S),v=S),x=o[_]&&o[_][v]),void 0===x||!x.length||!x[0]){var M="";for(k in T=[],o[_])this.terminals_[k]&&k>2&&T.push("'"+this.terminals_[k]+"'");M=d.showPosition?"Parse error on line "+(s+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(s+1)+": Unexpected "+(v==f?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(M,{text:d.match,token:this.terminals_[v]||v,line:d.yylineno,loc:y,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+v);switch(x[0]){case 1:n.push(v),i.push(d.yytext),a.push(d.yylloc),n.push(x[1]),v=null,b?(v=b,b=null):(c=d.yyleng,u=d.yytext,s=d.yylineno,y=d.yylloc,l>0&&l--);break;case 2:if(E=this.productions_[x[1]][1],D.$=i[i.length-E],D._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},m&&(D._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(w=this.performAction.apply(D,[u,c,s,p.yy,x[1],i,a].concat(h))))return w;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),i.push(D.$),a.push(D._$),A=o[n[n.length-2]][n[n.length-1]],n.push(A);break;case 3:return!0}}return!0}},s={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return 12;case 1:case 2:case 3:break;case 4:return 4;case 5:return 15;case 6:return 17;case 7:return 20;case 8:return 21;case 9:return 19;case 10:case 11:return 8;case 12:return 5;case 13:return 26;case 14:this.begin("options");break;case 15:this.popState();break;case 16:return 11;case 17:this.begin("string");break;case 18:this.popState();break;case 19:return 23;case 20:return 18;case 21:return 7}},rules:[/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:gitGraph\b)/i,/^(?:commit\b)/i,/^(?:branch\b)/i,/^(?:merge\b)/i,/^(?:reset\b)/i,/^(?:checkout\b)/i,/^(?:LR\b)/i,/^(?:BT\b)/i,/^(?::)/i,/^(?:\^)/i,/^(?:options\r?\n)/i,/^(?:end\r?\n)/i,/^(?:[^\n]+\r?\n)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[a-zA-Z][a-zA-Z0-9_]+)/i,/^(?:$)/i],conditions:{options:{rules:[15,16],inclusive:!1},string:{rules:[18,19],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,17,20,21],inclusive:!0}}};function c(){this.yy={}}return u.lexer=s,c.prototype=u,u.Parser=c,new c}();e.parser=i,e.Parser=i.Parser,e.parse=function(){return i.parse.apply(i,arguments)},e.main=function(r){r[1]||(console.log("Usage: "+r[0]+" FILE"),t.exit(1));var i=n(9).readFileSync(n(10).normalize(r[1]),"utf8");return e.parser.parse(i)},n.c[n.s]===r&&e.main(t.argv.slice(1))}).call(this,n(8),n(4)(t))},function(t,e,n){(function(t,r){var i=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[6,9,10],n={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(t,e,n,r,i,a,o){a.length;switch(i){case 1:return r;case 4:break;case 6:r.setInfo(!0)}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},t(e,[2,3]),t(e,[2,4]),t(e,[2,5]),t(e,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,u="",s=0,c=0,l=0,f=1,h=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(p.yy[g]=this.yy[g]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var y=d.yylloc;a.push(y);var m=d.options&&d.options.ranges;"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var v,b,_,x,w,k,E,A,T,S,D={};;){if(_=n[n.length-1],this.defaultActions[_]?x=this.defaultActions[_]:(null==v&&(S=void 0,"number"!=typeof(S=r.pop()||d.lex()||f)&&(S instanceof Array&&(S=(r=S).pop()),S=e.symbols_[S]||S),v=S),x=o[_]&&o[_][v]),void 0===x||!x.length||!x[0]){var M="";for(k in T=[],o[_])this.terminals_[k]&&k>2&&T.push("'"+this.terminals_[k]+"'");M=d.showPosition?"Parse error on line "+(s+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(s+1)+": Unexpected "+(v==f?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(M,{text:d.match,token:this.terminals_[v]||v,line:d.yylineno,loc:y,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+v);switch(x[0]){case 1:n.push(v),i.push(d.yytext),a.push(d.yylloc),n.push(x[1]),v=null,b?(v=b,b=null):(c=d.yyleng,u=d.yytext,s=d.yylineno,y=d.yylloc,l>0&&l--);break;case 2:if(E=this.productions_[x[1]][1],D.$=i[i.length-E],D._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},m&&(D._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(w=this.performAction.apply(D,[u,c,s,p.yy,x[1],i,a].concat(h))))return w;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),i.push(D.$),a.push(D._$),A=o[n[n.length-2]][n[n.length-1]],n.push(A);break;case 3:return!0}}return!0}},r={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return 4;case 1:return 9;case 2:return"space";case 3:return 10;case 4:return 6;case 5:return"TXT"}},rules:[/^(?:info\b)/i,/^(?:[\s\n\r]+)/i,/^(?:[\s]+)/i,/^(?:showInfo\b)/i,/^(?:$)/i,/^(?:.)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5],inclusive:!0}}};function i(){this.yy={}}return n.lexer=r,i.prototype=n,n.Parser=i,new i}();e.parser=i,e.Parser=i.Parser,e.parse=function(){return i.parse.apply(i,arguments)},e.main=function(r){r[1]||(console.log("Usage: "+r[0]+" FILE"),t.exit(1));var i=n(9).readFileSync(n(10).normalize(r[1]),"utf8");return e.parser.parse(i)},n.c[n.s]===r&&e.main(t.argv.slice(1))}).call(this,n(8),n(4)(t))},function(t,e,n){(function(t,r){var i=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[6,9,10,12],n={trace:function(){},yy:{},symbols_:{error:2,start:3,pie:4,document:5,EOF:6,line:7,statement:8,NL:9,STR:10,VALUE:11,title:12,$accept:0,$end:1},terminals_:{2:"error",4:"pie",6:"EOF",9:"NL",10:"STR",11:"VALUE",12:"title"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,2],[8,1]],performAction:function(t,e,n,r,i,a,o){var u=a.length-1;switch(i){case 4:break;case 6:console.log("str:"+a[u-1]+" value: "+a[u]),r.addSection(a[u-1],r.cleanupValue(a[u]));break;case 7:r.setTitle(a[u].substr(6)),this.$=a[u].substr(6)}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8],12:[1,9]},{1:[2,1]},t(e,[2,3]),t(e,[2,4]),t(e,[2,5]),{11:[1,10]},t(e,[2,7]),t(e,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,u="",s=0,c=0,l=0,f=1,h=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(p.yy[g]=this.yy[g]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var y=d.yylloc;a.push(y);var m=d.options&&d.options.ranges;"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var v,b,_,x,w,k,E,A,T,S,D={};;){if(_=n[n.length-1],this.defaultActions[_]?x=this.defaultActions[_]:(null==v&&(S=void 0,"number"!=typeof(S=r.pop()||d.lex()||f)&&(S instanceof Array&&(S=(r=S).pop()),S=e.symbols_[S]||S),v=S),x=o[_]&&o[_][v]),void 0===x||!x.length||!x[0]){var M="";for(k in T=[],o[_])this.terminals_[k]&&k>2&&T.push("'"+this.terminals_[k]+"'");M=d.showPosition?"Parse error on line "+(s+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(s+1)+": Unexpected "+(v==f?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(M,{text:d.match,token:this.terminals_[v]||v,line:d.yylineno,loc:y,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+v);switch(x[0]){case 1:n.push(v),i.push(d.yytext),a.push(d.yylloc),n.push(x[1]),v=null,b?(v=b,b=null):(c=d.yyleng,u=d.yytext,s=d.yylineno,y=d.yylloc,l>0&&l--);break;case 2:if(E=this.productions_[x[1]][1],D.$=i[i.length-E],D._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},m&&(D._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(w=this.performAction.apply(D,[u,c,s,p.yy,x[1],i,a].concat(h))))return w;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),i.push(D.$),a.push(D._$),A=o[n[n.length-2]][n[n.length-1]],n.push(A);break;case 3:return!0}}return!0}},r={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:case 1:break;case 2:return 4;case 3:return 9;case 4:return"space";case 5:return 12;case 6:this.begin("string");break;case 7:this.popState();break;case 8:return"STR";case 9:return"VALUE";case 10:return 6}},rules:[/^(?:%%[^\n]*)/i,/^(?:\s+)/i,/^(?:pie\b)/i,/^(?:[\s\n\r]+)/i,/^(?:[\s]+)/i,/^(?:title\s[^#\n;]+)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?::[\s]*[\d]+(?:\.[\d]+)?)/i,/^(?:$)/i],conditions:{string:{rules:[7,8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,9,10],inclusive:!0}}};function i(){this.yy={}}return n.lexer=r,i.prototype=n,n.Parser=i,new i}();e.parser=i,e.Parser=i.Parser,e.parse=function(){return i.parse.apply(i,arguments)},e.main=function(r){r[1]||(console.log("Usage: "+r[0]+" FILE"),t.exit(1));var i=n(9).readFileSync(n(10).normalize(r[1]),"utf8");return e.parser.parse(i)},n.c[n.s]===r&&e.main(t.argv.slice(1))}).call(this,n(8),n(4)(t))},function(t,e,n){const r=n(2);t.exports=u;const i="\0",a="\0",o="";function u(t){this._isDirected=!r.has(t,"directed")||t.directed,this._isMultigraph=!!r.has(t,"multigraph")&&t.multigraph,this._isCompound=!!r.has(t,"compound")&&t.compound,this._label=void 0,this._defaultNodeLabelFn=r.constant(void 0),this._defaultEdgeLabelFn=r.constant(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[a]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}function s(t,e){t[e]?t[e]++:t[e]=1}function c(t,e){--t[e]||delete t[e]}function l(t,e,n,a){var u=""+e,s=""+n;if(!t&&u>s){var c=u;u=s,s=c}return u+o+s+o+(r.isUndefined(a)?i:a)}function f(t,e){return l(t,e.v,e.w,e.name)}u.prototype._nodeCount=0,u.prototype._edgeCount=0,u.prototype.isDirected=function(){return this._isDirected},u.prototype.isMultigraph=function(){return this._isMultigraph},u.prototype.isCompound=function(){return this._isCompound},u.prototype.setGraph=function(t){return this._label=t,this},u.prototype.graph=function(){return this._label},u.prototype.setDefaultNodeLabel=function(t){return r.isFunction(t)||(t=r.constant(t)),this._defaultNodeLabelFn=t,this},u.prototype.nodeCount=function(){return this._nodeCount},u.prototype.nodes=function(){return r.keys(this._nodes)},u.prototype.sources=function(){var t=this;return r.filter(this.nodes(),function(e){return r.isEmpty(t._in[e])})},u.prototype.sinks=function(){var t=this;return r.filter(this.nodes(),function(e){return r.isEmpty(t._out[e])})},u.prototype.setNodes=function(t,e){var n=arguments,i=this;return r.each(t,function(t){n.length>1?i.setNode(t,e):i.setNode(t)}),this},u.prototype.setNode=function(t,e){return r.has(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=e),this):(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]=a,this._children[t]={},this._children[a][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this)},u.prototype.node=function(t){return this._nodes[t]},u.prototype.hasNode=function(t){return r.has(this._nodes,t)},u.prototype.removeNode=function(t){var e=this;if(r.has(this._nodes,t)){var n=function(t){e.removeEdge(e._edgeObjs[t])};delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],r.each(this.children(t),function(t){e.setParent(t)}),delete this._children[t]),r.each(r.keys(this._in[t]),n),delete this._in[t],delete this._preds[t],r.each(r.keys(this._out[t]),n),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this},u.prototype.setParent=function(t,e){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(r.isUndefined(e))e=a;else{for(var n=e+="";!r.isUndefined(n);n=this.parent(n))if(n===t)throw new Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this},u.prototype._removeFromParentsChildList=function(t){delete this._children[this._parent[t]][t]},u.prototype.parent=function(t){if(this._isCompound){var e=this._parent[t];if(e!==a)return e}},u.prototype.children=function(t){if(r.isUndefined(t)&&(t=a),this._isCompound){var e=this._children[t];if(e)return r.keys(e)}else{if(t===a)return this.nodes();if(this.hasNode(t))return[]}},u.prototype.predecessors=function(t){var e=this._preds[t];if(e)return r.keys(e)},u.prototype.successors=function(t){var e=this._sucs[t];if(e)return r.keys(e)},u.prototype.neighbors=function(t){var e=this.predecessors(t);if(e)return r.union(e,this.successors(t))},u.prototype.isLeaf=function(t){return 0===(this.isDirected()?this.successors(t):this.neighbors(t)).length},u.prototype.filterNodes=function(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var n=this;r.each(this._nodes,function(n,r){t(r)&&e.setNode(r,n)}),r.each(this._edgeObjs,function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,n.edge(t))});var i={};return this._isCompound&&r.each(e.nodes(),function(t){e.setParent(t,function t(r){var a=n.parent(r);return void 0===a||e.hasNode(a)?(i[r]=a,a):a in i?i[a]:t(a)}(t))}),e},u.prototype.setDefaultEdgeLabel=function(t){return r.isFunction(t)||(t=r.constant(t)),this._defaultEdgeLabelFn=t,this},u.prototype.edgeCount=function(){return this._edgeCount},u.prototype.edges=function(){return r.values(this._edgeObjs)},u.prototype.setPath=function(t,e){const n=this,i=arguments;return r.reduce(t,function(t,r){return i.length>1?n.setEdge(t,r,e):n.setEdge(t,r),r}),this},u.prototype.setEdge=function(){let t,e,n,i,a=!1;const o=arguments[0];"object"==typeof o&&null!==o&&"v"in o?(t=o.v,e=o.w,n=o.name,2===arguments.length&&(i=arguments[1],a=!0)):(t=o,e=arguments[1],n=arguments[3],arguments.length>2&&(i=arguments[2],a=!0)),t=""+t,e=""+e,r.isUndefined(n)||(n=""+n);var u=l(this._isDirected,t,e,n);if(r.has(this._edgeLabels,u))return a&&(this._edgeLabels[u]=i),this;if(!r.isUndefined(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[u]=a?i:this._defaultEdgeLabelFn(t,e,n);var c=function(t,e,n,r){var i=""+e,a=""+n;if(!t&&i>a){var o=i;i=a,a=o}var u={v:i,w:a};r&&(u.name=r);return u}(this._isDirected,t,e,n);return t=c.v,e=c.w,Object.freeze(c),this._edgeObjs[u]=c,s(this._preds[e],t),s(this._sucs[t],e),this._in[e][u]=c,this._out[t][u]=c,this._edgeCount++,this},u.prototype.edge=function(t,e,n){var r=1===arguments.length?f(this._isDirected,arguments[0]):l(this._isDirected,t,e,n);return this._edgeLabels[r]},u.prototype.hasEdge=function(t,e,n){var i=1===arguments.length?f(this._isDirected,arguments[0]):l(this._isDirected,t,e,n);return r.has(this._edgeLabels,i)},u.prototype.removeEdge=function(t,e,n){const r=1===arguments.length?f(this._isDirected,arguments[0]):l(this._isDirected,t,e,n),i=this._edgeObjs[r];return i&&(t=i.v,e=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],c(this._preds[e],t),c(this._sucs[t],e),delete this._in[e][r],delete this._out[t][r],this._edgeCount--),this},u.prototype.inEdges=function(t,e){var n=this._in[t];if(n){var i=r.values(n);return e?r.filter(i,function(t){return t.v===e}):i}},u.prototype.outEdges=function(t,e){var n=this._out[t];if(n){var i=r.values(n);return e?r.filter(i,function(t){return t.w===e}):i}},u.prototype.nodeEdges=function(t,e){var n=this.inEdges(t,e);if(n)return n.concat(this.outEdges(t,e))}},function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n.w={},n(n.s=27)}([function(t,e){t.exports=n(3)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addDummyNode=o,e.simplify=u,e.asNonCompoundGraph=s,e.successorWeights=c,e.predecessorWeights=l,e.intersectRect=f,e.buildLayerMatrix=h,e.normalizeRanks=d,e.removeEmptyRanks=p,e.addBorderNode=g,e.maxRank=y,e.partition=m,e.time=v,e.notime=b;var r,i=(r=n(0))&&r.__esModule?r:{default:r},a=n(2);function o(t,e,n,r){var a=void 0;do{a=i.default.uniqueId(r)}while(t.hasNode(a));return n.dummy=e,t.setNode(a,n),a}function u(t){var e=(new a.Graph).setGraph(t.graph());return i.default.forEach(t.nodes(),function(n){e.setNode(n,t.node(n))}),i.default.forEach(t.edges(),function(n){var r=e.edge(n.v,n.w)||{weight:0,minlen:1},i=t.edge(n);e.setEdge(n.v,n.w,{weight:r.weight+i.weight,minlen:Math.max(r.minlen,i.minlen)})}),e}function s(t){var e=new a.Graph({multigraph:t.isMultigraph()}).setGraph(t.graph());return i.default.forEach(t.nodes(),function(n){t.children(n).length||e.setNode(n,t.node(n))}),i.default.forEach(t.edges(),function(n){e.setEdge(n,t.edge(n))}),e}function c(t){var e=i.default.map(t.nodes(),function(e){var n={};return i.default.forEach(t.outEdges(e),function(e){n[e.w]=(n[e.w]||0)+t.edge(e).weight}),n});return i.default.zipObject(t.nodes(),e)}function l(t){var e=i.default.map(t.nodes(),function(e){var n={};return i.default.forEach(t.inEdges(e),function(e){n[e.v]=(n[e.v]||0)+t.edge(e).weight}),n});return i.default.zipObject(t.nodes(),e)}function f(t,e){var n=t.x,r=t.y,i=e.x-n,a=e.y-r,o=t.width/2,u=t.height/2;if(!i&&!a)throw new Error("Not possible to find intersection inside of the rectangle");var s=void 0,c=void 0;return Math.abs(a)*o>Math.abs(i)*u?(a<0&&(u=-u),s=u*i/a,c=u):(i<0&&(o=-o),s=o,c=o*a/i),{x:n+s,y:r+c}}function h(t){var e=i.default.map(i.default.range(y(t)+1),function(){return[]});return i.default.forEach(t.nodes(),function(n){var r=t.node(n),a=r.rank;i.default.isUndefined(a)||(e[a][r.order]=n)}),e}function d(t){var e=i.default.min(i.default.map(t.nodes(),function(e){return t.node(e).rank}));i.default.forEach(t.nodes(),function(n){var r=t.node(n);i.default.has(r,"rank")&&(r.rank-=e)})}function p(t){var e=i.default.min(i.default.map(t.nodes(),function(e){return t.node(e).rank})),n=[];i.default.forEach(t.nodes(),function(r){var i=t.node(r).rank-e;n[i]||(n[i]=[]),n[i].push(r)});var r=0,a=t.graph().nodeRankFactor;i.default.forEach(n,function(e,n){i.default.isUndefined(e)&&n%a!=0?--r:r&&i.default.forEach(e,function(e){t.node(e).rank+=r})})}function g(t,e,n,r){var i={width:0,height:0};return arguments.length>=4&&(i.rank=n,i.order=r),o(t,"border",i,e)}function y(t){return i.default.max(i.default.map(t.nodes(),function(e){var n=t.node(e).rank;if(!i.default.isUndefined(n))return n}))}function m(t,e){var n={lhs:[],rhs:[]};return i.default.forEach(t,function(t){e(t)?n.lhs.push(t):n.rhs.push(t)}),n}function v(t,e){var n=i.default.now();try{return e()}finally{console.log(t+" time: "+(i.default.now()-n)+"ms")}}function b(t,e){return e()}e.default={addDummyNode:o,simplify:u,asNonCompoundGraph:s,successorWeights:c,predecessorWeights:l,intersectRect:f,buildLayerMatrix:h,normalizeRanks:d,removeEmptyRanks:p,addBorderNode:g,maxRank:y,partition:m,time:v,notime:b}},function(t,e){t.exports=n(12)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.longestPath=a,e.slack=o;var r,i=(r=n(0))&&r.__esModule?r:{default:r};function a(t){var e={};i.default.forEach(t.sources(),function n(r){var a=t.node(r);if(i.default.has(e,r))return a.rank;e[r]=!0;var o=i.default.min(i.default.map(t.outEdges(r),function(e){return n(e.w)-t.edge(e).minlen}))||0;return a.rank=o})}function o(t,e){return t.node(e.w).rank-t.node(e.v).rank-t.edge(e).minlen}e.default={longestPath:a,slack:o}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(r=n(0))&&r.__esModule?r:{default:r},a=n(2),o=n(3);function u(t,e){return i.default.forEach(t.nodes(),function n(r){i.default.forEach(e.nodeEdges(r),function(i){var a=i.v,u=r===a?i.w:a;t.hasNode(u)||(0,o.slack)(e,i)||(t.setNode(u,{}),t.setEdge(r,u,{}),n(u))})}),t.nodeCount()}function s(t,e){return i.default.minBy(e.edges(),function(n){if(t.hasNode(n.v)!==t.hasNode(n.w))return(0,o.slack)(e,n)})}function c(t,e,n){i.default.forEach(t.nodes(),function(t){e.node(t).rank+=n})}e.default=function(t){var e=new a.Graph({directed:!1}),n=t.nodes()[0],r=t.nodeCount();e.setNode(n,{});for(var i=void 0;u(e,t)<r;)i=s(e,t),c(e,t,e.hasNode(i.v)?(0,o.slack)(t,i):-(0,o.slack)(t,i));return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.positionX=y;var r=o(n(0)),i=n(2),a=o(n(1));function o(t){return t&&t.__esModule?t:{default:t}}function u(t,e){var n={};return r.default.reduce(e,function(e,i){var a=0,o=0,u=e.length,s=r.default.last(i);return r.default.forEach(i,function(e,l){var f=function(t,e){if(t.node(e).dummy)return r.default.find(t.predecessors(e),function(e){return t.node(e).dummy})}(t,e),h=f?t.node(f).order:u;(f||e===s)&&(r.default.forEach(i.slice(o,l+1),function(e){r.default.forEach(t.predecessors(e),function(r){var i=t.node(r),o=i.order;!(o<a||h<o)||i.dummy&&t.node(e).dummy||c(n,r,e)})}),o=l+1,a=h)}),i}),n}function s(t,e){var n={};function i(e,i,a,o,u){var s=void 0;r.default.forEach(r.default.range(i,a),function(i){s=e[i],t.node(s).dummy&&r.default.forEach(t.predecessors(s),function(e){var r=t.node(e);r.dummy&&(r.order<o||r.order>u)&&c(n,e,s)})})}return r.default.reduce(e,function(e,n){var a=-1,o=void 0,u=0;return r.default.forEach(n,function(r,s){if("border"===t.node(r).dummy){var c=t.predecessors(r);c.length&&(o=t.node(c[0]).order,i(n,u,s,a,o),u=s,a=o)}i(n,u,n.length,o,e.length)}),n}),n}function c(t,e,n){if(e>n){var r=e;e=n,n=r}var i=t[e];i||(t[e]=i={}),i[n]=!0}function l(t,e,n){if(e>n){var i=e;e=n,n=i}return r.default.has(t[e],n)}function f(t,e,n,i){var a={},o={},u={};return r.default.forEach(e,function(t){r.default.forEach(t,function(t,e){a[t]=t,o[t]=t,u[t]=e})}),r.default.forEach(e,function(t){var e=-1;r.default.forEach(t,function(t){var s=i(t);if(s.length)for(var c=((s=r.default.sortBy(s,function(t){return u[t]})).length-1)/2,f=Math.floor(c),h=Math.ceil(c);f<=h;++f){var d=s[f];o[t]===t&&e<u[d]&&!l(n,t,d)&&(o[d]=t,o[t]=a[t]=a[d],e=u[d])}})}),{root:a,align:o}}function h(t,e,n,a,o){var u={},s=function(t,e,n,a){var o=new i.Graph,u=t.graph(),s=function(t,e,n){return function(i,a,o){var u=i.node(a),s=i.node(o),c=0,l=void 0;if(c+=u.width/2,r.default.has(u,"labelpos"))switch(u.labelpos.toLowerCase()){case"l":l=-u.width/2;break;case"r":l=u.width/2}if(l&&(c+=n?l:-l),l=0,c+=(u.dummy?e:t)/2,c+=(s.dummy?e:t)/2,c+=s.width/2,r.default.has(s,"labelpos"))switch(s.labelpos.toLowerCase()){case"l":l=s.width/2;break;case"r":l=-s.width/2}return l&&(c+=n?l:-l),l=0,c}}(u.nodesep,u.edgesep,a);return r.default.forEach(e,function(e){var i=void 0;r.default.forEach(e,function(e){var r=n[e];if(o.setNode(r),i){var a=n[i],u=o.edge(a,r);o.setEdge(a,r,Math.max(s(t,e,i),u||0))}i=e})}),o}(t,e,n,o),c={};r.default.forEach(s.nodes(),function t(e){r.default.has(c,e)||(c[e]=!0,u[e]=r.default.reduce(s.inEdges(e),function(e,n){return t(n.v),Math.max(e,u[n.v]+s.edge(n))},0))});var l=o?"borderLeft":"borderRight";return r.default.forEach(s.nodes(),function e(n){if(2!==c[n]){c[n]++;var i=t.node(n),a=r.default.reduce(s.outEdges(n),function(t,n){return e(n.w),Math.min(t,u[n.w]-s.edge(n))},Number.POSITIVE_INFINITY);a!==Number.POSITIVE_INFINITY&&i.borderType!==l&&(u[n]=Math.max(u[n],a))}}),r.default.forEach(a,function(t){u[t]=u[n[t]]}),u}function d(t,e){return r.default.minBy(r.default.values(e),function(e){var n=(r.default.minBy(r.default.toPairs(e),function(e){return e[1]-m(t,e[0])/2})||["k",0])[1];return(r.default.maxBy(r.default.toPairs(e),function(e){return e[1]+m(t,e[0])/2})||["k",0])[1]-n})}function p(t,e){var n=r.default.values(e),i=r.default.min(n),a=r.default.max(n);r.default.forEach(["u","d"],function(n){r.default.forEach(["l","r"],function(o){var u=n+o,s=t[u];if(s!==e){var c=r.default.values(s),l="l"===o?i-r.default.min(c):a-r.default.max(c);l&&(t[u]=r.default.mapValues(s,function(t){return t+l}))}})})}function g(t,e){return r.default.mapValues(t.ul,function(n,i){if(e)return t[e.toLowerCase()][i];var a=r.default.sortBy(r.default.map(t,i));return(a[1]+a[2])/2})}function y(t){var e=a.default.buildLayerMatrix(t),n=r.default.merge(u(t,e),s(t,e)),i={},o=void 0;r.default.forEach(["u","d"],function(a){o="u"===a?e:r.default.values(e).reverse(),r.default.forEach(["l","r"],function(e){"r"===e&&(o=r.default.map(o,function(t){return r.default.values(t).reverse()}));var u=r.default.bind("u"===a?t.predecessors:t.successors,t),s=f(0,o,n,u),c=h(t,o,s.root,s.align,"r"===e);"r"===e&&(c=r.default.mapValues(c,function(t){return-t})),i[a+e]=c})});var c=d(t,i);return p(i,c),g(i,t.graph().align)}function m(t,e){return t.node(e).width}e.default={positionX:y,findType1Conflicts:u,findType2Conflicts:s,addConflict:c,hasConflict:l,verticalAlignment:f,horizontalCompaction:h,alignCoordinates:p,findSmallestWidthAlignment:d,balance:g}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=o(n(0)),i=o(n(1)),a=n(5);function o(t){return t&&t.__esModule?t:{default:t}}e.default=function(t){(function(t){var e=i.default.buildLayerMatrix(t),n=t.graph().ranksep,a=0;r.default.forEach(e,function(e){var i=r.default.max(r.default.map(e,function(e){return t.node(e).height}));r.default.forEach(e,function(e){t.node(e).y=a+i/2}),a+=i+n})})(t=i.default.asNonCompoundGraph(t)),r.default.forEach((0,a.positionX)(t),function(e,n){t.node(n).x=e})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(r=n(0))&&r.__esModule?r:{default:r};e.default=function(t,e,n){var r={},a=void 0;i.default.forEach(n,function(n){for(var i=t.parent(n),o=void 0,u=void 0;i;){if((o=t.parent(i))?(u=r[o],r[o]=i):(u=a,a=i),u&&u!==i)return void e.setEdge(u,i);i=o}})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(r=n(0))&&r.__esModule?r:{default:r},a=n(2);e.default=function(t,e,n){var r=function(t){for(var e=void 0;t.hasNode(e=i.default.uniqueId("_root")););return e}(t),o=new a.Graph({compound:!0}).setGraph({root:r}).setDefaultNodeLabel(function(e){return t.node(e)});return i.default.forEach(t.nodes(),function(a){var u=t.node(a),s=t.parent(a);(u.rank===e||u.minRank<=e&&e<=u.maxRank)&&(o.setNode(a),o.setParent(a,s||r),i.default.forEach(t[n](a),function(e){var n=e.v===a?e.w:e.v,r=o.edge(n,a),u=i.default.isUndefined(r)?0:r.weight;o.setEdge(n,a,{weight:t.edge(e).weight+u})}),i.default.has(u,"minRank")&&o.setNode(a,{borderLeft:u.borderLeft[e],borderRight:u.borderRight[e]}))}),o}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a(n(0)),i=a(n(1));function a(t){return t&&t.__esModule?t:{default:t}}function o(t,e,n){for(var i=void 0;e.length&&(i=r.default.last(e)).i<=n;)e.pop(),t.push(i.vs),n++;return n}e.default=function(t,e){var n,a=i.default.partition(t,function(t){return r.default.has(t,"barycenter")}),u=a.lhs,s=r.default.sortBy(a.rhs,function(t){return-t.i}),c=[],l=0,f=0,h=0;u.sort((n=!!e,function(t,e){return t.barycenter<e.barycenter?-1:t.barycenter>e.barycenter?1:n?e.i-t.i:t.i-e.i})),h=o(c,s,h),r.default.forEach(u,function(t){h+=t.vs.length,c.push(t.vs),l+=t.barycenter*t.weight,f+=t.weight,h=o(c,s,h)});var d={vs:r.default.flatten(c,!0)};return f&&(d.barycenter=l/f,d.weight=f),d}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(r=n(0))&&r.__esModule?r:{default:r};e.default=function(t,e){var n={};return i.default.forEach(t,function(t,e){var r=n[t.v]={indegree:0,in:[],out:[],vs:[t.v],i:e};i.default.isUndefined(t.barycenter)||(r.barycenter=t.barycenter,r.weight=t.weight)}),i.default.forEach(e.edges(),function(t){var e=n[t.v],r=n[t.w];i.default.isUndefined(e)||i.default.isUndefined(r)||(r.indegree++,e.out.push(n[t.w]))}),function(t){var e=[];function n(t){return function(e){var n,r,a,o;e.merged||(i.default.isUndefined(e.barycenter)||i.default.isUndefined(t.barycenter)||e.barycenter>=t.barycenter)&&(r=e,a=0,o=0,(n=t).weight&&(a+=n.barycenter*n.weight,o+=n.weight),r.weight&&(a+=r.barycenter*r.weight,o+=r.weight),n.vs=r.vs.concat(n.vs),n.barycenter=a/o,n.weight=o,n.i=Math.min(r.i,n.i),r.merged=!0)}}function r(e){return function(n){n.in.push(e),0==--n.indegree&&t.push(n)}}for(;t.length;){var a=t.pop();e.push(a),i.default.forEach(a.in.reverse(),n(a)),i.default.forEach(a.out,r(a))}return i.default.chain(e).filter(function(t){return!t.merged}).map(function(t){return i.default.pick(t,["vs","i","barycenter","weight"])}).value()}(i.default.filter(n,function(t){return!t.indegree}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(r=n(0))&&r.__esModule?r:{default:r};e.default=function(t,e){return i.default.map(e,function(e){var n=t.inEdges(e);if(n.length){var r=i.default.reduce(n,function(e,n){var r=t.edge(n),i=t.node(n.v);return{sum:e.sum+r.weight*i.order,weight:e.weight+r.weight}},{sum:0,weight:0});return{v:e,barycenter:r.sum/r.weight,weight:r.weight}}return{v:e}})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=u(n(0)),i=u(n(11)),a=u(n(10)),o=u(n(9));function u(t){return t&&t.__esModule?t:{default:t}}e.default=function t(e,n,u,s){var c=e.children(n),l=e.node(n),f=l?l.borderLeft:void 0,h=l?l.borderRight:void 0,d={};f&&(c=r.default.filter(c,function(t){return t!==f&&t!==h}));var p=(0,i.default)(e,c);r.default.forEach(p,function(n){if(e.children(n.v).length){var i=t(e,n.v,u,s);d[n.v]=i,r.default.has(i,"barycenter")&&(a=n,o=i,r.default.isUndefined(a.barycenter)?(a.barycenter=o.barycenter,a.weight=o.weight):(a.barycenter=(a.barycenter*a.weight+o.barycenter*o.weight)/(a.weight+o.weight),a.weight+=o.weight))}var a,o});var g=(0,a.default)(p,u);!function(t,e){r.default.forEach(t,function(t){t.vs=r.default.flatten(t.vs.map(function(t){return e[t]?e[t].vs:t}),!0)})}(g,d);var y=(0,o.default)(g,s);if(f&&(y.vs=r.default.flatten([f,y.vs,h],!0),e.predecessors(f).length)){var m=e.node(e.predecessors(f)[0]),v=e.node(e.predecessors(h)[0]);r.default.has(y,"barycenter")||(y.barycenter=0,y.weight=0),y.barycenter=(y.barycenter*y.weight+m.order+v.order)/(y.weight+2),y.weight+=2}return y}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(r=n(0))&&r.__esModule?r:{default:r};function a(t,e,n){for(var r=i.default.zipObject(n,i.default.map(n,function(t,e){return e})),a=i.default.flatten(i.default.map(e,function(e){return i.default.chain(t.outEdges(e)).map(function(e){return{pos:r[e.w],weight:t.edge(e).weight}}).sortBy("pos").value()}),!0),o=1;o<n.length;)o<<=1;var u=2*o-1;o-=1;var s=i.default.map(new Array(u),function(){return 0}),c=0;return i.default.forEach(a.forEach(function(t){var e=t.pos+o;s[e]+=t.weight;for(var n=0;e>0;)e%2&&(n+=s[e+1]),s[e=e-1>>1]+=t.weight;c+=t.weight*n})),c}e.default=function(t,e){for(var n=0,r=1;r<e.length;++r)n+=a(t,e[r-1],e[r]);return n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(r=n(0))&&r.__esModule?r:{default:r};e.default=function(t){var e={},n=i.default.filter(t.nodes(),function(e){return!t.children(e).length}),r=i.default.max(i.default.map(n,function(e){return t.node(e).rank})),a=i.default.map(i.default.range(r+1),function(){return[]}),o=i.default.sortBy(n,function(e){return t.node(e).rank});return i.default.forEach(o,function n(r){if(!i.default.has(e,r)){e[r]=!0;var o=t.node(r);a[o.rank].push(r),i.default.forEach(t.successors(r),n)}}),a}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=f(n(0)),i=n(2),a=f(n(14)),o=f(n(13)),u=f(n(12)),s=f(n(8)),c=f(n(7)),l=f(n(1));function f(t){return t&&t.__esModule?t:{default:t}}function h(t,e,n){return r.default.map(e,function(e){return(0,s.default)(t,e,n)})}function d(t,e){var n=new i.Graph;r.default.forEach(t,function(t){var i=t.graph().root,a=(0,u.default)(t,i,n,e);r.default.forEach(a.vs,function(e,n){t.node(e).order=n}),(0,c.default)(t,n,a.vs)})}function p(t,e){r.default.forEach(e,function(e){r.default.forEach(e,function(e,n){t.node(e).order=n})})}e.default=function(t){var e=l.default.maxRank(t),n=h(t,r.default.range(1,e+1),"inEdges"),i=h(t,r.default.range(e-1,-1,-1),"outEdges"),u=(0,a.default)(t);p(t,u);for(var s=Number.POSITIVE_INFINITY,c=void 0,f=0,g=0;g<4;++f,++g){d(f%2?n:i,f%4>=2),u=l.default.buildLayerMatrix(t);var y=(0,o.default)(t,u);y<s&&(g=0,c=r.default.cloneDeep(u),s=y)}p(t,c)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(r=n(0))&&r.__esModule?r:{default:r};function a(t){i.default.forEach(t.nodes(),function(e){o(t.node(e))}),i.default.forEach(t.edges(),function(e){o(t.edge(e))})}function o(t){var e=t.width;t.width=t.height,t.height=e}function u(t){t.y=-t.y}function s(t){var e=t.x;t.x=t.y,t.y=e}e.default={adjust:function(t){var e=t.graph().rankdir.toLowerCase();"lr"!==e&&"rl"!==e||a(t)},undo:function(t){var e=t.graph().rankdir.toLowerCase();"bt"!==e&&"rl"!==e||function(t){i.default.forEach(t.nodes(),function(e){u(t.node(e))}),i.default.forEach(t.edges(),function(e){var n=t.edge(e);i.default.forEach(n.points,u),i.default.has(n,"y")&&u(n)})}(t),"lr"!==e&&"rl"!==e||(function(t){i.default.forEach(t.nodes(),function(e){s(t.node(e))}),i.default.forEach(t.edges(),function(e){var n=t.edge(e);i.default.forEach(n.points,s),i.default.has(n,"x")&&s(n)})}(t),a(t))}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a(n(0)),i=a(n(1));function a(t){return t&&t.__esModule?t:{default:t}}function o(t,e,n,r,a,o){var u={width:0,height:0,rank:o,borderType:e},s=a[e][o-1],c=i.default.addDummyNode(t,"border",u,n);a[e][o]=c,t.setParent(c,r),s&&t.setEdge(s,c,{weight:1})}e.default=function(t){r.default.forEach(t.children(),function e(n){var i=t.children(n),a=t.node(n);if(i.length&&r.default.forEach(i,e),r.default.has(a,"minRank")){a.borderLeft=[],a.borderRight=[];for(var u=a.minRank,s=a.maxRank+1;u<s;++u)o(t,"borderLeft","_bl",n,a,u),o(t,"borderRight","_br",n,a,u)}})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a(n(0)),i=a(n(1));function a(t){return t&&t.__esModule?t:{default:t}}e.default={run:function(t){var e=i.default.addDummyNode(t,"root",{},"_root"),n=function(t){var e={};return r.default.forEach(t.children(),function(n){!function n(i,a){var o=t.children(i);o&&o.length&&r.default.forEach(o,function(t){n(t,a+1)}),e[i]=a}(n,1)}),e}(t),a=r.default.max(r.default.values(n))-1,o=2*a+1;t.graph().nestingRoot=e,r.default.forEach(t.edges(),function(e){t.edge(e).minlen*=o});var u=function(t){return r.default.reduce(t.edges(),function(e,n){return e+t.edge(n).weight},0)}(t)+1;r.default.forEach(t.children(),function(s){!function t(e,n,a,o,u,s,c){var l=e.children(c);if(l.length){var f=i.default.addBorderNode(e,"_bt"),h=i.default.addBorderNode(e,"_bb"),d=e.node(c);e.setParent(f,c),d.borderTop=f,e.setParent(h,c),d.borderBottom=h,r.default.forEach(l,function(r){t(e,n,a,o,u,s,r);var i=e.node(r),l=i.borderTop?i.borderTop:r,d=i.borderBottom?i.borderBottom:r,p=i.borderTop?o:2*o,g=l!==d?1:u-s[c]+1;e.setEdge(f,l,{weight:p,minlen:g,nestingEdge:!0}),e.setEdge(d,h,{weight:p,minlen:g,nestingEdge:!0})}),e.parent(c)||e.setEdge(n,f,{weight:0,minlen:u+s[c]})}else c!==n&&e.setEdge(n,c,{weight:0,minlen:a})}(t,e,o,u,a,n,s)}),t.graph().nodeRankFactor=o},cleanup:function(t){var e=t.graph();t.removeNode(e.nestingRoot),delete e.nestingRoot,r.default.forEach(t.edges(),function(e){t.edge(e).nestingEdge&&t.removeEdge(e)})}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(r=n(0))&&r.__esModule?r:{default:r};e.default=function(t){var e=function(t){var e={},n=0;return i.default.forEach(t.children(),function r(a){var o=n;i.default.forEach(t.children(a),r),e[a]={low:o,lim:n++}}),e}(t);i.default.forEach(t.graph().dummyChains,function(n){for(var r=t.node(n),i=r.edgeObj,a=function(t,e,n,r){var i,a=[],o=[],u=Math.min(e[n].low,e[r].low),s=Math.max(e[n].lim,e[r].lim),c=void 0;c=n;do{c=t.parent(c),a.push(c)}while(c&&(e[c].low>u||s>e[c].lim));for(i=c,c=r;(c=t.parent(c))!==i;)o.push(c);return{path:a.concat(o.reverse()),lca:i}}(t,e,i.v,i.w),o=a.path,u=a.lca,s=0,c=o[s],l=!0;n!==i.w;){if(r=t.node(n),l){for(;(c=o[s])!==u&&t.node(c).maxRank<r.rank;)s++;c===u&&(l=!1)}if(!l){for(;s<o.length-1&&t.node(c=o[s+1]).minRank<=r.rank;)s++;c=o[s]}t.setParent(n,c),n=t.successors(n)[0]}})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=s(n(0)),i=n(2),a=s(n(4)),o=n(3),u=n(1);function s(t){return t&&t.__esModule?t:{default:t}}var c=i.alg.preorder,l=i.alg.postorder;function f(t){t=(0,u.simplify)(t),(0,o.longestPath)(t);var e=(0,a.default)(t);p(e),h(e,t);for(var n=void 0;n=g(e);)m(e,t,n,y(e,t,n))}function h(t,e){var n=l(t,t.nodes());n=n.slice(0,n.length-1),r.default.forEach(n,function(n){!function(t,e,n){var r=t.node(n).parent;t.edge(n,r).cutvalue=d(t,e,n)}(t,e,n)})}function d(t,e,n){var i=t.node(n).parent,a=!0,o=e.edge(n,i),u=0;return o||(a=!1,o=e.edge(i,n)),u=o.weight,r.default.forEach(e.nodeEdges(n),function(r){var o,s,c=r.v===n,l=c?r.w:r.v;if(l!==i){var f=c===a,h=e.edge(r).weight;if(u+=f?h:-h,o=n,s=l,t.hasEdge(o,s)){var d=t.edge(n,l).cutvalue;u+=f?-d:d}}}),u}function p(t,e){arguments.length<2&&(e=t.nodes()[0]),function t(e,n,i,a,o){var u=i,s=e.node(a);return n[a]=!0,r.default.forEach(e.neighbors(a),function(o){r.default.has(n,o)||(i=t(e,n,i,o,a))}),s.low=u,s.lim=i++,o?s.parent=o:delete s.parent,i}(t,{},1,e)}function g(t){return r.default.find(t.edges(),function(e){return t.edge(e).cutvalue<0})}function y(t,e,n){var i=n.v,a=n.w;e.hasEdge(i,a)||(i=n.w,a=n.v);var u=t.node(i),s=t.node(a),c=u,l=!1;u.lim>s.lim&&(c=s,l=!0);var f=r.default.filter(e.edges(),function(e){return l===v(t,t.node(e.v),c)&&l!==v(t,t.node(e.w),c)});return r.default.minBy(f,function(t){return(0,o.slack)(e,t)})}function m(t,e,n,i){var a=n.v,o=n.w;t.removeEdge(a,o),t.setEdge(i.v,i.w,{}),p(t),h(t,e),function(t,e){var n=r.default.find(t.nodes(),function(t){return!e.node(t).parent}),i=c(t,n);i=i.slice(1),r.default.forEach(i,function(n){var r=t.node(n).parent,i=e.edge(n,r),a=!1;i||(i=e.edge(r,n),a=!0),e.node(n).rank=e.node(r).rank+(a?i.minlen:-i.minlen)})}(t,e)}function v(t,e,n){return n.low<=e.lim&&e.lim<=n.lim}f.initLowLimValues=p,f.initCutValues=h,f.calcCutValue=d,f.leaveEdge=g,f.enterEdge=y,f.exchangeEdges=m,e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),i=o(n(4)),a=o(n(20));function o(t){return t&&t.__esModule?t:{default:t}}var u=r.longestPath;function s(t){(0,a.default)(t)}e.default=function(t){switch(t.graph().ranker){case"network-simplex":s(t);break;case"tight-tree":!function(t){(0,r.longestPath)(t),(0,i.default)(t)}(t);break;case"longest-path":u(t);break;default:s(t)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a(n(0)),i=a(n(1));function a(t){return t&&t.__esModule?t:{default:t}}e.default={run:function(t){t.graph().dummyChains=[],r.default.forEach(t.edges(),function(e){!function(t,e){var n=e.v,r=t.node(n).rank,a=e.w,o=t.node(a).rank,u=e.name,s=t.edge(e),c=s.labelRank;if(o!==r+1){t.removeEdge(e);var l=void 0,f=void 0,h=void 0;for(h=0,++r;r<o;++h,++r)s.points=[],f={width:0,height:0,edgeLabel:s,edgeObj:e,rank:r},l=i.default.addDummyNode(t,"edge",f,"_d"),r===c&&(f.width=s.width,f.height=s.height,f.dummy="edge-label",f.labelpos=s.labelpos),t.setEdge(n,l,{weight:s.weight},u),0===h&&t.graph().dummyChains.push(l),n=l;t.setEdge(n,a,{weight:s.weight},u)}}(t,e)})},undo:function(t){r.default.forEach(t.graph().dummyChains,function(e){var n=t.node(e),r=n.edgeLabel,i=null;for(t.setEdge(n.edgeObj,r);n.dummy;)i=t.successors(e)[0],t.removeNode(e),r.points.push({x:n.x,y:n.y}),"edge-label"===n.dummy&&(r.x=n.x,r.y=n.y,r.width=n.width,r.height=n.height),e=i,n=t.node(e)})}}},function(t,e,n){"use strict";function r(){var t={};t._next=t._prev=t,this._sentinel=t}function i(t){t._prev._next=t._next,t._next._prev=t._prev,delete t._next,delete t._prev}function a(t,e){if("_next"!==t&&"_prev"!==t)return e}Object.defineProperty(e,"__esModule",{value:!0}),r.prototype.dequeue=function(){var t=this._sentinel,e=t._prev;if(e!==t)return i(e),e},r.prototype.enqueue=function(t){var e=this._sentinel;t._prev&&t._next&&i(t),t._next=e._next,e._next._prev=t,e._next=t,t._prev=e},r.prototype.toString=function(){for(var t=[],e=this._sentinel,n=e._prev;n!==e;)t.push(JSON.stringify(n,a)),n=n._prev;return"["+t.join(", ")+"]"},e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=o(n(0)),i=n(2),a=o(n(23));function o(t){return t&&t.__esModule?t:{default:t}}var u=r.default.constant(1);function s(t,e,n,i,a){var o=a?[]:void 0;return r.default.forEach(t.inEdges(i.v),function(r){var i=t.edge(r),u=t.node(r.v);a&&o.push({v:r.v,w:r.w}),u.out-=i,c(e,n,u)}),r.default.forEach(t.outEdges(i.v),function(r){var i=t.edge(r),a=r.w,o=t.node(a);o.in-=i,c(e,n,o)}),t.removeNode(i.v),o}function c(t,e,n){n.out?n.in?t[n.out-n.in+e].enqueue(n):t[t.length-1].enqueue(n):t[0].enqueue(n)}e.default=function(t,e){if(t.nodeCount()<=1)return[];var n=function(t,e){var n=new i.Graph,o=0,u=0;r.default.forEach(t.nodes(),function(t){n.setNode(t,{v:t,in:0,out:0})}),r.default.forEach(t.edges(),function(t){var r=n.edge(t.v,t.w)||0,i=e(t),a=r+i;n.setEdge(t.v,t.w,a),u=Math.max(u,n.node(t.v).out+=i),o=Math.max(o,n.node(t.w).in+=i)});var s=r.default.range(u+o+3).map(function(){return new a.default}),l=o+1;return r.default.forEach(n.nodes(),function(t){c(s,l,n.node(t))}),{graph:n,buckets:s,zeroIdx:l}}(t,e||u),o=function(t,e,n){for(var r=[],i=e[e.length-1],a=e[0],o=void 0;t.nodeCount();){for(;o=a.dequeue();)s(t,e,n,o);for(;o=i.dequeue();)s(t,e,n,o);if(t.nodeCount())for(var u=e.length-2;u>0;--u)if(o=e[u].dequeue()){r=r.concat(s(t,e,n,o,!0));break}}return r}(n.graph,n.buckets,n.zeroIdx);return r.default.flatten(r.default.map(o,function(e){return t.outEdges(e.v,e.w)}),!0)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a(n(0)),i=a(n(24));function a(t){return t&&t.__esModule?t:{default:t}}e.default={run:function(t){var e="greedy"===t.graph().acyclicer?(0,i.default)(t,function(t){return function(e){return t.edge(e).weight}}(t)):function(t){var e=[],n={},i={};return r.default.forEach(t.nodes(),function a(o){r.default.has(i,o)||(i[o]=!0,n[o]=!0,r.default.forEach(t.outEdges(o),function(t){r.default.has(n,t.w)?e.push(t):a(t.w)}),delete n[o])}),e}(t);r.default.forEach(e,function(e){var n=t.edge(e);t.removeEdge(e),n.forwardName=e.name,n.reversed=!0,t.setEdge(e.w,e.v,n,r.default.uniqueId("rev"))})},undo:function(t){r.default.forEach(t.edges(),function(e){var n=t.edge(e);if(n.reversed){t.removeEdge(e);var r=n.forwardName;delete n.reversed,delete n.forwardName,t.setEdge(e.w,e.v,n,r)}})}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=y(n(0)),i=n(2),a=y(n(25)),o=y(n(22)),u=y(n(21)),s=n(1),c=y(s),l=y(n(19)),f=y(n(18)),h=y(n(17)),d=y(n(16)),p=y(n(15)),g=y(n(6));function y(t){return t&&t.__esModule?t:{default:t}}var m=["nodesep","edgesep","ranksep","marginx","marginy"],v={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},b=["acyclicer","ranker","rankdir","align"],_=["width","height"],x={width:0,height:0},w=["minlen","weight","width","height","labeloffset"],k={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},E=["labelpos"];function A(t,e){return r.default.mapValues(r.default.pick(t,e),Number)}function T(t){var e={};return r.default.forEach(t,function(t,n){e[n.toLowerCase()]=t}),e}e.default=function(t,e){var n=e&&e.debugTiming?c.default.time:c.default.notime;n("layout",function(){var e=n(" buildLayoutGraph",function(){return function(t){var e=new i.Graph({multigraph:!0,compound:!0}),n=T(t.graph());return e.setGraph(r.default.merge({},v,A(n,m),r.default.pick(n,b))),r.default.forEach(t.nodes(),function(n){var i=T(t.node(n));e.setNode(n,r.default.defaults(A(i,_),x)),e.setParent(n,t.parent(n))}),r.default.forEach(t.edges(),function(n){var i=T(t.edge(n));e.setEdge(n,r.default.merge({},k,A(i,w),r.default.pick(i,E)))}),e}(t)});n(" runLayout",function(){!function(t,e){e(" makeSpaceForEdgeLabels",function(){!function(t){var e=t.graph();e.ranksep/=2,r.default.forEach(t.edges(),function(n){var r=t.edge(n);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===e.rankdir||"BT"===e.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)})}(t)}),e(" removeSelfEdges",function(){!function(t){r.default.forEach(t.edges(),function(e){if(e.v===e.w){var n=t.node(e.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e:e,label:t.edge(e)}),t.removeEdge(e)}})}(t)}),e(" acyclic",function(){a.default.run(t)}),e(" nestingGraph.run",function(){f.default.run(t)}),e(" rank",function(){(0,u.default)(c.default.asNonCompoundGraph(t))}),e(" injectEdgeLabelProxies",function(){!function(t){r.default.forEach(t.edges(),function(e){var n=t.edge(e);if(n.width&&n.height){var r=t.node(e.v),i={rank:(t.node(e.w).rank-r.rank)/2+r.rank,e:e};c.default.addDummyNode(t,"edge-proxy",i,"_ep")}})}(t)}),e(" removeEmptyRanks",function(){(0,s.removeEmptyRanks)(t)}),e(" nestingGraph.cleanup",function(){f.default.cleanup(t)}),e(" normalizeRanks",function(){(0,s.normalizeRanks)(t)}),e(" assignRankMinMax",function(){!function(t){var e=0;r.default.forEach(t.nodes(),function(n){var r=t.node(n);r.borderTop&&(r.minRank=t.node(r.borderTop).rank,r.maxRank=t.node(r.borderBottom).rank,e=Math.max(e,r.maxRank))}),t.graph().maxRank=e}(t)}),e(" removeEdgeLabelProxies",function(){!function(t){r.default.forEach(t.nodes(),function(e){var n=t.node(e);"edge-proxy"===n.dummy&&(t.edge(n.e).labelRank=n.rank,t.removeNode(e))})}(t)}),e(" normalize.run",function(){o.default.run(t)}),e(" parentDummyChains",function(){(0,l.default)(t)}),e(" addBorderSegments",function(){(0,h.default)(t)}),e(" order",function(){(0,p.default)(t)}),e(" insertSelfEdges",function(){!function(t){var e=c.default.buildLayerMatrix(t);r.default.forEach(e,function(e){var n=0;r.default.forEach(e,function(e,i){var a=t.node(e);a.order=i+n,r.default.forEach(a.selfEdges,function(e){c.default.addDummyNode(t,"selfedge",{width:e.label.width,height:e.label.height,rank:a.rank,order:i+ ++n,e:e.e,label:e.label},"_se")}),delete a.selfEdges})})}(t)}),e(" adjustCoordinateSystem",function(){d.default.adjust(t)}),e(" position",function(){(0,g.default)(t)}),e(" positionSelfEdges",function(){!function(t){r.default.forEach(t.nodes(),function(e){var n=t.node(e);if("selfedge"===n.dummy){var r=t.node(n.e.v),i=r.x+r.width/2,a=r.y,o=n.x-i,u=r.height/2;t.setEdge(n.e,n.label),t.removeNode(e),n.label.points=[{x:i+2*o/3,y:a-u},{x:i+5*o/6,y:a-u},{x:i+o,y:a},{x:i+5*o/6,y:a+u},{x:i+2*o/3,y:a+u}],n.label.x=n.x,n.label.y=n.y}})}(t)}),e(" removeBorderNodes",function(){!function(t){r.default.forEach(t.nodes(),function(e){if(t.children(e).length){var n=t.node(e),i=t.node(n.borderTop),a=t.node(n.borderBottom),o=t.node(r.default.last(n.borderLeft)),u=t.node(r.default.last(n.borderRight));n.width=Math.abs(u.x-o.x),n.height=Math.abs(a.y-i.y),n.x=o.x+n.width/2,n.y=i.y+n.height/2}}),r.default.forEach(t.nodes(),function(e){"border"===t.node(e).dummy&&t.removeNode(e)})}(t)}),e(" normalize.undo",function(){o.default.undo(t)}),e(" fixupEdgeLabelCoords",function(){!function(t){r.default.forEach(t.edges(),function(e){var n=t.edge(e);if(r.default.has(n,"x"))switch("l"!==n.labelpos&&"r"!==n.labelpos||(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset}})}(t)}),e(" undoCoordinateSystem",function(){d.default.undo(t)}),e(" translateGraph",function(){!function(t){var e=Number.POSITIVE_INFINITY,n=0,i=Number.POSITIVE_INFINITY,a=0,o=t.graph(),u=o.marginx||0,s=o.marginy||0;function c(t){var r=t.x,o=t.y,u=t.width,s=t.height;e=Math.min(e,r-u/2),n=Math.max(n,r+u/2),i=Math.min(i,o-s/2),a=Math.max(a,o+s/2)}r.default.forEach(t.nodes(),function(e){c(t.node(e))}),r.default.forEach(t.edges(),function(e){var n=t.edge(e);r.default.has(n,"x")&&c(n)}),e-=u,i-=s,r.default.forEach(t.nodes(),function(n){var r=t.node(n);r.x-=e,r.y-=i}),r.default.forEach(t.edges(),function(n){var a=t.edge(n);r.default.forEach(a.points,function(t){t.x-=e,t.y-=i}),r.default.has(a,"x")&&(a.x-=e),r.default.has(a,"y")&&(a.y-=i)}),o.width=n-e+u,o.height=a-i+s}(t)}),e(" assignNodeIntersects",function(){!function(t){r.default.forEach(t.edges(),function(e){var n=t.edge(e),r=t.node(e.v),i=t.node(e.w),a=null,o=null;n.points?(a=n.points[0],o=n.points[n.points.length-1]):(n.points=[],a=i,o=r),n.points.unshift(c.default.intersectRect(r,a)),n.points.push(c.default.intersectRect(i,o))})}(t)}),e(" reversePoints",function(){!function(t){r.default.forEach(t.edges(),function(e){var n=t.edge(e);n.reversed&&n.points.reverse()})}(t)}),e(" acyclic.undo",function(){a.default.undo(t)})}(e,n)}),n(" updateInputGraph",function(){!function(t,e){r.default.forEach(t.nodes(),function(n){var r=t.node(n),i=e.node(n);r&&(r.x=i.x,r.y=i.y,e.children(n).length&&(r.width=i.width,r.height=i.height))}),r.default.forEach(t.edges(),function(n){var i=t.edge(n),a=e.edge(n);i.points=a.points,r.default.has(a,"x")&&(i.x=a.x,i.y=a.y)}),t.graph().width=e.graph().width,t.graph().height=e.graph().height}(t,e)})})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(r=n(26))&&r.__esModule?r:{default:r};e.default={layout:i.default}}])},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e){},function(t,e,n){const r=n(2),i=n(25);t.exports=function(t,e,n,r){return function(t,e,n,r){const a={},o=new i;let u,s;var c=function(t){const e=t.v!==u?t.v:t.w,r=a[e],i=n(t),c=s.distance+i;if(i<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+t+" Weight: "+i);c<r.distance&&(r.distance=c,r.predecessor=u,o.decrease(e,c))};t.nodes().forEach(function(t){var n=t===e?0:Number.POSITIVE_INFINITY;a[t]={distance:n},o.add(t,n)});for(;o.size()>0&&(u=o.removeMin(),(s=a[u]).distance!==Number.POSITIVE_INFINITY);)r(u).forEach(c);return a}(t,String(e),n||a,r||function(e){return t.outEdges(e)})};var a=r.constant(1)},function(t,e,n){const r=n(2);function i(){this._arr=[],this._keyIndices={}}t.exports=i,i.prototype.size=function(){return this._arr.length},i.prototype.keys=function(){return this._arr.map(function(t){return t.key})},i.prototype.has=function(t){return r.has(this._keyIndices,t)},i.prototype.priority=function(t){var e=this._keyIndices[t];if(void 0!==e)return this._arr[e].priority},i.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},i.prototype.add=function(t,e){var n=this._keyIndices;if(t=String(t),!r.has(n,t)){var i=this._arr,a=i.length;return n[t]=a,i.push({key:t,priority:e}),this._decrease(a),!0}return!1},i.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var t=this._arr.pop();return delete this._keyIndices[t.key],this._heapify(0),t.key},i.prototype.decrease=function(t,e){var n=this._keyIndices[t];if(e>this._arr[n].priority)throw new Error("New priority is greater than current priority. Key: "+t+" Old: "+this._arr[n].priority+" New: "+e);this._arr[n].priority=e,this._decrease(n)},i.prototype._heapify=function(t){const e=this._arr,n=2*t,r=n+1;let i=t;n<e.length&&(i=e[n].priority<e[i].priority?n:i,r<e.length&&(i=e[r].priority<e[i].priority?r:i),i!==t&&(this._swap(t,i),this._heapify(i)))},i.prototype._decrease=function(t){for(var e,n=this._arr,r=n[t].priority;0!==t&&!(n[e=t>>1].priority<r);)this._swap(t,e),t=e},i.prototype._swap=function(t,e){var n=this._arr,r=this._keyIndices,i=n[t],a=n[e];n[t]=a,n[e]=i,r[a.key]=t,r[i.key]=e}},function(t,e,n){var r=n(2);t.exports=function(t){let e=0;const n=[],i={},a=[];return t.nodes().forEach(function(o){r.has(i,o)||function o(u){var s=i[u]={onStack:!0,lowlink:e,index:e++};if(n.push(u),t.successors(u).forEach(function(t){r.has(i,t)?i[t].onStack&&(s.lowlink=Math.min(s.lowlink,i[t].index)):(o(t),s.lowlink=Math.min(s.lowlink,i[t].lowlink))}),s.lowlink===s.index){const t=[];let e;do{e=n.pop(),i[e].onStack=!1,t.push(e)}while(u!==e);a.push(t)}}(o)}),a}},function(t,e,n){const r=n(2);function i(t){const e={},n={},i=[];if(r.each(t.sinks(),function o(u){if(r.has(n,u))throw new a;r.has(e,u)||(n[u]=!0,e[u]=!0,r.each(t.predecessors(u),o),delete n[u],i.push(u))}),r.size(e)!==t.nodeCount())throw new a;return i}function a(){}t.exports=i,i.CycleException=a,a.prototype=new Error},function(t,e,n){var r=n(2);t.exports=function(t,e,n){r.isArray(e)||(e=[e]);var i=(t.isDirected()?t.successors:t.neighbors).bind(t);const a=[],o={};return r.each(e,function(e){if(!t.hasNode(e))throw new Error("Graph does not have node: "+e);!function t(e,n,i,a,o,u){r.has(a,n)||(a[n]=!0,i||u.push(n),r.each(o(n),function(n){t(e,n,i,a,o,u)}),i&&u.push(n))}(t,e,"post"===n,o,i,a)}),a}},function(t,e,n){(function(t,n){!function(r){var i=e,a=t&&t.exports==i&&t,o="object"==typeof n&&n;o.global!==o&&o.window!==o||(r=o);var u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=/[\x01-\x7F]/g,c=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,l=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,f={"­":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr","ª":"ordf","á":"aacute","Á":"Aacute","à":"agrave","À":"Agrave","ă":"abreve","Ă":"Abreve","â":"acirc","Â":"Acirc","å":"aring","Å":"angst","ä":"auml","Ä":"Auml","ã":"atilde","Ã":"Atilde","ą":"aogon","Ą":"Aogon","ā":"amacr","Ā":"Amacr","æ":"aelig","Æ":"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf","ℬ":"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf","ℭ":"Cfr","𝒞":"Cscr","ℂ":"Copf","ć":"cacute","Ć":"Cacute","ĉ":"ccirc","Ĉ":"Ccirc","č":"ccaron","Č":"Ccaron","ċ":"cdot","Ċ":"Cdot","ç":"ccedil","Ç":"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf","ď":"dcaron","Ď":"Dcaron","đ":"dstrok","Đ":"Dstrok","ð":"eth","Ð":"ETH","ⅇ":"ee","ℯ":"escr","𝔢":"efr","𝕖":"eopf","ℰ":"Escr","𝔈":"Efr","𝔼":"Eopf","é":"eacute","É":"Eacute","è":"egrave","È":"Egrave","ê":"ecirc","Ê":"Ecirc","ě":"ecaron","Ě":"Ecaron","ë":"euml","Ë":"Euml","ė":"edot","Ė":"Edot","ę":"eogon","Ę":"Eogon","ē":"emacr","Ē":"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf","ℱ":"Fscr","ff":"fflig","ffi":"ffilig","ffl":"ffllig","fi":"filig",fj:"fjlig","fl":"fllig","ƒ":"fnof","ℊ":"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr","ǵ":"gacute","ğ":"gbreve","Ğ":"Gbreve","ĝ":"gcirc","Ĝ":"Gcirc","ġ":"gdot","Ġ":"Gdot","Ģ":"Gcedil","𝔥":"hfr","ℎ":"planckh","𝒽":"hscr","𝕙":"hopf","ℋ":"Hscr","ℌ":"Hfr","ℍ":"Hopf","ĥ":"hcirc","Ĥ":"Hcirc","ℏ":"hbar","ħ":"hstrok","Ħ":"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf","ℐ":"Iscr","ℑ":"Im","í":"iacute","Í":"Iacute","ì":"igrave","Ì":"Igrave","î":"icirc","Î":"Icirc","ï":"iuml","Ï":"Iuml","ĩ":"itilde","Ĩ":"Itilde","İ":"Idot","į":"iogon","Į":"Iogon","ī":"imacr","Ī":"Imacr","ij":"ijlig","IJ":"IJlig","ı":"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf","ĵ":"jcirc","Ĵ":"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr","ķ":"kcedil","Ķ":"Kcedil","𝔩":"lfr","𝓁":"lscr","ℓ":"ell","𝕝":"lopf","ℒ":"Lscr","𝔏":"Lfr","𝕃":"Lopf","ĺ":"lacute","Ĺ":"Lacute","ľ":"lcaron","Ľ":"Lcaron","ļ":"lcedil","Ļ":"Lcedil","ł":"lstrok","Ł":"Lstrok","ŀ":"lmidot","Ŀ":"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf","ℳ":"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr","ℕ":"Nopf","𝒩":"Nscr","𝔑":"Nfr","ń":"nacute","Ń":"Nacute","ň":"ncaron","Ň":"Ncaron","ñ":"ntilde","Ñ":"Ntilde","ņ":"ncedil","Ņ":"Ncedil","№":"numero","ŋ":"eng","Ŋ":"ENG","𝕠":"oopf","𝔬":"ofr","ℴ":"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf","º":"ordm","ó":"oacute","Ó":"Oacute","ò":"ograve","Ò":"Ograve","ô":"ocirc","Ô":"Ocirc","ö":"ouml","Ö":"Ouml","ő":"odblac","Ő":"Odblac","õ":"otilde","Õ":"Otilde","ø":"oslash","Ø":"Oslash","ō":"omacr","Ō":"Omacr","œ":"oelig","Œ":"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf","ℙ":"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr","ℚ":"Qopf","ĸ":"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr","ℛ":"Rscr","ℜ":"Re","ℝ":"Ropf","ŕ":"racute","Ŕ":"Racute","ř":"rcaron","Ř":"Rcaron","ŗ":"rcedil","Ŗ":"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS","ś":"sacute","Ś":"Sacute","ŝ":"scirc","Ŝ":"Scirc","š":"scaron","Š":"Scaron","ş":"scedil","Ş":"Scedil","ß":"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf","ť":"tcaron","Ť":"Tcaron","ţ":"tcedil","Ţ":"Tcedil","™":"trade","ŧ":"tstrok","Ŧ":"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr","ú":"uacute","Ú":"Uacute","ù":"ugrave","Ù":"Ugrave","ŭ":"ubreve","Ŭ":"Ubreve","û":"ucirc","Û":"Ucirc","ů":"uring","Ů":"Uring","ü":"uuml","Ü":"Uuml","ű":"udblac","Ű":"Udblac","ũ":"utilde","Ũ":"Utilde","ų":"uogon","Ų":"Uogon","ū":"umacr","Ū":"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr","ŵ":"wcirc","Ŵ":"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf","ý":"yacute","Ý":"Yacute","ŷ":"ycirc","Ŷ":"Ycirc","ÿ":"yuml","Ÿ":"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf","ℨ":"Zfr","ℤ":"Zopf","𝒵":"Zscr","ź":"zacute","Ź":"Zacute","ž":"zcaron","Ž":"Zcaron","ż":"zdot","Ż":"Zdot","Ƶ":"imped","þ":"thorn","Þ":"THORN","ʼn":"napos","α":"alpha","Α":"Alpha","β":"beta","Β":"Beta","γ":"gamma","Γ":"Gamma","δ":"delta","Δ":"Delta","ε":"epsi","ϵ":"epsiv","Ε":"Epsilon","ϝ":"gammad","Ϝ":"Gammad","ζ":"zeta","Ζ":"Zeta","η":"eta","Η":"Eta","θ":"theta","ϑ":"thetav","Θ":"Theta","ι":"iota","Ι":"Iota","κ":"kappa","ϰ":"kappav","Κ":"Kappa","λ":"lambda","Λ":"Lambda","μ":"mu","µ":"micro","Μ":"Mu","ν":"nu","Ν":"Nu","ξ":"xi","Ξ":"Xi","ο":"omicron","Ο":"Omicron","π":"pi","ϖ":"piv","Π":"Pi","ρ":"rho","ϱ":"rhov","Ρ":"Rho","σ":"sigma","Σ":"Sigma","ς":"sigmaf","τ":"tau","Τ":"Tau","υ":"upsi","Υ":"Upsilon","ϒ":"Upsi","φ":"phi","ϕ":"phiv","Φ":"Phi","χ":"chi","Χ":"Chi","ψ":"psi","Ψ":"Psi","ω":"omega","Ω":"ohm","а":"acy","А":"Acy","б":"bcy","Б":"Bcy","в":"vcy","В":"Vcy","г":"gcy","Г":"Gcy","ѓ":"gjcy","Ѓ":"GJcy","д":"dcy","Д":"Dcy","ђ":"djcy","Ђ":"DJcy","е":"iecy","Е":"IEcy","ё":"iocy","Ё":"IOcy","є":"jukcy","Є":"Jukcy","ж":"zhcy","Ж":"ZHcy","з":"zcy","З":"Zcy","ѕ":"dscy","Ѕ":"DScy","и":"icy","И":"Icy","і":"iukcy","І":"Iukcy","ї":"yicy","Ї":"YIcy","й":"jcy","Й":"Jcy","ј":"jsercy","Ј":"Jsercy","к":"kcy","К":"Kcy","ќ":"kjcy","Ќ":"KJcy","л":"lcy","Л":"Lcy","љ":"ljcy","Љ":"LJcy","м":"mcy","М":"Mcy","н":"ncy","Н":"Ncy","њ":"njcy","Њ":"NJcy","о":"ocy","О":"Ocy","п":"pcy","П":"Pcy","р":"rcy","Р":"Rcy","с":"scy","С":"Scy","т":"tcy","Т":"Tcy","ћ":"tshcy","Ћ":"TSHcy","у":"ucy","У":"Ucy","ў":"ubrcy","Ў":"Ubrcy","ф":"fcy","Ф":"Fcy","х":"khcy","Х":"KHcy","ц":"tscy","Ц":"TScy","ч":"chcy","Ч":"CHcy","џ":"dzcy","Џ":"DZcy","ш":"shcy","Ш":"SHcy","щ":"shchcy","Щ":"SHCHcy","ъ":"hardcy","Ъ":"HARDcy","ы":"ycy","Ы":"Ycy","ь":"softcy","Ь":"SOFTcy","э":"ecy","Э":"Ecy","ю":"yucy","Ю":"YUcy","я":"yacy","Я":"YAcy","ℵ":"aleph","ℶ":"beth","ℷ":"gimel","ℸ":"daleth"},h=/["&'<>`]/g,d={'"':"&quot;","&":"&amp;","'":"&#x27;","<":"&lt;",">":"&gt;","`":"&#x60;"},p=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,g=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,y=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,m={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"⁡",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"⁣",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"​",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"‍",zwnj:"‌"},v={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},b={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},_=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],x=String.fromCharCode,w={}.hasOwnProperty,k=function(t,e){return w.call(t,e)},E=function(t,e){if(!t)return e;var n,r={};for(n in e)r[n]=k(t,n)?t[n]:e[n];return r},A=function(t,e){var n="";return t>=55296&&t<=57343||t>1114111?(e&&D("character reference outside the permissible Unicode range"),"�"):k(b,t)?(e&&D("disallowed character reference"),b[t]):(e&&function(t,e){for(var n=-1,r=t.length;++n<r;)if(t[n]==e)return!0;return!1}(_,t)&&D("disallowed character reference"),t>65535&&(n+=x((t-=65536)>>>10&1023|55296),t=56320|1023&t),n+=x(t))},T=function(t){return"&#x"+t.toString(16).toUpperCase()+";"},S=function(t){return"&#"+t+";"},D=function(t){throw Error("Parse error: "+t)},M=function(t,e){(e=E(e,M.options)).strict&&g.test(t)&&D("forbidden code point");var n=e.encodeEverything,r=e.useNamedReferences,i=e.allowUnsafeSymbols,a=e.decimal?S:T,o=function(t){return a(t.charCodeAt(0))};return n?(t=t.replace(s,function(t){return r&&k(f,t)?"&"+f[t]+";":o(t)}),r&&(t=t.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;").replace(/&#x66;&#x6A;/g,"&fjlig;")),r&&(t=t.replace(l,function(t){return"&"+f[t]+";"}))):r?(i||(t=t.replace(h,function(t){return"&"+f[t]+";"})),t=(t=t.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;")).replace(l,function(t){return"&"+f[t]+";"})):i||(t=t.replace(h,o)),t.replace(u,function(t){var e=t.charCodeAt(0),n=t.charCodeAt(1);return a(1024*(e-55296)+n-56320+65536)}).replace(c,o)};M.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var C=function(t,e){var n=(e=E(e,C.options)).strict;return n&&p.test(t)&&D("malformed character reference"),t.replace(y,function(t,r,i,a,o,u,s,c,l){var f,h,d,p,g,y;return r?m[g=r]:i?(g=i,(y=a)&&e.isAttributeValue?(n&&"="==y&&D("`&` did not start a character reference"),t):(n&&D("named character reference was not terminated by a semicolon"),v[g]+(y||""))):o?(d=o,h=u,n&&!h&&D("character reference was not terminated by a semicolon"),f=parseInt(d,10),A(f,n)):s?(p=s,h=c,n&&!h&&D("character reference was not terminated by a semicolon"),f=parseInt(p,16),A(f,n)):(n&&D("named character reference was not terminated by a semicolon"),t)})};C.options={isAttributeValue:!1,strict:!1};var O={version:"1.2.0",encode:M,decode:C,escape:function(t){return t.replace(h,function(t){return d[t]})},unescape:C};if("function"==typeof define&&"object"==typeof define.amd&&define.amd)define(function(){return O});else if(i&&!i.nodeType)if(a)a.exports=O;else for(var L in O)k(O,L)&&(i[L]=O[L]);else r.he=O}(this)}).call(this,n(4)(t),n(22))},function(t,e,n){"use strict";var r=n(31),i=n(32),a=n(33);function o(t,e,n){if(!t)return t;if(!e)return t;"string"==typeof n&&(n={keyframes:n}),n||(n={keyframes:!1}),t=u(t,e+" $1$2");var i=e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&");t=(t=(t=(t=t.replace(new RegExp("("+i+")\\s*\\1(?=[\\s\\r\\n,{])","g"),"$1")).replace(new RegExp("("+i+")\\s*:host","g"),"$1")).replace(new RegExp("("+i+")\\s*@","g"),"@")).replace(new RegExp("("+i+")\\s*:root","g"),":root");for(var a,o=[],s=/@keyframes\s+([a-zA-Z0-9_-]+)\s*{/g;null!==(a=s.exec(t));)o.indexOf(a[1])<0&&o.push(a[1]);var c=r(e);return o.forEach(function(e){var r=(!0===n.keyframes?c+"-":"string"==typeof n.keyframes?n.keyframes:"")+e;t=(t=t.replace(new RegExp("(@keyframes\\s+)"+e+"(\\s*{)","g"),"$1"+r+"$2")).replace(new RegExp("(animation(?:-name)?\\s*:[^;]*\\s*)"+e+"([\\s;}])","g"),"$1"+r+"$2")}),t=t.replace(new RegExp("("+i+" )(\\s*(?:to|from|[+-]?(?:(?:\\.\\d+)|(?:\\d+(?:\\.\\d*)?))%))(?=[\\s\\r\\n,{])","g"),"$2")}function u(t,e){var n=[];return t=a(t),t=(t=i.replace(t,!0,n)).replace(/([^\r\n,{}]+)(,(?=[^}]*{)|\s*{)/g,e),t=i.paste(t,n)}t.exports=o,o.replace=u},function(t,e,n){var r;r=function(){var t=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","џ":"dz","Ґ":"G","ґ":"g","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","‘":"\'","’":"\'","“":"\\"","”":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₹":"indian rupee","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial"}');function e(e,n){if("string"!=typeof e)throw new Error("slugify: string argument expected");n="string"==typeof n?{replacement:n}:n||{};var r=e.split("").reduce(function(e,r){return e+(t[r]||r).replace(n.remove||/[^\w\s$*_+~.()'"!\-:@]/g,"")},"").trim().replace(/[-\s]+/g,n.replacement||"-");return n.lower?r.toLowerCase():r}return e.extend=function(e){for(var n in e)t[n]=e[n]},e},t.exports=r(),t.exports.default=r()},function(t,e,n){
2/*!
3 * Escaper v2.5.3
4 * https://github.com/kobezzza/Escaper
5 *
6 * Released under the MIT license
7 * https://github.com/kobezzza/Escaper/blob/master/LICENSE
8 *
9 * Date: Tue, 23 Jan 2018 15:58:45 GMT
10 */
11!function(t){"use strict";var e="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},n=void 0,r=n={VERSION:[2,5,3],content:[],cache:{},snakeskinRgxp:null,symbols:null,replace:D,paste:C},i={'"':!0,"'":!0,"`":!0},a={"/":!0};for(var o in i){if(!i.hasOwnProperty(o))break;a[o]=!0}var u={"//":!0,"//*":!0,"//!":!0,"//#":!0,"//@":!0,"//$":!0},s={"/*":!0,"/**":!0,"/*!":!0,"/*#":!0,"/*@":!0,"/*$":!0},c=[],l={};for(var f in a){if(!a.hasOwnProperty(f))break;c.push(f),l[f]=!0}for(var h in u){if(!u.hasOwnProperty(h))break;c.push(h),l[h]=!0}for(var d in s){if(!s.hasOwnProperty(d))break;c.push(d),l[d]=!0}var p=[],g={g:!0,m:!0,i:!0,y:!0,u:!0};for(var y in g){if(!g.hasOwnProperty(y))break;p.push(y)}var m={"-":!0,"+":!0,"*":!0,"%":!0,"~":!0,">":!0,"<":!0,"^":!0,",":!0,";":!0,"=":!0,"|":!0,"&":!0,"!":!0,"?":!0,":":!0,"(":!0,"{":!0,"[":!0},v={return:!0,yield:!0,await:!0,typeof:!0,void:!0,instanceof:!0,delete:!0,in:!0,new:!0,of:!0};function b(t,e,n){for(var r in t){if(!t.hasOwnProperty(r))break;r in e==0&&(e[r]=n)}}var _=void 0,x=void 0,w=/[^\s\/]/,k=/[a-z]/,E=/\s/,A=/[\r\n]/,T=/\${pos}/g,S={object:!0,function:!0};function D(t,r,o,f){_=_||n.symbols||"a-z",x=x||n.snakeskinRgxp||new RegExp("[!$"+_+"_]","i");var h=n,d=h.cache,y=h.content,D=Boolean(r&&S[void 0===r?"undefined":e(r)]),M=D?Object(r):{};function C(t){return M["@label"]?M["@label"].replace(T,t):"__ESCAPER_QUOT__"+t+"_"}var O=!1;"boolean"==typeof r&&(O=Boolean(r)),"@comments"in M&&(b(s,M,M["@comments"]),b(u,M,M["@comments"]),delete M["@comments"]),"@strings"in M&&(b(i,M,M["@strings"]),delete M["@strings"]),"@literals"in M&&(b(a,M,M["@literals"]),delete M["@literals"]),"@all"in M&&(b(l,M,M["@all"]),delete M["@all"]);for(var L="",N=-1;++N<c.length;){var R=c[N];s[R]||u[R]?M[R]=O||M[R]:M[R]=M[R]||!D,L+=M[R]+","}var F=t,P=o||y;if(P===y&&d[L]&&d[L][F])return d[L][F];for(var B=!1,I=!0,q=!1,U=!1,j=0,Y=!1,z=0,V=!1,$=void 0,H=void 0,G="",W="",Z=-1;++Z<t.length;){var X=t.charAt(Z),J=t.charAt(Z+1),K=t.substr(Z,2),Q=t.substr(Z,3);if(U)(A.test(J)&&u[U]||s[X+t.charAt(Z-1)]&&Z-j>2&&s[U])&&(M[U]&&($=t.substring(j,Z+1),-1===M[U]?H="":(H=C(P.length),P.push($)),t=t.substring(0,j)+H+t.substring(Z+1),Z+=H.length-$.length),U=!1);else{if(!B){if("/"===X&&((u[K]||s[K])&&(U=u[Q]||s[Q]?Q:K),U)){j=Z;continue}m[X]||v[W]?(I=!0,W=""):w.test(X)&&(I=!1),k.test(X)?G+=X:(W=G,G="");var tt=!1;f&&("|"===X&&x.test(J)?(V=!0,I=!1,tt=!0):V&&E.test(X)&&(V=!1,I=!0,tt=!0)),tt||(m[X]?I=!0:w.test(X)&&(I=!1))}if("/"!==B||q||("["===X?Y=!0:"]"===X&&(Y=!1)),!B&&z&&("}"===X?z--:"{"===X&&z++,z||(X="`")),"`"!==B||q||"${"!==K||(X="`",Z++,z++),!l[X]||"/"===X&&!I||B){if(B&&("\\"===X||q))q=!q;else if(l[X]&&B===X&&!q&&("/"!==B||!Y)){if("/"===X)for(var et=-1;++et<p.length;)g[t.charAt(Z+1)]&&Z++;B=!1,I=!1,M[X]&&($=t.substring(j,Z+1),-1===M[X]?H="":(H=C(P.length),P.push($)),t=t.substring(0,j)+H+t.substring(Z+1),Z+=H.length-$.length)}}else B=X,j=Z}}return P===y&&(d[L]=d[L]||{},d[L][F]=t),t}var M=/__ESCAPER_QUOT__(\d+)_/g;function C(t,e,r){return t.replace(r||M,function(t,r){return(e||n.content)[r]})}t.default=r,t.replace=D,t.paste=C,Object.defineProperty(t,"__esModule",{value:!0})}(e)},function(t,e,n){"use strict";var r=n(34);t.exports=function(t,e){var n;t=t.toString();var i="",a="",o=!1,u=!(!1===(e=e||{}).preserve||!0===e.all),s="";"function"==typeof e.preserve?(u=!1,n=e.preserve):r(e.preserve)&&(u=!1,n=function(t){return e.preserve.test(t)});for(var c=0;c<t.length;c++)if(a=t[c],"\\"!==t[c-1]&&('"'!==a&&"'"!==a||(o===a?o=!1:o||(o=a))),o||"/"!==a||"*"!==t[c+1]||u&&"!"===t[c+2])s+=a;else{for(var l=c+2;l<t.length;l++){if("*"===t[l]&&"/"===t[l+1]){n&&(s=n(i)?s+"/*"+i+"*/":s,i="");break}n&&(i+=t[l])}c=l+1}return s}},function(t,e,n){"use strict";t.exports=function(t){return"[object RegExp]"===Object.prototype.toString.call(t)}},function(t,e,n){var r={"./locale":23,"./locale.js":23};function i(t){var e=a(t);return n(e)}function a(t){var e=r[t];if(!(e+1)){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}return e}i.keys=function(){return Object.keys(r)},i.resolve=a,t.exports=i,i.id=35},function(t,e,n){const r=n(2),i=n(20);function a(t){return r.map(t.nodes(),function(e){const n=t.node(e),i=t.parent(e),a={v:e};return r.isUndefined(n)||(a.value=n),r.isUndefined(i)||(a.parent=i),a})}function o(t){return r.map(t.edges(),function(e){const n=t.edge(e),i={v:e.v,w:e.w};return r.isUndefined(e.name)||(i.name=e.name),r.isUndefined(n)||(i.value=n),i})}t.exports={write:function(t){var e={options:{directed:t.isDirected(),multigraph:t.isMultigraph(),compound:t.isCompound()},nodes:a(t),edges:o(t)};r.isUndefined(t.graph())||(e.value=r.clone(t.graph()));return e},read:function(t){var e=new i(t.options).setGraph(t.value);return r.each(t.nodes,function(t){e.setNode(t.v,t.value),t.parent&&e.setParent(t.v,t.parent)}),r.each(t.edges,function(t){e.setEdge({v:t.v,w:t.w,name:t.name},t.value)}),e}}},function(t,e,n){t.exports={components:n(38),dijkstra:n(24),dijkstraAll:n(39),findCycles:n(40),floydWarshall:n(41),isAcyclic:n(42),postorder:n(43),preorder:n(44),prim:n(45),tarjan:n(26),topsort:n(27)}},function(t,e,n){var r=n(2);t.exports=function(t){const e={},n=[];let i;function a(n){r.has(e,n)||(e[n]=!0,i.push(n),r.each(t.successors(n),a),r.each(t.predecessors(n),a))}return r.each(t.nodes(),function(t){i=[],a(t),i.length&&n.push(i)}),n}},function(t,e,n){const r=n(24),i=n(2);t.exports=function(t,e,n){return i.transform(t.nodes(),function(i,a){i[a]=r(t,a,e,n)},{})}},function(t,e,n){const r=n(2),i=n(26);t.exports=function(t){return r.filter(i(t),function(e){return e.length>1||1===e.length&&t.hasEdge(e[0],e[0])})}},function(t,e,n){var r=n(2);t.exports=function(t,e,n){return function(t,e,n){const r={},i=t.nodes();return i.forEach(function(t){r[t]={},r[t][t]={distance:0},i.forEach(function(e){t!==e&&(r[t][e]={distance:Number.POSITIVE_INFINITY})}),n(t).forEach(function(n){const i=n.v===t?n.w:n.v,a=e(n);r[t][i]={distance:a,predecessor:t}})}),i.forEach(function(t){var e=r[t];i.forEach(function(n){var a=r[n];i.forEach(function(n){var r=a[t],i=e[n],o=a[n],u=r.distance+i.distance;u<o.distance&&(o.distance=u,o.predecessor=i.predecessor)})})}),r}(t,e||i,n||function(e){return t.outEdges(e)})};var i=r.constant(1)},function(t,e,n){var r=n(27);t.exports=function(t){try{r(t)}catch(t){if(t instanceof r.CycleException)return!1;throw t}return!0}},function(t,e,n){var r=n(28);t.exports=function(t,e){return r(t,e,"post")}},function(t,e,n){var r=n(28);t.exports=function(t,e){return r(t,e,"pre")}},function(t,e,n){const r=n(2),i=n(20),a=n(25);t.exports=function(t,e){const n=new i,o={},u=new a;let s;function c(t){const n=t.v===s?t.w:t.v,r=u.priority(n);if(void 0!==r){var i=e(t);i<r&&(o[n]=s,u.decrease(n,i))}}if(0===t.nodeCount())return n;r.each(t.nodes(),function(t){u.add(t,Number.POSITIVE_INFINITY),n.setNode(t)}),u.decrease(t.nodes()[0],0);var l=!1;for(;u.size()>0;){if(s=u.removeMin(),r.has(o,s))n.setEdge(s,o[s]);else{if(l)throw new Error("Input graph is not connected: "+t);l=!0}t.nodeEdges(s).forEach(c)}return n}},function(t,e,n){var r={"./dark/index.scss":47,"./default/index.scss":49,"./forest/index.scss":51,"./neutral/index.scss":53};function i(t){var e=a(t);return n(e)}function a(t){var e=r[t];if(!(e+1)){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}return e}i.keys=function(){return Object.keys(r)},i.resolve=a,t.exports=i,i.id=46},function(t,e,n){var r=n(48);t.exports="string"==typeof r?r:r.toString()},function(t,e,n){(t.exports=n(15)(!1)).push([t.i,".label{font-family:'trebuchet ms', verdana, arial;color:#333}.label text{fill:#333}.node rect,.node circle,.node ellipse,.node polygon{fill:#BDD5EA;stroke:purple;stroke-width:1px}.node.clickable{cursor:pointer}.arrowheadPath{fill:#d3d3d3}.edgePath .path{stroke:#d3d3d3;stroke-width:1.5px}.edgeLabel{background-color:#e8e8e8}.cluster rect{fill:#6D6D65;stroke:rgba(255,255,255,0.25);stroke-width:1px}.cluster text{fill:#F9FFFE}div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-size:12px;background:#6D6D65;border:1px solid rgba(255,255,255,0.25);border-radius:2px;pointer-events:none;z-index:100}.actor{stroke:#81B1DB;fill:#BDD5EA}text.actor{fill:#000;stroke:none}.actor-line{stroke:#d3d3d3}.messageLine0{stroke-width:1.5;stroke-dasharray:'2 2';stroke:#d3d3d3}.messageLine1{stroke-width:1.5;stroke-dasharray:'2 2';stroke:#d3d3d3}#arrowhead{fill:#d3d3d3}.sequenceNumber{fill:#fff}#sequencenumber{fill:#d3d3d3}#crosshead path{fill:#d3d3d3 !important;stroke:#d3d3d3 !important}.messageText{fill:#d3d3d3;stroke:none}.labelBox{stroke:#81B1DB;fill:#BDD5EA}.labelText{fill:#323D47;stroke:none}.loopText{fill:#d3d3d3;stroke:none}.loopLine{stroke-width:2;stroke-dasharray:'2 2';stroke:#81B1DB}.note{stroke:rgba(255,255,255,0.25);fill:#fff5ad}.noteText{fill:black;stroke:none;font-family:'trebuchet ms', verdana, arial;font-size:14px}.activation0{fill:#f4f4f4;stroke:#666}.activation1{fill:#f4f4f4;stroke:#666}.activation2{fill:#f4f4f4;stroke:#666}.section{stroke:none;opacity:0.2}.section0{fill:rgba(255,255,255,0.3)}.section2{fill:#EAE8B9}.section1,.section3{fill:#fff;opacity:0.2}.sectionTitle0{fill:#F9FFFE}.sectionTitle1{fill:#F9FFFE}.sectionTitle2{fill:#F9FFFE}.sectionTitle3{fill:#F9FFFE}.sectionTitle{text-anchor:start;font-size:11px;text-height:14px}.grid .tick{stroke:#d3d3d3;opacity:0.3;shape-rendering:crispEdges}.grid path{stroke-width:0}.today{fill:none;stroke:#DB5757;stroke-width:2px}.task{stroke-width:2}.taskText{text-anchor:middle;font-size:11px}.taskTextOutsideRight{fill:#323D47;text-anchor:start;font-size:11px}.taskTextOutsideLeft{fill:#323D47;text-anchor:end;font-size:11px}.task.clickable{cursor:pointer}.taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskText0,.taskText1,.taskText2,.taskText3{fill:#323D47}.task0,.task1,.task2,.task3{fill:#BDD5EA;stroke:rgba(255,255,255,0.5)}.taskTextOutside0,.taskTextOutside2{fill:#d3d3d3}.taskTextOutside1,.taskTextOutside3{fill:#d3d3d3}.active0,.active1,.active2,.active3{fill:#81B1DB;stroke:rgba(255,255,255,0.5)}.activeText0,.activeText1,.activeText2,.activeText3{fill:#323D47 !important}.done0,.done1,.done2,.done3{stroke:grey;fill:#d3d3d3;stroke-width:2}.doneText0,.doneText1,.doneText2,.doneText3{fill:#323D47 !important}.crit0,.crit1,.crit2,.crit3{stroke:#E83737;fill:#E83737;stroke-width:2}.activeCrit0,.activeCrit1,.activeCrit2,.activeCrit3{stroke:#E83737;fill:#81B1DB;stroke-width:2}.doneCrit0,.doneCrit1,.doneCrit2,.doneCrit3{stroke:#E83737;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}.milestone{transform:rotate(45deg) scale(0.8, 0.8)}.milestoneText{font-style:italic}.doneCritText0,.doneCritText1,.doneCritText2,.doneCritText3{fill:#323D47 !important}.activeCritText0,.activeCritText1,.activeCritText2,.activeCritText3{fill:#323D47 !important}.titleText{text-anchor:middle;font-size:18px;fill:#323D47}g.classGroup text{fill:purple;stroke:none;font-family:'trebuchet ms', verdana, arial;font-size:10px}g.classGroup rect{fill:#BDD5EA;stroke:purple}g.classGroup line{stroke:purple;stroke-width:1}.classLabel .box{stroke:none;stroke-width:0;fill:#BDD5EA;opacity:0.5}.classLabel .label{fill:purple;font-size:10px}.relation{stroke:purple;stroke-width:1;fill:none}#compositionStart{fill:purple;stroke:purple;stroke-width:1}#compositionEnd{fill:purple;stroke:purple;stroke-width:1}#aggregationStart{fill:#BDD5EA;stroke:purple;stroke-width:1}#aggregationEnd{fill:#BDD5EA;stroke:purple;stroke-width:1}#dependencyStart{fill:purple;stroke:purple;stroke-width:1}#dependencyEnd{fill:purple;stroke:purple;stroke-width:1}#extensionStart{fill:purple;stroke:purple;stroke-width:1}#extensionEnd{fill:purple;stroke:purple;stroke-width:1}.commit-id,.commit-msg,.branch-label{fill:lightgrey;color:lightgrey}.pieTitleText{text-anchor:middle;font-size:25px;fill:#323D47}\n",""])},function(t,e,n){var r=n(50);t.exports="string"==typeof r?r:r.toString()},function(t,e,n){(t.exports=n(15)(!1)).push([t.i,".label{font-family:'trebuchet ms', verdana, arial;color:#333}.label text{fill:#333}.node rect,.node circle,.node ellipse,.node polygon{fill:#ECECFF;stroke:#9370db;stroke-width:1px}.node.clickable{cursor:pointer}.arrowheadPath{fill:#333}.edgePath .path{stroke:#333;stroke-width:1.5px}.edgeLabel{background-color:#e8e8e8}.cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}.cluster text{fill:#333}div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-size:12px;background:#ffffde;border:1px solid #aa3;border-radius:2px;pointer-events:none;z-index:100}.actor{stroke:#ccf;fill:#ECECFF}text.actor{fill:#000;stroke:none}.actor-line{stroke:grey}.messageLine0{stroke-width:1.5;stroke-dasharray:'2 2';stroke:#333}.messageLine1{stroke-width:1.5;stroke-dasharray:'2 2';stroke:#333}#arrowhead{fill:#333}.sequenceNumber{fill:#fff}#sequencenumber{fill:#333}#crosshead path{fill:#333 !important;stroke:#333 !important}.messageText{fill:#333;stroke:none}.labelBox{stroke:#ccf;fill:#ECECFF}.labelText{fill:#000;stroke:none}.loopText{fill:#000;stroke:none}.loopLine{stroke-width:2;stroke-dasharray:'2 2';stroke:#ccf}.note{stroke:#aa3;fill:#fff5ad}.noteText{fill:black;stroke:none;font-family:'trebuchet ms', verdana, arial;font-size:14px}.activation0{fill:#f4f4f4;stroke:#666}.activation1{fill:#f4f4f4;stroke:#666}.activation2{fill:#f4f4f4;stroke:#666}.section{stroke:none;opacity:0.2}.section0{fill:rgba(102,102,255,0.49)}.section2{fill:#fff400}.section1,.section3{fill:#fff;opacity:0.2}.sectionTitle0{fill:#333}.sectionTitle1{fill:#333}.sectionTitle2{fill:#333}.sectionTitle3{fill:#333}.sectionTitle{text-anchor:start;font-size:11px;text-height:14px}.grid .tick{stroke:#d3d3d3;opacity:0.3;shape-rendering:crispEdges}.grid path{stroke-width:0}.today{fill:none;stroke:red;stroke-width:2px}.task{stroke-width:2}.taskText{text-anchor:middle;font-size:11px}.taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px}.taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}.task.clickable{cursor:pointer}.taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskText0,.taskText1,.taskText2,.taskText3{fill:#fff}.task0,.task1,.task2,.task3{fill:#8a90dd;stroke:#534fbc}.taskTextOutside0,.taskTextOutside2{fill:#000}.taskTextOutside1,.taskTextOutside3{fill:#000}.active0,.active1,.active2,.active3{fill:#bfc7ff;stroke:#534fbc}.activeText0,.activeText1,.activeText2,.activeText3{fill:#000 !important}.done0,.done1,.done2,.done3{stroke:grey;fill:#d3d3d3;stroke-width:2}.doneText0,.doneText1,.doneText2,.doneText3{fill:#000 !important}.crit0,.crit1,.crit2,.crit3{stroke:#f88;fill:red;stroke-width:2}.activeCrit0,.activeCrit1,.activeCrit2,.activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}.doneCrit0,.doneCrit1,.doneCrit2,.doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}.milestone{transform:rotate(45deg) scale(0.8, 0.8)}.milestoneText{font-style:italic}.doneCritText0,.doneCritText1,.doneCritText2,.doneCritText3{fill:#000 !important}.activeCritText0,.activeCritText1,.activeCritText2,.activeCritText3{fill:#000 !important}.titleText{text-anchor:middle;font-size:18px;fill:#000}g.classGroup text{fill:#9370db;stroke:none;font-family:'trebuchet ms', verdana, arial;font-size:10px}g.classGroup rect{fill:#ECECFF;stroke:#9370db}g.classGroup line{stroke:#9370db;stroke-width:1}.classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}.classLabel .label{fill:#9370db;font-size:10px}.relation{stroke:#9370db;stroke-width:1;fill:none}#compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}.commit-id,.commit-msg,.branch-label{fill:lightgrey;color:lightgrey}.pieTitleText{text-anchor:middle;font-size:25px;fill:#000}\n",""])},function(t,e,n){var r=n(52);t.exports="string"==typeof r?r:r.toString()},function(t,e,n){(t.exports=n(15)(!1)).push([t.i,".label{font-family:'trebuchet ms', verdana, arial;color:#333}.label text{fill:#333}.node rect,.node circle,.node ellipse,.node polygon{fill:#cde498;stroke:#13540c;stroke-width:1px}.node.clickable{cursor:pointer}.arrowheadPath{fill:green}.edgePath .path{stroke:green;stroke-width:1.5px}.edgeLabel{background-color:#e8e8e8}.cluster rect{fill:#cdffb2;stroke:#6eaa49;stroke-width:1px}.cluster text{fill:#333}div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-size:12px;background:#cdffb2;border:1px solid #6eaa49;border-radius:2px;pointer-events:none;z-index:100}.actor{stroke:#13540c;fill:#cde498}text.actor{fill:#000;stroke:none}.actor-line{stroke:grey}.messageLine0{stroke-width:1.5;stroke-dasharray:'2 2';stroke:#333}.messageLine1{stroke-width:1.5;stroke-dasharray:'2 2';stroke:#333}#arrowhead{fill:#333}.sequenceNumber{fill:#fff}#sequencenumber{fill:#333}#crosshead path{fill:#333 !important;stroke:#333 !important}.messageText{fill:#333;stroke:none}.labelBox{stroke:#326932;fill:#cde498}.labelText{fill:#000;stroke:none}.loopText{fill:#000;stroke:none}.loopLine{stroke-width:2;stroke-dasharray:'2 2';stroke:#326932}.note{stroke:#6eaa49;fill:#fff5ad}.noteText{fill:black;stroke:none;font-family:'trebuchet ms', verdana, arial;font-size:14px}.activation0{fill:#f4f4f4;stroke:#666}.activation1{fill:#f4f4f4;stroke:#666}.activation2{fill:#f4f4f4;stroke:#666}.section{stroke:none;opacity:0.2}.section0{fill:#6eaa49}.section2{fill:#6eaa49}.section1,.section3{fill:#fff;opacity:0.2}.sectionTitle0{fill:#333}.sectionTitle1{fill:#333}.sectionTitle2{fill:#333}.sectionTitle3{fill:#333}.sectionTitle{text-anchor:start;font-size:11px;text-height:14px}.grid .tick{stroke:#d3d3d3;opacity:0.3;shape-rendering:crispEdges}.grid path{stroke-width:0}.today{fill:none;stroke:red;stroke-width:2px}.task{stroke-width:2}.taskText{text-anchor:middle;font-size:11px}.taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px}.taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}.task.clickable{cursor:pointer}.taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskText0,.taskText1,.taskText2,.taskText3{fill:#fff}.task0,.task1,.task2,.task3{fill:#487e3a;stroke:#13540c}.taskTextOutside0,.taskTextOutside2{fill:#000}.taskTextOutside1,.taskTextOutside3{fill:#000}.active0,.active1,.active2,.active3{fill:#cde498;stroke:#13540c}.activeText0,.activeText1,.activeText2,.activeText3{fill:#000 !important}.done0,.done1,.done2,.done3{stroke:grey;fill:#d3d3d3;stroke-width:2}.doneText0,.doneText1,.doneText2,.doneText3{fill:#000 !important}.crit0,.crit1,.crit2,.crit3{stroke:#f88;fill:red;stroke-width:2}.activeCrit0,.activeCrit1,.activeCrit2,.activeCrit3{stroke:#f88;fill:#cde498;stroke-width:2}.doneCrit0,.doneCrit1,.doneCrit2,.doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}.milestone{transform:rotate(45deg) scale(0.8, 0.8)}.milestoneText{font-style:italic}.doneCritText0,.doneCritText1,.doneCritText2,.doneCritText3{fill:#000 !important}.activeCritText0,.activeCritText1,.activeCritText2,.activeCritText3{fill:#000 !important}.titleText{text-anchor:middle;font-size:18px;fill:#000}g.classGroup text{fill:#13540c;stroke:none;font-family:'trebuchet ms', verdana, arial;font-size:10px}g.classGroup rect{fill:#cde498;stroke:#13540c}g.classGroup line{stroke:#13540c;stroke-width:1}.classLabel .box{stroke:none;stroke-width:0;fill:#cde498;opacity:0.5}.classLabel .label{fill:#13540c;font-size:10px}.relation{stroke:#13540c;stroke-width:1;fill:none}#compositionStart{fill:#13540c;stroke:#13540c;stroke-width:1}#compositionEnd{fill:#13540c;stroke:#13540c;stroke-width:1}#aggregationStart{fill:#cde498;stroke:#13540c;stroke-width:1}#aggregationEnd{fill:#cde498;stroke:#13540c;stroke-width:1}#dependencyStart{fill:#13540c;stroke:#13540c;stroke-width:1}#dependencyEnd{fill:#13540c;stroke:#13540c;stroke-width:1}#extensionStart{fill:#13540c;stroke:#13540c;stroke-width:1}#extensionEnd{fill:#13540c;stroke:#13540c;stroke-width:1}.commit-id,.commit-msg,.branch-label{fill:lightgrey;color:lightgrey}.pieTitleText{text-anchor:middle;font-size:25px;fill:#000}\n",""])},function(t,e,n){var r=n(54);t.exports="string"==typeof r?r:r.toString()},function(t,e,n){(t.exports=n(15)(!1)).push([t.i,".label{font-family:'trebuchet ms', verdana, arial;color:#333}.label text{fill:#333}.node rect,.node circle,.node ellipse,.node polygon{fill:#eee;stroke:#999;stroke-width:1px}.node.clickable{cursor:pointer}.arrowheadPath{fill:#333}.edgePath .path{stroke:#666;stroke-width:1.5px}.edgeLabel{background-color:#fff}.cluster rect{fill:#eaf2fb;stroke:#26a;stroke-width:1px}.cluster text{fill:#333}div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-size:12px;background:#eaf2fb;border:1px solid #26a;border-radius:2px;pointer-events:none;z-index:100}.actor{stroke:#999;fill:#eee}text.actor{fill:#333;stroke:none}.actor-line{stroke:#666}.messageLine0{stroke-width:1.5;stroke-dasharray:'2 2';stroke:#333}.messageLine1{stroke-width:1.5;stroke-dasharray:'2 2';stroke:#333}#arrowhead{fill:#333}.sequenceNumber{fill:#fff}#sequencenumber{fill:#333}#crosshead path{fill:#333 !important;stroke:#333 !important}.messageText{fill:#333;stroke:none}.labelBox{stroke:#999;fill:#eee}.labelText{fill:#333;stroke:none}.loopText{fill:#333;stroke:none}.loopLine{stroke-width:2;stroke-dasharray:'2 2';stroke:#999}.note{stroke:#770;fill:#ffa}.noteText{fill:black;stroke:none;font-family:'trebuchet ms', verdana, arial;font-size:14px}.activation0{fill:#f4f4f4;stroke:#666}.activation1{fill:#f4f4f4;stroke:#666}.activation2{fill:#f4f4f4;stroke:#666}.section{stroke:none;opacity:0.2}.section0{fill:#80b3e6}.section2{fill:#80b3e6}.section1,.section3{fill:#fff;opacity:0.2}.sectionTitle0{fill:#333}.sectionTitle1{fill:#333}.sectionTitle2{fill:#333}.sectionTitle3{fill:#333}.sectionTitle{text-anchor:start;font-size:11px;text-height:14px}.grid .tick{stroke:#e6e6e6;opacity:0.3;shape-rendering:crispEdges}.grid path{stroke-width:0}.today{fill:none;stroke:#d42;stroke-width:2px}.task{stroke-width:2}.taskText{text-anchor:middle;font-size:11px}.taskTextOutsideRight{fill:#333;text-anchor:start;font-size:11px}.taskTextOutsideLeft{fill:#333;text-anchor:end;font-size:11px}.task.clickable{cursor:pointer}.taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskText0,.taskText1,.taskText2,.taskText3{fill:#fff}.task0,.task1,.task2,.task3{fill:#26a;stroke:#1a4d80}.taskTextOutside0,.taskTextOutside2{fill:#333}.taskTextOutside1,.taskTextOutside3{fill:#333}.active0,.active1,.active2,.active3{fill:#eee;stroke:#1a4d80}.activeText0,.activeText1,.activeText2,.activeText3{fill:#333 !important}.done0,.done1,.done2,.done3{stroke:#666;fill:#bbb;stroke-width:2}.doneText0,.doneText1,.doneText2,.doneText3{fill:#333 !important}.crit0,.crit1,.crit2,.crit3{stroke:#b1361b;fill:#d42;stroke-width:2}.activeCrit0,.activeCrit1,.activeCrit2,.activeCrit3{stroke:#b1361b;fill:#eee;stroke-width:2}.doneCrit0,.doneCrit1,.doneCrit2,.doneCrit3{stroke:#b1361b;fill:#bbb;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}.milestone{transform:rotate(45deg) scale(0.8, 0.8)}.milestoneText{font-style:italic}.doneCritText0,.doneCritText1,.doneCritText2,.doneCritText3{fill:#333 !important}.activeCritText0,.activeCritText1,.activeCritText2,.activeCritText3{fill:#333 !important}.titleText{text-anchor:middle;font-size:18px;fill:#333}g.classGroup text{fill:#999;stroke:none;font-family:'trebuchet ms', verdana, arial;font-size:10px}g.classGroup rect{fill:#eee;stroke:#999}g.classGroup line{stroke:#999;stroke-width:1}.classLabel .box{stroke:none;stroke-width:0;fill:#eee;opacity:0.5}.classLabel .label{fill:#999;font-size:10px}.relation{stroke:#999;stroke-width:1;fill:none}#compositionStart{fill:#999;stroke:#999;stroke-width:1}#compositionEnd{fill:#999;stroke:#999;stroke-width:1}#aggregationStart{fill:#eee;stroke:#999;stroke-width:1}#aggregationEnd{fill:#eee;stroke:#999;stroke-width:1}#dependencyStart{fill:#999;stroke:#999;stroke-width:1}#dependencyEnd{fill:#999;stroke:#999;stroke-width:1}#extensionStart{fill:#999;stroke:#999;stroke-width:1}#extensionEnd{fill:#999;stroke:#999;stroke-width:1}.commit-id,.commit-msg,.branch-label{fill:lightgrey;color:lightgrey}.pieTitleText{text-anchor:middle;font-size:25px;fill:#333}\n",""])},function(t,e,n){"use strict";n.r(e);var r=n(29),i=n.n(r),a=n(0),o=n(30),u=n.n(o),s=n(14);let c={};const l=t=>{!function(t){const e=Object.keys(t);for(let n=0;n<e.length;n++)if("object"==typeof t[e[n]]&&null!=t[e[n]]){const r=Object.keys(t[e[n]]);for(let i=0;i<r.length;i++)void 0===c[e[n]]&&(c[e[n]]={}),c[e[n]][r[i]]=t[e[n]][r[i]]}else c[e[n]]=t[e[n]]}(t)},f=()=>c;var h=n(5),d=n.n(h);const p=1,g=2,y=3,m=4,v=5,b={debug:()=>{},info:()=>{},warn:()=>{},error:()=>{},fatal:()=>{}},_=function(t){b.debug=(()=>{}),b.info=(()=>{}),b.warn=(()=>{}),b.error=(()=>{}),b.fatal=(()=>{}),t<=v&&(b.fatal=console.log.bind(console,"",x("FATAL"))),t<=m&&(b.error=console.log.bind(console,"",x("ERROR"))),t<=y&&(b.warn=console.log.bind(console,"",x("WARN"))),t<=g&&(b.info=console.log.bind(console,"",x("INFO"))),t<=p&&(b.debug=console.log.bind(console,"",x("DEBUG")))},x=t=>{return`${d()().format("HH:mm:ss.SSS")} : ${t} : `},w=(t,e)=>{if(!t)return e;const n=`curve${t.charAt(0).toUpperCase()+t.slice(1)}`;return a[n]||e};var k={detectType:function(t){return t=t.replace(/^\s*%%.*\n/g,"\n"),b.debug("Detecting diagram type based on the text "+t),t.match(/^\s*sequenceDiagram/)?"sequence":t.match(/^\s*gantt/)?"gantt":t.match(/^\s*classDiagram/)?"class":t.match(/^\s*gitGraph/)?"git":t.match(/^\s*info/)?"info":t.match(/^\s*pie/)?"pie":"flowchart"},isSubstringInArray:function(t,e){for(let n=0;n<e.length;n++)if(e[n].match(t))return n;return-1},interpolateToCurve:w},E=n(12),A=n.n(E),T=n(16);const S=f();let D,M={},C=[],O=[],L=[],N={},R={},F=0,P=!0,B=[];const I=t=>{let e=t;return"loose"!==S.securityLevel&&(e=(e=(e=(e=(e=e.replace(/<br>/g,"#br#")).replace(/<br\S*?\/>/g,"#br#")).replace(/</g,"&lt;").replace(/>/g,"&gt;")).replace(/=/g,"&equals;")).replace(/#br#/g,"<br/>")),e},q=function(t,e){t.split(",").forEach(function(t){let n=t;t[0].match(/\d/)&&(n="s"+n),void 0!==M[n]&&M[n].classes.push(e),void 0!==N[n]&&N[n].classes.push(e)})},U=function(t,e){t.split(",").forEach(function(t){void 0!==e&&(R[t]=I(e))})},j=function(t){let e=a.select(".mermaidTooltip");null===(e._groups||e)[0][0]&&(e=a.select("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),a.select(t).select("svg").selectAll("g.node").on("mouseover",function(){const t=a.select(this);if(null===t.attr("title"))return;const n=this.getBoundingClientRect();e.transition().duration(200).style("opacity",".9"),e.html(t.attr("title")).style("left",n.left+(n.right-n.left)/2+"px").style("top",n.top-14+document.body.scrollTop+"px"),t.classed("hover",!0)}).on("mouseout",function(){e.transition().duration(500).style("opacity",0),a.select(this).classed("hover",!1)})};B.push(j);const Y=function(t){for(let e=0;e<L.length;e++)if(L[e].id===t)return e;return-1};let z=-1;const V=[],$=function(t,e){const n=L[e].nodes;if((z+=1)>2e3)return;if(V[z]=e,L[e].id===t)return{result:!0,count:0};let r=0,i=1;for(;r<n.length;){const e=Y(n[r]);if(e>=0){const n=$(t,e);if(n.result)return{result:!0,count:i+n.count};i+=n.count}r+=1}return{result:!1,count:i}};var H={addVertex:function(t,e,n,r,i){let a,o=t;void 0!==o&&0!==o.trim().length&&(o[0].match(/\d/)&&(o="s"+o),void 0===M[o]&&(M[o]={id:o,styles:[],classes:[]}),void 0!==e?('"'===(a=I(e.trim()))[0]&&'"'===a[a.length-1]&&(a=a.substring(1,a.length-1)),M[o].text=a):M[o].text||(M[o].text=t),void 0!==n&&(M[o].type=n),null!=r&&r.forEach(function(t){M[o].styles.push(t)}),null!=i&&i.forEach(function(t){M[o].classes.push(t)}))},addLink:function(t,e,n,r){let i=t,a=e;i[0].match(/\d/)&&(i="s"+i),a[0].match(/\d/)&&(a="s"+a),b.info("Got edge...",i,a);const o={start:i,end:a,type:void 0,text:""};void 0!==(r=n.text)&&(o.text=I(r.trim()),'"'===o.text[0]&&'"'===o.text[o.text.length-1]&&(o.text=o.text.substring(1,o.text.length-1))),void 0!==n&&(o.type=n.type,o.stroke=n.stroke),C.push(o)},updateLinkInterpolate:function(t,e){t.forEach(function(t){"default"===t?C.defaultInterpolate=e:C[t].interpolate=e})},updateLink:function(t,e){t.forEach(function(t){"default"===t?C.defaultStyle=e:(-1===k.isSubstringInArray("fill",e)&&e.push("fill:none"),C[t].style=e)})},addClass:function(t,e){void 0===O[t]&&(O[t]={id:t,styles:[]}),null!=e&&e.forEach(function(e){O[t].styles.push(e)})},setDirection:function(t){(D=t).match(/.*</)&&(D="RL"),D.match(/.*\^/)&&(D="BT"),D.match(/.*>/)&&(D="LR"),D.match(/.*v/)&&(D="TB")},setClass:q,getTooltip:function(t){return R[t]},setClickEvent:function(t,e,n){t.split(",").forEach(function(t){!function(t,e){let n=t;t[0].match(/\d/)&&(n="s"+n),"loose"===S.securityLevel&&void 0!==e&&void 0!==M[n]&&B.push(function(t){const r=document.querySelector(`[id="${n}"]`);null!==r&&r.addEventListener("click",function(){window[e](n)},!1)})}(t,e)}),U(t,n),q(t,"clickable")},setLink:function(t,e,n){t.split(",").forEach(function(t){let n=t;t[0].match(/\d/)&&(n="s"+n),void 0!==M[n]&&("loose"!==S.securityLevel?M[n].link=Object(T.sanitizeUrl)(e):M[n].link=e)}),U(t,n),q(t,"clickable")},bindFunctions:function(t){B.forEach(function(e){e(t)})},getDirection:function(){return D.trim()},getVertices:function(){return M},getEdges:function(){return C},getClasses:function(){return O},clear:function(){M={},O={},C=[],(B=[]).push(j),L=[],N={},F=0,R=[],P=!0},defaultStyle:function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},addSubGraph:function(t,e,n){let r=t,i=n;t===n&&n.match(/\s/)&&(r=void 0);let a=[];a=function(t){const e={boolean:{},number:{},string:{}},n=[];return t.filter(function(t){const r=typeof t;return""!==t.trim()&&(r in e?!e[r].hasOwnProperty(t)&&(e[r][t]=!0):!(n.indexOf(t)>=0)&&n.push(t))})}(a.concat.apply(a,e));for(let t=0;t<a.length;t++)a[t][0].match(/\d/)&&(a[t]="s"+a[t]);(r=r||"subGraph"+F)[0].match(/\d/)&&(r="s"+r),i=I(i=i||""),F+=1;const o={id:r,nodes:a,title:i.trim(),classes:[]};return L.push(o),N[r]=o,r},getDepthFirstPos:function(t){return V[t]},indexNodes:function(){z=-1,L.length>0&&$("none",L.length-1,0)},getSubGraphs:function(){return L},lex:{firstGraph:()=>!!P&&(P=!1,!0)}},G=n(13),W=n.n(G),Z=n(6),X=n.n(Z),J=n(3),K=n.n(J);const Q=/:/g;function tt(t){return t?String(t).replace(Q,"\\:"):""}var et={isSubgraph:function(t,e){return!!t.children(e).length},edgeToId:function(t){return tt(t.v)+":"+tt(t.w)+":"+tt(t.name)},applyStyle:function(t,e){e&&t.attr("style",e)},applyClass:function(t,e,n){e&&t.attr("class",e).attr("class",n+" "+t.attr("class"))},applyTransition:function(t,e){const n=e.graph();if(K.a.isPlainObject(n)){const e=n.transition;if(K.a.isFunction(e))return e(t)}return t}};var nt=function(t,e){const n=t.append("foreignObject").attr("width","100000"),r=n.append("xhtml:div");r.attr("xmlns","http://www.w3.org/1999/xhtml");const i=e.label;switch(typeof i){case"function":r.insert(i);break;case"object":r.insert(function(){return i});break;default:r.html(i)}et.applyStyle(r,e.labelStyle),r.style("display","inline-block"),r.style("white-space","nowrap");const a=r.node().getBoundingClientRect();return n.attr("width",a.width).attr("height",a.height),n};const rt={},it=function(t,e,n){const r=a.select(`[id="${n}"]`),i=Object.keys(t),o=function(t,e,{label:n}){if(n)for(let n=0;n<e.length;n++)void 0!==e[n]&&e[n].match("^color:")&&(t=t+e[n]+";");else for(let n=0;n<e.length;n++)void 0!==e[n]&&(t=t+e[n]+";");return t};i.forEach(function(n){const i=t[n];let a="";i.classes.length>0&&(a=i.classes.join(" "));let u="";u=o(u,i.styles,{label:!1});let s="";s=o(s,i.styles,{label:!0});let c,l=void 0!==i.text?i.text:i.id;if(f().flowchart.htmlLabels){const t={label:l.replace(/fa[lrsb]?:fa-[\w-]+/g,t=>`<i class='${t.replace(":"," ")}'></i>`)};(c=nt(r,t).node()).parentNode.removeChild(c)}else{const t=document.createElementNS("http://www.w3.org/2000/svg","text"),e=l.split(/<br[\/]{0,1}>/);for(let n=0;n<e.length;n++){const r=document.createElementNS("http://www.w3.org/2000/svg","tspan");r.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),r.setAttribute("dy","1em"),r.setAttribute("x","1"),r.textContent=e[n],t.appendChild(r)}c=t}if(i.link){const t=document.createElementNS("http://www.w3.org/2000/svg","a");t.setAttributeNS("http://www.w3.org/2000/svg","href",i.link),t.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),t.appendChild(c),c=t}let h=0,d="";switch(i.type){case"round":h=5,d="rect";break;case"square":d="rect";break;case"diamond":d="question";break;case"odd":d="rect_left_inv_arrow";break;case"lean_right":d="lean_right";break;case"lean_left":d="lean_left";break;case"trapezoid":d="trapezoid";break;case"inv_trapezoid":d="inv_trapezoid";break;case"odd_right":d="rect_left_inv_arrow";break;case"circle":d="circle";break;case"ellipse":d="ellipse";break;case"group":d="rect";break;default:d="rect"}e.setNode(i.id,{labelType:"svg",labelStyle:s,shape:d,label:c,rx:h,ry:h,class:a,style:u,id:i.id})})},at=function(t,e){let n,r=0;void 0!==t.defaultStyle&&(n=t.defaultStyle.toString().replace(/,/g,";")),t.forEach(function(i){r++;const o={};"arrow_open"===i.type?o.arrowhead="none":o.arrowhead="normal";let u="";if(void 0!==i.style)i.style.forEach(function(t){u=u+t+";"});else switch(i.stroke){case"normal":u="fill:none",void 0!==n&&(u=n);break;case"dotted":u="stroke: #333; fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":u="stroke: #333; stroke-width: 3.5px;fill:none"}o.style=u,void 0!==i.interpolate?o.curve=w(i.interpolate,a.curveLinear):void 0!==t.defaultInterpolate?o.curve=w(t.defaultInterpolate,a.curveLinear):o.curve=w(rt.curve,a.curveLinear),void 0===i.text?void 0!==i.style&&(o.arrowheadStyle="fill: #333"):(o.arrowheadStyle="fill: #333",void 0===i.style?(o.labelpos="c",f().flowchart.htmlLabels?(o.labelType="html",o.label='<span class="edgeLabel">'+i.text+"</span>"):(o.labelType="text",o.style=o.style||"stroke: #333; stroke-width: 1.5px;fill:none",o.label=i.text.replace(/<br>/g,"\n"))):o.label=i.text.replace(/<br>/g,"\n")),e.setEdge(i.start,i.end,o,r)})};var ot=function(t){const e=Object.keys(t);for(let n=0;n<e.length;n++)rt[e[n]]=t[e[n]]},ut=function(t){b.info("Extracting classes"),H.clear();const e=W.a.parser;return e.yy=H,e.parse(t),H.getClasses()},st=function(t,e){b.info("Drawing flowchart"),H.clear();const n=W.a.parser;n.yy=H;try{n.parse(t)}catch(t){b.debug("Parsing failed")}let r=H.getDirection();void 0===r&&(r="TD");const i=new A.a.Graph({multigraph:!0,compound:!0}).setGraph({rankdir:r,marginx:20,marginy:20}).setDefaultEdgeLabel(function(){return{}});let o;const u=H.getSubGraphs();for(let t=u.length-1;t>=0;t--)o=u[t],H.addVertex(o.id,o.title,"group",void 0,o.classes);const s=H.getVertices(),c=H.getEdges();let l=0;for(l=u.length-1;l>=0;l--){o=u[l],a.selectAll("cluster").append("text");for(let t=0;t<o.nodes.length;t++)i.setParent(o.nodes[t],o.id)}it(s,i,e),at(c,i);const h=new(0,X.a.render);h.shapes().question=function(t,e,n){const r=.9*(e.width+e.height),i=[{x:r/2,y:0},{x:r,y:-r/2},{x:r/2,y:-r},{x:0,y:-r/2}],a=t.insert("polygon",":first-child").attr("points",i.map(function(t){return t.x+","+t.y}).join(" ")).attr("rx",5).attr("ry",5).attr("transform","translate("+-r/2+","+2*r/4+")");return n.intersect=function(t){return X.a.intersect.polygon(n,i,t)},a},h.shapes().rect_left_inv_arrow=function(t,e,n){const r=e.width,i=e.height,a=[{x:-i/2,y:0},{x:r,y:0},{x:r,y:-i},{x:-i/2,y:-i},{x:0,y:-i/2}],o=t.insert("polygon",":first-child").attr("points",a.map(function(t){return t.x+","+t.y}).join(" ")).attr("transform","translate("+-r/2+","+2*i/4+")");return n.intersect=function(t){return X.a.intersect.polygon(n,a,t)},o},h.shapes().lean_right=function(t,e,n){const r=e.width,i=e.height,a=[{x:-2*i/6,y:0},{x:r-i/6,y:0},{x:r+2*i/6,y:-i},{x:i/6,y:-i}],o=t.insert("polygon",":first-child").attr("points",a.map(function(t){return t.x+","+t.y}).join(" ")).attr("transform","translate("+-r/2+","+2*i/4+")");return n.intersect=function(t){return X.a.intersect.polygon(n,a,t)},o},h.shapes().lean_left=function(t,e,n){const r=e.width,i=e.height,a=[{x:2*i/6,y:0},{x:r+i/6,y:0},{x:r-2*i/6,y:-i},{x:-i/6,y:-i}],o=t.insert("polygon",":first-child").attr("points",a.map(function(t){return t.x+","+t.y}).join(" ")).attr("transform","translate("+-r/2+","+2*i/4+")");return n.intersect=function(t){return X.a.intersect.polygon(n,a,t)},o},h.shapes().trapezoid=function(t,e,n){const r=e.width,i=e.height,a=[{x:-2*i/6,y:0},{x:r+2*i/6,y:0},{x:r-i/6,y:-i},{x:i/6,y:-i}],o=t.insert("polygon",":first-child").attr("points",a.map(function(t){return t.x+","+t.y}).join(" ")).attr("transform","translate("+-r/2+","+2*i/4+")");return n.intersect=function(t){return X.a.intersect.polygon(n,a,t)},o},h.shapes().inv_trapezoid=function(t,e,n){const r=e.width,i=e.height,a=[{x:i/6,y:0},{x:r-i/6,y:0},{x:r+2*i/6,y:-i},{x:-2*i/6,y:-i}],o=t.insert("polygon",":first-child").attr("points",a.map(function(t){return t.x+","+t.y}).join(" ")).attr("transform","translate("+-r/2+","+2*i/4+")");return n.intersect=function(t){return X.a.intersect.polygon(n,a,t)},o},h.shapes().rect_right_inv_arrow=function(t,e,n){const r=e.width,i=e.height,a=[{x:0,y:0},{x:r+i/2,y:0},{x:r,y:-i/2},{x:r+i/2,y:-i},{x:0,y:-i}],o=t.insert("polygon",":first-child").attr("points",a.map(function(t){return t.x+","+t.y}).join(" ")).attr("transform","translate("+-r/2+","+2*i/4+")");return n.intersect=function(t){return X.a.intersect.polygon(n,a,t)},o},h.arrows().none=function(t,e,n,r){const i=t.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 0 0 L 0 0 z");X.a.util.applyStyle(i,n[r+"Style"])},h.arrows().normal=function(t,e,n,r){t.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowheadPath").style("stroke-width",1).style("stroke-dasharray","1,0")};const d=a.select(`[id="${e}"]`),p=a.select("#"+e+" g");h(p,i),p.selectAll("g.node").attr("title",function(){return H.getTooltip(this.id)});const g=i.maxX-i.minX+16,y=i.maxY-i.minY+16;for(d.attr("width","100%"),d.attr("style",`max-width: ${g}px;`),d.attr("viewBox",`0 0 ${g} ${y}`),d.select("g").attr("transform",`translate(${8-i.minX}, ${8-i.minY})`),H.indexNodes("subGraph"+l),l=0;l<u.length;l++)if("undefined"!==(o=u[l]).title){const t=document.querySelectorAll("#"+e+" #"+o.id+" rect"),n=document.querySelectorAll("#"+e+" #"+o.id),r=t[0].x.baseVal.value,i=t[0].y.baseVal.value,u=t[0].width.baseVal.value,s=a.select(n[0]).select(".label");s.attr("transform",`translate(${r+u/2}, ${i+14})`),s.attr("id",e+"Text")}if(!f().flowchart.htmlLabels){const t=document.querySelectorAll("#"+e+" .edgeLabel .label");for(let e=0;e<t.length;e++){const n=t[e],r=n.getBBox(),i=document.createElementNS("http://www.w3.org/2000/svg","rect");i.setAttribute("rx",0),i.setAttribute("ry",0),i.setAttribute("width",r.width),i.setAttribute("height",r.height),i.setAttribute("style","fill:#e8e8e8;"),n.insertBefore(i,n.firstChild)}}};const ct=function(t,e){const n=t.append("rect");return n.attr("x",e.x),n.attr("y",e.y),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("width",e.width),n.attr("height",e.height),n.attr("rx",e.rx),n.attr("ry",e.ry),void 0!==e.class&&n.attr("class",e.class),n},lt=function(t,e,n){const r=e.text.replace(/<br\/?>/gi," "),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.style("text-anchor",e.anchor),i.attr("fill",e.fill),void 0!==e.class&&i.attr("class",e.class);const a=i.append("tspan");return a.attr("x",e.x+2*e.textMargin),a.attr("fill",e.fill),a.text(r),i},ft=function(t,e){const n=t.append("polygon");var r,i,a,o,u;n.attr("points",(r=e.x,i=e.y,r+","+i+" "+(r+(a=50))+","+i+" "+(r+a)+","+(i+(o=20)-(u=7))+" "+(r+a-1.2*u)+","+(i+o)+" "+r+","+(i+o))),n.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,lt(t,e)};let ht=-1;const dt=function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0}},pt=function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},gt=function(){function t(t,e,n,i,a,o,u){r(e.append("text").attr("x",n+a/2).attr("y",i+o/2+5).style("text-anchor","middle").text(t),u)}function e(t,e,n,i,a,o,u,s){const{actorFontSize:c,actorFontFamily:l}=s,f=t.split(/<br\/?>/gi);for(let t=0;t<f.length;t++){const s=t*c-c*(f.length-1)/2,h=e.append("text").attr("x",n+a/2).attr("y",i).style("text-anchor","middle").style("font-size",c).style("font-family",l);h.append("tspan").attr("x",n+a/2).attr("dy",s).text(f[t]),h.attr("y",i+o/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),r(h,u)}}function n(t,n,i,a,o,u,s,c){const l=n.append("switch"),f=l.append("foreignObject").attr("x",i).attr("y",a).attr("width",o).attr("height",u).append("div").style("display","table").style("height","100%").style("width","100%");f.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,l,i,a,o,u,s,c),r(f,s)}function r(t,e){for(const n in e)e.hasOwnProperty(n)&&t.attr(n,e[n])}return function(r){return"fo"===r.textPlacement?n:"old"===r.textPlacement?t:e}}();var yt={drawRect:ct,drawText:lt,drawLabel:ft,drawActor:function(t,e,n,r,i){const a=e+i.width/2,o=t.append("g");0===n&&(ht++,o.append("line").attr("id","actor"+ht).attr("x1",a).attr("y1",5).attr("x2",a).attr("y2",2e3).attr("class","actor-line").attr("stroke-width","0.5px").attr("stroke","#999"));const u=pt();u.x=e,u.y=n,u.fill="#eaeaea",u.width=i.width,u.height=i.height,u.class="actor",u.rx=3,u.ry=3,ct(o,u),gt(i)(r,o,u.x,u.y,u.width,u.height,{class:"actor"},i)},anchorElement:function(t){return t.append("g")},drawActivation:function(t,e,n,r,i){const a=pt(),o=e.anchored;a.x=e.startx,a.y=e.starty,a.class="activation"+i%3,a.width=e.stopx-e.startx,a.height=n-e.starty,ct(o,a)},drawLoop:function(t,e,n,r){const i=t.append("g"),a=function(t,e,n,r){return i.append("line").attr("x1",t).attr("y1",e).attr("x2",n).attr("y2",r).attr("class","loopLine")};a(e.startx,e.starty,e.stopx,e.starty),a(e.stopx,e.starty,e.stopx,e.stopy),a(e.startx,e.stopy,e.stopx,e.stopy),a(e.startx,e.starty,e.startx,e.stopy),void 0!==e.sections&&e.sections.forEach(function(t){a(e.startx,t,e.stopx,t).style("stroke-dasharray","3, 3")});let o=dt();o.text=n,o.x=e.startx,o.y=e.starty,o.labelMargin=15,o.class="labelText",ft(i,o),(o=dt()).text="[ "+e.title+" ]",o.x=e.startx+(e.stopx-e.startx)/2,o.y=e.starty+1.5*r.boxMargin,o.anchor="middle",o.class="loopText",lt(i,o),void 0!==e.sectionTitles&&e.sectionTitles.forEach(function(t,n){""!==t&&(o.text="[ "+t+" ]",o.y=e.sections[n]+1.5*r.boxMargin,lt(i,o))})},drawBackgroundRect:function(t,e){ct(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,class:"rect"}).lower()},insertArrowHead:function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},insertSequenceNumber:function(t){t.append("defs").append("marker").attr("id","sequencenumber").attr("refX",15).attr("refY",15).attr("markerWidth",60).attr("markerHeight",40).attr("orient","auto").append("circle").attr("cx",15).attr("cy",15).attr("r",6)},insertArrowCrossHead:function(t){const e=t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);e.append("path").attr("fill","black").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 9,2 V 6 L16,4 Z"),e.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 0,1 L 6,7 M 6,1 L 0,7")},getTextObj:dt,getNoteRect:pt},mt=n(1),vt=n.n(mt);let bt={},_t=[];const xt=[];let wt="";const kt=function(t,e,n){const r=bt[t];r&&e===r.name&&null==n||(null==n&&(n=e),bt[t]={name:e,description:n})},Et=function(t,e,n,r){b.debug("Adding message from="+t+" to="+e+" message="+n+" type="+r),_t.push({from:t,to:e,message:n,type:r})},At={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23},Tt=function(t,e,n){const r={actor:t,placement:e,message:n},i=[].concat(t,t);xt.push(r),_t.push({from:i[0],to:i[1],message:n,type:At.NOTE,placement:e})},St=function(t){wt=t},Dt=function(t){if(t instanceof Array)t.forEach(function(t){Dt(t)});else switch(t.type){case"addActor":kt(t.actor,t.actor,t.description);break;case"activeStart":case"activeEnd":Et(t.actor,void 0,void 0,t.signalType);break;case"addNote":Tt(t.actor,t.placement,t.text);break;case"addMessage":Et(t.from,t.to,t.msg,t.signalType);break;case"loopStart":Et(void 0,void 0,t.loopText,t.signalType);break;case"loopEnd":Et(void 0,void 0,void 0,t.signalType);break;case"rectStart":Et(void 0,void 0,t.color,t.signalType);break;case"rectEnd":Et(void 0,void 0,void 0,t.signalType);break;case"optStart":Et(void 0,void 0,t.optText,t.signalType);break;case"optEnd":Et(void 0,void 0,void 0,t.signalType);break;case"altStart":case"else":Et(void 0,void 0,t.altText,t.signalType);break;case"altEnd":Et(void 0,void 0,void 0,t.signalType);break;case"setTitle":St(t.text);break;case"parStart":case"and":Et(void 0,void 0,t.parText,t.signalType);break;case"parEnd":Et(void 0,void 0,void 0,t.signalType)}};var Mt={addActor:kt,addMessage:function(t,e,n,r){_t.push({from:t,to:e,message:n,answer:r})},addSignal:Et,getMessages:function(){return _t},getActors:function(){return bt},getActor:function(t){return bt[t]},getActorKeys:function(){return Object.keys(bt)},getTitle:function(){return wt},clear:function(){bt={},_t=[]},LINETYPE:At,ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},addNote:Tt,setTitle:St,apply:Dt};mt.parser.yy=Mt;const Ct={diagramMarginX:50,diagramMarginY:30,actorMargin:50,width:150,height:65,actorFontSize:14,actorFontFamily:'"Open-Sans", "sans-serif"',boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,mirrorActors:!1,bottomMarginAdj:1,activationWidth:10,textPlacement:"tspan",showSequenceNumbers:!1},Ot={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],activations:[],init:function(){this.sequenceItems=[],this.activations=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},updateVal:function(t,e,n,r){void 0===t[e]?t[e]=n:t[e]=r(n,t[e])},updateBounds:function(t,e,n,r){const i=this;let a=0;function o(o){return function(u){a++;const s=i.sequenceItems.length-a+1;i.updateVal(u,"starty",e-s*Ct.boxMargin,Math.min),i.updateVal(u,"stopy",r+s*Ct.boxMargin,Math.max),i.updateVal(Ot.data,"startx",t-s*Ct.boxMargin,Math.min),i.updateVal(Ot.data,"stopx",n+s*Ct.boxMargin,Math.max),"activation"!==o&&(i.updateVal(u,"startx",t-s*Ct.boxMargin,Math.min),i.updateVal(u,"stopx",n+s*Ct.boxMargin,Math.max),i.updateVal(Ot.data,"starty",e-s*Ct.boxMargin,Math.min),i.updateVal(Ot.data,"stopy",r+s*Ct.boxMargin,Math.max))}}this.sequenceItems.forEach(o()),this.activations.forEach(o("activation"))},insert:function(t,e,n,r){const i=Math.min(t,n),a=Math.max(t,n),o=Math.min(e,r),u=Math.max(e,r);this.updateVal(Ot.data,"startx",i,Math.min),this.updateVal(Ot.data,"starty",o,Math.min),this.updateVal(Ot.data,"stopx",a,Math.max),this.updateVal(Ot.data,"stopy",u,Math.max),this.updateBounds(i,o,a,u)},newActivation:function(t,e){const n=mt.parser.yy.getActors()[t.from.actor],r=Rt(t.from.actor).length,i=n.x+Ct.width/2+(r-1)*Ct.activationWidth/2;this.activations.push({startx:i,starty:this.verticalPos+2,stopx:i+Ct.activationWidth,stopy:void 0,actor:t.from.actor,anchored:yt.anchorElement(e)})},endActivation:function(t){const e=this.activations.map(function(t){return t.actor}).lastIndexOf(t.from.actor);return this.activations.splice(e,1)[0]},newLoop:function(t,e){this.sequenceItems.push({startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:t,fill:e})},endLoop:function(){return this.sequenceItems.pop()},addSectionToLoop:function(t){const e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push(Ot.getVerticalPos()),e.sectionTitles.push(t),this.sequenceItems.push(e)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},Lt=function(t,e,n,r,i){const a=yt.getNoteRect();a.x=e,a.y=n,a.width=i||Ct.width,a.class="note";let o=t.append("g");const u=yt.drawRect(o,a),s=((t,e,n,r,i)=>{let a=0;const o=t.split(/<br\/?>/gi);for(const t of o){const o=yt.getTextObj();o.x=e,o.y=n+a,o.textMargin=Ct.noteMargin,o.dy="1em",o.text=t,o.class="noteText";const u=yt.drawText(r,o,i);a+=(u._groups||u)[0][0].getBBox().height}return a})(r.message,e-4,n+24,o,a.width-Ct.noteMargin);Ot.insert(e,n,e+a.width,n+2*Ct.noteMargin+s),u.attr("height",s+2*Ct.noteMargin),Ot.bumpVerticalPos(s+2*Ct.noteMargin)},Nt=function(t,e,n,r){for(let i=0;i<n.length;i++){const a=n[i];e[a].x=i*Ct.actorMargin+i*Ct.width,e[a].y=r,e[a].width=Ct.diagramMarginX,e[a].height=Ct.diagramMarginY,yt.drawActor(t,e[a].x,r,e[a].description,Ct),Ot.insert(e[a].x,r,e[a].x+Ct.width,Ct.height)}Ot.bumpVerticalPos(Ct.height)},Rt=function(t){return Ot.activations.filter(function(e){return e.actor===t})},Ft=function(t){const e=mt.parser.yy.getActors(),n=Rt(t);return[n.reduce(function(t,e){return Math.min(t,e.startx)},e[t].x+Ct.width/2),n.reduce(function(t,e){return Math.max(t,e.stopx)},e[t].x+Ct.width/2)]};var Pt=function(t){Object.keys(t).forEach(function(e){Ct[e]=t[e]})},Bt=function(t,e){mt.parser.yy.clear(),mt.parser.parse(t+"\n"),Ot.init();const n=a.select(`[id="${e}"]`);let r,i,o;const u=mt.parser.yy.getActors(),s=mt.parser.yy.getActorKeys(),c=mt.parser.yy.getMessages(),l=mt.parser.yy.getTitle();Nt(n,u,s,0),yt.insertArrowHead(n),yt.insertArrowCrossHead(n),yt.insertSequenceNumber(n);let f=1;c.forEach(function(t){let e;switch(t.type){case mt.parser.yy.LINETYPE.NOTE:Ot.bumpVerticalPos(Ct.boxMargin),r=u[t.from].x,i=u[t.to].x,t.placement===mt.parser.yy.PLACEMENT.RIGHTOF?Lt(n,r+(Ct.width+Ct.actorMargin)/2,Ot.getVerticalPos(),t):t.placement===mt.parser.yy.PLACEMENT.LEFTOF?Lt(n,r-(Ct.width+Ct.actorMargin)/2,Ot.getVerticalPos(),t):t.to===t.from?Lt(n,r,Ot.getVerticalPos(),t):(o=Math.abs(r-i)+Ct.actorMargin,Lt(n,(r+i+Ct.width-o)/2,Ot.getVerticalPos(),t,o));break;case mt.parser.yy.LINETYPE.ACTIVE_START:Ot.newActivation(t,n);break;case mt.parser.yy.LINETYPE.ACTIVE_END:!function(t,e){const r=Ot.endActivation(t);r.starty+18>e&&(r.starty=e-6,e+=12),yt.drawActivation(n,r,e,Ct,Rt(t.from.actor).length),Ot.insert(r.startx,e-10,r.stopx,e)}(t,Ot.getVerticalPos());break;case mt.parser.yy.LINETYPE.LOOP_START:Ot.bumpVerticalPos(Ct.boxMargin),Ot.newLoop(t.message),Ot.bumpVerticalPos(Ct.boxMargin+Ct.boxTextMargin);break;case mt.parser.yy.LINETYPE.LOOP_END:e=Ot.endLoop(),yt.drawLoop(n,e,"loop",Ct),Ot.bumpVerticalPos(Ct.boxMargin);break;case mt.parser.yy.LINETYPE.RECT_START:Ot.bumpVerticalPos(Ct.boxMargin),Ot.newLoop(void 0,t.message),Ot.bumpVerticalPos(Ct.boxMargin);break;case mt.parser.yy.LINETYPE.RECT_END:const a=Ot.endLoop();yt.drawBackgroundRect(n,a),Ot.bumpVerticalPos(Ct.boxMargin);break;case mt.parser.yy.LINETYPE.OPT_START:Ot.bumpVerticalPos(Ct.boxMargin),Ot.newLoop(t.message),Ot.bumpVerticalPos(Ct.boxMargin+Ct.boxTextMargin);break;case mt.parser.yy.LINETYPE.OPT_END:e=Ot.endLoop(),yt.drawLoop(n,e,"opt",Ct),Ot.bumpVerticalPos(Ct.boxMargin);break;case mt.parser.yy.LINETYPE.ALT_START:Ot.bumpVerticalPos(Ct.boxMargin),Ot.newLoop(t.message),Ot.bumpVerticalPos(Ct.boxMargin+Ct.boxTextMargin);break;case mt.parser.yy.LINETYPE.ALT_ELSE:Ot.bumpVerticalPos(Ct.boxMargin),e=Ot.addSectionToLoop(t.message),Ot.bumpVerticalPos(Ct.boxMargin);break;case mt.parser.yy.LINETYPE.ALT_END:e=Ot.endLoop(),yt.drawLoop(n,e,"alt",Ct),Ot.bumpVerticalPos(Ct.boxMargin);break;case mt.parser.yy.LINETYPE.PAR_START:Ot.bumpVerticalPos(Ct.boxMargin),Ot.newLoop(t.message),Ot.bumpVerticalPos(Ct.boxMargin+Ct.boxTextMargin);break;case mt.parser.yy.LINETYPE.PAR_AND:Ot.bumpVerticalPos(Ct.boxMargin),e=Ot.addSectionToLoop(t.message),Ot.bumpVerticalPos(Ct.boxMargin);break;case mt.parser.yy.LINETYPE.PAR_END:e=Ot.endLoop(),yt.drawLoop(n,e,"par",Ct),Ot.bumpVerticalPos(Ct.boxMargin);break;default:try{Ot.bumpVerticalPos(Ct.messageMargin);const e=Ft(t.from),a=Ft(t.to),o=e[0]<=a[0]?1:0,u=e[0]<a[0]?0:1;r=e[o],i=a[u];const s=Ot.getVerticalPos();!function(t,e,n,r,i,a){const o=t.append("g"),u=e+(n-e)/2,s=o.append("text").attr("x",u).attr("y",r-7).style("text-anchor","middle").attr("class","messageText").text(i.message);let c,l=(s._groups||s)[0][0].getBBox().width;if(e===n){c=Ct.rightAngles?o.append("path").attr("d",`M ${e},${r} H ${e+Ct.width/2} V ${r+25} H ${e}`):o.append("path").attr("d","M "+e+","+r+" C "+(e+60)+","+(r-10)+" "+(e+60)+","+(r+30)+" "+e+","+(r+20)),Ot.bumpVerticalPos(30);const t=Math.max(l/2,100);Ot.insert(e-t,Ot.getVerticalPos()-10,n+t,Ot.getVerticalPos())}else(c=o.append("line")).attr("x1",e),c.attr("y1",r),c.attr("x2",n),c.attr("y2",r),Ot.insert(e,Ot.getVerticalPos()-10,n,Ot.getVerticalPos());i.type===mt.parser.yy.LINETYPE.DOTTED||i.type===mt.parser.yy.LINETYPE.DOTTED_CROSS||i.type===mt.parser.yy.LINETYPE.DOTTED_OPEN?(c.style("stroke-dasharray","3, 3"),c.attr("class","messageLine1")):c.attr("class","messageLine0");let f="";Ct.arrowMarkerAbsolute&&(f=(f=(f=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),c.attr("stroke-width",2),c.attr("stroke","black"),c.style("fill","none"),i.type!==mt.parser.yy.LINETYPE.SOLID&&i.type!==mt.parser.yy.LINETYPE.DOTTED||c.attr("marker-end","url("+f+"#arrowhead)"),i.type!==mt.parser.yy.LINETYPE.SOLID_CROSS&&i.type!==mt.parser.yy.LINETYPE.DOTTED_CROSS||c.attr("marker-end","url("+f+"#crosshead)"),Ct.showSequenceNumbers&&(c.attr("marker-start","url("+f+"#sequencenumber)"),o.append("text").attr("x",e).attr("y",r+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("textLength","16px").attr("class","sequenceNumber").text(a))}(n,r,i,s,t,f);const c=e.concat(a);Ot.insert(Math.min.apply(null,c),s,Math.max.apply(null,c),s)}catch(t){b.error("error while drawing message",t)}}[mt.parser.yy.LINETYPE.SOLID_OPEN,mt.parser.yy.LINETYPE.DOTTED_OPEN,mt.parser.yy.LINETYPE.SOLID,mt.parser.yy.LINETYPE.DOTTED,mt.parser.yy.LINETYPE.SOLID_CROSS,mt.parser.yy.LINETYPE.DOTTED_CROSS].includes(t.type)&&f++}),Ct.mirrorActors&&(Ot.bumpVerticalPos(2*Ct.boxMargin),Nt(n,u,s,Ot.getVerticalPos()));const h=Ot.getBounds();b.debug("For line height fix Querying: #"+e+" .actor-line"),a.selectAll("#"+e+" .actor-line").attr("y2",h.stopy);let d=h.stopy-h.starty+2*Ct.diagramMarginY;Ct.mirrorActors&&(d=d-Ct.boxMargin+Ct.bottomMarginAdj);const p=h.stopx-h.startx+2*Ct.diagramMarginX;l&&n.append("text").text(l).attr("x",(h.stopx-h.startx)/2-2*Ct.diagramMarginX).attr("y",-25),Ct.useMaxWidth?(n.attr("height","100%"),n.attr("width","100%"),n.attr("style","max-width:"+p+"px;")):(n.attr("height",d),n.attr("width",p));const g=l?40:0;n.attr("viewBox",h.startx-Ct.diagramMarginX+" -"+(Ct.diagramMarginY+g)+" "+p+" "+(d+g))},It=n(7),qt=n.n(It);const Ut=f();let jt="",Yt="",zt=[],Vt="",$t=[],Ht=[],Gt="";const Wt=["active","done","crit","milestone"];let Zt=[],Xt=!1;const Jt=function(t,e,n){return t.isoWeekday()>=6&&n.indexOf("weekends")>=0||(n.indexOf(t.format("dddd").toLowerCase())>=0||n.indexOf(t.format(e.trim()))>=0)},Kt=function(t,e,n){if(!n.length||t.manualEndTime)return;let r=d()(t.startTime,e,!0);r.add(1,"d");let i=d()(t.endTime,e,!0),a=Qt(r,i,e,n);t.endTime=i.toDate(),t.renderEndTime=a},Qt=function(t,e,n,r){let i=!1,a=null;for(;t.date()<=e.date();)i||(a=e.toDate()),(i=Jt(t,n,r))&&e.add(1,"d"),t.add(1,"d");return a},te=function(t,e,n){n=n.trim();const r=/^after\s+([\d\w-]+)/.exec(n.trim());if(null!==r){const t=ce(r[1]);if(void 0===t){const t=new Date;return t.setHours(0,0,0,0),t}return t.endTime}let i=d()(n,e.trim(),!0);return i.isValid()?i.toDate():(b.debug("Invalid date:"+n),b.debug("With date format:"+e.trim()),new Date)},ee=function(t,e){if(null!==t)switch(t[2]){case"s":e.add(t[1],"seconds");break;case"m":e.add(t[1],"minutes");break;case"h":e.add(t[1],"hours");break;case"d":e.add(t[1],"days");break;case"w":e.add(t[1],"weeks")}return e.toDate()},ne=function(t,e,n,r){r=r||!1,n=n.trim();let i=d()(n,e.trim(),!0);return i.isValid()?(r&&i.add(1,"d"),i.toDate()):ee(/^([\d]+)([wdhms])/.exec(n.trim()),d()(t))};let re=0;const ie=function(t){return void 0===t?"task"+(re+=1):t};let ae,oe,ue=[];const se={},ce=function(t){const e=se[t];return ue[e]},le=function(){const t=function(t){const e=ue[t];let n="";switch(ue[t].raw.startTime.type){case"prevTaskEnd":const r=ce(e.prevTaskId);e.startTime=r.endTime;break;case"getStartDate":(n=te(0,jt,ue[t].raw.startTime.startData))&&(ue[t].startTime=n)}return ue[t].startTime&&(ue[t].endTime=ne(ue[t].startTime,jt,ue[t].raw.endTime.data,Xt),ue[t].endTime&&(ue[t].processed=!0,ue[t].manualEndTime=d()(ue[t].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),Kt(ue[t],jt,zt))),ue[t].processed};let e=!0;for(let n=0;n<ue.length;n++)t(n),e=e&&ue[n].processed;return e},fe=function(t,e){t.split(",").forEach(function(t){let n=ce(t);void 0!==n&&n.classes.push(e)})},he=function(t,e){Zt.push(function(n){const r=document.querySelector(`[id="${t}"]`);null!==r&&r.addEventListener("click",function(){e()})}),Zt.push(function(n){const r=document.querySelector(`[id="${t}-text"]`);null!==r&&r.addEventListener("click",function(){e()})})};var de={clear:function(){$t=[],Ht=[],Gt="",Zt=[],Vt="",re=0,ae=void 0,oe=void 0,ue=[],jt="",Yt="",zt=[],Xt=!1},setDateFormat:function(t){jt=t},getDateFormat:function(){return jt},enableInclusiveEndDates:function(){Xt=!0},endDatesAreInclusive:function(){return Xt},setAxisFormat:function(t){Yt=t},getAxisFormat:function(){return Yt},setTitle:function(t){Vt=t},getTitle:function(){return Vt},addSection:function(t){Gt=t,$t.push(t)},getSections:function(){return $t},getTasks:function(){let t=le();let e=0;for(;!t&&e<10;)t=le(),e++;return Ht=ue},addTask:function(t,e){const n={section:Gt,type:Gt,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:e},task:t,classes:[]},r=function(t,e){let n;const r=(n=":"===e.substr(0,1)?e.substr(1,e.length):e).split(","),i={};pe(r,i,Wt);for(let t=0;t<r.length;t++)r[t]=r[t].trim();switch(r.length){case 1:i.id=ie(),i.startTime={type:"prevTaskEnd",id:t},i.endTime={data:r[0]};break;case 2:i.id=ie(),i.startTime={type:"getStartDate",startData:r[0]},i.endTime={data:r[1]};break;case 3:i.id=ie(r[0]),i.startTime={type:"getStartDate",startData:r[1]},i.endTime={data:r[2]}}return i}(oe,e);n.raw.startTime=r.startTime,n.raw.endTime=r.endTime,n.id=r.id,n.prevTaskId=oe,n.active=r.active,n.done=r.done,n.crit=r.crit,n.milestone=r.milestone;const i=ue.push(n);oe=n.id,se[n.id]=i-1},findTaskById:ce,addTaskOrg:function(t,e){const n={section:Gt,type:Gt,description:t,task:t,classes:[]},r=function(t,e){let n;const r=(n=":"===e.substr(0,1)?e.substr(1,e.length):e).split(","),i={};pe(r,i,Wt);for(let t=0;t<r.length;t++)r[t]=r[t].trim();let a="";switch(r.length){case 1:i.id=ie(),i.startTime=t.endTime,a=r[0];break;case 2:i.id=ie(),i.startTime=te(0,jt,r[0]),a=r[1];break;case 3:i.id=ie(r[0]),i.startTime=te(0,jt,r[1]),a=r[2]}return a&&(i.endTime=ne(i.startTime,jt,a,Xt),i.manualEndTime=d()(a,"YYYY-MM-DD",!0).isValid(),Kt(i,jt,zt)),i}(ae,e);n.startTime=r.startTime,n.endTime=r.endTime,n.id=r.id,n.active=r.active,n.done=r.done,n.crit=r.crit,n.milestone=r.milestone,ae=n,Ht.push(n)},setExcludes:function(t){zt=t.toLowerCase().split(/[\s,]+/)},getExcludes:function(){return zt},setClickEvent:function(t,e,n){t.split(",").forEach(function(t){!function(t,e,n){if("loose"!==Ut.securityLevel)return;if(void 0===e)return;let r=[];if("string"==typeof n){r=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t<r.length;t++){let e=r[t].trim();'"'===e.charAt(0)&&'"'===e.charAt(e.length-1)&&(e=e.substr(1,e.length-2)),r[t]=e}}void 0!==ce(t)&&he(t,()=>{window[e](...r)})}(t,e,n)}),fe(t,"clickable")},setLink:function(t,e){let n=e;"loose"!==Ut.securityLevel&&(n=Object(T.sanitizeUrl)(e)),t.split(",").forEach(function(t){void 0!==ce(t)&&he(t,()=>{window.open(n,"_self")})}),fe(t,"clickable")},bindFunctions:function(t){Zt.forEach(function(e){e(t)})},durationToDate:ee};function pe(t,e,n){let r=!0;for(;r;)r=!1,n.forEach(function(n){const i=new RegExp("^\\s*"+n+"\\s*$");t[0].match(i)&&(e[n]=!0,t.shift(1),r=!0)})}It.parser.yy=de;const ge={titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,fontFamily:'"Open-Sans", "sans-serif"'};let ye;var me=function(t){Object.keys(t).forEach(function(e){ge[e]=t[e]})},ve=function(t,e){It.parser.yy.clear(),It.parser.parse(t);const n=document.getElementById(e);void 0===(ye=n.parentElement.offsetWidth)&&(ye=1200),void 0!==ge.useWidth&&(ye=ge.useWidth);const r=It.parser.yy.getTasks(),i=r.length*(ge.barHeight+ge.barGap)+2*ge.topPadding;n.setAttribute("height","100%"),n.setAttribute("viewBox","0 0 "+ye+" "+i);const o=a.select(`[id="${e}"]`),u=a.scaleTime().domain([a.min(r,function(t){return t.startTime}),a.max(r,function(t){return t.endTime})]).rangeRound([0,ye-ge.leftPadding-ge.rightPadding]);let s=[];for(let t=0;t<r.length;t++)s.push(r[t].type);const c=s;function l(t){let e=t.length;const n={};for(;e;)n[t[--e]]=(n[t[e]]||0)+1;return n}s=function(t){const e={},n=[];for(let r=0,i=t.length;r<i;++r)e.hasOwnProperty(t[r])||(e[t[r]]=!0,n.push(t[r]));return n}(s),function(t,e,n){const r=ge.barHeight,i=r+ge.barGap,f=ge.topPadding,h=ge.leftPadding;a.scaleLinear().domain([0,s.length]).range(["#00B9FA","#F95002"]).interpolate(a.interpolateHcl),function(t,e,n,r){let i=a.axisBottom(u).tickSize(-r+e+ge.gridLineStartPadding).tickFormat(a.timeFormat(It.parser.yy.getAxisFormat()||ge.axisFormat||"%Y-%m-%d"));o.append("g").attr("class","grid").attr("transform","translate("+t+", "+(r-50)+")").call(i).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em")}(h,f,0,n),function(t,e,n,r,i,a,c,l){o.append("g").selectAll("rect").data(t).enter().append("rect").attr("x",0).attr("y",function(t,r){return r*e+n-2}).attr("width",function(){return c-ge.rightPadding/2}).attr("height",e).attr("class",function(t){for(let e=0;e<s.length;e++)if(t.type===s[e])return"section section"+e%ge.numberSectionStyles;return"section section0"});const f=o.append("g").selectAll("rect").data(t).enter();f.append("rect").attr("id",function(t){return t.id}).attr("rx",3).attr("ry",3).attr("x",function(t){return t.milestone?u(t.startTime)+r+.5*(u(t.endTime)-u(t.startTime))-.5*i:u(t.startTime)+r}).attr("y",function(t,r){return r*e+n}).attr("width",function(t){return t.milestone?i:u(t.renderEndTime||t.endTime)-u(t.startTime)}).attr("height",i).attr("transform-origin",function(t,a){return(u(t.startTime)+r+.5*(u(t.endTime)-u(t.startTime))).toString()+"px "+(a*e+n+.5*i).toString()+"px"}).attr("class",function(t){let e="";t.classes.length>0&&(e=t.classes.join(" "));let n=0;for(let e=0;e<s.length;e++)t.type===s[e]&&(n=e%ge.numberSectionStyles);let r="";return t.active?t.crit?r+=" activeCrit":r=" active":t.done?r=t.crit?" doneCrit":" done":t.crit&&(r+=" crit"),0===r.length&&(r=" task"),t.milestone&&(r=" milestone "+r),r+=n,"task"+(r+=" "+e)}),f.append("text").attr("id",function(t){return t.id+"-text"}).text(function(t){return t.task}).attr("font-size",ge.fontSize).attr("x",function(t){let e=u(t.startTime),n=u(t.renderEndTime||t.endTime);t.milestone&&(e+=.5*(u(t.endTime)-u(t.startTime))-.5*i),t.milestone&&(n=e+i);const a=this.getBBox().width;return a>n-e?n+a+1.5*ge.leftPadding>c?e+r-5:n+r+5:(n-e)/2+e+r}).attr("y",function(t,r){return r*e+ge.barHeight/2+(ge.fontSize/2-2)+n}).attr("text-height",i).attr("class",function(t){const e=u(t.startTime);let n=u(t.endTime);t.milestone&&(n=e+i);const r=this.getBBox().width;let a="";t.classes.length>0&&(a=t.classes.join(" "));let o=0;for(let e=0;e<s.length;e++)t.type===s[e]&&(o=e%ge.numberSectionStyles);let l="";return t.active&&(l=t.crit?"activeCritText"+o:"activeText"+o),t.done?l=t.crit?l+" doneCritText"+o:l+" doneText"+o:t.crit&&(l=l+" critText"+o),t.milestone&&(l+=" milestoneText"),r>n-e?n+r+1.5*ge.leftPadding>c?a+" taskTextOutsideLeft taskTextOutside"+o+" "+l:a+" taskTextOutsideRight taskTextOutside"+o+" "+l:a+" taskText taskText"+o+" "+l})}(t,i,f,h,r,0,e),function(t,e){const n=[];let r=0;for(let t=0;t<s.length;t++)n[t]=[s[t],(i=s[t],a=c,l(a)[i]||0)];var i,a;o.append("g").selectAll("text").data(n).enter().append("text").text(function(t){return t[0]}).attr("x",10).attr("y",function(i,a){if(!(a>0))return i[1]*t/2+e;for(let o=0;o<a;o++)return r+=n[a-1][1],i[1]*t/2+r*t+e}).attr("class",function(t){for(let e=0;e<s.length;e++)if(t[0]===s[e])return"sectionTitle sectionTitle"+e%ge.numberSectionStyles;return"sectionTitle"})}(i,f),function(t,e,n,r){const i=o.append("g").attr("class","today"),a=new Date;i.append("line").attr("x1",u(a)+t).attr("x2",u(a)+t).attr("y1",ge.titleTopMargin).attr("y2",r-ge.titleTopMargin).attr("class","today")}(h,0,0,n)}(r,ye,i),void 0!==ge.useWidth&&n.setAttribute("width",ye),o.append("text").text(It.parser.yy.getTitle()).attr("x",ye/2).attr("y",ge.titleTopMargin).attr("class","titleText")},be=n(21),_e=n.n(be);let xe=[],we={};const ke=function(t){void 0===we[t]&&(we[t]={id:t,methods:[],members:[]})},Ee=function(t,e){const n=we[t];"string"==typeof e&&(")"===e.substr(-1)?n.methods.push(e):n.members.push(e))};var Ae={addClass:ke,clear:function(){xe=[],we={}},getClass:function(t){return we[t]},getClasses:function(){return we},getRelations:function(){return xe},addRelation:function(t){b.debug("Adding relation: "+JSON.stringify(t)),ke(t.id1),ke(t.id2),xe.push(t)},addMember:Ee,addMembers:function(t,e){Array.isArray(e)&&e.forEach(e=>Ee(t,e))},cleanupLabel:function(t){return":"===t.substring(0,1)?t.substr(2).trim():t.trim()},lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3}},Te=n(11),Se=n.n(Te);Te.parser.yy=Ae;const De={};let Me=0;const Ce={dividerMargin:10,padding:5,textHeight:10},Oe=function(t){const e=Object.keys(De);for(let n=0;n<e.length;n++)if(De[e[n]].label===t)return e[n]};let Le=0,Ne=0;const Re=function(t,e){b.info("Rendering class "+e);const n=function(t,e,n){const r=t.append("tspan").attr("x",Ce.padding).text(e);n||r.attr("dy",Ce.textHeight)},r="classId"+Me%Ne,i={id:r,label:e.id,width:0,height:0},a=t.append("g").attr("id",r).attr("class","classGroup"),o=a.append("text").attr("x",Ce.padding).attr("y",Ce.textHeight+Ce.padding).text(e.id).node().getBBox().height,u=a.append("line").attr("x1",0).attr("y1",Ce.padding+o+Ce.dividerMargin/2).attr("y2",Ce.padding+o+Ce.dividerMargin/2),s=a.append("text").attr("x",Ce.padding).attr("y",o+Ce.dividerMargin+Ce.textHeight).attr("fill","white").attr("class","classText");let c=!0;e.members.forEach(function(t){n(s,t,c),c=!1});const l=s.node().getBBox(),f=a.append("line").attr("x1",0).attr("y1",Ce.padding+o+Ce.dividerMargin+l.height).attr("y2",Ce.padding+o+Ce.dividerMargin+l.height),h=a.append("text").attr("x",Ce.padding).attr("y",o+2*Ce.dividerMargin+l.height+Ce.textHeight).attr("fill","white").attr("class","classText");c=!0,e.methods.forEach(function(t){n(h,t,c),c=!1});const d=a.node().getBBox();return a.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",d.width+2*Ce.padding).attr("height",d.height+Ce.padding+.5*Ce.dividerMargin),u.attr("x2",d.width+2*Ce.padding),f.attr("x2",d.width+2*Ce.padding),i.width=d.width+2*Ce.padding,i.height=d.height+Ce.padding+.5*Ce.dividerMargin,De[r]=i,Me++,i};var Fe=function(t){Object.keys(t).forEach(function(e){Ce[e]=t[e]})},Pe=function(t,e){Te.parser.yy.clear(),Te.parser.parse(t),b.info("Rendering diagram "+t);const n=a.select(`[id='${e}']`);var r;(r=n).append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),r.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),r.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z");const i=new A.a.Graph({multigraph:!0});i.setGraph({isMultiGraph:!0}),i.setDefaultEdgeLabel(function(){return{}});const o=Ae.getClasses(),u=Object.keys(o);Ne=u.length;for(let t=0;t<u.length;t++){const e=o[u[t]],r=Re(n,e);i.setNode(r.id,r),b.info("Org height: "+r.height)}Ae.getRelations().forEach(function(t){b.info("tjoho"+Oe(t.id1)+Oe(t.id2)+JSON.stringify(t)),i.setEdge(Oe(t.id1),Oe(t.id2),{relation:t})}),_e.a.layout(i),i.nodes().forEach(function(t){void 0!==t&&void 0!==i.node(t)&&(b.debug("Node "+t+": "+JSON.stringify(i.node(t))),a.select("#"+t).attr("transform","translate("+(i.node(t).x-i.node(t).width/2)+","+(i.node(t).y-i.node(t).height/2)+" )"))}),i.edges().forEach(function(t){void 0!==t&&void 0!==i.edge(t)&&(b.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(i.edge(t))),function(t,e,n){const r=function(t){switch(t){case Ae.relationType.AGGREGATION:return"aggregation";case Ae.relationType.EXTENSION:return"extension";case Ae.relationType.COMPOSITION:return"composition";case Ae.relationType.DEPENDENCY:return"dependency"}};e.points=e.points.filter(t=>!Number.isNaN(t.y));const i=e.points,o=a.line().x(function(t){return t.x}).y(function(t){return t.y}).curve(a.curveBasis),u=t.append("path").attr("d",o(i)).attr("id","edge"+Le).attr("class","relation");let s,c,l="";Ce.arrowMarkerAbsolute&&(l=(l=(l=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),"none"!==n.relation.type1&&u.attr("marker-start","url("+l+"#"+r(n.relation.type1)+"Start)"),"none"!==n.relation.type2&&u.attr("marker-end","url("+l+"#"+r(n.relation.type2)+"End)");const f=e.points.length;if(f%2!=0&&f>1){const t=e.points[Math.floor(f/2)],n=e.points[Math.ceil(f/2)];s=(t.x+n.x)/2,c=(t.y+n.y)/2}else{const t=e.points[Math.floor(f/2)];s=t.x,c=t.y}if(void 0!==n.title){const e=t.append("g").attr("class","classLabel"),r=e.append("text").attr("class","label").attr("x",s).attr("y",c).attr("fill","red").attr("text-anchor","middle").text(n.title);window.label=r;const i=r.node().getBBox();e.insert("rect",":first-child").attr("class","box").attr("x",i.x-Ce.padding/2).attr("y",i.y-Ce.padding/2).attr("width",i.width+Ce.padding).attr("height",i.height+Ce.padding)}Le++}(n,i.edge(t),i.edge(t).relation))}),n.attr("height","100%"),n.attr("width","100%"),n.attr("viewBox","0 0 "+(i.graph().width+20)+" "+(i.graph().height+20))};let Be={},Ie=null,qe={master:Ie},Ue="master",je="LR",Ye=0;function ze(){let t="";for(let r=0;r<7;r++)t+="0123456789abcdef"[(e=0,n=16,Math.floor(Math.random()*(n-e))+e)];var e,n;return t}function Ve(t,e){for(b.debug("Entering isfastforwardable:",t.id,e.id);t.seq<=e.seq&&t!==e&&null!=e.parent;){if(Array.isArray(e.parent))return b.debug("In merge commit:",e.parent),Ve(t,Be[e.parent[0]])||Ve(t,Be[e.parent[1]]);e=Be[e.parent]}return b.debug(t.id,e.id),t.id===e.id}let $e={};function He(t,e,n){const r=t.indexOf(e);-1===r?t.push(n):t.splice(r,1,n)}const Ge=function(){const t=Object.keys(Be).map(function(t){return Be[t]});return t.forEach(function(t){b.debug(t.id)}),K.a.orderBy(t,["seq"],["desc"])};var We={setDirection:function(t){je=t},setOptions:function(t){b.debug("options str",t),t=(t=t&&t.trim())||"{}";try{$e=JSON.parse(t)}catch(t){b.error("error while parsing gitGraph options",t.message)}},getOptions:function(){return $e},commit:function(t){const e={id:ze(),message:t,seq:Ye++,parent:null==Ie?null:Ie.id};Ie=e,Be[e.id]=e,qe[Ue]=e.id,b.debug("in pushCommit "+e.id)},branch:function(t){qe[t]=null!=Ie?Ie.id:null,b.debug("in createBranch")},merge:function(t){const e=Be[qe[Ue]],n=Be[qe[t]];if(function(t,e){return t.seq>e.seq&&Ve(e,t)}(e,n))b.debug("Already merged");else{if(Ve(e,n))qe[Ue]=qe[t],Ie=Be[qe[Ue]];else{const e={id:ze(),message:"merged branch "+t+" into "+Ue,seq:Ye++,parent:[null==Ie?null:Ie.id,qe[t]]};Ie=e,Be[e.id]=e,qe[Ue]=e.id}b.debug(qe),b.debug("in mergeBranch")}},checkout:function(t){b.debug("in checkout");const e=qe[Ue=t];Ie=Be[e]},reset:function(t){b.debug("in reset",t);const e=t.split(":")[0];let n=parseInt(t.split(":")[1]),r="HEAD"===e?Ie:Be[qe[e]];for(b.debug(r,n);n>0;)if(n--,!(r=Be[r.parent])){const t="Critical error - unique parent commit not found during reset";throw b.error(t),t}Ie=r,qe[Ue]=r.id},prettyPrint:function(){b.debug(Be),function t(e){const n=K.a.maxBy(e,"seq");let r="";e.forEach(function(t){r+=t===n?"\t*":"\t|"});const i=[r,n.id,n.seq];for(let t in qe)qe[t]===n.id&&i.push(t);if(b.debug(i.join(" ")),Array.isArray(n.parent)){const t=Be[n.parent[0]];He(e,n,t),e.push(Be[n.parent[1]])}else{if(null==n.parent)return;{const t=Be[n.parent];He(e,n,t)}}t(e=K.a.uniqBy(e,"id"))}([Ge()[0]])},clear:function(){Be={},qe={master:Ie=null},Ue="master",Ye=0},getBranchesAsObjArray:function(){const t=[];for(let e in qe)t.push({name:e,commit:Be[qe[e]]});return t},getBranches:function(){return qe},getCommits:function(){return Be},getCommitsArray:Ge,getCurrentBranch:function(){return Ue},getDirection:function(){return je},getHead:function(){return Ie}},Ze=n(17),Xe=n.n(Ze);let Je,Ke={},Qe={nodeSpacing:150,nodeFillColor:"yellow",nodeStrokeWidth:2,nodeStrokeColor:"grey",lineStrokeWidth:4,branchOffset:50,lineColor:"grey",leftMargin:50,branchColors:["#442f74","#983351","#609732","#AA9A39"],nodeRadius:10,nodeLabel:{width:75,height:100,x:-25,y:0}},tn={};function en(t,e,n,r){const i=w(r,a.curveBasis),o=Qe.branchColors[n%Qe.branchColors.length],u=a.line().x(function(t){return Math.round(t.x)}).y(function(t){return Math.round(t.y)}).curve(i);t.append("svg:path").attr("d",u(e)).style("stroke",o).style("stroke-width",Qe.lineStrokeWidth).style("fill","none")}function nn(t,e){e=e||t.node().getBBox();const n=t.node().getCTM();return{left:n.e+e.x*n.a,top:n.f+e.y*n.d,width:e.width,height:e.height}}function rn(t,e,n,r,i){b.debug("svgDrawLineForCommits: ",e,n);const a=nn(t.select("#node-"+e+" circle")),o=nn(t.select("#node-"+n+" circle"));switch(r){case"LR":if(a.left-o.left>Qe.nodeSpacing){const e={x:a.left-Qe.nodeSpacing,y:o.top+o.height/2};en(t,[e,{x:o.left+o.width,y:o.top+o.height/2}],i,"linear"),en(t,[{x:a.left,y:a.top+a.height/2},{x:a.left-Qe.nodeSpacing/2,y:a.top+a.height/2},{x:a.left-Qe.nodeSpacing/2,y:e.y},e],i)}else en(t,[{x:a.left,y:a.top+a.height/2},{x:a.left-Qe.nodeSpacing/2,y:a.top+a.height/2},{x:a.left-Qe.nodeSpacing/2,y:o.top+o.height/2},{x:o.left+o.width,y:o.top+o.height/2}],i);break;case"BT":if(o.top-a.top>Qe.nodeSpacing){const e={x:o.left+o.width/2,y:a.top+a.height+Qe.nodeSpacing};en(t,[e,{x:o.left+o.width/2,y:o.top}],i,"linear"),en(t,[{x:a.left+a.width/2,y:a.top+a.height},{x:a.left+a.width/2,y:a.top+a.height+Qe.nodeSpacing/2},{x:o.left+o.width/2,y:e.y-Qe.nodeSpacing/2},e],i)}else en(t,[{x:a.left+a.width/2,y:a.top+a.height},{x:a.left+a.width/2,y:a.top+Qe.nodeSpacing/2},{x:o.left+o.width/2,y:o.top-Qe.nodeSpacing/2},{x:o.left+o.width/2,y:o.top}],i)}}function an(t,e){return t.select(e).node().cloneNode(!0)}function on(t,e,n,r){let i;const a=Object.keys(Ke).length;if("string"==typeof e)do{if(i=Ke[e],b.debug("in renderCommitHistory",i.id,i.seq),t.select("#node-"+e).size()>0)return;let o;t.append(function(){return an(t,"#def-commit")}).attr("class","commit").attr("id",function(){return"node-"+i.id}).attr("transform",function(){switch(r){case"LR":return"translate("+(i.seq*Qe.nodeSpacing+Qe.leftMargin)+", "+Je*Qe.branchOffset+")";case"BT":return"translate("+(Je*Qe.branchOffset+Qe.leftMargin)+", "+(a-i.seq)*Qe.nodeSpacing+")"}}).attr("fill",Qe.nodeFillColor).attr("stroke",Qe.nodeStrokeColor).attr("stroke-width",Qe.nodeStrokeWidth);for(let t in n)if(n[t].commit===i){o=n[t];break}o&&(b.debug("found branch ",o.name),t.select("#node-"+i.id+" p").append("xhtml:span").attr("class","branch-label").text(o.name+", ")),t.select("#node-"+i.id+" p").append("xhtml:span").attr("class","commit-id").text(i.id),""!==i.message&&"BT"===r&&t.select("#node-"+i.id+" p").append("xhtml:span").attr("class","commit-msg").text(", "+i.message),e=i.parent}while(e&&Ke[e]);Array.isArray(e)&&(b.debug("found merge commmit",e),on(t,e[0],n,r),Je++,on(t,e[1],n,r),Je--)}function un(t,e,n,r){for(r=r||0;e.seq>0&&!e.lineDrawn;)"string"==typeof e.parent?(rn(t,e.id,e.parent,n,r),e.lineDrawn=!0,e=Ke[e.parent]):Array.isArray(e.parent)&&(rn(t,e.id,e.parent[0],n,r),rn(t,e.id,e.parent[1],n,r+1),un(t,Ke[e.parent[1]],n,r+1),e.lineDrawn=!0,e=Ke[e.parent[0]])}var sn=function(t){tn=t},cn=function(t,e,n){try{const r=Xe.a.parser;r.yy=We,b.debug("in gitgraph renderer",t,e,n),r.parse(t+"\n"),Qe=K.a.assign(Qe,tn,We.getOptions()),b.debug("effective options",Qe);const i=We.getDirection();Ke=We.getCommits();const o=We.getBranchesAsObjArray();"BT"===i&&(Qe.nodeLabel.x=o.length*Qe.branchOffset,Qe.nodeLabel.width="100%",Qe.nodeLabel.y=-2*Qe.nodeRadius);const u=a.select(`[id="${e}"]`);!function(t){t.append("defs").append("g").attr("id","def-commit").append("circle").attr("r",Qe.nodeRadius).attr("cx",0).attr("cy",0),t.select("#def-commit").append("foreignObject").attr("width",Qe.nodeLabel.width).attr("height",Qe.nodeLabel.height).attr("x",Qe.nodeLabel.x).attr("y",Qe.nodeLabel.y).attr("class","node-label").attr("requiredFeatures","http://www.w3.org/TR/SVG11/feature#Extensibility").append("p").html("")}(u),Je=1;for(let t in o){const e=o[t];on(u,e.commit.id,o,i),un(u,e.commit,i),Je++}u.attr("height",function(){return"BT"===i?Object.keys(Ke).length*Qe.nodeSpacing:(o.length+1)*Qe.branchOffset})}catch(t){b.error("Error while rendering gitgraph"),b.error(t.message)}},ln="",fn=!1;var hn={setMessage:t=>{b.debug("Setting message to: "+t),ln=t},getMessage:()=>ln,setInfo:t=>{fn=t},getInfo:()=>fn},dn=n(18),pn=n.n(dn);const gn={};var yn=function(t){Object.keys(t).forEach(function(e){gn[e]=t[e]})},mn=(t,e,n)=>{try{const r=pn.a.parser;r.yy=hn,b.debug("Renering info diagram\n"+t),r.parse(t),b.debug("Parsed info diagram");const i=a.select("#"+e);i.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size","32px").style("text-anchor","middle").text("v "+n),i.attr("height",100),i.attr("width",400)}catch(t){b.error("Error while rendering info diagram"),b.error(t.message)}};let vn={},bn="";var _n={addSection:function(t,e){void 0===vn[t]&&(vn[t]=e,b.debug("Added new section :",t))},getSections:()=>vn,cleanupValue:function(t){return":"===t.substring(0,1)?(t=t.substring(1).trim(),Number(t.trim())):Number(t.trim())},clear:function(){vn={},bn=""},setTitle:function(t){bn=t},getTitle:function(){return bn}},xn=n(19),wn=n.n(xn);const kn={};let En;var An=function(t){Object.keys(t).forEach(function(e){kn[e]=t[e]})},Tn=(t,e,n)=>{try{const n=wn.a.parser;n.yy=_n,b.debug("Rendering info diagram\n"+t),n.yy.clear(),n.parse(t),b.debug("Parsed info diagram");const f=document.getElementById(e);void 0===(En=f.parentElement.offsetWidth)&&(En=1200),void 0!==kn.useWidth&&(En=kn.useWidth);const h=450;f.setAttribute("height","100%"),f.setAttribute("viewBox","0 0 "+En+" "+h);var r=En,i=Math.min(r,450)/2-40,o=a.select("#"+e).append("svg").attr("width",r).attr("height",450).append("g").attr("transform","translate("+r/2+",225)"),u=_n.getSections();b.info(u);var s=a.scaleOrdinal().domain(u).range(a.schemeSet2),c=a.pie().value(function(t){return t.value})(a.entries(u)),l=a.arc().innerRadius(0).outerRadius(i);o.selectAll("mySlices").data(c).enter().append("path").attr("d",l).attr("fill",function(t){return s(t.data.key)}).attr("stroke","black").style("stroke-width","2px").style("opacity",.7),o.selectAll("mySlices").data(c).enter().append("text").text(function(t){return t.data.key}).attr("transform",function(t){return"translate("+l.centroid(t)+")"}).style("text-anchor","middle").style("font-size",17),o.append("text").text(n.yy.getTitle()).attr("x",0).attr("y",-(h-50)/2).attr("class","pieTitleText")}catch(t){b.error("Error while rendering info diagram"),b.error(t.message)}};const Sn={};for(const t of["default","forest","dark","neutral"])Sn[t]=n(46)(`./${t}/index.scss`);const Dn={theme:"default",themeCSS:void 0,logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,flowchart:{htmlLabels:!0,curve:"linear"},sequence:{diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,mirrorActors:!0,bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,showSequenceNumbers:!1},gantt:{titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,leftPadding:75,gridLineStartPadding:35,fontSize:11,fontFamily:'"Open-Sans", "sans-serif"',numberSectionStyles:4,axisFormat:"%Y-%m-%d"},class:{},git:{}};_(Dn.logLevel),l(Dn);const Mn=function(t){const e=Object.keys(t);for(let n=0;n<e.length;n++)if("object"==typeof t[e[n]]&&null!=t[e[n]]){const r=Object.keys(t[e[n]]);for(let i=0;i<r.length;i++)b.debug("Setting conf ",e[n],"-",r[i]),void 0===Dn[e[n]]&&(Dn[e[n]]={}),b.debug("Setting config: "+e[n]+" "+r[i]+" to "+t[e[n]][r[i]]),Dn[e[n]][r[i]]=t[e[n]][r[i]]}else Dn[e[n]]=t[e[n]]};var Cn={render:function(t,e,n,r){if(void 0!==r)r.innerHTML="",a.select(r).append("div").attr("id","d"+t).append("svg").attr("id",t).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg").append("g");else{const e=document.querySelector("#d"+t);e&&(e.innerHTML=""),a.select("body").append("div").attr("id","d"+t).append("svg").attr("id",t).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg").append("g")}window.txt=e,e=function(t){let e=t;return e=(e=(e=e.replace(/style.*:\S*#.*;/g,function(t){return t.substring(0,t.length-1)})).replace(/classDef.*:\S*#.*;/g,function(t){return t.substring(0,t.length-1)})).replace(/#\w+;/g,function(t){const e=t.substring(1,t.length-1);return/^\+?\d+$/.test(e)?"fl°°"+e+"¶ß":"fl°"+e+"¶ß"})}(e);const i=a.select("#d"+t).node(),o=k.detectType(e),c=i.firstChild,l=c.firstChild;let f=Sn[Dn.theme];if(void 0===f&&(f=""),void 0!==Dn.themeCSS&&(f+=`\n${Dn.themeCSS}`),"flowchart"===o){const t=ut(e);for(const e in t)f+=`\n.${e} > * { ${t[e].styles.join(" !important; ")} !important; }`}const h=document.createElement("style");h.innerHTML=u()(f,`#${t}`),c.insertBefore(h,l);const d=document.createElement("style"),p=window.getComputedStyle(c);switch(d.innerHTML=`#${t} {\n color: ${p.color};\n font: ${p.font};\n }`,c.insertBefore(d,l),o){case"git":Dn.flowchart.arrowMarkerAbsolute=Dn.arrowMarkerAbsolute,sn(Dn.git),cn(e,t,!1);break;case"flowchart":Dn.flowchart.arrowMarkerAbsolute=Dn.arrowMarkerAbsolute,ot(Dn.flowchart),st(e,t,!1);break;case"sequence":Dn.sequence.arrowMarkerAbsolute=Dn.arrowMarkerAbsolute,Dn.sequenceDiagram?(Pt(Object.assign(Dn.sequence,Dn.sequenceDiagram)),console.error("`mermaid config.sequenceDiagram` has been renamed to `config.sequence`. Please update your mermaid config.")):Pt(Dn.sequence),Bt(e,t);break;case"gantt":Dn.gantt.arrowMarkerAbsolute=Dn.arrowMarkerAbsolute,me(Dn.gantt),ve(e,t);break;case"class":Dn.class.arrowMarkerAbsolute=Dn.arrowMarkerAbsolute,Fe(Dn.class),Pe(e,t);break;case"info":Dn.class.arrowMarkerAbsolute=Dn.arrowMarkerAbsolute,yn(Dn.class),mn(e,t,s.version);break;case"pie":Dn.class.arrowMarkerAbsolute=Dn.arrowMarkerAbsolute,An(Dn.class),Tn(e,t,s.version)}a.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns","http://www.w3.org/1999/xhtml");let g="";Dn.arrowMarkerAbsolute&&(g=(g=(g=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)"));let y=a.select("#d"+t).node().innerHTML.replace(/url\(#arrowhead/g,"url("+g+"#arrowhead","g");if(y=function(t){let e=t;return e=(e=(e=e.replace(/fl°°/g,function(){return"&#"})).replace(/fl°/g,function(){return"&"})).replace(/¶ß/g,function(){return";"})}(y),void 0!==n)switch(o){case"flowchart":n(y,H.bindFunctions);break;case"gantt":n(y,de.bindFunctions);break;default:n(y)}else b.debug("CB = undefined!");const m=a.select("#d"+t).node();return null!==m&&"function"==typeof m.remove&&a.select("#d"+t).node().remove(),y},parse:function(t){const e=k.detectType(t);let n;switch(b.debug("Type "+e),e){case"git":(n=Xe.a).parser.yy=We;break;case"flowchart":H.clear(),(n=W.a).parser.yy=H;break;case"sequence":(n=vt.a).parser.yy=Mt;break;case"gantt":(n=qt.a).parser.yy=de;break;case"class":(n=Se.a).parser.yy=Ae;break;case"info":b.debug("info info info"),console.warn("In API",s.version),(n=pn.a).parser.yy=hn;break;case"pie":b.debug("pie"),(n=wn.a).parser.yy=_n}n.parser.yy.parseError=((t,e)=>{throw{str:t,hash:e}}),n.parse(t)},initialize:function(t){b.debug("Initializing mermaidAPI ",s.version),"object"==typeof t&&Mn(t),l(Dn),_(Dn.logLevel)},getConfig:f};const On=function(){let t;Ln.startOnLoad?(t=Cn.getConfig()).startOnLoad&&Ln.init():void 0===Ln.startOnLoad&&(b.debug("In start, no config"),(t=Cn.getConfig()).startOnLoad&&Ln.init())};"undefined"!=typeof document&&
12/*!
13 * Wait for document loaded before starting the execution
14 */
15window.addEventListener("load",function(){On()},!1);const Ln={startOnLoad:!0,htmlLabels:!0,mermaidAPI:Cn,parse:Cn.parse,render:Cn.render,init:function(){const t=Cn.getConfig();let e,n,r;b.debug("Starting rendering diagrams"),arguments.length>=2?(
16/*! sequence config was passed as #1 */
17void 0!==arguments[0]&&(Ln.sequenceConfig=arguments[0]),e=arguments[1]):e=arguments[0],"function"==typeof arguments[arguments.length-1]?(n=arguments[arguments.length-1],b.debug("Callback function found")):void 0!==t.mermaid&&("function"==typeof t.mermaid.callback?(n=t.mermaid.callback,b.debug("Callback function found")):b.debug("No Callback function found")),e=void 0===e?document.querySelectorAll(".mermaid"):"string"==typeof e?document.querySelectorAll(e):e instanceof window.Node?[e]:e,b.debug("Start On Load before: "+Ln.startOnLoad),void 0!==Ln.startOnLoad&&(b.debug("Start On Load inner: "+Ln.startOnLoad),Cn.initialize({startOnLoad:Ln.startOnLoad})),void 0!==Ln.ganttConfig&&Cn.initialize({gantt:Ln.ganttConfig});for(let t=0;t<e.length;t++){const a=e[t];
18/*! Check if previously processed */if(a.getAttribute("data-processed"))continue;a.setAttribute("data-processed",!0);const o=`mermaid-${Date.now()}`;r=a.innerHTML,r=i.a.decode(r).trim().replace(/<br>/gi,"<br/>"),Cn.render(o,r,(t,e)=>{a.innerHTML=t,void 0!==n&&n(o),e&&e(a)},a)}},initialize:function(t){b.debug("Initializing mermaid "),void 0!==t.mermaid&&(void 0!==t.mermaid.startOnLoad&&(Ln.startOnLoad=t.mermaid.startOnLoad),void 0!==t.mermaid.htmlLabels&&(Ln.htmlLabels=t.mermaid.htmlLabels)),Cn.initialize(t)},contentLoaded:On};e.default=Ln}]).default});
19//# sourceMappingURL=mermaid.min.js.map
\No newline at end of file