PageSourceSearch

https://app.expandi.io/scripts-CNVVEGP3.js

js expandi.io collected 2026-09-25 14:15:06 UTC 100,295 bytes, 2 lines download raw bytes

1/*! LeaderLine v1.0.7 (c) anseki https://anseki.github.io/leader-line/ */var LeaderLine=(function(){"use strict";var Y,K,W,At,Xt,ue,he,qt,Vt,pe,we,Gt,Qt,ce,Dt,Oe,Me,Ie,Ot,Ce,Le,de,Ae,it="leader-line",_t=1,vt=2,wt=3,bt=4,Kt={top:_t,right:vt,bottom:wt,left:bt},Ve=1,Pe=2,fe=3,ye=4,Ne=5,Te={straight:Ve,arc:Pe,fluid:fe,magnet:ye,grid:Ne},Et="behind",$e=it+"-defs",tn='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" id="leader-line-defs"><style><![CDATA[.leader-line{position:absolute;overflow:visible!important;pointer-events:none!important;font-size:16px}#leader-line-defs{width:0;height:0;position:absolute;left:0;top:0}.leader-line-line-path{fill:none}.leader-line-mask-bg-rect{fill:white}.leader-line-caps-mask-anchor,.leader-line-caps-mask-marker-shape{fill:black}.leader-line-caps-mask-anchor{stroke:black}.leader-line-caps-mask-line,.leader-line-plugs-face{stroke:rgba(0,0,0,0)}.leader-line-line-mask-shape{stroke:white}.leader-line-line-outline-mask-shape{stroke:black}.leader-line-plug-mask-shape{fill:white;stroke:black}.leader-line-plug-outline-mask-shape{fill:black;stroke:white}.leader-line-areaAnchor{position:absolute;overflow:visible!important}]]></style><defs><circle id="leader-line-disc" cx="0" cy="0" r="5"/><rect id="leader-line-square" x="-5" y="-5" width="10" height="10"/><polygon id="leader-line-arrow1" points="-8,-8 8,0 -8,8 -5,0"/><polygon id="leader-line-arrow2" points="-4,-8 4,0 -4,8 -7,5 -2,0 -7,-5"/><polygon id="leader-line-arrow3" points="-4,-5 8,0 -4,5"/><g id="leader-line-hand"><path style="fill: #fcfcfc" d="M9.19 11.14h4.75c1.38 0 2.49-1.11 2.49-2.49 0-.51-.15-.98-.41-1.37h1.3c1.38 0 2.49-1.11 2.49-2.49s-1.11-2.53-2.49-2.53h1.02c1.38 0 2.49-1.11 2.49-2.49s-1.11-2.49-2.49-2.49h14.96c1.37 0 2.49-1.11 2.49-2.49s-1.11-2.49-2.49-2.49H16.58C16-9.86 14.28-11.14 9.7-11.14c-4.79 0-6.55 3.42-7.87 4.73H-2.14v13.23h3.68C3.29 9.97 5.47 11.14 9.19 11.14L9.19 11.14Z"/><path style="fill: black" d="M13.95 12c1.85 0 3.35-1.5 3.35-3.35 0-.17-.02-.34-.04-.51h.07c1.85 0 3.35-1.5 3.35-3.35 0-.79-.27-1.51-.72-2.08 1.03-.57 1.74-1.67 1.74-2.93 0-.59-.16-1.15-.43-1.63h12.04c1.85 0 3.35-1.5 3.35-3.35 0-1.85-1.5-3.35-3.35-3.35H17.2C16.26-10.93 13.91-12 9.7-12 5.36-12 3.22-9.4 1.94-7.84c0 0-.29.33-.5.57-.63 0-3.58 0-3.58 0C-2.61-7.27-3-6.88-3-6.41v13.23c0 .47.39.86.86.86 0 0 2.48 0 3.2 0C2.9 10.73 5.29 12 9.19 12L13.95 12ZM9.19 10.28c-3.46 0-5.33-1.05-6.9-3.87-.15-.27-.44-.44-.75-.44 0 0-1.81 0-2.82 0V-5.55c1.06 0 3.11 0 3.11 0 .25 0 .44-.06.61-.25l.83-.95c1.23-1.49 2.91-3.53 6.43-3.53 3.45 0 4.9.74 5.57 1.72h-4.3c-.48 0-.86.38-.86.86s.39.86.86.86h22.34c.9 0 1.63.73 1.63 1.63 0 .9-.73 1.63-1.63 1.63H15.83c-.48 0-.86.38-.86.86 0 .47.39.86.86.86h2.52c.9 0 1.63.73 1.63 1.63s-.73 1.63-1.63 1.63h-3.12c-.48 0-.86.38-.86.86 0 .47.39.86.86.86h2.11c.88 0 1.63.76 1.63 1.67 0 .9-.73 1.63-1.63 1.63h-3.2c-.48 0-.86.39-.86.86 0 .47.39.86.86.86h1.36c.05.16.09.34.09.51 0 .9-.73 1.63-1.63 1.63C13.95 10.28 9.19 10.28 9.19 10.28Z"/></g><g id="leader-line-crosshair"><path d="M0-78.97c-43.54 0-78.97 35.43-78.97 78.97 0 43.54 35.43 78.97 78.97 78.97s78.97-35.43 78.97-78.97C78.97-43.54 43.55-78.97 0-78.97ZM76.51-1.21h-9.91v-9.11h-2.43v9.11h-11.45c-.64-28.12-23.38-50.86-51.5-51.5V-64.17h9.11V-66.6h-9.11v-9.91C42.46-75.86 75.86-42.45 76.51-1.21ZM-1.21-30.76h-9.11v2.43h9.11V-4.2c-1.44.42-2.57 1.54-2.98 2.98H-28.33v-9.11h-2.43v9.11H-50.29C-49.65-28-27.99-49.65-1.21-50.29V-30.76ZM-30.76 1.21v9.11h2.43v-9.11H-4.2c.42 1.44 1.54 2.57 2.98 2.98v24.13h-9.11v2.43h9.11v19.53C-27.99 49.65-49.65 28-50.29 1.21H-30.76ZM1.22 30.75h9.11v-2.43h-9.11V4.2c1.44-.42 2.56-1.54 2.98-2.98h24.13v9.11h2.43v-9.11h19.53C49.65 28 28 49.65 1.22 50.29V30.75ZM30.76-1.21v-9.11h-2.43v9.11H4.2c-.42-1.44-1.54-2.56-2.98-2.98V-28.33h9.11v-2.43h-9.11V-50.29C28-49.65 49.65-28 50.29-1.21H30.76ZM-1.21-76.51v9.91h-9.11v2.43h9.11v11.45c-28.12.64-50.86 23.38-51.5 51.5H-64.17v-9.11H-66.6v9.11h-9.91C-75.86-42.45-42.45-75.86-1.21-76.51ZM-76.51 1.21h9.91v9.11h2.43v-9.11h11.45c.64 28.12 23.38 50.86 51.5 51.5v11.45h-9.11v2.43h9.11v9.91C-42.45 75.86-75.86 42.45-76.51 1.21ZM1.22 76.51v-9.91h9.11v-2.43h-9.11v-11.45c28.12-.64 50.86-23.38 51.5-51.5h11.45v9.11h2.43v-9.11h9.91C75.86 42.45 42.45 75.86 1.22 76.51Z"/><path d="M0 83.58-7.1 96 7.1 96Z"/><path d="M0-83.58 7.1-96-7.1-96"/><path d="M83.58 0 96 7.1 96-7.1Z"/><path d="M-83.58 0-96-7.1-96 7.1Z"/></g></defs></svg>',Jt={disc:{elmId:"leader-line-disc",noRotate:!0,bBox:{left:-5,top:-5,width:10,height:10,right:5,bottom:5},widthR:2.5,heightR:2.5,bCircle:5,sideLen:5,backLen:5,overhead:0,outlineBase:1,outlineMax:4},square:{elmId:"leader-line-square",noRotate:!0,bBox:{left:-5,top:-5,width:10,height:10,right:5,bottom:5},widthR:2.5,heightR:2.5,bCircle:5,sideLen:5,backLen:5,overhead:0,outlineBase:1,outlineMax:4},arrow1:{elmId:"leader-line-arrow1",bBox:{left:-8,top:-8,width:16,height:16,right:8,bottom:8}
vendor: 4,135 bytes, line 1
1,widthR:4,heightR:4,bCircle:8,sideLen:8,backLen:8,overhead:8,outlineBase:2,outlineMax:1.5},arrow2:{elmId:"leader-line-arrow2",bBox:{left:-7,top:-8,width:11,height:16,right:4,bottom:8},widthR:2.75,heightR:4,bCircle:8,sideLen:8,backLen:7,overhead:4,outlineBase:1,outlineMax:1.75},arrow3:{elmId:"leader-line-arrow3",bBox:{left:-4,top:-5,width:12,height:10,right:8,bottom:5},widthR:3,heightR:2.5,bCircle:8,sideLen:5,backLen:4,overhead:8,outlineBase:1,outlineMax:2.5},hand:{elmId:"leader-line-hand",bBox:{left:-3,top:-12,width:40,height:24,right:37,bottom:12},widthR:10,heightR:6,bCircle:37,sideLen:12,backLen:3,overhead:37},crosshair:{elmId:"leader-line-crosshair",noRotate:!0,bBox:{left:-96,top:-96,width:192,height:192,right:96,bottom:96},widthR:48,heightR:48,bCircle:96,sideLen:96,backLen:96,overhead:0}},me={behind:Et,disc:"disc",square:"square",arrow1:"arrow1",arrow2:"arrow2",arrow3:"arrow3",hand:"hand",crosshair:"crosshair"},$t={disc:"disc",square:"square",arrow1:"arrow1",arrow2:"arrow2",arrow3:"arrow3",hand:"hand",crosshair:"crosshair"},Se=[_t,vt,wt,bt],Mt="auto",We={x:"left",y:"top",width:"width",height:"height"},en=80,Be=4,nn=5,an=120,Re=8,on=3.75,Pt=10,St=30,te=.5522847,rn=.25*Math.PI,Fe=/^\s*(\-?[\d\.]+)\s*(\%)?\s*$/,F="http://www.w3.org/2000/svg",Wt="-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style&&!window.navigator.msPointerEnabled,dt=!Wt&&!!document.uniqueID,Nt="MozAppearance"in document.documentElement.style,Tt=!(Wt||Nt||!window.chrome||!window.CSS),tt=!Wt&&!dt&&!Nt&&!Tt&&!window.chrome&&"WebkitAppearance"in document.documentElement.style,Ge=dt||Wt?.2:.1,ct={path:fe,lineColor:"coral",lineSize:4,plugSE:[Et,"arrow1"],plugSizeSE:[1,1],lineOutlineEnabled:!1,lineOutlineColor:"indianred",lineOutlineSize:.25,plugOutlineEnabledSE:[!1,!1],plugOutlineSizeSE:[1,1]},kt=(Le={}.toString,de={}.hasOwnProperty.toString,Ae=de.call(Object),function(t){return t&&Le.call(t)==="[object Object]"&&(!(t=Object.getPrototypeOf(t))||(t=t.hasOwnProperty("constructor")&&t.constructor)&&typeof t=="function"&&de.call(t)===Ae)}),pt=Number.isFinite||function(t){return typeof t=="number"&&window.isFinite(t)},at=(ce={ease:[.25,.1,.25,1],linear:[0,0,1,1],"ease-in":[.42,0,1,1],"ease-out":[0,0,.58,1],"ease-in-out":[.42,0,.58,1]},Dt=1e3/60/2,Oe=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||function(t){setTimeout(t,Dt)},Me=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||function(t){clearTimeout(t)},Ie=Number.isFinite||function(t){return typeof t=="number"&&window.isFinite(t)},Ot=[],Ce=0,{add:function(t,e,n,a,o,i,l){var d,h,k,v,x,p,s,c,m,u,f=++Ce;function y(C,V){return{value:t(V),timeRatio:C,outputRatio:V}}if(typeof o=="string"&&(o=ce[o]),t=t||function(){},n<Dt)d=[y(0,0),y(1,1)];else{if(h=Dt/n,d=[y(0,0)],o[0]===0&&o[1]===0&&o[2]===1&&o[3]===1)for(v=h;v<=1;v+=h)d.push(y(v,v));else for(x=k=(v=h)/10;x<=1;x+=k)s=x,u=m=c=void 0,c=(u=x*x)*x,u*=3*(m=1-x),v<=(p={x:(s=3*(m*m)*x)*o[0]+u*o[2]+c,y:s*o[1]+u*o[3]+c}).x&&(d.push(y(p.x,p.y)),v+=h);d.push(y(1,1))}return Ot.push(i={animId:f,frameCallback:e,duration:n,count:a,frames:d,reverse:!!i}),l!==!1&&He(i,l),f},remove:function(t){var e;Ot.some(function(n,a){return n.animId===t&&(e=a,!(n.framesStart=null))})&&Ot.splice(e,1)},start:function(t,e,n){Ot.some(function(a){return a.animId===t&&(a.reverse=!!e,He(a,n),!0)})},stop:function(t,e){var n;return Ot.some(function(a){return a.animId===t&&(e?a.lastFrame!=null&&(n=a.frames[a.lastFrame].timeRatio):(n=(Date.now()-a.framesStart)/a.duration,(n=a.reverse?1-n:n)<0?n=0:1<n&&(n=1)),!(a.framesStart=null))}),n},validTiming:function(t){return typeof t=="string"?ce[t]:Array.isArray(t)&&[0,1,2,3].every(function(e){return Ie(t[e])&&0<=t[e]&&t[e]<=1})?[t[0],t[1],t[2],t[3]]:null}}),ln=function(t){t.SVGPathElement.prototype.getPathData&&t.SVGPathElement.prototype.setPathData||(function(){function e(p){this._string=p,this._currentIndex=0,this._endIndex=this._string.length,this._prevCommand=null,this._skipOptionalSpaces()}
1var n={Z:"Z",M:"M",L:"L",C:"C",Q:"Q",A:"A",H:"H",V:"V",S:"S",T:"T",z:"Z",m:"m",l:"l",c:"c",q:"q",a:"a",h:"h",v:"v",s:"s",t:"t"},a=t.navigator.userAgent.indexOf("MSIE ")!==-1;e.prototype={parseSegment:function(){var c=this._string[this._currentIndex],p=n[c]||null;if(p===null){if(this._prevCommand===null||(p=(c==="+"||c==="-"||c==="."||"0"<=c&&c<="9")&&this._prevCommand!=="Z"?this._prevCommand==="M"?"L":this._prevCommand==="m"?"l":this._prevCommand:null)===null)return null}else this._currentIndex+=1;var s=null,c=(this._prevCommand=p).toUpperCase();return c==="H"||c==="V"?s=[this._parseNumber()]:c==="M"||c==="L"||c==="T"?s=[this._parseNumber(),this._parseNumber()]:c==="S"||c==="Q"?s=[this._parseNumber(),this._parseNumber(),this._parseNumber(),this._parseNumber()]:c==="C"?s=[this._parseNumber(),this._parseNumber(),this._parseNumber(),this._parseNumber(),this._parseNumber(),this._parseNumber()]:c==="A"?s=[this._parseNumber(),this._parseNumber(),this._parseNumber(),this._parseArcFlag(),this._parseArcFlag(),this._parseNumber(),this._parseNumber()]:c==="Z"&&(this._skipOptionalSpaces(),s=[]),s===null||0<=s.indexOf(null)?null:{type:p,values:s}},hasMoreData:function(){return this._currentIndex<this._endIndex},peekSegmentType:function(){var p=this._string[this._currentIndex];return n[p]||null},initialCommandIsMoveTo:function(){if(!this.hasMoreData())return!0;var p=this.peekSegmentType();return p==="M"||p==="m"},_isCurrentSpace:function(){var p=this._string[this._currentIndex];return p<=" "&&(p===" "||p===`
2`||p==="	"||p==="\r"||p==="\f")},_skipOptionalSpaces:function(){for(;this._currentIndex<this._endIndex&&this._isCurrentSpace();)this._currentIndex+=1;return this._currentIndex<this._endIndex},_skipOptionalSpacesOrDelimiter:function(){return!(this._currentIndex<this._endIndex&&!this._isCurrentSpace()&&this._string[this._currentIndex]!==",")&&(this._skipOptionalSpaces()&&this._currentIndex<this._endIndex&&this._string[this._currentIndex]===","&&(this._currentIndex+=1,this._skipOptionalSpaces()),this._currentIndex<this._endIndex)},_parseNumber:function(){var p=0,s=0,c=1,m=0,u=1,f=1,y=this._currentIndex;if(this._skipOptionalSpaces(),this._currentIndex<this._endIndex&&this._string[this._currentIndex]==="+"?this._currentIndex+=1:this._currentIndex<this._endIndex&&this._string[this._currentIndex]==="-"&&(this._currentIndex+=1,u=-1),this._currentIndex===this._endIndex||(this._string[this._currentIndex]<"0"||"9"<this._string[this._currentIndex])&&this._string[this._currentIndex]!==".")return null;for(var C=this._currentIndex;this._currentIndex<this._endIndex&&"0"<=this._string[this._currentIndex]&&this._string[this._currentIndex]<="9";)this._currentIndex+=1;if(this._currentIndex!==C)for(var V=this._currentIndex-1,M=1;C<=V;)s+=M*(this._string[V]-"0"),--V,M*=10;if(this._currentIndex<this._endIndex&&this._string[this._currentIndex]==="."){if(this._currentIndex+=1,this._currentIndex>=this._endIndex||this._string[this._currentIndex]<"0"||"9"<this._string[this._currentIndex])return null;for(;this._currentIndex<this._endIndex&&"0"<=this._string[this._currentIndex]&&this._string[this._currentIndex]<="9";)c*=10,m+=(this._string.charAt(this._currentIndex)-"0")/c,this._currentIndex+=1}if(this._currentIndex!==y&&this._currentIndex+1<this._endIndex&&(this._string[this._currentIndex]==="e"||this._string[this._currentIndex]==="E")&&this._string[this._currentIndex+1]!=="x"&&this._string[this._currentIndex+1]!=="m"){if(this._currentIndex+=1,this._string[this._currentIndex]==="+"?this._currentIndex+=1:this._string[this._currentIndex]==="-"&&(this._currentIndex+=1,f=-1),this._currentIndex>=this._endIndex||this._string[this._currentIndex]<"0"||"9"<this._string[this._currentIndex])return null;for(;this._currentIndex<this._endIndex&&"0"<=this._string[this._currentIndex]&&this._string[this._currentIndex]<="9";)p*=10,p+=this._string[this._currentIndex]-"0",this._currentIndex+=1}var E=s+m;return E*=u,p&&(E*=Math.pow(10,f*p)),y===this._currentIndex?null:(this._skipOptionalSpacesOrDelimiter(),E)},_parseArcFlag:function(){if(this._currentIndex>=this._endIndex)return null;var p=null,s=this._string[this._currentIndex];if(this._currentIndex+=1,s==="0")p=0;else{if(s!=="1")return null;p=1}return this._skipOptionalSpacesOrDelimiter(),p}};function o(p){if(!p||p.length===0)return[];var s=new e(p),c=[];if(s.initialCommandIsMoveTo())for(;s.hasMoreData();){var m=s.parseSegment();if(m===null)break;c.push(m)}return c}function i(p){return p.map(function(s){return{type:s.type,values:Array.prototype.slice.call(s.values)}})}function l(p){var s=[],c=null,m=null,u=null,f=null,y=null,C=null,V=null;return p.forEach(function(M){var E,I,_,r,g,O,S,A;M.type==="M"?(S=M.values[0],A=M.values[1],s.push({type:"M",values:[S,A]}),f=C=S,y=V=A):M.type==="C"?(g=M.values[0],O=M.values[1],E=M.values[2],I=M.values[3],S=M.values[4],A=M.values[5],s.push({type:"C",values:[g,O,E,I,S,A]}),m=E,u=I,f=S,y=A):M.type==="L"?(S=M.values[0],A=M.values[1],s.push({type:"L",values:[S,A]}),f=S,y=A):M.type==="H"?(S=M.values[0],s.push({type:"L",values:[S,y]}),f=S):M.type==="V"?(A=M.values[0],s.push({type:"L",values:[f,A]}
vendor: 73,455 bytes, line 2
2),y=A):M.type==="S"?(E=M.values[0],I=M.values[1],S=M.values[2],A=M.values[3],r=c==="C"||c==="S"?(_=f+(f-m),y+(y-u)):(_=f,y),s.push({type:"C",values:[_,r,E,I,S,A]}),m=E,u=I,f=S,y=A):M.type==="T"?(S=M.values[0],A=M.values[1],O=c==="Q"||c==="T"?(g=f+(f-m),y+(y-u)):(g=f,y),s.push({type:"C",values:[_=f+2*(g-f)/3,r=y+2*(O-y)/3,S+2*(g-S)/3,A+2*(O-A)/3,S,A]}),m=g,u=O,f=S,y=A):M.type==="Q"?(g=M.values[0],O=M.values[1],S=M.values[2],A=M.values[3],s.push({type:"C",values:[_=f+2*(g-f)/3,r=y+2*(O-y)/3,S+2*(g-S)/3,A+2*(O-A)/3,S,A]}),m=g,u=O,f=S,y=A):M.type==="A"?(I=M.values[0],_=M.values[1],r=M.values[2],g=M.values[3],O=M.values[4],S=M.values[5],A=M.values[6],I===0||_===0?(s.push({type:"C",values:[f,y,S,A,S,A]}),f=S,y=A):f===S&&y===A||x(f,y,S,A,I,_,r,g,O).forEach(function(L){s.push({type:"C",values:L}),f=S,y=A})):M.type==="Z"&&(s.push(M),f=C,y=V),c=M.type}),s}var d=t.SVGPathElement.prototype.setAttribute,h=t.SVGPathElement.prototype.removeAttribute,k=t.Symbol?t.Symbol():"__cachedPathData",v=t.Symbol?t.Symbol():"__cachedNormalizedPathData",x=function(p,s,c,H,A,L,y,C,V,M){function E(w,j,G){return{x:w*Math.cos(G)-j*Math.sin(G),y:w*Math.sin(G)+j*Math.cos(G)}}var I=Math.PI*y/180,B=[];M?(R=M[0],S=M[1],U=M[2],O=M[3]):(p=(z=E(p,s,-I)).x,s=z.y,1<(z=(g=(p-(c=(r=E(c,H,-I)).x))/2)*g/(A*A)+(_=(s-(H=r.y))/2)*_/(L*L))&&(A*=z=Math.sqrt(z),L*=z),r=A*A,z=L*L,U=(r=(C===V?-1:1)*Math.sqrt(Math.abs((r*z-r*_*_-z*g*g)/(r*_*_+z*g*g))))*A*_/L+(p+c)/2,O=r*-L*g/A+(s+H)/2,R=Math.asin(parseFloat(((s-O)/L).toFixed(9))),S=Math.asin(parseFloat(((H-O)/L).toFixed(9))),p<U&&(R=Math.PI-R),c<U&&(S=Math.PI-S),R<0&&(R=2*Math.PI+R),S<0&&(S=2*Math.PI+S),V&&S<R&&(R-=2*Math.PI),!V&&R<S&&(S-=2*Math.PI));var _,r,g,z=S-R;Math.abs(z)>120*Math.PI/180&&(_=S,r=c,g=H,S=V&&R<S?R+120*Math.PI/180*1:R+120*Math.PI/180*-1,c=U+A*Math.cos(S),H=O+L*Math.sin(S),B=x(c,H,r,g,A,L,y,0,V,[S,_,U,O]));var z=S-R,U=Math.cos(R),O=Math.sin(R),R=Math.cos(S),S=Math.sin(S),z=Math.tan(z/4),A=4/3*A*z,L=4/3*L*z,z=[p,s],U=[p+A*O,s-L*U],R=[c+A*S,H-L*R],H=[c,H];if(U[0]=2*z[0]-U[0],U[1]=2*z[1]-U[1],M)return[U,R,H].concat(B);var B=[U,R,H].concat(B).join().split(","),T=[],P=[];return B.forEach(function(w,j){j%2?P.push(E(B[j-1],B[j],I).y):P.push(E(B[j],B[j+1],I).x),P.length===6&&(T.push(P),P=[])}),T};t.SVGPathElement.prototype.setAttribute=function(p,s){p==="d"&&(this[k]=null,this[v]=null),d.call(this,p,s)},t.SVGPathElement.prototype.removeAttribute=function(p,s){p==="d"&&(this[k]=null,this[v]=null),h.call(this,p)},t.SVGPathElement.prototype.getPathData=function(p){if(p&&p.normalize)return this[v]?i(this[v]):(this[k]?y=i(this[k]):(y=o(this.getAttribute("d")||""),this[k]=i(y)),p=l((s=[],f=u=m=c=null,y.forEach(function(C){var V,M,E,I,_,r,g=C.type;g==="M"?(_=C.values[0],r=C.values[1],s.push({type:"M",values:[_,r]}),c=u=_,m=f=r):g==="m"?(_=c+C.values[0],r=m+C.values[1],s.push({type:"M",values:[_,r]}),c=u=_,m=f=r):g==="L"?(_=C.values[0],r=C.values[1],s.push({type:"L",values:[_,r]}),c=_,m=r):g==="l"?(_=c+C.values[0],r=m+C.values[1],s.push({type:"L",values:[_,r]}),c=_,m=r):g==="C"?(V=C.values[0],M=C.values[1],E=C.values[2],I=C.values[3],_=C.values[4],r=C.values[5],s.push({type:"C",values:[V,M,E,I,_,r]}),c=_,m=r):g==="c"?(V=c+C.values[0],M=m+C.values[1],E=c+C.values[2],I=m+C.values[3],_=c+C.values[4],r=m+C.values[5],s.push({type:"C",values:[V,M,E,I,_,r]}),c=_,m=r):g==="Q"?(V=C.values[0],M=C.values[1],_=C.values[2],r=C.values[3],s.push({type:"Q",values:[V,M,_,r]}),c=_,m=r):g==="q"?(V=c+C.values[0],M=m+C.values[1],_=c+C.values[2],r=m+C.values[3],s.push({type:"Q",values:[V,M,_,r]}),c=_,m=r):g==="A"?(_=C.values[5],r=C.values[6],s.push({type:"A",values:[C.values[0],C.values[1],C.values[2],C.values[3],C.values[4],_,r]}),c=_,m=r):g==="a"?(_=c+C.values[5],r=m+C.values[6],s.push({type:"A",values:[C.values[0],C.values[1],C.values[2],C.values[3],C.values[4],_,r]}),c=_,m=r):g==="H"?(_=C.values[0],s.push({type:"H",values:[_]}),c=_):g==="h"?(_=c+C.values[0],s.push({type:"H",values:[_]}),c=_):g==="V"?(r=C.values[0],s.push({type:"V",values:[r]}),m=r):g==="v"?(r=m+C.values[0],s.push({type:"V",values:[r]}),m=r):g==="S"?(E=C.values[0],I=C.values[1],_=C.values[2],r=C.values[3],s.push({type:"S",values:[E,I,_,r]}),c=_,m=r):g==="s"?(E=c+C.values[0],I=m+C.values[1],_=c+C.values[2],r=m+C.values[3],s.push({type:"S",values:[E,I,_,r]}),c=_,m=r):g==="T"?(_=C.values[0],r=C.values[1],s.push({type:"T",values:[_,r]}),c=_,m=r):g==="t"?(_=c+C.values[0],r=m+C.values[1],s.push({type:"T",values:[_,r]}),c=_,m=r):g!=="Z"&&g!=="z"||(s.push({type:"Z",values:[]}),c=u,m=f)}),s)),this[v]=i(p),p);if(this[k])return i(this[k]);var s,c,m,u,f,y=o(this.getAttribute("d")||"");return this[k]=i(y),y},t.SVGPathElement.prototype.setPathData=function(p){if(p.length===0)a?this.setAttribute("d",""):this.removeAttribute("d");else{for(var s="",c=0,m=p.length;c<m;c+=1){var u=p[c];0<c&&(s+=" "),s+=u.type,u.values&&0<u.values.length&&(s+=" "+u.values.join(" "))}this.setAttribute("d",s)}},t.SVGRectElement.prototype.getPathData=function(p){var s=this.x.baseVal.value,y=this.y.baseVal.value,c=this.width.baseVal.value,m=this.height.baseVal.value,u=(this.hasAttribute("rx")?this.rx:this.ry).baseVal.value,f=(this.hasAttribute("ry")?this.ry:this.rx).baseVal.value,y=(y=[{type:"M",values:[s+(u=c/2<u?c/2:u),y]},{type:"H",values:[s+c-u]},{type:"A",values:[u,f=m/2<f?m/2:f,0,0,1,s+c,y+f]},{type:"V",values:[y+m-f]},{type:"A",values:[u,f,0,0,1,s+c-u,y+m]},{type:"H",values:[s+u]},{type:"A",values:[u,f,0,0,1,s,y+m-f]},{type:"V",values:[y+f]},{type:"A",values:[u,f,0,0,1,s+u,y]},{type:"Z",values:[]}]).filter(function(C){return C.type!=="A"||C.values[0]!==0&&C.values[1]!==0});return y=p&&p.normalize===!0?l(y):y},t.SVGCircleElement.prototype.getPathData=function(p){var s=this.cx.baseVal.value,m=this.cy.baseVal.value,c=this.r.baseVal.value,m=[{type:"M",values:[s+c,m]},{type:"A",values:[c,c,0,0,1,s,m+c]},{type:"A",values:[c,c,0,0,1,s-c,m]},{type:"A",values:[c,c,0,0,1,s,m-c]},{type:"A",values:[c,c,0,0,1,s+c,m]},{type:"Z",values:[]}];return m=p&&p.normalize===!0?l(m):m},t.SVGEllipseElement.prototype.getPathData=function(p){var s=this.cx.baseVal.value,u=this.cy.baseVal.value,c=this.rx.baseVal.value,m=this.ry.baseVal.value,u=[{type:"M",values:[s+c,u]},{type:"A",values:[c,m,0,0,1,s,u+m]},{type:"A",values:[c,m,0,0,1,s-c,u]},{type:"A",values:[c,m,0,0,1,s,u-m]},{type:"A",values:[c,m,0,0,1,s+c,u]},{type:"Z",values:[]}];return u=p&&p.normalize===!0?l(u):u},t.SVGLineElement.prototype.getPathData=function(){return[{type:"M",values:[this.x1.baseVal.value,this.y1.baseVal.value]},{type:"L",values:[this.x2.baseVal.value,this.y2.baseVal.value]}]},t.SVGPolylineElement.prototype.getPathData=function(){for(var p=[],s=0;s<this.points.numberOfItems;s+=1){var c=this.points.getItem(s);p.push({type:s===0?"M":"L",values:[c.x,c.y]})}return p},t.SVGPolygonElement.prototype.getPathData=function(){for(var p=[],s=0;s<this.points.numberOfItems;s+=1){var c=this.points.getItem(s);p.push({type:s===0?"M":"L",values:[c.x,c.y]})}return p.push({type:"Z",values:[]}),p}})()},Wt=(Gt={},ut.m=we=[function(t,e,n){n.r(e);var a=500,o=[],i=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||function(x){return setTimeout(x,1e3/60)},l=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||function(x){return clearTimeout(x)},d=Date.now(),h=void 0;function k(){var x=void 0,p=void 0;h&&(l.call(window,h),h=null),o.forEach(function(s){var c;(c=s.event)&&(s.event=null,s.listener(c),x=!0)}),x?(d=Date.now(),p=!0):Date.now()-d<a&&(p=!0),p&&(h=i.call(window,k))}function v(x){var p=-1;return o.some(function(s,c){return s.listener===x&&(p=c,!0)}),p}e.default={add:function(x){var p=void 0;return v(x)===-1?(o.push(p={listener:x}),function(s){p.event=s,h||k()}):null},remove:function(x){-1<(x=v(x))&&(o.splice(x,1),!o.length&&h&&(l.call(window,h),h=null))}}}],ut.c=Gt,ut.d=function(t,e,n){ut.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},ut.r=function(t){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},ut.t=function(t,e){if(1&e&&(t=ut(t)),8&e||4&e&&typeof t=="object"&&t&&t.__esModule)return t;var n=Object.create(null);if(ut.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&typeof t!="string")for(var a in t)ut.d(n,a,function(o){return t[o]}.bind(null,a));return n},ut.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return ut.d(e,"a",e),e},ut.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},ut.p="",ut(ut.s=0).default),ge={line_altColor:{iniValue:!1},line_color:{},line_colorTra:{iniValue:!1},line_strokeWidth:{},plug_enabled:{iniValue:!1},plug_enabledSE:{hasSE:!0,iniValue:!1},plug_plugSE:{hasSE:!0,iniValue:Et},plug_colorSE:{hasSE:!0},plug_colorTraSE:{hasSE:!0,iniValue:!1},plug_markerWidthSE:{hasSE:!0},plug_markerHeightSE:{hasSE:!0},lineOutline_enabled:{iniValue:!1},lineOutline_color:{},lineOutline_colorTra:{iniValue:!1},lineOutline_strokeWidth:{},lineOutline_inStrokeWidth:{},plugOutline_enabledSE:{hasSE:!0,iniValue:!1},plugOutline_plugSE:{hasSE:!0,iniValue:Et},plugOutline_colorSE:{hasSE:!0},plugOutline_colorTraSE:{hasSE:!0,iniValue:!1},plugOutline_strokeWidthSE:{hasSE:!0},plugOutline_inStrokeWidthSE:{hasSE:!0},position_socketXYSE:{hasSE:!0,hasProps:!0},position_plugOverheadSE:{hasSE:!0},position_path:{},position_lineStrokeWidth:{},position_socketGravitySE:{hasSE:!0},path_pathData:{},path_edge:{hasProps:!0},viewBox_bBox:{hasProps:!0},viewBox_plugBCircleSE:{hasSE:!0},lineMask_enabled:{iniValue:!1},lineMask_outlineMode:{iniValue:!1},lineMask_x:{},lineMask_y:{},lineOutlineMask_x:{},lineOutlineMask_y:{},maskBGRect_x:{},maskBGRect_y:{},capsMaskAnchor_enabledSE:{hasSE:!0,iniValue:!1},capsMaskAnchor_pathDataSE:{hasSE:!0},capsMaskAnchor_strokeWidthSE:{hasSE:!0},capsMaskMarker_enabled:{iniValue:!1},capsMaskMarker_enabledSE:{hasSE:!0,iniValue:!1},capsMaskMarker_plugSE:{hasSE:!0,iniValue:Et},capsMaskMarker_markerWidthSE:{hasSE:!0},capsMaskMarker_markerHeightSE:{hasSE:!0},caps_enabled:{iniValue:!1},attach_plugSideLenSE:{hasSE:!0},attach_plugBackLenSE:{hasSE:!0}},De={show_on:{},show_effect:{},show_animOptions:{},show_animId:{},show_inAnim:{}},ze="fade",_e=[],lt={},sn=0,ot={},un=0;function ut(t){if(Gt[t])return Gt[t].exports;var e=Gt[t]={i:t,l:!1,exports:{}};return we[t].call(e.exports,e,e.exports,ut),e.l=!0,e.exports}function je(){var t=Date.now(),e=!1;Qt&&(Me.call(window,Qt),Qt=null),Ot.forEach(function(n){var a,o,i;if(n.framesStart){if((a=t-n.framesStart)>=n.duration&&n.count&&n.loopsLeft<=1)return i=n.frames[n.lastFrame=n.reverse?0:n.frames.length-1],n.frameCallback(i.value,!0,i.timeRatio,i.outputRatio),void(n.framesStart=null);if(a>n.duration){if(o=Math.floor(a/n.duration),n.count){if(o>=n.loopsLeft)return i=n.frames[n.lastFrame=n.reverse?0:n.frames.length-1],n.frameCallback(i.value,!0,i.timeRatio,i.outputRatio),void(n.framesStart=null);n.loopsLeft-=o}n.framesStart+=n.duration*o,a=t-n.framesStart}n.reverse&&(a=n.duration-a),i=n.frames[n.lastFrame=Math.round(a/Dt)],n.frameCallback(i.value,!1,i.timeRatio,i.outputRatio)!==!1?e=!0:n.framesStart=null}}),e&&(Qt=Oe.call(window,je))}function He(t,e){t.framesStart=Date.now(),e!=null&&(t.framesStart-=t.duration*(t.reverse?1-e:e)),t.loopsLeft=t.count,t.lastFrame=null,je()}function It(t,e){var n,a;return typeof t!=typeof e||(n=kt(t)?"obj":Array.isArray(t)?"array":"")!=(kt(e)?"obj":Array.isArray(e)?"array":"")||(n==="obj"?It(a=Object.keys(t).sort(),Object.keys(e).sort())||a.some(function(o){return It(t[o],e[o])}):n==="array"?t.length!==e.length||t.some(function(o,i){return It(o,e[i])}):t!==e)}function ht(t){return t&&(kt(t)?Object.keys(t).reduce(function(e,n){return e[n]=ht(t[n]),e},{}):Array.isArray(t)?t.map(ht):t)}function zt(t){var e,n,a,o=1,i=t=(t+"").trim();function l(k){var h=1,k=Fe.exec(k);return k&&(h=parseFloat(k[1]),k[2]?h=0<=h&&h<=100?h/100:1:(h<0||1<h)&&(h=1)),h}return(e=/^(rgba|hsla|hwb|gray|device\-cmyk)\s*\(([\s\S]+)\)$/i.exec(t))?(n=e[1].toLowerCase(),a=e[2].trim().split(/\s*,\s*/),n==="rgba"&&a.length===4?(o=l(a[3]),i="rgb("+a.slice(0,3).join(", ")+")"):n==="hsla"&&a.length===4?(o=l(a[3]),i="hsl("+a.slice(0,3).join(", ")+")"):n==="hwb"&&a.length===4?(o=l(a[3]),i="hwb("+a.slice(0,3).join(", ")+")"):n==="gray"&&a.length===2?(o=l(a[1]),i="gray("+a[0]+")"):n==="device-cmyk"&&5<=a.length&&(o=l(a[4]),i="device-cmyk("+a.slice(0,4).join(", ")+")")):(e=/^\#(?:([\da-f]{6})([\da-f]{2})|([\da-f]{3})([\da-f]))$/i.exec(t))?i=e[1]?(o=parseInt(e[2],16)/255,"#"+e[1]):(o=parseInt(e[4]+e[4],16)/255,"#"+e[3]):t.toLocaleLowerCase()==="transparent"&&(o=0),[o,i]}function jt(t){return!(!t||t.nodeType!==Node.ELEMENT_NODE||typeof t.getBoundingClientRect!="function")}function ee(t,e){var n,a,o,i={};if(!(o=t.ownerDocument))return console.error("Cannot get document that contains the element."),null;if(t.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_DISCONNECTED)return console.error("A disconnected element was passed."),null;for(a in n=t.getBoundingClientRect())i[a]=n[a];if(!e){if(!(o=o.defaultView))return console.error("Cannot get window that contains the element."),null;i.left+=o.pageXOffset,i.right+=o.pageXOffset,i.top+=o.pageYOffset,i.bottom+=o.pageYOffset}return i}function ve(t,e){var n,a=[],o=t;for(e=e||window;;){if(!(n=o.ownerDocument))return console.error("Cannot get document that contains the element."),null;if(!(n=n.defaultView))return console.error("Cannot get window that contains the element."),null;if(n===e)break;if(!(o=n.frameElement))return console.error("`baseWindow` was not found."),null;a.unshift(o)}return a}function Ht(t,e){var n=0,a=0;return(e=ve(t,e=e||window))?e.length?(e.forEach(function(o,i){var l=ee(o,0<i);n+=l.left,a+=l.top,o=(i=o).ownerDocument.defaultView.getComputedStyle(i,""),l={left:i.clientLeft+parseFloat(o.paddingLeft),top:i.clientTop+parseFloat(o.paddingTop)},n+=l.left,a+=l.top}),(e=ee(t,!0)).left+=n,e.right+=n,e.top+=a,e.bottom+=a,e):ee(t):null}function gt(t,a){var n=t.x-a.x,a=t.y-a.y;return Math.sqrt(n*n+a*a)}function Ut(t,o,n){var a=o.x-t.x,o=o.y-t.y;return{x:t.x+a*n,y:t.y+o*n,angle:Math.atan2(o,a)/(Math.PI/180)}}function ne(t,e,n){return t=Math.atan2(t.y-e.y,e.x-t.x),{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n*-1}}function Bt(s,c,n,u,m){var p=m*m,x=p*m,i=1-m,v=i*i,k=v*i,l=k*s.x+3*v*m*c.x+3*i*p*n.x+x*u.x,d=k*s.y+3*v*m*c.y+3*i*p*n.y+x*u.y,h=s.x+2*m*(c.x-s.x)+p*(n.x-2*c.x+s.x),k=s.y+2*m*(c.y-s.y)+p*(n.y-2*c.y+s.y),v=c.x+2*m*(n.x-c.x)+p*(u.x-2*n.x+c.x),x=c.y+2*m*(n.y-c.y)+p*(u.y-2*n.y+c.y),p=i*s.x+m*c.x,s=i*s.y+m*c.y,c=i*n.x+m*u.x,m=i*n.y+m*u.y,u=90-180*Math.atan2(h-v,k-x)/Math.PI;return{x:l,y:d,fromP2:{x:h,y:k},toP1:{x:v,y:x},fromP1:{x:p,y:s},toP2:{x:c,y:m},angle:u+=180<u?-180:180}}function Zt(t,e,n,a,o){function i(x,p,s,c,m){return x*(x*(-3*p+9*s-9*c+3*m)+6*p-12*s+6*c)-3*p+3*s}var l,d,h=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],k=0,v=(o=o==null||1<o?1:o<0?0:o)/2;return[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816].forEach(function(x,p){l=i(d=v*x+v,t.x,e.x,n.x,a.x),d=i(d,t.y,e.y,n.y,a.y),d=l*l+d*d,k+=h[p]*Math.sqrt(d)}),v*k}function Ee(t,e,n,a,o){for(var i,l=.5,d=1-l;i=Zt(t,e,n,a,d),!(Math.abs(i-o)<=.01);)d+=(i<o?1:-1)*(l/=2);return d}function xe(t,e){var n;return t.forEach(function(a){a=e?a.map(function(o){return o={x:o.x,y:o.y},e(o),o}):a,(n=n||[{type:"M",values:[a[0].x,a[0].y]}]).push(a.length?a.length===2?{type:"L",values:[a[1].x,a[1].y]}:{type:"C",values:[a[1].x,a[1].y,a[2].x,a[2].y,a[3].x,a[3].y]}:{type:"Z",values:[]})}),n}function Ue(t){var e=[],n=0;return t.forEach(function(a){a=(a.length===2?gt:Zt).apply(null,a),e.push(a),n+=a}),{segsLen:e,lenAll:n}}function ae(t,e){return t==null||e==null||t.length!==e.length||t.some(function(n,a){var o=e[a];return n.type!==o.type||n.values.some(function(i,l){return i!==o.values[l]})})}function et(t,e,n){t.events[e]?t.events[e].indexOf(n)<0&&t.events[e].push(n):t.events[e]=[n]}function nt(t,e,n){var a;t.events[e]&&-1<(a=t.events[e].indexOf(n))&&t.events[e].splice(a,1)}function Rt(t){he&&clearTimeout(he),_e.push(t),he=setTimeout(function(){_e.forEach(function(e){e()}),_e=[]},0)}function J(t,e){t.reflowTargets.indexOf(e)<0&&t.reflowTargets.push(e)}function Ze(t){t.reflowTargets.forEach(function(e){var n;n=e,setTimeout(function(){var a=n.parentNode,o=n.nextSibling;a.insertBefore(a.removeChild(n),o)},0)}),t.reflowTargets=[]}function Ye(t,e,n,a,o,i,l){var d;n==="auto-start-reverse"?(typeof qt!="boolean"&&(e.setAttribute("orient","auto-start-reverse"),qt=e.orientType.baseVal===SVGMarkerElement.SVG_MARKER_ORIENT_UNKNOWN),qt?e.setAttribute("orient",n):((d=o.createSVGTransform()).setRotate(180,0,0),i.transform.baseVal.appendItem(d),e.setAttribute("orient","auto"),d=!0)):(e.setAttribute("orient",n),qt===!1&&i.transform.baseVal.clear()),e=e.viewBox.baseVal,d?(e.x=-a.right,e.y=-a.bottom):(e.x=a.left,e.y=a.top),e.width=a.width,e.height=a.height,dt&&J(t,l)}function Xe(t,e){return{prop:t?"markerEnd":"markerStart",orient:e?e.noRotate?"0":t?"auto":"auto-start-reverse":null}}function rt(t,e){Object.keys(e).forEach(function(n){var a=e[n];t[n]=a.iniValue!=null?a.hasSE?[a.iniValue,a.iniValue]:a.iniValue:a.hasSE?a.hasProps?[{},{}]:[]:a.hasProps?{}:null})}function N(t,e,n,a,o){return a!==e[n]&&(e[n]=a,o&&o.forEach(function(i){i(t,a,n)}),!0)}function qe(a){function e(i,l){return i+parseFloat(l)}var o=a.document,n=a.getComputedStyle(o.documentElement,""),a=a.getComputedStyle(o.body,""),o={x:0,y:0};return a.position!=="static"?(o.x-=[n.marginLeft,n.borderLeftWidth,n.paddingLeft,a.marginLeft,a.borderLeftWidth].reduce(e,0),o.y-=[n.marginTop,n.borderTopWidth,n.paddingTop,a.marginTop,a.borderTopWidth].reduce(e,0)):n.position!=="static"&&(o.x-=[n.marginLeft,n.borderLeftWidth].reduce(e,0),o.y-=[n.marginTop,n.borderTopWidth].reduce(e,0)),o}function Qe(t){var e,n=t.document;n.getElementById($e)||(e=new t.DOMParser().parseFromString(tn,"image/svg+xml"),n.body.appendChild(e.documentElement),ln(t))}function hn(t){var e,n,a,o,i,l,d,h,k,v,x,p,s,c,m=t.options,u=t.curStats,f=t.aplStats,y=u.position_socketXYSE,C=!1;function V(E,I){return E=I===_t?{x:E.left+E.width/2,y:E.top}:I===vt?{x:E.right,y:E.top+E.height/2}:I===wt?{x:E.left+E.width/2,y:E.bottom}:{x:E.left,y:E.top+E.height/2},E.socketId=I,E}function M(E){return{x:E.x,y:E.y}}if(u.position_path=m.path,u.position_lineStrokeWidth=u.line_strokeWidth,u.position_socketGravitySE=e=ht(m.socketGravitySE),n=[0,1].map(function(E){var I=m.anchorSE[E],_=t.optionIsAttach.anchorSE[E],r=_!==!1?ot[I._id]:null,g=_!==!1&&r.conf.getStrokeWidth?r.conf.getStrokeWidth(r,t):0,O=_!==!1&&r.conf.getBBoxNest?r.conf.getBBoxNest(r,t,g):Ht(I,t.baseWindow);return u.capsMaskAnchor_pathDataSE[E]=_!==!1&&r.conf.getPathData?r.conf.getPathData(r,t,g):(_=(I=O).right!=null?I.right:I.left+I.width,r=I.bottom!=null?I.bottom:I.top+I.height,[{type:"M",values:[I.left,I.top]},{type:"L",values:[_,I.top]},{type:"L",values:[_,r]},{type:"L",values:[I.left,r]},{type:"Z",values:[]}]),u.capsMaskAnchor_strokeWidthSE[E]=g,O}),d=-1,m.socketSE[0]&&m.socketSE[1]?(y[0]=V(n[0],m.socketSE[0]),y[1]=V(n[1],m.socketSE[1])):(m.socketSE[0]||m.socketSE[1]?(l=m.socketSE[0]?(i=0,1):(i=1,0),y[i]=V(n[i],m.socketSE[i]),(o=Se.map(function(E){return V(n[l],E)})).forEach(function(E){var I=gt(E,y[i]);(I<d||d===-1)&&(y[l]=E,d=I)})):(o=Se.map(function(E){return V(n[1],E)}),Se.map(function(E){return V(n[0],E)}).forEach(function(E){o.forEach(function(I){var _=gt(E,I);(_<d||d===-1)&&(y[0]=E,y[1]=I,d=_)})})),[0,1].forEach(function(E){var I,_;m.socketSE[E]||(n[E].width||n[E].height?n[E].width||y[E].socketId!==bt&&y[E].socketId!==vt?n[E].height||y[E].socketId!==_t&&y[E].socketId!==wt||(y[E].socketId=0<=y[E?0:1].y-n[E].top?wt:_t):y[E].socketId=0<=y[E?0:1].x-n[E].left?vt:bt:(I=y[E?0:1].x-n[E].left,_=y[E?0:1].y-n[E].top,y[E].socketId=Math.abs(I)>=Math.abs(_)?0<=I?vt:bt:0<=_?wt:_t))})),u.position_path!==f.position_path||u.position_lineStrokeWidth!==f.position_lineStrokeWidth||[0,1].some(function(E){return u.position_plugOverheadSE[E]!==f.position_plugOverheadSE[E]||(I=y[E],_=f.position_socketXYSE[E],I.x!==_.x||I.y!==_.y||I.socketId!==_.socketId)||(I=e[E],_=f.position_socketGravitySE[E],(E=I==null?"auto":Array.isArray(I)?"array":"number")!=(_==null?"auto":Array.isArray(_)?"array":"number")||(E=="array"?I[0]!==_[0]||I[1]!==_[1]:I!==_));var I,_})){switch(t.pathList.baseVal=a=[],t.pathList.animVal=null,u.position_path){case Ve:a.push([M(y[0]),M(y[1])]);break;case Pe:p=typeof e[0]=="number"&&0<e[0]||typeof e[1]=="number"&&0<e[1],s=rn*(p?-1:1),c=Math.atan2(y[1].y-y[0].y,y[1].x-y[0].x),p=s-c,c=Math.PI-c-s,s=gt(y[0],y[1])/Math.sqrt(2)*te,p={x:y[0].x+Math.cos(p)*s,y:y[0].y+Math.sin(p)*s*-1},s={x:y[1].x+Math.cos(c)*s,y:y[1].y+Math.sin(c)*s*-1},a.push([M(y[0]),p,s,M(y[1])]);break;case fe:case ye:k=[e[0],u.position_path===ye?0:e[1]],v=[],x=[],y.forEach(function(E,I){var _,r=k[I],g=Array.isArray(r)?{x:r[0],y:r[1]}:typeof r=="number"?E.socketId===_t?{x:0,y:-r}:E.socketId===vt?{x:r,y:0}:E.socketId===wt?{x:0,y:r}:{x:-r,y:0}:(_=y[I?0:1],r=0<(r=u.position_plugOverheadSE[I])?an+(Re<r?(r-Re)*on:0):en+(u.position_lineStrokeWidth>Be?(u.position_lineStrokeWidth-Be)*nn:0),E.socketId===_t?{x:0,y:-(g=(g=(E.y-_.y)/2)<r?r:g)}:E.socketId===vt?{x:g=(g=(_.x-E.x)/2)<r?r:g,y:0}:E.socketId===wt?{x:0,y:g=(g=(_.y-E.y)/2)<r?r:g}:{x:-(g=(g=(E.x-_.x)/2)<r?r:g),y:0});v[I]=E.x+g.x,x[I]=E.y+g.y}),a.push([M(y[0]),{x:v[0],y:x[0]},{x:v[1],y:x[1]},M(y[1])]);break;case Ne:(function(){var E,I=1,_=2,r=3,g=4,O=[[],[]],S=[];function A(P){return P===I?r:P===_?g:P===r?I:_}function L(P){return P===_||P===g?"x":"y"}function z(P,w,j){var G={x:P.x,y:P.y};if(j){if(j===A(P.dirId))throw new Error("Invalid dirId: "+j);G.dirId=j}else G.dirId=P.dirId;return G.dirId===I?G.y-=w:G.dirId===_?G.x+=w:G.dirId===r?G.y+=w:G.x-=w,G}function U(P,w){return w.dirId===I?P.y<=w.y:w.dirId===_?P.x>=w.x:w.dirId===r?P.y>=w.y:P.x<=w.x}function R(P,w){return w.dirId===I||w.dirId===r?P.x===w.x:P.y===w.y}function H(P){return P[0]?{contain:0,notContain:1}:{contain:1,notContain:0}}function B(P,w,j){return Math.abs(w[j]-P[j])}function T(P,w,j){return j==="x"?P.x<w.x?_:g:P.y<w.y?r:I}for(y.forEach(function(P,w){var j=M(P),G=e[w];P=Array.isArray(G)?G[0]<0?[g,-G[0]]:0<G[0]?[_,G[0]]:G[1]<0?[I,-G[1]]:0<G[1]?[r,G[1]]:[P.socketId,0]:typeof G!="number"?[P.socketId,St]:0<=G?[P.socketId,G]:[A(P.socketId),-G],j.dirId=P[0],G=P[1],O[w].push(j),S[w]=z(j,G)});(function(){var P,w,j,G,st=[U(S[1],S[0]),U(S[0],S[1])],q=[L(S[0].dirId),L(S[1].dirId)];if(q[0]===q[1]){if(st[0]&&st[1])return void(R(S[1],S[0])||(S[0][q[0]]===S[1][q[1]]?(O[0].push(S[0]),O[1].push(S[1])):(P=S[0][q[0]]+(S[1][q[1]]-S[0][q[0]])/2,O[0].push(z(S[0],Math.abs(P-S[0][q[0]]))),O[1].push(z(S[1],Math.abs(P-S[1][q[1]]))))));st[0]!==st[1]?(w=H(st),(j=B(S[w.notContain],S[w.contain],q[w.notContain]))<St&&(S[w.notContain]=z(S[w.notContain],St-j)),O[w.notContain].push(S[w.notContain]),S[w.notContain]=z(S[w.notContain],St,R(S[w.contain],S[w.notContain])?q[w.notContain]==="x"?r:_:T(S[w.notContain],S[w.contain],q[w.notContain]==="x"?"y":"x"))):(j=B(S[0],S[1],q[0]==="x"?"y":"x"),O.forEach(function(Ct,Q){var Z=Q===0?1:0;Ct.push(S[Q]),S[Q]=z(S[Q],St,2*St<=j?T(S[Q],S[Z],q[Q]==="x"?"y":"x"):q[Q]==="x"?r:_)}))}else{if(st[0]&&st[1])return void(R(S[1],S[0])?O[1].push(S[1]):R(S[0],S[1])?O[0].push(S[0]):O[0].push(q[0]==="x"?{x:S[1].x,y:S[0].y}:{x:S[0].x,y:S[1].y}));st[0]!==st[1]?(w=H(st),O[w.notContain].push(S[w.notContain]),S[w.notContain]=z(S[w.notContain],St,B(S[w.notContain],S[w.contain],q[w.contain])>=St?T(S[w.notContain],S[w.contain],q[w.contain]):S[w.contain].dirId)):(G=[{x:S[0].x,y:S[0].y},{x:S[1].x,y:S[1].y}],O.forEach(function(Ct,Q){var Z=Q===0?1:0,b=B(G[Q],G[Z],q[Q]);b<St&&(S[Q]=z(S[Q],St-b)),Ct.push(S[Q]),S[Q]=z(S[Q],St,T(S[Q],S[Z],q[Z]))}))}return 1})(););O[1].reverse(),O[0].concat(O[1]).forEach(function(P,w){P={x:P.x,y:P.y},0<w&&a.push([E,P]),E=P})})()}h=[],u.position_plugOverheadSE.forEach(function(E,I){var _,r,g,O,S,A,L,z,U,R=!I;0<E?(_=a[r=R?0:a.length-1]).length===2?(h[r]=h[r]||gt.apply(null,_),h[r]>Pt&&(h[r]-E<Pt&&(E=h[r]-Pt),L=Ut(_[0],_[1],(R?E:h[r]-E)/h[r]),a[r]=R?[L,_[1]]:[_[0],L],h[r]-=E)):(h[r]=h[r]||Zt.apply(null,_),h[r]>Pt&&(h[r]-E<Pt&&(E=h[r]-Pt),L=Bt(_[0],_[1],_[2],_[3],Ee(_[0],_[1],_[2],_[3],R?E:h[r]-E)),O=R?(g=_[0],L.toP1):(g=_[3],L.fromP2),S=Math.atan2(g.y-L.y,L.x-g.x),A=gt(L,O),L.x=g.x+Math.cos(S)*E,L.y=g.y+Math.sin(S)*E*-1,O.x=L.x+Math.cos(S)*A,O.y=L.y+Math.sin(S)*A*-1,a[r]=R?[L,L.toP1,L.toP2,_[3]]:[_[0],L.fromP1,L.fromP2,L],h[r]=null)):E<0&&(_=a[r=R?0:a.length-1],L=y[I].socketId,I=-n[I][(z=L===bt||L===vt?"x":"y")=="x"?"width":"height"],U=(E=E<I?I:E)*(L===bt||L===_t?-1:1),_.length===2?_[R?0:_.length-1][z]+=U:(R?[0,1]:[_.length-2,_.length-1]).forEach(function(H){_[H][z]+=U}),h[r]=null)}),f.position_socketXYSE=ht(y),f.position_plugOverheadSE=ht(u.position_plugOverheadSE),f.position_path=u.position_path,f.position_lineStrokeWidth=u.position_lineStrokeWidth,f.position_socketGravitySE=ht(e),C=!0,t.events.apl_position&&t.events.apl_position.forEach(function(E){E(t,a)})}return C}function Ft(t,e){e!==t.isShown&&(!!e!=!!t.isShown&&(t.svg.style.visibility=e?"":"hidden"),t.isShown=e,t.events&&t.events.svgShow&&t.events.svgShow.forEach(function(n){n(t,e)}))}function ft(t,e){var n,a,o,i,l,d,h,k,v,x,p,s,c,m,u,f,y,C,V,M,E,I,_,r,g,O,S,A,L,z,U,R,H,B,T,P,w,j,G,st,q,Ct,Q,Z={};e.line&&(Z.line=(k=(n=t).options,a=n.curStats,v=n.events,x=!1,x=N(n,a,"line_color",k.lineColor,v.cur_line_color)||x,x=N(n,a,"line_colorTra",zt(a.line_color)[0]<1)||x,x=N(n,a,"line_strokeWidth",k.lineSize,v.cur_line_strokeWidth)||x)),(e.plug||Z.line)&&(Z.plug=(i=(o=t).options,l=o.curStats,d=o.events,h=!1,[0,1].forEach(function(b){var D,X,mt,$,xt,be,ke,Lt,Yt=i.plugSE[b];h=N(o,l.plug_enabledSE,b,Yt!==Et)||h,h=N(o,l.plug_plugSE,b,Yt)||h,h=N(o,l.plug_colorSE,b,Lt=i.plugColorSE[b]||l.line_color,d.cur_plug_colorSE)||h,h=N(o,l.plug_colorTraSE,b,zt(Lt)[0]<1)||h,Yt!==Et&&($=X=(D=Jt[$t[Yt]]).widthR*i.plugSizeSE[b],xt=mt=D.heightR*i.plugSizeSE[b],tt&&($*=l.line_strokeWidth,xt*=l.line_strokeWidth),h=N(o,l.plug_markerWidthSE,b,$)||h,h=N(o,l.plug_markerHeightSE,b,xt)||h,l.capsMaskMarker_markerWidthSE[b]=X,l.capsMaskMarker_markerHeightSE[b]=mt),l.plugOutline_plugSE[b]=l.capsMaskMarker_plugSE[b]=Yt,l.plug_enabledSE[b]?(Lt=l.line_strokeWidth/ct.lineSize*i.plugSizeSE[b],l.position_plugOverheadSE[b]=D.overhead*Lt,l.viewBox_plugBCircleSE[b]=D.bCircle*Lt,be=D.sideLen*Lt,ke=D.backLen*Lt):(l.position_plugOverheadSE[b]=-l.line_strokeWidth/2,l.viewBox_plugBCircleSE[b]=be=ke=0),N(o,l.attach_plugSideLenSE,b,be,d.cur_attach_plugSideLenSE),N(o,l.attach_plugBackLenSE,b,ke,d.cur_attach_plugBackLenSE),l.capsMaskAnchor_enabledSE[b]=!l.plug_enabledSE[b]}),h=N(o,l,"plug_enabled",l.plug_enabledSE[0]||l.plug_enabledSE[1])||h)),(e.lineOutline||Z.line)&&(Z.lineOutline=(v=(k=t).options,x=k.curStats,_=!1,_=N(k,x,"lineOutline_enabled",v.lineOutlineEnabled)||_,_=N(k,x,"lineOutline_color",v.lineOutlineColor)||_,_=N(k,x,"lineOutline_colorTra",zt(x.lineOutline_color)[0]<1)||_,v=x.line_strokeWidth*v.lineOutlineSize,_=N(k,x,"lineOutline_strokeWidth",x.line_strokeWidth-2*v)||_,_=N(k,x,"lineOutline_inStrokeWidth",x.lineOutline_colorTra?x.lineOutline_strokeWidth+2*Ge:x.line_strokeWidth-v)||_)),(e.plugOutline||Z.line||Z.plug||Z.lineOutline)&&(Z.plugOutline=(s=(p=t).options,c=p.curStats,m=!1,[0,1].forEach(function(b){var D=c.plugOutline_plugSE[b],X=D!==Et?Jt[$t[D]]:null;m=N(p,c.plugOutline_enabledSE,b,s.plugOutlineEnabledSE[b]&&c.plug_enabled&&c.plug_enabledSE[b]&&!!X&&!!X.outlineBase)||m,m=N(p,c.plugOutline_colorSE,b,D=s.plugOutlineColorSE[b]||c.lineOutline_color)||m,m=N(p,c.plugOutline_colorTraSE,b,zt(D)[0]<1)||m,X&&X.outlineBase&&((D=s.plugOutlineSizeSE[b])>X.outlineMax&&(D=X.outlineMax),D*=2*X.outlineBase,m=N(p,c.plugOutline_strokeWidthSE,b,D)||m,m=N(p,c.plugOutline_inStrokeWidthSE,b,c.plugOutline_colorTraSE[b]?D-Ge/(c.line_strokeWidth/ct.lineSize)/s.plugSizeSE[b]*2:D/2)||m)}),m)),(e.faces||Z.line||Z.plug||Z.lineOutline||Z.plugOutline)&&(Z.faces=(y=(u=t).curStats,C=u.aplStats,V=u.events,M=!1,!y.line_altColor&&N(u,C,"line_color",f=y.line_color,V.apl_line_color)&&(u.lineFace.style.stroke=f,M=!0),N(u,C,"line_strokeWidth",f=y.line_strokeWidth,V.apl_line_strokeWidth)&&(u.lineShape.style.strokeWidth=f+"px",M=!0,(Nt||dt)&&(J(u,u.lineShape),dt&&(J(u,u.lineFace),J(u,u.lineMaskCaps)))),N(u,C,"lineOutline_enabled",f=y.lineOutline_enabled,V.apl_lineOutline_enabled)&&(u.lineOutlineFace.style.display=f?"inline":"none",M=!0),y.lineOutline_enabled&&(N(u,C,"lineOutline_color",f=y.lineOutline_color,V.apl_lineOutline_color)&&(u.lineOutlineFace.style.stroke=f,M=!0),N(u,C,"lineOutline_strokeWidth",f=y.lineOutline_strokeWidth,V.apl_lineOutline_strokeWidth)&&(u.lineOutlineMaskShape.style.strokeWidth=f+"px",M=!0,dt&&(J(u,u.lineOutlineMaskCaps),J(u,u.lineOutlineFace))),N(u,C,"lineOutline_inStrokeWidth",f=y.lineOutline_inStrokeWidth,V.apl_lineOutline_inStrokeWidth)&&(u.lineMaskShape.style.strokeWidth=f+"px",M=!0,dt&&(J(u,u.lineOutlineMaskCaps),J(u,u.lineOutlineFace)))),N(u,C,"plug_enabled",f=y.plug_enabled,V.apl_plug_enabled)&&(u.plugsFace.style.display=f?"inline":"none",M=!0),y.plug_enabled&&[0,1].forEach(function(b){var D=y.plug_plugSE[b],X=D!==Et?Jt[$t[D]]:null,mt=Xe(b,X);N(u,C.plug_enabledSE,b,f=y.plug_enabledSE[b],V.apl_plug_enabledSE)&&(u.plugsFace.style[mt.prop]=f?"url(#"+u.plugMarkerIdSE[b]+")":"none",M=!0),y.plug_enabledSE[b]&&(N(u,C.plug_plugSE,b,D,V.apl_plug_plugSE)&&(u.plugFaceSE[b].href.baseVal="#"+X.elmId,Ye(u,u.plugMarkerSE[b],mt.orient,X.bBox,u.svg,u.plugMarkerShapeSE[b],u.plugsFace),M=!0,Nt&&J(u,u.plugsFace)),N(u,C.plug_colorSE,b,f=y.plug_colorSE[b],V.apl_plug_colorSE)&&(u.plugFaceSE[b].style.fill=f,M=!0,(Tt||tt||dt)&&!y.line_colorTra&&J(u,dt?u.lineMaskCaps:u.capsMaskLine)),["markerWidth","markerHeight"].forEach(function($){var xt="plug_"+$+"SE";N(u,C[xt],b,f=y[xt][b],V["apl_"+xt])&&(u.plugMarkerSE[b][$].baseVal.value=f,M=!0)}),N(u,C.plugOutline_enabledSE,b,f=y.plugOutline_enabledSE[b],V.apl_plugOutline_enabledSE)&&(f?(u.plugFaceSE[b].style.mask="url(#"+u.plugMaskIdSE[b]+")",u.plugOutlineFaceSE[b].style.display="inline"):(u.plugFaceSE[b].style.mask="none",u.plugOutlineFaceSE[b].style.display="none"),M=!0),y.plugOutline_enabledSE[b]&&(N(u,C.plugOutline_plugSE,b,D,V.apl_plugOutline_plugSE)&&(u.plugOutlineFaceSE[b].href.baseVal=u.plugMaskShapeSE[b].href.baseVal=u.plugOutlineMaskShapeSE[b].href.baseVal="#"+X.elmId,[u.plugMaskSE[b],u.plugOutlineMaskSE[b]].forEach(function($){$.x.baseVal.value=X.bBox.left,$.y.baseVal.value=X.bBox.top,$.width.baseVal.value=X.bBox.width,$.height.baseVal.value=X.bBox.height}),M=!0),N(u,C.plugOutline_colorSE,b,f=y.plugOutline_colorSE[b],V.apl_plugOutline_colorSE)&&(u.plugOutlineFaceSE[b].style.fill=f,M=!0,dt&&(J(u,u.lineMaskCaps),J(u,u.lineOutlineMaskCaps))),N(u,C.plugOutline_strokeWidthSE,b,f=y.plugOutline_strokeWidthSE[b],V.apl_plugOutline_strokeWidthSE)&&(u.plugOutlineMaskShapeSE[b].style.strokeWidth=f+"px",M=!0),N(u,C.plugOutline_inStrokeWidthSE,b,f=y.plugOutline_inStrokeWidthSE[b],V.apl_plugOutline_inStrokeWidthSE)&&(u.plugMaskShapeSE[b].style.strokeWidth=f+"px",M=!0)))}),M)),(e.position||Z.line||Z.plug)&&(Z.position=hn(t)),(e.path||Z.position)&&(Z.path=(_=(E=t).curStats,S=E.aplStats,O=E.pathList.animVal||E.pathList.baseVal,r=_.path_edge,A=!1,O&&(r.x1=r.x2=O[0][0].x,r.y1=r.y2=O[0][0].y,_.path_pathData=I=xe(O,function(b){b.x<r.x1&&(r.x1=b.x),b.y<r.y1&&(r.y1=b.y),b.x>r.x2&&(r.x2=b.x),b.y>r.y2&&(r.y2=b.y)}),ae(I,S.path_pathData)&&(E.linePath.setPathData(I),S.path_pathData=I,A=!0,dt?(J(E,E.plugsFace),J(E,E.lineMaskCaps)):Nt&&J(E,E.linePath),E.events.apl_path&&E.events.apl_path.forEach(function(b){b(E,I)}))),A)),Z.viewBox=(O=(g=t).curStats,S=g.aplStats,A=O.path_edge,L=O.viewBox_bBox,z=S.viewBox_bBox,U=g.svg.viewBox.baseVal,R=g.svg.style,H=!1,S=Math.max(O.line_strokeWidth/2,O.viewBox_plugBCircleSE[0]||0,O.viewBox_plugBCircleSE[1]||0),B={x1:A.x1-S,y1:A.y1-S,x2:A.x2+S,y2:A.y2+S},g.events.new_edge4viewBox&&g.events.new_edge4viewBox.forEach(function(b){b(g,B)}),L.x=O.lineMask_x=O.lineOutlineMask_x=O.maskBGRect_x=B.x1,L.y=O.lineMask_y=O.lineOutlineMask_y=O.maskBGRect_y=B.y1,L.width=B.x2-B.x1,L.height=B.y2-B.y1,["x","y","width","height"].forEach(function(b){var D;(D=L[b])!==z[b]&&(U[b]=z[b]=D,R[We[b]]=D+(b==="x"||b==="y"?g.bodyOffset[b]:0)+"px",H=!0)}),H),Z.mask=(w=(T=t).curStats,j=T.aplStats,G=!1,w.plug_enabled?[0,1].forEach(function(b){w.capsMaskMarker_enabledSE[b]=w.plug_enabledSE[b]&&w.plug_colorTraSE[b]||w.plugOutline_enabledSE[b]&&w.plugOutline_colorTraSE[b]}):w.capsMaskMarker_enabledSE[0]=w.capsMaskMarker_enabledSE[1]=!1,w.capsMaskMarker_enabled=w.capsMaskMarker_enabledSE[0]||w.capsMaskMarker_enabledSE[1],w.lineMask_outlineMode=w.lineOutline_enabled,w.caps_enabled=w.capsMaskMarker_enabled||w.capsMaskAnchor_enabledSE[0]||w.capsMaskAnchor_enabledSE[1],w.lineMask_enabled=w.caps_enabled||w.lineMask_outlineMode,(w.lineMask_enabled&&!w.lineMask_outlineMode||w.lineOutline_enabled)&&["x","y"].forEach(function(b){var D="maskBGRect_"+b;N(T,j,D,P=w[D])&&(T.maskBGRect[b].baseVal.value=P,G=!0)}),N(T,j,"lineMask_enabled",P=w.lineMask_enabled)&&(T.lineFace.style.mask=P?"url(#"+T.lineMaskId+")":"none",G=!0,tt&&J(T,T.lineMask)),w.lineMask_enabled&&(N(T,j,"lineMask_outlineMode",P=w.lineMask_outlineMode)&&(P?(T.lineMaskBG.style.display="none",T.lineMaskShape.style.display="inline"):(T.lineMaskBG.style.display="inline",T.lineMaskShape.style.display="none"),G=!0),["x","y"].forEach(function(b){var D="lineMask_"+b;N(T,j,D,P=w[D])&&(T.lineMask[b].baseVal.value=P,G=!0)}),N(T,j,"caps_enabled",P=w.caps_enabled)&&(T.lineMaskCaps.style.display=T.lineOutlineMaskCaps.style.display=P?"inline":"none",G=!0,tt&&J(T,T.capsMaskLine)),w.caps_enabled&&([0,1].forEach(function(b){var D;N(T,j.capsMaskAnchor_enabledSE,b,P=w.capsMaskAnchor_enabledSE[b])&&(T.capsMaskAnchorSE[b].style.display=P?"inline":"none",G=!0,tt&&J(T,T.lineMask)),w.capsMaskAnchor_enabledSE[b]&&(ae(D=w.capsMaskAnchor_pathDataSE[b],j.capsMaskAnchor_pathDataSE[b])&&(T.capsMaskAnchorSE[b].setPathData(D),j.capsMaskAnchor_pathDataSE[b]=D,G=!0),N(T,j.capsMaskAnchor_strokeWidthSE,b,P=w.capsMaskAnchor_strokeWidthSE[b])&&(T.capsMaskAnchorSE[b].style.strokeWidth=P+"px",G=!0))}),N(T,j,"capsMaskMarker_enabled",P=w.capsMaskMarker_enabled)&&(T.capsMaskLine.style.display=P?"inline":"none",G=!0),w.capsMaskMarker_enabled&&[0,1].forEach(function(b){var D=w.capsMaskMarker_plugSE[b],X=D!==Et?Jt[$t[D]]:null,mt=Xe(b,X);N(T,j.capsMaskMarker_enabledSE,b,P=w.capsMaskMarker_enabledSE[b])&&(T.capsMaskLine.style[mt.prop]=P?"url(#"+T.lineMaskMarkerIdSE[b]+")":"none",G=!0),w.capsMaskMarker_enabledSE[b]&&(N(T,j.capsMaskMarker_plugSE,b,D)&&(T.capsMaskMarkerShapeSE[b].href.baseVal="#"+X.elmId,Ye(T,T.capsMaskMarkerSE[b],mt.orient,X.bBox,T.svg,T.capsMaskMarkerShapeSE[b],T.capsMaskLine),G=!0,Nt&&(J(T,T.capsMaskLine),J(T,T.lineFace))),["markerWidth","markerHeight"].forEach(function($){var xt="capsMaskMarker_"+$+"SE";N(T,j[xt],b,P=w[xt][b])&&(T.capsMaskMarkerSE[b][$].baseVal.value=P,G=!0)}))}))),w.lineOutline_enabled&&["x","y"].forEach(function(b){var D="lineOutlineMask_"+b;N(T,j,D,P=w[D])&&(T.lineOutlineMask[b].baseVal.value=P,G=!0)}),G),e.effect&&(Ct=(st=t).curStats,Q=st.aplStats,Object.keys(Y).forEach(function($){var D=Y[$],X=$+"_enabled",mt=$+"_options",$=Ct[mt];N(st,Q,X,q=Ct[X])?(q&&(Q[mt]=ht($)),D[q?"init":"remove"](st)):q&&It($,Q[mt])&&(D.remove(st),Q[X]=!0,Q[mt]=ht($),D.init(st))})),(Tt||tt)&&Z.line&&!Z.path&&J(t,t.lineShape),Tt&&Z.plug&&!Z.line&&J(t,t.plugsFace),Ze(t)}function ie(t,e){return{duration:(pt(t.duration)&&0<t.duration?t:e).duration,timing:at.validTiming(t.timing)?t.timing:ht(e.timing)}}function oe(t,e,n,a){var o=t.curStats,i=t.aplStats,l={};function d(){["show_on","show_effect","show_animOptions"].forEach(function(h){i[h]=o[h]})}o.show_on=e,n&&K[n]&&(o.show_effect=n,o.show_animOptions=ie(kt(a)?a:{},K[n].defaultAnimOptions)),l.show_on=o.show_on!==i.show_on,l.show_effect=o.show_effect!==i.show_effect,l.show_animOptions=It(o.show_animOptions,i.show_animOptions),l.show_effect||l.show_animOptions?o.show_inAnim?(n=l.show_effect?K[i.show_effect].stop(t,!0,!0):K[i.show_effect].stop(t),d(),K[i.show_effect].init(t,n)):l.show_on&&(i.show_effect&&l.show_effect&&K[i.show_effect].stop(t,!0,!0),d(),K[i.show_effect].init(t)):l.show_on&&(d(),K[i.show_effect].start(t))}function Ke(t,e,n){return n={props:t,optionName:n},t.attachments.indexOf(e)<0&&(!e.conf.bind||e.conf.bind(e,n))&&(t.attachments.push(e),e.boundTargets.push(n),1)}function re(t,e,n){var a=t.attachments.indexOf(e);-1<a&&t.attachments.splice(a,1),e.boundTargets.some(function(o,i){return o.props===t&&(e.conf.unbind&&e.conf.unbind(e,o),a=i,!0)})&&(e.boundTargets.splice(a,1),n||Rt(function(){e.boundTargets.length||ue(e)}))}function le(t,e){var n,a,o,i,l,d,h,k,v,x,p,s,c,m,u,f=t.options,y={};function C(r,g,O,S,A){var L={};return O?S!=null?(L.container=r[O],L.key=S):(L.container=r,L.key=O):(L.container=r,L.key=g),L.default=A,L.acceptsAuto=L.default==null,L}function V(r,g,O,S,A,L,B){var U,R,H,B=C(r,O,A,L,B);return g[O]!=null&&(R=(g[O]+"").toLowerCase())&&(B.acceptsAuto&&R===Mt||(H=S[R]))&&H!==B.container[B.key]&&(B.container[B.key]=H,U=!0),B.container[B.key]!=null||B.acceptsAuto||(B.container[B.key]=B.default,U=!0),U}function M(r,g,O,S,A,L,w,U,R){var H,B,T,P,w=C(r,O,A,L,w);if(!S){if(w.default==null)throw new Error("Invalid `type`: "+O);S=typeof w.default}return g[O]!=null&&(w.acceptsAuto&&(g[O]+"").toLowerCase()===Mt||(T=B=g[O],((P=S)==="number"?pt(T):typeof T===P)&&(B=R&&S==="string"&&B?B.trim():B,1)&&(!U||U(B))))&&B!==w.container[w.key]&&(w.container[w.key]=B,H=!0),w.container[w.key]!=null||w.acceptsAuto||(w.container[w.key]=w.default,H=!0),H}if(e=e||{},["start","end"].forEach(function(r,g){var O=e[r],S=!1;if(O&&(jt(O)||(S=Xt(O,"anchor")))&&O!==f.anchorSE[g]){if(t.optionIsAttach.anchorSE[g]!==!1&&re(t,ot[f.anchorSE[g]._id]),S&&!Ke(t,ot[O._id],r))throw new Error("Can't bind attachment");f.anchorSE[g]=O,t.optionIsAttach.anchorSE[g]=S,n=y.position=!0}}),!f.anchorSE[0]||!f.anchorSE[1]||f.anchorSE[0]===f.anchorSE[1])throw new Error("`start` and `end` are required.");function E(r){var g=l.appendChild(m.createElementNS(F,"mask"));return g.id=r,g.maskUnits.baseVal=SVGUnitTypes.SVG_UNIT_TYPE_USERSPACEONUSE,[g.x,g.y,g.width,g.height].forEach(function(O){O.baseVal.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX,0)}),g}function I(r){var g=l.appendChild(m.createElementNS(F,"marker"));return g.id=r,g.markerUnits.baseVal=SVGMarkerElement.SVG_MARKERUNITS_STROKEWIDTH,g.viewBox.baseVal||g.setAttribute("viewBox","0 0 0 0"),g}function _(r){return[r.width,r.height].forEach(function(g){g.baseVal.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PERCENTAGE,100)}),r}n&&(p=(function(r,g){var O,S;if(!(r=ve(r))||!(O=ve(g)))throw new Error("Cannot get frames.");return r.length&&O.length&&(r.reverse(),O.reverse(),r.some(function(A){return O.some(function(L){return L===A&&(S=L.contentWindow,!0)})})),S||window})(t.optionIsAttach.anchorSE[0]!==!1?ot[f.anchorSE[0]._id].element:f.anchorSE[0],t.optionIsAttach.anchorSE[1]!==!1?ot[f.anchorSE[1]._id].element:f.anchorSE[1]))!==t.baseWindow&&(o=p,c=(a=t).aplStats,m=o.document,u=it+"-"+a._id,a.pathList={},rt(c,ge),Object.keys(Y).forEach(function(r){var g=r+"_enabled";c[g]&&(Y[r].remove(a),c[g]=!1)}),a.baseWindow&&a.svg&&a.baseWindow.document.body.removeChild(a.svg),Qe(a.baseWindow=o),a.bodyOffset=qe(o),a.svg=i=m.createElementNS(F,"svg"),i.className.baseVal=it,i.viewBox.baseVal||i.setAttribute("viewBox","0 0 0 0"),a.defs=l=i.appendChild(m.createElementNS(F,"defs")),a.linePath=h=l.appendChild(m.createElementNS(F,"path")),h.id=k=u+"-line-path",h.className.baseVal=it+"-line-path",tt&&(h.style.fill="none"),a.lineShape=h=l.appendChild(m.createElementNS(F,"use")),h.id=v=u+"-line-shape",h.href.baseVal="#"+k,(d=l.appendChild(m.createElementNS(F,"g"))).id=x=u+"-caps",a.capsMaskAnchorSE=[0,1].map(function(){var r=d.appendChild(m.createElementNS(F,"path"));return r.className.baseVal=it+"-caps-mask-anchor",r}),a.lineMaskMarkerIdSE=[u+"-caps-mask-marker-0",u+"-caps-mask-marker-1"],a.capsMaskMarkerSE=[0,1].map(function(r){return I(a.lineMaskMarkerIdSE[r])}),a.capsMaskMarkerShapeSE=[0,1].map(function(r){return r=a.capsMaskMarkerSE[r].appendChild(m.createElementNS(F,"use")),r.className.baseVal=it+"-caps-mask-marker-shape",r}),a.capsMaskLine=h=d.appendChild(m.createElementNS(F,"use")),h.className.baseVal=it+"-caps-mask-line",h.href.baseVal="#"+v,a.maskBGRect=h=_(l.appendChild(m.createElementNS(F,"rect"))),h.id=p=u+"-mask-bg-rect",h.className.baseVal=it+"-mask-bg-rect",tt&&(h.style.fill="white"),a.lineMask=_(E(a.lineMaskId=u+"-line-mask")),a.lineMaskBG=h=a.lineMask.appendChild(m.createElementNS(F,"use")),h.href.baseVal="#"+p,a.lineMaskShape=h=a.lineMask.appendChild(m.createElementNS(F,"use")),h.className.baseVal=it+"-line-mask-shape",h.href.baseVal="#"+k,h.style.display="none",a.lineMaskCaps=h=a.lineMask.appendChild(m.createElementNS(F,"use")),h.href.baseVal="#"+x,a.lineOutlineMask=_(E(o=u+"-line-outline-mask")),(h=a.lineOutlineMask.appendChild(m.createElementNS(F,"use"))).href.baseVal="#"+p,a.lineOutlineMaskShape=h=a.lineOutlineMask.appendChild(m.createElementNS(F,"use")),h.className.baseVal=it+"-line-outline-mask-shape",h.href.baseVal="#"+k,a.lineOutlineMaskCaps=h=a.lineOutlineMask.appendChild(m.createElementNS(F,"use")),h.href.baseVal="#"+x,a.face=i.appendChild(m.createElementNS(F,"g")),a.lineFace=h=a.face.appendChild(m.createElementNS(F,"use")),h.href.baseVal="#"+v,a.lineOutlineFace=h=a.face.appendChild(m.createElementNS(F,"use")),h.href.baseVal="#"+v,h.style.mask="url(#"+o+")",h.style.display="none",a.plugMaskIdSE=[u+"-plug-mask-0",u+"-plug-mask-1"],a.plugMaskSE=[0,1].map(function(r){return E(a.plugMaskIdSE[r])}),a.plugMaskShapeSE=[0,1].map(function(r){return r=a.plugMaskSE[r].appendChild(m.createElementNS(F,"use")),r.className.baseVal=it+"-plug-mask-shape",r}),s=[],a.plugOutlineMaskSE=[0,1].map(function(r){return E(s[r]=u+"-plug-outline-mask-"+r)}),a.plugOutlineMaskShapeSE=[0,1].map(function(r){return r=a.plugOutlineMaskSE[r].appendChild(m.createElementNS(F,"use")),r.className.baseVal=it+"-plug-outline-mask-shape",r}),a.plugMarkerIdSE=[u+"-plug-marker-0",u+"-plug-marker-1"],a.plugMarkerSE=[0,1].map(function(r){return r=I(a.plugMarkerIdSE[r]),tt&&(r.markerUnits.baseVal=SVGMarkerElement.SVG_MARKERUNITS_USERSPACEONUSE),r}),a.plugMarkerShapeSE=[0,1].map(function(r){return a.plugMarkerSE[r].appendChild(m.createElementNS(F,"g"))}),a.plugFaceSE=[0,1].map(function(r){return a.plugMarkerShapeSE[r].appendChild(m.createElementNS(F,"use"))}),a.plugOutlineFaceSE=[0,1].map(function(r){var g=a.plugMarkerShapeSE[r].appendChild(m.createElementNS(F,"use"));return g.style.mask="url(#"+s[r]+")",g.style.display="none",g}),a.plugsFace=h=a.face.appendChild(m.createElementNS(F,"use")),h.className.baseVal=it+"-plugs-face",h.href.baseVal="#"+v,h.style.display="none",a.curStats.show_inAnim?(a.isShown=1,K[c.show_effect].stop(a,!0)):a.isShown||(i.style.visibility="hidden"),m.body.appendChild(i),[0,1,2].forEach(function(O){var g,O=a.options.labelSEM[O];O&&Xt(O,"label")&&(g=ot[O._id]).conf.initSvg&&g.conf.initSvg(g,a)}),y.line=y.plug=y.lineOutline=y.plugOutline=y.faces=y.effect=!0),y.position=V(f,e,"path",Te,null,null,ct.path)||y.position,y.position=V(f,e,"startSocket",Kt,"socketSE",0)||y.position,y.position=V(f,e,"endSocket",Kt,"socketSE",1)||y.position,[e.startSocketGravity,e.endSocketGravity].forEach(function(r,g){var O,S,A=!1;r!=null&&(Array.isArray(r)?pt(r[0])&&pt(r[1])&&(A=[r[0],r[1]],Array.isArray(f.socketGravitySE[g])&&(O=A,S=f.socketGravitySE[g],O.length===S.length&&O.every(function(L,z){return L===S[z]}))&&(A=!1)):((r+"").toLowerCase()===Mt?A=null:pt(r)&&0<=r&&(A=r),A===f.socketGravitySE[g]&&(A=!1)),A!==!1&&(f.socketGravitySE[g]=A,y.position=!0))}),y.line=M(f,e,"color",null,"lineColor",null,ct.lineColor,null,!0)||y.line,y.line=M(f,e,"size",null,"lineSize",null,ct.lineSize,function(r){return 0<r})||y.line,["startPlug","endPlug"].forEach(function(r,g){y.plug=V(f,e,r,me,"plugSE",g,ct.plugSE[g])||y.plug,y.plug=M(f,e,r+"Color","string","plugColorSE",g,null,null,!0)||y.plug,y.plug=M(f,e,r+"Size",null,"plugSizeSE",g,ct.plugSizeSE[g],function(O){return 0<O})||y.plug}),y.lineOutline=M(f,e,"outline",null,"lineOutlineEnabled",null,ct.lineOutlineEnabled)||y.lineOutline,y.lineOutline=M(f,e,"outlineColor",null,"lineOutlineColor",null,ct.lineOutlineColor,null,!0)||y.lineOutline,y.lineOutline=M(f,e,"outlineSize",null,"lineOutlineSize",null,ct.lineOutlineSize,function(r){return 0<r&&r<=.48})||y.lineOutline,["startPlugOutline","endPlugOutline"].forEach(function(r,g){y.plugOutline=M(f,e,r,null,"plugOutlineEnabledSE",g,ct.plugOutlineEnabledSE[g])||y.plugOutline,y.plugOutline=M(f,e,r+"Color","string","plugOutlineColorSE",g,null,null,!0)||y.plugOutline,y.plugOutline=M(f,e,r+"Size",null,"plugOutlineSizeSE",g,ct.plugOutlineSizeSE[g],function(O){return 1<=O})||y.plugOutline}),["startLabel","endLabel","middleLabel"].forEach(function(r,g){var O,S,A,L=e[r],z=f.labelSEM[g]&&!t.optionIsAttach.labelSEM[g]?ot[f.labelSEM[g]._id].text:f.labelSEM[g],U=!1;if((O=typeof L=="string")&&(L=L.trim()),(O||L&&(U=Xt(L,"label")))&&L!==z){if(f.labelSEM[g]&&(re(t,ot[f.labelSEM[g]._id]),f.labelSEM[g]=""),L){if(U?(S=ot[(A=L)._id]).boundTargets.slice().forEach(function(R){S.conf.removeOption(S,R)}):A=new At(W.captionLabel,[L]),!Ke(t,ot[A._id],r))throw new Error("Can't bind attachment");f.labelSEM[g]=A}t.optionIsAttach.labelSEM[g]=U}}),Object.keys(Y).forEach(function(r){var g,O,S=Y[r],A=r+"_enabled",L=r+"_options";function z(R){var H={};return S.optionsConf.forEach(function(B){var T=B[0],P=B[3];B[4]==null||H[P]||(H[P]=[]),(typeof T=="function"?T:T==="id"?V:M).apply(null,[H,R].concat(B.slice(1)))}),H}function U(R){var H,B=r+"_animOptions";return R.hasOwnProperty("animation")?kt(R.animation)?H=t.curStats[B]=ie(R.animation,S.defaultAnimOptions):(H=!!R.animation,t.curStats[B]=H?ie({},S.defaultAnimOptions):null):(H=!!S.defaultEnabled,t.curStats[B]=H?ie({},S.defaultAnimOptions):null),H}e.hasOwnProperty(r)&&(g=e[r],kt(g)?(t.curStats[A]=!0,O=t.curStats[L]=z(g),S.anim&&(t.curStats[L].animation=U(g))):(O=t.curStats[A]=!!g)&&(t.curStats[L]=z({}),S.anim&&(t.curStats[L].animation=U({}))),It(O,f[r])&&(f[r]=O,y.effect=!0))}),ft(t,y)}function yt(t,e,n){var a={options:{anchorSE:[],socketSE:[],socketGravitySE:[],plugSE:[],plugColorSE:[],plugSizeSE:[],plugOutlineEnabledSE:[],plugOutlineColorSE:[],plugOutlineSizeSE:[],labelSEM:["","",""]},optionIsAttach:{anchorSE:[!1,!1],labelSEM:[!1,!1,!1]},curStats:{},aplStats:{},attachments:[],events:{},reflowTargets:[]};rt(a.curStats,ge),rt(a.aplStats,ge),Object.keys(Y).forEach(function(o){var i=Y[o].stats;rt(a.curStats,i),rt(a.aplStats,i),a.options[o]=!1}),rt(a.curStats,De),rt(a.aplStats,De),a.curStats.show_effect=ze,a.curStats.show_animOptions=ht(K[ze].defaultAnimOptions),Object.defineProperty(this,"_id",{value:++sn}),a._id=this._id,lt[this._id]=a,arguments.length===1&&(n=t,t=null),n=n||{},(t||e)&&(n=ht(n),t&&(n.start=t),e&&(n.end=e)),a.isShown=a.aplStats.show_on=!n.hide,this.setOptions(n)}function se(t){return function(e){var n={};n[t]=e,this.setOptions(n)}}function Je(t,e){var n,a={conf:t,curStats:{},aplStats:{},boundTargets:[]},o={};t.argOptions.every(function(i){return!(!e.length||(typeof i.type=="string"?typeof e[0]!==i.type:typeof i.type!="function"||!i.type(e[0])))&&(o[i.optionName]=e.shift(),!0)}),n=e.length&&kt(e[0])?ht(e[0]):{},Object.keys(o).forEach(function(i){n[i]=o[i]}),t.stats&&(rt(a.curStats,t.stats),rt(a.aplStats,t.stats)),Object.defineProperty(this,"_id",{value:++un}),Object.defineProperty(this,"isRemoved",{get:function(){return!ot[this._id]}}),a._id=this._id,t.init&&!t.init(a,n)||(ot[this._id]=a)}return Y={dash:{stats:{dash_len:{},dash_gap:{},dash_maxOffset:{}},anim:!0,defaultAnimOptions:{duration:1e3,timing:"linear"},optionsConf:[["type","len","number",null,null,null,function(t){return 0<t}],["type","gap","number",null,null,null,function(t){return 0<t}]],init:function(t){et(t,"apl_line_strokeWidth",Y.dash.update),t.lineFace.style.strokeDashoffset=0,Y.dash.update(t)},remove:function(t){var e=t.curStats;nt(t,"apl_line_strokeWidth",Y.dash.update),e.dash_animId&&(at.remove(e.dash_animId),e.dash_animId=null),t.lineFace.style.strokeDasharray="none",t.lineFace.style.strokeDashoffset=0,rt(t.aplStats,Y.dash.stats)},update:function(t){var e,n=t.curStats,a=t.aplStats,o=a.dash_options,i=!1;n.dash_len=o.len||2*a.line_strokeWidth,n.dash_gap=o.gap||a.line_strokeWidth,n.dash_maxOffset=n.dash_len+n.dash_gap,i=N(t,a,"dash_len",n.dash_len)||i,(i=N(t,a,"dash_gap",n.dash_gap)||i)&&(t.lineFace.style.strokeDasharray=a.dash_len+","+a.dash_gap),n.dash_animOptions?(i=N(t,a,"dash_maxOffset",n.dash_maxOffset),a.dash_animOptions&&(i||It(n.dash_animOptions,a.dash_animOptions))&&(n.dash_animId&&(e=at.stop(n.dash_animId),at.remove(n.dash_animId)),a.dash_animOptions=null),a.dash_animOptions||(n.dash_animId=at.add(function(l){return(1-l)*a.dash_maxOffset+"px"},function(l){t.lineFace.style.strokeDashoffset=l},n.dash_animOptions.duration,0,n.dash_animOptions.timing,!1,e),a.dash_animOptions=ht(n.dash_animOptions))):a.dash_animOptions&&(n.dash_animId&&(at.remove(n.dash_animId),n.dash_animId=null),t.lineFace.style.strokeDashoffset=0,a.dash_animOptions=null)}},gradient:{stats:{gradient_colorSE:{hasSE:!0},gradient_pointSE:{hasSE:!0,hasProps:!0}},optionsConf:[["type","startColor","string","colorSE",0,null,null,!0],["type","endColor","string","colorSE",1,null,null,!0]],init:function(t){var e=t.baseWindow.document,n=t.defs,a=it+"-"+t._id+"-gradient";t.efc_gradient_gradient=n=n.appendChild(e.createElementNS(F,"linearGradient")),n.id=a,n.gradientUnits.baseVal=SVGUnitTypes.SVG_UNIT_TYPE_USERSPACEONUSE,[n.x1,n.y1,n.x2,n.y2].forEach(function(o){o.baseVal.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX,0)}),t.efc_gradient_stopSE=[0,1].map(function(o){var i=t.efc_gradient_gradient.appendChild(e.createElementNS(F,"stop"));try{i.offset.baseVal=o}catch(l){if(l.code!==DOMException.NO_MODIFICATION_ALLOWED_ERR)throw l;i.setAttribute("offset",o)}return i}),et(t,"cur_plug_colorSE",Y.gradient.update),et(t,"apl_path",Y.gradient.update),t.curStats.line_altColor=!0,t.lineFace.style.stroke="url(#"+a+")",Y.gradient.update(t)},remove:function(t){t.efc_gradient_gradient&&(t.defs.removeChild(t.efc_gradient_gradient),t.efc_gradient_gradient=t.efc_gradient_stopSE=null),nt(t,"cur_plug_colorSE",Y.gradient.update),nt(t,"apl_path",Y.gradient.update),t.curStats.line_altColor=!1,t.lineFace.style.stroke=t.curStats.line_color,rt(t.aplStats,Y.gradient.stats)},update:function(t){var e,n=t.curStats,a=t.aplStats,o=a.gradient_options,i=t.pathList.animVal||t.pathList.baseVal;[0,1].forEach(function(l){n.gradient_colorSE[l]=o.colorSE[l]||n.plug_colorSE[l]}),e=i[0][0],n.gradient_pointSE[0]={x:e.x,y:e.y},e=(i=i[i.length-1])[i.length-1],n.gradient_pointSE[1]={x:e.x,y:e.y},[0,1].forEach(function(l){var d;N(t,a.gradient_colorSE,l,d=n.gradient_colorSE[l])&&(tt?(d=zt(d),t.efc_gradient_stopSE[l].style.stopColor=d[1],t.efc_gradient_stopSE[l].style.stopOpacity=d[0]):t.efc_gradient_stopSE[l].style.stopColor=d),["x","y"].forEach(function(h){(d=n.gradient_pointSE[l][h])!==a.gradient_pointSE[l][h]&&(t.efc_gradient_gradient[h+(l+1)].baseVal.value=a.gradient_pointSE[l][h]=d)})})}},dropShadow:{stats:{dropShadow_dx:{},dropShadow_dy:{},dropShadow_blur:{},dropShadow_color:{},dropShadow_opacity:{},dropShadow_x:{},dropShadow_y:{}},optionsConf:[["type","dx",null,null,null,2],["type","dy",null,null,null,4],["type","blur",null,null,null,3,function(t){return 0<=t}],["type","color",null,null,null,"#000",null,!0],["type","opacity",null,null,null,.8,function(t){return 0<=t&&t<=1}]],init:function(t){var e,n,a,o,i=t.baseWindow.document,l=t.defs,d=it+"-"+t._id+"-dropShadow",h=(e=i,n=d,o={},typeof pe!="boolean"&&(pe=!!window.SVGFEDropShadowElement&&!tt),o.elmsAppend=[o.elmFilter=i=e.createElementNS(F,"filter")],i.filterUnits.baseVal=SVGUnitTypes.SVG_UNIT_TYPE_USERSPACEONUSE,i.x.baseVal.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX,0),i.y.baseVal.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX,0),i.width.baseVal.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PERCENTAGE,100),i.height.baseVal.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PERCENTAGE,100),i.id=n,pe?(o.elmOffset=o.elmBlur=a=i.appendChild(e.createElementNS(F,"feDropShadow")),o.styleFlood=a.style):(o.elmBlur=i.appendChild(e.createElementNS(F,"feGaussianBlur")),o.elmOffset=a=i.appendChild(e.createElementNS(F,"feOffset")),a.result.baseVal="offsetblur",a=i.appendChild(e.createElementNS(F,"feFlood")),o.styleFlood=a.style,(a=i.appendChild(e.createElementNS(F,"feComposite"))).in2.baseVal="offsetblur",a.operator.baseVal=SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_IN,(a=i.appendChild(e.createElementNS(F,"feMerge"))).appendChild(e.createElementNS(F,"feMergeNode")),a.appendChild(e.createElementNS(F,"feMergeNode")).in1.baseVal="SourceGraphic"),o);["elmFilter","elmOffset","elmBlur","styleFlood","elmsAppend"].forEach(function(k){t["efc_dropShadow_"+k]=h[k]}),h.elmsAppend.forEach(function(k){l.appendChild(k)}),t.face.setAttribute("filter","url(#"+d+")"),et(t,"new_edge4viewBox",Y.dropShadow.adjustEdge),Y.dropShadow.update(t)},remove:function(t){var e=t.defs;t.efc_dropShadow_elmsAppend&&(t.efc_dropShadow_elmsAppend.forEach(function(n){e.removeChild(n)}),t.efc_dropShadow_elmFilter=t.efc_dropShadow_elmOffset=t.efc_dropShadow_elmBlur=t.efc_dropShadow_styleFlood=t.efc_dropShadow_elmsAppend=null),nt(t,"new_edge4viewBox",Y.dropShadow.adjustEdge),ft(t,{}),t.face.removeAttribute("filter"),rt(t.aplStats,Y.dropShadow.stats)},update:function(t){var e,n,a=t.curStats,o=t.aplStats,i=o.dropShadow_options;a.dropShadow_dx=e=i.dx,N(t,o,"dropShadow_dx",e)&&(t.efc_dropShadow_elmOffset.dx.baseVal=e,n=!0),a.dropShadow_dy=e=i.dy,N(t,o,"dropShadow_dy",e)&&(t.efc_dropShadow_elmOffset.dy.baseVal=e,n=!0),a.dropShadow_blur=e=i.blur,N(t,o,"dropShadow_blur",e)&&(t.efc_dropShadow_elmBlur.setStdDeviation(e,e),n=!0),n&&ft(t,{}),a.dropShadow_color=e=i.color,N(t,o,"dropShadow_color",e)&&(t.efc_dropShadow_styleFlood.floodColor=e),a.dropShadow_opacity=e=i.opacity,N(t,o,"dropShadow_opacity",e)&&(t.efc_dropShadow_styleFlood.floodOpacity=e)},adjustEdge:function(t,e){var n,a=t.curStats,o=t.aplStats;a.dropShadow_dx!=null&&(n=3*a.dropShadow_blur,(n={x1:e.x1-n+a.dropShadow_dx,y1:e.y1-n+a.dropShadow_dy,x2:e.x2+n+a.dropShadow_dx,y2:e.y2+n+a.dropShadow_dy}).x1<e.x1&&(e.x1=n.x1),n.y1<e.y1&&(e.y1=n.y1),n.x2>e.x2&&(e.x2=n.x2),n.y2>e.y2&&(e.y2=n.y2),["x","y"].forEach(function(i){var l,d="dropShadow_"+i;a[d]=l=e[i+"1"],N(t,o,d,l)&&(t.efc_dropShadow_elmFilter[i].baseVal.value=l)}))}}},Object.keys(Y).forEach(function(t){var e=Y[t],n=e.stats;n[t+"_enabled"]={iniValue:!1},n[t+"_options"]={hasProps:!0},e.anim&&(n[t+"_animOptions"]={},n[t+"_animId"]={})}),K={none:{defaultAnimOptions:{},init:function(t,e){var n=t.curStats;n.show_animId&&(at.remove(n.show_animId),n.show_animId=null),K.none.start(t,e)},start:function(t,e){K.none.stop(t,!0)},stop:function(t,e,n){var a=t.curStats;return n=n??t.aplStats.show_on,a.show_inAnim=!1,e&&Ft(t,n),n?1:0}},fade:{defaultAnimOptions:{duration:300,timing:"linear"},init:function(t,e){var n=t.curStats,a=t.aplStats;n.show_animId&&at.remove(n.show_animId),n.show_animId=at.add(function(o){return o},function(o,i){i?K.fade.stop(t,!0):(t.svg.style.opacity=o+"",dt&&(J(t,t.svg),Ze(t)))},a.show_animOptions.duration,1,a.show_animOptions.timing,null,!1),K.fade.start(t,e)},start:function(t,e){var n,a=t.curStats;a.show_inAnim&&(n=at.stop(a.show_animId)),Ft(t,1),a.show_inAnim=!0,at.start(a.show_animId,!t.aplStats.show_on,e??n)},stop:function(t,e,n){var a,o=t.curStats;return n=n??t.aplStats.show_on,a=o.show_inAnim?at.stop(o.show_animId):n?1:0,o.show_inAnim=!1,e&&(t.svg.style.opacity=n?"":"0",Ft(t,n)),a}},draw:{defaultAnimOptions:{duration:500,timing:[.58,0,.42,1]},init:function(t,e){var n=t.curStats,a=t.aplStats,o=t.pathList.baseVal,i=Ue(o),l=i.segsLen,d=i.lenAll;n.show_animId&&at.remove(n.show_animId),n.show_animId=at.add(function(h){var k,v,x,p=-1;if(h===0)v=[[o[0][0],o[0][0]]];else if(h===1)v=o;else{for(k=d*h,v=[];k>=l[++p];)v.push(o[p]),k-=l[p];k&&((x=o[p]).length===2?v.push([x[0],Ut(x[0],x[1],k/l[p])]):(h=Bt(x[0],x[1],x[2],x[3],Ee(x[0],x[1],x[2],x[3],k)),v.push([x[0],h.fromP1,h.fromP2,h])))}return v},function(h,k){k?K.draw.stop(t,!0):(t.pathList.animVal=h,ft(t,{path:!0}))},a.show_animOptions.duration,1,a.show_animOptions.timing,null,!1),K.draw.start(t,e)},start:function(t,e){var n,a=t.curStats;a.show_inAnim&&(n=at.stop(a.show_animId)),Ft(t,1),a.show_inAnim=!0,et(t,"apl_position",K.draw.update),at.start(a.show_animId,!t.aplStats.show_on,e??n)},stop:function(t,e,n){var a,o=t.curStats;return n=n??t.aplStats.show_on,a=o.show_inAnim?at.stop(o.show_animId):n?1:0,o.show_inAnim=!1,e&&(t.pathList.animVal=n?null:[[t.pathList.baseVal[0][0],t.pathList.baseVal[0][0]]],ft(t,{path:!0}),Ft(t,n)),a},update:function(t){nt(t,"apl_position",K.draw.update),t.curStats.show_inAnim?K.draw.init(t,K.draw.stop(t)):t.aplStats.show_animOptions={}}}},[["start","anchorSE",0],["end","anchorSE",1],["color","lineColor"],["size","lineSize"],["startSocketGravity","socketGravitySE",0],["endSocketGravity","socketGravitySE",1],["startPlugColor","plugColorSE",0],["endPlugColor","plugColorSE",1],["startPlugSize","plugSizeSE",0],["endPlugSize","plugSizeSE",1],["outline","lineOutlineEnabled"],["outlineColor","lineOutlineColor"],["outlineSize","lineOutlineSize"],["startPlugOutline","plugOutlineEnabledSE",0],["endPlugOutline","plugOutlineEnabledSE",1],["startPlugOutlineColor","plugOutlineColorSE",0],["endPlugOutlineColor","plugOutlineColorSE",1],["startPlugOutlineSize","plugOutlineSizeSE",0],["endPlugOutlineSize","plugOutlineSizeSE",1]].forEach(function(t){var e=t[0],n=t[1],a=t[2];Object.defineProperty(yt.prototype,e,{get:function(){var o=a!=null?lt[this._id].options[n][a]:n?lt[this._id].options[n]:lt[this._id].options[e];return o==null?Mt:ht(o)},set:se(e),enumerable:!0})}),[["path",Te],["startSocket",Kt,"socketSE",0],["endSocket",Kt,"socketSE",1],["startPlug",me,"plugSE",0],["endPlug",me,"plugSE",1]].forEach(function(t){var e=t[0],n=t[1],a=t[2],o=t[3];Object.defineProperty(yt.prototype,e,{get:function(){var i,l=o!=null?lt[this._id].options[a][o]:a?lt[this._id].options[a]:lt[this._id].options[e];return l?Object.keys(n).some(function(d){return n[d]===l&&(i=d,!0)})?i:new Error("It's broken"):Mt},set:se(e),enumerable:!0})}),Object.keys(Y).forEach(function(t){var e=Y[t];Object.defineProperty(yt.prototype,t,{get:function(){var n,a,o=lt[this._id].options[t];return kt(o)?(n=o,a=e.optionsConf.reduce(function(i,p){var d,h=p[0],k=p[1],v=p[2],x=p[3],p=p[4],s=p!=null?n[x][p]:x?n[x]:n[k];return i[k]=h==="id"?s?Object.keys(v).some(function(c){return v[c]===s&&(d=c,!0)})?d:new Error("It's broken"):Mt:s==null?Mt:ht(s),i},{}),e.anim&&(a.animation=ht(n.animation)),a):o},set:se(t),enumerable:!0})}),["startLabel","endLabel","middleLabel"].forEach(function(t,e){Object.defineProperty(yt.prototype,t,{get:function(){var n=lt[this._id],a=n.options;return a.labelSEM[e]&&!n.optionIsAttach.labelSEM[e]?ot[a.labelSEM[e]._id].text:a.labelSEM[e]||""},set:se(t),enumerable:!0})}),yt.prototype.setOptions=function(t){return le(lt[this._id],t),this},yt.prototype.position=function(){return ft(lt[this._id],{position:!0}),this},yt.prototype.remove=function(){var t=lt[this._id],e=t.curStats;Object.keys(Y).forEach(function(n){n+="_animId",e[n]&&at.remove(e[n])}),e.show_animId&&at.remove(e.show_animId),t.attachments.slice().forEach(function(n){re(t,n)}),t.baseWindow&&t.svg&&t.baseWindow.document.body.removeChild(t.svg),delete lt[this._id]},yt.prototype.show=function(t,e){return oe(lt[this._id],!0,t,e),this},yt.prototype.hide=function(t,e){return oe(lt[this._id],!1,t,e),this},ue=function(t){t&&ot[t._id]&&(t.boundTargets.slice().forEach(function(e){re(e.props,t,!0)}),t.conf.remove&&t.conf.remove(t),delete ot[t._id])},Je.prototype.remove=function(){var t=this,e=ot[t._id];e&&(e.boundTargets.slice().forEach(function(n){e.conf.removeOption(e,n)}),Rt(function(){var n=ot[t._id];n&&(console.error("LeaderLineAttachment was not removed by removeOption"),ue(n))}))},At=Je,window.LeaderLineAttachment=At,Xt=function(t,e){return t instanceof At&&(!(t.isRemoved||e&&ot[t._id].conf.type!==e)||null)},W={pointAnchor:{type:"anchor",argOptions:[{optionName:"element",type:jt}],init:function(t,e){return t.element=W.pointAnchor.checkElement(e.element),t.x=W.pointAnchor.parsePercent(e.x,!0)||[.5,!0],t.y=W.pointAnchor.parsePercent(e.y,!0)||[.5,!0],!0},removeOption:function(i,e){var n=e.props,a={},o=i.element,i=n.options.anchorSE[e.optionName==="start"?1:0];o===i&&(o=i===document.body?new At(W.pointAnchor,[o]):document.body),a[e.optionName]=o,le(n,a)},getBBoxNest:function(t,o){var n=Ht(t.element,o.baseWindow),a=n.width,o=n.height;return n.width=n.height=0,n.left=n.right=n.left+t.x[0]*(t.x[1]?a:1),n.top=n.bottom=n.top+t.y[0]*(t.y[1]?o:1),n},parsePercent:function(t,e){var n,a,o=!1;return pt(t)?a=t:typeof t=="string"&&(n=Fe.exec(t))&&n[2]&&(o=(a=parseFloat(n[1])/100)!==0),a!=null&&(e||0<=a)?[a,o]:null},checkElement:function(t){if(t==null)t=document.body;else if(!jt(t))throw new Error("`element` must be Element");return t}},areaAnchor:{type:"anchor",argOptions:[{optionName:"element",type:jt},{optionName:"shape",type:"string"}],stats:{color:{},strokeWidth:{},elementWidth:{},elementHeight:{},elementLeft:{},elementTop:{},pathListRel:{},bBoxRel:{},pathData:{},viewBoxBBox:{hasProps:!0},dashLen:{},dashGap:{}},init:function(t,e){var n,a=[];return t.element=W.pointAnchor.checkElement(e.element),typeof e.color=="string"&&(t.color=e.color.trim()),typeof e.fillColor=="string"&&(t.fill=e.fillColor.trim()),pt(e.size)&&0<=e.size&&(t.size=e.size),e.dash&&(t.dash=!0,pt(e.dash.len)&&0<e.dash.len&&(t.dashLen=e.dash.len),pt(e.dash.gap)&&0<e.dash.gap&&(t.dashGap=e.dash.gap)),e.shape==="circle"?t.shape=e.shape:e.shape==="polygon"&&Array.isArray(e.points)&&3<=e.points.length&&e.points.every(function(o){var i={};return!(!(i.x=W.pointAnchor.parsePercent(o[0],!0))||!(i.y=W.pointAnchor.parsePercent(o[1],!0)))&&(a.push(i),(i.x[1]||i.y[1])&&(t.hasRatio=!0),!0)})?(t.shape=e.shape,t.points=a):(t.shape="rect",t.radius=pt(e.radius)&&0<=e.radius?e.radius:0),t.shape!=="rect"&&t.shape!=="circle"||(t.x=W.pointAnchor.parsePercent(e.x,!0)||[-.05,!0],t.y=W.pointAnchor.parsePercent(e.y,!0)||[-.05,!0],t.width=W.pointAnchor.parsePercent(e.width)||[1.1,!0],t.height=W.pointAnchor.parsePercent(e.height)||[1.1,!0],(t.x[1]||t.y[1]||t.width[1]||t.height[1])&&(t.hasRatio=!0)),n=t.element.ownerDocument,t.svg=e=n.createElementNS(F,"svg"),e.className.baseVal=it+"-areaAnchor",e.viewBox.baseVal||e.setAttribute("viewBox","0 0 0 0"),t.path=e.appendChild(n.createElementNS(F,"path")),t.path.style.fill=t.fill||"none",t.isShown=!1,e.style.visibility="hidden",n.body.appendChild(e),Qe(n=n.defaultView),t.bodyOffset=qe(n),t.updateColor=function(){var o=t.curStats,i=t.aplStats,l=t.boundTargets.length?t.boundTargets[0].props.curStats:null;o.color=l=t.color||(l?l.line_color:ct.lineColor),N(t,i,"color",l)&&(t.path.style.stroke=l)},t.updateShow=function(){Ft(t,t.boundTargets.some(function(o){return o.props.isShown===!0}))},!0},bind:function(t,e){return e=e.props,t.color||et(e,"cur_line_color",t.updateColor),et(e,"svgShow",t.updateShow),Rt(function(){t.updateColor(),t.updateShow()}),!0},unbind:function(t,e){e=e.props,t.color||nt(e,"cur_line_color",t.updateColor),nt(e,"svgShow",t.updateShow),1<t.boundTargets.length&&Rt(function(){t.updateColor(),t.updateShow(),W.areaAnchor.update(t)&&t.boundTargets.forEach(function(n){ft(n.props,{position:!0})})})},removeOption:function(t,e){W.pointAnchor.removeOption(t,e)},remove:function(t){t.boundTargets.length&&(console.error("LeaderLineAttachment was not unbound by remove"),t.boundTargets.forEach(function(e){W.areaAnchor.unbind(t,e)})),t.svg.parentNode.removeChild(t.svg)},getStrokeWidth:function(t,e){return W.areaAnchor.update(t)&&1<t.boundTargets.length&&Rt(function(){t.boundTargets.forEach(function(n){n.props!==e&&ft(n.props,{position:!0})})}),t.curStats.strokeWidth},getPathData:function(t,e){var n=Ht(t.element,e.baseWindow);return xe(t.curStats.pathListRel,function(a){a.x+=n.left,a.y+=n.top})},getBBoxNest:function(t,e){return e=Ht(t.element,e.baseWindow),t=t.curStats.bBoxRel,{left:t.left+e.left,top:t.top+e.top,right:t.right+e.left,bottom:t.bottom+e.top,width:t.width,height:t.height}},update:function(t){var e,n,a,o,i,l,d,h,k,v,x,p,s,c,m,u,f=t.curStats,y=t.aplStats,C=t.boundTargets.length?t.boundTargets[0].props.curStats:null,V={};if(V.strokeWidth=N(t,f,"strokeWidth",t.size!=null?t.size:C?C.line_strokeWidth:ct.lineSize),e=ee(t.element),V.elementWidth=N(t,f,"elementWidth",e.width),V.elementHeight=N(t,f,"elementHeight",e.height),V.elementLeft=N(t,f,"elementLeft",e.left),V.elementTop=N(t,f,"elementTop",e.top),V.strokeWidth||t.hasRatio&&(V.elementWidth||V.elementHeight)){switch(t.shape){case"rect":(p={left:t.x[0]*(t.x[1]?e.width:1),top:t.y[0]*(t.y[1]?e.height:1),width:t.width[0]*(t.width[1]?e.width:1),height:t.height[0]*(t.height[1]?e.height:1)}).right=p.left+p.width,p.bottom=p.top+p.height,x=f.strokeWidth/2,h=(d=Math.min(p.width,p.height))?d/2*Math.SQRT2+x:0,v=(d=t.radius?t.radius<=h?t.radius:h:0)?(h=(d-x)/Math.SQRT2,v=[{x:p.left-(k=d-h),y:p.top+h},{x:p.left+h,y:p.top-k},{x:p.right-h,y:p.top-k},{x:p.right+k,y:p.top+h},{x:p.right+k,y:p.bottom-h},{x:p.right-h,y:p.bottom+k},{x:p.left+h,y:p.bottom+k},{x:p.left-k,y:p.bottom-h}],f.pathListRel=[[v[0],{x:v[0].x,y:v[0].y-(x=d*te)},{x:v[1].x-x,y:v[1].y},v[1]]],v[1].x!==v[2].x&&f.pathListRel.push([v[1],v[2]]),f.pathListRel.push([v[2],{x:v[2].x+x,y:v[2].y},{x:v[3].x,y:v[3].y-x},v[3]]),v[3].y!==v[4].y&&f.pathListRel.push([v[3],v[4]]),f.pathListRel.push([v[4],{x:v[4].x,y:v[4].y+x},{x:v[5].x+x,y:v[5].y},v[5]]),v[5].x!==v[6].x&&f.pathListRel.push([v[5],v[6]]),f.pathListRel.push([v[6],{x:v[6].x-x,y:v[6].y},{x:v[7].x,y:v[7].y+x},v[7]]),v[7].y!==v[0].y&&f.pathListRel.push([v[7],v[0]]),f.pathListRel.push([]),k=d-h+f.strokeWidth/2,[{x:p.left-k,y:p.top-k},{x:p.right+k,y:p.bottom+k}]):(k=f.strokeWidth/2,v=[{x:p.left-k,y:p.top-k},{x:p.right+k,y:p.bottom+k}],f.pathListRel=[[v[0],{x:v[1].x,y:v[0].y}],[{x:v[1].x,y:v[0].y},v[1]],[v[1],{x:v[0].x,y:v[1].y}],[]],[{x:p.left-f.strokeWidth,y:p.top-f.strokeWidth},{x:p.right+f.strokeWidth,y:p.bottom+f.strokeWidth}]),f.bBoxRel={left:v[0].x,top:v[0].y,right:v[1].x,bottom:v[1].y,width:v[1].x-v[0].x,height:v[1].y-v[0].y};break;case"circle":(l={left:t.x[0]*(t.x[1]?e.width:1),top:t.y[0]*(t.y[1]?e.height:1),width:t.width[0]*(t.width[1]?e.width:1),height:t.height[0]*(t.height[1]?e.height:1)}).width||l.height||(l.width=l.height=10),l.width||(l.width=l.height),l.height||(l.height=l.width),l.right=l.left+l.width,l.bottom=l.top+l.height,x=l.left+l.width/2,d=l.top+l.height/2,i=f.strokeWidth/2,h=l.width/2,k=l.height/2,p=h*Math.SQRT2+i,v=k*Math.SQRT2+i,f.pathListRel=[[(i=[{x:x-p,y:d},{x,y:d-v},{x:x+p,y:d},{x,y:d+v}])[0],{x:i[0].x,y:i[0].y-(x=v*te)},{x:i[1].x-(d=p*te),y:i[1].y},i[1]],[i[1],{x:i[1].x+d,y:i[1].y},{x:i[2].x,y:i[2].y-x},i[2]],[i[2],{x:i[2].x,y:i[2].y+x},{x:i[3].x+d,y:i[3].y},i[3]],[i[3],{x:i[3].x-d,y:i[3].y},{x:i[0].x,y:i[0].y+x},i[0]],[]],h=p-h+f.strokeWidth/2,k=v-k+f.strokeWidth/2,i=[{x:l.left-h,y:l.top-k},{x:l.right+h,y:l.bottom+k}],f.bBoxRel={left:i[0].x,top:i[0].y,right:i[1].x,bottom:i[1].y,width:i[1].x-i[0].x,height:i[1].y-i[0].y};break;case"polygon":t.points.forEach(function(I){var E=I.x[0]*(I.x[1]?e.width:1),I=I.y[0]*(I.y[1]?e.height:1);a?(E<a.left&&(a.left=E),E>a.right&&(a.right=E),I<a.top&&(a.top=I),I>a.bottom&&(a.bottom=I)):a={left:E,right:E,top:I,bottom:I},o?f.pathListRel.push([o,{x:E,y:I}]):f.pathListRel=[],o={x:E,y:I}}),f.pathListRel.push([]),i=f.strokeWidth/2,i=[{x:a.left-i,y:a.top-i},{x:a.right+i,y:a.bottom+i}],f.bBoxRel={left:i[0].x,top:i[0].y,right:i[1].x,bottom:i[1].y,width:i[1].x-i[0].x,height:i[1].y-i[0].y}}V.pathListRel=V.bBoxRel=!0}return(V.pathListRel||V.elementLeft||V.elementTop)&&(f.pathData=xe(f.pathListRel,function(M){M.x+=e.left,M.y+=e.top})),N(t,y,"strokeWidth",n=f.strokeWidth)&&(t.path.style.strokeWidth=n+"px"),ae(n=f.pathData,y.pathData)&&(t.path.setPathData(n),y.pathData=n,V.pathData=!0),t.dash&&(!V.pathData&&(!V.strokeWidth||t.dashLen&&t.dashGap)||(f.dashLen=t.dashLen||2*f.strokeWidth,f.dashGap=t.dashGap||f.strokeWidth),V.dash=N(t,y,"dashLen",f.dashLen)||V.dash,V.dash=N(t,y,"dashGap",f.dashGap)||V.dash,V.dash&&(t.path.style.strokeDasharray=y.dashLen+","+y.dashGap)),s=f.viewBoxBBox,c=y.viewBoxBBox,m=t.svg.viewBox.baseVal,u=t.svg.style,s.x=f.bBoxRel.left+e.left,s.y=f.bBoxRel.top+e.top,s.width=f.bBoxRel.width,s.height=f.bBoxRel.height,["x","y","width","height"].forEach(function(M){(n=s[M])!==c[M]&&(m[M]=c[M]=n,u[We[M]]=n+(M==="x"||M==="y"?t.bodyOffset[M]:0)+"px")}),V.strokeWidth||V.pathListRel||V.bBoxRel}},mouseHoverAnchor:{type:"anchor",argOptions:[{optionName:"element",type:jt},{optionName:"showEffectName",type:"string"}],style:{backgroundImage:"url('data:image/svg+xml;charset=utf-8;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48cG9seWdvbiBwb2ludHM9IjI0LDAgMCw4IDgsMTEgMCwxOSA1LDI0IDEzLDE2IDE2LDI0IiBmaWxsPSJjb3JhbCIvPjwvc3ZnPg==')",backgroundSize:"",backgroundRepeat:"no-repeat",backgroundColor:"#f8f881",cursor:"default"},hoverStyle:{backgroundImage:"none",backgroundColor:"#fadf8f"},padding:{top:1,right:15,bottom:1,left:2},minHeight:15,backgroundPosition:{right:2,top:2},backgroundSize:{width:12,height:12},dirKeys:[["top","Top"],["right","Right"],["bottom","Bottom"],["left","Left"]],init:function(t,e){var n,a,o,i,l,d,h,k,v,x=W.mouseHoverAnchor,p={};if(t.element=W.pointAnchor.checkElement(e.element),h=t.element,!((k=h.ownerDocument)&&(v=k.defaultView)&&v.HTMLElement&&h instanceof v.HTMLElement))throw new Error("`element` must be HTML element");return x.style.backgroundSize=x.backgroundSize.width+"px "+x.backgroundSize.height+"px",["style","hoverStyle"].forEach(function(s){var c=x[s];t[s]=Object.keys(c).reduce(function(m,u){return m[u]=c[u],m},{})}),(n=t.element.ownerDocument.defaultView.getComputedStyle(t.element,"")).display==="inline"?t.style.display="inline-block":n.display==="none"&&(t.style.display="block"),W.mouseHoverAnchor.dirKeys.forEach(function(m){var c=m[0],m="padding"+m[1];parseFloat(n[m])<x.padding[c]&&(t.style[m]=x.padding[c]+"px")}),t.style.display&&(o=t.element.style.display,t.element.style.display=t.style.display),W.mouseHoverAnchor.dirKeys.forEach(function(s){s="padding"+s[1],t.style[s]&&(p[s]=t.element.style[s],t.element.style[s]=t.style[s])}),(h=t.element.getBoundingClientRect()).height<x.minHeight&&(dt?(v=x.minHeight,n.boxSizing==="content-box"?v-=parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth)+parseFloat(n.paddingTop)+parseFloat(n.paddingBottom):n.boxSizing==="padding-box"&&(v-=parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth)),t.style.height=v+"px"):t.style.height=parseFloat(n.height)+(x.minHeight-h.height)+"px"),t.style.backgroundPosition=tt?h.width-x.backgroundSize.width-x.backgroundPosition.right+"px "+x.backgroundPosition.top+"px":"right "+x.backgroundPosition.right+"px top "+x.backgroundPosition.top+"px",t.style.display&&(t.element.style.display=o),W.mouseHoverAnchor.dirKeys.forEach(function(s){s="padding"+s[1],t.style[s]&&(t.element.style[s]=p[s])}),["style","hoverStyle"].forEach(function(s){var c=t[s],m=e[s];kt(m)&&Object.keys(m).forEach(function(u){typeof m[u]=="string"||pt(m[u])?c[u]=m[u]:m[u]==null&&delete c[u]})}),typeof e.onSwitch=="function"&&(d=e.onSwitch),e.showEffectName&&K[e.showEffectName]&&(t.showEffectName=i=e.showEffectName),l=e.animOptions,t.elmStyle=a=t.element.style,t.mouseenter=function(s){t.hoverStyleSave=x.getStyles(a,Object.keys(t.hoverStyle)),x.setStyles(a,t.hoverStyle),t.boundTargets.forEach(function(c){oe(c.props,!0,i,l)}),d&&d(s)},t.mouseleave=function(s){x.setStyles(a,t.hoverStyleSave),t.boundTargets.forEach(function(c){oe(c.props,!1,i,l)}),d&&d(s)},!0},bind:function(t,e){var n,a,o,i,l;return e.props.svg?W.mouseHoverAnchor.llShow(e.props,!1,t.showEffectName):Rt(function(){W.mouseHoverAnchor.llShow(e.props,!1,t.showEffectName)}),t.enabled||(t.styleSave=W.mouseHoverAnchor.getStyles(t.elmStyle,Object.keys(t.style)),W.mouseHoverAnchor.setStyles(t.elmStyle,t.style),t.removeEventListener=(n=t.element,a=t.mouseenter,o=t.mouseleave,"onmouseenter"in n&&"onmouseleave"in n?(n.addEventListener("mouseenter",a,!1),n.addEventListener("mouseleave",o,!1),function(){n.removeEventListener("mouseenter",a,!1),n.removeEventListener("mouseleave",o,!1)}):(console.warn("mouseenter and mouseleave events polyfill is enabled."),n.addEventListener("mouseover",i=function(d){d.relatedTarget&&(d.relatedTarget===this||this.compareDocumentPosition(d.relatedTarget)&Node.DOCUMENT_POSITION_CONTAINED_BY)||a.apply(this,arguments)}),n.addEventListener("mouseout",l=function(d){d.relatedTarget&&(d.relatedTarget===this||this.compareDocumentPosition(d.relatedTarget)&Node.DOCUMENT_POSITION_CONTAINED_BY)||o.apply(this,arguments)}),function(){n.removeEventListener("mouseover",i,!1),n.removeEventListener("mouseout",l,!1)})),t.enabled=!0),!0},unbind:function(t,e){t.enabled&&t.boundTargets.length<=1&&(t.removeEventListener(),W.mouseHoverAnchor.setStyles(t.elmStyle,t.styleSave),t.enabled=!1),W.mouseHoverAnchor.llShow(e.props,!0,t.showEffectName)},removeOption:function(t,e){W.pointAnchor.removeOption(t,e)},remove:function(t){t.boundTargets.length&&(console.error("LeaderLineAttachment was not unbound by remove"),t.boundTargets.forEac
2h(function(e){W.mouseHoverAnchor.unbind(t,e)}))},getBBoxNest:function(t,e){return Ht(t.element,e.baseWindow)},llShow:function(t,e,n){K[n||t.curStats.show_effect].stop(t,!0,e),t.aplStats.show_on=e},getStyles:function(t,e){return e.reduce(function(n,a){return n[a]=t[a],n},{})},setStyles:function(t,e){Object.keys(e).forEach(function(n){t[n]=e[n]})}},captionLabel:{type:"label",argOptions:[{optionName:"text",type:"string"}],stats:{color:{},x:{},y:{}},textStyleProps:["fontFamily","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","kerning","letterSpacing","wordSpacing","textDecoration"],init:function(t,e){return typeof e.text=="string"&&(t.text=e.text.trim()),!!t.text&&(typeof e.color=="string"&&(t.color=e.color.trim()),t.outlineColor=typeof e.outlineColor=="string"?e.outlineColor.trim():"#fff",Array.isArray(e.offset)&&pt(e.offset[0])&&pt(e.offset[1])&&(t.offset={x:e.offset[0],y:e.offset[1]}),pt(e.lineOffset)&&(t.lineOffset=e.lineOffset),W.captionLabel.textStyleProps.forEach(function(n){e[n]!=null&&(t[n]=e[n])}),t.updateColor=function(n){W.captionLabel.updateColor(t,n)},t.updateSocketXY=function(n){var a,o=t.curStats,i=t.aplStats,l=n.curStats,d=l.position_socketXYSE[t.socketIndex];d.x!=null&&(t.offset?(o.x=d.x+t.offset.x,o.y=d.y+t.offset.y):(a=t.height/2,n=Math.max(l.attach_plugSideLenSE[t.socketIndex]||0,l.line_strokeWidth/2),l=l.position_socketXYSE[t.socketIndex?0:1],d.socketId===bt||d.socketId===vt?(o.x=d.socketId===bt?d.x-a-t.width:d.x+a,o.y=l.y<d.y?d.y+n+a:d.y-n-a-t.height):(o.x=l.x<d.x?d.x+n+a:d.x-n-a-t.width,o.y=d.socketId===_t?d.y-a-t.height:d.y+a)),N(t,i,"x",a=o.x)&&(t.elmPosition.x.baseVal.getItem(0).value=a),N(t,i,"y",a=o.y)&&(t.elmPosition.y.baseVal.getItem(0).value=a+t.height))},t.updatePath=function(i){var a=t.curStats,o=t.aplStats,i=i.pathList.animVal||i.pathList.baseVal;i&&(i=W.captionLabel.getMidPoint(i,t.lineOffset),a.x=i.x-t.width/2,a.y=i.y-t.height/2,N(t,o,"x",i=a.x)&&(t.elmPosition.x.baseVal.getItem(0).value=i),N(t,o,"y",i=a.y)&&(t.elmPosition.y.baseVal.getItem(0).value=i+t.height))},t.updateShow=function(n){W.captionLabel.updateShow(t,n)},tt&&(t.adjustEdge=function(n,a){var o=t.curStats;o.x!=null&&W.captionLabel.adjustEdge(a,{x:o.x,y:o.y,width:t.width,height:t.height},t.strokeWidth/2)}),!0)},updateColor:function(t,o){var n=t.curStats,a=t.aplStats,o=o.curStats;n.color=o=t.color||o.line_color,N(t,a,"color",o)&&(t.styleFill.fill=o)},updateShow:function(t,e){e=e.isShown===!0,e!==t.isShown&&(t.styleShow.visibility=e?"":"hidden",t.isShown=e)},adjustEdge:function(t,e,n){n={x1:e.x-n,y1:e.y-n,x2:e.x+e.width+n,y2:e.y+e.height+n},n.x1<t.x1&&(t.x1=n.x1),n.y1<t.y1&&(t.y1=n.y1),n.x2>t.x2&&(t.x2=n.x2),n.y2>t.y2&&(t.y2=n.y2)},newText:function(t,e,n,a,o){var i,l,d=e.createElementNS(F,"text");return d.textContent=t,[d.x,d.y].forEach(function(h){var k=n.createSVGLength();k.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX,0),h.baseVal.initialize(k)}),typeof Vt!="boolean"&&(Vt="paintOrder"in d.style),o&&!Vt?(i=e.createElementNS(F,"defs"),d.id=a,i.appendChild(d),(l=(t=e.createElementNS(F,"g")).appendChild(e.createElementNS(F,"use"))).href.baseVal="#"+a,(e=t.appendChild(e.createElementNS(F,"use"))).href.baseVal="#"+a,(l=l.style).strokeLinejoin="round",{elmPosition:d,styleText:d.style,styleFill:e.style,styleStroke:l,styleShow:t.style,elmsAppend:[i,t]}):(l=d.style,o&&(l.strokeLinejoin="round",l.paintOrder="stroke"),{elmPosition:d,styleText:l,styleFill:l,styleStroke:o?l:null,styleShow:l,elmsAppend:[d]})},getMidPoint:function(t,e){var n,a,i=Ue(t),o=i.segsLen,i=i.lenAll,l=-1,d=i/2+(e||0);if(d<=0)return(n=t[0]).length===2?Ut(n[0],n[1],0):Bt(n[0],n[1],n[2],n[3],0);if(i<=d)return(n=t[t.length-1]).length===2?Ut(n[0],n[1],1):Bt(n[0],n[1],n[2],n[3],1);for(a=[];d>o[++l];)a.push(t[l]),d-=o[l];return(n=t[l]).length===2?Ut(n[0],n[1],d/o[l]):Bt(n[0],n[1],n[2],n[3],Ee(n[0],n[1],n[2],n[3],d))},initSvg:function(t,e){var n,a,o=W.captionLabel.newText(t.text,e.baseWindow.document,e.svg,it+"-captionLabel-"+t._id,t.outlineColor);["elmPosition","styleFill","styleShow","elmsAppend"].forEach(function(i){t[i]=o[i]}),t.isShown=!1,t.styleShow.visibility="hidden",W.captionLabel.textStyleProps.forEach(function(i){t[i]!=null&&(o.styleText[i]=t[i])}
vendor: 8,526 bytes, line 2
2),o.elmsAppend.forEach(function(i){e.svg.appendChild(i)}),n=o.elmPosition.getBBox(),t.width=n.width,t.height=n.height,t.outlineColor&&(a=n.height/9,o.styleStroke.strokeWidth=(a=10<a?10:a<2?2:a)+"px",o.styleStroke.stroke=t.outlineColor),t.strokeWidth=a||0,rt(t.aplStats,W.captionLabel.stats),t.updateColor(e),t.refSocketXY?t.updateSocketXY(e):t.updatePath(e),tt&&ft(e,{}),t.updateShow(e)},bind:function(t,e){var n=e.props;return t.color||et(n,"cur_line_color",t.updateColor),(t.refSocketXY=e.optionName==="startLabel"||e.optionName==="endLabel")?(t.socketIndex=e.optionName==="startLabel"?0:1,et(n,"apl_position",t.updateSocketXY),t.offset||(et(n,"cur_attach_plugSideLenSE",t.updateSocketXY),et(n,"cur_line_strokeWidth",t.updateSocketXY))):et(n,"apl_path",t.updatePath),et(n,"svgShow",t.updateShow),tt&&et(n,"new_edge4viewBox",t.adjustEdge),W.captionLabel.initSvg(t,n),!0},unbind:function(t,e){var n=e.props;t.elmsAppend&&(t.elmsAppend.forEach(function(a){n.svg.removeChild(a)}),t.elmPosition=t.styleFill=t.styleShow=t.elmsAppend=null),rt(t.curStats,W.captionLabel.stats),rt(t.aplStats,W.captionLabel.stats),t.color||nt(n,"cur_line_color",t.updateColor),t.refSocketXY?(nt(n,"apl_position",t.updateSocketXY),t.offset||(nt(n,"cur_attach_plugSideLenSE",t.updateSocketXY),nt(n,"cur_line_strokeWidth",t.updateSocketXY))):nt(n,"apl_path",t.updatePath),nt(n,"svgShow",t.updateShow),tt&&(nt(n,"new_edge4viewBox",t.adjustEdge),ft(n,{}))},removeOption:function(t,e){var n=e.props,a={};a[e.optionName]="",le(n,a)},remove:function(t){t.boundTargets.length&&(console.error("LeaderLineAttachment was not unbound by remove"),t.boundTargets.forEach(function(e){W.captionLabel.unbind(t,e)}))}},pathLabel:{type:"label",argOptions:[{optionName:"text",type:"string"}],stats:{color:{},startOffset:{},pathData:{}},init:function(t,e){return typeof e.text=="string"&&(t.text=e.text.trim()),!!t.text&&(typeof e.color=="string"&&(t.color=e.color.trim()),t.outlineColor=typeof e.outlineColor=="string"?e.outlineColor.trim():"#fff",pt(e.lineOffset)&&(t.lineOffset=e.lineOffset),W.captionLabel.textStyleProps.forEach(function(n){e[n]!=null&&(t[n]=e[n])}),t.updateColor=function(n){W.captionLabel.updateColor(t,n)},t.updatePath=function(n){var a=t.curStats,o=t.aplStats,i=n.curStats,l=n.pathList.animVal||n.pathList.baseVal;l&&(a.pathData=i=W.pathLabel.getOffsetPathData(l,i.line_strokeWidth/2+t.strokeWidth/2+t.height/4,1.25*t.height),ae(i,o.pathData)&&(t.elmPath.setPathData(i),o.pathData=i,t.bBox=t.elmPosition.getBBox(),t.updateStartOffset(n)))},t.updateStartOffset=function(n){var a,o,i=t.curStats,l=t.aplStats,d=n.curStats;i.pathData&&(t.semIndex===2&&!t.lineOffset||(o=i.pathData.reduce(function(h,k){var v,x=k.values;switch(k.type){case"M":a={x:x[0],y:x[1]};break;case"L":v={x:x[0],y:x[1]},a&&(h+=gt(a,v)),a=v;break;case"C":v={x:x[4],y:x[5]},a&&(h+=Zt(a,{x:x[0],y:x[1]},{x:x[2],y:x[3]},v)),a=v}return h},0),n=t.semIndex===0?0:t.semIndex===1?o:o/2,t.semIndex!==2&&(d=Math.max(d.attach_plugBackLenSE[t.semIndex]||0,d.line_strokeWidth/2)+t.strokeWidth/2+t.height/4,n=(n+=t.semIndex===0?d:-d)<0?0:o<n?o:n),t.lineOffset&&(n=(n+=t.lineOffset)<0?0:o<n?o:n),i.startOffset=n,N(t,l,"startOffset",n)&&(t.elmOffset.startOffset.baseVal.value=n)))},t.updateShow=function(n){W.captionLabel.updateShow(t,n)},tt&&(t.adjustEdge=function(n,a){t.bBox&&W.captionLabel.adjustEdge(a,t.bBox,t.strokeWidth/2)}),!0)},getOffsetPathData:function(t,e,n){var a,o,i=[];function l(d,h){return Math.abs(d.x-h.x)<3&&Math.abs(d.y-h.y)<3}return t.forEach(function(d){var h,k,v,x,p,s,c,m,u,f,y;d.length===2?(m=d[0],u=d[1],f=e,y=Math.atan2(m.y-u.y,u.x-m.x)+.5*Math.PI,h=[{x:m.x+Math.cos(y)*f,y:m.y+Math.sin(y)*f*-1},{x:u.x+Math.cos(y)*f,y:u.y+Math.sin(y)*f*-1}],a?(v=a.points,0<=(c=Math.atan2(v[1].y-v[0].y,v[0].x-v[1].x)-Math.atan2(d[0].y-d[1].y,d[1].x-d[0].x))&&c<=Math.PI?k={type:"line",points:h,inside:!0}:(p=ne(v[0],v[1],e),x=ne(h[1],h[0],e),s=v[0],m=h[1],y=(u=p).x-s.x,f=u.y-s.y,c=m.x-x.x,u=m.y-x.y,m=(-f*(s.x-x.x)+y*(s.y-x.y))/(-c*f+y*u),u=(c*(s.y-x.y)-u*(s.x-x.x))/(-c*f+y*u),k=(f=0<=m&&m<=1&&0<=u&&u<=1?{x:s.x+u*y,y:s.y+u*f}:null)?{type:"line",points:[v[1]=f,h[1]]}:(v[1]=l(x,p)?x:p,{type:"line",points:[x,h[1]]}),a.len=gt(v[0],v[1]))):k={type:"line",points:h},k.len=gt(k.points[0],k.points[1]),i.push(a=k)):(i.push({type:"cubic",points:(function(C,V,M,E,I,_){for(var r,g,O=Zt(C,V,M,E)/_,S=1/(_<I?I/_*O:O),A=[],L=0;g=(90-(r=Bt(C,V,M,E,L)).angle)*(Math.PI/180),A.push({x:r.x+Math.cos(g)*I,y:r.y+Math.sin(g)*I*-1}),!(1<=L);)1<(L+=S)&&(L=1);return A})(d[0],d[1],d[2],d[3],e,16)}),a=null)}),a=null,i.forEach(function(d){var h;a=d.type==="line"?(d.inside&&(a.len>e?((h=a.points)[1]=ne(h[0],h[1],-e),a.len=gt(h[0],h[1])):(a.points=null,a.len=0),d.len>e+n?((h=d.points)[0]=ne(h[1],h[0],-(e+n)),d.len=gt(h[0],h[1])):(d.points=null,d.len=0)),d):null}),i.reduce(function(d,h){var k=h.points;return k&&(o&&l(k[0],o)||d.push({type:"M",values:[k[0].x,k[0].y]}),h.type==="line"?d.push({type:"L",values:[k[1].x,k[1].y]}):(k.shift(),k.forEach(function(v){d.push({type:"L",values:[v.x,v.y]})})),o=k[k.length-1]),d},[])},newText:function(t,e,n,a){var o,i,l,d,h=e.createElementNS(F,"defs"),k=h.appendChild(e.createElementNS(F,"path"));return k.id=o=n+"-path",(l=(i=e.createElementNS(F,"text")).appendChild(e.createElementNS(F,"textPath"))).href.baseVal="#"+o,l.startOffset.baseVal.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX,0),l.textContent=t,typeof Vt!="boolean"&&(Vt="paintOrder"in i.style),a&&!Vt?(i.id=t=n+"-text",h.appendChild(i),(d=(n=e.createElementNS(F,"g")).appendChild(e.createElementNS(F,"use"))).href.baseVal="#"+t,(e=n.appendChild(e.createElementNS(F,"use"))).href.baseVal="#"+t,(d=d.style).strokeLinejoin="round",{elmPosition:i,elmPath:k,elmOffset:l,styleText:i.style,styleFill:e.style,styleStroke:d,styleShow:n.style,elmsAppend:[h,n]}):(d=i.style,a&&(d.strokeLinejoin="round",d.paintOrder="stroke"),{elmPosition:i,elmPath:k,elmOffset:l,styleText:d,styleFill:d,styleStroke:a?d:null,styleShow:d,elmsAppend:[h,i]})},initSvg:function(t,e){var n,a,o,i=W.pathLabel.newText(t.text,e.baseWindow.document,it+"-pathLabel-"+t._id,t.outlineColor);["elmPosition","elmPath","elmOffset","styleFill","styleShow","elmsAppend"].forEach(function(l){t[l]=i[l]}),t.isShown=!1,t.styleShow.visibility="hidden",W.captionLabel.textStyleProps.forEach(function(l){t[l]!=null&&(i.styleText[l]=t[l])}),i.elmsAppend.forEach(function(l){e.svg.appendChild(l)}),i.elmPath.setPathData([{type:"M",values:[0,100]},{type:"h",values:[100]}]),Tt&&(o=i.elmOffset.href.baseVal,i.elmOffset.href.baseVal=""),n=i.elmPosition.getBBox(),Tt&&(i.elmOffset.href.baseVal=o),i.styleText.textAnchor=["start","end","middle"][t.semIndex],t.semIndex!==2||t.lineOffset||i.elmOffset.startOffset.baseVal.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PERCENTAGE,50),t.height=n.height,t.outlineColor&&(a=n.height/9,i.styleStroke.strokeWidth=(a=10<a?10:a<2?2:a)+"px",i.styleStroke.stroke=t.outlineColor),t.strokeWidth=a||0,rt(t.aplStats,W.pathLabel.stats),t.updateColor(e),t.updatePath(e),t.updateStartOffset(e),tt&&ft(e,{}),t.updateShow(e)},bind:function(t,e){var n=e.props;return t.color||et(n,"cur_line_color",t.updateColor),et(n,"cur_line_strokeWidth",t.updatePath),et(n,"apl_path",t.updatePath),t.semIndex=e.optionName==="startLabel"?0:e.optionName==="endLabel"?1:2,t.semIndex===2&&!t.lineOffset||et(n,"cur_attach_plugBackLenSE",t.updateStartOffset),et(n,"svgShow",t.updateShow),tt&&et(n,"new_edge4viewBox",t.adjustEdge),W.pathLabel.initSvg(t,n),!0},unbind:function(t,e){var n=e.props;t.elmsAppend&&(t.elmsAppend.forEach(function(a){n.svg.removeChild(a)}),t.elmPosition=t.elmPath=t.elmOffset=t.styleFill=t.styleShow=t.elmsAppend=null),rt(t.curStats,W.pathLabel.stats),rt(t.aplStats,W.pathLabel.stats),t.color||nt(n,"cur_line_color",t.updateColor),nt(n,"cur_line_strokeWidth",t.updatePath),nt(n,"apl_path",t.updatePath),t.semIndex===2&&!t.lineOffset||nt(n,"cur_attach_plugBackLenSE",t.updateStartOffset),nt(n,"svgShow",t.updateShow),tt&&(nt(n,"new_edge4viewBox",t.adjustEdge),ft(n,{}))},removeOption:function(t,e){var n=e.props,a={};a[e.optionName]="",le(n,a)},remove:function(t){t.boundTargets.length&&(console.error("LeaderLineAttachment was not unbound by remove"),t.boundTargets.forEach(function(e){W.pathLabel.unbind(t,e)}))}}},Object.keys(W).forEach(function(t){yt[t]=function(){return new At(W[t],Array.prototype.slice.call(arguments))}}),yt.positionByWindowResize=!0,window.addEventListener("resize",Wt.add(function(){yt.positionByWindowResize&&Object.keys(lt).forEach(function(t){ft(lt[t],{position:!0})})}),!1),yt})();

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.