System.register([],(function(e,t){"use strict";return{execute:function(){/*! LeaderLine v1.0.5 (c) anseki https://anseki.github.io/leader-line/ */var t=function(){var e,t,n,a,i,o,l,r,s,u,h,p,c,d="leader-line",f={top:1,right:2,bottom:3,left:4},y={straight:1,arc:2,fluid:3,magnet:4,grid:5},S="behind",m=d+"-defs",g={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},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}},_={behind:S,disc:"disc",square:"square",arrow1:"arrow1",arrow2:"arrow2",arrow3:"arrow3",hand:"hand",crosshair:"crosshair"},v={disc:"disc",square:"square",arrow1:"arrow1",arrow2:"arrow2",arrow3:"arrow3",hand:"hand",crosshair:"crosshair"},E=[1,2,3,4],x="auto",b={x:"left",y:"top",width:"width",height:"height"},k=10,w=30,O=.5522847,M=.25*Math.PI,I=/^\s*(\-?[\d\.]+)\s*(\%)?\s*$/,C="http://www.w3.org/2000/svg",L="-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style&&!window.navigator.msPointerEnabled,A=!L&&!!document.uniqueID,V="MozAppearance"in document.documentElement.style,P=!(L||V||!window.chrome||!window.CSS),N=!(L||A||V||P||window.chrome||!("WebkitAppearance"in document.documentElement.style)),T=A||L?.2:.1,W={path:3,lineColor:"coral",lineSize:4,plugSE:[S,"arrow1"],plugSizeSE:[1,1],lineOutlineEnabled:!1,lineOutlineColor:"indianred",lineOutlineSize:.25,plugOutlineEnabledSE:[!1,!1],plugOutlineSizeSE:[1,1]},B=(h={}.toString,p={}.hasOwnProperty.toString,c=p.call(Object),function(e){var t,n;return e&&"[object Object]"===h.call(e)&&(!(t=Object.getPrototypeOf(e))||(n=t.hasOwnProperty("constructor")&&t.constructor)&&"function"==typeof n&&p.call(n)===c)}),R=Number.isFinite||function(e){return"number"==typeof e&&window.isFinite(e)},F=function(){var e,t={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]},n=1e3/60/2,a=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||function(e){setTimeout(e,n)},i=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||function(e){clearTimeout(e)},o=Number.isFinite||function(e){return"number"==typeof e&&window.isFinite(e)},l=[],r=0;function s(){var t=Date.now(),o=!1;e&&(i.call(window,e),e=null),l.forEach((function(e){var a,i,l;if(e.framesStart){if((a=t-e.framesStart)>=e.duration&&e.count&&e.loopsLeft<=1)return l=e.frames[e.lastFrame=e.reverse?0:e.frames.length-1],e.frameCallback(l.value,!0,l.timeRatio,l.outputRatio),void(e.framesStart=null);if(a>e.duration){if(i=Math.floor(a/e.duration),e.count){if(i>=e.loopsLeft)return l=e.frames[e.lastFrame=e.reverse?0:e.frames.length-1],e.frameCallback(l.value,!0,l.timeRatio,l.outputRatio),void(e.framesStart=null);e.loopsLeft-=i}e.framesStart+=e.duration*i,a=t-e.framesStart}e.reverse&&(a=e.duration-a),l=e.frames[e.lastFrame=Math.round(a/n)],!1!==e.frameCallback(l.value,!1,l.timeRatio,l.outputRatio)?o=!0:e.framesStart=null}})),o&&(e=a.call(window,s))}function u(e,t){e.framesStart=Date.now(),null!=t&&(e.framesStart-=e.duration*(e.reverse?1-t:t)),e.loopsLeft=e.count,e.lastFrame=null,s()}return{add:function(e,a,i,o,s,h,p){var c,d,f,y,S,m,g,_,v,E,x,b,k,w=++r;function O(t,n){return{value:e(n),timeRatio:t,outputRatio:n}}if("string"==typeof s&&(s=t[s]),e=e||function(){},i',"image/svg+xml"),n.body.appendChild(t.documentElement),function(e){e.SVGPathElement.prototype.getPathData&&e.SVGPathElement.prototype.setPathData||function(){var t={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"},n=function(e){this._string=e,this._currentIndex=0,this._endIndex=this._string.length,this._prevCommand=null,this._skipOptionalSpaces()},a=-1!==e.navigator.userAgent.indexOf("MSIE ");n.prototype={parseSegment:function(){var e=this._string[this._currentIndex],n=t[e]?t[e]:null;if(null===n){if(null===this._prevCommand)return null;if(null===(n=("+"===e||"-"===e||"."===e||"0"<=e&&e<="9")&&"Z"!==this._prevCommand?"M"===this._prevCommand?"L":"m"===this._prevCommand?"l":this._prevCommand:null))return null}else this._currentIndex+=1;var a=null,i=(this._prevCommand=n).toUpperCase();return"H"===i||"V"===i?a=[this._parseNumber()]:"M"===i||"L"===i||"T"===i?a=[this._parseNumber(),this._parseNumber()]:"S"===i||"Q"===i?a=[this._parseNumber(),this._parseNumber(),this._parseNumber(),this._parseNumber()]:"C"===i?a=[this._parseNumber(),this._parseNumber(),this._parseNumber(),this._parseNumber(),this._parseNumber(),this._parseNumber()]:"A"===i?a=[this._parseNumber(),this._parseNumber(),this._parseNumber(),this._parseArcFlag(),this._parseArcFlag(),this._parseNumber(),this._parseNumber()]:"Z"===i&&(this._skipOptionalSpaces(),a=[]),null===a||0<=a.indexOf(null)?null:{type:n,values:a}},hasMoreData:function(){return this._currentIndex=this._endIndex||this._string[this._currentIndex]<"0"||"9"=this._endIndex||this._string[this._currentIndex]<"0"||"9"=this._endIndex)return null;var e=null,t=this._string[this._currentIndex];if(this._currentIndex+=1,"0"===t)e=0;else{if("1"!==t)return null;e=1}return this._skipOptionalSpacesOrDelimiter(),e}};var i=function(e){if(!e||0===e.length)return[];var t=new n(e),a=[];if(t.initialCommandIsMoveTo())for(;t.hasMoreData();){var i=t.parseSegment();if(null===i)break;a.push(i)}return a},o=e.SVGPathElement.prototype.setAttribute,l=e.SVGPathElement.prototype.removeAttribute,r=e.Symbol?e.Symbol():"__cachedPathData",s=e.Symbol?e.Symbol():"__cachedNormalizedPathData",u=function(e,t,n,a,i,o,l,r,s,h){var p,c,d,f,y,S=function(e,t,n){return{x:e*Math.cos(n)-t*Math.sin(n),y:e*Math.sin(n)+t*Math.cos(n)}},m=(p=l,Math.PI*p/180),g=[];if(h)c=h[0],d=h[1],f=h[2],y=h[3];else{var _=S(e,t,-m);e=_.x,t=_.y;var v=S(n,a,-m),E=(e-(n=v.x))/2,x=(t-(a=v.y))/2,b=E*E/(i*i)+x*x/(o*o);1120*Math.PI/180){var L=d,A=n,V=a;d=s&&c=Math.abs(a)?0<=t?2:4:0<=a?3:1))}))),x.position_path!==b.position_path||x.position_lineStrokeWidth!==b.position_lineStrokeWidth||[0,1].some((function(e){return x.position_plugOverheadSE[e]!==b.position_plugOverheadSE[e]||(o=I[e],l=b.position_socketXYSE[e],o.x!==l.x||o.y!==l.y||o.socketId!==l.socketId)||(n=t[e],a=b.position_socketGravitySE[e],(i=null==n?"auto":Array.isArray(n)?"array":"number")!=(null==a?"auto":Array.isArray(a)?"array":"number")||("array"===i?n[0]!==a[0]||n[1]!==a[1]:n!==a));var n,a,i,o,l}))){switch(e.pathList.baseVal=a=[],e.pathList.animVal=null,x.position_path){case 1:a.push([A(I[0]),A(I[1])]);break;case 2:c="number"==typeof t[0]&&04?5*(x.position_lineStrokeWidth-4):0),1===e.socketId?((l=(e.y-a.y)/2)=t.x:3===t.dirId?e.y>=t.y:e.x<=t.x}function u(e,t){return 1===t.dirId||3===t.dirId?e.x===t.x:e.y===t.y}function h(e){return e[0]?{contain:0,notContain:1}:{contain:1,notContain:0}}function p(e,t,n){return Math.abs(t[n]-e[n])}function c(e,t,n){return"x"===n?e.x=w?c(i[t.notContain],i[t.contain],f[t.contain]):i[t.contain].dirId)):(o=[{x:i[0].x,y:i[0].y},{x:i[1].x,y:i[1].y}],n.forEach((function(e,t){var n=0===t?1:0,a=p(o[t],o[n],f[t]);ak&&(s[o]-ek&&(s[o]-ea.outlineMax&&(t=a.outlineMax),t*=2*a.outlineBase,w=_e(E,k.plugOutline_strokeWidthSE,e,t)||w,w=_e(E,k.plugOutline_inStrokeWidthSE,e,k.plugOutline_colorTraSE[e]?t-T/(k.line_strokeWidth/W.lineSize)/x.plugSizeSE[e]*2:t/2)||w)})),w)),(n.faces||Ee.line||Ee.plug||Ee.lineOutline||Ee.plugOutline)&&(Ee.faces=(I=(O=t).curStats,C=O.aplStats,L=O.events,B=!1,!I.line_altColor&&_e(O,C,"line_color",M=I.line_color,L.apl_line_color)&&(O.lineFace.style.stroke=M,B=!0),_e(O,C,"line_strokeWidth",M=I.line_strokeWidth,L.apl_line_strokeWidth)&&(O.lineShape.style.strokeWidth=M+"px",B=!0,(V||A)&&(fe(O,O.lineShape),A&&(fe(O,O.lineFace),fe(O,O.lineMaskCaps)))),_e(O,C,"lineOutline_enabled",M=I.lineOutline_enabled,L.apl_lineOutline_enabled)&&(O.lineOutlineFace.style.display=M?"inline":"none",B=!0),I.lineOutline_enabled&&(_e(O,C,"lineOutline_color",M=I.lineOutline_color,L.apl_lineOutline_color)&&(O.lineOutlineFace.style.stroke=M,B=!0),_e(O,C,"lineOutline_strokeWidth",M=I.lineOutline_strokeWidth,L.apl_lineOutline_strokeWidth)&&(O.lineOutlineMaskShape.style.strokeWidth=M+"px",B=!0,A&&(fe(O,O.lineOutlineMaskCaps),fe(O,O.lineOutlineFace))),_e(O,C,"lineOutline_inStrokeWidth",M=I.lineOutline_inStrokeWidth,L.apl_lineOutline_inStrokeWidth)&&(O.lineMaskShape.style.strokeWidth=M+"px",B=!0,A&&(fe(O,O.lineOutlineMaskCaps),fe(O,O.lineOutlineFace)))),_e(O,C,"plug_enabled",M=I.plug_enabled,L.apl_plug_enabled)&&(O.plugsFace.style.display=M?"inline":"none",B=!0),I.plug_enabled&&[0,1].forEach((function(e){var t=I.plug_plugSE[e],n=t!==S?g[v[t]]:null,a=me(e,n);_e(O,C.plug_enabledSE,e,M=I.plug_enabledSE[e],L.apl_plug_enabledSE)&&(O.plugsFace.style[a.prop]=M?"url(#"+O.plugMarkerIdSE[e]+")":"none",B=!0),I.plug_enabledSE[e]&&(_e(O,C.plug_plugSE,e,t,L.apl_plug_plugSE)&&(O.plugFaceSE[e].href.baseVal="#"+n.elmId,Se(O,O.plugMarkerSE[e],a.orient,n.bBox,O.svg,O.plugMarkerShapeSE[e],O.plugsFace),B=!0,V&&fe(O,O.plugsFace)),_e(O,C.plug_colorSE,e,M=I.plug_colorSE[e],L.apl_plug_colorSE)&&(O.plugFaceSE[e].style.fill=M,B=!0,(P||N||A)&&!I.line_colorTra&&fe(O,A?O.lineMaskCaps:O.capsMaskLine)),["markerWidth","markerHeight"].forEach((function(t){var n="plug_"+t+"SE";_e(O,C[n],e,M=I[n][e],L["apl_"+n])&&(O.plugMarkerSE[e][t].baseVal.value=M,B=!0)})),_e(O,C.plugOutline_enabledSE,e,M=I.plugOutline_enabledSE[e],L.apl_plugOutline_enabledSE)&&(M?(O.plugFaceSE[e].style.mask="url(#"+O.plugMaskIdSE[e]+")",O.plugOutlineFaceSE[e].style.display="inline"):(O.plugFaceSE[e].style.mask="none",O.plugOutlineFaceSE[e].style.display="none"),B=!0),I.plugOutline_enabledSE[e]&&(_e(O,C.plugOutline_plugSE,e,t,L.apl_plugOutline_plugSE)&&(O.plugOutlineFaceSE[e].href.baseVal=O.plugMaskShapeSE[e].href.baseVal=O.plugOutlineMaskShapeSE[e].href.baseVal="#"+n.elmId,[O.plugMaskSE[e],O.plugOutlineMaskSE[e]].forEach((function(e){e.x.baseVal.value=n.bBox.left,e.y.baseVal.value=n.bBox.top,e.width.baseVal.value=n.bBox.width,e.height.baseVal.value=n.bBox.height})),B=!0),_e(O,C.plugOutline_colorSE,e,M=I.plugOutline_colorSE[e],L.apl_plugOutline_colorSE)&&(O.plugOutlineFaceSE[e].style.fill=M,B=!0,A&&(fe(O,O.lineMaskCaps),fe(O,O.lineOutlineMaskCaps))),_e(O,C.plugOutline_strokeWidthSE,e,M=I.plugOutline_strokeWidthSE[e],L.apl_plugOutline_strokeWidthSE)&&(O.plugOutlineMaskShapeSE[e].style.strokeWidth=M+"px",B=!0),_e(O,C.plugOutline_inStrokeWidthSE,e,M=I.plugOutline_inStrokeWidthSE[e],L.apl_plugOutline_inStrokeWidthSE)&&(O.plugMaskShapeSE[e].style.strokeWidth=M+"px",B=!0)))})),B)),(n.position||Ee.line||Ee.plug)&&(Ee.position=xe(t)),(n.path||Ee.position)&&(Ee.path=(G=(R=t).curStats,D=R.aplStats,z=R.pathList.animVal||R.pathList.baseVal,j=G.path_edge,H=!1,z&&(j.x1=j.x2=z[0][0].x,j.y1=j.y2=z[0][0].y,G.path_pathData=F=se(z,(function(e){e.xj.x2&&(j.x2=e.x),e.y>j.y2&&(j.y2=e.y)})),he(F,D.path_pathData)&&(R.linePath.setPathData(F),D.path_pathData=F,H=!0,A?(fe(R,R.plugsFace),fe(R,R.lineMaskCaps)):V&&fe(R,R.linePath),R.events.apl_path&&R.events.apl_path.forEach((function(e){e(R,F)})))),H)),Ee.viewBox=(X=(U=t).curStats,J=U.aplStats,$=X.path_edge,ee=X.viewBox_bBox,te=J.viewBox_bBox,ne=U.svg.viewBox.baseVal,ae=U.svg.style,ie=!1,Z=Math.max(X.line_strokeWidth/2,X.viewBox_plugBCircleSE[0]||0,X.viewBox_plugBCircleSE[1]||0),Y={x1:$.x1-Z,y1:$.y1-Z,x2:$.x2+Z,y2:$.y2+Z},U.events.new_edge4viewBox&&U.events.new_edge4viewBox.forEach((function(e){e(U,Y)})),ee.x=X.lineMask_x=X.lineOutlineMask_x=X.maskBGRect_x=Y.x1,ee.y=X.lineMask_y=X.lineOutlineMask_y=X.maskBGRect_y=Y.y1,ee.width=Y.x2-Y.x1,ee.height=Y.y2-Y.y1,["x","y","width","height"].forEach((function(e){var t;(t=ee[e])!==te[e]&&(ne[e]=te[e]=t,ae[b[e]]=t+("x"===e||"y"===e?U.bodyOffset[e]:0)+"px",ie=!0)})),ie),Ee.mask=(re=(oe=t).curStats,ue=oe.aplStats,pe=!1,re.plug_enabled?[0,1].forEach((function(e){re.capsMaskMarker_enabledSE[e]=re.plug_enabledSE[e]&&re.plug_colorTraSE[e]||re.plugOutline_enabledSE[e]&&re.plugOutline_colorTraSE[e]})):re.capsMaskMarker_enabledSE[0]=re.capsMaskMarker_enabledSE[1]=!1,re.capsMaskMarker_enabled=re.capsMaskMarker_enabledSE[0]||re.capsMaskMarker_enabledSE[1],re.lineMask_outlineMode=re.lineOutline_enabled,re.caps_enabled=re.capsMaskMarker_enabled||re.capsMaskAnchor_enabledSE[0]||re.capsMaskAnchor_enabledSE[1],re.lineMask_enabled=re.caps_enabled||re.lineMask_outlineMode,(re.lineMask_enabled&&!re.lineMask_outlineMode||re.lineOutline_enabled)&&["x","y"].forEach((function(e){var t="maskBGRect_"+e;_e(oe,ue,t,le=re[t])&&(oe.maskBGRect[e].baseVal.value=le,pe=!0)})),_e(oe,ue,"lineMask_enabled",le=re.lineMask_enabled)&&(oe.lineFace.style.mask=le?"url(#"+oe.lineMaskId+")":"none",pe=!0,N&&fe(oe,oe.lineMask)),re.lineMask_enabled&&(_e(oe,ue,"lineMask_outlineMode",le=re.lineMask_outlineMode)&&(le?(oe.lineMaskBG.style.display="none",oe.lineMaskShape.style.display="inline"):(oe.lineMaskBG.style.display="inline",oe.lineMaskShape.style.display="none"),pe=!0),["x","y"].forEach((function(e){var t="lineMask_"+e;_e(oe,ue,t,le=re[t])&&(oe.lineMask[e].baseVal.value=le,pe=!0)})),_e(oe,ue,"caps_enabled",le=re.caps_enabled)&&(oe.lineMaskCaps.style.display=oe.lineOutlineMaskCaps.style.display=le?"inline":"none",pe=!0,N&&fe(oe,oe.capsMaskLine)),re.caps_enabled&&([0,1].forEach((function(e){var t;_e(oe,ue.capsMaskAnchor_enabledSE,e,le=re.capsMaskAnchor_enabledSE[e])&&(oe.capsMaskAnchorSE[e].style.display=le?"inline":"none",pe=!0,N&&fe(oe,oe.lineMask)),re.capsMaskAnchor_enabledSE[e]&&(he(t=re.capsMaskAnchor_pathDataSE[e],ue.capsMaskAnchor_pathDataSE[e])&&(oe.capsMaskAnchorSE[e].setPathData(t),ue.capsMaskAnchor_pathDataSE[e]=t,pe=!0),_e(oe,ue.capsMaskAnchor_strokeWidthSE,e,le=re.capsMaskAnchor_strokeWidthSE[e])&&(oe.capsMaskAnchorSE[e].style.strokeWidth=le+"px",pe=!0))})),_e(oe,ue,"capsMaskMarker_enabled",le=re.capsMaskMarker_enabled)&&(oe.capsMaskLine.style.display=le?"inline":"none",pe=!0),re.capsMaskMarker_enabled&&[0,1].forEach((function(e){var t=re.capsMaskMarker_plugSE[e],n=t!==S?g[v[t]]:null,a=me(e,n);_e(oe,ue.capsMaskMarker_enabledSE,e,le=re.capsMaskMarker_enabledSE[e])&&(oe.capsMaskLine.style[a.prop]=le?"url(#"+oe.lineMaskMarkerIdSE[e]+")":"none",pe=!0),re.capsMaskMarker_enabledSE[e]&&(_e(oe,ue.capsMaskMarker_plugSE,e,t)&&(oe.capsMaskMarkerShapeSE[e].href.baseVal="#"+n.elmId,Se(oe,oe.capsMaskMarkerSE[e],a.orient,n.bBox,oe.svg,oe.capsMaskMarkerShapeSE[e],oe.capsMaskLine),pe=!0,V&&(fe(oe,oe.capsMaskLine),fe(oe,oe.lineFace))),["markerWidth","markerHeight"].forEach((function(t){var n="capsMaskMarker_"+t+"SE";_e(oe,ue[n],e,le=re[n][e])&&(oe.capsMaskMarkerSE[e][t].baseVal.value=le,pe=!0)})))})))),re.lineOutline_enabled&&["x","y"].forEach((function(e){var t="lineOutlineMask_"+e;_e(oe,ue,t,le=re[t])&&(oe.lineOutlineMask[e].baseVal.value=le,pe=!0)})),pe),n.effect&&(ge=(ce=t).curStats,ve=ce.aplStats,Object.keys(e).forEach((function(t){var n=e[t],a=t+"_enabled",i=t+"_options",o=ge[i];_e(ce,ve,a,de=ge[a])?(de&&(ve[i]=Q(o)),n[de?"init":"remove"](ce)):de&&q(o,ve[i])&&(n.remove(ce),ve[a]=!0,ve[i]=Q(o),n.init(ce))}))),(P||N)&&Ee.line&&!Ee.path&&fe(t,t.lineShape),P&&Ee.plug&&!Ee.line&&fe(t,t.plugsFace),ye(t)}function we(e,t){return{duration:R(e.duration)&&0t.x2&&(t.x2=a.x2),a.y2>t.y2&&(t.y2=a.y2),["x","y"].forEach((function(n){var a,l="dropShadow_"+n;i[l]=a=t[n+"1"],_e(e,o,l,a)&&(e.efc_dropShadow_elmFilter[n].baseVal.value=a)})))}}},Object.keys(e).forEach((function(t){var n=e[t],a=n.stats;a[t+"_enabled"]={iniValue:!1},a[t+"_options"]={hasProps:!0},n.anim&&(a[t+"_animOptions"]={},a[t+"_animId"]={})})),t={none:{defaultAnimOptions:{},init:function(e,n){var a=e.curStats;a.show_animId&&(F.remove(a.show_animId),a.show_animId=null),t.none.start(e,n)},start:function(e,n){t.none.stop(e,!0)},stop:function(e,t,n){var a=e.curStats;return n=null!=n?n:e.aplStats.show_on,a.show_inAnim=!1,t&&be(e,n),n?1:0}},fade:{defaultAnimOptions:{duration:300,timing:"linear"},init:function(e,n){var a=e.curStats,i=e.aplStats;a.show_animId&&F.remove(a.show_animId),a.show_animId=F.add((function(e){return e}),(function(n,a){a?t.fade.stop(e,!0):(e.svg.style.opacity=n+"",A&&(fe(e,e.svg),ye(e)))}),i.show_animOptions.duration,1,i.show_animOptions.timing,null,!1),t.fade.start(e,n)},start:function(e,t){var n,a=e.curStats;a.show_inAnim&&(n=F.stop(a.show_animId)),be(e,1),a.show_inAnim=!0,F.start(a.show_animId,!e.aplStats.show_on,null!=t?t:n)},stop:function(e,t,n){var a,i=e.curStats;return n=null!=n?n:e.aplStats.show_on,a=i.show_inAnim?F.stop(i.show_animId):n?1:0,i.show_inAnim=!1,t&&(e.svg.style.opacity=n?"":"0",be(e,n)),a}},draw:{defaultAnimOptions:{duration:500,timing:[.58,0,.42,1]},init:function(e,n){var a=e.curStats,i=e.aplStats,o=e.pathList.baseVal,l=ue(o),r=l.segsLen,s=l.lenAll;a.show_animId&&F.remove(a.show_animId),a.show_animId=F.add((function(e){var t,n,a,i,l=-1;if(0===e)n=[[o[0][0],o[0][0]]];else if(1===e)n=o;else{for(t=s*e,n=[];t>=r[++l];)n.push(o[l]),t-=r[l];t&&(2===(a=o[l]).length?n.push([a[0],ae(a[0],a[1],t/r[l])]):(i=oe(a[0],a[1],a[2],a[3],re(a[0],a[1],a[2],a[3],t)),n.push([a[0],i.fromP1,i.fromP2,i])))}return n}),(function(n,a){a?t.draw.stop(e,!0):(e.pathList.animVal=n,ke(e,{path:!0}))}),i.show_animOptions.duration,1,i.show_animOptions.timing,null,!1),t.draw.start(e,n)},start:function(e,n){var a,i=e.curStats;i.show_inAnim&&(a=F.stop(i.show_animId)),be(e,1),i.show_inAnim=!0,pe(e,"apl_position",t.draw.update),F.start(i.show_animId,!e.aplStats.show_on,null!=n?n:a)},stop:function(e,t,n){var a,i=e.curStats;return n=null!=n?n:e.aplStats.show_on,a=i.show_inAnim?F.stop(i.show_animId):n?1:0,i.show_inAnim=!1,t&&(e.pathList.animVal=n?null:[[e.pathList.baseVal[0][0],e.pathList.baseVal[0][0]]],ke(e,{path:!0}),be(e,n)),a},update:function(e){ce(e,"apl_position",t.draw.update),e.curStats.show_inAnim?t.draw.init(e,t.draw.stop(e)):e.aplStats.show_animOptions={}}}},function(){function t(e){return function(t){var n={};n[e]=t,this.setOptions(n)}}[["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(e){var n=e[0],a=e[1],i=e[2];Object.defineProperty(Le.prototype,n,{get:function(){var e=null!=i?U[this._id].options[a][i]:a?U[this._id].options[a]:U[this._id].options[n];return null==e?x:Q(e)},set:t(n),enumerable:!0})})),[["path",y],["startSocket",f,"socketSE",0],["endSocket",f,"socketSE",1],["startPlug",_,"plugSE",0],["endPlug",_,"plugSE",1]].forEach((function(e){var n=e[0],a=e[1],i=e[2],o=e[3];Object.defineProperty(Le.prototype,n,{get:function(){var e,t=null!=o?U[this._id].options[i][o]:i?U[this._id].options[i]:U[this._id].options[n];return t?Object.keys(a).some((function(n){return a[n]===t&&(e=n,!0)}))?e:new Error("It's broken"):x},set:t(n),enumerable:!0})})),Object.keys(e).forEach((function(n){var a=e[n];Object.defineProperty(Le.prototype,n,{get:function(){var e,t,i=U[this._id].options[n];return B(i)?(e=i,t=a.optionsConf.reduce((function(t,n){var a,i=n[0],o=n[1],l=n[2],r=n[3],s=n[4],u=null!=s?e[r][s]:r?e[r]:e[o];return t[o]="id"===i?u?Object.keys(l).some((function(e){return l[e]===u&&(a=e,!0)}))?a:new Error("It's broken"):x:null==u?x:Q(u),t}),{}),a.anim&&(t.animation=Q(e.animation)),t):i},set:t(n),enumerable:!0})})),["startLabel","endLabel","middleLabel"].forEach((function(e,n){Object.defineProperty(Le.prototype,e,{get:function(){var e=U[this._id],t=e.options;return t.labelSEM[n]&&!e.optionIsAttach.labelSEM[n]?Y[t.labelSEM[n]._id].text:t.labelSEM[n]||""},set:t(e),enumerable:!0})}))}(),Le.prototype.setOptions=function(e){return Ce(U[this._id],e),this},Le.prototype.position=function(){return ke(U[this._id],{position:!0}),this},Le.prototype.remove=function(){var t=U[this._id],n=t.curStats;Object.keys(e).forEach((function(e){var t=e+"_animId";n[t]&&F.remove(n[t])})),n.show_animId&&F.remove(n.show_animId),t.attachments.slice().forEach((function(e){Ie(t,e)})),t.baseWindow&&t.svg&&t.baseWindow.document.body.removeChild(t.svg),delete U[this._id]},Le.prototype.show=function(e,t){return Oe(U[this._id],!0,e,t),this},Le.prototype.hide=function(e,t){return Oe(U[this._id],!1,e,t),this},o=function(e){e&&Y[e._id]&&(e.boundTargets.slice().forEach((function(t){Ie(t.props,e,!0)})),e.conf.remove&&e.conf.remove(e),delete Y[e._id])},a=function(){function e(e,t){var n,a={conf:e,curStats:{},aplStats:{},boundTargets:[]},i={};e.argOptions.every((function(e){return!(!t.length||("string"==typeof e.type?typeof t[0]!==e.type:"function"!=typeof e.type||!e.type(t[0]))||(i[e.optionName]=t.shift(),0))})),n=t.length&&B(t[0])?Q(t[0]):{},Object.keys(i).forEach((function(e){n[e]=i[e]})),e.stats&&(ge(a.curStats,e.stats),ge(a.aplStats,e.stats)),Object.defineProperty(this,"_id",{value:++X}),Object.defineProperty(this,"isRemoved",{get:function(){return!Y[this._id]}}),a._id=this._id,e.init&&!e.init(a,n)||(Y[this._id]=a)}return e.prototype.remove=function(){var e=this,t=Y[e._id];t&&(t.boundTargets.slice().forEach((function(e){t.conf.removeOption(t,e)})),de((function(){var t=Y[e._id];t&&(console.error("LeaderLineAttachment was not removed by removeOption"),o(t))})))},e}(),window.LeaderLineAttachment=a,i=function(e,t){return e instanceof a&&(!(e.isRemoved||t&&Y[e._id].conf.type!==t)||null)},n={pointAnchor:{type:"anchor",argOptions:[{optionName:"element",type:J}],init:function(e,t){return e.element=n.pointAnchor.checkElement(t.element),e.x=n.pointAnchor.parsePercent(t.x,!0)||[.5,!0],e.y=n.pointAnchor.parsePercent(t.y,!0)||[.5,!0],!0},removeOption:function(e,t){var i=t.props,o={},l=e.element,r=i.options.anchorSE["start"===t.optionName?1:0];l===r&&(l=r===document.body?new a(n.pointAnchor,[l]):document.body),o[t.optionName]=l,Ce(i,o)},getBBoxNest:function(e,t){var n=te(e.element,t.baseWindow),a=n.width,i=n.height;return n.width=n.height=0,n.left=n.right=n.left+e.x[0]*(e.x[1]?a:1),n.top=n.bottom=n.top+e.y[0]*(e.y[1]?i:1),n},parsePercent:function(e,t){var n,a,i=!1;return R(e)?a=e:"string"==typeof e&&(n=I.exec(e))&&n[2]&&(i=0!=(a=parseFloat(n[1])/100)),null!=a&&(t||0<=a)?[a,i]:null},checkElement:function(e){if(null==e)e=document.body;else if(!J(e))throw new Error("`element` must be Element");return e}},areaAnchor:{type:"anchor",argOptions:[{optionName:"element",type:J},{optionName:"shape",type:"string"}],stats:{color:{},strokeWidth:{},elementWidth:{},elementHeight:{},elementLeft:{},elementTop:{},pathListRel:{},bBoxRel:{},pathData:{},viewBoxBBox:{hasProps:!0},dashLen:{},dashGap:{}},init:function(e,t){var a,i,o,l=[];return e.element=n.pointAnchor.checkElement(t.element),"string"==typeof t.color&&(e.color=t.color.trim()),"string"==typeof t.fillColor&&(e.fill=t.fillColor.trim()),R(t.size)&&0<=t.size&&(e.size=t.size),t.dash&&(e.dash=!0,R(t.dash.len)&&0a.right&&(a.right=n),oa.bottom&&(a.bottom=o)):a={left:n,right:n,top:o,bottom:o},i?T.pathListRel.push([i,{x:n,y:o}]):T.pathListRel=[],i={x:n,y:o}})),T.pathListRel.push([]),o=T.strokeWidth/2,l=[{x:a.left-o,y:a.top-o},{x:a.right+o,y:a.bottom+o}],T.bBoxRel={left:l[0].x,top:l[0].y,right:l[1].x,bottom:l[1].y,width:l[1].x-l[0].x,height:l[1].y-l[0].y}}F.pathListRel=F.bBoxRel=!0}return(F.pathListRel||F.elementLeft||F.elementTop)&&(T.pathData=se(T.pathListRel,(function(e){e.x+=t.left,e.y+=t.top}))),_e(e,B,"strokeWidth",n=T.strokeWidth)&&(e.path.style.strokeWidth=n+"px"),he(n=T.pathData,B.pathData)&&(e.path.setPathData(n),B.pathData=n,F.pathData=!0),e.dash&&(!F.pathData&&(!F.strokeWidth||e.dashLen&&e.dashGap)||(T.dashLen=e.dashLen||2*T.strokeWidth,T.dashGap=e.dashGap||T.strokeWidth),F.dash=_e(e,B,"dashLen",T.dashLen)||F.dash,F.dash=_e(e,B,"dashGap",T.dashGap)||F.dash,F.dash&&(e.path.style.strokeDasharray=B.dashLen+","+B.dashGap)),A=T.viewBoxBBox,V=B.viewBoxBBox,P=e.svg.viewBox.baseVal,N=e.svg.style,A.x=T.bBoxRel.left+t.left,A.y=T.bBoxRel.top+t.top,A.width=T.bBoxRel.width,A.height=T.bBoxRel.height,["x","y","width","height"].forEach((function(t){(n=A[t])!==V[t]&&(P[t]=V[t]=n,N[b[t]]=n+("x"===t||"y"===t?e.bodyOffset[t]:0)+"px")})),F.strokeWidth||F.pathListRel||F.bBoxRel}},mouseHoverAnchor:{type:"anchor",argOptions:[{optionName:"element",type:J},{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(e,a){var i,o,l,r,s,u,h,p,c,d,f,y=n.mouseHoverAnchor,S={};if(e.element=n.pointAnchor.checkElement(a.element),!((d=(p=e.element).ownerDocument)&&(c=d.defaultView)&&c.HTMLElement&&p instanceof c.HTMLElement))throw new Error("`element` must be HTML element");return y.style.backgroundSize=y.backgroundSize.width+"px "+y.backgroundSize.height+"px",["style","hoverStyle"].forEach((function(t){var n=y[t];e[t]=Object.keys(n).reduce((function(e,t){return e[t]=n[t],e}),{})})),"inline"===(i=e.element.ownerDocument.defaultView.getComputedStyle(e.element,"")).display?e.style.display="inline-block":"none"===i.display&&(e.style.display="block"),n.mouseHoverAnchor.dirKeys.forEach((function(t){var n=t[0],a="padding"+t[1];parseFloat(i[a])e.x2&&(e.x2=a.x2),a.y2>e.y2&&(e.y2=a.y2)},newText:function(e,t,n,a,i){var o,l,r,u,h,p;return(o=t.createElementNS(C,"text")).textContent=e,[o.x,o.y].forEach((function(e){var t=n.createSVGLength();t.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX,0),e.baseVal.initialize(t)})),"boolean"!=typeof s&&(s="paintOrder"in o.style),i&&!s?(r=t.createElementNS(C,"defs"),o.id=a,r.appendChild(o),(h=(l=t.createElementNS(C,"g")).appendChild(t.createElementNS(C,"use"))).href.baseVal="#"+a,(u=l.appendChild(t.createElementNS(C,"use"))).href.baseVal="#"+a,(p=h.style).strokeLinejoin="round",{elmPosition:o,styleText:o.style,styleFill:u.style,styleStroke:p,styleShow:l.style,elmsAppend:[r,l]}):(p=o.style,i&&(p.strokeLinejoin="round",p.paintOrder="stroke"),{elmPosition:o,styleText:p,styleFill:p,styleStroke:i?p:null,styleShow:p,elmsAppend:[o]})},getMidPoint:function(e,t){var n,a,i,o=ue(e),l=o.segsLen,r=o.lenAll,s=-1;if((n=r/2+(t||0))<=0)return 2===(a=e[0]).length?ae(a[0],a[1],0):oe(a[0],a[1],a[2],a[3],0);if(r<=n)return 2===(a=e[e.length-1]).length?ae(a[0],a[1],1):oe(a[0],a[1],a[2],a[3],1);for(i=[];n>l[++s];)i.push(e[s]),n-=l[s];return 2===(a=e[s]).length?ae(a[0],a[1],n/l[s]):oe(a[0],a[1],a[2],a[3],re(a[0],a[1],a[2],a[3],n))},initSvg:function(e,t){var a,i,o=n.captionLabel.newText(e.text,t.baseWindow.document,t.svg,d+"-captionLabel-"+e._id,e.outlineColor);["elmPosition","styleFill","styleShow","elmsAppend"].forEach((function(t){e[t]=o[t]})),e.isShown=!1,e.styleShow.visibility="hidden",n.captionLabel.textStyleProps.forEach((function(t){null!=e[t]&&(o.styleText[t]=e[t])})),o.elmsAppend.forEach((function(e){t.svg.appendChild(e)})),a=o.elmPosition.getBBox(),e.width=a.width,e.height=a.height,e.outlineColor&&(i=10<(i=a.height/9)?10:i<2?2:i,o.styleStroke.strokeWidth=i+"px",o.styleStroke.stroke=e.outlineColor),e.strokeWidth=i||0,ge(e.aplStats,n.captionLabel.stats),e.updateColor(t),e.refSocketXY?e.updateSocketXY(t):e.updatePath(t),N&&ke(t,{}),e.updateShow(t)},bind:function(e,t){var a=t.props;return e.color||pe(a,"cur_line_color",e.updateColor),(e.refSocketXY="startLabel"===t.optionName||"endLabel"===t.optionName)?(e.socketIndex="startLabel"===t.optionName?0:1,pe(a,"apl_position",e.updateSocketXY),e.offset||(pe(a,"cur_attach_plugSideLenSE",e.updateSocketXY),pe(a,"cur_line_strokeWidth",e.updateSocketXY))):pe(a,"apl_path",e.updatePath),pe(a,"svgShow",e.updateShow),N&&pe(a,"new_edge4viewBox",e.adjustEdge),n.captionLabel.initSvg(e,a),!0},unbind:function(e,t){var a=t.props;e.elmsAppend&&(e.elmsAppend.forEach((function(e){a.svg.removeChild(e)})),e.elmPosition=e.styleFill=e.styleShow=e.elmsAppend=null),ge(e.curStats,n.captionLabel.stats),ge(e.aplStats,n.captionLabel.stats),e.color||ce(a,"cur_line_color",e.updateColor),e.refSocketXY?(ce(a,"apl_position",e.updateSocketXY),e.offset||(ce(a,"cur_attach_plugSideLenSE",e.updateSocketXY),ce(a,"cur_line_strokeWidth",e.updateSocketXY))):ce(a,"apl_path",e.updatePath),ce(a,"svgShow",e.updateShow),N&&(ce(a,"new_edge4viewBox",e.adjustEdge),ke(a,{}))},removeOption:function(e,t){var n=t.props,a={};a[t.optionName]="",Ce(n,a)},remove:function(e){e.boundTargets.length&&(console.error("LeaderLineAttachment was not unbound by remove"),e.boundTargets.forEach((function(t){n.captionLabel.unbind(e,t)})))}},pathLabel:{type:"label",argOptions:[{optionName:"text",type:"string"}],stats:{color:{},startOffset:{},pathData:{}},init:function(e,t){return"string"==typeof t.text&&(e.text=t.text.trim()),!!e.text&&("string"==typeof t.color&&(e.color=t.color.trim()),e.outlineColor="string"==typeof t.outlineColor?t.outlineColor.trim():"#fff",R(t.lineOffset)&&(e.lineOffset=t.lineOffset),n.captionLabel.textStyleProps.forEach((function(n){null!=t[n]&&(e[n]=t[n])})),e.updateColor=function(t){n.captionLabel.updateColor(e,t)},e.updatePath=function(t){var a,i=e.curStats,o=e.aplStats,l=t.curStats,r=t.pathList.animVal||t.pathList.baseVal;r&&(i.pathData=a=n.pathLabel.getOffsetPathData(r,l.line_strokeWidth/2+e.strokeWidth/2+e.height/4,1.25*e.height),he(a,o.pathData)&&(e.elmPath.setPathData(a),o.pathData=a,e.bBox=e.elmPosition.getBBox(),e.updateStartOffset(t)))},e.updateStartOffset=function(t){var n,a,i,o,l=e.curStats,r=e.aplStats,s=t.curStats;l.pathData&&(2!==e.semIndex||e.lineOffset)&&(n=l.pathData.reduce((function(e,t){var n,a=t.values;switch(t.type){case"M":o={x:a[0],y:a[1]};break;case"L":n={x:a[0],y:a[1]},o&&(e+=ne(o,n)),o=n;break;case"C":n={x:a[4],y:a[5]},o&&(e+=le(o,{x:a[0],y:a[1]},{x:a[2],y:a[3]},n)),o=n}return e}),0),i=0===e.semIndex?0:1===e.semIndex?n:n/2,2!==e.semIndex&&(a=Math.max(s.attach_plugBackLenSE[e.semIndex]||0,s.line_strokeWidth/2)+e.strokeWidth/2+e.height/4,i=(i+=0===e.semIndex?a:-a)<0?0:nt?((i=a.points)[1]=ie(i[0],i[1],-t),a.len=ne(i[0],i[1])):(a.points=null,a.len=0),e.len>t+n?((i=e.points)[0]=ie(i[1],i[0],-(t+n)),e.len=ne(i[0],i[1])):(e.points=null,e.len=0)),a=e):a=null})),o.reduce((function(e,t){var n=t.points;return n&&(i&&l(n[0],i)||e.push({type:"M",values:[n[0].x,n[0].y]}),"line"===t.type?e.push({type:"L",values:[n[1].x,n[1].y]}):(n.shift(),n.forEach((function(t){e.push({type:"L",values:[t.x,t.y]})}))),i=n[n.length-1]),e}),[])},newText:function(e,t,n,a){var i,o,l,r,u,h,p,c,d,f;return(r=(l=t.createElementNS(C,"defs")).appendChild(t.createElementNS(C,"path"))).id=i=n+"-path",(h=(u=t.createElementNS(C,"text")).appendChild(t.createElementNS(C,"textPath"))).href.baseVal="#"+i,h.startOffset.baseVal.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX,0),h.textContent=e,"boolean"!=typeof s&&(s="paintOrder"in u.style),a&&!s?(u.id=o=n+"-text",l.appendChild(u),(d=(p=t.createElementNS(C,"g")).appendChild(t.createElementNS(C,"use"))).href.baseVal="#"+o,(c=p.appendChild(t.createElementNS(C,"use"))).href.baseVal="#"+o,(f=d.style).strokeLinejoin="round",{elmPosition:u,elmPath:r,elmOffset:h,styleText:u.style,styleFill:c.style,styleStroke:f,styleShow:p.style,elmsAppend:[l,p]}):(f=u.style,a&&(f.strokeLinejoin="round",f.paintOrder="stroke"),{elmPosition:u,elmPath:r,elmOffset:h,styleText:f,styleFill:f,styleStroke:a?f:null,styleShow:f,elmsAppend:[l,u]})},initSvg:function(e,t){var a,i,o=n.pathLabel.newText(e.text,t.baseWindow.document,d+"-pathLabel-"+e._id,e.outlineColor);["elmPosition","elmPath","elmOffset","styleFill","styleShow","elmsAppend"].forEach((function(t){e[t]=o[t]})),e.isShown=!1,e.styleShow.visibility="hidden",n.captionLabel.textStyleProps.forEach((function(t){null!=e[t]&&(o.styleText[t]=e[t])})),o.elmsAppend.forEach((function(e){t.svg.appendChild(e)})),o.elmPath.setPathData([{type:"M",values:[0,100]},{type:"h",values:[100]}]),a=o.elmPosition.getBBox(),o.styleText.textAnchor=["start","end","middle"][e.semIndex],2!==e.semIndex||e.lineOffset||o.elmOffset.startOffset.baseVal.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PERCENTAGE,50),e.height=a.height,e.outlineColor&&(i=10<(i=a.height/9)?10:i<2?2:i,o.styleStroke.strokeWidth=i+"px",o.styleStroke.stroke=e.outlineColor),e.strokeWidth=i||0,ge(e.aplStats,n.pathLabel.stats),e.updateColor(t),e.updatePath(t),e.updateStartOffset(t),N&&ke(t,{}),e.updateShow(t)},bind:function(e,t){var a=t.props;return e.color||pe(a,"cur_line_color",e.updateColor),pe(a,"cur_line_strokeWidth",e.updatePath),pe(a,"apl_path",e.updatePath),e.semIndex="startLabel"===t.optionName?0:"endLabel"===t.optionName?1:2,(2!==e.semIndex||e.lineOffset)&&pe(a,"cur_attach_plugBackLenSE",e.updateStartOffset),pe(a,"svgShow",e.updateShow),N&&pe(a,"new_edge4viewBox",e.adjustEdge),n.pathLabel.initSvg(e,a),!0},unbind:function(e,t){var a=t.props;e.elmsAppend&&(e.elmsAppend.forEach((function(e){a.svg.removeChild(e)})),e.elmPosition=e.elmPath=e.elmOffset=e.styleFill=e.styleShow=e.elmsAppend=null),ge(e.curStats,n.pathLabel.stats),ge(e.aplStats,n.pathLabel.stats),e.color||ce(a,"cur_line_color",e.updateColor),ce(a,"cur_line_strokeWidth",e.updatePath),ce(a,"apl_path",e.updatePath),(2!==e.semIndex||e.lineOffset)&&ce(a,"cur_attach_plugBackLenSE",e.updateStartOffset),ce(a,"svgShow",e.updateShow),N&&(ce(a,"new_edge4viewBox",e.adjustEdge),ke(a,{}))},removeOption:function(e,t){var n=t.props,a={};a[t.optionName]="",Ce(n,a)},remove:function(e){e.boundTargets.length&&(console.error("LeaderLineAttachment was not unbound by remove"),e.boundTargets.forEach((function(t){n.pathLabel.unbind(e,t)})))}}},Object.keys(n).forEach((function(e){Le[e]=function(){return new a(n[e],Array.prototype.slice.call(arguments))}})),Le.positionByWindowResize=!0,window.addEventListener("resize",G.add((function(){Le.positionByWindowResize&&Object.keys(U).forEach((function(e){ke(U[e],{position:!0})}))})),!1),Le}();e("L",{setLine:function(e,n,a={}){return new t(e,n,a)},obj:t})}}}));