1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4936],{64936:function(t,e,i){i.d(e,{Wj:function(){return iu}});var r,n={};i.r(n),i.d(n,{cx:function(){return tL},cy:function(){return tq},height:function(){return tP},rx:function(){return tD},ry:function(){return tI},width:function(){return tF},x:function(){return tz},y:function(){return tR}});var s={};i.r(s),i.d(s,{from:function(){return tB},to:function(){return tH}});var h={};i.r(h),i.d(h,{MorphArray:function(){return tQ},height:function(){return tK},width:function(){return tZ},x:function(){return tW},y:function(){return tJ}});var o={};i.r(o),i.d(o,{array:function(){return ey},clear:function(){return ew},move:function(){return eg},plot:function(){return ex},size:function(){return e_}});var u={};i.r(u),i.d(u,{amove:function(){return eU},ax:function(){return eG},ay:function(){return e$},build:function(){return eQ},center:function(){return eV},cx:function(){return eB},cy:function(){return eH},length:function(){return eF},move:function(){return eY},plain:function(){return eq},x:function(){return eP},y:function(){return eX}});var a={};i.r(a),i.d(a,{dmove:function(){return e1},dx:function(){return e2},dy:function(){return e5},height:function(){return e3},move:function(){return e6},size:function(){return e4},width:function(){return e8},x:function(){return e7},y:function(){return e9}});let l={},c=[];function f(t,e){if(Array.isArray(t)){for(let i of t)f(i,e);return}if("object"==typeof t){for(let e in t)f(e,t[e]);return}m(Object.getOwnPropertyNames(e)),l[t]=Object.assign(l[t]||{},e)}function d(t){return l[t]||{}}function m(t){c.push(...t)}function p(t,e){let i;let r=t.length,n=[];for(i=0;i<r;i++)n.push(e(t[i]));return n}function y(t){return t%360*Math.PI/180}function w(t){return t.charAt(0).toUpperCase()+t.slice(1)}function g(t,e,i,r){return(null==e||null==i)&&(r=r||t.bbox(),null==e?e=r.width/r.height*i:null==i&&(i=r.height/r.width*e)),{width:e,height:i}}function x(t,e){let i=t.origin,r=null!=t.ox?t.ox:null!=t.originX?t.originX:"center",n=null!=t.oy?t.oy:null!=t.originY?t.originY:"center";null!=i&&([r,n]=Array.isArray(i)?i:"object"==typeof i?[i.x,i.y]:[i,i]);let s="string"==typeof r,h="string"==typeof n;if(s||h){let{height:t,width:i,x:o,y:u}=e.bbox();s&&(r=r.includes("left")?o:r.includes("right")?o+i:o+i/2),h&&(n=n.includes("top")?u:n.includes("bottom")?u+t:u+t/2)}return[r,n]}let _=new Set(["desc","metadata","title"]),b=t=>_.has(t.nodeName),v=(t,e,i={})=>{let r={...e};for(let t in r)r[t].valueOf()===i[t]&&delete r[t];Object.keys(r).length?t.node.setAttribute("data-svgjs",JSON.stringify(r)):(t.node.removeAttribute("data-svgjs"),t.node.removeAttribute("svgjs:data"))},M="http://www.w3.org/2000/svg",O="http://www.w3.org/2000/xmlns/",A="http://www.w3.org/1999/xlink",k={window:"undefined"==typeof window?null:window,document:"undefined"==typeof document?null:document};class T{}let C={},N="___SYMBOL___ROOT___";function S(t,e=M){return k.document.createElementNS(e,t)}function E(t,e=!1){if(t instanceof T)return t;if("object"==typeof t)return I(t);if(null==t)return new C[N];if("string"==typeof t&&"<"!==t.charAt(0))return I(k.document.querySelector(t));let i=e?k.document.createElement("div"):S("svg");return i.innerHTML=t,t=I(i.firstChild),i.removeChild(i.firstChild),t}function j(t,e){return e&&(e instanceof k.window.Node||e.ownerDocument&&e instanceof e.ownerDocument.defaultView.Node)?e:S(t)}function D(t){if(!t)return null;if(t.instance instanceof T)return t.instance;if("#document-fragment"===t.nodeName)return new C.Fragment(t);let e=w(t.nodeName||"Dom");return"LinearGradient"===e||"RadialGradient"===e?e="Gradient":C[e]||(e="Dom"),new C[e](t)}let I=D;function z(t,e=t.name,i=!1){return C[e]=t,i&&(C[N]=t),m(Object.getOwnPropertyNames(t.prototype)),t}let R=1e3;function L(t){return"Svgjs"+w(t)+R++}function q(t,e){let i,r;for(r=(t=Array.isArray(t)?t:[t]).length-1;r>=0;r--)for(i in e)t[r].prototype[i]=e[i]}function F(t){return function(...e){let i=e[e.length-1];return!i||i.constructor!==Object||i instanceof Array?t.apply(this,e):t.apply(this,e.slice(0,-1)).attr(i)}}f("Dom",{siblings:function(){return this.parent().children()},position:function(){return this.parent().index(this)},next:function(){return this.siblings()[this.position()+1]},prev:function(){return this.siblings()[this.position()-1]},forward:function(){let t=this.position();return this.parent().add(this.remove(),t+1),this},backward:function(){let t=this.position();return this.parent().add(this.remove(),t?t-1:0),this},front:function(){return this.parent().add(this.remove()),this},back:function(){return this.parent().add(this.remove(),0),this},before:function(t){(t=E(t)).remove();let e=this.position();return this.parent().add(t,e),this},after:function(t){(t=E(t)).remove();let e=this.position();return this.parent().add(t,e+1),this},insertBefore:function(t){return(t=E(t)).before(this),this},insertAfter:function(t){return(t=E(t)).after(this),this}});let P=/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i,X=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,Y=/rgb\((\d+),(\d+),(\d+)\)/,B=/(#[a-z_][a-z0-9\-_]*)/i,H=/\)\s*,?\s*/,V=/\s/g,G=/^#[a-f0-9]{3}$|^#[a-f0-9]{6}$/i,$=/^rgb\(/,U=/^(\s+)?$/,Q=/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,W=/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i,J=/[\s,]+/,Z=/[MLHVCSQTAZ]/i;function K(t){let e=Math.max(0,Math.min(255,Math.round(t))).toString(16);return 1===e.length?"0"+e:e}function tt(t,e){for(let i=e.length;i--;)if(null==t[e[i]])return!1;return!0}function te(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}f("Dom",{classes:function(){let t=this.attr("class");return null==t?[]:t.trim().split(J)},hasClass:function(t){return -1!==this.classes().indexOf(t)},addClass:function(t){if(!this.hasClass(t)){let e=this.classes();e.push(t),this.attr("class",e.join(" "))}return this},removeClass:function(t){return this.hasClass(t)&&this.attr("class",this.classes().filter(function(e){return e!==t}).join(" ")),this},toggleClass:function(t){return this.hasClass(t)?this.removeClass(t):this.addClass(t)}}),f("Dom",{css:function(t,e){let i={};if(0==arguments.length)return this.node.style.cssText.split(/\s*;\s*/).filter(function(t){return!!t.length}
1).forEach(function(t){let e=t.split(/\s*:\s*/);i[e[0]]=e[1]}),i;if(arguments.length<2){if(Array.isArray(t)){for(let e of t)i[e]=this.node.style.getPropertyValue(e);return i}if("string"==typeof t)return this.node.style.getPropertyValue(t);if("object"==typeof t)for(let e in t)this.node.style.setProperty(e,null==t[e]||U.test(t[e])?"":t[e])}return 2==arguments.length&&this.node.style.setProperty(t,null==e||U.test(e)?"":e),this},show:function(){return this.css("display","")},hide:function(){return this.css("display","none")},visible:function(){return"none"!==this.css("display")}}),f("Dom",{data:function(t,e,i){if(null==t)return this.data(p(function(t,e){let i;let r=t.length,n=[];for(i=0;i<r;i++)e(t[i])&&n.push(t[i]);return n}(this.node.attributes,t=>0===t.nodeName.indexOf("data-")),t=>t.nodeName.slice(5)));if(t instanceof Array){let e={};for(let i of t)e[i]=this.data(i);return e}if("object"==typeof t)for(e in t)this.data(e,t[e]);else if(arguments.length<2)try{return JSON.parse(this.attr("data-"+t))}catch(e){return this.attr("data-"+t)}else this.attr("data-"+t,null===e?null:!0===i||"string"==typeof e||"number"==typeof e?e:JSON.stringify(e));return this}}),f("Dom",{remember:function(t,e){if("object"==typeof arguments[0])for(let e in t)this.remember(e,t[e]);else{if(1==arguments.length)return this.memory()[t];this.memory()[t]=e}return this},forget:function(){if(0==arguments.length)this._memory={};else for(let t=arguments.length-1;t>=0;t--)delete this.memory()[arguments[t]];return this},memory:function(){return this._memory=this._memory||{}}});class ti{constructor(...t){this.init(...t)}static isColor(t){return t&&(t instanceof ti||this.isRgb(t)||this.test(t))}static isRgb(t){return t&&"number"==typeof t.r&&"number"==typeof t.g&&"number"==typeof t.b}static random(t="vibrant",e){let{random:i,round:r,sin:n,PI:s}=Math;if("vibrant"===t)return new ti(24*i()+57,38*i()+45,360*i(),"lch");if("sine"===t)return new ti(r(80*n(2*s*(e=null==e?i():e)/.5+.01)+150),r(50*n(2*s*e/.5+4.6)+200),r(100*n(2*s*e/.5+2.3)+150));if("pastel"===t)return new ti(8*i()+86,17*i()+9,360*i(),"lch");if("dark"===t)return new ti(10+10*i(),50*i()+86,360*i(),"lch");if("rgb"===t)return new ti(255*i(),255*i(),255*i());if("lab"===t)return new ti(100*i(),256*i()-128,256*i()-128,"lab");if("grey"===t){let t=255*i();return new ti(t,t,t)}else throw Error("Unsupported random color mode")}static test(t){return"string"==typeof t&&(G.test(t)||$.test(t))}cmyk(){let{_a:t,_b:e,_c:i}=this.rgb(),[r,n,s]=[t,e,i].map(t=>t/255),h=Math.min(1-r,1-n,1-s);return 1===h?new ti(0,0,0,1,"cmyk"):new ti((1-r-h)/(1-h),(1-n-h)/(1-h),(1-s-h)/(1-h),h,"cmyk")}hsl(){let{_a:t,_b:e,_c:i}=this.rgb(),[r,n,s]=[t,e,i].map(t=>t/255),h=Math.max(r,n,s),o=Math.min(r,n,s),u=(h+o)/2,a=h===o,l=h-o;return new ti(360*(a?0:h===r?((n-s)/l+(n<s?6:0))/6:h===n?((s-r)/l+2)/6:h===s?((r-n)/l+4)/6:0),100*(a?0:u>.5?l/(2-h-o):l/(h+o)),100*u,"hsl")}init(t=0,e=0,i=0,r=0,n="rgb"){if(t=t||0,this.space)for(let t in this.space)delete this[this.space[t]];if("number"==typeof t)n="string"==typeof r?r:n,Object.assign(this,{_a:t,_b:e,_c:i,_d:r="string"==typeof r?0:r,space:n});else if(t instanceof Array)this.space=e||("string"==typeof t[3]?t[3]:t[4])||"rgb",Object.assign(this,{_a:t[0],_b:t[1],_c:t[2],_d:t[3]||0});else if(t instanceof Object)Object.assign(this,function(t,e){let i=tt(t,"rgb")?{_a:t.r,_b:t.g,_c:t.b,_d:0,space:"rgb"}:tt(t,"xyz")?{_a:t.x,_b:t.y,_c:t.z,_d:0,space:"xyz"}:tt(t,"hsl")?{_a:t.h,_b:t.s,_c:t.l,_d:0,space:"hsl"}:tt(t,"lab")?{_a:t.l,_b:t.a,_c:t.b,_d:0,space:"lab"}:tt(t,"lch")?{_a:t.l,_b:t.c,_c:t.h,_d:0,space:"lch"}:tt(t,"cmyk")?{_a:t.c,_b:t.m,_c:t.y,_d:t.k,space:"cmyk"}:{_a:0,_b:0,_c:0,space:"rgb"};return i.space=e||i.space,i}(t,e));else if("string"==typeof t){if($.test(t)){let e=t.replace(V,""),[i,r,n]=Y.exec(e).slice(1,4).map(t=>parseInt(t));Object.assign(this,{_a:i,_b:r,_c:n,_d:0,space:"rgb"})}else if(G.test(t)){var s;let[,e,i,r]=X.exec(4===(s=t).length?["#",s.substring(1,2),s.substring(1,2),s.substring(2,3),s.substring(2,3),s.substring(3,4),s.substring(3,4)].join(""):s).map(t=>parseInt(t,16));Object.assign(this,{_a:e,_b:i,_c:r,_d:0,space:"rgb"})}else throw Error("Unsupported string format, can't construct Color")}let{_a:h,_b:o,_c:u,_d:a}=this;Object.assign(this,"rgb"===this.space?{r:h,g:o,b:u}:"xyz"===this.space?{x:h,y:o,z:u}:"hsl"===this.space?{h:h,s:o,l:u}:"lab"===this.space?{l:h,a:o,b:u}:"lch"===this.space?{l:h,c:o,h:u}:"cmyk"===this.space?{c:h,m:o,y:u,k:a}:{})}lab(){let{x:t,y:e,z:i}=this.xyz();return new ti(116*e-16,500*(t-e),200*(e-i),"lab")}lch(){let{l:t,a:e,b:i}=this.lab(),r=Math.sqrt(e**2+i**2),n=180*Math.atan2(i,e)/Math.PI;return n<0&&(n*=-1,n=360-n),new ti(t,r,n,"lch")}rgb(){var t;
1if("rgb"===this.space)return this;if("lab"===(t=this.space)||"xyz"===t||"lch"===t?0:1){if("hsl"===this.space){let{h:t,s:e,l:i}=this;if(t/=360,i/=100,0==(e/=100))return new ti(i*=255,i,i);let r=i<.5?i*(1+e):i+e-i*e,n=2*i-r;return new ti(255*te(n,r,t+1/3),255*te(n,r,t),255*te(n,r,t-1/3))}{if("cmyk"!==this.space)return this;let{c:t,m:e,y:i,k:r}=this;return new ti(255*(1-Math.min(1,t*(1-r)+r)),255*(1-Math.min(1,e*(1-r)+r)),255*(1-Math.min(1,i*(1-r)+r)))}}{let{x:t,y:e,z:i}=this;if("lab"===this.space||"lch"===this.space){let{l:r,a:n,b:s}=this;if("lch"===this.space){let{c:t,h:e}=this,i=Math.PI/180;n=t*Math.cos(i*e),s=t*Math.sin(i*e)}let h=(r+16)/116,o=n/500+h,u=h-s/200,a=16/116;t=.95047*(o**3>.008856?o**3:(o-a)/7.787),e=1*(h**3>.008856?h**3:(h-a)/7.787),i=1.08883*(u**3>.008856?u**3:(u-a)/7.787)}let r=3.2406*t+-1.5372*e+-.4986*i,n=-.9689*t+1.8758*e+.0415*i,s=.0557*t+-.204*e+1.057*i,h=Math.pow;return new ti(255*(r>.0031308?1.055*h(r,1/2.4)-.055:12.92*r),255*(n>.0031308?1.055*h(n,1/2.4)-.055:12.92*n),255*(s>.0031308?1.055*h(s,1/2.4)-.055:12.92*s))}}toArray(){let{_a:t,_b:e,_c:i,_d:r,space:n}=this;return[t,e,i,r,n]}toHex(){let[t,e,i]=this._clamped().map(K);return`#${t}${e}${i}`}toRgb(){let[t,e,i]=this._clamped();return`rgb(${t},${e},${i})`}toString(){return this.toHex()}xyz(){let{_a:t,_b:e,_c:i}=this.rgb(),[r,n,s]=[t,e,i].map(t=>t/255),h=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,o=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,u=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92,a=(.4124*h+.3576*o+.1805*u)/.95047,l=(.2126*h+.7152*o+.0722*u)/1,c=(.0193*h+.1192*o+.9505*u)/1.08883;return new ti(a>.008856?Math.pow(a,1/3):7.787*a+16/116,l>.008856?Math.pow(l,1/3):7.787*l+16/116,c>.008856?Math.pow(c,1/3):7.787*c+16/116,"xyz")}_clamped(){let{_a:t,_b:e,_c:i}=this.rgb(),{max:r,min:n,round:s}=Math;return[t,e,i].map(t=>r(0,n(s(t),255)))}}class tr{constructor(...t){this.init(...t)}clone(){return new tr(this)}init(t,e){let i={x:0,y:0},r=Array.isArray(t)?{x:t[0],y:t[1]}:"object"==typeof t?{x:t.x,y:t.y}:{x:t,y:e};return this.x=null==r.x?i.x:r.x,this.y=null==r.y?i.y:r.y,this}toArray(){return[this.x,this.y]}transform(t){return this.clone().transformO(t)}transformO(t){ts.isMatrixLike(t)||(t=new ts(t));let{x:e,y:i}=this;return this.x=t.a*e+t.c*i+t.e,this.y=t.b*e+t.d*i+t.f,this}}function tn(t,e,i){return Math.abs(e-t)<(i||1e-6)}class ts{constructor(...t){this.init(...t)}static formatTransforms(t){let e="both"===t.flip||!0===t.flip,i=t.flip&&(e||"x"===t.flip)?-1:1,r=t.flip&&(e||"y"===t.flip)?-1:1,n=t.skew&&t.skew.length?t.skew[0]:isFinite(t.skew)?t.skew:isFinite(t.skewX)?t.skewX:0,s=t.skew&&t.skew.length?t.skew[1]:isFinite(t.skew)?t.skew:isFinite(t.skewY)?t.skewY:0,h=t.scale&&t.scale.length?t.scale[0]*i:isFinite(t.scale)?t.scale*i:isFinite(t.scaleX)?t.scaleX*i:i,o=t.scale&&t.scale.length?t.scale[1]*r:isFinite(t.scale)?t.scale*r:isFinite(t.scaleY)?t.scaleY*r:r,u=t.shear||0,a=t.rotate||t.theta||0,l=new tr(t.origin||t.around||t.ox||t.originX,t.oy||t.originY),c=l.x,f=l.y,d=new tr(t.position||t.px||t.positionX||NaN,t.py||t.positionY||NaN),m=d.x,p=d.y,y=new tr(t.translate||t.tx||t.translateX,t.ty||t.translateY),w=y.x,g=y.y,x=new tr(t.relative||t.rx||t.relativeX,t.ry||t.relativeY);return{scaleX:h,scaleY:o,skewX:n,skewY:s,shear:u,theta:a,rx:x.x,ry:x.y,tx:w,ty:g,ox:c,oy:f,px:m,py:p}}static fromArray(t){return{a:t[0],b:t[1],c:t[2],d:t[3],e:t[4],f:t[5]}}static isMatrixLike(t){return null!=t.a||null!=t.b||null!=t.c||null!=t.d||null!=t.e||null!=t.f}static matrixMultiply(t,e,i){let r=t.a*e.a+t.c*e.b,n=t.b*e.a+t.d*e.b,s=t.a*e.c+t.c*e.d,h=t.b*e.c+t.d*e.d,o=t.e+t.a*e.e+t.c*e.f,u=t.f+t.b*e.e+t.d*e.f;return i.a=r,i.b=n,i.c=s,i.d=h,i.e=o,i.f=u,i}around(t,e,i){return this.clone().aroundO(t,e,i)}aroundO(t,e,i){let r=t||0,n=e||0;return this.translateO(-r,-n).lmultiplyO(i).translateO(r,n)}clone(){return new ts(this)}decompose(t=0,e=0){let i=this.a,r=this.b,n=this.c,s=this.d,h=this.e,o=this.f,u=i*s-r*n,a=u>0?1:-1,l=a*Math.sqrt(i*i+r*r),c=Math.atan2(a*r,a*i),f=Math.cos(c),d=Math.sin(c),m=(i*n+r*s)/u,p=n*l/(m*i-r)||s*l/(m*r+i);return{scaleX:l,scaleY:p,shear:m,rotate:180/Math.PI*c,translateX:h-t+t*f*l+e*(m*f*l-d*p),translateY:o-e+t*d*l+e*(m*d*l+f*p),originX:t,originY:e,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}equals(t){if(t===this)return!0;let e=new ts(t);return tn(this.a,e.a)&&tn(this.b,e.b)&&tn(this.c,e.c)&&tn(this.d,e.d)&&tn(this.e,e.e)&&tn(this.f,e.f)}flip(t,e){return this.clone().flipO(t,e)}flipO(t,e){return"x"===t?this.scaleO(-1,1,e,0):"y"===t?this.scaleO(1,-1,0,e):this.scaleO(-1,-1,t,e||t)}init(t){let e=ts.fromArray([1,0,0,1,0,0]);return t=t instanceof tC?t.matrixify():"string"==typeof t?ts.fromArray(t.split(J).map(parseFloat)):Array.isArray(t)?ts.fromArray(t):"object"==typeof t&&ts.isMatrixLike(t)?t:"object"==typeof t?new ts().transform(t):6==arguments.length?ts.fromArray([].slice.call(arguments)):e,this.a=null!=t.a?t.a:e.a,this.b=null!=t.b?t.b:e.b,this.c=null!=t.c?t.c:e.c,this.d=null!=t.d?t.d:e.d,this.e=null!=t.e?t.e:e.e,this.f=null!=t.f?t.f:e.f,this}inverse(){return this.clone().inverseO()}inverseO(){let t=this.a,e=this.b,i=this.c,r=this.d,n=this.e,s=this.f,h=t*r-e*i;if(!h)throw Error("Cannot invert "+this);let o=r/h,u=-e/h,a=-i/h,l=t/h;return this.a=o,this.b=u,this.c=a,this.d=l,this.e=-(o*n+a*s),this.f=-(u*n+l*s),this}lmultiply(t){return this.clone().lmultiplyO(t)}lmultiplyO(t){let e=t instanceof ts?t:new ts(t);return ts.matrixMultiply(e,this,this)}multiply(t){return this.clone().multiplyO(t)}multiplyO(t){let e=t instanceof ts?t:new ts(t);return ts.matrixMultiply(this,e,this)}rotate(t,e,i){return this.clone().rotateO(t,e,i)}rotateO(t,e=0,i=0){let r=Math.cos(t=y(t)),n=Math.sin(t),{a:s,b:h,c:o,d:u,e:a,f:l}=this;return this.a=s*r-h*n,this.b=h*r+s*n,this.c=o*r-u*n,this.d=u*r+o*n,this.e=a*r-l*n+i*n-e*r+e,this.f=l*r+a*n-e*n-i*r+i,this}scale(){return this.clone().scaleO(...arguments)}scaleO(t,e=t,i=0,r=0){3==arguments.length&&(r=i,i=e,e=t);let{a:n,b:s,c:h,d:o,e:u,f:a}=this;return this.a=n*t,this.b=s*e,this.c=h*t,this.d=o*e,this.e=u*t-i*t+i,this.f=a*e-r*e+r,this}shear(t,e,i){return this.clone().shearO(t,e,i)}shearO(t,e=0,i=0){let{a:r,b:n,c:s,d:h,e:o,f:u}=this;return this.a=r+n*t,this.c=s+h*t,this.e=o+u*t-i*t,this}skew(){return this.clone().skewO(...arguments)}skewO(t,e=t,i=0,r=0){3==arguments.length&&(r=i,i=e,e=t),t=y(t),e=y(e);let n=Math.tan(t),s=Math.tan(e),{a:h,b:o,c:u,d:a,e:l,f:c}=this;return this.a=h+o*n,this.b=o+h*s,this.c=u+a*n,this.d=a+u*s,this.e=l+c*n-r*n,this.f=c+l*s-i*s,this}skewX(t,e,i){return this.skew(t,0,e,i)}skewY(t,e,i){return this.skew(0,t,e,i)}toArray(){return[this.a,this.b,this.c,this.d,this.e,this.f]}toString(){return"matrix("+this.a+","+this.b+","+this.c+","+this.d+","+this.e+","+this.f+")"}transform(t){if(ts.isMatrixLike(t))return new ts(t).multiplyO(this);let e=ts.formatTransforms(t),{x:i,y:r}=new tr(e.ox,e.oy).transform(this),n=new ts().translateO(e.rx,e.ry).lmultiplyO(this).translateO(-i,-r).scaleO(e.scaleX,e.scaleY).skewO(e.skewX,e.skewY).shearO(e.shear).rotateO(e.theta).translateO(i,r);if(isFinite(e.px)||isFinite(e.py)){let t=new tr(i,r).transform(n),s=isFinite(e.px)?e.px-t.x:0,h=isFinite(e.py)?e.py-t.y:0;n.translateO(s,h)}return n.translateO(e.tx,e.ty),n}translate(t,e){return this.clone().translateO(t,e)}translateO(t,e){return this.e+=t||0,this.f+=e||0,this}valueOf(){return{a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}}function th(){if(!th.nodes){let t=E().size(2,0);
1t.node.style.cssText="opacity: 0;position: absolute;left: -100%;top: -100%;overflow: hidden",t.attr("focusable","false"),t.attr("aria-hidden","true");let e=t.path().node;th.nodes={svg:t,path:e}}if(!th.nodes.svg.node.parentNode){let t=k.document.body||k.document.documentElement;th.nodes.svg.addTo(t)}return th.nodes}function to(t){return!t.width&&!t.height&&!t.x&&!t.y}z(ts,"Matrix");class tu{constructor(...t){this.init(...t)}addOffset(){return this.x+=k.window.pageXOffset,this.y+=k.window.pageYOffset,new tu(this)}init(t){return t="string"==typeof t?t.split(J).map(parseFloat):Array.isArray(t)?t:"object"==typeof t?[null!=t.left?t.left:t.x,null!=t.top?t.top:t.y,t.width,t.height]:4==arguments.length?[].slice.call(arguments):[0,0,0,0],this.x=t[0]||0,this.y=t[1]||0,this.width=this.w=t[2]||0,this.height=this.h=t[3]||0,this.x2=this.x+this.w,this.y2=this.y+this.h,this.cx=this.x+this.w/2,this.cy=this.y+this.h/2,this}isNulled(){return to(this)}merge(t){let e=Math.min(this.x,t.x),i=Math.min(this.y,t.y),r=Math.max(this.x+this.width,t.x+t.width)-e,n=Math.max(this.y+this.height,t.y+t.height)-i;return new tu(e,i,r,n)}toArray(){return[this.x,this.y,this.width,this.height]}toString(){return this.x+" "+this.y+" "+this.width+" "+this.height}transform(t){t instanceof ts||(t=new ts(t));let e=1/0,i=-1/0,r=1/0,n=-1/0;return[new tr(this.x,this.y),new tr(this.x2,this.y),new tr(this.x,this.y2),new tr(this.x2,this.y2)].forEach(function(s){s=s.transform(t),e=Math.min(e,s.x),i=Math.max(i,s.x),r=Math.min(r,s.y),n=Math.max(n,s.y)}),new tu(e,r,i-e,n-r)}}function ta(t,e,i){let r;try{var n;if(r=e(t.node),to(r)&&!((n=t.node)===k.document||(k.document.documentElement.contains||function(t){for(;t.parentNode;)t=t.parentNode;return t===k.document}).call(k.document.documentElement,n)))throw Error("Element not in the dom")}catch(e){r=i(t)}return r}f({viewbox:{viewbox(t,e,i,r){return null==t?new tu(this.attr("viewBox")):this.attr("viewBox",new tu(t,e,i,r))},zoom(t,e){let{width:i,height:r}=this.attr(["width","height"]);if((i||r)&&"string"!=typeof i&&"string"!=typeof r||(i=this.node.clientWidth,r=this.node.clientHeight),!i||!r)throw Error("Impossible to get absolute width and height. Please provide an absolute width and height attribute on the zooming element");let n=this.viewbox(),s=i/n.width,h=r/n.height,o=Math.min(s,h);if(null==t)return o;let u=o/t;u===1/0&&(u=Number.MAX_SAFE_INTEGER/100),e=e||new tr(i/2/s+n.x,r/2/h+n.y);let a=new tu(n).transform(new ts({scale:u,origin:e}));return this.viewbox(a)}}}),z(tu,"Box");class tl extends Array{constructor(t=[],...e){if(super(t,...e),"number"==typeof t)return this;this.length=0,this.push(...t)}}q([tl],{each(t,...e){return"function"==typeof t?this.map((e,i,r)=>t.call(e,e,i,r)):this.map(i=>i[t](...e))},toArray(){return Array.prototype.concat.apply([],this)}});let tc=["toArray","constructor","each"];function tf(t,e){return new tl(p((e||k.document).querySelectorAll(t),function(t){return D(t)}))}tl.extend=function(t){q([tl],t=t.reduce((t,e)=>(tc.includes(e)||"_"===e[0]||(e in Array.prototype&&(t["$"+e]=Array.prototype[e]),t[e]=function(...t){return this.each(e,...t)}),t),{}))};let td=0,tm={};function tp(t){let e=t.getEventHolder();return e===k.window&&(e=tm),e.events||(e.events={}),e.events}function ty(t){return t.getEventTarget()}function tw(t,e,i,r,n){let s=i.bind(r||t),h=E(t),o=tp(h),u=ty(h);e=Array.isArray(e)?e:e.split(J),i._svgjsListenerId||(i._svgjsListenerId=++td),e.forEach(function(t){let e=t.split(".")[0],r=t.split(".")[1]||"*";o[e]=o[e]||{},o[e][r]=o[e][r]||{},o[e][r][i._svgjsListenerId]=s,u.addEventListener(e,s,n||!1)})}function tg(t,e,i,r){let n=E(t),s=tp(n),h=ty(n);("function"!=typeof i||(i=i._svgjsListenerId))&&(e=Array.isArray(e)?e:(e||"").split(J)).forEach(function(t){let e,o;let u=t&&t.split(".")[0],a=t&&t.split(".")[1];if(i)s[u]&&s[u][a||"*"]&&(h.removeEventListener(u,s[u][a||"*"][i],r||!1),delete s[u][a||"*"][i]);else if(u&&a){if(s[u]&&s[u][a]){for(o in s[u][a])tg(h,[u,a].join("."),o);delete s[u][a]}}else if(a)for(t in s)for(e in s[t])a===e&&tg(h,[t,a].join("."));else if(u){if(s[u]){for(e in s[u])tg(h,[u,e].join("."));delete s[u]}}else{let e;for(t in s)tg(h,t);(e=n.getEventHolder())===k.window&&(e=tm),e.events&&(e.events={})}})}class tx extends T{addEventListener(){}
1dispatch(t,e,i){return function(t,e,i,r){let n=ty(t);return e instanceof k.window.Event||(e=new k.window.CustomEvent(e,{detail:i,cancelable:!0,...r})),n.dispatchEvent(e),e}(this,t,e,i)}dispatchEvent(t){let e=this.getEventHolder().events;if(!e)return!0;let i=e[t.type];for(let e in i)for(let r in i[e])i[e][r](t);return!t.defaultPrevented}fire(t,e,i){return this.dispatch(t,e,i),this}getEventHolder(){return this}getEventTarget(){return this}off(t,e,i){return tg(this,t,e,i),this}on(t,e,i,r){return tw(this,t,e,i,r),this}removeEventListener(){}}function t_(){}z(tx,"EventTarget");let tb={duration:400,ease:">",delay:0},tv={"fill-opacity":1,"stroke-opacity":1,"stroke-width":0,"stroke-linejoin":"miter","stroke-linecap":"butt",fill:"#000000",stroke:"#000000",opacity:1,x:0,y:0,cx:0,cy:0,width:0,height:0,r:0,rx:0,ry:0,offset:0,"stop-opacity":1,"stop-color":"#000000","text-anchor":"start"};class tM extends Array{constructor(...t){super(...t),this.init(...t)}clone(){return new this.constructor(this)}init(t){return"number"==typeof t||(this.length=0,this.push(...this.parse(t))),this}parse(t=[]){return t instanceof Array?t:t.trim().split(J).map(parseFloat)}toArray(){return Array.prototype.concat.apply([],this)}toSet(){return new Set(this)}toString(){return this.join(" ")}valueOf(){let t=[];return t.push(...this),t}}class tO{constructor(...t){this.init(...t)}convert(t){return new tO(this.value,t)}divide(t){return t=new tO(t),new tO(this/t,this.unit||t.unit)}init(t,e){return e=Array.isArray(t)?t[1]:e,t=Array.isArray(t)?t[0]:t,this.value=0,this.unit=e||"","number"==typeof t?this.value=isNaN(t)?0:isFinite(t)?t:t<0?-34e37:34e37:"string"==typeof t?(e=t.match(P))&&(this.value=parseFloat(e[1]),"%"===e[5]?this.value/=100:"s"===e[5]&&(this.value*=1e3),this.unit=e[5]):t instanceof tO&&(this.value=t.valueOf(),this.unit=t.unit),this}minus(t){return t=new tO(t),new tO(this-t,this.unit||t.unit)}plus(t){return t=new tO(t),new tO(this+t,this.unit||t.unit)}times(t){return t=new tO(t),new tO(this*t,this.unit||t.unit)}toArray(){return[this.value,this.unit]}toJSON(){return this.toString()}
1toString(){return("%"===this.unit?~~(1e8*this.value)/1e6:"s"===this.unit?this.value/1e3:this.value)+this.unit}valueOf(){return this.value}}let tA=new Set(["fill","stroke","color","bgcolor","stop-color","flood-color","lighting-color"]),tk=[];class tT extends tx{constructor(t,e){super(),this.node=t,this.type=t.nodeName,e&&t!==e&&this.attr(e)}add(t,e){return(t=E(t)).removeNamespace&&this.node instanceof k.window.SVGElement&&t.removeNamespace(),null==e?this.node.appendChild(t.node):t.node!==this.node.childNodes[e]&&this.node.insertBefore(t.node,this.node.childNodes[e]),this}addTo(t,e){return E(t).put(this,e)}children(){return new tl(p(this.node.children,function(t){return D(t)}))}clear(){for(;this.node.hasChildNodes();)this.node.removeChild(this.node.lastChild);return this}clone(t=!0,e=!0){this.writeDataToDom();let i=this.node.cloneNode(t);return e&&(i=function t(e){for(let i=e.children.length-1;i>=0;i--)t(e.children[i]);return e.id&&(e.id=L(e.nodeName)),e}(i)),new this.constructor(i)}each(t,e){let i,r;let n=this.children();for(i=0,r=n.length;i<r;i++)t.apply(n[i],[i,n]),e&&n[i].each(t,e);return this}element(t,e){return this.put(new tT(S(t),e))}first(){return D(this.node.firstChild)}get(t){return D(this.node.childNodes[t])}getEventHolder(){return this.node}getEventTarget(){return this.node}has(t){return this.index(t)>=0}html(t,e){return this.xml(t,e,"http://www.w3.org/1999/xhtml")}id(t){return void 0!==t||this.node.id||(this.node.id=L(this.type)),this.attr("id",t)}index(t){return[].slice.call(this.node.childNodes).indexOf(t.node)}last(){return D(this.node.lastChild)}matches(t){let e=this.node,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector||null;return i&&i.call(e,t)}parent(t){let e=this;if(!e.node.parentNode)return null;if(e=D(e.node.parentNode),!t)return e;do if("string"==typeof t?e.matches(t):e instanceof t)break;while(e=D(e.node.parentNode));return e}put(t,e){return t=E(t),this.add(t,e),t}putIn(t,e){return E(t).add(this,e)}remove(){return this.parent()&&this.parent().removeElement(this),this}removeElement(t){return this.node.removeChild(t.node),this}replace(t){return t=E(t),this.node.parentNode&&this.node.parentNode.replaceChild(t.node,this.node),t}round(t=2,e=null){let i=10**t,r=this.attr(e);for(let t in r)"number"==typeof r[t]&&(r[t]=Math.round(r[t]*i)/i);return this.attr(r),this}svg(t,e){return this.xml(t,e,M)}toString(){return this.id()}words(t){return this.node.textContent=t,this}wrap(t){let e=this.parent();if(!e)return this.addTo(t);let i=e.index(this);return e.put(t,i).put(this)}writeDataToDom(){return this.each(function(){this.writeDataToDom()}),this}xml(t,e,i){if("boolean"==typeof t&&(i=e,e=t,t=null),null==t||"function"==typeof t){e=null==e||e,this.writeDataToDom();let i=this;if(null!=t){if(i=D(i.node.cloneNode(!0)),e){let e=t(i);if(i=e||i,!1===e)return""}i.each(function(){let e=t(this),i=e||this;!1===e?this.remove():e&&this!==i&&this.replace(i)},!0)}return e?i.node.outerHTML:i.node.innerHTML}e=null!=e&&e;let r=S("wrapper",i),n=k.document.createDocumentFragment();r.innerHTML=t;for(let t=r.children.length;t--;)n.appendChild(r.firstElementChild);let s=this.parent();return e?this.replace(n)&&s:this.add(n)}}q(tT,{attr:function(t,e,i){if(null==t){for(let i of(t={},e=this.node.attributes))t[i.nodeName]=Q.test(i.nodeValue)?parseFloat(i.nodeValue):i.nodeValue;return t}if(t instanceof Array)return t.reduce((t,e)=>(t[e]=this.attr(e),t),{});if("object"==typeof t&&t.constructor===Object)for(e in t)this.attr(e,t[e]);else if(null===e)this.node.removeAttribute(t);else{if(null==e)return null==(e=this.node.getAttribute(t))?tv[t]:Q.test(e)?parseFloat(e):e;"number"==typeof(e=tk.reduce((e,i)=>i(t,e,this),e))?e=new tO(e):tA.has(t)&&ti.isColor(e)?e=new ti(e):e.constructor===Array&&(e=new tM(e)),"leading"===t?this.leading&&this.leading(e):"string"==typeof i?this.node.setAttributeNS(i,t,e.toString()):this.node.setAttribute(t,e.toString()),this.rebuild&&("font-size"===t||"x"===t)&&this.rebuild()}return this},find:function(t){return tf(t,this.node)},findOne:function(t){return D(this.node.querySelector(t))}}),z(tT,"Dom");class tC extends tT{constructor(t,e){super(t,e),this.dom={},this.node.instance=this,(t.hasAttribute("data-svgjs")||t.hasAttribute("svgjs:data"))&&this.setData(JSON.parse(t.getAttribute("data-svgjs"))??JSON.parse(t.getAttribute("svgjs:data"))??{})}center(t,e){return this.cx(t).cy(e)}cx(t){return null==t?this.x()+this.width()/2:this.x(t-this.width()/2)}cy(t){return null==t?this.y()+this.height()/2:this.y(t-this.height()/2)}defs(){let t=this.root();return t&&t.defs()}dmove(t,e){return this.dx(t).dy(e)}dx(t=0){return this.x(new tO(t).plus(this.x()))}dy(t=0){return this.y(new tO(t).plus(this.y()))}getEventHolder(){return this}height(t){return this.attr("height",t)}move(t,e){return this.x(t).y(e)}parents(t=this.root()){let e="string"==typeof t;e||(t=E(t));let i=new tl,r=this;for(;(r=r.parent())&&r.node!==k.document&&"#document-fragment"!==r.nodeName&&(i.push(r),!(!e&&r.n
1ode===t.node||e&&r.matches(t)));)if(r.node===this.root().node)return null;return i}reference(t){if(!(t=this.attr(t)))return null;let e=(t+"").match(B);return e?E(e[1]):null}root(){let t=this.parent(C[N]);return t&&t.root()}setData(t){return this.dom=t,this}size(t,e){let i=g(this,t,e);return this.width(new tO(i.width)).height(new tO(i.height))}width(t){return this.attr("width",t)}writeDataToDom(){return v(this,this.dom),super.writeDataToDom()}x(t){return this.attr("x",t)}y(t){return this.attr("y",t)}}q(tC,{bbox:function(){return new tu(ta(this,t=>t.getBBox(),t=>{try{let e=t.clone().addTo(th().svg).show(),i=e.node.getBBox();return e.remove(),i}catch(e){throw Error(`Getting bbox of element "${t.node.nodeName}" is not possible: ${e.toString()}`)}}))},rbox:function(t){let e=new tu(ta(this,t=>t.getBoundingClientRect(),t=>{throw Error(`Getting rbox of element "${t.node.nodeName}" is not possible`)}));return t?e.transform(t.screenCTM().inverseO()):e.addOffset()},inside:function(t,e){let i=this.bbox();return t>i.x&&e>i.y&&t<i.x+i.width&&e<i.y+i.height},point:function(t,e){return new tr(t,e).transformO(this.screenCTM().inverseO())},ctm:function(){return new ts(this.node.getCTM())},screenCTM:function(){try{if("function"==typeof this.isRoot&&!this.isRoot()){let t=this.rect(1,1),e=t.node.getScreenCTM();return t.remove(),new ts(e)}return new ts(this.node.getScreenCTM())}catch(t){return console.warn(`Cannot get CTM from SVG node ${this.node.nodeName}. Is the element rendered?`),new ts}}}),z(tC,"Element");let tN={stroke:["color","width","opacity","linecap","linejoin","miterlimit","dasharray","dashoffset"],fill:["color","opacity","rule"],prefix:function(t,e){return"color"===e?t:t+"-"+e}};["fill","stroke"].forEach(function(t){let e;let i={};i[t]=function(i){if(void 0===i)return this.attr(t);if("string"==typeof i||i instanceof ti||ti.isRgb(i)||i instanceof tC)this.attr(t,i);else for(e=tN[t].length-1;e>=0;e--)null!=i[tN[t][e]]&&this.attr(tN.prefix(t,tN[t][e]),i[tN[t][e]]);return this},f(["Element","Runner"],i)}),f(["Element","Runner"],{matrix:function(t,e,i,r,n,s){return null==t?new ts(this):this.attr("transform",new ts(t,e,i,r,n,s))},rotate:function(t,e,i){return this.transform({rotate:t,ox:e,oy:i},!0)},skew:function(t,e,i,r){return 1==arguments.length||3==arguments.length?this.transform({skew:t,ox:e,oy:i},!0):this.transform({skew:[t,e],ox:i,oy:r},!0)},shear:function(t,e,i){return this.transform({shear:t,ox:e,oy:i},!0)},scale:function(t,e,i,r){return 1==arguments.length||3==arguments.length?this.transform({scale:t,ox:e,oy:i},!0):this.transform({scale:[t,e],ox:i,oy:r},!0)},translate:function(t,e){return this.transform({translate:[t,e]},!0)},relative:function(t,e){return this.transform({relative:[t,e]},!0)},flip:function(t="both",e="center"){return -1==="xybothtrue".indexOf(t)&&(e=t,t="both"),this.transform({flip:t,origin:e},!0)},opacity:function(t){return this.attr("opacity",t)}}),f("radius",{radius:function(t,e=t){return"radialGradient"===(this._element||this).type?this.attr("r",new tO(t)):this.rx(t).ry(e)}}),f("Path",{length:function(){return this.node.getTotalLength()},pointAt:function(t){return new tr(this.node.getPointAtLength(t))}}),f(["Element","Runner"],{font:function(t,e){if("object"==typeof t){for(e in t)this.font(e,t[e]);return this}return"leading"===t?this.leading(e):"anchor"===t?this.attr("text-anchor",e):"size"===t||"family"===t||"weight"===t||"stretch"===t||"variant"===t||"style"===t?this.attr("font-"+t,e):this.attr(t,e)}}),f("Element",["click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove","mouseenter","mouseleave","touchstart","touchmove","touchleave","touchend","touchcancel","contextmenu","wheel","pointerdown","pointermove","pointerup","pointerleave","pointercancel"].reduce(function(t,e){return t[e]=function(t){return null===t?this.off(e):this.on(e,t),this},t},{})),f("Element",{untransform:function(){return this.attr("transform",null)},matrixify:function(){return(this.attr("transform")||"").split(H).slice(0,-1).map(function(t){let e=t.trim().split("(");return[e[0],e[1].split(J).map(function(t){return parseFloat(t)})]}).reverse().reduce(function(t,e){return"matrix"===e[0]?t.lmultiply(ts.fromArray(e[1])):t[e[0]].apply(t,e[1])},new ts)},toParent:function(t,e){if(this===t)return this;if(b(this.node))return this.addTo(t,e);let i=this.screenCTM(),r=t.screenCTM().inverse();return this.addTo(t,e).untransform().transform(r.multiply(i)),this},toRoot:function(t){return this.toParent(this.root(),t)},transform:function(t,e){if(null==t||"string"==typeof t){let e=new ts(this).decompose();return null==t?e:e[t]}ts.isMatrixLike(t)||(t={...t,origin:x(t,this)});let i=new ts(!0===e?this:e||!1).transform(t);return this.attr("transform",i)}});class tS extends tC{flatten(){return this.each(function(){if(this instanceof tS)return this.flatten().ungroup()}),this}ungroup(t=this.parent(),e=t.index(this)){return e=-1===e?t.children().length:e,this.each(function(i,r){return r[r.length-i-1].toParent(t,e)}),this.remove()}}z(tS,"Container");class tE extends tS{constructor(t,e=t){super(j("defs",t),e)}flatten(){return this}ungroup(){return this}}z(tE,"Defs");class tj extends tC{}function tD(t){return this.attr("rx",t)}function tI(t){return this.attr("ry",t)}function tz(t){return null==t?this.cx()-this.rx():this.cx(t+this.rx())}function tR(t){return null==t?this.cy()-this.ry():this.cy(t+this.ry())}function tL(t){return this.attr("cx",t)}function tq(t){return this.attr("cy",t)}function tF(t){return null==t?2*this.rx():this.rx(new tO(t).divide(2))}function tP(t){return null==t?2*this.ry():this.ry(new tO(t).divide(2))}z(tj,"Shape");class tX extends tj{constructor(t,e=t){super(j("ellipse",t),e)}size(t,e){let i=g(this,t,e);return this.rx(new tO(i.width).divide(2)).ry(new tO(i.height).divide(2))}}q(tX,n),f("Container",{ellipse:F(function(t=0,e=t){return this.put(new tX).size(t,e).move(0,0)})}),z(tX,"Ellipse");class tY extends tT{constructor(t=k.document.createDocumentFragment()){super(t)}xml(t,e,i){if("boolean"==typeof t&&(i=e,e=t,t=null),null==t||"function"==typeof t){let t=new tT(S("wrapper",i));return t.add(this.node.cloneNode(!0)),t.xml(!1,i)}return super.xml(t,!1,i)}}function tB(t,e){return"radialGradient"===(this._element||this).type?this.attr({fx:new tO(t),fy:new tO(e)}):this.attr({x1:new tO(t),y1:new tO(e)})}function tH(t,e){return"radialGradient"===(this._element||this).type?this.attr({cx:new tO(t),cy:new tO(e)}):this.attr({x2:new tO(t),y2:new tO(e)})}z(tY,"Fragment");class tV extends tS{constructor(t,e){super(j(t+"Gradient","string"==typeof t?null:t),e)}attr(t,e,i){return"transform"===t&&(t="gradientTransform"),super.attr(t,e,i)}bbox(){return new tu}targets(){return tf("svg [fill*="+this.id()+"]")}toString(){return this.url()}update(t){return this.clear(),"function"==typeof t&&t.call(this,this),this}
1url(){return"url(#"+this.id()+")"}}q(tV,s),f({Container:{gradient(...t){return this.defs().gradient(...t)}},Defs:{gradient:F(function(t,e){return this.put(new tV(t)).update(e)})}}),z(tV,"Gradient");class tG extends tS{constructor(t,e=t){super(j("pattern",t),e)}attr(t,e,i){return"transform"===t&&(t="patternTransform"),super.attr(t,e,i)}bbox(){return new tu}targets(){return tf("svg [fill*="+this.id()+"]")}toString(){return this.url()}update(t){return this.clear(),"function"==typeof t&&t.call(this,this),this}url(){return"url(#"+this.id()+")"}}f({Container:{pattern(...t){return this.defs().pattern(...t)}},Defs:{pattern:F(function(t,e,i){return this.put(new tG).update(i).attr({x:0,y:0,width:t,height:e,patternUnits:"userSpaceOnUse"})})}}),z(tG,"Pattern");class t$ extends tj{constructor(t,e=t){super(j("image",t),e)}load(t,e){if(!t)return this;let i=new k.window.Image;return tw(i,"load",function(t){let r=this.parent(tG);0===this.width()&&0===this.height()&&this.size(i.width,i.height),r instanceof tG&&0===r.width()&&0===r.height()&&r.size(this.width(),this.height()),"function"==typeof e&&e.call(this,t)},this),tw(i,"load error",function(){tg(i)}),this.attr("href",i.src=t,A)}}r=function(t,e,i){return("fill"===t||"stroke"===t)&&W.test(e)&&(e=i.root().defs().image(e)),e instanceof t$&&(e=i.root().defs().pattern(0,0,t=>{t.add(e)})),e},tk.push(r),f({Container:{image:F(function(t,e){return this.put(new t$).size(0,0).load(t,e)})}}),z(t$,"Image");class tU extends tM{bbox(){let t=-1/0,e=-1/0,i=1/0,r=1/0;return this.forEach(function(n){t=Math.max(n[0],t),e=Math.max(n[1],e),i=Math.min(n[0],i),r=Math.min(n[1],r)}),new tu(i,r,t-i,e-r)}move(t,e){let i=this.bbox();if(t-=i.x,e-=i.y,!isNaN(t)&&!isNaN(e))for(let i=this.length-1;i>=0;i--)this[i]=[this[i][0]+t,this[i][1]+e];return this}parse(t=[0,0]){let e=[];(t=t instanceof Array?Array.prototype.concat.apply([],t):t.trim().split(J).map(parseFloat)).length%2!=0&&t.pop();for(let i=0,r=t.length;i<r;i+=2)e.push([t[i],t[i+1]]);return e}size(t,e){let i;let r=this.bbox();for(i=this.length-1;i>=0;i--)r.width&&(this[i][0]=(this[i][0]-r.x)*t/r.width+r.x),r.height&&(this[i][1]=(this[i][1]-r.y)*e/r.height+r.y);return this}toLine(){return{x1:this[0][0],y1:this[0][1],x2:this[1][0],y2:this[1][1]}}toString(){let t=[];for(let e=0,i=this.length;e<i;e++)t.push(this[e].join(","));return t.join(" ")}transform(t){return this.clone().transformO(t)}transformO(t){ts.isMatrixLike(t)||(t=new ts(t));for(let e=this.length;e--;){let[i,r]=this[e];this[e][0]=t.a*i+t.c*r+t.e,this[e][1]=t.b*i+t.d*r+t.f}return this}}let tQ=tU;function tW(t){return null==t?this.bbox().x:this.move(t,this.bbox().y)}function tJ(t){return null==t?this.bbox().y:this.move(this.bbox().x,t)}function tZ(t){let e=this.bbox();return null==t?e.width:this.size(t,e.height)}function tK(t){let e=this.bbox();return null==t?e.height:this.size(e.width,t)}class t0 extends tj{constructor(t,e=t){super(j("line",t),e)}array(){return new tU([[this.attr("x1"),this.attr("y1")],[this.attr("x2"),this.attr("y2")]])}move(t,e){return this.attr(this.array().move(t,e).toLine())}plot(t,e,i,r){return null==t?this.array():(t=void 0!==e?{x1:t,y1:e,x2:i,y2:r}:new tU(t).toLine(),this.attr(t))}size(t,e){let i=g(this,t,e);return this.attr(this.array().size(i.width,i.height).toLine())}}q(t0,h),f({Container:{line:F(function(...t){return t0.prototype.plot.apply(this.put(new t0),null!=t[0]?t:[0,0,0,0])})}}),z(t0,"Line");class t1 extends tS{constructor(t,e=t){super(j("marker",t),e)}height(t){return this.attr("markerHeight",t)}orient(t){return this.attr("orient",t)}ref(t,e){return this.attr("refX",t).attr("refY",e)}toString(){return"url(#"+this.id()+")"}update(t){return this.clear(),"function"==typeof t&&t.call(this,this),this}width(t){return this.attr("markerWidth",t)}}function t2(t,e){return function(i){return null==i?this[t]:(this[t]=i,e&&e.call(this),this)}}f({Container:{marker(...t){return this.defs().marker(...t)}},Defs:{marker:F(function(t,e,i){return this.put(new t1).size(t,e).ref(t/2,e/2).viewbox(0,0,t,e).attr("orient","auto").update(i)})},marker:{marker(t,e,i,r){let n=["marker"];return"all"!==t&&n.push(t),n=n.join("-"),t=arguments[1]instanceof t1?arguments[1]:this.defs().marker(e,i,r),this.attr(n,t)}}}),z(t1,"Marker");let t5={"-":function(t){return t},"<>":function(t){return-Math.cos(t*Math.PI)/2+.5},">":function(t){return Math.sin(t*Math.PI/2)},"<":function(t){return-Math.cos(t*Math.PI/2)+1}
1,bezier:function(t,e,i,r){return function(n){return n<0?t>0?e/t*n:i>0?r/i*n:0:n>1?i<1?(1-r)/(1-i)*n+(r-i)/(1-i):t<1?(1-e)/(1-t)*n+(e-t)/(1-t):1:3*n*(1-n)**2*e+3*n**2*(1-n)*r+n**3}},steps:function(t,e="end"){e=e.split("-").reverse()[0];let i=t;return"none"===e?--i:"both"===e&&++i,(r,n=!1)=>{let s=Math.floor(r*t),h=r*s%1==0;return("start"===e||"both"===e)&&++s,n&&h&&--s,r>=0&&s<0&&(s=0),r<=1&&s>i&&(s=i),s/i}}};class t3{done(){return!1}}class t6 extends t3{constructor(t=tb.ease){super(),this.ease=t5[t]||t}step(t,e,i){return"number"!=typeof t?i<1?t:e:t+(e-t)*this.ease(i)}}class t4 extends t3{constructor(t){super(),this.stepper=t}done(t){return t.done}step(t,e,i,r){return this.stepper(t,e,i,r)}}function t8(){let t=(this._duration||500)/1e3,e=this._overshoot||0,i=Math.PI,r=Math.log(e/100+1e-10),n=-r/Math.sqrt(i*i+r*r),s=3.9/(n*t);this.d=2*n*s,this.k=s*s}class t7 extends t4{constructor(t=500,e=0){super(),this.duration(t).overshoot(e)}step(t,e,i,r){if("string"==typeof t)return t;if(r.done=i===1/0,i===1/0)return e;if(0===i)return t;i>100&&(i=16),i/=1e3;let n=r.velocity||0,s=-this.d*n-this.k*(t-e),h=t+n*i+s*i*i/2;return r.velocity=n+s*i,r.done=Math.abs(e-h)+Math.abs(n)<.002,r.done?e:h}}q(t7,{duration:t2("_duration",t8),overshoot:t2("_overshoot",t8)});class t9 extends t4{constructor(t=.1,e=.01,i=0,r=1e3){super(),this.p(t).i(e).d(i).windup(r)}step(t,e,i,r){if("string"==typeof t)return t;if(r.done=i===1/0,i===1/0)return e;if(0===i)return t;let n=e-t,s=(r.integral||0)+n*i,h=(n-(r.error||0))/i,o=this._windup;return!1!==o&&(s=Math.max(-o,Math.min(s,o))),r.error=n,r.integral=s,r.done=.001>Math.abs(n),r.done?e:t+(this.P*n+this.I*s+this.D*h)}}q(t9,{windup:t2("_windup"),p:t2("P"),i:t2("I"),d:t2("D")});let et={M:2,L:2,H:1,V:1,C:6,S:4,Q:4,T:2,A:7,Z:0},ee={M:function(t,e,i){return e.x=i.x=t[0],e.y=i.y=t[1],["M",e.x,e.y]},L:function(t,e){return e.x=t[0],e.y=t[1],["L",t[0],t[1]]},H:function(t,e){return e.x=t[0],["H",t[0]]},V:function(t,e){return e.y=t[0],["V",t[0]]},C:function(t,e){return e.x=t[4],e.y=t[5],["C",t[0],t[1],t[2],t[3],t[4],t[5]]},S:function(t,e){return e.x=t[2],e.y=t[3],["S",t[0],t[1],t[2],t[3]]},Q:function(t,e){return e.x=t[2],e.y=t[3],["Q",t[0],t[1],t[2],t[3]]},T:function(t,e){return e.x=t[0],e.y=t[1],["T",t[0],t[1]]},Z:function(t,e,i){return e.x=i.x,e.y=i.y,["Z"]},A:function(t,e){return e.x=t[5],e.y=t[6],["A",t[0],t[1],t[2],t[3],t[4],t[5],t[6]]}},ei="mlhvqtcsaz".split("");for(let t=0,e=ei.length;t<e;++t)ee[ei[t]]=function(t){return function(e,i,r){if("H"===t)e[0]=e[0]+i.x;else if("V"===t)e[0]=e[0]+i.y;else if("A"===t)e[5]=e[5]+i.x,e[6]=e[6]+i.y;else for(let t=0,r=e.length;t<r;++t)e[t]=e[t]+(t%2?i.y:i.x);return ee[t](e,i,r)}}(ei[t].toUpperCase());function er(t){return t.segment.length&&t.segment.length-1===et[t.segment[0].toUpperCase()]}function en(t,e){if(!t.inNumber)throw Error("Parser Error");t.number&&t.segment.push(parseFloat(t.number)),t.inNumber=e,t.number="",t.pointSeen=!1,t.hasExponent=!1,er(t)&&es(t)}function es(t){t.inSegment=!1,t.absolute&&(t.segment=ee[t.segment[0]](t.segment.slice(1),t.p,t.p0)),t.segments.push(t.segment)}let eh=new Set([" ",","," ","\n","\r","\f"]);class eo extends tM{bbox(){return th().path.setAttribute("d",this.toString()),new tu(th.nodes.path.getBBox())}move(t,e){let i=this.bbox();if(t-=i.x,e-=i.y,!isNaN(t)&&!isNaN(e))for(let i,r=this.length-1;r>=0;r--)"M"===(i=this[r][0])||"L"===i||"T"===i?(this[r][1]+=t,this[r][2]+=e):"H"===i?this[r][1]+=t:"V"===i?this[r][1]+=e:"C"===i||"S"===i||"Q"===i?(this[r][1]+=t,this[r][2]+=e,this[r][3]+=t,this[r][4]+=e,"C"===i&&(this[r][5]+=t,this[r][6]+=e)):"A"===i&&(this[r][6]+=t,this[r][7]+=e);return this}parse(t="M0 0"){return Array.isArray(t)&&(t=Array.prototype.concat.apply([],t).toString()),function(t,e=!0){let i=0,r="",n={segment:[],inNumber:!1,number:"",lastToken:"",inSegment:!1,segments:[],pointSeen:!1,hasExponent:!1,absolute:e,p0:new tr,p:new tr};for(;n.lastToken=r,r=t.charAt(i++);)if(!(!n.inSegment&&function(t,e){t.inNumber&&en(t,!1);let i=Z.test(e);if(i)t.segment=[e];else{let e=t.lastCommand,i=e.toLowerCase(),r=e===i;t.segment=["m"===i?r?"l":"L":e]}return t.inSegment=!0,t.lastCommand=t.segment[0],i}(n,r))){if("."===r){if(n.pointSeen||n.hasExponent){en(n,!1),--i;continue}n.inNumber=!0,n.pointSeen=!0,n.number+=r;continue}if(!isNaN(parseInt(r))){if("0"===n.number||function(t){if(!t.segment.length)return!1;let e="A"===t.segment[0].toUpperCase(),i=t.segment.length;return e&&(4===i||5===i)}(n)){n.inNumber=!0,n.number=r,en(n,!0);continue}n.inNumber=!0,n.number+=r;continue}if(eh.has(r)){n.inNumber&&en(n,!1);continue}if("-"===r||"+"===r){if(n.inNumber&&"E"!==n.lastToken.toUpperCase()){en(n,!1),--i;continue}n.number+=r,n.inNumber=!0;continue}
1if("E"===r.toUpperCase()){n.number+=r,n.hasExponent=!0;continue}if(Z.test(r)){if(n.inNumber)en(n,!1);else if(er(n))es(n);else throw Error("parser Error");--i}}return n.inNumber&&en(n,!1),n.inSegment&&er(n)&&es(n),n.segments}(t)}size(t,e){let i,r;let n=this.bbox();for(n.width=0===n.width?1:n.width,n.height=0===n.height?1:n.height,i=this.length-1;i>=0;i--)"M"===(r=this[i][0])||"L"===r||"T"===r?(this[i][1]=(this[i][1]-n.x)*t/n.width+n.x,this[i][2]=(this[i][2]-n.y)*e/n.height+n.y):"H"===r?this[i][1]=(this[i][1]-n.x)*t/n.width+n.x:"V"===r?this[i][1]=(this[i][1]-n.y)*e/n.height+n.y:"C"===r||"S"===r||"Q"===r?(this[i][1]=(this[i][1]-n.x)*t/n.width+n.x,this[i][2]=(this[i][2]-n.y)*e/n.height+n.y,this[i][3]=(this[i][3]-n.x)*t/n.width+n.x,this[i][4]=(this[i][4]-n.y)*e/n.height+n.y,"C"===r&&(this[i][5]=(this[i][5]-n.x)*t/n.width+n.x,this[i][6]=(this[i][6]-n.y)*e/n.height+n.y)):"A"===r&&(this[i][1]=this[i][1]*t/n.width,this[i][2]=this[i][2]*e/n.height,this[i][6]=(this[i][6]-n.x)*t/n.width+n.x,this[i][7]=(this[i][7]-n.y)*e/n.height+n.y);return this}toString(){return function(t){let e="";for(let i=0,r=t.length;i<r;i++)e+=t[i][0],null!=t[i][1]&&(e+=t[i][1],null!=t[i][2]&&(e+=" "+t[i][2],null!=t[i][3]&&(e+=" "+t[i][3]+" "+t[i][4],null!=t[i][5]&&(e+=" "+t[i][5]+" "+t[i][6],null!=t[i][7]&&(e+=" "+t[i][7])))));return e+" "}(this)}}let eu=t=>{let e=typeof t;return"number"===e?tO:"string"===e?ti.isColor(t)?ti:J.test(t)?Z.test(t)?eo:tM:P.test(t)?tO:el:em.indexOf(t.constructor)>-1?t.constructor:Array.isArray(t)?tM:"object"===e?ed:el};class ea{constructor(t){this._stepper=t||new t6("-"),this._from=null,this._to=null,this._type=null,this._context=null,this._morphObj=null}at(t){return this._morphObj.morph(this._from,this._to,t,this._stepper,this._context)}done(){return this._context.map(this._stepper.done).reduce(function(t,e){return t&&e},!0)}from(t){return null==t?this._from:(this._from=this._set(t),this)}stepper(t){return null==t?this._stepper:(this._stepper=t,this)}to(t){return null==t?this._to:(this._to=this._set(t),this)}type(t){return null==t?this._type:(this._type=t,this)}_set(t){this._type||this.type(eu(t));let e=new this._type(t);return this._type===ti&&(e=this._to?e[this._to[4]]():this._from?e[this._from[4]]():e),this._type===ed&&(e=this._to?e.align(this._to):this._from?e.align(this._from):e),e=e.toConsumable(),this._morphObj=this._morphObj||new this._type,this._context=this._context||Array.apply(null,Array(e.length)).map(Object).map(function(t){return t.done=!0,t}),e}}class el{constructor(...t){this.init(...t)}init(t){return t=Array.isArray(t)?t[0]:t,this.value=t,this}toArray(){return[this.value]}valueOf(){return this.value}}class ec{constructor(...t){this.init(...t)}init(t){return Array.isArray(t)&&(t={scaleX:t[0],scaleY:t[1],shear:t[2],rotate:t[3],translateX:t[4],translateY:t[5],originX:t[6],originY:t[7]}),Object.assign(this,ec.defaults,t),this}toArray(){return[this.scaleX,this.scaleY,this.shear,this.rotate,this.translateX,this.translateY,this.originX,this.originY]}}ec.defaults={scaleX:1,scaleY:1,shear:0,rotate:0,translateX:0,translateY:0,originX:0,originY:0};let ef=(t,e)=>t[0]<e[0]?-1:t[0]>e[0]?1:0;class ed{constructor(...t){this.init(...t)}align(t){let e=this.values;for(let i=0,r=e.length;i<r;++i){if(e[i+1]===t[i+1]){if(e[i+1]===ti&&t[i+7]!==e[i+7]){let e=t[i+7],r=new ti(this.values.splice(i+3,5))[e]().toArray();this.values.splice(i+3,0,...r)}i+=e[i+2]+2;continue}if(!t[i+1])break;let r=new t[i+1]().toArray(),n=e[i+2]+3;e.splice(i,n,t[i],t[i+1],t[i+2],...r),i+=e[i+2]+2}return this}init(t){if(this.values=[],Array.isArray(t)){this.values=t.slice();return}let e=[];for(let i in t=t||{}){let r=eu(t[i]),n=new r(t[i]).toArray();e.push([i,r,n.length,...n])}return e.sort(ef),this.values=e.reduce((t,e)=>t.concat(e),[]),this}toArray(){return this.values}valueOf(){let t={},e=this.values;for(;e.length;){let i=e.shift(),r=e.shift(),n=e.shift(),s=e.splice(0,n);t[i]=new r(s)}return t}}let em=[el,ec,ed];class ep extends tj{constructor(t,e=t){super(j("path",t),e)}array(){return this._array||(this._array=new eo(this.attr("d")))}clear(){return delete this._array,this}height(t){return null==t?this.bbox().height:this.size(this.bbox().width,t)}move(t,e){return this.attr("d",this.array().move(t,e))}plot(t){return null==t?this.array():this.clear().attr("d","string"==typeof t?t:this._array=new eo(t))}size(t,e){let i=g(this,t,e);return this.attr("d",this.array().size(i.width,i.height))}width(t){return null==t?this.bbox().width:this.size(t,this.bbox().height)}x(t){return null==t?this.bbox().x:this.move(t,this.bbox().y)}y(t){return null==t?this.bbox().y:this.move(this.bbox().x,t)}}function ey(){return this._array||(this._array=new tU(this.attr("points")))}function ew(){return delete this._array,this}function eg(t,e){return this.attr("points",this.array().move(t,e))}function ex(t){return null==t?this.array():this.clear().attr("points","string"==typeof t?t:this._array=new tU(t))}function e_(t,e){let i=g(this,t,e);return this.attr("points",this.array().size(i.width,i.height))}ep.prototype.MorphArray=eo,f({Container:{path:F(function(t){return this.put(new ep).plot(t||new eo)})}}),z(ep,"Path");class eb extends tj{constructor(t,e=t){super(j("polygon",t),e)}}f({Container:{polygon:F(function(t){return this.put(new eb).plot(t||new tU)})}}),q(eb,h),q(eb,o),z(eb,"Polygon");class ev extends tj{constructor(t,e=t){super(j("polyline",t),e)}}f({Container:{polyline:F(function(t){return this.put(new ev).plot(t||new tU)})}}),q(ev,h),q(ev,o),z(ev,"Polyline");class eM extends tj{constructor(t,e=t){super(j("rect",t),e)}}q(eM,{rx:tD,ry:tI}),f({Container:{rect:F(function(t,e){return this.put(new eM).size(t,e)})}}),z(eM,"Rect");class eO{constructor(){this._first=null,this._last=null}first(){return this._first&&this._first.value}last(){return this._last&&this._last.value}push(t){let e=void 0!==t.next?t:{value:t,next:null,prev:null};return this._last?(e.prev=this._last,this._last.next=e,this._last=e):(this._last=e,this._first=e),e}remove(t){t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t===this._last&&(this._last=t.prev),t===this._first&&(this._first=t.next),t.prev=null,t.next=null}shift(){let t=this._first;return t?(this._first=t.next,this._first&&(this._first.prev=null),this._last=this._first?this._last:null,t.value):null}}let eA={nextDraw:null,frames:new eO,timeouts:new eO,immediates:new eO,timer:()=>k.window.performance||k.window.Date,transforms:[],frame(t){let e=eA.frames.push({run:t});return null===eA.nextDraw&&(eA.nextDraw=k.window.requestAnimationFrame(eA._draw)),e},timeout(t,e){e=e||0;let i=eA.timer().now()+e,r=eA.timeouts.push({run:t,time:i});return null===eA.nextDraw&&(eA.nextDraw=k.window.requestAnimationFrame(eA._draw)),r},immediate(t){let e=eA.immediates.push(t);return null===eA.nextDraw&&(eA.nextDraw=k.window.requestAnimationFrame(eA._draw)),e},cancelFrame(t){null!=t&&eA.frames.remove(t)},clearTimeout(t){null!=t&&eA.timeouts.remove(t)},cancelImmediate(t){null!=t&&eA.immediates.remove(t)},_draw(t){let e=null,i=eA.timeouts.last();for(;(e=eA.timeouts.shift())&&(t>=e.time?e.run():eA.timeouts.push(e),e!==i););
1let r=null,n=eA.frames.last();for(;r!==n&&(r=eA.frames.shift());)r.run(t);let s=null;for(;s=eA.immediates.shift();)s();eA.nextDraw=eA.timeouts.first()||eA.frames.first()?k.window.requestAnimationFrame(eA._draw):null}},ek=function(t){let e=t.start,i=t.runner.duration();return{start:e,duration:i,end:e+i,runner:t.runner}},eT=function(){let t=k.window;return(t.performance||t.Date).now()};class eC extends tx{constructor(t=eT){super(),this._timeSource=t,this.terminate()}active(){return!!this._nextFrame}finish(){return this.time(this.getEndTimeOfTimeline()+1),this.pause()}getEndTime(){let t=this.getLastRunnerInfo(),e=t?t.runner.duration():0;return(t?t.start:this._time)+e}getEndTimeOfTimeline(){return Math.max(0,...this._runners.map(t=>t.start+t.runner.duration()))}getLastRunnerInfo(){return this.getRunnerInfoById(this._lastRunnerId)}getRunnerInfoById(t){return this._runners[this._runnerIds.indexOf(t)]||null}pause(){return this._paused=!0,this._continue()}persist(t){return null==t?this._persist:(this._persist=t,this)}play(){return this._paused=!1,this.updateTime()._continue()}reverse(t){let e=this.speed();if(null==t)return this.speed(-e);let i=Math.abs(e);return this.speed(t?-i:i)}schedule(t,e,i){if(null==t)return this._runners.map(ek);let r=0,n=this.getEndTime();if(e=e||0,null==i||"last"===i||"after"===i)r=n;else if("absolute"===i||"start"===i)r=e,e=0;else if("now"===i)r=this._time;else if("relative"===i){let i=this.getRunnerInfoById(t.id);i&&(r=i.start+e,e=0)}else if("with-last"===i){let t=this.getLastRunnerInfo();r=t?t.start:this._time}else throw Error('Invalid value for the "when" parameter');t.unschedule(),t.timeline(this);let s=t.persist(),h={persist:null===s?this._persist:s,start:r+e,runner:t};return this._lastRunnerId=t.id,this._runners.push(h),this._runners.sort((t,e)=>t.start-e.start),this._runnerIds=this._runners.map(t=>t.runner.id),this.updateTime()._continue(),this}seek(t){return this.time(this._time+t)}source(t){return null==t?this._timeSource:(this._timeSource=t,this)}speed(t){return null==t?this._speed:(this._speed=t,this)}stop(){return this.time(0),this.pause()}time(t){return null==t?this._time:(this._time=t,this._continue(!0))}unschedule(t){let e=this._runnerIds.indexOf(t.id);return e<0||(this._runners.splice(e,1),this._runnerIds.splice(e,1),t.timeline(null)),this}updateTime(){return this.active()||(this._lastSourceTime=this._timeSource()),this}_continue(t=!1){return(eA.cancelFrame(this._nextFrame),this._nextFrame=null,t)?this._stepImmediate():(this._paused||(this._nextFrame=eA.frame(this._step)),this)}_stepFn(t=!1){let e=this._timeSource(),i=e-this._lastSourceTime;t&&(i=0);let r=this._speed*i+(this._time-this._lastStepTime);this._lastSourceTime=e,t||(this._time+=r,this._time=this._time<0?0:this._time),this._lastStepTime=this._time,this.fire("time",this._time);for(let t=this._runners.length;t--;){let e=this._runners[t],i=e.runner;this._time-e.start<=0&&i.reset()}let n=!1;for(let t=0,e=this._runners.length;t<e;t++){let i=this._runners[t],s=i.runner,h=r,o=this._time-i.start;if(o<=0){n=!0;continue}o<h&&(h=o),s.active()&&(s.step(h).done?!0!==i.persist&&s.duration()-s.time()+this._time+i.persist<this._time&&(s.unschedule(),--t,--e):n=!0)}return n&&!(this._speed<0&&0===this._time)||this._runnerIds.length&&this._speed<0&&this._time>0?this._continue():(this.pause(),this.fire("finished")),this}terminate(){this._startTime=0,this._speed=1,this._persist=0,this._nextFrame=null,this._paused=!0,this._runners=[],this._runnerIds=[],this._lastRunnerId=-1,this._time=0,this._lastSourceTime=0,this._lastStepTime=0,this._step=this._stepFn.bind(this,!1),this._stepImmediate=this._stepFn.bind(this,!0)}}f({Element:{timeline:function(t){return null==t?(this._timeline=this._timeline||new eC,this._timeline):(this._timeline=t,this)}}});class eN extends tx{constructor(t){super(),this.id=eN.id++,t="function"==typeof(t=null==t?tb.duration:t)?new t4(t):t,this._element=null,this._timeline=null,this.done=!1,this._queue=[],this._duration="number"==typeof t&&t,this._isDeclarative=t instanceof t4,this._stepper=this._isDeclarative?t:new t6,this._history={},this.enabled=!0,this._time=0,this._lastTime=0,this._reseted=!0,this.transforms=new ts,this.transformId=1,this._haveReversed=!1,this._reverse=!1,this._loopsDone=0,this._swing=!1,this._wait=0,this._times=1,this._frameId=null,this._persist=!!this._isDeclarative||null}static sanitise(t,e,i){let r=1,n=!1,s=0;return t=t??tb.duration,e=e??tb.delay,i=i||"last","object"!=typeof t||t instanceof t3||(e=t.delay??e,i=t.when??i,n=t.swing||n,r=t.times??r,s=t.wait??s,t=t.duration??tb.duration),{duration:t,delay:e,swing:n,times:r,wait:s,when:i}}active(t){return null==t?this.enabled:(this.enabled=t,this)}addTransform(t){return this.transforms.lmultiplyO(t),this}after(t){return this.on("finished",t)}animate(t,e,i){let r=eN.sanitise(t,e,i),n=new eN(r.duration);return this._timeline&&n.timeline(this._timeline),this._element&&n.element
1(this._element),n.loop(r).schedule(r.delay,r.when)}clearTransform(){return this.transforms=new ts,this}clearTransformsFromQueue(){this.done&&this._timeline&&this._timeline._runnerIds.includes(this.id)||(this._queue=this._queue.filter(t=>!t.isTransform))}delay(t){return this.animate(0,t)}duration(){return this._times*(this._wait+this._duration)-this._wait}during(t){return this.queue(null,t)}ease(t){return this._stepper=new t6(t),this}element(t){return null==t?this._element:(this._element=t,t._prepareRunner(),this)}finish(){return this.step(1/0)}loop(t,e,i){return"object"==typeof t&&(e=t.swing,i=t.wait,t=t.times),this._times=t||1/0,this._swing=e||!1,this._wait=i||0,!0===this._times&&(this._times=1/0),this}loops(t){let e=this._duration+this._wait;if(null==t){let t=Math.floor(this._time/e),i=(this._time-t*e)/this._duration;return Math.min(t+i,this._times)}let i=e*Math.floor(t)+this._duration*(t%1);return this.time(i)}persist(t){return null==t?this._persist:(this._persist=t,this)}position(t){let e;let i=this._time,r=this._duration,n=this._wait,s=this._times,h=this._swing,o=this._reverse;if(null==t){let t=function(t){let e=h*Math.floor(t%(2*(n+r))/(n+r)),i=e&&!o||!e&&o;return Math.max(Math.min(t%(n+r)*Math.pow(-1,i)/r+i,1),0)},e=s*(n+r)-n;return i<=0?Math.round(t(1e-5)):i<e?t(i):Math.round(t(e-1e-5))}let u=Math.floor(this.loops()),a=h&&u%2==0;return e=u+(a&&!o||o&&a?t:1-t),this.loops(e)}progress(t){return null==t?Math.min(1,this._time/this.duration()):this.time(t*this.duration())}queue(t,e,i,r){return this._queue.push({initialiser:t||t_,runner:e||t_,retarget:i,isTransform:r,initialised:!1,finished:!1}),this.timeline()&&this.timeline()._continue(),this}reset(){return this._reseted||(this.time(0),this._reseted=!0),this}reverse(t){return this._reverse=null==t?!this._reverse:t,this}schedule(t,e,i){if(t instanceof eC||(i=e,e=t,t=this.timeline()),!t)throw Error("Runner cannot be scheduled without timeline");return t.schedule(this,e,i),this}step(t){if(!this.enabled)return this;t=null==t?16:t,this._time+=t;let e=this.position(),i=this._lastPosition!==e&&this._time>=0;this._lastPosition=e;let r=this.duration(),n=this._lastTime<=0&&this._time>0,s=this._lastTime<r&&this._time>=r;this._lastTime=this._time,n&&this.fire("start",this);let h=this._isDeclarative;this.done=!h&&!s&&this._time>=r,this._reseted=!1;let o=!1;return(i||h)&&(this._initialise(i),this.transforms=new ts,o=this._run(h?t:e),this.fire("step",this)),this.done=this.done||o&&h,s&&this.fire("finished",this),this}time(t){if(null==t)return this._time;let e=t-this._time;return this.step(e),this}timeline(t){return void 0===t?this._timeline:(this._timeline=t,this)}unschedule(){let t=this.timeline();return t&&t.unschedule(this),this}_initialise(t){if(t||this._isDeclarative)for(let e=0,i=this._queue.length;e<i;++e){let i=this._queue[e],r=this._isDeclarative||!i.initialised&&t;t=!i.finished,r&&t&&(i.initialiser.call(this),i.initialised=!0)}}_rememberMorpher(t,e){if(this._history[t]={morpher:e,caller:this._queue[this._queue.length-1]},this._isDeclarative){let t=this.timeline();t&&t.play()}}_run(t){let e=!0;for(let i=0,r=this._queue.length;i<r;++i){let r=this._queue[i],n=r.runner.call(this,t);r.finished=r.finished||!0===n,e=e&&r.finished}return e}_tryRetarget(t,e,i){if(this._history[t]){if(!this._history[t].caller.initialised){let e=this._queue.indexOf(this._history[t].caller);return this._queue.splice(e,1),!1}this._history[t].caller.retarget?this._history[t].caller.retarget.call(this,e,i):this._history[t].morpher.to(e),this._history[t].caller.finished=!1;let r=this.timeline();return r&&r.play(),!0}return!1}}eN.id=0;class eS{constructor(t=new ts,e=-1,i=!0){this.transforms=t,this.id=e,this.done=i}clearTransformsFromQueue(){}}q([eN,eS],{mergeWith(t){return new eS(t.transforms.lmultiply(this.transforms),t.id)}});let eE=(t,e)=>t.lmultiplyO(e),ej=t=>t.transforms;function eD(){let t=this._transformationRunners.runners.map(ej).reduce(eE,new ts);this.transform(t),this._transformationRunners.merge(),1===this._transformationRunners.length()&&(this._frameId=null)}class eI{constructor(){this.runners=[],this.ids=[]}add(t){if(this.runners.includes(t))return;let e=t.id+1;return this.runners.push(t),this.ids.push(e),this}clearBefore(t){let e=this.ids.indexOf(t+1)||1;return this.ids.splice(0,e,0),this.runners.splice(0,e,new eS).forEac
1h(t=>t.clearTransformsFromQueue()),this}edit(t,e){let i=this.ids.indexOf(t+1);return this.ids.splice(i,1,t+1),this.runners.splice(i,1,e),this}getByID(t){return this.runners[this.ids.indexOf(t+1)]}length(){return this.ids.length}merge(){let t=null;for(let e=0;e<this.runners.length;++e){let i=this.runners[e];if(!t||!i.done||!t.done||i._timeline&&i._timeline._runnerIds.includes(i.id)||t._timeline&&t._timeline._runnerIds.includes(t.id))t=i;else{this.remove(i.id);let r=i.mergeWith(t);this.edit(t.id,r),t=r,--e}}return this}remove(t){let e=this.ids.indexOf(t+1);return this.ids.splice(e,1),this.runners.splice(e,1),this}}f({Element:{animate(t,e,i){let r=eN.sanitise(t,e,i),n=this.timeline();return new eN(r.duration).loop(r).element(this).timeline(n.play()).schedule(r.delay,r.when)},delay(t,e){return this.animate(0,t,e)},_clearTransformRunnersBefore(t){this._transformationRunners.clearBefore(t.id)},_currentTransform(t){return this._transformationRunners.runners.filter(e=>e.id<=t.id).map(ej).reduce(eE,new ts)},_addRunner(t){this._transformationRunners.add(t),eA.cancelImmediate(this._frameId),this._frameId=eA.immediate(eD.bind(this))},_prepareRunner(){null==this._frameId&&(this._transformationRunners=new eI().add(new eS(new ts(this))))}}});let ez=(t,e)=>t.filter(t=>!e.includes(t));q(eN,{attr(t,e){return this.styleAttr("attr",t,e)},css(t,e){return this.styleAttr("css",t,e)},styleAttr(t,e,i){if("string"==typeof e)return this.styleAttr(t,{[e]:i});let r=e;if(this._tryRetarget(t,r))return this;let n=new ea(this._stepper).to(r),s=Object.keys(r);return this.queue(function(){n=n.from(this.element()[t](s))},function(e){return this.element()[t](n.at(e).valueOf()),n.done()},function(e){let i=Object.keys(e),h=ez(i,s);if(h.length){let e=this.element()[t](h),i=new ed(n.from()).valueOf();Object.assign(i,e),n.from(i)}let o=new ed(n.to()).valueOf();Object.assign(o,e),n.to(o),s=i,r=e}),this._rememberMorpher(t,n),this},zoom(t,e){if(this._tryRetarget("zoom",t,e))return this;let i=new ea(this._stepper).to(new tO(t));return this.queue(function(){i=i.from(this.element().zoom())},function(t){return this.element().zoom(i.at(t),e),i.done()},function(t,r){e=r,i.to(t)}),this._rememberMorpher("zoom",i),this},transform(t,e,i){let r,n,s,h,o;if(e=t.relative||e,this._isDeclarative&&!e&&this._tryRetarget("transform",t))return this;let u=ts.isMatrixLike(t);i=null!=t.affine?t.affine:null!=i?i:!u;let a=new ea(this._stepper).type(i?ec:ts);return this.queue(function(){n=n||this.element(),r=r||x(t,n),o=new ts(e?void 0:n),n._addRunner(this),e||n._clearTransformRunnersBefore(this)},function(l){e||this.clearTransform();let{x:c,y:f}=new tr(r).transform(n._currentTransform(this)),d=new ts({...t,origin:[c,f]}),m=this._isDeclarative&&s?s:o;if(i){d=d.decompose(c,f),m=m.decompose(c,f);let t=d.rotate,e=m.rotate,i=[t-360,t,t+360],r=i.map(t=>Math.abs(t-e)),n=r.indexOf(Math.min(...r));d.rotate=i[n]}e&&(u||(d.rotate=t.rotate||0),this._isDeclarative&&h&&(m.rotate=h)),a.from(m),a.to(d);let p=a.at(l);return h=p.rotate,s=new ts(p),this.addTransform(s),n._addRunner(this),a.done()},function(e){(e.origin||"center").toString()!==(t.origin||"center").toString()&&(r=x(e,n)),t={...e,origin:r}},!0),this._isDeclarative&&this._rememberMorpher("transform",a),this},x(t){return this._queueNumber("x",t)},y(t){return this._queueNumber("y",t)},ax(t){return this._queueNumber("ax",t)},ay(t){return this._queueNumber("ay",t)},dx(t=0){return this._queueNumberDelta("x",t)},dy(t=0){return this._queueNumberDelta("y",t)},dmove(t,e){return this.dx(t).dy(e)},_queueNumberDelta(t,e){if(e=new tO(e),this._tryRetarget(t,e))return this;let i=new ea(this._stepper).to(e),r=null;return this.queue(function(){r=this.element()[t](),i.from(r),i.to(r+e)},function(e){return this.element()[t](i.at(e)),i.done()},function(t){i.to(r+new tO(t))}),this._rememberMorpher(t,i),this},_queueObject(t,e){if(this._tryRetarget(t,e))return this;let i=new ea(this._stepper).to(e);return this.queue(function(){i.from(this.element()[t]())},function(e){return this.element()[t](i.at(e)),i.done()}),this._rememberMorpher(t,i),this}
1,_queueNumber(t,e){return this._queueObject(t,new tO(e))},cx(t){return this._queueNumber("cx",t)},cy(t){return this._queueNumber("cy",t)},move(t,e){return this.x(t).y(e)},amove(t,e){return this.ax(t).ay(e)},center(t,e){return this.cx(t).cy(e)},size(t,e){let i;return t&&e||(i=this._element.bbox()),t||(t=i.width/i.height*e),e||(e=i.height/i.width*t),this.width(t).height(e)},width(t){return this._queueNumber("width",t)},height(t){return this._queueNumber("height",t)},plot(t,e,i,r){if(4==arguments.length)return this.plot([t,e,i,r]);if(this._tryRetarget("plot",t))return this;let n=new ea(this._stepper).type(this._element.MorphArray).to(t);return this.queue(function(){n.from(this._element.array())},function(t){return this._element.plot(n.at(t)),n.done()}),this._rememberMorpher("plot",n),this},leading(t){return this._queueNumber("leading",t)},viewbox(t,e,i,r){return this._queueObject("viewbox",new tu(t,e,i,r))},update(t){return"object"!=typeof t?this.update({offset:arguments[0],color:arguments[1],opacity:arguments[2]}):(null!=t.opacity&&this.attr("stop-opacity",t.opacity),null!=t.color&&this.attr("stop-color",t.color),null!=t.offset&&this.attr("offset",t.offset),this)}}),q(eN,{rx:tD,ry:tI,from:tB,to:tH}),z(eN,"Runner");class eR extends tS{constructor(t,e=t){super(j("svg",t),e),this.namespace()}defs(){return this.isRoot()?D(this.node.querySelector("defs"))||this.put(new tE):this.root().defs()}isRoot(){return!this.node.parentNode||!(this.node.parentNode instanceof k.window.SVGElement)&&"#document-fragment"!==this.node.parentNode.nodeName}namespace(){return this.isRoot()?this.attr({xmlns:M,version:"1.1"}).attr("xmlns:xlink",A,O):this.root().namespace()}removeNamespace(){return this.attr({xmlns:null,version:null}).attr("xmlns:xlink",null,O).attr("xmlns:svgjs",null,O)}root(){return this.isRoot()?this:super.root()}}f({Container:{nested:F(function(){return this.put(new eR)})}}),z(eR,"Svg",!0);class eL extends tS{constructor(t,e=t){super(j("symbol",t),e)}}function eq(t){return!1===this._build&&this.clear(),this.node.appendChild(k.document.createTextNode(t)),this}function eF(){return this.node.getComputedTextLength()}function eP(t,e=this.bbox()){return null==t?e.x:this.attr("x",this.attr("x")+t-e.x)}function eX(t,e=this.bbox()){return null==t?e.y:this.attr("y",this.attr("y")+t-e.y)}function eY(t,e,i=this.bbox()){return this.x(t,i).y(e,i)}function eB(t,e=this.bbox()){return null==t?e.cx:this.attr("x",this.attr("x")+t-e.cx)}function eH(t,e=this.bbox()){return null==t?e.cy:this.attr("y",this.attr("y")+t-e.cy)}function eV(t,e,i=this.bbox()){return this.cx(t,i).cy(e,i)}function eG(t){return this.attr("x",t)}function e$(t){return this.attr("y",t)}function eU(t,e){return this.ax(t).ay(e)}function eQ(t){return this._build=!!t,this}f({Container:{symbol:F(function(){return this.put(new eL)})}}),z(eL,"Symbol");class eW extends tj{constructor(t,e=t){super(j("text",t),e),this.dom.leading=this.dom.leading??new tO(1.3),this._rebuild=!0,this._build=!1}leading(t){return null==t?this.dom.leading:(this.dom.leading=new tO(t),this.rebuild())}rebuild(t){if("boolean"==typeof t&&(this._rebuild=t),this._rebuild){let t=this,e=0,i=this.dom.leading;this.each(function(r){if(b(this.node))return;let n=i*new tO(k.window.getComputedStyle(this.node).getPropertyValue("font-size"));this.dom.newLined&&(this.attr("x",t.attr("x")),"\n"===this.text()?e+=n:(this.attr("dy",r?n+e:0),e=0))}),this.fire("rebuild")}return this}setData(t){return this.dom=t,this.dom.leading=new tO(t.leading||1.3),this}writeDataToDom(){return v(this,this.dom,{leading:1.3}),this}text(t){if(void 0===t){let e=this.node.childNodes,i=0;t="";for(let r=0,n=e.length;r<n;++r){if("textPath"===e[r].nodeName||b(e[r])){0===r&&(i=r+1);continue}r!==i&&3!==e[r].nodeType&&!0===D(e[r]).dom.newLined&&(t+="\n"),t+=e[r].textContent}return t}if(this.clear().build(!0),"function"==typeof t)t.call(this,this);else{t=(t+"").split("\n");for(let e=0,i=t.length;e<i;e++)this.newLine(t[e])}return this.build(!1).rebuild()}}q(eW,u),f({Container:{text:F(function(t=""){return this.put(new eW).text(t)}),plain:F(function(t=""){return this.put(new eW).plain(t)})}}),z(eW,"Text");class eJ extends tj{constructor(t,e=t){super(j("tspan",t),e),this._build=!1}dx(t){return this.attr("dx",t)}dy(t){return this.attr("dy",t)}newLine(){this.dom.newLined=!0;let t=this.parent();if(!(t instanceof eW))return this;let e=t.index(this),i=k.window.getComputedStyle(this.node).getPropertyValue("font-size"),r=t.dom.leading*new tO(i);return this.dy(e?r:0).attr("x",t.x())}text(t){return null==t?this.node.textContent+(this.dom.newLined?"\n":""):("function"==typeof t?(this.clear().build(!0),t.call(this,this),this.build(!1)):this.plain(t),this)}}q(eJ,u),f({Tspan:{tspan:F(function(t=""){let e=new eJ;return this._build||this.clear(),this.put(e).text(t)})},Text:{newLine:function(t=""){return this.tspan(t).newLine()}}}),z(eJ,"Tspan");class eZ extends tj{constructor(t,e=t){super(j("circle",t),e)}radius(t){return this.attr("r",t)}rx(t){return this.attr("r",t)}ry(t){return this.rx(t)}size(t){return this.radius(new tO(t).divide(2))}}q(eZ,{x:tz,y:tR,cx:tL,cy:tq,width:tF,height:tP}),f({Container:{circle:F(function(t=0){return this.put(new eZ).size(t).move(0,0)})}}),z(eZ,"Circle");class eK extends tS{constructor(t,e=t){super(j("clipPath",t),e)}
1remove(){return this.targets().forEach(function(t){t.unclip()}),super.remove()}targets(){return tf("svg [clip-path*="+this.id()+"]")}}f({Container:{clip:F(function(){return this.defs().put(new eK)})},Element:{clipper(){return this.reference("clip-path")},clipWith(t){let e=t instanceof eK?t:this.parent().clip().add(t);return this.attr("clip-path","url(#"+e.id()+")")},unclip(){return this.attr("clip-path",null)}}}),z(eK,"ClipPath");class e0 extends tC{constructor(t,e=t){super(j("foreignObject",t),e)}}function e1(t,e){return this.children().forEach(i=>{let r;try{r=i.node instanceof k.window.SVGSVGElement?new tu(i.attr(["x","y","width","height"])):i.bbox()}catch(t){return}let n=new ts(i),s=n.translate(t,e).transform(n.inverse()),h=new tr(r.x,r.y).transform(s);i.move(h.x,h.y)}),this}function e2(t){return this.dmove(t,0)}function e5(t){return this.dmove(0,t)}function e3(t,e=this.bbox()){return null==t?e.height:this.size(e.width,t,e)}function e6(t=0,e=0,i=this.bbox()){let r=t-i.x,n=e-i.y;return this.dmove(r,n)}function e4(t,e,i=this.bbox()){let r=g(this,t,e,i),n=r.width/i.width,s=r.height/i.height;
1return this.children().forEach(t=>{let e=new tr(i).transform(new ts(t).inverse());t.scale(n,s,e.x,e.y)}),this}function e8(t,e=this.bbox()){return null==t?e.width:this.size(t,e.height,e)}function e7(t,e=this.bbox()){return null==t?e.x:this.move(t,e.y,e)}function e9(t,e=this.bbox()){return null==t?e.y:this.move(e.x,t,e)}f({Container:{foreignObject:F(function(t,e){return this.put(new e0).size(t,e)})}}),z(e0,"ForeignObject");class it extends tS{constructor(t,e=t){super(j("g",t),e)}}q(it,a),f({Container:{group:F(function(){return this.put(new it)})}}),z(it,"G");class ie extends tS{constructor(t,e=t){super(j("a",t),e)}target(t){return this.attr("target",t)}to(t){return this.attr("href",t,A)}}q(ie,a),f({Container:{link:F(function(t){return this.put(new ie).to(t)})},Element:{unlink(){let t=this.linker();if(!t)return this;let e=t.parent();if(!e)return this.remove();let i=e.index(t);return e.add(this,i),t.remove(),this},linkTo(t){let e=this.linker();return e||(e=new ie,this.wrap(e)),"function"==typeof t?t.call(e,e):e.to(t),this},linker(){let t=this.parent();return t&&"a"===t.node.nodeName.toLowerCase()?t:null}}}),z(ie,"A");class ii extends tS{constructor(t,e=t){super(j("mask",t),e)}remove(){return this.targets().forEach(function(t){t.unmask()}),super.remove()}targets(){return tf("svg [mask*="+this.id()+"]")}}f({Container:{mask:F(function(){return this.defs().put(new ii)})},Element:{masker(){return this.reference("mask")},maskWith(t){let e=t instanceof ii?t:this.parent().mask().add(t);return this.attr("mask","url(#"+e.id()+")")},unmask(){return this.attr("mask",null)}}}),z(ii,"Mask");class ir extends tC{constructor(t,e=t){super(j("stop",t),e)}update(t){return("number"==typeof t||t instanceof tO)&&(t={offset:arguments[0],color:arguments[1],opacity:arguments[2]}),null!=t.opacity&&this.attr("stop-opacity",t.opacity),null!=t.color&&this.attr("stop-color",t.color),null!=t.offset&&this.attr("offset",new tO(t.offset)),this}}f({Gradient:{stop:function(t,e,i){return this.put(new ir).update(t,e,i)}}}),z(ir,"Stop");class is extends tC{constructor(t,e=t){super(j("style",t),e)}addText(t=""){return this.node.textContent+=t,this}font(t,e,i={}){return this.rule("@font-face",{fontFamily:t,src:e,...i})}rule(t,e){return this.addText(function(t,e){if(!t)return"";if(!e)return t;let i=t+"{";for(let t in e)i+=t.replace(/([A-Z])/g,function(t,e){return"-"+e.toLowerCase()})+":"+e[t]+";";return i+"}"}(t,e))}}f("Dom",{style(t,e){return this.put(new is).rule(t,e)},fontface(t,e,i){return this.put(new is).font(t,e,i)}}),z(is,"Style");class ih extends eW{constructor(t,e=t){super(j("textPath",t),e)}array(){let t=this.track();return t?t.array():null}plot(t){let e=this.track(),i=null;return e&&(i=e.plot(t)),null==t?i:this}track(){return this.reference("href")}}f({Container:{textPath:F(function(t,e){return t instanceof eW||(t=this.text(t)),t.path(e)})},Text:{path:F(function(t,e=!0){let i;let r=new ih;if(t instanceof ep||(t=this.defs().path(t)),r.attr("href","#"+t,A),e)for(;i=this.node.firstChild;)r.node.appendChild(i);return this.put(r)}),textPath(){return this.findOne("textPath")}},Path:{text:F(function(t){return t instanceof eW||(t=new eW().addTo(this.parent()).text(t)),t.path(this)}),targets(){return tf("svg textPath").filter(t=>(t.attr("href")||"").includes(this.id()))}}}),ih.prototype.MorphArray=eo,z(ih,"TextPath");class io extends tj{constructor(t,e=t){super(j("use",t),e)}use(t,e){return this.attr("href",(e||"")+"#"+t,A)}}f({Container:{use:F(function(t,e){return this.put(new io).use(t,e)})}}),z(io,"Use");let iu=E;q([eR,eL,t$,tG,t1],d("viewbox")),q([t0,ev,eb,ep],d("marker")),q(eW,d("Text")),q(ep,d("Path")),q(tE,d("Defs")),q([eW,eJ],d("Tspan")),q([eM,tX,tV,eN],d("radius")),q(tx,d("EventTarget")),q(tT,d("Dom")),q(tC,d("Element")),q(tj,d("Shape")),q([tS,tY],d("Container")),q(tV,d("Gradient")),q(eN,d("Runner")),tl.extend([...new Set(c)]),function(t=[]){em.push(...[].concat(t))}([tO,ti,tu,ts,tM,tU,eo,tr]),q(em,{to(t){return new ea().type(this.constructor).from(this.toArray()).to(t)},fromArray(t){return this.init(t),this},toConsumable(){return this.toArray()},morph(t,e,i,r,n){return this.fromArray(t.map(function(t,s){return r.step(t,e[s],i,n[s],n)}))}})}}]);
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.