@mindfusion/diagramming-controls 1.2.0 → 1.2.2-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
var mf_dgc_0x1875=['undefined','function','amd','MindFusion','Diagramming','Controls','Common','Collections','Drawing','value','resolve','then','next','throw','Cannot\x20call\x20a\x20class\x20as\x20a\x20function','length','enumerable','configurable','prototype','create','getPrototypeOf','setPrototypeOf','__proto__','construct','sham','call','push','apply','bind','this\x20hasn\x27t\x20been\x20initialised\x20-\x20super()\x20hasn\x27t\x20been\x20called','object','constructor','get','iterator','@@iterator','from','string','toString','Object','name','Arguments','test','Invalid\x20attempt\x20to\x20spread\x20non-iterable\x20instance.\x0aIn\x20order\x20to\x20be\x20iterable,\x20non-array\x20objects\x20must\x20have\x20a\x20[Symbol.iterator]()\x20method.','number','done','return','pageChanging','pageChanged','pageAdded','pageRemoving','shapeChanged','sender','page','_page','oldPage','_oldPage','CancelEventArgs','DiagramDocument','DiagramPage','diagram1','addPage','pages','tabStrip','TabStrip','req','visible','showAddButton','setMaxSize','pageRenameStartHandler','pageRenameEndHandler','_itemEditStart','addEventListener','_itemEditEnd','tabsSize','_showTabCloseButtons','_showNavigationButtons','_allowRenamePages','documentChangedDelegate','onDocumentChanged','_lastIndex','_document','propFunctions','CompatConfig','generatePropFunctions','initialize','_tabMouseDownHandler','addButtonClick','navButtonClick','_tabDropHandler','onTabDrop','shadowParent','element','parentNode','resetTabs','tabAlignment','insertBefore','draw','appendChild','items','last','forEach','dispose','attachDiagramEvents','document','dataLoadedDelegate','Events','queryViewDelegate','removeEventListener','dataLoaded','queryView','toJson','toJsonObject','saveViewProps','Control','showNavigationButtons','showTabCloseButtons','allowReorder','allowRenamePages','theme','selectedIndex','fromJson','fromJsonObject','updateScale','raiseEvent','controlLoaded','loadViewProps','prepareScriptEvent','pageChangingScript','pageChangedScript','pageAdding','pageAddingScript','pageRemovingScript','pageRemovedScript','fromId','saveToXml','open','POST','Content-Type','text/xml','toXmlDocument','diagram','View','saveView','send','serializeToString','writeString','Theme','loadFromXml','onload','responseXML','fromXmlDocument','selectSingleNode','loadView','onerror','log','Error\x20while\x20getting\x20XML.','GET','responseType','readString','clearHandlers','DomUtils','width','height','parentSize','style','display','auto\x20','scrollbarSize','Top','gridTemplateRows','px\x20','gridRow','min','getScrollbarSize','bounds','scale','_element','inline-block','gridColumn','1\x20/\x20-1','div','className','mf_diagram_scrollerH','gridColumnEnd','overflowX','hidden','backgroundColor','#eee','createElement','mf_diagram_scrollerV','gridRowStart','overflowY','scrollerV','scrollDelegate','resizeTimeoutId','onVirtualResize','resetTabAlignment','None','px\x20auto\x20','querySelector','.mf_diagram_scrollerH','.mf_diagram_scrollerV','updateCanvasSize','_zoomFactor','GraphicsUnit','getPixel','canvas','scrollerH','firstChild','gridTemplateColumns','getBounds','_mf_originalHeight','repaint','sizeChanged','Empty','clear','ToolStripItem','Label','title','titleColor','imageSrc','iconUrl','header','removePage','onPageValidateAction','pageRemoved','item','enabled','dataMfc','mfc-add','first','mfc-prev','mfc-last','selectedPage','getItemByHeader','rawEventArgs','mfc-tabbutton-close','inplaceEditBehavior','startEdit','eventHandled','indexOfItem','_items','splice','_selectedPage','setDiagram','selectItem','where','documentChanged','onDataLoaded','diagramChanged','Unit','Pixel','_tabAlignment','showCloseButtons','scrollMode','TabsScrollMode','NavButtons','allowDrag','_theme','querySelectorAll','link','removeChild','themesPath','.css','rel','stylesheet','_themesPath','allowInplaceEdit','count','List','resetButtons','index','cancel','onPageRenameStart','inplaceController','inplaceHandler','endEdit','pointerdown','onPageRenameEnd','text','_pageChanging','EventDispatcher','_pageChanged','_pageAdding','_pageAdded','_pageRemoving','_pageRemoved','connectedCallback','attachShadow','replace','listviewcss','tabstripcss','adoptedStyleSheets','cssText','getAttribute','removeAttribute','createControl','Rect','Size','offset','save','fillStyle','fillRect','strokeRect','restore','firstHandle','strokeColor','strokeThickness','strokeDashStyle','loadState','isDummy','Point','clone','startPoint','endPoint','center','DrawingUtils','distance','distToLine','addVector','Matrix','translate','transformPoint','toShape','exportElement','Line','moveTo','lineTo','#000000','strokeStyle','color','lineWidth','_mf_scale','DashStyle','beginPath','stroke','drawControlPoint','hitTestHandle','updateFromHandle','concat','ShapeElement','saveState','fromCenter','fromCenterAndSize','defaultSize','default','points','fromPoints','lastHandle','distToBezier','orientate','sqrt','addToContext','dashStyle','Shape','bezierCurveTo','cos','sin','controlPoint','midPoint','Geometry','angleBetween','degreeToRadian','arc','drawControlPoints','exportShapeElement','abs','cornerRadius','topLeft','bottomRight','quadraticCurveTo','roundRect','fromBounds','type','getElements','RectangleComposite','right','bottom','DiamondComposite','EllipseComposite','ChangeCommand','hitElement','elementIndex','outline','registerElement','states','set','execute','newStates','AddDecorationCommand','shapeBuilder','decorations','dropLocation','filledDecorations','AddAnchorCommand','setCenter','anchorPoints','ReplaceOutlineCommand','filledDecoration','oldOutline','clearOutline','newOutline','ReplaceElementCommand','InsertElementCommand','nextState','RemoveElementCommand','indexOf','removeElements','target','removeFromOutline','prevState','drawHighlight','#ff0000','ellipse','#0000ff','undo','AddFilledDecorationCommand','newDecoration','invalidate','redo','selectedElement','fillColor','_bounds','Path','path','fill','minDistToRect','ShapeDecoration','size','anchorType','Out','BothWays','allowIncoming','markStyle','MarkStyle','shape','parseShape','black','#fff','createBuilders','outlineElements','decorationBuilder','shapeDecorationElements','shapeDecorationBuilder','elements','brush','anchorPattern','fromPoint','lastPoint','createBuilder','command','func','args','bezier','exportShape','decoration','exportElements','find','decorationPen','shapeDecorationPen','shapeDecorationBrush','AnchorPattern','AnchorPoint','exportShapeElements','decorationElements','textArea','join','allElements','MAX_VALUE','hitTestDropTarget','nearestElement','hitTestOutlineTarget','handlesSize','AnchorController','FilledDecorationMoveController','FilledDecorationResizeController','OutlineController','ElementController','adjacent','adjacentHandle','changeCommand','currentScale','onMouseDown','previousPosition','initialDistance','onMouseMove','scaleCentered','handle','onMouseUp','shapeSize','selectedHandlesBrush','#ffffff','pointedHandlesBrush','shadowsStyle','showGrid','backBrush','#eeeeee','gridSizeX','gridSizeY','gridStyle','GridStyle','Lines','gridColor','context','pointedElement','dropCommand','_selectedElement','_shapeBuilder','removeElement','addElement','raiseSizeChanged','dirty','_dirty','setDirty','Diagram','behavior','Behavior','DoNothing','currentCommand','zoomFactor','mouseInputDispatcher','onPointerDown','onPointerMove','onPointerUp','onKeyUp','floor','measureUnit','viewport','disabled','doRepaint','recalcVirtualScroll','clientToDoc','onElementDrag','saveCommand','designer','EventArgs','controller','hitTest','mark','wrap','prev','alignToGrid','alignPointToGrid','newWithOffset','updateDragIndicator','end','stop','hasMoved','platform','toLowerCase','mac','undoHistory','fromCommand','importShape','copyToClipboard','pasteFromClipboard','mf_clipboard','DiagramView','Decorations','primitivesLabel','Elements','anchorPointsLabel','Anchor\x20Points','labelBrush','#495f77','drawShadow','Style','textColor','fontSize','#000','ShapeNode','templatesLabel','addNode','tag','Shapes','Rectangle','Rhombus','Ellipse','draggedNode','getCursorPos','cursor','move','onMouseLeftButtonUp','targetAsDiagramView','dragIndicator','abrupt','onElementDrop','removeDragIndicator','mf_drag','body','_draggedNode','removeDragShape','composed','composedPath','nodeType','findControl','ControlUtils','isInstanceOfType','NodeListView','grid','position','relative','overflow','_view','view','auto','120','Window','allowResize','allowMaximize','allowPin','Properties','host','attach','autoSize','propertyPanel','palette','getContent','generatePropertyPanelTemplate','flex','flexDirection','alignItems','stretch','padding','4px','rowGap','innerText','Stroke\x20Color','label','l_strokethickness','Stroke\x20Thickness','p_strokethickness','onchange','setProp','l_strokedashstyle','select','p_strokedashstyle','entries','Fill\x20Color','input','p_fillcolor','l_anchorstyle','option','l_anchorsize','p_anchorsize','max','outerHTML','rebindPropertyPanel','p_strokecolor','none','block','l_fillcolor','p_anchorstyle','strokecolor','strokethickness','strokedashstyle','anchorstyle','anchorsize','showShapeProperties','_showShapeProperties','_shapeChanged','customElements','WebComponents','register','mindfusion-tabbeddiagramview','define','PageEventArgs','ShapeBuilder','ShapeDesigner','TabAlignment','TabbedDiagramView','__esModule'];var mf_dgc_0x22bf=function(_0x38e67c,_0x4a7e9f){_0x38e67c=_0x38e67c-0x0;var _0x2590ed=mf_dgc_0x1875[_0x38e67c];return _0x2590ed;};(function(_0x146bf7,_0x4153d4){typeof exports==='object'&&typeof module!==mf_dgc_0x22bf('0x0')?_0x4153d4(exports,require('@mindfusion/controls'),require('@mindfusion/diagramming'),require('@mindfusion/common'),require('@mindfusion/common-ui'),require('@mindfusion/common-collections'),require('@mindfusion/drawing')):typeof define===mf_dgc_0x22bf('0x1')&&define[mf_dgc_0x22bf('0x2')]?define(['exports','@mindfusion/controls','@mindfusion/diagramming','@mindfusion/common','@mindfusion/common-ui','@mindfusion/common-collections','@mindfusion/drawing'],_0x4153d4):(_0x146bf7=typeof globalThis!==mf_dgc_0x22bf('0x0')?globalThis:_0x146bf7||self,_0x4153d4((_0x146bf7['MindFusion']=_0x146bf7[mf_dgc_0x22bf('0x3')]||{},_0x146bf7['MindFusion'][mf_dgc_0x22bf('0x4')]=_0x146bf7[mf_dgc_0x22bf('0x3')][mf_dgc_0x22bf('0x4')]||{},_0x146bf7['MindFusion']['Diagramming'][mf_dgc_0x22bf('0x5')]={}),_0x146bf7[mf_dgc_0x22bf('0x3')][mf_dgc_0x22bf('0x5')],_0x146bf7[mf_dgc_0x22bf('0x3')]['Diagramming'],_0x146bf7[mf_dgc_0x22bf('0x3')]['Common'],_0x146bf7[mf_dgc_0x22bf('0x3')][mf_dgc_0x22bf('0x6')]['UI'],_0x146bf7['MindFusion'][mf_dgc_0x22bf('0x6')][mf_dgc_0x22bf('0x7')],_0x146bf7[mf_dgc_0x22bf('0x3')][mf_dgc_0x22bf('0x8')]));}(this,function(_0x1d6fc6,_0x4e8a1d,_0x5d0dfe,_0x4bfe7a,_0x4b2778,_0x4d95ec,_0x37683d){'use strict';var _0x3518d5={'None':0x0,'Top':0x1,'Bottom':0x3};var _0x528143={'In':0x0,'Out':0x1,'BothWays':0x2};function _0x3a7c25(_0x358476,_0x10f8dd,_0x157267,_0x21b56e,_0x2d2c68,_0x45eea2,_0x343849){try{var _0x26c909=_0x358476[_0x45eea2](_0x343849);var _0x5f38b9=_0x26c909[mf_dgc_0x22bf('0x9')];}catch(_0x205f31){_0x157267(_0x205f31);return;}if(_0x26c909['done']){_0x10f8dd(_0x5f38b9);}else{Promise[mf_dgc_0x22bf('0xa')](_0x5f38b9)[mf_dgc_0x22bf('0xb')](_0x21b56e,_0x2d2c68);}}function _0x170bde(_0x5c4ab8){return function(){var _0x248fe5=this,_0xbd75c5=arguments;return new Promise(function(_0x2b5983,_0x501416){var _0x429c55=_0x5c4ab8['apply'](_0x248fe5,_0xbd75c5);function _0x3fad79(_0x528c5b){_0x3a7c25(_0x429c55,_0x2b5983,_0x501416,_0x3fad79,_0x41a60f,mf_dgc_0x22bf('0xc'),_0x528c5b);}function _0x41a60f(_0x19e2b7){_0x3a7c25(_0x429c55,_0x2b5983,_0x501416,_0x3fad79,_0x41a60f,mf_dgc_0x22bf('0xd'),_0x19e2b7);}_0x3fad79(undefined);});};}function _0x7db1ca(_0x79f2ff,_0x2e7adb){if(!(_0x79f2ff instanceof _0x2e7adb)){throw new TypeError(mf_dgc_0x22bf('0xe'));}}function _0xac0ebb(_0x212c19,_0x504e7b){for(var _0x586546=0x0;_0x586546<_0x504e7b[mf_dgc_0x22bf('0xf')];_0x586546++){var _0x410525=_0x504e7b[_0x586546];_0x410525['enumerable']=_0x410525[mf_dgc_0x22bf('0x10')]||![];_0x410525[mf_dgc_0x22bf('0x11')]=!![];if(mf_dgc_0x22bf('0x9')in _0x410525)_0x410525['writable']=!![];Object['defineProperty'](_0x212c19,_0x410525['key'],_0x410525);}}function _0x4bee59(_0x572684,_0x339c9d,_0xfcce33){if(_0x339c9d)_0xac0ebb(_0x572684[mf_dgc_0x22bf('0x12')],_0x339c9d);if(_0xfcce33)_0xac0ebb(_0x572684,_0xfcce33);return _0x572684;}function _0x3ff91a(_0x3b7cd1,_0x39eb06){if(typeof _0x39eb06!==mf_dgc_0x22bf('0x1')&&_0x39eb06!==null){throw new TypeError('Super\x20expression\x20must\x20either\x20be\x20null\x20or\x20a\x20function');}_0x3b7cd1[mf_dgc_0x22bf('0x12')]=Object[mf_dgc_0x22bf('0x13')](_0x39eb06&&_0x39eb06[mf_dgc_0x22bf('0x12')],{'constructor':{'value':_0x3b7cd1,'writable':!![],'configurable':!![]}});if(_0x39eb06)_0x57add9(_0x3b7cd1,_0x39eb06);}function _0x12582c(_0x197d15){_0x12582c=Object['setPrototypeOf']?Object['getPrototypeOf']:function _0x12582c(_0x197d15){return _0x197d15['__proto__']||Object[mf_dgc_0x22bf('0x14')](_0x197d15);};return _0x12582c(_0x197d15);}function _0x57add9(_0x8bcd9a,_0x1b5d11){_0x57add9=Object[mf_dgc_0x22bf('0x15')]||function _0x57add9(_0x8bcd9a,_0x1b5d11){_0x8bcd9a[mf_dgc_0x22bf('0x16')]=_0x1b5d11;return _0x8bcd9a;};return _0x57add9(_0x8bcd9a,_0x1b5d11);}function _0x1b5809(){if(typeof Reflect===mf_dgc_0x22bf('0x0')||!Reflect[mf_dgc_0x22bf('0x17')])return![];if(Reflect['construct'][mf_dgc_0x22bf('0x18')])return![];if(typeof Proxy===mf_dgc_0x22bf('0x1'))return!![];try{Boolean[mf_dgc_0x22bf('0x12')]['valueOf'][mf_dgc_0x22bf('0x19')](Reflect[mf_dgc_0x22bf('0x17')](Boolean,[],function(){}));return!![];}catch(_0x1de3e0){return![];}}function _0xb8c1f4(_0x3d116b,_0x3adde1,_0x2d1801){if(_0x1b5809()){_0xb8c1f4=Reflect[mf_dgc_0x22bf('0x17')];}else{_0xb8c1f4=function _0xb8c1f4(_0x3d116b,_0x3adde1,_0x2d1801){var _0x33c225=[null];_0x33c225[mf_dgc_0x22bf('0x1a')][mf_dgc_0x22bf('0x1b')](_0x33c225,_0x3adde1);var _0x48e9b7=Function[mf_dgc_0x22bf('0x1c')][mf_dgc_0x22bf('0x1b')](_0x3d116b,_0x33c225);var _0x3cc152=new _0x48e9b7();if(_0x2d1801)_0x57add9(_0x3cc152,_0x2d1801[mf_dgc_0x22bf('0x12')]);return _0x3cc152;};}return _0xb8c1f4['apply'](null,arguments);}function _0x3e8156(_0x26f1e8){if(_0x26f1e8===void 0x0){throw new ReferenceError(mf_dgc_0x22bf('0x1d'));}return _0x26f1e8;}function _0x102329(_0x462721,_0x33f636){if(_0x33f636&&(typeof _0x33f636===mf_dgc_0x22bf('0x1e')||typeof _0x33f636==='function')){return _0x33f636;}return _0x3e8156(_0x462721);}function _0x5f420d(_0x58b3d6){var _0x14130d=_0x1b5809();return function _createSuperInternal(){var _0x5351f9=_0x12582c(_0x58b3d6),_0x14669b;if(_0x14130d){var _0x42e5ca=_0x12582c(this)[mf_dgc_0x22bf('0x1f')];_0x14669b=Reflect[mf_dgc_0x22bf('0x17')](_0x5351f9,arguments,_0x42e5ca);}else{_0x14669b=_0x5351f9[mf_dgc_0x22bf('0x1b')](this,arguments);}return _0x102329(this,_0x14669b);};}function _0x2c87db(_0x4e7edb,_0x5217d8){while(!Object[mf_dgc_0x22bf('0x12')]['hasOwnProperty'][mf_dgc_0x22bf('0x19')](_0x4e7edb,_0x5217d8)){_0x4e7edb=_0x12582c(_0x4e7edb);if(_0x4e7edb===null)break;}return _0x4e7edb;}function _0x58abde(_0x4d0602,_0x2b73ef,_0x5a62b6){if(typeof Reflect!==mf_dgc_0x22bf('0x0')&&Reflect[mf_dgc_0x22bf('0x20')]){_0x58abde=Reflect['get'];}else{_0x58abde=function _0x58abde(_0x4d0602,_0x2b73ef,_0x5a62b6){var _0x487d6c=_0x2c87db(_0x4d0602,_0x2b73ef);if(!_0x487d6c)return;var _0x5e080d=Object['getOwnPropertyDescriptor'](_0x487d6c,_0x2b73ef);if(_0x5e080d[mf_dgc_0x22bf('0x20')]){return _0x5e080d[mf_dgc_0x22bf('0x20')][mf_dgc_0x22bf('0x19')](_0x5a62b6);}return _0x5e080d[mf_dgc_0x22bf('0x9')];};}return _0x58abde(_0x4d0602,_0x2b73ef,_0x5a62b6||_0x4d0602);}function _0xbce20d(_0x542fd3){return _0x39d39d(_0x542fd3)||_0x1bce23(_0x542fd3)||_0x33e40e(_0x542fd3)||_0x48d01d();}function _0x39d39d(_0x5803aa){if(Array['isArray'](_0x5803aa))return _0x2da3a0(_0x5803aa);}function _0x1bce23(_0x5db26f){if(typeof Symbol!==mf_dgc_0x22bf('0x0')&&_0x5db26f[Symbol[mf_dgc_0x22bf('0x21')]]!=null||_0x5db26f[mf_dgc_0x22bf('0x22')]!=null)return Array[mf_dgc_0x22bf('0x23')](_0x5db26f);}function _0x33e40e(_0x45d2ad,_0x21305b){if(!_0x45d2ad)return;if(typeof _0x45d2ad===mf_dgc_0x22bf('0x24'))return _0x2da3a0(_0x45d2ad,_0x21305b);var _0x542505=Object[mf_dgc_0x22bf('0x12')][mf_dgc_0x22bf('0x25')][mf_dgc_0x22bf('0x19')](_0x45d2ad)['slice'](0x8,-0x1);if(_0x542505===mf_dgc_0x22bf('0x26')&&_0x45d2ad['constructor'])_0x542505=_0x45d2ad[mf_dgc_0x22bf('0x1f')][mf_dgc_0x22bf('0x27')];if(_0x542505==='Map'||_0x542505==='Set')return Array[mf_dgc_0x22bf('0x23')](_0x45d2ad);if(_0x542505===mf_dgc_0x22bf('0x28')||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/[mf_dgc_0x22bf('0x29')](_0x542505))return _0x2da3a0(_0x45d2ad,_0x21305b);}function _0x2da3a0(_0x37e7d2,_0x29d6d4){if(_0x29d6d4==null||_0x29d6d4>_0x37e7d2[mf_dgc_0x22bf('0xf')])_0x29d6d4=_0x37e7d2[mf_dgc_0x22bf('0xf')];for(var _0x2f967a=0x0,_0x2de30d=new Array(_0x29d6d4);_0x2f967a<_0x29d6d4;_0x2f967a++)_0x2de30d[_0x2f967a]=_0x37e7d2[_0x2f967a];return _0x2de30d;}function _0x48d01d(){throw new TypeError(mf_dgc_0x22bf('0x2a'));}function _0x243502(_0xac9c01,_0x3d07e0){var _0x139b97=typeof Symbol!==mf_dgc_0x22bf('0x0')&&_0xac9c01[Symbol[mf_dgc_0x22bf('0x21')]]||_0xac9c01[mf_dgc_0x22bf('0x22')];if(!_0x139b97){if(Array['isArray'](_0xac9c01)||(_0x139b97=_0x33e40e(_0xac9c01))||_0x3d07e0&&_0xac9c01&&typeof _0xac9c01['length']===mf_dgc_0x22bf('0x2b')){if(_0x139b97)_0xac9c01=_0x139b97;var _0x18c58c=0x0;var _0x59a8cd=function(){};return{'s':_0x59a8cd,'n':function(){if(_0x18c58c>=_0xac9c01[mf_dgc_0x22bf('0xf')])return{'done':!![]};return{'done':![],'value':_0xac9c01[_0x18c58c++]};},'e':function(_0x2d902a){throw _0x2d902a;},'f':_0x59a8cd};}throw new TypeError('Invalid\x20attempt\x20to\x20iterate\x20non-iterable\x20instance.\x0aIn\x20order\x20to\x20be\x20iterable,\x20non-array\x20objects\x20must\x20have\x20a\x20[Symbol.iterator]()\x20method.');}var _0x50bec0=!![],_0x59bf3a=![],_0x5ba282;return{'s':function(){_0x139b97=_0x139b97['call'](_0xac9c01);},'n':function(){var _0x586561=_0x139b97[mf_dgc_0x22bf('0xc')]();_0x50bec0=_0x586561[mf_dgc_0x22bf('0x2c')];return _0x586561;},'e':function(_0x1fc5a3){_0x59bf3a=!![];_0x5ba282=_0x1fc5a3;},'f':function(){try{if(!_0x50bec0&&_0x139b97[mf_dgc_0x22bf('0x2d')]!=null)_0x139b97[mf_dgc_0x22bf('0x2d')]();}finally{if(_0x59bf3a)throw _0x5ba282;}}};}var _0x1a65a3=function(){function _0x1a65a3(){_0x7db1ca(this,_0x1a65a3);}_0x4bee59(_0x1a65a3,null,[{'key':mf_dgc_0x22bf('0x2e'),'get':function get(){return'pageChanging';}},{'key':mf_dgc_0x22bf('0x2f'),'get':function get(){return mf_dgc_0x22bf('0x2f');}},{'key':'pageAdding','get':function get(){return'pageAdding';}},{'key':mf_dgc_0x22bf('0x30'),'get':function get(){return mf_dgc_0x22bf('0x30');}},{'key':mf_dgc_0x22bf('0x31'),'get':function get(){return mf_dgc_0x22bf('0x31');}},{'key':'pageRemoved','get':function get(){return'pageRemoved';}},{'key':mf_dgc_0x22bf('0x32'),'get':function get(){return mf_dgc_0x22bf('0x32');}}]);return _0x1a65a3;}();var _0x8bc135=function(_0x3659c4){_0x3ff91a(_0x8bc135,_0x3659c4);var _0x1faae4=_0x5f420d(_0x8bc135);function _0x8bc135(_0x52cb81){var _0xe07e05;_0x7db1ca(this,_0x8bc135);_0xe07e05=_0x1faae4['call'](this);if(_0x52cb81[mf_dgc_0x22bf('0x33')])_0xe07e05[mf_dgc_0x22bf('0x33')]=_0x52cb81[mf_dgc_0x22bf('0x33')];if(_0x52cb81[mf_dgc_0x22bf('0x34')])_0xe07e05[mf_dgc_0x22bf('0x35')]=_0x52cb81[mf_dgc_0x22bf('0x34')];if(_0x52cb81[mf_dgc_0x22bf('0x36')])_0xe07e05[mf_dgc_0x22bf('0x37')]=_0x52cb81[mf_dgc_0x22bf('0x36')];return _0xe07e05;}_0x4bee59(_0x8bc135,[{'key':'page','get':function get(){return this[mf_dgc_0x22bf('0x35')];}},{'key':mf_dgc_0x22bf('0x36'),'get':function get(){return this[mf_dgc_0x22bf('0x37')];}}]);return _0x8bc135;}(_0x4e8a1d[mf_dgc_0x22bf('0x38')]);var _0x41e1c5=function(_0x444d7c){_0x3ff91a(_0x41e1c5,_0x444d7c);var _0x187555=_0x5f420d(_0x41e1c5);function _0x41e1c5(_0x406bf0,_0x41789b){var _0x2ee89e;_0x7db1ca(this,_0x41e1c5);var _0x21bb74=_0x41789b||new _0x5d0dfe[(mf_dgc_0x22bf('0x39'))]();if(!_0x21bb74['pages'][mf_dgc_0x22bf('0xf')]){var _0x3056b3=new _0x5d0dfe[(mf_dgc_0x22bf('0x3a'))]();_0x3056b3['title']=mf_dgc_0x22bf('0x3b');_0x21bb74[mf_dgc_0x22bf('0x3c')](_0x3056b3);}_0x2ee89e=_0x187555[mf_dgc_0x22bf('0x19')](this,_0x406bf0,_0x21bb74[mf_dgc_0x22bf('0x3d')][0x0],_0x41e1c5);_0x2ee89e['_tabAlignment']=_0x3518d5['None'];_0x2ee89e[mf_dgc_0x22bf('0x3e')]=new _0x4b2778[(mf_dgc_0x22bf('0x3f'))]();_0x2ee89e[mf_dgc_0x22bf('0x3e')]['parent']=_0x3e8156(_0x2ee89e);_0x2ee89e['tabStrip'][mf_dgc_0x22bf('0x40')]=function(){return!![];};_0x2ee89e['tabStrip'][mf_dgc_0x22bf('0x41')]=![];_0x2ee89e[mf_dgc_0x22bf('0x3e')]['autoSizeTabs']=![];_0x2ee89e[mf_dgc_0x22bf('0x3e')][mf_dgc_0x22bf('0x42')]=![];_0x2ee89e['tabStrip'][mf_dgc_0x22bf('0x43')]=!![];_0x2ee89e[mf_dgc_0x22bf('0x44')]=function(_0x1372c8,_0x38dd25){return _0x2ee89e['onPageRenameStart'](_0x1372c8,_0x38dd25);};_0x2ee89e[mf_dgc_0x22bf('0x45')]=function(_0x559841,_0x319370){return _0x2ee89e['onPageRenameEnd'](_0x559841,_0x319370);};_0x2ee89e[mf_dgc_0x22bf('0x3e')][mf_dgc_0x22bf('0x46')][mf_dgc_0x22bf('0x47')](_0x2ee89e[mf_dgc_0x22bf('0x44')]);_0x2ee89e[mf_dgc_0x22bf('0x3e')][mf_dgc_0x22bf('0x48')][mf_dgc_0x22bf('0x47')](_0x2ee89e[mf_dgc_0x22bf('0x45')]);_0x2ee89e[mf_dgc_0x22bf('0x49')]=0x14;_0x2ee89e[mf_dgc_0x22bf('0x4a')]=![];_0x2ee89e[mf_dgc_0x22bf('0x4b')]=![];_0x2ee89e[mf_dgc_0x22bf('0x4c')]=![];_0x2ee89e[mf_dgc_0x22bf('0x4d')]=function(_0x43d5ce,_0x387654){return _0x2ee89e[mf_dgc_0x22bf('0x4e')](_0x43d5ce,_0x387654);};_0x2ee89e['document']=_0x21bb74;_0x2ee89e[mf_dgc_0x22bf('0x4f')]=0x1;_0x2ee89e['items']=new _0x4d95ec['List'](_0x2ee89e[mf_dgc_0x22bf('0x50')][mf_dgc_0x22bf('0x3d')]);if(_0x5d0dfe['CompatConfig'][mf_dgc_0x22bf('0x51')]){_0x5d0dfe[mf_dgc_0x22bf('0x52')][mf_dgc_0x22bf('0x53')](_0x41e1c5[mf_dgc_0x22bf('0x12')]);}return _0x2ee89e;}_0x4bee59(_0x41e1c5,[{'key':mf_dgc_0x22bf('0x54'),'value':function initialize(){var _0x774b2e=this;_0x58abde(_0x12582c(_0x41e1c5['prototype']),'initialize',this)[mf_dgc_0x22bf('0x19')](this);this[mf_dgc_0x22bf('0x55')]=function(_0x487bc7,_0x18c0e0){_0x774b2e['onTabMouseDown'](_0x487bc7,_0x18c0e0);};this[mf_dgc_0x22bf('0x3e')]['itemMouseDown'][mf_dgc_0x22bf('0x47')](this[mf_dgc_0x22bf('0x55')]);this[mf_dgc_0x22bf('0x3e')]['closeButtonClick']['addEventListener'](this[mf_dgc_0x22bf('0x55')]);this['tabStrip'][mf_dgc_0x22bf('0x56')]['addEventListener'](this[mf_dgc_0x22bf('0x55')]);this[mf_dgc_0x22bf('0x3e')][mf_dgc_0x22bf('0x57')]['addEventListener'](this['_tabMouseDownHandler']);this[mf_dgc_0x22bf('0x58')]=function(_0x21286b,_0x2b33e3){_0x774b2e[mf_dgc_0x22bf('0x59')](_0x21286b,_0x2b33e3);};this[mf_dgc_0x22bf('0x3e')]['itemDrop'][mf_dgc_0x22bf('0x47')](this[mf_dgc_0x22bf('0x58')]);this['tabStrip'][mf_dgc_0x22bf('0x5a')]=this[mf_dgc_0x22bf('0x5b')][mf_dgc_0x22bf('0x5c')];this[mf_dgc_0x22bf('0x5d')]();if(this[mf_dgc_0x22bf('0x5e')]==_0x3518d5['Top'])this[mf_dgc_0x22bf('0x5b')][mf_dgc_0x22bf('0x5c')][mf_dgc_0x22bf('0x5f')](this[mf_dgc_0x22bf('0x3e')][mf_dgc_0x22bf('0x60')](),this['element']);else this[mf_dgc_0x22bf('0x5b')]['parentNode'][mf_dgc_0x22bf('0x61')](this[mf_dgc_0x22bf('0x3e')][mf_dgc_0x22bf('0x60')]());this[mf_dgc_0x22bf('0x3e')]['attach']();this['selectedPage']=this[mf_dgc_0x22bf('0x62')][mf_dgc_0x22bf('0x63')]();}},{'key':'dispose','value':function dispose(){this[mf_dgc_0x22bf('0x62')][mf_dgc_0x22bf('0x64')](function(_0x8f3455){return _0x8f3455[mf_dgc_0x22bf('0x65')]();});this['tabStrip'][mf_dgc_0x22bf('0x65')]();_0x58abde(_0x12582c(_0x41e1c5[mf_dgc_0x22bf('0x12')]),mf_dgc_0x22bf('0x65'),this)[mf_dgc_0x22bf('0x19')](this);}},{'key':mf_dgc_0x22bf('0x66'),'value':function attachDiagramEvents(){this[mf_dgc_0x22bf('0x67')][mf_dgc_0x22bf('0x47')](_0x5d0dfe['Events']['dataLoaded'],this[mf_dgc_0x22bf('0x68')]);this[mf_dgc_0x22bf('0x67')][mf_dgc_0x22bf('0x47')](_0x5d0dfe[mf_dgc_0x22bf('0x69')]['queryView'],this[mf_dgc_0x22bf('0x6a')]);}},{'key':'detachDiagramEvents','value':function detachDiagramEvents(){this['document'][mf_dgc_0x22bf('0x6b')](_0x5d0dfe[mf_dgc_0x22bf('0x69')][mf_dgc_0x22bf('0x6c')],this[mf_dgc_0x22bf('0x68')]);this[mf_dgc_0x22bf('0x67')][mf_dgc_0x22bf('0x6b')](_0x5d0dfe[mf_dgc_0x22bf('0x69')][mf_dgc_0x22bf('0x6d')],this[mf_dgc_0x22bf('0x6a')]);}},{'key':mf_dgc_0x22bf('0x6e'),'value':function toJson(){var _0x4b9db4=this['document'][mf_dgc_0x22bf('0x6f')]();this[mf_dgc_0x22bf('0x70')](_0x4b9db4);return _0x4e8a1d[mf_dgc_0x22bf('0x71')][mf_dgc_0x22bf('0x6e')](_0x4b9db4);}},{'key':mf_dgc_0x22bf('0x70'),'value':function saveViewProps(_0x4f81a4){_0x58abde(_0x12582c(_0x41e1c5[mf_dgc_0x22bf('0x12')]),mf_dgc_0x22bf('0x70'),this)[mf_dgc_0x22bf('0x19')](this,_0x4f81a4);_0x4f81a4['tabAlignment']=this['tabAlignment'];_0x4f81a4[mf_dgc_0x22bf('0x49')]=this[mf_dgc_0x22bf('0x49')];_0x4f81a4[mf_dgc_0x22bf('0x72')]=this['showNavigationButtons'];_0x4f81a4['showAddButton']=this[mf_dgc_0x22bf('0x42')];_0x4f81a4[mf_dgc_0x22bf('0x73')]=this[mf_dgc_0x22bf('0x73')];_0x4f81a4[mf_dgc_0x22bf('0x74')]=this[mf_dgc_0x22bf('0x74')];_0x4f81a4[mf_dgc_0x22bf('0x75')]=this[mf_dgc_0x22bf('0x75')];_0x4f81a4[mf_dgc_0x22bf('0x76')]=this[mf_dgc_0x22bf('0x76')]?this[mf_dgc_0x22bf('0x76')]['id']:null;_0x4f81a4[mf_dgc_0x22bf('0x77')]=this[mf_dgc_0x22bf('0x77')];}},{'key':mf_dgc_0x22bf('0x78'),'value':function fromJson(_0x2a0c77){if(_0x2a0c77>''){var _0x17a4cc=_0x4e8a1d['Control'][mf_dgc_0x22bf('0x78')](_0x2a0c77);this[mf_dgc_0x22bf('0x67')][mf_dgc_0x22bf('0x79')](_0x17a4cc);this[mf_dgc_0x22bf('0x7a')]();this['loadViewProps'](_0x17a4cc);}this[mf_dgc_0x22bf('0x7b')](_0x5d0dfe[mf_dgc_0x22bf('0x69')][mf_dgc_0x22bf('0x7c')]);}},{'key':mf_dgc_0x22bf('0x7d'),'value':function loadViewProps(_0x5bebf7){_0x58abde(_0x12582c(_0x41e1c5[mf_dgc_0x22bf('0x12')]),mf_dgc_0x22bf('0x7d'),this)[mf_dgc_0x22bf('0x19')](this,_0x5bebf7);this[mf_dgc_0x22bf('0x7e')](_0x1a65a3['pageChanging'],_0x5bebf7[mf_dgc_0x22bf('0x7f')]);this[mf_dgc_0x22bf('0x7e')](_0x1a65a3[mf_dgc_0x22bf('0x2f')],_0x5bebf7[mf_dgc_0x22bf('0x80')]);this[mf_dgc_0x22bf('0x7e')](_0x1a65a3[mf_dgc_0x22bf('0x81')],_0x5bebf7[mf_dgc_0x22bf('0x82')]);this[mf_dgc_0x22bf('0x7e')](_0x1a65a3[mf_dgc_0x22bf('0x30')],_0x5bebf7['pageAddedScript']);this['prepareScriptEvent'](_0x1a65a3['pageRemoving'],_0x5bebf7[mf_dgc_0x22bf('0x83')]);this[mf_dgc_0x22bf('0x7e')](_0x1a65a3['pageRemoved'],_0x5bebf7[mf_dgc_0x22bf('0x84')]);if(_0x5bebf7['tabAlignment']!==undefined)this[mf_dgc_0x22bf('0x5e')]=_0x5bebf7[mf_dgc_0x22bf('0x5e')];if(_0x5bebf7[mf_dgc_0x22bf('0x49')]!==undefined)this[mf_dgc_0x22bf('0x49')]=_0x5bebf7[mf_dgc_0x22bf('0x49')];if(_0x5bebf7[mf_dgc_0x22bf('0x72')]!==undefined)this[mf_dgc_0x22bf('0x72')]=_0x5bebf7[mf_dgc_0x22bf('0x72')];if(_0x5bebf7[mf_dgc_0x22bf('0x42')]!==undefined)this['showAddButton']=_0x5bebf7[mf_dgc_0x22bf('0x42')];if(_0x5bebf7[mf_dgc_0x22bf('0x73')]!==undefined)this[mf_dgc_0x22bf('0x73')]=_0x5bebf7[mf_dgc_0x22bf('0x73')];if(_0x5bebf7['allowReorder']!==undefined)this[mf_dgc_0x22bf('0x74')]=_0x5bebf7[mf_dgc_0x22bf('0x74')];if(_0x5bebf7[mf_dgc_0x22bf('0x75')]!==undefined)this[mf_dgc_0x22bf('0x75')]=_0x5bebf7[mf_dgc_0x22bf('0x75')];if(_0x5bebf7[mf_dgc_0x22bf('0x76')])this[mf_dgc_0x22bf('0x76')]=_0x5d0dfe['Theme'][mf_dgc_0x22bf('0x85')](_0x5bebf7['theme']);if(_0x5bebf7[mf_dgc_0x22bf('0x77')]!==undefined)this[mf_dgc_0x22bf('0x77')]=_0x5bebf7['selectedIndex'];}},{'key':mf_dgc_0x22bf('0x86'),'value':function saveToXml(_0x37b198){var _0x5c78b3=new XMLHttpRequest();_0x5c78b3[mf_dgc_0x22bf('0x87')](mf_dgc_0x22bf('0x88'),_0x37b198,!![]);_0x5c78b3['setRequestHeader'](mf_dgc_0x22bf('0x89'),mf_dgc_0x22bf('0x8a'));var _0x5820cc=this['document'][mf_dgc_0x22bf('0x8b')]();var _0x4231d7=new _0x5d0dfe['XmlPersistContext'](this[mf_dgc_0x22bf('0x8c')],_0x5820cc);var _0x23c9fa=_0x4231d7['selectSingleNode'](mf_dgc_0x22bf('0x39'),_0x5820cc);var _0x1906b9=_0x5820cc['createElement'](mf_dgc_0x22bf('0x8d'));_0x23c9fa['appendChild'](_0x1906b9);this[mf_dgc_0x22bf('0x8e')](_0x1906b9,_0x4231d7);var _0x556193=new XMLSerializer();_0x5c78b3[mf_dgc_0x22bf('0x8f')](_0x556193[mf_dgc_0x22bf('0x90')](_0x5820cc));}},{'key':mf_dgc_0x22bf('0x8e'),'value':function saveView(_0x5b1c69,_0xe3e70a){_0x58abde(_0x12582c(_0x41e1c5[mf_dgc_0x22bf('0x12')]),mf_dgc_0x22bf('0x8e'),this)['call'](this,_0x5b1c69,_0xe3e70a);if(this[mf_dgc_0x22bf('0x76')])_0xe3e70a[mf_dgc_0x22bf('0x91')](this[mf_dgc_0x22bf('0x76')]['id'],mf_dgc_0x22bf('0x92'),_0x5b1c69);}},{'key':mf_dgc_0x22bf('0x93'),'value':function loadFromXml(_0x8c3634,_0x2bbea0,_0xce16f5){var _0x49bd6d=this[mf_dgc_0x22bf('0x67')];var _0x7f76a=new XMLHttpRequest();_0x7f76a[mf_dgc_0x22bf('0x94')]=function(){var _0x5c6a6b=_0x7f76a[mf_dgc_0x22bf('0x95')];_0x49bd6d[mf_dgc_0x22bf('0x96')](_0x5c6a6b);var _0x47ab36=new _0x5d0dfe['XmlPersistContext'](_0x49bd6d,_0x5c6a6b);var _0x19457d=_0x47ab36[mf_dgc_0x22bf('0x97')](mf_dgc_0x22bf('0x39'),_0x5c6a6b);this[mf_dgc_0x22bf('0x98')](mf_dgc_0x22bf('0x8d'),_0x19457d,_0x47ab36);if(_0x2bbea0)_0x2bbea0(_0x49bd6d);}[mf_dgc_0x22bf('0x1c')](this);_0x7f76a[mf_dgc_0x22bf('0x99')]=function(){console[mf_dgc_0x22bf('0x9a')](mf_dgc_0x22bf('0x9b'));if(_0xce16f5)_0xce16f5(_0x49bd6d);};_0x7f76a[mf_dgc_0x22bf('0x87')](mf_dgc_0x22bf('0x9c'),_0x8c3634);_0x7f76a[mf_dgc_0x22bf('0x9d')]=mf_dgc_0x22bf('0x67');_0x7f76a[mf_dgc_0x22bf('0x8f')]();}},{'key':mf_dgc_0x22bf('0x98'),'value':function loadView(_0x3e818a,_0x117238,_0x21be64){var _0x3494fd=_0x58abde(_0x12582c(_0x41e1c5[mf_dgc_0x22bf('0x12')]),mf_dgc_0x22bf('0x98'),this)[mf_dgc_0x22bf('0x19')](this,_0x3e818a,_0x117238,_0x21be64);if(!_0x3494fd)return;var _0x28d8e2=_0x21be64[mf_dgc_0x22bf('0x9e')]('Theme',_0x3494fd);if(_0x28d8e2)this['theme']=_0x5d0dfe[mf_dgc_0x22bf('0x92')][mf_dgc_0x22bf('0x85')](_0x28d8e2);}},{'key':'resetVirtualScrollGrid','value':function resetVirtualScrollGrid(){var _0x40f5fe=this[mf_dgc_0x22bf('0x5b')];if(!_0x40f5fe[mf_dgc_0x22bf('0x5c')])return;if(!this['scrollerH']){_0x4e8a1d[mf_dgc_0x22bf('0x71')][mf_dgc_0x22bf('0x9f')](_0x40f5fe[mf_dgc_0x22bf('0x5c')]);var _0x34594f=_0x4e8a1d[mf_dgc_0x22bf('0xa0')]['getBounds'](_0x40f5fe['parentNode'],null,!![]);var _0x143b2e=_0x34594f[mf_dgc_0x22bf('0xa1')];var _0x1dd7b9=_0x34594f[mf_dgc_0x22bf('0xa2')];if(_0x1dd7b9!=0x0)_0x40f5fe[mf_dgc_0x22bf('0x5c')]['_mf_originalHeight']=_0x1dd7b9;this[mf_dgc_0x22bf('0xa3')]={'width':_0x143b2e,'height':_0x1dd7b9};_0x40f5fe[mf_dgc_0x22bf('0x5c')][mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xa5')]='grid';_0x40f5fe['parentNode'][mf_dgc_0x22bf('0xa4')]['gridTemplateColumns']=mf_dgc_0x22bf('0xa6')+this[mf_dgc_0x22bf('0xa7')]+'px';if(this[mf_dgc_0x22bf('0x5e')]==_0x3518d5[mf_dgc_0x22bf('0xa8')])_0x40f5fe[mf_dgc_0x22bf('0x5c')][mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xa9')]=this[mf_dgc_0x22bf('0x49')]+'px\x20auto\x20'+this[mf_dgc_0x22bf('0xa7')]+'px';else _0x40f5fe[mf_dgc_0x22bf('0x5c')][mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xa9')]=mf_dgc_0x22bf('0xa6')+this['scrollbarSize']+mf_dgc_0x22bf('0xaa')+this['tabsSize']+'px';_0x40f5fe[mf_dgc_0x22bf('0x5c')]['style']['overflow']='';_0x40f5fe['style'][mf_dgc_0x22bf('0xab')]=this['tabAlignment']==_0x3518d5[mf_dgc_0x22bf('0xa8')]?0x2:0x1;_0x40f5fe[mf_dgc_0x22bf('0xa1')]=Math[mf_dgc_0x22bf('0xac')](_0x34594f[mf_dgc_0x22bf('0xa1')]-this[mf_dgc_0x22bf('0xad')](0x1),this[mf_dgc_0x22bf('0x8c')][mf_dgc_0x22bf('0xae')]['width']*this[mf_dgc_0x22bf('0xaf')]);_0x40f5fe[mf_dgc_0x22bf('0xa2')]=Math[mf_dgc_0x22bf('0xac')](_0x1dd7b9-this[mf_dgc_0x22bf('0x49')]-this['getScrollbarSize'](0x0),this[mf_dgc_0x22bf('0x8c')][mf_dgc_0x22bf('0xae')]['height']*this[mf_dgc_0x22bf('0xaf')]);this[mf_dgc_0x22bf('0x3e')][mf_dgc_0x22bf('0xb0')][mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xa5')]=mf_dgc_0x22bf('0xb1');this['tabStrip']['_element'][mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xb2')]=mf_dgc_0x22bf('0xb3');var _0x5373bf=document['createElement'](mf_dgc_0x22bf('0xb4'));_0x5373bf[mf_dgc_0x22bf('0xb5')]=mf_dgc_0x22bf('0xb6');_0x5373bf[mf_dgc_0x22bf('0xa4')]['gridRow']=this[mf_dgc_0x22bf('0x5e')]==_0x3518d5[mf_dgc_0x22bf('0xa8')]?0x3:0x2;_0x5373bf[mf_dgc_0x22bf('0xa4')]['gridColumnStart']=0x1;_0x5373bf[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xb7')]=0x2;_0x5373bf['style'][mf_dgc_0x22bf('0xa2')]=this[mf_dgc_0x22bf('0xa7')]+'px';_0x5373bf['style'][mf_dgc_0x22bf('0xa1')]=_0x34594f['width']-this['scrollbarSize']+'px';_0x5373bf[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xb8')]='auto';_0x5373bf['style']['overflowY']=mf_dgc_0x22bf('0xb9');_0x5373bf[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xba')]=mf_dgc_0x22bf('0xbb');this['scrollerH']=_0x5373bf;var _0x7d2d2c=document[mf_dgc_0x22bf('0xbc')](mf_dgc_0x22bf('0xb4'));_0x7d2d2c[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xa2')]=this['scrollbarSize']+'px';_0x5373bf[mf_dgc_0x22bf('0x61')](_0x7d2d2c);_0x40f5fe['parentNode']['appendChild'](_0x5373bf);var _0x2f45f4=document['createElement']('div');_0x2f45f4['className']=mf_dgc_0x22bf('0xbd');_0x2f45f4[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xbe')]=this['tabAlignment']==_0x3518d5[mf_dgc_0x22bf('0xa8')]?0x2:0x1;_0x2f45f4[mf_dgc_0x22bf('0xa4')]['width']=this['scrollbarSize']+'px';_0x2f45f4[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xa2')]=_0x34594f[mf_dgc_0x22bf('0xa2')]-this[mf_dgc_0x22bf('0x49')]-this[mf_dgc_0x22bf('0xa7')]+'px';_0x2f45f4[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xb8')]=mf_dgc_0x22bf('0xb9');_0x2f45f4[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xbf')]='auto';_0x2f45f4[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xba')]=mf_dgc_0x22bf('0xbb');this[mf_dgc_0x22bf('0xc0')]=_0x2f45f4;var _0x229038=document['createElement'](mf_dgc_0x22bf('0xb4'));_0x229038[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xa1')]=this['scrollbarSize']+'px';_0x2f45f4[mf_dgc_0x22bf('0x61')](_0x229038);_0x40f5fe[mf_dgc_0x22bf('0x5c')][mf_dgc_0x22bf('0x61')](_0x2f45f4);_0x4e8a1d[mf_dgc_0x22bf('0x71')]['addHandlers'](_0x5373bf,{'scroll':this['scrollDelegate']});_0x4e8a1d[mf_dgc_0x22bf('0x71')]['addHandlers'](_0x2f45f4,{'scroll':this[mf_dgc_0x22bf('0xc1')]});if(!this[mf_dgc_0x22bf('0xc2')]){var _0x3f09a2=this;this['resizeTimeoutId']=setInterval(function(){_0x3f09a2[mf_dgc_0x22bf('0xc3')]();},0xc8);}}}},{'key':mf_dgc_0x22bf('0xc4'),'value':function resetTabAlignment(){if(!this['element'])return;this[mf_dgc_0x22bf('0x3e')][mf_dgc_0x22bf('0x41')]=this['tabAlignment']!=_0x3518d5[mf_dgc_0x22bf('0xc5')];var _0x413fcb=this[mf_dgc_0x22bf('0x5b')];if(this[mf_dgc_0x22bf('0x5e')]==_0x3518d5[mf_dgc_0x22bf('0xa8')])_0x413fcb[mf_dgc_0x22bf('0x5c')]['style'][mf_dgc_0x22bf('0xa9')]=this[mf_dgc_0x22bf('0x49')]+mf_dgc_0x22bf('0xc6')+this['scrollbarSize']+'px';else _0x413fcb[mf_dgc_0x22bf('0x5c')]['style'][mf_dgc_0x22bf('0xa9')]=mf_dgc_0x22bf('0xa6')+this[mf_dgc_0x22bf('0xa7')]+mf_dgc_0x22bf('0xaa')+this[mf_dgc_0x22bf('0x49')]+'px';_0x413fcb[mf_dgc_0x22bf('0xa4')]['gridRow']=this[mf_dgc_0x22bf('0x5e')]==_0x3518d5[mf_dgc_0x22bf('0xa8')]?0x2:0x1;var _0x2114b1=this[mf_dgc_0x22bf('0x5b')]['parentNode'][mf_dgc_0x22bf('0xc7')](mf_dgc_0x22bf('0xc8'));if(this['scrollerH']){_0x2114b1[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xab')]=this[mf_dgc_0x22bf('0x5e')]==_0x3518d5['Top']?0x3:0x2;var _0x578b01=this[mf_dgc_0x22bf('0x5b')][mf_dgc_0x22bf('0x5c')][mf_dgc_0x22bf('0xc7')](mf_dgc_0x22bf('0xc9'));_0x578b01[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xbe')]=this['tabAlignment']==_0x3518d5['Top']?0x2:0x1;}this['updateCanvasSize']();}},{'key':mf_dgc_0x22bf('0xca'),'value':function updateCanvasSize(){if(!this[mf_dgc_0x22bf('0x5b')])return;var _0x5af6cb=this[mf_dgc_0x22bf('0xcb')]/0x64/_0x37683d[mf_dgc_0x22bf('0xcc')][mf_dgc_0x22bf('0xcd')](this[mf_dgc_0x22bf('0xce')]['measureUnit']);if(this['scrollerH']){var _0x81df84=this['element'][mf_dgc_0x22bf('0x5c')];this[mf_dgc_0x22bf('0xcf')][mf_dgc_0x22bf('0xd0')][mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xa1')]=this['canvas']['bounds'][mf_dgc_0x22bf('0xa1')]*_0x5af6cb+'px';this['scrollerV']['firstChild'][mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xa2')]=this[mf_dgc_0x22bf('0xce')]['bounds'][mf_dgc_0x22bf('0xa2')]*_0x5af6cb+'px';var _0x364f38=this[mf_dgc_0x22bf('0xad')](0x1);var _0x384472=this[mf_dgc_0x22bf('0xad')](0x0);this[mf_dgc_0x22bf('0xc0')][mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xa1')]=_0x364f38+'px';this[mf_dgc_0x22bf('0xcf')][mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xa2')]=_0x384472+'px';_0x81df84[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xd1')]=mf_dgc_0x22bf('0xa6')+_0x364f38+'px';if(this[mf_dgc_0x22bf('0x5e')]==_0x3518d5['Top'])_0x81df84[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xa9')]=this[mf_dgc_0x22bf('0x49')]+'px\x20auto\x20'+_0x384472+'px';else _0x81df84[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xa9')]=mf_dgc_0x22bf('0xa6')+_0x384472+mf_dgc_0x22bf('0xaa')+this[mf_dgc_0x22bf('0x49')]+'px';var _0xa54ce=_0x4e8a1d['DomUtils'][mf_dgc_0x22bf('0xd2')](_0x81df84,null,!![]);var _0x1d9244=_0xa54ce[mf_dgc_0x22bf('0xa2')];if(_0x1d9244==0x0)_0x1d9244=_0x81df84[mf_dgc_0x22bf('0xd3')];if(_0x1d9244==0x0)_0x1d9244=this[mf_dgc_0x22bf('0xce')]['bounds'][mf_dgc_0x22bf('0xa2')]*_0x5af6cb;this[mf_dgc_0x22bf('0x5b')][mf_dgc_0x22bf('0xa1')]=Math[mf_dgc_0x22bf('0xac')](_0xa54ce[mf_dgc_0x22bf('0xa1')]-_0x364f38,this[mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0xae')][mf_dgc_0x22bf('0xa1')]*_0x5af6cb);this[mf_dgc_0x22bf('0x5b')][mf_dgc_0x22bf('0xa2')]=Math['min'](_0x1d9244-this[mf_dgc_0x22bf('0x49')]-_0x384472,this[mf_dgc_0x22bf('0xce')]['bounds']['height']*_0x5af6cb);this[mf_dgc_0x22bf('0xcf')]['style'][mf_dgc_0x22bf('0xa1')]=_0xa54ce[mf_dgc_0x22bf('0xa1')]-_0x364f38+'px';this[mf_dgc_0x22bf('0xc0')][mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xa2')]=_0x1d9244-this[mf_dgc_0x22bf('0x49')]-_0x384472+'px';}this[mf_dgc_0x22bf('0xce')]['invalidRect']=null;this[mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0xd4')]();this[mf_dgc_0x22bf('0x8c')][mf_dgc_0x22bf('0x7b')](_0x5d0dfe[mf_dgc_0x22bf('0x69')][mf_dgc_0x22bf('0xd5')],_0x4e8a1d['EventArgs'][mf_dgc_0x22bf('0xd6')]);}},{'key':'resetTabs','value':function resetTabs(){var _0x36186a=this;this[mf_dgc_0x22bf('0x3e')][mf_dgc_0x22bf('0x62')][mf_dgc_0x22bf('0xd7')]();this['document']['pages'][mf_dgc_0x22bf('0x64')](function(_0x3ae659,_0x363b84){var _0x13a99c=new _0x4b2778[(mf_dgc_0x22bf('0xd8'))](_0x4b2778['ToolStripItemType'][mf_dgc_0x22bf('0xd9')],_0x3ae659[mf_dgc_0x22bf('0xda')]);_0x13a99c[mf_dgc_0x22bf('0xdb')]=_0x3ae659[mf_dgc_0x22bf('0xdb')];_0x13a99c[mf_dgc_0x22bf('0xdc')]=_0x3ae659[mf_dgc_0x22bf('0xdd')];_0x36186a['tabStrip'][mf_dgc_0x22bf('0x62')]['add'](_0x13a99c);_0x3ae659[mf_dgc_0x22bf('0xde')]=_0x13a99c;});}},{'key':mf_dgc_0x22bf('0x3c'),'value':function addPage(_0x98ecbe){var _0x186747=this['onPageValidateAction'](_0x1a65a3[mf_dgc_0x22bf('0x81')],_0x98ecbe);if(_0x186747){this[mf_dgc_0x22bf('0x67')][mf_dgc_0x22bf('0x3c')](_0x98ecbe);this[mf_dgc_0x22bf('0x7b')](_0x1a65a3[mf_dgc_0x22bf('0x30')],new _0x8bc135({'page':_0x98ecbe}));}}},{'key':mf_dgc_0x22bf('0xdf'),'value':function removePage(_0x38c347){var _0x57dc53=this[mf_dgc_0x22bf('0xe0')](_0x1a65a3[mf_dgc_0x22bf('0x31')],_0x38c347,_0x38c347);if(_0x57dc53){this['document'][mf_dgc_0x22bf('0xdf')](_0x38c347);this[mf_dgc_0x22bf('0x7b')](_0x1a65a3[mf_dgc_0x22bf('0xe1')],new _0x8bc135({'oldPage':_0x38c347}));}}},{'key':'onTabMouseDown','value':function onTabMouseDown(_0x1f4390,_0x5ea4ec){if(!_0x5ea4ec[mf_dgc_0x22bf('0xe2')][mf_dgc_0x22bf('0xe3')])return;if(_0x5ea4ec[mf_dgc_0x22bf('0xe2')][mf_dgc_0x22bf('0xe4')]==mf_dgc_0x22bf('0xe5')){var _0x11b3f3=new _0x5d0dfe[(mf_dgc_0x22bf('0x3a'))]();_0x11b3f3[mf_dgc_0x22bf('0xda')]=mf_dgc_0x22bf('0x8c')+(++this[mf_dgc_0x22bf('0x4f')])[mf_dgc_0x22bf('0x25')]();this['addPage'](_0x11b3f3);return;}if(_0x5ea4ec[mf_dgc_0x22bf('0xe2')][mf_dgc_0x22bf('0xe4')]){if(_0x5ea4ec[mf_dgc_0x22bf('0xe2')][mf_dgc_0x22bf('0xe4')]=='mfc-first')this['selectedPage']=this[mf_dgc_0x22bf('0x62')][mf_dgc_0x22bf('0xe6')]();else if(_0x5ea4ec[mf_dgc_0x22bf('0xe2')][mf_dgc_0x22bf('0xe4')]==mf_dgc_0x22bf('0xe7'))this[mf_dgc_0x22bf('0x77')]--;else if(_0x5ea4ec['item']['dataMfc']=='mfc-next')this['selectedIndex']++;else if(_0x5ea4ec[mf_dgc_0x22bf('0xe2')][mf_dgc_0x22bf('0xe4')]==mf_dgc_0x22bf('0xe8'))this[mf_dgc_0x22bf('0xe9')]=this['items']['last']();return;}var _0x25590a=this[mf_dgc_0x22bf('0xea')](_0x5ea4ec['item']);if(_0x25590a){if(_0x4e8a1d[mf_dgc_0x22bf('0xa0')]['hasCssClass'](_0x5ea4ec[mf_dgc_0x22bf('0xeb')]['target'],mf_dgc_0x22bf('0xec'))){this[mf_dgc_0x22bf('0xe9')]=_0x25590a;this[mf_dgc_0x22bf('0xdf')](_0x25590a);return;}if(this[mf_dgc_0x22bf('0xe9')]==_0x25590a){if(_0x5ea4ec[mf_dgc_0x22bf('0xe2')][mf_dgc_0x22bf('0xed')]){_0x5ea4ec[mf_dgc_0x22bf('0xe2')]['inplaceEditBehavior'][mf_dgc_0x22bf('0xee')]();_0x4e8a1d['DomUtils'][mf_dgc_0x22bf('0xef')](_0x5ea4ec[mf_dgc_0x22bf('0xeb')],!![]);}}this[mf_dgc_0x22bf('0xe9')]=_0x25590a;}}},{'key':mf_dgc_0x22bf('0x59'),'value':function onTabDrop(_0x5af220,_0x5df87d){var _0x2b1acf=_0x5af220['getGroupItems'](_0x5df87d[mf_dgc_0x22bf('0xe2')])[mf_dgc_0x22bf('0xf0')](_0x5df87d[mf_dgc_0x22bf('0xe2')]);var _0x5d66ff=this[mf_dgc_0x22bf('0xea')](_0x5df87d[mf_dgc_0x22bf('0xe2')]);this[mf_dgc_0x22bf('0x62')][mf_dgc_0x22bf('0xf1')][mf_dgc_0x22bf('0xf2')](this[mf_dgc_0x22bf('0x62')][mf_dgc_0x22bf('0xf0')](_0x5d66ff),0x1);this[mf_dgc_0x22bf('0x62')][mf_dgc_0x22bf('0xf1')][mf_dgc_0x22bf('0xf2')](_0x2b1acf,0x0,_0x5d66ff);}},{'key':mf_dgc_0x22bf('0xe9'),'get':function get(){return this[mf_dgc_0x22bf('0xf3')];},'set':function set(_0x515abd){if(_0x515abd){if(this[mf_dgc_0x22bf('0xe0')](_0x1a65a3[mf_dgc_0x22bf('0x2e')],_0x515abd,this[mf_dgc_0x22bf('0xf3')])){var _0x446da4=this[mf_dgc_0x22bf('0xf3')];this[mf_dgc_0x22bf('0xf3')]=_0x515abd;this[mf_dgc_0x22bf('0xf4')](this['_selectedPage']);this[mf_dgc_0x22bf('0xf3')][mf_dgc_0x22bf('0xd4')]();this[mf_dgc_0x22bf('0x3e')][mf_dgc_0x22bf('0xf5')](this[mf_dgc_0x22bf('0xf3')][mf_dgc_0x22bf('0xde')]);this[mf_dgc_0x22bf('0x7b')](_0x1a65a3[mf_dgc_0x22bf('0x2f')],new _0x8bc135({'page':this[mf_dgc_0x22bf('0xf3')],'oldPage':_0x446da4}));}}}},{'key':mf_dgc_0x22bf('0x77'),'get':function get(){if(this[mf_dgc_0x22bf('0xf3')])return this[mf_dgc_0x22bf('0x62')]['indexOfItem'](this[mf_dgc_0x22bf('0xf3')]);return-0x1;},'set':function set(_0x44a901){var _0x1e584d=this[mf_dgc_0x22bf('0x62')][mf_dgc_0x22bf('0x62')]()[_0x44a901];if(_0x1e584d)this[mf_dgc_0x22bf('0xe9')]=_0x1e584d;}},{'key':mf_dgc_0x22bf('0xea'),'value':function getItemByHeader(_0x1e9247){return this[mf_dgc_0x22bf('0x62')][mf_dgc_0x22bf('0xf6')](function(_0x5ef642){return _0x5ef642[mf_dgc_0x22bf('0xde')][mf_dgc_0x22bf('0x5b')]==_0x1e9247[mf_dgc_0x22bf('0x5b')];})[mf_dgc_0x22bf('0xe6')]();}},{'key':mf_dgc_0x22bf('0x67'),'get':function get(){return this[mf_dgc_0x22bf('0x50')];},'set':function set(_0x5037ea){if(this[mf_dgc_0x22bf('0x50')]!=_0x5037ea){if(this['document']!=null)this[mf_dgc_0x22bf('0x50')][mf_dgc_0x22bf('0x6b')](_0x5d0dfe[mf_dgc_0x22bf('0x69')][mf_dgc_0x22bf('0xf7')],this[mf_dgc_0x22bf('0x4d')]);this[mf_dgc_0x22bf('0x50')]=_0x5037ea;this['_document']['addEventListener'](_0x5d0dfe[mf_dgc_0x22bf('0x69')][mf_dgc_0x22bf('0xf7')],this[mf_dgc_0x22bf('0x4d')]);this[mf_dgc_0x22bf('0xf8')](this[mf_dgc_0x22bf('0x67')],{});this[mf_dgc_0x22bf('0x7b')](_0x5d0dfe[mf_dgc_0x22bf('0x69')][mf_dgc_0x22bf('0xf9')],_0x4e8a1d['EventArgs'][mf_dgc_0x22bf('0xd6')]);}}},{'key':mf_dgc_0x22bf('0x49'),'get':function get(){if(this[mf_dgc_0x22bf('0x5e')]==_0x3518d5[mf_dgc_0x22bf('0xc5')])return 0x0;return this['tabStrip'][mf_dgc_0x22bf('0xa2')][mf_dgc_0x22bf('0x9')];},'set':function set(_0x382fcb){if(this[mf_dgc_0x22bf('0x3e')][mf_dgc_0x22bf('0xa2')]['value']!=_0x382fcb){this[mf_dgc_0x22bf('0x3e')][mf_dgc_0x22bf('0xa2')]=new _0x4bfe7a[(mf_dgc_0x22bf('0xfa'))](_0x382fcb,_0x4bfe7a['UnitType'][mf_dgc_0x22bf('0xfb')]);this[mf_dgc_0x22bf('0xc4')]();}}},{'key':mf_dgc_0x22bf('0x5e'),'get':function get(){return this[mf_dgc_0x22bf('0xfc')];},'set':function set(_0x59c696){if(this['_tabAlignment']!=_0x59c696){this[mf_dgc_0x22bf('0xfc')]=_0x59c696;this[mf_dgc_0x22bf('0xc4')]();}}},{'key':mf_dgc_0x22bf('0x73'),'get':function get(){return this[mf_dgc_0x22bf('0x3e')][mf_dgc_0x22bf('0xfd')];},'set':function set(_0x4c9f60){if(this[mf_dgc_0x22bf('0x3e')][mf_dgc_0x22bf('0xfd')]!=_0x4c9f60){this['tabStrip'][mf_dgc_0x22bf('0xfd')]=_0x4c9f60;}}},{'key':mf_dgc_0x22bf('0x72'),'get':function get(){return this[mf_dgc_0x22bf('0x3e')][mf_dgc_0x22bf('0xfe')]==_0x4b2778[mf_dgc_0x22bf('0xff')]['NavButtons'];},'set':function set(_0x776411){if(this['tabStrip']['scrollMode']==_0x4b2778[mf_dgc_0x22bf('0xff')]['NavButtons']!=_0x776411){this[mf_dgc_0x22bf('0x3e')]['scrollMode']=_0x776411?_0x4b2778[mf_dgc_0x22bf('0xff')][mf_dgc_0x22bf('0x100')]:_0x4b2778[mf_dgc_0x22bf('0xff')]['None'];}}},{'key':mf_dgc_0x22bf('0x42'),'get':function get(){return this[mf_dgc_0x22bf('0x3e')][mf_dgc_0x22bf('0x42')];},'set':function set(_0x539fd0){if(this[mf_dgc_0x22bf('0x3e')][mf_dgc_0x22bf('0x42')]!=_0x539fd0){this[mf_dgc_0x22bf('0x3e')][mf_dgc_0x22bf('0x42')]=_0x539fd0;}}},{'key':'allowReorder','get':function get(){return this[mf_dgc_0x22bf('0x3e')]['allowDrag'];},'set':function set(_0x3f5c77){if(this[mf_dgc_0x22bf('0x3e')][mf_dgc_0x22bf('0x101')]!=_0x3f5c77){this[mf_dgc_0x22bf('0x3e')][mf_dgc_0x22bf('0x101')]=_0x3f5c77;}}},{'key':'theme','get':function get(){return this[mf_dgc_0x22bf('0x102')];},'set':function set(_0x221824){if(this[mf_dgc_0x22bf('0x102')]!=_0x221824){this[mf_dgc_0x22bf('0x102')]=_0x221824;if(this[mf_dgc_0x22bf('0x5a')]){var _0x464ed2=this[mf_dgc_0x22bf('0x5a')][mf_dgc_0x22bf('0x103')](mf_dgc_0x22bf('0x104'));_0xbce20d(_0x464ed2)[mf_dgc_0x22bf('0x64')](function(_0x212f6f){return _0x212f6f[mf_dgc_0x22bf('0x5c')][mf_dgc_0x22bf('0x105')](_0x212f6f);});var _0x1efa95=document[mf_dgc_0x22bf('0xbc')](mf_dgc_0x22bf('0x104'));_0x1efa95['href']=this[mf_dgc_0x22bf('0x106')]+this[mf_dgc_0x22bf('0x102')]['id']+mf_dgc_0x22bf('0x107');_0x1efa95[mf_dgc_0x22bf('0x108')]=mf_dgc_0x22bf('0x109');this[mf_dgc_0x22bf('0x5a')][mf_dgc_0x22bf('0x61')](_0x1efa95);}if(this[mf_dgc_0x22bf('0x102')])this[mf_dgc_0x22bf('0x3e')][mf_dgc_0x22bf('0x76')]=this[mf_dgc_0x22bf('0x102')]['id'];else this[mf_dgc_0x22bf('0x3e')][mf_dgc_0x22bf('0x76')]='';}}},{'key':mf_dgc_0x22bf('0x106'),'get':function get(){return this['_themesPath']||'';},'set':function set(_0x231545){if(this[mf_dgc_0x22bf('0x10a')]!=_0x231545){this[mf_dgc_0x22bf('0x10a')]=_0x231545;this[mf_dgc_0x22bf('0x3e')]['themesPath']=_0x231545;}}},{'key':'setTheme','value':function setTheme(_0x4809e,_0x480778){this[mf_dgc_0x22bf('0x76')]=_0x4809e;if(_0x480778){this[mf_dgc_0x22bf('0x62')][mf_dgc_0x22bf('0x64')](function(_0x2be978){return _0x2be978[mf_dgc_0x22bf('0x76')]=_0x4809e;});}}},{'key':mf_dgc_0x22bf('0x75'),'get':function get(){return this[mf_dgc_0x22bf('0x3e')][mf_dgc_0x22bf('0x10b')];},'set':function set(_0x366148){if(this[mf_dgc_0x22bf('0x3e')]['allowInplaceEdit']!=_0x366148){this['tabStrip'][mf_dgc_0x22bf('0x10b')]=_0x366148;}}},{'key':'onDataLoaded','value':function onDataLoaded(_0x3e4fbc,_0x283c80){var _0x416827=this[mf_dgc_0x22bf('0x77')];this[mf_dgc_0x22bf('0x4e')](_0x3e4fbc,_0x283c80);this[mf_dgc_0x22bf('0x77')]=_0x416827!=-0x1?_0x416827:this[mf_dgc_0x22bf('0x62')]['_lastIndex'];this['_lastIndex']=this['items'][mf_dgc_0x22bf('0x10c')]();}},{'key':mf_dgc_0x22bf('0x4e'),'value':function onDocumentChanged(_0x5556b7,_0x245925){var _0xce7e00=this[mf_dgc_0x22bf('0x67')][mf_dgc_0x22bf('0x3d')]['length']==0x0;if(_0xce7e00){this[mf_dgc_0x22bf('0x8c')]=new _0x5d0dfe['Diagram']();this['_selectedPage']=null;}this[mf_dgc_0x22bf('0xe3')]=!_0xce7e00;this['items']=new _0x4d95ec[(mf_dgc_0x22bf('0x10d'))](this[mf_dgc_0x22bf('0x67')][mf_dgc_0x22bf('0x3d')]);this[mf_dgc_0x22bf('0x5d')]();this['tabStrip'][mf_dgc_0x22bf('0x10e')]();if(_0x245925['oldIndex']!=undefined)this[mf_dgc_0x22bf('0x77')]=Math['max'](--_0x245925['oldIndex'],0x0);if(_0x245925[mf_dgc_0x22bf('0x10f')]!=undefined)this['selectedIndex']=_0x245925[mf_dgc_0x22bf('0x10f')];}},{'key':mf_dgc_0x22bf('0xe0'),'value':function onPageValidateAction(_0x31973a,_0x112600,_0x41c407){var _0x292c85=new _0x8bc135({'page':_0x112600,'oldPage':_0x41c407});this[mf_dgc_0x22bf('0x7b')](_0x31973a,_0x292c85);if(_0x292c85[mf_dgc_0x22bf('0x110')])return![];return!![];}},{'key':mf_dgc_0x22bf('0x111'),'value':function onPageRenameStart(_0x12f1a8,_0x197493){var _0x35109a=this;this[mf_dgc_0x22bf('0x112')]=_0x197493[mf_dgc_0x22bf('0xe2')][mf_dgc_0x22bf('0xed')];this[mf_dgc_0x22bf('0x113')]=function(){_0x35109a['inplaceController'][mf_dgc_0x22bf('0x114')](!![]);};this['element']['addEventListener'](mf_dgc_0x22bf('0x115'),this[mf_dgc_0x22bf('0x113')]);}},{'key':mf_dgc_0x22bf('0x116'),'value':function onPageRenameEnd(_0x309273,_0x4104a9){var _0x17cf53=this[mf_dgc_0x22bf('0xea')](_0x4104a9['item']);if(_0x17cf53)_0x17cf53[mf_dgc_0x22bf('0xda')]=_0x4104a9[mf_dgc_0x22bf('0x117')];this['element'][mf_dgc_0x22bf('0x6b')](mf_dgc_0x22bf('0x115'),this[mf_dgc_0x22bf('0x113')]);}},{'key':mf_dgc_0x22bf('0x2e'),'get':function get(){if(!this['_pageChanging'])this[mf_dgc_0x22bf('0x118')]=new _0x4e8a1d[(mf_dgc_0x22bf('0x119'))]();return this[mf_dgc_0x22bf('0x118')];}},{'key':'pageChanged','get':function get(){if(!this[mf_dgc_0x22bf('0x11a')])this[mf_dgc_0x22bf('0x11a')]=new _0x4e8a1d[(mf_dgc_0x22bf('0x119'))]();return this[mf_dgc_0x22bf('0x11a')];}},{'key':'pageAdding','get':function get(){if(!this['_pageAdding'])this[mf_dgc_0x22bf('0x11b')]=new _0x4e8a1d[(mf_dgc_0x22bf('0x119'))]();return this[mf_dgc_0x22bf('0x11b')];}},{'key':'pageAdded','get':function get(){if(!this[mf_dgc_0x22bf('0x11c')])this[mf_dgc_0x22bf('0x11c')]=new _0x4e8a1d[(mf_dgc_0x22bf('0x119'))]();return this['_pageAdded'];}},{'key':mf_dgc_0x22bf('0x31'),'get':function get(){if(!this[mf_dgc_0x22bf('0x11d')])this['_pageRemoving']=new _0x4e8a1d['EventDispatcher']();return this['_pageRemoving'];}},{'key':mf_dgc_0x22bf('0xe1'),'get':function get(){if(!this['_pageRemoved'])this[mf_dgc_0x22bf('0x11e')]=new _0x4e8a1d[(mf_dgc_0x22bf('0x119'))]();return this[mf_dgc_0x22bf('0x11e')];}},{'key':mf_dgc_0x22bf('0x11f'),'value':function connectedCallback(){var _0x6a5ac9=this[mf_dgc_0x22bf('0x120')]({'mode':mf_dgc_0x22bf('0x87')});var _0x127be4=new CSSStyleSheet();_0x127be4[mf_dgc_0x22bf('0x121')](_0x4b2778['uicss']);var _0x362f20=new CSSStyleSheet();_0x362f20['replace'](_0x4b2778[mf_dgc_0x22bf('0x122')]);var _0x4ba87b=new CSSStyleSheet();_0x4ba87b[mf_dgc_0x22bf('0x121')](_0x4b2778['toolstripcss']);var _0x5c547d=new CSSStyleSheet();_0x5c547d[mf_dgc_0x22bf('0x121')](_0x4b2778[mf_dgc_0x22bf('0x123')]);_0x6a5ac9[mf_dgc_0x22bf('0x124')]=[_0x127be4,_0x362f20,_0x4ba87b,_0x5c547d];var _0x200eca=document[mf_dgc_0x22bf('0xbc')](mf_dgc_0x22bf('0xb4'));_0x200eca[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0x125')]=this['style']['cssText'];this[mf_dgc_0x22bf('0xa4')]['cssText']='';var _0x544d7f=document[mf_dgc_0x22bf('0xbc')](mf_dgc_0x22bf('0xce'));_0x544d7f['id']=this[mf_dgc_0x22bf('0x126')]('id');_0x200eca[mf_dgc_0x22bf('0x61')](_0x544d7f);_0x6a5ac9[mf_dgc_0x22bf('0x61')](_0x200eca);this[mf_dgc_0x22bf('0x127')]('id');var _0x18b287=_0x41e1c5[mf_dgc_0x22bf('0x13')](_0x544d7f);_0x18b287[mf_dgc_0x22bf('0x5a')]=_0x6a5ac9;}}],[{'key':mf_dgc_0x22bf('0x13'),'value':function create(_0x506865,_0x256cf1){return _0x4e8a1d['Control'][mf_dgc_0x22bf('0x128')](_0x41e1c5,_0x506865,_0x256cf1);}}]);return _0x41e1c5;}(_0x5d0dfe['DiagramView']);var _0x19a4be=function(){function _0x19a4be(){_0x7db1ca(this,_0x19a4be);}_0x4bee59(_0x19a4be,[{'key':'drawControlPoint','value':function drawControlPoint(_0x449ee2,_0x25afb9,_0x59b098,_0x600718){var _0x2b8bf0=new _0x37683d[(mf_dgc_0x22bf('0x129'))](_0x59b098,new _0x37683d[(mf_dgc_0x22bf('0x12a'))](_0x25afb9,_0x25afb9));_0x2b8bf0[mf_dgc_0x22bf('0x12b')](-_0x25afb9/0x2,-_0x25afb9/0x2);_0x449ee2[mf_dgc_0x22bf('0x12c')]();_0x449ee2[mf_dgc_0x22bf('0x12d')]=_0x600718;_0x449ee2[mf_dgc_0x22bf('0x12e')](_0x2b8bf0['x'],_0x2b8bf0['y'],_0x2b8bf0['width'],_0x2b8bf0['height']);_0x449ee2[mf_dgc_0x22bf('0x12f')](_0x2b8bf0['x'],_0x2b8bf0['y'],_0x2b8bf0[mf_dgc_0x22bf('0xa1')],_0x2b8bf0[mf_dgc_0x22bf('0xa2')]);_0x449ee2[mf_dgc_0x22bf('0x130')]();}},{'key':mf_dgc_0x22bf('0x131'),'get':function get(){return 0x0;}},{'key':'lastHandle','get':function get(){return 0x1;}},{'key':'saveState','value':function saveState(){var _0x5e9234={};_0x5e9234[mf_dgc_0x22bf('0x132')]=this['strokeColor'];_0x5e9234['strokeThickness']=this[mf_dgc_0x22bf('0x133')];_0x5e9234[mf_dgc_0x22bf('0x134')]=this[mf_dgc_0x22bf('0x134')];return _0x5e9234;}},{'key':mf_dgc_0x22bf('0x135'),'value':function loadState(_0x26665e){this[mf_dgc_0x22bf('0x132')]=_0x26665e[mf_dgc_0x22bf('0x132')];this[mf_dgc_0x22bf('0x133')]=_0x26665e[mf_dgc_0x22bf('0x133')];this['strokeDashStyle']=_0x26665e[mf_dgc_0x22bf('0x134')];}},{'key':mf_dgc_0x22bf('0x136'),'value':function isDummy(){return![];}}],[{'key':'defaultSize','get':function get(){return new _0x37683d[(mf_dgc_0x22bf('0x12a'))](0x64,0x28);}}]);return _0x19a4be;}();var _0x4bef83=function(_0x22afcd){_0x3ff91a(_0x4bef83,_0x22afcd);var _0xdc0489=_0x5f420d(_0x4bef83);function _0x4bef83(_0x1104f3,_0x3e4b98){var _0x4ebcca;_0x7db1ca(this,_0x4bef83);_0x4ebcca=_0xdc0489['call'](this);_0x4ebcca['startPoint']=_0x1104f3||new _0x37683d[(mf_dgc_0x22bf('0x137'))](0x0,0x32);_0x4ebcca['endPoint']=_0x3e4b98||new _0x37683d['Point'](0x64,0x32);return _0x4ebcca;}_0x4bee59(_0x4bef83,[{'key':mf_dgc_0x22bf('0x138'),'value':function clone(){return new _0x4bef83(this[mf_dgc_0x22bf('0x139')][mf_dgc_0x22bf('0x138')](),this[mf_dgc_0x22bf('0x13a')][mf_dgc_0x22bf('0x138')]());}},{'key':mf_dgc_0x22bf('0x13b'),'get':function get(){return _0x37683d[mf_dgc_0x22bf('0x13c')]['mid'](this[mf_dgc_0x22bf('0x139')],this['endPoint']);}},{'key':mf_dgc_0x22bf('0x13d'),'value':function distance(_0x16f610){return _0x37683d[mf_dgc_0x22bf('0x13c')][mf_dgc_0x22bf('0x13e')](_0x16f610,this[mf_dgc_0x22bf('0x139')],this[mf_dgc_0x22bf('0x13a')]);}},{'key':mf_dgc_0x22bf('0x12b'),'value':function offset(_0x521c8b){this[mf_dgc_0x22bf('0x139')][mf_dgc_0x22bf('0x13f')](_0x521c8b);this[mf_dgc_0x22bf('0x13a')][mf_dgc_0x22bf('0x13f')](_0x521c8b);}},{'key':'orientate','value':function orientate(_0x419c17,_0x7a1153){this[mf_dgc_0x22bf('0x139')]=_0x419c17[mf_dgc_0x22bf('0x138')]();this[mf_dgc_0x22bf('0x13a')]=_0x7a1153['clone']();}},{'key':'scale','value':function scale(_0x27b689,_0x2b0fa4){var _0x9b66=new _0x37683d[(mf_dgc_0x22bf('0x140'))]();_0x9b66[mf_dgc_0x22bf('0x141')](_0x2b0fa4['x'],_0x2b0fa4['y']);_0x9b66[mf_dgc_0x22bf('0xaf')](_0x27b689,_0x27b689);_0x9b66['translate'](-_0x2b0fa4['x'],-_0x2b0fa4['y']);_0x9b66[mf_dgc_0x22bf('0x142')](this[mf_dgc_0x22bf('0x139')]);_0x9b66[mf_dgc_0x22bf('0x142')](this['endPoint']);}},{'key':mf_dgc_0x22bf('0x143'),'value':function toShape(){var _0x166cf9={'outline':this[mf_dgc_0x22bf('0x144')](!![]),'id':mf_dgc_0x22bf('0x145')};return new _0x5d0dfe['Shape'](_0x166cf9);}},{'key':'addToContext','value':function addToContext(_0x464b4e,_0x53efc5){if(_0x53efc5)_0x464b4e[mf_dgc_0x22bf('0x146')](this['startPoint']['x'],this[mf_dgc_0x22bf('0x139')]['y']);_0x464b4e[mf_dgc_0x22bf('0x147')](this[mf_dgc_0x22bf('0x13a')]['x'],this[mf_dgc_0x22bf('0x13a')]['y']);}},{'key':mf_dgc_0x22bf('0x60'),'value':function draw(_0x3abd47,_0x1df6bc){_0x3abd47[mf_dgc_0x22bf('0x12c')]();if(!_0x1df6bc)_0x1df6bc={'color':mf_dgc_0x22bf('0x148'),'width':0x1,'dashStyle':0x0};_0x3abd47[mf_dgc_0x22bf('0x149')]=this[mf_dgc_0x22bf('0x132')]||_0x1df6bc[mf_dgc_0x22bf('0x14a')];_0x3abd47[mf_dgc_0x22bf('0x14b')]=(this[mf_dgc_0x22bf('0x133')]!=undefined?this['strokeThickness']:_0x1df6bc[mf_dgc_0x22bf('0xa1')])*_0x3abd47[mf_dgc_0x22bf('0x14c')];_0x37683d[mf_dgc_0x22bf('0x14d')][mf_dgc_0x22bf('0x1b')](_0x3abd47,this[mf_dgc_0x22bf('0x134')]!=undefined?this[mf_dgc_0x22bf('0x134')]:_0x1df6bc['dashStyle']);_0x3abd47[mf_dgc_0x22bf('0x14e')]();_0x3abd47[mf_dgc_0x22bf('0x146')](this['startPoint']['x'],this[mf_dgc_0x22bf('0x139')]['y']);_0x3abd47[mf_dgc_0x22bf('0x147')](this[mf_dgc_0x22bf('0x13a')]['x'],this[mf_dgc_0x22bf('0x13a')]['y']);_0x3abd47[mf_dgc_0x22bf('0x14f')]();_0x3abd47[mf_dgc_0x22bf('0x130')]();}},{'key':'drawControlPoints','value':function drawControlPoints(_0x537293,_0x1eda61,_0xadb5c5){this[mf_dgc_0x22bf('0x150')](_0x537293,_0x1eda61,this[mf_dgc_0x22bf('0x139')],_0xadb5c5);this[mf_dgc_0x22bf('0x150')](_0x537293,_0x1eda61,this[mf_dgc_0x22bf('0x13a')],_0xadb5c5);}},{'key':mf_dgc_0x22bf('0x151'),'value':function hitTestHandle(_0x529cf8,_0x4bc00d){var _0x5aa59f=_0x529cf8[mf_dgc_0x22bf('0x13d')](this['startPoint']);if(_0x5aa59f<_0x4bc00d)return 0x0;var _0x4f99ed=_0x529cf8[mf_dgc_0x22bf('0x13d')](this[mf_dgc_0x22bf('0x13a')]);if(_0x4f99ed<_0x4bc00d)return 0x1;return-0x1;}},{'key':mf_dgc_0x22bf('0x152'),'value':function updateFromHandle(_0xd5433,_0x5de88c){if(_0xd5433==0x0)this[mf_dgc_0x22bf('0x139')]=_0x5de88c;if(_0xd5433==0x1)this[mf_dgc_0x22bf('0x13a')]=_0x5de88c;}},{'key':mf_dgc_0x22bf('0x144'),'value':function exportElement(_0x1c31df){var _0x1ba5e8='';if(_0x1c31df)_0x1ba5e8='M'[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x139')]['x'],',')[mf_dgc_0x22bf('0x153')](this['startPoint']['y'],'\x20');_0x1ba5e8+='L'[mf_dgc_0x22bf('0x153')](this['endPoint']['x'],',')[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x13a')]['y'],'\x20');return _0x1ba5e8;}},{'key':'exportShapeElement','value':function exportShapeElement(){var _0x177416=[];_0x177416['push'](new _0x5d0dfe[(mf_dgc_0x22bf('0x154'))](mf_dgc_0x22bf('0x146'),[this['startPoint']['x'],this[mf_dgc_0x22bf('0x139')]['y']]));_0x177416['push'](new _0x5d0dfe['ShapeElement'](mf_dgc_0x22bf('0x147'),[this[mf_dgc_0x22bf('0x13a')]['x'],this[mf_dgc_0x22bf('0x13a')]['y']],this['strokeColor'],this[mf_dgc_0x22bf('0x133')],this[mf_dgc_0x22bf('0x134')]));return _0x177416;}},{'key':mf_dgc_0x22bf('0x155'),'value':function saveState(){var _0x2881ef=_0x58abde(_0x12582c(_0x4bef83[mf_dgc_0x22bf('0x12')]),mf_dgc_0x22bf('0x155'),this)[mf_dgc_0x22bf('0x19')](this);_0x2881ef[mf_dgc_0x22bf('0x139')]=this[mf_dgc_0x22bf('0x139')][mf_dgc_0x22bf('0x138')]();_0x2881ef[mf_dgc_0x22bf('0x13a')]=this[mf_dgc_0x22bf('0x13a')][mf_dgc_0x22bf('0x138')]();return _0x2881ef;}},{'key':mf_dgc_0x22bf('0x135'),'value':function loadState(_0x5e1438){_0x58abde(_0x12582c(_0x4bef83['prototype']),'loadState',this)['call'](this,_0x5e1438);this['startPoint']=_0x5e1438[mf_dgc_0x22bf('0x139')];this[mf_dgc_0x22bf('0x13a')]=_0x5e1438['endPoint'];}}],[{'key':mf_dgc_0x22bf('0x156'),'value':function fromCenter(_0x108288){var _0x42b308=_0x37683d[mf_dgc_0x22bf('0x129')][mf_dgc_0x22bf('0x157')](_0x108288,_0x19a4be[mf_dgc_0x22bf('0x158')]);var _0x87316c=new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x42b308['x'],_0x42b308['y']+_0x42b308[mf_dgc_0x22bf('0xa2')]/0x2);var _0x410dbb=new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x42b308['x']+_0x42b308[mf_dgc_0x22bf('0xa1')],_0x42b308['y']+_0x42b308[mf_dgc_0x22bf('0xa2')]/0x2);return new _0x4bef83(_0x87316c,_0x410dbb);}},{'key':mf_dgc_0x22bf('0x159'),'value':function _default(){return new _0x4bef83();}}]);return _0x4bef83;}(_0x19a4be);var _0x2d41a6=function(_0x1f0dc3){_0x3ff91a(_0x2d41a6,_0x1f0dc3);var _0x45667b=_0x5f420d(_0x2d41a6);function _0x2d41a6(_0x46eab2,_0xb96d40,_0x5f2f44,_0x188ef9,_0x1d4210,_0x2f77ea,_0x5041ef,_0x3f812f){var _0x94ed2c;_0x7db1ca(this,_0x2d41a6);_0x94ed2c=_0x45667b[mf_dgc_0x22bf('0x19')](this);_0x94ed2c[mf_dgc_0x22bf('0x15a')]=[new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x46eab2,_0xb96d40),new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x5f2f44,_0x188ef9),new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x1d4210,_0x2f77ea),new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x5041ef,_0x3f812f)];return _0x94ed2c;}_0x4bee59(_0x2d41a6,[{'key':mf_dgc_0x22bf('0x138'),'value':function clone(){return _0x2d41a6[mf_dgc_0x22bf('0x15b')](this[mf_dgc_0x22bf('0x15a')]);}},{'key':'startPoint','get':function get(){return this[mf_dgc_0x22bf('0x15a')][0x0];}},{'key':mf_dgc_0x22bf('0x13a'),'get':function get(){return this[mf_dgc_0x22bf('0x15a')][0x3];}},{'key':mf_dgc_0x22bf('0x13b'),'get':function get(){var _0x3f0d7c=0x0,_0x2e9e6e=0x0;for(var _0x36325e in this[mf_dgc_0x22bf('0x15a')]){_0x3f0d7c+=_0x36325e['x'];_0x2e9e6e+=_0x36325e['y'];}return new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x3f0d7c/0x4,_0x2e9e6e/0x4);}},{'key':mf_dgc_0x22bf('0x15c'),'get':function get(){return 0x3;}},{'key':mf_dgc_0x22bf('0x13d'),'value':function distance(_0x4b4783){return _0x37683d['DrawingUtils'][mf_dgc_0x22bf('0x15d')](_0x4b4783,this['points'],{'value':0x4});}},{'key':'offset','value':function offset(_0x4540cc){this[mf_dgc_0x22bf('0x15a')][mf_dgc_0x22bf('0x64')](function(_0x1ef224){return _0x1ef224[mf_dgc_0x22bf('0x13f')](_0x4540cc);});}},{'key':mf_dgc_0x22bf('0x15e'),'value':function orientate(_0x1a6b7a,_0x31db3c){this[mf_dgc_0x22bf('0x15a')][0x0]=_0x1a6b7a[mf_dgc_0x22bf('0x138')]();this[mf_dgc_0x22bf('0x15a')][0x3]=_0x31db3c[mf_dgc_0x22bf('0x138')]();var _0x5aa3b5=new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x31db3c['x']-_0x1a6b7a['x'],_0x31db3c['y']-_0x1a6b7a['y']);var _0x3da275=Math[mf_dgc_0x22bf('0x15f')](_0x5aa3b5['x']*_0x5aa3b5['x']+_0x5aa3b5['y']*_0x5aa3b5['y']);var _0xacebd=new _0x37683d['Point'](_0x5aa3b5['y'],-_0x5aa3b5['x']);var _0x211a62=new _0x37683d['Point'](_0xacebd['x']/_0x3da275,_0xacebd['y']/_0x3da275);this['points'][0x1]=new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x1a6b7a['x']+_0x5aa3b5['x']/0x3+_0x211a62['x']*_0x3da275/0x8,_0x1a6b7a['y']+_0x5aa3b5['y']/0x3+_0x211a62['y']*_0x3da275/0x8);this[mf_dgc_0x22bf('0x15a')][0x2]=new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x1a6b7a['x']+0x2*_0x5aa3b5['x']/0x3-_0x211a62['x']*_0x3da275/0x8,_0x1a6b7a['y']+0x2*_0x5aa3b5['y']/0x3-_0x211a62['y']*_0x3da275/0x8);}},{'key':mf_dgc_0x22bf('0xaf'),'value':function scale(_0x317bed,_0x181a04){var _0x32e9ce=new _0x37683d[(mf_dgc_0x22bf('0x140'))]();_0x32e9ce[mf_dgc_0x22bf('0x141')](_0x181a04['x'],_0x181a04['y']);_0x32e9ce[mf_dgc_0x22bf('0xaf')](_0x317bed,_0x317bed);_0x32e9ce[mf_dgc_0x22bf('0x141')](-_0x181a04['x'],-_0x181a04['y']);_0x32e9ce[mf_dgc_0x22bf('0x142')](this['points'][0x0]);_0x32e9ce[mf_dgc_0x22bf('0x142')](this[mf_dgc_0x22bf('0x15a')][0x1]);_0x32e9ce[mf_dgc_0x22bf('0x142')](this['points'][0x2]);_0x32e9ce[mf_dgc_0x22bf('0x142')](this[mf_dgc_0x22bf('0x15a')][0x3]);}},{'key':mf_dgc_0x22bf('0x160'),'value':function addToContext(_0x42643c,_0x2486db){_0x42643c[mf_dgc_0x22bf('0x146')](this[mf_dgc_0x22bf('0x15a')][0x0]['x'],this[mf_dgc_0x22bf('0x15a')][0x0]['y']);_0x42643c['bezierCurveTo'](this[mf_dgc_0x22bf('0x15a')][0x1]['x'],this[mf_dgc_0x22bf('0x15a')][0x1]['y'],this[mf_dgc_0x22bf('0x15a')][0x2]['x'],this['points'][0x2]['y'],this[mf_dgc_0x22bf('0x15a')][0x3]['x'],this[mf_dgc_0x22bf('0x15a')][0x3]['y']);}},{'key':'draw','value':function draw(_0x2dd870,_0x2b94b1){_0x2dd870['save']();if(!_0x2b94b1)_0x2b94b1={'color':mf_dgc_0x22bf('0x148'),'width':0x1,'dashStyle':0x0};_0x2dd870[mf_dgc_0x22bf('0x149')]=this[mf_dgc_0x22bf('0x132')]||_0x2b94b1[mf_dgc_0x22bf('0x14a')];_0x2dd870[mf_dgc_0x22bf('0x14b')]=(this[mf_dgc_0x22bf('0x133')]!=undefined?this[mf_dgc_0x22bf('0x133')]:_0x2b94b1['width'])*_0x2dd870[mf_dgc_0x22bf('0x14c')];_0x37683d['DashStyle'][mf_dgc_0x22bf('0x1b')](_0x2dd870,this[mf_dgc_0x22bf('0x134')]!=undefined?this[mf_dgc_0x22bf('0x134')]:_0x2b94b1[mf_dgc_0x22bf('0x161')]);_0x2dd870[mf_dgc_0x22bf('0x14e')]();this[mf_dgc_0x22bf('0x160')](_0x2dd870);_0x2dd870['stroke']();_0x2dd870[mf_dgc_0x22bf('0x130')]();}},{'key':'drawControlPoints','value':function drawControlPoints(_0x545186,_0x515e9a,_0x148495){for(var _0x351ead=0x0;_0x351ead<0x4;_0x351ead++){this[mf_dgc_0x22bf('0x150')](_0x545186,_0x515e9a,this[mf_dgc_0x22bf('0x15a')][_0x351ead],_0x148495);}}},{'key':mf_dgc_0x22bf('0x151'),'value':function hitTestHandle(_0x3f4ec1,_0x5b385b){for(var _0x18d93e=0x0;_0x18d93e<0x4;_0x18d93e++){var _0x2add8e=_0x3f4ec1['distance'](this['points'][_0x18d93e]);if(_0x2add8e<_0x5b385b)return _0x18d93e;}return-0x1;}},{'key':'updateFromHandle','value':function updateFromHandle(_0x5068f8,_0x4107bf){this[mf_dgc_0x22bf('0x15a')][_0x5068f8]=_0x4107bf;}},{'key':'saveState','value':function saveState(){var _0x25b172=_0x58abde(_0x12582c(_0x2d41a6[mf_dgc_0x22bf('0x12')]),mf_dgc_0x22bf('0x155'),this)[mf_dgc_0x22bf('0x19')](this);_0x25b172[mf_dgc_0x22bf('0x15a')]=_0xbce20d(this['points']);return _0x25b172;}},{'key':mf_dgc_0x22bf('0x135'),'value':function loadState(_0x185085){_0x58abde(_0x12582c(_0x2d41a6[mf_dgc_0x22bf('0x12')]),mf_dgc_0x22bf('0x135'),this)[mf_dgc_0x22bf('0x19')](this,_0x185085);this[mf_dgc_0x22bf('0x15a')]=_0x185085[mf_dgc_0x22bf('0x15a')];}},{'key':'toShape','value':function toShape(){var _0x2a8967={'outline':this['exportElement'](!![]),'id':'Bezier'};return new _0x5d0dfe[(mf_dgc_0x22bf('0x162'))](_0x2a8967);}},{'key':mf_dgc_0x22bf('0x144'),'value':function exportElement(_0x1b5212){var _0x58e0d9='';if(_0x1b5212)_0x58e0d9='M'[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x15a')][0x0]['x'],',')['concat'](this['points'][0x0]['y'],'\x20');_0x58e0d9+='C'['concat'](this[mf_dgc_0x22bf('0x15a')][0x1]['x'],',')[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x15a')][0x1]['y'],',')[mf_dgc_0x22bf('0x153')](this['points'][0x2]['x'],',')[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x15a')][0x2]['y'],',')[mf_dgc_0x22bf('0x153')](this['points'][0x3]['x'],',')['concat'](this['points'][0x3]['y'],'\x20');return _0x58e0d9;}},{'key':'exportShapeElement','value':function exportShapeElement(){var _0x2c1685=[];_0x2c1685[mf_dgc_0x22bf('0x1a')](new _0x5d0dfe[(mf_dgc_0x22bf('0x154'))](mf_dgc_0x22bf('0x146'),[this[mf_dgc_0x22bf('0x15a')][0x0]['x'],this['points'][0x0]['y']]));_0x2c1685[mf_dgc_0x22bf('0x1a')](new _0x5d0dfe[(mf_dgc_0x22bf('0x154'))](mf_dgc_0x22bf('0x163'),[this[mf_dgc_0x22bf('0x15a')][0x1]['x'],this['points'][0x1]['y'],this['points'][0x2]['x'],this['points'][0x2]['y'],this[mf_dgc_0x22bf('0x15a')][0x3]['x'],this[mf_dgc_0x22bf('0x15a')][0x3]['y']],this[mf_dgc_0x22bf('0x132')],this[mf_dgc_0x22bf('0x133')],this['strokeDashStyle']));return _0x2c1685;}}],[{'key':mf_dgc_0x22bf('0x15b'),'value':function fromPoints(_0x440436){return new _0x2d41a6(_0x440436[0x0]['x'],_0x440436[0x0]['y'],_0x440436[0x1]['x'],_0x440436[0x1]['y'],_0x440436[0x2]['x'],_0x440436[0x2]['y'],_0x440436[0x3]['x'],_0x440436[0x3]['y']);}},{'key':mf_dgc_0x22bf('0x156'),'value':function fromCenter(_0x33cb06){var _0x29466e=_0x37683d[mf_dgc_0x22bf('0x129')][mf_dgc_0x22bf('0x157')](_0x33cb06,_0x19a4be[mf_dgc_0x22bf('0x158')]);var _0x7f80da=[new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x29466e['x'],_0x29466e['y']+_0x29466e['height']/0x2),new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x29466e['x']+_0x29466e[mf_dgc_0x22bf('0xa1')]/0x3,_0x29466e['y']),new _0x37683d['Point'](_0x29466e['x']+_0x29466e[mf_dgc_0x22bf('0xa1')]-_0x29466e['width']/0x3,_0x29466e['y']+_0x29466e[mf_dgc_0x22bf('0xa2')]),new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x29466e['x']+_0x29466e[mf_dgc_0x22bf('0xa1')],_0x29466e['y']+_0x29466e[mf_dgc_0x22bf('0xa2')]/0x2)];var _0x2f77c7=0x0,_0x4b582c=0x0;_0x7f80da[mf_dgc_0x22bf('0x64')](function(_0x518672){_0x2f77c7+=_0x518672['x'];_0x4b582c+=_0x518672['y'];});var _0x12e5ad=new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x2f77c7/0x4,_0x4b582c/0x4);var _0x2aa860=[][mf_dgc_0x22bf('0x153')](_0x7f80da);_0x2aa860[mf_dgc_0x22bf('0x64')](function(_0x4a0bc8){_0x4a0bc8['x']+=_0x33cb06['x']-_0x12e5ad['x'];_0x4a0bc8['y']+=_0x33cb06['y']-_0x12e5ad['y'];});return _0x2d41a6['fromPoints'](_0x2aa860);}},{'key':mf_dgc_0x22bf('0x159'),'value':function _default(){var _0x3cf3b5=new _0x37683d[(mf_dgc_0x22bf('0x129'))](0x0,0x0,0x64,0x64);var _0x2b3f8a=_0x3cf3b5[mf_dgc_0x22bf('0x13b')]();var _0x4d8d35=[new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x3cf3b5['x'],_0x3cf3b5['y']+_0x3cf3b5[mf_dgc_0x22bf('0xa2')]/0x2),new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x3cf3b5['x']+_0x3cf3b5[mf_dgc_0x22bf('0xa1')]/0x3,_0x3cf3b5['y']),new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x3cf3b5['x']+_0x3cf3b5[mf_dgc_0x22bf('0xa1')]-_0x3cf3b5[mf_dgc_0x22bf('0xa1')]/0x3,_0x3cf3b5['y']+_0x3cf3b5[mf_dgc_0x22bf('0xa2')]),new _0x37683d['Point'](_0x3cf3b5['x']+_0x3cf3b5[mf_dgc_0x22bf('0xa1')],_0x3cf3b5['y']+_0x3cf3b5[mf_dgc_0x22bf('0xa2')]/0x2)];var _0x5f5df1=0x0,_0x46bd78=0x0;_0x4d8d35[mf_dgc_0x22bf('0x64')](function(_0x2c24dd){_0x5f5df1+=_0x2c24dd['x'];_0x46bd78+=_0x2c24dd['y'];});var _0x5c31a0=new _0x37683d['Point'](_0x5f5df1/0x4,_0x46bd78/0x4);var _0x1721d7=[][mf_dgc_0x22bf('0x153')](_0x4d8d35);_0x1721d7['forEach'](function(_0x3b5af5){_0x3b5af5['x']+=_0x2b3f8a['x']-_0x5c31a0['x'];_0x3b5af5['y']+=_0x2b3f8a['y']-_0x5c31a0['y'];});return _0x2d41a6['fromPoints'](_0x1721d7);}}]);return _0x2d41a6;}(_0x19a4be);var _0x53ce3f=function(_0x3ab326){_0x3ff91a(_0x53ce3f,_0x3ab326);var _0x3363f9=_0x5f420d(_0x53ce3f);function _0x53ce3f(_0x276902,_0x4e77cc,_0x3ef309,_0x446f4f,_0x34f39b,_0x6257cb){var _0x4d6064;_0x7db1ca(this,_0x53ce3f);_0x4d6064=_0x3363f9[mf_dgc_0x22bf('0x19')](this);var _0x887697=_0x276902+_0x3ef309*Math[mf_dgc_0x22bf('0x164')](_0x446f4f);var _0x1b4607=_0x4e77cc+_0x3ef309*Math[mf_dgc_0x22bf('0x165')](_0x446f4f);var _0xd462c6=_0x276902+_0x3ef309*Math[mf_dgc_0x22bf('0x164')](_0x34f39b);var _0x95393d=_0x4e77cc+_0x3ef309*Math[mf_dgc_0x22bf('0x165')](_0x34f39b);_0x4d6064[mf_dgc_0x22bf('0x139')]=new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x887697,_0x1b4607);_0x4d6064['controlPoint']=new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x276902,_0x4e77cc);_0x4d6064[mf_dgc_0x22bf('0x13a')]=new _0x37683d['Point'](_0xd462c6,_0x95393d);return _0x4d6064;}_0x4bee59(_0x53ce3f,[{'key':mf_dgc_0x22bf('0x138'),'value':function clone(){return _0x53ce3f[mf_dgc_0x22bf('0x15b')](this['startPoint'],this[mf_dgc_0x22bf('0x13a')],this[mf_dgc_0x22bf('0x166')]);}},{'key':mf_dgc_0x22bf('0x15c'),'get':function get(){return 0x2;}},{'key':mf_dgc_0x22bf('0x13b'),'get':function get(){return this['controlPoint'];}},{'key':mf_dgc_0x22bf('0x13d'),'value':function distance(_0x2bde7b){var _0x427403=_0x2bde7b[mf_dgc_0x22bf('0x13d')](this[mf_dgc_0x22bf('0x139')]);_0x427403=Math[mf_dgc_0x22bf('0xac')](_0x427403,_0x2bde7b[mf_dgc_0x22bf('0x13d')](this['controlPoint']));_0x427403=Math['min'](_0x427403,_0x2bde7b[mf_dgc_0x22bf('0x13d')](this[mf_dgc_0x22bf('0x13a')]));return _0x427403;}},{'key':mf_dgc_0x22bf('0x12b'),'value':function offset(_0x2c272d){this['startPoint']['addVector'](_0x2c272d);this[mf_dgc_0x22bf('0x13a')][mf_dgc_0x22bf('0x13f')](_0x2c272d);this[mf_dgc_0x22bf('0x166')]['addVector'](_0x2c272d);}},{'key':mf_dgc_0x22bf('0x15e'),'value':function orientate(_0x5064db,_0xf69c58){this[mf_dgc_0x22bf('0x139')]=_0x5064db[mf_dgc_0x22bf('0x138')]();this[mf_dgc_0x22bf('0x13a')]=_0xf69c58['clone']();this[mf_dgc_0x22bf('0x166')]=_0x37683d[mf_dgc_0x22bf('0x13c')][mf_dgc_0x22bf('0x167')](this[mf_dgc_0x22bf('0x139')],this[mf_dgc_0x22bf('0x13a')]);}},{'key':mf_dgc_0x22bf('0xaf'),'value':function scale(_0xc04e9b,_0x2181e6){var _0x3b57cf=new _0x37683d['Matrix']();_0x3b57cf[mf_dgc_0x22bf('0x141')](_0x2181e6['x'],_0x2181e6['y']);_0x3b57cf[mf_dgc_0x22bf('0xaf')](_0xc04e9b,_0xc04e9b);_0x3b57cf[mf_dgc_0x22bf('0x141')](-_0x2181e6['x'],-_0x2181e6['y']);_0x3b57cf[mf_dgc_0x22bf('0x142')](this[mf_dgc_0x22bf('0x139')]);_0x3b57cf[mf_dgc_0x22bf('0x142')](this[mf_dgc_0x22bf('0x13a')]);_0x3b57cf[mf_dgc_0x22bf('0x142')](this[mf_dgc_0x22bf('0x166')]);}},{'key':mf_dgc_0x22bf('0x160'),'value':function addToContext(_0x53a202){var _0x568cd4=Math['abs'](this[mf_dgc_0x22bf('0x166')][mf_dgc_0x22bf('0x13d')](this[mf_dgc_0x22bf('0x139')]));var _0x15413e=_0x37683d[mf_dgc_0x22bf('0x168')]['degreeToRadian'](this['controlPoint'][mf_dgc_0x22bf('0x169')](this['startPoint']));var _0xe2ecaf=_0x37683d[mf_dgc_0x22bf('0x168')][mf_dgc_0x22bf('0x16a')](this[mf_dgc_0x22bf('0x166')]['angleBetween'](this['endPoint']));_0x53a202[mf_dgc_0x22bf('0x16b')](this['controlPoint']['x'],this[mf_dgc_0x22bf('0x166')]['y'],_0x568cd4,_0x15413e,_0xe2ecaf,![]);}},{'key':mf_dgc_0x22bf('0x60'),'value':function draw(_0x57e734,_0x5cb8f1){_0x57e734[mf_dgc_0x22bf('0x12c')]();if(!_0x5cb8f1)_0x5cb8f1={'color':mf_dgc_0x22bf('0x148'),'width':0x1,'dashStyle':0x0};_0x57e734[mf_dgc_0x22bf('0x149')]=this[mf_dgc_0x22bf('0x132')]||_0x5cb8f1[mf_dgc_0x22bf('0x14a')];_0x57e734[mf_dgc_0x22bf('0x14b')]=(this[mf_dgc_0x22bf('0x133')]!=undefined?this[mf_dgc_0x22bf('0x133')]:_0x5cb8f1[mf_dgc_0x22bf('0xa1')])*_0x57e734['_mf_scale'];_0x37683d[mf_dgc_0x22bf('0x14d')]['apply'](_0x57e734,this[mf_dgc_0x22bf('0x134')]!=undefined?this[mf_dgc_0x22bf('0x134')]:_0x5cb8f1[mf_dgc_0x22bf('0x161')]);_0x57e734[mf_dgc_0x22bf('0x14e')]();this[mf_dgc_0x22bf('0x160')](_0x57e734);_0x57e734[mf_dgc_0x22bf('0x14f')]();_0x57e734[mf_dgc_0x22bf('0x130')]();}},{'key':mf_dgc_0x22bf('0x16c'),'value':function drawControlPoints(_0x558607,_0x5dee2a,_0x438efc){this['drawControlPoint'](_0x558607,_0x5dee2a,this['startPoint'],_0x438efc);this[mf_dgc_0x22bf('0x150')](_0x558607,_0x5dee2a,this[mf_dgc_0x22bf('0x166')],_0x438efc);this['drawControlPoint'](_0x558607,_0x5dee2a,this[mf_dgc_0x22bf('0x13a')],_0x438efc);}},{'key':'hitTestHandle','value':function hitTestHandle(_0x1fba00,_0x3e4b46){var _0x53aa31=_0x1fba00['distance'](this[mf_dgc_0x22bf('0x139')]);if(_0x53aa31<_0x3e4b46)return 0x0;var _0x53aa31=_0x1fba00[mf_dgc_0x22bf('0x13d')](this[mf_dgc_0x22bf('0x166')]);if(_0x53aa31<_0x3e4b46)return 0x1;var _0x53aa31=_0x1fba00[mf_dgc_0x22bf('0x13d')](this[mf_dgc_0x22bf('0x13a')]);if(_0x53aa31<_0x3e4b46)return 0x2;return-0x1;}},{'key':mf_dgc_0x22bf('0x152'),'value':function updateFromHandle(_0x5c64d5,_0x2d2786){if(_0x5c64d5==0x0)this[mf_dgc_0x22bf('0x139')]=_0x2d2786['clone']();if(_0x5c64d5==0x2)this['endPoint']=_0x2d2786[mf_dgc_0x22bf('0x138')]();this[mf_dgc_0x22bf('0x166')]=_0x37683d[mf_dgc_0x22bf('0x13c')]['midPoint'](this['startPoint'],this[mf_dgc_0x22bf('0x13a')]);}},{'key':mf_dgc_0x22bf('0x155'),'value':function saveState(){var _0x4290c2=_0x58abde(_0x12582c(_0x53ce3f[mf_dgc_0x22bf('0x12')]),mf_dgc_0x22bf('0x155'),this)[mf_dgc_0x22bf('0x19')](this);_0x4290c2[mf_dgc_0x22bf('0x139')]=this[mf_dgc_0x22bf('0x139')][mf_dgc_0x22bf('0x138')]();_0x4290c2[mf_dgc_0x22bf('0x13a')]=this[mf_dgc_0x22bf('0x13a')][mf_dgc_0x22bf('0x138')]();_0x4290c2['controlPoint']=this[mf_dgc_0x22bf('0x166')][mf_dgc_0x22bf('0x138')]();return _0x4290c2;}},{'key':mf_dgc_0x22bf('0x135'),'value':function loadState(_0x437b02){_0x58abde(_0x12582c(_0x53ce3f['prototype']),mf_dgc_0x22bf('0x135'),this)[mf_dgc_0x22bf('0x19')](this,_0x437b02);this[mf_dgc_0x22bf('0x139')]=_0x437b02['controlPoint'][mf_dgc_0x22bf('0x138')]();this[mf_dgc_0x22bf('0x13a')]=_0x437b02['controlPoint']['clone']();this[mf_dgc_0x22bf('0x166')]=_0x437b02[mf_dgc_0x22bf('0x166')]['clone']();}},{'key':mf_dgc_0x22bf('0x143'),'value':function toShape(){var _0x12900a={'outline':this['exportElement'](),'id':'Arc'};return new _0x5d0dfe[(mf_dgc_0x22bf('0x162'))](_0x12900a);}},{'key':mf_dgc_0x22bf('0x144'),'value':function exportElement(){var _0x423b9a=Math['abs'](this['controlPoint']['distance'](this['startPoint']));var _0x832ef7=_0x37683d[mf_dgc_0x22bf('0x168')]['degreeToRadian'](this['controlPoint'][mf_dgc_0x22bf('0x169')](this[mf_dgc_0x22bf('0x139')]));var _0xb443e5=_0x37683d[mf_dgc_0x22bf('0x168')][mf_dgc_0x22bf('0x16a')](this[mf_dgc_0x22bf('0x166')][mf_dgc_0x22bf('0x169')](this['endPoint']));return'X'['concat'](this['controlPoint']['x'],',')[mf_dgc_0x22bf('0x153')](this['controlPoint']['y'],',')[mf_dgc_0x22bf('0x153')](_0x423b9a,',')[mf_dgc_0x22bf('0x153')](_0x832ef7,',')[mf_dgc_0x22bf('0x153')](_0xb443e5,',0');}},{'key':mf_dgc_0x22bf('0x16d'),'value':function exportShapeElement(){var _0x55d951=[];_0x55d951[mf_dgc_0x22bf('0x1a')](new _0x5d0dfe[(mf_dgc_0x22bf('0x154'))]('moveTo',[this[mf_dgc_0x22bf('0x139')]['x'],this[mf_dgc_0x22bf('0x139')]['y']]));var _0x2bc5bc=Math[mf_dgc_0x22bf('0x16e')](this[mf_dgc_0x22bf('0x166')][mf_dgc_0x22bf('0x13d')](this[mf_dgc_0x22bf('0x139')]));var _0x5e711d=_0x37683d[mf_dgc_0x22bf('0x168')][mf_dgc_0x22bf('0x16a')](this[mf_dgc_0x22bf('0x166')][mf_dgc_0x22bf('0x169')](this[mf_dgc_0x22bf('0x139')]));var _0x290c42=_0x37683d['Geometry'][mf_dgc_0x22bf('0x16a')](this[mf_dgc_0x22bf('0x166')][mf_dgc_0x22bf('0x169')](this['endPoint']));_0x55d951[mf_dgc_0x22bf('0x1a')](new _0x5d0dfe['ShapeElement'](mf_dgc_0x22bf('0x16b'),[this[mf_dgc_0x22bf('0x166')]['x'],this[mf_dgc_0x22bf('0x166')]['y'],_0x2bc5bc,_0x5e711d,_0x290c42,0x0],this[mf_dgc_0x22bf('0x132')],this[mf_dgc_0x22bf('0x133')],this[mf_dgc_0x22bf('0x134')]));return _0x55d951;}}],[{'key':mf_dgc_0x22bf('0x15b'),'value':function fromPoints(_0x3fb26c,_0xb7ae6a,_0x2464a4){var _0x58cbfb=_0x2464a4['x'];var _0x5bf5c6=_0x2464a4['y'];var _0x5b7233=_0x2464a4[mf_dgc_0x22bf('0x13d')](_0x3fb26c);var _0x449177=_0x3fb26c[mf_dgc_0x22bf('0x169')](_0x2464a4);var _0x386483=_0xb7ae6a['angleBetween'](_0x2464a4);return new _0x53ce3f(_0x58cbfb,_0x5bf5c6,_0x5b7233,_0x449177,_0x386483,![]);}},{'key':'fromCenter','value':function fromCenter(_0xbd2d35){var _0x3f7aff=_0x37683d[mf_dgc_0x22bf('0x129')]['fromCenterAndSize'](_0xbd2d35,_0x19a4be['defaultSize']);var _0x25a8f6=new _0x53ce3f();_0x25a8f6['startPoint']=new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x3f7aff['x'],_0x3f7aff['y']+_0x3f7aff[mf_dgc_0x22bf('0xa2')]);_0x25a8f6[mf_dgc_0x22bf('0x166')]=new _0x37683d['Point'](_0x3f7aff['x']+_0x3f7aff[mf_dgc_0x22bf('0xa1')]/0x2,_0x3f7aff['y']+_0x3f7aff[mf_dgc_0x22bf('0xa2')]);_0x25a8f6[mf_dgc_0x22bf('0x13a')]=new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x3f7aff['x']+_0x3f7aff['width'],_0x3f7aff['y']+_0x3f7aff[mf_dgc_0x22bf('0xa2')]);return _0x25a8f6;}},{'key':mf_dgc_0x22bf('0x159'),'value':function _default(){var _0x5e2855=new _0x37683d[(mf_dgc_0x22bf('0x129'))](0x0,0x0,0x64,0x64);var _0xe38932=new _0x53ce3f();_0xe38932[mf_dgc_0x22bf('0x139')]=new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x5e2855['x'],_0x5e2855['y']+_0x5e2855[mf_dgc_0x22bf('0xa2')]/0x2);_0xe38932['controlPoint']=new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x5e2855['x']+_0x5e2855[mf_dgc_0x22bf('0xa1')]/0x2,_0x5e2855['y']+_0x5e2855[mf_dgc_0x22bf('0xa2')]);_0xe38932[mf_dgc_0x22bf('0x13a')]=new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x5e2855['x']+_0x5e2855[mf_dgc_0x22bf('0xa1')],_0x5e2855['y']+_0x5e2855[mf_dgc_0x22bf('0xa2')]/0x2);return _0xe38932;}}]);return _0x53ce3f;}(_0x19a4be);var _0x4b9604=function(_0x574cc6){_0x3ff91a(_0x4b9604,_0x574cc6);var _0x18fa16=_0x5f420d(_0x4b9604);function _0x4b9604(_0x40b1e4,_0x2e0b83,_0x51a79a,_0x22fee1,_0x29816e){var _0x4b3e8f;_0x7db1ca(this,_0x4b9604);_0x4b3e8f=_0x18fa16[mf_dgc_0x22bf('0x19')](this);_0x4b3e8f['topLeft']=new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x40b1e4,_0x2e0b83);_0x4b3e8f['bottomRight']=new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x51a79a,_0x22fee1);_0x4b3e8f[mf_dgc_0x22bf('0x16f')]=_0x29816e;return _0x4b3e8f;}_0x4bee59(_0x4b9604,[{'key':mf_dgc_0x22bf('0x138'),'value':function clone(){return new _0x4b9604(this[mf_dgc_0x22bf('0x170')][mf_dgc_0x22bf('0x138')](),this[mf_dgc_0x22bf('0x171')][mf_dgc_0x22bf('0x138')]());}},{'key':'startPoint','get':function get(){return this[mf_dgc_0x22bf('0x170')];}},{'key':mf_dgc_0x22bf('0x13a'),'get':function get(){return this[mf_dgc_0x22bf('0x171')];}},{'key':mf_dgc_0x22bf('0x13b'),'get':function get(){return _0x37683d[mf_dgc_0x22bf('0x129')][mf_dgc_0x22bf('0x15b')](this[mf_dgc_0x22bf('0x170')],this[mf_dgc_0x22bf('0x171')])[mf_dgc_0x22bf('0x13b')]();}},{'key':'distance','value':function distance(_0x2791f3){var _0x184ef8=_0x37683d[mf_dgc_0x22bf('0x13c')][mf_dgc_0x22bf('0x13e')](_0x2791f3,this['topLeft'],new _0x37683d['Point'](this[mf_dgc_0x22bf('0x171')]['x'],this[mf_dgc_0x22bf('0x170')]['y']));_0x184ef8=Math[mf_dgc_0x22bf('0xac')](_0x184ef8,_0x37683d['DrawingUtils'][mf_dgc_0x22bf('0x13e')](_0x2791f3,new _0x37683d[(mf_dgc_0x22bf('0x137'))](this[mf_dgc_0x22bf('0x171')]['x'],this[mf_dgc_0x22bf('0x170')]['y']),this[mf_dgc_0x22bf('0x171')]));_0x184ef8=Math['min'](_0x184ef8,_0x37683d[mf_dgc_0x22bf('0x13c')][mf_dgc_0x22bf('0x13e')](_0x2791f3,this[mf_dgc_0x22bf('0x171')],new _0x37683d[(mf_dgc_0x22bf('0x137'))](this[mf_dgc_0x22bf('0x170')]['x'],this['bottomRight']['y'])));_0x184ef8=Math[mf_dgc_0x22bf('0xac')](_0x184ef8,_0x37683d[mf_dgc_0x22bf('0x13c')][mf_dgc_0x22bf('0x13e')](_0x2791f3,new _0x37683d[(mf_dgc_0x22bf('0x137'))](this[mf_dgc_0x22bf('0x170')]['x'],this['bottomRight']['y']),this[mf_dgc_0x22bf('0x170')]));return _0x184ef8;}},{'key':mf_dgc_0x22bf('0x12b'),'value':function offset(_0xad8ac){this[mf_dgc_0x22bf('0x170')][mf_dgc_0x22bf('0x13f')](_0xad8ac);this[mf_dgc_0x22bf('0x171')][mf_dgc_0x22bf('0x13f')](_0xad8ac);}},{'key':mf_dgc_0x22bf('0x15e'),'value':function orientate(_0x2ecf2e,_0x38e0c4){this[mf_dgc_0x22bf('0x170')]=_0x2ecf2e['clone']();this[mf_dgc_0x22bf('0x171')]=_0x38e0c4['clone']();}},{'key':mf_dgc_0x22bf('0xaf'),'value':function scale(_0x2872a8,_0x313ae7){var _0x13c1ca=new _0x37683d['Matrix']();_0x13c1ca[mf_dgc_0x22bf('0x141')](_0x313ae7['x'],_0x313ae7['y']);_0x13c1ca[mf_dgc_0x22bf('0xaf')](_0x2872a8,_0x2872a8);_0x13c1ca['translate'](-_0x313ae7['x'],-_0x313ae7['y']);_0x13c1ca[mf_dgc_0x22bf('0x142')](this['topLeft']);_0x13c1ca[mf_dgc_0x22bf('0x142')](this[mf_dgc_0x22bf('0x171')]);}},{'key':mf_dgc_0x22bf('0x60'),'value':function draw(_0x80ea18,_0x18d519){_0x80ea18[mf_dgc_0x22bf('0x12c')]();if(!_0x18d519)_0x18d519={'color':mf_dgc_0x22bf('0x148'),'width':0x1,'dashStyle':0x0};_0x80ea18[mf_dgc_0x22bf('0x149')]=this['strokeColor']||_0x18d519[mf_dgc_0x22bf('0x14a')];_0x80ea18[mf_dgc_0x22bf('0x14b')]=(this[mf_dgc_0x22bf('0x133')]!=undefined?this['strokeThickness']:_0x18d519['width'])*_0x80ea18[mf_dgc_0x22bf('0x14c')];_0x37683d['DashStyle'][mf_dgc_0x22bf('0x1b')](_0x80ea18,this[mf_dgc_0x22bf('0x134')]!=undefined?this[mf_dgc_0x22bf('0x134')]:_0x18d519['dashStyle']);_0x80ea18[mf_dgc_0x22bf('0x14e')]();_0x80ea18['moveTo'](this[mf_dgc_0x22bf('0x170')]['x'],this['topLeft']['y']+this[mf_dgc_0x22bf('0x16f')]);_0x80ea18[mf_dgc_0x22bf('0x147')](this[mf_dgc_0x22bf('0x170')]['x'],this[mf_dgc_0x22bf('0x171')]['y']-this['cornerRadius']);_0x80ea18['quadraticCurveTo'](this[mf_dgc_0x22bf('0x170')]['x'],this[mf_dgc_0x22bf('0x171')]['y'],this[mf_dgc_0x22bf('0x170')]['x']+this[mf_dgc_0x22bf('0x16f')],this[mf_dgc_0x22bf('0x171')]['y']);_0x80ea18[mf_dgc_0x22bf('0x147')](this[mf_dgc_0x22bf('0x171')]['x']-this[mf_dgc_0x22bf('0x16f')],this[mf_dgc_0x22bf('0x171')]['y']);_0x80ea18[mf_dgc_0x22bf('0x172')](this['bottomRight']['x'],this[mf_dgc_0x22bf('0x171')]['y'],this[mf_dgc_0x22bf('0x171')]['x'],this[mf_dgc_0x22bf('0x171')]['y']-this[mf_dgc_0x22bf('0x16f')]);_0x80ea18[mf_dgc_0x22bf('0x147')](this[mf_dgc_0x22bf('0x171')]['x'],this['topLeft']['y']+this[mf_dgc_0x22bf('0x16f')]);_0x80ea18[mf_dgc_0x22bf('0x172')](this[mf_dgc_0x22bf('0x171')]['x'],this[mf_dgc_0x22bf('0x170')]['y'],this[mf_dgc_0x22bf('0x171')]['x']-this[mf_dgc_0x22bf('0x16f')],this['topLeft']['y']);_0x80ea18['lineTo'](this[mf_dgc_0x22bf('0x170')]['x']+this[mf_dgc_0x22bf('0x16f')],this[mf_dgc_0x22bf('0x170')]['y']);_0x80ea18[mf_dgc_0x22bf('0x172')](this['topLeft']['x'],this[mf_dgc_0x22bf('0x170')]['y'],this[mf_dgc_0x22bf('0x170')]['x'],this[mf_dgc_0x22bf('0x170')]['y']+this[mf_dgc_0x22bf('0x16f')]);_0x80ea18[mf_dgc_0x22bf('0x14f')]();_0x80ea18[mf_dgc_0x22bf('0x130')]();}},{'key':mf_dgc_0x22bf('0x16c'),'value':function drawControlPoints(_0x1a33a4,_0x36b845,_0xd66c51){this['drawControlPoint'](_0x1a33a4,_0x36b845,this[mf_dgc_0x22bf('0x170')],_0xd66c51);this[mf_dgc_0x22bf('0x150')](_0x1a33a4,_0x36b845,this['bottomRight'],_0xd66c51);}},{'key':mf_dgc_0x22bf('0x151'),'value':function hitTestHandle(_0x59d509,_0x2ef6bf){var _0x2bc3db=_0x59d509['distance'](this[mf_dgc_0x22bf('0x170')]);if(_0x2bc3db<_0x2ef6bf)return 0x0;var _0x500d34=_0x59d509['distance'](this[mf_dgc_0x22bf('0x171')]);if(_0x500d34<_0x2ef6bf)return 0x1;return-0x1;}},{'key':'updateFromHandle','value':function updateFromHandle(_0x4431b1,_0x585adf){if(_0x4431b1==0x0)this[mf_dgc_0x22bf('0x170')]=_0x585adf;if(_0x4431b1==0x1)this[mf_dgc_0x22bf('0x171')]=_0x585adf;}},{'key':mf_dgc_0x22bf('0x155'),'value':function saveState(){var _0x10916d=_0x58abde(_0x12582c(_0x4b9604[mf_dgc_0x22bf('0x12')]),mf_dgc_0x22bf('0x155'),this)[mf_dgc_0x22bf('0x19')](this);_0x10916d[mf_dgc_0x22bf('0x170')]=this[mf_dgc_0x22bf('0x170')][mf_dgc_0x22bf('0x138')]();_0x10916d[mf_dgc_0x22bf('0x171')]=this[mf_dgc_0x22bf('0x171')][mf_dgc_0x22bf('0x138')]();_0x10916d['cornerRadius']=this[mf_dgc_0x22bf('0x16f')];return _0x10916d;}},{'key':mf_dgc_0x22bf('0x135'),'value':function loadState(_0x556617){_0x58abde(_0x12582c(_0x4b9604['prototype']),mf_dgc_0x22bf('0x135'),this)[mf_dgc_0x22bf('0x19')](this,_0x556617);this['topLeft']=_0x556617['topLeft'];this[mf_dgc_0x22bf('0x171')]=_0x556617[mf_dgc_0x22bf('0x171')];this[mf_dgc_0x22bf('0x16f')]=_0x556617[mf_dgc_0x22bf('0x16f')];}},{'key':mf_dgc_0x22bf('0x143'),'value':function toShape(){var _0x3f925e={'outline':this['exportElement'](!![]),'id':'RoundyRect'};return new _0x5d0dfe['Shape'](_0x3f925e);}},{'key':'exportElement','value':function exportElement(_0x5e1990){var _0x187d46='';if(_0x5e1990)_0x187d46='M'['concat'](this[mf_dgc_0x22bf('0x170')]['x'],',')['concat'](this[mf_dgc_0x22bf('0x170')]['y'],'\x20');_0x187d46+='U'[mf_dgc_0x22bf('0x153')](this['topLeft']['x'],',')['concat'](this[mf_dgc_0x22bf('0x170')]['y'],',')[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x171')]['x']-this[mf_dgc_0x22bf('0x170')]['x'],',')[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x171')]['y']-this[mf_dgc_0x22bf('0x170')]['y'],',')[mf_dgc_0x22bf('0x153')](this['cornerRadius'],'\x20');return _0x187d46;}},{'key':mf_dgc_0x22bf('0x16d'),'value':function exportShapeElement(){var _0x1e7501=[];_0x1e7501[mf_dgc_0x22bf('0x1a')](new _0x5d0dfe[(mf_dgc_0x22bf('0x154'))](mf_dgc_0x22bf('0x146'),[this['topLeft']['x'],this[mf_dgc_0x22bf('0x170')]['y']]));_0x1e7501['push'](new _0x5d0dfe['ShapeElement'](mf_dgc_0x22bf('0x173'),[this[mf_dgc_0x22bf('0x170')]['x'],this[mf_dgc_0x22bf('0x170')]['y'],this['bottomRight']['x']-this['topLeft']['x'],this[mf_dgc_0x22bf('0x171')]['y']-this['topLeft']['y'],this['cornerRadius']],this[mf_dgc_0x22bf('0x132')],this[mf_dgc_0x22bf('0x133')],this[mf_dgc_0x22bf('0x134')]));return _0x1e7501;}}],[{'key':mf_dgc_0x22bf('0x15b'),'value':function fromPoints(_0x31f13b,_0x1f400a){return new _0x4b9604(_0x31f13b['x'],_0x31f13b['y'],_0x1f400a['x'],_0x1f400a['y'],0x5);}},{'key':mf_dgc_0x22bf('0x156'),'value':function fromCenter(_0x590fe7){var _0x44bde5=_0x37683d[mf_dgc_0x22bf('0x129')][mf_dgc_0x22bf('0x157')](_0x590fe7,_0x19a4be['defaultSize']);return _0x4b9604[mf_dgc_0x22bf('0x15b')](_0x44bde5['topLeft'](),_0x44bde5['bottomRight']());}},{'key':mf_dgc_0x22bf('0x174'),'value':function fromBounds(_0x1ae7f0){return _0x4b9604[mf_dgc_0x22bf('0x15b')](_0x1ae7f0[mf_dgc_0x22bf('0x170')](),_0x1ae7f0[mf_dgc_0x22bf('0x171')]());}},{'key':'default','value':function _default(){var _0x551504=new _0x37683d[(mf_dgc_0x22bf('0x129'))](0x0,0x0,0x64,0x64);return _0x4b9604['fromPoints'](_0x551504[mf_dgc_0x22bf('0x170')](),_0x551504[mf_dgc_0x22bf('0x171')]());}}]);return _0x4b9604;}(_0x19a4be);var _0x207371=function(){function _0x207371(_0x4dd42b,_0x431924){_0x7db1ca(this,_0x207371);this[mf_dgc_0x22bf('0x175')]=_0x4dd42b;this['bounds']=_0x431924;}_0x4bee59(_0x207371,[{'key':mf_dgc_0x22bf('0x138'),'value':function clone(){return new _0x207371(this[mf_dgc_0x22bf('0x175')],this[mf_dgc_0x22bf('0xae')][mf_dgc_0x22bf('0x138')]());}},{'key':mf_dgc_0x22bf('0x176'),'value':function getElements(_0x505575){if(_0x505575==undefined)_0x505575=this['bounds'];if(this[mf_dgc_0x22bf('0x175')]==mf_dgc_0x22bf('0x177')){var _0x562646=_0x505575['x'];var _0x1c82e3=_0x505575['y'];var _0x4fa012=_0x505575[mf_dgc_0x22bf('0x178')]();var _0x5b1ad5=_0x505575[mf_dgc_0x22bf('0x179')]();var _0x483b14=[];_0x483b14[mf_dgc_0x22bf('0x1a')](new _0x4bef83(new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x562646,_0x1c82e3),new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x4fa012,_0x1c82e3)));_0x483b14[mf_dgc_0x22bf('0x1a')](new _0x4bef83(new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x4fa012,_0x1c82e3),new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x4fa012,_0x5b1ad5)));_0x483b14[mf_dgc_0x22bf('0x1a')](new _0x4bef83(new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x4fa012,_0x5b1ad5),new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x562646,_0x5b1ad5)));_0x483b14[mf_dgc_0x22bf('0x1a')](new _0x4bef83(new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x562646,_0x5b1ad5),new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x562646,_0x1c82e3)));return _0x483b14;}if(this[mf_dgc_0x22bf('0x175')]==mf_dgc_0x22bf('0x17a')){var _0x562646=_0x505575['x'];var _0x1c82e3=_0x505575['y'];var _0x4fa012=_0x505575[mf_dgc_0x22bf('0x178')]();var _0x5b1ad5=_0x505575[mf_dgc_0x22bf('0x179')]();var _0x28612d=(_0x562646+_0x4fa012)/0x2;var _0xcb96a=(_0x1c82e3+_0x5b1ad5)/0x2;var _0x483b14=[];_0x483b14[mf_dgc_0x22bf('0x1a')](new _0x4bef83(new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x28612d,_0x1c82e3),new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x4fa012,_0xcb96a)));_0x483b14[mf_dgc_0x22bf('0x1a')](new _0x4bef83(new _0x37683d['Point'](_0x4fa012,_0xcb96a),new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x28612d,_0x5b1ad5)));_0x483b14[mf_dgc_0x22bf('0x1a')](new _0x4bef83(new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x28612d,_0x5b1ad5),new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x562646,_0xcb96a)));_0x483b14[mf_dgc_0x22bf('0x1a')](new _0x4bef83(new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x562646,_0xcb96a),new _0x37683d['Point'](_0x28612d,_0x1c82e3)));return _0x483b14;}if(this['type']==mf_dgc_0x22bf('0x17b')){var _0x483b14=[];_0x483b14[mf_dgc_0x22bf('0x1a')](new _0x53ce3f(_0x505575[mf_dgc_0x22bf('0x13b')]()['x'],_0x505575[mf_dgc_0x22bf('0x13b')]()['y'],_0x505575[mf_dgc_0x22bf('0xa1')]/0x2,0x0,6.283,![]));return _0x483b14;}}}],[{'key':mf_dgc_0x22bf('0x156'),'value':function fromCenter(_0x74f670,_0x59c3ad){var _0x3895b4=_0x37683d[mf_dgc_0x22bf('0x129')][mf_dgc_0x22bf('0x157')](_0x74f670,_0x19a4be['defaultSize']);return new _0x207371(_0x59c3ad,_0x3895b4);}},{'key':'fromBounds','value':function fromBounds(_0x447078,_0x20f8b0){return new _0x207371(_0x20f8b0,_0x447078);}}]);return _0x207371;}();var _0x21cb78=function(){function _0x21cb78(_0x4c9458,_0x201513,_0x72358c,_0x2f2446,_0x430b1b,_0x380df8,_0x227bb3){_0x7db1ca(this,_0x21cb78);this[mf_dgc_0x22bf('0x175')]=_0x4c9458;if(_0x4c9458==mf_dgc_0x22bf('0x17c')){this['states']=new Map();this['newStates']=new Map();}this['dropLocation']=_0x201513;this[mf_dgc_0x22bf('0x17d')]=_0x72358c;this[mf_dgc_0x22bf('0x5b')]=_0x2f2446;this[mf_dgc_0x22bf('0x17e')]=_0x430b1b;this[mf_dgc_0x22bf('0x17f')]=_0x380df8;this['filledDecoration']=_0x227bb3;}_0x4bee59(_0x21cb78,[{'key':mf_dgc_0x22bf('0x180'),'value':function registerElement(_0x5a6a8e){this[mf_dgc_0x22bf('0x181')][mf_dgc_0x22bf('0x182')](_0x5a6a8e,_0x5a6a8e[mf_dgc_0x22bf('0x155')]());}},{'key':mf_dgc_0x22bf('0x183'),'value':function execute(_0x10b402){var _0x1d5aec=this;if(this['type']=='ChangeCommand')this[mf_dgc_0x22bf('0x181')][mf_dgc_0x22bf('0x64')](function(_0x120879,_0x4f0c7c){return _0x1d5aec[mf_dgc_0x22bf('0x184')][mf_dgc_0x22bf('0x182')](_0x4f0c7c,_0x4f0c7c[mf_dgc_0x22bf('0x155')]());});else if(this['type']==mf_dgc_0x22bf('0x185')){this[mf_dgc_0x22bf('0x5b')]=this[mf_dgc_0x22bf('0x5b')][mf_dgc_0x22bf('0x1f')][mf_dgc_0x22bf('0x156')](this['dropLocation'],this[mf_dgc_0x22bf('0x5b')][mf_dgc_0x22bf('0x175')]);_0x10b402[mf_dgc_0x22bf('0x186')][mf_dgc_0x22bf('0x187')][mf_dgc_0x22bf('0x1a')](this['element']);}else if(this[mf_dgc_0x22bf('0x175')]=='AddFilledDecorationCommand'){var _0x115793=new _0x37683d[(mf_dgc_0x22bf('0x129'))](this['dropLocation']['x'],this[mf_dgc_0x22bf('0x188')]['y'],0x19,0x19);if(this['element']!=null){var _0x5e94be=this['element'][mf_dgc_0x22bf('0x176')](_0x115793);this['newDecoration']=new _0x289a10(_0x5e94be);this['newDecoration']['bounds']=_0x115793;_0x10b402[mf_dgc_0x22bf('0x186')][mf_dgc_0x22bf('0x189')][mf_dgc_0x22bf('0x1a')](this['newDecoration']);}}else if(this['type']==mf_dgc_0x22bf('0x18a')){this[mf_dgc_0x22bf('0x5b')][mf_dgc_0x22bf('0x18b')](this[mf_dgc_0x22bf('0x188')]);_0x10b402[mf_dgc_0x22bf('0x186')][mf_dgc_0x22bf('0x18c')][mf_dgc_0x22bf('0x1a')](this[mf_dgc_0x22bf('0x5b')]);}else if(this[mf_dgc_0x22bf('0x175')]==mf_dgc_0x22bf('0x18d')){if(this[mf_dgc_0x22bf('0x18e')]!=null){var _0x115793=this[mf_dgc_0x22bf('0x18e')][mf_dgc_0x22bf('0xae')];this[mf_dgc_0x22bf('0x18f')]=_0x10b402[mf_dgc_0x22bf('0x190')](this['filledDecoration']);if(this['element']instanceof _0x207371){var _0xe18d14;var _0x5e94be=this['element'][mf_dgc_0x22bf('0x176')](_0x115793);(_0xe18d14=this['filledDecoration'][mf_dgc_0x22bf('0x17f')])['push'][mf_dgc_0x22bf('0x1b')](_0xe18d14,_0xbce20d(_0x5e94be));this[mf_dgc_0x22bf('0x191')]=_0x5e94be;}else{var _0x38ceb9=_0x4b9604[mf_dgc_0x22bf('0x174')](_0x115793);this[mf_dgc_0x22bf('0x18e')][mf_dgc_0x22bf('0x17f')][mf_dgc_0x22bf('0x1a')](_0x38ceb9);this[mf_dgc_0x22bf('0x191')]=[_0x38ceb9];}}else{this[mf_dgc_0x22bf('0x18f')]=_0x10b402[mf_dgc_0x22bf('0x190')]();if(this['element']instanceof _0x207371){var _0x898893;var _0x5e94be=this[mf_dgc_0x22bf('0x5b')]['getElements'](new _0x37683d[(mf_dgc_0x22bf('0x129'))](0x0,0x0,0x64,0x64));(_0x898893=_0x10b402[mf_dgc_0x22bf('0x186')][mf_dgc_0x22bf('0x17f')])['push'][mf_dgc_0x22bf('0x1b')](_0x898893,_0xbce20d(_0x5e94be));this[mf_dgc_0x22bf('0x191')]=_0x5e94be;}else{var _0x38ceb9=_0x4b9604[mf_dgc_0x22bf('0x174')](new _0x37683d['Rect'](0x0,0x0,0x64,0x64));_0x10b402['shapeBuilder']['outline'][mf_dgc_0x22bf('0x1a')](_0x38ceb9);this['newOutline']=[_0x38ceb9];}}}else if(this[mf_dgc_0x22bf('0x175')]==mf_dgc_0x22bf('0x192')){var _0x34d8a0=this[mf_dgc_0x22bf('0x17f')][mf_dgc_0x22bf('0xf')];var _0x3681c7=(this[mf_dgc_0x22bf('0x17e')]+0x1)%_0x34d8a0;var _0x5f3b9a=this['elementIndex']>0x0?this[mf_dgc_0x22bf('0x17e')]-0x1:_0x34d8a0-0x1;var _0x443c33=this['outline'][_0x3681c7];var _0x27ebdb=this['outline'][_0x5f3b9a];this[mf_dgc_0x22bf('0x5b')]['orientate'](_0x27ebdb[mf_dgc_0x22bf('0x13a')],_0x443c33['startPoint']);this[mf_dgc_0x22bf('0x17f')][mf_dgc_0x22bf('0xf2')](this[mf_dgc_0x22bf('0x17e')],0x1,this['element']);}else if(this[mf_dgc_0x22bf('0x175')]==mf_dgc_0x22bf('0x193')){this['outline'][mf_dgc_0x22bf('0xf2')](this[mf_dgc_0x22bf('0x17e')],0x0,this['element']);var _0x34d8a0=this[mf_dgc_0x22bf('0x17f')][mf_dgc_0x22bf('0xf')];var _0x3681c7=(this[mf_dgc_0x22bf('0x17e')]+0x1)%_0x34d8a0;var _0x5f3b9a=this['elementIndex']>0x0?this['elementIndex']-0x1:_0x34d8a0-0x1;var _0x443c33=this[mf_dgc_0x22bf('0x17f')][_0x3681c7];this[mf_dgc_0x22bf('0x194')]=_0x443c33[mf_dgc_0x22bf('0x155')]();_0x443c33[mf_dgc_0x22bf('0xaf')](0x2/0x3,_0x443c33['endPoint']);var _0x27ebdb=this['outline'][_0x5f3b9a];this['prevState']=_0x27ebdb[mf_dgc_0x22bf('0x155')]();_0x27ebdb[mf_dgc_0x22bf('0xaf')](0x2/0x3,_0x27ebdb['startPoint']);this[mf_dgc_0x22bf('0x5b')][mf_dgc_0x22bf('0x15e')](_0x27ebdb[mf_dgc_0x22bf('0x13a')],_0x443c33[mf_dgc_0x22bf('0x139')]);}else if(this[mf_dgc_0x22bf('0x175')]==mf_dgc_0x22bf('0x195')){if(this[mf_dgc_0x22bf('0x5b')]instanceof _0x289a10){this['elementIndex']=_0x10b402[mf_dgc_0x22bf('0x186')]['filledDecorations'][mf_dgc_0x22bf('0x196')](this[mf_dgc_0x22bf('0x5b')]);this[mf_dgc_0x22bf('0x197')](_0x10b402[mf_dgc_0x22bf('0x186')][mf_dgc_0x22bf('0x189')],this[mf_dgc_0x22bf('0x5b')]);this[mf_dgc_0x22bf('0x198')]=_0x10b402[mf_dgc_0x22bf('0x186')][mf_dgc_0x22bf('0x189')];}else if(_0x10b402[mf_dgc_0x22bf('0x186')][mf_dgc_0x22bf('0x17f')][mf_dgc_0x22bf('0x196')](this[mf_dgc_0x22bf('0x5b')])>-0x1){var _0x998b28=_0x10b402[mf_dgc_0x22bf('0x199')](_0x10b402[mf_dgc_0x22bf('0x186')][mf_dgc_0x22bf('0x17f')],this[mf_dgc_0x22bf('0x5b')]);this[mf_dgc_0x22bf('0x17e')]=_0x998b28['index'];this[mf_dgc_0x22bf('0x19a')]=_0x998b28['prevState'];this['nextState']=_0x998b28[mf_dgc_0x22bf('0x194')];this[mf_dgc_0x22bf('0x198')]=_0x10b402[mf_dgc_0x22bf('0x186')][mf_dgc_0x22bf('0x17f')];}else if(_0x10b402[mf_dgc_0x22bf('0x186')][mf_dgc_0x22bf('0x187')][mf_dgc_0x22bf('0x196')](this[mf_dgc_0x22bf('0x5b')])>-0x1){this[mf_dgc_0x22bf('0x17e')]=_0x10b402[mf_dgc_0x22bf('0x186')][mf_dgc_0x22bf('0x187')][mf_dgc_0x22bf('0x196')](this[mf_dgc_0x22bf('0x5b')]);this[mf_dgc_0x22bf('0x197')](_0x10b402[mf_dgc_0x22bf('0x186')][mf_dgc_0x22bf('0x187')],this[mf_dgc_0x22bf('0x5b')]);this[mf_dgc_0x22bf('0x198')]=_0x10b402[mf_dgc_0x22bf('0x186')][mf_dgc_0x22bf('0x187')];}else _0x10b402[mf_dgc_0x22bf('0x186')]['filledDecorations'][mf_dgc_0x22bf('0x64')](function(_0x5039e3){if(_0x5039e3['outline'][mf_dgc_0x22bf('0x196')](_0x1d5aec[mf_dgc_0x22bf('0x5b')])>-0x1){var _0x998b28=_0x10b402[mf_dgc_0x22bf('0x199')](_0x5039e3['outline'],_0x1d5aec['element']);_0x1d5aec['elementIndex']=_0x998b28[mf_dgc_0x22bf('0x10f')];_0x1d5aec['prevState']=_0x998b28['prevState'];_0x1d5aec[mf_dgc_0x22bf('0x194')]=_0x998b28['nextState'];_0x1d5aec[mf_dgc_0x22bf('0x198')]=_0x5039e3[mf_dgc_0x22bf('0x17f')];}});}}},{'key':mf_dgc_0x22bf('0x19b'),'value':function drawHighlight(_0x4a2f53){_0x4a2f53[mf_dgc_0x22bf('0x12c')]();_0x4a2f53[mf_dgc_0x22bf('0x133')]=0x3;if(this[mf_dgc_0x22bf('0x175')]==mf_dgc_0x22bf('0x192')){this['hitElement'][mf_dgc_0x22bf('0x60')](_0x4a2f53,{'color':mf_dgc_0x22bf('0x19c')});}else if(this[mf_dgc_0x22bf('0x175')]==mf_dgc_0x22bf('0x193')){_0x4a2f53[mf_dgc_0x22bf('0x14e')]();_0x4a2f53[mf_dgc_0x22bf('0x19d')](this['dropLocation']['x'],this['dropLocation']['y'],0x5,0x5,Math['PI']/0x4,0x0,0x2*Math['PI']);_0x4a2f53['closePath']();_0x4a2f53[mf_dgc_0x22bf('0x149')]=mf_dgc_0x22bf('0x19e');_0x4a2f53[mf_dgc_0x22bf('0x14f')]();}else if(this[mf_dgc_0x22bf('0x175')]==mf_dgc_0x22bf('0x18d')){var _0x38b830;if(this[mf_dgc_0x22bf('0x17d')]instanceof _0x207371)_0x38b830=this[mf_dgc_0x22bf('0x17d')][mf_dgc_0x22bf('0x176')]();else _0x38b830=this[mf_dgc_0x22bf('0x17d')][mf_dgc_0x22bf('0x17f')];_0x38b830[mf_dgc_0x22bf('0x64')](function(_0x194bb5){_0x194bb5[mf_dgc_0x22bf('0x60')](_0x4a2f53,{'color':'#ff0000'});});}_0x4a2f53[mf_dgc_0x22bf('0x130')]();}},{'key':mf_dgc_0x22bf('0x19f'),'value':function undo(_0x43b531){if(this['type']==mf_dgc_0x22bf('0x17c'))this[mf_dgc_0x22bf('0x181')]['forEach'](function(_0x49a3ec,_0xec5950){_0xec5950[mf_dgc_0x22bf('0x135')](_0x49a3ec);});else if(this[mf_dgc_0x22bf('0x175')]==mf_dgc_0x22bf('0x185')){this[mf_dgc_0x22bf('0x197')](_0x43b531[mf_dgc_0x22bf('0x186')][mf_dgc_0x22bf('0x187')],this['element']);}else if(this['type']==mf_dgc_0x22bf('0x1a0')){this[mf_dgc_0x22bf('0x197')](_0x43b531[mf_dgc_0x22bf('0x186')][mf_dgc_0x22bf('0x189')],this[mf_dgc_0x22bf('0x1a1')]);}else if(this[mf_dgc_0x22bf('0x175')]=='AddAnchorCommand'){this[mf_dgc_0x22bf('0x197')](_0x43b531['shapeBuilder'][mf_dgc_0x22bf('0x18c')],this['element']);}else if(this['type']=='ReplaceOutlineCommand'){if(this[mf_dgc_0x22bf('0x18e')]!=null){var _0x598537;_0x43b531[mf_dgc_0x22bf('0x190')](this['filledDecoration']);(_0x598537=this['filledDecoration'][mf_dgc_0x22bf('0x17f')])[mf_dgc_0x22bf('0x1a')][mf_dgc_0x22bf('0x1b')](_0x598537,_0xbce20d(this[mf_dgc_0x22bf('0x18f')]));}else{var _0x345445;_0x43b531[mf_dgc_0x22bf('0x190')]();(_0x345445=_0x43b531[mf_dgc_0x22bf('0x186')][mf_dgc_0x22bf('0x17f')])['push'][mf_dgc_0x22bf('0x1b')](_0x345445,_0xbce20d(this[mf_dgc_0x22bf('0x18f')]));}}else if(this[mf_dgc_0x22bf('0x175')]==mf_dgc_0x22bf('0x192')){this[mf_dgc_0x22bf('0x17f')][mf_dgc_0x22bf('0xf2')](this[mf_dgc_0x22bf('0x17e')],0x1,this[mf_dgc_0x22bf('0x17d')]);}else if(this['type']==mf_dgc_0x22bf('0x193')){var _0x1351f5=this[mf_dgc_0x22bf('0x17f')]['length'];var _0x4a2088=this[mf_dgc_0x22bf('0x17e')]%_0x1351f5;var _0x450818=this[mf_dgc_0x22bf('0x17e')]>0x0?this[mf_dgc_0x22bf('0x17e')]-0x1:_0x1351f5-0x1;this[mf_dgc_0x22bf('0x17f')][mf_dgc_0x22bf('0xf2')](this[mf_dgc_0x22bf('0x17e')],0x1);var _0x211910=this[mf_dgc_0x22bf('0x17f')][_0x4a2088];_0x211910['loadState'](this[mf_dgc_0x22bf('0x194')]);var _0x3bfb0e=this['outline'][_0x450818];_0x3bfb0e[mf_dgc_0x22bf('0x135')](this[mf_dgc_0x22bf('0x19a')]);}else if(this[mf_dgc_0x22bf('0x175')]==mf_dgc_0x22bf('0x195')){this['target']['splice'](this[mf_dgc_0x22bf('0x17e')],0x0,this[mf_dgc_0x22bf('0x5b')]);if(this[mf_dgc_0x22bf('0x19a')]){var _0x1351f5=this[mf_dgc_0x22bf('0x198')][mf_dgc_0x22bf('0xf')];var _0x4a2088=(this[mf_dgc_0x22bf('0x17e')]+0x1)%_0x1351f5;var _0x450818=this[mf_dgc_0x22bf('0x17e')]>0x0?this[mf_dgc_0x22bf('0x17e')]-0x1:_0x1351f5-0x1;var _0x211910=this['target'][_0x4a2088];_0x211910[mf_dgc_0x22bf('0x135')](this[mf_dgc_0x22bf('0x194')]);var _0x3bfb0e=this[mf_dgc_0x22bf('0x198')][_0x450818];_0x3bfb0e[mf_dgc_0x22bf('0x135')](this[mf_dgc_0x22bf('0x19a')]);}}_0x43b531['selectedElement']=null;_0x43b531[mf_dgc_0x22bf('0x1a2')]();}},{'key':mf_dgc_0x22bf('0x1a3'),'value':function redo(_0x587729){if(this['type']==mf_dgc_0x22bf('0x17c'))this[mf_dgc_0x22bf('0x184')][mf_dgc_0x22bf('0x64')](function(_0x7238c6,_0x33f009){_0x33f009[mf_dgc_0x22bf('0x135')](_0x7238c6);});else if(this[mf_dgc_0x22bf('0x175')]==mf_dgc_0x22bf('0x185')){_0x587729[mf_dgc_0x22bf('0x186')][mf_dgc_0x22bf('0x187')][mf_dgc_0x22bf('0x1a')](this['element']);}else if(this['type']==mf_dgc_0x22bf('0x1a0')){_0x587729['shapeBuilder'][mf_dgc_0x22bf('0x189')]['push'](this[mf_dgc_0x22bf('0x1a1')]);}else if(this[mf_dgc_0x22bf('0x175')]==mf_dgc_0x22bf('0x18a')){_0x587729[mf_dgc_0x22bf('0x186')][mf_dgc_0x22bf('0x18c')][mf_dgc_0x22bf('0x1a')](this['element']);}else if(this[mf_dgc_0x22bf('0x175')]==mf_dgc_0x22bf('0x18d')){if(this[mf_dgc_0x22bf('0x18e')]!=null){var _0xd50df3;_0x587729[mf_dgc_0x22bf('0x190')](this[mf_dgc_0x22bf('0x18e')]);(_0xd50df3=this[mf_dgc_0x22bf('0x18e')][mf_dgc_0x22bf('0x17f')])[mf_dgc_0x22bf('0x1a')][mf_dgc_0x22bf('0x1b')](_0xd50df3,_0xbce20d(this[mf_dgc_0x22bf('0x191')]));}else{var _0x3839a1;_0x587729[mf_dgc_0x22bf('0x190')]();(_0x3839a1=_0x587729[mf_dgc_0x22bf('0x186')][mf_dgc_0x22bf('0x17f')])[mf_dgc_0x22bf('0x1a')][mf_dgc_0x22bf('0x1b')](_0x3839a1,_0xbce20d(this[mf_dgc_0x22bf('0x191')]));}}else if(this[mf_dgc_0x22bf('0x175')]==mf_dgc_0x22bf('0x192')){this[mf_dgc_0x22bf('0x17f')][mf_dgc_0x22bf('0xf2')](this[mf_dgc_0x22bf('0x17e')],0x1,this['element']);}else if(this[mf_dgc_0x22bf('0x175')]==mf_dgc_0x22bf('0x193')){this[mf_dgc_0x22bf('0x17f')][mf_dgc_0x22bf('0xf2')](this[mf_dgc_0x22bf('0x17e')],0x0,this['element']);var _0x206573=this[mf_dgc_0x22bf('0x17f')][mf_dgc_0x22bf('0xf')];var _0x215ec2=(this['elementIndex']+0x1)%_0x206573;var _0x275e3f=this[mf_dgc_0x22bf('0x17e')]>0x0?this[mf_dgc_0x22bf('0x17e')]-0x1:_0x206573-0x1;var _0x3906f4=this['outline'][_0x215ec2];_0x3906f4[mf_dgc_0x22bf('0xaf')](0x2/0x3,_0x3906f4['endPoint']);var _0x1a7f43=this['outline'][_0x275e3f];_0x1a7f43['scale'](0x2/0x3,_0x1a7f43['startPoint']);}else if(this[mf_dgc_0x22bf('0x175')]==mf_dgc_0x22bf('0x195')){this['execute'](_0x587729);}_0x587729[mf_dgc_0x22bf('0x1a4')]=null;_0x587729[mf_dgc_0x22bf('0x1a2')]();}},{'key':mf_dgc_0x22bf('0x197'),'value':function removeElements(_0x3cc7b5,_0x35236c){if(_0x35236c instanceof Array){var _0x21fcc9=_0x3cc7b5[mf_dgc_0x22bf('0x196')](_0x35236c[0x0]);_0x3cc7b5[mf_dgc_0x22bf('0xf2')](_0x21fcc9,_0x35236c[mf_dgc_0x22bf('0xf')]);}else _0x3cc7b5[mf_dgc_0x22bf('0xf2')](_0x3cc7b5['indexOf'](_0x35236c),0x1);}}]);return _0x21cb78;}();var _0x289a10=function(_0x131f32){_0x3ff91a(_0x289a10,_0x131f32);var _0x46de74=_0x5f420d(_0x289a10);function _0x289a10(_0x52d744){var _0x376f3e;_0x7db1ca(this,_0x289a10);_0x376f3e=_0x46de74['call'](this);_0x376f3e[mf_dgc_0x22bf('0x17f')]=_0x52d744;_0x376f3e[mf_dgc_0x22bf('0x1a5')]=mf_dgc_0x22bf('0x148');return _0x376f3e;}_0x4bee59(_0x289a10,[{'key':mf_dgc_0x22bf('0xae'),'get':function get(){if(!this[mf_dgc_0x22bf('0x1a6')]){var _0x1032b4=new _0x37683d[(mf_dgc_0x22bf('0x1a7'))](this[mf_dgc_0x22bf('0x144')]()[mf_dgc_0x22bf('0x1a8')]);this[mf_dgc_0x22bf('0x1a6')]=_0x1032b4['getBounds']();}return this[mf_dgc_0x22bf('0x1a6')];},'set':function set(_0x32450e){this[mf_dgc_0x22bf('0x1a6')]=_0x32450e;}},{'key':mf_dgc_0x22bf('0x60'),'value':function draw(_0x5598b9){_0x5598b9[mf_dgc_0x22bf('0x12c')]();_0x5598b9[mf_dgc_0x22bf('0x12d')]=this[mf_dgc_0x22bf('0x1a5')];_0x5598b9[mf_dgc_0x22bf('0x14e')]();var _0x1ebe98=!![];var _0x1aa089=_0x243502(this[mf_dgc_0x22bf('0x17f')]),_0x8b0d94;try{for(_0x1aa089['s']();!(_0x8b0d94=_0x1aa089['n']())[mf_dgc_0x22bf('0x2c')];){var _0x46cbe8=_0x8b0d94[mf_dgc_0x22bf('0x9')];_0x46cbe8[mf_dgc_0x22bf('0x160')](_0x5598b9,_0x1ebe98);_0x1ebe98=![];}}catch(_0x55ae59){_0x1aa089['e'](_0x55ae59);}finally{_0x1aa089['f']();}_0x5598b9[mf_dgc_0x22bf('0x1a9')]();var _0x4541bc={'color':this[mf_dgc_0x22bf('0x132')],'width':this[mf_dgc_0x22bf('0x133')],'dashStyle':this[mf_dgc_0x22bf('0x134')]};_0x5598b9['beginPath']();var _0x21501b=_0x243502(this[mf_dgc_0x22bf('0x17f')]),_0x22844a;try{for(_0x21501b['s']();!(_0x22844a=_0x21501b['n']())[mf_dgc_0x22bf('0x2c')];){var _0x46cbe8=_0x22844a['value'];_0x46cbe8[mf_dgc_0x22bf('0x60')](_0x5598b9,_0x4541bc);}}catch(_0x287df7){_0x21501b['e'](_0x287df7);}finally{_0x21501b['f']();}_0x5598b9[mf_dgc_0x22bf('0x130')]();}},{'key':mf_dgc_0x22bf('0x16c'),'value':function drawControlPoints(_0x4e0e47,_0x9445aa,_0x4fcb21){if(this['outline'][mf_dgc_0x22bf('0xf')]){this[mf_dgc_0x22bf('0x150')](_0x4e0e47,_0x9445aa,this[mf_dgc_0x22bf('0x13b')],_0x4fcb21);_0x4e0e47[mf_dgc_0x22bf('0x12f')](this[mf_dgc_0x22bf('0xae')]['x'],this[mf_dgc_0x22bf('0xae')]['y'],this[mf_dgc_0x22bf('0xae')][mf_dgc_0x22bf('0xa1')],this[mf_dgc_0x22bf('0xae')][mf_dgc_0x22bf('0xa2')],'#ccc');}}},{'key':mf_dgc_0x22bf('0x13d'),'value':function distance(_0x1f2c63){var _0x22b5d0=this[mf_dgc_0x22bf('0x13b')];return _0x1f2c63[mf_dgc_0x22bf('0x13d')](_0x22b5d0);}},{'key':'hitTestHandle','value':function hitTestHandle(_0x20caff,_0x3f9ff0){var _0x177d4c=this[mf_dgc_0x22bf('0x13b')];var _0x26bd11=_0x20caff['distance'](_0x177d4c);if(_0x26bd11<_0x3f9ff0)return 0x0;if(_0x37683d['DrawingUtils'][mf_dgc_0x22bf('0x1aa')](_0x20caff,this[mf_dgc_0x22bf('0xae')])<_0x3f9ff0)return 0x1;return-0x1;}},{'key':mf_dgc_0x22bf('0x13b'),'get':function get(){var _0x209ca7=new _0x37683d[(mf_dgc_0x22bf('0x137'))](0x0,0x0);this[mf_dgc_0x22bf('0x17f')][mf_dgc_0x22bf('0x64')](function(_0x408e4c){var _0x20c819=_0x408e4c[mf_dgc_0x22bf('0x13b')];_0x209ca7['x']+=_0x20c819['x'];_0x209ca7['y']+=_0x20c819['y'];});_0x209ca7['x']/=this[mf_dgc_0x22bf('0x17f')][mf_dgc_0x22bf('0xf')];_0x209ca7['y']/=this[mf_dgc_0x22bf('0x17f')][mf_dgc_0x22bf('0xf')];return _0x209ca7;}},{'key':mf_dgc_0x22bf('0x144'),'value':function exportElement(){var _0x537bf0=[];var _0x454879=!![];var _0x1d7df6=_0x243502(this[mf_dgc_0x22bf('0x17f')]),_0x4e26d9;try{for(_0x1d7df6['s']();!(_0x4e26d9=_0x1d7df6['n']())[mf_dgc_0x22bf('0x2c')];){var _0x188b4b=_0x4e26d9[mf_dgc_0x22bf('0x9')];_0x537bf0['push'](_0x188b4b['exportElement'](_0x454879));_0x454879=![];}}catch(_0x3a1821){_0x1d7df6['e'](_0x3a1821);}finally{_0x1d7df6['f']();}return{'path':_0x537bf0['join']('')};}},{'key':mf_dgc_0x22bf('0x16d'),'value':function exportShapeElement(){var _0x3b8933=[];var _0xebd646=_0x243502(this[mf_dgc_0x22bf('0x17f')]),_0x193cbf;try{for(_0xebd646['s']();!(_0x193cbf=_0xebd646['n']())[mf_dgc_0x22bf('0x2c')];){var _0x206f25=_0x193cbf[mf_dgc_0x22bf('0x9')];_0x3b8933=_0x3b8933[mf_dgc_0x22bf('0x153')](_0x206f25[mf_dgc_0x22bf('0x16d')]());}}catch(_0x3414ae){_0xebd646['e'](_0x3414ae);}finally{_0xebd646['f']();}return new _0x5d0dfe[(mf_dgc_0x22bf('0x1ab'))](_0x3b8933,this[mf_dgc_0x22bf('0x1a5')],this['strokeColor'],this[mf_dgc_0x22bf('0x133')],this[mf_dgc_0x22bf('0x134')]);}},{'key':mf_dgc_0x22bf('0x176'),'value':function getElements(_0x3b2494){var _0x36a57b=[];var _0x49f31b=new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x3b2494[mf_dgc_0x22bf('0x13b')]()['x']-this['bounds']['center']()['x'],_0x3b2494[mf_dgc_0x22bf('0x13b')]()['y']-this[mf_dgc_0x22bf('0xae')][mf_dgc_0x22bf('0x13b')]()['y']);this['outline']['forEach'](function(_0x4ab8ea){var _0x5a0d0c=_0x4ab8ea['clone']();_0x5a0d0c['offset'](_0x49f31b);_0x36a57b[mf_dgc_0x22bf('0x1a')](_0x5a0d0c);});return _0x36a57b;}}]);return _0x289a10;}(_0x19a4be);var _0x54f3b7=function(_0x321ca6){_0x3ff91a(_0x54f3b7,_0x321ca6);var _0x37ef8a=_0x5f420d(_0x54f3b7);function _0x54f3b7(_0x5b6782,_0x4e276e,_0x26cd86,_0x4c3b76,_0x24fe61,_0x354e59){var _0x3c76fb;_0x7db1ca(this,_0x54f3b7);_0x3c76fb=_0x37ef8a[mf_dgc_0x22bf('0x19')](this);_0x3c76fb[mf_dgc_0x22bf('0x13b')]=new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x5b6782,_0x4e276e);_0x3c76fb[mf_dgc_0x22bf('0xa4')]=_0x4c3b76;_0x3c76fb[mf_dgc_0x22bf('0x1ac')]=_0x24fe61;if(_0x354e59)_0x3c76fb[mf_dgc_0x22bf('0x132')]=_0x354e59;_0x3c76fb['anchorSize']=_0x24fe61*0xa;_0x3c76fb[mf_dgc_0x22bf('0x1ad')]=_0x26cd86;return _0x3c76fb;}_0x4bee59(_0x54f3b7,[{'key':mf_dgc_0x22bf('0x138'),'value':function clone(){return new _0x54f3b7(this[mf_dgc_0x22bf('0x13b')]['x'],this[mf_dgc_0x22bf('0x13b')]['y'],this['anchorType'],this[mf_dgc_0x22bf('0xa4')],this[mf_dgc_0x22bf('0x1ac')]);}},{'key':mf_dgc_0x22bf('0x13d'),'value':function distance(_0x18eb09){return this[mf_dgc_0x22bf('0x13b')][mf_dgc_0x22bf('0x13d')](_0x18eb09);}},{'key':mf_dgc_0x22bf('0x12b'),'value':function offset(_0x242fa1){this['center']['addVector'](_0x242fa1);}},{'key':mf_dgc_0x22bf('0x18b'),'value':function setCenter(_0x2ccf75){this[mf_dgc_0x22bf('0x13b')]=_0x2ccf75;}},{'key':mf_dgc_0x22bf('0x143'),'value':function toShape(){var _0x3c03b7={'outline':this[mf_dgc_0x22bf('0x144')](!![]),'id':'Anchor'};return new _0x5d0dfe[(mf_dgc_0x22bf('0x162'))](_0x3c03b7);}},{'key':mf_dgc_0x22bf('0x60'),'value':function draw(_0x5a4bb4,_0xd8bcf2){_0x5a4bb4[mf_dgc_0x22bf('0x12c')]();if(!_0xd8bcf2)_0xd8bcf2={'color':'#000000','width':0x1,'dashStyle':0x0};_0x5a4bb4[mf_dgc_0x22bf('0x149')]=this['strokeColor']||_0xd8bcf2[mf_dgc_0x22bf('0x14a')];_0x5a4bb4[mf_dgc_0x22bf('0x14b')]=(this['strokeThickness']!=undefined?this[mf_dgc_0x22bf('0x133')]:_0xd8bcf2[mf_dgc_0x22bf('0xa1')])*_0x5a4bb4[mf_dgc_0x22bf('0x14c')];_0x37683d[mf_dgc_0x22bf('0x14d')][mf_dgc_0x22bf('0x1b')](_0x5a4bb4,this[mf_dgc_0x22bf('0x134')]!=undefined?this[mf_dgc_0x22bf('0x134')]:_0xd8bcf2['dashStyle']);_0x5a4bb4[mf_dgc_0x22bf('0x14e')]();_0x5a4bb4[mf_dgc_0x22bf('0x19d')](this[mf_dgc_0x22bf('0x13b')]['x'],this[mf_dgc_0x22bf('0x13b')]['y'],0x5,0x5,Math['PI']/0x4,0x0,0x2*Math['PI']);if(this[mf_dgc_0x22bf('0x1ad')]==_0x528143['In']){_0x5a4bb4['moveTo'](this[mf_dgc_0x22bf('0x13b')]['x']+0x5,this[mf_dgc_0x22bf('0x13b')]['y']);_0x5a4bb4['lineTo'](this[mf_dgc_0x22bf('0x13b')]['x']+0xf,this[mf_dgc_0x22bf('0x13b')]['y']);_0x5a4bb4[mf_dgc_0x22bf('0x146')](this[mf_dgc_0x22bf('0x13b')]['x']+0x5,this[mf_dgc_0x22bf('0x13b')]['y']);_0x5a4bb4['lineTo'](this['center']['x']+0xa,this[mf_dgc_0x22bf('0x13b')]['y']-0x3);_0x5a4bb4[mf_dgc_0x22bf('0x146')](this[mf_dgc_0x22bf('0x13b')]['x']+0x5,this[mf_dgc_0x22bf('0x13b')]['y']);_0x5a4bb4[mf_dgc_0x22bf('0x147')](this['center']['x']+0xa,this['center']['y']+0x3);}else if(this[mf_dgc_0x22bf('0x1ad')]==_0x528143[mf_dgc_0x22bf('0x1ae')]){_0x5a4bb4[mf_dgc_0x22bf('0x146')](this['center']['x']+0x5,this['center']['y']);_0x5a4bb4[mf_dgc_0x22bf('0x147')](this[mf_dgc_0x22bf('0x13b')]['x']+0xf,this[mf_dgc_0x22bf('0x13b')]['y']);_0x5a4bb4[mf_dgc_0x22bf('0x147')](this['center']['x']+0xa,this[mf_dgc_0x22bf('0x13b')]['y']-0x3);_0x5a4bb4[mf_dgc_0x22bf('0x146')](this['center']['x']+0xf,this[mf_dgc_0x22bf('0x13b')]['y']);_0x5a4bb4[mf_dgc_0x22bf('0x147')](this['center']['x']+0xa,this[mf_dgc_0x22bf('0x13b')]['y']+0x3);}else if(this[mf_dgc_0x22bf('0x1ad')]==_0x528143['BothWays']){_0x5a4bb4[mf_dgc_0x22bf('0x146')](this[mf_dgc_0x22bf('0x13b')]['x']+0x5,this[mf_dgc_0x22bf('0x13b')]['y']-0x3);_0x5a4bb4[mf_dgc_0x22bf('0x147')](this['center']['x']+0xf,this[mf_dgc_0x22bf('0x13b')]['y']-0x3);_0x5a4bb4[mf_dgc_0x22bf('0x146')](this['center']['x']+0x5,this[mf_dgc_0x22bf('0x13b')]['y']-0x3);_0x5a4bb4['lineTo'](this[mf_dgc_0x22bf('0x13b')]['x']+0xa,this['center']['y']-0x6);_0x5a4bb4[mf_dgc_0x22bf('0x146')](this['center']['x']+0x5,this[mf_dgc_0x22bf('0x13b')]['y']-0x3);_0x5a4bb4[mf_dgc_0x22bf('0x147')](this[mf_dgc_0x22bf('0x13b')]['x']+0x9,this[mf_dgc_0x22bf('0x13b')]['y']);_0x5a4bb4[mf_dgc_0x22bf('0x146')](this[mf_dgc_0x22bf('0x13b')]['x']+0x5,this['center']['y']+0x3);_0x5a4bb4[mf_dgc_0x22bf('0x147')](this['center']['x']+0xf,this[mf_dgc_0x22bf('0x13b')]['y']+0x3);_0x5a4bb4[mf_dgc_0x22bf('0x147')](this[mf_dgc_0x22bf('0x13b')]['x']+0xa,this[mf_dgc_0x22bf('0x13b')]['y']);_0x5a4bb4['moveTo'](this[mf_dgc_0x22bf('0x13b')]['x']+0xf,this[mf_dgc_0x22bf('0x13b')]['y']+0x3);_0x5a4bb4[mf_dgc_0x22bf('0x147')](this[mf_dgc_0x22bf('0x13b')]['x']+0xb,this[mf_dgc_0x22bf('0x13b')]['y']+0x6);}_0x5a4bb4['closePath']();_0x5a4bb4[mf_dgc_0x22bf('0x14f')]();_0x5a4bb4[mf_dgc_0x22bf('0x130')]();}},{'key':mf_dgc_0x22bf('0x16c'),'value':function drawControlPoints(_0x2efbc8,_0x1118b4,_0x325372){this['drawControlPoint'](_0x2efbc8,_0x1118b4,this[mf_dgc_0x22bf('0x13b')],_0x325372);}},{'key':mf_dgc_0x22bf('0x151'),'value':function hitTestHandle(_0x2d5a54,_0x3f3077){var _0x6e4956=_0x2d5a54[mf_dgc_0x22bf('0x13d')](this[mf_dgc_0x22bf('0x13b')]);if(_0x6e4956<_0x3f3077)return 0x0;return-0x1;}},{'key':mf_dgc_0x22bf('0x152'),'value':function updateFromHandle(_0xdd797c,_0x573968){if(_0xdd797c==0x0)this[mf_dgc_0x22bf('0x13b')]=_0x573968;}},{'key':mf_dgc_0x22bf('0x144'),'value':function exportElement(_0x5a9b8e){var _0x4124b1=this['anchorSize'];var _0xba3843=_0x4124b1/0x4;var _0xfa4d4c='O'[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x13b')]['x'],',')['concat'](this['center']['y'],',')[mf_dgc_0x22bf('0x153')](_0x4124b1,',')[mf_dgc_0x22bf('0x153')](_0x4124b1,'\x20');if(this['anchorType']==_0x528143['In']){_0xfa4d4c+='M'[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x13b')]['x']+_0x4124b1,',')[mf_dgc_0x22bf('0x153')](this['center']['y']);_0xfa4d4c+='L'[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x13b')]['x']+_0x4124b1*0x2,',')[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x13b')]['y']);_0xfa4d4c+='M'[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x13b')]['x']+_0x4124b1,',')[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x13b')]['y']);_0xfa4d4c+='L'[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x13b')]['x']+_0x4124b1+_0x4124b1/0x2,',')['concat'](this['center']['y']-_0xba3843);_0xfa4d4c+='M'[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x13b')]['x']+_0x4124b1,',')['concat'](this[mf_dgc_0x22bf('0x13b')]['y']);_0xfa4d4c+='L'['concat'](this['center']['x']+_0x4124b1+_0x4124b1/0x2,',')[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x13b')]['y']+_0xba3843);}else if(this[mf_dgc_0x22bf('0x1ad')]==_0x528143[mf_dgc_0x22bf('0x1ae')]){_0xfa4d4c+='M'['concat'](this[mf_dgc_0x22bf('0x13b')]['x']+_0x4124b1,',')[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x13b')]['y']);_0xfa4d4c+='L'[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x13b')]['x']+_0x4124b1*0x2,',')[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x13b')]['y']);_0xfa4d4c+='L'['concat'](this['center']['x']+_0x4124b1+_0x4124b1/0x2,',')[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x13b')]['y']-_0xba3843);_0xfa4d4c+='M'['concat'](this[mf_dgc_0x22bf('0x13b')]['x']+_0x4124b1*0x2,',')[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x13b')]['y']);_0xfa4d4c+='L'['concat'](this[mf_dgc_0x22bf('0x13b')]['x']+_0x4124b1+_0x4124b1/0x2,',')[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x13b')]['y']+_0xba3843);}else if(this[mf_dgc_0x22bf('0x1ad')]==_0x528143[mf_dgc_0x22bf('0x1af')]){_0xfa4d4c+='M'[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x13b')]['x']+_0x4124b1,',')['concat'](this[mf_dgc_0x22bf('0x13b')]['y']-_0xba3843);_0xfa4d4c+='L'[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x13b')]['x']+_0x4124b1*0x2,',')['concat'](this[mf_dgc_0x22bf('0x13b')]['y']-_0xba3843);_0xfa4d4c+='M'['concat'](this['center']['x']+_0x4124b1,',')[mf_dgc_0x22bf('0x153')](this['center']['y']-_0xba3843);_0xfa4d4c+='L'[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x13b')]['x']+_0x4124b1+_0x4124b1/0x2,',')[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x13b')]['y']-_0xba3843*0x2);_0xfa4d4c+='M'[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x13b')]['x']+_0x4124b1,',')[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x13b')]['y']-_0xba3843);_0xfa4d4c+='L'[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x13b')]['x']+_0x4124b1+_0x4124b1/0x2,',')[mf_dgc_0x22bf('0x153')](this['center']['y']);_0xfa4d4c+='M'[mf_dgc_0x22bf('0x153')](this['center']['x']+_0x4124b1,',')['concat'](this[mf_dgc_0x22bf('0x13b')]['y']+_0xba3843);_0xfa4d4c+='L'[mf_dgc_0x22bf('0x153')](this['center']['x']+_0x4124b1*0x2,',')[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x13b')]['y']+_0xba3843);_0xfa4d4c+='L'[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x13b')]['x']+_0x4124b1+_0x4124b1/0x2,',')['concat'](this[mf_dgc_0x22bf('0x13b')]['y']);_0xfa4d4c+='M'['concat'](this['center']['x']+_0x4124b1*0x2,',')[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x13b')]['y']+_0xba3843);_0xfa4d4c+='L'[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x13b')]['x']+_0x4124b1+_0x4124b1/0x2,',')[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x13b')]['y']+_0xba3843*0x2);}return _0xfa4d4c;}},{'key':mf_dgc_0x22bf('0x155'),'value':function saveState(){var _0x438a94=_0x58abde(_0x12582c(_0x54f3b7[mf_dgc_0x22bf('0x12')]),'saveState',this)['call'](this);_0x438a94['center']=this[mf_dgc_0x22bf('0x13b')][mf_dgc_0x22bf('0x138')]();_0x438a94[mf_dgc_0x22bf('0x1ad')]=this[mf_dgc_0x22bf('0x1ad')];_0x438a94['style']=this['style'];_0x438a94[mf_dgc_0x22bf('0x1ac')]=this['size'];return _0x438a94;}},{'key':'loadState','value':function loadState(_0x369255){_0x58abde(_0x12582c(_0x54f3b7[mf_dgc_0x22bf('0x12')]),'loadState',this)['call'](this,_0x369255);this[mf_dgc_0x22bf('0x13b')]=_0x369255[mf_dgc_0x22bf('0x13b')];this[mf_dgc_0x22bf('0x1ad')]=_0x369255[mf_dgc_0x22bf('0x1ad')];this['style']=_0x369255[mf_dgc_0x22bf('0xa4')];this[mf_dgc_0x22bf('0x1ac')]=_0x369255[mf_dgc_0x22bf('0x1ac')];}}],[{'key':'fromPoint','value':function fromPoint(_0x5ac038){var _0x402c27=_0x528143['BothWays'];if(!_0x5ac038[mf_dgc_0x22bf('0x1b0')])_0x402c27=_0x528143[mf_dgc_0x22bf('0x1ae')];if(!_0x5ac038['allowOutgoing'])_0x402c27=_0x528143['In'];return new _0x54f3b7(_0x5ac038['x'],_0x5ac038['y'],_0x402c27,_0x5ac038[mf_dgc_0x22bf('0x1b1')],_0x5ac038['size'],_0x5ac038[mf_dgc_0x22bf('0x14a')]);}},{'key':'default','value':function _default(_0x1c744d){return new _0x54f3b7(0x28,0x28,_0x1c744d,_0x5d0dfe[mf_dgc_0x22bf('0x1b2')]['Cross'],0x3);}}]);return _0x54f3b7;}(_0x19a4be);var _0x43578c=function(){function _0x43578c(_0xf7f15b,_0x1ca6f2){_0x7db1ca(this,_0x43578c);this[mf_dgc_0x22bf('0x17f')]=null;this[mf_dgc_0x22bf('0x187')]=null;this[mf_dgc_0x22bf('0x189')]=[];this[mf_dgc_0x22bf('0x18c')]=null;this[mf_dgc_0x22bf('0x1b3')]=_0xf7f15b;this['offset']=_0x1ca6f2||new _0x37683d[(mf_dgc_0x22bf('0x137'))](0x0,0x0);this[mf_dgc_0x22bf('0x1b4')]();}_0x4bee59(_0x43578c,[{'key':mf_dgc_0x22bf('0x60'),'value':function draw(_0x51c8f6){_0x51c8f6[mf_dgc_0x22bf('0x12c')]();_0x51c8f6[mf_dgc_0x22bf('0x141')](this['offset']['x'],this[mf_dgc_0x22bf('0x12b')]['y']);_0x51c8f6[mf_dgc_0x22bf('0x14e')]();_0x51c8f6['strokeStyle']=mf_dgc_0x22bf('0x1b5');_0x51c8f6[mf_dgc_0x22bf('0x12d')]=mf_dgc_0x22bf('0x1b6');_0x51c8f6[mf_dgc_0x22bf('0x12e')](0x0,0x0,0x64,0x64);_0x51c8f6[mf_dgc_0x22bf('0x12d')]='black';if(this[mf_dgc_0x22bf('0x17f')]){var _0x124001=_0x243502(this[mf_dgc_0x22bf('0x17f')]),_0x3083e3;try{for(_0x124001['s']();!(_0x3083e3=_0x124001['n']())['done'];){var _0x1c92f4=_0x3083e3[mf_dgc_0x22bf('0x9')];_0x1c92f4['draw'](_0x51c8f6);}}catch(_0x5b95e8){_0x124001['e'](_0x5b95e8);}finally{_0x124001['f']();}}if(this['decorations']){var _0x2c214b=_0x243502(this[mf_dgc_0x22bf('0x187')]),_0x4cbd9b;try{for(_0x2c214b['s']();!(_0x4cbd9b=_0x2c214b['n']())[mf_dgc_0x22bf('0x2c')];){var _0x1c92f4=_0x4cbd9b[mf_dgc_0x22bf('0x9')];_0x1c92f4[mf_dgc_0x22bf('0x60')](_0x51c8f6);}}catch(_0x2307d0){_0x2c214b['e'](_0x2307d0);}finally{_0x2c214b['f']();}}if(this[mf_dgc_0x22bf('0x189')]){this[mf_dgc_0x22bf('0x189')][mf_dgc_0x22bf('0x64')](function(_0x377c32){_0x377c32[mf_dgc_0x22bf('0x60')](_0x51c8f6);});}if(this[mf_dgc_0x22bf('0x18c')]){var _0x9c5c5f=_0x243502(this[mf_dgc_0x22bf('0x18c')]),_0x258293;try{for(_0x9c5c5f['s']();!(_0x258293=_0x9c5c5f['n']())[mf_dgc_0x22bf('0x2c')];){var _0x1c92f4=_0x258293['value'];_0x1c92f4[mf_dgc_0x22bf('0x60')](_0x51c8f6);}}catch(_0x493130){_0x9c5c5f['e'](_0x493130);}finally{_0x9c5c5f['f']();}}_0x51c8f6[mf_dgc_0x22bf('0x130')]();}},{'key':mf_dgc_0x22bf('0x1b4'),'value':function parseShape(){var _0x31a7b2=this;var _0x2796e4=new _0x5d0dfe['ShapeRenderer'](this[mf_dgc_0x22bf('0x1b3')]);this['outline']=this[mf_dgc_0x22bf('0x1b7')](this[mf_dgc_0x22bf('0x1b3')][mf_dgc_0x22bf('0x1b8')]||_0x2796e4['outlineBuilder']);this[mf_dgc_0x22bf('0x187')]=this[mf_dgc_0x22bf('0x1b7')](this[mf_dgc_0x22bf('0x1b3')]['decorationElements']||_0x2796e4[mf_dgc_0x22bf('0x1b9')]);this[mf_dgc_0x22bf('0x18c')]=[];var _0xc15604=this['shape'][mf_dgc_0x22bf('0x1ba')]||_0x2796e4[mf_dgc_0x22bf('0x1bb')];if(_0xc15604&&_0xc15604[mf_dgc_0x22bf('0xf')]){this[mf_dgc_0x22bf('0x189')]=[];_0xc15604[mf_dgc_0x22bf('0x64')](function(_0x39fc63){var _0x445b27=new _0x289a10(_0x31a7b2[mf_dgc_0x22bf('0x1b7')](_0x39fc63[mf_dgc_0x22bf('0x1bc')]));_0x445b27['fillColor']=_0x39fc63[mf_dgc_0x22bf('0x1bd')]||_0x39fc63[mf_dgc_0x22bf('0x1a5')];_0x445b27[mf_dgc_0x22bf('0x132')]=_0x39fc63['pen']||_0x39fc63['strokeColor'];_0x445b27['strokeThickness']=_0x39fc63[mf_dgc_0x22bf('0x133')];_0x445b27[mf_dgc_0x22bf('0x134')]=_0x39fc63[mf_dgc_0x22bf('0x134')];_0x31a7b2[mf_dgc_0x22bf('0x189')][mf_dgc_0x22bf('0x1a')](_0x445b27);});}if(this[mf_dgc_0x22bf('0x1b3')][mf_dgc_0x22bf('0x1be')]){this[mf_dgc_0x22bf('0x1b3')][mf_dgc_0x22bf('0x1be')][mf_dgc_0x22bf('0x15a')]['forEach'](function(_0x3de8d4){var _0x4068e1=_0x54f3b7[mf_dgc_0x22bf('0x1bf')](_0x3de8d4);_0x31a7b2[mf_dgc_0x22bf('0x18c')][mf_dgc_0x22bf('0x1a')](_0x4068e1);});}}},{'key':mf_dgc_0x22bf('0x1b7'),'value':function createBuilders(_0x3c2dac){this[mf_dgc_0x22bf('0x1c0')]=new _0x37683d['Point'](0x0,0x0);var _0x31e049=[];if(!_0x3c2dac)return _0x31e049;var _0x5f1141=_0x243502(_0x3c2dac),_0x2444f3;try{for(_0x5f1141['s']();!(_0x2444f3=_0x5f1141['n']())[mf_dgc_0x22bf('0x2c')];){var _0x507806=_0x2444f3[mf_dgc_0x22bf('0x9')];var _0x32d475=this[mf_dgc_0x22bf('0x1c1')](_0x507806);if(_0x32d475){_0x32d475[mf_dgc_0x22bf('0x1c2')]=_0x507806;_0x31e049[mf_dgc_0x22bf('0x1a')](_0x32d475);}}}catch(_0x1b6853){_0x5f1141['e'](_0x1b6853);}finally{_0x5f1141['f']();}return _0x31e049;}},{'key':'createBuilder','value':function createBuilder(_0x3db0d8){switch(_0x3db0d8[mf_dgc_0x22bf('0x1c3')]){case'moveTo':{this[mf_dgc_0x22bf('0x1c0')]=_0xb8c1f4(_0x37683d[mf_dgc_0x22bf('0x137')],_0xbce20d(_0x3db0d8[mf_dgc_0x22bf('0x1c4')]));break;}case'lineTo':{var _0x3e323f=new _0x4bef83(this[mf_dgc_0x22bf('0x1c0')][mf_dgc_0x22bf('0x138')](),_0xb8c1f4(_0x37683d[mf_dgc_0x22bf('0x137')],_0xbce20d(_0x3db0d8['args'])));this[mf_dgc_0x22bf('0x1c0')]=_0x3e323f[mf_dgc_0x22bf('0x13a')];break;}case'line':{var _0x3e323f=new _0x4bef83(new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x3db0d8[mf_dgc_0x22bf('0x1c4')][0x0],_0x3db0d8['args'][0x1]),new _0x37683d['Point'](_0x3db0d8[mf_dgc_0x22bf('0x1c4')][0x2],_0x3db0d8[mf_dgc_0x22bf('0x1c4')][0x3]));this[mf_dgc_0x22bf('0x1c0')]=_0x3e323f[mf_dgc_0x22bf('0x13a')];break;}case mf_dgc_0x22bf('0x163'):{var _0x3e323f=_0xb8c1f4(_0x2d41a6,[this[mf_dgc_0x22bf('0x1c0')]['x'],this[mf_dgc_0x22bf('0x1c0')]['y']]['concat'](_0xbce20d(_0x3db0d8[mf_dgc_0x22bf('0x1c4')])));this[mf_dgc_0x22bf('0x1c0')]=_0x3e323f[mf_dgc_0x22bf('0x15a')][0x3];break;}case mf_dgc_0x22bf('0x1c5'):{var _0x3e323f=_0xb8c1f4(_0x2d41a6,_0xbce20d(_0x3db0d8[mf_dgc_0x22bf('0x1c4')]));this[mf_dgc_0x22bf('0x1c0')]=_0x3e323f['points'][0x3];break;}case'arc':{var _0x3e323f=_0xb8c1f4(_0x53ce3f,_0xbce20d(_0x3db0d8[mf_dgc_0x22bf('0x1c4')]));this[mf_dgc_0x22bf('0x1c0')]=_0x3e323f['endPoint'];break;}case'roundRect':{var _0x3e323f=_0xb8c1f4(_0x4b9604,_0xbce20d(_0x3db0d8['args']));this[mf_dgc_0x22bf('0x1c0')]=_0x3e323f[mf_dgc_0x22bf('0x171')];break;}}if(_0x3e323f){_0x3e323f[mf_dgc_0x22bf('0x1a5')]=_0x3db0d8['fillColor'];_0x3e323f[mf_dgc_0x22bf('0x132')]=_0x3db0d8[mf_dgc_0x22bf('0x132')];_0x3e323f['strokeThickness']=_0x3db0d8['strokeThickness'];_0x3e323f[mf_dgc_0x22bf('0x134')]=_0x3db0d8[mf_dgc_0x22bf('0x134')];return _0x3e323f;}return null;}},{'key':mf_dgc_0x22bf('0x1c6'),'value':function exportShape(_0x1b2fe8){var _0x26b068={};_0x26b068['id']=_0x1b2fe8;_0x26b068[mf_dgc_0x22bf('0x17f')]=this['exportElements'](this['outline'],!![]);_0x26b068[mf_dgc_0x22bf('0x1c7')]=this[mf_dgc_0x22bf('0x1c8')](this[mf_dgc_0x22bf('0x187')]);_0x26b068['shapeDecorations']=this[mf_dgc_0x22bf('0x1c8')](this[mf_dgc_0x22bf('0x189')],![],!![]);var _0x14b0fd=this[mf_dgc_0x22bf('0x17f')][mf_dgc_0x22bf('0x1c9')](function(_0x14b0fd){return _0x14b0fd[mf_dgc_0x22bf('0x132')]!=undefined;});if(_0x14b0fd)_0x26b068['outlinePen']=_0x14b0fd[mf_dgc_0x22bf('0x132')];var _0x14b0fd=this[mf_dgc_0x22bf('0x187')][mf_dgc_0x22bf('0x1c9')](function(_0x14b0fd){return _0x14b0fd[mf_dgc_0x22bf('0x132')]!=undefined;});if(_0x14b0fd)_0x26b068[mf_dgc_0x22bf('0x1ca')]=_0x14b0fd[mf_dgc_0x22bf('0x132')];if(this['filledDecorations']['length']){_0x26b068[mf_dgc_0x22bf('0x1cb')]=this[mf_dgc_0x22bf('0x189')][0x0][mf_dgc_0x22bf('0x132')];_0x26b068[mf_dgc_0x22bf('0x1cc')]=this['filledDecorations'][0x0][mf_dgc_0x22bf('0x1a5')];}if(this[mf_dgc_0x22bf('0x18c')]!=null){var _0x44c650=new _0x5d0dfe[(mf_dgc_0x22bf('0x1cd'))]();this[mf_dgc_0x22bf('0x18c')][mf_dgc_0x22bf('0x64')](function(_0x89ff7a){var _0x1920b3=_0x89ff7a[mf_dgc_0x22bf('0x13b')];if(_0x89ff7a[mf_dgc_0x22bf('0x1ad')]==_0x528143['In'])_0x44c650['points'][mf_dgc_0x22bf('0x1a')](new _0x5d0dfe['AnchorPoint'](_0x1920b3['x'],_0x1920b3['y'],!![],![],_0x89ff7a['style'],_0x89ff7a['strokeColor'],_0x89ff7a[mf_dgc_0x22bf('0x1ac')]));if(_0x89ff7a[mf_dgc_0x22bf('0x1ad')]==_0x528143[mf_dgc_0x22bf('0x1ae')])_0x44c650[mf_dgc_0x22bf('0x15a')][mf_dgc_0x22bf('0x1a')](new _0x5d0dfe[(mf_dgc_0x22bf('0x1ce'))](_0x1920b3['x'],_0x1920b3['y'],![],!![],_0x89ff7a[mf_dgc_0x22bf('0xa4')],_0x89ff7a[mf_dgc_0x22bf('0x132')],_0x89ff7a['size']));if(_0x89ff7a['anchorType']==_0x528143[mf_dgc_0x22bf('0x1af')])_0x44c650[mf_dgc_0x22bf('0x15a')][mf_dgc_0x22bf('0x1a')](new _0x5d0dfe[(mf_dgc_0x22bf('0x1ce'))](_0x1920b3['x'],_0x1920b3['y'],!![],!![],_0x89ff7a[mf_dgc_0x22bf('0xa4')],_0x89ff7a['strokeColor'],_0x89ff7a[mf_dgc_0x22bf('0x1ac')]));});}var _0x40f5fb=new _0x5d0dfe[(mf_dgc_0x22bf('0x162'))](_0x26b068);_0x40f5fb['outlineElements']=this[mf_dgc_0x22bf('0x1cf')](this[mf_dgc_0x22bf('0x17f')]);_0x40f5fb[mf_dgc_0x22bf('0x1d0')]=this['exportShapeElements'](this[mf_dgc_0x22bf('0x187')]);_0x40f5fb['shapeDecorationElements']=this['exportShapeElements'](this[mf_dgc_0x22bf('0x189')],!![]);_0x40f5fb[mf_dgc_0x22bf('0x1be')]=_0x44c650;_0x40f5fb['textArea']=this['shape'][mf_dgc_0x22bf('0x1d1')];return _0x40f5fb;}},{'key':'exportElements','value':function exportElements(_0x431468,_0x5e86dc,_0x5c5ac7){if(_0x431468==null)return null;var _0xa0d97b=[];var _0x51de05=!![];_0x431468['forEach'](function(_0x532489){_0xa0d97b[mf_dgc_0x22bf('0x1a')](_0x532489['exportElement'](_0x51de05));if(_0x5e86dc)_0x51de05=![];});if(_0x5c5ac7)return _0xa0d97b;return _0xa0d97b[mf_dgc_0x22bf('0x1d2')]('');}},{'key':'exportShapeElements','value':function exportShapeElements(_0x182660,_0x3d6279){if(_0x182660==null)return null;var _0x550207=[];_0x182660[mf_dgc_0x22bf('0x64')](function(_0x476980){if(_0x3d6279)_0x550207[mf_dgc_0x22bf('0x1a')](_0x476980['exportShapeElement']());else _0x550207=_0x550207['concat'](_0x476980['exportShapeElement']());});return _0x550207;}},{'key':mf_dgc_0x22bf('0x1d3'),'value':function allElements(){var _0x2fc08d=[];if(this[mf_dgc_0x22bf('0x17f')])_0x2fc08d=_0x2fc08d['concat'](this[mf_dgc_0x22bf('0x17f')]);if(this[mf_dgc_0x22bf('0x187')])_0x2fc08d=_0x2fc08d[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x187')]);if(this['filledDecorations']){this[mf_dgc_0x22bf('0x189')]['forEach'](function(_0x1f80a8){_0x2fc08d=_0x2fc08d['concat'](_0x1f80a8);_0x1f80a8['outline']['forEach'](function(_0x4691b5){return _0x2fc08d[mf_dgc_0x22bf('0x1a')](_0x4691b5);});});}if(this[mf_dgc_0x22bf('0x18c')])_0x2fc08d=_0x2fc08d[mf_dgc_0x22bf('0x153')](this[mf_dgc_0x22bf('0x18c')]);return _0x2fc08d;}},{'key':'nearestElement','value':function nearestElement(_0x108bc6,_0x24a4f2,_0xf36674){if(!_0xf36674)_0xf36674=this[mf_dgc_0x22bf('0x1d3')]();var _0x13259b=null;var _0xbdf062=null;var _0x3d7471=Number[mf_dgc_0x22bf('0x1d4')];var _0x5b01c4=Number['MAX_VALUE'];var _0xbc46e3=_0x243502(_0xf36674),_0x1dfe72;try{for(_0xbc46e3['s']();!(_0x1dfe72=_0xbc46e3['n']())[mf_dgc_0x22bf('0x2c')];){var _0x45fadb=_0x1dfe72[mf_dgc_0x22bf('0x9')];if(_0x45fadb instanceof _0x54f3b7){var _0x3e9d32=_0x45fadb['distance'](_0x108bc6);if(_0x3e9d32<_0x5b01c4){_0x5b01c4=_0x3e9d32;_0xbdf062=_0x45fadb;}}}}catch(_0x2a705b){_0xbc46e3['e'](_0x2a705b);}finally{_0xbc46e3['f']();}var _0x496eb9=_0x243502(_0xf36674),_0x5076cb;try{for(_0x496eb9['s']();!(_0x5076cb=_0x496eb9['n']())[mf_dgc_0x22bf('0x2c')];){var _0x45fadb=_0x5076cb[mf_dgc_0x22bf('0x9')];var _0x3e9d32=_0x45fadb[mf_dgc_0x22bf('0x13d')](_0x108bc6);if(_0x3e9d32<_0x3d7471){_0x3d7471=_0x3e9d32;_0x13259b=_0x45fadb;}}}catch(_0x418708){_0x496eb9['e'](_0x418708);}finally{_0x496eb9['f']();}if(_0x5b01c4<=0x5)return _0xbdf062;else return _0x3d7471<_0x24a4f2?_0x13259b:null;}},{'key':mf_dgc_0x22bf('0x1d5'),'value':function hitTestDropTarget(_0x13d25f,_0x4fd6ea){if(_0x4fd6ea instanceof _0x207371||_0x4fd6ea instanceof _0x4b9604){var _0x1f51bd=this[mf_dgc_0x22bf('0x1d6')](_0x13d25f,0x5,this['outline']);if(_0x1f51bd!=null)return new _0x21cb78(mf_dgc_0x22bf('0x18d'),_0x13d25f,this,_0x4fd6ea);if(this[mf_dgc_0x22bf('0x189')]!=null){for(var _0x18c2e1=0x0;_0x18c2e1<this['filledDecorations'][mf_dgc_0x22bf('0xf')];_0x18c2e1++){var _0x233373=this['filledDecorations'][_0x18c2e1];var _0x41a08c=this[mf_dgc_0x22bf('0x1d6')](_0x13d25f,0x5,_0x233373[mf_dgc_0x22bf('0x17f')]);if(_0x41a08c!=null){return new _0x21cb78('ReplaceOutlineCommand',_0x13d25f,_0x233373,_0x4fd6ea,null,null,_0x233373);}}}if(_0x4fd6ea instanceof _0x207371)return new _0x21cb78(mf_dgc_0x22bf('0x1a0'),_0x13d25f,null,_0x4fd6ea);else return new _0x21cb78('AddDecorationCommand',_0x13d25f,null,_0x4fd6ea);}else if(_0x4fd6ea instanceof _0x19a4be){var _0x32ac36=this[mf_dgc_0x22bf('0x1d7')](this[mf_dgc_0x22bf('0x17f')],_0x13d25f,_0x4fd6ea);if(_0x32ac36!=null)return _0x32ac36;if(this[mf_dgc_0x22bf('0x189')]!=null){for(var _0x18c2e1=0x0;_0x18c2e1<this[mf_dgc_0x22bf('0x189')][mf_dgc_0x22bf('0xf')];_0x18c2e1++){var _0x233373=this[mf_dgc_0x22bf('0x189')][_0x18c2e1];var _0x479729=this[mf_dgc_0x22bf('0x1d7')](_0x233373[mf_dgc_0x22bf('0x17f')],_0x13d25f,_0x4fd6ea);if(_0x479729!=null)return _0x479729;}}return new _0x21cb78(mf_dgc_0x22bf('0x185'),_0x13d25f,null,_0x4fd6ea);}}},{'key':mf_dgc_0x22bf('0x1d7'),'value':function hitTestOutlineTarget(_0x218376,_0x24e60f,_0x152c6b){var _0x171a77=_0x218376!=null?_0x218376[mf_dgc_0x22bf('0xf')]:0x0;for(var _0x4786fc=0x0;_0x4786fc<_0x171a77;_0x4786fc++){var _0x35bf5b=_0x218376[_0x4786fc];var _0xbb36b4=_0x35bf5b['hitTestHandle'](_0x24e60f,this[mf_dgc_0x22bf('0x1d8')]);if(_0xbb36b4==_0x35bf5b[mf_dgc_0x22bf('0x131')]){return new _0x21cb78(mf_dgc_0x22bf('0x193'),_0x35bf5b[mf_dgc_0x22bf('0x139')],null,_0x152c6b,_0x4786fc,_0x218376);}}var _0x15d231=this[mf_dgc_0x22bf('0x1d6')](_0x24e60f,0x5,_0x218376);if(_0x15d231!=null){return new _0x21cb78(mf_dgc_0x22bf('0x192'),_0x24e60f,_0x15d231,_0x152c6b,_0x218376[mf_dgc_0x22bf('0x196')](_0x15d231),_0x218376);}return null;}},{'key':'hitTest','value':function hitTest(_0x245732,_0x128ac1){if(_0x128ac1==null)return null;if(_0x128ac1 instanceof _0x54f3b7){var _0x5cc086=this[mf_dgc_0x22bf('0x18c')]['indexOf'](_0x128ac1);if(_0x5cc086>-0x1){var _0x5158c7=_0x128ac1[mf_dgc_0x22bf('0x151')](_0x245732,0x4);if(_0x5158c7!=-0x1)return new _0x3d8ba1(mf_dgc_0x22bf('0x1d9'),_0x128ac1,_0x5158c7);}}if(_0x128ac1 instanceof _0x289a10){var _0x5158c7=_0x128ac1['hitTestHandle'](_0x245732,this['handlesSize']);if(_0x5158c7==0x0)return new _0x3d8ba1(mf_dgc_0x22bf('0x1da'),null,_0x5158c7,_0x128ac1);if(_0x5158c7==0x1)return new _0x3d8ba1(mf_dgc_0x22bf('0x1db'),null,_0x5158c7,_0x128ac1);}if(this[mf_dgc_0x22bf('0x17f')]!=null){var _0x2c08ea=this['hitTestOutline'](this[mf_dgc_0x22bf('0x17f')],_0x128ac1,_0x245732,null);if(_0x2c08ea!=null)return _0x2c08ea;}if(this[mf_dgc_0x22bf('0x187')]!=null){var _0x5cc086=this[mf_dgc_0x22bf('0x187')]['indexOf'](_0x128ac1);if(_0x5cc086>-0x1){var _0x5158c7=_0x128ac1['hitTestHandle'](_0x245732,this[mf_dgc_0x22bf('0x1d8')]);if(_0x5158c7!=-0x1)return new _0x3d8ba1('ElementController',_0x128ac1,_0x5158c7,null);}}if(this[mf_dgc_0x22bf('0x189')]!=null){for(var _0x5cc086=0x0;_0x5cc086<this[mf_dgc_0x22bf('0x189')]['length'];_0x5cc086++){var _0x2c08ea=this['hitTestOutline'](this['filledDecorations'][_0x5cc086][mf_dgc_0x22bf('0x17f')],_0x128ac1,_0x245732,this[mf_dgc_0x22bf('0x189')][_0x5cc086]);if(_0x2c08ea!=null)return _0x2c08ea;}}return null;}},{'key':'hitTestOutline','value':function hitTestOutline(_0x27ace4,_0x49f8f0,_0x1dfc19,_0x2a64bd){var _0x3a52ad=_0x27ace4!=null?_0x27ace4['length']:0x0;var _0x88434e=_0x27ace4['indexOf'](_0x49f8f0);if(_0x88434e>-0x1){var _0x7bbd4a=_0x49f8f0['hitTestHandle'](_0x1dfc19,this['handlesSize']);if(_0x3a52ad>0x1&&_0x7bbd4a==_0x49f8f0[mf_dgc_0x22bf('0x131')]){var _0x20e647=_0x27ace4[_0x88434e-0x1<0x0?_0x3a52ad-0x1:_0x88434e-0x1];return new _0x3d8ba1(mf_dgc_0x22bf('0x1dc'),_0x49f8f0,_0x7bbd4a,_0x2a64bd,_0x20e647,_0x20e647['lastHandle']);}else if(_0x3a52ad>0x1&&_0x7bbd4a==_0x49f8f0[mf_dgc_0x22bf('0x15c')]){var _0x20e647=_0x27ace4[(_0x88434e+0x1)%_0x3a52ad];return new _0x3d8ba1(mf_dgc_0x22bf('0x1dc'),_0x49f8f0,_0x7bbd4a,_0x2a64bd,_0x20e647,_0x20e647[mf_dgc_0x22bf('0x131')]);}else if(_0x7bbd4a!=-0x1){return new _0x3d8ba1(mf_dgc_0x22bf('0x1dd'),_0x49f8f0,_0x7bbd4a,_0x2a64bd);}}return null;}}],[{'key':'createShape','value':function createShape(_0x3393b5,_0xeaf967,_0x355433,_0x32af3e,_0x54c3e2,_0xc1dde8){var _0x25bd80={'id':_0x3393b5,'fillMode':_0xc1dde8};var _0x12fe92=new _0x5d0dfe[(mf_dgc_0x22bf('0x162'))](_0x25bd80);_0x12fe92[mf_dgc_0x22bf('0x1b8')]=_0xeaf967;_0x12fe92[mf_dgc_0x22bf('0x1d0')]=_0x355433;_0x12fe92[mf_dgc_0x22bf('0x1ba')]=_0x32af3e;_0x12fe92[mf_dgc_0x22bf('0x1be')]=_0x54c3e2;var _0x56d4b0=new _0x43578c(_0x12fe92);return _0x56d4b0['exportShape'](_0x3393b5);}}]);return _0x43578c;}();var _0x3d8ba1=function(){function _0x3d8ba1(_0x159bad,_0x13788c,_0x5b9d7e,_0x4cd491,_0x12c81f,_0x2ac854){var _0x4c43b0=this;_0x7db1ca(this,_0x3d8ba1);this[mf_dgc_0x22bf('0x175')]=_0x159bad;this[mf_dgc_0x22bf('0x5b')]=_0x13788c;this['handle']=_0x5b9d7e;this[mf_dgc_0x22bf('0x18e')]=_0x4cd491;this[mf_dgc_0x22bf('0x1de')]=_0x12c81f;this[mf_dgc_0x22bf('0x1df')]=_0x2ac854;this['changeCommand']=new _0x21cb78('ChangeCommand');if(_0x13788c)this[mf_dgc_0x22bf('0x1e0')][mf_dgc_0x22bf('0x180')](_0x13788c);if(this[mf_dgc_0x22bf('0x175')]=='OutlineController')this[mf_dgc_0x22bf('0x1e0')][mf_dgc_0x22bf('0x180')](_0x12c81f);if(this[mf_dgc_0x22bf('0x175')][mf_dgc_0x22bf('0x196')]('FilledDecoration')>-0x1){this[mf_dgc_0x22bf('0x18e')][mf_dgc_0x22bf('0x17f')][mf_dgc_0x22bf('0x64')](function(_0x13788c){return _0x4c43b0[mf_dgc_0x22bf('0x1e0')][mf_dgc_0x22bf('0x180')](_0x13788c);});this['center']=this[mf_dgc_0x22bf('0x18e')]['center'];this[mf_dgc_0x22bf('0x1e1')]=0x1;}}_0x4bee59(_0x3d8ba1,[{'key':mf_dgc_0x22bf('0x1e2'),'value':function onMouseDown(_0x2623e6){this['hasMoved']=![];this[mf_dgc_0x22bf('0x1e3')]=_0x2623e6;if(this['type']==mf_dgc_0x22bf('0x1db'))this[mf_dgc_0x22bf('0x1e4')]=_0x2623e6[mf_dgc_0x22bf('0x13d')](this['center']);}},{'key':mf_dgc_0x22bf('0x1e5'),'value':function onMouseMove(_0x267673){var _0x31ff23=this;this['hasMoved']=!![];if(this['type']=='FilledDecorationMoveController'){var _0x5ec1ee=new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x267673['x']-this['previousPosition']['x'],_0x267673['y']-this[mf_dgc_0x22bf('0x1e3')]['y']);if(_0x5ec1ee['x']||_0x5ec1ee['y']){this['filledDecoration'][mf_dgc_0x22bf('0x17f')][mf_dgc_0x22bf('0x64')](function(_0x19ff07){return _0x19ff07[mf_dgc_0x22bf('0x12b')](_0x5ec1ee);});this[mf_dgc_0x22bf('0x18e')][mf_dgc_0x22bf('0xae')][mf_dgc_0x22bf('0x12b')](_0x5ec1ee['x'],_0x5ec1ee['y']);this[mf_dgc_0x22bf('0x1e3')]=_0x267673;}return;}if(this['type']==mf_dgc_0x22bf('0x1db')){var _0x12ed5f=_0x267673[mf_dgc_0x22bf('0x13d')](this[mf_dgc_0x22bf('0x13b')]);var _0x228d01=_0x12ed5f/this['initialDistance'];var _0x3f0d92=_0x228d01/this[mf_dgc_0x22bf('0x1e1')];this[mf_dgc_0x22bf('0x18e')][mf_dgc_0x22bf('0x17f')]['forEach'](function(_0x566549){_0x566549[mf_dgc_0x22bf('0xaf')](_0x3f0d92,_0x31ff23['center']);});this[mf_dgc_0x22bf('0x18e')]['bounds'][mf_dgc_0x22bf('0x1e6')](_0x3f0d92,_0x3f0d92);this[mf_dgc_0x22bf('0x1e1')]=_0x228d01;return;}if(this[mf_dgc_0x22bf('0x5b')]){this['element'][mf_dgc_0x22bf('0x152')](this[mf_dgc_0x22bf('0x1e7')],_0x267673);if(this[mf_dgc_0x22bf('0x18e')])this[mf_dgc_0x22bf('0x18e')]['bounds']=null;}if(this['type']=='OutlineController'){this['adjacent'][mf_dgc_0x22bf('0x152')](this['adjacentHandle'],_0x267673[mf_dgc_0x22bf('0x138')]());}}},{'key':mf_dgc_0x22bf('0x1e8'),'value':function onMouseUp(_0x46cb73){}}]);return _0x3d8ba1;}();var _0x3f1740=function(_0x4adc0d){_0x3ff91a(_0x3f1740,_0x4adc0d);var _0x57f506=_0x5f420d(_0x3f1740);function _0x3f1740(){var _0x470f73;_0x7db1ca(this,_0x3f1740);_0x470f73=_0x57f506['call'](this);_0x470f73[mf_dgc_0x22bf('0x1e9')]=0x32;_0x470f73[mf_dgc_0x22bf('0x1ea')]=mf_dgc_0x22bf('0x1eb');_0x470f73[mf_dgc_0x22bf('0x1ec')]='#cccccc';_0x470f73[mf_dgc_0x22bf('0x1ed')]=0x0;_0x470f73[mf_dgc_0x22bf('0x1ee')]=!![];_0x470f73[mf_dgc_0x22bf('0x1ef')]=mf_dgc_0x22bf('0x1f0');_0x470f73[mf_dgc_0x22bf('0x1f1')]=0xa;_0x470f73[mf_dgc_0x22bf('0x1f2')]=0xa;_0x470f73[mf_dgc_0x22bf('0x1f3')]=_0x5d0dfe[mf_dgc_0x22bf('0x1f4')][mf_dgc_0x22bf('0x1f5')];_0x470f73[mf_dgc_0x22bf('0x1f6')]=mf_dgc_0x22bf('0x1eb');return _0x470f73;}_0x4bee59(_0x3f1740,[{'key':'drawForeground','value':function drawForeground(){var _0x2dabf3=this[mf_dgc_0x22bf('0x186')]?this[mf_dgc_0x22bf('0x186')][mf_dgc_0x22bf('0x12b')]:new _0x37683d['Point'](0x0,0x0);this[mf_dgc_0x22bf('0x1f7')]['save']();this[mf_dgc_0x22bf('0x1f7')][mf_dgc_0x22bf('0x141')](_0x2dabf3['x'],_0x2dabf3['y']);if(this[mf_dgc_0x22bf('0x1a4')]!=null)this[mf_dgc_0x22bf('0x1a4')]['drawControlPoints'](this[mf_dgc_0x22bf('0x1f7')],this[mf_dgc_0x22bf('0x1d8')],this[mf_dgc_0x22bf('0x1ea')]);if(this['pointedElement']!=null&&this[mf_dgc_0x22bf('0x1a4')]!=this[mf_dgc_0x22bf('0x1f8')])this[mf_dgc_0x22bf('0x1f8')]['drawControlPoints'](this[mf_dgc_0x22bf('0x1f7')],this[mf_dgc_0x22bf('0x1d8')],this[mf_dgc_0x22bf('0x1ec')]);if(this[mf_dgc_0x22bf('0x1f9')]!=null)this[mf_dgc_0x22bf('0x1f9')][mf_dgc_0x22bf('0x19b')](this['context']);this[mf_dgc_0x22bf('0x1f7')]['restore']();}},{'key':mf_dgc_0x22bf('0x190'),'value':function clearOutline(_0x37c36d){if(_0x37c36d){var _0x4dbae7=_0x37c36d['outline'];_0x37c36d[mf_dgc_0x22bf('0x17f')]=[];return _0x4dbae7;}if(this[mf_dgc_0x22bf('0x186')][mf_dgc_0x22bf('0x17f')]!=null){var _0x4dbae7=this[mf_dgc_0x22bf('0x186')][mf_dgc_0x22bf('0x17f')];this['shapeBuilder'][mf_dgc_0x22bf('0x17f')]=[];return _0x4dbae7;}return[];}},{'key':mf_dgc_0x22bf('0x199'),'value':function removeFromOutline(_0x255b4d,_0x5cb208){if(_0x255b4d[mf_dgc_0x22bf('0xf')]<0x3){return{'index':-0x1};}var _0x55394b=_0x255b4d[mf_dgc_0x22bf('0x196')](_0x5cb208);if(_0x55394b>-0x1){var _0x109cb6=_0x255b4d[mf_dgc_0x22bf('0xf')];var _0x60a906=(_0x55394b+0x1)%_0x109cb6;var _0x19baa9=_0x55394b>0x0?_0x55394b-0x1:_0x109cb6-0x1;var _0x504105=_0x255b4d[_0x60a906];var _0x25c2c2=_0x255b4d[_0x19baa9];var _0xa335cb=_0x25c2c2[mf_dgc_0x22bf('0x155')]();var _0x1900a7=_0x504105[mf_dgc_0x22bf('0x155')]();var _0x487f6b=_0x5cb208[mf_dgc_0x22bf('0x13b')];_0x255b4d['splice'](_0x55394b,0x1);_0x25c2c2[mf_dgc_0x22bf('0x15e')](_0x25c2c2['startPoint'],_0x487f6b);_0x504105['orientate'](_0x487f6b,_0x504105[mf_dgc_0x22bf('0x13a')]);return{'index':_0x55394b,'prevState':_0xa335cb,'nextState':_0x1900a7};}return{'index':-0x1};}},{'key':mf_dgc_0x22bf('0x1a4'),'get':function get(){return this[mf_dgc_0x22bf('0x1fa')];},'set':function set(_0xf8f72e){if(this[mf_dgc_0x22bf('0x1fa')]!=_0xf8f72e){this[mf_dgc_0x22bf('0x1fa')]=_0xf8f72e;}}},{'key':mf_dgc_0x22bf('0x186'),'get':function get(){return this['_shapeBuilder'];},'set':function set(_0x5cbd9f){if(this[mf_dgc_0x22bf('0x1fb')])this[mf_dgc_0x22bf('0x1fc')](this[mf_dgc_0x22bf('0x1fb')]);this[mf_dgc_0x22bf('0x1fb')]=_0x5cbd9f;this[mf_dgc_0x22bf('0x1fb')][mf_dgc_0x22bf('0x1d8')]=this[mf_dgc_0x22bf('0x1d8')];this[mf_dgc_0x22bf('0x1fd')](this['_shapeBuilder']);this['invalidate']();}},{'key':mf_dgc_0x22bf('0x1fe'),'value':function raiseSizeChanged(){}},{'key':mf_dgc_0x22bf('0x1ff'),'get':function get(){return this['_dirty'];},'set':function set(_0x5c5a3d){if(_0x5c5a3d===undefined)_0x5c5a3d=!![];this[mf_dgc_0x22bf('0x200')]=_0x5c5a3d;}},{'key':mf_dgc_0x22bf('0x201'),'value':function setDirty(_0x17f144){this[mf_dgc_0x22bf('0x1ff')]=_0x17f144;}},{'key':mf_dgc_0x22bf('0x1d8'),'get':function get(){return this['shapeSize']*this[mf_dgc_0x22bf('0xaf')]/0xa;}}]);return _0x3f1740;}(_0x5d0dfe[mf_dgc_0x22bf('0x202')]);var _0x58e5fc=function(_0x42e196){_0x3ff91a(_0x58e5fc,_0x42e196);var _0x47958d=_0x5f420d(_0x58e5fc);function _0x58e5fc(_0xec6240){var _0xc3d12b;_0x7db1ca(this,_0x58e5fc);_0xc3d12b=_0x47958d[mf_dgc_0x22bf('0x19')](this,_0xec6240,new _0x3f1740(),_0x58e5fc);_0xc3d12b[mf_dgc_0x22bf('0x203')]=_0x5d0dfe[mf_dgc_0x22bf('0x204')][mf_dgc_0x22bf('0x205')];_0xc3d12b['undoHistory']=[];_0xc3d12b[mf_dgc_0x22bf('0x206')]=-0x1;_0xc3d12b[mf_dgc_0x22bf('0x12b')]=new _0x37683d['Point'](0x0,0x0);_0xc3d12b[mf_dgc_0x22bf('0x207')]=0x32;return _0xc3d12b;}_0x4bee59(_0x58e5fc,[{'key':mf_dgc_0x22bf('0x54'),'value':function initialize(){_0x58abde(_0x12582c(_0x58e5fc['prototype']),mf_dgc_0x22bf('0x54'),this)[mf_dgc_0x22bf('0x19')](this);this[mf_dgc_0x22bf('0x208')][mf_dgc_0x22bf('0x209')]=this[mf_dgc_0x22bf('0x209')][mf_dgc_0x22bf('0x1c')](this);this[mf_dgc_0x22bf('0x208')][mf_dgc_0x22bf('0x20a')]=this[mf_dgc_0x22bf('0x20a')][mf_dgc_0x22bf('0x1c')](this);this[mf_dgc_0x22bf('0x208')][mf_dgc_0x22bf('0x20b')]=this[mf_dgc_0x22bf('0x20b')][mf_dgc_0x22bf('0x1c')](this);this['keyboardInputDispatcher']['onKeyUp']=this[mf_dgc_0x22bf('0x20c')]['bind'](this);var _0x2bf862=_0x4e8a1d[mf_dgc_0x22bf('0xa0')][mf_dgc_0x22bf('0xd2')](this['element'][mf_dgc_0x22bf('0x5c')],this['element'][mf_dgc_0x22bf('0x5c')][mf_dgc_0x22bf('0x5c')]);this[mf_dgc_0x22bf('0x5b')][mf_dgc_0x22bf('0xa1')]=_0x2bf862['width'];this[mf_dgc_0x22bf('0x5b')]['height']=_0x2bf862[mf_dgc_0x22bf('0xa2')];var _0x2884f4=_0x2bf862[mf_dgc_0x22bf('0xa1')]/this[mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0xaf')];var _0x7ae945=_0x2bf862[mf_dgc_0x22bf('0xa2')]/this['canvas'][mf_dgc_0x22bf('0xaf')];this[mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0xae')]=new _0x37683d[(mf_dgc_0x22bf('0x129'))](0x0,0x0,_0x2884f4,_0x7ae945);this[mf_dgc_0x22bf('0x12b')]=new _0x37683d[(mf_dgc_0x22bf('0x137'))]((_0x2884f4-0x64)/0x2,(_0x7ae945-0x64)/0x2);this['offset']['x']-=_0x2884f4/this[mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0x1f1')]-Math[mf_dgc_0x22bf('0x20d')](_0x2884f4/this[mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0x1f1')]);this[mf_dgc_0x22bf('0x12b')]['y']-=_0x7ae945/this[mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0x1f2')]-Math[mf_dgc_0x22bf('0x20d')](_0x7ae945/this[mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0x1f2')]);}},{'key':'onBeforeRepaint','value':function onBeforeRepaint(_0x4a5365,_0x362fc3){var _0x231aaf=new _0x37683d[(mf_dgc_0x22bf('0x140'))]();var _0x34958c=this[mf_dgc_0x22bf('0x207')]/0x64/_0x37683d['GraphicsUnit'][mf_dgc_0x22bf('0xcd')](this['diagram'][mf_dgc_0x22bf('0x20e')]);_0x231aaf['scale'](_0x34958c,_0x34958c);_0x362fc3['matrix']=_0x231aaf;_0x362fc3[mf_dgc_0x22bf('0xaf')]=_0x34958c;_0x362fc3[mf_dgc_0x22bf('0x207')]=this['zoomFactor'];_0x362fc3[mf_dgc_0x22bf('0x20f')]=this[mf_dgc_0x22bf('0x8c')]['bounds'];_0x362fc3[mf_dgc_0x22bf('0x1f7')]=this[mf_dgc_0x22bf('0x1f7')];_0x362fc3[mf_dgc_0x22bf('0x210')]=!this[mf_dgc_0x22bf('0xe3')];_0x362fc3['doClip']=![];var _0x306221=this[mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0xae')];var _0x268f71=new _0x37683d['Rect'](0x0,0x0,_0x306221[mf_dgc_0x22bf('0xa1')]*_0x34958c,_0x306221[mf_dgc_0x22bf('0xa2')]*_0x34958c);_0x362fc3[mf_dgc_0x22bf('0x20f')]=_0x268f71;this[mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0x1f7')]['fillStyle']='cyan';this[mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0x1f7')][mf_dgc_0x22bf('0x12e')](0x0,0x0,_0x306221['width']*_0x34958c,_0x306221[mf_dgc_0x22bf('0xa2')]*_0x34958c);_0x4a5365[mf_dgc_0x22bf('0x211')](_0x362fc3);}},{'key':'resetVirtualScroll','value':function resetVirtualScroll(){}},{'key':mf_dgc_0x22bf('0x212'),'value':function recalcVirtualScroll(){}},{'key':mf_dgc_0x22bf('0x213'),'value':function clientToDoc(_0xdb0012){var _0x13487c=_0xdb0012['x'];var _0x3aa387=_0xdb0012['y'];var _0xf40fa6=new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0x13487c/this[mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0xaf')],_0x3aa387/this['canvas'][mf_dgc_0x22bf('0xaf')]);return new _0x37683d[(mf_dgc_0x22bf('0x137'))](_0xf40fa6['x']+this[mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0xae')]['x']-this[mf_dgc_0x22bf('0x12b')]['x'],_0xf40fa6['y']+this[mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0xae')]['y']-this['offset']['y']);}},{'key':mf_dgc_0x22bf('0x214'),'value':function onElementDrag(_0xf5ab2e,_0x1cf175){var _0x173af2=this[mf_dgc_0x22bf('0x213')](_0x1cf175);if(_0xf5ab2e instanceof _0x54f3b7)this[mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0x1f9')]=new _0x21cb78(mf_dgc_0x22bf('0x18a'),_0x173af2,null,_0xf5ab2e);else this[mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0x1f9')]=this[mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0x186')][mf_dgc_0x22bf('0x1d5')](_0x173af2,_0xf5ab2e);this[mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0x1a2')]();}},{'key':'onElementDrop','value':function onElementDrop(_0x17538e){if(_0x17538e&&this[mf_dgc_0x22bf('0xce')]['dropCommand']!=null){this['canvas'][mf_dgc_0x22bf('0x1f9')][mf_dgc_0x22bf('0x183')](this['canvas']);this[mf_dgc_0x22bf('0x215')](this[mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0x1f9')]);this[mf_dgc_0x22bf('0xce')]['dropCommand']=null;this[mf_dgc_0x22bf('0xce')]['selectedElement']=null;this[mf_dgc_0x22bf('0xce')]['invalidate']();this[mf_dgc_0x22bf('0x216')][mf_dgc_0x22bf('0x7b')](_0x1a65a3['shapeChanged'],_0x4e8a1d[mf_dgc_0x22bf('0x217')][mf_dgc_0x22bf('0xd6')]);}}},{'key':mf_dgc_0x22bf('0x209'),'value':function onPointerDown(_0x42db40,_0x13df0e,_0x135a14){var _0x147234=this[mf_dgc_0x22bf('0x213')](_0x42db40);this[mf_dgc_0x22bf('0x218')]=this[mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0x186')][mf_dgc_0x22bf('0x219')](_0x147234,this['selectedElement']);if(!this[mf_dgc_0x22bf('0x218')])this[mf_dgc_0x22bf('0x218')]=this['canvas']['shapeBuilder']['hitTest'](_0x147234,this[mf_dgc_0x22bf('0x1f8')]);if(this[mf_dgc_0x22bf('0x218')]!=null)this[mf_dgc_0x22bf('0x218')][mf_dgc_0x22bf('0x1e2')](_0x147234);}},{'key':'onPointerMove','value':function(){var _0xe84e7f=_0x170bde(regeneratorRuntime[mf_dgc_0x22bf('0x21a')](function _callee(_0x465b4c,_0x1a52f9){var _0x318a97,_0x1351e7,_0x1cc9ad,_0x488649;return regeneratorRuntime[mf_dgc_0x22bf('0x21b')](function _callee$(_0x4ed4f8){while(0x1){switch(_0x4ed4f8[mf_dgc_0x22bf('0x21c')]=_0x4ed4f8[mf_dgc_0x22bf('0xc')]){case 0x0:_0x318a97=this[mf_dgc_0x22bf('0x213')](_0x465b4c);_0x1351e7=this['canvas'][mf_dgc_0x22bf('0x21d')];if(this[mf_dgc_0x22bf('0x218')]!=null){if(_0x1351e7)_0x318a97=this[mf_dgc_0x22bf('0x21e')](_0x318a97);this[mf_dgc_0x22bf('0x218')][mf_dgc_0x22bf('0x1e5')](_0x318a97);this['canvas'][mf_dgc_0x22bf('0x1a2')]();}else{_0x1cc9ad=this[mf_dgc_0x22bf('0xce')]['shapeBuilder'][mf_dgc_0x22bf('0x1d6')](_0x318a97,0xa);if(_0x1cc9ad!=null&&_0x1cc9ad!=this['pointedElement']){this[mf_dgc_0x22bf('0x1f8')]=_0x1cc9ad;this['canvas'][mf_dgc_0x22bf('0x1a2')]();}}_0x488649=_0x318a97[mf_dgc_0x22bf('0x21f')](this['offset']['x'],this[mf_dgc_0x22bf('0x12b')]['y']);this[mf_dgc_0x22bf('0x220')](_0x488649);case 0x5:case mf_dgc_0x22bf('0x221'):return _0x4ed4f8[mf_dgc_0x22bf('0x222')]();}}},_callee,this);}));function _0x7b017d(_0x2cb6d0,_0x19888c){return _0xe84e7f[mf_dgc_0x22bf('0x1b')](this,arguments);}return _0x7b017d;}()},{'key':'onPointerUp','value':function(){var _0x46afc9=_0x170bde(regeneratorRuntime[mf_dgc_0x22bf('0x21a')](function _callee2(_0x54f1a4,_0x93bc81,_0x437445){var _0x41b015,_0x304f55;return regeneratorRuntime[mf_dgc_0x22bf('0x21b')](function _callee2$(_0x4bbb35){while(0x1){switch(_0x4bbb35['prev']=_0x4bbb35[mf_dgc_0x22bf('0xc')]){case 0x0:_0x41b015=this['clientToDoc'](_0x54f1a4);_0x304f55=this['canvas'][mf_dgc_0x22bf('0x21d')];if(this[mf_dgc_0x22bf('0x218')]!=null){if(_0x304f55)_0x41b015=this[mf_dgc_0x22bf('0x21e')](_0x41b015);this[mf_dgc_0x22bf('0x218')]['onMouseUp'](_0x41b015);if(this[mf_dgc_0x22bf('0x218')][mf_dgc_0x22bf('0x223')]){this['controller']['changeCommand'][mf_dgc_0x22bf('0x183')](this);this[mf_dgc_0x22bf('0x215')](this[mf_dgc_0x22bf('0x218')][mf_dgc_0x22bf('0x1e0')]);}this[mf_dgc_0x22bf('0x218')]=null;this[mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0x1a2')]();this[mf_dgc_0x22bf('0x1a4')]=this['pointedElement'];this[mf_dgc_0x22bf('0x216')][mf_dgc_0x22bf('0x7b')](_0x1a65a3[mf_dgc_0x22bf('0x32')],_0x4e8a1d[mf_dgc_0x22bf('0x217')][mf_dgc_0x22bf('0xd6')]);}else{this['selectedElement']=this[mf_dgc_0x22bf('0xce')]['shapeBuilder']['nearestElement'](_0x41b015,0xa);this['canvas'][mf_dgc_0x22bf('0x1a2')]();}case 0x3:case mf_dgc_0x22bf('0x221'):return _0x4bbb35['stop']();}}},_callee2,this);}));function _0x425001(_0x4e7368,_0x2d58e5,_0xb93ca0){return _0x46afc9[mf_dgc_0x22bf('0x1b')](this,arguments);}return _0x425001;}()},{'key':mf_dgc_0x22bf('0x20c'),'value':function(){var _0x4e86fc=_0x170bde(regeneratorRuntime['mark'](function _callee3(_0x21d9d9,_0x4d7626,_0x450371,_0x5eaf21){return regeneratorRuntime[mf_dgc_0x22bf('0x21b')](function _callee3$(_0x33d75d){while(0x1){switch(_0x33d75d[mf_dgc_0x22bf('0x21c')]=_0x33d75d[mf_dgc_0x22bf('0xc')]){case 0x0:if(this['selectedElement']){if(_0x4d7626==0x2e||_0x4d7626==0x7f||navigator[mf_dgc_0x22bf('0x224')][mf_dgc_0x22bf('0x225')]()[mf_dgc_0x22bf('0x196')](mf_dgc_0x22bf('0x226'))>-0x1&&_0x4d7626==0x8){this[mf_dgc_0x22bf('0x1fc')](this[mf_dgc_0x22bf('0x1a4')]);}}case 0x1:case mf_dgc_0x22bf('0x221'):return _0x33d75d['stop']();}}},_callee3,this);}));function _0xdc5b1a(_0x4ce36e,_0x28ba7d,_0x640274,_0x26da96){return _0x4e86fc[mf_dgc_0x22bf('0x1b')](this,arguments);}return _0xdc5b1a;}()},{'key':mf_dgc_0x22bf('0x1fc'),'value':function removeElement(_0x47e012){var _0x3e8f81=new _0x21cb78(mf_dgc_0x22bf('0x195'),null,null,_0x47e012);_0x3e8f81[mf_dgc_0x22bf('0x183')](this['canvas']);this[mf_dgc_0x22bf('0x215')](_0x3e8f81);this[mf_dgc_0x22bf('0x1a4')]=null;}},{'key':mf_dgc_0x22bf('0x215'),'value':function saveCommand(_0x381ba1){this[mf_dgc_0x22bf('0x227')][mf_dgc_0x22bf('0xf2')](this[mf_dgc_0x22bf('0x206')]+0x1,this['undoHistory'][mf_dgc_0x22bf('0xf')]-this['currentCommand']-0x1);this[mf_dgc_0x22bf('0x227')][mf_dgc_0x22bf('0x1a')](_0x381ba1);this[mf_dgc_0x22bf('0x206')]++;}},{'key':mf_dgc_0x22bf('0x19f'),'value':function undo(){if(this[mf_dgc_0x22bf('0x206')]>=0x0){var _0x2328b4=this[mf_dgc_0x22bf('0x227')][this[mf_dgc_0x22bf('0x206')]--];this[mf_dgc_0x22bf('0x228')]=!![];_0x2328b4[mf_dgc_0x22bf('0x19f')](this['canvas']);this[mf_dgc_0x22bf('0x228')]=![];this[mf_dgc_0x22bf('0x216')][mf_dgc_0x22bf('0x7b')](_0x1a65a3[mf_dgc_0x22bf('0x32')],_0x4e8a1d['EventArgs']['Empty']);}}},{'key':mf_dgc_0x22bf('0x1a3'),'value':function redo(){if(this[mf_dgc_0x22bf('0x206')]<this['undoHistory'][mf_dgc_0x22bf('0xf')]-0x1){var _0x3b99ed=this['undoHistory'][++this[mf_dgc_0x22bf('0x206')]];this[mf_dgc_0x22bf('0x228')]=!![];_0x3b99ed['redo'](this[mf_dgc_0x22bf('0xce')]);this['fromCommand']=![];this[mf_dgc_0x22bf('0x216')][mf_dgc_0x22bf('0x7b')](_0x1a65a3[mf_dgc_0x22bf('0x32')],_0x4e8a1d['EventArgs'][mf_dgc_0x22bf('0xd6')]);}}},{'key':mf_dgc_0x22bf('0x229'),'value':function importShape(_0x464a54){this[mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0x186')]=new _0x43578c(_0x464a54,this[mf_dgc_0x22bf('0x12b')]);}},{'key':'exportShape','value':function exportShape(){}},{'key':mf_dgc_0x22bf('0x22a'),'value':function copyToClipboard(){if(!this[mf_dgc_0x22bf('0x1a4')])return;window['mf_clipboard']=this[mf_dgc_0x22bf('0x1a4')];}},{'key':mf_dgc_0x22bf('0x22b'),'value':function pasteFromClipboard(_0x48db3e,_0x14d027){var _0x3c6ba6=window[mf_dgc_0x22bf('0x22c')];if(_0x3c6ba6){var _0x5aa0df=_0x3c6ba6[mf_dgc_0x22bf('0x13b')][mf_dgc_0x22bf('0x138')]();_0x5aa0df['offset'](_0x48db3e,_0x14d027);var _0x40f00c;if(_0x3c6ba6 instanceof _0x289a10)_0x40f00c=new _0x21cb78('AddFilledDecorationCommand',_0x5aa0df,null,_0x3c6ba6);else _0x40f00c=new _0x21cb78('AddDecorationCommand',_0x5aa0df,null,_0x3c6ba6);_0x40f00c[mf_dgc_0x22bf('0x183')](this[mf_dgc_0x22bf('0xce')]);this[mf_dgc_0x22bf('0x215')](_0x40f00c);}}},{'key':mf_dgc_0x22bf('0x21e'),'value':function alignPointToGrid(_0xce4dfb){return new _0x37683d[(mf_dgc_0x22bf('0x137'))](Math[mf_dgc_0x22bf('0x20d')](_0xce4dfb['x']/this[mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0x1f1')])*this['canvas'][mf_dgc_0x22bf('0x1f1')],Math[mf_dgc_0x22bf('0x20d')](_0xce4dfb['y']/this[mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0x1f2')])*this['canvas']['gridSizeY']);}},{'key':'selectedElement','get':function get(){return this['canvas']['selectedElement'];},'set':function set(_0x5a942a){if(this['canvas'][mf_dgc_0x22bf('0x1a4')]!=_0x5a942a){this[mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0x1a4')]=_0x5a942a;this[mf_dgc_0x22bf('0x216')][mf_dgc_0x22bf('0x1a4')]=_0x5a942a;}}},{'key':mf_dgc_0x22bf('0x1f8'),'get':function get(){return this[mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0x1f8')];},'set':function set(_0x1679c0){if(this[mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0x1f8')]!=_0x1679c0){this['canvas'][mf_dgc_0x22bf('0x1f8')]=_0x1679c0;}}},{'key':mf_dgc_0x22bf('0x11f'),'value':function connectedCallback(){var _0xacc68d=this[mf_dgc_0x22bf('0x120')]({'mode':mf_dgc_0x22bf('0x87')});var _0x6390d7=document['createElement']('div');_0x6390d7[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0x125')]=this['style']['cssText'];this[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0x125')]='';var _0xf99fa5=document[mf_dgc_0x22bf('0xbc')](mf_dgc_0x22bf('0xce'));_0xf99fa5['id']=this[mf_dgc_0x22bf('0x126')]('id');_0x6390d7[mf_dgc_0x22bf('0x61')](_0xf99fa5);_0xacc68d[mf_dgc_0x22bf('0x61')](_0x6390d7);this[mf_dgc_0x22bf('0x127')]('id');var _0x465991=_0x58e5fc[mf_dgc_0x22bf('0x13')](_0xf99fa5);_0x465991[mf_dgc_0x22bf('0x5a')]=_0xacc68d;}}],[{'key':mf_dgc_0x22bf('0x13'),'value':function create(_0x2b4473,_0x283e35){return _0x4e8a1d['Control']['createControl'](_0x58e5fc,_0x2b4473,_0x283e35);}}]);return _0x58e5fc;}(_0x5d0dfe[mf_dgc_0x22bf('0x22d')]);var _0x3746b9=function(_0x4af976){_0x3ff91a(_0x3746b9,_0x4af976);var _0x24c645=_0x5f420d(_0x3746b9);function _0x3746b9(_0x1e3fd6){var _0x40be29;_0x7db1ca(this,_0x3746b9);_0x40be29=_0x24c645[mf_dgc_0x22bf('0x19')](this,_0x1e3fd6);_0x40be29['templatesLabel']=mf_dgc_0x22bf('0x22e');_0x40be29[mf_dgc_0x22bf('0x22f')]=mf_dgc_0x22bf('0x230');_0x40be29[mf_dgc_0x22bf('0x231')]=mf_dgc_0x22bf('0x232');_0x40be29[mf_dgc_0x22bf('0x233')]=mf_dgc_0x22bf('0x234');_0x40be29['iconSize']=null;_0x40be29[mf_dgc_0x22bf('0x235')]=![];_0x40be29['fillShapes']();return _0x40be29;}_0x4bee59(_0x3746b9,[{'key':'fillShapes','value':function fillShapes(){var _0x2099f6=new _0x5d0dfe[(mf_dgc_0x22bf('0x202'))]();var _0x20b125=new _0x5d0dfe[(mf_dgc_0x22bf('0x236'))]();_0x20b125['brush']=this[mf_dgc_0x22bf('0x233')];_0x20b125[mf_dgc_0x22bf('0x14f')]=this[mf_dgc_0x22bf('0x233')];_0x20b125[mf_dgc_0x22bf('0x237')]=mf_dgc_0x22bf('0x1b6');_0x20b125[mf_dgc_0x22bf('0x238')]=0xd;_0x20b125['backBrush']=this[mf_dgc_0x22bf('0x233')];var _0x2b470e=new _0x37683d[(mf_dgc_0x22bf('0x129'))](0x0,0x0,0x78,0x14);var _0x3c0206=new _0x5d0dfe[(mf_dgc_0x22bf('0x236'))]();_0x3c0206[mf_dgc_0x22bf('0x1bd')]=mf_dgc_0x22bf('0x1b6');_0x3c0206[mf_dgc_0x22bf('0x14f')]=mf_dgc_0x22bf('0x239');_0x3c0206[mf_dgc_0x22bf('0x1ef')]=mf_dgc_0x22bf('0x1b6');var _0x4b32e8=new _0x37683d['Rect'](0x0,0x0,0x64,0x28);var _0x317f1e=new _0x5d0dfe[(mf_dgc_0x22bf('0x23a'))](_0x2099f6);_0x317f1e[mf_dgc_0x22bf('0xae')]=_0x2b470e[mf_dgc_0x22bf('0x138')]();_0x317f1e[mf_dgc_0x22bf('0x117')]=this[mf_dgc_0x22bf('0x23b')];_0x317f1e[mf_dgc_0x22bf('0xa4')]=_0x20b125;this[mf_dgc_0x22bf('0x23c')](_0x317f1e,'',!![],!![]);var _0x317f1e=new _0x5d0dfe[(mf_dgc_0x22bf('0x23a'))](_0x2099f6);_0x317f1e[mf_dgc_0x22bf('0xae')]=_0x4b32e8['clone']();_0x317f1e[mf_dgc_0x22bf('0x23d')]=_0x207371[mf_dgc_0x22bf('0x174')](_0x4b32e8,'RectangleComposite');_0x317f1e[mf_dgc_0x22bf('0x1b3')]=_0x5d0dfe[mf_dgc_0x22bf('0x23e')][mf_dgc_0x22bf('0x23f')]();_0x317f1e[mf_dgc_0x22bf('0xa4')]=_0x3c0206;this[mf_dgc_0x22bf('0x23c')](_0x317f1e);var _0x317f1e=new _0x5d0dfe[(mf_dgc_0x22bf('0x23a'))](_0x2099f6);_0x317f1e[mf_dgc_0x22bf('0xae')]=_0x4b32e8[mf_dgc_0x22bf('0x138')]();_0x317f1e['tag']=_0x207371[mf_dgc_0x22bf('0x174')](_0x4b32e8,mf_dgc_0x22bf('0x17a'));_0x317f1e[mf_dgc_0x22bf('0x1b3')]=_0x5d0dfe[mf_dgc_0x22bf('0x23e')][mf_dgc_0x22bf('0x240')]();_0x317f1e[mf_dgc_0x22bf('0xa4')]=_0x3c0206;this['addNode'](_0x317f1e);var _0x317f1e=new _0x5d0dfe[(mf_dgc_0x22bf('0x23a'))](_0x2099f6);_0x317f1e[mf_dgc_0x22bf('0xae')]=_0x4b32e8[mf_dgc_0x22bf('0x138')]();_0x317f1e[mf_dgc_0x22bf('0x23d')]=_0x207371[mf_dgc_0x22bf('0x174')](_0x4b32e8,mf_dgc_0x22bf('0x17b'));_0x317f1e[mf_dgc_0x22bf('0x1b3')]=_0x5d0dfe[mf_dgc_0x22bf('0x23e')][mf_dgc_0x22bf('0x241')]();_0x317f1e[mf_dgc_0x22bf('0xa4')]=_0x3c0206;this['addNode'](_0x317f1e);var _0x317f1e=new _0x5d0dfe[(mf_dgc_0x22bf('0x23a'))](_0x2099f6);_0x317f1e[mf_dgc_0x22bf('0xae')]=_0x2b470e[mf_dgc_0x22bf('0x138')]();_0x317f1e['style']=_0x20b125;_0x317f1e[mf_dgc_0x22bf('0x117')]=this['primitivesLabel'];this[mf_dgc_0x22bf('0x23c')](_0x317f1e,'',!![],!![]);var _0x317f1e=new _0x5d0dfe['ShapeNode'](_0x2099f6);_0x317f1e['bounds']=_0x4b32e8['clone']();_0x317f1e[mf_dgc_0x22bf('0x23d')]=_0x4bef83[mf_dgc_0x22bf('0x159')]();_0x317f1e['shape']=_0x317f1e[mf_dgc_0x22bf('0x23d')][mf_dgc_0x22bf('0x143')]();_0x317f1e[mf_dgc_0x22bf('0xa4')]=_0x3c0206;this['addNode'](_0x317f1e);var _0x317f1e=new _0x5d0dfe[(mf_dgc_0x22bf('0x23a'))](_0x2099f6);_0x317f1e[mf_dgc_0x22bf('0xae')]=_0x4b32e8['clone']();_0x317f1e[mf_dgc_0x22bf('0x23d')]=_0x2d41a6[mf_dgc_0x22bf('0x159')]();_0x317f1e[mf_dgc_0x22bf('0x1b3')]=_0x317f1e['tag'][mf_dgc_0x22bf('0x143')]();_0x317f1e[mf_dgc_0x22bf('0xa4')]=_0x3c0206;this[mf_dgc_0x22bf('0x23c')](_0x317f1e);var _0x317f1e=new _0x5d0dfe['ShapeNode'](_0x2099f6);_0x317f1e['bounds']=_0x4b32e8[mf_dgc_0x22bf('0x138')]();_0x317f1e['tag']=_0x53ce3f[mf_dgc_0x22bf('0x159')]();_0x317f1e['shape']=_0x317f1e['tag'][mf_dgc_0x22bf('0x143')]();_0x317f1e[mf_dgc_0x22bf('0xa4')]=_0x3c0206;this[mf_dgc_0x22bf('0x23c')](_0x317f1e);var _0x317f1e=new _0x5d0dfe[(mf_dgc_0x22bf('0x23a'))](_0x2099f6);_0x317f1e[mf_dgc_0x22bf('0xae')]=_0x4b32e8[mf_dgc_0x22bf('0x138')]();_0x317f1e[mf_dgc_0x22bf('0x23d')]=_0x4b9604[mf_dgc_0x22bf('0x159')]();_0x317f1e[mf_dgc_0x22bf('0x1b3')]=_0x317f1e[mf_dgc_0x22bf('0x23d')]['toShape']();_0x317f1e['style']=_0x3c0206;this['addNode'](_0x317f1e);var _0x317f1e=new _0x5d0dfe[(mf_dgc_0x22bf('0x23a'))](_0x2099f6);_0x317f1e[mf_dgc_0x22bf('0xae')]=_0x2b470e[mf_dgc_0x22bf('0x138')]();_0x317f1e[mf_dgc_0x22bf('0xa4')]=_0x20b125;_0x317f1e[mf_dgc_0x22bf('0x117')]=this[mf_dgc_0x22bf('0x231')];this[mf_dgc_0x22bf('0x23c')](_0x317f1e,'',!![],!![]);_0x4b32e8=new _0x37683d[(mf_dgc_0x22bf('0x129'))](0x0,0x0,0x28,0x28);var _0x317f1e=new _0x5d0dfe[(mf_dgc_0x22bf('0x23a'))](_0x2099f6);_0x317f1e[mf_dgc_0x22bf('0xae')]=_0x4b32e8[mf_dgc_0x22bf('0x138')]();_0x317f1e['tag']=_0x54f3b7[mf_dgc_0x22bf('0x159')](_0x528143['In']);_0x317f1e[mf_dgc_0x22bf('0x1b3')]=_0x317f1e[mf_dgc_0x22bf('0x23d')][mf_dgc_0x22bf('0x143')]();_0x317f1e[mf_dgc_0x22bf('0xa4')]=_0x3c0206;this[mf_dgc_0x22bf('0x23c')](_0x317f1e);var _0x317f1e=new _0x5d0dfe[(mf_dgc_0x22bf('0x23a'))](_0x2099f6);_0x317f1e['bounds']=_0x4b32e8[mf_dgc_0x22bf('0x138')]();_0x317f1e[mf_dgc_0x22bf('0x23d')]=_0x54f3b7[mf_dgc_0x22bf('0x159')](_0x528143[mf_dgc_0x22bf('0x1ae')]);_0x317f1e[mf_dgc_0x22bf('0x1b3')]=_0x317f1e[mf_dgc_0x22bf('0x23d')][mf_dgc_0x22bf('0x143')]();_0x317f1e[mf_dgc_0x22bf('0xa4')]=_0x3c0206;this[mf_dgc_0x22bf('0x23c')](_0x317f1e);var _0x317f1e=new _0x5d0dfe[(mf_dgc_0x22bf('0x23a'))](_0x2099f6);_0x317f1e['bounds']=_0x4b32e8[mf_dgc_0x22bf('0x138')]();_0x317f1e[mf_dgc_0x22bf('0x23d')]=_0x54f3b7[mf_dgc_0x22bf('0x159')](_0x528143['BothWays']);_0x317f1e[mf_dgc_0x22bf('0x1b3')]=_0x317f1e[mf_dgc_0x22bf('0x23d')][mf_dgc_0x22bf('0x143')]();_0x317f1e[mf_dgc_0x22bf('0xa4')]=_0x3c0206;this[mf_dgc_0x22bf('0x23c')](_0x317f1e);}},{'key':mf_dgc_0x22bf('0x1e5'),'value':function onMouseMove(_0x158321){_0x58abde(_0x12582c(_0x3746b9[mf_dgc_0x22bf('0x12')]),mf_dgc_0x22bf('0x1e5'),this)['call'](this,_0x158321);if(this[mf_dgc_0x22bf('0x242')]!=null){var _0x4fa3fc=this['targetAsDiagramView'](_0x158321);if(_0x4fa3fc){var _0x253e15=_0x4e8a1d['DomUtils'][mf_dgc_0x22bf('0x243')](_0x158321,_0x4fa3fc[mf_dgc_0x22bf('0x5b')]);_0x4fa3fc[mf_dgc_0x22bf('0x214')](this[mf_dgc_0x22bf('0x242')][mf_dgc_0x22bf('0x23d')][mf_dgc_0x22bf('0x138')](),_0x253e15);_0x4fa3fc[mf_dgc_0x22bf('0x5b')]['parentNode'][mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0x244')]=mf_dgc_0x22bf('0x245');}}}},{'key':mf_dgc_0x22bf('0x246'),'value':function(){var _0x5b16aa=_0x170bde(regeneratorRuntime[mf_dgc_0x22bf('0x21a')](function _callee(_0x274bdb){var _0x6f0612,_0x26284e;return regeneratorRuntime['wrap'](function _callee$(_0x48774e){while(0x1){switch(_0x48774e[mf_dgc_0x22bf('0x21c')]=_0x48774e[mf_dgc_0x22bf('0xc')]){case 0x0:if(!(this[mf_dgc_0x22bf('0x242')]==null)){_0x48774e['next']=0x2;break;}return _0x48774e['abrupt'](mf_dgc_0x22bf('0x2d'));case 0x2:_0x6f0612=this[mf_dgc_0x22bf('0x247')](_0x274bdb);if(!(_0x6f0612!=null)){_0x48774e[mf_dgc_0x22bf('0xc')]=0xc;break;}if(_0x6f0612[mf_dgc_0x22bf('0x248')]){_0x48774e[mf_dgc_0x22bf('0xc')]=0x6;break;}return _0x48774e[mf_dgc_0x22bf('0x249')](mf_dgc_0x22bf('0x2d'));case 0x6:_0x26284e=_0x4e8a1d[mf_dgc_0x22bf('0xa0')][mf_dgc_0x22bf('0x243')](_0x274bdb,_0x6f0612[mf_dgc_0x22bf('0x5b')]);_0x6f0612[mf_dgc_0x22bf('0x24a')](this['draggedNode']['tag'],_0x26284e);_0x6f0612[mf_dgc_0x22bf('0x24b')]();delete window[mf_dgc_0x22bf('0x24c')];_0x6f0612[mf_dgc_0x22bf('0x8c')][mf_dgc_0x22bf('0x1a2')]();_0x6f0612[mf_dgc_0x22bf('0x5b')][mf_dgc_0x22bf('0x5c')][mf_dgc_0x22bf('0xa4')]['cursor']='default';case 0xc:document[mf_dgc_0x22bf('0x24d')][mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0x244')]=mf_dgc_0x22bf('0x159');this[mf_dgc_0x22bf('0x24e')]=null;this[mf_dgc_0x22bf('0x24f')]();case 0xf:case mf_dgc_0x22bf('0x221'):return _0x48774e['stop']();}}},_callee,this);}));function _0x1c1b61(_0x374b9b){return _0x5b16aa['apply'](this,arguments);}return _0x1c1b61;}()},{'key':mf_dgc_0x22bf('0x247'),'value':function targetAsDiagramView(_0x1ba7e1){var _0x1c77d1=_0x1ba7e1[mf_dgc_0x22bf('0x198')];if(_0x1ba7e1[mf_dgc_0x22bf('0x250')])_0x1c77d1=_0x1ba7e1[mf_dgc_0x22bf('0x251')]()[0x0];if(_0x1c77d1[mf_dgc_0x22bf('0x252')]===0x1){if(_0x1c77d1['id']){var _0xb80fbd=_0x4e8a1d[mf_dgc_0x22bf('0x71')][mf_dgc_0x22bf('0x253')](_0x1c77d1['id']);if(_0xb80fbd!=null){if(_0x4e8a1d[mf_dgc_0x22bf('0x254')][mf_dgc_0x22bf('0x255')](_0x58e5fc,_0xb80fbd)){return _0xb80fbd;}}}}return null;}}],[{'key':mf_dgc_0x22bf('0x13'),'value':function create(_0x473c29){return _0x4e8a1d[mf_dgc_0x22bf('0x71')][mf_dgc_0x22bf('0x128')](_0x3746b9,_0x473c29);}}]);return _0x3746b9;}(_0x5d0dfe[mf_dgc_0x22bf('0x256')]);var _0x4ccc5d=function(_0xa95980){_0x3ff91a(_0x4ccc5d,_0xa95980);var _0xfa445b=_0x5f420d(_0x4ccc5d);function _0x4ccc5d(_0x1c0b64){_0x7db1ca(this,_0x4ccc5d);return _0xfa445b[mf_dgc_0x22bf('0x19')](this,_0x1c0b64);}_0x4bee59(_0x4ccc5d,[{'key':mf_dgc_0x22bf('0x54'),'value':function initialize(){_0x58abde(_0x12582c(_0x4ccc5d['prototype']),mf_dgc_0x22bf('0x54'),this)['call'](this);this[mf_dgc_0x22bf('0x5b')][mf_dgc_0x22bf('0xa4')]['display']=mf_dgc_0x22bf('0x257');this['element']['style']['gridTemplateColumns']='1fr\x20140px';this[mf_dgc_0x22bf('0x5b')][mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0x258')]=mf_dgc_0x22bf('0x259');var _0x42b560=_0x4e8a1d['DomUtils'][mf_dgc_0x22bf('0xd2')](this[mf_dgc_0x22bf('0x5b')],this[mf_dgc_0x22bf('0x5b')]['parentNode']);var _0x4a4a0e=document['createElement'](mf_dgc_0x22bf('0xb4'));_0x4a4a0e[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xa2')]=_0x42b560[mf_dgc_0x22bf('0xa2')]+'px';_0x4a4a0e[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0x25a')]=mf_dgc_0x22bf('0xb9');var _0x230c69=document['createElement']('canvas');_0x230c69['id']=this[mf_dgc_0x22bf('0x5b')]['id']+mf_dgc_0x22bf('0x25b');_0x230c69['height']=_0x42b560[mf_dgc_0x22bf('0xa2')];_0x4a4a0e[mf_dgc_0x22bf('0x61')](_0x230c69);this[mf_dgc_0x22bf('0x5b')]['appendChild'](_0x4a4a0e);this[mf_dgc_0x22bf('0x25c')]=_0x58e5fc[mf_dgc_0x22bf('0x13')](_0x230c69);this['view']['designer']=this;var _0x4a4a0e=document[mf_dgc_0x22bf('0xbc')](mf_dgc_0x22bf('0xb4'));_0x4a4a0e[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xa1')]='140px';_0x4a4a0e[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xb8')]='hidden';_0x4a4a0e[mf_dgc_0x22bf('0xa4')]['overflowY']=mf_dgc_0x22bf('0x25d');_0x4a4a0e['style'][mf_dgc_0x22bf('0xa2')]=_0x42b560[mf_dgc_0x22bf('0xa2')]+'px';var _0x230c69=document[mf_dgc_0x22bf('0xbc')](mf_dgc_0x22bf('0xce'));_0x230c69[mf_dgc_0x22bf('0xa2')]=_0x42b560[mf_dgc_0x22bf('0xa2')];_0x230c69[mf_dgc_0x22bf('0xa1')]=mf_dgc_0x22bf('0x25e');_0x4a4a0e[mf_dgc_0x22bf('0x61')](_0x230c69);this[mf_dgc_0x22bf('0x5b')][mf_dgc_0x22bf('0x61')](_0x4a4a0e);this['palette']=_0x3746b9[mf_dgc_0x22bf('0x13')](_0x230c69);var _0x29bf08=new _0x4b2778[(mf_dgc_0x22bf('0x25f'))]();_0x29bf08[mf_dgc_0x22bf('0x260')]=![];_0x29bf08[mf_dgc_0x22bf('0x261')]=![];_0x29bf08['allowMinimize']=![];_0x29bf08[mf_dgc_0x22bf('0x262')]=![];_0x29bf08['title']=mf_dgc_0x22bf('0x263');_0x29bf08[mf_dgc_0x22bf('0x264')]=this;_0x29bf08['template']=this['generatePropertyPanelTemplate']();this['element'][mf_dgc_0x22bf('0x61')](_0x29bf08['draw']());_0x29bf08[mf_dgc_0x22bf('0x265')]();_0x29bf08[mf_dgc_0x22bf('0x266')]();_0x29bf08[mf_dgc_0x22bf('0x41')]=![];this[mf_dgc_0x22bf('0x267')]=_0x29bf08;this['showShapeProperties']=!![];}},{'key':mf_dgc_0x22bf('0x65'),'value':function dispose(){this[mf_dgc_0x22bf('0x25c')]['dispose']();this[mf_dgc_0x22bf('0x268')][mf_dgc_0x22bf('0x65')]();this[mf_dgc_0x22bf('0x267')][mf_dgc_0x22bf('0x65')]();_0x58abde(_0x12582c(_0x4ccc5d['prototype']),mf_dgc_0x22bf('0x65'),this)[mf_dgc_0x22bf('0x19')](this);}},{'key':mf_dgc_0x22bf('0x269'),'value':function getContent(){return this[mf_dgc_0x22bf('0x5b')];}},{'key':mf_dgc_0x22bf('0x26a'),'value':function generatePropertyPanelTemplate(){var _0xd78a7e=document[mf_dgc_0x22bf('0xbc')](mf_dgc_0x22bf('0xb4'));_0xd78a7e[mf_dgc_0x22bf('0xa4')]['display']=mf_dgc_0x22bf('0x26b');_0xd78a7e[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0x26c')]='column';_0xd78a7e[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0x26d')]=mf_dgc_0x22bf('0x26e');_0xd78a7e['style'][mf_dgc_0x22bf('0x26f')]=mf_dgc_0x22bf('0x270');_0xd78a7e[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0x271')]='4px';var _0xf8df94=document[mf_dgc_0x22bf('0xbc')]('label');_0xf8df94[mf_dgc_0x22bf('0x272')]=mf_dgc_0x22bf('0x273');_0xd78a7e[mf_dgc_0x22bf('0x61')](_0xf8df94);var _0x46cf3c=document[mf_dgc_0x22bf('0xbc')]('input');_0x46cf3c['id']=this['element']['id']+'p_strokecolor';_0x46cf3c['type']=mf_dgc_0x22bf('0x14a');_0x46cf3c['style'][mf_dgc_0x22bf('0xa1')]=mf_dgc_0x22bf('0x25d');_0xd78a7e['appendChild'](_0x46cf3c);var _0xf8df94=document[mf_dgc_0x22bf('0xbc')](mf_dgc_0x22bf('0x274'));_0xf8df94['id']=this[mf_dgc_0x22bf('0x5b')]['id']+mf_dgc_0x22bf('0x275');_0xf8df94[mf_dgc_0x22bf('0x272')]=mf_dgc_0x22bf('0x276');_0xd78a7e['appendChild'](_0xf8df94);var _0x46cf3c=document[mf_dgc_0x22bf('0xbc')]('input');_0x46cf3c['id']=this[mf_dgc_0x22bf('0x5b')]['id']+mf_dgc_0x22bf('0x277');_0x46cf3c[mf_dgc_0x22bf('0x175')]='number';_0x46cf3c['min']=-0x1;_0x46cf3c['max']=0xa;_0x46cf3c[mf_dgc_0x22bf('0x278')]=this[mf_dgc_0x22bf('0x279')][mf_dgc_0x22bf('0x1c')](this);_0xd78a7e['appendChild'](_0x46cf3c);var _0xf8df94=document[mf_dgc_0x22bf('0xbc')](mf_dgc_0x22bf('0x274'));_0xf8df94['id']=this['element']['id']+mf_dgc_0x22bf('0x27a');_0xf8df94[mf_dgc_0x22bf('0x272')]='Stroke\x20Dash\x20Style';_0xd78a7e[mf_dgc_0x22bf('0x61')](_0xf8df94);var _0x46cf3c=document[mf_dgc_0x22bf('0xbc')](mf_dgc_0x22bf('0x27b'));_0x46cf3c['id']=this[mf_dgc_0x22bf('0x5b')]['id']+mf_dgc_0x22bf('0x27c');Object[mf_dgc_0x22bf('0x27d')](_0x37683d['DashStyle'])[mf_dgc_0x22bf('0x64')](function(_0x29eae9){if(_0x29eae9[0x1]instanceof Function);else{var _0x5e9921=document['createElement']('option');_0x5e9921[mf_dgc_0x22bf('0x9')]=_0x29eae9[0x1];_0x5e9921[mf_dgc_0x22bf('0x117')]=_0x29eae9[0x0];_0x46cf3c['appendChild'](_0x5e9921);}});_0x46cf3c[mf_dgc_0x22bf('0x278')]=this[mf_dgc_0x22bf('0x279')]['bind'](this);_0xd78a7e[mf_dgc_0x22bf('0x61')](_0x46cf3c);var _0xf8df94=document[mf_dgc_0x22bf('0xbc')](mf_dgc_0x22bf('0x274'));_0xf8df94['id']=this[mf_dgc_0x22bf('0x5b')]['id']+'l_fillcolor';_0xf8df94[mf_dgc_0x22bf('0x272')]=mf_dgc_0x22bf('0x27e');_0xd78a7e[mf_dgc_0x22bf('0x61')](_0xf8df94);var _0x46cf3c=document[mf_dgc_0x22bf('0xbc')](mf_dgc_0x22bf('0x27f'));_0x46cf3c['id']=this[mf_dgc_0x22bf('0x5b')]['id']+mf_dgc_0x22bf('0x280');_0x46cf3c[mf_dgc_0x22bf('0x175')]=mf_dgc_0x22bf('0x14a');_0x46cf3c[mf_dgc_0x22bf('0xa4')]['width']=mf_dgc_0x22bf('0x25d');_0x46cf3c[mf_dgc_0x22bf('0x278')]=this['setProp']['bind'](this);_0xd78a7e[mf_dgc_0x22bf('0x61')](_0x46cf3c);var _0xf8df94=document[mf_dgc_0x22bf('0xbc')](mf_dgc_0x22bf('0x274'));_0xf8df94['id']=this[mf_dgc_0x22bf('0x5b')]['id']+mf_dgc_0x22bf('0x281');_0xf8df94[mf_dgc_0x22bf('0x272')]='Style';_0xd78a7e['appendChild'](_0xf8df94);var _0x46cf3c=document['createElement'](mf_dgc_0x22bf('0x27b'));_0x46cf3c['id']=this['element']['id']+'p_anchorstyle';Object[mf_dgc_0x22bf('0x27d')](_0x5d0dfe['MarkStyle'])[mf_dgc_0x22bf('0x64')](function(_0x2a7b3c){if(_0x2a7b3c[0x1]instanceof Function);else{var _0x2db242=document[mf_dgc_0x22bf('0xbc')](mf_dgc_0x22bf('0x282'));_0x2db242['value']=_0x2a7b3c[0x1];_0x2db242[mf_dgc_0x22bf('0x117')]=_0x2a7b3c[0x0];_0x46cf3c[mf_dgc_0x22bf('0x61')](_0x2db242);}});_0x46cf3c[mf_dgc_0x22bf('0x278')]=this[mf_dgc_0x22bf('0x279')][mf_dgc_0x22bf('0x1c')](this);_0xd78a7e[mf_dgc_0x22bf('0x61')](_0x46cf3c);var _0xf8df94=document[mf_dgc_0x22bf('0xbc')](mf_dgc_0x22bf('0x274'));_0xf8df94['id']=this[mf_dgc_0x22bf('0x5b')]['id']+mf_dgc_0x22bf('0x283');_0xf8df94[mf_dgc_0x22bf('0x272')]=mf_dgc_0x22bf('0x12a');_0xd78a7e[mf_dgc_0x22bf('0x61')](_0xf8df94);var _0x46cf3c=document[mf_dgc_0x22bf('0xbc')](mf_dgc_0x22bf('0x27f'));_0x46cf3c['id']=this[mf_dgc_0x22bf('0x5b')]['id']+mf_dgc_0x22bf('0x284');_0x46cf3c['type']=mf_dgc_0x22bf('0x2b');_0x46cf3c[mf_dgc_0x22bf('0xac')]=0x1;_0x46cf3c[mf_dgc_0x22bf('0x285')]=0x14;_0x46cf3c[mf_dgc_0x22bf('0x278')]=this[mf_dgc_0x22bf('0x279')]['bind'](this);_0xd78a7e[mf_dgc_0x22bf('0x61')](_0x46cf3c);return _0xd78a7e[mf_dgc_0x22bf('0x286')];}},{'key':mf_dgc_0x22bf('0x287'),'value':function rebindPropertyPanel(_0x302193){if(!_0x302193)return;var _0x32418a=this['propertyPanel']['element'][mf_dgc_0x22bf('0xc7')]('#'+this[mf_dgc_0x22bf('0x5b')]['id']+mf_dgc_0x22bf('0x288'));_0x32418a[mf_dgc_0x22bf('0x9')]=_0x302193[mf_dgc_0x22bf('0x132')];_0x32418a['onchange']=this['setProp']['bind'](this);var _0x32418a=this[mf_dgc_0x22bf('0x267')][mf_dgc_0x22bf('0x5b')][mf_dgc_0x22bf('0xc7')]('#'+this[mf_dgc_0x22bf('0x5b')]['id']+mf_dgc_0x22bf('0x277'));var _0x3ab2a5=this['propertyPanel'][mf_dgc_0x22bf('0x5b')][mf_dgc_0x22bf('0xc7')]('#'+this[mf_dgc_0x22bf('0x5b')]['id']+mf_dgc_0x22bf('0x275'));if(_0x302193 instanceof _0x54f3b7){_0x32418a[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xa5')]=mf_dgc_0x22bf('0x289');_0x3ab2a5[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xa5')]=mf_dgc_0x22bf('0x289');}else{_0x32418a['style'][mf_dgc_0x22bf('0xa5')]='block';_0x3ab2a5[mf_dgc_0x22bf('0xa4')]['display']=mf_dgc_0x22bf('0x28a');_0x32418a[mf_dgc_0x22bf('0x9')]=_0x302193[mf_dgc_0x22bf('0x133')]||-0x1;_0x32418a['onchange']=this[mf_dgc_0x22bf('0x279')][mf_dgc_0x22bf('0x1c')](this);}var _0x32418a=this[mf_dgc_0x22bf('0x267')][mf_dgc_0x22bf('0x5b')][mf_dgc_0x22bf('0xc7')]('#'+this[mf_dgc_0x22bf('0x5b')]['id']+mf_dgc_0x22bf('0x27c'));var _0x3ab2a5=this['propertyPanel']['element']['querySelector']('#'+this['element']['id']+'l_strokedashstyle');if(_0x302193 instanceof _0x54f3b7){_0x32418a['style']['display']=mf_dgc_0x22bf('0x289');_0x3ab2a5['style'][mf_dgc_0x22bf('0xa5')]=mf_dgc_0x22bf('0x289');}else{_0x32418a[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xa5')]='block';_0x3ab2a5[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xa5')]='block';_0x32418a[mf_dgc_0x22bf('0x9')]=_0x302193['strokeDashStyle'];_0x32418a[mf_dgc_0x22bf('0x278')]=this[mf_dgc_0x22bf('0x279')][mf_dgc_0x22bf('0x1c')](this);}var _0x32418a=this[mf_dgc_0x22bf('0x267')][mf_dgc_0x22bf('0x5b')]['querySelector']('#'+this[mf_dgc_0x22bf('0x5b')]['id']+mf_dgc_0x22bf('0x280'));var _0x3ab2a5=this['propertyPanel'][mf_dgc_0x22bf('0x5b')][mf_dgc_0x22bf('0xc7')]('#'+this[mf_dgc_0x22bf('0x5b')]['id']+mf_dgc_0x22bf('0x28b'));if(_0x302193 instanceof _0x289a10){_0x32418a[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xa5')]='block';_0x3ab2a5[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xa5')]='block';_0x32418a[mf_dgc_0x22bf('0x9')]=_0x302193['fillColor'];_0x32418a[mf_dgc_0x22bf('0x278')]=this[mf_dgc_0x22bf('0x279')][mf_dgc_0x22bf('0x1c')](this);}else{_0x32418a[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xa5')]=mf_dgc_0x22bf('0x289');_0x3ab2a5['style']['display']=mf_dgc_0x22bf('0x289');}var _0x32418a=this[mf_dgc_0x22bf('0x267')][mf_dgc_0x22bf('0x5b')][mf_dgc_0x22bf('0xc7')]('#'+this[mf_dgc_0x22bf('0x5b')]['id']+mf_dgc_0x22bf('0x28c'));var _0x3ab2a5=this[mf_dgc_0x22bf('0x267')][mf_dgc_0x22bf('0x5b')]['querySelector']('#'+this[mf_dgc_0x22bf('0x5b')]['id']+mf_dgc_0x22bf('0x281'));if(_0x302193 instanceof _0x54f3b7){_0x32418a[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xa5')]=mf_dgc_0x22bf('0x28a');_0x3ab2a5[mf_dgc_0x22bf('0xa4')]['display']=mf_dgc_0x22bf('0x28a');_0x32418a[mf_dgc_0x22bf('0x9')]=_0x302193[mf_dgc_0x22bf('0xa4')];_0x32418a['onchange']=this[mf_dgc_0x22bf('0x279')]['bind'](this);}else{_0x32418a['style'][mf_dgc_0x22bf('0xa5')]=mf_dgc_0x22bf('0x289');_0x3ab2a5[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0xa5')]='none';}var _0x32418a=this['propertyPanel'][mf_dgc_0x22bf('0x5b')][mf_dgc_0x22bf('0xc7')]('#'+this[mf_dgc_0x22bf('0x5b')]['id']+mf_dgc_0x22bf('0x284'));var _0x3ab2a5=this[mf_dgc_0x22bf('0x267')]['element'][mf_dgc_0x22bf('0xc7')]('#'+this[mf_dgc_0x22bf('0x5b')]['id']+mf_dgc_0x22bf('0x283'));if(_0x302193 instanceof _0x54f3b7){_0x32418a[mf_dgc_0x22bf('0xa4')]['display']=mf_dgc_0x22bf('0x28a');_0x3ab2a5['style'][mf_dgc_0x22bf('0xa5')]=mf_dgc_0x22bf('0x28a');_0x32418a[mf_dgc_0x22bf('0x9')]=_0x302193[mf_dgc_0x22bf('0x1ac')];_0x32418a[mf_dgc_0x22bf('0x278')]=this[mf_dgc_0x22bf('0x279')][mf_dgc_0x22bf('0x1c')](this);}else{_0x32418a['style'][mf_dgc_0x22bf('0xa5')]=mf_dgc_0x22bf('0x289');_0x3ab2a5['style'][mf_dgc_0x22bf('0xa5')]='none';}}},{'key':mf_dgc_0x22bf('0x279'),'value':function setProp(_0x5e6c24){if(!this[mf_dgc_0x22bf('0x1a4')])return;if(_0x5e6c24[mf_dgc_0x22bf('0x198')]['id']['indexOf'](mf_dgc_0x22bf('0x28d'))>-0x1)this['selectedElement'][mf_dgc_0x22bf('0x132')]=_0x5e6c24[mf_dgc_0x22bf('0x198')][mf_dgc_0x22bf('0x9')];else if(_0x5e6c24[mf_dgc_0x22bf('0x198')]['id'][mf_dgc_0x22bf('0x196')](mf_dgc_0x22bf('0x28e'))>-0x1)this[mf_dgc_0x22bf('0x1a4')][mf_dgc_0x22bf('0x133')]=+_0x5e6c24[mf_dgc_0x22bf('0x198')][mf_dgc_0x22bf('0x9')]==-0x1?undefined:+_0x5e6c24[mf_dgc_0x22bf('0x198')][mf_dgc_0x22bf('0x9')];else if(_0x5e6c24[mf_dgc_0x22bf('0x198')]['id'][mf_dgc_0x22bf('0x196')](mf_dgc_0x22bf('0x28f'))>-0x1)this[mf_dgc_0x22bf('0x1a4')][mf_dgc_0x22bf('0x134')]=+_0x5e6c24[mf_dgc_0x22bf('0x198')]['value'];else if(_0x5e6c24['target']['id'][mf_dgc_0x22bf('0x196')]('fillcolor')>-0x1)this[mf_dgc_0x22bf('0x1a4')]['fillColor']=_0x5e6c24[mf_dgc_0x22bf('0x198')][mf_dgc_0x22bf('0x9')];else if(_0x5e6c24['target']['id'][mf_dgc_0x22bf('0x196')](mf_dgc_0x22bf('0x290'))>-0x1)this[mf_dgc_0x22bf('0x1a4')][mf_dgc_0x22bf('0xa4')]=+_0x5e6c24[mf_dgc_0x22bf('0x198')][mf_dgc_0x22bf('0x9')];else if(_0x5e6c24[mf_dgc_0x22bf('0x198')]['id'][mf_dgc_0x22bf('0x196')](mf_dgc_0x22bf('0x291'))>-0x1)this['selectedElement'][mf_dgc_0x22bf('0x1ac')]=+_0x5e6c24[mf_dgc_0x22bf('0x198')]['value'];this['view'][mf_dgc_0x22bf('0xce')]['invalidate']();this[mf_dgc_0x22bf('0x7b')](_0x1a65a3[mf_dgc_0x22bf('0x32')],_0x4e8a1d[mf_dgc_0x22bf('0x217')][mf_dgc_0x22bf('0xd6')]);}},{'key':'importShape','value':function importShape(_0x2fbe4a){this['selectedElement']=null;this[mf_dgc_0x22bf('0x25c')]['importShape'](_0x2fbe4a);this['raiseEvent'](_0x1a65a3[mf_dgc_0x22bf('0x32')],_0x4e8a1d[mf_dgc_0x22bf('0x217')][mf_dgc_0x22bf('0xd6')]);}},{'key':mf_dgc_0x22bf('0x1c6'),'value':function exportShape(_0x1f50b2){if(this['view']['canvas']==null)return null;return this[mf_dgc_0x22bf('0x25c')][mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0x186')][mf_dgc_0x22bf('0x1c6')](_0x1f50b2);}},{'key':mf_dgc_0x22bf('0x19f'),'value':function undo(){this[mf_dgc_0x22bf('0x25c')][mf_dgc_0x22bf('0x19f')]();}},{'key':'redo','value':function redo(){this[mf_dgc_0x22bf('0x25c')][mf_dgc_0x22bf('0x1a3')]();}},{'key':'removeElement','value':function removeElement(_0x4242b1){this[mf_dgc_0x22bf('0x25c')]['removeElement'](_0x4242b1);}},{'key':mf_dgc_0x22bf('0x22a'),'value':function copyToClipboard(){this[mf_dgc_0x22bf('0x25c')]['copyToClipboard']();}},{'key':mf_dgc_0x22bf('0x22b'),'value':function pasteFromClipboard(_0x13f17f,_0x1eadca){this[mf_dgc_0x22bf('0x25c')][mf_dgc_0x22bf('0x22b')](_0x13f17f,_0x1eadca);}},{'key':'refresh','value':function refresh(){this[mf_dgc_0x22bf('0x25c')][mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0x1a2')]();this[mf_dgc_0x22bf('0x287')](this[mf_dgc_0x22bf('0x1a4')]);}},{'key':mf_dgc_0x22bf('0x1a4'),'get':function get(){return this[mf_dgc_0x22bf('0x25c')][mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0x1a4')];},'set':function set(_0x550bb1){if(this[mf_dgc_0x22bf('0x25c')][mf_dgc_0x22bf('0x1a4')]!=_0x550bb1){this[mf_dgc_0x22bf('0x25c')]['selectedElement']=_0x550bb1;}if(_0x550bb1!=null){this[mf_dgc_0x22bf('0x287')](_0x550bb1);if(this['showShapeProperties']){this[mf_dgc_0x22bf('0x267')]['visible']=!![];this[mf_dgc_0x22bf('0x267')][mf_dgc_0x22bf('0x266')]();}}else this[mf_dgc_0x22bf('0x267')]['visible']=![];}},{'key':mf_dgc_0x22bf('0x292'),'get':function get(){return this[mf_dgc_0x22bf('0x293')];},'set':function set(_0x371303){if(this['_showShapeProperties']!=_0x371303){this[mf_dgc_0x22bf('0x293')]=_0x371303;}}},{'key':'templatesLabel','get':function get(){return this[mf_dgc_0x22bf('0x268')]['templatesLabel'];},'set':function set(_0xa3e8bf){this[mf_dgc_0x22bf('0x268')][mf_dgc_0x22bf('0x23b')]=_0xa3e8bf;}},{'key':mf_dgc_0x22bf('0x22f'),'get':function get(){return this['palette']['primitivesLabel'];},'set':function set(_0x94f73){this[mf_dgc_0x22bf('0x268')][mf_dgc_0x22bf('0x22f')]=_0x94f73;}},{'key':mf_dgc_0x22bf('0x231'),'get':function get(){return this[mf_dgc_0x22bf('0x268')][mf_dgc_0x22bf('0x231')];},'set':function set(_0x1e35a8){this[mf_dgc_0x22bf('0x268')]['anchorPointsLabel']=_0x1e35a8;}},{'key':'showGrid','get':function get(){return this[mf_dgc_0x22bf('0x25c')][mf_dgc_0x22bf('0xce')]['showGrid'];},'set':function set(_0x1ca591){this['view'][mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0x1ee')]=_0x1ca591;}},{'key':mf_dgc_0x22bf('0x21d'),'get':function get(){return this[mf_dgc_0x22bf('0x25c')][mf_dgc_0x22bf('0xce')]['alignToGrid'];},'set':function set(_0x32d4ac){this['view'][mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0x21d')]=_0x32d4ac;}},{'key':'gridSizeX','get':function get(){return this[mf_dgc_0x22bf('0x25c')][mf_dgc_0x22bf('0xce')]['gridSizeX'];},'set':function set(_0x578863){this[mf_dgc_0x22bf('0x25c')][mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0x1f1')]=_0x578863;}},{'key':'gridSizeY','get':function get(){return this[mf_dgc_0x22bf('0x25c')][mf_dgc_0x22bf('0xce')][mf_dgc_0x22bf('0x1f2')];},'set':function set(_0x4ce366){this[mf_dgc_0x22bf('0x25c')]['canvas'][mf_dgc_0x22bf('0x1f2')]=_0x4ce366;}},{'key':mf_dgc_0x22bf('0x76'),'get':function get(){return this['_theme'];},'set':function set(_0x2be8a7){if(this['_theme']!=_0x2be8a7){this[mf_dgc_0x22bf('0x102')]=_0x2be8a7;if(this[mf_dgc_0x22bf('0x5a')]){var _0x59c397=this[mf_dgc_0x22bf('0x5a')][mf_dgc_0x22bf('0x103')]('link');_0xbce20d(_0x59c397)[mf_dgc_0x22bf('0x64')](function(_0x35527f){return _0x35527f[mf_dgc_0x22bf('0x5c')]['removeChild'](_0x35527f);});var _0x3e0160=document[mf_dgc_0x22bf('0xbc')]('link');_0x3e0160['href']=this['themesPath']+this[mf_dgc_0x22bf('0x102')]['id']+mf_dgc_0x22bf('0x107');_0x3e0160[mf_dgc_0x22bf('0x108')]=mf_dgc_0x22bf('0x109');this[mf_dgc_0x22bf('0x5a')]['appendChild'](_0x3e0160);}this[mf_dgc_0x22bf('0x267')][mf_dgc_0x22bf('0x76')]=_0x2be8a7;}}},{'key':'themesPath','get':function get(){return this['_themesPath']||'';},'set':function set(_0x39173e){if(this[mf_dgc_0x22bf('0x10a')]!=_0x39173e){this[mf_dgc_0x22bf('0x10a')]=_0x39173e;}}},{'key':'shapeChanged','get':function get(){if(!this['_shapeChanged'])this[mf_dgc_0x22bf('0x294')]=new _0x4e8a1d[(mf_dgc_0x22bf('0x119'))]();return this['_shapeChanged'];}},{'key':mf_dgc_0x22bf('0x11f'),'value':function connectedCallback(){var _0x38c1ab=this[mf_dgc_0x22bf('0x120')]({'mode':mf_dgc_0x22bf('0x87')});var _0x29c005=document[mf_dgc_0x22bf('0xbc')](mf_dgc_0x22bf('0xb4'));_0x29c005[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0x125')]=this[mf_dgc_0x22bf('0xa4')][mf_dgc_0x22bf('0x125')];this[mf_dgc_0x22bf('0xa4')]['cssText']='';_0x38c1ab['appendChild'](_0x29c005);this[mf_dgc_0x22bf('0x127')]('id');var _0x392213=_0x4ccc5d[mf_dgc_0x22bf('0x13')](_0x29c005);_0x392213['shadowParent']=_0x38c1ab;}}],[{'key':'create','value':function create(_0x505f46){return _0x4e8a1d[mf_dgc_0x22bf('0x71')][mf_dgc_0x22bf('0x128')](_0x4ccc5d,_0x505f46);}}]);return _0x4ccc5d;}(_0x4e8a1d[mf_dgc_0x22bf('0x71')]);var _0x19fe37=typeof window!==mf_dgc_0x22bf('0x0')?window:global;var _0x5a27ce=function(){function _0x5a27ce(){_0x7db1ca(this,_0x5a27ce);}_0x4bee59(_0x5a27ce,null,[{'key':'register','value':function register(){if(_0x19fe37[mf_dgc_0x22bf('0x295')]!=undefined){_0x4b2778[mf_dgc_0x22bf('0x296')]['register']();_0x5d0dfe[mf_dgc_0x22bf('0x296')][mf_dgc_0x22bf('0x297')]();if(_0x19fe37[mf_dgc_0x22bf('0x295')][mf_dgc_0x22bf('0x20')](mf_dgc_0x22bf('0x298'))==undefined)_0x19fe37['customElements'][mf_dgc_0x22bf('0x299')](mf_dgc_0x22bf('0x298'),_0x41e1c5);}}}]);return _0x5a27ce;}();_0x1d6fc6[mf_dgc_0x22bf('0x69')]=_0x1a65a3;_0x1d6fc6[mf_dgc_0x22bf('0x29a')]=_0x8bc135;_0x1d6fc6[mf_dgc_0x22bf('0x29b')]=_0x43578c;_0x1d6fc6[mf_dgc_0x22bf('0x29c')]=_0x4ccc5d;_0x1d6fc6[mf_dgc_0x22bf('0x29d')]=_0x3518d5;_0x1d6fc6[mf_dgc_0x22bf('0x29e')]=_0x41e1c5;_0x1d6fc6[mf_dgc_0x22bf('0x296')]=_0x5a27ce;Object['defineProperty'](_0x1d6fc6,mf_dgc_0x22bf('0x29f'),{'value':!![]});}));
|
|
1
|
+
var mf_dgc_0x18f5=['object','undefined','function','amd','MindFusion','Diagramming','Controls','Common','Collections','Drawing','value','done','resolve','then','apply','next','throw','Cannot\x20call\x20a\x20class\x20as\x20a\x20function','length','enumerable','configurable','writable','key','prototype','Super\x20expression\x20must\x20either\x20be\x20null\x20or\x20a\x20function','create','setPrototypeOf','getPrototypeOf','__proto__','construct','sham','valueOf','call','bind','this\x20hasn\x27t\x20been\x20initialised\x20-\x20super()\x20hasn\x27t\x20been\x20called','constructor','get','getOwnPropertyDescriptor','isArray','iterator','from','string','Object','Arguments','Invalid\x20attempt\x20to\x20spread\x20non-iterable\x20instance.\x0aIn\x20order\x20to\x20be\x20iterable,\x20non-array\x20objects\x20must\x20have\x20a\x20[Symbol.iterator]()\x20method.','@@iterator','Invalid\x20attempt\x20to\x20iterate\x20non-iterable\x20instance.\x0aIn\x20order\x20to\x20be\x20iterable,\x20non-array\x20objects\x20must\x20have\x20a\x20[Symbol.iterator]()\x20method.','return','pageChanging','pageChanged','pageAdding','pageAdded','pageRemoving','pageRemoved','shapeChanged','sender','page','_page','oldPage','_oldPage','CancelEventArgs','pages','DiagramPage','title','addPage','_tabAlignment','None','tabStrip','parent','req','visible','showAddButton','setMaxSize','pageRenameStartHandler','onPageRenameStart','pageRenameEndHandler','onPageRenameEnd','addEventListener','tabsSize','_showTabCloseButtons','_allowRenamePages','documentChangedDelegate','document','List','CompatConfig','propFunctions','generatePropFunctions','initialize','_tabMouseDownHandler','onTabMouseDown','closeButtonClick','addButtonClick','navButtonClick','itemDrop','_tabDropHandler','shadowParent','parentNode','tabAlignment','Top','element','insertBefore','appendChild','draw','attach','selectedPage','last','dispose','items','attachDiagramEvents','Events','dataLoadedDelegate','queryView','detachDiagramEvents','removeEventListener','queryViewDelegate','toJson','toJsonObject','saveViewProps','Control','showNavigationButtons','allowReorder','allowRenamePages','selectedIndex','fromJson','fromJsonObject','loadViewProps','controlLoaded','prepareScriptEvent','pageChangingScript','pageChangedScript','pageAddingScript','pageAddedScript','pageRemovingScript','pageRemovedScript','showTabCloseButtons','Theme','fromId','theme','saveToXml','open','POST','setRequestHeader','Content-Type','text/xml','toXmlDocument','XmlPersistContext','diagram','selectSingleNode','DiagramDocument','View','saveView','send','serializeToString','loadFromXml','responseXML','fromXmlDocument','loadView','onerror','Error\x20while\x20getting\x20XML.','GET','responseType','readString','trackMouseHover','getHandler','nodeHovered','linkHovered','trackPointerEvents','nodePointerEnter','linkPointerEnter','linkPointerLeave','nodePointerLeave','resetVirtualScrollGrid','scrollerH','clearHandlers','getBounds','width','height','_mf_originalHeight','style','grid','gridTemplateColumns','auto\x20','scrollbarSize','gridTemplateRows','px\x20auto\x20','px\x20','overflow','gridRow','getScrollbarSize','bounds','scale','min','display','inline-block','1\x20/\x20-1','mf_diagram_scrollerH','overflowX','auto','overflowY','hidden','#eee','createElement','div','className','gridRowStart','backgroundColor','scrollerV','scrollDelegate','resizeTimeoutId','onVirtualResize','resetTabAlignment','querySelector','.mf_diagram_scrollerH','.mf_diagram_scrollerV','updateCanvasSize','_zoomFactor','canvas','measureUnit','firstChild','repaint','raiseEvent','sizeChanged','EventArgs','Empty','resetTabs','clear','forEach','ToolStripItem','ToolStripItemType','Label','titleColor','iconUrl','add','header','onPageValidateAction','removePage','savePageState','zoomFactor','scrollX','scrollY','restorePageState','item','enabled','dataMfc','mfc-add','_lastIndex','toString','mfc-first','first','mfc-next','mfc-last','getItemByHeader','DomUtils','hasCssClass','rawEventArgs','target','mfc-tabbutton-close','inplaceEditBehavior','eventHandled','onTabDrop','getGroupItems','indexOfItem','_items','splice','_selectedPage','setDiagram','where','_document','documentChanged','diagramChanged','Unit','UnitType','Pixel','showCloseButtons','scrollMode','TabsScrollMode','NavButtons','_theme','querySelectorAll','link','themesPath','.css','_themesPath','setTheme','allowInplaceEdit','onDataLoaded','onDocumentChanged','count','resetButtons','oldIndex','max','index','cancel','inplaceController','inplaceHandler','endEdit','pointerdown','text','_pageChanging','EventDispatcher','_pageChanged','_pageAdding','_pageAdded','_pageRemoving','_pageRemoved','connectedCallback','attachShadow','replace','uicss','listviewcss','toolstripcss','tabstripcss','adoptedStyleSheets','cssText','removeAttribute','createControl','findControl','drawControlPoint','Rect','Size','offset','save','fillRect','strokeRect','lastHandle','saveState','strokeColor','strokeThickness','strokeDashStyle','isDummy','defaultSize','startPoint','Point','endPoint','clone','center','DrawingUtils','mid','distance','distToLine','addVector','orientate','Matrix','translate','transformPoint','toShape','Line','Shape','addToContext','moveTo','lineTo','strokeStyle','color','lineWidth','DashStyle','dashStyle','beginPath','restore','drawControlPoints','hitTestHandle','updateFromHandle','exportElement','concat','ShapeElement','push','loadState','fromCenter','fromCenterAndSize','default','points','fromPoints','distToBezier','sqrt','bezierCurveTo','#000000','_mf_scale','stroke','exportShapeElement','sin','cos','controlPoint','abs','Geometry','degreeToRadian','angleBetween','arc','midPoint','Arc','topLeft','bottomRight','cornerRadius','quadraticCurveTo','RoundyRect','roundRect','fromBounds','type','RectangleComposite','right','bottom','DiamondComposite','EllipseComposite','states','newStates','dropLocation','elementIndex','set','execute','ChangeCommand','shapeBuilder','decorations','getElements','newDecoration','filledDecorations','AddAnchorCommand','setCenter','anchorPoints','clearOutline','filledDecoration','outline','newOutline','oldOutline','InsertElementCommand','prevState','RemoveElementCommand','indexOf','removeElements','removeFromOutline','nextState','textArea','drawHighlight','hitElement','ellipse','#0000ff','ReplaceOutlineCommand','#ff0000','AddDecorationCommand','AddFilledDecorationCommand','selectedElement','invalidate','ReplaceElementCommand','fillColor','_bounds','Path','path','fillStyle','fill','join','ShapeDecoration','size','anchorSize','anchorType','Anchor','closePath','Out','BothWays','fromPoint','allowIncoming','allowOutgoing','markStyle','MarkStyle','Cross','ignoreStyle','rgba(0,\x200,\x20100,\x200.5)','#ccc','minDistToRect','parseShape','black','useTextArea','ShapeRenderer','shape','createBuilders','outlineBuilder','decorationElements','decorationBuilder','shapeDecorationElements','shapeDecorationBuilder','elements','brush','pen','anchorPattern','textAreaElements','lastPoint','createBuilder','command','func','args','line','bezier','exportShape','exportElements','decoration','shapeDecorations','find','outlinePen','decorationPen','shapeDecorationPen','shapeDecorationBrush','AnchorPattern','AnchorPoint','outlineElements','outlineBounds','minX','minY','exportShapeElements','showTextArea','allElements','MAX_VALUE','hitTestDropTarget','nearestElement','hitTestOutlineTarget','firstHandle','hitTest','AnchorController','FilledDecorationMoveController','FilledDecorationResizeController','hitTestOutline','handlesSize','ElementController','OutlineController','handle','adjacent','adjacentHandle','changeCommand','registerElement','currentScale','onMouseDown','hasMoved','previousPosition','onMouseMove','initialDistance','scaleCentered','onMouseUp','shapeSize','selectedHandlesBrush','#ffffff','pointedHandlesBrush','#cccccc','shadowsStyle','showGrid','#eeeeee','Lines','context','pointedElement','dropCommand','_selectedElement','_shapeBuilder','removeElement','addElement','raiseSizeChanged','_dirty','setDirty','Diagram','behavior','Behavior','undoHistory','currentCommand','mouseInputDispatcher','onPointerDown','onPointerMove','onPointerUp','keyboardInputDispatcher','onKeyUp','gridSizeX','floor','gridSizeY','GraphicsUnit','getPixel','disabled','doClip','cyan','resetVirtualScroll','recalcVirtualScroll','clientToDoc','onElementDrag','onElementDrop','saveCommand','designer','controller','mark','wrap','prev','alignToGrid','alignPointToGrid','updateDragIndicator','end','stop','platform','toLowerCase','mac','undo','fromCommand','redo','importShape','copyToClipboard','mf_clipboard','pasteFromClipboard','DiagramView','Decorations','primitivesLabel','Elements','anchorPointsLabel','Anchor\x20Points','labelBrush','#495f77','iconSize','drawShadow','fillShapes','Style','#fff','fontSize','backBrush','ShapeNode','addNode','tag','Shapes','Rhombus','draggedNode','move','onMouseLeftButtonUp','abrupt','dragIndicator','getCursorPos','removeDragIndicator','mf_drag','cursor','body','_draggedNode','removeDragShape','targetAsDiagramView','composed','nodeType','ControlUtils','isInstanceOfType','NodeListView','position','relative','_view','view','120','palette','Window','allowResize','allowMinimize','Properties','host','template','generatePropertyPanelTemplate','autoSize','propertyPanel','getContent','flex','flexDirection','column','stretch','padding','4px','rowGap','input','l_strokethickness','innerText','Stroke\x20Thickness','p_strokethickness','number','onchange','setProp','label','Stroke\x20Dash\x20Style','select','p_strokedashstyle','entries','l_fillcolor','l_anchorstyle','option','l_anchorsize','p_anchorsize','outerHTML','rebindPropertyPanel','p_strokecolor','l_strokedashstyle','none','block','p_fillcolor','p_anchorstyle','strokecolor','strokethickness','strokedashstyle','anchorstyle','anchorsize','refresh','showShapeProperties','_showShapeProperties','templatesLabel','href','rel','_shapeChanged','register','customElements','WebComponents','define','mindfusion-tabbeddiagramview','ShapeDesigner','TabAlignment','TabbedDiagramView','defineProperty','__esModule'];var mf_dgc_0x3a60=function(_0x3f8013,_0x560fc1){_0x3f8013=_0x3f8013-0x0;var _0x283928=mf_dgc_0x18f5[_0x3f8013];return _0x283928;};(function(_0x5c4f2f,_0x39d1c8){typeof exports===mf_dgc_0x3a60('0x0')&&typeof module!==mf_dgc_0x3a60('0x1')?_0x39d1c8(exports,require('@mindfusion/controls'),require('@mindfusion/diagramming'),require('@mindfusion/common'),require('@mindfusion/common-ui'),require('@mindfusion/common-collections'),require('@mindfusion/drawing')):typeof define===mf_dgc_0x3a60('0x2')&&define[mf_dgc_0x3a60('0x3')]?define(['exports','@mindfusion/controls','@mindfusion/diagramming','@mindfusion/common','@mindfusion/common-ui','@mindfusion/common-collections','@mindfusion/drawing'],_0x39d1c8):(_0x5c4f2f=typeof globalThis!==mf_dgc_0x3a60('0x1')?globalThis:_0x5c4f2f||self,_0x39d1c8((_0x5c4f2f[mf_dgc_0x3a60('0x4')]=_0x5c4f2f[mf_dgc_0x3a60('0x4')]||{},_0x5c4f2f[mf_dgc_0x3a60('0x4')][mf_dgc_0x3a60('0x5')]=_0x5c4f2f['MindFusion'][mf_dgc_0x3a60('0x5')]||{},_0x5c4f2f[mf_dgc_0x3a60('0x4')][mf_dgc_0x3a60('0x5')][mf_dgc_0x3a60('0x6')]={}),_0x5c4f2f[mf_dgc_0x3a60('0x4')][mf_dgc_0x3a60('0x6')],_0x5c4f2f[mf_dgc_0x3a60('0x4')][mf_dgc_0x3a60('0x5')],_0x5c4f2f[mf_dgc_0x3a60('0x4')][mf_dgc_0x3a60('0x7')],_0x5c4f2f[mf_dgc_0x3a60('0x4')][mf_dgc_0x3a60('0x7')]['UI'],_0x5c4f2f[mf_dgc_0x3a60('0x4')][mf_dgc_0x3a60('0x7')][mf_dgc_0x3a60('0x8')],_0x5c4f2f[mf_dgc_0x3a60('0x4')][mf_dgc_0x3a60('0x9')]));}(this,function(_0x1c2f26,_0x4bec27,_0x4b0f07,_0x175d01,_0x3b18de,_0x5d7218,_0x4d2758){'use strict';var _0x5eb876={'None':0x0,'Top':0x1,'Bottom':0x3};var _0x33e40e={'In':0x0,'Out':0x1,'BothWays':0x2};function _0x15e043(_0x8fd4c0,_0x3d7031,_0x312fb8,_0x145b21,_0x54aed7,_0xf145fd,_0x305d68){try{var _0x307ec2=_0x8fd4c0[_0xf145fd](_0x305d68);var _0xe55890=_0x307ec2[mf_dgc_0x3a60('0xa')];}catch(_0x2d07a8){_0x312fb8(_0x2d07a8);return;}if(_0x307ec2[mf_dgc_0x3a60('0xb')]){_0x3d7031(_0xe55890);}else{Promise[mf_dgc_0x3a60('0xc')](_0xe55890)[mf_dgc_0x3a60('0xd')](_0x145b21,_0x54aed7);}}function _0x224570(_0x38d34b){return function(){var _0x50a973=this,_0x10db54=arguments;return new Promise(function(_0x395fef,_0x512290){var _0x24c533=_0x38d34b[mf_dgc_0x3a60('0xe')](_0x50a973,_0x10db54);function _0x14d14f(_0x1a2ca5){_0x15e043(_0x24c533,_0x395fef,_0x512290,_0x14d14f,_0x2ccfe5,mf_dgc_0x3a60('0xf'),_0x1a2ca5);}function _0x2ccfe5(_0x131323){_0x15e043(_0x24c533,_0x395fef,_0x512290,_0x14d14f,_0x2ccfe5,mf_dgc_0x3a60('0x10'),_0x131323);}_0x14d14f(undefined);});};}function _0x324f65(_0x3ab582,_0x588172){if(!(_0x3ab582 instanceof _0x588172)){throw new TypeError(mf_dgc_0x3a60('0x11'));}}function _0x494b56(_0x269d4c,_0x571f1b){for(var _0x5e5a84=0x0;_0x5e5a84<_0x571f1b[mf_dgc_0x3a60('0x12')];_0x5e5a84++){var _0xa3a2cf=_0x571f1b[_0x5e5a84];_0xa3a2cf[mf_dgc_0x3a60('0x13')]=_0xa3a2cf[mf_dgc_0x3a60('0x13')]||![];_0xa3a2cf[mf_dgc_0x3a60('0x14')]=!![];if(mf_dgc_0x3a60('0xa')in _0xa3a2cf)_0xa3a2cf[mf_dgc_0x3a60('0x15')]=!![];Object['defineProperty'](_0x269d4c,_0xa3a2cf[mf_dgc_0x3a60('0x16')],_0xa3a2cf);}}function _0x6e9ccc(_0x368646,_0x5132c4,_0x301b98){if(_0x5132c4)_0x494b56(_0x368646[mf_dgc_0x3a60('0x17')],_0x5132c4);if(_0x301b98)_0x494b56(_0x368646,_0x301b98);return _0x368646;}function _0x5126de(_0x4a76b1,_0x5bd8b6){if(typeof _0x5bd8b6!==mf_dgc_0x3a60('0x2')&&_0x5bd8b6!==null){throw new TypeError(mf_dgc_0x3a60('0x18'));}_0x4a76b1['prototype']=Object[mf_dgc_0x3a60('0x19')](_0x5bd8b6&&_0x5bd8b6[mf_dgc_0x3a60('0x17')],{'constructor':{'value':_0x4a76b1,'writable':!![],'configurable':!![]}});if(_0x5bd8b6)_0x2a19c6(_0x4a76b1,_0x5bd8b6);}function _0x10135f(_0x233b11){_0x10135f=Object[mf_dgc_0x3a60('0x1a')]?Object[mf_dgc_0x3a60('0x1b')]:function _0x10135f(_0x233b11){return _0x233b11[mf_dgc_0x3a60('0x1c')]||Object[mf_dgc_0x3a60('0x1b')](_0x233b11);};return _0x10135f(_0x233b11);}function _0x2a19c6(_0x36a4c6,_0x5ef9ae){_0x2a19c6=Object[mf_dgc_0x3a60('0x1a')]||function _0x2a19c6(_0x36a4c6,_0x5ef9ae){_0x36a4c6[mf_dgc_0x3a60('0x1c')]=_0x5ef9ae;return _0x36a4c6;};return _0x2a19c6(_0x36a4c6,_0x5ef9ae);}function _0x44e44e(){if(typeof Reflect==='undefined'||!Reflect[mf_dgc_0x3a60('0x1d')])return![];if(Reflect[mf_dgc_0x3a60('0x1d')][mf_dgc_0x3a60('0x1e')])return![];if(typeof Proxy===mf_dgc_0x3a60('0x2'))return!![];try{Boolean['prototype'][mf_dgc_0x3a60('0x1f')][mf_dgc_0x3a60('0x20')](Reflect[mf_dgc_0x3a60('0x1d')](Boolean,[],function(){}));return!![];}catch(_0x5340a4){return![];}}function _0x72fef0(_0x1353de,_0x33afb2,_0x127308){if(_0x44e44e()){_0x72fef0=Reflect['construct'];}else{_0x72fef0=function _0x72fef0(_0x1353de,_0x33afb2,_0x127308){var _0x247ee7=[null];_0x247ee7['push']['apply'](_0x247ee7,_0x33afb2);var _0xe3b292=Function[mf_dgc_0x3a60('0x21')][mf_dgc_0x3a60('0xe')](_0x1353de,_0x247ee7);var _0x51022f=new _0xe3b292();if(_0x127308)_0x2a19c6(_0x51022f,_0x127308['prototype']);return _0x51022f;};}return _0x72fef0[mf_dgc_0x3a60('0xe')](null,arguments);}function _0x3ff80e(_0x2a0ec2){if(_0x2a0ec2===void 0x0){throw new ReferenceError(mf_dgc_0x3a60('0x22'));}return _0x2a0ec2;}function _0x12e7e9(_0x697475,_0x5ade46){if(_0x5ade46&&(typeof _0x5ade46===mf_dgc_0x3a60('0x0')||typeof _0x5ade46===mf_dgc_0x3a60('0x2'))){return _0x5ade46;}return _0x3ff80e(_0x697475);}function _0x3c0983(_0x332f75){var _0x5b5885=_0x44e44e();return function _createSuperInternal(){var _0x56f320=_0x10135f(_0x332f75),_0x564d1b;if(_0x5b5885){var _0x142709=_0x10135f(this)[mf_dgc_0x3a60('0x23')];_0x564d1b=Reflect[mf_dgc_0x3a60('0x1d')](_0x56f320,arguments,_0x142709);}else{_0x564d1b=_0x56f320[mf_dgc_0x3a60('0xe')](this,arguments);}return _0x12e7e9(this,_0x564d1b);};}function _0x5b8b3e(_0x26c80b,_0x267083){while(!Object[mf_dgc_0x3a60('0x17')]['hasOwnProperty']['call'](_0x26c80b,_0x267083)){_0x26c80b=_0x10135f(_0x26c80b);if(_0x26c80b===null)break;}return _0x26c80b;}function _0x5b4727(_0x4d4360,_0x2942ce,_0x6227db){if(typeof Reflect!==mf_dgc_0x3a60('0x1')&&Reflect[mf_dgc_0x3a60('0x24')]){_0x5b4727=Reflect['get'];}else{_0x5b4727=function _0x5b4727(_0x4d4360,_0x2942ce,_0x6227db){var _0x4f2b77=_0x5b8b3e(_0x4d4360,_0x2942ce);if(!_0x4f2b77)return;var _0x3272f9=Object[mf_dgc_0x3a60('0x25')](_0x4f2b77,_0x2942ce);if(_0x3272f9[mf_dgc_0x3a60('0x24')]){return _0x3272f9['get'][mf_dgc_0x3a60('0x20')](_0x6227db);}return _0x3272f9[mf_dgc_0x3a60('0xa')];};}return _0x5b4727(_0x4d4360,_0x2942ce,_0x6227db||_0x4d4360);}function _0x55c8ba(_0x10bcfe){return _0x5717e6(_0x10bcfe)||_0x2d358e(_0x10bcfe)||_0x359a31(_0x10bcfe)||_0x2faf49();}function _0x5717e6(_0x1392b6){if(Array[mf_dgc_0x3a60('0x26')](_0x1392b6))return _0x4e6310(_0x1392b6);}function _0x2d358e(_0x5ead76){if(typeof Symbol!=='undefined'&&_0x5ead76[Symbol[mf_dgc_0x3a60('0x27')]]!=null||_0x5ead76['@@iterator']!=null)return Array[mf_dgc_0x3a60('0x28')](_0x5ead76);}function _0x359a31(_0x58d31c,_0x38575f){if(!_0x58d31c)return;if(typeof _0x58d31c===mf_dgc_0x3a60('0x29'))return _0x4e6310(_0x58d31c,_0x38575f);var _0x2cdde6=Object[mf_dgc_0x3a60('0x17')]['toString']['call'](_0x58d31c)['slice'](0x8,-0x1);if(_0x2cdde6===mf_dgc_0x3a60('0x2a')&&_0x58d31c[mf_dgc_0x3a60('0x23')])_0x2cdde6=_0x58d31c[mf_dgc_0x3a60('0x23')]['name'];if(_0x2cdde6==='Map'||_0x2cdde6==='Set')return Array[mf_dgc_0x3a60('0x28')](_0x58d31c);if(_0x2cdde6===mf_dgc_0x3a60('0x2b')||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/['test'](_0x2cdde6))return _0x4e6310(_0x58d31c,_0x38575f);}function _0x4e6310(_0x240c77,_0x2db107){if(_0x2db107==null||_0x2db107>_0x240c77[mf_dgc_0x3a60('0x12')])_0x2db107=_0x240c77[mf_dgc_0x3a60('0x12')];for(var _0x185883=0x0,_0x4e99e4=new Array(_0x2db107);_0x185883<_0x2db107;_0x185883++)_0x4e99e4[_0x185883]=_0x240c77[_0x185883];return _0x4e99e4;}function _0x2faf49(){throw new TypeError(mf_dgc_0x3a60('0x2c'));}function _0x60f384(_0x3a73a1,_0x4f05fc){var _0x5c44ab=typeof Symbol!==mf_dgc_0x3a60('0x1')&&_0x3a73a1[Symbol[mf_dgc_0x3a60('0x27')]]||_0x3a73a1[mf_dgc_0x3a60('0x2d')];if(!_0x5c44ab){if(Array[mf_dgc_0x3a60('0x26')](_0x3a73a1)||(_0x5c44ab=_0x359a31(_0x3a73a1))||_0x4f05fc&&_0x3a73a1&&typeof _0x3a73a1[mf_dgc_0x3a60('0x12')]==='number'){if(_0x5c44ab)_0x3a73a1=_0x5c44ab;var _0x31bdfe=0x0;var _0xb19a03=function(){};return{'s':_0xb19a03,'n':function(){if(_0x31bdfe>=_0x3a73a1[mf_dgc_0x3a60('0x12')])return{'done':!![]};return{'done':![],'value':_0x3a73a1[_0x31bdfe++]};},'e':function(_0x3a6a90){throw _0x3a6a90;},'f':_0xb19a03};}throw new TypeError(mf_dgc_0x3a60('0x2e'));}var _0x4743f1=!![],_0x2e8e46=![],_0xa1ff39;return{'s':function(){_0x5c44ab=_0x5c44ab[mf_dgc_0x3a60('0x20')](_0x3a73a1);},'n':function(){var _0x1b5b56=_0x5c44ab[mf_dgc_0x3a60('0xf')]();_0x4743f1=_0x1b5b56[mf_dgc_0x3a60('0xb')];return _0x1b5b56;},'e':function(_0x218691){_0x2e8e46=!![];_0xa1ff39=_0x218691;},'f':function(){try{if(!_0x4743f1&&_0x5c44ab[mf_dgc_0x3a60('0x2f')]!=null)_0x5c44ab[mf_dgc_0x3a60('0x2f')]();}finally{if(_0x2e8e46)throw _0xa1ff39;}}};}var _0x37657a=function(){function _0x37657a(){_0x324f65(this,_0x37657a);}_0x6e9ccc(_0x37657a,null,[{'key':mf_dgc_0x3a60('0x30'),'get':function get(){return'pageChanging';}},{'key':mf_dgc_0x3a60('0x31'),'get':function get(){return mf_dgc_0x3a60('0x31');}},{'key':mf_dgc_0x3a60('0x32'),'get':function get(){return mf_dgc_0x3a60('0x32');}},{'key':mf_dgc_0x3a60('0x33'),'get':function get(){return mf_dgc_0x3a60('0x33');}},{'key':mf_dgc_0x3a60('0x34'),'get':function get(){return mf_dgc_0x3a60('0x34');}},{'key':mf_dgc_0x3a60('0x35'),'get':function get(){return'pageRemoved';}},{'key':mf_dgc_0x3a60('0x36'),'get':function get(){return'shapeChanged';}}]);return _0x37657a;}();var _0x45f170=function(_0x273a51){_0x5126de(_0x45f170,_0x273a51);var _0x39bc9a=_0x3c0983(_0x45f170);function _0x45f170(_0x19ded9){var _0x168e28;_0x324f65(this,_0x45f170);_0x168e28=_0x39bc9a['call'](this);if(_0x19ded9[mf_dgc_0x3a60('0x37')])_0x168e28[mf_dgc_0x3a60('0x37')]=_0x19ded9['sender'];if(_0x19ded9[mf_dgc_0x3a60('0x38')])_0x168e28[mf_dgc_0x3a60('0x39')]=_0x19ded9[mf_dgc_0x3a60('0x38')];if(_0x19ded9[mf_dgc_0x3a60('0x3a')])_0x168e28[mf_dgc_0x3a60('0x3b')]=_0x19ded9['oldPage'];return _0x168e28;}_0x6e9ccc(_0x45f170,[{'key':mf_dgc_0x3a60('0x38'),'get':function get(){return this[mf_dgc_0x3a60('0x39')];}},{'key':mf_dgc_0x3a60('0x3a'),'get':function get(){return this[mf_dgc_0x3a60('0x3b')];}}]);return _0x45f170;}(_0x4bec27[mf_dgc_0x3a60('0x3c')]);var _0x16c1a6=function(_0x4887c5){_0x5126de(_0x16c1a6,_0x4887c5);var _0x5c65ec=_0x3c0983(_0x16c1a6);function _0x16c1a6(_0x117047,_0x3b26ed){var _0x555c95;_0x324f65(this,_0x16c1a6);var _0x25d81e=_0x3b26ed||new _0x4b0f07['DiagramDocument']();if(!_0x25d81e[mf_dgc_0x3a60('0x3d')]['length']){var _0x2e7e4c=new _0x4b0f07[(mf_dgc_0x3a60('0x3e'))]();_0x2e7e4c[mf_dgc_0x3a60('0x3f')]='diagram1';_0x25d81e[mf_dgc_0x3a60('0x40')](_0x2e7e4c);}_0x555c95=_0x5c65ec['call'](this,_0x117047,_0x25d81e[mf_dgc_0x3a60('0x3d')][0x0],_0x16c1a6);_0x555c95[mf_dgc_0x3a60('0x41')]=_0x5eb876[mf_dgc_0x3a60('0x42')];_0x555c95[mf_dgc_0x3a60('0x43')]=new _0x3b18de['TabStrip']();_0x555c95[mf_dgc_0x3a60('0x43')][mf_dgc_0x3a60('0x44')]=_0x3ff80e(_0x555c95);_0x555c95[mf_dgc_0x3a60('0x43')][mf_dgc_0x3a60('0x45')]=function(){return!![];};_0x555c95[mf_dgc_0x3a60('0x43')][mf_dgc_0x3a60('0x46')]=![];_0x555c95[mf_dgc_0x3a60('0x43')]['autoSizeTabs']=![];_0x555c95[mf_dgc_0x3a60('0x43')][mf_dgc_0x3a60('0x47')]=![];_0x555c95[mf_dgc_0x3a60('0x43')][mf_dgc_0x3a60('0x48')]=!![];_0x555c95[mf_dgc_0x3a60('0x49')]=function(_0x85bef8,_0x241b71){return _0x555c95[mf_dgc_0x3a60('0x4a')](_0x85bef8,_0x241b71);};_0x555c95[mf_dgc_0x3a60('0x4b')]=function(_0x3a1546,_0x2b8990){return _0x555c95[mf_dgc_0x3a60('0x4c')](_0x3a1546,_0x2b8990);};_0x555c95[mf_dgc_0x3a60('0x43')]['_itemEditStart'][mf_dgc_0x3a60('0x4d')](_0x555c95[mf_dgc_0x3a60('0x49')]);_0x555c95[mf_dgc_0x3a60('0x43')]['_itemEditEnd'][mf_dgc_0x3a60('0x4d')](_0x555c95['pageRenameEndHandler']);_0x555c95[mf_dgc_0x3a60('0x4e')]=0x14;_0x555c95[mf_dgc_0x3a60('0x4f')]=![];_0x555c95['_showNavigationButtons']=![];_0x555c95[mf_dgc_0x3a60('0x50')]=![];_0x555c95[mf_dgc_0x3a60('0x51')]=function(_0x276f9b,_0x542640){return _0x555c95['onDocumentChanged'](_0x276f9b,_0x542640);};_0x555c95[mf_dgc_0x3a60('0x52')]=_0x25d81e;_0x555c95['_lastIndex']=0x1;_0x555c95['items']=new _0x5d7218[(mf_dgc_0x3a60('0x53'))](_0x555c95['_document'][mf_dgc_0x3a60('0x3d')]);if(_0x4b0f07[mf_dgc_0x3a60('0x54')][mf_dgc_0x3a60('0x55')]){_0x4b0f07[mf_dgc_0x3a60('0x54')][mf_dgc_0x3a60('0x56')](_0x16c1a6[mf_dgc_0x3a60('0x17')]);}return _0x555c95;}_0x6e9ccc(_0x16c1a6,[{'key':mf_dgc_0x3a60('0x57'),'value':function initialize(){var _0x6a3da3=this;_0x5b4727(_0x10135f(_0x16c1a6[mf_dgc_0x3a60('0x17')]),mf_dgc_0x3a60('0x57'),this)[mf_dgc_0x3a60('0x20')](this);this[mf_dgc_0x3a60('0x58')]=function(_0x372295,_0x1a7589){_0x6a3da3[mf_dgc_0x3a60('0x59')](_0x372295,_0x1a7589);};this[mf_dgc_0x3a60('0x43')]['itemMouseDown'][mf_dgc_0x3a60('0x4d')](this['_tabMouseDownHandler']);this[mf_dgc_0x3a60('0x43')][mf_dgc_0x3a60('0x5a')][mf_dgc_0x3a60('0x4d')](this[mf_dgc_0x3a60('0x58')]);this[mf_dgc_0x3a60('0x43')][mf_dgc_0x3a60('0x5b')]['addEventListener'](this[mf_dgc_0x3a60('0x58')]);this[mf_dgc_0x3a60('0x43')][mf_dgc_0x3a60('0x5c')][mf_dgc_0x3a60('0x4d')](this[mf_dgc_0x3a60('0x58')]);this['_tabDropHandler']=function(_0x10fd47,_0x5814ef){_0x6a3da3['onTabDrop'](_0x10fd47,_0x5814ef);};this['tabStrip'][mf_dgc_0x3a60('0x5d')]['addEventListener'](this[mf_dgc_0x3a60('0x5e')]);this['tabStrip'][mf_dgc_0x3a60('0x5f')]=this['element'][mf_dgc_0x3a60('0x60')];this['resetTabs']();if(this[mf_dgc_0x3a60('0x61')]==_0x5eb876[mf_dgc_0x3a60('0x62')])this[mf_dgc_0x3a60('0x63')][mf_dgc_0x3a60('0x60')][mf_dgc_0x3a60('0x64')](this['tabStrip']['draw'](),this[mf_dgc_0x3a60('0x63')]);else this[mf_dgc_0x3a60('0x63')][mf_dgc_0x3a60('0x60')][mf_dgc_0x3a60('0x65')](this[mf_dgc_0x3a60('0x43')][mf_dgc_0x3a60('0x66')]());this[mf_dgc_0x3a60('0x43')][mf_dgc_0x3a60('0x67')]();this[mf_dgc_0x3a60('0x68')]=this['items'][mf_dgc_0x3a60('0x69')]();}},{'key':mf_dgc_0x3a60('0x6a'),'value':function dispose(){this[mf_dgc_0x3a60('0x6b')]['forEach'](function(_0x50f84c){return _0x50f84c[mf_dgc_0x3a60('0x6a')]();});this[mf_dgc_0x3a60('0x43')][mf_dgc_0x3a60('0x6a')]();_0x5b4727(_0x10135f(_0x16c1a6['prototype']),mf_dgc_0x3a60('0x6a'),this)[mf_dgc_0x3a60('0x20')](this);}},{'key':mf_dgc_0x3a60('0x6c'),'value':function attachDiagramEvents(){this['document'][mf_dgc_0x3a60('0x4d')](_0x4b0f07[mf_dgc_0x3a60('0x6d')]['dataLoaded'],this[mf_dgc_0x3a60('0x6e')]);this[mf_dgc_0x3a60('0x52')][mf_dgc_0x3a60('0x4d')](_0x4b0f07['Events'][mf_dgc_0x3a60('0x6f')],this['queryViewDelegate']);}},{'key':mf_dgc_0x3a60('0x70'),'value':function detachDiagramEvents(){this[mf_dgc_0x3a60('0x52')][mf_dgc_0x3a60('0x71')](_0x4b0f07[mf_dgc_0x3a60('0x6d')]['dataLoaded'],this[mf_dgc_0x3a60('0x6e')]);this[mf_dgc_0x3a60('0x52')]['removeEventListener'](_0x4b0f07[mf_dgc_0x3a60('0x6d')]['queryView'],this[mf_dgc_0x3a60('0x72')]);}},{'key':mf_dgc_0x3a60('0x73'),'value':function toJson(){var _0x346bea=this['document'][mf_dgc_0x3a60('0x74')]();this[mf_dgc_0x3a60('0x75')](_0x346bea);return _0x4bec27[mf_dgc_0x3a60('0x76')][mf_dgc_0x3a60('0x73')](_0x346bea);}},{'key':'saveViewProps','value':function saveViewProps(_0xa703ea){_0x5b4727(_0x10135f(_0x16c1a6[mf_dgc_0x3a60('0x17')]),mf_dgc_0x3a60('0x75'),this)[mf_dgc_0x3a60('0x20')](this,_0xa703ea);_0xa703ea['tabAlignment']=this['tabAlignment'];_0xa703ea[mf_dgc_0x3a60('0x4e')]=this[mf_dgc_0x3a60('0x4e')];_0xa703ea['showNavigationButtons']=this[mf_dgc_0x3a60('0x77')];_0xa703ea[mf_dgc_0x3a60('0x47')]=this[mf_dgc_0x3a60('0x47')];_0xa703ea['showTabCloseButtons']=this['showTabCloseButtons'];_0xa703ea['allowReorder']=this[mf_dgc_0x3a60('0x78')];_0xa703ea['allowRenamePages']=this[mf_dgc_0x3a60('0x79')];_0xa703ea['theme']=this['theme']?this['theme']['id']:null;_0xa703ea[mf_dgc_0x3a60('0x7a')]=this[mf_dgc_0x3a60('0x7a')];}},{'key':mf_dgc_0x3a60('0x7b'),'value':function fromJson(_0x17ac6f){if(_0x17ac6f>''){var _0x21bcc7=_0x4bec27[mf_dgc_0x3a60('0x76')][mf_dgc_0x3a60('0x7b')](_0x17ac6f);this[mf_dgc_0x3a60('0x52')][mf_dgc_0x3a60('0x7c')](_0x21bcc7);this['updateScale']();this[mf_dgc_0x3a60('0x7d')](_0x21bcc7);}this['raiseEvent'](_0x4b0f07['Events'][mf_dgc_0x3a60('0x7e')]);}},{'key':'loadViewProps','value':function loadViewProps(_0xeeb053){_0x5b4727(_0x10135f(_0x16c1a6[mf_dgc_0x3a60('0x17')]),mf_dgc_0x3a60('0x7d'),this)['call'](this,_0xeeb053);this[mf_dgc_0x3a60('0x7f')](_0x37657a['pageChanging'],_0xeeb053[mf_dgc_0x3a60('0x80')]);this[mf_dgc_0x3a60('0x7f')](_0x37657a[mf_dgc_0x3a60('0x31')],_0xeeb053[mf_dgc_0x3a60('0x81')]);this[mf_dgc_0x3a60('0x7f')](_0x37657a[mf_dgc_0x3a60('0x32')],_0xeeb053[mf_dgc_0x3a60('0x82')]);this[mf_dgc_0x3a60('0x7f')](_0x37657a['pageAdded'],_0xeeb053[mf_dgc_0x3a60('0x83')]);this[mf_dgc_0x3a60('0x7f')](_0x37657a[mf_dgc_0x3a60('0x34')],_0xeeb053[mf_dgc_0x3a60('0x84')]);this[mf_dgc_0x3a60('0x7f')](_0x37657a['pageRemoved'],_0xeeb053[mf_dgc_0x3a60('0x85')]);if(_0xeeb053['tabAlignment']!==undefined)this[mf_dgc_0x3a60('0x61')]=_0xeeb053['tabAlignment'];if(_0xeeb053['tabsSize']!==undefined)this['tabsSize']=_0xeeb053[mf_dgc_0x3a60('0x4e')];if(_0xeeb053[mf_dgc_0x3a60('0x77')]!==undefined)this[mf_dgc_0x3a60('0x77')]=_0xeeb053['showNavigationButtons'];if(_0xeeb053[mf_dgc_0x3a60('0x47')]!==undefined)this['showAddButton']=_0xeeb053[mf_dgc_0x3a60('0x47')];if(_0xeeb053['showTabCloseButtons']!==undefined)this['showTabCloseButtons']=_0xeeb053[mf_dgc_0x3a60('0x86')];if(_0xeeb053[mf_dgc_0x3a60('0x78')]!==undefined)this[mf_dgc_0x3a60('0x78')]=_0xeeb053[mf_dgc_0x3a60('0x78')];if(_0xeeb053[mf_dgc_0x3a60('0x79')]!==undefined)this['allowRenamePages']=_0xeeb053[mf_dgc_0x3a60('0x79')];if(_0xeeb053['theme'])this['theme']=_0x4b0f07[mf_dgc_0x3a60('0x87')][mf_dgc_0x3a60('0x88')](_0xeeb053[mf_dgc_0x3a60('0x89')]);if(_0xeeb053[mf_dgc_0x3a60('0x7a')]!==undefined)this['selectedIndex']=_0xeeb053[mf_dgc_0x3a60('0x7a')];}},{'key':mf_dgc_0x3a60('0x8a'),'value':function saveToXml(_0x3ce19b){var _0x43592a=new XMLHttpRequest();_0x43592a[mf_dgc_0x3a60('0x8b')](mf_dgc_0x3a60('0x8c'),_0x3ce19b,!![]);_0x43592a[mf_dgc_0x3a60('0x8d')](mf_dgc_0x3a60('0x8e'),mf_dgc_0x3a60('0x8f'));var _0x16974c=this[mf_dgc_0x3a60('0x52')][mf_dgc_0x3a60('0x90')]();var _0x262725=new _0x4b0f07[(mf_dgc_0x3a60('0x91'))](this[mf_dgc_0x3a60('0x92')],_0x16974c);var _0x4822a5=_0x262725[mf_dgc_0x3a60('0x93')](mf_dgc_0x3a60('0x94'),_0x16974c);var _0x1ee8df=_0x16974c['createElement'](mf_dgc_0x3a60('0x95'));_0x4822a5['appendChild'](_0x1ee8df);this[mf_dgc_0x3a60('0x96')](_0x1ee8df,_0x262725);var _0x3dde5e=new XMLSerializer();_0x43592a[mf_dgc_0x3a60('0x97')](_0x3dde5e[mf_dgc_0x3a60('0x98')](_0x16974c));}},{'key':mf_dgc_0x3a60('0x96'),'value':function saveView(_0x14534f,_0x28de70){_0x5b4727(_0x10135f(_0x16c1a6[mf_dgc_0x3a60('0x17')]),mf_dgc_0x3a60('0x96'),this)['call'](this,_0x14534f,_0x28de70);if(this[mf_dgc_0x3a60('0x89')])_0x28de70['writeString'](this[mf_dgc_0x3a60('0x89')]['id'],mf_dgc_0x3a60('0x87'),_0x14534f);}},{'key':mf_dgc_0x3a60('0x99'),'value':function loadFromXml(_0x16ed5b,_0x439df8,_0x57a067){var _0x963a2c=this['document'];var _0x4b571b=new XMLHttpRequest();_0x4b571b['onload']=function(){var _0x4b22d9=_0x4b571b[mf_dgc_0x3a60('0x9a')];_0x963a2c[mf_dgc_0x3a60('0x9b')](_0x4b22d9);var _0x46344b=new _0x4b0f07['XmlPersistContext'](_0x963a2c,_0x4b22d9);var _0x429243=_0x46344b[mf_dgc_0x3a60('0x93')](mf_dgc_0x3a60('0x94'),_0x4b22d9);this[mf_dgc_0x3a60('0x9c')](mf_dgc_0x3a60('0x95'),_0x429243,_0x46344b);if(_0x439df8)_0x439df8(_0x963a2c);}['bind'](this);_0x4b571b[mf_dgc_0x3a60('0x9d')]=function(){console['log'](mf_dgc_0x3a60('0x9e'));if(_0x57a067)_0x57a067(_0x963a2c);};_0x4b571b[mf_dgc_0x3a60('0x8b')](mf_dgc_0x3a60('0x9f'),_0x16ed5b);_0x4b571b[mf_dgc_0x3a60('0xa0')]=mf_dgc_0x3a60('0x52');_0x4b571b[mf_dgc_0x3a60('0x97')]();}},{'key':'loadView','value':function loadView(_0x425226,_0x2543bb,_0x11eab3){var _0x190713=_0x5b4727(_0x10135f(_0x16c1a6['prototype']),mf_dgc_0x3a60('0x9c'),this)[mf_dgc_0x3a60('0x20')](this,_0x425226,_0x2543bb,_0x11eab3);if(!_0x190713)return;var _0x55b166=_0x11eab3[mf_dgc_0x3a60('0xa1')](mf_dgc_0x3a60('0x87'),_0x190713);if(_0x55b166)this[mf_dgc_0x3a60('0x89')]=_0x4b0f07[mf_dgc_0x3a60('0x87')][mf_dgc_0x3a60('0x88')](_0x55b166);}},{'key':mf_dgc_0x3a60('0xa2'),'value':function trackMouseHover(){return _0x4bec27['Control'][mf_dgc_0x3a60('0xa3')](this[mf_dgc_0x3a60('0x52')],mf_dgc_0x3a60('0xa4'))||_0x4bec27[mf_dgc_0x3a60('0x76')][mf_dgc_0x3a60('0xa3')](this[mf_dgc_0x3a60('0x52')],mf_dgc_0x3a60('0xa5'))||_0x4bec27['Control'][mf_dgc_0x3a60('0xa3')](this[mf_dgc_0x3a60('0x92')],mf_dgc_0x3a60('0xa4'))||_0x4bec27[mf_dgc_0x3a60('0x76')]['getHandler'](this[mf_dgc_0x3a60('0x92')],mf_dgc_0x3a60('0xa5'));}},{'key':mf_dgc_0x3a60('0xa6'),'value':function trackPointerEvents(){return this[mf_dgc_0x3a60('0xa2')]()||_0x4bec27[mf_dgc_0x3a60('0x76')][mf_dgc_0x3a60('0xa3')](this[mf_dgc_0x3a60('0x52')],mf_dgc_0x3a60('0xa7'))||_0x4bec27[mf_dgc_0x3a60('0x76')][mf_dgc_0x3a60('0xa3')](this[mf_dgc_0x3a60('0x52')],'nodePointerLeave')||_0x4bec27[mf_dgc_0x3a60('0x76')][mf_dgc_0x3a60('0xa3')](this[mf_dgc_0x3a60('0x52')],mf_dgc_0x3a60('0xa8'))||_0x4bec27['Control'][mf_dgc_0x3a60('0xa3')](this[mf_dgc_0x3a60('0x52')],mf_dgc_0x3a60('0xa9'))||_0x4bec27[mf_dgc_0x3a60('0x76')]['getHandler'](this[mf_dgc_0x3a60('0x92')],'nodePointerEnter')||_0x4bec27['Control'][mf_dgc_0x3a60('0xa3')](this[mf_dgc_0x3a60('0x92')],mf_dgc_0x3a60('0xaa'))||_0x4bec27['Control'][mf_dgc_0x3a60('0xa3')](this[mf_dgc_0x3a60('0x92')],mf_dgc_0x3a60('0xa8'))||_0x4bec27[mf_dgc_0x3a60('0x76')]['getHandler'](this[mf_dgc_0x3a60('0x92')],mf_dgc_0x3a60('0xa9'));}},{'key':mf_dgc_0x3a60('0xab'),'value':function resetVirtualScrollGrid(){var _0x39c686=this[mf_dgc_0x3a60('0x63')];if(!_0x39c686[mf_dgc_0x3a60('0x60')])return;if(!this[mf_dgc_0x3a60('0xac')]){_0x4bec27[mf_dgc_0x3a60('0x76')][mf_dgc_0x3a60('0xad')](_0x39c686[mf_dgc_0x3a60('0x60')]);var _0xb30e3e=_0x4bec27['DomUtils'][mf_dgc_0x3a60('0xae')](_0x39c686[mf_dgc_0x3a60('0x60')],null,!![]);var _0x5386c1=_0xb30e3e[mf_dgc_0x3a60('0xaf')];var _0x1332f5=_0xb30e3e[mf_dgc_0x3a60('0xb0')];if(_0x1332f5!=0x0)_0x39c686['parentNode'][mf_dgc_0x3a60('0xb1')]=_0x1332f5;this['parentSize']={'width':_0x5386c1,'height':_0x1332f5};_0x39c686[mf_dgc_0x3a60('0x60')][mf_dgc_0x3a60('0xb2')]['display']=mf_dgc_0x3a60('0xb3');_0x39c686['parentNode'][mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xb4')]=mf_dgc_0x3a60('0xb5')+this[mf_dgc_0x3a60('0xb6')]+'px';if(this['tabAlignment']==_0x5eb876[mf_dgc_0x3a60('0x62')])_0x39c686[mf_dgc_0x3a60('0x60')]['style'][mf_dgc_0x3a60('0xb7')]=this[mf_dgc_0x3a60('0x4e')]+mf_dgc_0x3a60('0xb8')+this[mf_dgc_0x3a60('0xb6')]+'px';else _0x39c686['parentNode'][mf_dgc_0x3a60('0xb2')]['gridTemplateRows']=mf_dgc_0x3a60('0xb5')+this[mf_dgc_0x3a60('0xb6')]+mf_dgc_0x3a60('0xb9')+this[mf_dgc_0x3a60('0x4e')]+'px';_0x39c686['parentNode']['style'][mf_dgc_0x3a60('0xba')]='';_0x39c686[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xbb')]=this[mf_dgc_0x3a60('0x61')]==_0x5eb876[mf_dgc_0x3a60('0x62')]?0x2:0x1;_0x39c686[mf_dgc_0x3a60('0xaf')]=Math['min'](_0xb30e3e[mf_dgc_0x3a60('0xaf')]-this[mf_dgc_0x3a60('0xbc')](0x1),this[mf_dgc_0x3a60('0x92')][mf_dgc_0x3a60('0xbd')][mf_dgc_0x3a60('0xaf')]*this[mf_dgc_0x3a60('0xbe')]);_0x39c686[mf_dgc_0x3a60('0xb0')]=Math[mf_dgc_0x3a60('0xbf')](_0x1332f5-this['tabsSize']-this[mf_dgc_0x3a60('0xbc')](0x0),this[mf_dgc_0x3a60('0x92')]['bounds']['height']*this[mf_dgc_0x3a60('0xbe')]);this[mf_dgc_0x3a60('0x43')]['_element'][mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xc0')]=mf_dgc_0x3a60('0xc1');this[mf_dgc_0x3a60('0x43')]['_element']['style']['gridColumn']=mf_dgc_0x3a60('0xc2');var _0x44ce77=document['createElement']('div');_0x44ce77['className']=mf_dgc_0x3a60('0xc3');_0x44ce77[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xbb')]=this[mf_dgc_0x3a60('0x61')]==_0x5eb876[mf_dgc_0x3a60('0x62')]?0x3:0x2;_0x44ce77[mf_dgc_0x3a60('0xb2')]['gridColumnStart']=0x1;_0x44ce77[mf_dgc_0x3a60('0xb2')]['gridColumnEnd']=0x2;_0x44ce77[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xb0')]=this[mf_dgc_0x3a60('0xb6')]+'px';_0x44ce77[mf_dgc_0x3a60('0xb2')]['width']=_0xb30e3e[mf_dgc_0x3a60('0xaf')]-this[mf_dgc_0x3a60('0xb6')]+'px';_0x44ce77[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xc4')]=mf_dgc_0x3a60('0xc5');_0x44ce77[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xc6')]=mf_dgc_0x3a60('0xc7');_0x44ce77['style']['backgroundColor']=mf_dgc_0x3a60('0xc8');this[mf_dgc_0x3a60('0xac')]=_0x44ce77;var _0x1e4ccf=document['createElement']('div');_0x1e4ccf['style'][mf_dgc_0x3a60('0xb0')]=this[mf_dgc_0x3a60('0xb6')]+'px';_0x44ce77[mf_dgc_0x3a60('0x65')](_0x1e4ccf);_0x39c686[mf_dgc_0x3a60('0x60')][mf_dgc_0x3a60('0x65')](_0x44ce77);var _0x317c9f=document[mf_dgc_0x3a60('0xc9')](mf_dgc_0x3a60('0xca'));_0x317c9f[mf_dgc_0x3a60('0xcb')]='mf_diagram_scrollerV';_0x317c9f[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xcc')]=this['tabAlignment']==_0x5eb876[mf_dgc_0x3a60('0x62')]?0x2:0x1;_0x317c9f[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xaf')]=this['scrollbarSize']+'px';_0x317c9f[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xb0')]=_0xb30e3e[mf_dgc_0x3a60('0xb0')]-this[mf_dgc_0x3a60('0x4e')]-this[mf_dgc_0x3a60('0xb6')]+'px';_0x317c9f[mf_dgc_0x3a60('0xb2')]['overflowX']=mf_dgc_0x3a60('0xc7');_0x317c9f[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xc6')]=mf_dgc_0x3a60('0xc5');_0x317c9f[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xcd')]=mf_dgc_0x3a60('0xc8');this[mf_dgc_0x3a60('0xce')]=_0x317c9f;var _0x1f3fce=document[mf_dgc_0x3a60('0xc9')]('div');_0x1f3fce[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xaf')]=this[mf_dgc_0x3a60('0xb6')]+'px';_0x317c9f[mf_dgc_0x3a60('0x65')](_0x1f3fce);_0x39c686[mf_dgc_0x3a60('0x60')][mf_dgc_0x3a60('0x65')](_0x317c9f);_0x4bec27[mf_dgc_0x3a60('0x76')]['addHandlers'](_0x44ce77,{'scroll':this[mf_dgc_0x3a60('0xcf')]});_0x4bec27[mf_dgc_0x3a60('0x76')]['addHandlers'](_0x317c9f,{'scroll':this[mf_dgc_0x3a60('0xcf')]});if(!this[mf_dgc_0x3a60('0xd0')]){var _0x509622=this;this[mf_dgc_0x3a60('0xd0')]=setInterval(function(){_0x509622[mf_dgc_0x3a60('0xd1')]();},0xc8);}}}},{'key':mf_dgc_0x3a60('0xd2'),'value':function resetTabAlignment(){if(!this['element'])return;this[mf_dgc_0x3a60('0x43')][mf_dgc_0x3a60('0x46')]=this[mf_dgc_0x3a60('0x61')]!=_0x5eb876[mf_dgc_0x3a60('0x42')];var _0x6f006f=this['element'];if(this['tabAlignment']==_0x5eb876[mf_dgc_0x3a60('0x62')])_0x6f006f[mf_dgc_0x3a60('0x60')]['style'][mf_dgc_0x3a60('0xb7')]=this[mf_dgc_0x3a60('0x4e')]+mf_dgc_0x3a60('0xb8')+this[mf_dgc_0x3a60('0xb6')]+'px';else _0x6f006f['parentNode'][mf_dgc_0x3a60('0xb2')]['gridTemplateRows']=mf_dgc_0x3a60('0xb5')+this[mf_dgc_0x3a60('0xb6')]+mf_dgc_0x3a60('0xb9')+this[mf_dgc_0x3a60('0x4e')]+'px';_0x6f006f[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xbb')]=this['tabAlignment']==_0x5eb876['Top']?0x2:0x1;var _0x492239=this[mf_dgc_0x3a60('0x63')]['parentNode'][mf_dgc_0x3a60('0xd3')](mf_dgc_0x3a60('0xd4'));if(this[mf_dgc_0x3a60('0xac')]){_0x492239[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xbb')]=this[mf_dgc_0x3a60('0x61')]==_0x5eb876[mf_dgc_0x3a60('0x62')]?0x3:0x2;var _0x4b8f0b=this[mf_dgc_0x3a60('0x63')][mf_dgc_0x3a60('0x60')][mf_dgc_0x3a60('0xd3')](mf_dgc_0x3a60('0xd5'));_0x4b8f0b[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xcc')]=this[mf_dgc_0x3a60('0x61')]==_0x5eb876[mf_dgc_0x3a60('0x62')]?0x2:0x1;}this[mf_dgc_0x3a60('0xd6')]();}},{'key':mf_dgc_0x3a60('0xd6'),'value':function updateCanvasSize(){if(!this[mf_dgc_0x3a60('0x63')])return;var _0x4a26b2=this[mf_dgc_0x3a60('0xd7')]/0x64/_0x4d2758['GraphicsUnit']['getPixel'](this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0xd9')]);if(this['scrollerH']){var _0x21f0ab=this[mf_dgc_0x3a60('0x63')][mf_dgc_0x3a60('0x60')];this['scrollerH'][mf_dgc_0x3a60('0xda')][mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xaf')]=this[mf_dgc_0x3a60('0xd8')]['bounds'][mf_dgc_0x3a60('0xaf')]*_0x4a26b2+'px';this['scrollerV'][mf_dgc_0x3a60('0xda')][mf_dgc_0x3a60('0xb2')]['height']=this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0xbd')][mf_dgc_0x3a60('0xb0')]*_0x4a26b2+'px';var _0x2cf930=this[mf_dgc_0x3a60('0xbc')](0x1);var _0x24871b=this[mf_dgc_0x3a60('0xbc')](0x0);this[mf_dgc_0x3a60('0xce')][mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xaf')]=_0x2cf930+'px';this['scrollerH'][mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xb0')]=_0x24871b+'px';_0x21f0ab[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xb4')]='auto\x20'+_0x2cf930+'px';if(this[mf_dgc_0x3a60('0x61')]==_0x5eb876[mf_dgc_0x3a60('0x62')])_0x21f0ab[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xb7')]=this[mf_dgc_0x3a60('0x4e')]+'px\x20auto\x20'+_0x24871b+'px';else _0x21f0ab[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xb7')]=mf_dgc_0x3a60('0xb5')+_0x24871b+'px\x20'+this[mf_dgc_0x3a60('0x4e')]+'px';var _0x3378d0=_0x4bec27['DomUtils']['getBounds'](_0x21f0ab,null,!![]);var _0x11e9d7=_0x3378d0[mf_dgc_0x3a60('0xb0')];if(_0x11e9d7==0x0)_0x11e9d7=_0x21f0ab[mf_dgc_0x3a60('0xb1')];if(_0x11e9d7==0x0)_0x11e9d7=this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0xbd')][mf_dgc_0x3a60('0xb0')]*_0x4a26b2;this['element'][mf_dgc_0x3a60('0xaf')]=Math['min'](_0x3378d0[mf_dgc_0x3a60('0xaf')]-_0x2cf930,this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0xbd')][mf_dgc_0x3a60('0xaf')]*_0x4a26b2);this[mf_dgc_0x3a60('0x63')][mf_dgc_0x3a60('0xb0')]=Math['min'](_0x11e9d7-this[mf_dgc_0x3a60('0x4e')]-_0x24871b,this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0xbd')]['height']*_0x4a26b2);this[mf_dgc_0x3a60('0xac')][mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xaf')]=_0x3378d0[mf_dgc_0x3a60('0xaf')]-_0x2cf930+'px';this['scrollerV'][mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xb0')]=_0x11e9d7-this[mf_dgc_0x3a60('0x4e')]-_0x24871b+'px';}this[mf_dgc_0x3a60('0xd8')]['invalidRect']=null;this['canvas'][mf_dgc_0x3a60('0xdb')]();this[mf_dgc_0x3a60('0x92')][mf_dgc_0x3a60('0xdc')](_0x4b0f07[mf_dgc_0x3a60('0x6d')][mf_dgc_0x3a60('0xdd')],_0x4bec27[mf_dgc_0x3a60('0xde')][mf_dgc_0x3a60('0xdf')]);}},{'key':mf_dgc_0x3a60('0xe0'),'value':function resetTabs(){var _0xbe7e71=this;this[mf_dgc_0x3a60('0x43')][mf_dgc_0x3a60('0x6b')][mf_dgc_0x3a60('0xe1')]();this[mf_dgc_0x3a60('0x52')][mf_dgc_0x3a60('0x3d')][mf_dgc_0x3a60('0xe2')](function(_0x1442be,_0x35b8cb){var _0x577ee4=new _0x3b18de[(mf_dgc_0x3a60('0xe3'))](_0x3b18de[mf_dgc_0x3a60('0xe4')][mf_dgc_0x3a60('0xe5')],_0x1442be['title']);_0x577ee4[mf_dgc_0x3a60('0xe6')]=_0x1442be[mf_dgc_0x3a60('0xe6')];_0x577ee4['imageSrc']=_0x1442be[mf_dgc_0x3a60('0xe7')];_0xbe7e71[mf_dgc_0x3a60('0x43')]['items'][mf_dgc_0x3a60('0xe8')](_0x577ee4);_0x1442be[mf_dgc_0x3a60('0xe9')]=_0x577ee4;});}},{'key':mf_dgc_0x3a60('0x40'),'value':function addPage(_0x3dedc8){var _0x1ac1d0=this[mf_dgc_0x3a60('0xea')](_0x37657a['pageAdding'],_0x3dedc8);if(_0x1ac1d0){this[mf_dgc_0x3a60('0x52')][mf_dgc_0x3a60('0x40')](_0x3dedc8);this[mf_dgc_0x3a60('0xdc')](_0x37657a[mf_dgc_0x3a60('0x33')],new _0x45f170({'page':_0x3dedc8}));}}},{'key':mf_dgc_0x3a60('0xeb'),'value':function removePage(_0x1ca1be){var _0x440ce9=this[mf_dgc_0x3a60('0xea')](_0x37657a[mf_dgc_0x3a60('0x34')],_0x1ca1be,_0x1ca1be);if(_0x440ce9){this[mf_dgc_0x3a60('0x52')][mf_dgc_0x3a60('0xeb')](_0x1ca1be);this[mf_dgc_0x3a60('0xdc')](_0x37657a['pageRemoved'],new _0x45f170({'oldPage':_0x1ca1be}));}}},{'key':mf_dgc_0x3a60('0xec'),'value':function savePageState(_0x4a4639){if(this[mf_dgc_0x3a60('0xd7')]!=0x64)_0x4a4639[mf_dgc_0x3a60('0xed')]=this[mf_dgc_0x3a60('0xd7')];if(this[mf_dgc_0x3a60('0xee')]!=0x0)_0x4a4639[mf_dgc_0x3a60('0xee')]=this[mf_dgc_0x3a60('0xee')];if(this[mf_dgc_0x3a60('0xef')]!=0x0)_0x4a4639[mf_dgc_0x3a60('0xef')]=this[mf_dgc_0x3a60('0xef')];}},{'key':mf_dgc_0x3a60('0xf0'),'value':function restorePageState(_0x478ed7){this[mf_dgc_0x3a60('0xed')]=_0x478ed7[mf_dgc_0x3a60('0xed')]||0x64;this[mf_dgc_0x3a60('0xee')]=_0x478ed7[mf_dgc_0x3a60('0xee')]!=undefined?_0x478ed7[mf_dgc_0x3a60('0xee')]:this[mf_dgc_0x3a60('0x92')]['bounds']['x'];this[mf_dgc_0x3a60('0xef')]=_0x478ed7[mf_dgc_0x3a60('0xef')]!=undefined?_0x478ed7[mf_dgc_0x3a60('0xef')]:this['diagram'][mf_dgc_0x3a60('0xbd')]['y'];}},{'key':mf_dgc_0x3a60('0x59'),'value':function onTabMouseDown(_0x4ba566,_0x5afdfa){if(!_0x5afdfa[mf_dgc_0x3a60('0xf1')][mf_dgc_0x3a60('0xf2')])return;if(_0x5afdfa[mf_dgc_0x3a60('0xf1')][mf_dgc_0x3a60('0xf3')]==mf_dgc_0x3a60('0xf4')){var _0x381630=new _0x4b0f07[(mf_dgc_0x3a60('0x3e'))]();_0x381630['title']='diagram'+(++this[mf_dgc_0x3a60('0xf5')])[mf_dgc_0x3a60('0xf6')]();this[mf_dgc_0x3a60('0x40')](_0x381630);return;}if(_0x5afdfa['item'][mf_dgc_0x3a60('0xf3')]){if(_0x5afdfa[mf_dgc_0x3a60('0xf1')][mf_dgc_0x3a60('0xf3')]==mf_dgc_0x3a60('0xf7'))this['selectedPage']=this[mf_dgc_0x3a60('0x6b')][mf_dgc_0x3a60('0xf8')]();else if(_0x5afdfa['item'][mf_dgc_0x3a60('0xf3')]=='mfc-prev')this[mf_dgc_0x3a60('0x7a')]--;else if(_0x5afdfa['item'][mf_dgc_0x3a60('0xf3')]==mf_dgc_0x3a60('0xf9'))this[mf_dgc_0x3a60('0x7a')]++;else if(_0x5afdfa[mf_dgc_0x3a60('0xf1')][mf_dgc_0x3a60('0xf3')]==mf_dgc_0x3a60('0xfa'))this['selectedPage']=this[mf_dgc_0x3a60('0x6b')]['last']();return;}var _0x3b9c92=this[mf_dgc_0x3a60('0xfb')](_0x5afdfa[mf_dgc_0x3a60('0xf1')]);if(_0x3b9c92){if(_0x4bec27[mf_dgc_0x3a60('0xfc')][mf_dgc_0x3a60('0xfd')](_0x5afdfa[mf_dgc_0x3a60('0xfe')][mf_dgc_0x3a60('0xff')],mf_dgc_0x3a60('0x100'))){this[mf_dgc_0x3a60('0x68')]=_0x3b9c92;this[mf_dgc_0x3a60('0xeb')](_0x3b9c92);return;}if(this['selectedPage']==_0x3b9c92){if(_0x5afdfa[mf_dgc_0x3a60('0xf1')][mf_dgc_0x3a60('0x101')]){_0x5afdfa['item'][mf_dgc_0x3a60('0x101')]['startEdit']();_0x4bec27[mf_dgc_0x3a60('0xfc')][mf_dgc_0x3a60('0x102')](_0x5afdfa[mf_dgc_0x3a60('0xfe')],!![]);}}this[mf_dgc_0x3a60('0x68')]=_0x3b9c92;}}},{'key':mf_dgc_0x3a60('0x103'),'value':function onTabDrop(_0x194c25,_0x590951){var _0x5e1eca=_0x194c25[mf_dgc_0x3a60('0x104')](_0x590951[mf_dgc_0x3a60('0xf1')])[mf_dgc_0x3a60('0x105')](_0x590951[mf_dgc_0x3a60('0xf1')]);var _0x37bcbd=this['getItemByHeader'](_0x590951[mf_dgc_0x3a60('0xf1')]);this[mf_dgc_0x3a60('0x6b')][mf_dgc_0x3a60('0x106')][mf_dgc_0x3a60('0x107')](this[mf_dgc_0x3a60('0x6b')][mf_dgc_0x3a60('0x105')](_0x37bcbd),0x1);this[mf_dgc_0x3a60('0x6b')][mf_dgc_0x3a60('0x106')][mf_dgc_0x3a60('0x107')](_0x5e1eca,0x0,_0x37bcbd);}},{'key':'selectedPage','get':function get(){return this[mf_dgc_0x3a60('0x108')];},'set':function set(_0x2daaac){if(_0x2daaac){if(this[mf_dgc_0x3a60('0xea')](_0x37657a[mf_dgc_0x3a60('0x30')],_0x2daaac,this[mf_dgc_0x3a60('0x108')])){var _0xf8a8da=this[mf_dgc_0x3a60('0x108')];if(_0xf8a8da)this[mf_dgc_0x3a60('0xec')](_0xf8a8da);this[mf_dgc_0x3a60('0x108')]=_0x2daaac;this[mf_dgc_0x3a60('0x109')](this['_selectedPage']);this['restorePageState'](this[mf_dgc_0x3a60('0x108')]);this[mf_dgc_0x3a60('0x108')][mf_dgc_0x3a60('0xdb')]();this['tabStrip']['selectItem'](this[mf_dgc_0x3a60('0x108')]['header']);this[mf_dgc_0x3a60('0xdc')](_0x37657a[mf_dgc_0x3a60('0x31')],new _0x45f170({'page':this[mf_dgc_0x3a60('0x108')],'oldPage':_0xf8a8da}));}}}},{'key':mf_dgc_0x3a60('0x7a'),'get':function get(){if(this[mf_dgc_0x3a60('0x108')])return this['items']['indexOfItem'](this[mf_dgc_0x3a60('0x108')]);return-0x1;},'set':function set(_0x1fdcbf){var _0x103541=this[mf_dgc_0x3a60('0x6b')][mf_dgc_0x3a60('0x6b')]()[_0x1fdcbf];if(_0x103541)this[mf_dgc_0x3a60('0x68')]=_0x103541;}},{'key':mf_dgc_0x3a60('0xfb'),'value':function getItemByHeader(_0x5a1b91){return this[mf_dgc_0x3a60('0x6b')][mf_dgc_0x3a60('0x10a')](function(_0x443ade){return _0x443ade[mf_dgc_0x3a60('0xe9')][mf_dgc_0x3a60('0x63')]==_0x5a1b91[mf_dgc_0x3a60('0x63')];})[mf_dgc_0x3a60('0xf8')]();}},{'key':mf_dgc_0x3a60('0x52'),'get':function get(){return this[mf_dgc_0x3a60('0x10b')];},'set':function set(_0x393226){if(this[mf_dgc_0x3a60('0x10b')]!=_0x393226){if(this[mf_dgc_0x3a60('0x52')]!=null)this[mf_dgc_0x3a60('0x10b')][mf_dgc_0x3a60('0x71')](_0x4b0f07[mf_dgc_0x3a60('0x6d')][mf_dgc_0x3a60('0x10c')],this['documentChangedDelegate']);this[mf_dgc_0x3a60('0x10b')]=_0x393226;this['_document'][mf_dgc_0x3a60('0x4d')](_0x4b0f07[mf_dgc_0x3a60('0x6d')]['documentChanged'],this[mf_dgc_0x3a60('0x51')]);this['onDataLoaded'](this[mf_dgc_0x3a60('0x52')],{});this[mf_dgc_0x3a60('0xdc')](_0x4b0f07['Events'][mf_dgc_0x3a60('0x10d')],_0x4bec27['EventArgs']['Empty']);}}},{'key':'tabsSize','get':function get(){if(this['tabAlignment']==_0x5eb876[mf_dgc_0x3a60('0x42')])return 0x0;return this['tabStrip']['height'][mf_dgc_0x3a60('0xa')];},'set':function set(_0x33ff4e){if(this[mf_dgc_0x3a60('0x43')]['height'][mf_dgc_0x3a60('0xa')]!=_0x33ff4e){this[mf_dgc_0x3a60('0x43')][mf_dgc_0x3a60('0xb0')]=new _0x175d01[(mf_dgc_0x3a60('0x10e'))](_0x33ff4e,_0x175d01[mf_dgc_0x3a60('0x10f')][mf_dgc_0x3a60('0x110')]);this[mf_dgc_0x3a60('0xd2')]();}}},{'key':mf_dgc_0x3a60('0x61'),'get':function get(){return this['_tabAlignment'];},'set':function set(_0x195eb4){if(this[mf_dgc_0x3a60('0x41')]!=_0x195eb4){this[mf_dgc_0x3a60('0x41')]=_0x195eb4;this[mf_dgc_0x3a60('0xd2')]();}}},{'key':mf_dgc_0x3a60('0x86'),'get':function get(){return this[mf_dgc_0x3a60('0x43')][mf_dgc_0x3a60('0x111')];},'set':function set(_0x46f1b6){if(this[mf_dgc_0x3a60('0x43')][mf_dgc_0x3a60('0x111')]!=_0x46f1b6){this[mf_dgc_0x3a60('0x43')][mf_dgc_0x3a60('0x111')]=_0x46f1b6;}}},{'key':mf_dgc_0x3a60('0x77'),'get':function get(){return this[mf_dgc_0x3a60('0x43')][mf_dgc_0x3a60('0x112')]==_0x3b18de[mf_dgc_0x3a60('0x113')][mf_dgc_0x3a60('0x114')];},'set':function set(_0x42e64f){if(this['tabStrip'][mf_dgc_0x3a60('0x112')]==_0x3b18de[mf_dgc_0x3a60('0x113')]['NavButtons']!=_0x42e64f){this['tabStrip'][mf_dgc_0x3a60('0x112')]=_0x42e64f?_0x3b18de[mf_dgc_0x3a60('0x113')][mf_dgc_0x3a60('0x114')]:_0x3b18de[mf_dgc_0x3a60('0x113')][mf_dgc_0x3a60('0x42')];}}},{'key':'showAddButton','get':function get(){return this[mf_dgc_0x3a60('0x43')][mf_dgc_0x3a60('0x47')];},'set':function set(_0x1271e1){if(this[mf_dgc_0x3a60('0x43')][mf_dgc_0x3a60('0x47')]!=_0x1271e1){this[mf_dgc_0x3a60('0x43')]['showAddButton']=_0x1271e1;}}},{'key':'allowReorder','get':function get(){return this['tabStrip']['allowDrag'];},'set':function set(_0x4cad4e){if(this[mf_dgc_0x3a60('0x43')]['allowDrag']!=_0x4cad4e){this[mf_dgc_0x3a60('0x43')]['allowDrag']=_0x4cad4e;}}},{'key':mf_dgc_0x3a60('0x89'),'get':function get(){return this['_theme'];},'set':function set(_0x32c344){if(this[mf_dgc_0x3a60('0x115')]!=_0x32c344){this['_theme']=_0x32c344;if(this[mf_dgc_0x3a60('0x5f')]){var _0x448e16=this['shadowParent'][mf_dgc_0x3a60('0x116')](mf_dgc_0x3a60('0x117'));_0x55c8ba(_0x448e16)['forEach'](function(_0x497c84){return _0x497c84['parentNode']['removeChild'](_0x497c84);});var _0x5627c7=document[mf_dgc_0x3a60('0xc9')](mf_dgc_0x3a60('0x117'));_0x5627c7['href']=this[mf_dgc_0x3a60('0x118')]+this[mf_dgc_0x3a60('0x115')]['id']+mf_dgc_0x3a60('0x119');_0x5627c7['rel']='stylesheet';this[mf_dgc_0x3a60('0x5f')]['appendChild'](_0x5627c7);}if(this['_theme'])this['tabStrip'][mf_dgc_0x3a60('0x89')]=this[mf_dgc_0x3a60('0x115')]['id'];else this[mf_dgc_0x3a60('0x43')][mf_dgc_0x3a60('0x89')]='';}}},{'key':mf_dgc_0x3a60('0x118'),'get':function get(){return this[mf_dgc_0x3a60('0x11a')]||'';},'set':function set(_0x35f908){if(this[mf_dgc_0x3a60('0x11a')]!=_0x35f908){this[mf_dgc_0x3a60('0x11a')]=_0x35f908;this['tabStrip'][mf_dgc_0x3a60('0x118')]=_0x35f908;}}},{'key':mf_dgc_0x3a60('0x11b'),'value':function setTheme(_0x108fb7,_0x3f6508){this[mf_dgc_0x3a60('0x89')]=_0x108fb7;if(_0x3f6508){this[mf_dgc_0x3a60('0x6b')][mf_dgc_0x3a60('0xe2')](function(_0x3ad7c7){return _0x3ad7c7[mf_dgc_0x3a60('0x89')]=_0x108fb7;});}}},{'key':mf_dgc_0x3a60('0x79'),'get':function get(){return this[mf_dgc_0x3a60('0x43')][mf_dgc_0x3a60('0x11c')];},'set':function set(_0x3b0636){if(this[mf_dgc_0x3a60('0x43')][mf_dgc_0x3a60('0x11c')]!=_0x3b0636){this[mf_dgc_0x3a60('0x43')][mf_dgc_0x3a60('0x11c')]=_0x3b0636;}}},{'key':mf_dgc_0x3a60('0x11d'),'value':function onDataLoaded(_0x1c5ede,_0x5f2d05){var _0x1c2b19=this['selectedIndex'];this[mf_dgc_0x3a60('0x11e')](_0x1c5ede,_0x5f2d05);this['selectedIndex']=_0x1c2b19!=-0x1?_0x1c2b19:this[mf_dgc_0x3a60('0x6b')][mf_dgc_0x3a60('0xf5')];this[mf_dgc_0x3a60('0xf5')]=this[mf_dgc_0x3a60('0x6b')][mf_dgc_0x3a60('0x11f')]();}},{'key':mf_dgc_0x3a60('0x11e'),'value':function onDocumentChanged(_0x34d39f,_0x560337){var _0x5c1242=this[mf_dgc_0x3a60('0x52')][mf_dgc_0x3a60('0x3d')][mf_dgc_0x3a60('0x12')]==0x0;if(_0x5c1242){this[mf_dgc_0x3a60('0x92')]=new _0x4b0f07['Diagram']();this[mf_dgc_0x3a60('0x108')]=null;}this['enabled']=!_0x5c1242;this[mf_dgc_0x3a60('0x6b')]=new _0x5d7218[(mf_dgc_0x3a60('0x53'))](this[mf_dgc_0x3a60('0x52')][mf_dgc_0x3a60('0x3d')]);this['resetTabs']();this[mf_dgc_0x3a60('0x43')][mf_dgc_0x3a60('0x120')]();if(_0x560337[mf_dgc_0x3a60('0x121')]!=undefined)this['selectedIndex']=Math[mf_dgc_0x3a60('0x122')](--_0x560337['oldIndex'],0x0);if(_0x560337[mf_dgc_0x3a60('0x123')]!=undefined)this[mf_dgc_0x3a60('0x7a')]=_0x560337[mf_dgc_0x3a60('0x123')];}},{'key':mf_dgc_0x3a60('0xea'),'value':function onPageValidateAction(_0x47dd74,_0x38c831,_0x501126){var _0x430237=new _0x45f170({'page':_0x38c831,'oldPage':_0x501126});this[mf_dgc_0x3a60('0xdc')](_0x47dd74,_0x430237);if(_0x430237[mf_dgc_0x3a60('0x124')])return![];return!![];}},{'key':mf_dgc_0x3a60('0x4a'),'value':function onPageRenameStart(_0x3d596c,_0x27af07){var _0x5a9e3e=this;this[mf_dgc_0x3a60('0x125')]=_0x27af07[mf_dgc_0x3a60('0xf1')][mf_dgc_0x3a60('0x101')];this[mf_dgc_0x3a60('0x126')]=function(){_0x5a9e3e['inplaceController'][mf_dgc_0x3a60('0x127')](!![]);};this[mf_dgc_0x3a60('0x63')][mf_dgc_0x3a60('0x4d')](mf_dgc_0x3a60('0x128'),this[mf_dgc_0x3a60('0x126')]);}},{'key':'onPageRenameEnd','value':function onPageRenameEnd(_0x482f60,_0x4d81e0){var _0x5821e6=this['getItemByHeader'](_0x4d81e0['item']);if(_0x5821e6)_0x5821e6[mf_dgc_0x3a60('0x3f')]=_0x4d81e0[mf_dgc_0x3a60('0x129')];this['element'][mf_dgc_0x3a60('0x71')](mf_dgc_0x3a60('0x128'),this[mf_dgc_0x3a60('0x126')]);}},{'key':mf_dgc_0x3a60('0x30'),'get':function get(){if(!this[mf_dgc_0x3a60('0x12a')])this[mf_dgc_0x3a60('0x12a')]=new _0x4bec27[(mf_dgc_0x3a60('0x12b'))]();return this[mf_dgc_0x3a60('0x12a')];}},{'key':mf_dgc_0x3a60('0x31'),'get':function get(){if(!this[mf_dgc_0x3a60('0x12c')])this[mf_dgc_0x3a60('0x12c')]=new _0x4bec27[(mf_dgc_0x3a60('0x12b'))]();return this[mf_dgc_0x3a60('0x12c')];}},{'key':mf_dgc_0x3a60('0x32'),'get':function get(){if(!this['_pageAdding'])this[mf_dgc_0x3a60('0x12d')]=new _0x4bec27[(mf_dgc_0x3a60('0x12b'))]();return this[mf_dgc_0x3a60('0x12d')];}},{'key':mf_dgc_0x3a60('0x33'),'get':function get(){if(!this[mf_dgc_0x3a60('0x12e')])this[mf_dgc_0x3a60('0x12e')]=new _0x4bec27[(mf_dgc_0x3a60('0x12b'))]();return this[mf_dgc_0x3a60('0x12e')];}},{'key':mf_dgc_0x3a60('0x34'),'get':function get(){if(!this['_pageRemoving'])this[mf_dgc_0x3a60('0x12f')]=new _0x4bec27[(mf_dgc_0x3a60('0x12b'))]();return this[mf_dgc_0x3a60('0x12f')];}},{'key':mf_dgc_0x3a60('0x35'),'get':function get(){if(!this['_pageRemoved'])this[mf_dgc_0x3a60('0x130')]=new _0x4bec27[(mf_dgc_0x3a60('0x12b'))]();return this[mf_dgc_0x3a60('0x130')];}},{'key':mf_dgc_0x3a60('0x131'),'value':function connectedCallback(){var _0xb7cad1=this[mf_dgc_0x3a60('0x132')]({'mode':mf_dgc_0x3a60('0x8b')});var _0x582699=new CSSStyleSheet();_0x582699[mf_dgc_0x3a60('0x133')](_0x3b18de[mf_dgc_0x3a60('0x134')]);var _0x151195=new CSSStyleSheet();_0x151195[mf_dgc_0x3a60('0x133')](_0x3b18de[mf_dgc_0x3a60('0x135')]);var _0x458d37=new CSSStyleSheet();_0x458d37[mf_dgc_0x3a60('0x133')](_0x3b18de[mf_dgc_0x3a60('0x136')]);var _0x45c213=new CSSStyleSheet();_0x45c213[mf_dgc_0x3a60('0x133')](_0x3b18de[mf_dgc_0x3a60('0x137')]);_0xb7cad1[mf_dgc_0x3a60('0x138')]=[_0x582699,_0x151195,_0x458d37,_0x45c213];var _0x542e4a=document[mf_dgc_0x3a60('0xc9')]('div');_0x542e4a[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0x139')]=this[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0x139')];this[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0x139')]='';var _0xaf1711=document['createElement']('canvas');_0xaf1711['id']=this['getAttribute']('id');_0x542e4a[mf_dgc_0x3a60('0x65')](_0xaf1711);_0xb7cad1['appendChild'](_0x542e4a);this[mf_dgc_0x3a60('0x13a')]('id');var _0x188255=_0x16c1a6[mf_dgc_0x3a60('0x19')](_0xaf1711);_0x188255[mf_dgc_0x3a60('0x5f')]=_0xb7cad1;}}],[{'key':mf_dgc_0x3a60('0x19'),'value':function create(_0xd4ad3,_0x4c621c){return _0x4bec27[mf_dgc_0x3a60('0x76')][mf_dgc_0x3a60('0x13b')](_0x16c1a6,_0xd4ad3,_0x4c621c);}},{'key':'find','value':function find(_0x5222a9){return _0x4bec27[mf_dgc_0x3a60('0x76')][mf_dgc_0x3a60('0x13c')](_0x5222a9);}}]);return _0x16c1a6;}(_0x4b0f07['DiagramView']);var _0x245f85=function(){function _0x245f85(){_0x324f65(this,_0x245f85);}_0x6e9ccc(_0x245f85,[{'key':mf_dgc_0x3a60('0x13d'),'value':function drawControlPoint(_0x17c55a,_0x55a405,_0x32752a,_0x1df052){var _0x2e7a5f=new _0x4d2758[(mf_dgc_0x3a60('0x13e'))](_0x32752a,new _0x4d2758[(mf_dgc_0x3a60('0x13f'))](_0x55a405,_0x55a405));_0x2e7a5f[mf_dgc_0x3a60('0x140')](-_0x55a405/0x2,-_0x55a405/0x2);_0x17c55a[mf_dgc_0x3a60('0x141')]();_0x17c55a['fillStyle']=_0x1df052;_0x17c55a[mf_dgc_0x3a60('0x142')](_0x2e7a5f['x'],_0x2e7a5f['y'],_0x2e7a5f['width'],_0x2e7a5f[mf_dgc_0x3a60('0xb0')]);_0x17c55a[mf_dgc_0x3a60('0x143')](_0x2e7a5f['x'],_0x2e7a5f['y'],_0x2e7a5f['width'],_0x2e7a5f[mf_dgc_0x3a60('0xb0')]);_0x17c55a['restore']();}},{'key':'firstHandle','get':function get(){return 0x0;}},{'key':mf_dgc_0x3a60('0x144'),'get':function get(){return 0x1;}},{'key':mf_dgc_0x3a60('0x145'),'value':function saveState(){var _0x1b5467={};_0x1b5467['strokeColor']=this[mf_dgc_0x3a60('0x146')];_0x1b5467[mf_dgc_0x3a60('0x147')]=this[mf_dgc_0x3a60('0x147')];_0x1b5467[mf_dgc_0x3a60('0x148')]=this[mf_dgc_0x3a60('0x148')];return _0x1b5467;}},{'key':'loadState','value':function loadState(_0x158ef2){this[mf_dgc_0x3a60('0x146')]=_0x158ef2[mf_dgc_0x3a60('0x146')];this['strokeThickness']=_0x158ef2[mf_dgc_0x3a60('0x147')];this[mf_dgc_0x3a60('0x148')]=_0x158ef2[mf_dgc_0x3a60('0x148')];}},{'key':mf_dgc_0x3a60('0x149'),'value':function isDummy(){return![];}}],[{'key':mf_dgc_0x3a60('0x14a'),'get':function get(){return new _0x4d2758[(mf_dgc_0x3a60('0x13f'))](0x64,0x28);}}]);return _0x245f85;}();var _0x2f4c7b=function(_0x468a90){_0x5126de(_0x2f4c7b,_0x468a90);var _0x29cef2=_0x3c0983(_0x2f4c7b);function _0x2f4c7b(_0x539b56,_0x4d6d55){var _0x59e03b;_0x324f65(this,_0x2f4c7b);_0x59e03b=_0x29cef2[mf_dgc_0x3a60('0x20')](this);_0x59e03b[mf_dgc_0x3a60('0x14b')]=_0x539b56||new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](0x0,0x32);_0x59e03b[mf_dgc_0x3a60('0x14d')]=_0x4d6d55||new _0x4d2758['Point'](0x64,0x32);return _0x59e03b;}_0x6e9ccc(_0x2f4c7b,[{'key':mf_dgc_0x3a60('0x14e'),'value':function clone(){return new _0x2f4c7b(this['startPoint']['clone'](),this[mf_dgc_0x3a60('0x14d')]['clone']());}},{'key':mf_dgc_0x3a60('0x14f'),'get':function get(){return _0x4d2758[mf_dgc_0x3a60('0x150')][mf_dgc_0x3a60('0x151')](this[mf_dgc_0x3a60('0x14b')],this[mf_dgc_0x3a60('0x14d')]);}},{'key':mf_dgc_0x3a60('0x152'),'value':function distance(_0x11450e){return _0x4d2758[mf_dgc_0x3a60('0x150')][mf_dgc_0x3a60('0x153')](_0x11450e,this[mf_dgc_0x3a60('0x14b')],this[mf_dgc_0x3a60('0x14d')]);}},{'key':'offset','value':function offset(_0x16843){this['startPoint'][mf_dgc_0x3a60('0x154')](_0x16843);this[mf_dgc_0x3a60('0x14d')][mf_dgc_0x3a60('0x154')](_0x16843);}},{'key':mf_dgc_0x3a60('0x155'),'value':function orientate(_0x15fa05,_0x191460){this[mf_dgc_0x3a60('0x14b')]=_0x15fa05[mf_dgc_0x3a60('0x14e')]();this[mf_dgc_0x3a60('0x14d')]=_0x191460[mf_dgc_0x3a60('0x14e')]();}},{'key':'scale','value':function scale(_0x444293,_0x50795a){var _0x1636b7=new _0x4d2758[(mf_dgc_0x3a60('0x156'))]();_0x1636b7[mf_dgc_0x3a60('0x157')](_0x50795a['x'],_0x50795a['y']);_0x1636b7['scale'](_0x444293,_0x444293);_0x1636b7['translate'](-_0x50795a['x'],-_0x50795a['y']);_0x1636b7['transformPoint'](this['startPoint']);_0x1636b7[mf_dgc_0x3a60('0x158')](this[mf_dgc_0x3a60('0x14d')]);}},{'key':mf_dgc_0x3a60('0x159'),'value':function toShape(){var _0x21e8b6={'outline':this['exportElement'](!![]),'id':mf_dgc_0x3a60('0x15a')};return new _0x4b0f07[(mf_dgc_0x3a60('0x15b'))](_0x21e8b6);}},{'key':mf_dgc_0x3a60('0x15c'),'value':function addToContext(_0x529c0f,_0x21c0ae){if(_0x21c0ae)_0x529c0f[mf_dgc_0x3a60('0x15d')](this[mf_dgc_0x3a60('0x14b')]['x'],this[mf_dgc_0x3a60('0x14b')]['y']);_0x529c0f[mf_dgc_0x3a60('0x15e')](this['endPoint']['x'],this[mf_dgc_0x3a60('0x14d')]['y']);}},{'key':mf_dgc_0x3a60('0x66'),'value':function draw(_0x394e05,_0x545959){_0x394e05[mf_dgc_0x3a60('0x141')]();if(!_0x545959)_0x545959={'color':'#000000','width':0x1,'dashStyle':0x0};_0x394e05[mf_dgc_0x3a60('0x15f')]=this[mf_dgc_0x3a60('0x146')]||_0x545959[mf_dgc_0x3a60('0x160')];_0x394e05[mf_dgc_0x3a60('0x161')]=(this[mf_dgc_0x3a60('0x147')]!=undefined?this[mf_dgc_0x3a60('0x147')]:_0x545959[mf_dgc_0x3a60('0xaf')])*_0x394e05['_mf_scale'];_0x4d2758[mf_dgc_0x3a60('0x162')][mf_dgc_0x3a60('0xe')](_0x394e05,this['strokeDashStyle']!=undefined?this[mf_dgc_0x3a60('0x148')]:_0x545959[mf_dgc_0x3a60('0x163')]);_0x394e05[mf_dgc_0x3a60('0x164')]();_0x394e05[mf_dgc_0x3a60('0x15d')](this[mf_dgc_0x3a60('0x14b')]['x'],this[mf_dgc_0x3a60('0x14b')]['y']);_0x394e05[mf_dgc_0x3a60('0x15e')](this[mf_dgc_0x3a60('0x14d')]['x'],this[mf_dgc_0x3a60('0x14d')]['y']);_0x394e05['stroke']();_0x394e05[mf_dgc_0x3a60('0x165')]();}},{'key':mf_dgc_0x3a60('0x166'),'value':function drawControlPoints(_0x5f3949,_0xdf71cf,_0x1eff5a){this[mf_dgc_0x3a60('0x13d')](_0x5f3949,_0xdf71cf,this[mf_dgc_0x3a60('0x14b')],_0x1eff5a);this['drawControlPoint'](_0x5f3949,_0xdf71cf,this[mf_dgc_0x3a60('0x14d')],_0x1eff5a);}},{'key':mf_dgc_0x3a60('0x167'),'value':function hitTestHandle(_0x40cf30,_0x1cc067){var _0x5190c0=_0x40cf30[mf_dgc_0x3a60('0x152')](this[mf_dgc_0x3a60('0x14b')]);if(_0x5190c0<_0x1cc067)return 0x0;var _0x1763da=_0x40cf30[mf_dgc_0x3a60('0x152')](this[mf_dgc_0x3a60('0x14d')]);if(_0x1763da<_0x1cc067)return 0x1;return-0x1;}},{'key':mf_dgc_0x3a60('0x168'),'value':function updateFromHandle(_0x531e6c,_0x59ac6b){if(_0x531e6c==0x0)this['startPoint']=_0x59ac6b;if(_0x531e6c==0x1)this['endPoint']=_0x59ac6b;}},{'key':mf_dgc_0x3a60('0x169'),'value':function exportElement(_0x1ac02e){var _0x5b33e0='';if(_0x1ac02e)_0x5b33e0='M'[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x14b')]['x'],',')[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x14b')]['y'],'\x20');_0x5b33e0+='L'[mf_dgc_0x3a60('0x16a')](this['endPoint']['x'],',')['concat'](this[mf_dgc_0x3a60('0x14d')]['y'],'\x20');return _0x5b33e0;}},{'key':'exportShapeElement','value':function exportShapeElement(){var _0x53d0fa=[];_0x53d0fa['push'](new _0x4b0f07[(mf_dgc_0x3a60('0x16b'))](mf_dgc_0x3a60('0x15d'),[this[mf_dgc_0x3a60('0x14b')]['x'],this[mf_dgc_0x3a60('0x14b')]['y']]));_0x53d0fa[mf_dgc_0x3a60('0x16c')](new _0x4b0f07[(mf_dgc_0x3a60('0x16b'))](mf_dgc_0x3a60('0x15e'),[this[mf_dgc_0x3a60('0x14d')]['x'],this[mf_dgc_0x3a60('0x14d')]['y']],this[mf_dgc_0x3a60('0x146')],this[mf_dgc_0x3a60('0x147')],this['strokeDashStyle']));return _0x53d0fa;}},{'key':mf_dgc_0x3a60('0x145'),'value':function saveState(){var _0x29817c=_0x5b4727(_0x10135f(_0x2f4c7b[mf_dgc_0x3a60('0x17')]),mf_dgc_0x3a60('0x145'),this)[mf_dgc_0x3a60('0x20')](this);_0x29817c[mf_dgc_0x3a60('0x14b')]=this['startPoint']['clone']();_0x29817c[mf_dgc_0x3a60('0x14d')]=this[mf_dgc_0x3a60('0x14d')][mf_dgc_0x3a60('0x14e')]();return _0x29817c;}},{'key':mf_dgc_0x3a60('0x16d'),'value':function loadState(_0x235c1e){_0x5b4727(_0x10135f(_0x2f4c7b[mf_dgc_0x3a60('0x17')]),'loadState',this)[mf_dgc_0x3a60('0x20')](this,_0x235c1e);this[mf_dgc_0x3a60('0x14b')]=_0x235c1e[mf_dgc_0x3a60('0x14b')];this['endPoint']=_0x235c1e[mf_dgc_0x3a60('0x14d')];}}],[{'key':mf_dgc_0x3a60('0x16e'),'value':function fromCenter(_0x2046f7){var _0x12e19a=_0x4d2758[mf_dgc_0x3a60('0x13e')][mf_dgc_0x3a60('0x16f')](_0x2046f7,_0x245f85['defaultSize']);var _0x44f9ec=new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x12e19a['x'],_0x12e19a['y']+_0x12e19a[mf_dgc_0x3a60('0xb0')]/0x2);var _0x48bf0b=new _0x4d2758['Point'](_0x12e19a['x']+_0x12e19a['width'],_0x12e19a['y']+_0x12e19a[mf_dgc_0x3a60('0xb0')]/0x2);return new _0x2f4c7b(_0x44f9ec,_0x48bf0b);}},{'key':mf_dgc_0x3a60('0x170'),'value':function _default(){return new _0x2f4c7b();}}]);return _0x2f4c7b;}(_0x245f85);var _0x5eda26=function(_0x28095f){_0x5126de(_0x5eda26,_0x28095f);var _0x3c568=_0x3c0983(_0x5eda26);function _0x5eda26(_0x22c343,_0x5c7f98,_0xfe7174,_0x5c2775,_0x3121d4,_0x195abb,_0x576e7c,_0x43862f){var _0x3b1cc8;_0x324f65(this,_0x5eda26);_0x3b1cc8=_0x3c568['call'](this);_0x3b1cc8[mf_dgc_0x3a60('0x171')]=[new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x22c343,_0x5c7f98),new _0x4d2758['Point'](_0xfe7174,_0x5c2775),new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x3121d4,_0x195abb),new _0x4d2758['Point'](_0x576e7c,_0x43862f)];return _0x3b1cc8;}_0x6e9ccc(_0x5eda26,[{'key':mf_dgc_0x3a60('0x14e'),'value':function clone(){return _0x5eda26[mf_dgc_0x3a60('0x172')](this[mf_dgc_0x3a60('0x171')]);}},{'key':mf_dgc_0x3a60('0x14b'),'get':function get(){return this[mf_dgc_0x3a60('0x171')][0x0];}},{'key':'endPoint','get':function get(){return this[mf_dgc_0x3a60('0x171')][0x3];}},{'key':mf_dgc_0x3a60('0x14f'),'get':function get(){var _0x2b220b=0x0,_0x3fccb0=0x0;for(var _0x55bae6 in this['points']){_0x2b220b+=_0x55bae6['x'];_0x3fccb0+=_0x55bae6['y'];}return new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x2b220b/0x4,_0x3fccb0/0x4);}},{'key':mf_dgc_0x3a60('0x144'),'get':function get(){return 0x3;}},{'key':mf_dgc_0x3a60('0x152'),'value':function distance(_0x1b5eed){return _0x4d2758[mf_dgc_0x3a60('0x150')][mf_dgc_0x3a60('0x173')](_0x1b5eed,this['points'],{'value':0x4});}},{'key':mf_dgc_0x3a60('0x140'),'value':function offset(_0x24960f){this[mf_dgc_0x3a60('0x171')]['forEach'](function(_0x29595f){return _0x29595f['addVector'](_0x24960f);});}},{'key':'orientate','value':function orientate(_0x23a17a,_0x51502a){this['points'][0x0]=_0x23a17a[mf_dgc_0x3a60('0x14e')]();this[mf_dgc_0x3a60('0x171')][0x3]=_0x51502a['clone']();var _0x212660=new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x51502a['x']-_0x23a17a['x'],_0x51502a['y']-_0x23a17a['y']);var _0x3a1f31=Math[mf_dgc_0x3a60('0x174')](_0x212660['x']*_0x212660['x']+_0x212660['y']*_0x212660['y']);var _0x489d7d=new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x212660['y'],-_0x212660['x']);var _0x556d9d=new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x489d7d['x']/_0x3a1f31,_0x489d7d['y']/_0x3a1f31);this[mf_dgc_0x3a60('0x171')][0x1]=new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x23a17a['x']+_0x212660['x']/0x3+_0x556d9d['x']*_0x3a1f31/0x8,_0x23a17a['y']+_0x212660['y']/0x3+_0x556d9d['y']*_0x3a1f31/0x8);this['points'][0x2]=new _0x4d2758['Point'](_0x23a17a['x']+0x2*_0x212660['x']/0x3-_0x556d9d['x']*_0x3a1f31/0x8,_0x23a17a['y']+0x2*_0x212660['y']/0x3-_0x556d9d['y']*_0x3a1f31/0x8);}},{'key':mf_dgc_0x3a60('0xbe'),'value':function scale(_0x5a2e2c,_0x204a2c){var _0x4a3f4d=new _0x4d2758[(mf_dgc_0x3a60('0x156'))]();_0x4a3f4d[mf_dgc_0x3a60('0x157')](_0x204a2c['x'],_0x204a2c['y']);_0x4a3f4d[mf_dgc_0x3a60('0xbe')](_0x5a2e2c,_0x5a2e2c);_0x4a3f4d[mf_dgc_0x3a60('0x157')](-_0x204a2c['x'],-_0x204a2c['y']);_0x4a3f4d[mf_dgc_0x3a60('0x158')](this[mf_dgc_0x3a60('0x171')][0x0]);_0x4a3f4d[mf_dgc_0x3a60('0x158')](this[mf_dgc_0x3a60('0x171')][0x1]);_0x4a3f4d[mf_dgc_0x3a60('0x158')](this[mf_dgc_0x3a60('0x171')][0x2]);_0x4a3f4d[mf_dgc_0x3a60('0x158')](this[mf_dgc_0x3a60('0x171')][0x3]);}},{'key':mf_dgc_0x3a60('0x15c'),'value':function addToContext(_0x44a995,_0x1d7eb9){_0x44a995['moveTo'](this[mf_dgc_0x3a60('0x171')][0x0]['x'],this[mf_dgc_0x3a60('0x171')][0x0]['y']);_0x44a995[mf_dgc_0x3a60('0x175')](this[mf_dgc_0x3a60('0x171')][0x1]['x'],this[mf_dgc_0x3a60('0x171')][0x1]['y'],this[mf_dgc_0x3a60('0x171')][0x2]['x'],this['points'][0x2]['y'],this[mf_dgc_0x3a60('0x171')][0x3]['x'],this[mf_dgc_0x3a60('0x171')][0x3]['y']);}},{'key':mf_dgc_0x3a60('0x66'),'value':function draw(_0x2b425f,_0x55a56b){_0x2b425f[mf_dgc_0x3a60('0x141')]();if(!_0x55a56b)_0x55a56b={'color':mf_dgc_0x3a60('0x176'),'width':0x1,'dashStyle':0x0};_0x2b425f['strokeStyle']=this[mf_dgc_0x3a60('0x146')]||_0x55a56b[mf_dgc_0x3a60('0x160')];_0x2b425f[mf_dgc_0x3a60('0x161')]=(this[mf_dgc_0x3a60('0x147')]!=undefined?this['strokeThickness']:_0x55a56b[mf_dgc_0x3a60('0xaf')])*_0x2b425f[mf_dgc_0x3a60('0x177')];_0x4d2758[mf_dgc_0x3a60('0x162')][mf_dgc_0x3a60('0xe')](_0x2b425f,this[mf_dgc_0x3a60('0x148')]!=undefined?this[mf_dgc_0x3a60('0x148')]:_0x55a56b[mf_dgc_0x3a60('0x163')]);_0x2b425f['beginPath']();this[mf_dgc_0x3a60('0x15c')](_0x2b425f);_0x2b425f[mf_dgc_0x3a60('0x178')]();_0x2b425f['restore']();}},{'key':mf_dgc_0x3a60('0x166'),'value':function drawControlPoints(_0x45d463,_0x32aced,_0x4d5951){for(var _0x434dbc=0x0;_0x434dbc<0x4;_0x434dbc++){this[mf_dgc_0x3a60('0x13d')](_0x45d463,_0x32aced,this['points'][_0x434dbc],_0x4d5951);}}},{'key':'hitTestHandle','value':function hitTestHandle(_0x2bdaac,_0x291807){for(var _0x4d0106=0x0;_0x4d0106<0x4;_0x4d0106++){var _0x3dcf78=_0x2bdaac['distance'](this[mf_dgc_0x3a60('0x171')][_0x4d0106]);if(_0x3dcf78<_0x291807)return _0x4d0106;}return-0x1;}},{'key':mf_dgc_0x3a60('0x168'),'value':function updateFromHandle(_0x4361b2,_0x58a66e){this[mf_dgc_0x3a60('0x171')][_0x4361b2]=_0x58a66e;}},{'key':mf_dgc_0x3a60('0x145'),'value':function saveState(){var _0xd144d2=_0x5b4727(_0x10135f(_0x5eda26[mf_dgc_0x3a60('0x17')]),mf_dgc_0x3a60('0x145'),this)[mf_dgc_0x3a60('0x20')](this);_0xd144d2[mf_dgc_0x3a60('0x171')]=_0x55c8ba(this[mf_dgc_0x3a60('0x171')]);return _0xd144d2;}},{'key':mf_dgc_0x3a60('0x16d'),'value':function loadState(_0x234556){_0x5b4727(_0x10135f(_0x5eda26[mf_dgc_0x3a60('0x17')]),mf_dgc_0x3a60('0x16d'),this)[mf_dgc_0x3a60('0x20')](this,_0x234556);this[mf_dgc_0x3a60('0x171')]=_0x234556[mf_dgc_0x3a60('0x171')];}},{'key':mf_dgc_0x3a60('0x159'),'value':function toShape(){var _0x533957={'outline':this['exportElement'](!![]),'id':'Bezier'};return new _0x4b0f07[(mf_dgc_0x3a60('0x15b'))](_0x533957);}},{'key':mf_dgc_0x3a60('0x169'),'value':function exportElement(_0x265d0e){var _0x532f0b='';if(_0x265d0e)_0x532f0b='M'[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x171')][0x0]['x'],',')[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x171')][0x0]['y'],'\x20');_0x532f0b+='C'['concat'](this[mf_dgc_0x3a60('0x171')][0x1]['x'],',')[mf_dgc_0x3a60('0x16a')](this['points'][0x1]['y'],',')['concat'](this['points'][0x2]['x'],',')[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x171')][0x2]['y'],',')['concat'](this[mf_dgc_0x3a60('0x171')][0x3]['x'],',')[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x171')][0x3]['y'],'\x20');return _0x532f0b;}},{'key':mf_dgc_0x3a60('0x179'),'value':function exportShapeElement(){var _0x1fb05f=[];_0x1fb05f['push'](new _0x4b0f07[(mf_dgc_0x3a60('0x16b'))](mf_dgc_0x3a60('0x15d'),[this['points'][0x0]['x'],this[mf_dgc_0x3a60('0x171')][0x0]['y']]));_0x1fb05f[mf_dgc_0x3a60('0x16c')](new _0x4b0f07[(mf_dgc_0x3a60('0x16b'))](mf_dgc_0x3a60('0x175'),[this[mf_dgc_0x3a60('0x171')][0x1]['x'],this['points'][0x1]['y'],this[mf_dgc_0x3a60('0x171')][0x2]['x'],this['points'][0x2]['y'],this[mf_dgc_0x3a60('0x171')][0x3]['x'],this['points'][0x3]['y']],this[mf_dgc_0x3a60('0x146')],this[mf_dgc_0x3a60('0x147')],this[mf_dgc_0x3a60('0x148')]));return _0x1fb05f;}}],[{'key':mf_dgc_0x3a60('0x172'),'value':function fromPoints(_0x3a72dd){return new _0x5eda26(_0x3a72dd[0x0]['x'],_0x3a72dd[0x0]['y'],_0x3a72dd[0x1]['x'],_0x3a72dd[0x1]['y'],_0x3a72dd[0x2]['x'],_0x3a72dd[0x2]['y'],_0x3a72dd[0x3]['x'],_0x3a72dd[0x3]['y']);}},{'key':mf_dgc_0x3a60('0x16e'),'value':function fromCenter(_0x57e9f8){var _0x32d612=_0x4d2758[mf_dgc_0x3a60('0x13e')][mf_dgc_0x3a60('0x16f')](_0x57e9f8,_0x245f85[mf_dgc_0x3a60('0x14a')]);var _0x3c064d=[new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x32d612['x'],_0x32d612['y']+_0x32d612[mf_dgc_0x3a60('0xb0')]/0x2),new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x32d612['x']+_0x32d612[mf_dgc_0x3a60('0xaf')]/0x3,_0x32d612['y']),new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x32d612['x']+_0x32d612[mf_dgc_0x3a60('0xaf')]-_0x32d612[mf_dgc_0x3a60('0xaf')]/0x3,_0x32d612['y']+_0x32d612['height']),new _0x4d2758['Point'](_0x32d612['x']+_0x32d612[mf_dgc_0x3a60('0xaf')],_0x32d612['y']+_0x32d612['height']/0x2)];var _0x2d973d=0x0,_0x1153dd=0x0;_0x3c064d[mf_dgc_0x3a60('0xe2')](function(_0x1384c5){_0x2d973d+=_0x1384c5['x'];_0x1153dd+=_0x1384c5['y'];});var _0x43d71d=new _0x4d2758['Point'](_0x2d973d/0x4,_0x1153dd/0x4);var _0xec4717=[][mf_dgc_0x3a60('0x16a')](_0x3c064d);_0xec4717[mf_dgc_0x3a60('0xe2')](function(_0x28fdbb){_0x28fdbb['x']+=_0x57e9f8['x']-_0x43d71d['x'];_0x28fdbb['y']+=_0x57e9f8['y']-_0x43d71d['y'];});return _0x5eda26[mf_dgc_0x3a60('0x172')](_0xec4717);}},{'key':'default','value':function _default(){var _0x18e0f4=new _0x4d2758[(mf_dgc_0x3a60('0x13e'))](0x0,0x0,0x64,0x64);var _0x3b55a1=_0x18e0f4[mf_dgc_0x3a60('0x14f')]();var _0x1ded93=[new _0x4d2758['Point'](_0x18e0f4['x'],_0x18e0f4['y']+_0x18e0f4[mf_dgc_0x3a60('0xb0')]/0x2),new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x18e0f4['x']+_0x18e0f4[mf_dgc_0x3a60('0xaf')]/0x3,_0x18e0f4['y']),new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x18e0f4['x']+_0x18e0f4[mf_dgc_0x3a60('0xaf')]-_0x18e0f4[mf_dgc_0x3a60('0xaf')]/0x3,_0x18e0f4['y']+_0x18e0f4['height']),new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x18e0f4['x']+_0x18e0f4['width'],_0x18e0f4['y']+_0x18e0f4['height']/0x2)];var _0x2f5a4a=0x0,_0x2ed6a3=0x0;_0x1ded93[mf_dgc_0x3a60('0xe2')](function(_0x1ce937){_0x2f5a4a+=_0x1ce937['x'];_0x2ed6a3+=_0x1ce937['y'];});var _0x4468d8=new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x2f5a4a/0x4,_0x2ed6a3/0x4);var _0x222680=[]['concat'](_0x1ded93);_0x222680[mf_dgc_0x3a60('0xe2')](function(_0x1b5004){_0x1b5004['x']+=_0x3b55a1['x']-_0x4468d8['x'];_0x1b5004['y']+=_0x3b55a1['y']-_0x4468d8['y'];});return _0x5eda26[mf_dgc_0x3a60('0x172')](_0x222680);}}]);return _0x5eda26;}(_0x245f85);var _0x55ad41=function(_0x591a97){_0x5126de(_0x55ad41,_0x591a97);var _0x40521b=_0x3c0983(_0x55ad41);function _0x55ad41(_0x4ad8d1,_0x256df0,_0x4e2440,_0x3b1634,_0x502da0,_0x3e9ae5){var _0x21fa70;_0x324f65(this,_0x55ad41);_0x21fa70=_0x40521b[mf_dgc_0x3a60('0x20')](this);var _0x271b8f=_0x4ad8d1+_0x4e2440*Math['cos'](_0x3b1634);var _0x5196b1=_0x256df0+_0x4e2440*Math[mf_dgc_0x3a60('0x17a')](_0x3b1634);var _0x4cefc1=_0x4ad8d1+_0x4e2440*Math[mf_dgc_0x3a60('0x17b')](_0x502da0);var _0x25f359=_0x256df0+_0x4e2440*Math['sin'](_0x502da0);_0x21fa70['startPoint']=new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x271b8f,_0x5196b1);_0x21fa70[mf_dgc_0x3a60('0x17c')]=new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x4ad8d1,_0x256df0);_0x21fa70['endPoint']=new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x4cefc1,_0x25f359);return _0x21fa70;}_0x6e9ccc(_0x55ad41,[{'key':mf_dgc_0x3a60('0x14e'),'value':function clone(){return _0x55ad41[mf_dgc_0x3a60('0x172')](this[mf_dgc_0x3a60('0x14b')],this[mf_dgc_0x3a60('0x14d')],this['controlPoint']);}},{'key':mf_dgc_0x3a60('0x144'),'get':function get(){return 0x2;}},{'key':mf_dgc_0x3a60('0x14f'),'get':function get(){return this[mf_dgc_0x3a60('0x17c')];}},{'key':'distance','value':function distance(_0x236155){var _0x1a0623=_0x236155['distance'](this[mf_dgc_0x3a60('0x14b')]);_0x1a0623=Math[mf_dgc_0x3a60('0xbf')](_0x1a0623,_0x236155[mf_dgc_0x3a60('0x152')](this['controlPoint']));_0x1a0623=Math['min'](_0x1a0623,_0x236155[mf_dgc_0x3a60('0x152')](this[mf_dgc_0x3a60('0x14d')]));return _0x1a0623;}},{'key':mf_dgc_0x3a60('0x140'),'value':function offset(_0xbb1b09){this[mf_dgc_0x3a60('0x14b')][mf_dgc_0x3a60('0x154')](_0xbb1b09);this['endPoint'][mf_dgc_0x3a60('0x154')](_0xbb1b09);this[mf_dgc_0x3a60('0x17c')][mf_dgc_0x3a60('0x154')](_0xbb1b09);}},{'key':mf_dgc_0x3a60('0x155'),'value':function orientate(_0x3e87bd,_0x113791){this[mf_dgc_0x3a60('0x14b')]=_0x3e87bd[mf_dgc_0x3a60('0x14e')]();this['endPoint']=_0x113791[mf_dgc_0x3a60('0x14e')]();this[mf_dgc_0x3a60('0x17c')]=_0x4d2758['DrawingUtils']['midPoint'](this['startPoint'],this[mf_dgc_0x3a60('0x14d')]);}},{'key':'scale','value':function scale(_0x3c844f,_0x27eb4f){var _0x4e66ad=new _0x4d2758[(mf_dgc_0x3a60('0x156'))]();_0x4e66ad[mf_dgc_0x3a60('0x157')](_0x27eb4f['x'],_0x27eb4f['y']);_0x4e66ad['scale'](_0x3c844f,_0x3c844f);_0x4e66ad[mf_dgc_0x3a60('0x157')](-_0x27eb4f['x'],-_0x27eb4f['y']);_0x4e66ad[mf_dgc_0x3a60('0x158')](this[mf_dgc_0x3a60('0x14b')]);_0x4e66ad[mf_dgc_0x3a60('0x158')](this[mf_dgc_0x3a60('0x14d')]);_0x4e66ad[mf_dgc_0x3a60('0x158')](this[mf_dgc_0x3a60('0x17c')]);}},{'key':mf_dgc_0x3a60('0x15c'),'value':function addToContext(_0x44a95f){var _0x43ecb0=Math[mf_dgc_0x3a60('0x17d')](this[mf_dgc_0x3a60('0x17c')][mf_dgc_0x3a60('0x152')](this[mf_dgc_0x3a60('0x14b')]));var _0x5c3f35=_0x4d2758[mf_dgc_0x3a60('0x17e')][mf_dgc_0x3a60('0x17f')](this[mf_dgc_0x3a60('0x17c')][mf_dgc_0x3a60('0x180')](this['startPoint']));var _0x3bb416=_0x4d2758[mf_dgc_0x3a60('0x17e')][mf_dgc_0x3a60('0x17f')](this[mf_dgc_0x3a60('0x17c')][mf_dgc_0x3a60('0x180')](this[mf_dgc_0x3a60('0x14d')]));_0x44a95f[mf_dgc_0x3a60('0x181')](this[mf_dgc_0x3a60('0x17c')]['x'],this[mf_dgc_0x3a60('0x17c')]['y'],_0x43ecb0,_0x5c3f35,_0x3bb416,![]);}},{'key':'draw','value':function draw(_0x47a0f2,_0x341135){_0x47a0f2[mf_dgc_0x3a60('0x141')]();if(!_0x341135)_0x341135={'color':mf_dgc_0x3a60('0x176'),'width':0x1,'dashStyle':0x0};_0x47a0f2[mf_dgc_0x3a60('0x15f')]=this[mf_dgc_0x3a60('0x146')]||_0x341135['color'];_0x47a0f2[mf_dgc_0x3a60('0x161')]=(this[mf_dgc_0x3a60('0x147')]!=undefined?this[mf_dgc_0x3a60('0x147')]:_0x341135['width'])*_0x47a0f2[mf_dgc_0x3a60('0x177')];_0x4d2758[mf_dgc_0x3a60('0x162')]['apply'](_0x47a0f2,this['strokeDashStyle']!=undefined?this[mf_dgc_0x3a60('0x148')]:_0x341135[mf_dgc_0x3a60('0x163')]);_0x47a0f2[mf_dgc_0x3a60('0x164')]();this['addToContext'](_0x47a0f2);_0x47a0f2[mf_dgc_0x3a60('0x178')]();_0x47a0f2[mf_dgc_0x3a60('0x165')]();}},{'key':mf_dgc_0x3a60('0x166'),'value':function drawControlPoints(_0x5069ff,_0xaa618c,_0x4c30f6){this[mf_dgc_0x3a60('0x13d')](_0x5069ff,_0xaa618c,this[mf_dgc_0x3a60('0x14b')],_0x4c30f6);this['drawControlPoint'](_0x5069ff,_0xaa618c,this['controlPoint'],_0x4c30f6);this[mf_dgc_0x3a60('0x13d')](_0x5069ff,_0xaa618c,this['endPoint'],_0x4c30f6);}},{'key':mf_dgc_0x3a60('0x167'),'value':function hitTestHandle(_0x322913,_0x2b0517){var _0x2100dc=_0x322913[mf_dgc_0x3a60('0x152')](this[mf_dgc_0x3a60('0x14b')]);if(_0x2100dc<_0x2b0517)return 0x0;var _0x2100dc=_0x322913['distance'](this[mf_dgc_0x3a60('0x17c')]);if(_0x2100dc<_0x2b0517)return 0x1;var _0x2100dc=_0x322913[mf_dgc_0x3a60('0x152')](this[mf_dgc_0x3a60('0x14d')]);if(_0x2100dc<_0x2b0517)return 0x2;return-0x1;}},{'key':mf_dgc_0x3a60('0x168'),'value':function updateFromHandle(_0x1cfac8,_0x4eb36b){if(_0x1cfac8==0x0)this[mf_dgc_0x3a60('0x14b')]=_0x4eb36b[mf_dgc_0x3a60('0x14e')]();if(_0x1cfac8==0x2)this[mf_dgc_0x3a60('0x14d')]=_0x4eb36b[mf_dgc_0x3a60('0x14e')]();this[mf_dgc_0x3a60('0x17c')]=_0x4d2758['DrawingUtils'][mf_dgc_0x3a60('0x182')](this['startPoint'],this[mf_dgc_0x3a60('0x14d')]);}},{'key':mf_dgc_0x3a60('0x145'),'value':function saveState(){var _0x3e46db=_0x5b4727(_0x10135f(_0x55ad41[mf_dgc_0x3a60('0x17')]),mf_dgc_0x3a60('0x145'),this)[mf_dgc_0x3a60('0x20')](this);_0x3e46db[mf_dgc_0x3a60('0x14b')]=this[mf_dgc_0x3a60('0x14b')][mf_dgc_0x3a60('0x14e')]();_0x3e46db[mf_dgc_0x3a60('0x14d')]=this[mf_dgc_0x3a60('0x14d')][mf_dgc_0x3a60('0x14e')]();_0x3e46db['controlPoint']=this[mf_dgc_0x3a60('0x17c')]['clone']();return _0x3e46db;}},{'key':mf_dgc_0x3a60('0x16d'),'value':function loadState(_0x2e54cc){_0x5b4727(_0x10135f(_0x55ad41['prototype']),mf_dgc_0x3a60('0x16d'),this)[mf_dgc_0x3a60('0x20')](this,_0x2e54cc);this['startPoint']=_0x2e54cc[mf_dgc_0x3a60('0x17c')][mf_dgc_0x3a60('0x14e')]();this['endPoint']=_0x2e54cc[mf_dgc_0x3a60('0x17c')][mf_dgc_0x3a60('0x14e')]();this['controlPoint']=_0x2e54cc[mf_dgc_0x3a60('0x17c')][mf_dgc_0x3a60('0x14e')]();}},{'key':mf_dgc_0x3a60('0x159'),'value':function toShape(){var _0x309794={'outline':this[mf_dgc_0x3a60('0x169')](),'id':mf_dgc_0x3a60('0x183')};return new _0x4b0f07[(mf_dgc_0x3a60('0x15b'))](_0x309794);}},{'key':mf_dgc_0x3a60('0x169'),'value':function exportElement(){var _0x4c5012=Math['abs'](this['controlPoint'][mf_dgc_0x3a60('0x152')](this[mf_dgc_0x3a60('0x14b')]));var _0x5e6737=_0x4d2758[mf_dgc_0x3a60('0x17e')]['degreeToRadian'](this[mf_dgc_0x3a60('0x17c')]['angleBetween'](this['startPoint']));var _0xbf3614=_0x4d2758[mf_dgc_0x3a60('0x17e')][mf_dgc_0x3a60('0x17f')](this['controlPoint'][mf_dgc_0x3a60('0x180')](this['endPoint']));return'X'['concat'](this[mf_dgc_0x3a60('0x17c')]['x'],',')[mf_dgc_0x3a60('0x16a')](this['controlPoint']['y'],',')[mf_dgc_0x3a60('0x16a')](_0x4c5012,',')[mf_dgc_0x3a60('0x16a')](_0x5e6737,',')[mf_dgc_0x3a60('0x16a')](_0xbf3614,',0');}},{'key':mf_dgc_0x3a60('0x179'),'value':function exportShapeElement(){var _0x1f2ca0=[];_0x1f2ca0[mf_dgc_0x3a60('0x16c')](new _0x4b0f07['ShapeElement'](mf_dgc_0x3a60('0x15d'),[this[mf_dgc_0x3a60('0x14b')]['x'],this[mf_dgc_0x3a60('0x14b')]['y']]));var _0x352c56=Math[mf_dgc_0x3a60('0x17d')](this[mf_dgc_0x3a60('0x17c')]['distance'](this[mf_dgc_0x3a60('0x14b')]));var _0x4d234d=_0x4d2758[mf_dgc_0x3a60('0x17e')][mf_dgc_0x3a60('0x17f')](this[mf_dgc_0x3a60('0x17c')]['angleBetween'](this[mf_dgc_0x3a60('0x14b')]));var _0x5b1d8d=_0x4d2758[mf_dgc_0x3a60('0x17e')][mf_dgc_0x3a60('0x17f')](this[mf_dgc_0x3a60('0x17c')]['angleBetween'](this['endPoint']));_0x1f2ca0[mf_dgc_0x3a60('0x16c')](new _0x4b0f07[(mf_dgc_0x3a60('0x16b'))](mf_dgc_0x3a60('0x181'),[this[mf_dgc_0x3a60('0x17c')]['x'],this[mf_dgc_0x3a60('0x17c')]['y'],_0x352c56,_0x4d234d,_0x5b1d8d,0x0],this['strokeColor'],this[mf_dgc_0x3a60('0x147')],this[mf_dgc_0x3a60('0x148')]));return _0x1f2ca0;}}],[{'key':mf_dgc_0x3a60('0x172'),'value':function fromPoints(_0x449ff0,_0x4db66f,_0x5545ec){var _0x2df1a2=_0x5545ec['x'];var _0x42b139=_0x5545ec['y'];var _0x8f3150=_0x5545ec[mf_dgc_0x3a60('0x152')](_0x449ff0);var _0x54e858=_0x449ff0[mf_dgc_0x3a60('0x180')](_0x5545ec);var _0x2c9d35=_0x4db66f['angleBetween'](_0x5545ec);return new _0x55ad41(_0x2df1a2,_0x42b139,_0x8f3150,_0x54e858,_0x2c9d35,![]);}},{'key':mf_dgc_0x3a60('0x16e'),'value':function fromCenter(_0x1bd70f){var _0x3201c6=_0x4d2758[mf_dgc_0x3a60('0x13e')]['fromCenterAndSize'](_0x1bd70f,_0x245f85[mf_dgc_0x3a60('0x14a')]);var _0x23d1ae=new _0x55ad41();_0x23d1ae['startPoint']=new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x3201c6['x'],_0x3201c6['y']+_0x3201c6[mf_dgc_0x3a60('0xb0')]);_0x23d1ae['controlPoint']=new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x3201c6['x']+_0x3201c6[mf_dgc_0x3a60('0xaf')]/0x2,_0x3201c6['y']+_0x3201c6[mf_dgc_0x3a60('0xb0')]);_0x23d1ae[mf_dgc_0x3a60('0x14d')]=new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x3201c6['x']+_0x3201c6['width'],_0x3201c6['y']+_0x3201c6['height']);return _0x23d1ae;}},{'key':mf_dgc_0x3a60('0x170'),'value':function _default(){var _0xf58cd6=new _0x4d2758[(mf_dgc_0x3a60('0x13e'))](0x0,0x0,0x64,0x64);var _0x21bb7c=new _0x55ad41();_0x21bb7c['startPoint']=new _0x4d2758['Point'](_0xf58cd6['x'],_0xf58cd6['y']+_0xf58cd6[mf_dgc_0x3a60('0xb0')]/0x2);_0x21bb7c[mf_dgc_0x3a60('0x17c')]=new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0xf58cd6['x']+_0xf58cd6['width']/0x2,_0xf58cd6['y']+_0xf58cd6[mf_dgc_0x3a60('0xb0')]);_0x21bb7c[mf_dgc_0x3a60('0x14d')]=new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0xf58cd6['x']+_0xf58cd6[mf_dgc_0x3a60('0xaf')],_0xf58cd6['y']+_0xf58cd6[mf_dgc_0x3a60('0xb0')]/0x2);return _0x21bb7c;}}]);return _0x55ad41;}(_0x245f85);var _0x5925f2=function(_0x2c8bd6){_0x5126de(_0x5925f2,_0x2c8bd6);var _0x178b89=_0x3c0983(_0x5925f2);function _0x5925f2(_0x513aee,_0x1c0476,_0x2a64b8,_0x259c02,_0x13b98a){var _0x3007ec;_0x324f65(this,_0x5925f2);_0x3007ec=_0x178b89[mf_dgc_0x3a60('0x20')](this);_0x3007ec[mf_dgc_0x3a60('0x184')]=new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x513aee,_0x1c0476);_0x3007ec[mf_dgc_0x3a60('0x185')]=new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x2a64b8,_0x259c02);_0x3007ec[mf_dgc_0x3a60('0x186')]=_0x13b98a;return _0x3007ec;}_0x6e9ccc(_0x5925f2,[{'key':mf_dgc_0x3a60('0x14e'),'value':function clone(){return new _0x5925f2(this['topLeft'][mf_dgc_0x3a60('0x14e')](),this['bottomRight'][mf_dgc_0x3a60('0x14e')]());}},{'key':mf_dgc_0x3a60('0x14b'),'get':function get(){return this[mf_dgc_0x3a60('0x184')];}},{'key':mf_dgc_0x3a60('0x14d'),'get':function get(){return this['bottomRight'];}},{'key':mf_dgc_0x3a60('0x14f'),'get':function get(){return _0x4d2758[mf_dgc_0x3a60('0x13e')]['fromPoints'](this[mf_dgc_0x3a60('0x184')],this[mf_dgc_0x3a60('0x185')])['center']();}},{'key':mf_dgc_0x3a60('0x152'),'value':function distance(_0xf11dca){var _0x5cc11=_0x4d2758[mf_dgc_0x3a60('0x150')][mf_dgc_0x3a60('0x153')](_0xf11dca,this[mf_dgc_0x3a60('0x184')],new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](this[mf_dgc_0x3a60('0x185')]['x'],this[mf_dgc_0x3a60('0x184')]['y']));_0x5cc11=Math[mf_dgc_0x3a60('0xbf')](_0x5cc11,_0x4d2758[mf_dgc_0x3a60('0x150')][mf_dgc_0x3a60('0x153')](_0xf11dca,new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](this[mf_dgc_0x3a60('0x185')]['x'],this[mf_dgc_0x3a60('0x184')]['y']),this[mf_dgc_0x3a60('0x185')]));_0x5cc11=Math[mf_dgc_0x3a60('0xbf')](_0x5cc11,_0x4d2758['DrawingUtils']['distToLine'](_0xf11dca,this[mf_dgc_0x3a60('0x185')],new _0x4d2758['Point'](this[mf_dgc_0x3a60('0x184')]['x'],this[mf_dgc_0x3a60('0x185')]['y'])));_0x5cc11=Math['min'](_0x5cc11,_0x4d2758[mf_dgc_0x3a60('0x150')][mf_dgc_0x3a60('0x153')](_0xf11dca,new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](this[mf_dgc_0x3a60('0x184')]['x'],this[mf_dgc_0x3a60('0x185')]['y']),this[mf_dgc_0x3a60('0x184')]));return _0x5cc11;}},{'key':mf_dgc_0x3a60('0x140'),'value':function offset(_0x5ce1d5){this[mf_dgc_0x3a60('0x184')][mf_dgc_0x3a60('0x154')](_0x5ce1d5);this[mf_dgc_0x3a60('0x185')][mf_dgc_0x3a60('0x154')](_0x5ce1d5);}},{'key':mf_dgc_0x3a60('0x155'),'value':function orientate(_0x5605f3,_0x36eb58){this[mf_dgc_0x3a60('0x184')]=_0x5605f3[mf_dgc_0x3a60('0x14e')]();this[mf_dgc_0x3a60('0x185')]=_0x36eb58[mf_dgc_0x3a60('0x14e')]();}},{'key':mf_dgc_0x3a60('0xbe'),'value':function scale(_0x57e6a8,_0x1d40ab){var _0x2bb9bc=new _0x4d2758[(mf_dgc_0x3a60('0x156'))]();_0x2bb9bc[mf_dgc_0x3a60('0x157')](_0x1d40ab['x'],_0x1d40ab['y']);_0x2bb9bc['scale'](_0x57e6a8,_0x57e6a8);_0x2bb9bc[mf_dgc_0x3a60('0x157')](-_0x1d40ab['x'],-_0x1d40ab['y']);_0x2bb9bc[mf_dgc_0x3a60('0x158')](this[mf_dgc_0x3a60('0x184')]);_0x2bb9bc['transformPoint'](this[mf_dgc_0x3a60('0x185')]);}},{'key':mf_dgc_0x3a60('0x66'),'value':function draw(_0x9b3d82,_0xc35627){_0x9b3d82[mf_dgc_0x3a60('0x141')]();if(!_0xc35627)_0xc35627={'color':mf_dgc_0x3a60('0x176'),'width':0x1,'dashStyle':0x0};_0x9b3d82['strokeStyle']=this[mf_dgc_0x3a60('0x146')]||_0xc35627[mf_dgc_0x3a60('0x160')];_0x9b3d82['lineWidth']=(this[mf_dgc_0x3a60('0x147')]!=undefined?this[mf_dgc_0x3a60('0x147')]:_0xc35627['width'])*_0x9b3d82[mf_dgc_0x3a60('0x177')];_0x4d2758['DashStyle'][mf_dgc_0x3a60('0xe')](_0x9b3d82,this['strokeDashStyle']!=undefined?this['strokeDashStyle']:_0xc35627[mf_dgc_0x3a60('0x163')]);_0x9b3d82[mf_dgc_0x3a60('0x164')]();_0x9b3d82[mf_dgc_0x3a60('0x15d')](this[mf_dgc_0x3a60('0x184')]['x'],this[mf_dgc_0x3a60('0x184')]['y']+this[mf_dgc_0x3a60('0x186')]);_0x9b3d82[mf_dgc_0x3a60('0x15e')](this['topLeft']['x'],this['bottomRight']['y']-this[mf_dgc_0x3a60('0x186')]);_0x9b3d82[mf_dgc_0x3a60('0x187')](this[mf_dgc_0x3a60('0x184')]['x'],this['bottomRight']['y'],this['topLeft']['x']+this[mf_dgc_0x3a60('0x186')],this[mf_dgc_0x3a60('0x185')]['y']);_0x9b3d82[mf_dgc_0x3a60('0x15e')](this[mf_dgc_0x3a60('0x185')]['x']-this[mf_dgc_0x3a60('0x186')],this[mf_dgc_0x3a60('0x185')]['y']);_0x9b3d82[mf_dgc_0x3a60('0x187')](this[mf_dgc_0x3a60('0x185')]['x'],this[mf_dgc_0x3a60('0x185')]['y'],this[mf_dgc_0x3a60('0x185')]['x'],this[mf_dgc_0x3a60('0x185')]['y']-this['cornerRadius']);_0x9b3d82[mf_dgc_0x3a60('0x15e')](this[mf_dgc_0x3a60('0x185')]['x'],this[mf_dgc_0x3a60('0x184')]['y']+this[mf_dgc_0x3a60('0x186')]);_0x9b3d82[mf_dgc_0x3a60('0x187')](this['bottomRight']['x'],this['topLeft']['y'],this[mf_dgc_0x3a60('0x185')]['x']-this[mf_dgc_0x3a60('0x186')],this[mf_dgc_0x3a60('0x184')]['y']);_0x9b3d82[mf_dgc_0x3a60('0x15e')](this['topLeft']['x']+this[mf_dgc_0x3a60('0x186')],this['topLeft']['y']);_0x9b3d82['quadraticCurveTo'](this[mf_dgc_0x3a60('0x184')]['x'],this['topLeft']['y'],this[mf_dgc_0x3a60('0x184')]['x'],this[mf_dgc_0x3a60('0x184')]['y']+this[mf_dgc_0x3a60('0x186')]);_0x9b3d82['stroke']();_0x9b3d82[mf_dgc_0x3a60('0x165')]();}},{'key':mf_dgc_0x3a60('0x166'),'value':function drawControlPoints(_0x384a5e,_0x16b3ed,_0x595627){this['drawControlPoint'](_0x384a5e,_0x16b3ed,this[mf_dgc_0x3a60('0x184')],_0x595627);this[mf_dgc_0x3a60('0x13d')](_0x384a5e,_0x16b3ed,this[mf_dgc_0x3a60('0x185')],_0x595627);}},{'key':mf_dgc_0x3a60('0x167'),'value':function hitTestHandle(_0x5bc18e,_0xa7c49b){var _0x5d43d3=_0x5bc18e[mf_dgc_0x3a60('0x152')](this['topLeft']);if(_0x5d43d3<_0xa7c49b)return 0x0;var _0x5c232e=_0x5bc18e[mf_dgc_0x3a60('0x152')](this[mf_dgc_0x3a60('0x185')]);if(_0x5c232e<_0xa7c49b)return 0x1;return-0x1;}},{'key':'updateFromHandle','value':function updateFromHandle(_0x542a58,_0x567e04){if(_0x542a58==0x0)this[mf_dgc_0x3a60('0x184')]=_0x567e04;if(_0x542a58==0x1)this[mf_dgc_0x3a60('0x185')]=_0x567e04;}},{'key':mf_dgc_0x3a60('0x145'),'value':function saveState(){var _0x2347da=_0x5b4727(_0x10135f(_0x5925f2[mf_dgc_0x3a60('0x17')]),'saveState',this)['call'](this);_0x2347da[mf_dgc_0x3a60('0x184')]=this['topLeft'][mf_dgc_0x3a60('0x14e')]();_0x2347da['bottomRight']=this[mf_dgc_0x3a60('0x185')][mf_dgc_0x3a60('0x14e')]();_0x2347da['cornerRadius']=this[mf_dgc_0x3a60('0x186')];return _0x2347da;}},{'key':mf_dgc_0x3a60('0x16d'),'value':function loadState(_0x49cf11){_0x5b4727(_0x10135f(_0x5925f2[mf_dgc_0x3a60('0x17')]),mf_dgc_0x3a60('0x16d'),this)[mf_dgc_0x3a60('0x20')](this,_0x49cf11);this[mf_dgc_0x3a60('0x184')]=_0x49cf11[mf_dgc_0x3a60('0x184')];this[mf_dgc_0x3a60('0x185')]=_0x49cf11['bottomRight'];this[mf_dgc_0x3a60('0x186')]=_0x49cf11['cornerRadius'];}},{'key':mf_dgc_0x3a60('0x159'),'value':function toShape(){var _0x1d115c={'outline':this[mf_dgc_0x3a60('0x169')](!![]),'id':mf_dgc_0x3a60('0x188')};return new _0x4b0f07['Shape'](_0x1d115c);}},{'key':mf_dgc_0x3a60('0x169'),'value':function exportElement(_0x298f95){var _0x102561='';if(_0x298f95)_0x102561='M'['concat'](this[mf_dgc_0x3a60('0x184')]['x'],',')[mf_dgc_0x3a60('0x16a')](this['topLeft']['y'],'\x20');_0x102561+='U'[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x184')]['x'],',')['concat'](this['topLeft']['y'],',')[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x185')]['x']-this['topLeft']['x'],',')[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x185')]['y']-this[mf_dgc_0x3a60('0x184')]['y'],',')['concat'](this[mf_dgc_0x3a60('0x186')],'\x20');return _0x102561;}},{'key':mf_dgc_0x3a60('0x179'),'value':function exportShapeElement(){var _0x1ee624=[];_0x1ee624[mf_dgc_0x3a60('0x16c')](new _0x4b0f07[(mf_dgc_0x3a60('0x16b'))]('moveTo',[this[mf_dgc_0x3a60('0x184')]['x'],this[mf_dgc_0x3a60('0x184')]['y']]));_0x1ee624[mf_dgc_0x3a60('0x16c')](new _0x4b0f07[(mf_dgc_0x3a60('0x16b'))](mf_dgc_0x3a60('0x189'),[this[mf_dgc_0x3a60('0x184')]['x'],this[mf_dgc_0x3a60('0x184')]['y'],this['bottomRight']['x']-this[mf_dgc_0x3a60('0x184')]['x'],this[mf_dgc_0x3a60('0x185')]['y']-this[mf_dgc_0x3a60('0x184')]['y'],this[mf_dgc_0x3a60('0x186')]],this[mf_dgc_0x3a60('0x146')],this[mf_dgc_0x3a60('0x147')],this[mf_dgc_0x3a60('0x148')]));return _0x1ee624;}}],[{'key':mf_dgc_0x3a60('0x172'),'value':function fromPoints(_0x303942,_0x29e110){return new _0x5925f2(_0x303942['x'],_0x303942['y'],_0x29e110['x'],_0x29e110['y'],0x5);}},{'key':mf_dgc_0x3a60('0x16e'),'value':function fromCenter(_0x2dcf3c){var _0x4cf642=_0x4d2758[mf_dgc_0x3a60('0x13e')][mf_dgc_0x3a60('0x16f')](_0x2dcf3c,_0x245f85[mf_dgc_0x3a60('0x14a')]);return _0x5925f2[mf_dgc_0x3a60('0x172')](_0x4cf642[mf_dgc_0x3a60('0x184')](),_0x4cf642[mf_dgc_0x3a60('0x185')]());}},{'key':mf_dgc_0x3a60('0x18a'),'value':function fromBounds(_0xb1bf1b){return _0x5925f2[mf_dgc_0x3a60('0x172')](_0xb1bf1b[mf_dgc_0x3a60('0x184')](),_0xb1bf1b[mf_dgc_0x3a60('0x185')]());}},{'key':'default','value':function _default(){var _0x2c3237=new _0x4d2758['Rect'](0x0,0x0,0x64,0x64);return _0x5925f2['fromPoints'](_0x2c3237[mf_dgc_0x3a60('0x184')](),_0x2c3237['bottomRight']());}}]);return _0x5925f2;}(_0x245f85);var _0x3d8984=function(){function _0x3d8984(_0x202e99,_0x54a8bd){_0x324f65(this,_0x3d8984);this['type']=_0x202e99;this[mf_dgc_0x3a60('0xbd')]=_0x54a8bd;}_0x6e9ccc(_0x3d8984,[{'key':mf_dgc_0x3a60('0x14e'),'value':function clone(){return new _0x3d8984(this[mf_dgc_0x3a60('0x18b')],this['bounds'][mf_dgc_0x3a60('0x14e')]());}},{'key':'getElements','value':function getElements(_0x3a88e1){if(_0x3a88e1==undefined)_0x3a88e1=this[mf_dgc_0x3a60('0xbd')];if(this[mf_dgc_0x3a60('0x18b')]==mf_dgc_0x3a60('0x18c')){var _0x6f4956=_0x3a88e1['x'];var _0x17df21=_0x3a88e1['y'];var _0x357eee=_0x3a88e1[mf_dgc_0x3a60('0x18d')]();var _0x8ca3e9=_0x3a88e1[mf_dgc_0x3a60('0x18e')]();var _0x56a01b=[];_0x56a01b[mf_dgc_0x3a60('0x16c')](new _0x2f4c7b(new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x6f4956,_0x17df21),new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x357eee,_0x17df21)));_0x56a01b[mf_dgc_0x3a60('0x16c')](new _0x2f4c7b(new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x357eee,_0x17df21),new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x357eee,_0x8ca3e9)));_0x56a01b[mf_dgc_0x3a60('0x16c')](new _0x2f4c7b(new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x357eee,_0x8ca3e9),new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x6f4956,_0x8ca3e9)));_0x56a01b[mf_dgc_0x3a60('0x16c')](new _0x2f4c7b(new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x6f4956,_0x8ca3e9),new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x6f4956,_0x17df21)));return _0x56a01b;}if(this[mf_dgc_0x3a60('0x18b')]==mf_dgc_0x3a60('0x18f')){var _0x6f4956=_0x3a88e1['x'];var _0x17df21=_0x3a88e1['y'];var _0x357eee=_0x3a88e1[mf_dgc_0x3a60('0x18d')]();var _0x8ca3e9=_0x3a88e1[mf_dgc_0x3a60('0x18e')]();var _0xcbca43=(_0x6f4956+_0x357eee)/0x2;var _0x45e116=(_0x17df21+_0x8ca3e9)/0x2;var _0x56a01b=[];_0x56a01b[mf_dgc_0x3a60('0x16c')](new _0x2f4c7b(new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0xcbca43,_0x17df21),new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x357eee,_0x45e116)));_0x56a01b[mf_dgc_0x3a60('0x16c')](new _0x2f4c7b(new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x357eee,_0x45e116),new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0xcbca43,_0x8ca3e9)));_0x56a01b['push'](new _0x2f4c7b(new _0x4d2758['Point'](_0xcbca43,_0x8ca3e9),new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x6f4956,_0x45e116)));_0x56a01b[mf_dgc_0x3a60('0x16c')](new _0x2f4c7b(new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x6f4956,_0x45e116),new _0x4d2758['Point'](_0xcbca43,_0x17df21)));return _0x56a01b;}if(this['type']==mf_dgc_0x3a60('0x190')){var _0x56a01b=[];_0x56a01b[mf_dgc_0x3a60('0x16c')](new _0x55ad41(_0x3a88e1[mf_dgc_0x3a60('0x14f')]()['x'],_0x3a88e1[mf_dgc_0x3a60('0x14f')]()['y'],_0x3a88e1[mf_dgc_0x3a60('0xaf')]/0x2,0x0,6.283,![]));return _0x56a01b;}}}],[{'key':mf_dgc_0x3a60('0x16e'),'value':function fromCenter(_0x5c4599,_0x39e6f8){var _0x227ac2=_0x4d2758[mf_dgc_0x3a60('0x13e')][mf_dgc_0x3a60('0x16f')](_0x5c4599,_0x245f85[mf_dgc_0x3a60('0x14a')]);return new _0x3d8984(_0x39e6f8,_0x227ac2);}},{'key':mf_dgc_0x3a60('0x18a'),'value':function fromBounds(_0x47e9cd,_0x7bd250){return new _0x3d8984(_0x7bd250,_0x47e9cd);}}]);return _0x3d8984;}();var _0x16c67d=function(){function _0x16c67d(_0x31a92f,_0x210a5c,_0x447f81,_0x2f6091,_0x4898d1,_0x18f8b4,_0x449fe1){_0x324f65(this,_0x16c67d);this[mf_dgc_0x3a60('0x18b')]=_0x31a92f;if(_0x31a92f=='ChangeCommand'){this[mf_dgc_0x3a60('0x191')]=new Map();this[mf_dgc_0x3a60('0x192')]=new Map();}this[mf_dgc_0x3a60('0x193')]=_0x210a5c;this['hitElement']=_0x447f81;this[mf_dgc_0x3a60('0x63')]=_0x2f6091;this[mf_dgc_0x3a60('0x194')]=_0x4898d1;this['outline']=_0x18f8b4;this['filledDecoration']=_0x449fe1;}_0x6e9ccc(_0x16c67d,[{'key':'registerElement','value':function registerElement(_0x8097fb){this[mf_dgc_0x3a60('0x191')][mf_dgc_0x3a60('0x195')](_0x8097fb,_0x8097fb[mf_dgc_0x3a60('0x145')]());}},{'key':mf_dgc_0x3a60('0x196'),'value':function execute(_0x2a2c08){var _0x5251ed=this;if(this[mf_dgc_0x3a60('0x18b')]==mf_dgc_0x3a60('0x197'))this[mf_dgc_0x3a60('0x191')][mf_dgc_0x3a60('0xe2')](function(_0x39b362,_0x1aab7d){return _0x5251ed[mf_dgc_0x3a60('0x192')][mf_dgc_0x3a60('0x195')](_0x1aab7d,_0x1aab7d[mf_dgc_0x3a60('0x145')]());});else if(this[mf_dgc_0x3a60('0x18b')]=='AddDecorationCommand'){this[mf_dgc_0x3a60('0x63')]=this['element'][mf_dgc_0x3a60('0x23')][mf_dgc_0x3a60('0x16e')](this[mf_dgc_0x3a60('0x193')],this[mf_dgc_0x3a60('0x63')][mf_dgc_0x3a60('0x18b')]);_0x2a2c08[mf_dgc_0x3a60('0x198')][mf_dgc_0x3a60('0x199')][mf_dgc_0x3a60('0x16c')](this[mf_dgc_0x3a60('0x63')]);}else if(this[mf_dgc_0x3a60('0x18b')]=='AddFilledDecorationCommand'){var _0x35e24e=new _0x4d2758[(mf_dgc_0x3a60('0x13e'))](this[mf_dgc_0x3a60('0x193')]['x'],this[mf_dgc_0x3a60('0x193')]['y'],0x19,0x19);if(this[mf_dgc_0x3a60('0x63')]!=null){var _0x429cfe=this[mf_dgc_0x3a60('0x63')][mf_dgc_0x3a60('0x19a')](_0x35e24e);this[mf_dgc_0x3a60('0x19b')]=new _0x363d4e(_0x429cfe);this[mf_dgc_0x3a60('0x19b')][mf_dgc_0x3a60('0xbd')]=_0x35e24e;_0x2a2c08['shapeBuilder'][mf_dgc_0x3a60('0x19c')][mf_dgc_0x3a60('0x16c')](this['newDecoration']);}}else if(this[mf_dgc_0x3a60('0x18b')]==mf_dgc_0x3a60('0x19d')){this[mf_dgc_0x3a60('0x63')][mf_dgc_0x3a60('0x19e')](this[mf_dgc_0x3a60('0x193')]);_0x2a2c08[mf_dgc_0x3a60('0x198')][mf_dgc_0x3a60('0x19f')][mf_dgc_0x3a60('0x16c')](this[mf_dgc_0x3a60('0x63')]);}else if(this[mf_dgc_0x3a60('0x18b')]=='ReplaceOutlineCommand'){if(this['filledDecoration']!=null){var _0x35e24e=this['filledDecoration']['bounds'];this['oldOutline']=_0x2a2c08[mf_dgc_0x3a60('0x1a0')](this['filledDecoration']);if(this[mf_dgc_0x3a60('0x63')]instanceof _0x3d8984){var _0x3e78ab;var _0x429cfe=this[mf_dgc_0x3a60('0x63')][mf_dgc_0x3a60('0x19a')](_0x35e24e);(_0x3e78ab=this[mf_dgc_0x3a60('0x1a1')][mf_dgc_0x3a60('0x1a2')])['push'][mf_dgc_0x3a60('0xe')](_0x3e78ab,_0x55c8ba(_0x429cfe));this['newOutline']=_0x429cfe;}else{var _0x5ee8c3=_0x5925f2[mf_dgc_0x3a60('0x18a')](_0x35e24e);this[mf_dgc_0x3a60('0x1a1')][mf_dgc_0x3a60('0x1a2')][mf_dgc_0x3a60('0x16c')](_0x5ee8c3);this[mf_dgc_0x3a60('0x1a3')]=[_0x5ee8c3];}}else{this[mf_dgc_0x3a60('0x1a4')]=_0x2a2c08['clearOutline']();if(this['element']instanceof _0x3d8984){var _0x486fdc;var _0x429cfe=this['element'][mf_dgc_0x3a60('0x19a')](new _0x4d2758[(mf_dgc_0x3a60('0x13e'))](0x0,0x0,0x64,0x64));(_0x486fdc=_0x2a2c08[mf_dgc_0x3a60('0x198')][mf_dgc_0x3a60('0x1a2')])[mf_dgc_0x3a60('0x16c')][mf_dgc_0x3a60('0xe')](_0x486fdc,_0x55c8ba(_0x429cfe));this[mf_dgc_0x3a60('0x1a3')]=_0x429cfe;}else{var _0x5ee8c3=_0x5925f2[mf_dgc_0x3a60('0x18a')](new _0x4d2758[(mf_dgc_0x3a60('0x13e'))](0x0,0x0,0x64,0x64));_0x2a2c08[mf_dgc_0x3a60('0x198')][mf_dgc_0x3a60('0x1a2')][mf_dgc_0x3a60('0x16c')](_0x5ee8c3);this['newOutline']=[_0x5ee8c3];}}}else if(this[mf_dgc_0x3a60('0x18b')]=='ReplaceElementCommand'){var _0x199df0=this['outline'][mf_dgc_0x3a60('0x12')];var _0x340354=(this[mf_dgc_0x3a60('0x194')]+0x1)%_0x199df0;var _0x33775f=this[mf_dgc_0x3a60('0x194')]>0x0?this['elementIndex']-0x1:_0x199df0-0x1;var _0x452467=this[mf_dgc_0x3a60('0x1a2')][_0x340354];var _0x54fd81=this[mf_dgc_0x3a60('0x1a2')][_0x33775f];this[mf_dgc_0x3a60('0x63')][mf_dgc_0x3a60('0x155')](_0x54fd81[mf_dgc_0x3a60('0x14d')],_0x452467[mf_dgc_0x3a60('0x14b')]);this[mf_dgc_0x3a60('0x1a2')][mf_dgc_0x3a60('0x107')](this['elementIndex'],0x1,this[mf_dgc_0x3a60('0x63')]);}else if(this[mf_dgc_0x3a60('0x18b')]==mf_dgc_0x3a60('0x1a5')){this[mf_dgc_0x3a60('0x1a2')]['splice'](this['elementIndex'],0x0,this[mf_dgc_0x3a60('0x63')]);var _0x199df0=this[mf_dgc_0x3a60('0x1a2')][mf_dgc_0x3a60('0x12')];var _0x340354=(this[mf_dgc_0x3a60('0x194')]+0x1)%_0x199df0;var _0x33775f=this[mf_dgc_0x3a60('0x194')]>0x0?this['elementIndex']-0x1:_0x199df0-0x1;var _0x452467=this[mf_dgc_0x3a60('0x1a2')][_0x340354];this['nextState']=_0x452467[mf_dgc_0x3a60('0x145')]();_0x452467[mf_dgc_0x3a60('0xbe')](0x2/0x3,_0x452467[mf_dgc_0x3a60('0x14d')]);var _0x54fd81=this[mf_dgc_0x3a60('0x1a2')][_0x33775f];this[mf_dgc_0x3a60('0x1a6')]=_0x54fd81[mf_dgc_0x3a60('0x145')]();_0x54fd81['scale'](0x2/0x3,_0x54fd81['startPoint']);this[mf_dgc_0x3a60('0x63')][mf_dgc_0x3a60('0x155')](_0x54fd81['endPoint'],_0x452467[mf_dgc_0x3a60('0x14b')]);}else if(this[mf_dgc_0x3a60('0x18b')]==mf_dgc_0x3a60('0x1a7')){if(this[mf_dgc_0x3a60('0x63')]instanceof _0x363d4e){this['elementIndex']=_0x2a2c08[mf_dgc_0x3a60('0x198')][mf_dgc_0x3a60('0x19c')][mf_dgc_0x3a60('0x1a8')](this['element']);this[mf_dgc_0x3a60('0x1a9')](_0x2a2c08['shapeBuilder'][mf_dgc_0x3a60('0x19c')],this['element']);this['target']=_0x2a2c08['shapeBuilder']['filledDecorations'];}else if(_0x2a2c08[mf_dgc_0x3a60('0x198')][mf_dgc_0x3a60('0x1a2')][mf_dgc_0x3a60('0x1a8')](this['element'])>-0x1){var _0x353261=_0x2a2c08[mf_dgc_0x3a60('0x1aa')](_0x2a2c08[mf_dgc_0x3a60('0x198')][mf_dgc_0x3a60('0x1a2')],this[mf_dgc_0x3a60('0x63')]);this[mf_dgc_0x3a60('0x194')]=_0x353261[mf_dgc_0x3a60('0x123')];this[mf_dgc_0x3a60('0x1a6')]=_0x353261['prevState'];this[mf_dgc_0x3a60('0x1ab')]=_0x353261[mf_dgc_0x3a60('0x1ab')];this[mf_dgc_0x3a60('0xff')]=_0x2a2c08['shapeBuilder']['outline'];}else if(_0x2a2c08[mf_dgc_0x3a60('0x198')][mf_dgc_0x3a60('0x199')][mf_dgc_0x3a60('0x1a8')](this['element'])>-0x1){this['elementIndex']=_0x2a2c08['shapeBuilder']['decorations']['indexOf'](this[mf_dgc_0x3a60('0x63')]);this['removeElements'](_0x2a2c08[mf_dgc_0x3a60('0x198')][mf_dgc_0x3a60('0x199')],this[mf_dgc_0x3a60('0x63')]);this[mf_dgc_0x3a60('0xff')]=_0x2a2c08['shapeBuilder']['decorations'];}else if(_0x2a2c08['shapeBuilder'][mf_dgc_0x3a60('0x1ac')][mf_dgc_0x3a60('0x1a2')][mf_dgc_0x3a60('0x1a8')](this[mf_dgc_0x3a60('0x63')])>-0x1){var _0x353261=_0x2a2c08[mf_dgc_0x3a60('0x1aa')](_0x2a2c08[mf_dgc_0x3a60('0x198')][mf_dgc_0x3a60('0x1ac')][mf_dgc_0x3a60('0x1a2')],this[mf_dgc_0x3a60('0x63')]);this[mf_dgc_0x3a60('0x194')]=_0x353261['index'];this['prevState']=_0x353261[mf_dgc_0x3a60('0x1a6')];this[mf_dgc_0x3a60('0x1ab')]=_0x353261[mf_dgc_0x3a60('0x1ab')];this['target']=_0x2a2c08[mf_dgc_0x3a60('0x198')][mf_dgc_0x3a60('0x1ac')][mf_dgc_0x3a60('0x1a2')];}else _0x2a2c08[mf_dgc_0x3a60('0x198')][mf_dgc_0x3a60('0x19c')][mf_dgc_0x3a60('0xe2')](function(_0x55b3ac){if(_0x55b3ac[mf_dgc_0x3a60('0x1a2')][mf_dgc_0x3a60('0x1a8')](_0x5251ed['element'])>-0x1){var _0x353261=_0x2a2c08[mf_dgc_0x3a60('0x1aa')](_0x55b3ac['outline'],_0x5251ed[mf_dgc_0x3a60('0x63')]);_0x5251ed[mf_dgc_0x3a60('0x194')]=_0x353261[mf_dgc_0x3a60('0x123')];_0x5251ed[mf_dgc_0x3a60('0x1a6')]=_0x353261[mf_dgc_0x3a60('0x1a6')];_0x5251ed['nextState']=_0x353261[mf_dgc_0x3a60('0x1ab')];_0x5251ed[mf_dgc_0x3a60('0xff')]=_0x55b3ac['outline'];}});}}},{'key':mf_dgc_0x3a60('0x1ad'),'value':function drawHighlight(_0x201f7b){_0x201f7b[mf_dgc_0x3a60('0x141')]();_0x201f7b[mf_dgc_0x3a60('0x147')]=0x3;if(this[mf_dgc_0x3a60('0x18b')]=='ReplaceElementCommand'){this[mf_dgc_0x3a60('0x1ae')][mf_dgc_0x3a60('0x66')](_0x201f7b,{'color':'#ff0000'});}else if(this[mf_dgc_0x3a60('0x18b')]=='InsertElementCommand'){_0x201f7b[mf_dgc_0x3a60('0x164')]();_0x201f7b[mf_dgc_0x3a60('0x1af')](this['dropLocation']['x'],this['dropLocation']['y'],0x5,0x5,Math['PI']/0x4,0x0,0x2*Math['PI']);_0x201f7b['closePath']();_0x201f7b[mf_dgc_0x3a60('0x15f')]=mf_dgc_0x3a60('0x1b0');_0x201f7b['stroke']();}else if(this[mf_dgc_0x3a60('0x18b')]==mf_dgc_0x3a60('0x1b1')){var _0x1a53fe;if(this[mf_dgc_0x3a60('0x1ae')]instanceof _0x3d8984)_0x1a53fe=this[mf_dgc_0x3a60('0x1ae')][mf_dgc_0x3a60('0x19a')]();else _0x1a53fe=this[mf_dgc_0x3a60('0x1ae')][mf_dgc_0x3a60('0x1a2')];_0x1a53fe[mf_dgc_0x3a60('0xe2')](function(_0x1c607b){_0x1c607b[mf_dgc_0x3a60('0x66')](_0x201f7b,{'color':mf_dgc_0x3a60('0x1b2')});});}_0x201f7b['restore']();}},{'key':'undo','value':function undo(_0x4b70e5){if(this[mf_dgc_0x3a60('0x18b')]=='ChangeCommand')this[mf_dgc_0x3a60('0x191')][mf_dgc_0x3a60('0xe2')](function(_0x1773ed,_0xec00c4){_0xec00c4[mf_dgc_0x3a60('0x16d')](_0x1773ed);});else if(this[mf_dgc_0x3a60('0x18b')]==mf_dgc_0x3a60('0x1b3')){this[mf_dgc_0x3a60('0x1a9')](_0x4b70e5[mf_dgc_0x3a60('0x198')][mf_dgc_0x3a60('0x199')],this[mf_dgc_0x3a60('0x63')]);}else if(this[mf_dgc_0x3a60('0x18b')]==mf_dgc_0x3a60('0x1b4')){this[mf_dgc_0x3a60('0x1a9')](_0x4b70e5[mf_dgc_0x3a60('0x198')]['filledDecorations'],this['newDecoration']);}else if(this[mf_dgc_0x3a60('0x18b')]==mf_dgc_0x3a60('0x19d')){this[mf_dgc_0x3a60('0x1a9')](_0x4b70e5['shapeBuilder'][mf_dgc_0x3a60('0x19f')],this[mf_dgc_0x3a60('0x63')]);}else if(this['type']==mf_dgc_0x3a60('0x1b1')){if(this['filledDecoration']!=null){var _0x16db0d;_0x4b70e5[mf_dgc_0x3a60('0x1a0')](this[mf_dgc_0x3a60('0x1a1')]);(_0x16db0d=this['filledDecoration'][mf_dgc_0x3a60('0x1a2')])[mf_dgc_0x3a60('0x16c')][mf_dgc_0x3a60('0xe')](_0x16db0d,_0x55c8ba(this['oldOutline']));}else{var _0x149943;_0x4b70e5[mf_dgc_0x3a60('0x1a0')]();(_0x149943=_0x4b70e5[mf_dgc_0x3a60('0x198')][mf_dgc_0x3a60('0x1a2')])[mf_dgc_0x3a60('0x16c')][mf_dgc_0x3a60('0xe')](_0x149943,_0x55c8ba(this[mf_dgc_0x3a60('0x1a4')]));}}else if(this['type']=='ReplaceElementCommand'){this[mf_dgc_0x3a60('0x1a2')][mf_dgc_0x3a60('0x107')](this[mf_dgc_0x3a60('0x194')],0x1,this[mf_dgc_0x3a60('0x1ae')]);}else if(this[mf_dgc_0x3a60('0x18b')]==mf_dgc_0x3a60('0x1a5')){var _0x4b4ae4=this[mf_dgc_0x3a60('0x1a2')][mf_dgc_0x3a60('0x12')];var _0x246681=this['elementIndex']%_0x4b4ae4;var _0xe53d0b=this['elementIndex']>0x0?this[mf_dgc_0x3a60('0x194')]-0x1:_0x4b4ae4-0x1;this[mf_dgc_0x3a60('0x1a2')]['splice'](this[mf_dgc_0x3a60('0x194')],0x1);var _0x5755fb=this[mf_dgc_0x3a60('0x1a2')][_0x246681];_0x5755fb[mf_dgc_0x3a60('0x16d')](this[mf_dgc_0x3a60('0x1ab')]);var _0x3b3f8c=this[mf_dgc_0x3a60('0x1a2')][_0xe53d0b];_0x3b3f8c[mf_dgc_0x3a60('0x16d')](this[mf_dgc_0x3a60('0x1a6')]);}else if(this[mf_dgc_0x3a60('0x18b')]=='RemoveElementCommand'){this[mf_dgc_0x3a60('0xff')][mf_dgc_0x3a60('0x107')](this[mf_dgc_0x3a60('0x194')],0x0,this[mf_dgc_0x3a60('0x63')]);if(this[mf_dgc_0x3a60('0x1a6')]){var _0x4b4ae4=this[mf_dgc_0x3a60('0xff')][mf_dgc_0x3a60('0x12')];var _0x246681=(this[mf_dgc_0x3a60('0x194')]+0x1)%_0x4b4ae4;var _0xe53d0b=this[mf_dgc_0x3a60('0x194')]>0x0?this[mf_dgc_0x3a60('0x194')]-0x1:_0x4b4ae4-0x1;var _0x5755fb=this['target'][_0x246681];_0x5755fb[mf_dgc_0x3a60('0x16d')](this['nextState']);var _0x3b3f8c=this[mf_dgc_0x3a60('0xff')][_0xe53d0b];_0x3b3f8c[mf_dgc_0x3a60('0x16d')](this['prevState']);}}_0x4b70e5[mf_dgc_0x3a60('0x1b5')]=null;_0x4b70e5[mf_dgc_0x3a60('0x1b6')]();}},{'key':'redo','value':function redo(_0x3710a9){if(this[mf_dgc_0x3a60('0x18b')]==mf_dgc_0x3a60('0x197'))this[mf_dgc_0x3a60('0x192')]['forEach'](function(_0x33b380,_0x3047c8){_0x3047c8[mf_dgc_0x3a60('0x16d')](_0x33b380);});else if(this[mf_dgc_0x3a60('0x18b')]==mf_dgc_0x3a60('0x1b3')){_0x3710a9['shapeBuilder'][mf_dgc_0x3a60('0x199')][mf_dgc_0x3a60('0x16c')](this['element']);}else if(this['type']=='AddFilledDecorationCommand'){_0x3710a9[mf_dgc_0x3a60('0x198')][mf_dgc_0x3a60('0x19c')][mf_dgc_0x3a60('0x16c')](this[mf_dgc_0x3a60('0x19b')]);}else if(this[mf_dgc_0x3a60('0x18b')]==mf_dgc_0x3a60('0x19d')){_0x3710a9[mf_dgc_0x3a60('0x198')][mf_dgc_0x3a60('0x19f')][mf_dgc_0x3a60('0x16c')](this[mf_dgc_0x3a60('0x63')]);}else if(this[mf_dgc_0x3a60('0x18b')]==mf_dgc_0x3a60('0x1b1')){if(this[mf_dgc_0x3a60('0x1a1')]!=null){var _0x77d8c2;_0x3710a9[mf_dgc_0x3a60('0x1a0')](this[mf_dgc_0x3a60('0x1a1')]);(_0x77d8c2=this['filledDecoration'][mf_dgc_0x3a60('0x1a2')])[mf_dgc_0x3a60('0x16c')][mf_dgc_0x3a60('0xe')](_0x77d8c2,_0x55c8ba(this[mf_dgc_0x3a60('0x1a3')]));}else{var _0x147873;_0x3710a9[mf_dgc_0x3a60('0x1a0')]();(_0x147873=_0x3710a9[mf_dgc_0x3a60('0x198')]['outline'])[mf_dgc_0x3a60('0x16c')]['apply'](_0x147873,_0x55c8ba(this[mf_dgc_0x3a60('0x1a3')]));}}else if(this[mf_dgc_0x3a60('0x18b')]==mf_dgc_0x3a60('0x1b7')){this['outline'][mf_dgc_0x3a60('0x107')](this[mf_dgc_0x3a60('0x194')],0x1,this[mf_dgc_0x3a60('0x63')]);}else if(this[mf_dgc_0x3a60('0x18b')]==mf_dgc_0x3a60('0x1a5')){this[mf_dgc_0x3a60('0x1a2')][mf_dgc_0x3a60('0x107')](this['elementIndex'],0x0,this[mf_dgc_0x3a60('0x63')]);var _0x41f834=this[mf_dgc_0x3a60('0x1a2')][mf_dgc_0x3a60('0x12')];var _0x7b3a88=(this[mf_dgc_0x3a60('0x194')]+0x1)%_0x41f834;var _0x4c1b27=this[mf_dgc_0x3a60('0x194')]>0x0?this[mf_dgc_0x3a60('0x194')]-0x1:_0x41f834-0x1;var _0x36d604=this['outline'][_0x7b3a88];_0x36d604['scale'](0x2/0x3,_0x36d604[mf_dgc_0x3a60('0x14d')]);var _0x46f79f=this[mf_dgc_0x3a60('0x1a2')][_0x4c1b27];_0x46f79f[mf_dgc_0x3a60('0xbe')](0x2/0x3,_0x46f79f[mf_dgc_0x3a60('0x14b')]);}else if(this['type']==mf_dgc_0x3a60('0x1a7')){this['execute'](_0x3710a9);}_0x3710a9[mf_dgc_0x3a60('0x1b5')]=null;_0x3710a9[mf_dgc_0x3a60('0x1b6')]();}},{'key':mf_dgc_0x3a60('0x1a9'),'value':function removeElements(_0x406014,_0x3ddf6d){if(_0x3ddf6d instanceof Array){var _0x3de812=_0x406014[mf_dgc_0x3a60('0x1a8')](_0x3ddf6d[0x0]);_0x406014[mf_dgc_0x3a60('0x107')](_0x3de812,_0x3ddf6d[mf_dgc_0x3a60('0x12')]);}else _0x406014['splice'](_0x406014['indexOf'](_0x3ddf6d),0x1);}}]);return _0x16c67d;}();var _0x363d4e=function(_0x1c2461){_0x5126de(_0x363d4e,_0x1c2461);var _0x18b4e0=_0x3c0983(_0x363d4e);function _0x363d4e(_0xcb228d){var _0x39d847;_0x324f65(this,_0x363d4e);_0x39d847=_0x18b4e0[mf_dgc_0x3a60('0x20')](this);_0x39d847[mf_dgc_0x3a60('0x1a2')]=_0xcb228d;_0x39d847[mf_dgc_0x3a60('0x1b8')]=mf_dgc_0x3a60('0x176');return _0x39d847;}_0x6e9ccc(_0x363d4e,[{'key':mf_dgc_0x3a60('0xbd'),'get':function get(){if(!this[mf_dgc_0x3a60('0x1b9')]){var _0x294f1b=new _0x4d2758[(mf_dgc_0x3a60('0x1ba'))](this[mf_dgc_0x3a60('0x169')]()[mf_dgc_0x3a60('0x1bb')]);this[mf_dgc_0x3a60('0x1b9')]=_0x294f1b[mf_dgc_0x3a60('0xae')]();}return this['_bounds'];},'set':function set(_0x598297){this[mf_dgc_0x3a60('0x1b9')]=_0x598297;}},{'key':mf_dgc_0x3a60('0x66'),'value':function draw(_0x4c9969){_0x4c9969[mf_dgc_0x3a60('0x141')]();_0x4c9969[mf_dgc_0x3a60('0x1bc')]=this['fillColor'];_0x4c9969[mf_dgc_0x3a60('0x164')]();var _0x6ffb57=!![];var _0x15b290=_0x60f384(this[mf_dgc_0x3a60('0x1a2')]),_0x3035a1;try{for(_0x15b290['s']();!(_0x3035a1=_0x15b290['n']())['done'];){var _0x4d0b56=_0x3035a1[mf_dgc_0x3a60('0xa')];_0x4d0b56['addToContext'](_0x4c9969,_0x6ffb57);_0x6ffb57=![];}}catch(_0x48be2b){_0x15b290['e'](_0x48be2b);}finally{_0x15b290['f']();}_0x4c9969[mf_dgc_0x3a60('0x1bd')]();var _0x36db83={'color':this['strokeColor'],'width':this[mf_dgc_0x3a60('0x147')],'dashStyle':this['strokeDashStyle']};_0x4c9969['beginPath']();var _0x4a0ba5=_0x60f384(this['outline']),_0x3864d5;try{for(_0x4a0ba5['s']();!(_0x3864d5=_0x4a0ba5['n']())[mf_dgc_0x3a60('0xb')];){var _0x4d0b56=_0x3864d5[mf_dgc_0x3a60('0xa')];_0x4d0b56[mf_dgc_0x3a60('0x66')](_0x4c9969,_0x36db83);}}catch(_0xeb0c4f){_0x4a0ba5['e'](_0xeb0c4f);}finally{_0x4a0ba5['f']();}_0x4c9969[mf_dgc_0x3a60('0x165')]();}},{'key':'drawControlPoints','value':function drawControlPoints(_0xf4d3d5,_0x4910b1,_0x41e468){if(this['outline'][mf_dgc_0x3a60('0x12')]){this['drawControlPoint'](_0xf4d3d5,_0x4910b1,this[mf_dgc_0x3a60('0x14f')],_0x41e468);_0xf4d3d5[mf_dgc_0x3a60('0x143')](this[mf_dgc_0x3a60('0xbd')]['x'],this[mf_dgc_0x3a60('0xbd')]['y'],this[mf_dgc_0x3a60('0xbd')][mf_dgc_0x3a60('0xaf')],this[mf_dgc_0x3a60('0xbd')][mf_dgc_0x3a60('0xb0')],'#ccc');}}},{'key':'distance','value':function distance(_0x9ffee){var _0x49443d=this[mf_dgc_0x3a60('0x14f')];return _0x9ffee[mf_dgc_0x3a60('0x152')](_0x49443d);}},{'key':mf_dgc_0x3a60('0x167'),'value':function hitTestHandle(_0x222d02,_0x5c8eb9){var _0x56c498=this[mf_dgc_0x3a60('0x14f')];var _0x370a82=_0x222d02['distance'](_0x56c498);if(_0x370a82<_0x5c8eb9)return 0x0;if(_0x4d2758[mf_dgc_0x3a60('0x150')]['minDistToRect'](_0x222d02,this['bounds'])<_0x5c8eb9)return 0x1;return-0x1;}},{'key':mf_dgc_0x3a60('0x14f'),'get':function get(){var _0x4ded12=new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](0x0,0x0);this[mf_dgc_0x3a60('0x1a2')][mf_dgc_0x3a60('0xe2')](function(_0x1c2bb6){var _0x73b634=_0x1c2bb6['center'];_0x4ded12['x']+=_0x73b634['x'];_0x4ded12['y']+=_0x73b634['y'];});_0x4ded12['x']/=this[mf_dgc_0x3a60('0x1a2')]['length'];_0x4ded12['y']/=this[mf_dgc_0x3a60('0x1a2')][mf_dgc_0x3a60('0x12')];return _0x4ded12;}},{'key':'exportElement','value':function exportElement(){var _0x1d5642=[];var _0x43b0e4=!![];var _0x2ee29a=_0x60f384(this[mf_dgc_0x3a60('0x1a2')]),_0x23db16;try{for(_0x2ee29a['s']();!(_0x23db16=_0x2ee29a['n']())[mf_dgc_0x3a60('0xb')];){var _0x2b8134=_0x23db16['value'];_0x1d5642[mf_dgc_0x3a60('0x16c')](_0x2b8134[mf_dgc_0x3a60('0x169')](_0x43b0e4));_0x43b0e4=![];}}catch(_0x328e59){_0x2ee29a['e'](_0x328e59);}finally{_0x2ee29a['f']();}return{'path':_0x1d5642[mf_dgc_0x3a60('0x1be')]('')};}},{'key':mf_dgc_0x3a60('0x179'),'value':function exportShapeElement(){var _0x4f1d91=[];var _0x323239=_0x60f384(this[mf_dgc_0x3a60('0x1a2')]),_0x551f9d;try{for(_0x323239['s']();!(_0x551f9d=_0x323239['n']())[mf_dgc_0x3a60('0xb')];){var _0x40fbca=_0x551f9d['value'];_0x4f1d91=_0x4f1d91[mf_dgc_0x3a60('0x16a')](_0x40fbca['exportShapeElement']());}}catch(_0x540697){_0x323239['e'](_0x540697);}finally{_0x323239['f']();}return new _0x4b0f07[(mf_dgc_0x3a60('0x1bf'))](_0x4f1d91,this[mf_dgc_0x3a60('0x1b8')],this[mf_dgc_0x3a60('0x146')],this[mf_dgc_0x3a60('0x147')],this[mf_dgc_0x3a60('0x148')]);}},{'key':mf_dgc_0x3a60('0x19a'),'value':function getElements(_0x4c5f88){var _0x286996=[];var _0x31a005=new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x4c5f88[mf_dgc_0x3a60('0x14f')]()['x']-this[mf_dgc_0x3a60('0xbd')][mf_dgc_0x3a60('0x14f')]()['x'],_0x4c5f88[mf_dgc_0x3a60('0x14f')]()['y']-this['bounds'][mf_dgc_0x3a60('0x14f')]()['y']);this['outline'][mf_dgc_0x3a60('0xe2')](function(_0x1dd4ee){var _0x114aa7=_0x1dd4ee[mf_dgc_0x3a60('0x14e')]();_0x114aa7[mf_dgc_0x3a60('0x140')](_0x31a005);_0x286996[mf_dgc_0x3a60('0x16c')](_0x114aa7);});return _0x286996;}}]);return _0x363d4e;}(_0x245f85);var _0x2a8d40=function(_0x5e50e8){_0x5126de(_0x2a8d40,_0x5e50e8);var _0x195a74=_0x3c0983(_0x2a8d40);function _0x2a8d40(_0x514f5c,_0x283527,_0x3a7dd0,_0x23b55e,_0x2786a1,_0x304148){var _0xf3b449;_0x324f65(this,_0x2a8d40);_0xf3b449=_0x195a74[mf_dgc_0x3a60('0x20')](this);_0xf3b449[mf_dgc_0x3a60('0x14f')]=new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x514f5c,_0x283527);_0xf3b449['style']=_0x23b55e;_0xf3b449[mf_dgc_0x3a60('0x1c0')]=_0x2786a1;if(_0x304148)_0xf3b449['strokeColor']=_0x304148;_0xf3b449[mf_dgc_0x3a60('0x1c1')]=_0x2786a1*0xa;_0xf3b449[mf_dgc_0x3a60('0x1c2')]=_0x3a7dd0;return _0xf3b449;}_0x6e9ccc(_0x2a8d40,[{'key':mf_dgc_0x3a60('0x14e'),'value':function clone(){return new _0x2a8d40(this['center']['x'],this[mf_dgc_0x3a60('0x14f')]['y'],this[mf_dgc_0x3a60('0x1c2')],this[mf_dgc_0x3a60('0xb2')],this['size']);}},{'key':mf_dgc_0x3a60('0x152'),'value':function distance(_0x4f8cef){return this[mf_dgc_0x3a60('0x14f')]['distance'](_0x4f8cef);}},{'key':mf_dgc_0x3a60('0x140'),'value':function offset(_0xa925b8){this[mf_dgc_0x3a60('0x14f')][mf_dgc_0x3a60('0x154')](_0xa925b8);}},{'key':mf_dgc_0x3a60('0x19e'),'value':function setCenter(_0x2c87c3){this[mf_dgc_0x3a60('0x14f')]=_0x2c87c3;}},{'key':'toShape','value':function toShape(){var _0x6a52d2={'outline':this['exportElement'](!![]),'id':mf_dgc_0x3a60('0x1c3')};return new _0x4b0f07[(mf_dgc_0x3a60('0x15b'))](_0x6a52d2);}},{'key':mf_dgc_0x3a60('0x66'),'value':function draw(_0x31c953,_0x3a57d3){_0x31c953[mf_dgc_0x3a60('0x141')]();if(!_0x3a57d3)_0x3a57d3={'color':'#000000','width':0x1,'dashStyle':0x0};_0x31c953[mf_dgc_0x3a60('0x15f')]=this[mf_dgc_0x3a60('0x146')]||_0x3a57d3[mf_dgc_0x3a60('0x160')];_0x31c953[mf_dgc_0x3a60('0x161')]=(this[mf_dgc_0x3a60('0x147')]!=undefined?this[mf_dgc_0x3a60('0x147')]:_0x3a57d3[mf_dgc_0x3a60('0xaf')])*_0x31c953[mf_dgc_0x3a60('0x177')];_0x4d2758[mf_dgc_0x3a60('0x162')][mf_dgc_0x3a60('0xe')](_0x31c953,this[mf_dgc_0x3a60('0x148')]!=undefined?this['strokeDashStyle']:_0x3a57d3['dashStyle']);_0x31c953[mf_dgc_0x3a60('0x164')]();_0x31c953[mf_dgc_0x3a60('0x1af')](this[mf_dgc_0x3a60('0x14f')]['x'],this['center']['y'],0x5,0x5,Math['PI']/0x4,0x0,0x2*Math['PI']);if(this[mf_dgc_0x3a60('0x1c2')]==_0x33e40e['In']){_0x31c953['moveTo'](this[mf_dgc_0x3a60('0x14f')]['x']+0x5,this['center']['y']);_0x31c953[mf_dgc_0x3a60('0x15e')](this[mf_dgc_0x3a60('0x14f')]['x']+0xf,this['center']['y']);_0x31c953[mf_dgc_0x3a60('0x15d')](this[mf_dgc_0x3a60('0x14f')]['x']+0x5,this[mf_dgc_0x3a60('0x14f')]['y']);_0x31c953[mf_dgc_0x3a60('0x15e')](this[mf_dgc_0x3a60('0x14f')]['x']+0xa,this[mf_dgc_0x3a60('0x14f')]['y']-0x3);_0x31c953['moveTo'](this[mf_dgc_0x3a60('0x14f')]['x']+0x5,this['center']['y']);_0x31c953['lineTo'](this[mf_dgc_0x3a60('0x14f')]['x']+0xa,this[mf_dgc_0x3a60('0x14f')]['y']+0x3);}else if(this[mf_dgc_0x3a60('0x1c2')]==_0x33e40e['Out']){_0x31c953['moveTo'](this[mf_dgc_0x3a60('0x14f')]['x']+0x5,this[mf_dgc_0x3a60('0x14f')]['y']);_0x31c953[mf_dgc_0x3a60('0x15e')](this['center']['x']+0xf,this[mf_dgc_0x3a60('0x14f')]['y']);_0x31c953[mf_dgc_0x3a60('0x15e')](this[mf_dgc_0x3a60('0x14f')]['x']+0xa,this[mf_dgc_0x3a60('0x14f')]['y']-0x3);_0x31c953[mf_dgc_0x3a60('0x15d')](this[mf_dgc_0x3a60('0x14f')]['x']+0xf,this[mf_dgc_0x3a60('0x14f')]['y']);_0x31c953[mf_dgc_0x3a60('0x15e')](this[mf_dgc_0x3a60('0x14f')]['x']+0xa,this[mf_dgc_0x3a60('0x14f')]['y']+0x3);}else if(this[mf_dgc_0x3a60('0x1c2')]==_0x33e40e['BothWays']){_0x31c953['moveTo'](this[mf_dgc_0x3a60('0x14f')]['x']+0x5,this[mf_dgc_0x3a60('0x14f')]['y']-0x3);_0x31c953['lineTo'](this[mf_dgc_0x3a60('0x14f')]['x']+0xf,this['center']['y']-0x3);_0x31c953[mf_dgc_0x3a60('0x15d')](this[mf_dgc_0x3a60('0x14f')]['x']+0x5,this[mf_dgc_0x3a60('0x14f')]['y']-0x3);_0x31c953[mf_dgc_0x3a60('0x15e')](this[mf_dgc_0x3a60('0x14f')]['x']+0xa,this[mf_dgc_0x3a60('0x14f')]['y']-0x6);_0x31c953[mf_dgc_0x3a60('0x15d')](this['center']['x']+0x5,this['center']['y']-0x3);_0x31c953[mf_dgc_0x3a60('0x15e')](this[mf_dgc_0x3a60('0x14f')]['x']+0x9,this['center']['y']);_0x31c953[mf_dgc_0x3a60('0x15d')](this['center']['x']+0x5,this['center']['y']+0x3);_0x31c953[mf_dgc_0x3a60('0x15e')](this['center']['x']+0xf,this['center']['y']+0x3);_0x31c953['lineTo'](this[mf_dgc_0x3a60('0x14f')]['x']+0xa,this[mf_dgc_0x3a60('0x14f')]['y']);_0x31c953['moveTo'](this[mf_dgc_0x3a60('0x14f')]['x']+0xf,this[mf_dgc_0x3a60('0x14f')]['y']+0x3);_0x31c953[mf_dgc_0x3a60('0x15e')](this[mf_dgc_0x3a60('0x14f')]['x']+0xb,this['center']['y']+0x6);}_0x31c953[mf_dgc_0x3a60('0x1c4')]();_0x31c953[mf_dgc_0x3a60('0x178')]();_0x31c953[mf_dgc_0x3a60('0x165')]();}},{'key':mf_dgc_0x3a60('0x166'),'value':function drawControlPoints(_0x5aacec,_0x5e3294,_0x3852b4){this[mf_dgc_0x3a60('0x13d')](_0x5aacec,_0x5e3294,this['center'],_0x3852b4);}},{'key':mf_dgc_0x3a60('0x167'),'value':function hitTestHandle(_0x507c15,_0x48062f){var _0x1a79a3=_0x507c15['distance'](this['center']);if(_0x1a79a3<_0x48062f)return 0x0;return-0x1;}},{'key':mf_dgc_0x3a60('0x168'),'value':function updateFromHandle(_0x15c7a2,_0x578f11){if(_0x15c7a2==0x0)this['center']=_0x578f11;}},{'key':'exportElement','value':function exportElement(_0x4059e5){var _0x2a7a4d=this['anchorSize'];var _0x4759a6=_0x2a7a4d/0x4;var _0x130024='O'[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x14f')]['x'],',')[mf_dgc_0x3a60('0x16a')](this['center']['y'],',')[mf_dgc_0x3a60('0x16a')](_0x2a7a4d,',')[mf_dgc_0x3a60('0x16a')](_0x2a7a4d,'\x20');if(this[mf_dgc_0x3a60('0x1c2')]==_0x33e40e['In']){_0x130024+='M'[mf_dgc_0x3a60('0x16a')](this['center']['x']+_0x2a7a4d,',')[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x14f')]['y']);_0x130024+='L'[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x14f')]['x']+_0x2a7a4d*0x2,',')[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x14f')]['y']);_0x130024+='M'[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x14f')]['x']+_0x2a7a4d,',')[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x14f')]['y']);_0x130024+='L'[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x14f')]['x']+_0x2a7a4d+_0x2a7a4d/0x2,',')[mf_dgc_0x3a60('0x16a')](this['center']['y']-_0x4759a6);_0x130024+='M'[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x14f')]['x']+_0x2a7a4d,',')[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x14f')]['y']);_0x130024+='L'[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x14f')]['x']+_0x2a7a4d+_0x2a7a4d/0x2,',')[mf_dgc_0x3a60('0x16a')](this['center']['y']+_0x4759a6);}else if(this[mf_dgc_0x3a60('0x1c2')]==_0x33e40e[mf_dgc_0x3a60('0x1c5')]){_0x130024+='M'[mf_dgc_0x3a60('0x16a')](this['center']['x']+_0x2a7a4d,',')['concat'](this['center']['y']);_0x130024+='L'[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x14f')]['x']+_0x2a7a4d*0x2,',')[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x14f')]['y']);_0x130024+='L'['concat'](this[mf_dgc_0x3a60('0x14f')]['x']+_0x2a7a4d+_0x2a7a4d/0x2,',')[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x14f')]['y']-_0x4759a6);_0x130024+='M'[mf_dgc_0x3a60('0x16a')](this['center']['x']+_0x2a7a4d*0x2,',')[mf_dgc_0x3a60('0x16a')](this['center']['y']);_0x130024+='L'['concat'](this[mf_dgc_0x3a60('0x14f')]['x']+_0x2a7a4d+_0x2a7a4d/0x2,',')[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x14f')]['y']+_0x4759a6);}else if(this[mf_dgc_0x3a60('0x1c2')]==_0x33e40e[mf_dgc_0x3a60('0x1c6')]){_0x130024+='M'[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x14f')]['x']+_0x2a7a4d,',')[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x14f')]['y']-_0x4759a6);_0x130024+='L'[mf_dgc_0x3a60('0x16a')](this['center']['x']+_0x2a7a4d*0x2,',')[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x14f')]['y']-_0x4759a6);_0x130024+='M'[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x14f')]['x']+_0x2a7a4d,',')[mf_dgc_0x3a60('0x16a')](this['center']['y']-_0x4759a6);_0x130024+='L'[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x14f')]['x']+_0x2a7a4d+_0x2a7a4d/0x2,',')[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x14f')]['y']-_0x4759a6*0x2);_0x130024+='M'[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x14f')]['x']+_0x2a7a4d,',')[mf_dgc_0x3a60('0x16a')](this['center']['y']-_0x4759a6);_0x130024+='L'[mf_dgc_0x3a60('0x16a')](this['center']['x']+_0x2a7a4d+_0x2a7a4d/0x2,',')[mf_dgc_0x3a60('0x16a')](this['center']['y']);_0x130024+='M'[mf_dgc_0x3a60('0x16a')](this['center']['x']+_0x2a7a4d,',')[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x14f')]['y']+_0x4759a6);_0x130024+='L'[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x14f')]['x']+_0x2a7a4d*0x2,',')[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x14f')]['y']+_0x4759a6);_0x130024+='L'[mf_dgc_0x3a60('0x16a')](this['center']['x']+_0x2a7a4d+_0x2a7a4d/0x2,',')[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x14f')]['y']);_0x130024+='M'[mf_dgc_0x3a60('0x16a')](this['center']['x']+_0x2a7a4d*0x2,',')['concat'](this['center']['y']+_0x4759a6);_0x130024+='L'[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x14f')]['x']+_0x2a7a4d+_0x2a7a4d/0x2,',')[mf_dgc_0x3a60('0x16a')](this['center']['y']+_0x4759a6*0x2);}return _0x130024;}},{'key':'saveState','value':function saveState(){var _0x469653=_0x5b4727(_0x10135f(_0x2a8d40[mf_dgc_0x3a60('0x17')]),'saveState',this)['call'](this);_0x469653[mf_dgc_0x3a60('0x14f')]=this[mf_dgc_0x3a60('0x14f')][mf_dgc_0x3a60('0x14e')]();_0x469653['anchorType']=this[mf_dgc_0x3a60('0x1c2')];_0x469653[mf_dgc_0x3a60('0xb2')]=this[mf_dgc_0x3a60('0xb2')];_0x469653[mf_dgc_0x3a60('0x1c0')]=this[mf_dgc_0x3a60('0x1c0')];return _0x469653;}},{'key':mf_dgc_0x3a60('0x16d'),'value':function loadState(_0x131623){_0x5b4727(_0x10135f(_0x2a8d40['prototype']),'loadState',this)[mf_dgc_0x3a60('0x20')](this,_0x131623);this[mf_dgc_0x3a60('0x14f')]=_0x131623[mf_dgc_0x3a60('0x14f')];this[mf_dgc_0x3a60('0x1c2')]=_0x131623[mf_dgc_0x3a60('0x1c2')];this[mf_dgc_0x3a60('0xb2')]=_0x131623[mf_dgc_0x3a60('0xb2')];this[mf_dgc_0x3a60('0x1c0')]=_0x131623[mf_dgc_0x3a60('0x1c0')];}}],[{'key':mf_dgc_0x3a60('0x1c7'),'value':function fromPoint(_0x57554f){var _0xd3500c=_0x33e40e[mf_dgc_0x3a60('0x1c6')];if(!_0x57554f[mf_dgc_0x3a60('0x1c8')])_0xd3500c=_0x33e40e[mf_dgc_0x3a60('0x1c5')];if(!_0x57554f[mf_dgc_0x3a60('0x1c9')])_0xd3500c=_0x33e40e['In'];return new _0x2a8d40(_0x57554f['x'],_0x57554f['y'],_0xd3500c,_0x57554f[mf_dgc_0x3a60('0x1ca')],_0x57554f[mf_dgc_0x3a60('0x1c0')],_0x57554f[mf_dgc_0x3a60('0x160')]);}},{'key':mf_dgc_0x3a60('0x170'),'value':function _default(_0x2610f1){return new _0x2a8d40(0x28,0x28,_0x2610f1,_0x4b0f07[mf_dgc_0x3a60('0x1cb')][mf_dgc_0x3a60('0x1cc')],0x3);}}]);return _0x2a8d40;}(_0x245f85);var _0x229515=function(_0x25f592){_0x5126de(_0x229515,_0x25f592);var _0x373edf=_0x3c0983(_0x229515);function _0x229515(_0x441f26){var _0x169eb7;_0x324f65(this,_0x229515);_0x169eb7=_0x373edf['call'](this);_0x169eb7[mf_dgc_0x3a60('0x1a2')]=_0x441f26;_0x169eb7['outline']['forEach'](function(_0x44a506){_0x44a506[mf_dgc_0x3a60('0x1cd')]=!![];});return _0x169eb7;}_0x6e9ccc(_0x229515,[{'key':mf_dgc_0x3a60('0xbd'),'get':function get(){if(!this[mf_dgc_0x3a60('0x1b9')]){var _0x19bec3=new _0x4d2758[(mf_dgc_0x3a60('0x1ba'))](this[mf_dgc_0x3a60('0x169')]()[mf_dgc_0x3a60('0x1bb')]);this[mf_dgc_0x3a60('0x1b9')]=_0x19bec3[mf_dgc_0x3a60('0xae')]();}return this[mf_dgc_0x3a60('0x1b9')];},'set':function set(_0x3958fe){this[mf_dgc_0x3a60('0x1b9')]=_0x3958fe;}},{'key':mf_dgc_0x3a60('0x66'),'value':function draw(_0x44234c){_0x44234c[mf_dgc_0x3a60('0x141')]();_0x44234c['beginPath']();var _0x5a1d81=!![];var _0x22fae4=_0x60f384(this['outline']),_0x2a128c;try{for(_0x22fae4['s']();!(_0x2a128c=_0x22fae4['n']())['done'];){var _0x4c637a=_0x2a128c[mf_dgc_0x3a60('0xa')];_0x4c637a['addToContext'](_0x44234c,_0x5a1d81);_0x5a1d81=![];}}catch(_0x4f40b2){_0x22fae4['e'](_0x4f40b2);}finally{_0x22fae4['f']();}_0x44234c[mf_dgc_0x3a60('0x1bc')]=mf_dgc_0x3a60('0x1ce');_0x44234c[mf_dgc_0x3a60('0x1bd')]();var _0x2d556e={'color':this['strokeColor'],'width':this[mf_dgc_0x3a60('0x147')],'dashStyle':this[mf_dgc_0x3a60('0x148')]};_0x44234c['beginPath']();var _0x21c5b4=_0x60f384(this['outline']),_0x428dfc;try{for(_0x21c5b4['s']();!(_0x428dfc=_0x21c5b4['n']())[mf_dgc_0x3a60('0xb')];){var _0x4c637a=_0x428dfc[mf_dgc_0x3a60('0xa')];_0x4c637a['draw'](_0x44234c,_0x2d556e);}}catch(_0x55d0b1){_0x21c5b4['e'](_0x55d0b1);}finally{_0x21c5b4['f']();}_0x44234c['restore']();}},{'key':mf_dgc_0x3a60('0x166'),'value':function drawControlPoints(_0xa97a4c,_0x48b6d2,_0x44d0c6){if(this[mf_dgc_0x3a60('0x1a2')][mf_dgc_0x3a60('0x12')]){this[mf_dgc_0x3a60('0x13d')](_0xa97a4c,_0x48b6d2,this[mf_dgc_0x3a60('0x14f')],_0x44d0c6);_0xa97a4c[mf_dgc_0x3a60('0x143')](this[mf_dgc_0x3a60('0xbd')]['x'],this[mf_dgc_0x3a60('0xbd')]['y'],this[mf_dgc_0x3a60('0xbd')][mf_dgc_0x3a60('0xaf')],this[mf_dgc_0x3a60('0xbd')][mf_dgc_0x3a60('0xb0')],mf_dgc_0x3a60('0x1cf'));}}},{'key':mf_dgc_0x3a60('0x152'),'value':function distance(_0x3f70bb){var _0x560312=this[mf_dgc_0x3a60('0x14f')];return _0x3f70bb[mf_dgc_0x3a60('0x152')](_0x560312);}},{'key':mf_dgc_0x3a60('0x167'),'value':function hitTestHandle(_0x3285f9,_0x37f27e){var _0x311cfa=this[mf_dgc_0x3a60('0x14f')];var _0x12bf99=_0x3285f9['distance'](_0x311cfa);if(_0x12bf99<_0x37f27e)return 0x0;if(_0x4d2758[mf_dgc_0x3a60('0x150')][mf_dgc_0x3a60('0x1d0')](_0x3285f9,this['bounds'])<_0x37f27e)return 0x1;return-0x1;}},{'key':mf_dgc_0x3a60('0x14f'),'get':function get(){var _0x50361b=new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](0x0,0x0);this[mf_dgc_0x3a60('0x1a2')][mf_dgc_0x3a60('0xe2')](function(_0x5032d8){var _0x4701b8=_0x5032d8[mf_dgc_0x3a60('0x14f')];_0x50361b['x']+=_0x4701b8['x'];_0x50361b['y']+=_0x4701b8['y'];});_0x50361b['x']/=this[mf_dgc_0x3a60('0x1a2')][mf_dgc_0x3a60('0x12')];_0x50361b['y']/=this['outline'][mf_dgc_0x3a60('0x12')];return _0x50361b;}},{'key':mf_dgc_0x3a60('0x169'),'value':function exportElement(){var _0xd58c0b=[];var _0x55d90e=!![];var _0x288e20=_0x60f384(this['outline']),_0x591c28;try{for(_0x288e20['s']();!(_0x591c28=_0x288e20['n']())[mf_dgc_0x3a60('0xb')];){var _0x3fe23c=_0x591c28[mf_dgc_0x3a60('0xa')];_0xd58c0b[mf_dgc_0x3a60('0x16c')](_0x3fe23c[mf_dgc_0x3a60('0x169')](_0x55d90e));_0x55d90e=![];}}catch(_0xf99872){_0x288e20['e'](_0xf99872);}finally{_0x288e20['f']();}return{'path':_0xd58c0b[mf_dgc_0x3a60('0x1be')]('')};}},{'key':mf_dgc_0x3a60('0x179'),'value':function exportShapeElement(){var _0x5db441=[];var _0x3ba291=_0x60f384(this[mf_dgc_0x3a60('0x1a2')]),_0x1c7840;try{for(_0x3ba291['s']();!(_0x1c7840=_0x3ba291['n']())[mf_dgc_0x3a60('0xb')];){var _0x5b529b=_0x1c7840[mf_dgc_0x3a60('0xa')];_0x5db441=_0x5db441[mf_dgc_0x3a60('0x16a')](_0x5b529b[mf_dgc_0x3a60('0x179')]());}}catch(_0x50e644){_0x3ba291['e'](_0x50e644);}finally{_0x3ba291['f']();}return new _0x4b0f07[(mf_dgc_0x3a60('0x1bf'))](_0x5db441,this[mf_dgc_0x3a60('0x1b8')],this[mf_dgc_0x3a60('0x146')],this[mf_dgc_0x3a60('0x147')],this[mf_dgc_0x3a60('0x148')]);}},{'key':'getElements','value':function getElements(_0x171f6e){var _0x53d3d0=[];var _0x3e0315=new _0x4d2758['Point'](_0x171f6e[mf_dgc_0x3a60('0x14f')]()['x']-this[mf_dgc_0x3a60('0xbd')][mf_dgc_0x3a60('0x14f')]()['x'],_0x171f6e['center']()['y']-this[mf_dgc_0x3a60('0xbd')][mf_dgc_0x3a60('0x14f')]()['y']);this[mf_dgc_0x3a60('0x1a2')][mf_dgc_0x3a60('0xe2')](function(_0x13620d){var _0x15a91d=_0x13620d[mf_dgc_0x3a60('0x14e')]();_0x15a91d[mf_dgc_0x3a60('0x140')](_0x3e0315);_0x53d3d0[mf_dgc_0x3a60('0x16c')](_0x15a91d);});return _0x53d3d0;}}],[{'key':mf_dgc_0x3a60('0x170'),'value':function _default(){var _0x2ab77f=[];_0x2ab77f['push'](new _0x2f4c7b(new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](0x0,0x0),new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](0x0,0x64)));_0x2ab77f[mf_dgc_0x3a60('0x16c')](new _0x2f4c7b(new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](0x0,0x64),new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](0x64,0x64)));_0x2ab77f[mf_dgc_0x3a60('0x16c')](new _0x2f4c7b(new _0x4d2758['Point'](0x64,0x64),new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](0x64,0x0)));_0x2ab77f[mf_dgc_0x3a60('0x16c')](new _0x2f4c7b(new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](0x64,0x0),new _0x4d2758['Point'](0x0,0x0)));return new _0x229515(_0x2ab77f);}}]);return _0x229515;}(_0x245f85);var _0x9b0a4a=function(){function _0x9b0a4a(_0x262ff9,_0x1095c0){_0x324f65(this,_0x9b0a4a);this[mf_dgc_0x3a60('0x1a2')]=null;this[mf_dgc_0x3a60('0x199')]=null;this[mf_dgc_0x3a60('0x19c')]=[];this[mf_dgc_0x3a60('0x19f')]=null;this['shape']=_0x262ff9;this[mf_dgc_0x3a60('0x140')]=_0x1095c0||new _0x4d2758['Point'](0x0,0x0);this[mf_dgc_0x3a60('0x1d1')]();}_0x6e9ccc(_0x9b0a4a,[{'key':mf_dgc_0x3a60('0x66'),'value':function draw(_0x2c4098){_0x2c4098['save']();_0x2c4098['translate'](this[mf_dgc_0x3a60('0x140')]['x'],this['offset']['y']);_0x2c4098[mf_dgc_0x3a60('0x164')]();_0x2c4098[mf_dgc_0x3a60('0x15f')]=mf_dgc_0x3a60('0x1d2');_0x2c4098[mf_dgc_0x3a60('0x1bc')]='#fff';_0x2c4098['fillRect'](0x0,0x0,0x64,0x64);_0x2c4098[mf_dgc_0x3a60('0x1bc')]=mf_dgc_0x3a60('0x1d2');if(this[mf_dgc_0x3a60('0x1a2')]){var _0x4a1f4e=_0x60f384(this[mf_dgc_0x3a60('0x1a2')]),_0x24f29d;try{for(_0x4a1f4e['s']();!(_0x24f29d=_0x4a1f4e['n']())[mf_dgc_0x3a60('0xb')];){var _0x3776ad=_0x24f29d[mf_dgc_0x3a60('0xa')];_0x3776ad[mf_dgc_0x3a60('0x66')](_0x2c4098);}}catch(_0x2e1158){_0x4a1f4e['e'](_0x2e1158);}finally{_0x4a1f4e['f']();}}if(this[mf_dgc_0x3a60('0x199')]){var _0xaae8a1=_0x60f384(this[mf_dgc_0x3a60('0x199')]),_0x38920b;try{for(_0xaae8a1['s']();!(_0x38920b=_0xaae8a1['n']())[mf_dgc_0x3a60('0xb')];){var _0x3776ad=_0x38920b[mf_dgc_0x3a60('0xa')];_0x3776ad[mf_dgc_0x3a60('0x66')](_0x2c4098);}}catch(_0x318823){_0xaae8a1['e'](_0x318823);}finally{_0xaae8a1['f']();}}if(this[mf_dgc_0x3a60('0x19c')]){this[mf_dgc_0x3a60('0x19c')][mf_dgc_0x3a60('0xe2')](function(_0x1587de){_0x1587de['draw'](_0x2c4098);});}if(this[mf_dgc_0x3a60('0x19f')]){var _0x5f5449=_0x60f384(this[mf_dgc_0x3a60('0x19f')]),_0x25573e;try{for(_0x5f5449['s']();!(_0x25573e=_0x5f5449['n']())[mf_dgc_0x3a60('0xb')];){var _0x3776ad=_0x25573e[mf_dgc_0x3a60('0xa')];_0x3776ad[mf_dgc_0x3a60('0x66')](_0x2c4098);}}catch(_0x181eff){_0x5f5449['e'](_0x181eff);}finally{_0x5f5449['f']();}}if(this[mf_dgc_0x3a60('0x1d3')]()){this[mf_dgc_0x3a60('0x1ac')][mf_dgc_0x3a60('0x66')](_0x2c4098);}_0x2c4098[mf_dgc_0x3a60('0x165')]();}},{'key':mf_dgc_0x3a60('0x1d1'),'value':function parseShape(){var _0x2396df=this;var _0x16153a=new _0x4b0f07[(mf_dgc_0x3a60('0x1d4'))](this[mf_dgc_0x3a60('0x1d5')]);this[mf_dgc_0x3a60('0x1a2')]=this[mf_dgc_0x3a60('0x1d6')](this[mf_dgc_0x3a60('0x1d5')]['outlineElements']||_0x16153a[mf_dgc_0x3a60('0x1d7')]);this[mf_dgc_0x3a60('0x199')]=this[mf_dgc_0x3a60('0x1d6')](this[mf_dgc_0x3a60('0x1d5')][mf_dgc_0x3a60('0x1d8')]||_0x16153a[mf_dgc_0x3a60('0x1d9')]);this[mf_dgc_0x3a60('0x19f')]=[];var _0x4e5c72=this[mf_dgc_0x3a60('0x1d5')][mf_dgc_0x3a60('0x1da')]||_0x16153a[mf_dgc_0x3a60('0x1db')];if(_0x4e5c72&&_0x4e5c72[mf_dgc_0x3a60('0x12')]){this[mf_dgc_0x3a60('0x19c')]=[];_0x4e5c72['forEach'](function(_0x4e9330){var _0x3e4fdc=new _0x363d4e(_0x2396df[mf_dgc_0x3a60('0x1d6')](_0x4e9330[mf_dgc_0x3a60('0x1dc')]));_0x3e4fdc[mf_dgc_0x3a60('0x1b8')]=_0x4e9330[mf_dgc_0x3a60('0x1dd')]||_0x4e9330[mf_dgc_0x3a60('0x1b8')];_0x3e4fdc[mf_dgc_0x3a60('0x146')]=_0x4e9330[mf_dgc_0x3a60('0x1de')]||_0x4e9330[mf_dgc_0x3a60('0x146')];_0x3e4fdc['strokeThickness']=_0x4e9330[mf_dgc_0x3a60('0x147')];_0x3e4fdc[mf_dgc_0x3a60('0x148')]=_0x4e9330['strokeDashStyle'];_0x2396df['filledDecorations']['push'](_0x3e4fdc);});}if(this[mf_dgc_0x3a60('0x1d5')][mf_dgc_0x3a60('0x1df')]){this[mf_dgc_0x3a60('0x1d5')][mf_dgc_0x3a60('0x1df')][mf_dgc_0x3a60('0x171')][mf_dgc_0x3a60('0xe2')](function(_0x4a9380){var _0x32b5bc=_0x2a8d40[mf_dgc_0x3a60('0x1c7')](_0x4a9380);_0x2396df[mf_dgc_0x3a60('0x19f')][mf_dgc_0x3a60('0x16c')](_0x32b5bc);});}if(this[mf_dgc_0x3a60('0x1d5')]['textAreaElements']){this[mf_dgc_0x3a60('0x1ac')]=new _0x229515(this[mf_dgc_0x3a60('0x1d6')](this[mf_dgc_0x3a60('0x1d5')][mf_dgc_0x3a60('0x1e0')]));}else{this[mf_dgc_0x3a60('0x1ac')]=_0x229515[mf_dgc_0x3a60('0x170')]();}}},{'key':mf_dgc_0x3a60('0x1d6'),'value':function createBuilders(_0x2fd066){this[mf_dgc_0x3a60('0x1e1')]=new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](0x0,0x0);var _0x512766=[];if(!_0x2fd066)return _0x512766;var _0x4889ab=_0x60f384(_0x2fd066),_0x13a639;try{for(_0x4889ab['s']();!(_0x13a639=_0x4889ab['n']())['done'];){var _0x5c2ff9=_0x13a639[mf_dgc_0x3a60('0xa')];var _0x2e944a=this[mf_dgc_0x3a60('0x1e2')](_0x5c2ff9);if(_0x2e944a){_0x2e944a[mf_dgc_0x3a60('0x1e3')]=_0x5c2ff9;_0x512766[mf_dgc_0x3a60('0x16c')](_0x2e944a);}}}catch(_0xf72c93){_0x4889ab['e'](_0xf72c93);}finally{_0x4889ab['f']();}return _0x512766;}},{'key':mf_dgc_0x3a60('0x1e2'),'value':function createBuilder(_0x3688c4){switch(_0x3688c4[mf_dgc_0x3a60('0x1e4')]){case mf_dgc_0x3a60('0x15d'):{this[mf_dgc_0x3a60('0x1e1')]=_0x72fef0(_0x4d2758['Point'],_0x55c8ba(_0x3688c4['args']));break;}case mf_dgc_0x3a60('0x15e'):{var _0x52ba92=new _0x2f4c7b(this[mf_dgc_0x3a60('0x1e1')][mf_dgc_0x3a60('0x14e')](),_0x72fef0(_0x4d2758[mf_dgc_0x3a60('0x14c')],_0x55c8ba(_0x3688c4[mf_dgc_0x3a60('0x1e5')])));this[mf_dgc_0x3a60('0x1e1')]=_0x52ba92['endPoint'];break;}case mf_dgc_0x3a60('0x1e6'):{var _0x52ba92=new _0x2f4c7b(new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x3688c4[mf_dgc_0x3a60('0x1e5')][0x0],_0x3688c4[mf_dgc_0x3a60('0x1e5')][0x1]),new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x3688c4[mf_dgc_0x3a60('0x1e5')][0x2],_0x3688c4['args'][0x3]));this['lastPoint']=_0x52ba92[mf_dgc_0x3a60('0x14d')];break;}case'bezierCurveTo':{var _0x52ba92=_0x72fef0(_0x5eda26,[this[mf_dgc_0x3a60('0x1e1')]['x'],this[mf_dgc_0x3a60('0x1e1')]['y']][mf_dgc_0x3a60('0x16a')](_0x55c8ba(_0x3688c4[mf_dgc_0x3a60('0x1e5')])));this[mf_dgc_0x3a60('0x1e1')]=_0x52ba92[mf_dgc_0x3a60('0x171')][0x3];break;}case mf_dgc_0x3a60('0x1e7'):{var _0x52ba92=_0x72fef0(_0x5eda26,_0x55c8ba(_0x3688c4['args']));this['lastPoint']=_0x52ba92[mf_dgc_0x3a60('0x171')][0x3];break;}case'arc':{var _0x52ba92=_0x72fef0(_0x55ad41,_0x55c8ba(_0x3688c4[mf_dgc_0x3a60('0x1e5')]));this['lastPoint']=_0x52ba92['endPoint'];break;}case mf_dgc_0x3a60('0x189'):{var _0x52ba92=_0x72fef0(_0x5925f2,_0x55c8ba(_0x3688c4[mf_dgc_0x3a60('0x1e5')]));this[mf_dgc_0x3a60('0x1e1')]=_0x52ba92['bottomRight'];break;}}if(_0x52ba92){_0x52ba92[mf_dgc_0x3a60('0x1b8')]=_0x3688c4[mf_dgc_0x3a60('0x1b8')];_0x52ba92[mf_dgc_0x3a60('0x146')]=_0x3688c4[mf_dgc_0x3a60('0x146')];_0x52ba92[mf_dgc_0x3a60('0x147')]=_0x3688c4[mf_dgc_0x3a60('0x147')];_0x52ba92['strokeDashStyle']=_0x3688c4['strokeDashStyle'];return _0x52ba92;}return null;}},{'key':mf_dgc_0x3a60('0x1e8'),'value':function exportShape(_0x596411){var _0x4f7f68={};_0x4f7f68['id']=_0x596411;_0x4f7f68[mf_dgc_0x3a60('0x1a2')]=this[mf_dgc_0x3a60('0x1e9')](this[mf_dgc_0x3a60('0x1a2')],!![]);_0x4f7f68[mf_dgc_0x3a60('0x1ea')]=this['exportElements'](this[mf_dgc_0x3a60('0x199')]);_0x4f7f68[mf_dgc_0x3a60('0x1eb')]=this[mf_dgc_0x3a60('0x1e9')](this[mf_dgc_0x3a60('0x19c')],![],!![]);var _0x13fbbd=this[mf_dgc_0x3a60('0x1a2')][mf_dgc_0x3a60('0x1ec')](function(_0x13fbbd){return _0x13fbbd[mf_dgc_0x3a60('0x146')]!=undefined;});if(_0x13fbbd)_0x4f7f68[mf_dgc_0x3a60('0x1ed')]=_0x13fbbd[mf_dgc_0x3a60('0x146')];var _0x13fbbd=this[mf_dgc_0x3a60('0x199')][mf_dgc_0x3a60('0x1ec')](function(_0x13fbbd){return _0x13fbbd[mf_dgc_0x3a60('0x146')]!=undefined;});if(_0x13fbbd)_0x4f7f68[mf_dgc_0x3a60('0x1ee')]=_0x13fbbd['strokeColor'];if(this[mf_dgc_0x3a60('0x19c')][mf_dgc_0x3a60('0x12')]){_0x4f7f68[mf_dgc_0x3a60('0x1ef')]=this[mf_dgc_0x3a60('0x19c')][0x0][mf_dgc_0x3a60('0x146')];_0x4f7f68[mf_dgc_0x3a60('0x1f0')]=this[mf_dgc_0x3a60('0x19c')][0x0][mf_dgc_0x3a60('0x1b8')];}if(this['anchorPoints']!=null){var _0x5621b2=new _0x4b0f07[(mf_dgc_0x3a60('0x1f1'))]();this[mf_dgc_0x3a60('0x19f')][mf_dgc_0x3a60('0xe2')](function(_0x16a628){var _0x5560ec=_0x16a628[mf_dgc_0x3a60('0x14f')];if(_0x16a628['anchorType']==_0x33e40e['In'])_0x5621b2['points'][mf_dgc_0x3a60('0x16c')](new _0x4b0f07['AnchorPoint'](_0x5560ec['x'],_0x5560ec['y'],!![],![],_0x16a628[mf_dgc_0x3a60('0xb2')],_0x16a628['strokeColor'],_0x16a628[mf_dgc_0x3a60('0x1c0')]));if(_0x16a628['anchorType']==_0x33e40e['Out'])_0x5621b2['points']['push'](new _0x4b0f07[(mf_dgc_0x3a60('0x1f2'))](_0x5560ec['x'],_0x5560ec['y'],![],!![],_0x16a628['style'],_0x16a628[mf_dgc_0x3a60('0x146')],_0x16a628['size']));if(_0x16a628[mf_dgc_0x3a60('0x1c2')]==_0x33e40e[mf_dgc_0x3a60('0x1c6')])_0x5621b2[mf_dgc_0x3a60('0x171')][mf_dgc_0x3a60('0x16c')](new _0x4b0f07[(mf_dgc_0x3a60('0x1f2'))](_0x5560ec['x'],_0x5560ec['y'],!![],!![],_0x16a628[mf_dgc_0x3a60('0xb2')],_0x16a628[mf_dgc_0x3a60('0x146')],_0x16a628[mf_dgc_0x3a60('0x1c0')]));});}var _0x6aa78c=new _0x4b0f07[(mf_dgc_0x3a60('0x15b'))](_0x4f7f68);_0x6aa78c[mf_dgc_0x3a60('0x1f3')]=this['exportShapeElements'](this['outline']);_0x6aa78c[mf_dgc_0x3a60('0x1d8')]=this['exportShapeElements'](this['decorations']);_0x6aa78c[mf_dgc_0x3a60('0x1da')]=this['exportShapeElements'](this[mf_dgc_0x3a60('0x19c')],!![]);_0x6aa78c[mf_dgc_0x3a60('0x1df')]=_0x5621b2;if(this[mf_dgc_0x3a60('0x1d3')]()){_0x6aa78c[mf_dgc_0x3a60('0x1e0')]=this['exportShapeElements'](this[mf_dgc_0x3a60('0x1ac')][mf_dgc_0x3a60('0x1a2')]);var _0x4f7f68={};_0x4f7f68['outline']=this[mf_dgc_0x3a60('0x1e9')](this[mf_dgc_0x3a60('0x1ac')][mf_dgc_0x3a60('0x1a2')],!![]);var _0xed2bb0=new _0x4b0f07[(mf_dgc_0x3a60('0x15b'))](_0x4f7f68);_0xed2bb0[mf_dgc_0x3a60('0x1f3')]=this[mf_dgc_0x3a60('0x1ac')]['outline'];var _0x315106=new _0x4b0f07[(mf_dgc_0x3a60('0x1d4'))](_0xed2bb0);var _0x13fbbd=_0x315106[mf_dgc_0x3a60('0x1f4')];_0x6aa78c[mf_dgc_0x3a60('0x1ac')]=_0x4d2758[mf_dgc_0x3a60('0x13e')]['fromLTRB'](_0x13fbbd[mf_dgc_0x3a60('0x1f5')],_0x13fbbd[mf_dgc_0x3a60('0x1f6')],_0x13fbbd['maxX'],_0x13fbbd['maxY']);}else _0x6aa78c[mf_dgc_0x3a60('0x1ac')]=this[mf_dgc_0x3a60('0x1d5')]['textArea'];return _0x6aa78c;}},{'key':mf_dgc_0x3a60('0x1e9'),'value':function exportElements(_0x9d0f60,_0x3d78c5,_0x4b9a43){if(_0x9d0f60==null)return null;var _0x514b64=[];var _0x4b6639=!![];_0x9d0f60[mf_dgc_0x3a60('0xe2')](function(_0xf2528f){_0x514b64[mf_dgc_0x3a60('0x16c')](_0xf2528f['exportElement'](_0x4b6639));if(_0x3d78c5)_0x4b6639=![];});if(_0x4b9a43)return _0x514b64;return _0x514b64['join']('');}},{'key':mf_dgc_0x3a60('0x1f7'),'value':function exportShapeElements(_0x304243,_0x2e5a1f){if(_0x304243==null)return null;var _0x5e5ee2=[];_0x304243['forEach'](function(_0x44ec3e){if(_0x2e5a1f)_0x5e5ee2[mf_dgc_0x3a60('0x16c')](_0x44ec3e[mf_dgc_0x3a60('0x179')]());else _0x5e5ee2=_0x5e5ee2[mf_dgc_0x3a60('0x16a')](_0x44ec3e[mf_dgc_0x3a60('0x179')]());});return _0x5e5ee2;}},{'key':mf_dgc_0x3a60('0x1d3'),'value':function useTextArea(){return this[mf_dgc_0x3a60('0x1ac')]&&this[mf_dgc_0x3a60('0x1f8')];}},{'key':mf_dgc_0x3a60('0x1f9'),'value':function allElements(){var _0x1f6d52=[];if(this[mf_dgc_0x3a60('0x1a2')])_0x1f6d52=_0x1f6d52['concat'](this['outline']);if(this[mf_dgc_0x3a60('0x199')])_0x1f6d52=_0x1f6d52[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x199')]);if(this['filledDecorations']){this[mf_dgc_0x3a60('0x19c')][mf_dgc_0x3a60('0xe2')](function(_0x2fe2db){_0x1f6d52=_0x1f6d52[mf_dgc_0x3a60('0x16a')](_0x2fe2db);_0x2fe2db[mf_dgc_0x3a60('0x1a2')]['forEach'](function(_0x4d7854){return _0x1f6d52[mf_dgc_0x3a60('0x16c')](_0x4d7854);});});}if(this[mf_dgc_0x3a60('0x19f')])_0x1f6d52=_0x1f6d52['concat'](this[mf_dgc_0x3a60('0x19f')]);if(this[mf_dgc_0x3a60('0x1d3')]()){_0x1f6d52=_0x1f6d52[mf_dgc_0x3a60('0x16a')](this[mf_dgc_0x3a60('0x1ac')]);this[mf_dgc_0x3a60('0x1ac')][mf_dgc_0x3a60('0x1a2')][mf_dgc_0x3a60('0xe2')](function(_0x26af77){return _0x1f6d52[mf_dgc_0x3a60('0x16c')](_0x26af77);});}return _0x1f6d52;}},{'key':'nearestElement','value':function nearestElement(_0x283d7a,_0x1abcff,_0x2f2f13){if(!_0x2f2f13)_0x2f2f13=this['allElements']();var _0x2daf74=null;var _0x46a9de=null;var _0x482179=Number[mf_dgc_0x3a60('0x1fa')];var _0x50b924=Number['MAX_VALUE'];var _0x1327c2=_0x60f384(_0x2f2f13),_0x3e4fe2;try{for(_0x1327c2['s']();!(_0x3e4fe2=_0x1327c2['n']())[mf_dgc_0x3a60('0xb')];){var _0x41c39d=_0x3e4fe2['value'];if(_0x41c39d instanceof _0x2a8d40){var _0x31a07b=_0x41c39d[mf_dgc_0x3a60('0x152')](_0x283d7a);if(_0x31a07b<_0x50b924){_0x50b924=_0x31a07b;_0x46a9de=_0x41c39d;}}}}catch(_0x3afa56){_0x1327c2['e'](_0x3afa56);}finally{_0x1327c2['f']();}var _0x4d71df=_0x60f384(_0x2f2f13),_0xc0e7a3;try{for(_0x4d71df['s']();!(_0xc0e7a3=_0x4d71df['n']())[mf_dgc_0x3a60('0xb')];){var _0x41c39d=_0xc0e7a3[mf_dgc_0x3a60('0xa')];var _0x31a07b=_0x41c39d[mf_dgc_0x3a60('0x152')](_0x283d7a);if(_0x31a07b<_0x482179){_0x482179=_0x31a07b;_0x2daf74=_0x41c39d;}}}catch(_0xe18365){_0x4d71df['e'](_0xe18365);}finally{_0x4d71df['f']();}if(_0x50b924<=0x5)return _0x46a9de;else return _0x482179<_0x1abcff?_0x2daf74:null;}},{'key':mf_dgc_0x3a60('0x1fb'),'value':function hitTestDropTarget(_0x50afb3,_0xaf293b){if(_0xaf293b instanceof _0x3d8984||_0xaf293b instanceof _0x5925f2){var _0x5e1c60=this[mf_dgc_0x3a60('0x1fc')](_0x50afb3,0x5,this[mf_dgc_0x3a60('0x1a2')]);if(_0x5e1c60!=null)return new _0x16c67d('ReplaceOutlineCommand',_0x50afb3,this,_0xaf293b);if(this['filledDecorations']!=null){for(var _0x12c15a=0x0;_0x12c15a<this['filledDecorations'][mf_dgc_0x3a60('0x12')];_0x12c15a++){var _0x334f5c=this[mf_dgc_0x3a60('0x19c')][_0x12c15a];var _0x3a7227=this[mf_dgc_0x3a60('0x1fc')](_0x50afb3,0x5,_0x334f5c[mf_dgc_0x3a60('0x1a2')]);if(_0x3a7227!=null){return new _0x16c67d(mf_dgc_0x3a60('0x1b1'),_0x50afb3,_0x334f5c,_0xaf293b,null,null,_0x334f5c);}}}if(_0xaf293b instanceof _0x3d8984)return new _0x16c67d(mf_dgc_0x3a60('0x1b4'),_0x50afb3,null,_0xaf293b);else return new _0x16c67d(mf_dgc_0x3a60('0x1b3'),_0x50afb3,null,_0xaf293b);}else if(_0xaf293b instanceof _0x245f85){var _0x5f0cdf=this[mf_dgc_0x3a60('0x1fd')](this[mf_dgc_0x3a60('0x1a2')],_0x50afb3,_0xaf293b);if(_0x5f0cdf!=null)return _0x5f0cdf;if(this[mf_dgc_0x3a60('0x1d3')]()&&_0xaf293b instanceof _0x2f4c7b){var _0x5f0cdf=this[mf_dgc_0x3a60('0x1fd')](this[mf_dgc_0x3a60('0x1ac')]['outline'],_0x50afb3,_0xaf293b);if(_0x5f0cdf!=null)return _0x5f0cdf;}if(this[mf_dgc_0x3a60('0x19c')]!=null){for(var _0x12c15a=0x0;_0x12c15a<this[mf_dgc_0x3a60('0x19c')][mf_dgc_0x3a60('0x12')];_0x12c15a++){var _0x334f5c=this[mf_dgc_0x3a60('0x19c')][_0x12c15a];var _0x40fc83=this[mf_dgc_0x3a60('0x1fd')](_0x334f5c[mf_dgc_0x3a60('0x1a2')],_0x50afb3,_0xaf293b);if(_0x40fc83!=null)return _0x40fc83;}}return new _0x16c67d(mf_dgc_0x3a60('0x1b3'),_0x50afb3,null,_0xaf293b);}}},{'key':mf_dgc_0x3a60('0x1fd'),'value':function hitTestOutlineTarget(_0x46594b,_0x32b783,_0x32fc26){var _0x166f36=_0x46594b!=null?_0x46594b[mf_dgc_0x3a60('0x12')]:0x0;for(var _0xffbce6=0x0;_0xffbce6<_0x166f36;_0xffbce6++){var _0x145539=_0x46594b[_0xffbce6];var _0x32eced=_0x145539[mf_dgc_0x3a60('0x167')](_0x32b783,this['handlesSize']);if(_0x32eced==_0x145539[mf_dgc_0x3a60('0x1fe')]){return new _0x16c67d(mf_dgc_0x3a60('0x1a5'),_0x145539[mf_dgc_0x3a60('0x14b')],null,_0x32fc26,_0xffbce6,_0x46594b);}}var _0x57b425=this[mf_dgc_0x3a60('0x1fc')](_0x32b783,0x5,_0x46594b);if(_0x57b425!=null){return new _0x16c67d(mf_dgc_0x3a60('0x1b7'),_0x32b783,_0x57b425,_0x32fc26,_0x46594b[mf_dgc_0x3a60('0x1a8')](_0x57b425),_0x46594b);}return null;}},{'key':mf_dgc_0x3a60('0x1ff'),'value':function hitTest(_0x1879f9,_0xc237bd){if(_0xc237bd==null)return null;if(_0xc237bd instanceof _0x2a8d40){var _0x13831a=this[mf_dgc_0x3a60('0x19f')][mf_dgc_0x3a60('0x1a8')](_0xc237bd);if(_0x13831a>-0x1){var _0x4a5722=_0xc237bd['hitTestHandle'](_0x1879f9,0x4);if(_0x4a5722!=-0x1)return new _0x53b913(mf_dgc_0x3a60('0x200'),_0xc237bd,_0x4a5722);}}if(_0xc237bd instanceof _0x363d4e){var _0x4a5722=_0xc237bd[mf_dgc_0x3a60('0x167')](_0x1879f9,this['handlesSize']);if(_0x4a5722==0x0)return new _0x53b913(mf_dgc_0x3a60('0x201'),null,_0x4a5722,_0xc237bd);if(_0x4a5722==0x1)return new _0x53b913(mf_dgc_0x3a60('0x202'),null,_0x4a5722,_0xc237bd);}if(this[mf_dgc_0x3a60('0x1a2')]!=null){var _0x2147e1=this[mf_dgc_0x3a60('0x203')](this['outline'],_0xc237bd,_0x1879f9,null);if(_0x2147e1!=null)return _0x2147e1;}if(this[mf_dgc_0x3a60('0x199')]!=null){var _0x13831a=this['decorations'][mf_dgc_0x3a60('0x1a8')](_0xc237bd);if(_0x13831a>-0x1){var _0x4a5722=_0xc237bd[mf_dgc_0x3a60('0x167')](_0x1879f9,this[mf_dgc_0x3a60('0x204')]);if(_0x4a5722!=-0x1)return new _0x53b913(mf_dgc_0x3a60('0x205'),_0xc237bd,_0x4a5722,null);}}if(this[mf_dgc_0x3a60('0x19c')]!=null){for(var _0x13831a=0x0;_0x13831a<this[mf_dgc_0x3a60('0x19c')]['length'];_0x13831a++){var _0x2147e1=this['hitTestOutline'](this[mf_dgc_0x3a60('0x19c')][_0x13831a]['outline'],_0xc237bd,_0x1879f9,this['filledDecorations'][_0x13831a]);if(_0x2147e1!=null)return _0x2147e1;}}if(this[mf_dgc_0x3a60('0x1ac')]!=null){var _0x2147e1=this['hitTestOutline'](this['textArea'][mf_dgc_0x3a60('0x1a2')],_0xc237bd,_0x1879f9,this[mf_dgc_0x3a60('0x1ac')]);if(_0x2147e1!=null)return _0x2147e1;}return null;}},{'key':mf_dgc_0x3a60('0x203'),'value':function hitTestOutline(_0x40bb49,_0x5b3885,_0x5bb2cc,_0x4d81ce){var _0x2b5505=_0x40bb49!=null?_0x40bb49[mf_dgc_0x3a60('0x12')]:0x0;var _0x5803fe=_0x40bb49[mf_dgc_0x3a60('0x1a8')](_0x5b3885);if(_0x5803fe>-0x1){var _0x2eba53=_0x5b3885[mf_dgc_0x3a60('0x167')](_0x5bb2cc,this[mf_dgc_0x3a60('0x204')]);if(_0x2b5505>0x1&&_0x2eba53==_0x5b3885[mf_dgc_0x3a60('0x1fe')]){var _0x2a44dc=_0x40bb49[_0x5803fe-0x1<0x0?_0x2b5505-0x1:_0x5803fe-0x1];return new _0x53b913(mf_dgc_0x3a60('0x206'),_0x5b3885,_0x2eba53,_0x4d81ce,_0x2a44dc,_0x2a44dc[mf_dgc_0x3a60('0x144')]);}else if(_0x2b5505>0x1&&_0x2eba53==_0x5b3885[mf_dgc_0x3a60('0x144')]){var _0x2a44dc=_0x40bb49[(_0x5803fe+0x1)%_0x2b5505];return new _0x53b913(mf_dgc_0x3a60('0x206'),_0x5b3885,_0x2eba53,_0x4d81ce,_0x2a44dc,_0x2a44dc[mf_dgc_0x3a60('0x1fe')]);}else if(_0x2eba53!=-0x1){return new _0x53b913('ElementController',_0x5b3885,_0x2eba53,_0x4d81ce);}}return null;}}]);return _0x9b0a4a;}();var _0x53b913=function(){function _0x53b913(_0xaa9034,_0x15b4cb,_0x1c6f84,_0x41fd7d,_0x201b22,_0x2eaaea){var _0x536e0e=this;_0x324f65(this,_0x53b913);this[mf_dgc_0x3a60('0x18b')]=_0xaa9034;this[mf_dgc_0x3a60('0x63')]=_0x15b4cb;this[mf_dgc_0x3a60('0x207')]=_0x1c6f84;this['filledDecoration']=_0x41fd7d;this[mf_dgc_0x3a60('0x208')]=_0x201b22;this[mf_dgc_0x3a60('0x209')]=_0x2eaaea;this[mf_dgc_0x3a60('0x20a')]=new _0x16c67d(mf_dgc_0x3a60('0x197'));if(_0x15b4cb)this['changeCommand']['registerElement'](_0x15b4cb);if(this['type']==mf_dgc_0x3a60('0x206'))this[mf_dgc_0x3a60('0x20a')][mf_dgc_0x3a60('0x20b')](_0x201b22);if(this[mf_dgc_0x3a60('0x18b')]['indexOf']('FilledDecoration')>-0x1){this[mf_dgc_0x3a60('0x1a1')]['outline'][mf_dgc_0x3a60('0xe2')](function(_0x15b4cb){return _0x536e0e[mf_dgc_0x3a60('0x20a')][mf_dgc_0x3a60('0x20b')](_0x15b4cb);});this['center']=this[mf_dgc_0x3a60('0x1a1')]['center'];this[mf_dgc_0x3a60('0x20c')]=0x1;}}_0x6e9ccc(_0x53b913,[{'key':mf_dgc_0x3a60('0x20d'),'value':function onMouseDown(_0x1e67e9){this[mf_dgc_0x3a60('0x20e')]=![];this[mf_dgc_0x3a60('0x20f')]=_0x1e67e9;if(this['type']==mf_dgc_0x3a60('0x202'))this['initialDistance']=_0x1e67e9[mf_dgc_0x3a60('0x152')](this[mf_dgc_0x3a60('0x14f')]);}},{'key':mf_dgc_0x3a60('0x210'),'value':function onMouseMove(_0x290108){var _0x3edf8e=this;this[mf_dgc_0x3a60('0x20e')]=!![];if(this[mf_dgc_0x3a60('0x18b')]==mf_dgc_0x3a60('0x201')){var _0x7160db=new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x290108['x']-this[mf_dgc_0x3a60('0x20f')]['x'],_0x290108['y']-this[mf_dgc_0x3a60('0x20f')]['y']);if(_0x7160db['x']||_0x7160db['y']){this['filledDecoration'][mf_dgc_0x3a60('0x1a2')][mf_dgc_0x3a60('0xe2')](function(_0x7b69be){return _0x7b69be[mf_dgc_0x3a60('0x140')](_0x7160db);});this[mf_dgc_0x3a60('0x1a1')][mf_dgc_0x3a60('0xbd')][mf_dgc_0x3a60('0x140')](_0x7160db['x'],_0x7160db['y']);this[mf_dgc_0x3a60('0x20f')]=_0x290108;}return;}if(this['type']==mf_dgc_0x3a60('0x202')){var _0x55c0bd=_0x290108[mf_dgc_0x3a60('0x152')](this[mf_dgc_0x3a60('0x14f')]);var _0x517d67=_0x55c0bd/this[mf_dgc_0x3a60('0x211')];var _0x39d620=_0x517d67/this[mf_dgc_0x3a60('0x20c')];this[mf_dgc_0x3a60('0x1a1')][mf_dgc_0x3a60('0x1a2')][mf_dgc_0x3a60('0xe2')](function(_0x18ed9f){_0x18ed9f['scale'](_0x39d620,_0x3edf8e[mf_dgc_0x3a60('0x14f')]);});this['filledDecoration'][mf_dgc_0x3a60('0xbd')][mf_dgc_0x3a60('0x212')](_0x39d620,_0x39d620);this['currentScale']=_0x517d67;return;}if(this[mf_dgc_0x3a60('0x63')]){this[mf_dgc_0x3a60('0x63')][mf_dgc_0x3a60('0x168')](this[mf_dgc_0x3a60('0x207')],_0x290108);if(this[mf_dgc_0x3a60('0x1a1')])this[mf_dgc_0x3a60('0x1a1')][mf_dgc_0x3a60('0xbd')]=null;}if(this[mf_dgc_0x3a60('0x18b')]==mf_dgc_0x3a60('0x206')){this[mf_dgc_0x3a60('0x208')][mf_dgc_0x3a60('0x168')](this[mf_dgc_0x3a60('0x209')],_0x290108[mf_dgc_0x3a60('0x14e')]());}}},{'key':mf_dgc_0x3a60('0x213'),'value':function onMouseUp(_0x3d00e4){}}]);return _0x53b913;}();var _0x12a98f=function(_0x118f71){_0x5126de(_0x12a98f,_0x118f71);var _0xb24099=_0x3c0983(_0x12a98f);function _0x12a98f(){var _0x10b308;_0x324f65(this,_0x12a98f);_0x10b308=_0xb24099[mf_dgc_0x3a60('0x20')](this);_0x10b308[mf_dgc_0x3a60('0x214')]=0x32;_0x10b308[mf_dgc_0x3a60('0x215')]=mf_dgc_0x3a60('0x216');_0x10b308[mf_dgc_0x3a60('0x217')]=mf_dgc_0x3a60('0x218');_0x10b308[mf_dgc_0x3a60('0x219')]=0x0;_0x10b308[mf_dgc_0x3a60('0x21a')]=!![];_0x10b308['backBrush']=mf_dgc_0x3a60('0x21b');_0x10b308['gridSizeX']=0xa;_0x10b308['gridSizeY']=0xa;_0x10b308['gridStyle']=_0x4b0f07['GridStyle'][mf_dgc_0x3a60('0x21c')];_0x10b308['gridColor']=mf_dgc_0x3a60('0x216');return _0x10b308;}_0x6e9ccc(_0x12a98f,[{'key':'drawForeground','value':function drawForeground(){var _0x96afcb=this[mf_dgc_0x3a60('0x198')]?this[mf_dgc_0x3a60('0x198')][mf_dgc_0x3a60('0x140')]:new _0x4d2758['Point'](0x0,0x0);this[mf_dgc_0x3a60('0x21d')][mf_dgc_0x3a60('0x141')]();this[mf_dgc_0x3a60('0x21d')][mf_dgc_0x3a60('0x157')](_0x96afcb['x'],_0x96afcb['y']);if(this[mf_dgc_0x3a60('0x1b5')]!=null)this[mf_dgc_0x3a60('0x1b5')]['drawControlPoints'](this['context'],this['handlesSize'],this[mf_dgc_0x3a60('0x215')]);if(this[mf_dgc_0x3a60('0x21e')]!=null&&this[mf_dgc_0x3a60('0x1b5')]!=this[mf_dgc_0x3a60('0x21e')])this['pointedElement']['drawControlPoints'](this[mf_dgc_0x3a60('0x21d')],this['handlesSize'],this[mf_dgc_0x3a60('0x217')]);if(this['dropCommand']!=null)this[mf_dgc_0x3a60('0x21f')][mf_dgc_0x3a60('0x1ad')](this['context']);this[mf_dgc_0x3a60('0x21d')][mf_dgc_0x3a60('0x165')]();}},{'key':mf_dgc_0x3a60('0x1a0'),'value':function clearOutline(_0x4d68f1){if(_0x4d68f1){var _0x119262=_0x4d68f1[mf_dgc_0x3a60('0x1a2')];_0x4d68f1[mf_dgc_0x3a60('0x1a2')]=[];return _0x119262;}if(this[mf_dgc_0x3a60('0x198')]['outline']!=null){var _0x119262=this[mf_dgc_0x3a60('0x198')][mf_dgc_0x3a60('0x1a2')];this[mf_dgc_0x3a60('0x198')]['outline']=[];return _0x119262;}return[];}},{'key':mf_dgc_0x3a60('0x1aa'),'value':function removeFromOutline(_0x576020,_0x27cc46){if(_0x576020[mf_dgc_0x3a60('0x12')]<0x3){return{'index':-0x1};}var _0x2dc468=_0x576020[mf_dgc_0x3a60('0x1a8')](_0x27cc46);if(_0x2dc468>-0x1){var _0x4e7135=_0x576020['length'];var _0x464f05=(_0x2dc468+0x1)%_0x4e7135;var _0xea72da=_0x2dc468>0x0?_0x2dc468-0x1:_0x4e7135-0x1;var _0x41ef61=_0x576020[_0x464f05];var _0x4b85ed=_0x576020[_0xea72da];var _0x2cd796=_0x4b85ed[mf_dgc_0x3a60('0x145')]();var _0x140be0=_0x41ef61[mf_dgc_0x3a60('0x145')]();var _0x472d26=_0x27cc46[mf_dgc_0x3a60('0x14f')];_0x576020[mf_dgc_0x3a60('0x107')](_0x2dc468,0x1);_0x4b85ed[mf_dgc_0x3a60('0x155')](_0x4b85ed[mf_dgc_0x3a60('0x14b')],_0x472d26);_0x41ef61['orientate'](_0x472d26,_0x41ef61[mf_dgc_0x3a60('0x14d')]);return{'index':_0x2dc468,'prevState':_0x2cd796,'nextState':_0x140be0};}return{'index':-0x1};}},{'key':'selectedElement','get':function get(){return this[mf_dgc_0x3a60('0x220')];},'set':function set(_0x36a3a6){if(this['_selectedElement']!=_0x36a3a6){this[mf_dgc_0x3a60('0x220')]=_0x36a3a6;if(_0x36a3a6==null){if(this[mf_dgc_0x3a60('0x21e')])this[mf_dgc_0x3a60('0x21e')]=null;}}}},{'key':mf_dgc_0x3a60('0x198'),'get':function get(){return this[mf_dgc_0x3a60('0x221')];},'set':function set(_0x47adda){if(this['_shapeBuilder'])this[mf_dgc_0x3a60('0x222')](this[mf_dgc_0x3a60('0x221')]);this[mf_dgc_0x3a60('0x221')]=_0x47adda;this[mf_dgc_0x3a60('0x221')]['handlesSize']=this[mf_dgc_0x3a60('0x204')];this[mf_dgc_0x3a60('0x223')](this[mf_dgc_0x3a60('0x221')]);this['invalidate']();}},{'key':mf_dgc_0x3a60('0x224'),'value':function raiseSizeChanged(){}},{'key':'dirty','get':function get(){return this[mf_dgc_0x3a60('0x225')];},'set':function set(_0x147057){if(_0x147057===undefined)_0x147057=!![];this['_dirty']=_0x147057;}},{'key':mf_dgc_0x3a60('0x226'),'value':function setDirty(_0x4d18fc){this['dirty']=_0x4d18fc;}},{'key':'handlesSize','get':function get(){return this[mf_dgc_0x3a60('0x214')]*this[mf_dgc_0x3a60('0xbe')]/0xa;}}]);return _0x12a98f;}(_0x4b0f07[mf_dgc_0x3a60('0x227')]);var _0x1c3ab4=function(_0x4b9fc5){_0x5126de(_0x1c3ab4,_0x4b9fc5);var _0x394a39=_0x3c0983(_0x1c3ab4);function _0x1c3ab4(_0x4063bb){var _0x1357f3;_0x324f65(this,_0x1c3ab4);_0x1357f3=_0x394a39[mf_dgc_0x3a60('0x20')](this,_0x4063bb,new _0x12a98f(),_0x1c3ab4);_0x1357f3[mf_dgc_0x3a60('0x228')]=_0x4b0f07[mf_dgc_0x3a60('0x229')]['DoNothing'];_0x1357f3[mf_dgc_0x3a60('0x22a')]=[];_0x1357f3[mf_dgc_0x3a60('0x22b')]=-0x1;_0x1357f3[mf_dgc_0x3a60('0x140')]=new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](0x0,0x0);_0x1357f3[mf_dgc_0x3a60('0xed')]=0x32;return _0x1357f3;}_0x6e9ccc(_0x1c3ab4,[{'key':mf_dgc_0x3a60('0x57'),'value':function initialize(){_0x5b4727(_0x10135f(_0x1c3ab4['prototype']),mf_dgc_0x3a60('0x57'),this)[mf_dgc_0x3a60('0x20')](this);this[mf_dgc_0x3a60('0x22c')][mf_dgc_0x3a60('0x22d')]=this[mf_dgc_0x3a60('0x22d')][mf_dgc_0x3a60('0x21')](this);this[mf_dgc_0x3a60('0x22c')][mf_dgc_0x3a60('0x22e')]=this[mf_dgc_0x3a60('0x22e')][mf_dgc_0x3a60('0x21')](this);this[mf_dgc_0x3a60('0x22c')]['onPointerUp']=this[mf_dgc_0x3a60('0x22f')][mf_dgc_0x3a60('0x21')](this);this[mf_dgc_0x3a60('0x230')]['onKeyUp']=this[mf_dgc_0x3a60('0x231')]['bind'](this);var _0x1e628d=_0x4bec27[mf_dgc_0x3a60('0xfc')]['getBounds'](this['element']['parentNode'],this['element'][mf_dgc_0x3a60('0x60')][mf_dgc_0x3a60('0x60')]);this['element'][mf_dgc_0x3a60('0xaf')]=_0x1e628d['width'];this['element'][mf_dgc_0x3a60('0xb0')]=_0x1e628d[mf_dgc_0x3a60('0xb0')];var _0x518655=_0x1e628d[mf_dgc_0x3a60('0xaf')]/this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0xbe')];var _0x577f27=_0x1e628d[mf_dgc_0x3a60('0xb0')]/this['canvas'][mf_dgc_0x3a60('0xbe')];this['canvas'][mf_dgc_0x3a60('0xbd')]=new _0x4d2758[(mf_dgc_0x3a60('0x13e'))](0x0,0x0,_0x518655,_0x577f27);this[mf_dgc_0x3a60('0x140')]=new _0x4d2758['Point']((_0x518655-0x64)/0x2,(_0x577f27-0x64)/0x2);this['offset']['x']-=_0x518655/this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x232')]-Math[mf_dgc_0x3a60('0x233')](_0x518655/this[mf_dgc_0x3a60('0xd8')]['gridSizeX']);this['offset']['y']-=_0x577f27/this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x234')]-Math[mf_dgc_0x3a60('0x233')](_0x577f27/this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x234')]);}},{'key':'onBeforeRepaint','value':function onBeforeRepaint(_0x4ac314,_0xa510ee){var _0x1ef929=new _0x4d2758[(mf_dgc_0x3a60('0x156'))]();var _0x49194c=this[mf_dgc_0x3a60('0xed')]/0x64/_0x4d2758[mf_dgc_0x3a60('0x235')][mf_dgc_0x3a60('0x236')](this['diagram'][mf_dgc_0x3a60('0xd9')]);_0x1ef929[mf_dgc_0x3a60('0xbe')](_0x49194c,_0x49194c);_0xa510ee['matrix']=_0x1ef929;_0xa510ee['scale']=_0x49194c;_0xa510ee['zoomFactor']=this[mf_dgc_0x3a60('0xed')];_0xa510ee['viewport']=this['diagram'][mf_dgc_0x3a60('0xbd')];_0xa510ee[mf_dgc_0x3a60('0x21d')]=this[mf_dgc_0x3a60('0x21d')];_0xa510ee[mf_dgc_0x3a60('0x237')]=!this[mf_dgc_0x3a60('0xf2')];_0xa510ee[mf_dgc_0x3a60('0x238')]=![];var _0x4dafd4=this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0xbd')];var _0xd7927f=new _0x4d2758[(mf_dgc_0x3a60('0x13e'))](0x0,0x0,_0x4dafd4['width']*_0x49194c,_0x4dafd4[mf_dgc_0x3a60('0xb0')]*_0x49194c);_0xa510ee['viewport']=_0xd7927f;this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x21d')]['fillStyle']=mf_dgc_0x3a60('0x239');this[mf_dgc_0x3a60('0xd8')]['context'][mf_dgc_0x3a60('0x142')](0x0,0x0,_0x4dafd4['width']*_0x49194c,_0x4dafd4[mf_dgc_0x3a60('0xb0')]*_0x49194c);_0x4ac314['doRepaint'](_0xa510ee);}},{'key':mf_dgc_0x3a60('0x23a'),'value':function resetVirtualScroll(){}},{'key':mf_dgc_0x3a60('0x23b'),'value':function recalcVirtualScroll(){}},{'key':mf_dgc_0x3a60('0x23c'),'value':function clientToDoc(_0x259aaf){var _0x73affe=_0x259aaf['x'];var _0x5b6c4f=_0x259aaf['y'];var _0x5f04dc=new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x73affe/this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0xbe')],_0x5b6c4f/this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0xbe')]);return new _0x4d2758[(mf_dgc_0x3a60('0x14c'))](_0x5f04dc['x']+this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0xbd')]['x']-this[mf_dgc_0x3a60('0x140')]['x'],_0x5f04dc['y']+this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0xbd')]['y']-this[mf_dgc_0x3a60('0x140')]['y']);}},{'key':mf_dgc_0x3a60('0x23d'),'value':function onElementDrag(_0x3ddad9,_0x139984){var _0x5acecf=this[mf_dgc_0x3a60('0x23c')](_0x139984);if(_0x3ddad9 instanceof _0x2a8d40)this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x21f')]=new _0x16c67d('AddAnchorCommand',_0x5acecf,null,_0x3ddad9);else this[mf_dgc_0x3a60('0xd8')]['dropCommand']=this[mf_dgc_0x3a60('0xd8')]['shapeBuilder'][mf_dgc_0x3a60('0x1fb')](_0x5acecf,_0x3ddad9);this['canvas'][mf_dgc_0x3a60('0x1b6')]();}},{'key':mf_dgc_0x3a60('0x23e'),'value':function onElementDrop(_0x2acfe1){if(_0x2acfe1&&this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x21f')]!=null){this['canvas'][mf_dgc_0x3a60('0x21f')][mf_dgc_0x3a60('0x196')](this[mf_dgc_0x3a60('0xd8')]);this[mf_dgc_0x3a60('0x23f')](this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x21f')]);this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x21f')]=null;this[mf_dgc_0x3a60('0xd8')]['selectedElement']=null;this['canvas'][mf_dgc_0x3a60('0x1b6')]();this[mf_dgc_0x3a60('0x240')][mf_dgc_0x3a60('0xdc')](_0x37657a[mf_dgc_0x3a60('0x36')],_0x4bec27[mf_dgc_0x3a60('0xde')][mf_dgc_0x3a60('0xdf')]);}}},{'key':'onPointerDown','value':function onPointerDown(_0x3193f9,_0x3f15d1,_0x9f889c){var _0x5e6d6a=this[mf_dgc_0x3a60('0x23c')](_0x3193f9);this['controller']=this['canvas'][mf_dgc_0x3a60('0x198')][mf_dgc_0x3a60('0x1ff')](_0x5e6d6a,this[mf_dgc_0x3a60('0x1b5')]);if(!this['controller'])this[mf_dgc_0x3a60('0x241')]=this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x198')]['hitTest'](_0x5e6d6a,this[mf_dgc_0x3a60('0x21e')]);if(this['controller']!=null)this['controller']['onMouseDown'](_0x5e6d6a);}},{'key':'onPointerMove','value':function(){var _0x6d6d6c=_0x224570(regeneratorRuntime[mf_dgc_0x3a60('0x242')](function _callee(_0x2bacd2,_0x335713){var _0xbc812f,_0xb98040,_0x5b2f66,_0x230aa8;return regeneratorRuntime[mf_dgc_0x3a60('0x243')](function _callee$(_0x4a2f6b){while(0x1){switch(_0x4a2f6b[mf_dgc_0x3a60('0x244')]=_0x4a2f6b['next']){case 0x0:_0xbc812f=this[mf_dgc_0x3a60('0x23c')](_0x2bacd2);_0xb98040=this['canvas'][mf_dgc_0x3a60('0x245')];if(this[mf_dgc_0x3a60('0x241')]!=null){if(_0xb98040)_0xbc812f=this[mf_dgc_0x3a60('0x246')](_0xbc812f);this[mf_dgc_0x3a60('0x241')][mf_dgc_0x3a60('0x210')](_0xbc812f);this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x1b6')]();}else{_0x5b2f66=this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x198')][mf_dgc_0x3a60('0x1fc')](_0xbc812f,0xa);if(_0x5b2f66!=null&&_0x5b2f66!=this[mf_dgc_0x3a60('0x21e')]){this[mf_dgc_0x3a60('0x21e')]=_0x5b2f66;this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x1b6')]();}}_0x230aa8=_0xbc812f['newWithOffset'](this[mf_dgc_0x3a60('0x140')]['x'],this[mf_dgc_0x3a60('0x140')]['y']);this[mf_dgc_0x3a60('0x247')](_0x230aa8);case 0x5:case mf_dgc_0x3a60('0x248'):return _0x4a2f6b['stop']();}}},_callee,this);}));function _0x55f616(_0x458a47,_0xba52b1){return _0x6d6d6c[mf_dgc_0x3a60('0xe')](this,arguments);}return _0x55f616;}()},{'key':mf_dgc_0x3a60('0x22f'),'value':function(){var _0x4d527d=_0x224570(regeneratorRuntime[mf_dgc_0x3a60('0x242')](function _callee2(_0x477e54,_0x2cfc8d,_0x2b77a0){var _0x40970d,_0x38336e;return regeneratorRuntime[mf_dgc_0x3a60('0x243')](function _callee2$(_0x3d9d70){while(0x1){switch(_0x3d9d70[mf_dgc_0x3a60('0x244')]=_0x3d9d70['next']){case 0x0:_0x40970d=this[mf_dgc_0x3a60('0x23c')](_0x477e54);_0x38336e=this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x245')];if(this[mf_dgc_0x3a60('0x241')]!=null){if(_0x38336e)_0x40970d=this[mf_dgc_0x3a60('0x246')](_0x40970d);this[mf_dgc_0x3a60('0x241')][mf_dgc_0x3a60('0x213')](_0x40970d);if(this[mf_dgc_0x3a60('0x241')]['hasMoved']){this[mf_dgc_0x3a60('0x241')][mf_dgc_0x3a60('0x20a')][mf_dgc_0x3a60('0x196')](this);this[mf_dgc_0x3a60('0x23f')](this[mf_dgc_0x3a60('0x241')][mf_dgc_0x3a60('0x20a')]);}this[mf_dgc_0x3a60('0x241')]=null;this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x1b6')]();this[mf_dgc_0x3a60('0x1b5')]=this[mf_dgc_0x3a60('0x21e')];this[mf_dgc_0x3a60('0x240')][mf_dgc_0x3a60('0xdc')](_0x37657a[mf_dgc_0x3a60('0x36')],_0x4bec27['EventArgs'][mf_dgc_0x3a60('0xdf')]);}else{this[mf_dgc_0x3a60('0x1b5')]=this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x198')][mf_dgc_0x3a60('0x1fc')](_0x40970d,0xa);this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x1b6')]();}case 0x3:case mf_dgc_0x3a60('0x248'):return _0x3d9d70[mf_dgc_0x3a60('0x249')]();}}},_callee2,this);}));function _0x10fdc3(_0x2e7db0,_0x5708ec,_0x1f2562){return _0x4d527d['apply'](this,arguments);}return _0x10fdc3;}()},{'key':'onKeyUp','value':function(){var _0x219034=_0x224570(regeneratorRuntime[mf_dgc_0x3a60('0x242')](function _callee3(_0x54fa48,_0xe12ada,_0x2d74e8,_0x56352a){return regeneratorRuntime['wrap'](function _callee3$(_0xa7fe78){while(0x1){switch(_0xa7fe78[mf_dgc_0x3a60('0x244')]=_0xa7fe78[mf_dgc_0x3a60('0xf')]){case 0x0:if(this['selectedElement']){if(_0xe12ada==0x2e||_0xe12ada==0x7f||navigator[mf_dgc_0x3a60('0x24a')][mf_dgc_0x3a60('0x24b')]()['indexOf'](mf_dgc_0x3a60('0x24c'))>-0x1&&_0xe12ada==0x8){this[mf_dgc_0x3a60('0x222')](this[mf_dgc_0x3a60('0x1b5')]);}}case 0x1:case mf_dgc_0x3a60('0x248'):return _0xa7fe78[mf_dgc_0x3a60('0x249')]();}}},_callee3,this);}));function _0x5a0ed3(_0x46b64d,_0x138217,_0x1e31da,_0x5940e0){return _0x219034[mf_dgc_0x3a60('0xe')](this,arguments);}return _0x5a0ed3;}()},{'key':mf_dgc_0x3a60('0x222'),'value':function removeElement(_0x2f8e28){var _0x3c112b=new _0x16c67d(mf_dgc_0x3a60('0x1a7'),null,null,_0x2f8e28);_0x3c112b[mf_dgc_0x3a60('0x196')](this[mf_dgc_0x3a60('0xd8')]);this[mf_dgc_0x3a60('0x23f')](_0x3c112b);this[mf_dgc_0x3a60('0x1b5')]=null;this['canvas'][mf_dgc_0x3a60('0x1b6')]();}},{'key':mf_dgc_0x3a60('0x23f'),'value':function saveCommand(_0x11b59a){this[mf_dgc_0x3a60('0x22a')][mf_dgc_0x3a60('0x107')](this[mf_dgc_0x3a60('0x22b')]+0x1,this[mf_dgc_0x3a60('0x22a')][mf_dgc_0x3a60('0x12')]-this[mf_dgc_0x3a60('0x22b')]-0x1);this['undoHistory']['push'](_0x11b59a);this[mf_dgc_0x3a60('0x22b')]++;}},{'key':mf_dgc_0x3a60('0x24d'),'value':function undo(){if(this['currentCommand']>=0x0){var _0x490659=this[mf_dgc_0x3a60('0x22a')][this[mf_dgc_0x3a60('0x22b')]--];this[mf_dgc_0x3a60('0x24e')]=!![];_0x490659[mf_dgc_0x3a60('0x24d')](this['canvas']);this[mf_dgc_0x3a60('0x24e')]=![];this[mf_dgc_0x3a60('0x240')]['raiseEvent'](_0x37657a[mf_dgc_0x3a60('0x36')],_0x4bec27[mf_dgc_0x3a60('0xde')][mf_dgc_0x3a60('0xdf')]);}}},{'key':mf_dgc_0x3a60('0x24f'),'value':function redo(){if(this[mf_dgc_0x3a60('0x22b')]<this[mf_dgc_0x3a60('0x22a')][mf_dgc_0x3a60('0x12')]-0x1){var _0x592823=this[mf_dgc_0x3a60('0x22a')][++this[mf_dgc_0x3a60('0x22b')]];this['fromCommand']=!![];_0x592823[mf_dgc_0x3a60('0x24f')](this[mf_dgc_0x3a60('0xd8')]);this[mf_dgc_0x3a60('0x24e')]=![];this[mf_dgc_0x3a60('0x240')]['raiseEvent'](_0x37657a[mf_dgc_0x3a60('0x36')],_0x4bec27['EventArgs'][mf_dgc_0x3a60('0xdf')]);}}},{'key':mf_dgc_0x3a60('0x250'),'value':function importShape(_0x168a35){var _0x2f416d=this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x198')]?this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x198')][mf_dgc_0x3a60('0x1f8')]:![];this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x198')]=new _0x9b0a4a(_0x168a35,this[mf_dgc_0x3a60('0x140')]);this[mf_dgc_0x3a60('0xd8')]['shapeBuilder'][mf_dgc_0x3a60('0x1f8')]=_0x2f416d;}},{'key':mf_dgc_0x3a60('0x251'),'value':function copyToClipboard(){if(!this['selectedElement'])return;window[mf_dgc_0x3a60('0x252')]=this[mf_dgc_0x3a60('0x1b5')];}},{'key':mf_dgc_0x3a60('0x253'),'value':function pasteFromClipboard(_0x11311b,_0x759f7c){var _0x750f20=window[mf_dgc_0x3a60('0x252')];if(_0x750f20){var _0x490f6d=_0x750f20[mf_dgc_0x3a60('0x14f')][mf_dgc_0x3a60('0x14e')]();_0x490f6d['offset'](_0x11311b,_0x759f7c);var _0x5ec1ee;if(_0x750f20 instanceof _0x363d4e)_0x5ec1ee=new _0x16c67d('AddFilledDecorationCommand',_0x490f6d,null,_0x750f20);else _0x5ec1ee=new _0x16c67d(mf_dgc_0x3a60('0x1b3'),_0x490f6d,null,_0x750f20);_0x5ec1ee[mf_dgc_0x3a60('0x196')](this[mf_dgc_0x3a60('0xd8')]);this[mf_dgc_0x3a60('0x23f')](_0x5ec1ee);}}},{'key':mf_dgc_0x3a60('0x246'),'value':function alignPointToGrid(_0x24c7f6){return new _0x4d2758['Point'](Math[mf_dgc_0x3a60('0x233')](_0x24c7f6['x']/this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x232')])*this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x232')],Math[mf_dgc_0x3a60('0x233')](_0x24c7f6['y']/this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x234')])*this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x234')]);}},{'key':mf_dgc_0x3a60('0x1b5'),'get':function get(){return this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x1b5')];},'set':function set(_0x2778b6){if(this['canvas']['selectedElement']!=_0x2778b6){this['canvas']['selectedElement']=_0x2778b6;this['designer']['selectedElement']=_0x2778b6;}}},{'key':mf_dgc_0x3a60('0x21e'),'get':function get(){return this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x21e')];},'set':function set(_0x3a1ca0){if(this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x21e')]!=_0x3a1ca0){this[mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x21e')]=_0x3a1ca0;}}},{'key':mf_dgc_0x3a60('0x131'),'value':function connectedCallback(){var _0x41b983=this[mf_dgc_0x3a60('0x132')]({'mode':mf_dgc_0x3a60('0x8b')});var _0x1521b8=document['createElement'](mf_dgc_0x3a60('0xca'));_0x1521b8[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0x139')]=this[mf_dgc_0x3a60('0xb2')]['cssText'];this[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0x139')]='';var _0x481a42=document[mf_dgc_0x3a60('0xc9')](mf_dgc_0x3a60('0xd8'));_0x481a42['id']=this['getAttribute']('id');_0x1521b8['appendChild'](_0x481a42);_0x41b983['appendChild'](_0x1521b8);this[mf_dgc_0x3a60('0x13a')]('id');var _0x12298e=_0x1c3ab4[mf_dgc_0x3a60('0x19')](_0x481a42);_0x12298e[mf_dgc_0x3a60('0x5f')]=_0x41b983;}}],[{'key':mf_dgc_0x3a60('0x19'),'value':function create(_0x53d3d9,_0x482149){return _0x4bec27['Control'][mf_dgc_0x3a60('0x13b')](_0x1c3ab4,_0x53d3d9,_0x482149);}}]);return _0x1c3ab4;}(_0x4b0f07[mf_dgc_0x3a60('0x254')]);var _0x30407a=function(_0x5bef73){_0x5126de(_0x30407a,_0x5bef73);var _0x221d1c=_0x3c0983(_0x30407a);function _0x30407a(_0x3e67f1){var _0x1e8c96;_0x324f65(this,_0x30407a);_0x1e8c96=_0x221d1c[mf_dgc_0x3a60('0x20')](this,_0x3e67f1);_0x1e8c96['templatesLabel']=mf_dgc_0x3a60('0x255');_0x1e8c96[mf_dgc_0x3a60('0x256')]=mf_dgc_0x3a60('0x257');_0x1e8c96[mf_dgc_0x3a60('0x258')]=mf_dgc_0x3a60('0x259');_0x1e8c96[mf_dgc_0x3a60('0x25a')]=mf_dgc_0x3a60('0x25b');_0x1e8c96[mf_dgc_0x3a60('0x25c')]=null;_0x1e8c96[mf_dgc_0x3a60('0x25d')]=![];_0x1e8c96[mf_dgc_0x3a60('0x25e')]();return _0x1e8c96;}_0x6e9ccc(_0x30407a,[{'key':'fillShapes','value':function fillShapes(){var _0x1f7f54=new _0x4b0f07[(mf_dgc_0x3a60('0x227'))]();var _0xc28359=new _0x4b0f07[(mf_dgc_0x3a60('0x25f'))]();_0xc28359['brush']=this[mf_dgc_0x3a60('0x25a')];_0xc28359[mf_dgc_0x3a60('0x178')]=this[mf_dgc_0x3a60('0x25a')];_0xc28359['textColor']=mf_dgc_0x3a60('0x260');_0xc28359[mf_dgc_0x3a60('0x261')]=0xd;_0xc28359['backBrush']=this['labelBrush'];var _0x469a5d=new _0x4d2758['Rect'](0x0,0x0,0x78,0x14);var _0x5dd48e=new _0x4b0f07['Style']();_0x5dd48e[mf_dgc_0x3a60('0x1dd')]=mf_dgc_0x3a60('0x260');_0x5dd48e[mf_dgc_0x3a60('0x178')]='#000';_0x5dd48e[mf_dgc_0x3a60('0x262')]=mf_dgc_0x3a60('0x260');var _0x329325=new _0x4d2758[(mf_dgc_0x3a60('0x13e'))](0x0,0x0,0x64,0x28);var _0x474c3c=new _0x4b0f07[(mf_dgc_0x3a60('0x263'))](_0x1f7f54);_0x474c3c[mf_dgc_0x3a60('0xbd')]=_0x469a5d[mf_dgc_0x3a60('0x14e')]();_0x474c3c[mf_dgc_0x3a60('0x129')]=this['templatesLabel'];_0x474c3c[mf_dgc_0x3a60('0xb2')]=_0xc28359;this[mf_dgc_0x3a60('0x264')](_0x474c3c,'',!![],!![]);var _0x474c3c=new _0x4b0f07[(mf_dgc_0x3a60('0x263'))](_0x1f7f54);_0x474c3c[mf_dgc_0x3a60('0xbd')]=_0x329325[mf_dgc_0x3a60('0x14e')]();_0x474c3c[mf_dgc_0x3a60('0x265')]=_0x3d8984[mf_dgc_0x3a60('0x18a')](_0x329325,mf_dgc_0x3a60('0x18c'));_0x474c3c[mf_dgc_0x3a60('0x1d5')]=_0x4b0f07[mf_dgc_0x3a60('0x266')]['Rectangle']();_0x474c3c[mf_dgc_0x3a60('0xb2')]=_0x5dd48e;this[mf_dgc_0x3a60('0x264')](_0x474c3c);var _0x474c3c=new _0x4b0f07[(mf_dgc_0x3a60('0x263'))](_0x1f7f54);_0x474c3c[mf_dgc_0x3a60('0xbd')]=_0x329325['clone']();_0x474c3c[mf_dgc_0x3a60('0x265')]=_0x3d8984[mf_dgc_0x3a60('0x18a')](_0x329325,'DiamondComposite');_0x474c3c['shape']=_0x4b0f07[mf_dgc_0x3a60('0x266')][mf_dgc_0x3a60('0x267')]();_0x474c3c['style']=_0x5dd48e;this[mf_dgc_0x3a60('0x264')](_0x474c3c);var _0x474c3c=new _0x4b0f07[(mf_dgc_0x3a60('0x263'))](_0x1f7f54);_0x474c3c['bounds']=_0x329325[mf_dgc_0x3a60('0x14e')]();_0x474c3c[mf_dgc_0x3a60('0x265')]=_0x3d8984[mf_dgc_0x3a60('0x18a')](_0x329325,mf_dgc_0x3a60('0x190'));_0x474c3c[mf_dgc_0x3a60('0x1d5')]=_0x4b0f07['Shapes']['Ellipse']();_0x474c3c[mf_dgc_0x3a60('0xb2')]=_0x5dd48e;this[mf_dgc_0x3a60('0x264')](_0x474c3c);var _0x474c3c=new _0x4b0f07[(mf_dgc_0x3a60('0x263'))](_0x1f7f54);_0x474c3c[mf_dgc_0x3a60('0xbd')]=_0x469a5d[mf_dgc_0x3a60('0x14e')]();_0x474c3c[mf_dgc_0x3a60('0xb2')]=_0xc28359;_0x474c3c[mf_dgc_0x3a60('0x129')]=this[mf_dgc_0x3a60('0x256')];this[mf_dgc_0x3a60('0x264')](_0x474c3c,'',!![],!![]);var _0x474c3c=new _0x4b0f07[(mf_dgc_0x3a60('0x263'))](_0x1f7f54);_0x474c3c[mf_dgc_0x3a60('0xbd')]=_0x329325[mf_dgc_0x3a60('0x14e')]();_0x474c3c[mf_dgc_0x3a60('0x265')]=_0x2f4c7b[mf_dgc_0x3a60('0x170')]();_0x474c3c[mf_dgc_0x3a60('0x1d5')]=_0x474c3c[mf_dgc_0x3a60('0x265')][mf_dgc_0x3a60('0x159')]();_0x474c3c[mf_dgc_0x3a60('0xb2')]=_0x5dd48e;this[mf_dgc_0x3a60('0x264')](_0x474c3c);var _0x474c3c=new _0x4b0f07[(mf_dgc_0x3a60('0x263'))](_0x1f7f54);_0x474c3c[mf_dgc_0x3a60('0xbd')]=_0x329325[mf_dgc_0x3a60('0x14e')]();_0x474c3c[mf_dgc_0x3a60('0x265')]=_0x5eda26['default']();_0x474c3c['shape']=_0x474c3c[mf_dgc_0x3a60('0x265')][mf_dgc_0x3a60('0x159')]();_0x474c3c['style']=_0x5dd48e;this[mf_dgc_0x3a60('0x264')](_0x474c3c);var _0x474c3c=new _0x4b0f07[(mf_dgc_0x3a60('0x263'))](_0x1f7f54);_0x474c3c['bounds']=_0x329325['clone']();_0x474c3c[mf_dgc_0x3a60('0x265')]=_0x55ad41['default']();_0x474c3c[mf_dgc_0x3a60('0x1d5')]=_0x474c3c[mf_dgc_0x3a60('0x265')][mf_dgc_0x3a60('0x159')]();_0x474c3c[mf_dgc_0x3a60('0xb2')]=_0x5dd48e;this[mf_dgc_0x3a60('0x264')](_0x474c3c);var _0x474c3c=new _0x4b0f07[(mf_dgc_0x3a60('0x263'))](_0x1f7f54);_0x474c3c[mf_dgc_0x3a60('0xbd')]=_0x329325[mf_dgc_0x3a60('0x14e')]();_0x474c3c[mf_dgc_0x3a60('0x265')]=_0x5925f2[mf_dgc_0x3a60('0x170')]();_0x474c3c[mf_dgc_0x3a60('0x1d5')]=_0x474c3c['tag'][mf_dgc_0x3a60('0x159')]();_0x474c3c[mf_dgc_0x3a60('0xb2')]=_0x5dd48e;this[mf_dgc_0x3a60('0x264')](_0x474c3c);var _0x474c3c=new _0x4b0f07[(mf_dgc_0x3a60('0x263'))](_0x1f7f54);_0x474c3c[mf_dgc_0x3a60('0xbd')]=_0x469a5d['clone']();_0x474c3c['style']=_0xc28359;_0x474c3c['text']=this['anchorPointsLabel'];this[mf_dgc_0x3a60('0x264')](_0x474c3c,'',!![],!![]);_0x329325=new _0x4d2758[(mf_dgc_0x3a60('0x13e'))](0x0,0x0,0x28,0x28);var _0x474c3c=new _0x4b0f07[(mf_dgc_0x3a60('0x263'))](_0x1f7f54);_0x474c3c[mf_dgc_0x3a60('0xbd')]=_0x329325[mf_dgc_0x3a60('0x14e')]();_0x474c3c[mf_dgc_0x3a60('0x265')]=_0x2a8d40[mf_dgc_0x3a60('0x170')](_0x33e40e['In']);_0x474c3c[mf_dgc_0x3a60('0x1d5')]=_0x474c3c[mf_dgc_0x3a60('0x265')][mf_dgc_0x3a60('0x159')]();_0x474c3c[mf_dgc_0x3a60('0xb2')]=_0x5dd48e;this['addNode'](_0x474c3c);var _0x474c3c=new _0x4b0f07[(mf_dgc_0x3a60('0x263'))](_0x1f7f54);_0x474c3c[mf_dgc_0x3a60('0xbd')]=_0x329325[mf_dgc_0x3a60('0x14e')]();_0x474c3c[mf_dgc_0x3a60('0x265')]=_0x2a8d40[mf_dgc_0x3a60('0x170')](_0x33e40e['Out']);_0x474c3c[mf_dgc_0x3a60('0x1d5')]=_0x474c3c[mf_dgc_0x3a60('0x265')][mf_dgc_0x3a60('0x159')]();_0x474c3c[mf_dgc_0x3a60('0xb2')]=_0x5dd48e;this[mf_dgc_0x3a60('0x264')](_0x474c3c);var _0x474c3c=new _0x4b0f07['ShapeNode'](_0x1f7f54);_0x474c3c[mf_dgc_0x3a60('0xbd')]=_0x329325[mf_dgc_0x3a60('0x14e')]();_0x474c3c[mf_dgc_0x3a60('0x265')]=_0x2a8d40[mf_dgc_0x3a60('0x170')](_0x33e40e[mf_dgc_0x3a60('0x1c6')]);_0x474c3c[mf_dgc_0x3a60('0x1d5')]=_0x474c3c['tag'][mf_dgc_0x3a60('0x159')]();_0x474c3c[mf_dgc_0x3a60('0xb2')]=_0x5dd48e;this[mf_dgc_0x3a60('0x264')](_0x474c3c);}},{'key':mf_dgc_0x3a60('0x210'),'value':function onMouseMove(_0x432fe8){_0x5b4727(_0x10135f(_0x30407a[mf_dgc_0x3a60('0x17')]),mf_dgc_0x3a60('0x210'),this)[mf_dgc_0x3a60('0x20')](this,_0x432fe8);if(this[mf_dgc_0x3a60('0x268')]!=null){var _0x19e3ff=this['targetAsDiagramView'](_0x432fe8);if(_0x19e3ff){var _0x362f70=_0x4bec27[mf_dgc_0x3a60('0xfc')]['getCursorPos'](_0x432fe8,_0x19e3ff[mf_dgc_0x3a60('0x63')]);_0x19e3ff['onElementDrag'](this[mf_dgc_0x3a60('0x268')]['tag']['clone'](),_0x362f70);_0x19e3ff[mf_dgc_0x3a60('0x63')][mf_dgc_0x3a60('0x60')]['style']['cursor']=mf_dgc_0x3a60('0x269');}}}},{'key':mf_dgc_0x3a60('0x26a'),'value':function(){var _0x1f0590=_0x224570(regeneratorRuntime[mf_dgc_0x3a60('0x242')](function _callee(_0x5c6ea7){var _0x6c103b,_0x1e9128;return regeneratorRuntime[mf_dgc_0x3a60('0x243')](function _callee$(_0x98976e){while(0x1){switch(_0x98976e[mf_dgc_0x3a60('0x244')]=_0x98976e[mf_dgc_0x3a60('0xf')]){case 0x0:if(!(this[mf_dgc_0x3a60('0x268')]==null)){_0x98976e[mf_dgc_0x3a60('0xf')]=0x2;break;}return _0x98976e[mf_dgc_0x3a60('0x26b')](mf_dgc_0x3a60('0x2f'));case 0x2:_0x6c103b=this['targetAsDiagramView'](_0x5c6ea7);if(!(_0x6c103b!=null)){_0x98976e[mf_dgc_0x3a60('0xf')]=0xc;break;}if(_0x6c103b[mf_dgc_0x3a60('0x26c')]){_0x98976e[mf_dgc_0x3a60('0xf')]=0x6;break;}return _0x98976e[mf_dgc_0x3a60('0x26b')](mf_dgc_0x3a60('0x2f'));case 0x6:_0x1e9128=_0x4bec27[mf_dgc_0x3a60('0xfc')][mf_dgc_0x3a60('0x26d')](_0x5c6ea7,_0x6c103b['element']);_0x6c103b[mf_dgc_0x3a60('0x23e')](this[mf_dgc_0x3a60('0x268')]['tag'],_0x1e9128);_0x6c103b[mf_dgc_0x3a60('0x26e')]();delete window[mf_dgc_0x3a60('0x26f')];_0x6c103b[mf_dgc_0x3a60('0x92')][mf_dgc_0x3a60('0x1b6')]();_0x6c103b[mf_dgc_0x3a60('0x63')][mf_dgc_0x3a60('0x60')][mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0x270')]=mf_dgc_0x3a60('0x170');case 0xc:document[mf_dgc_0x3a60('0x271')]['style'][mf_dgc_0x3a60('0x270')]='default';this[mf_dgc_0x3a60('0x272')]=null;this[mf_dgc_0x3a60('0x273')]();case 0xf:case'end':return _0x98976e[mf_dgc_0x3a60('0x249')]();}}},_callee,this);}));function _0x248796(_0x4e7f59){return _0x1f0590[mf_dgc_0x3a60('0xe')](this,arguments);}return _0x248796;}()},{'key':mf_dgc_0x3a60('0x274'),'value':function targetAsDiagramView(_0x7f5a2e){var _0x57f164=_0x7f5a2e['target'];if(_0x7f5a2e[mf_dgc_0x3a60('0x275')])_0x57f164=_0x7f5a2e['composedPath']()[0x0];if(_0x57f164[mf_dgc_0x3a60('0x276')]===0x1){if(_0x57f164['id']){var _0x46e5b8=_0x4bec27[mf_dgc_0x3a60('0x76')][mf_dgc_0x3a60('0x13c')](_0x57f164['id']);if(_0x46e5b8!=null){if(_0x4bec27[mf_dgc_0x3a60('0x277')][mf_dgc_0x3a60('0x278')](_0x1c3ab4,_0x46e5b8)){return _0x46e5b8;}}}}return null;}}],[{'key':mf_dgc_0x3a60('0x19'),'value':function create(_0x1e9683){return _0x4bec27['Control'][mf_dgc_0x3a60('0x13b')](_0x30407a,_0x1e9683);}}]);return _0x30407a;}(_0x4b0f07[mf_dgc_0x3a60('0x279')]);var _0x18b5e2=function(_0x2aa386){_0x5126de(_0x18b5e2,_0x2aa386);var _0x34f10f=_0x3c0983(_0x18b5e2);function _0x18b5e2(_0x1d17b5){_0x324f65(this,_0x18b5e2);return _0x34f10f[mf_dgc_0x3a60('0x20')](this,_0x1d17b5);}_0x6e9ccc(_0x18b5e2,[{'key':'initialize','value':function initialize(){_0x5b4727(_0x10135f(_0x18b5e2[mf_dgc_0x3a60('0x17')]),mf_dgc_0x3a60('0x57'),this)[mf_dgc_0x3a60('0x20')](this);this[mf_dgc_0x3a60('0x63')][mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xc0')]=mf_dgc_0x3a60('0xb3');this[mf_dgc_0x3a60('0x63')][mf_dgc_0x3a60('0xb2')]['gridTemplateColumns']='1fr\x20140px';this[mf_dgc_0x3a60('0x63')][mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0x27a')]=mf_dgc_0x3a60('0x27b');var _0x3669b7=_0x4bec27[mf_dgc_0x3a60('0xfc')][mf_dgc_0x3a60('0xae')](this['element'],this['element'][mf_dgc_0x3a60('0x60')]);var _0x3e4a9c=document[mf_dgc_0x3a60('0xc9')]('div');_0x3e4a9c[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xb0')]=_0x3669b7[mf_dgc_0x3a60('0xb0')]+'px';_0x3e4a9c[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xba')]='hidden';var _0x1b6c59=document[mf_dgc_0x3a60('0xc9')]('canvas');_0x1b6c59['id']=this[mf_dgc_0x3a60('0x63')]['id']+mf_dgc_0x3a60('0x27c');_0x1b6c59[mf_dgc_0x3a60('0xb0')]=_0x3669b7[mf_dgc_0x3a60('0xb0')];_0x3e4a9c[mf_dgc_0x3a60('0x65')](_0x1b6c59);this[mf_dgc_0x3a60('0x63')][mf_dgc_0x3a60('0x65')](_0x3e4a9c);this[mf_dgc_0x3a60('0x27d')]=_0x1c3ab4[mf_dgc_0x3a60('0x19')](_0x1b6c59);this[mf_dgc_0x3a60('0x27d')][mf_dgc_0x3a60('0x240')]=this;var _0x3e4a9c=document['createElement']('div');_0x3e4a9c[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xaf')]='140px';_0x3e4a9c[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xc4')]=mf_dgc_0x3a60('0xc7');_0x3e4a9c[mf_dgc_0x3a60('0xb2')]['overflowY']=mf_dgc_0x3a60('0xc5');_0x3e4a9c[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xb0')]=_0x3669b7[mf_dgc_0x3a60('0xb0')]+'px';var _0x1b6c59=document['createElement']('canvas');_0x1b6c59[mf_dgc_0x3a60('0xb0')]=_0x3669b7[mf_dgc_0x3a60('0xb0')];_0x1b6c59[mf_dgc_0x3a60('0xaf')]=mf_dgc_0x3a60('0x27e');_0x3e4a9c['appendChild'](_0x1b6c59);this[mf_dgc_0x3a60('0x63')][mf_dgc_0x3a60('0x65')](_0x3e4a9c);this[mf_dgc_0x3a60('0x27f')]=_0x30407a['create'](_0x1b6c59);var _0x39cc9d=new _0x3b18de[(mf_dgc_0x3a60('0x280'))]();_0x39cc9d[mf_dgc_0x3a60('0x281')]=![];_0x39cc9d['allowMaximize']=![];_0x39cc9d[mf_dgc_0x3a60('0x282')]=![];_0x39cc9d['allowPin']=![];_0x39cc9d['title']=mf_dgc_0x3a60('0x283');_0x39cc9d[mf_dgc_0x3a60('0x284')]=this;_0x39cc9d[mf_dgc_0x3a60('0x285')]=this[mf_dgc_0x3a60('0x286')]();this[mf_dgc_0x3a60('0x63')]['appendChild'](_0x39cc9d[mf_dgc_0x3a60('0x66')]());_0x39cc9d['attach']();_0x39cc9d[mf_dgc_0x3a60('0x287')]();_0x39cc9d[mf_dgc_0x3a60('0x46')]=![];this[mf_dgc_0x3a60('0x288')]=_0x39cc9d;this['showShapeProperties']=!![];}},{'key':mf_dgc_0x3a60('0x6a'),'value':function dispose(){this['view'][mf_dgc_0x3a60('0x6a')]();this[mf_dgc_0x3a60('0x27f')]['dispose']();this[mf_dgc_0x3a60('0x288')]['dispose']();_0x5b4727(_0x10135f(_0x18b5e2[mf_dgc_0x3a60('0x17')]),mf_dgc_0x3a60('0x6a'),this)[mf_dgc_0x3a60('0x20')](this);}},{'key':mf_dgc_0x3a60('0x289'),'value':function getContent(){return this[mf_dgc_0x3a60('0x63')];}},{'key':'generatePropertyPanelTemplate','value':function generatePropertyPanelTemplate(){var _0x33dc1c=document[mf_dgc_0x3a60('0xc9')](mf_dgc_0x3a60('0xca'));_0x33dc1c[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xc0')]=mf_dgc_0x3a60('0x28a');_0x33dc1c[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0x28b')]=mf_dgc_0x3a60('0x28c');_0x33dc1c[mf_dgc_0x3a60('0xb2')]['alignItems']=mf_dgc_0x3a60('0x28d');_0x33dc1c[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0x28e')]=mf_dgc_0x3a60('0x28f');_0x33dc1c[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0x290')]=mf_dgc_0x3a60('0x28f');var _0x386d4c=document['createElement']('label');_0x386d4c['innerText']='Stroke\x20Color';_0x33dc1c['appendChild'](_0x386d4c);var _0x45fd55=document['createElement'](mf_dgc_0x3a60('0x291'));_0x45fd55['id']=this[mf_dgc_0x3a60('0x63')]['id']+'p_strokecolor';_0x45fd55[mf_dgc_0x3a60('0x18b')]='color';_0x45fd55['style'][mf_dgc_0x3a60('0xaf')]='auto';_0x33dc1c[mf_dgc_0x3a60('0x65')](_0x45fd55);var _0x386d4c=document[mf_dgc_0x3a60('0xc9')]('label');_0x386d4c['id']=this[mf_dgc_0x3a60('0x63')]['id']+mf_dgc_0x3a60('0x292');_0x386d4c[mf_dgc_0x3a60('0x293')]=mf_dgc_0x3a60('0x294');_0x33dc1c[mf_dgc_0x3a60('0x65')](_0x386d4c);var _0x45fd55=document[mf_dgc_0x3a60('0xc9')](mf_dgc_0x3a60('0x291'));_0x45fd55['id']=this[mf_dgc_0x3a60('0x63')]['id']+mf_dgc_0x3a60('0x295');_0x45fd55[mf_dgc_0x3a60('0x18b')]=mf_dgc_0x3a60('0x296');_0x45fd55[mf_dgc_0x3a60('0xbf')]=-0x1;_0x45fd55['max']=0xa;_0x45fd55[mf_dgc_0x3a60('0x297')]=this[mf_dgc_0x3a60('0x298')][mf_dgc_0x3a60('0x21')](this);_0x33dc1c[mf_dgc_0x3a60('0x65')](_0x45fd55);var _0x386d4c=document[mf_dgc_0x3a60('0xc9')](mf_dgc_0x3a60('0x299'));_0x386d4c['id']=this['element']['id']+'l_strokedashstyle';_0x386d4c[mf_dgc_0x3a60('0x293')]=mf_dgc_0x3a60('0x29a');_0x33dc1c['appendChild'](_0x386d4c);var _0x45fd55=document[mf_dgc_0x3a60('0xc9')](mf_dgc_0x3a60('0x29b'));_0x45fd55['id']=this[mf_dgc_0x3a60('0x63')]['id']+mf_dgc_0x3a60('0x29c');Object[mf_dgc_0x3a60('0x29d')](_0x4d2758[mf_dgc_0x3a60('0x162')])[mf_dgc_0x3a60('0xe2')](function(_0x52eced){if(_0x52eced[0x1]instanceof Function);else{var _0x288fcc=document[mf_dgc_0x3a60('0xc9')]('option');_0x288fcc[mf_dgc_0x3a60('0xa')]=_0x52eced[0x1];_0x288fcc[mf_dgc_0x3a60('0x129')]=_0x52eced[0x0];_0x45fd55[mf_dgc_0x3a60('0x65')](_0x288fcc);}});_0x45fd55[mf_dgc_0x3a60('0x297')]=this['setProp'][mf_dgc_0x3a60('0x21')](this);_0x33dc1c[mf_dgc_0x3a60('0x65')](_0x45fd55);var _0x386d4c=document[mf_dgc_0x3a60('0xc9')]('label');_0x386d4c['id']=this[mf_dgc_0x3a60('0x63')]['id']+mf_dgc_0x3a60('0x29e');_0x386d4c[mf_dgc_0x3a60('0x293')]='Fill\x20Color';_0x33dc1c['appendChild'](_0x386d4c);var _0x45fd55=document[mf_dgc_0x3a60('0xc9')]('input');_0x45fd55['id']=this['element']['id']+'p_fillcolor';_0x45fd55[mf_dgc_0x3a60('0x18b')]=mf_dgc_0x3a60('0x160');_0x45fd55[mf_dgc_0x3a60('0xb2')]['width']=mf_dgc_0x3a60('0xc5');_0x45fd55[mf_dgc_0x3a60('0x297')]=this[mf_dgc_0x3a60('0x298')]['bind'](this);_0x33dc1c[mf_dgc_0x3a60('0x65')](_0x45fd55);var _0x386d4c=document['createElement'](mf_dgc_0x3a60('0x299'));_0x386d4c['id']=this['element']['id']+mf_dgc_0x3a60('0x29f');_0x386d4c[mf_dgc_0x3a60('0x293')]=mf_dgc_0x3a60('0x25f');_0x33dc1c[mf_dgc_0x3a60('0x65')](_0x386d4c);var _0x45fd55=document['createElement'](mf_dgc_0x3a60('0x29b'));_0x45fd55['id']=this['element']['id']+'p_anchorstyle';Object[mf_dgc_0x3a60('0x29d')](_0x4b0f07[mf_dgc_0x3a60('0x1cb')])[mf_dgc_0x3a60('0xe2')](function(_0x614860){if(_0x614860[0x1]instanceof Function);else{var _0x238723=document[mf_dgc_0x3a60('0xc9')](mf_dgc_0x3a60('0x2a0'));_0x238723['value']=_0x614860[0x1];_0x238723[mf_dgc_0x3a60('0x129')]=_0x614860[0x0];_0x45fd55[mf_dgc_0x3a60('0x65')](_0x238723);}});_0x45fd55[mf_dgc_0x3a60('0x297')]=this[mf_dgc_0x3a60('0x298')][mf_dgc_0x3a60('0x21')](this);_0x33dc1c[mf_dgc_0x3a60('0x65')](_0x45fd55);var _0x386d4c=document[mf_dgc_0x3a60('0xc9')](mf_dgc_0x3a60('0x299'));_0x386d4c['id']=this['element']['id']+mf_dgc_0x3a60('0x2a1');_0x386d4c[mf_dgc_0x3a60('0x293')]='Size';_0x33dc1c[mf_dgc_0x3a60('0x65')](_0x386d4c);var _0x45fd55=document['createElement']('input');_0x45fd55['id']=this[mf_dgc_0x3a60('0x63')]['id']+mf_dgc_0x3a60('0x2a2');_0x45fd55[mf_dgc_0x3a60('0x18b')]='number';_0x45fd55[mf_dgc_0x3a60('0xbf')]=0x1;_0x45fd55[mf_dgc_0x3a60('0x122')]=0x14;_0x45fd55[mf_dgc_0x3a60('0x297')]=this['setProp'][mf_dgc_0x3a60('0x21')](this);_0x33dc1c['appendChild'](_0x45fd55);return _0x33dc1c[mf_dgc_0x3a60('0x2a3')];}},{'key':mf_dgc_0x3a60('0x2a4'),'value':function rebindPropertyPanel(_0x4e2212){if(!_0x4e2212)return;var _0x1e3f1b=this[mf_dgc_0x3a60('0x288')][mf_dgc_0x3a60('0x63')][mf_dgc_0x3a60('0xd3')]('#'+this[mf_dgc_0x3a60('0x63')]['id']+mf_dgc_0x3a60('0x2a5'));_0x1e3f1b[mf_dgc_0x3a60('0xa')]=_0x4e2212[mf_dgc_0x3a60('0x146')];_0x1e3f1b[mf_dgc_0x3a60('0x297')]=this[mf_dgc_0x3a60('0x298')][mf_dgc_0x3a60('0x21')](this);var _0x1e3f1b=this[mf_dgc_0x3a60('0x288')][mf_dgc_0x3a60('0x63')][mf_dgc_0x3a60('0xd3')]('#'+this['element']['id']+mf_dgc_0x3a60('0x295'));var _0x3e3b76=this[mf_dgc_0x3a60('0x288')][mf_dgc_0x3a60('0x63')][mf_dgc_0x3a60('0xd3')]('#'+this['element']['id']+mf_dgc_0x3a60('0x292'));if(_0x4e2212 instanceof _0x2a8d40){_0x1e3f1b['style']['display']='none';_0x3e3b76[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xc0')]='none';}else{_0x1e3f1b[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xc0')]='block';_0x3e3b76[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xc0')]='block';_0x1e3f1b[mf_dgc_0x3a60('0xa')]=_0x4e2212[mf_dgc_0x3a60('0x147')]||-0x1;_0x1e3f1b[mf_dgc_0x3a60('0x297')]=this['setProp'][mf_dgc_0x3a60('0x21')](this);}var _0x1e3f1b=this[mf_dgc_0x3a60('0x288')][mf_dgc_0x3a60('0x63')][mf_dgc_0x3a60('0xd3')]('#'+this[mf_dgc_0x3a60('0x63')]['id']+mf_dgc_0x3a60('0x29c'));var _0x3e3b76=this[mf_dgc_0x3a60('0x288')][mf_dgc_0x3a60('0x63')][mf_dgc_0x3a60('0xd3')]('#'+this[mf_dgc_0x3a60('0x63')]['id']+mf_dgc_0x3a60('0x2a6'));if(_0x4e2212 instanceof _0x2a8d40){_0x1e3f1b[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xc0')]=mf_dgc_0x3a60('0x2a7');_0x3e3b76['style'][mf_dgc_0x3a60('0xc0')]='none';}else{_0x1e3f1b[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xc0')]='block';_0x3e3b76[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xc0')]=mf_dgc_0x3a60('0x2a8');_0x1e3f1b[mf_dgc_0x3a60('0xa')]=_0x4e2212[mf_dgc_0x3a60('0x148')];_0x1e3f1b['onchange']=this[mf_dgc_0x3a60('0x298')][mf_dgc_0x3a60('0x21')](this);}var _0x1e3f1b=this[mf_dgc_0x3a60('0x288')][mf_dgc_0x3a60('0x63')][mf_dgc_0x3a60('0xd3')]('#'+this[mf_dgc_0x3a60('0x63')]['id']+mf_dgc_0x3a60('0x2a9'));var _0x3e3b76=this[mf_dgc_0x3a60('0x288')][mf_dgc_0x3a60('0x63')][mf_dgc_0x3a60('0xd3')]('#'+this[mf_dgc_0x3a60('0x63')]['id']+mf_dgc_0x3a60('0x29e'));if(_0x4e2212 instanceof _0x363d4e){_0x1e3f1b[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xc0')]=mf_dgc_0x3a60('0x2a8');_0x3e3b76[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xc0')]=mf_dgc_0x3a60('0x2a8');_0x1e3f1b[mf_dgc_0x3a60('0xa')]=_0x4e2212['fillColor'];_0x1e3f1b[mf_dgc_0x3a60('0x297')]=this[mf_dgc_0x3a60('0x298')][mf_dgc_0x3a60('0x21')](this);}else{_0x1e3f1b['style'][mf_dgc_0x3a60('0xc0')]='none';_0x3e3b76[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xc0')]=mf_dgc_0x3a60('0x2a7');}var _0x1e3f1b=this[mf_dgc_0x3a60('0x288')][mf_dgc_0x3a60('0x63')]['querySelector']('#'+this[mf_dgc_0x3a60('0x63')]['id']+mf_dgc_0x3a60('0x2aa'));var _0x3e3b76=this[mf_dgc_0x3a60('0x288')][mf_dgc_0x3a60('0x63')][mf_dgc_0x3a60('0xd3')]('#'+this['element']['id']+mf_dgc_0x3a60('0x29f'));if(_0x4e2212 instanceof _0x2a8d40){_0x1e3f1b['style'][mf_dgc_0x3a60('0xc0')]=mf_dgc_0x3a60('0x2a8');_0x3e3b76['style'][mf_dgc_0x3a60('0xc0')]=mf_dgc_0x3a60('0x2a8');_0x1e3f1b['value']=_0x4e2212[mf_dgc_0x3a60('0xb2')];_0x1e3f1b[mf_dgc_0x3a60('0x297')]=this[mf_dgc_0x3a60('0x298')][mf_dgc_0x3a60('0x21')](this);}else{_0x1e3f1b[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xc0')]='none';_0x3e3b76[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xc0')]='none';}var _0x1e3f1b=this['propertyPanel']['element'][mf_dgc_0x3a60('0xd3')]('#'+this[mf_dgc_0x3a60('0x63')]['id']+mf_dgc_0x3a60('0x2a2'));var _0x3e3b76=this['propertyPanel']['element']['querySelector']('#'+this[mf_dgc_0x3a60('0x63')]['id']+mf_dgc_0x3a60('0x2a1'));if(_0x4e2212 instanceof _0x2a8d40){_0x1e3f1b[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xc0')]='block';_0x3e3b76['style'][mf_dgc_0x3a60('0xc0')]=mf_dgc_0x3a60('0x2a8');_0x1e3f1b[mf_dgc_0x3a60('0xa')]=_0x4e2212[mf_dgc_0x3a60('0x1c0')];_0x1e3f1b[mf_dgc_0x3a60('0x297')]=this[mf_dgc_0x3a60('0x298')][mf_dgc_0x3a60('0x21')](this);}else{_0x1e3f1b[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0xc0')]=mf_dgc_0x3a60('0x2a7');_0x3e3b76['style'][mf_dgc_0x3a60('0xc0')]=mf_dgc_0x3a60('0x2a7');}}},{'key':mf_dgc_0x3a60('0x298'),'value':function setProp(_0x27dc46){if(!this[mf_dgc_0x3a60('0x1b5')])return;if(_0x27dc46[mf_dgc_0x3a60('0xff')]['id'][mf_dgc_0x3a60('0x1a8')](mf_dgc_0x3a60('0x2ab'))>-0x1)this[mf_dgc_0x3a60('0x1b5')]['strokeColor']=_0x27dc46['target'][mf_dgc_0x3a60('0xa')];else if(_0x27dc46[mf_dgc_0x3a60('0xff')]['id'][mf_dgc_0x3a60('0x1a8')](mf_dgc_0x3a60('0x2ac'))>-0x1)this[mf_dgc_0x3a60('0x1b5')][mf_dgc_0x3a60('0x147')]=+_0x27dc46['target']['value']==-0x1?undefined:+_0x27dc46[mf_dgc_0x3a60('0xff')]['value'];else if(_0x27dc46[mf_dgc_0x3a60('0xff')]['id'][mf_dgc_0x3a60('0x1a8')](mf_dgc_0x3a60('0x2ad'))>-0x1)this[mf_dgc_0x3a60('0x1b5')]['strokeDashStyle']=+_0x27dc46[mf_dgc_0x3a60('0xff')][mf_dgc_0x3a60('0xa')];else if(_0x27dc46[mf_dgc_0x3a60('0xff')]['id'][mf_dgc_0x3a60('0x1a8')]('fillcolor')>-0x1)this[mf_dgc_0x3a60('0x1b5')][mf_dgc_0x3a60('0x1b8')]=_0x27dc46['target']['value'];else if(_0x27dc46[mf_dgc_0x3a60('0xff')]['id'][mf_dgc_0x3a60('0x1a8')](mf_dgc_0x3a60('0x2ae'))>-0x1)this[mf_dgc_0x3a60('0x1b5')][mf_dgc_0x3a60('0xb2')]=+_0x27dc46[mf_dgc_0x3a60('0xff')][mf_dgc_0x3a60('0xa')];else if(_0x27dc46[mf_dgc_0x3a60('0xff')]['id']['indexOf'](mf_dgc_0x3a60('0x2af'))>-0x1)this['selectedElement'][mf_dgc_0x3a60('0x1c0')]=+_0x27dc46[mf_dgc_0x3a60('0xff')][mf_dgc_0x3a60('0xa')];this['view'][mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x1b6')]();this[mf_dgc_0x3a60('0xdc')](_0x37657a[mf_dgc_0x3a60('0x36')],_0x4bec27[mf_dgc_0x3a60('0xde')]['Empty']);}},{'key':mf_dgc_0x3a60('0x250'),'value':function importShape(_0x5df766){this['selectedElement']=null;this['view'][mf_dgc_0x3a60('0x250')](_0x5df766);this['raiseEvent'](_0x37657a[mf_dgc_0x3a60('0x36')],_0x4bec27[mf_dgc_0x3a60('0xde')]['Empty']);}},{'key':'exportShape','value':function exportShape(_0xd81d9){if(this[mf_dgc_0x3a60('0x27d')][mf_dgc_0x3a60('0xd8')]==null)return null;return this[mf_dgc_0x3a60('0x27d')][mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x198')][mf_dgc_0x3a60('0x1e8')](_0xd81d9);}},{'key':mf_dgc_0x3a60('0x24d'),'value':function undo(){this[mf_dgc_0x3a60('0x27d')][mf_dgc_0x3a60('0x24d')]();}},{'key':mf_dgc_0x3a60('0x24f'),'value':function redo(){this[mf_dgc_0x3a60('0x27d')][mf_dgc_0x3a60('0x24f')]();}},{'key':mf_dgc_0x3a60('0x222'),'value':function removeElement(_0x36c54d){this[mf_dgc_0x3a60('0x27d')][mf_dgc_0x3a60('0x222')](_0x36c54d);}},{'key':mf_dgc_0x3a60('0x251'),'value':function copyToClipboard(){this['view'][mf_dgc_0x3a60('0x251')]();}},{'key':mf_dgc_0x3a60('0x253'),'value':function pasteFromClipboard(_0x70b8fc,_0x3ffacd){this[mf_dgc_0x3a60('0x27d')][mf_dgc_0x3a60('0x253')](_0x70b8fc,_0x3ffacd);}},{'key':mf_dgc_0x3a60('0x2b0'),'value':function refresh(){this[mf_dgc_0x3a60('0x27d')][mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x1b6')]();this[mf_dgc_0x3a60('0x2a4')](this['selectedElement']);}},{'key':mf_dgc_0x3a60('0x1b5'),'get':function get(){return this['view'][mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x1b5')];},'set':function set(_0x1d9b1e){if(this[mf_dgc_0x3a60('0x27d')][mf_dgc_0x3a60('0x1b5')]!=_0x1d9b1e){this[mf_dgc_0x3a60('0x27d')]['selectedElement']=_0x1d9b1e;}if(_0x1d9b1e!=null&&!_0x1d9b1e[mf_dgc_0x3a60('0x1cd')]&&!(_0x1d9b1e instanceof _0x229515)){this['rebindPropertyPanel'](_0x1d9b1e);if(this[mf_dgc_0x3a60('0x2b1')]){this[mf_dgc_0x3a60('0x288')]['visible']=!![];this['propertyPanel']['autoSize']();}}else this[mf_dgc_0x3a60('0x288')][mf_dgc_0x3a60('0x46')]=![];}},{'key':mf_dgc_0x3a60('0x2b1'),'get':function get(){return this['_showShapeProperties'];},'set':function set(_0xd4c1ad){if(this['_showShapeProperties']!=_0xd4c1ad){this[mf_dgc_0x3a60('0x2b2')]=_0xd4c1ad;}}},{'key':mf_dgc_0x3a60('0x1f8'),'get':function get(){return this[mf_dgc_0x3a60('0x27d')][mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x198')][mf_dgc_0x3a60('0x1f8')];},'set':function set(_0x285826){this['view'][mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x198')][mf_dgc_0x3a60('0x1f8')]=_0x285826;if(!_0x285826){if(this[mf_dgc_0x3a60('0x1b5')]&&this['selectedElement'][mf_dgc_0x3a60('0x1cd')])this[mf_dgc_0x3a60('0x1b5')]=null;}this['view'][mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x1b6')]();}},{'key':mf_dgc_0x3a60('0x2b3'),'get':function get(){return this[mf_dgc_0x3a60('0x27f')][mf_dgc_0x3a60('0x2b3')];},'set':function set(_0xcb9f66){this[mf_dgc_0x3a60('0x27f')]['templatesLabel']=_0xcb9f66;}},{'key':mf_dgc_0x3a60('0x256'),'get':function get(){return this[mf_dgc_0x3a60('0x27f')][mf_dgc_0x3a60('0x256')];},'set':function set(_0xb28bcc){this['palette']['primitivesLabel']=_0xb28bcc;}},{'key':mf_dgc_0x3a60('0x258'),'get':function get(){return this[mf_dgc_0x3a60('0x27f')][mf_dgc_0x3a60('0x258')];},'set':function set(_0x11823c){this[mf_dgc_0x3a60('0x27f')]['anchorPointsLabel']=_0x11823c;}},{'key':mf_dgc_0x3a60('0x21a'),'get':function get(){return this[mf_dgc_0x3a60('0x27d')][mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x21a')];},'set':function set(_0x12a42f){this[mf_dgc_0x3a60('0x27d')]['canvas'][mf_dgc_0x3a60('0x21a')]=_0x12a42f;}},{'key':mf_dgc_0x3a60('0x245'),'get':function get(){return this[mf_dgc_0x3a60('0x27d')]['canvas']['alignToGrid'];},'set':function set(_0x269574){this['view']['canvas'][mf_dgc_0x3a60('0x245')]=_0x269574;}},{'key':mf_dgc_0x3a60('0x232'),'get':function get(){return this[mf_dgc_0x3a60('0x27d')][mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x232')];},'set':function set(_0x424ade){this['view'][mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x232')]=_0x424ade;}},{'key':mf_dgc_0x3a60('0x234'),'get':function get(){return this[mf_dgc_0x3a60('0x27d')][mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x234')];},'set':function set(_0x34fa12){this[mf_dgc_0x3a60('0x27d')][mf_dgc_0x3a60('0xd8')][mf_dgc_0x3a60('0x234')]=_0x34fa12;}},{'key':mf_dgc_0x3a60('0x89'),'get':function get(){return this['_theme'];},'set':function set(_0x2ea49a){if(this['_theme']!=_0x2ea49a){this[mf_dgc_0x3a60('0x115')]=_0x2ea49a;if(this[mf_dgc_0x3a60('0x5f')]){var _0x5842b8=this['shadowParent'][mf_dgc_0x3a60('0x116')](mf_dgc_0x3a60('0x117'));_0x55c8ba(_0x5842b8)['forEach'](function(_0x330cf3){return _0x330cf3[mf_dgc_0x3a60('0x60')]['removeChild'](_0x330cf3);});var _0x1d1a62=document[mf_dgc_0x3a60('0xc9')]('link');_0x1d1a62[mf_dgc_0x3a60('0x2b4')]=this[mf_dgc_0x3a60('0x118')]+this[mf_dgc_0x3a60('0x115')]['id']+mf_dgc_0x3a60('0x119');_0x1d1a62[mf_dgc_0x3a60('0x2b5')]='stylesheet';this['shadowParent'][mf_dgc_0x3a60('0x65')](_0x1d1a62);}this[mf_dgc_0x3a60('0x288')][mf_dgc_0x3a60('0x89')]=_0x2ea49a;}}},{'key':mf_dgc_0x3a60('0x118'),'get':function get(){return this['_themesPath']||'';},'set':function set(_0xfce8f2){if(this[mf_dgc_0x3a60('0x11a')]!=_0xfce8f2){this[mf_dgc_0x3a60('0x11a')]=_0xfce8f2;}}},{'key':mf_dgc_0x3a60('0x36'),'get':function get(){if(!this[mf_dgc_0x3a60('0x2b6')])this[mf_dgc_0x3a60('0x2b6')]=new _0x4bec27[(mf_dgc_0x3a60('0x12b'))]();return this[mf_dgc_0x3a60('0x2b6')];}},{'key':mf_dgc_0x3a60('0x131'),'value':function connectedCallback(){var _0x32fadf=this[mf_dgc_0x3a60('0x132')]({'mode':mf_dgc_0x3a60('0x8b')});var _0x13956f=document[mf_dgc_0x3a60('0xc9')](mf_dgc_0x3a60('0xca'));_0x13956f[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0x139')]=this[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0x139')];this[mf_dgc_0x3a60('0xb2')][mf_dgc_0x3a60('0x139')]='';_0x32fadf[mf_dgc_0x3a60('0x65')](_0x13956f);this[mf_dgc_0x3a60('0x13a')]('id');var _0x5b7320=_0x18b5e2[mf_dgc_0x3a60('0x19')](_0x13956f);_0x5b7320[mf_dgc_0x3a60('0x5f')]=_0x32fadf;}}],[{'key':mf_dgc_0x3a60('0x19'),'value':function create(_0x4a6932){return _0x4bec27['Control']['createControl'](_0x18b5e2,_0x4a6932);}}]);return _0x18b5e2;}(_0x4bec27[mf_dgc_0x3a60('0x76')]);var _0x30c01f=typeof window!==mf_dgc_0x3a60('0x1')?window:global;var _0x274da7=function(){function _0x274da7(){_0x324f65(this,_0x274da7);}_0x6e9ccc(_0x274da7,null,[{'key':mf_dgc_0x3a60('0x2b7'),'value':function register(){if(_0x30c01f[mf_dgc_0x3a60('0x2b8')]!=undefined){_0x3b18de[mf_dgc_0x3a60('0x2b9')]['register']();_0x4b0f07[mf_dgc_0x3a60('0x2b9')][mf_dgc_0x3a60('0x2b7')]();if(_0x30c01f[mf_dgc_0x3a60('0x2b8')][mf_dgc_0x3a60('0x24')]('mindfusion-tabbeddiagramview')==undefined)_0x30c01f[mf_dgc_0x3a60('0x2b8')][mf_dgc_0x3a60('0x2ba')](mf_dgc_0x3a60('0x2bb'),_0x16c1a6);}}}]);return _0x274da7;}();_0x1c2f26[mf_dgc_0x3a60('0x6d')]=_0x37657a;_0x1c2f26['PageEventArgs']=_0x45f170;_0x1c2f26['ShapeBuilder']=_0x9b0a4a;_0x1c2f26[mf_dgc_0x3a60('0x2bc')]=_0x18b5e2;_0x1c2f26[mf_dgc_0x3a60('0x2bd')]=_0x5eb876;_0x1c2f26[mf_dgc_0x3a60('0x2be')]=_0x16c1a6;_0x1c2f26[mf_dgc_0x3a60('0x2b9')]=_0x274da7;Object[mf_dgc_0x3a60('0x2bf')](_0x1c2f26,mf_dgc_0x3a60('0x2c0'),{'value':!![]});}));
|