1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3140],{55823:(t,e,n)=>{n.d(e,{V:()=>v});var r,i=n(12115),o=n(32599),a=n(75484),u=n(72689);function s({color:t,dimensions:e,lineWidth:n}){return i.createElement("path",{stroke:t,strokeWidth:n,d:`M${e[0]/2} 0 V${e[1]} M0 ${e[1]/2} H${e[0]}`})}function l({color:t,radius:e}){return i.createElement("circle",{cx:e,cy:e,r:e,fill:t})}!function(t){t.Lines="lines",t.Dots="dots",t.Cross="cross"}(r||(r={}));let c={[r.Dots]:"#91919a",[r.Lines]:"#eee",[r.Cross]:"#e2e2e2"},h={[r.Dots]:1,[r.Lines]:1,[r.Cross]:6},f=t=>({transform:t.transform,patternId:`pattern-${t.rfId}`});function p({id:t,variant:e=r.Dots,gap:n=20,size:p,lineWidth:v=1,offset:m=2,color:d,style:y,className:_}){let g=(0,i.useRef)(null),{transform:w,patternId:A}=(0,a.Pj)(f,u.x),b=d||c[e],x=p||h[e],E=e===r.Dots,z=e===r.Cross,k=Array.isArray(n)?n:[n,n],M=[k[0]*w[2]||1,k[1]*w[2]||1],S=x*w[2],T=z?[S,S]:M,C=E?[S/m,S/m]:[T[0]/m,T[1]/m];return i.createElement("svg",{className:(0,o.A)(["react-flow__background",_]),style:{...y,position:"absolute",width:"100%",height:"100%",top:0,left:0},ref:g,"data-testid":"rf__background"},i.createElement("pattern",{id:A+t,x:w[0]%M[0],y:w[1]%M[1],width:M[0],height:M[1],patternUnits:"userSpaceOnUse",patternTransform:`translate(-${C[0]},-${C[1]})`},E?i.createElement(l,{color:b,radius:S/m}):i.createElement(s,{dimensions:T,color:b,lineWidth:v})),i.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:`url(#${A+t})`}))}p.displayName="Background";var v=(0,i.memo)(p)},29405:(t,e,n)=>{n.d(e,{H:()=>m});var r=n(12115),i=n(32599),o=n(72689),a=n(75484);function u(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},r.createElement("path",{d:"M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z"}))}function s(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 5"},r.createElement("path",{d:"M0 0h32v4.2H0z"}))}function l(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 30"},r.createElement("path",{d:"M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0027.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94c-.531 0-.939-.4-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z"}))}function c(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32"},r.createElement("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z"}))}function h(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32"},r.createElement("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047z"}))}let f=({children:t,className:e,...n})=>r.createElement("button",{type:"button",className:(0,i.A)(["react-flow__controls-button",e]),...n},t);f.displayName="ControlButton";let p=t=>({isInteractive:t.nodesDraggable||t.nodesConnectable||t.elementsSelectable,minZoomReached:t.transform[2]<=t.minZoom,maxZoomReached:t.transform[2]>=t.maxZoom}),v=({style:t,showZoom:e=!0,showFitView:n=!0,showInteractive:v=!0,fitViewOptions:m,onZoomIn:d,onZoomOut:y,onFitView:_,onInteractiveChange:g,className:w,children:A,position:b="bottom-left"})=>{let x=(0,a.PI)(),[E,z]=(0,r.useState)(!1),{isInteractive:k,minZoomReached:M,maxZoomReached:S}=(0,a.Pj)(p,o.x),{zoomIn:T,zoomOut:C,fitView:N}=(0,a.VH)();return((0,r.useEffect)(()=>{z(!0)},[]),E)?r.createElement(a.Zk,{className:(0,i.A)(["react-flow__controls",w]),position:b,style:t,"data-testid":"rf__controls"},e&&r.createElement(r.Fragment,null,r.createElement(f,{onClick:()=>{T(),d?.()},className:"react-flow__controls-zoomin",title:"zoom in","aria-label":"zoom in",disabled:S},r.createElement(u,null)),r.createElement(f,{onClick:()=>{C(),y?.()},className:"react-flow__controls-zoomout",title:"zoom out","aria-label":"zoom out",disabled:M},r.createElement(s,null))),n&&r.createElement(f,{className:"react-flow__controls-fitview",onClick:()=>{N(m),_?.()},title:"fit view","aria-label":"fit view"},r.createElement(l,null)),v&&r.createElement(f,{className:"react-flow__controls-interactive",onClick:()=>{x.setState({nodesDraggable:!k,nodesConnectable:!k,elementsSelectable:!k}),g?.(!k)},title:"toggle interactivity","aria-label":"toggle interactivity"},k?r.createElement(h,null):r.createElement(c,null)),A):null};v.displayName="Controls";var m=(0,r.memo)(v)},32599:(t,e,n)=>{n.d(e,{A:()=>function t(e){if("string"==typeof e||"number"==typeof e)return""+e;let n="";if(Array.isArray(e))for(let r=0,i;r<e.length;r++)""!==(i=t(e[r]))&&(n+=(n&&" ")+i);else for(let t in e)e[t]&&(n+=(n&&" ")+t);return n}})},26714:(t,e,n)=>{n.d(e,{A:()=>u});var r={value:()=>{}};function i(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r||/[\s.]/.test(t))throw Error("illegal type: "+t);r[t]=[]}return new o(r)}function o(t){this._=t}function a(t,e,n){for(var i=0,o=t.length;i<o;
1++i)if(t[i].name===e){t[i]=r,t=t.slice(0,i).concat(t.slice(i+1));break}return null!=n&&t.push({name:e,value:n}),t}o.prototype=i.prototype={constructor:o,on:function(t,e){var n,r=this._,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 Error("unknown type: "+t);return{type:t,name:e}}),o=-1,u=i.length;if(arguments.length<2){for(;++o<u;)if((n=(t=i[o]).type)&&(n=function(t,e){for(var n,r=0,i=t.length;r<i;++r)if((n=t[r]).name===e)return n.value}(r[n],t.name)))return n;return}if(null!=e&&"function"!=typeof e)throw Error("invalid callback: "+e);for(;++o<u;)if(n=(t=i[o]).type)r[n]=a(r[n],t.name,e);else if(null==e)for(n in r)r[n]=a(r[n],t.name,null);return this},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new o(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,i=Array(n),o=0;o<n;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw Error("unknown type: "+t);for(r=this._[t],o=0,n=r.length;o<n;++o)r[o].value.apply(e,i)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(e,n)}};let u=i},18353:(t,e,n)=>{n.d(e,{A:()=>v});var r=n(26714),i=n(5204),o=n(14954),a=n(86229),u=n(169);let s=t=>()=>t;function l(t,{sourceEvent:e,subject:n,target:r,identifier:i,active:o,x:a,y:u,dx:s,dy:l,dispatch:c}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},identifier:{value:i,enumerable:!0,configurable:!0},active:{value:o,enumerable:!0,configurable:!0},x:{value:a,enumerable:!0,configurable:!0},y:{value:u,enumerable:!0,configurable:!0},dx:{value:s,enumerable:!0,configurable:!0},dy:{value:l,enumerable:!0,configurable:!0},_:{value:c}})}function c(t){return!t.ctrlKey&&!t.button}function h(){return this.parentNode}function f(t,e){return null==e?{x:t.x,y:t.y}:e}function p(){return navigator.maxTouchPoints||"ontouchstart"in this}function v(){var t,e,n,v,m=c,d=h,y=f,_=p,g={},w=(0,r.A)("start","drag","end"),A=0,b=0;function x(t){t.on("mousedown.drag",E).filter(_).on("touchstart.drag",M).on("touchmove.drag",S,u.vr).on("touchend.drag touchcancel.drag",T).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function E(r,o){if(!v&&m.call(this,r,o)){var s=C(this,d.call(this,r,o),r,o,"mouse");s&&((0,i.A)(r.view).on("mousemove.drag",z,u.Rw).on("mouseup.drag",k,u.Rw),(0,a.A)(r.view),(0,u.GK)(r),n=!1,t=r.clientX,e=r.clientY,s("start",r))}}function z(r){if((0,u.Ay)(r),!n){var i=r.clientX-t,o=r.clientY-e;n=i*i+o*o>b}g.mouse("drag",r)}function k(t){(0,i.A)(t.view).on("mousemove.drag mouseup.drag",null),(0,a.y)(t.view,n),(0,u.Ay)(t),g.mouse("end",t)}function M(t,e){if(m.call(this,t,e)){var n,r,i=t.changedTouches,o=d.call(this,t,e),a=i.length;for(n=0;n<a;++n)(r=C(this,o,t,e,i[n].identifier,i[n]))&&((0,u.GK)(t),r("start",t,i[n]))}}function S(t){var e,n,r=t.changedTouches,i=r.length;for(e=0;e<i;++e)(n=g[r[e].identifier])&&((0,u.Ay)(t),n("drag",t,r[e]))}function T(t){var e,n,r=t.changedTouches,i=r.length;for(v&&clearTimeout(v),v=setTimeout(function(){v=null},500),e=0;e<i;++e)(n=g[r[e].identifier])&&((0,u.GK)(t),n("end",t,r[e]))}function C(t,e,n,r,i,a){var u,s,c,h=w.copy(),f=(0,o.A)(a||n,e);if(null!=(c=y.call(t,new l("beforestart",{sourceEvent:n,target:x,identifier:i,active:A,x:f[0],y:f[1],dx:0,dy:0,dispatch:h}),r)))return u=c.x-f[0]||0,s=c.y-f[1]||0,function n(a,p,v){var m,d=f;switch(a){case"start":g[i]=n,m=A++;break;case"end":delete g[i],--A;case"drag":f=(0,o.A)(v||p,e),m=A}h.call(a,t,new l(a,{sourceEvent:p,subject:c,target:x,identifier:i,active:m,x:f[0]+u,y:f[1]+s,dx:f[0]-d[0],dy:f[1]-d[1],dispatch:h}),r)}}return x.filter=function(t){return arguments.length?(m="function"==typeof t?t:s(!!t),x):m},x.container=function(t){return arguments.length?(d="function"==typeof t?t:s(t),x):d},x.subject=function(t){return arguments.length?(y="function"==typeof t?t:s(t),x):y},x.touchable=function(t){return arguments.length?(_="function"==typeof t?t:s(!!t),x):_},x.on=function(){var t=w.on.apply(w,arguments);return t===w?x:t},x.clickDistance=function(t){return arguments.length?(b=(t=+t)*t,x):Math.sqrt(b)},x}l.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t}},86229:(t,e,n)=>{n.d(e,{A:()=>
1o,y:()=>a});var r=n(5204),i=n(169);function o(t){var e=t.document.documentElement,n=(0,r.A)(t).on("dragstart.drag",i.Ay,i.Rw);"onselectstart"in e?n.on("selectstart.drag",i.Ay,i.Rw):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")}function a(t,e){var n=t.document.documentElement,o=(0,r.A)(t).on("dragstart.drag",null);e&&(o.on("click.drag",i.Ay,i.Rw),setTimeout(function(){o.on("click.drag",null)},0)),"onselectstart"in n?o.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}},169:(t,e,n)=>{n.d(e,{Ay:()=>a,GK:()=>o,Rw:()=>i,vr:()=>r});let r={passive:!1},i={capture:!0,passive:!1};function o(t){t.stopImmediatePropagation()}function a(t){t.preventDefault(),t.stopImmediatePropagation()}},6694:(t,e,n)=>{function r(t){return function(){return this.matches(t)}}function i(t){return function(e){return e.matches(t)}}n.d(e,{A:()=>r,j:()=>i})},40363:(t,e,n)=>{n.d(e,{A:()=>i});var r=n(61968);function i(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),r.A.hasOwnProperty(e)?{space:r.A[e],local:t}:t}},61968:(t,e,n)=>{n.d(e,{A:()=>i,g:()=>r});var r="http://www.w3.org/1999/xhtml";let i={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},14954:(t,e,n)=>{n.d(e,{A:()=>r});function r(t,e){if(t=function(t){let e;for(;e=t.sourceEvent;)t=e;return t}(t),void 0===e&&(e=t.currentTarget),e){var n=e.ownerSVGElement||e;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=t.clientX,r.y=t.clientY,[(r=r.matrixTransform(e.getScreenCTM().inverse())).x,r.y]}if(e.getBoundingClientRect){var i=e.getBoundingClientRect();return[t.clientX-i.left-e.clientLeft,t.clientY-i.top-e.clientTop]}}return[t.pageX,t.pageY]}},5204:(t,e,n)=>{n.d(e,{A:()=>i});var r=n(32260);function i(t){return"string"==typeof t?new r.LN([[document.querySelector(t)]],[document.documentElement]):new r.LN([[t]],r.zr)}},32260:(t,e,n)=>{n.d(e,{LN:()=>Y,Ay:()=>H,zr:()=>D});var r=n(38861),i=n(50844),o=n(6694),a=Array.prototype.find;function u(){return this.firstElementChild}var s=Array.prototype.filter;function l(){return Array.from(this.children)}function c(t){return Array(t.length)}function h(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function f(t,e,n,r,i,o){for(var a,u=0,s=e.length,l=o.length;u<l;++u)(a=e[u])?(a.__data__=o[u],r[u]=a):n[u]=new h(t,o[u]);for(;u<s;++u)(a=e[u])&&(i[u]=a)}function p(t,e,n,r,i,o,a){var u,s,l,c=new Map,f=e.length,p=o.length,v=Array(f);for(u=0;u<f;++u)(s=e[u])&&(v[u]=l=a.call(s,s.__data__,u,e)+"",c.has(l)?i[u]=s:c.set(l,s));for(u=0;u<p;++u)l=a.call(t,o[u],u,o)+"",(s=c.get(l))?(r[u]=s,s.__data__=o[u],c.delete(l)):n[u]=new h(t,o[u]);for(u=0;u<f;++u)(s=e[u])&&c.get(v[u])===s&&(i[u]=s)}function v(t){return t.__data__}function m(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}h.prototype={constructor:h,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 d=n(40363),y=n(27308);function _(t){return t.trim().split(/^|\s+/)}function g(t){return t.classList||new w(t)}function w(t){this._node=t,this._names=_(t.getAttribute("class")||"")}function A(t,e){for(var n=g(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function b(t,e){for(var n=g(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function x(){this.textContent=""}function E(){this.innerHTML=""}function z(){this.nextSibling&&this.parentNode.appendChild(this)}function k(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}w.prototype={add:function(t){0>this._names.indexOf(t)&&(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}};var M=n(61968);function S(t){var e=(0,d.A)(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===M.g&&e.documentElement.namespaceURI===M.g?e.createElement(t):e.createElementNS(n,t)}})(e)}function T(){return null}function C(){var t=this.parentNode;t&&t.removeChild(this)}function N(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function j(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function P(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r<o;++r)(n=e[r],t.type&&n.type!==t.type||n.name!==t.name)?e[++i]=n:this.removeEventListener(n.type,n.listener,n.options);++i?e.length=i:delete this.__on}}}function V(t,e,n){return function(){var r,i=this.__on,o=function(t){e.call(this,t,this.__data__)};if(i){for(var a=0,u=i.length;a<u;++a)if((r=i[a]).type===t.type&&r.name===t.name){this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=n),r.value=e;return}}this.addEventListener(t.type,o,n),r={type:t.type,name:t.name,value:e,listener:o,options:n},i?i.push(r):this.__on=[r]}}var X=n(68304);function O(t,e,n){var r=(0,X.A)(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.dis
1patchEvent(i)}var D=[null];function Y(t,e){this._groups=t,this._parents=e}function B(){return new Y([[document.documentElement]],D)}Y.prototype=B.prototype={constructor:Y,select:function(t){"function"!=typeof t&&(t=(0,r.A)(t));for(var e=this._groups,n=e.length,i=Array(n),o=0;o<n;++o)for(var a,u,s=e[o],l=s.length,c=i[o]=Array(l),h=0;h<l;++h)(a=s[h])&&(u=t.call(a,a.__data__,h,s))&&("__data__"in a&&(u.__data__=a.__data__),c[h]=u);return new Y(i,this._parents)},selectAll:function(t){if("function"==typeof t){var e;e=t,t=function(){var t;return t=e.apply(this,arguments),null==t?[]:Array.isArray(t)?t:Array.from(t)}}else t=(0,i.A)(t);for(var n=this._groups,r=n.length,o=[],a=[],u=0;u<r;++u)for(var s,l=n[u],c=l.length,h=0;h<c;++h)(s=l[h])&&(o.push(t.call(s,s.__data__,h,l)),a.push(s));return new Y(o,a)},selectChild:function(t){var e;return this.select(null==t?u:(e="function"==typeof t?t:(0,o.j)(t),function(){return a.call(this.children,e)}))},selectChildren:function(t){var e;return this.selectAll(null==t?l:(e="function"==typeof t?t:(0,o.j)(t),function(){return s.call(this.children,e)}))},filter:function(t){"function"!=typeof t&&(t=(0,o.A)(t));for(var e=this._groups,n=e.length,r=Array(n),i=0;i<n;++i)for(var a,u=e[i],s=u.length,l=r[i]=[],c=0;c<s;++c)(a=u[c])&&t.call(a,a.__data__,c,u)&&l.push(a);return new Y(r,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,v);var n=e?p:f,r=this._parents,i=this._groups;"function"!=typeof t&&(A=t,t=function(){return A});for(var o=i.length,a=Array(o),u=Array(o),s=Array(o),l=0;l<o;++l){var c=r[l],h=i[l],m=h.length,d="object"==typeof(w=t.call(c,c&&c.__data__,l,r))&&"length"in w?w:Array.from(w),y=d.length,_=u[l]=Array(y),g=a[l]=Array(y);n(c,h,_,g,s[l]=Array(m),d,e);for(var w,A,b,x,E=0,z=0;E<y;++E)if(b=_[E]){for(E>=z&&(z=E+1);!(x=g[z])&&++z<y;);b._next=x||null}}return(a=new Y(a,r))._enter=u,a._exit=s,a},enter:function(){return new Y(this._enter||this._groups.map(c),this._parents)},exit:function(){return new Y(this._exit||this._groups.map(c),this._parents)},join:function(t,e,n){var r=this.enter(),i=this,o=this.exit();return"function"==typeof t?(r=t(r))&&(r=r.selection()):r=r.append(t+""),null!=e&&(i=e(i))&&(i=i.selection()),null==n?o.remove():n(o),r&&i?r.merge(i).order():i},merge:function(t){for(var e=t.selection?t.selection():t,n=this._groups,r=e._groups,i=n.length,o=r.length,a=Math.min(i,o),u=Array(i),s=0;s<a;++s)for(var l,c=n[s],h=r[s],f=c.length,p=u[s]=Array(f),v=0;v<f;++v)(l=c[v]||h[v])&&(p[v]=l);for(;s<i;++s)u[s]=n[s];return new Y(u,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=m);for(var n=this._groups,r=n.length,i=Array(r),o=0;o<r;++o){for(var a,u=n[o],s=u.length,l=i[o]=Array(s),c=0;c<s;++c)(a=u[c])&&(l[c]=a);l.sort(e)}return new Y(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null},size:function(){let t=0;for(let e of this)++t;return 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,o=e[n],a=0,u=o.length;a<u;++a)(i=o[a])&&t.call(i,i.__data__,a,o);return this},attr:function(t,e){var n=(0,d.A)(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:y.A,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=_(t+"");
1if(arguments.length<2){for(var r=g(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof e?function(t,e){return function(){(e.apply(this,arguments)?A:b)(this,t)}}:e?function(t){return function(){A(this,t)}}:function(t){return function(){b(this,t)}})(n,e))},text:function(t){return arguments.length?this.each(null==t?x:("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?E:("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(z)},lower:function(){return this.each(k)},append:function(t){var e="function"==typeof t?t:S(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})},insert:function(t,e){var n="function"==typeof t?t:S(t),i=null==e?T:"function"==typeof e?e:(0,r.A)(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)})},remove:function(){return this.each(C)},clone:function(t){return this.select(t?j:N)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var r,i,o=(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}}),a=o.length;if(arguments.length<2){var u=this.node().__on;if(u){for(var s,l=0,c=u.length;l<c;++l)for(r=0,s=u[l];r<a;++r)if((i=o[r]).type===s.type&&i.name===s.name)return s.value}return}for(r=0,u=e?V:P;r<a;++r)this.each(u(o[r],e,n));return this},dispatch:function(t,e){return this.each(("function"==typeof e?function(t,e){return function(){return O(this,t,e.apply(this,arguments))}}:function(t,e){return function(){return O(this,t,e)}})(t,e))},[Symbol.iterator]:function*(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r,i=t[e],o=0,a=i.length;o<a;++o)(r=i[o])&&(yield r)}};let H=B},27308:(t,e,n)=>{n.d(e,{A:()=>i,j:()=>o});var r=n(68304);function i(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)):o(this.node(),t)}function o(t,e){return t.style.getPropertyValue(e)||(0,r.A)(t).getComputedStyle(t,null).getPropertyValue(e)}},38861:(t,e,n)=>{function r(){}function i(t){return null==t?r:function(){return this.querySelector(t)}}n.d(e,{A:()=>i})},50844:(t,e,n)=>{function r(){return[]}function i(t){return null==t?r:function(){return this.querySelectorAll(t)}}n.d(e,{A:()=>i})},68304:(t,e,n)=>{n.d(e,{A:()=>r});function r(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}},86042:(t,e,n)=>{n.d(e,{s_:()=>ty,GS:()=>ts});var r,i=n(26714),o=n(86229);function a(t){return((t=Math.exp(t))+1/t)/2}let u=function t(e,n,r){function i(t,i){var o,u,s=t[0],l=t[1],c=t[2],h=i[0],f=i[1],p=i[2],v=h-s,m=f-l,d=v*v+m*m;if(d<1e-12)u=Math.log(p/c)/e,o=function(t){return[s+t*v,l+t*m,c*Math.exp(e*t*u)]};else{var y=Math.sqrt(d),_=(p*p-c*c+r*d)/(2*c*n*y),g=(p*p-c*c-r*d)/(2*p*n*y),w=Math.log(Math.sqrt(_*_+1)-_);u=(Math.log(Math.sqrt(g*g+1)-g)-w)/e,o=function(t){var r,i,o=t*u,h=a(w),f=c/(n*y)*(h*(((r=Math.exp(2*(r=e*o+w)))-1)/(r+1))-((i=Math.exp(i=w))-1/i)/2);return[s+f*v,l+f*m,c*h/a(e*o+w)]}}return o.duration=1e3*u*e/Math.SQRT2,o}return i.rho=function(e){var n=Math.max(.001,+e),r=n*n;return t(n,r,r*r)},i}(Math.SQRT2,2,4);var s,l,c=n(5204),h=n(14954),f=n(32260),p=0,v=0,m=0,d=0,y=0,_=0,g="object"==typeof performance&&performance.now?performance:Date,w="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function A(){return y||(w(b),y=g.now()+_)}function b(){y=0}function x(){this._call=this._time=this._next=null}function E(t,e,n){var r=new x;return r.restart(t,e,n),r}function z(){y=(d=g.now())+_,p=v=0;try{!function(){A(),++p;for(var t,e=s;e;)(t=y-e._time)>=0&&e._call.call(void 0,t),e=e._next;--p}()}finally{p=0,function(){for(var t,e,n=s,r=1/0;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:s=e);l=t,M(r)}(),y=0}}function k(){var t=g.now(),e=t-d;e>1e3&&(_-=e,d=t)}function M(t){!p&&(v&&(v=clearTimeout(v)),t-y>24?(t<1/0&&(v=setTimeout(z,t-g.now()-_)),m&&(m=clearInterval(m))):(m||(d=g.now(),m=setInterval(k,1e3)),p=1,w(z)))}function S(t,e,n){var r=new x;return e=null==e?0:+e,r.restart(n=>{r.stop(),t(n+e)},e,n),r}x.prototype=E.prototype={constructor:x,restart:function(t,e,n){if("function"!=typeof t)throw TypeError("callback is not a function");n=(null==n?A():+n)+(null==e?0:+e),this._next||l===this||(l?l._next=this:s=this,l=this),this._call=t,this._time=n,M()},stop:function(){this._call&&(this._call=null,this._time=1/0,M())}};var T=(0,i.A)("start","end","cancel","interrupt"),C=[];function N(t,e,n,r,i,o){var a=t.__transition;if(a){if(n in a)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function o(s){var l,c,h,f;if(1!==n.state)return u();for(l in i)if((f=i[l]).name===n.name){if(3===f.state)return S(o);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[l]):+l<e&&(f.state=6,f.timer.stop(),f.on.call("cancel",t,t.__data__,f.index,f.group),delete i[l])}if(S(function(){3===n.state&&(n.state=4,n.timer.restart(a,n.delay,n.time),a(s))}),n.state=2,n.on.call("start",t,t.__data__,n.index,n.group),2===n.state){for(l=0,n.state=3,r=Array(h=n.tween.length),c=-1;l<h;++l)(f=n.tween[l].value.call(t,t.__data__,n.index,n.group))&&(r[++c]=f);r.length=c+1}}function a(e){for(var i=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(u),n.state=5,1
1),o=-1,a=r.length;++o<a;)r[o].call(t,i);5===n.state&&(n.on.call("end",t,t.__data__,n.index,n.group),u())}function u(){for(var r in n.state=6,n.timer.stop(),delete i[e],i)return;delete t.__transition}i[e]=n,n.timer=E(function(t){n.state=1,n.timer.restart(o,n.delay,n.time),n.delay<=t&&o(t-n.delay)},0,n.time)}(t,n,{name:e,index:r,group:i,on:T,tween:C,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function j(t,e){var n=V(t,e);if(n.state>0)throw Error("too late; already scheduled");return n}function P(t,e){var n=V(t,e);if(n.state>3)throw Error("too late; already running");return n}function V(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw Error("transition not found");return n}function X(t,e){var n,r,i,o=t.__transition,a=!0;if(o){for(i in e=null==e?null:e+"",o){if((n=o[i]).name!==e){a=!1;continue}r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[i]}a&&delete t.__transition}}var O=n(50402),D=180/Math.PI,Y={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function B(t,e,n,r,i,o){var a,u,s;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(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,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(e,t)*D,skewX:Math.atan(s)*D,scaleX:a,scaleY:u}}function H(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}return function(o,a){var u,s,l,c,h=[],f=[];return o=t(o),a=t(a),!function(t,r,i,o,a,u){if(t!==i||r!==o){var s=a.push("translate(",null,e,null,n);u.push({i:s-4,x:(0,O.A)(t,i)},{i:s-2,x:(0,O.A)(r,o)})}else(i||o)&&a.push("translate("+i+e+o+n)}(o.translateX,o.translateY,a.translateX,a.translateY,h,f),(u=o.rotate)!==(s=a.rotate)?(u-s>180?s+=360:s-u>180&&(u+=360),f.push({i:h.push(i(h)+"rotate(",null,r)-2,x:(0,O.A)(u,s)})):s&&h.push(i(h)+"rotate("+s+r),(l=o.skewX)!==(c=a.skewX)?f.push({i:h.push(i(h)+"skewX(",null,r)-2,x:(0,O.A)(l,c)}):c&&h.push(i(h)+"skewX("+c+r),!function(t,e,n,r,o,a){if(t!==n||e!==r){var u=o.push(i(o)+"scale(",null,",",null,")");a.push({i:u-4,x:(0,O.A)(t,n)},{i:u-2,x:(0,O.A)(e,r)})}else(1!==n||1!==r)&&o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,h,f),o=a=null,function(t){for(var e,n=-1,r=f.length;++n<r;)h[(e=f[n]).i]=e.x(t);return h.join("")}}}var I=H(function(t){let e=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?Y:B(e.a,e.b,e.c,e.d,e.e,e.f)},"px, ","px)","deg)"),R=H(function(t){return null==t?Y:(r||(r=document.createElementNS("http://www.w3.org/2000/svg","g")),r.setAttribute("transform",t),t=r.transform.baseVal.consolidate())?B((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):Y},", ",")",")"),q=n(40363);function L(t,e,n){var r=t._id;return t.each(function(){var t=P(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)}),function(t){return V(t,r).value[e]}}var G=n(30082),K=n(29903),U=n(4818);function $(t,e){var n;return("number"==typeof e?O.A:e instanceof G.Ay?K.Ay:(n=(0,G.Ay)(e))?(e=n,K.Ay):U.A)(t,e)}var Z=n(6694),W=n(38861),F=n(50844),Q=f.Ay.prototype.constructor,J=n(27308);function tt(t){return function(){this.style.removeProperty(t)}}var te=0;function tn(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}var tr=f.Ay.prototype;tn.prototype=(function(t){return(0,f.Ay)().transition(t)}).prototype={constructor:tn,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=(0,W.A)(t));for(var r=this._groups,i=r.length,o=Array(i),a=0;a<i;++a)for(var u,s,l=r[a],c=l.length,h=o[a]=Array(c),f=0;f<c;++f)(u=l[f])&&(s=t.call(u,u.__data__,f,l))&&("__data__"in u&&(s.__data__=u.__data__),h[f]=s,N(h[f],e,n,f,h,V(u,n)));return new tn(o,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=(0,F.A)(t));for(var r=this._groups,i=r.length,o=[],a=[],u=0;u<i;++u)for(var s,l=r[u],c=l.length,h=0;h<c;++h)if(s=l[h]){for(var f,p=t.call(s,s.__data__,h,l),v=V(s,n),m=0,d=p.length;m<d;++m)(f=p[m])&&N(f,e,n,m,p,v);o.push(p),a.push(s)}return new tn(o,a,e,n)},selectChild:tr.selectChild,selectChildren:tr.selectChildren,filter:function(t){"function"!=typeof t&&(t=(0,Z.A)(t));for(var e=this._groups,n=e.length,r=Array(n),i=0;i<n;++i)for(var o,a=e[i],u=a.length,s=r[i]=[],l=0;l<u;++l)(o=a[l])&&t.call(o,o.__data__,l,a)&&s.push(o);return new tn(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw Error();for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),a=Array(r),u=0;u<o;++u)for(var s,l=e[u],c=n[u],h=l.length,f=a[u]=Array(h),p=0;p<h;
1++p)(s=l[p]||c[p])&&(f[p]=s);for(;u<r;++u)a[u]=e[u];return new tn(a,this._parents,this._name,this._id)},selection:function(){return new Q(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=++te,r=this._groups,i=r.length,o=0;o<i;++o)for(var a,u=r[o],s=u.length,l=0;l<s;++l)if(a=u[l]){var c=V(a,e);N(a,t,n,l,u,{time:c.time+c.delay+c.duration,delay:0,duration:c.duration,ease:c.ease})}return new tn(r,this._parents,t,n)},call:tr.call,nodes:tr.nodes,node:tr.node,size:tr.size,empty:tr.empty,each:tr.each,on:function(t,e){var n,r,i,o=this._id;return arguments.length<2?V(this.node(),o).on.on(t):this.each((i=(t+"").trim().split(/^|\s+/).every(function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t})?j:P,function(){var a=i(this,o),u=a.on;u!==n&&(r=(n=u).copy()).on(t,e),a.on=r}))},attr:function(t,e){var n=(0,q.A)(t),r="transform"===n?R:$;return this.attrTween(t,"function"==typeof e?(n.local?function(t,e,n){var r,i,o;return function(){var a,u,s=n(this);return null==s?void this.removeAttributeNS(t.space,t.local):(a=this.getAttributeNS(t.space,t.local))===(u=s+"")?null:a===r&&u===i?o:(i=u,o=e(r=a,s))}}:function(t,e,n){var r,i,o;return function(){var a,u,s=n(this);return null==s?void this.removeAttribute(t):(a=this.getAttribute(t))===(u=s+"")?null:a===r&&u===i?o:(i=u,o=e(r=a,s))}})(n,r,L(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,o=n+"";return function(){var a=this.getAttributeNS(t.space,t.local);return a===o?null:a===r?i:i=e(r=a,n)}}:function(t,e,n){var r,i,o=n+"";return function(){var a=this.getAttribute(t);return a===o?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 Error();var r=(0,q.A)(t);return this.tween(n,(r.local?function(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e){this.setAttributeNS(t.space,t.local,i.call(this,e))}),n}return i._value=e,i}:function(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e){this.setAttribute(t,i.call(this,e))}),n}return i._value=e,i})(r,e))},style:function(t,e,n){var r,i,o,a,u,s,l,c,h,f,p,v,m,d,y,_,g,w,A,b,x,E="transform"==(t+="")?I:$;return null==e?this.styleTween(t,(r=t,function(){var t=(0,J.j)(this,r),e=(this.style.removeProperty(r),(0,J.j)(this,r));return t===e?null:t===i&&e===o?a:a=E(i=t,o=e)})).on("end.style."+t,tt(t)):"function"==typeof e?this.styleTween(t,(u=t,s=L(this,"style."+t,e),function(){var t=(0,J.j)(this,u),e=s(this),n=e+"";return null==e&&(this.style.removeProperty(u),n=e=(0,J.j)(this,u)),t===n?null:t===l&&n===c?h:(c=n,h=E(l=t,e))})).each((f=this._id,g="end."+(_="style."+(p=t)),function(){var t=P(this,f),e=t.on,n=null==t.value[_]?y||(y=tt(p)):void 0;(e!==v||d!==n)&&(m=(v=e).copy()).on(g,d=n),t.on=m})):this.styleTween(t,(w=t,x=e+"",function(){var t=(0,J.j)(this,w);return t===x?null:t===A?b:b=E(A=t,e)}),n).on("end.style."+t,null)},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 Error();return this.tween(r,function(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&function(e){this.style.setProperty(t,o.call(this,e),n)}),r}return o._value=e,o}(t,e,null==n?"":n))},text:function(t){var e,n;return this.tween("text","function"==typeof t?(e=L(this,"text",t),function(){var t=e(this);this.textContent=null==t?"":t}):(n=null==t?"":t+"",function(){this.textContent=n}))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw Error();return this.tween(e,function(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&function(t){this.textContent=r.call(this,t)}),e}return r._value=t,r}(t))},remove:function(){var t;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)}))},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,i=V(this.node(),n).tween,o=0,a=i.length;o<a;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==e?function(t,e){var n,r;return function(){var i=P(this,t),o=i.tween;if(o!==n){r=n=o;for(var a=0,u=r.length;a<u;++a)if(r[a].name===e){(r=r.slice()).splice(a,1);break}}i.tween=r}}:function(t,e,n){var r,i;if("function"!=typeof n)throw Error();return function(){var o=P(this,t),a=o.tween;if(a!==r){i=(r=a).slice();for(var u={name:e,value:n},s=0,l=i.length;s<l;++s)if(i[s].name===e){i[s]=u;break}s===l&&i.push(u)}o.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(){j(this,t).delay=+e.apply(this,arguments)}}:function(t,e){return e=+e,function(){j(this,t).delay=e}})(e,t)):V(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){P(this,t).duration=+e.apply(this,arguments)}}:function(t,e){return e=+e,function(){P(this,t).duration=e}})(e,t)):V(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(function(t,e){if("function"!=typeof e)throw Error();return function(){P(this,t).ease=e}}(e,t)):V(this.node(),e).ease},easeVarying:function(t){var e;if("function"!=typeof t)throw Error();return this.each((e=this._id,function(){var n=t.apply(this,arguments);if("function"!=typeof n)throw Error();P(this,e).ease=n}))},end:function(){var t,e,n=this,r=n._id,i=n.size();return new Promise(function(o,a){var u={value:a},s={value:function(){0==--i&&o()}};n.each(function(){var n=P(this,r),i=n.on;i!==t&&((e=(t=i).copy())._.cancel.push(u),e._.interrupt.push(u),e._.end.push(s)),n.on=e}),0===i&&o()})},[Symbol.iterator]:tr[Symbol.iterator]};var ti={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};f.Ay.prototype.interrupt=function(t){return this.each(function(){X(this,t)})},f.Ay.prototype.transition=function(t){var e,n;t instanceof tn?(e=t._id,t=t._name):(e=++te,(n=ti).time=A(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;
1++o)for(var a,u=r[o],s=u.length,l=0;l<s;++l)(a=u[l])&&N(a,t,e,l,u,n||function(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw Error(`transition ${e} not found`);return n}(a,e));return new tn(r,this._parents,t,e)};let to=t=>()=>t;function ta(t,{sourceEvent:e,target:n,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}function tu(t,e,n){this.k=t,this.x=e,this.y=n}tu.prototype={constructor:tu,scale:function(t){return 1===t?this:new tu(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new tu(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 ts=new tu(1,0,0);function tl(t){t.stopImmediatePropagation()}function tc(t){t.preventDefault(),t.stopImmediatePropagation()}function th(t){return(!t.ctrlKey||"wheel"===t.type)&&!t.button}function tf(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function tp(){return this.__zoom||ts}function tv(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function tm(){return navigator.maxTouchPoints||"ontouchstart"in this}function td(t,e,n){var r=t.invertX(e[0][0])-n[0][0],i=t.invertX(e[1][0])-n[1][0],o=t.invertY(e[0][1])-n[0][1],a=t.invertY(e[1][1])-n[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}function ty(){var t,e,n,r=th,a=tf,s=td,l=tv,f=tm,p=[0,1/0],v=[[-1/0,-1/0],[1/0,1/0]],m=250,d=u,y=(0,i.A)("start","zoom","end"),_=0,g=10;function w(t){t.property("__zoom",tp).on("wheel.zoom",M,{passive:!1}).on("mousedown.zoom",S).on("dblclick.zoom",T).filter(f).on("touchstart.zoom",C).on("touchmove.zoom",N).on("touchend.zoom touchcancel.zoom",j).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function A(t,e){return(e=Math.max(p[0],Math.min(p[1],e)))===t.k?t:new tu(e,t.x,t.y)}function b(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 tu(t.k,r,i)}function x(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function E(t,e,n,r){t.on("start.zoom",function(){z(this,arguments).event(r).start()}).on("interrupt.zoom end.zoom",function(){z(this,arguments).event(r).end()}).tween("zoom",function(){var t=arguments,i=z(this,t).event(r),o=a.apply(this,t),u=null==n?x(o):"function"==typeof n?n.apply(this,t):n,s=Math.max(o[1][0]-o[0][0],o[1][1]-o[0][1]),l=this.__zoom,c="function"==typeof e?e.apply(this,t):e,h=d(l.invert(u).concat(s/l.k),c.invert(u).concat(s/c.k));return function(t){if(1===t)t=c;else{var e=h(t),n=s/e[2];t=new tu(n,u[0]-e[0]*n,u[1]-e[1]*n)}i.zoom(null,t)}})}function z(t,e,n){return!n&&t.__zooming||new k(t,e)}function k(t,e){this.that=t,this.args=e,this.active=0,this.sourceEvent=null,this.extent=a.apply(t,e),this.taps=0}function M(t,...e){if(r.apply(this,arguments)){var n=z(this,e).event(t),i=this.__zoom,o=Math.max(p[0],Math.min(p[1],i.k*Math.pow(2,l.apply(this,arguments)))),a=(0,h.A)(t);if(n.wheel)(n.mouse[0][0]!==a[0]||n.mouse[0][1]!==a[1])&&(n.mouse[1]=i.invert(n.mouse[0]=a)),clearTimeout(n.wheel);else{if(i.k===o)return;n.mouse=[a,i.invert(a)],X(this),n.start()}tc(t),n.wheel=setTimeout(function(){n.wheel=null,n.end()},150),n.zoom("mouse",s(b(A(i,o),n.mouse[0],n.mouse[1]),n.extent,v))}}function S(t,...e){if(!n&&r.apply(this,arguments)){var i=t.currentTarget,a=z(this,e,!0).event(t),u=(0,c.A)(t.view).on("mousemove.zoom",function(t){if(tc(t),!a.moved){var e=t.clientX-f,n=t.clientY-p;a.moved=e*e+n*n>_}
1a.event(t).zoom("mouse",s(b(a.that.__zoom,a.mouse[0]=(0,h.A)(t,i),a.mouse[1]),a.extent,v))},!0).on("mouseup.zoom",function(t){u.on("mousemove.zoom mouseup.zoom",null),(0,o.y)(t.view,a.moved),tc(t),a.event(t).end()},!0),l=(0,h.A)(t,i),f=t.clientX,p=t.clientY;(0,o.A)(t.view),tl(t),a.mouse=[l,this.__zoom.invert(l)],X(this),a.start()}}function T(t,...e){if(r.apply(this,arguments)){var n=this.__zoom,i=(0,h.A)(t.changedTouches?t.changedTouches[0]:t,this),o=n.invert(i),u=n.k*(t.shiftKey?.5:2),l=s(b(A(n,u),i,o),a.apply(this,e),v);tc(t),m>0?(0,c.A)(this).transition().duration(m).call(E,l,i,t):(0,c.A)(this).call(w.transform,l,i,t)}}function C(n,...i){if(r.apply(this,arguments)){var o,a,u,s,l=n.touches,c=l.length,f=z(this,i,n.changedTouches.length===c).event(n);for(tl(n),a=0;a<c;++a)u=l[a],s=[s=(0,h.A)(u,this),this.__zoom.invert(s),u.identifier],f.touch0?f.touch1||f.touch0[2]===s[2]||(f.touch1=s,f.taps=0):(f.touch0=s,o=!0,f.taps=1+!!t);t&&(t=clearTimeout(t)),o&&(f.taps<2&&(e=s[0],t=setTimeout(function(){t=null},500)),X(this),f.start())}}function N(t,...e){if(this.__zooming){var n,r,i,o,a=z(this,e).event(t),u=t.changedTouches,l=u.length;for(tc(t),n=0;n<l;++n)r=u[n],i=(0,h.A)(r,this),a.touch0&&a.touch0[2]===r.identifier?a.touch0[0]=i:a.touch1&&a.touch1[2]===r.identifier&&(a.touch1[0]=i);if(r=a.that.__zoom,a.touch1){var c=a.touch0[0],f=a.touch0[1],p=a.touch1[0],m=a.touch1[1],d=(d=p[0]-c[0])*d+(d=p[1]-c[1])*d,y=(y=m[0]-f[0])*y+(y=m[1]-f[1])*y;r=A(r,Math.sqrt(d/y)),i=[(c[0]+p[0])/2,(c[1]+p[1])/2],o=[(f[0]+m[0])/2,(f[1]+m[1])/2]}else{if(!a.touch0)return;i=a.touch0[0],o=a.touch0[1]}a.zoom("touch",s(b(r,i,o),a.extent,v))}}function j(t,...r){if(this.__zooming){var i,o,a=z(this,r).event(t),u=t.changedTouches,s=u.length;for(tl(t),n&&clearTimeout(n),n=setTimeout(function(){n=null},500),i=0;i<s;++i)o=u[i],a.touch0&&a.touch0[2]===o.identifier?delete a.touch0:a.touch1&&a.touch1[2]===o.identifier&&delete a.touch1;if(a.touch1&&!a.touch0&&(a.touch0=a.touch1,delete a.touch1),a.touch0)a.touch0[1]=this.__zoom.invert(a.touch0[0]);else if(a.end(),2===a.taps&&(o=(0,h.A)(o,this),Math.hypot(e[0]-o[0],e[1]-o[1])<g)){var l=(0,c.A)(this).on("dblclick.zoom");l&&l.apply(this,arguments)}}}return w.transform=function(t,e,n,r){var i=t.selection?t.selection():t;i.property("__zoom",tp),t!==i?E(t,e,n,r):i.interrupt().each(function(){z(this,arguments).event(r).start().zoom(null,"function"==typeof e?e.apply(this,arguments):e).end()})},w.scaleBy=function(t,e,n,r){w.scaleTo(t,function(){var t=this.__zoom.k,n="function"==typeof e?e.apply(this,arguments):e;return t*n},n,r)},w.scaleTo=function(t,e,n,r){w.transform(t,function(){var t=a.apply(this,arguments),r=this.__zoom,i=null==n?x(t):"function"==typeof n?n.apply(this,arguments):n,o=r.invert(i),u="function"==typeof e?e.apply(this,arguments):e;return s(b(A(r,u),i,o),t,v)},n,r)},w.translateBy=function(t,e,n,r){w.transform(t,function(){return s(this.__zoom.translate("function"==typeof e?e.apply(this,arguments):e,"function"==typeof n?n.apply(this,arguments):n),a.apply(this,arguments),v)},null,r)},w.translateTo=function(t,e,n,r,i){w.transform(t,function(){var t=a.apply(this,arguments),i=this.__zoom,o=null==r?x(t):"function"==typeof r?r.apply(this,arguments):r;return s(ts.translate(o[0],o[1]).scale(i.k).translate("function"==typeof e?-e.apply(this,arguments):-e,"function"==typeof n?-n.apply(this,arguments):-n),t,v)},r,i)},k.prototype={event:function(t){return t&&(this.sourceEvent=t),this},start:function(){return 1==++this.active&&(this.that.__zooming=this,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&&(delete this.that.__zooming,this.emit("end")),this},emit:function(t){var e=(0,c.A)(this.that).datum();y.call(t,this.that,new ta(t,{sourceEvent:this.sourceEvent,target:w,type:t,transform:this.that.__zoom,dispatch:y}),e)}},w.wheelDelta=function(t){return arguments.length?(l="function"==typeof t?t:to(+t),w):l},w.filter=function(t){return arguments.length?(r="function"==typeof t?t:to(!!t),w):r},w.touchable=function(t){return arguments.length?(f="function"==typeof t?t:to(!!t),w):f},w.extent=function(t){return arguments.length?(a="function"==typeof t?t:to([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),w):a},w.scaleExtent=function(t){return arguments.length?(p[0]=+t[0],p[1]=+t[1],w):[p[0],p[1]]},w.translateExtent=function(t){return arguments.length?(v[0][0]=+t[0][0],v[1][0]=+t[1][0],v[0][1]=+t[0][1],v[1][1]=+t[1][1],w):[[v[0][0],v[0][1]],[v[1][0],v[1][1]]]},w.constrain=function(t){return arguments.length?(s=t,w):s},w.duration=function(t){return arguments.length?(m=+t,w):m},w.interpolate=function(t){return arguments.length?(d=t,w):d},w.on=function(){var t=y.on.apply(y,arguments);return t===y?w:t},w.clickDistance=function(t){return arguments.length?(_=(t=+t)*t,w):Math.sqrt(_)},w.tapDistance=function(t){return arguments.length?(g=+t,w):g},w}tu.prototype},72689:(t,e,n)=>{function r(t,e){if(Object.is(t,e))return!0;
1if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(let[n,r]of t)if(!Object.is(r,e.get(n)))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(let n of t)if(!e.has(n))return!1;return!0}let n=Object.keys(t);if(n.length!==Object.keys(e).length)return!1;for(let r of n)if(!Object.prototype.hasOwnProperty.call(e,r)||!Object.is(t[r],e[r]))return!1;return!0}n.d(e,{x:()=>r})},12985:(t,e,n)=>{n.d(e,{h:()=>f,n:()=>c});var r=n(12115),i=n(18010);let o=t=>{let e;let n=new Set,r=(t,r)=>{let i="function"==typeof t?t(e):t;if(!Object.is(i,e)){let t=e;e=(null!=r?r:"object"!=typeof i||null===i)?i:Object.assign({},e,i),n.forEach(n=>n(e,t))}},i=()=>e,o={setState:r,getState:i,getInitialState:()=>a,subscribe:t=>(n.add(t),()=>n.delete(t)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},a=e=t(r,i,o);return o},a=t=>t?o(t):o,{useDebugValue:u}=r,{useSyncExternalStoreWithSelector:s}=i,l=t=>t;function c(t,e=l,n){let r=s(t.subscribe,t.getState,t.getServerState||t.getInitialState,e,n);return u(r),r}let h=(t,e)=>{let n=a(t),r=(t,r=e)=>c(n,t,r);return Object.assign(r,n),r},f=(t,e)=>t?h(t,e):h}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.