@grapecity/spread-sheets-shapes
Version:
SpreadJS Shape plugin
10 lines • 904 kB
JavaScript
/*!
*
* SpreadJS Library 18.1.4
*
* Copyright(c) of respective holders. All rights reserved.
*
* Licensed under the SpreadJS Commercial License.
*
*/
!function(t){"object"==typeof module&&"object"==typeof module.exports?module.exports=t(require("@grapecity/spread-sheets")):"function"==typeof define&&define.amd?define(["@grapecity/spread-sheets"],t):"object"==typeof exports?exports.Spread=t(require("@grapecity/spread-sheets")):t(GC)}(function(V){!function(){"use strict";var n,i,t;function e(t){var V,V,V=i[t];return void 0!==V||(V=i[t]={exports:{}},n[t].call(V.exports,V,V.exports,e)),V.exports}n={"./dist/plugins/shape/cameraShape.js":function(t,V,n){var i,e,r,c,s,o,n,d,a,h,u,x,y,f,l,g,A;function p(t){return!!w(t)}function w(t){var t,t,t=t.nvPicPr.cNvPicPr,t=t&&t.extLst;return(0,r.findSJSExt)(t,function(t){return!!t.cameraTool})}function v(t,V,n,i,e,r,c){var t,V,t=A.call(this,t,V,i,e,r,c)||this;return t.ttV=3,t.IeV=!1,(V=t).VtV="openUrl",V.ntV=y,V.Range=n,V.etV=!0,V.InitShapeFormat(),V.itV=0,t}function j(t){for(var V,n,i,e,r,c,V=t.eJ,n=t.Zc,i,e=0,r=V.shapes.all();e<r.length;e++)if((c=r[e]).name().toLowerCase()===n.toLowerCase())return c.ctV;return null}i=this&&this.__extends||(g=function(t,V){return(g=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}g(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.CameraShapeData=V.isCameraShapeNode=void 0,e=n("FloatingObject"),r=n("./dist/plugins/shape/shape.js"),c=n("Common"),s=n("./dist/plugins/shape/drawingInterface.js"),o=n("./dist/plugins/shape/ui/util.js"),n=n("Core"),d=n.util.n1,a=n.util.vo,V.isCameraShapeNode=p,h="data:image/bmp;base64,Qk1CAAAAAAAAAD4AAAAoAAAAAQAAAAEAAAABAAEAAAAAAAQAAADDDgAAww4AAAAAAAAAAAAAAAAAAP///wCAAAAA",u=e.Drawing.ARGBColor,x=c.Common.lt.ht,y=999,f=void 0,A=r.ShapeBaseData,i(v,A),Object.defineProperty(v.prototype,"Type",{get:function(){return s.ShapeType.AutoShape},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"isRangeContainsImage",{get:function(){return this.IeV},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"Range",{get:function(){return this.Z5},set:function(t){this.Z5=t},enumerable:!1,configurable:!0}),v.prototype.QVV=function(t){var V,n,V=this,n=!V.AnV&&t;V.AnV=t,V.IeV=V.FeV(),n&&V.rtV===f&&0!==V.width&&0!==V.height&&(V.rtV=V.dtV())},v.prototype.dtV=function(){var t,V,n,V,t=this,V=t.AnV,n=t.eJ.zoom();if(V)return V=V.sheet.reV(V.cellRange),t.width===V.width/n&&t.height===V.height/n},v.prototype.FeV=function(){var t,V,n,i,e,r,c,s,o,d,a,t,V=this.AnV;if(V)for(i=(n=V.cellRange.row)+V.cellRange.rowCount-1,r=(e=V.cellRange.col)+V.cellRange.colCount-1,c=V.sheet,s=n;s<=i;s++)for(o=e;o<=r;o++){if((d=c.getValue(s,o))&&"SparklineExValue"===d.typeName&&d.value&&d.value.isBarcode)return!0;if((a=c.getCell(s,o)).backgroundImage())return!0}},v.prototype.InitShapeFormat=function(){var t=this;t.InitFillFormat(),t.InitLineFormat()},v.prototype.FromOOModel=function(t){var V=this;t&&t.pic&&t.pic.cellRange&&(V.Range=t.pic.cellRange),A.prototype.FromOOModel.call(this,t),V.FromCT_ShapeBase(t.pic),!1===t.isVisible&&(V._hidden=!0)},v.prototype.FromSJSOOModel=function(t,V){var n;A.prototype.FromSJSOOModel.call(this,t,V),this.FromSJSCT_ShapeBase(t)},v.prototype.ToOOModel=function(t,V){var n,i,n=this,i=A.prototype.ToOOModel.call(this,t);return i.pic=n.ToCT_ShapeBase(t,V),i},v.prototype.ToSJSOOModel=function(t,V){A.prototype.ToSJSOOModel.call(this,t,V),t.pic=this.ToSJSCT_ShapeBase(V)},v.prototype.FromCT_ShapeBase=function(t){var V,n;t&&(n=(V=this).otV=t,V.etV=!0,V.rtV=f,V.VtV=t.dblClickCommand,V.FromCT_ShapeNonVisual(n.nvPicPr),V.FromCT_ShapeStyle(n.blipFill),V.FromCT_ShapeProperties(n.spPr),V.AutoShapeType=y)},v.prototype.FromSJSCT_ShapeBase=function(t){var V,t;t&&((V=this).etV=!0,V.rtV=f,V.FromSJSCT_ShapeNonVisual(t.nvPicPr),V.atV(t.style,t),V.stV(t.spPr),V.AutoShapeType=y,t=t.lossless)&&(V.VtV=t.dblClickCommand)},v.prototype.ToCT_ShapeBase=function(t,V){var n,i,n=this;return(i=(t=!1!==t)&&n.otV||{shapeType:1}).cellRange=n.htV(null==V?void 0:V.newWorkSheetName),i.dblClickCommand=n.VtV,i.nvPicPr=n.ToCT_ShapeNonVisual(t,V),i.spPr=n.ToCT_ShapeProperties(s.ShapeUtility.ToST_ShapeType(1),i.spPr||{},0!==n.AutoShapeType,t),i.spPr.prstGeom&&(i.blipFill={},i.blipFill.stretch={},i.blipFill.stretch.fillRect={}),i},v.prototype.ToSJSCT_ShapeBase=function(t){var V,t,n,i,e,V=this,t=V.ToSJSCT_ShapeNonVisual(t),n=V.ToSJSCT_ShapeProperties(s.ShapeUtility.ToST_ShapeType(1),!0),i,e;return{nvPicPr:t,blipFill:V.ToSJSCameraShapeBlipFill(),spPr:n,lossless:{dblClickCommand:V.VtV}}},v.prototype.ToCT_ShapeNonVisual=function(t,V){var n,i,t,i,n=this,i=n.otV,t=!1!==t&&i&&i.nvPicPr||{},i=t.cNvPr||{};return t.cNvPr=n.ToCT_NonVisualDrawingProps(i,V),t.cNvPicPr=n.ToCT_NonVisualDrawingShapeProps(t.cNvPicPr||{},null==V?void 0:V.newWorkSheetName),t},v.prototype.ToSJSCT_ShapeNonVisual=function(t){var V,n,i,V=this,n,i;return{cNvPr:V.ToSJSCT_NonVisualDrawingProps(),cNvPicPr:V.ToSJSCT_NonVisualDrawingShapeProps(t)}},v.prototype.FromCT_ShapeNonVisual=function(t){var V=this;t&&(V.FromCT_NonVisualDrawingProps(t.cNvPr),V.FromCT_NonVisualDrawingShapeProps(t.cNvPicPr))},v.prototype.FromSJSCT_ShapeNonVisual=function(t){var V=this;t&&(V.FromSJSCT_NonVisualDrawingProps(t.cNvPr),V.FromSJSCT_NonVisualDrawingShapeProps(t.cNvPicPr))},v.prototype.FromCT_NonVisualDrawingShapeProps=function(t){var V,n,V=this;t&&(t.extLst&&t.extLst.ext&&(n=t.extLst.ext[0].cameraTool)&&(V.Z5=n.cellRange),V.FromAG_Locking(t&&t.picLocks))},v.prototype.FromSJSCT_NonVisualDrawingShapeProps=function(t){var V,n,n,V=this,n=t&&t.extLst,n=(0,r.findSJSExt)(n,function(t){return!!t.cameraTool});n&&(V.Z5=d(n.cameraTool.cellRange)),V.FromSJSAG_Locking(t&&t.picLocks)},v.prototype.htV=function(t){var V,n,n,i,n,V=this,n=(0,o.getRangeInfo)(V.eJ,V.Range);return x(t)||n.sheet.name()!==V.eJ.name()?V.Range:(i=(n=j(V)).getService(),n=n.id,i.setFormula(n,"range",V.Range),i.getFormula(n,"range",t))},v.prototype.ToCT_NonVisualDrawingShapeProps=function(t,V){var n,V,V,n=this,V=n.htV(V);return t.picLocks=n.ToAG_Locking(t.picLocks||{}),t.picLocks.noChangeArrowheads=!0,t.extLst={ext:[]},V={cameraTool:{cellRange:V,spid:n._spid}},t.extLst.ext.push(V),t},v.prototype.ToSJSCT_NonVisualDrawingShapeProps=function(t){var V,t,V=this,t=V.htV(t);return{picLocks:V.ToSJSAG_Locking({noChangeArrowheads:r.SJS_True}),extLst:{ext:[{uri:"{84589F7E-364E-4C9E-8A38-B11213B215E9}",cameraTool:{cellRange:a(t)}}]}}},v.prototype.ToSJSCameraShapeBlipFill=function(){var t,V,t,V;return{blip:{r_:[8],blipBlob:{blob:h}},stretch:{fillRect:{}}}},v.prototype.InitFillFormat=function(){var t=this.S0t;t.Color.ColorType=2,t.Color.RGB=u.FromRgb(255,255,255),t.PatternColor.ColorType=3,t.PatternColor.ObjectThemeColor=0},v.prototype.InitLineFormat=function(){var t=this.Line;t.Color.ColorType=2,t.Color.RGB=u.FromRgb(0,0,0),t.Weight=.75,t.PatternColor.RGB=u.FromRgb(0,0,0)},V.CameraShapeData=v},"./dist/plugins/shape/cameraShapeView.js":function(t,V,n){var i,e,c,d,a,r,s,o,h,u,x,y,f,l,g,A,p,w,v,j;function b(t,V,n,i,e,r,c){var s,o,V,s=j.call(this)||this;return s.ttV=1,o=s,V=V&&t.eeV(V)||t.eeV("Picture ",!0),o.Mf=t,o.ytV=new a.CameraShapeData(t,V,n,i||0,e||0,r||200,c||160),r===y&&c===y&&(o.ytV.rtV=!0),o.yiV=d.ResizeMode.aspect,o.ytV.noChangeAspect=!0,o.RiV=!0,x(n)||(o.tnV(),o.Fct(n,!0)),delete o.RiV,s}i=this&&this.__extends||(v=function(t,V){return(v=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}v(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.CameraShape=void 0,e=n("FloatingObject"),c=n("./dist/plugins/shape/drawingInterface.js"),d=n("./dist/plugins/shape/shape.interface.js"),a=n("./dist/plugins/shape/cameraShape.js"),r=n("./dist/plugins/shape/ui/util.js"),s=n("./dist/plugins/shape/shapeView.js"),o=n("./dist/plugins/shape/util/viewUtil.js"),h=n("./dist/plugins/shape/shapeStyleView.js"),u=c.ShapeUtility.syncShapeOptions,x=e.Drawing.UnitHelper.IsNullOrEmpty,y=void 0,f=999,l="range",g="rotate",A="angle",p="style",j=s.ShapeBase,i(b,j),Object.defineProperty(b.prototype,"zIndex",{get:function(){var t=this;if(t.mnV)return t.mnV.zIndex(t.name())},enumerable:!1,configurable:!0}),b.prototype.tnV=function(){var t,V,n,i,V,e,r,n,e,t=this,V=t.Mf,n=V.zoom();t.VnV=!0,i=t.ytV,V=V.shapeLayers[0],(e=t.aiV)||(r=(0,o.getBuiltInShapeModelWhenInit)(i,c.AutoShapeType.rectangle,n)),n=(0,o.removeOldShapeUIWhenInitShapeUI)(t,V),u(r,i,V,e),(e=V.createCameraShape(r)).ttV=3,e.getShapeCenter(),e.hyperlink=i.ku,t.ZnV(e.id),i.ltV&&(t.flipX=!0),i.gtV&&(t.flipY=!0),(0,o.addNewShapeUIWhenInitShapeUI)(t,e,V,n),delete t.VnV},b.prototype.rsV=function(t){var V=this;t&&(t.angle&&V.rotate(t.angle),t.line&&V.j0V(t.line),t.fill)&&V.VeV(t.fill)},b.prototype.rotate=function(t){var V=this;if((0,o.noArguments)(arguments))return V.ytV.Rotation;(0,o.rotateImp)(V,t)},b.prototype.style=function(t){var V,n,i,i,V=this;if((0,o.noArguments)(arguments))return V.getStyle(!0,!1);n=V.style(),V.DT("style",t),(i=t.fill)&&((0,o.adjustTransparentColor)(i),V.VeV(i)),(i=t.line)&&((0,o.adjustTransparentColor)(i),V.j0V(i)),V.enV("style",n),V.refresh()},b.prototype.getStyle=function(t,V){var n,i,n=this,i=new h.ShapeStyle;return i.fill=n.n0V(t,V),i.line=n.ydV(t,V),delete i.textEffect,delete i.textFrame,i},b.prototype.range=function(t){var V=this,n=V.ytV;if((0,o.noArguments)(arguments))return n.Range;V.Fct(t)},b.prototype.Fct=function(t,V){var n,i,e;void 0===V&&(V=!1),(e=(i=(n=this).ytV).Range)===t&&!V||(n.DT("range",t),(0,r.setFormulaImp)(n,l,t,!0,!0),i.Range=(0,o.getFormula)(n,l)||t,this.usV("cameraRange",t,e),n.ctV&&n.ctV.JrV(),n.mtV(),n.refresh())},b.prototype.GrV=function(t){var V,n,i,V=this,n=V.ytV.Range,i=(0,r.convertCalcReferenceToRangeInfo)(t,V.Mf);V.ytV.Range=(0,o.getFormula)(V,"range"),this.usV("cameraRange",t,n),V.ytV.QVV(i),V.mtV(),V.sft&&V.sft.updateGroup(),V.ctV&&V.ctV.JrV()},b.prototype.mtV=function(){var t,V,n,i,n,e,n,t=this,V=t.ytV,n=V.AnV,i=t.Mf.zoom();V.rtV&&(n?(e=0<(n=n.sheet.reV(n.cellRange)).width?n.width/i:200,n=0<n.height?n.height/i:160,t.$l(e,n,!0)):"#REF!"===V.Range&&t.$l(0,0,!0))},b.prototype.type=function(){if((0,o.noArguments)(arguments))return f},b.prototype.postProcessShapeDataToJson=function(t,V){var n,i,e,r,c,s,o,e;function d(t,V,n){t.vmlStyle=V,t.anchor=n,t.cameraTool=!0,t.size={width:i.width,height:i.height}}i=(n=this).ctV,j.prototype.postProcessShapeDataToJson.call(this,t),e=.75*i.left,r=.75*i.top,c=.75*i.width,s=.75*i.height,o=[n.startColumn(),n.startColumnOffset(),n.startRow(),n.startRowOffset(),n.endColumn(),n.endColumnOffset(),n.endRow(),n.endRowOffset()].toString(),e="position:absolute;margin-left:".concat(e,"pt;margin-top:").concat(r,"pt;width:").concat(c,"pt;height:").concat(s,"pt;z-index:").concat(n.zIndex+1,";visibility:visible;mso-wrap-style:square;"),d(V?t:t.shapeData.pic,e,o)},b.prototype.formulaFromJSON=function(t){var V,n,i,n;j.prototype.formulaFromJSON.call(this,t),(V=this).Fct(V.ytV.Range,!0),V.JrV(),n=V.ytV.AnV,i=V.Mf,n&&n.sheet&&i&&(n=n.sheet,t)&&n!==i&&n.nre&&(n.nre(),V.afterRefSheetLazyLoaded())},b.prototype.afterRefSheetLazyLoaded=function(){this.JrV()},b.prototype.OiV=function(t){return t.nvPicPr.cNvPr},b.prototype.DiV=function(t){return t.pic},b.prototype.doubleClickCommand=function(t){var V,n,i,V=this,n=V.ytV;if((0,o.noArguments)(arguments))return n.VtV;i=n.VtV,V.DT("doubleClickCommand",t),n.VtV=t,V.usV("cameraDoubleClickCommand",t,i)},b.prototype.QiV=function(t){var V=this;return t===g?(0,o.getFormula)(V,A):t.substr(0,5)===p?(0,o.getStyleFormula)(V,t,!1):""},b.prototype.ziV=function(t,V){var n=this;t===g?n.rotate(V):t.substring(0,5)===p&&(0,o.setStyleFormula)(n,t,V,!1)},b.prototype.WiV=function(t){return new b(t)},b.prototype.sdV=function(){j.prototype.sdV.call(this),this.JrV()},b.prototype.urV=function(){j.prototype.urV.call(this),this.JrV()},b.prototype.JrV=function(){var t=this.ctV;t&&(t.cameraImageCache=null)},V.CameraShape=b},"./dist/plugins/shape/connector.js":function(t,V,n){var i,o,e,r,c,s,d,a,h,u,x,y,f,l;function g(t,V,n){var i,e,r,r;for(V=n[V]||V,i=0,e=t.length;i<e;i++){if((r=t[i]).Id===V)return r;if(r.GroupItems&&(r=g(r.GroupItems.Items,V,n)))return r}}function A(t,V){for(var n,i,e,e,n=0,i=t;n<i.length;n++){if((e=i[n]).jKe()===V)return e;if(e.GroupItems&&(e=A(e.GroupItems.Items,V)))return e}}function p(t,V,n){if(V)return V.__ID__?A(t,V.__ID__):g(t,V.id,n)}function w(t,V){this.utV=-1,this.xtV=-1,this.eJ=t,this.ytV=V}function v(t,V,n,i,e,r,c){var V,s,V=l.call(this,t,V,a(i,r),a(e,c),h(i-r),h(e-c))||this;return V.ttV=1,(s=V).ftV=2,s.ltV=r<i,s.gtV=c<e,s.AtV=new x(t,s),s.ConnectorFormat.Type=n,s.InitLineFormat(),s.PointNum=s.GetPointNumByType(n),V}i=this&&this.__extends||(f=function(t,V){return(f=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}f(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.ConnectorShapeData=V.ConnectorFormatData=void 0,o=n("./dist/plugins/shape/shape.js"),e=n("./dist/plugins/shape/drawingInterface.js"),r=n("./dist/plugins/shape/shapeStyle.js"),c=n("FloatingObject"),s=n("./dist/plugins/shape/geometryService/controlPointService.js"),d=n("./dist/plugins/shape/util/sheetUtil.js"),a=Math.min,h=Math.abs,u=.5*s.ADJUSTMENT_UNIT,Object.defineProperty(w.prototype,"DrawingType",{get:function(){return 3},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"BeginConnected",{get:function(){return this.wtV},set:function(t){this.wtV=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"BeginConnectedShape",{get:function(){var t=this.wtV;return t&&this.eJ.shapes.get(t)},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"BeginConnectionSite",{get:function(){return this.utV},set:function(t){this.utV=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"EndConnected",{get:function(){return this.ptV},set:function(t){this.ptV=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"EndConnectedShape",{get:function(){var t=this.ptV;return t&&this.eJ.shapes.get(t)},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"EndConnectionSite",{get:function(){return this.xtV},set:function(t){this.xtV=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"Type",{get:function(){return this._type},set:function(t){this._type=t},enumerable:!1,configurable:!0}),w.prototype.fromStartCxn=function(t,V,n){var i,e,V;t&&(e=(i=this).eJ,i.utV=t.idx,(V=p(V,t,n))?i.wtV=V.Name:e.LtV.push({target:i,beginId:t.id,beginUUID:t.__ID__,beginConnectionSite:t.idx}))},w.prototype.fromEndCxn=function(t,V,n){var i,e,V;t&&(e=(i=this).eJ,i.xtV=t.idx,(V=p(V,t,n))?i.ptV=V.Name:e.LtV.push({target:i,endId:t.id,endUUID:t.__ID__,endConnectionSite:t.idx}))},w.prototype.FromOOModel=function(t){var V,n,i,n,V=this,n=V.eJ,i=n.shapeLayers[0].model.idMaps,n=n.shapes.all().map(function(t){return t.ytV});t.stCxn&&V.fromStartCxn(t.stCxn,n,i),t.endCxn&&V.fromEndCxn(t.endCxn,n,i)},w.prototype.FromSJSOOModel=function(t){var V,n,i,e,r,t,c,s,r,r,V=this,n=V.eJ,i=n.shapeLayers[0].model.idMaps,e=n.shapes.all().map(function(t){return t.ytV}),r=t.stCxn,t=t.endCxn;r&&(c=(0,o.getAttributeValueOrDefaultOfIntType)(r.idx),s=(0,o.getAttributeValueOrDefaultOfIntType)(r.id),V.utV=c,(r=g(e,s,i))?V.wtV=r.Name:n.LtV.push({target:V,beginId:s,beginConnectionSite:c})),t&&(c=(0,o.getAttributeValueOrDefaultOfIntType)(t.idx),s=(0,o.getAttributeValueOrDefaultOfIntType)(t.id),V.xtV=c,(r=g(e,s,i))?V.ptV=r.Name:n.LtV.push({target:V,endId:s,endConnectionSite:c}))},w.prototype.toStartCxnInfo=function(t){var V,n,n,V,V=this,n=V.wtV;if(n&&(n=V.eJ.shapes.get(n)))return V={idx:V.utV},t&&t.isServer?V.__ID__=n.getId():V.id=n.ytV.Id,V},w.prototype.toEndCxnInfo=function(t){var V,n,n,V,V=this,n=V.ptV;if(n&&(n=V.eJ.shapes.get(n)))return V={idx:V.xtV},t&&t.isServer?V.__ID__=n.getId():V.id=n.ytV.Id,V},w.prototype.ToOOModel=function(t){return{stCxn:this.toStartCxnInfo(t),endCxn:this.toEndCxnInfo(t)}},w.prototype.ToSJSOOModel=function(){var t,V,n,i,e,t=this,V={},n=t.eJ.shapes,i=t.wtV;return i&&(e=n.get(i))&&(V.stCxn={idx:t.utV,id:e.ytV.Id}),(i=t.ptV)&&(e=n.get(i))&&(V.endCxn={idx:t.xtV,id:e.ytV.Id}),V},x=w,V.ConnectorFormatData=x,l=o.ShapeBaseData,i(v,l),Object.defineProperty(v.prototype,"ConnectorFormat",{get:function(){return this.AtV},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"Connector",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"Type",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"AutoShapeType",{get:function(){return this.ntV},set:function(t){this.ntV=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"PointNum",{get:function(){return this.ftV},set:function(t){this.ftV=t,this.rdV(t-2)},enumerable:!1,configurable:!0}),v.prototype.rdV=function(t){for(var V,n,V=[],n=0;n<t;n++)V.push([s.ADJUSTMENT_NAME_PREFIX+(n+1),u]);this.idV=V},v.prototype.ToOOModel=function(t,V){var n=l.prototype.ToOOModel.call(this,t=!1!==t);return n.cxnSp=this.ToCT_ShapeBase(t,V),n},v.prototype.ToSJSOOModel=function(t,V){l.prototype.ToSJSOOModel.call(this,t,V),t.cxnSp=this.ToSJSCT_ShapeBase()},v.prototype.FromOOModel=function(t){var V=this;l.prototype.FromOOModel.call(V,t),V.FromCT_ShapeBase(t.cxnSp),!1===t.isVisible&&(V._hidden=!0)},v.prototype.FromSJSOOModel=function(t,V){var n=this;l.prototype.FromSJSOOModel.call(this,t,V),n.FromSJSCT_ShapeBase(t)},v.prototype.ToCT_ConnectorNonVisual=function(t,V){var n,t,i,i,n=this,i=(t=(t=!1!==t)&&n.jtV&&n.jtV.nvCxnSpPr||{}).cNvPr||{};return t.cNvPr=n.ToCT_NonVisualDrawingProps(i,V),t.cNvCxnSpPr=n.ConnectorFormat.ToOOModel(V),(i=t.cNvCxnSpPr).cxnSpLocks=n.ToAG_Locking(i.cxnSpLocks||{}),t},v.prototype.ToSJSCT_ConnectorNonVisual=function(){var t,V,n,t=this,V={};return V.cNvPr=t.ToSJSCT_NonVisualDrawingProps(),V.cNvCxnSpPr=t.ConnectorFormat.ToSJSOOModel(),(n=V.cNvCxnSpPr).cxnSpLocks=t.ToSJSAG_Locking(n.cxnSpLocks||{}),V},v.prototype.FromCT_ConnectorNonVisual=function(t){var V,n,n,V=this,n=t.cNvPr;V.btV(n.name),V.Id=n.id,V.Visible=!n.hidden,V.ku=n.hlinkClick,V.UKn(n.__ID__),V.AtV.FromOOModel(t.cNvCxnSpPr),n=t.cNvCxnSpPr,V.FromAG_Locking(n&&n.cxnSpLocks)},v.prototype.FromSJSCT_ConnectorNonVisual=function(t){var V,n,n,V=this,n=t.cNvPr;V.FromSJSCT_NonVisualDrawingProps(n),V.AtV.FromSJSOOModel(t.cNvCxnSpPr),n=t.cNvCxnSpPr,V.FromSJSAG_Locking(n&&n.cxnSpLocks)},v.prototype.FromCT_ShapeBase=function(t){var V,t,n,V=this,t=V.jtV=t;V.FromCT_ConnectorNonVisual(t.nvCxnSpPr),n=t.spPr.prstGeom.prst,V.AtV.Type=e.ShapeUtility.ToConnectorType(n),V.PointNum=e.ShapeUtility.GetConnectorPointNum(n),V.FromCT_ShapeStyle.call(V,t.style),V.FromCT_ShapeProperties.call(V,t.spPr)},v.prototype.FromSJSCT_ShapeBase=function(t){var V,n,V=this;V.FromSJSCT_ConnectorNonVisual(t.nvCxnSpPr),n=e.ST_ShapeType[t.spPr.prstGeom.prst],V.AtV.Type=e.ShapeUtility.ToConnectorType(n),V.PointNum=e.ShapeUtility.GetConnectorPointNum(n),V.atV(t.style,t),V.stV(t.spPr)},v.prototype.ToCT_ShapeBase=function(t,V){var n,i,V,n=this;return(i=(t=!1!==t)&&n.jtV||{shapeType:4}).nvCxnSpPr=n.ToCT_ConnectorNonVisual(t,V),V=i.spPr||{},i.spPr=n.ToCT_ShapeProperties(e.ShapeUtility.ToConnectorST_ShapeType(n.ConnectorFormat.Type,n.PointNum),V,!0,t),n.CorrectCT_Transform2D(i.spPr.xfrm),i.style=n.ToCT_ShapeStyle(t),i},v.prototype.ToSJSCT_ShapeBase=function(){var t,V,t=this,V={};return V.nvCxnSpPr=t.ToSJSCT_ConnectorNonVisual(),V.spPr=t.ToSJSCT_ShapeProperties(e.ShapeUtility.ToConnectorST_ShapeType(t.ConnectorFormat.Type,t.PointNum),!0),V.style=t.ToSJSCT_ShapeStyle(),V},v.prototype.CorrectCT_Transform2D=function(t){t.flipH=this.ltV,t.flipV=this.gtV},v.prototype.GetPointNumByType=function(t){return 2===t||1===t?3:1},v.prototype.InitLineFormat=function(){var t=this.Line;t.Color.ObjectThemeColor=4,t.Weight=.5,t.PatternColor.RGB=c.Drawing.ARGBColor.FromRgb(255,255,255)},v.prototype.CreateDefaultShapeStyle=function(){return new r.ShapeStyleData(this,0,1,0,1)},v.prototype.mtV=function(){var t,V,V,t=this,V=t.eJ;t.height=(0,d.getY)(V,t.bottomAnchorRow,t.bottomAnchorRowOffset)-t.top,V=V.options.rightToLeft?(0,d.getX)(V,t.leftAnchorCol,t.leftAnchorColOffset):(0,d.getX)(V,t.rightAnchorCol,t.rightAnchorColOffset),t.width=V-t.left},V.ConnectorShapeData=v},"./dist/plugins/shape/connectorView.js":function(t,V,n){var i,e,d,r,c,a,h,s,L,o,n,u,x,y,m,f,l,g,C,A,p,w;function v(t,V,n,i,e,r,c,s,o,d){var t,V,t=(0,L.flipPoint)(t,V,n,i,e,r,c,s),V=(0,L.rotatePoint)(t,o,d);return{x:(0,L.fixNumber)(V.x),y:(0,L.fixNumber)(V.y)}}function j(t){return t.map(function(t,V){return["adj"+(V+1),(0,r.convertAdjustmentValueToExcelUnit)(t,f,!0)]})}function b(t,V,n){var i,e,e,i,r,c,s,o,r=t.ytV,c={rotationWithoutParent:r.RotationWithoutParent,isFlipH:r.ltV,isFlipV:r.gtV,adjustValues:r.AdjustValues},s=t.Mf,o=s.THr({type:"updateShapeTransform",sheet:s,shape:t});null!=(e=null==(i=s.parent)?void 0:i.suspendOp)&&e.call(i),r.left=V.left/n,r.top=V.top/n,r.width=V.width/n,r.height=V.height/n,r.L0t=V.rot,r.ltV=V.flipH,r.gtV=V.flipV,r.ynV(),r.fnV(),null!=(i=null==(e=s.parent)?void 0:e.resumeOp)&&i.call(e),s.$Dr({type:"updateShapeTransform",sheet:s,shape:t},o),r.AdjustValues=j(V.adjs),t.usV("adjustments",d.ShapeUtility.convertToExcelAdjustValues(r.AdjustValues),d.ShapeUtility.convertToExcelAdjustValues(c.adjustValues))}function R(t){return(2===t.length?M:I)(t)}function I(t){var V,n,i,e,r,c,s,o,d,o,a,h,u,x,y,o,d,f,l,g,A,p,w,v,j,b,V=t[0],n=t.length,i=t[n-1],e=V.x,r=V.y,c=i.x,s=i.y,o=t[1],d=o.x,o=o.y,a=c-e,h=s-r,u=0,y={x:(e+c)/2,y:(r+s)/2};for((0,L.fixNumber)(e,5)===(0,L.fixNumber)(d,5)?(u=90,x=Math.PI/2):(0,L.fixNumber)(r,5)!==(0,L.fixNumber)(o,5)&&(u=180*(x=Math.atan2(o-r,d-e))/Math.PI,x<0)&&(x+=2*Math.PI,u+=360),u&&(x=-x,e=(V=(t=t.map(function(t){return(0,L.rotatePoint)(t,y,x)}))[0]).x,r=V.y,a=(c=(i=t[n-1]).x)-e,h=(s=i.y)-r),f=(o=a<0)?-1:1,l=(d=h<0)?-1:1,g=m(a),A=m(h),g<C&&(g=C),A<C&&(A=C),p=[],w=0;w<n-3;w++)v=t[w+1],p.push(w%2?(v.y-r)/A*l:(v.x-e)/g*f);return{rot:u,left:j=y.x-g/2,top:b=y.y-A/2,width:g,height:A,flipH:o,flipV:d,adjs:p}}function M(t){var V,t,n,i,e,r,c,s,V=t[0],t=t[1],n,i,e,r,c,s;return{rot:0,left:y(V.x,t.x),top:y(V.y,t.y),width:m(t.x-V.x),height:m(t.y-V.y),flipH:V.x>t.x,flipV:V.y>t.y,adjs:[]}}function _(t,V,n,i,e,r,c){var s,o,V,s=w.call(this)||this,o=s;return s.ttV=4,V=V&&t.eeV(V)||t.eeV("ConnectorShape ",!0),o.Mf=t,o.ytV=new a.ConnectorShapeData(t,V,n,i,e,r,c),o.RiV=!0,n!==f&&o.tnV(),delete o.RiV,s}i=this&&this.__extends||(p=function(t,V){return(p=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}p(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.ConnectorShape=V.getConnectorProperties=V.syncShapeData=void 0,e=n("Common"),d=n("./dist/plugins/shape/drawingInterface.js"),r=n("./dist/plugins/shape/shape.js"),c=n("./dist/plugins/shape/ui/lines.js"),a=n("./dist/plugins/shape/connector.js"),h=n("./dist/plugins/shape/geometryService/controlPointService.js"),s=n("./dist/plugins/shape/shapeView.js"),L=n("./dist/plugins/shape/util/viewUtil.js"),o=n("./dist/plugins/shape/shapeStyleView.js"),n=e.Common.lt,u=n.ht,x=d.ShapeUtility.syncShapeOptions,y=Math.min,m=Math.abs,f=void 0,l={color:"color",linestyle:"lineStyle",width:"width",captype:"capType",jointype:"joinType",transparency:"transparency",compoundtype:"compoundType"},g=["color","linestyle","width","captype","jointype","transparency","compoundtype"],V.syncShapeData=b,C=4/3,V.getConnectorProperties=R,w=s.ShapeBase,i(_,w),_.prototype.type=function(){if((0,L.noArguments)(arguments))return this.ytV.ConnectorFormat.Type},_.prototype.H0V=function(t){var V,n,V,i,e,t,V=this,n=V.ytV.Line;if((0,L.noArguments)(arguments))return{style:n.BeginArrowheadStyle,width:n.BeginArrowheadWidth,length:n.BeginArrowheadLength};u(t)||(V=V.ctV.options.endPoints.beginArrow,i=t.style,e=t.width,t=t.length,u(i)||(n.BeginArrowheadStyle=i,V.type=i),u(e)||(n.BeginArrowheadWidth=e,V.widthType=e),u(t))||(n.BeginArrowheadLength=t,V.lengthType=t)},_.prototype.Q0V=function(t){var V,n,V,i,e,t,V=this,n=V.ytV.Line;if((0,L.noArguments)(arguments))return{style:n.EndArrowheadStyle,width:n.EndArrowheadWidth,length:n.EndArrowheadLength};u(t)||(V=V.ctV.options.endPoints.endArrow,i=t.style,e=t.width,t=t.length,u(i)||(n.EndArrowheadStyle=i,V.type=i),u(e)||(n.EndArrowheadWidth=e,V.widthType=e),u(t))||(n.EndArrowheadLength=t,V.lengthType=t)},_.prototype.tnV=function(t){var V,n,i,e,r,c,s,o,d,a,e,V=this,n=V.Mf,i=V.ytV;V.VnV=!0,e=i.ConnectorFormat.Type,r=V.z0V(),s=V.KVV(),o=n.shapeLayers[0],0===e?d="Line":1!==e&&2!==e||(d="ZipLine"),a=n.zoom(),s=s.map(function(t){return{x:t.x*a,y:t.y*a}}),d&&(x(e={points:s,options:r},i,o),(c=o.createLine(d,e)).getShapeCenter(),c.hyperlink=i.ku,(c.JVV=V).ZnV(c.id)),V.ctV=c,t||(0,L.syncConnectors)([V.startConnector(),V.endConnector()],V),V.gnV(),delete V.VnV},_.prototype.z0V=function(){var t=this,V=t.H0V(),n=t.Q0V();return{stroke:{type:1,color:t.ydV(!1,!1).color,width:1},endPoints:{beginArrow:{type:V.style,widthType:V.width,lengthType:V.length},endArrow:{type:n.style,widthType:n.width,lengthType:n.length}}}},_.prototype.getPoints=function(t){return this.KVV(t)},_.prototype.KVV=function(t){var V,n,t,i,e,r,c,s,o,d,a,V=this,n=V.Btn;return n&&!t||(i=(t=V.ytV).left||0,e=t.top||0,r=t.width||0,c=t.height||0,s=t.gtV,o=t.ltV,d=t.ConnectorFormat.Type,a=t.Rotation,0===d?n=V.Btn=V.G0V(e,i,r,c,s,o,a):1!==d&&2!==d||(n=V.Btn=V.J0V(e,i,r,c,s,o,a,t.AdjustValues))),n},_.prototype.G0V=function(t,V,n,i,e,r,c){var s,o,d,e,r,V,a,h,e=e&&r?(s=V+n,o=t+i,d=V,t):e?(o=t+i,d=(s=V)+n,t):(d=r?(s=V+n,V):(s=V)+n,(o=t)+i),r={x:V+n/2,y:t+i/2},V=c/180*Math.PI,a,h;return[(0,L.rotatePoint)({x:s,y:o},r,V),(0,L.rotatePoint)({x:d,y:e},r,V)]},_.prototype.W0V=function(t,V,n,i,e,r,c,s){var o,d,a,o,d,a;return[v(0,0,e,r,V,t,n,i,s,c),v(n,0,e,r,V,t,n,i,s,c),v(n,i,e,r,V,t,n,i,s,c)]},_.prototype.K0V=function(t,V,n,i,e,r,c,s,o){var d,a,h,u;return o=o||[.5],[d=v(0,0,e,r,V,t,n,i,s,c),a=v(n*o[0],0,e,r,V,t,n,i,s,c),h=v(n*o[0],i,e,r,V,t,n,i,s,c),u=v(n,i,e,r,V,t,n,i,s,c)]},_.prototype.$0V=function(t,V,n,i,e,r,c,s,o){var d,a,h,u,x,d,a,h,u,x;return[v(0,0,e,r,V,t,n,i,s,c),v(n*o[0],0,e,r,V,t,n,i,s,c),v(n*o[0],i*o[1],e,r,V,t,n,i,s,c),v(n,i*o[1],e,r,V,t,n,i,s,c),v(n,i,e,r,V,t,n,i,s,c)]},_.prototype.tcV=function(t,V,n,i,e,r,c,s,o){var d,a,h,u,x,y,d,a,h,u,x,y;return[v(0,0,e,r,V,t,n,i,s,c),v(n*o[0],0,e,r,V,t,n,i,s,c),v(n*o[0],i*o[1],e,r,V,t,n,i,s,c),v(n*o[2],i*o[1],e,r,V,t,n,i,s,c),v(n*o[2],i,e,r,V,t,n,i,s,c),v(n,i,e,r,V,t,n,i,s,c)]},_.prototype.VcV=function(t,V,n,i,e,r,c,s,o){var d;switch(this.ytV.PointNum){case 2:d=this.W0V;break;case 3:d=this.K0V;break;case 4:d=this.$0V;break;case 5:d=this.tcV}return d&&d(t,V,n,i,e,r,c,s,o)},_.prototype.J0V=function(t,V,n,i,e,r,c,s){var o,c,d,o={x:V+n/2,y:t+i/2},c=c/180*Math.PI;return s&&0<s.length&&(d=s.map(function(t){return t[1]/h.ADJUSTMENT_UNIT})),this.VcV(t,V,n,i,e,r,c,o,d)},_.prototype.ncV=function(t){for(var V,n,i,V=[],n=0,i=(t=t===f?this.ctV.getPoints():t).length;n<i;n++)V.push({x:t[n].x,y:t[n].y});return V},_.prototype.ecV=function(){var n,t,V,n=[],t,V=R(this.ncV()).adjs;return V&&V.length&&V.forEach(function(t,V){n.push(["adj"+(V+1),t])}),n},_.prototype.OiV=function(t){return t.nvCxnSpPr.cNvPr},_.prototype.DiV=function(t){return t.cxnSp},_.prototype.preProcessShapeDataToJson=function(t,V){var t,V,n,n;w.prototype.preProcessShapeDataToJson.call(this,t,V),(t=this).ytV.PointNum=t.Btn.length-1,V=R(t.ncV()),n=t.ctV.angle,isNaN(n)||(V.rot=V.rot+n),n=t.Mf.zoom(),b(t,V,n)},_.prototype.nnV=function(t){var V,n,i,i,e,t,V=this,n=V.ytV,i=V.ncV(V.Btn);V.DT("points",{points:t},{points:i}),i=V.Mf.zoom(),e=V.AsV("presetGeometry"),V.Btn=t,V.ctV.setPoints(V.Btn,i),n.PointNum=V.Btn.length-1,V.usV("presetGeometry",f,f,e),t=R(V.ncV()),b(V,t,i)},_.prototype.adjustments=function(t){var V,n,n,i,e,r,c,n,i,i,V=this;if((0,L.noArguments)(arguments))return(n=V.ecV())&&0<n.length?n.map(function(t){return t[1]}):[];t&&0<t.length&&2<V.Btn.length&&(n=V.x(),i=V.y(),n={x:n+(e=V.width())/2,y:i+(r=V.height())/2},i=(c=V.ytV.Rotation)/180*Math.PI,i=V.VcV(V.y(),V.x(),V.width(),V.height(),V.ytV.gtV,V.ytV.ltV,i,n,t),V.nnV(i),V.refresh())},_.prototype.QiV=function(t){var V,t,V,n,t,i,V,V=this;return"style"===t.substr(0,5)&&3===(t=t.split(".")).length&&(V=V.style(),n=t[1],t=t[2],"line"===n)&&-1<g.indexOf(t)&&(V=V[n][i=l[t]],(0,L.isFormula)(V))?V:""},_.prototype.ziV=function(t,V){var n,t,i,e,t,r,n=this;"style"===t.substr(0,5)&&3===(t=t.split(".")).length&&(i=n.style(),e=t[1],t=t[2],"line"===e&&-1<g.indexOf(t)&&(i[e][r=l[t]]=V),n.style(i))},_.prototype.style=function(t){var V,n,t,i,e,e,e,V=this;if((0,L.noArguments)(arguments))return V.getStyle(!0,!1);n=V.style(),V.DT("style",t,n),(t=t.line)&&(i=V.AsV("line",V.ytV.Line),e=t.color,u(e)||V.j0V({color:e,lineStyle:t.lineStyle,width:t.width,capType:t.capType,joinType:t.joinType,compoundType:t.compoundType,transparency:t.transparency}),e=t.beginArrowheadStyle,u(e)||V.H0V({style:e,width:t.beginArrowheadWidth,length:t.beginArrowheadLength}),e=t.endArrowheadStyle,u(e)||V.Q0V({style:e,width:t.endArrowheadWidth,length:t.endArrowheadLength}),V.usV("line",V.ytV.Line,void 0,i)),V.enV("style",n),V.refresh()},_.prototype.getStyle=function(t,V){var n,i,t,V,V,n=this,i=new o.ShapeStyle,t=i.line=n.ydV(t,V),V=n.H0V();return t.beginArrowheadStyle=V.style,t.beginArrowheadWidth=V.width,t.beginArrowheadLength=V.length,V=n.Q0V(),t.endArrowheadStyle=V.style,t.endArrowheadWidth=V.width,t.endArrowheadLength=V.length,delete i.fill,delete i.textEffect,delete i.textFrame,i},_.prototype.icV=function(t){var V,n,i,t,V=this,n=V.ctV;!V.ignoreLayoutConnection&&t&&t.length&&V.Mf&&(V.Mf.QnV(n),i=V.Mf.zoom(),t=n.getPoints().map(function(t){return{x:t.x/i,y:t.y/i}}),V.nnV(t)),V.refresh()},_.prototype.startConnector=function(t,V){var n,i,e,r,c,s,o,d,t,t,V,n=this,i=n.ytV.ConnectorFormat;if((0,L.noArguments)(arguments))return i.BeginConnected?{name:i.BeginConnected,index:i.BeginConnectionSite,shape:i.BeginConnectedShape}:null;e=n.ctV,r=n.startConnector(),n.DT("startConnector",{name:t?t.name:"",index:t?t.index:-1},r?{name:r.name,index:r.index}:null),s=n.AsV("startConnector",i),i.BeginConnected=t?t.name:"",i.BeginConnectionSite=t?t.index:-1,t&&(d=t.index,t=t.name,t=n.Mf.shapes.get(t))&&(o={id:t.ctV.id,index:d},V||((V=(c=t.ctV.getActualConnectorPoints())[d])?e.moveStartPoint(V.x,V.y):o=null)),e.updateStartConnector(o),n.enV("startConnector",r),n.icV(c),n.usV("startConnector",i,void 0,s)},_.prototype.endConnector=function(t,V){var n,i,e,r,c,s,o,d,t,t,V,n=this,i=n.ytV.ConnectorFormat;if((0,L.noArguments)(arguments))return i.EndConnected?{name:i.EndConnected,index:i.EndConnectionSite,shape:i.EndConnectedShape}:null;e=n.ctV,r=n.endConnector(),n.DT("endConnector",{name:i.EndConnected,index:i.EndConnectionSite},r?{name:r.name,index:r.index}:null),s=n.AsV("endConnector",i),i.EndConnected=t?t.name:"",i.EndConnectionSite=t?t.index:-1,t&&(d=t.index,t=t.name,t=n.Mf.shapes.get(t))&&(o={id:t.ctV.id,index:d},V||((V=(c=t.ctV.getActualConnectorPoints())[d])?e.moveEndPoint(V.x,V.y):o=null)),e.updateEndConnector(o),n.enV("endConnector",r),n.icV(c),n.usV("endConnector",i,void 0,s)},_.prototype.rsV=function(t,V){var n;t&&t.line&&this.j0V(t.line)},_.prototype.KiV=function(t){var V,n,V=this,n=V.ctV;!1!==(null==t?void 0:t.layoutConnectionLine)&&n instanceof c.ZipLine&&V.Mf.QnV(n)},_.prototype.t0V=function(t,V){var n=this;switch(t){case"startConnector":case"endConnector":n[t](V);break;case"points":n.nnV(V.points)}},_.prototype.WiV=function(t){return new _(t)},V.ConnectorShape=_},"./dist/plugins/shape/drawingInterface.js":function(O,h,t){var n,V,i,i,o,i,s,d,r,u,e,x,y,c,a,f,l,T,N,P,D,U,q,k,B,Z,H,z,Q,G,J,W,K,$,g,A,p,w,tt,Vt,t,t,t,t,t,t,t,t,t,t,t,V,t,V,t,V,t,V,t,V,t,V;function v(t){return C(t,!0,e,!0)}function nt(t){return+t.split(" ")[1]}function it(t){return[t.name,nt(t.fmla)]}function et(t){return{name:t[0],fmla:"val "+Y(t[1])}}function rt(t){return{horz:t<3,rotate:[270,90][2-t]||0}}function j(t,V){return r(t)?V:t}function ct(t){var V,V,n,n,t,i,e,r,c,s,o,d,o,a,V=t.O0t[0],V=V?V.Algn:h.ST_TextAlignType.l,n=t.Inset,n={rIns:j(n.right,y),lIns:j(n.left,y),tIns:j(n.top,x),bIns:j(n.bottom,x),anchorCtr:j(t.anchorCtr,!1),anchor:j(t.anchor,h.ST_TextAnchoringType.t),vert:j(t.vert,h.ST_TextVerticalType.horz),wrap:j(t.wrap,h.ST_TextWrappingType.square),horzOverflow:j(t.horzOverflow,h.ST_TextHorzOverflowType.overflow),vertOverflow:j(t.vertOverflow,h.ST_TextVertOverflowType.overflow)},t=0,i=0,e=!1,r=!0,c=0,s=!0,d=!1;return n&&0<Object.keys(n).length&&(s=(o=rt(n.vert||0)).horz,c=o.rotate,o=[n.lIns,n.rIns,n.tIns,n.bIns].map(u),e=!n.horzOverflow,r=0!==n.wrap,a=n.anchor||0,d=!!n.anchorCtr,2<V&&(V=0),i=a=2<a?1:a,t=s&&90!==c?V:2-V),{center:d,hAlign:t,vAlign:i,overflow:e,wrap:r,horz:s,angle:c,margins:o}}function b(t){return{fontSize:t.Size,fontName:t.Name,bold:!!t.Bold,italic:!!t.Italic,color:v(t)}}function L(t){var t,V,t=t.O0t[0],V;return b((t.j0t&&t.j0t[0]||t).Font)}function m(t){var V=[];return t.italic&&V.push("italic"),t.bold&&V.push("bold"),V.push(t.fontSize+"px"),V.push(t.fontName),V.join(" ")}function st(t){var V=t.horz,t=t.angle;return V?t?"rotate"+t:"horizontal":"vertical"}function C(t,V,n,i,e){var r,c,t,n;if(void 0===e&&(e=!1),c="transparent",r=t&&t.Color){if(r.ColorType===h.SolidColorType.None)return n?"":c;if(r.ColorType===h.SolidColorType.Theme&&e){for(;!r.HasOwnColor()&&r.sft;)r=r.sft;return s[r.GetColorData().Value]}(t=r.NoTransformedRGB)&&((n=r.GetColorData()).ApplyBrightness=!!i,t=d(t,n),c=V?h.Color.fromARGBColor(t).toRgbaString():h.Color.fromARGBColor(t).toRgbString())}return c}function R(t){var V,n,V=t&&t.Color&&t.Color.Transparency;return isNaN(V)&&(V=0),{color:n=C(t,!1,!0,!0),transparency:V}}function ot(t){var V,t,V=t.Color,t={color:C(t,!1,!0,!1,!0)};return 0!==V.Brightness&&(t.brightness=V.Brightness),0!==V.TintAndShade&&(t.tint=V.TintAndShade),0!==V.Shade&&(t.shade=V.Shade),1!==V.SatMod&&(t.satMod=V.SatMod),t}function dt(t,V){var n;return(w[p[t]]||[]).map(function(t){return t*V})}function at(t){return A[t]}function I(t){return g[t]}function M(t){var V=h.FillType.Solid;return t.Type===h.FillType.Gradient?V=h.FillType.Gradient:t.Type===h.FillType.Picture&&(V=h.FillType.Picture),V}function ht(t){var V=1;return V=0===t.Color.ColorType?0:V}function _(t){return!0===t.u0t?a.linear:t.Bft===h.ST_PathShadeType.circle?a.radial:void 0}function E(t){return t.u0t?t.GradientAngle:void 0}function ut(t){var V=_(t);return V===a.linear?yt(t):V===a.radial?ft(t):void 0}function xt(t){for(var V,n,i,e,V=t.GradientStops,n=[],i=0;i<V.Count;i++)e=V.Item(i),n.push({color:C(e,!1,!0,!1),position:e.Position,transparency:e.Transparency,brightness:e.Color.Brightness});return n}function yt(t){var V=E(t);if(t.Rft&&V%45==0)return V}function ft(t){return t.GradientStyle===h.GradientStyle.GradientFromCenter?l.fromCenter:t.GradientStyle===h.GradientStyle.GradientFromCorner?t.GradientVariant:void 0}function lt(t){var t,V,t=t.GradientStyle;return t===h.GradientStyle.GradientTopSpotlight?V=l.fromTopLeft:t===h.GradientStyle.GradientBottomSpotlight&&(V=l.fromBottomLeft),V}function S(t){var V,t,V=t&&t.Fill;if(V)return t=R(V=V._type===h.FillType.Group&&t.XtV?t.XtV.Fill:V),{type:M(V),solid:{type:ht(V),color:t.color,transparency:t.transparency},gradient:{type:_(V),angle:E(V),direction:ut(V),stops:xt(V)},picture:n({src:V.PictureFormat.PicSrc,transparency:V.PictureFormat.Transparency,tilePictureAsTexture:V.PictureFormat.PictureFormatType===h.PictureFormatType.TextureFill,offsetLeft:V.PictureFormat.Stretch.left,offsetRight:V.PictureFormat.Stretch.right,offsetTop:V.PictureFormat.Stretch.top,offsetBottom:V.PictureFormat.Stretch.bottom},V.PictureFormat.Tile)}}function F(t,V){var n=S(V);n.type===h.FillType.Gradient?(t.fill=n.gradient,r(t.fill.direction)&&(t.fill.direction=lt(V.Fill))):n.type===h.FillType.Picture?t.fill=n.picture:t.fill=n.solid}function X(){}function Y(t){return parseInt(t,10)}n=this&&this.__assign||function(){return(n=Object.assign||function(t){for(var V,n,i,e,n=1,i=arguments.length;n<i;n++)for(e in V=arguments[n])Object.prototype.hasOwnProperty.call(V,e)&&(t[e]=V[e]);return t}).apply(this,arguments)},Object.defineProperty(h,"__esModule",{value:!0}),h.ST_FontCollectionIndex=h.ConnectorType=h.ST_CompoundLine=h.ST_PresetLineDashVal=h.ST_TextHorzOverflowType=h.ST_TextVertOverflowType=h.ST_TextWrappingType=h.ST_TextVerticalType=h.ST_TextAnchoringType=h.ST_TextAlignType=h.ft=h.StatefulBase=h.ARGBColor=h.ThreeDFormat=h.ReflectionFormat=h.SoftEdgeFormat=h.GlowFormat=h.ShadowFormat=h.DrawingText=h.FontFormat=h.LineFormat=h.PictureFormat=h.PictureFormatType=h.FillFormat=h.ThreeDFormatStates=h.ColorFormat=h.GradientStyle=h.ColorType=h.GradientStop=h.GradientStops=h.ST_PathShadeType=h.FillType=h.DrawingType=h.Placement=h.SolidColorType=h.ThemeFont=h.ThemeColor=h.ShapeType=h.FormControlType=h.ListBoxSelectionType=h.TextureFillMirrorType=h.TextureFillAlignment=h.RadialGradientFillDirection=h.LinearGradientFillDirection=h.GradientFillType=h.AutoShapeType=h.Color=h.DrawingUtility=h.sR=h.SR=void 0,h.getWholeNumber=h.ST_EditAs=h.ShapeUtility=h.ShapeConstants=h.ArrowheadWidth=h.ArrowheadLength=h.ArrowheadStyle=h.CompoundType=h.LineJoinStyle=h.LineCapStyle=h.PresetLineDashStyle=h.CT_ShapeType=h.ST_SchemeColorVal=h.ST_ShapeType=void 0,V=t("Common"),i=t("./dist/plugins/shape/shape.res.en.js"),h.SR={en:i},i=new V.Common.ResourceManager(h.SR,"Shapes"),h.sR=i.getResource.bind(i),o=t("Core"),i=t("FloatingObject"),h.DrawingUtility=i.Drawing.DrawingUtility,h.Color=i.Drawing.DrawingColorHelper,s=i.Drawing.ThemeColorDict,d=i.Drawing.transformColor,r=V.Common.lt.ht,u=Math.round,e=void 0,x=4.8,y=9.6,(t=c=h.AutoShapeType||(h.AutoShapeType={}))[t.none=0]="none",t[t.rectangle=1]="rectangle",t[t.parallelogram=2]="parallelogram",t[t.trapezoid=3]="trapezoid",t[t.diamond=4]="diamond",t[t.roundedRectangle=5]="roundedRectangle",t[t.octagon=6]="octagon",t[t.isoscelesTriangle=7]="isoscelesTriangle",t[t.rightTriangle=8]="rightTriangle",t[t.oval=9]="oval",t[t.hexagon=10]="hexagon",t[t.cross=11]="cross",t[t.regularPentagon=12]="regularPentagon",t[t.can=13]="can",t[t.cube=14]="cube",t[t.bevel=15]="bevel",t[t.foldedCorner=16]="foldedCorner",t[t.smileyFace=17]="smileyFace",t[t.donut=18]="donut",t[t.noSymbol=19]="noSymbol",t[t.blockArc=20]="blockArc",t[t.heart=21]="heart",t[t.lightningBolt=22]="lightningBolt",t[t.sun=23]="sun",t[t.moon=24]="moon",t[t.arc=25]="arc",t[t.doubleBracket=26]="doubleBracket",t[t.doubleBrace=27]="doubleBrace",t[t.plaque=28]="plaque",t[t.leftBracket=29]="leftBracket",t[t.rightBracket=30]="rightBracket",t[t.leftBrace=31]="leftBrace",t[t.rightBrace=32]="rightBrace",t[t.rightArrow=33]="rightArrow",t[t.leftArrow=34]="leftArrow",t[t.upArrow=35]="upArrow",t[t.downArrow=36]="downArrow",t[t.leftRightArrow=37]="leftRightArrow",t[t.upDownArrow=38]="upDownArrow",t[t.quadArrow=39]="quadArrow",t[t.leftRightUpArrow=40]="leftRightUpArrow",t[t.bentArrow=41]="bentArrow",t[t.uTurnArrow=42]="uTurnArrow",t[t.leftUpArrow=43]="leftUpArrow",t[t.bentUpArrow=44]="bentUpArrow",t[t.curvedRightArrow=45]="curvedRightArrow",t[t.curvedLeftArrow=46]="curvedLeftArrow",t[t.curvedUpArrow=47]="curvedUpArrow",t[t.curvedDownArrow=48]="curvedDownArrow",t[t.stripedRightArrow=49]="stripedRightArrow",t[t.notchedRightArrow=50]="notchedRightArrow",t[t.pentagon=51]="pentagon",t[t.chevron=52]="chevron",t[t.rightArrowCallout=53]="rightArrowCallout",t[t.leftArrowCallout=54]="leftArrowCallout",t[t.upArrowCallout=55]="upArrowCallout",t[t.downArrowCallout=56]="downArrowCallout",t[t.leftRightArrowCallout=57]="leftRightArrowCallout",t[t.upDownArrowCallout=58]="upDownArrowCallout",t[t.quadArrowCallout=59]="quadArrowCallout",t[t.circularArrow=60]="circularArrow",t[t.flowchartProcess=61]="flowchartProcess",t[t.flowchartAlternateProcess=62]="flowchartAlternateProcess",t[t.flowchartDecision=63]="flowchartDecision",t[t.flowchartData=64]="flowchartData",t[t.flowchartPredefinedProcess=65]="flowchartPredefinedProcess",t[t.flowchartInternalStorage=66]="flowchartInternalStorage",t[t.flowchartDocument=67]="flowchartDocument",t[t.flowchartMultidocument=68]="flowchartMultidocument",t[t.flowchartTerminator=69]="flowchartTerminator",t[t.flowchartPreparation=70]="flowchartPreparation",t[t.flowchartManualInput=71]="flowchartManualInput",t[t.flowchartManualOperation=72]="flowchartManualOperation",t[t.flowchartConnector=73]="flowchartConnector",t[t.flowchartOffpageConnector=74]="flowchartOffpageConnector",t[t.flowchartCard=75]="flowchartCard",t[t.flowchartPunchedTape=76]="flowchartPunchedTape",t[t.flowchartSummingJunction=77]="flowchartSummingJunction",t[t.flowchartOr=78]="flowchartOr",t[t.flowchartCollate=79]="flowchartCollate",t[t.flowchartSort=80]="flowchartSort",t[t.flowchartExtract=81]="flowchartExtract",t[t.flowchartMerge=82]="flowchartMerge",t[t.flowchartStoredData=83]="flowchartStoredData",t[t.flowchartDelay=84]="flowchartDelay",t[t.flowchartSequentialAccessStorage=85]="flowchartSequentialAccessStorage",t[t.flowchartMagneticDisk=86]="flowchartMagneticDisk",t[t.flowchartDirectAccessStorage=87]="flowchartDirectAccessStorage",t[t.flowchartDisplay=88]="flowchartDisplay",t[t.explosion1=89]="explosion1",t[t.explosion2=90]="explosion2",t[t.shape4pointStar=91]="shape4pointStar",t[t.shape5pointStar=92]="shape5pointStar",t[t.shape8pointStar=93]="shape8pointStar",t[t.shape16pointStar=94]="shape16pointStar",t[t.shape24pointStar=95]="shape24pointStar",t[t.shape32pointStar=96]="shape32pointStar",t[t.upRibbon=97]="upRibbon",t[t.downRibbon=98]="downRibbon",t[t.curvedUpRibbon=99]="curvedUpRibbon",t[t.curvedDownRibbon=100]="curvedDownRibbon",t[t.verticalScroll=101]="verticalScroll",t[t.horizontalScroll=102]="horizontalScroll",t[t.wave=103]="wave",t[t.doubleWave=104]="doubleWave",t[t.rectangularCallout=105]="rectangularCallout",t[t.roundedRectangularCallout=106]="roundedRectangularCallout",t[t.ovalCallout=107]="ovalCallout",t[t.cloudCallout=108]="cloudCallout",t[t.lineCallout1=109]="lineCallout1",t[t.lineCallout2=110]="lineCallout2",t[t.lineCallout3=111]="lineCallout3",t[t.lineCallout4=112]="lineCallout4",t[t.lineCallout1AccentBar=113]="lineCallout1AccentBar",t[t.lineCallout2AccentBar=114]="lineCallout2AccentBar",t[t.lineCallout3AccentBar=115]="lineCallout3AccentBar",t[t.lineCallout4AccentBar=116]="lineCallout4AccentBar",t[t.lineCallout1NoBorder=117]="lineCallout1NoBorder",t[t.lineCallout2NoBorder=118]="lineCallout2NoBorder",t[t.lineCallout3NoBorder=119]="lineCallout3NoBorder",t[t.lineCallout4NoBorder=120]="lineCallout4NoBorder",t[t.lineCallout1BorderandAccentBar=121]="lineCallout1BorderandAccentBar",t[t.lineCallout2BorderandAccentBar=122]="lineCallout2BorderandAccentBar",t[t.lineCallout3BorderandAccentBar=123]="lineCallout3BorderandAccentBar",t[t.lineCallout4BorderandAccentBar=124]="lineCallout4BorderandAccentBar",t[t.actionButtonCustom=125]="actionButtonCustom",t[t.actionButtonHome=126]="actionButtonHome",t[t.actionButtonHelp=127]="actionButtonHelp",t[t.actionButtonInformation=128]="actionButtonInformation",t[t.actionButtonBackorPrevious=129]="actionButtonBackorPrevious",t[t.actionButtonForwardorNext=130]="actionButtonForwardorNext",t[t.actionButtonBeginning=131]="actionButtonBeginning",t[t.actionButtonEnd=132]="actionButtonEnd",t[t.actionButtonReturn=133]="actionButtonReturn",t[t.actionButtonDocument=134]="actionButtonDocument",t[t.actionButtonSound=135]="actionButtonSound",t[t.actionButtonMovie=136]="actionButtonMovie",t[t.balloon=137]="balloon",t[t.flowchartOfflineStorage=138]="flowchartOfflineStorage",t[t.leftRightRibbon=139]="leftRightRibbon",t[t.diagonalStripe=140]="diagonalStripe",t[t.pie=141]="pie",t[t.nonIsoscelesTrapezoid=142]="nonIsoscelesTrapezoid",t[t.decagon=143]="decagon",t[t.heptagon=144]="heptagon",t[t.dodecagon=145]="dodecagon",t[t.star6Point=146]="star6Point",t[t.star7Point=147]="star7Point",t[t.star10Point=148]="star10Point",t[t.star12Point=149]="star12Point",t[t.round1Rectangle=150]="round1Rectangle",t[t.round2SameRectangle=151]="round2SameRectangle",t[t.round2DiagRectangle=152]="round2DiagRectangle",t[t.snipRoundRectangle=153]="snipRoundRectangle",t[t.snip1Rectangle=154]="snip1Rectangle",t[t.snip2SameRectangle=155]="snip2SameRectangle",t[t.snip2DiagRectangle=156]="snip2DiagRectangle",t[t.frame=157]="frame",t[t.halfFrame=158]="halfFrame",t[t.tear=159]="tear",t[t.chord=160]="chord",t[t.corner=161]="corner",t[t.mathPlus=162]="mathPlus",t[t.mathMinus=163]="mathMinus",t[t.mathMultiply=164]="mathMultiply",t[t.mathDivide=165]="mathDivide",t[t.mathEqual=166]="mathEqual",t[t.mathNotEqual=167]="mathNotEqual",t[t.cornerTabs=168]="cornerTabs",t[t.squareTabs=169]="squareTabs",t[t.plaqueTabs=170]="plaqueTabs",t[t.gear6=171]="gear6",t[t.gear9=172]="gear9",t[t.funnel=173]="funnel",t[t.pieWedge=174]="pieWedge",t[t.leftCircularArrow=175]="leftCircularArrow",t[t.leftRightCircularArrow=176]="leftRightCircularArrow",t[t.swooshArrow=177]="swooshArrow",t[t.cloud=178]="cloud",t[t.chartX=179]="chartX",t[t.chartStar=180]="chartStar",t[t.chartPlus=181]="chartPlus",t[t.lineInverse=182]="lineInverse",t[t.line=183]="line",(t=a=h.GradientFillType||(h.GradientFillType={}))[t.linear=0]="linear",t[t.radial=1]="radial",(t=f=h.LinearGradientFillDirection||(h.LinearGradientFillDirection={}))[t.linearRight=0]="linearRight",t[t.topLeftToBottomRight=45]="topLeftToBottomRight",t[t.linearDown=90]="linearDown",t[t.topRightToBottomLeft=135]="topRightToBottomLeft",t[t.linearLeft=180]="linearLeft",t[t.bottomRightToTopLeft=225]="bottomRightToTopLeft",t[t.linearUp=270]="linearUp",t[t.bottomLeftToTopRight=315]="bottomLeftToTopRight",(t=l=h.RadialGradientFillDirection||(h.RadialGradientFillDirection={}))[t.fromCenter=0]="fromCenter",t[t.fromTopLeft=1]="fromTopLeft",t[t.fromTopRight=2]="fromTopRight",t[t.fromBottomLeft=3]="fromBottomLeft",t[t.fromBottomRight=4]="fromBottomRight",(t=T=h.TextureFillAlignment||(h.TextureFillAlignment={}))[t.topLeft=0]="topLeft",t[t.top=1]="top",t[t.topRight=2]="topRight",t[t.left=3]="left",t[t.center=4]="center",t[t.right=5]="right",t[t.bottomLeft=6]="bottomLeft",t[t.bottom=7]="bottom",t[t.bottomRight=8]="bottomRight",(t=N=h.TextureFillMirrorType||(h.TextureFillMirrorType={}))[t.none=0]="none",t[t.horizontal=1]="horizontal",t[t.vertical=2]="vertical",t[t.both=3]="both",(t=P=h.ListBoxSelectionType||(h.ListBoxSelectionType={})).single="single",t.multi="multi",t.extend="extended",(t=D=h.FormControlType||(h.FormControlType={})).button="button",t.spinButton="spinButton",t.scrollBar="scrollBar",t.listBox="listBox",t.checkBox="checkBox",t.optionButton="optionButton",t.label="label",t.groupBox="groupBox",t.comboBox="comboBox",(t=U=h.ShapeType||(h.ShapeType={}))[t.AutoShape=0]="AutoShape",t[t.Chart=1]="Chart",t[t.Comment=2]="Comment",t[t.Group=3]="Group",t[t.Picture=4]="Picture",t[t.Slicer=5]="Slicer",(t=q=h.ThemeColor||(h.ThemeColor={}))[t.None=-1]="None",t[t.Light1=0]="Light1",t[t.Dark1=1]="Dark1",t[t.Light2=2]="Light2",t[t.Dark2=3]="Dark2",t[t.Accent1=4]="Accent1",t[t.Accent2=5]="Accent2",t[t.Accent3=6]="Accent3",t[t.Accent4=7]="Accent4",t[t.Accent5=8]="Accent5",t[t.Accent6=9]="Accent6",t[t.Hyperlink=10]="Hyperlink",t[t.FollowedHyperlink=11]="FollowedHyperlink",h.ThemeFont=i.Drawing.ThemeFont,h.SolidColorType=i.Drawing.SolidColorType,h.Placement=i.Drawing.Placement,h.DrawingType=i.Drawing.DrawingType,h.FillType=i.Drawing.FillType,h.ST_PathShadeType=i.Drawing.ST_PathShadeType,h.GradientStops=i.Drawing.GradientStops,h.GradientStop=i.Drawing.GradientStop,h.ColorType=i.Drawing.ColorType,h.GradientStyle=i.Drawing.GradientStyle,h.ColorFormat=i.Drawing.ColorFormat,h.ThreeDFormatStates=i.Drawing.ThreeDFormatStates,h.FillFormat=i.Drawing.FillFormat,h.PictureFormatType=i.Drawing.PictureFormatType,h.PictureFormat=i.Drawing.PictureFormat,h.LineFormat=i.Drawing.LineFormat,h.FontFormat=i.Drawing.FontFormat,h.DrawingText=i.Drawing.DrawingText,h.ShadowFormat=i.Drawing.ShadowFormat,h.GlowFormat=i.Drawing.GlowFormat,h.SoftEdgeFormat=i.Drawing.SoftEdgeFormat,h.ReflectionFormat=i.Drawing.ReflectionFormat,h.ThreeDFormat=i.Drawing.ThreeDFormat,h.ARGBColor=i.Drawing.ARGBColor,h.StatefulBase=i.Drawing.StatefulBase,h.ft=V.Common.ft,h.ST_TextAlignType=i.Drawing.ST_TextAlignType,h.ST_TextAnchoringType=i.Drawing.ST_TextAnchoringType,h.ST_TextVerticalType=i.Drawing.ST_TextVerticalType,h.ST_TextWrappingType=i.Drawing.ST_TextWrappingType,h.ST_TextVertOverflowType=i.Drawing.ST_TextVertOverflowType,h.ST_TextHorzOverflowType=i.Drawing.ST_TextHorzOverflowType,h.ST_PresetLineDashVal=i.Drawing.ST_PresetLineDashVal,h.ST_CompoundLine=i.Drawing.ST_CompoundLine,(t=k=h.ConnectorType||(h.ConnectorType={}))[t.straight=0]="straight",t[t.elbow=1]="elbow",h.ST_FontCollectionIndex=i.Drawing.ST_FontCollectionIndex,(V=B=h.ST_ShapeType||(h.ST_ShapeType={}))[V.line=0]="line",V[V.lineInv=1]="lineInv",V[V.triangle=2]="triangle",V[V.rtTriangle=3]="rtTriangle",V[V.rect=4]="rect",V[V.diamond=5]="diamond",V[V.parallelogram=6]="parallelogram",V[V.trapezoid=7]="trapezoid",V[V.nonIsoscelesTrapezoid=8]="nonIsoscelesTrapezoid",V[V.pentagon=9]="pentagon",V[V.hexagon=10]="hexagon",V[V.heptagon=11]="heptagon",V[V.octagon=12]="octagon",V[V.decagon=13]="decagon",V[V.dodecagon=14]="dodecagon",V[V.star4=15]="star4",V[V.star5=16]="star5",V[V.star6=17]="star6",V[V.star7=18]="star7",V[V.star8=19]="star8",V[V.star10=20]="star10",V[V.star12=21]="star12",V[V.star16=22]="star16",V[V.star24=23]="star24",V[V.star32=24]="star32",V[V.roundRect=25]="roundRect",V[V.round1Rect=26]="round1Rect",V[V.round2SameRect=27]="round2SameRect",V[V.round2DiagRect=28]="round2DiagRect",V[V.snipRoundRect=29]="snipRoundRect",V[V.snip1Rect=30]="snip1Rect",V[V.snip2SameRect=31]="snip2SameRect",V[V.snip2DiagRect=32]="snip2DiagRect",V[V.plaque=33]="plaque",V[V.ellipse=34]="ellipse",V[V.teardrop=35]="teardrop",V[V.homePlate=36]="homePlate",V[V.chevron=37]="chevron",V[V.pieWedge=38]="pieWedge",V[V.pie=39]="pie",V[V.blockArc=40]="blockArc",V[V.donut=41]="donut",V[V.noSmoking=42]="noSmoking",V[V.rightArrow=43]="rightArrow",V[V.leftArrow=44]="leftArrow",V[V.upArrow=45]="upArrow",V[V.downArrow=46]="downArrow",V[V.stripedRightArrow=47]="stripedRightArrow",V[V.notchedRightArrow=48]="notchedRightArrow",V[V.bentUpArrow=49]="bentUpArrow",V[V.leftRightArrow=50]="leftRightArrow",V[V.upDownArrow=51]="upDownArrow",V[V.leftUpArrow=52]="leftUpArrow",V[V.leftRightUpArrow=53]="leftRightUpArrow",V[V.quadArrow=54]="quadArrow",V[V.leftArrowCallout=55]="leftArrowCallout",V[V.rightArrowCallout=56]="rightArrowCallout",V[V.upArrowCallout=57]="upArrowCallout",V[V.downArrowCallout=58]="downArrowCallout",V[V.leftRightArrowCallout=59]="leftRightArrowCallout",V[V.upDownArrowCallout=60]="upDownArrowCallout",V[V.quadArrowCallout=61]="quadArrowCallout",V[V.bentArrow=62]="bentArrow",V[V.uturnArrow=63]="uturnArrow",V[V.circularArrow=64]="circularArrow",V[V.leftCircularArrow=65]="leftCircularArrow",V[V.leftRightCircularArrow=66]="leftRightCircularArrow",V[V.curvedRightArrow=67]="curvedRightArrow",V[V.curvedLeftArrow=68]="curvedLeftArrow",V[V.curvedUpArrow=69]="curvedUpArrow",V[V.curvedDownArrow=70]="curvedDownArrow",V[V.swooshArrow=71]="swooshArrow",V[V.cube=72]="cube",V[V.can=73]="can",V[V.lightningBolt=74]="lightningBolt",V[V.heart=75]="heart",V[V.sun=76]="sun",V[V.moon=77]="moon",V[V.smileyFace=78]="smileyFace",V[V.irregularSeal1=79]="irregularSeal1",V[V.irregularSeal2=80]="irregularSeal2",V[V.foldedCorner=81]="foldedCorner",V[V.bevel=82]="bevel",V[V.frame=83]="frame",V[V.halfFrame=84]="halfFrame",V[V.corner=85]="corner",V[V.diagStripe=86]="diagStripe",V[V.chord=87]="chord",V[V.arc=88]="arc",V[V.leftBracket=89]="leftBracket",V[V.rightBracket=90]="rightBracket",V[V.leftBrace=91]="leftBrace",V[V.rightBrace=92]="rightBrace",V[V.bracketPair=93]="bracketPair",V[V.bracePair=94]="bracePair",V[V.straightConnector1=95]="straightConnector1",V[V.bentConnector2=96]="bentConnector2",V[V.bentConnector3=97]="bentConnector3",V[V.bentConnector4=98]="bentConnector4",V[V.bentConnector5=99]="bentConnector5",V[V.curvedConnector2=100]="curvedConnector2",V[V.curvedConnector3=101]="curvedConnector3",V[V.curvedConnector4=102]="curvedConnector4",V[V.curvedConnector5=103]="curvedConnector5",V[V.callout1=104]="callout1",V[V.callout2=105]="callout2",V[V.callout3=106]="callout3",V[V.accentCallout1=107]="accentCallout1",V[V.accentCallout2=108]="accentCallout2",V[V.accentCallout3=109]="accentCallout3",V[V.borderCallout1=110]="borderCallout1",V[V.borderCallout2=111]="borderCallout2",V[V.borderCallout3=112]="borderCallout3",V[V.accentBorderCallout1=113]="accentBorderCallout1",V[V.accentBorderCallout2=114]="accentBorderCallout2",V[V.accentBorderCallout3=115]="accentBorderCallout3",V[V.wedgeRectCallout=116]="wedgeRectCallout",V[V.wedgeRoundRectCallout=117]="wedgeRoundRectCallout",V[V.wedgeEllipseCallout=118]="wedgeEllipseCallout",V[V.cloudCallout=119]="cloudCallout",V[V.cloud=120]="cloud",V[V.ribbon=121]="ribbon",V[V.ribbon2=122]="ribbon2",V[V.ellipseRibbon=123]="ellipseRibbon",V[V.ellipseRibbon2=124]="ellipseRibbon2",V[V.leftRightRibbon=125]="leftRightRibbon",V[V.verticalScroll=126]="verticalScroll",V[V.horizontalScroll=127]="horizontalScroll",V[V.wave=128]="wave",V[V.doubleWave=129]="doubleWave",V[V.plus=130]="plus",V[V.flowChartProcess=131]="flowChartProcess",V[V.flowChartDecision=132]="flowChartDecision",V[V.flowChartInputOutput=133]="flowChartInputOutput",V[V.flowChartPredefinedProcess=134]="flowChartPredefinedProcess",V[V.flowChartInternalStorage=135]="flowChartInternalStorage",V[V.flowChartDocument=136]="flowChartDocument",V[V.flowChartMultidocument=137]="flowChartMultidocument",V[V.flowChartTerminator=138]="flowChartTerminator",V[V.flowChartPreparation=139]="flowChartPreparation",V[V.flowChartManualInput=140]="flowChartManualInput",V[V.flowChartManualOperation=141]="flowChartManualOperation",V[V.flowChartConnector=142]="flowChartConnector",V[V.flowChartPunchedCard=143]="flowChartPunchedCard",V[V.flowChartPunchedTape=144]="flowChartPunchedTape",V[V.flowChartSummingJunction=145]="flowChartSummingJunction",V[V.flowChartOr=146]="flowChartOr",V[V.flowChartCollate=147]="flowChartCollate",V[V.flowChartSort=148]="flowChartSort",V[V.flowChartExtract=149]="flowChartExtract",V[V.flowChartMerge=150]="flowChartMerge",V[V.flowChartOfflineStorage=151]="flowChartOfflineStorage",V[V.flowChartOnlineStorage=152]="flowChartOnlineStorage",V[V.flowChartMagneticTape=153]="flowChartMagneticTape",V[V.flowChartMagneticDisk=154]="flowChartMagneticDisk",V[V.flowChartMagneticDrum=155]="flowChartMagneticDrum",V[V.flowChartDisplay=156]="flowChartDisplay",V[V.flowChartDelay=157]="flowChartDelay",V[V.flowChartAlternateProcess=158]="flowChartAlternateProcess",V[V.flowChartOffpageConnector=159]="flowChartOffpageConnector",V[V.actionButtonBlank=160]="actionButtonBlank",V[V.actionButtonHome=161]="actionButtonHome",V[V.actionButtonHelp=162]="actionButtonHelp",V[V.actionButtonInformation=163]="actionButtonInformation",V[V.actionButtonForwardNext=164]="actionButtonForwardNext",V[V.actionButtonBackPrevious=165]="actionButtonBackPrevious",V[V.actionButtonEnd=166]="actionButtonEnd",V[V.actionButtonBeginning=167]="actionButtonBeginning",V[V.actionButtonReturn=168]="actionButtonReturn",V[V.actionButtonDocument=169]="actionButtonDocument",V[V.actionButtonSound=170]="actionButtonSound",V[V.actionButtonMovie=171]="actionButtonMovie",V[V.gear6=172]="gear6",V[V.gear9=173]="gear9",V[V.funnel=174]="funnel",V[V.mathPlus=175]="mathPlus",V[V.mathMinus=176]="mathMinus",V[V.mathMultiply=177]="mathMultiply",V[V.mathDivide=178]="mathDivide",V[V.mathEqual=179]="mathEqual",V[V.mathNotEqual=180]="mathNotEqual",V[V.cornerTabs=181]="cornerTabs",V[V.squareTabs=182]="squareTabs",V[V.plaqueTabs=183]="plaqueTabs",V[V.chartX=184]="chartX",V[V.chartStar=185]="chartStar",V[V.chartPlus=186]="chartPlus",(t=Z=h.ST_SchemeColorVal||(h.ST_SchemeColorVal={}))[t.bg1=0]="bg1",t[t.tx1=1]="tx1",t[t.bg2=2]="bg2",t[t.tx2=3]="tx2",t[t.accent1=4]="accent1",t[t.accent2=5]="accent2",t[t.accent3=6]="accent3",t[t.accent4=7]="accent4",t[t.accent5=8]="accent5",t[t.accent6=9]="accent6",t[t.hlink=10]="hlink",t[t.folHlink=11]="folHlink",t[t.phClr=12]="phClr",t[t.dk1=13]="dk1",t[t.lt1=14]="lt1",t[t.dk2=15]="dk2",t[t.lt2=16]="lt2",(V=H=h.CT_ShapeType||(h.CT_ShapeType={}))[V.CT_AlternateContent=0]="CT_AlternateContent",V[V.CT_Picture=1]="CT_Picture",V[V.CT_GraphicalObjectFrame=2]="CT_GraphicalObjectFrame",V[V.CT_GroupShape=3]="CT_GroupShape",V[V.CT_Connector=4]="CT_Connector",V[V.CT_Shape=5]="CT_Shape",V[V.CT_SlicerShape=6]="CT_SlicerShape",V[V.CT_FormControlShape=7]="CT_FormControlShape",V[V.CT_Chart=8]="CT_Chart",V[V.CT_DataChart=9]="CT_DataChart",(t=z=h.PresetLineDashStyle||(h.PresetLineDashStyle={}))[t.solid=0]="solid",t[t.squareDot=1]="squareDot",t[t.dash=2]="dash",t[t.longDash=3]="longDash",t[t.dashDot=4]="dashDot",t[t.longDashDot=5]="longDashDot",t[t.longDashDotDot=6]="longDashDotDot",t[t.sysDash=7]="sysDash",t[t.sysDot=8]="sysDot",t[t.sysDashDot=9]="sysDashDot",t[t.dashDotDot=10]="dashDotDot",(V=Q=h.LineCapStyle||(h.LineCapStyle={}))[V.flat=2]="flat",V[V.square=1]="square",V[V.round=0]="round",(t=G=h.LineJoinStyle||(h.LineJoinStyle={}))[t.round=0]="round",t[t.miter=1]="miter",t[t.bevel=2]="bevel",(V=J=h.CompoundType||(h.CompoundType={}))[V.simple=0]="simple",V[V.double=1]="double",V[V.thickThin=2]="thickThin",V[V.thinThick=3]="thinThick",V[V.triple=4]="triple",(t=W=h.ArrowheadStyle||(h.ArrowheadStyle={}))[t.none=0]="none",t[t.triangle=1]="triangle",t[t.stealth=2]="stealth",t[t.diamond=3]="diamond",t[t.oval=4]="oval",t[t.open=5]="open",(V=K=h.ArrowheadLength||(h.ArrowheadLength={}))[V.short=0]="short",V[V.medium=1]="medium",V[V.long=2]="long",(t=$=h.ArrowheadWidth||(h.ArrowheadWidth={}))[t.narrow=0]="narrow",t[t.medium=1]="medium",t[t.wide=2]="wide",h.ShapeConstants=i.Drawing.DrawingConstants,g=["round","miter","bevel"],A=["round","square","butt"],p=["solid","dot","dash","lgDash","dashDot","lgDashDot","lgDashDotDot","sysDash","sysDot","sysDashDot","sysDashDotDot"],w={solid:[],dash:[4,3],dashDot:[4,3,1,3],dot:[1,3],lgDash:[8,3],lgDashDot:[8,3,1,3],lgDashDotDot:[8,3,1,3,1,3],sysDash:[3,1],sysDashDot:[3,1,1,1],sysDashDotDot:[3,1,1,1,1,1],sysDot:[1,1]},X.ToConnectorType=function(t){var V;switch(t){case 95:case 0:V=0;break;case 96:case 97:case 98:case 99:V=1;break;default:V=2}return V},X.GetConnectorPointNum=function(t){switch(t){case 96:case 100:return 2;case 97:case 101:return 3;case 98:case 102:return 4;case 99:case 103:return 5;default:return 2}},X.ToConnectorST_ShapeType=function(t,V){var n=0;switch(t){case 0:n=95;break;case 1:n=2<=V&&V<=5?V-2+96:97;break;case 2:n=2<=V&&V<=5?V-2+100:101}return n},X.ToAutoShapeType=function(t){switch(t){case 4:return 1;case 6:return 2;case 7:return 3;case 5:return 4;case 25:return 5;case 12:return 6;case 2:return 7;case 3:return 8;case 34:return 9;case 10:return 10;case 130:return 11;case 9:return 12;case 73:return 13;case 72:return 14;case 82:return 15;case 81:return 16;case 78:return 17;case 41:return 18;case 42:return 19;case 40:return 20;case 75:return 21;case 74:return 22;case 76:return 23;case 77:return 24;case 88:return 25;case 93:return 26;case 94:return 27;case 33:return 28;case 89:return 29;case 90:return 30;case 91:return 31;case 92:return 32;case 43:return 33;case 44:return 34;case 45:return 35;case 46:return 36;case 50:return 37;case 51:return 38;case 54:return 39;case 53:return 40;case 62:return 41;case 63:return 42;case 52:return 43;case 49:return 44;case 67:return 45;case 68:return 46;case 69:return 47;case 70:return 48;case 47:return 49;case 48:return 50;case 36:return 51;case 37:return 52;case 56:return 53;case 55:return 54;case 57:return 55;case 58:return 56;case 59:return 57;case 60:return 58;case 61:return 59;case 64:return 60;case 131:return 61;case 158:return 62;case 132:return 63;case 133:return 64;case 134:return 65;case 135:return 66;case 136:return 67;case 137:return 68;case 138:return 69;case 139:return 70;case 140:return 71;case 141:return 72;case 142:return 73;case 159:return 74;case 143:return 75;case 144:return 76;case 145:return 77;case 146:return 78;case 147:return 79;case 148:return 80;case 149:return 81;case 150:return 82;case 152:return 83;case 157:return 84;case 153:return 85;case 154:return 86;case 155:return 87;case 156:return 88;case 79:return 89;case 80:return 90;case 15:return 91;case 16:return 92;case 19:return 93;case 22:return 94;case 23:return 95;case 24:return 96;case 122:return 97;case 121:return 98;case 124:return 99;case 123:return 100;case 126:return 101;case 127:return 102;case 128:return 103;case 129:return 104;case 116:return 105;case 117:return 106;case 118:return 107;case 119:return 108;case 110:return 109;case 111:return 111;case 112:return 112;case 104:return 113;case 107:return 114;case 108:return 115;case 109:return 116;case 105:return 119;case 106:return 120;case 113:return 122;case 114:return 123;case 115:return 124;case 160:return 125;case 161:return 126;case 162:return 127;case 163:return 128;case 165:return 129;case 164:return 130;case 167:return 131;case 166:return 132;case 168:return 133;case 169:return 134;case 170:return 135;case 171:return 136;case 151:return 138;case 125:return 139;case 86:return 140;case 39:return 141;case 8:return 142;case 13:return 143;case 11:return 144;case 14:return 145;case 17:return 146;case 18:return 147;case 20:return 148;case 21:return 149;case 26:return 150;case 27:return 151;case 28:return 152;case 29:return 153;case 30:return 154;case 31:return 155;case 32:return 156;case 83:return 157;case 84:return 158;case 35:return 159;case 87:return 160;case 85:return 161;case 175:return 162;case 176:return 163;case 177:return 164;case 178:return 165;case 179:return 166;case 180:return 167;case 181:return 168;case 182:return 169;case 183:return 170;case 172:return 171;case 173:return 172;case 174:return 173;case 38:return 174;case 65:return 175;case 66:return 176;case 71:return 177;case 120:return 178;case 184:return 179;case 185:return 180;case 186:return 181;case 1:return 182;case 0:return 183}return 0},X.ToST_ShapeType=function(t){switch(t){case 1:return 4;case 2:return 6;case 3:return 7;case 4:return 5;case 5:return 25;case 6:return 12;case 7:return 2;case 8:return 3;case 9:return 34;case 10:return 10;case 11:return 130;case 12:return 9;case 13:return 73;case 14:return 72;case 15:return 82;case 16:return 81;case 17:return 78;case 18:return 41;case 19:return 42;case 20:return 40;case 21:return 75;case 22:return 74;case 23:return 76;case 24:return 77;case 25:return 88;case 26:return 93;case 27:return 94;case 28:return 33;case 29:return 89;case 30:return 90;case 31:return 91;case 32:return 92;case 33:return 43;case 34:return 44;case 35:return 45;case 36:return 46;case 37:return 50;case 38:return 51;case 39:return 54;case 40:return 53;case 41:return 62;case 42:return 63;case 43:return 52;case 44:return 49;case 45:return 67;case 46:return 68;case 47:return 69;case 48:return 70;case 49:return 47;case 50:return 48;case 51:return 36;case 52:return 37;case 53:return 56;case 54:return 55;case 55:return 57;case 56:return 58;case 57:return 59;case 58:return 60;case 59:return 61;case 60:return 64;case 61:return 131;case 62:return 158;case 63:return 132;case 64:return 133;case 65:return 134;case 66:return 135;case 67:return 136;case 68:return 137;case 69:return 138;case 70:return 139;case 71:return 140;case 72:return 141;case 73:return 142;case 74:return 159;case 75:return 143;case 76:return 144;case 77:return 145;case 78:return 146;case 79:return 147;case 80:return 148;case 81:return 149;case 82:return 150;case 83:return 152;case 84:return 157;case 85:return 153;case 86:return 154;case 87:return 155;case 88:return 156;case 89:return 79;case 90:return 80;case 91:return 15;case 92:return 16;case 93:return 19;case 94:return 22;case 95:return 23;case 96:return 24;case 97:return 122;case 98:return 121;case 99:return 124;case 100:return 123;case 101:return 126;case 102:return 127;case 103:return 128;case 104:return 129;case 105:return 116;case 106:return 117;case 107:return 118;case 108:return 119;case 109:case 110:return 110;case 111:return 111;case 112:return 112;case 113:return 104;case 114:return 107;case 115:return 108;case 116:return 109;case 117:case 118:return 104;case 119:return 105;case 120:return 106;case 121:return 110;case 122:return 113;case 123:return 114;case 124:return 115;case 125:return 160;case 126:return 161;case 127:return 162;case 128:return 163;case 129:return 165;case 130:return 164;case 131:return 167;case 132:return 166;case 133:return 168;case 134:return 169;case 135:return 170;case 136:return 171;case 137:return 117;case 138:return 151;case 139:return 125;case 140:return 86;case 141:return 39;case 142:return 8;case 143:return 13;case 144:return 11;case 145:return 14;case 146:return 17;case 147:return 18;case 148:return 20;case 149:return 21;case 150:return 26;case 151:return 27;case 152:return 28;case 153:return 29;case 154:return 30;case 155:return 31;case 156:return 32;case 157:return 83;case 158:return 84;case 159:return 35;case 160:return 87;case 161:return 85;case 162:return 175;case 163:return 176;case 164:return 177;case 165:return 178;case 166:return 179;case 167:return 180;case 168:return 181;case 169:return 182;case 170:return 183;case 171:return 172;case 172:return 173;case 173:return 174;case 174:return 38;case 175:return 65;case 176:return 66;case 177:return 71;case 178:return 120;case 179:return 184;case 180:return 185;case 181:return 186;case 182:return 1;case 183:return 0}return 0},X.convertFromExcelAdjustValues=function(t){if(t&&t.length)return t.map(it)},X.syncShapeAdjustValues=function(V,t){var t=t.AdjustValues;V&&t&&t.length&&(V.suspendResetPath(),t.forEach(function(t){V.setVariable(t[0],t[1])}),V.resumeResetPath())},X.getShapeTextInfo=function(t){var V,t,n,i,V=t.Text,t=t.TextBody,n,i;return{text:V,formatInfo:ct(t),fontInfo:L(t)}},X.getFontOptions=function(t){var t=b(t);return{font:m(t),fill:{type:1,color:t.color}}},X.getFontFromShapeData=function(t){var V;return m(L(t.I0i.TextBody))},X.syncShapeTextFormatOptions=function(t,V){var n,i,i,i,n,n,e,n=X.getShapeTextInfo(V&&V.I0i),i=n.text;t.text=i,i=n.fontInfo,t.font=m(i),t.fill={type:1,color:i.color},(n=(i=n.formatInfo).margins)&&(t.margins={left:n[0],right:n[1],top:n[2],bottom:n[3]}),t.textDirection=st(i),n=t.horizontalAlignment=i.horz&&i.center?1:i.hAlign,e=t.verticalAlignment=i.vAlign,t.wrapTextInShape=i.wrap,isNaN(V.fzn)&&(V.fzn=e),isNaN(V.czn)&&(V.czn=n),t.allowTextToOverflowShape=i.overflow,delete t.textDirection,i.horz&&90!==i.angle||(t.horizontalAlignment=2-i.hAlign),r(V.TrV)||(t.resizeToFitText=V.TrV)},X.getLineFormatInfo=function(t,V){var n,n,V;if(t)return n=R(t),n={width:t.Weight,capType:t.CapStyle,joinType:t.JoinStyle,compoundType:t.Style,lineStyle:t.DashStyle,color:n.color,transparency:n.transparency},V&&((V=t.BeginArrowheadStyle)&&(n.beginArrow={type:V,widthType:t.BeginArrowheadWidth,lengthType:t.BeginArrowheadLength}),V=t.EndArrowheadStyle)&&(n.endArrow={type:V,widthType:t.EndArrowheadWidth,lengthType:t.EndArrowheadLength}),n},X.syncShapeLineFormat=function(t,V){var V,n,i,e,n,e,V=X.getLineFormatInfo(V&&V.Line,!0),n=t.stroke;V&&(i=V.width,n.width=i,n.capType=at(V.capType),n.joinType=I(V.joinType),n.compoundType=V.compoundType,n.color=V.color,n.transparency=V.transparency,e=V.lineStyle,n.dashType=e&&i?dt(e,i):[],n=V.beginArrow,e=V.endArrow,t.endPoints||!n&&!e||(t.endPoints={}),n&&(t.endPoints.beginArrow=n),e)&&(t.endPoints.endArrow=e)},X.syncShapeOptions=function(t,V,n,i){var e,r,c,n,c,s,e=t.id,r=+e||+V.Id;r=(isNaN(r)?(c=n.getUniqueShapeId(!0),e&&isNaN(e[0])&&!n.getShapeById(e)||(e=c.key)):e=(c=n.ensureUniqueShapeId(r)).key,c.id),t.id=e,V.Id=r,(n=i?{}:t.options)&&(c=(c=n.textFormatOptions)||(n.textFormatOptions={}),X.syncShapeTextFormatOptions(c,V),(s=n.stroke)||(n.stroke={type:1}),X.syncShapeLineFormat(n,V),n.fill||(n.fill={}),F(n,V)),i&&o.GC$.extend(!0,t.options,n)},X.convertToExcelAdjustValues=function(t){if(t&&t.length)return t.map(et)},X.getRGBAColor=v,X.getColorInfo=R,X.getColorData=ot,X.getGradientFillType=_,X.getFillType=M,X.getFillFormatInfo=S,X.syncShapeFillFormat=F,X.getLineJoinValue=I,h.ShapeUtility=X,(V=Vt=h.ST_EditAs||(h.ST_EditAs={}))[V.twoCell=0]="twoCell",V[V.oneCell=1]="oneCell",V[V.absolute=2]="absolute",h.getWholeNumber=Y},"./dist/plugins/shape/formControl/baseFormControl.js":function(t,V,n){var i,e,r;function c(){}Object.defineProperty(V,"__esModule",{value:!0}),V.BaseFormControl=void 0,i=n("./dist/plugins/shape/formControl/controls/util.js"),e=n("./dist/plugins/shape/ui/util.js"),c.prototype.init=function(t){this.RQt=t,this.onMouseDown=this.onMouseDown.bind(this),this.onMouseMove=this.onMouseMove.bind(this),this.onMouseUp=this.onMouseUp.bind(this)},c.defaultStyle=function(){return{}},c.prototype.styleSupportInfo=function(){return{supportFill:!1,supportLine:!1,supportText:!1}},Object.defineProperty(c.prototype,"value",{get:function(){return this.y4},set:function(t){this.y4=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"options",{get:function(){return this.LEt},set:function(t){this.LEt=t},enumerable:!1,configurable:!0}),c.prototype.hitTest=function(t){var V,n;return t=this.convertToRelativePoint(t),V=this.width,n=this.height,(0,i.pointIsInRect)(t,{x:0,y:0,w:V,h:n})},c.prototype.render=function(t,V){},c.prototype.onMouseDown=function(t){},c.prototype.onMouseMove=function(t){},c.prototype.onMouseUp=function(t){},c.prototype.fromExcelProps=function(t){},c.prototype.toExcelProps=function(){return{}},c.prototype.dispose=function(){this.y4=null,this.LEt=null},c.prototype.triggerEvent=function(t,V){var n=this.sheet;n&&n.ki(t,V)},Object.defineProperty(c.prototype,"shape",{get:function(){return this.RQt},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"shapeUI",{get:function(){return this.RQt.ctV},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"sheet",{get:function(){return this.shape.Mf},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"x",{get:function(){return Math.round(this.shapeUI.left)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"y",{get:function(){return Math.round(this.shapeUI.top)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"width",{get:function(){return Math.round(this.shapeUI.width/this.zoom)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"height",{get:function(){return Math.round(this.shapeUI.height/this.zoom)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"zoom",{get:function(){var t=this.shapeUI;return t.TtV&&t.OtV||1},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"enabled",{get:function(){return this.shape.enabled()},enumerable:!1,configurable:!0}),c.prototype.refresh=function(t){this.shape.refresh(t)},c.prototype.getPointerRelativeControl=function(t,V){var V,V=V?V.getPointer(t):(0,e.getPointerByMouseEvt)(this.shape,t);return this.convertToRelativePoint(V)},c.prototype.convertToRelativePoint=function(t){return t.x-=this.x,t.y-=this.y,t.x/=this.zoom,t.y/=this.zoom,t},V.BaseFormControl=c},"./dist/plugins/shape/formControl/controls/ExcelBuildInFormControlBase.js":function(t,V,n){var i,e,r,c,n,s,o,d;function a(){var t=null!==d&&d.apply(this,arguments)||this;return t.rb=!1,t}i=this&&this.__extends||(o=function(t,V){return(o=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}o(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.ExcelBuildInFormControlBase=void 0,e=n("Core"),r=n("./dist/plugins/shape/ui/util.js"),c=n("./dist/plugins/shape/ui/shapes.js"),n=n("./dist/plugins/shape/formControl/baseFormControl.js"),d=n.BaseFormControl,i(a,d),a.prototype.onMouseDown=function(t){if(!this.shouldProcessMouseDownEvt(t))return!1;this.enabled&&!this.doMouseDown(t)||(this.rb=!0,t.cancelDefault=!0)},a.prototype.onMouseMove=function(t){this.doMouseMove(t),this.rb&&(t.cancelDefault=!0)},a.prototype.onMouseUp=function(t){this.doMouseUp(t),this.rb&&(t.cancelDefault=!0,this.rb=!1)},a.prototype.shouldProcessMouseEvt=function(t){var t=t.canvas.getPointer(t.evt);return!this.shape.isSelected()&&this.hitTest(t)},a.prototype.shouldProcessMouseDownEvt=function(t){return this.shouldProcessMouseEvt(t)&&(0===t.evt.button||void 0===t.evt.button)&&!t.evt.ctrlKey},a.prototype.doMouseDown=function(t){return!1},a.prototype.doMouseMove=function(t){},a.prototype.doMouseUp=function(t){},a.prototype.triggerValueChangedEvent=function(t,V){var t={sheet:this.sheet,sheetName:this.sheet.name(),shape:this.shape,oldValue:t,newValue:V};this.triggerEvent(e.Events.FormControlValueChanged,t)},a.prototype.triggerButtonClickedEvent=function(){var t={sheet:this.sheet,sheetName:this.sheet.name(),shape:this.shape};this.triggerEvent(e.Events.FormControlButtonClicked,t)},a.prototype.applyTextStyle=function(t,V,n){var i,e,e,V;void 0===V&&(V=!0),void 0===n&&(n=!0),e=(i=this.shapeUI).options,(e=i.options&&e.textFormatOptions)&&(V&&(V=r.Common.getOptionValue(e.font,i))&&r.Common.setContextFont(t,V),n)&&(0,c.applyFillOptions)(t,e.fill,i,2,2)},V.ExcelBuildInFormControlBase=a},"./dist/plugins/shape/formControl/controls/buttonFormControl.js":function(t,V,n){var i,e,d,r,c,s,o;function a(){var t=null!==o&&o.apply(this,arguments)||this;return t.LEt={},t.PtV=!1,t}i=this&&this.__extends||(s=function(t,V){return(s=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}s(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.ButtonFormControl=void 0,e=n("./dist/plugins/shape/formControl/controls/ExcelBuildInFormControlBase.js"),d=n("./dist/plugins/shape/formControl/controls/util.js"),r=1,o=e.ExcelBuildInFormControlBase,i(a,o),a.defaultStyle=function(){return{hAlign:1,vAlign:1,margins:{left:3,right:3,bottom:3,top:3}}},a.prototype.styleSupportInfo=function(){var t,V,n,t,V,n;return{supportFill:!1,supportLine:!1,supportText:!0,textRect:{x:this.PtV?1:0,y:this.PtV?1:0,w:this.width,h:this.height},supportHAlign:!0,supportVAlign:!0,supportWrapText:!0}},a.prototype.doMouseDown=function(){return this.PtV=!0,this.refresh(!0),!0},a.prototype.doMouseUp=function(){this.PtV&&(this.PtV=!1,this.refresh(),this.triggerButtonClickedEvent())},a.prototype.render=function(t,V){var n,i,e,r,c,s,o,n=this.width,i=this.height;t.save(),t.translate(-n/2,-i/2),(0,d.fillRect)(t,0,0,n,i,"rgb(240,240,240)"),e="rgb(240,240,240)",r="rgb(100,100,100)",c="white",s="rgb(160,160,160)",this.PtV&&(o=e,e=r,r=o,o=c,c=s,s=o),(0,d.drawTheeDShadingOuterRect)(t,n,i,1,e,r),(0,d.drawTheeDShadingInnerRect)(t,n,i,1,c,s),t.restore()},V.ButtonFormControl=a},"./dist/plugins/shape/formControl/controls/checkBoxFormControl.js":function(t,V,n){var i,e,r,d,c,s,o,a,h,u,x;function y(){var t=(o=document.createElement("canvas")).getContext("2d");o.width=2,o.height=2,t.save(),t.scale(.5,.5),t.beginPath(),t.moveTo(0,0),t.rect(0,0,2,2),t.moveTo(2,2),t.rect(2,2,2,2),t.fillStyle="black",t.fill(),t.restore()}function f(){return o||y(),o}function l(){return null!==x&&x.apply(this,arguments)||this}i=this&&this.__extends||(u=function(t,V){return(u=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}u(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),e=this&&this.__assign||function(){return(e=Object.assign||function(t){for(var V,n,i,e,n=1,i=arguments.length;n<i;n++)for(e in V=arguments[n])Object.prototype.hasOwnProperty.call(V,e)&&(t[e]=V[e]);return t}).apply(this,arguments)},Object.defineProperty(V,"__esModule",{value:!0}),V.CheckBoxFormControl=void 0,r=n("./dist/plugins/shape/formControl/supportCellLinkFormControl.js"),d=n("./dist/plugins/shape/formControl/controls/util.js"),a={checked:!(c=void 0),unChecked:!(s="#N/A"),mixed:void 0},x=r.SupportCellLinkFormControl,i(l,x),l.prototype.init=function(t){x.prototype.init.call(this,t),this.LEt={cellLink:"",threeDShading:!1},this.y4=a.unChecked},Object.defineProperty(l.prototype,"options",{get:function(){return e(e({},this.LEt),{cellLink:this.cellLink})},set:function(t){this.cellLink=t.cellLink,this.LEt.threeDShading=t.threeDShading,this.refresh()},enumerable:!1,configurable:!0}),l.defaultStyle=function(){return{vAlign:1,margins:{left:3,right:0,top:2,bottom:2}}},l.prototype.styleSupportInfo=function(){var t,t,V,n,i,t=this.checkBoxRect,t=t.x+t.w,V,n,i;return{supportFill:!0,supportLine:!0,supportText:!0,textRect:{x:t,y:0,w:this.width-t,h:this.height},supportHAlign:!0,supportVAlign:!0,supportWrapText:!0}},l.prototype.preProcessValue=function(t){return t=!0===t?a.checked:t===s||t===c?a.mixed:a.unChecked},l.prototype.mapToCellValue=function(t){return t===a.mixed?s:t===a.checked},l.prototype.mapValueFromCell=function(t){return this.preProcessValue(t=1===t?!0:t)},l.prototype.doMouseDown=function(){return this.onClickCheckBox(),!0},l.prototype.onClickCheckBox=function(){var t,V,V=this.value;V===a.mixed||V===a.checked?t=a.unChecked:V===a.unChecked&&(t=a.checked),this.shape.usV("formControlValue",t,V),this.value=t},Object.defineProperty(l.prototype,"checkBoxRect",{get:function(){var t,V,n,t=12,V=7,n;return{x:7,y:(this.height-12)/2,w:12,h:12}},enumerable:!1,configurable:!0}),l.prototype.render=function(c,t){var V,n,i,s,e,r,o,V=this,n=this.width,i=this.height,s=this.checkBoxRect,e=function(){(0,d.fillRect)(c,0,0,s.w,s.h,"white"),V.threeDShading?((0,d.drawTheeDShadingRect)(c,0,0,s.w,s.h,"rgb(160,160,160)","rgb(240,240,240)"),(0,d.drawTheeDShadingRect)(c,1,1,s.w-2,s.h-2,"rgb(100,100,100)","white")):(0,d.strokeRect)(c,0,0,s.w,s.h,"black")},r=function(){var t,V,n,i,e,r;c.beginPath(),V=2*(t=s.w/5),n=4*t,e=3*(i=s.h/4),r=s.h/2,c.moveTo(t,r),c.lineTo(V,e),c.lineTo(n,i),c.lineWidth=2,c.stroke()},o=function(){c.beginPath(),V.threeDShading?c.rect(3,3,s.w-5,s.h-5):c.rect(0,0,s.w,s.h),c.fillStyle=c.createPattern(f(),"repeat"),c.fill()};c.save(),c.translate(-n/2,-i/2),c.translate(s.x,s.y),e(),this.value===a.checked?r():this.value===a.mixed&&o(),c.restore()},l.prototype.fromExcelProps=function(t){var V=this.options;if(t.fmlaLink&&(V.cellLink=t.fmlaLink),V.threeDShading="1"!==t.noThreeD,t.checked)switch(t.checked){case"Checked":this.y4=a.checked;break;case"Mixed":this.y4=a.mixed;break;default:this.y4=a.unChecked}else this.y4=a.unChecked;this.options=V},l.prototype.toExcelProps=function(){var t,t,t=this.options,t={lockText:"1",noThreeD:t.threeDShading?"0":"1",fmlaLink:t.cellLink};return this.y4!==a.unChecked&&(t.checked=this.y4?"Checked":"Mixed"),t},Object.defineProperty(l.prototype,"threeDShading",{get:function(){return this.options.threeDShading},enumerable:!1,configurable:!0}),V.CheckBoxFormControl=l},"./dist/plugins/shape/formControl/controls/comboFormControl.js":function(t,V,n){var i,e,s,r,d,c,o,a,h,u,x,y,f,l,g,A;function p(){this.NtV=!1,this.DtV=document.createElement("canvas"),this.qtV=document.createElement("canvas"),this.qtV.className="gc-spread-shapes-combo_dropdown_list",this.UtV=new r.ListBox,this.initDomElement(),this.initListBox(),this.closeIfTargetNotListBox=this.closeIfTargetNotListBox.bind(this),this.comboCanvasClick=this.comboCanvasClick.bind(this),this.listBoxCanvasMouseDown=this.listBoxCanvasMouseDown.bind(this),this.listBoxCanvasMouseWheel=this.listBoxCanvasMouseWheel.bind(this),this.windowMouseMove=this.windowMouseMove.bind(this),this.windowMouseUp=this.windowMouseUp.bind(this),this.bindEvent(),this.LQ=!1}function w(){var t=null!==A&&A.apply(this,arguments)||this;return t.ktV=22,t}i=this&&this.__extends||(g=function(t,V){return(g=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}g(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),e=this&&this.__assign||function(){return(e=Object.assign||function(t){for(var V,n,i,e,n=1,i=arguments.length;n<i;n++)for(e in V=arguments[n])Object.prototype.hasOwnProperty.call(V,e)&&(t[e]=V[e]);return t}).apply(this,arguments)},Object.defineProperty(V,"__esModule",{value:!0}),V.ComboFormControl=V.ComboFormControlDomRender=void 0,s=n("Core"),r=n("./dist/plugins/shape/formControl/controls/listBox.js"),d=n("./dist/plugins/shape/formControl/controls/util.js"),c=n("./dist/plugins/shape/formControl/supportCellLinkFormControl.js"),o=n("./dist/plugins/shape/ui/util.js"),a=-1,h=1,u=3,x=2,y=0,p.prototype.initListBox=function(){var n=this;this.UtV.props.highlightHoverItem=!0,this.UtV.props.hiddenScrollBarWhenAllItemCanDisplay=!0,this.UtV.props.onSelIndexChange=function(t,V){n.BtV.value=V},this.UtV.props.onItemClick=function(){n.close()},this.UtV.props.refresh=function(){n.refreshListBoxCanvas()},this.UtV.props.setCursor=function(t){n.qtV.style.cursor=t},this.UtV.props.getPointerRelativeControl=this.getPointerRelativeControl.bind(this)},p.prototype.bindEvent=function(){window.addEventListener("mousedown",this.closeIfTargetNotListBox,!0),window.addEventListener("pointerdown",this.closeIfTargetNotListBox,!0),window.addEventListener("MSPointerDown",this.closeIfTargetNotListBox,!0),window.addEventListener("mousewheel",this.closeIfTargetNotListBox,!0),this.DtV.addEventListener("click",this.comboCanvasClick);var t=this.qtV;t.addEventListener("mousedown",this.listBoxCanvasMouseDown),t.addEventListener("pointerdown",this.listBoxCanvasMouseDown),t.addEventListener("MSPointerDown",this.listBoxCanvasMouseDown),t.addEventListener("mousewheel",this.listBoxCanvasMouseWheel),window.addEventListener("mousemove",this.windowMouseMove),window.addEventListener("pointermove",this.windowMouseMove),window.addEventListener("MSPointerMove",this.windowMouseMove),window.addEventListener("mouseup",this.windowMouseUp),window.addEventListener("pointerup",this.windowMouseUp),window.addEventListener("MSPointerUp",this.windowMouseUp)},p.prototype.unbindEvent=function(){window.removeEventListener("mousedown",this.closeIfTargetNotListBox,!0),window.removeEventListener("pointerdown",this.closeIfTargetNotListBox,!0),window.removeEventListener("MSPointerDown",this.closeIfTargetNotListBox,!0),window.removeEventListener("mousewheel",this.closeIfTargetNotListBox,!0),this.DtV.removeEventListener("click",this.comboCanvasClick);var t=this.qtV;t.removeEventListener("mousedown",this.listBoxCanvasMouseDown),t.removeEventListener("pointerdown",this.listBoxCanvasMouseDown),t.removeEventListener("MSPointerDown",this.listBoxCanvasMouseDown),t.removeEventListener("mousewheel",this.listBoxCanvasMouseWheel),window.removeEventListener("mousemove",this.windowMouseMove),window.removeEventListener("pointermove",this.windowMouseMove),window.removeEventListener("MSPointerMove",this.windowMouseMove),window.removeEventListener("mouseup",this.windowMouseUp),window.removeEventListener("pointerup",this.windowMouseUp),window.removeEventListener("MSPointerUp",this.windowMouseUp)},p.getInstance=function(){return this.OGt||(this.OGt=new p),this.OGt},p.dispose=function(){var t=this.OGt;t&&(t.LQ&&t.close(),t.unbindEvent(),t.DtV=void 0,t.qtV=void 0,t.BtV=void 0,t.UtV=void 0,this.OGt=void 0)},p.prototype.show=function(t){var V,t,V=this;V.BtV=t,V.LQ=!0,V.refreshPositionAndSize(),(t=this.UtV).props.items=this.items,t.props.selIndex=this.selIndex,t.scrollTo(this.selIndex-1),V.refreshCanvas(),V.host.appendChild(V.DtV),V.host.appendChild(V.qtV)},p.prototype.close=function(){var t=this;t.LQ&&(t.LQ=!1,t.NtV=!1,t.host.removeChild(t.DtV),t.host.removeChild(t.qtV))},p.prototype.comboCanvasClick=function(t){this.close()},p.prototype.closeIfTargetNotListBox=function(t){var t=t.target;this.LQ&&t!==this.qtV&&this.close()},p.prototype.listBoxCanvasMouseDown=function(t){this.UtV.onMouseDown(t)&&(this.NtV=!0,t.preventDefault()),this.refreshListBoxCanvas()},p.prototype.windowMouseMove=function(t){this.UtV.onMouseMove(t),this.NtV&&t.preventDefault(),this.refreshListBoxCanvas()},p.prototype.windowMouseUp=function(t){this.NtV&&(this.UtV.onMouseUp(t),t.preventDefault()),this.NtV=!1,this.refreshListBoxCanvas()},p.prototype.listBoxCanvasMouseWheel=function(t){t.preventDefault()},Object.defineProperty(p.prototype,"shape",{get:function(){return this.BtV.shape},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"selIndex",{get:function(){return this.BtV.value},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"x",{get:function(){return this.BtV.x},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"y",{get:function(){return this.BtV.y},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"width",{get:function(){return this.BtV.width*this.zoom},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"height",{get:function(){return this.BtV.height*this.zoom},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"zoom",{get:function(){return this.BtV.zoom},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"items",{get:function(){return this.BtV.getItems()},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"itemHeight",{get:function(){var t=this.font;return t?o.Common.getFontHeight(t):17},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"font",{get:function(){var t;if(this.BtV)return t=this.DtV.getContext("2d"),this.BtV.applyTextStyle(t,!0,!1),t.font},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"listBoxHeight",{get:function(){var t,V,t=Math.min(this.dropLines,this.items.length),V;return(this.itemHeight*t||14)*this.zoom},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"dropLines",{get:function(){return this.BtV.options.dropDownLines},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"host",{get:function(){return this.shape.Mf.parent.j2()},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"spreadHost",{get:function(){return this.shape.Mf.parent.getHost()},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"shapeHostRect",{get:function(){var t,V,n,i,e,r,c,t,V,e,t,r,t=this.x,V=this.y,n=this.width,i=this.height,e=(0,o.getShapeStartLayer)(this.shape),r=(0,s.GC$)(e.host).offset(),t=t-e.scrollLeft||0,V=V-e.scrollTop||0,e=this.borderRenderWidth,t=r.left+t-e,r=r.top+V-e;return new o.Rect(t,r,n+e,i+e)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"spreadHostRect",{get:function(){var t,V,n,t,t=(0,s.GC$)(this.spreadHost),V=t.offset(),n=t.width(),t=t.height();return new o.Rect(V.left,V.top,n,t)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"borderRenderWidth",{get:function(){return Math.ceil(+this.zoom)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"devicePixelRatio",{get:function(){return window.devicePixelRatio||1},enumerable:!1,configurable:!0}),p.prototype.initDomElement=function(){var t,V,n,t="block",V="none",n="absolute";(0,s.GC$)(this.DtV).css({display:t,touchAction:V,position:n,zIndex:"950"}),(0,s.GC$)(this.qtV).css({display:t,touchAction:V,position:n,zIndex:"951"})},p.prototype.refreshCanvas=function(){this.refreshComboCanvas(),this.refreshListBoxCanvas()},p.prototype.refreshComboCanvas=function(){var t,V,n,i,t=this.DtV,V=t.getContext("2d"),n=this.devicePixelRatio,i=this.zoom;V.save(),V.scale(n,n),V.clearRect(0,0,t.width,t.height),V.translate(this.width/2,this.height/2),V.scale(i,i),this.BtV.render(V),V.restore()},p.prototype.refreshListBoxCanvas=function(){var t,V,n,i,e,t=this.qtV,V=t.getContext("2d"),n=this.devicePixelRatio,i=this.UtV,e=this.zoom;V.save(),V.font=this.font,V.scale(n,n),V.clearRect(0,0,t.width,t.height),0<i.itemsCount?(V.scale(e,e),i.render(V)):((0,d.fillRect)(V,0,0,t.width,t.height,"white"),(0,d.strokeRect)(V,0,0,t.width-1,t.height-1,"black")),V.restore()},p.prototype.refreshPositionAndSize=function(){var t,V,V,n,t=this.shapeHostRect,V=this.spreadHostRect,V=this.calcListBoxPositionAndSize(t,V),n=(0,s.GC$)(this.host).offset();this.convertToRelativeHostPosition(t,n),this.convertToRelativeHostPosition(V,n),this.refreshCombo(t),this.refreshListBox(V)},p.prototype.refreshCombo=function(t){var V=this.devicePixelRatio;this.DtV.width=t.width*V,this.DtV.height=t.height*V,(0,s.GC$)(this.DtV).css({left:"".concat(t.x,"px"),top:"".concat(t.y,"px"),width:"".concat(t.width,"px"),height:"".concat(t.height,"px")})},p.prototype.refreshListBox=function(t){var V,n,i,V=this.zoom,n=this.borderRenderWidth,i=this.devicePixelRatio;this.qtV.width=t.width*i,this.qtV.height=t.height*i,this.UtV.props.containerSize={w:(t.width-n)/V,h:(t.height-n)/V},this.UtV.props.itemHeight=this.itemHeight,(0,s.GC$)(this.qtV).css({left:"".concat(t.x,"px"),top:"".concat(t.y,"px"),width:"".concat(t.width,"px"),height:"".concat(t.height,"px")})},p.prototype.calcListBoxPositionAndSize=function(t,V){var n,i,e,V,r,c,n=this.borderRenderWidth,i=new o.Rect(t.x,t.y+t.height-n,t.width,this.listBoxHeight),e=t.y-V.y+n,V=V.y+V.height-t.y-t.height-n,r=function(){i.y=t.y+t.height-n},c=function(){i.y=t.y-i.height+n};return(V>i.height?r:e>i.height?c:e<V?(i.height=V,r):(i.height=e,c))(),i},p.prototype.convertToRelativeHostPosition=function(t,V){t.x-=V.left,t.y-=V.top,t.x=Math.max(t.x,0),t.y=Math.max(t.y,0)},p.prototype.getPointerRelativeControl=function(t){var V,n,i,V=(0,s.GC$)(this.qtV).offset();return V&&(V.top+=document.body.clientTop||0,V.left+=document.body.clientLeft||0),{x:n=(t.pageX-V.left)/this.zoom,y:i=(t.pageY-V.top)/this.zoom}},p.getListBoxComponentForAT=function(){return this.OGt&&this.OGt.UtV},f=p,V.ComboFormControlDomRender=f,A=c.SupportCellLinkFormControl,i(w,A),w.prototype.init=function(t){A.prototype.init.call(this,t),this.LEt={inputRange:"",cellLink:"",dropDownLines:8,threeDShading:!1},this.y4=-1},Object.defineProperty(w.prototype,"options",{get:function(){return e(e({},this.LEt),{cellLink:this.cellLink,inputRange:this.inputRange})},set:function(t){this.LEt.dropDownLines=t.dropDownLines,this.LEt.threeDShading=t.threeDShading,this.inputRange=t.inputRange,this.cellLink=t.cellLink,this.refresh()},enumerable:!1,configurable:!0}),w.defaultStyle=function(){return{vAlign:1,wrapText:!1,margins:{left:3,right:0,top:2,bottom:2}}},w.prototype.preProcessValue=function(t){return t=(0,d.normalizeInteger)(t),isNaN(t)||t<1?-1:t},w.prototype.mapToCellValue=function(t){return-1===t?0:t},w.prototype.doMouseDown=function(t){return f.getInstance().show(this),!0},Object.defineProperty(w.prototype,"dropDownBtnRect",{get:function(){var t,V,n,t,t=this.width,V=this.height,n=Math.min(t,V),t={x:t-n+1,y:1,w:n-2,h:V-2};return this.threeDShading?{x:t.x,y:t.y+1,w:t.w-1,h:t.h-1}:t},enumerable:!1,configurable:!0}),w.prototype.getItems=function(){return this.getInputRangeTexts()},w.prototype.render=function(i,t){var V,n,e,r,c,s,s,o,V=this.width,n=this.height;i.save(),i.translate(-V/2,-n/2),(0,d.fillRect)(i,0,0,V,n,"white"),e=this.dropDownBtnRect,r=function(){var t,t,V,n,t=.25,t=Math.min(e.w*t*2,e.h*t),V=(e.w-2*t)/2,n=(e.h-t)/2;i.save(),i.translate(V,n),i.beginPath(),i.moveTo(0,0),i.lineTo(2*t,0),i.lineTo(t,t),i.closePath(),i.fillStyle="black",i.fill(),i.restore()},(c=function(){var t,V,t="rgb(240,240,240)",V="rgb(160,160,160)";i.save(),i.translate(e.x,e.y),(0,d.fillRect)(i,0,0,e.w,e.h,t),(0,d.drawTheeDShadingOuterRect)(i,e.w,e.h,1,t,"black"),(0,d.drawTheeDShadingInnerRect)(i,e.w,e.h,1,"white",V),r(),i.restore()})(),-1!==this.value&&(i.save(),i.textBaseline="middle",i.textAlign="left",i.beginPath(),this.applyTextStyle(i),i.beginPath(),i.rect(3,0,V-e.w-6,n),i.clip(),i.fillText(this.displayText,3,n/2),i.restore()),this.threeDShading?(o="rgb(100,100,100)",(0,d.drawTheeDShadingOuterRectFourColor)(i,V,n,1,s="rgb(160,160,160)",s,"white",s="rgb(240,240,240)"),(0,d.drawTheeDShadingInnerRectFourColor)(i,V,n,1,o,o,s,"rgba(0,0,0,0)")):(0,d.strokeRect)(i,0,0,V,n,"rgb(130,135,144)"),i.restore()},Object.defineProperty(w.prototype,"threeDShading",{get:function(){return this.options.threeDShading},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"displayText",{get:function(){var t=this.getItems()[this.value-1];return void 0===t?"":t},enumerable:!1,configurable:!0}),w.prototype.fromExcelProps=function(t){var V=this.options;t.fmlaLink&&(V.cellLink=t.fmlaLink),t.fmlaRange&&(V.inputRange=t.fmlaRange),t.dropLines&&(V.dropDownLines=parseInt(t.dropLines,10)),t.dx&&(this.ktV=parseInt(t.dx,10)),V.threeDShading="1"!==t.noThreeD,this.y4=parseInt(t.sel,10)||-1,this.options=V},w.prototype.toExcelProps=function(){var t,V,V,t=this.options,V=this.ktV,V={dropStyle:"Combo",noThreeD:t.threeDShading?"0":"1",inc:"1",fmlaLink:t.cellLink,fmlaRange:t.inputRange,dx:V.toString(),dropLines:t.dropDownLines.toString()};return this.value&&(V.sel=this.value.toString()),V},w.prototype.getDropDownButtonRectangleForAT=function(){return this.dropDownBtnRect},w.prototype.getDisplayTextForAT=function(){return this.displayText},w.prototype.getDropdownListBoxComponentForAT=function(){return f.getListBoxComponentForAT()},V.ComboFormControl=w},"./dist/plugins/shape/formControl/controls/groupBoxFormControl.js":function(t,V,n){var i,o,e,d,n,r,c,s,a,h,u,x;function y(t){var V,n,i,e,e,V,i,V=a.getContext("2d"),n=t.options.textFormatOptions;return n?(i=n.text,(e=n.font)&&(V.font=e),e=V.measureText(i),V=r(n.margins,t),i=e.width,(i+=V.left||0)+(V.right||0)):0}function f(){return null!==x&&x.apply(this,arguments)||this}i=this&&this.__extends||(u=function(t,V){return(u=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}u(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var V,n,i,e,n=1,i=arguments.length;n<i;n++)for(e in V=arguments[n])Object.prototype.hasOwnProperty.call(V,e)&&(t[e]=V[e]);return t}).apply(this,arguments)},Object.defineProperty(V,"__esModule",{value:!0}),V.GroupBoxFormControl=void 0,e=n("./dist/plugins/shape/ui/util.js"),d=n("./dist/plugins/shape/formControl/controls/util.js"),n=n("./dist/plugins/shape/formControl/controls/ExcelBuildInFormControlBase.js"),r=e.Common.getOptionValue,c=8,s=6,a=document.createElement("canvas"),x=n.ExcelBuildInFormControlBase,i(f,x),f.prototype.init=function(t){x.prototype.init.call(this,t),this.LEt={threeDShading:!1}},Object.defineProperty(f.prototype,"options",{get:function(){return this.LEt},set:function(t){this.LEt.threeDShading=t.threeDShading,this.refresh()},enumerable:!1,configurable:!0}),f.defaultStyle=function(){return{wrapText:!1,margins:{left:3,right:0,top:2,bottom:0}}},f.prototype.styleSupportInfo=function(){return{supportFill:!1,supportLine:!1,supportText:!0,textRect:this.textRect,supportHAlign:!1,supportVAlign:!1,supportWrapText:!1}},Object.defineProperty(f.prototype,"textRect",{get:function(){var t;return{x:14,y:-4,w:this.width,h:25}},enumerable:!1,configurable:!0}),f.prototype.hitTest=function(t){var V,n,i,e,r,c,s,V,n;return t=this.convertToRelativePoint(t),V=this.width,n=this.height,r=this.textRect,s={x:i=1,y:1,w:V-(e=2),h:n-2},V=(0,d.pointIsInRect)(t,c={x:-1,y:-1,w:V+2,h:n+2})&&!(0,d.pointIsInRect)(t,s),n=(0,d.pointIsInRect)(t,o(o({},r),{x:r.x,y:r.y,w:y(this.shapeUI)})),V||n},f.prototype.render=function(t,V){var n,i,e,r,i,n=this.width,i=this.height,e=this.threeDShading?"rgb(160,160,160)":"black",r=y(this.shapeUI);t.save(),t.translate(-n/2-.5,-i/2-.5),t.beginPath(),t.moveTo(8,0),t.lineTo(0,0),t.lineTo(0,i),t.lineTo(n,i),t.lineTo(n,0),r?(i=Math.min(20+r,n-8),t.lineTo(i,0)):t.closePath(),t.strokeStyle=e,t.lineWidth=1,t.stroke(),t.restore()},f.prototype.fromExcelProps=function(t){var V=this.options;V.threeDShading="1"!==t.noThreeD,this.options=V},f.prototype.toExcelProps=function(){var t;return{noThreeD:this.options.threeDShading?"0":"1"}},Object.defineProperty(f.prototype,"threeDShading",{get:function(){return this.options.threeDShading},enumerable:!1,configurable:!0}),f.prototype.shouldProcessMouseDownEvt=function(t){return!1},V.GroupBoxFormControl=f},"./dist/plugins/shape/formControl/controls/labelFormControl.js":function(t,V,n){var i,n,e,r,c;function s(){var t=null!==c&&c.apply(this,arguments)||this;return t.LEt={},t}i=this&&this.__extends||(r=function(t,V){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}r(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.LabelFormControl=void 0,n=n("./dist/plugins/shape/formControl/controls/ExcelBuildInFormControlBase.js"),c=n.ExcelBuildInFormControlBase,i(s,c),s.defaultStyle=function(){return{margins:{left:3,right:0,top:2,bottom:0}}},s.prototype.styleSupportInfo=function(){var t,V,n,t,V,n;return{supportFill:!0,supportLine:!0,supportText:!0,textRect:{x:0,y:0,w:this.width,h:this.height},supportHAlign:!0,supportVAlign:!0,supportWrapText:!0}},s.prototype.shouldProcessMouseDownEvt=function(t){return!1},V.LabelFormControl=s},"./dist/plugins/shape/formControl/controls/listBox.js":function(t,V,n){var i,e,r,c,d,s,o,a,n,n;function h(){var n,t,n=this;this.ZtV=-1,this.KQt=-1,this.$Qt=!1,this.HtV=s.none,this.tWt={containerSize:{w:300,h:100},selIndex:-1,items:[],scrollCount:0,scrollBarWidth:22,itemHeight:17,selType:e.ListBoxSelectionType.single,textColor:"black",highlightHoverItem:!1,highlightItemTextColor:"white",highlightItemBackColor:"rgb(0, 120, 215)",hiddenScrollBarWhenAllItemCanDisplay:!1,threeDShading:!1,onSelIndexChange:function(){},onItemClick:function(){},refresh:function(){},setCursor:function(){},getPointerRelativeControl:function(t){return{x:0,y:0}}},(t=new r.ScrollBar).props.syncSliderHeightWithPageStep=!0,t.refresh=this.refresh.bind(this),t.getPointerRelativeControl=function(t){var t=n.getPointerRelativeControl(t),V=t.x,t=t.y;return{x:V-n.scrollBarLeftOffset,y:t}},t.setCursor=this.setCursor.bind(this),t.props.onScroll=this.onScrollBarChange.bind(this),this.iWt=t}i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var V,n,i,e,n=1,i=arguments.length;n<i;n++)for(e in V=arguments[n])Object.prototype.hasOwnProperty.call(V,e)&&(t[e]=V[e]);return t}).apply(this,arguments)},Object.defineProperty(V,"__esModule",{value:!0}),V.ListBox=void 0,e=n("./dist/plugins/shape/drawingInterface.js"),r=n("./dist/plugins/shape/formControl/controls/scrollbar.js"),c=n("./dist/plugins/shape/formControl/controls/util.js"),(n=d=d||{}).item="item",n.scrollBar="scrollBar",(n=s=s||{}).none="",n.ctrl="ctrl",n.shift="shift",o=1,Object.defineProperty(h.prototype,"props",{get:function(){return this.tWt},set:function(t){this.tWt=t},enumerable:!1,configurable:!0}),h.prototype.hitTest=function(t,V){var n,i,e,r,c,s,o,n=this,i=this.height,e=function(){return 0<=t&&t<=n.itemsAreaWidth&&0<=V&&V<i},r=function(){return!e()&&0<=V&&V<i};return e()?-1!==(o=this.getClickItemIndex(V))&&(c=d.item,s=o):r()&&(c=d.scrollBar),{target:c,data:s}},h.prototype.onMouseDown=function(t){var V,V,n,V,V=this.getPointerRelativeControl(t),V=this.hitTest(V.x,V.y),n=V.target,V=V.data;return n===d.item?(this.ZtV=V,this.KQt=V,this.$Qt=!0,t.ctrlKey&&(this.HtV=s.ctrl),t.shiftKey&&(this.HtV=s.shift)):n===d.scrollBar&&this.iWt.onMouseDown(t),!0},h.prototype.onMouseMove=function(t){var V,n,i,e,i,t;if(this.iWt.onMouseMove(t),V=!1,this.highlightHoverItem&&this.isSingleSelType&&(n=this.getPointerRelativeControl(t),e=(i=this.hitTest(n.x,n.y)).target,i=i.data,e===d.item)&&(this.KQt=i,V=!0),this.scrollItemCount>this.maxScrollCount&&(this.scrollItemCount=this.maxScrollCount,V=!0),this.mouseDownItemIndexIsValid){if(n=this.getPointerRelativeControl(t),e=(t=this.hitTest(this.itemsAreaWidth-1,n.y)).target,i=t.data,e===d.item)this.stopScrollInterval(),this.KQt!==i&&(this.KQt=i,this.$Qt=!1,this.HtV=s.none);else{if(void 0!==this.vWt)return;n.y<0?this.startScrollInterval(-1):n.y>this.height&&this.startScrollInterval(1)}V=!0}this.setCursor("pointer"),V&&this.refresh()},h.prototype.onMouseUp=function(t){var t,V;this.iWt.onMouseUp(t),this.mouseDownItemIndexIsValid&&(t=JSON.stringify(this.selIndex),this.changeSelIndexOnMouseUp(),t!==(V=JSON.stringify(this.selIndex))&&this.props.onSelIndexChange(JSON.parse(t),this.selIndex),this.props.onItemClick(this.KQt)),this.clearState()},h.prototype.onScrollBarChange=function(){this.scrollItemCount=this.iWt.props.value},h.prototype.changeSelIndexOnMouseUp=function(){var t,V,n,i,n,i,t=this.ZtV,V=this.KQt,n=this.$Qt,i=this.HtV;this.isSingleSelType?this.setSelIndex(V):this.isMultiSelType?this.addOrRemoveSelIndex(V):this.isExtendSelType&&(n?i===s.ctrl?this.addOrRemoveSelIndex(V):i===s.shift?(i=0<(n=this.selIndex).length?n[0]:1,this.setSelIndexRange(i,V)):this.setSelIndexRange(V,V):this.setSelIndexRange(t,V))},h.prototype.clearState=function(){var t=!1;this.mouseDownItemIndexIsValid&&(this.ZtV=-1,this.KQt=-1,this.$Qt=!1,this.HtV=s.none,t=!0),this.stopScrollInterval(),t&&this.refresh()},h.prototype.render=function(t){var V,n,i,i,e,V=this.width,n=this.height,i=this.threeDShading;t.save(),(0,c.fillRect)(t,0,0,V,n,"white"),this.renderItems(t),this.renderScrollBar(t),i?((0,c.drawTheeDShadingOuterRectFourColor)(t,V,n,1,i="rgb(160,160,160)",i,"white",e="rgb(240,240,240)"),(0,c.drawTheeDShadingInnerRect)(t,V,n,1,"rgb(100,100,100)","rgba(0,0,0,0)")):(0,c.strokeRect)(t,0,0,V,n),t.restore()},h.prototype.renderItems=function(e){var t,V,r,c,n,i,s,o,d,a,h,u,x,y,t=this.items,V=this.currentPageDisplayItemCount,r=this.itemsAreaWidth,c=this.actualRenderItemHeight,n=this.props,i=n.textColor,s=n.highlightItemTextColor,o=n.highlightItemBackColor,d=function(t,V,n){var i=5;e.fillStyle=n,e.save(),e.beginPath(),e.rect(5,V,r-5,c),e.clip(),e.fillText(t,5,V+c/2+1),e.restore()},a=function(t){e.fillStyle=o,e.beginPath(),e.fillRect(0,t,r,c)};for(e.textAlign="left",e.textBaseline="middle",h=0;h<V;h++)u=t[h+this.scrollItemCount],x=h*c,y=i,this.isNeedHighlightItem(h+this.scrollItemCount+1)&&(a(x),y=s),d(String(u),x,y)},h.prototype.renderScrollBar=function(t){var V,n,i;this.needHiddenScrollBar||(V=this.height,n=this.scrollBarLeftOffset,i=this.scrollBarWidth,t.save(),t.translate(n,0),this.iWt.props.containerSize={w:i,h:V},this.iWt.props.max=this.maxScrollCount,this.iWt.props.value=this.scrollItemCount,this.iWt.props.pageStep=this.onePageCanDisplayItemCount,this.iWt.render(t),t.restore())},Object.defineProperty(h.prototype,"width",{get:function(){return this.props.containerSize.w},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"height",{get:function(){return this.props.containerSize.h},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"selIndex",{get:function(){return this.props.selIndex},set:function(t){this.props.selIndex=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"selType",{get:function(){return this.props.selType},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"items",{get:function(){return this.props.items},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"isSingleSelType",{get:function(){return this.selType===e.ListBoxSelectionType.single},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"isMultiSelType",{get:function(){return this.selType===e.ListBoxSelectionType.multi},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"isExtendSelType",{get:function(){return this.selType===e.ListBoxSelectionType.extend},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"highlightHoverItem",{get:function(){return this.props.highlightHoverItem},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"itemsAreaWidth",{get:function(){var t=this.width;return this.needHiddenScrollBar||(t-=this.scrollBarWidth),t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"needHiddenScrollBar",{get:function(){return!!(this.props.hiddenScrollBarWhenAllItemCanDisplay&&this.onePageCanDisplayItemCount>=this.itemsCount)},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"scrollBarWidth",{get:function(){return Math.min(this.props.scrollBarWidth,this.width)},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"scrollBarLeftOffset",{get:function(){return this.width-this.scrollBarWidth},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"itemsCount",{get:function(){return this.items.length},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"itemHeight",{get:function(){return this.props.itemHeight},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"actualRenderItemHeight",{get:function(){return this.height/this.onePageCanDisplayItemCount},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"scrollItemCount",{get:function(){return this.props.scrollCount},set:function(t){this.props.scrollCount=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"maxScrollCount",{get:function(){return Math.max(0,this.itemsCount-this.onePageCanDisplayItemCount)},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"onePageCanDisplayItemCount",{get:function(){return Math.round(this.height/this.itemHeight)},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"currentPageDisplayItemCount",{get:function(){var t,V,t=this.onePageCanDisplayItemCount,V=this.itemsCount-this.scrollItemCount;return Math.min(t,V)},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"mouseDownItemIndexIsValid",{get:function(){return-1!==this.ZtV},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"threeDShading",{get:function(){return this.props.threeDShading},enumerable:!1,configurable:!0}),h.prototype.scroll=function(t){this.scrollTo(this.scrollItemCount+t)},h.prototype.scrollTo=function(t){var V,n,V=0,n=this.maxScrollCount;t=Math.min(t,n),t=Math.max(t,0),this.scrollItemCount=t},h.prototype.setSelIndex=function(t){this.isSingleSelType&&"number"==typeof t&&(this.props.selIndex=t)},h.prototype.addOrRemoveSelIndex=function(t){var V,n;this.isSingleSelType||(-1!==(n=(V=this.selIndex).indexOf(t))?V.splice(n,1):V.push(t),V.sort(function(t,V){return t-V}))},h.prototype.setSelIndexRange=function(t,V){var n,i,e;if(this.isExtendSelType){for(V<t&&(n=V,V=t,t=n),i=[],e=t;e<=V;e++)i.push(e);this.props.selIndex=i}},h.prototype.getClickItemIndex=function(t){var V,t,V=this.actualRenderItemHeight,t=Math.floor(t/V)+this.scrollItemCount;return t>=this.itemsCount?-1:t+1},h.prototype.startScrollInterval=function(t){var V,n,i,V=this,n=80,i=function(){V.scroll(t),V.KQt=t<0?V.scrollItemCount+1:V.scrollItemCount+V.currentPageDisplayItemCount,V.refresh(),V.vWt=window.setTimeout(i,80)};this.vWt=window.setTimeout(i,0)},h.prototype.stopScrollInterval=function(){void 0!==this.vWt&&(window.clearTimeout(this.vWt),this.vWt=void 0)},h.prototype.isNeedHighlightItem=function(t){var V,n,i,V=this.mouseDownItemIndexIsValid,n=this.KQt,i=this.highlightHoverItem;return this.isSingleSelType&&i&&-1!==n?t===n:V?this.isNeedHighlightItemOnMouseDown(t):this.isSelectedItem(t)},h.prototype.isNeedHighlightItemOnMouseDown=function(t){var V,t,V=JSON.stringify(this.selIndex);return this.changeSelIndexOnMouseUp(),t=this.isSelectedItem(t),this.selIndex=JSON.parse(V),t},h.prototype.isSelectedItem=function(t){return this.isSingleSelType?t===this.selIndex:-1!==this.selIndex.indexOf(t)},h.prototype.setCursor=function(t){this.props.setCursor(t)},h.prototype.getPointerRelativeControl=function(t){return this.props.getPointerRelativeControl(t)},h.prototype.refresh=function(){this.props.refresh()},h.prototype.getItemRenderHeightForAT=function(){return this.actualRenderItemHeight},h.prototype.getScrollUpButtonRectangleForAT=function(){var t=this.iWt.scrollUpBtnRect,t;return t=i(i({},t),{x:t.x+this.scrollBarLeftOffset})},h.prototype.getScrollDownButtonRectangleForAT=function(){var t=this.iWt.scrollDownBtnRect,t;return t=i(i({},t),{x:t.x+this.scrollBarLeftOffset})},h.prototype.getScrollSliderRectangleForAT=function(){var t=this.iWt.scrollSliderRect,t;return t=i(i({},t),{x:t.x+this.scrollBarLeftOffset})},V.ListBox=h},"./dist/plugins/shape/formControl/controls/listBoxFormControl.js":function(t,V,n){var i,e,c,r,s,o,d,a,h,u,x,y;function f(){return null!==y&&y.apply(this,arguments)||this}i=this&&this.__extends||(x=function(t,V){return(x=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}x(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),e=this&&this.__assign||function(){return(e=Object.assign||function(t){for(var V,n,i,e,n=1,i=arguments.length;n<i;n++)for(e in V=arguments[n])Object.prototype.hasOwnProperty.call(V,e)&&(t[e]=V[e]);return t}).apply(this,arguments)},Object.defineProperty(V,"__esModule",{value:!0}),V.ListBoxFormControl=void 0,c=n("./dist/plugins/shape/drawingInterface.js"),r=n("./dist/plugins/shape/ui/util.js"),s=n("./dist/plugins/shape/formControl/supportCellLinkFormControl.js"),o=n("./dist/plugins/shape/formControl/controls/listBox.js"),d=n("./dist/plugins/shape/formControl/controls/util.js"),a=-1,h=0,y=s.SupportCellLinkFormControl,i(f,y),f.prototype.init=function(t){y.prototype.init.call(this,t),this.y4=-1,this.LEt={cellLink:void 0,inputRange:void 0,selectionType:c.ListBoxSelectionType.single,threeDShading:!1},this.UtV=new o.ListBox,this.UtV.props.onSelIndexChange=this.onSelIndexChange.bind(this),this.UtV.props.getPointerRelativeControl=this.getPointerRelativeControl.bind(this),this.UtV.props.refresh=this.refresh.bind(this)},Object.defineProperty(f.prototype,"value",{get:function(){return this.UtV.props.selIndex},set:function(t){var V=this.value;JSON.stringify(V)!==JSON.stringify(t)&&(this.isSingleSelectionType?"number"==typeof t&&(this.UtV.props.selIndex=t,this.shape.usV("formControlValue",t,V),this.syncValueToCell(),this.triggerValueChangedEvent(V,this.value),this.refresh()):Array.isArray(t)&&(this.UtV.props.selIndex=t,this.shape.usV("formControlValue",t,V),this.triggerValueChangedEvent(V,this.value),this.refresh()))},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"options",{get:function(){return e(e({},this.LEt),{cellLink:this.cellLink,inputRange:this.inputRange,selectionType:this.UtV.props.selType,threeDShading:this.UtV.props.threeDShading})},set:function(t){this.UtV.props.threeDShading=t.threeDShading,this.switchSelType(t.selectionType),this.inputRange=t.inputRange,this.cellLink=t.cellLink,this.refresh()},enumerable:!1,configurable:!0}),f.prototype.mapToCellValue=function(t){return-1===t?0:t},f.prototype.syncValueToCell=function(){var t;this.isSingleSelectionType&&(t=this.mapToCellValue(this.value),this.syncValueToCellImp(t))},f.prototype.syncValueFromCell=function(t){var V;t=(0,d.normalizeInteger)(t),this.isSingleSelectionType&&!isNaN(t)&&(V=this.value)!==(t=t<0?-1:t)&&(this.UtV.props.selIndex=t,this.triggerValueChangedEvent(V,this.value))},f.prototype.onSelIndexChange=function(t,V){this.syncValueToCell(),this.triggerValueChangedEvent(t,V)},f.prototype.shouldProcessMouseDownEvt=function(t){return!(!this.shouldProcessMouseEvt(t)||0!==t.evt.button&&void 0!==t.evt.button||this.cellLink&&this.linkedCellIsLocked||t.evt.ctrlKey&&this.options.selectionType!==c.ListBoxSelectionType.extend)},f.prototype.doMouseDown=function(t){return this.UtV.onMouseDown(t.evt)},f.prototype.doMouseMove=function(t){this.UtV.onMouseMove(t.evt)},f.prototype.doMouseUp=function(t){this.UtV.onMouseUp(t.evt)},f.prototype.render=function(t,V){var n,i,e,r,n=this.width,i=this.height,e=this.getInputRangeTexts(),r=this.UtV;r.props.containerSize={w:n,h:i},r.props.items=e,t.save(),t.translate(-n/2,-i/2),t.beginPath(),this.applyTextStyle(t,!0,!1),r.props.itemHeight=this.getItemHeight(t),r.render(t),t.restore()},f.prototype.switchSelType=function(t){var V,n,i,V=this.UtV,n=V.props,i=n.selIndex;t&&V.props.selType!==t&&((n.selType=t)===c.ListBoxSelectionType.single?Array.isArray(i)&&0<i.length?n.selIndex=i[0]:n.selIndex=-1:"number"==typeof i&&-1!==i?n.selIndex=[i]:Array.isArray(i)||(n.selIndex=[]))},f.prototype.fromExcelProps=function(t){var V,n,i,i,V=this.UtV,n=this.options,i=this.height;t.fmlaLink&&(n.cellLink=t.fmlaLink),t.fmlaRange&&(n.inputRange=t.fmlaRange),n.threeDShading="1"!==t.noThreeD,n.selectionType=t.seltype||c.ListBoxSelectionType.single,t.val&&(V.props.scrollCount=parseInt(t.val,10)),t.page&&(V.props.itemHeight=i/t.page),t.dx&&(V.props.scrollBarWidth=parseInt(t.dx,10)),this.options=n,this.isSingleSelectionType?this.value=parseInt(t.sel,10)||-1:(i=t.multiSel||"",this.value=i.split(",").filter(function(t){return t}).map(function(t){return parseInt(t,10)}))},f.prototype.toExcelProps=function(){var t,V,n,i,e,r,n,t=this.value,V=this.options,n=this.UtV,i=n.props.scrollCount,e=n.onePageCanDisplayItemCount,r,n={dx:n.props.scrollBarWidth.toString(),noThreeD:V.threeDShading?"0":"1",inc:"1",fmlaLink:V.cellLink,fmlaRange:V.inputRange,seltype:V.selectionType,val:i.toString(),page:e.toString()};return V.selectionType===c.ListBoxSelectionType.single&&(n.sel=t.toString()),V.selectionType!==c.ListBoxSelectionType.multi&&V.selectionType!==c.ListBoxSelectionType.extend||(n.multiSel=t.join(", ")),n},Object.defineProperty(f.prototype,"isSingleSelectionType",{get:function(){return this.options.selectionType===c.ListBoxSelectionType.single},enumerable:!1,configurable:!0}),f.prototype.getItemHeight=function(t){var V,t,V=17,t=r.Common.getFontHeight(t.font);return Math.abs(t-17)<2?17:t},f.prototype.getListBoxComponentForAT=function(){return this.UtV},V.ListBoxFormControl=f},"./dist/plugins/shape/formControl/controls/radioFormControl.js":function(t,V,n){var i,e,r,c,s,o,d,a,h,u,x,y;function f(){var t=null!==y&&y.apply(this,arguments)||this;return t.lp=1,t}i=this&&this.__extends||(x=function(t,V){return(x=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}x(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),e=this&&this.__assign||function(){return(e=Object.assign||function(t){for(var V,n,i,e,n=1,i=arguments.length;n<i;n++)for(e in V=arguments[n])Object.prototype.hasOwnProperty.call(V,e)&&(t[e]=V[e]);return t}).apply(this,arguments)},Object.defineProperty(V,"__esModule",{value:!0}),V.RadioFormControl=void 0,r=n("./dist/plugins/shape/formControl/supportCellLinkFormControl.js"),c=n("./dist/plugins/shape/formControl/controls/util.js"),s=1,o=0,d="Checked",a="1",h="0",y=r.SupportCellLinkFormControl,i(f,y),f.prototype.init=function(t){y.prototype.init.call(this,t),this.y4=!1,this.LEt={cellLink:"",threeDShading:!1}},Object.defineProperty(f.prototype,"value",{get:function(){return this.y4},set:function(t){var V=this.y4;V!==(t=!!t)&&(t&&this.setOtherRadioToFalse(),this.y4=t,this.shape.usV("formControlValue",t,V),this.syncValueToCell(),this.triggerValueChangedEvent(V,t),this.refresh())},enumerable:!1,configurable:!0}),f.prototype.syncValueToCell=function(){var t,V,V,t,V=this.getAllRadioInSameGroup().filter(function(t){return t.value})[0];V?V.syncValueToCellImp(V.lp):null!==(V=this.getCellValue())&&0!==V&&this.syncValueToCellImp(0)},Object.defineProperty(f.prototype,"options",{get:function(){return e(e({},this.LEt),{cellLink:this.cellLink})},set:function(t){this.LEt.threeDShading=t.threeDShading,this.setCellLinkForAllRadio(t.cellLink),this.refresh()},enumerable:!1,configurable:!0}),f.defaultStyle=function(){return{vAlign:1,margins:{left:3,right:0,top:2,bottom:2}}},f.prototype.styleSupportInfo=function(){var t,t,V,n,i,t=this.radioBoxRect,t=t.x+t.w,V,n,i;return{supportFill:!0,supportLine:!0,supportText:!0,textRect:{x:t,y:0,w:this.width-t,h:this.height},supportHAlign:!0,supportVAlign:!0,supportWrapText:!0}},f.prototype.setIndex=function(t){this.lp=t},f.prototype.doMouseDown=function(t){return this.value||(this.value=!0),!0},f.prototype.render=function(t,V){var n,i,n,i,n=this.width,i=this.height;t.save(),t.translate(-n/2,-i/2),i=(n=this.radioBoxRect).w/2,t.translate(n.x,n.y),this.threeDShading?((0,c.strokeCircle)(t,i,i,i,"rgb(100,100,100)"),(0,c.fillCircle)(t,i,i,i,"white"),t.beginPath(),t.arc(i,i,i-.5,3*Math.PI/4,7*Math.PI/4),t.strokeStyle="rgb(60,60,60)",t.stroke()):((0,c.strokeCircle)(t,i,i,i),(0,c.fillCircle)(t,i,i,i,"white")),this.value&&(0,c.fillCircle)(t,i,i,i/2,"black"),t.restore()},f.prototype.mapValueFromCell=function(t){return this.lp===(t=!0===t?1:t)},f.prototype.setOtherRadioToFalse=function(){var V=this;V.getAllRadioInSameGroup().forEach(function(t){t!==V&&t.setValueDirectly(!1)})},f.prototype.setValueDirectly=function(t){var V=this.y4;V!==t&&(this.y4=t,this.triggerValueChangedEvent(V,t))},f.prototype.setCellLinkForAllRadio=function(V,t){var n;void 0===t&&(t=!0),this.getAllRadioInSameGroup().forEach(function(t){t.setCellLinkCore(V,!1)}),t&&this.syncValueToCell()},Object.defineProperty(f.prototype,"threeDShading",{get:function(){return this.options.threeDShading},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"radioBoxRect",{get:function(){var t,V,n,t=12,V=7,n;return{x:7,y:(this.height-12)/2,w:12,h:12}},enumerable:!1,configurable:!0}),f.prototype.getAllRadioInSameGroup=function(){var t,V,t,t,n,V=this.shape,t=null==(t=V.mnV)?void 0:t.QtV,t=null==t?void 0:t.getGroupByRadio(V),n;return(t?t.ztV:[V]).map(function(t){return t.GtV})},f.prototype.fromExcelProps=function(t){var V=this.LEt;t.fmlaLink&&this.setCellLinkForAllRadio(t.fmlaLink,!1),t.firstButton===a&&(this.lp=1),V.threeDShading=t.noThreeD!==a,this.y4=t.checked===d},f.prototype.toExcelProps=function(){var t,V,t=this.options,V={noThreeD:t.threeDShading?h:a};return this.y4&&(V.checked=d),1===this.lp&&(V.firstButton=a,V.fmlaLink=t.cellLink),V},V.RadioFormControl=f},"./dist/plugins/shape/formControl/controls/scrollFormControl.js":function(t,V,n){var i,e,r,c,s,o,d,a,h;function u(){return null!==h&&h.apply(this,arguments)||this}i=this&&this.__extends||(a=function(t,V){return(a=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}a(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),e=this&&this.__assign||function(){return(e=Object.assign||function(t){for(var V,n,i,e,n=1,i=arguments.length;n<i;n++)for(e in V=arguments[n])Object.prototype.hasOwnProperty.call(V,e)&&(t[e]=V[e]);return t}).apply(this,arguments)},Object.defineProperty(V,"__esModule",{value:!0}),V.ScrollFormControl=void 0,r=n("./dist/plugins/shape/formControl/supportCellLinkFormControl.js"),c=n("./dist/plugins/shape/formControl/controls/scrollbar.js"),s=n("./dist/plugins/shape/formControl/controls/util.js"),o=10,h=r.SupportCellLinkFormControl,i(u,h),u.prototype.init=function(t){h.prototype.init.call(this,t),this.LEt={minValue:0,maxValue:100,step:1,pageChange:10,cellLink:""},this.iWt=new c.ScrollBar,this.JtV()},Object.defineProperty(u.prototype,"value",{get:function(){return this.iWt.props.value},set:function(t){this.YI(t,!0),this.refresh()},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"options",{get:function(){var t=this.iWt.props;return e(e({},this.LEt),{cellLink:this.cellLink,minValue:t.min,maxValue:t.max,step:t.step,pageChange:t.pageStep})},set:function(t){var V=this.iWt.props;V.step=t.step,V.pageStep=t.pageChange,this.cellLink=t.cellLink,t.minValue<t.maxValue&&(V.min=t.minValue,V.max=t.maxValue,this.YI(this.value,!0)),this.refresh()},enumerable:!1,configurable:!0}),u.prototype.syncValueFromCell=function(t){this.YI(t,!1)},u.prototype.YI=function(t,V){var n;t=(0,s.normalizeInteger)(t),isNaN(t)||(n=this.value,t=Math.min(t,this.iWt.props.max),n!==(t=Math.max(t,this.iWt.props.min))&&(this.iWt.props.value=t,this.shape.usV("formControlValue",t,n),V&&this.syncValueToCell(),this.triggerValueChangedEvent(n,t)))},u.prototype.JtV=function(){var t=this.iWt;t.props.onScroll=this.WtV.bind(this),t.props.getPointerRelativeControl=this.getPointerRelativeControl.bind(this),t.props.refresh=this.refresh.bind(this)},u.prototype.WtV=function(t,V){this.syncValueToCell(),this.triggerValueChangedEvent(t,V)},u.prototype.doMouseDown=function(t){return this.iWt.onMouseDown(t.evt)},u.prototype.doMouseMove=function(t){this.iWt.onMouseMove(t.evt)},u.prototype.doMouseUp=function(t){this.iWt.onMouseUp(t.evt)},u.prototype.render=function(t,V){var n,i,e,r,n=this.width,i=this.height,e=this.iWt,r=e.scrollTrackViewLen/(e.max-e.min+1);t.save(),t.translate(-n/2,-i/2),e.props.containerSize={w:n,h:i},e.props.direction=this.direction,e.props.sliderHeight=Math.max(r,10),e.render(t),t.restore()},Object.defineProperty(u.prototype,"direction",{get:function(){return this.width>this.height?c.ScrollBarDirection.horizontal:c.ScrollBarDirection.vertical},enumerable:!1,configurable:!0}),u.prototype.fromExcelProps=function(t){var V=this.options;t.fmlaLink&&(V.cellLink=t.fmlaLink),t.min&&(V.minValue=parseInt(t.min,10)),t.max&&(V.maxValue=parseInt(t.max,10)),t.inc&&(V.step=parseInt(t.inc,10)),t.val&&(this.value=parseInt(t.val,10)),t.page&&(V.pageChange=parseInt(t.page,10)),this.options=V},u.prototype.toExcelProps=function(){var t=this.options;return{fmlaLink:t.cellLink,min:t.minValue.toString(),max:t.maxValue.toString(),inc:t.step.toString(),page:t.pageChange.toString(),val:this.value.toString(),horiz:this.direction===c.ScrollBarDirection.horizontal?"1":"0"}},u.prototype.getScrollUpButtonRectangleForAT=function(){return this.iWt.scrollUpBtnRect},u.prototype.getScrollDownButtonRectangleForAT=function(){return this.iWt.scrollDownBtnRect},u.prototype.getScrollSliderRectangleForAT=function(){return this.iWt.scrollSliderRect},V.ScrollFormControl=u},"./dist/plugins/shape/formControl/controls/scrollbar.js":function(t,V){var n,i,x,h,u,e,r,r;function c(){this.KtV=!1,this.$tV=0,this.tVV="",this.tWt={containerSize:{w:0,h:0},value:0,min:0,max:100,step:1,pageStep:10,sliderHeight:10,syncSliderHeightWithPageStep:!1,direction:i.vertical,onScroll:function(){},refresh:function(){},setCursor:function(){},getPointerRelativeControl:function(t){return{x:0,y:0}}}}n=this&&this.__assign||function(){return(n=Object.assign||function(t){for(var V,n,i,e,n=1,i=arguments.length;n<i;n++)for(e in V=arguments[n])Object.prototype.hasOwnProperty.call(V,e)&&(t[e]=V[e]);return t}).apply(this,arguments)},Object.defineProperty(V,"__esModule",{value:!0}),V.ScrollBar=V.ScrollBarDirection=void 0,(r=i=V.ScrollBarDirection||(V.ScrollBarDirection={})).horizontal="horizontal",r.vertical="vertical",(r=x=x||{}).scrollUpBtn="scroll_up_btn",r.scrollDownBtn="scroll_down_btn",r.scrollSlider="scroll_slider",r.scrollTrack="scroll_track",h="up",u="down",Object.defineProperty(c.prototype,"props",{get:function(){return this.tWt},set:function(t){this.tWt=t},enumerable:!1,configurable:!0}),c.prototype.hitTest=function(t,V){var n,i,e,e,r,c,s,o,d,a;return this.isInBounding(t,V)?(r=(e=this.isHorizontalDirection)?this.width:this.height,c=this.scrollBtnLen,s=this.scrollSliderOffset,o=this.scrollSliderLen,(e=e?t:V)<=c?n=x.scrollUpBtn:r-c<=e?n=x.scrollDownBtn:s<=e&&e<=s+o?n=x.scrollSlider:(n=x.scrollTrack,i=e<s?h:u),{target:n,data:i,offsetWithSlider:d=e-s,offsetWithTrack:a=e-c}):{target:void 0}},c.prototype.onMouseDown=function(t){var t,t,V,n,t,i,e,t=this.getPointerRelativeControl(t),t=this.hitTest(t.x,t.y),V=t.target,n=t.data,t=t.offsetWithSlider,i=this.step,e=this.pageStep;return V===x.scrollUpBtn?(this.scroll(-i),this.startScrollInterval(-i),this.tVV=x.scrollUpBtn):V===x.scrollDownBtn?(this.scroll(i),this.startScrollInterval(i),this.tVV=x.scrollDownBtn):V===x.scrollSlider?(this.KtV=!0,this.$tV=t):V===x.scrollTrack&&this.scroll(n===h?-e:e),this.refresh(),!0},c.prototype.onMouseMove=function(t){var t,t,V,t,V,t;this.KtV&&(t=this.getPointerRelativeControl(t),V=(t=this.hitTest(t.x,t.y)).target,t=t.offsetWithTrack,V!==x.scrollTrack&&V!==x.scrollSlider||(V=(t-this.$tV)/this.scrollTrackLen,t=Math.round((this.max-this.min)*V+this.min),this.scrollTo(t)),this.refresh()),this.setCursor("pointer")},c.prototype.onMouseUp=function(t){this.KtV=!1,this.$tV=0,this.tVV="",this.stopScrollInterval(),this.refresh()},c.prototype.render=function(r){var t,V,n,c,s,o,i,d,e,a,h,u,t=this,V=this.width,n=this.height,c=this.isHorizontalDirection,s=this.scrollUpBtnRect,o=this.scrollDownBtnRect,i=this.scrollSliderRect,d=this.scrollArrowLen,e=this.tVV,a=function(t,V,n,i){r.rect(t.x,t.y,t.w,t.h),n&&(i&&(r.lineWidth=i),r.strokeStyle=n,r.stroke()),V&&(r.fillStyle=V,r.fill())},h=function(t,V){var n,i,e,t,n=V?s:o,i=t?"rgb(96, 96, 96)":"rgb(240, 240, 240)",e=t?"white":"rgb(96, 96, 96)",t=function(){r.save(),r.translate(n.x,n.y),r.translate((n.w-2*d)/2,(n.h-d)/2),r.beginPath();var t=0,t;(t=V?c?-90:0:c?90:180)&&(r.translate(d,d/2),r.rotate(t/180*Math.PI),r.translate(-d,-d/2)),r.moveTo(0,d),r.lineTo(d,0),r.lineTo(2*d,d),r.strokeStyle=e,r.lineWidth=2,r.stroke(),r.restore()};r.beginPath(),a(n,i),t()},u=function(){t.needRenderScrollSlider&&(r.beginPath(),a(i,"rgb(205,205,205)"))};r.save(),r.beginPath(),a({x:0,y:0,w:V,h:n},"rgb(240, 240, 240)"),h(e===x.scrollUpBtn,!0),u(),h(e===x.scrollDownBtn,!1),r.restore()},Object.defineProperty(c.prototype,"width",{get:function(){return this.props.containerSize.w},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"height",{get:function(){return this.props.containerSize.h},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"length",{get:function(){return this.isHorizontalDirection?this.width:this.height},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"scrollBtnLen",{get:function(){var t=this.isHorizontalDirection?this.height:this.width;return Math.min(this.length/2,t)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"needRenderScrollSlider",{get:function(){return this.min<this.max},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"scrollSliderLen",{get:function(){var t,V;return this.needRenderScrollSlider?(t=this.props.sliderHeight,this.syncSliderHeightWithPageStep&&(V=this.pageStep/(this.max-this.min+this.pageStep),t=Math.max(t,this.scrollTrackViewLen*V)),Math.min(t,this.scrollTrackViewLen)):0},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"scrollSliderOffset",{get:function(){return this.scrollBtnLen+this.scrollSliderOffsetWithTrack},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"scrollSliderOffsetWithTrack",{get:function(){var t;return this.needRenderScrollSlider?(t=(this.value-this.min)/(this.max-this.min),this.scrollTrackLen*t):0},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"scrollTrackLen",{get:function(){return this.scrollTrackViewLen-this.scrollSliderLen},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"scrollTrackViewLen",{get:function(){return Math.max(this.length-2*this.scrollBtnLen,0)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"value",{get:function(){return this.tWt.value},set:function(t){this.tWt.value=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"min",{get:function(){return this.tWt.min},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"max",{get:function(){return this.tWt.max},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"step",{get:function(){return this.tWt.step},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"pageStep",{get:function(){return this.tWt.pageStep},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"syncSliderHeightWithPageStep",{get:function(){return this.tWt.syncSliderHeightWithPageStep},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"direction",{get:function(){return this.tWt.direction},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"isHorizontalDirection",{get:function(){return this.direction===i.horizontal},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"scrollArrowLen",{get:function(){var t,V,t,t=this.scrollBtnSize.w,V=this.scrollBtnSize.h,t=Math.min(.25*t,.5*V);return Math.min(t,5)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"scrollBtnSize",{get:function(){return this.isHorizontalDirection?{w:this.scrollBtnLen,h:this.height}:{w:this.width,h:this.scrollBtnLen}},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"scrollUpBtnRect",{get:function(){var t=this.scrollBtnSize;return n({x:0,y:0},t)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"scrollDownBtnRect",{get:function(){var t,V,t=this.scrollBtnSize,V=this.length-this.scrollBtnLen;return this.isHorizontalDirection?n({x:V,y:0},t):n({x:0,y:V},t)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"scrollSliderRect",{get:function(){var t=this.scrollSliderOffset;return this.isHorizontalDirection?{x:t,y:0,w:this.scrollSliderLen,h:this.height-1}:{x:0,y:t,w:this.width-1,h:this.scrollSliderLen}},enumerable:!1,configurable:!0}),c.prototype.scroll=function(t){this.scrollTo(this.value+t)},c.prototype.scrollTo=function(t){var V,n,i,V=this.value,n=this.min,i=this.max;t=Math.min(t,i),t=Math.max(t,n),this.value!==t&&(this.value=t,this.props.onScroll(V,t))},c.prototype.isInBounding=function(t,V){var n,i,n=this.width,i=this.height;return 0<=t&&t<=n&&0<=V&&V<=i},c.prototype.startScrollInterval=function(t){var V,n,i,e,V=this,n=80,i,e=function(){V.scroll(t),V.refresh(),V.vWt=window.setTimeout(e,80)};this.vWt=window.setTimeout(e,260)},c.prototype.stopScrollInterval=function(){void 0!==this.vWt&&(window.clearTimeout(this.vWt),this.vWt=void 0)},c.prototype.setCursor=function(t){this.props.setCursor(t)},c.prototype.getPointerRelativeControl=function(t){return this.props.getPointerRelativeControl(t)},c.prototype.refresh=function(){this.props.refresh()},V.ScrollBar=c},"./dist/plugins/shape/formControl/controls/spinFormControl.js":function(t,V,n){var i,e,r,o,c,s,d,a;function h(){var t=null!==a&&a.apply(this,arguments)||this;return t.VVV=!1,t.nVV=!1,t}i=this&&this.__extends||(d=function(t,V){return(d=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}d(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),e=this&&this.__assign||function(){return(e=Object.assign||function(t){for(var V,n,i,e,n=1,i=arguments.length;n<i;n++)for(e in V=arguments[n])Object.prototype.hasOwnProperty.call(V,e)&&(t[e]=V[e]);return t}).apply(this,arguments)},Object.defineProperty(V,"__esModule",{value:!0}),V.SpinButtonFormControl=void 0,r=n("./dist/plugins/shape/formControl/supportCellLinkFormControl.js"),o=n("./dist/plugins/shape/formControl/controls/util.js"),c=1,a=r.SupportCellLinkFormControl,i(h,a),h.prototype.init=function(t){a.prototype.init.call(this,t),this.y4=0,this.LEt={minValue:0,maxValue:3e4,step:1,cellLink:"",threeDShading:!0}},Object.defineProperty(h.prototype,"value",{get:function(){return this.y4},set:function(t){this.YI(t,!0),this.refresh()},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"options",{get:function(){return e(e({},this.LEt),{cellLink:this.cellLink})},set:function(t){this.LEt.step=t.step,this.LEt.threeDShading=t.threeDShading,this.cellLink=t.cellLink,t.minValue<t.maxValue&&(this.LEt.minValue=t.minValue,this.LEt.maxValue=t.maxValue,this.YI(this.value,!0)),this.refresh()},enumerable:!1,configurable:!0}),h.prototype.syncValueFromCell=function(t){this.YI(t,!1)},h.prototype.YI=function(t,V){var n;t=(0,o.normalizeInteger)(t),isNaN(t)||(n=this.y4,t=Math.min(t,this.LEt.maxValue),n!==(t=Math.max(t,this.LEt.minValue))&&(this.y4=t,this.shape.usV("formControlValue",t,n),V&&this.syncValueToCell(),this.triggerValueChangedEvent(n,t)))},h.prototype.doMouseDown=function(t){var t,V,n,t=this.getPointerRelativeControl(t.evt,t.canvas),V=this.height,n=this.options.step;return t.y<=V/2?(this.VVV=!0,this.refresh(),this.value+=n,this.eVV(n)):(this.nVV=!0,this.refresh(),this.value-=n,this.eVV(-n)),!0},h.prototype.doMouseUp=function(){this.VVV=!1,this.nVV=!1,this.iVV(),this.refresh()},h.prototype.render=function(t,V){var n,i,e,r,n=this.width,i=this.height,e=this.VVV,r=this.nVV;t.save(),t.translate(-n/2,-i/2),this.cVV(t,e,n,i),this.rVV(t,r,n,i),t.restore()},h.prototype.cVV=function(t,V,n,i){this.dVV(t,V,!0,n,i)},h.prototype.rVV=function(t,V,n,i){t.save(),t.translate(0,i/2+1),this.dVV(t,V,!1,n,i),t.restore()},h.prototype.dVV=function(t,V,n,i,e){var e,r,c,s;this.threeDShading?this.oVV(t,V,n,i,e):(r="black",s=V?"white":"black",(0,o.fillRect)(t,0,0,i,e=e/2,c=V?"black":"white"),(0,o.strokeRect)(t,0,0,i,e,r),this.drawSpinArrow(t,s,n,i,e))},h.prototype.oVV=function(t,V,n,i,e){var e,r,c,s,e=e/2;t.save(),r="rgb(160,160,160)",s="black",(0,o.fillRect)(t,0,0,i,e,c="rgb(240,240,240)"),V?((0,o.strokeRect)(t,0,0,i,e,r),t.save(),t.translate(1,1),this.drawSpinArrow(t,s,n,i,e),t.restore()):((0,o.drawTheeDShadingOuterRect)(t,i,e,1,"#f0f0f0","black"),(0,o.drawTheeDShadingInnerRect)(t,i,e,1,"white","#a0a0a0"),this.drawSpinArrow(t,s,n,i,e)),t.restore()},h.prototype.drawSpinArrow=function(t,V,n,i,e){var r,r,i,e,r=.25,r=Math.min(i*r*2,e*r),i=(i-2*r)/2,e=(e-r)/2;t.save(),t.translate(i,e),t.beginPath(),n?(t.moveTo(0,r),t.lineTo(r,0),t.lineTo(2*r,r)):(t.moveTo(0,0),t.lineTo(2*r,0),t.lineTo(r,r)),t.closePath(),t.fillStyle=V,t.fill(),t.restore()},h.prototype.fromExcelProps=function(t){var V=this.options;t.fmlaLink&&(V.cellLink=t.fmlaLink),t.min&&(V.minValue=parseInt(t.min,10)),t.max&&(V.maxValue=parseInt(t.max,10)),t.inc&&(V.step=parseInt(t.inc,10)),t.val&&(this.value=parseInt(t.val,10)),t.noThreeD&&(V.threeDShading="1"!==t.noThreeD),this.options=V},h.prototype.toExcelProps=function(){var t=this.options;return{fmlaLink:t.cellLink,min:t.minValue.toString(),max:t.maxValue.toString(),inc:t.step.toString(),noThreeD:t.threeDShading?"0":"1",val:this.value.toString()}},h.prototype.eVV=function(t){var V,n,i,e,V=this,n=80,i,e=function(){V.value+=t,V.aVV=window.setTimeout(e,80)};this.aVV=window.setTimeout(e,260)},h.prototype.iVV=function(){void 0!==this.aVV&&(window.clearTimeout(this.aVV),this.aVV=void 0)},Object.defineProperty(h.prototype,"threeDShading",{get:function(){return this.options.threeDShading},enumerable:!1,configurable:!0}),V.SpinButtonFormControl=h},"./dist/plugins/shape/formControl/controls/util.js":function(t,V,n){Object.defineProperty(V,"__esModule",{value:!0}),V.normalizeInteger=V.drawRoundedRect=V.clone=V.isInRangeWithLen=V.isInRange=V.pointIsInRect=V.fillCircle=V.strokeCircle=V.fillRect=V.strokeRect=V.drawTheeDShadingInnerRectFourColor=V.drawTheeDShadingOuterRectFourColor=V.drawTheeDShadingInnerRect=V.drawTheeDShadingOuterRect=V.drawTheeDShadingRectFourColor=V.drawTheeDShadingRect=V.getAllShape=void 0;var i=n("./dist/plugins/shape/drawingInterface.js");function e(t){var V,n,V=[],n=function(t){t&&t.forEach(function(t){t.ttV===i.CT_ShapeType.CT_GroupShape?n(t.tin):V.push(t)})};return n(t||[]),V}function c(t,V,n,i,e,r,c){V=Math.ceil(V),n=Math.ceil(n),V+=.5,n+=.5,--i,--e,t.save(),t.lineWidth=1,t.translate(V,n),t.beginPath(),t.moveTo(0,e),t.lineTo(0,0),t.lineTo(i,0),t.strokeStyle=r,t.stroke(),t.beginPath(),t.moveTo(i,0),t.lineTo(i,e),t.lineTo(0,e),t.strokeStyle=c,t.stroke(),t.restore()}function o(t,V,n,i,e,r,c,s,o){V=Math.ceil(V),n=Math.ceil(n),V+=.5,n+=.5,--i,--e,t.save(),t.lineWidth=1,t.translate(V,n),t.beginPath(),t.moveTo(0,0),t.lineTo(i,0),t.strokeStyle=c,t.stroke(),t.beginPath(),t.moveTo(i,0),t.lineTo(i,e),t.strokeStyle=s,t.stroke(),t.beginPath(),t.moveTo(i,e),t.lineTo(0,e),t.strokeStyle=o,t.stroke(),t.beginPath(),t.moveTo(0,e),t.lineTo(0,0),t.strokeStyle=r,t.stroke(),t.restore()}function r(t,V,n,i,e,r){c(t,0,0,V+i,n+i,e,r)}function s(t,V,n,i,e,r){c(t,i,i,V-i,n-i,e,r)}function d(t,V,n,i,e,r,c,s){o(t,0,0,V+i,n+i,e,r,c,s)}function a(t,V,n,i,e,r,c,s){o(t,i,i,V-i,n-i,e,r,c,s)}function h(t,V,n,i,e,r,c){void 0===r&&(r="black"),(c=void 0===c?1:c)%2==1&&(V=Math.ceil(V),n=Math.ceil(n),V+=.5,n+=.5),t.beginPath(),t.rect(V,n,i,e),t.lineWidth=c,t.strokeStyle=r,t.stroke()}function u(t,V,n,i,e,r){void 0===r&&(r="white"),t.beginPath(),t.rect(V,n,i,e),t.fillStyle=r,t.fill()}function x(t,V,n,i,e,r){void 0===e&&(e="black"),void 0===r&&(r=1),t.beginPath(),t.arc(V,n,i,0,2*Math.PI),t.lineWidth=1,t.strokeStyle=e,t.stroke()}function y(t,V,n,i,e){void 0===e&&(e="white"),t.beginPath(),t.arc(V,n,i,0,2*Math.PI),t.fillStyle=e,t.fill()}function f(t,V){return g(t.x,V.x,V.w)&&g(t.y,V.y,V.h)}function l(t,V,n){return V<=t&&t<=n}function g(t,V,n){return V<=t&&t<=V+n}function A(t){return JSON.parse(JSON.stringify(t))}function p(t,V,n){var i=t.x,e=t.y,r=t.width,t=t.height;n.beginPath(),n.moveTo(i+V,e),n.lineTo(i+r-V,e),n.quadraticCurveTo(i+r,e,i+r,e+V),n.lineTo(i+r,e+t-V),n.quadraticCurveTo(i+r,e+t,i+r-V,e+t),n.lineTo(i+V,e+t),n.quadraticCurveTo(i,e+t,i,e+t-V),n.lineTo(i,e+V),n.quadraticCurveTo(i,e,i+V,e),n.closePath(),n.fill()}function w(t){return t="number"==typeof t?Math.floor(t):"string"==typeof t?parseInt(t,10):NaN}V.getAllShape=e,V.drawTheeDShadingRect=c,V.drawTheeDShadingRectFourColor=o,V.drawTheeDShadingOuterRect=r,V.drawTheeDShadingInnerRect=s,V.drawTheeDShadingOuterRectFourColor=d,V.drawTheeDShadingInnerRectFourColor=a,V.strokeRect=h,V.fillRect=u,V.strokeCircle=x,V.fillCircle=y,V.pointIsInRect=f,V.isInRange=l,V.isInRangeWithLen=g,V.clone=A,V.drawRoundedRect=p,V.normalizeInteger=w},"./dist/plugins/shape/formControl/formControl-io.js":function(O,t,V){var n,r,c,s,e,o,d,a,i,h,u,x,y,f,l,g,A,p,w,v,j,b;function T(t){return-1!==b.indexOf(t)}function L(t,V,n){var V,t,V,t,V,V=V.rels,t=t[o],V=A(V.c_,t);if(V)return t=V.Target.split("/").pop().slice(0,-4),(V=n.ctrlProps)&&V[t]}function N(t,V,n){var i,e;if(t.n_===h?i=t:t.n_===d&&(i=v(t,"".concat(a,"&").concat(h))),i&&(e=L(i,V,n))&&e.formControlPr&&T(e.formControlPr.objectType))return{control:i,ctrlProp:e}}function P(V,n){var t,i,t=m(V);return t?(i={},t.c_.forEach(function(t){var t=N(t,V,n);t&&t.control.shapeId&&(i[t.control.shapeId]=t)}),i):{}}function m(t){var V,V;return V=(V=w(t,i))||v(t,"".concat(d,"&").concat(a,"&").concat(i))}function D(t,V){var t=(0,c.findSJSExt)(t.nvSpPr.cNvPr.extLst,function(t){return!!t.compatExt});return t&&U(t.compatExt.spid,V)}function U(V,t){return t&&(0,c.find)(t.c_,function(t){return t.n_===u&&(t["o:spid"]||t.id)===V})}function C(t){var V,t,V,n,i,i,e,r,V,c,t,V=t.ctrlProp.formControlPr,t=t.vmlDrawingShape,V=Rt(V);return delete V.xmlns,n=w(t,"ClientData"),i=w(n,"Val"),V.val===j&&i&&(V.val=i.c_[0]),i=!!w(n,x),c=r=!0,{props:V,hidden:e=-1!==t.style.indexOf("visibility:hidden"),disabled:i,locked:r=(V=w(n,y))&&V.c_[0]===l?!1:r,print:c=(t=w(n,f))&&t.c_[0]===l?!1:c}}function R(t,V,n){var i;(t.c_||[]).forEach(function(t){(t=t.AlternateContent?t.AlternateContent.Choice:t).sp?I(t.sp,V,n):t.n_===e.GrpSpNodeName&&R(t,V,n)})}function I(t,V,n){var i,V,i,V=V[t.nvSpPr.cNvPr.id];return V&&(V.vmlDrawingShape=D(t,n),t.controlInfo=C(V)),!!V}function M(t){return t.some(function(t){return t.ttV===s.CT_ShapeType.CT_FormControlShape||(t.ttV===s.CT_ShapeType.CT_GroupShape?M(t.all()):void 0)})}function q(t){return t&&t.controlInfo}function k(t){return t&&(t.controlInfo||(0,c.findSJSExt)(t.nvSpPr.cNvPr.extLst,function(t){return!!t.compatExt}))}function B(t,n,i,e,r,c){var t=z(t);t&&0!==t.length&&(r.c_.push(S()),t.sort(function(t,V){return t.id-V.id}),t.forEach(function(t,V){Q(t.sp,n,i,e,r,c+V)}))}function Z(t,V,n){var V,i,i,n,V=V.rels;return n.ctrlProps||(n.ctrlProps={}),i=Object.keys(n.ctrlProps).length+1,i=r.XFileConstants.lu+i,n.ctrlProps[i]=t,n=r.XFileConstants.Rr+p(V),V.c_.push({n_:r.XFileConstants.Lr,Id:n,Type:r.RelationshipConstants.dc,Target:"../ctrlProps/"+i+"."+r.XFileConstants.Cr}),n}function H(t,V,n,i,e){var n,t,V,n="_x0000_s"+n;(0,c.addSJSExt)(t.nvSpPr.cNvPr,{uri:"{63B3BB69-23CF-44E3-9099-C40C66FF867C}",compatExt:{spid:n}}),(t=V.vmlDrawingShape).id=n,t["o:spid"]=n,(V=w(t,"fill"))&&V.src&&(i.rels||r.Util.Nr(i),V["o:relid"]=r.Util.Kr(V.src,i.rels,e),delete V.src),i.c_.push(t)}function z(t){var V=[];return(t||[]).forEach(function(t){var t=(t=t.AlternateContent?t.AlternateContent.Choice:t).twoCellAnchor;(t=t.AlternateContent?t.AlternateContent.Choice:t).sp?_(t.sp,V):t.grpSp&&E(t.grpSp,V)}),V}function _(t,V){t&&t.controlInfo&&V.push({id:+t.nvSpPr.cNvPr.id,sp:t})}function E(t,V){var n;(t.c_||[]).forEach(function(t){(t=t.AlternateContent?t.AlternateContent.Choice:t).sp?_(t.sp,V):t.n_===e.GrpSpNodeName&&E(t,V)})}function Q(t,V,n,i,e,r){var c;t&&t.controlInfo&&(c=G(t,t.controlInfo),delete t.controlInfo,H(t,c,r,e,V),c.control[o]=Z(c.ctrlProp,n,V),i.c_.push(Y(c.control)))}function G(t,V){var n={};return n.control=J(t,V),n.ctrlProp=W(V.props),n.vmlDrawingShape=K(V),n}function J(t,V){var n,i,n,t,e,t,r,n=V.anchorInfo,i=n.startPoint,n=n.endPoint,t=t.nvSpPr.cNvPr,e=t.name,t=t.id,r=function(t,V){return{n_:t,c_:[{n_:"col",c_:[V.col]},{n_:"colOff",c_:[(0,c.pixelToEMU)(V.colOffset)]},{n_:"row",c_:[V.row]},{n_:"rowOff",c_:[(0,c.pixelToEMU)(V.rowOffset)]}]}};return{n_:h,shapeId:String(t),name:e,c_:[{n_:"controlPr",defaultSize:c.SJS_False,autoPict:c.SJS_False,disabled:V.disabled?c.SJS_True:j,print:!1===V.print?c.SJS_False:j,locked:!1===V.locked?c.SJS_False:j,c_:[{n_:"anchor",moveWithCells:c.SJS_True,sizeWithCells:c.SJS_True,c_:[r("from",i),r("to",n)]}]}]}}function W(t){return{formControlPr:n({r_:[42]},t)}}function K(t){var V,n,i,e,n,r,V=t.hidden,n=t.style,i=t.alt,e=n.fill,n=n.line,r={n_:"shape",c_:[],type:"#_x0000_t201"};return r.alt=i,r.style=vt(V),ft(e)?r.fillcolor=lt(e):r.filled="f",gt(n)?(r.strokecolor=n.color,r.strokeweight=(0,c.pixelToEMU)(n.width)):r.stroked="f",r["o:insetmode"]="auto",ft(e)&&r.c_.push(it(e)),gt(n)&&r.c_.push(et(n)),r.c_.push(jt()),r.c_.push($(t)),r}function $(t){var n,V,i,e,t,r,c,s,n=t.props,V=t.anchorInfo,i=t.disabled,e=t.locked,t=t.print,r,c,s=[{n_:"Anchor",c_:[wt(V.startPoint,V.endPoint)]}];return i&&s.push({n_:x,c_:[]}),!1===e&&s.push({n_:y,c_:[l]}),!1===t&&s.push({n_:f,c_:[l]}),Object.keys(n).forEach(function(t){var V=n[t];"objectType"!==t&&("noThreeD"===t?V&&s.push({n_:"NoThreeD2",c_:[]}):("checked"===t&&(V=pt(V)),s.push({n_:It(t),c_:[V]})))}),{n_:"ClientData",ObjectType:At(n.objectType),c_:s}}function S(){return{n_:"shapetype",id:"_x0000_t201",coordsize:"21600,21600","o:spt":"201",path:"m,l,21600r21600,l21600,xe",c_:[{n_:"stroke",joinstyle:"miter"},{n_:"path",shadowok:"f","o:extrusionok":"f",strokeok:"f",fillok:"f","o:connecttype":"rect"},{n_:"lock","v:ext":"edit",shapetype:"t"}]}}function tt(){var t;return Y({n_:i,c_:[]})}function F(t,V,n){return V&&(t.r_=V),n&&(t.Requires=n),{AlternateContent:{r_:[14],Choice:t}}}function X(t,V,n){var t={n_:a,c_:[t]};return V&&(t.r_=V),n&&(t.Requires=n),{n_:d,r_:[14],c_:[t]}}function Vt(t){return F(t,[22],"a14")}function nt(t){return F(t,[],"x14")}function Y(t){return X(t,[],"x14")}function it(t){var V={n_:"fill"};return t.stops?0===t.type?st(t,V):1===t.type&&dt(t,V):t.src?xt(t,V):V.opacity=1-t.transparency,V}function et(t){var V={n_:"stroke"};return t.dashStyle&&(V.dashstyle=t.dashStyle),t.transparency&&(V.opacity=1-t.transparency),t.lineStyle&&(V.linestyle=t.lineStyle),t.joinStyle&&(V.joinstyle=t.joinStyle),V}function rt(t){return t=(t=(t=(t=s.ST_PresetLineDashVal[t=11===t?1:t]).toLowerCase()).replace("lg","long")).replace("sys","short")}function ct(t){return"dbl"===(t=s.ST_CompoundLine[t])?t="thinThin":"tri"===t&&(t="thickBetweenThin"),t}function st(t,V){var n,i,e,r,c,n=t.stops,i="100%",e=1-n[0].transparency,r=1-n[n.length-1].transparency;ht(n)&&((n=n.slice(0,Math.floor(n.length/2)+1)).forEach(function(t){return t.position*=2}),i="50%",c=e,e=r=1-n[n.length-1].transparency,r=c),V.opacity=e,V.color2=n[n.length-1].color,V["o:opacity2"]=r,V.recolor="t",V.rotate="t",V.angle=ot(t.angle),V.colors=n.map(ut).join(";"),V.method="none",V.focus=i,V.type="gradient"}function ot(t){return t=90-t,(t%=360)<0&&(t+=360),t}function dt(t,V){var n,i,e,r,n=t.stops,i=n[n.length-1],e=1-i.transparency,r=1-n[0].transparency;V.opacity=e,V.color2=i.color,V["o:opacity2"]=r,V.recolor="t",V.rotate="t",V.colors=n.map(ut).join(";"),V.method="none",V.focusposition=at(t.direction),V.focus="100%",V.type="gradientradial"}function at(t){var V="0%,0%";switch(t){case 0:V="50%,50%";break;case 2:V="100%,0%";break;case 3:V="0%,100%";break;case 4:V="100%,100%"}return V}function ht(t){var n,V,i,e,r,n=function(t,V){return Math.abs(t-V)<1e-4},V=function(t,V){return t.color===V.color&&n(t.transparency,V.transparency)&&n(t.position,1-V.position)},i=t.length,e=Math.floor(i/2);if(!(i<3||i%2!=1)&&n(t[e].position,.5)){for(r=0;r<e;r++)if(!V(t[r],t[i-1-r]))return;return 1}}function ut(t){var V,t,V=t.position,t=t.color;return"".concat(Math.round(100*V),"% ").concat(t)}function xt(t,V){V.src=t.src,V["o:relid"]="",V["o:title"]="picture",V.rotate="t",V.type=t.tilePictureAsTexture?"tile":"frame"}function yt(t){return 1-t}function ft(t){return t&&(t.src||t.stops||t.color)}function lt(t){return(t.stops?t.stops[0]:t).color}function gt(t){return t&&t.color}function At(t){return t="CheckBox"===t?"Checkbox":t}function pt(t){return"Checked"===t?1:"Mixed"===t?2:0}function wt(t,V){var n=function(t){return[t.col,g(t.colOffset),t.row,g(t.rowOffset)]};return n(t).concat(n(V)).join(",")}function vt(t){var V="position:absolute;margin-left:0;margin-top:0;width:100%pt;height:100%pt";return t&&(V+=";visibility:hidden"),V}function jt(){return{n_:"lock","v:ext":"edit",rotation:"t",text:"t"}}function bt(t,V){void 0===V&&(V=0);var t=s.Color.fromString(t);return V&&t.applyTint(V),t.toHexString()}function Lt(t){var V=t.color,n=t.position,i=t.transparency,e;return{color:bt(V,t.brightness),position:n,transparency:i}}function mt(t){var V,t,n,n,n,t=s.ShapeUtility.getFillFormatInfo(t),n=t.solid;return t.type===s.FillType.Solid&&1===n.type?V={color:bt(n.color),transparency:n.transparency}:t.type===s.FillType.Gradient?V={angle:(n=t.gradient).angle,direction:n.direction,type:n.type,stops:n.stops.map(Lt)}:t.type!==s.FillType.Picture&&t.type!==s.FillType.Textured||(V={src:(n=t.picture).src,transparency:n.transparency,tilePictureAsTexture:n.tilePictureAsTexture}),V}function Ct(t){var t,V,n,i,e,r,t,t=s.ShapeUtility.getLineFormatInfo(t.Line);if(t.color)return V=t.width,n=t.color,i=t.transparency,e=t.lineStyle,r=t.joinType,t=t.compoundType,{width:V,color:n,transparency:i,dashStyle:rt(e),lineStyle:ct(t),joinStyle:s.ShapeUtility.getLineJoinValue(r)}}function Rt(t){return JSON.parse(JSON.stringify(t))}function It(t){return t.substring(0,1).toUpperCase()+t.substring(1)}n=this&&this.__assign||function(){return(n=Object.assign||function(t){for(var V,n,i,e,n=1,i=arguments.length;n<i;n++)for(e in V=arguments[n])Object.prototype.hasOwnProperty.call(V,e)&&(t[e]=V[e]);return t}).apply(this,arguments)},Object.defineProperty(t,"__esModule",{value:!0}),t.getVmlDrawingLineInfo=t.getVmlDrawingFillInfo=t.wrapWithSJSAlternateContentNodeRequiresX14=t.wrapWithAlternateContentRequiresX14=t.wrapWithAlternateContentRequiresA14=t.wrapWithSJSAlternateContentNode=t.wrapWithSJSCompactAlternateContentNode=t.createEmptySheetControlsNode=t.toVmlDrawingControlShapeType=t.processFormControlsWhenToSJSFormat=t.isSJSFormControlNode=t.isSJSFormControl=t.hasFormControl=t.markSJSFormControl=t.markGroupChildrenSJSFormControl=t.getSJSControlInfos=t.findControlsNode=t.readControlsNode=t.getSJSCtrlFile=void 0,r=V("Core"),c=V("./dist/plugins/shape/shape.js"),s=V("./dist/plugins/shape/drawingInterface.js"),e=V("./dist/plugins/shape/groupShapes.js"),o=r.XFileConstants.Ki,d=r.XFileConstants.Bo,a=r.XFileConstants.Lo,i=r.XFileConstants.Fo,h=r.XFileConstants.Po,u=r.XFileConstants.$r,x="Disabled",y="Locked",f="PrintObject",l="False",g=Math.round,A=r.Util.Sr,p=r.Util.wr,w=r.util.xr,v=r.util.o1,j=void 0,b=["Button","Spin","Scroll","List","CheckBox","Radio","Label","GBox","Drop"],t.getSJSCtrlFile=L,t.readControlsNode=P,t.findControlsNode=m,t.getSJSControlInfos=C,t.markGroupChildrenSJSFormControl=R,t.markSJSFormControl=I,t.hasFormControl=M,t.isSJSFormControl=q,t.isSJSFormControlNode=k,t.processFormControlsWhenToSJSFormat=B,t.toVmlDrawingControlShapeType=S,t.createEmptySheetControlsNode=tt,t.wrapWithSJSCompactAlternateContentNode=F,t.wrapWithSJSAlternateContentNode=X,t.wrapWithAlternateContentRequiresA14=Vt,t.wrapWithAlternateContentRequiresX14=nt,t.wrapWithSJSAlternateContentNodeRequiresX14=Y,t.getVmlDrawingFillInfo=mt,t.getVmlDrawingLineInfo=Ct},"./dist/plugins/shape/formControl/formControl.interface.js":function(t,V){Object.defineProperty(V,"__esModule",{value:!0})},"./dist/plugins/shape/formControl/formControl.js":function(t,V,n){var i,e,r,c,s,o,d,a,h,n,u;function x(t,V){u[t]=V}function y(t){return u[t]}Object.defineProperty(V,"__esModule",{value:!0}),V.getFormControlCtor=V.registerCustomFormControl=void 0,i=n("./dist/plugins/shape/drawingInterface.js"),e=n("./dist/plugins/shape/formControl/controls/buttonFormControl.js"),r=n("./dist/plugins/shape/formControl/controls/checkBoxFormControl.js"),c=n("./dist/plugins/shape/formControl/controls/comboFormControl.js"),s=n("./dist/plugins/shape/formControl/controls/groupBoxFormControl.js"),o=n("./dist/plugins/shape/formControl/controls/labelFormControl.js"),d=n("./dist/plugins/shape/formControl/controls/listBoxFormControl.js"),a=n("./dist/plugins/shape/formControl/controls/radioFormControl.js"),h=n("./dist/plugins/shape/formControl/controls/scrollFormControl.js"),n=n("./dist/plugins/shape/formControl/controls/spinFormControl.js"),(u={})[i.FormControlType.button]=e.ButtonFormControl,u[i.FormControlType.spinButton]=n.SpinButtonFormControl,u[i.FormControlType.listBox]=d.ListBoxFormControl,u[i.FormControlType.checkBox]=r.CheckBoxFormControl,u[i.FormControlType.optionButton]=a.RadioFormControl,u[i.FormControlType.comboBox]=c.ComboFormControl,u[i.FormControlType.label]=o.LabelFormControl,u[i.FormControlType.groupBox]=s.GroupBoxFormControl,u[i.FormControlType.scrollBar]=h.ScrollFormControl,V.registerCustomFormControl=x,V.getFormControlCtor=y},"./dist/plugins/shape/formControl/formControlData.js":function(t,V,n){var i,o,d,s,e,r,c,a,h,u;function x(t,V,n,i,e,r,c){var t,V,t=u.call(this,t,V,s.AutoShapeType.rectangle,i,e,r,c)||this,V=t;return V.ttV=4,V.ntV=s.AutoShapeType.rectangle,V.sVV=n,V.jft=!0,V._hidden=!1,V.hrV=!0,V.itV=0,V.InitDefaultStyle(),t}function y(t){var V="Form Control";return t===s.FormControlType.button?V="Button":t===s.FormControlType.checkBox?V="Check Box":t===s.FormControlType.comboBox?V="Drop Down":t===s.FormControlType.groupBox?V="Group Box":t===s.FormControlType.label?V="Label":t===s.FormControlType.listBox?V="List Box":t===s.FormControlType.optionButton?V="Option Button":t===s.FormControlType.scrollBar?V="Scroll Bar":t===s.FormControlType.spinButton&&(V="Spinner"),V}i=this&&this.__extends||(h=function(t,V){return(h=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}h(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var V,n,i,e,n=1,i=arguments.length;n<i;n++)for(e in V=arguments[n])Object.prototype.hasOwnProperty.call(V,e)&&(t[e]=V[e]);return t}).apply(this,arguments)},Object.defineProperty(V,"__esModule",{value:!0}),V.getDefaultFormControlName=V.FormControlShapeData=void 0,d=n("./dist/plugins/shape/shape.js"),s=n("./dist/plugins/shape/drawingInterface.js"),e=n("./dist/plugins/shape/formControl/formControl.js"),r=n("./dist/plugins/shape/formControl/formControl-io.js"),c=void 0,u=d.ShapeData,i(x,u),x.prototype.setFormControl=function(t){this.GtV=t},x.prototype.InitShapeFormat=function(){var t=this;t.InitFillFormat(),t.InitLineFormat(),t.InitTextFormat()},x.prototype.InitFillFormat=function(){var t;this.S0t.Color.ColorType=0},x.prototype.InitLineFormat=function(){var t=this.Line;t.Color.ColorType=0,t.JoinStyle=1,t.Weight=1},x.prototype.InitTextFormat=function(){var t=this.ShapeStyle.Font;t.Color.ColorType=2,t.Color.RGB=s.ARGBColor.FromRgb(0,0,0)},x.prototype.InitDefaultStyle=function(){var t,V,n,V,t=this,V=(0,e.getFormControlCtor)(t.sVV);V&&"function"==typeof V.defaultStyle&&(n=V.defaultStyle())&&(V=t.I0i.TextBody,n.vAlign!==c&&(V.anchor=n.vAlign),n.hAlign!==c&&V.O0t.forEach(function(t){return t.Algn=n.hAlign}),n.wrapText!==c&&(V.wrap=n.wrapText?s.ST_TextWrappingType.square:s.ST_TextWrappingType.none),n.margins&&(V.Inset=n.margins),t.Mfn=n)},Object.defineProperty(x.prototype,"Type",{get:function(){return s.ShapeType.AutoShape},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"Enabled",{get:function(){return this.hrV},set:function(t){this.hrV=t},enumerable:!1,configurable:!0}),x.prototype.FromOOModel=function(t){var V=this;u.prototype.FromOOModel.call(this,t),V._hidden=!1},x.prototype.FromCT_ShapeBase=function(t){var V=this;u.prototype.FromCT_ShapeBase.call(this,t),V.FromCT_Control(t.control)},x.prototype.FromSJSCT_ShapeBase=function(t){var V=this;u.prototype.FromSJSCT_ShapeBase.call(this,t),V.FromSJS_Control(t)},x.prototype.FormulaFrom=function(){var t,V,t=this.GtV,V=this.tWt;t&&V&&t.fromExcelProps(V)},x.prototype.ToCT_ShapeBase=function(t,V){var t=u.prototype.ToCT_ShapeBase.call(this,t,V);return t.control=this.ToCT_Control(null==V?void 0:V.newWorkSheetName),t.shapeType=s.CT_ShapeType.CT_FormControlShape,t},x.prototype.ToSJSCT_ShapeBase=function(t){var V=u.prototype.ToSJSCT_ShapeBase.call(this,t);return V.controlInfo=this.ToSJS_Control(t),V.nvSpPr.cNvPr.hidden=d.SJS_True,V},x.prototype.FromCT_Control=function(t){var V;t&&((V=this).tWt=t.props,V.sVV=V.FromObjectType(t.props.objectType),V.hrV=!t.disabled)},x.prototype.FromSJS_Control=function(t){var V,t;t.controlInfo&&(t=t.controlInfo,(V=this).FromCT_Control(t),V.jft=!t.hidden,V.hrV=!t.disabled)},x.prototype.FromObjectType=function(t){var V={};return V.Button=s.FormControlType.button,V.Spin=s.FormControlType.spinButton,V.Scroll=s.FormControlType.scrollBar,V.List=s.FormControlType.listBox,V.CheckBox=s.FormControlType.checkBox,V.Radio=s.FormControlType.optionButton,V.Label=s.FormControlType.label,V.GBox=s.FormControlType.groupBox,V.Drop=s.FormControlType.comboBox,V[t]||t},x.prototype.ToCT_Control=function(t){var V,n,i,e,r,c,s,V=this,n,i={objectType:V.ToObjectType()};return V.GtV&&(i=o(o({},V.GtV.toExcelProps()),i)),e=this.eJ,i.fmlaLink&&(i.fmlaLink=(0,d.adjustFormulaByNewWorkSheetName)(e,i.fmlaLink,t)),i.fmlaRange&&(i.fmlaRange=(0,d.adjustFormulaByNewWorkSheetName)(e,i.fmlaRange,t)),{props:i,style:r=this.ToCT_Control_Style(),anchorInfo:c=V.getAnchorInfo(),disabled:s=!V.hrV}},x.prototype.ToSJS_Control=function(t){var V,t,V=this,t=V.ToCT_Control(t);return t.hidden=!V.jft,t.disabled=!V.hrV,t},x.prototype.ToObjectType=function(){var t,t,t={};return t[s.FormControlType.button]="Button",t[s.FormControlType.spinButton]="Spin",t[s.FormControlType.scrollBar]="Scroll",t[s.FormControlType.listBox]="List",t[s.FormControlType.checkBox]="CheckBox",t[s.FormControlType.optionButton]="Radio",t[s.FormControlType.label]="Label",t[s.FormControlType.groupBox]="GBox",t[s.FormControlType.comboBox]="Drop",t[t=this.sVV]||t},x.prototype.getAnchorInfo=function(){var t,V,n,i,e,r,c,s,o,d,a,t=this,V=t.topAnchorRow,n=t.topAnchorRowOffset,i=t.leftAnchorCol,e=t.leftAnchorColOffset,r=t.bottomAnchorRow,c=t.bottomAnchorRowOffset,s,o,d,a;return{startPoint:{row:V,col:i,rowOffset:n,colOffset:e},endPoint:{row:r,col:t.rightAnchorCol,rowOffset:c,colOffset:t.rightAnchorColOffset}}},x.prototype.ToCT_Control_Style=function(){var t,V,n,t,t=this,V={},n=(0,r.getVmlDrawingFillInfo)(t),t=(0,r.getVmlDrawingLineInfo)(t);return n&&(V.fill=n),t&&(V.line=t),V},V.FormControlShapeData=x,V.getDefaultFormControlName=y},"./dist/plugins/shape/formControl/radioGroupManager.js":function(t,V,n){var i,e,V,r,c;function s(t,V){var n,t,n,n=function(t){return{left:t.x(),right:t.x()+t.width(),top:t.y(),bottom:t.y()+t.height()}},t=n(t),n=n(V);return n.left>t.left&&n.right<t.right&&n.top>t.top&&n.bottom<t.bottom}function o(t){return t.GtV}function d(t){return t.ttV===i.CT_ShapeType.CT_FormControlShape}function a(t){return t.ttV===i.CT_ShapeType.CT_GroupShape}function h(t){return t.ytV.sVV===i.FormControlType.optionButton}function u(t){return t.ytV.sVV===i.FormControlType.groupBox}function x(t){return t.ytV.Id}function y(t,V){var V=t.indexOf(V);-1!==V&&t.splice(V,1)}function f(t,V){for(var n,i,n=-1,i=0;i<t.length;i++)if(V(t[i])){n=i;break}-1!==n&&t.splice(n,1)}function l(t){this.fVV=t,this.ztV=[]}function g(t){this.lVV=new r,this.gVV=[],this.ztV=[],this.AVV=!1,this.Mf=t}Object.defineProperty(V,"__esModule",{value:!0}),i=n("./dist/plugins/shape/drawingInterface.js"),e=n("./dist/plugins/shape/formControl/controls/util.js"),V=n("./dist/plugins/shape/shapeCollection.js"),l.prototype.add=function(t){var V,n,t,V=this.ztV,n=0<V.length?o(V[0]).cellLink:"";V.push(t),this.wwn(),this.Jti(),t=o(t),1<V.length&&(t.cellLink=n),!0===t.value&&t.setOtherRadioToFalse()},l.prototype.remove=function(t){var t,V,t=this.lp(t),V=this.ztV;-1!==t&&(V.splice(t,1),this.Jti())},l.prototype.contains=function(t){return-1!==this.ztV.indexOf(t)},l.prototype.wwn=function(){this.ztV.sort(function(t,V){return x(t)-x(V)})},l.prototype.lp=function(t){return this.ztV.indexOf(t)},l.prototype.Jti=function(){for(var t,V,t=0;t<this.ztV.length;t++)(V=o(this.ztV[t])).setIndex(t+1)},r=l,g.prototype.getGroupByRadio=function(t){for(var V=0;V<this.gVV.length;V++)if(this.gVV[V].contains(t))return this.gVV[V];if(this.lVV.contains(t))return this.lVV},g.prototype.addRadio=function(t){var V;this.ztV.push(t),this.wVV(t).add(t)},g.prototype.removeRadio=function(t){var V=this.getGroupByRadio(t);V&&V.remove(t),y(this.ztV,t)},g.prototype.addGroupBox=function(t){this.gVV.push(new r(t)),this.gVV.sort(function(t,V){return x(t.fVV)-x(V.fVV)}),this.pVV()},g.prototype.removeGroupBox=function(V){f(this.gVV,function(t){return t.fVV===V}),this.pVV()},g.prototype.updateRadio=function(t){var V,n,V=this.getGroupByRadio(t),n=this.wVV(t);V!==n&&(V&&V.remove(t),n.add(t))},g.prototype.updateRadios=function(t){var V=this;t.forEach(function(t){V.updateRadio(t)})},g.prototype.updateGroupBox=function(t){this.pVV()},g.prototype.onShapeMoveOrResize=function(t){var V=this;this.AVV||(d(t)?h(t)?this.updateRadio(t):d(t)&&this.updateGroupBox(t):a(t)&&t.tin.forEach(function(t){V.onShapeMoveOrResize(t)}))},g.prototype.onAddShape=function(t){var V=this;this.AVV||(d(t)?h(t)?this.addRadio(t):u(t)&&this.addGroupBox(t):a(t)&&t.tin.forEach(function(t){V.onAddShape(t)}))},g.prototype.onRemoveShape=function(t){var V=this;this.AVV||(d(t)?h(t)?this.removeRadio(t):u(t)&&this.removeGroupBox(t):a(t)&&t.tin.forEach(function(t){V.onRemoveShape(t)}))},g.prototype.startFromJson=function(){this.AVV=!0},g.prototype.endFromJson=function(){var V,t,t,n,t,V=this;(t=(this.AVV=!1,e.getAllShape)(this.Mf.shapes.all())).sort(function(t,V){return t.ytV.Id-V.ytV.Id}),n=(t=t.filter(d)).filter(u),t=t.filter(h),n.forEach(function(t){V.onAddShape(t)}),t.forEach(function(t){V.onAddShape(t)})},g.prototype.pVV=function(){this.updateRadios(this.ztV)},g.prototype.wVV=function(t){for(var V,n,i,e,r,V=this.gVV,i=0;i<V.length;i++)!s(r=(e=V[i]).fVV,t)||n&&!s(n.fVV,r)||(n=e);return n||this.lVV},c=g,V.ShapeCollection.ch("FormControlRadioGroupManager",{init:function(){this.QtV=new c(this.Mf)},shapeAdded:function(t){this.QtV.onAddShape(t.shape)},shapeRemoved:function(t){this.QtV.onRemoveShape(t.shape)},beforeFromJSON:function(){this.QtV.startFromJson()},beforeFromSJSFormat:function(){this.QtV.startFromJson()},fromJsonAfterFormula:function(){this.QtV.endFromJson()},fromJsonAfterSJSFormula:function(){this.QtV.endFromJson()}})},"./dist/plugins/shape/formControl/supportCellLinkFormControl.js":function(t,V,n){var i,e,n,r,c,s,o,d,a,h,u;function x(){var t=u.call(this)||this;return t.vVV={},t.LVV=!1,t.syncValueFromCell=t.syncValueFromCell.bind(t),t.syncValueToCell=t.syncValueToCell.bind(t),t.onLinkedCellValueChanged=t.onLinkedCellValueChanged.bind(t),t}i=this&&this.__extends||(h=function(t,V){return(h=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}h(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.SupportCellLinkFormControl=void 0,e=n("./dist/plugins/shape/ui/util.js"),n=n("./dist/plugins/shape/formControl/controls/ExcelBuildInFormControlBase.js"),c=(r="form_control.").length,s="cellLink",o="inputRange",d=null,u=n.ExcelBuildInFormControlBase,i(x,u),Object.defineProperty(x.prototype,"value",{get:function(){return this.y4},set:function(t){var V=this.y4;V!==(t=this.preProcessValue(t))&&(this.y4=t,this.shape.usV("formControlValue",t,V),this.syncValueToCell(),this.triggerValueChangedEvent(V,t),this.refresh())},enumerable:!1,configurable:!0}),x.prototype.preProcessValue=function(t){return t},x.prototype.mapToCellValue=function(t){return t},x.prototype.mapValueFromCell=function(t){return this.preProcessValue(t)},x.prototype.shouldProcessMouseDownEvt=function(t){return!(!u.prototype.shouldProcessMouseDownEvt.call(this,t)||this.cellLink&&this.linkedCellIsLocked)},Object.defineProperty(x.prototype,"cellLink",{get:function(){return this.getFormula(s)},set:function(t){this.setCellLinkCore(t,!0)},enumerable:!1,configurable:!0}),x.prototype.setCellLinkCore=function(t,V){this.checkFormula(t)?(this.linkWithCell(t,!0),V&&this.syncValueToCell()):this.removeFormula(s)},Object.defineProperty(x.prototype,"inputRange",{get:function(){return this.getFormula(o)},set:function(t){this.checkFormula(t)?(t=(0,e.addWorkSheetNameIfNeed)(this.sheet,t),this.setFormula(o,t,function(){})):this.removeFormula(o)},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"linkedCellIsLocked",{get:function(){var t,V,t,n,t,t=this.getRangeReferenceInfo(s);return!(!t||(V=t.sheet,n=(t=t.cellRange).row,t=t.col,!V.isActualProtected())||!V.getActualStyle(n,t).locked)},enumerable:!1,configurable:!0}),x.prototype.linkWithCell=function(t,V){(V=void 0===V?!1:V)&&(this.LVV=!0),this.setFormula(s,t,this.onLinkedCellValueChanged),this.LVV=!1},x.prototype.syncValueToCell=function(){var t=this.mapToCellValue(this.value);this.syncValueToCellImp(t)},x.prototype.syncValueToCellImp=function(t){var V,n,V,i,V,V=this.getRangeReferenceInfo(s);V&&(n=V.sheet,i=(V=V.cellRange).row,V=V.col,n.getValue(i,V)!==t)&&(this.LVV=!0,n.getFormula&&n.getFormula(i,V)&&n.setFormula(i,V,d),n.setValue(i,V,t),this.LVV=!1)},x.prototype.getCellValue=function(){var t,V,t,n,t,t=this.getRangeReferenceInfo(s);if(t)return V=t.sheet,n=(t=t.cellRange).row,t=t.col,V.getValue(n,t)},x.prototype.syncValueFromCell=function(t){var V=this.y4;V!==(t=this.mapValueFromCell(t))&&(this.y4=t,this.triggerValueChangedEvent(V,t)),this.refresh()},x.prototype.onLinkedCellValueChanged=function(t){this.LVV||this.syncValueFromCell(t)},x.prototype.getInputRangeTexts=function(){var t,V,n,t,i,e,r,c,t=this.getRangeReferenceInfo(o),V=[];if(t)for(n=t.sheet,i=(t=t.cellRange).row,e=t.col,r=t.rowCount,c=0;c<r;c++)V.push(n.getText(i+c,e));return V},x.prototype.onFormulaValueChange=function(t,V){t=t.substring(c);var t=this.vVV[t];t&&t(V)},x.prototype.getFormula=function(t,V){var n,i,i,n=this.shapeUI,i=n&&n.getService(),i=i&&i.getFormula(n.id,r+t,V);return i&&"="===i[0]?i.substring(1):i},x.prototype.getRangeReferenceInfo=function(t){var V,n,n,V=this.shapeUI,n=V&&V.getService(),n=n&&n.calcSource_.getExpression(V.id,r+t);return n&&(0,e.expressionToRangeInfo)(this.sheet,n)},x.prototype.setFormula=function(t,V,n){this.vVV[t]=n,(0,e.setFormulaImp)(this.shape,r+t,V)},x.prototype.removeFormula=function(t){var V,n,V=this.shapeUI;V&&(n=V.getService())&&n.removeFormula(V.id,r+t),delete this.vVV[t]},x.prototype.checkFormula=function(t){var V=!0;try{V=!!(0,e.getRangeInfo)(this.sheet,t)}catch(t){V=!1}return V},V.SupportCellLinkFormControl=x},"./dist/plugins/shape/formControlView.js":function(t,V,n){var i,o,e,r,d,c,s,a,h,u,x;function y(t,V,n,i,e,r,c){var V,s,V=x.call(this,t,V||(0,d.getDefaultFormControlName)(n),o.AutoShapeType.rectangle,i,e,r,c)||this,s=V;return s.Mf=t,s.fiV=!1,s.ttV=o.CT_ShapeType.CT_FormControlShape,s.ytV=new d.FormControlShapeData(t,s.ytV.Name,n,i||0,e||0,r||200,c||160),n&&(s.ytV.sVV=n,s.tnV()),V}i=this&&this.__extends||(u=function(t,V){return(u=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}u(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.FormControlShape=void 0,o=n("./dist/plugins/shape/drawingInterface.js"),e=n("./dist/plugins/shape/ui/shapes.js"),r=n("./dist/plugins/shape/formControl/formControl.js"),d=n("./dist/plugins/shape/formControl/formControlData.js"),c=n("./dist/plugins/shape/shapeView.js"),s=n("./dist/plugins/shape/util/viewUtil.js"),a=o.ShapeUtility.syncShapeOptions,x=c.Shape,i(y,x),y.prototype.tnV=function(){var t,V,n,i,e,V,r,c,e,n,t=this,V=t.Mf,n=V.zoom();t.ytV.sVV&&(t.RiV=!0,t.VnV=!0,e=(i=t.ytV).ntV,V=V.shapeLayers[0],(r=t.aiV)||(c=(0,s.getBuiltInShapeModelWhenInit)(i,e,n)),e=(0,s.removeOldShapeUIWhenInitShapeUI)(t,V),a(c,i,V,r),(n=V.createFormControlShape(c)).ttV=4,n.getShapeCenter(),n.hyperlink=i.ku,t.ZnV(n.id),i.ltV&&(t.flipX=!0),i.gtV&&(t.flipY=!0),(0,s.addNewShapeUIWhenInitShapeUI)(t,n,V,e),delete t.VnV,delete t.RiV,t.U0V())},y.prototype.U0V=function(){var t,V,n,t=this;t.GtV||(V=t.ytV,n=t.k0V(),t.GtV=n,V.setFormControl(n))},y.prototype.type=function(){if((0,s.noArguments)(arguments))return this.ytV.AutoShapeType},y.prototype.formControlType=function(){return this.ytV.sVV},y.prototype.value=function(t){var V,n,V=this;if((0,s.noArguments)(arguments))return V.GtV.value;n=V.GtV.value,V.DT("value",t,n),V.GtV.value=t,V.usV("formControlValue",t,n)},y.prototype.options=function(t){var V,n,V=this;if((0,s.noArguments)(arguments))return V.GtV.options;n=V.GtV.options,V.DT("options",t,n),V.GtV.options=t,V.usV("formControlOption",n)},y.prototype.enabled=function(t){var V,n,i,V=this,n=V.ytV;if((0,s.noArguments)(arguments))return n.Enabled;(t=!!t)!==(i=n.Enabled)&&(V.DT("enabled",t,i),n.Enabled=t,V.usV("formControlEnabled",t,i))},y.prototype.vdV=function(){return!1},y.prototype.hyperlink=function(){return null},y.prototype.text=function(t){if((0,s.noArguments)(arguments))return x.prototype.text.call(this);(0,e.isCanEditTextFormControlShape)(this)&&x.prototype.text.call(this,t)},y.prototype.isTextBox=function(){return!1},y.prototype.style=function(t){if((0,s.noArguments)(arguments))return x.prototype.style.call(this);t&&delete t.textFrame.resizeToFitText,x.prototype.style.call(this,t)},y.prototype.fc=function(){return this.GtV},y.prototype.bnV=function(t,V,n,i,e,r){x.prototype.bnV.call(this,t,V,n,i,e,r),this.Z0V()},y.prototype.$l=function(t,V,n,i,e,r){x.prototype.$l.call(this,t,V,n,i,e,r),this.Z0V()},y.prototype.Z0V=function(){var t,V,t,V=this,t=null==(t=V.mnV)?void 0:t.QtV;V.GtV&&t&&t.onShapeMoveOrResize(V)},y.prototype.k0V=function(){var t,t,V,t=this.ytV.sVV,t=(0,r.getFormControlCtor)(t);return t&&(V=new t).init(this),V},y.prototype.WiV=function(t){return new y(t)},y.prototype.EiV=function(t,V){var V,t;x.prototype.EiV.call(this,t,V),V=this,(t=t.controlInfo)&&(V.uiV=t.locked,V.xiV=t.print)},y.prototype.XiV=function(t,V,n,i,e){var n,V;x.prototype.XiV.call(this,t,V,n,i,e),(V=t.sp.controlInfo).locked=(n=this).uiV,V.print=n.xiV,n.AiV&&(V.alt=n.AiV)},y.prototype.postProcessShapeDataToJson=function(t,V,n,i){var n,V;x.prototype.postProcessShapeDataToJson.call(this,t,V,n,i),(V=this.AiV)&&null!=(n=t.shapeData.sp)&&n.control&&(t.shapeData.sp.control.alt=V)},V.FormControlShape=y},"./dist/plugins/shape/geometryService/controlPointService.js":function(t,i,V){var n,o,e,r,c,s,d,a,h,u,x,y,n=this&&this.__extends||(y=function(t,V){return(y=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}y(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),f;for(d in Object.defineProperty(i,"__esModule",{value:!0}),i.getBoundFnInfo=i.getNewAdjustName=i.getControlPointInfo=i.getPresetShapeInfo=i.ANGLE_ADJUSTMENT_UNIT=i.ADJUSTMENT_UNIT=i.ADJUSTMENTS=i.ADJUSTMENT_NAME_PREFIX=void 0,o=V("CalcEngine"),e=V("./dist/plugins/shape/drawingInterface.js"),r=V("./dist/plugins/shape/presetShapeModels.js"),c=void 0,i.ADJUSTMENT_NAME_PREFIX="adj",i.ADJUSTMENTS="adjustments",i.ADJUSTMENT_UNIT=1e5,i.ANGLE_ADJUSTMENT_UNIT=6e4,s={},e.AutoShapeType)e.AutoShapeType.hasOwnProperty(d)&&d!==parseInt(d,10)+""&&(s[e.AutoShapeType[d]]=d);function l(t){var V,n,i,e,V=s[t],n=u[t];return n||(i=r.TVV[V],n=u[t]={name:V,definition:i},i&&((e=i.path).forEach(function(t){var V=t.pop();V&&(t.fillMode=V.fillMode,t.strokeMode=V.strokeMode,t.strokeCompound=V.strokeCompound)}),A(n,i),v(i,t))),n}function g(t){var t,t,V,t,t=l(t),t=t&&t.definition,V=t&&t.adjustInfo,t=t&&t.angleAdjustments;return{adjustValues:V=V?JSON.parse(JSON.stringify(V)):[],angleAdjustments:t=t?JSON.parse(JSON.stringify(t)):{}}}function A(c,t){var s,V,o,d,s=t.variables,V=t.controlsInfo;V&&!t.controls&&(o=t.controls=[],d=t.angleAdjustments={},V.forEach(function(t){var V,n,V,i,i,e,r,e,r,V=t.position,n=V.x,V=V.y,i=t.point,i={xBehavior:1,yBehavior:1,x:i[0],y:i[1]};"ahXY"===t.type?(e=t.gdRefX,r=t.gdRefY,e&&(j(n,e,s,c),i.xBehavior=0,i.xRef=e,i.min=t.minX,i.max=t.maxX),r&&(j(V,r,s,c),i.yBehavior=0,i.yRef=r,i.min=t.minY,i.max=t.maxY)):(e=t.gdRefAng,r=t.gdRefR,i.xBehavior=0,i.yBehavior=0,i.aRef=e,i.rRef=r,e&&(i.minAngle=t.minAng,i.maxAngle=t.maxAng,d[e]=0===t.maxAng?2:1),r&&(i.minRadius=t.minR,i.maxRadius=t.maxR,b(n,V,r,s,c))),o.push(i)}))}function p(t){for(var V,n,V=1;V<=1e3;V++)if(t[n=i.ADJUSTMENT_NAME_PREFIX+V]===c)return n;return i.ADJUSTMENT_NAME_PREFIX}function w(t,V){var n,i,n,e;return"string"==typeof t&&0===t.indexOf("=BOUND")?(n=t.indexOf("("),e=t.indexOf(","),i=t.substring(0,n+1)+V+t.substring(e),n="="+t.substring(n+1,e)):(n=t,i="="+V),{value:n,formula:i}}function v(t,V){167===V?t.controls[1].adjustInfo={toHalfCircle:!0}:175===V&&(t.controls[0].adjustInfo={toNegative:!0})}function j(t,V,n,i){m(t,V,n,i)}function b(t,V,n,i,e){m(t,n+"_x",i,e,n),m(V,n+"_y",i,e,n)}function L(){var t=f.call(this,void 0,!1)||this;return t.tokenResolver=new o.DefaultTokenResolver,t}function m(t,V,n,i,e){var t,n,r,c,s;if(i.fnDefs){if(i.fnDefs[V])return}else i.fnDefs={},i.fnArgs={};C(n,t,n=[],t=[],e=e||V),0<t.length&&(c=new o.Parser,s=new x,n.forEach(function(t){return t.expr=c.parse(s,String(t.formula))}),r=R(n,["width","height"].concat(t))),i.fnDefs[V]=r,i.fnArgs[V]=t}function C(V,t,n,i,e){var r,c,s,r=V[t];/^\d/.test(t)&&(t="_"+t),isNaN(+r)?((s=(c=r).match(a))&&s.length&&(c=c.replace(/V\.(\d)/g,"_$1").replace(/V\./g,""),s.forEach(function(t){var t=t.substr(h);0===t.indexOf("adj")?-1===i.indexOf(t)&&(t===e?i.unshift(t):i.push(t)):n[t]||(n[t]=!0,C(V,t,n,i,e))})),n.push({name:t,formula:c})):n.push({name:t,formula:r})}function R(e,r){return function(){var n,i,t,V,n=arguments,i={};for(r.forEach(function(t,V){return i[t]=n[V]}),t=e.length-1,V=0;V<t;V++)i[e[V].name]=I(e[V].expr,i);return I(e[t].expr,i)}}function I(t,V){var n,i,e,r,c;if(t){for(;10===t.type;)t=t.value;if(2<=(i=t.type)&&i<=6)n=t.value;else if(8===i)n=V[t.value];else if(9===i)switch(e=I(t.value,V),r=I(t.value2,V),t.operatorType){case 1:n=-e;break;case 2:n=e/100;break;case 3:n=e+r;break;case 4:n=e-r;break;case 5:n=e*r;break;case 6:n=e/r;break;case 9:n=e===r;break;case 10:n=e!==r;break;case 11:n=e<r;break;case 12:n=e<=r;break;case 13:n=r<e;break;case 14:n=r<=e}else if(7===i)switch(c=t.arguments.map(function(t){return I(t,V)}),t.functionName){case"MIN":n=Math.min(c[0],c[1]);break;case"MAX":n=Math.max(c[0],c[1]);break;case"SIN":n=Math.sin(c[0]);break;case"COS":n=Math.cos(c[0]);break;case"ABS":n=Math.abs(c[0]);break;case"ATAN2":n=Math.atan2(c[1],c[0]);break;case"SQRT":n=Math.sqrt(c[0]);break;case"TAN":n=Math.tan(c[0]);break;case"IF":n=c[0]?c[1]:c[2]}return n}}a=/V\.(_?[A-Za-z0-9]+)/g,h="V.".length,u={},i.getPresetShapeInfo=l,i.getControlPointInfo=g,i.getNewAdjustName=p,i.getBoundFnInfo=w,f=o.ParserContext,n(L,f),L.prototype.getResolvers=function(){return[this.tokenResolver]},x=L},"./dist/plugins/shape/geometryService/geometryService.js":function(t,n,V){var i,e,r,c,s,o,d,V,a,h,u,x,y,f,l,g;function A(t){var V=g.call(this,t,A.parser,A.parseContext)||this;return V.needCacheResult=!1,V.geometryModel=t,V}function p(t){var t,V,n,i,e,t,t=t.map(function(t){return t.parseDimensions()}),V,n,i,e,t={left:h.apply(a,t.map(function(t){return t.left})),top:h.apply(a,t.map(function(t){return t.top})),right:u.apply(a,t.map(function(t){return t.right})),bottom:u.apply(a,t.map(function(t){return t.bottom}))};return y(t),t}function w(t){return t.map(function(t){return t.pathCommands})}i=this&&this.__extends||(l=function(t,V){return(l=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}l(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(n,"__esModule",{value:!0}),n.mapPathInstanceToValue=n.GeometryService=n.VARIABLES=n.VARIABLES_SHORT_NAME=void 0,e=V("Common"),r=V("CalcEngine"),c=V("./dist/plugins/shape/ui/path.js"),s=V("./dist/plugins/shape/ui/util.js"),o=V("./dist/plugins/shape/geometryService/parseContext.js"),d=V("./dist/plugins/shape/staticModelCalcService/evaluateContext.js"),V=V("./dist/plugins/shape/staticModelCalcService/staticModelCalcService.js"),n.VARIABLES_SHORT_NAME="V",n.VARIABLES="variables",a=null,h=Math.min,u=Math.max,x=e.Common.zf.fJ,y=s.Common.setRectSize,g=V.StaticModelCalcService,i(A,g),A.prototype.calculate=function(t){var V,n,n,V=JSON.stringify(t),n=this.resultCache;return n&&n[V]?n[V]:this.resultKey===V?this.result:(n=g.prototype.calculate.call(this,t),this.resultKey=V,this.result=n,this.needCacheResult&&(this.resultCache[V]=this.result),n)},A.prototype.getDependency=function(){var t,V,n,i,e;if(!this.dependencyDict){for(V={},n=0,i=t=this.getExternalDependency();n<i.length;n++)V[e=i[n]]=!0;this.dependencyDict=V}return this.dependencyDict},A.prototype.startCache=function(){this.needCacheResult=!0,this.resultCache||(this.resultCache={})},A.prototype.endCache=function(t){void 0===t&&(t=!0),this.needCacheResult=!1,t&&(this.resultCache=void 0)},A.prototype.dispose=function(){this.resultCache={}},A.prototype.getResultFromCalcNodeModel=function(t){var t,V,t=g.prototype.getResultFromCalcNodeModel.call(this,t),V=this.CrV(t.path);return{textRect:t.textRect,connectionPoints:t.connectionPoints,controlPoints:t.controls,path:V,pathRect:p(V)}},A.prototype.getIdentity=function(t){var V;return x(t,n.VARIABLES_SHORT_NAME+".")?V=t.substring(n.VARIABLES_SHORT_NAME.length+1):x(t,n.VARIABLES+".")&&(V=t.substring(n.VARIABLES.length+1)),V?["".concat(n.VARIABLES,".").concat(V),"".concat(n.VARIABLES_SHORT_NAME,".").concat(V)]:g.prototype.getIdentity.call(this,t)},A.prototype.CrV=function(t){var i=this.geometryModel.path;return t.map(function(t,V){var n,t,V,n=new c.Path;return n.pathCommands=t,(V=(t=i[V]).fillMode)&&(n.fillMode=V),t.strokeMode&&(n.strokeMode=t.strokeMode),t.strokeCompound&&(n.strokeCompound=t.strokeCompound),n})},A.parseFormulaToExpression=function(t){return A.parser.parse(A.parseContext,t)},A.evaluatorFormula=function(t,V){var t,n,t=A.parseFormulaToExpression(t),n=new d.StaticModelEvaluateContext(a);return n.args=V,n.calcNodeMap=a,A.evaluator.evaluate(t,n,!1,!1)},A.parser=new r.Parser,A.parseContext=new o.GeometryParseContext(a,!1),n.GeometryService=A,n.mapPathInstanceToValue=w},"./dist/plugins/shape/geometryService/parseContext.js":function(t,V,n){var i,e,n,r,c,s,o,d,a,h;function u(){return null!==h&&h.apply(this,arguments)||this}function x(t,V,n,i,e){return n||2===V?t:(1===V&&(i+=1,--e),Math.max(i,Math.min(t,e)))}function y(t){return-1}function f(t,V,n){var n=n/d;return s(t*r(n),V*c(n))}function l(t,V,n,i){var e;return V-t*(i?c:r)(n)}function g(t,V,n,i){var e;return t+V*(i?c:r)(n)}i=this&&this.__extends||(a=function(t,V){return(a=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}a(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.GeometryParseContext=void 0,e=n("CalcEngine"),n=n("./dist/plugins/shape/staticModelCalcService/parseContext.js"),r=Math.sin,c=Math.cos,s=Math.atan2,h=n.StaticModelParseContext,i(u,h),u.prototype.getFunction=function(t){if(t){var V=new e.Functions.Function(t);switch(t){case"BOUND":V.evaluate=x;break;case"LISTORDER":V.evaluate=y,V.isContextSensitive=function(){return!0};break;case"A":V.evaluate=f;break;case"C":V.evaluate=l;break;case"P":V.evaluate=g;break;default:V=void 0}return V&&(V.minArgs=V.maxArgs=V.length),V}},V.GeometryParseContext=u,d=108e5/Math.PI},"./dist/plugins/shape/geometryService/serviceManager.js":function(t,V,n){var i,e,r,c,s;function o(){}function d(t){var V,V;if(t)return V=c(t.autoShapeType)?h(t):a(t.autoShapeType)}function a(t){var V,n,i,i,V=s.geometryModels,n=V[t];if(!n){if(!(i=(0,e.getPresetShapeInfo)(t)))return;((i=i.definition).controls||[]).forEach(x),i.path.sort(u),n=h(i,"build-in-"+t),V[t]=n}return n}function h(t,V){var n,i,e,r,c,t,n,i=t.variables||{},e=t.controls||[],r=t.textRect||{left:0,top:0,right:"=width",bottom:"=height"},c=t.connectionPoints||[],t=t.path||[[[]]];return{key:V=V||"custom-"+JSON.stringify({variables:i,controls:e,textRect:r,connectionPoints:c,path:t}),variables:i,controls:e,textRect:r,connectionPoints:c,path:t}}function u(t,V){var t="none"===t.fillMode,n;return t!=("none"===V.fillMode)?t?1:-1:0}function x(n){["x","y","min","max","minAngle","maxAngle","minRadius","maxRadius"].forEach(function(t){var V=n[t];"string"==typeof V&&"="!==V[0]&&(n[t]="=".concat(r.VARIABLES,".").concat(V))})}Object.defineProperty(V,"__esModule",{value:!0}),V.GeometryServiceManager=void 0,i=n("Common"),e=n("./dist/plugins/shape/geometryService/controlPointService.js"),r=n("./dist/plugins/shape/geometryService/geometryService.js"),c=i.Common.lt.ht,o.getGeometryService=function(t){var V,t,n,V=o.geometryServices,t=d(t);if(t)return V[n=t.key]||(V[n]=new r.GeometryService(t),o.needCacheResult&&V[n].startCache()),V[n]},o.startCache=function(){o.needCacheResult=!0;var V=o.geometryServices;Object.keys(V).forEach(function(t){V[t].startCache()})},o.endCache=function(V){void 0===V&&(V=!0),o.needCacheResult=!1;var n=o.geometryServices;Object.keys(n).forEach(function(t){n[t].endCache(V)})},o.dispose=function(){var V=o.geometryServices;Object.keys(V).forEach(function(t){V[t].dispose()}),o.geometryModels={},o.geometryServices={},o.needCacheResult=!1},o.geometryModels={},o.geometryServices={},o.needCacheResult=!1,s=o,V.GeometryServiceManager=s},"./dist/plugins/shape/groupShapes.js":function(t,d,V){var n,a,h,u,x,y,i,e,f,r,c,s,o,l,g;function A(){}function p(t,V,n,i,e,r){var t=g.call(this,t,V,n,i,e,r)||this;return t.ttV=2,t}n=this&&this.__extends||(l=function(t,V){return(l=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}l(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(d,"__esModule",{value:!0}),d.GroupShapeData=d.GrpSpChildNodeIndexOffset=d.GrpSpPrNodeIndex=d.NvGrpSpPrNodeIndex=d.GrpSpNodeName=void 0,a=V("./dist/plugins/shape/shape.js"),h=V("./dist/plugins/shape/connector.js"),u=V("./dist/plugins/shape/pictureShape.js"),x=V("./dist/plugins/shape/cameraShape.js"),y=V("./dist/plugins/shape/formControl/formControlData.js"),i=V("./dist/plugins/shape/drawingInterface.js"),e=V("FloatingObject"),f=V("./dist/plugins/shape/formControl/formControl-io.js"),r=i.DrawingUtility.Aft,c=i.ShapeConstants.PositiveFixedAngleConvert,d.GrpSpNodeName="grpSp",d.NvGrpSpPrNodeIndex=0,d.GrpSpPrNodeIndex=1,d.GrpSpChildNodeIndexOffset=2,Object.defineProperty(A.prototype,"ChildList",{get:function(){var t=this;return t.jVV||(t.jVV=[]),t.jVV},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"Items",{get:function(){return this.ChildList},enumerable:!1,configurable:!0}),A.prototype.GetByIndex=function(t){return this.FindShapeByIndex(this,t)},A.prototype.GetByName=function(t){return this.FindShapeByName(this,t)},A.prototype.zIndex=function(t,V,n){var i=this;i.ChildList.splice(t,1),i.ChildList.splice(V,0,n)},A.prototype.Add=function(t,V){var V,n,n,n,n;this.ChildList.push(t),V=V,(n=t.ShapeStyle).Fill&&(n.Fill.ParentStateful=V.Fill),n.Line&&(n.Line.ParentStateful=V.Line),(n=t.ThreeD)&&(n.ParentStateful=V.ThreeD),(n=t.Fill.PictureFormat)&&(n.ParentStateful=V.Fill.PictureFormat),(n=t.PictureFormat)&&(n.ParentStateful=V.PictureFormat)},A.prototype.Remove=function(t){var V,n,V=this;return!(V.Count<=0||-1===(n=V.ChildList.indexOf(t))||(V.ChildList.splice(n,1),delete t.XtV,0))},Object.defineProperty(A.prototype,"Count",{get:function(){return this.GetGroupItemCount()},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"InternalCount",{get:function(){return this.ChildList.length},enumerable:!1,configurable:!0}),A.prototype.FindShapeByIndex=function(t,V,n){var i,e,r,c,s,o;for(void 0===n&&(n=0),i=this,e=0,r=t.ChildList;e<r.length;e++)if(2===(c=r[e]).ttV){if(o=i.FindShapeByIndex((s=c).GroupItems,V,n))return o;n+=s.GroupItems.InternalCount}else{if(n===V)return c;n++}},A.prototype.FindShapeByName=function(t,V){for(var n,i,e,r,c,r,n=this,i=0,e=t.ChildList;i<e.length;i++){if((r=e[i]).Name===V)return r;if(2===r.ttV&&(r=n.FindShapeByName(r.GroupItems,V)))return r}},A.prototype.GetGroupItemCount=function(){var V=0;return this.ChildList.forEach(function(t){2===t.ttV?V+=t.GroupItems.GetGroupItemCount():V+=1}),V},s=A,g=a.ShapeBaseData,n(p,g),Object.defineProperty(p.prototype,"GroupItems",{get:function(){var t=this;return t.N||(t.N=new s),t.N},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"DrawingType",{get:function(){return e.Drawing.DrawingType.GroupShape},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"Type",{get:function(){return i.ShapeType.Group},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"PictureFormat",{get:function(){return this.Fill.PictureFormat},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"LosslessGroupItems",{get:function(){var t=this;return t.bVV||(t.bVV=new s),t.bVV},enumerable:!1,configurable:!0}),p.prototype.FromOOModel=function(t){var V=this;g.prototype.FromOOModel.call(V,t),V.FromCT_ShapeBase(t.grpSp),!1===t.isVisible&&(V._hidden=!0)},p.prototype.FromSJSOOModel=function(t,V){var n=this;g.prototype.FromSJSOOModel.call(this,t,V),n.FromSJSCT_ShapeBase(t)},p.prototype.FormulaFrom=function(){this.GroupItems.ChildList.forEach(function(t){t.FormulaFrom()})},p.prototype.ToOOModel=function(t,V){var n=g.prototype.ToOOModel.call(this,t=!1!==t);return n.grpSp=this.ToCT_ShapeBase(t,V),n},p.prototype.ToSJSOOModel=function(t,V){g.prototype.ToSJSOOModel.call(this,t,V),t.grpSp=this.ToSJSCT_ShapeBase(V)},p.prototype.ToChildShapes=function(t,V,n){V=!1!==V;var i=[],e=this;return t.Items.forEach(function(t){t.mVV(e),i.push(t.ToCT_ShapeBase(V,n))}),i},p.prototype.ToSJSChildShapes=function(t,i,e){var r=this;t.Items.forEach(function(t){var V,n;switch(t.mVV(r),n=t.ToSJSCT_ShapeBase(e),t.ttV){case 0:case 4:V={sp:n};break;case 1:V={cxnSp:n};break;case 5:case 3:V={pic:n};break;case 6:V={graphicFrame:n};break;case 2:V=n}V&&i.c_.push(V)})},p.prototype.FromChildShapes=function(t){var e,r,c,e=this,r=e.eJ,c=e.baseOffset;t.forEach(function(t){var V,n,i,n,V=null,n=t.shapeType;(V=5===n?new a.ShapeData(r):3===n?(i=!0,new p(r)):4===n?new h.ConnectorShapeData(r):0===n?new a.LosslessShapeData(r):1===n?new(t.cameraTool?x.CameraShapeData:u.PictureShapeData)(r):7===n?new y.FormControlShapeData(r):(a.ShapeBaseData.et(e,"createChildShapeDataBySSJSON",n={node:t,sheet:r}),n.shapeData))&&(V.CVV=!0,V.mVV(e),V.baseOffset=c,i?V.FromOOModel({anchorType:3,grpSp:t}):V.FromCT_ShapeBase(t),delete V.CVV,e.GroupItems.Add(V,e))})},p.prototype.FromSJSChildShapes=function(t){var r,c,s,o,r=this,c=r.eJ,s=r.baseOffset,o=r.RVV=[];t.c_.forEach(function(t){var V,n,i,e,V=null,i=!1;(t=t.AlternateContent?t.AlternateContent.Choice:t).sp?(n=t.sp,V=new((0,f.isSJSFormControl)(t.sp)?y.FormControlShapeData:a.ShapeData)(c)):t.cxnSp?(V=new h.ConnectorShapeData(c),n=t.cxnSp):t.pic?(n=t.pic,V=new((0,x.isCameraShapeNode)(n)?x.CameraShapeData:u.PictureShapeData)(c)):n=t.n_===d.GrpSpNodeName?(i=!0,V=new p(c),t):(a.ShapeBaseData.et(r,"createChildShapeDataBySJSNode",e={node:t,sheet:c}),V=e.shapeData,e.childNode),V&&(V.CVV=!0,V.mVV(r),V.baseOffset=s,o.push(t),i?V.FromSJSOOModel(n,{anchorType:3,grpSp:n}):V.FromSJSCT_ShapeBase(n),delete V.CVV,r.GroupItems.Add(V,r))})},p.prototype.ToCT_GroupShapeProperties=function(t){var V,n,i,i,i,V,V=this;return(n=(t=!1!==t)&&V.IVV&&V.IVV.grpSpPr||{}).xfrm=V.ToCT_GroupTransform2D(t),r(n),(i=V.S0t)&&(i=i.ToOOModel(t))&&(0===i.colorFillType?n.solidFill=i:1===i.colorFillType?n.pattFill=i:2===i.colorFillType?n.gradFill=i:3===i.colorFillType?n.blipFill=i:(i.colorFillType,n.noFill=!0),delete i.colorFillType),n.effectLst=V.ToCT_EffectList(t),(i=V.Cin).Visible&&(V=i.ToOOModel(t),n.scene3d=V.Scene3D),n},p.prototype.ToSJSCT_GroupShapeProperties=function(){var t,V,t=this,V={};return V.xfrm=t.ToSJSCT_GroupTransform2D(),(0,a.toSJSFillGroup)(t.S0t,V),t.KcV(),(0,a.toSJSThreeDGroup)(t.Cin,V),V},p.prototype.FromCT_GroupShapeProperties=function(t){var V,n,n,V=this;V.FromCT_GroupTransform2D(t.xfrm),(n=V.S0t).ParentStateful=V.MVV.Fill,t.solidFill?n.FromOOModel(t.solidFill,0):t.grpFill?n.FromOOModel(t.grpFill,4):t.pattFill?n.FromOOModel(t.pattFill,1):t.gradFill?n.FromOOModel(t.gradFill,2):t.blipFill?n.FromOOModel(t.blipFill,3):t.noFill&&(n.Color.ColorType=0),n=t.xfrm.rot/c,V.XtV&&(n+=V.XtV.Rotation),V.Rotation=n,V.FromGroupThreeDFormat(t),V.FromCT_EffectList(t.effectLst)},p.prototype.FromSJSCT_GroupShapeProperties=function(t){var V,n,V=this;V.FromSJSCT_GroupTransform2D(t.xfrm),V.S0t.ParentStateful=V.MVV.Fill,(0,a.fromSJSFillGroup)(V.S0t,t),n=(0,a.getAttributeValueOrDefaultOfIntType)(t.xfrm.rot,0)/c,V.XtV&&(n+=V.XtV.Rotation),V.Rotation=n,V.FromSJSGroupThreeDFormat(t),V.$cV(t.effectLst)},p.prototype.ToCT_GroupShapeNonVisual=function(t,V){var n,t,t,V,n=this;return(t=(t=(t=!1!==t)&&n.IVV)&&t.nvGrpSpPr||{}).cNvPr=t.cNvPr||{},t.cNvPr.name=n.Zc,t.cNvPr.id=n.Id,t.cNvPr.hidden=!n.Visible,t.cNvPr.hlinkClick=n.ku,null!=V&&V.isServer&&(delete t.cNvPr.id,t.cNvPr.__ID__=n.jKe()),t.cNvGrpSpPr=t.cNvGrpSpPr||{},(V=t.cNvGrpSpPr).grpSpLocks=n.ToAG_Locking(V.grpSpLocks||{}),t},p.prototype.ToSJSCT_GroupShapeNonVisual=function(){var t,V,n,t=this,V,n;return{cNvPr:t.ToSJSCT_NonVisualDrawingProps(),cNvGrpSpPr:{grpSpLocks:t.ToSJSAG_Locking({})}}},p.prototype.FromCT_GroupShapeNonVisual=function(t){var V,n,n,V=this,n=t.cNvPr;V.btV(n.name),V.Id=n.id,V.Visible=!n.hidden,V.ku=n.hlinkClick,V.UKn(n.__ID__),n=t.cNvGrpSpPr,V.FromAG_Locking(n&&n.grpSpLocks)},p.prototype.FromSJSCT_GroupShapeNonVisual=function(t){var t;t&&(this.FromSJSCT_NonVisualDrawingProps(t.cNvPr),t=t.cNvGrpSpPr,this.FromSJSAG_Locking(t&&t.grpSpLocks))},p.prototype.FromCT_GroupTransform2D=function(t){var V;t&&((V=this).FromCT_Transform2D_Flip(t),V.Rotation=t.rot/c,V.XtV&&(V.FromCT_Point2D(t.off,t.ext),V.FromCT_PositiveSize2D(t.ext)),V.baseOffset={chOffX:t.chOff.x,chOffY:t.chOff.y,offX:V.left,offY:V.top,extX:V.width,extY:V.height,chExtX:t.chExt.cx,chExtY:t.chExt.cy})},p.prototype.FromSJSCT_GroupTransform2D=function(t){var V;t&&((V=this).FromCT_Transform2D_Flip(t),V.Rotation=(0,a.getAttributeValueOrDefaultOfIntType)(t.rot,0)/c,V.XtV&&(V.FromSJSCT_Point2D(t.off,t.ext),V.FromSJSCT_PositiveSize2D(t.ext)),V.baseOffset={chOffX:(0,a.getAttributeValueOrDefaultOfIntType)(t.chOff.x,0),chOffY:(0,a.getAttributeValueOrDefaultOfIntType)(t.chOff.y,0),offX:V.left,offY:V.top,extX:V.width,extY:V.height,chExtX:(0,a.getAttributeValueOrDefaultOfIntType)(t.chExt.cx,0),chExtY:(0,a.getAttributeValueOrDefaultOfIntType)(t.chExt.cy,0)})},p.prototype.ToCT_GroupTransform2D=function(t){var V,n,V=this,n=this.RotationWithoutParent;return{flipH:!1,flipV:!1,rot:(0,i.getWholeNumber)(n*c),off:V.ToCT_Point2D(),ext:V.ToCT_PositiveSize2D(),chOff:V.ToCT_GroupChOff(),chExt:V.ToCT_GroupChExt()}},p.prototype.ToCT_GroupChOff=function(){return this.ToCT_Point2D()},p.prototype.ToCT_GroupChExt=function(){var t=this.ToCT_PositiveSize2D();return 0===t.cx&&(t.cx=a.RELATIVE_DEFAULT_SIZE),0===t.cy&&(t.cy=a.RELATIVE_DEFAULT_SIZE),t},p.prototype.ToSJSCT_GroupTransform2D=function(){var t,V,n,t=this,V={},n=t.XtV?t.Rotation-t.XtV.Rotation:t.Rotation;return V.rot=(0,a.j)((0,i.getWholeNumber)(n*c)),V.off=t.ToSJSCT_Point2D(),V.ext=t.ToSJSCT_PositiveSize2D(),V.chOff={x:V.off.x,y:V.off.y},V.chExt={cx:V.ext.cx,cy:V.ext.cy},0===V.chExt.cx&&(V.chExt.cx=(0,a.pixelToEMU)(a.RELATIVE_DEFAULT_SIZE)),0===V.chExt.cy&&(V.chExt.cy=(0,a.pixelToEMU)(a.RELATIVE_DEFAULT_SIZE)),V},p.prototype.FromCT_ShapeBase=function(t){var V,n;t&&(n=(V=this).IVV=t,V.FromCT_GroupShapeNonVisual(n.nvGrpSpPr),V.FromCT_GroupShapeProperties(n.grpSpPr),V.FromChildShapes(n.sp),t.grpSpPr)&&t.grpSpPr.xfrm&&(t.grpSpPr.xfrm.flipH=!1,t.grpSpPr.xfrm.flipV=!1)},p.prototype.FromSJSCT_ShapeBase=function(t){var V,n,i;t&&(n=t.c_[d.NvGrpSpPrNodeIndex].nvGrpSpPr,i=t.c_[d.GrpSpPrNodeIndex].grpSpPr,(V=this).FromSJSCT_GroupShapeNonVisual(n),V.FromSJSCT_GroupShapeProperties(i),V.FromSJSChildShapes(t),i)&&i.xfrm&&(i.xfrm.flipH=a.SJS_False,i.xfrm.flipV=a.SJS_False)},p.prototype.ToCT_ShapeBase=function(t,V){var n,i,n=this;return(i=(t=!1!==t)&&n.IVV||{shapeType:3}).nvGrpSpPr=n.ToCT_GroupShapeNonVisual(t,V),i.grpSpPr=n.ToCT_GroupShapeProperties(t),i.sp=n.ToChildShapes(n.GroupItems,t,V),i},p.prototype.ToSJSCT_ShapeBase=function(t){var V,n,V=this,n={n_:d.GrpSpNodeName,c_:[]};return n.c_.push({nvGrpSpPr:V.ToSJSCT_GroupShapeNonVisual()}),n.c_.push({grpSpPr:V.ToSJSCT_GroupShapeProperties()}),V.ToSJSChildShapes(V.GroupItems,n,t),n},p.prototype.FromGroupThreeDFormat=function(t){var V,n,V={},n=this.Cin;t.scene3d?V.Scene3D=t.scene3d:t.extLst&&t.extLst.ext&&0!==t.extLst.ext.length&&(t.extLst.ext.forEach(function(t){0===t.hiddenExtensionType&&(V.Scene3D=t.Scene3d)}),V.Scene3D)&&(n._InternalVisible=!1,n.Dirty(i.ThreeDFormatStates.Visible)),n.FromOOModel(V)},p.prototype.FromSJSGroupThreeDFormat=function(t){},p.prototype.FromLosslessChildShapes=function(t){var n=this;t.forEach(function(t){var V=null;0===t.shapeType&&((V=new a.LosslessShapeData(n.eJ)).mVV(n),V.FromCT_ShapeBase(t),n.LosslessGroupItems.Add(V,n))})},d.GroupShapeData=p},"./dist/plugins/shape/groupShapesView.js":function(t,V,n){var i,c,e,f,o,r,l,g,A,p,w,v,j,d,a,b,s,h,u;function L(t){return(0,r.getAllShape)(t).some(function(t){return!t.vdV()})}function m(t){return t.n_===o.GrpSpNodeName?t:t.sp||t.cxnSp||t.pic||t.graphicFrame}function x(t){return t[this.property]}function y(t){t.width=t.right-t.left,t.height=t.bottom-t.top}function C(t){var t={left:d.apply(null,t.map(x.bind({property:"left"}))),top:d.apply(null,t.map(x.bind({property:"top"}))),right:a.apply(null,t.map(x.bind({property:"right"}))),bottom:a.apply(null,t.map(x.bind({property:"bottom"})))};return y(t),t}function R(t,i){i&&i.childrenData&&(t.childrenData=i.childrenData,t.GroupItems.Items.forEach(function(t,V){var n=i.childrenData;2===t.ttV&&R(t,n&&n[V])}))}function I(t,V){var n,i,e,r,c,s,V,n=u.call(this)||this;return n.ttV=3,n._iV=!1,c=r=e=i=-1,s=n,V=V&&t.eeV(V)||t.eeV("GroupShape ",!0),s.Mf=t,s.ytV=new o.GroupShapeData(t,V,-1,-1,-1,-1),s.tin=[],n}i=this&&this.__extends||(h=function(t,V){return(h=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}h(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.GroupShape=V.isContainsDisableRotateShape=void 0,c=n("Core"),e=n("./dist/plugins/shape/drawingInterface.js"),f=n("./dist/plugins/shape/ui/compoundShape.js"),o=n("./dist/plugins/shape/groupShapes.js"),r=n("./dist/plugins/shape/formControl/controls/util.js"),l=n("./dist/plugins/shape/shapeView.js"),g=n("./dist/plugins/shape/util/viewUtil.js"),A=n("./dist/plugins/shape/connectorView.js"),p=n("./dist/plugins/shape/cameraShapeView.js"),w=n("./dist/plugins/shape/formControlView.js"),v=n("./dist/plugins/shape/pictureShapeView.js"),j=e.ShapeUtility.syncShapeOptions,d=Math.min,a=Math.max,b=void 0,V.isContainsDisableRotateShape=L,u=l.ShapeBase,i(I,u),I.prototype.QiV=function(t){var V=this;return"rotate"===t?(0,g.getFormula)(V,"angle")||V.yXn:""},I.prototype.ziV=function(t,V){var n;"rotate"===t&&this.rotate(V)},I.prototype.rotate=function(t){var V=this;if((0,g.noArguments)(arguments))return V.ytV.Rotation;V._iV||(0,g.rotateImp)(V,t)},I.prototype.allowRotate=function(t){var V,n,V=this;if((0,g.noArguments)(arguments))return!V._iV&&V.fiV;V._iV||(n=V.allowRotate(),V.DT("allowRotate",t),V.fiV=t,V.usV("allowRotate",t,n),V.enV("allowRotate",n),V.refresh())},I.prototype.add=function(t,V){var n,V,V,V,i,e,r,n,n,n,V,c,i,n,s,o,e=this,r=e.Mf.parent;null!=(n=null==r?void 0:r.collaboration)&&n.startBatchOp(),n=e.Mf.shapes,!V&&n.get(t.name())&&(t.isSelected(!1),n.VP(t,!0)),null!=(V=null==r?void 0:r.suspendOp)&&V.call(r),e.tin.push(t),e.ytV.GroupItems.Add(t.ytV,e.ytV),n=t.ctV,e.ctV&&e.ctV.addShape(n),null!=(V=e.mnV)&&V.IsV(t),e.LnV||(V=(n=(0,g.getShapeBound)(t)).left,c=n.top,i=n.width,n=n.height,e.$iV=!0,-1===e.x()?(e.x(V),e.y(c),e.width(i),e.height(n)):(s=e.x(),o=e.y(),e.x(d(V,s)),e.y(d(c,o)),e.width(a(V+i,s+e.width())-e.x()),e.height(a(c+n,o+e.height())-e.y())),delete e.$iV,e.updateRelativeLocationSize()),e._iV=L(e.all()),null!=(V=null==r?void 0:r.resumeOp)&&V.call(r),e.Mf.$Dr({type:"addChildShape",groupShape:this,shape:t,index:e.tin.length-1}),null!=(i=null==r?void 0:r.collaboration)&&i.endBatchOp(),e.DT("groupAddShape",{groupShape:e,shape:t}),e.refresh()},I.prototype.zIndex=function(t,V){var n,i,e,r,i,n=this,i=n.tin,e=i.length,r=n.Hq(t,!0),i=i.indexOf(r);if(1===arguments.length)return i;r&&(V=d(e-1,V),V=a(0,V),n.tin.splice(i,1),n.tin.splice(V,0,r),n.ctV.zIndex(i,V,r.ctV),n.ytV.GroupItems.zIndex(i,V,r.ytV),n.Mf.$Dr({type:"reorderChildShape",groupShape:n,shape:r,sourceIndex:i,targetIndex:V}),n.DT("groupZIndex",{groupShape:n,shapeName:t,zIndex:i,newIndex:V}),n.Mf.ki(c.Events.DrawingElementZIndexChanged,{isGroup:!0,shapeName:t,oldZIndex:i,newZindex:V}),n.refresh())},I.prototype.all=function(){return this.tin.concat()},I.prototype.remove=function(t){var V,V,V,V,n,i,n,e,r,c,i=this,n=i.tin,e=n.indexOf(t);e<0||(null!=(V=null==(r=i.Mf.parent)?void 0:r.collaboration)&&V.startBatchOp(),null!=(V=null==r?void 0:r.suspendOp)&&V.call(r),n.splice(e,1),i.ytV.GroupItems.Remove(t.ytV),i.ctV&&i.ctV.removeShape(t.ctV),null!=(V=i.mnV)&&V.MsV(t),delete t.sft,delete t.relativeHeight,delete t.relativeWidth,delete t.relativeX,delete t.relativeY,i.LnV||(i.$iV=!0,0===(c=n.length)?(i.x(-1),i.y(-1),i.width(-1),i.height(-1)):i.ccV(),delete i.$iV,i.updateRelativeLocationSize()),null!=(V=null==r?void 0:r.resumeOp)&&V.call(r),i.Mf.$Dr({type:"removeChildShape",groupShape:i,shape:t,index:e}),null!=(n=null==r?void 0:r.collaboration)&&n.endBatchOp(),i.DT("groupRemoveShape",{groupShape:i,shape:t}),i._iV=L(i.all()),i.refresh())},I.prototype.find=function(t,V){return this.Hq(t,!1)},I.prototype.Hq=function(t,V){for(var n,i,e,r,r,n=this.tin,i=0,e=n.length;i<e;i++){if((r=n[i]).name()===t)return n[i];if(3===r.ttV&&!V&&(r=r.find(t,V)))return r}return null},I.prototype.rsV=function(t){var V;t&&t.angle&&this.rotate(t.angle)},I.prototype.tnV=function(e,t){var r,c,s,V,o,d,a,n,i,i,V,V,h,u,x,V,y,r=this,c=r.Mf;r.VnV=!0,s=c.shapeLayers[0],V=r.ytV,o=V.childrenData||[],d=V.RVV||[],e||(e=r.tin,V.GroupItems.Items.forEach(function(t,V){var n,i,i,n,i,n=t.Zc,i=t.ttV;(a=0===i?new l.Shape(c,n):1===i?new A.ConnectorShape(c,n):2===i?new I(c,n):3===i?new p.CameraShape(c,n):4===i?new w.FormControlShape(c,n):5===i?new v.PictureShape(c,n):(l.ShapeBase.et(r,"createChildShape",i={shapeData:t,sheet:c}),i.shape))&&(t.Name=a.name(),a.ytV=t,(n=o[V])&&(a.preProcessShapeDataFromJson(n),a.postProcessShapeDataFromJson(n)),(i=d[V])&&a.FiV(m(i),b,!0),a.tnV(b,!0),s.temporaryMarkIdUsed(a.ctV),e.push(a))})),r.tin=e,n=[],e.forEach(function(t){n.push(t.ctV)}),j(i={},V,s),(i=new f.CompoundShape(n,i)).angle=V.Rotation,i.getShapeCenter(),i.hyperlink=V.ku,i.JVV=r,h=(V=0<(V=e.map(function(t){return(0,g.getShapeBound)(t)})).length?C(V):{left:r.x(),top:r.y(),width:r.width(),height:r.height()}).left,u=V.top,x=V.width,V=V.height,y=!e,r.bnV(h,u,y),r.$l(x,V,y),r.updateRelativeLocationSize(),r.ctV=i,s.temporaryMarkIdUsed(i),delete r.VnV,r._iV=L(r.all())},I.prototype.jnV=function(){var t=this;t.ctV.shapes.forEach(function(t){t.parent=null}),t.ctV=null},I.prototype.rcV=function(){var t=this;t.layoutChildren(),t.anV(),t.refresh()},I.prototype.x=function(t){var V,n,V=this,n=u.prototype.x.apply(V,arguments);return(0,g.noArguments)(arguments)||V.$iV||V.rcV(),n},I.prototype.hiV=function(){},I.prototype.y=function(t){var V,n,V=this,n=u.prototype.y.apply(V,arguments);return(0,g.noArguments)(arguments)||V.$iV||V.rcV(),n},I.prototype.width=function(t){var V,n,V=this,n=u.prototype.width.apply(V,arguments);return(0,g.noArguments)(arguments)||V.$iV||V.rcV(),n},I.prototype.height=function(t){var V,n,V=this,n=u.prototype.height.apply(V,arguments);return(0,g.noArguments)(arguments)||V.$iV||V.rcV(),n},I.prototype.startRow=function(t){var V,n,V=this,n=u.prototype.startRow.apply(V,arguments);return(0,g.noArguments)(arguments)||V.$iV||V.rcV(),n},I.prototype.startRowOffset=function(t){var V,n,V=this,n=u.prototype.startRowOffset.apply(V,arguments);return(0,g.noArguments)(arguments)||V.$iV||V.rcV(),n},I.prototype.endRow=function(t){var V,n,V=this,n=u.prototype.endRow.apply(V,arguments);return(0,g.noArguments)(arguments)||V.$iV||V.rcV(),n},I.prototype.endRowOffset=function(t){var V,n,V=this,n=u.prototype.endRowOffset.apply(V,arguments);return(0,g.noArguments)(arguments)||V.$iV||V.rcV(),n},I.prototype.startColumn=function(t){var V,n,V=this,n=u.prototype.startColumn.apply(V,arguments);return(0,g.noArguments)(arguments)||V.$iV||V.rcV(),n},I.prototype.startColumnOffset=function(t){var V,n,V=this,n=u.prototype.startColumnOffset.apply(V,arguments);return(0,g.noArguments)(arguments)||V.$iV||V.rcV(),n},I.prototype.endColumn=function(t){var V,n,V=this,n=u.prototype.endColumn.apply(V,arguments);return(0,g.noArguments)(arguments)||V.$iV||V.rcV(),n},I.prototype.endColumnOffset=function(t){var V,n,V=this,n=u.prototype.endColumnOffset.apply(V,arguments);return(0,g.noArguments)(arguments)||V.$iV||V.rcV(),n},I.prototype.updateGroup=function(){var t=this,V,n;t.tin.length<0||t.dcV()},I.prototype.ccV=function(){var t=this,V=t.tin,V;t.tin&&t.tin.length<=0||(y(V=C(V.map(function(t){return(0,g.getShapeBound)(t)}))),t.x(V.left),t.y(V.top),t.width(V.width),t.height(V.height))},I.prototype.dcV=function(){var t=this;t.$iV=!0,t.ccV(),delete t.$iV,t.updateRelativeLocationSize(),t.ctV.update()},I.prototype.afterResize=function(){var t;this.layoutChildren()},I.prototype.updateRelativeLocationSize=function(){var V,n,i,e,r,c,V=this,n=V.y(),i=V.x(),e=V.width(),r=V.height(),c=V.Mf.zoom();V.tin.forEach(function(t){t.sft=V,4===t.ttV?t.inV=t.ncV().map(function(t){return{relativeX:(t.x/c-i)/(e||1),relativeY:(t.y/c-n)/(r||1)}}):(e&&(t.relativeX=(t.x()-i)/e,t.relativeWidth=t.width()/e),r&&(t.relativeY=(t.y()-n)/r,t.relativeHeight=t.height()/r),3===t.ttV&&t.updateRelativeLocationSize())})},I.prototype.layoutChildren=function(){var t,i,e,r,c,V,t=this,i=t.y(),e=t.x(),r=t.width(),c=t.height(),V=t.mnV;V&&V.V2(),t.tin.forEach(function(t){var V,n,V=!0;4===t.ttV?(n=t.inV.map(function(t){return{x:e+t.relativeX*r,y:i+t.relativeY*c}}),t.nnV(n)):(t.$l(t.relativeWidth*r,t.relativeHeight*c,!0,void 0,void 0,void 0,!0),t.bnV(e+t.relativeX*r,i+t.relativeY*c,!0),3===t.ttV&&t.layoutChildren())}),V&&V.Y2()},I.prototype.gnV=function(){var t=this;u.prototype.gnV.call(this),t.tin&&0<t.tin.length&&t.tin.forEach(function(t){t.gnV()}),t.layoutChildren()},I.prototype.lnV=function(){this.layoutChildren()},I.prototype.KiV=function(){for(var t,V,n,i,e,e,r,t,V=this.tin,n=0,i=V.length;n<i;n++)4===(e=V[n]).ttV&&(r=(e=e).KVV(),e.nnV(r))},I.prototype.WiV=function(t){return new I(t)},I.prototype.t0V=function(t,V){switch(t){case"groupAddShape":V.groupShape.remove(V.shape);break;case"groupRemoveShape":V.groupShape.add(V.shape,!0);break;case"groupZIndex":V.groupShape.zIndex(V.shapeName,V.zIndex)}},I.prototype.leV=function(){this.updateRelativeLocationSize()},I.prototype.OiV=function(t){return t.c_[o.NvGrpSpPrNodeIndex].nvGrpSpPr.cNvPr},I.prototype.DiV=function(t){return t.grpSp},I.prototype.preProcessShapeDataToJson=function(t,n){u.prototype.preProcessShapeDataToJson.call(this,t,n);var i=t.childrenData=[];this.tin.forEach(function(t){var V={};t.preProcessShapeDataToJson(V,n),i.push(V)})},I.prototype.SiV=function(V,n,i){u.prototype.SiV.call(this,V,n,i),this.tin.forEach(function(t){t.SiV(V,n,i)})},I.prototype.postProcessShapeDataToJson=function(t,n,V,i){var e,e,r,c,s,e=this;u.prototype.postProcessShapeDataToJson.apply(e,arguments),e=e.tin,r=t.shapeData&&t.shapeData.grpSp&&t.shapeData.grpSp.sp||t.sp,c=(V||t).childrenData,e.forEach(function(t,V){var V;s=c[V],r&&r[V]&&(V=r[V],3===t.ttV?t.postProcessShapeDataToJson(V,n,s,i):t.postProcessShapeDataToJson(V,!0,b,i),t.processShapePropsToJson(s))})},I.prototype.XiV=function(t,n,i,e,V,r){u.prototype.XiV.call(this,t,n,i,e,V);var c=t.grpSp.c_;this.tin.forEach(function(t,V){var V,V=(V=c[V+o.GrpSpChildNodeIndexOffset]).n_===o.GrpSpNodeName?{grpSp:V}:V;t.XiV(V,n,i,e,!0,r)})},I.prototype.adjustShapeDataFromJson=function(t){var V,n;R(this.ytV,t)},I.prototype.formulaFromJSON=function(V,n){u.prototype.formulaFromJSON.call(this,V),this.tin.forEach(function(t){t.formulaFromJSON(V,n)})},I.prototype.afterRefSheetLazyLoaded=function(){this.tin.forEach(function(t){t.afterRefSheetLazyLoaded()})},V.GroupShape=I},"./dist/plugins/shape/pictureShape.js":function(t,V,n){var i,s,e,r,c,o,d,a,h,u,x,y,f;function l(t){return"number"==typeof t&&!isNaN(t)}function g(t,V,n){return Math.min(Math.max(t,V),n)}function A(t){this.ytV=t,this.aft=0,this.oft=0,this.T1t=0,this._VV=!1}function p(t){this.ytV=t,this.EVV=new h(t),this.D1t={left:0,right:0,top:0,bottom:0}}function w(t,V,n,i,e,r,c){var t,V,t=f.call(this,t,V,i,e,r,c)||this;return t.ttV=5,(V=t).FVV=new u(V),V.AutoShapeType=s.AutoShapeType.rectangle,V.InitShapeFormat(),t}i=this&&this.__extends||(y=function(t,V){return(y=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}y(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.PictureShapeData=void 0,s=n("./dist/plugins/shape/drawingInterface.js"),e=n("./dist/plugins/shape/shape.js"),r=s.ShapeConstants.PositionConver,c=s.ShapeConstants.DefaultTransparent,o=s.ShapeConstants.PositiveFixedPercentageConvert,d=void 0,a=Math.round,Object.defineProperty(A.prototype,"src",{get:function(){return this._ln},set:function(t){this._ln=t},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"base64Image",{get:function(){return this.SVV},set:function(t){this.SVV=t},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"transparency",{get:function(){return this.aft},set:function(t){l(t)&&(this.aft=g(t,0,1))},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"brightness",{get:function(){return this.oft},set:function(t){l(t)&&(this.oft=g(t,-1,1))},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"contrast",{get:function(){return this.T1t},set:function(t){l(t)&&(this.T1t=g(t,-1,1))},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"grayscale",{get:function(){return this._VV},set:function(t){this._VV=!!t},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"biLevel",{get:function(){return this.XVV},set:function(t){l(t)&&(this.XVV=g(t,0,1))},enumerable:!1,configurable:!0}),A.prototype.clearBiLevel=function(){this.XVV=d},Object.defineProperty(A.prototype,"duotone",{get:function(){return this.YVV},enumerable:!1,configurable:!0}),A.prototype.createDuotoneIfNotExist=function(){var t=this;t.YVV||(t.YVV={color1:new s.ColorFormat(this.ytV),color2:new s.ColorFormat(this.ytV)})},A.prototype.clearDuotone=function(){this.YVV=d},A.prototype.FromOOModel=function(t){var V;t&&((V=this).psV(t.blipBlob),V.wsV(t))},A.prototype.psV=function(t){var V=this;t&&(V.SVV=t.blob,V._ln=t.src||V.SVV)},A.prototype.wsV=function(t){var V,n,i,n,V=this,n=t.alphaModFix,i=t.lum;n&&(V.aft=1-n.amt/o),t.biLevel&&(V.XVV=t.biLevel.thresh/o),(n=t.duotone)&&2<=n.length&&(V.createDuotoneIfNotExist(),V.duotone.color1.FromOOModel(n[0]),V.duotone.color2.FromOOModel(n[1])),t.grayscl&&(V._VV=!0),i&&(V.oft=i.bright/o,V.T1t=i.contrast/o)},A.prototype.FromSJSOOModel=function(t){var V,n,n,n,n,n,n,n,n,t,n;t&&(V=this,(n=t.blipBlob)&&(V.SVV=n.blob,V._ln=V.SVV),(n=t.lossless)&&n.src&&(V._ln=n.src),(n=t.alphaModFix)&&(n=(0,e.getAttributeValueOrDefaultOfIntType)(n.amt,o),V.aft=1-n/o),(n=t.biLevel)&&(n=(0,e.getAttributeValueOrDefaultOfIntType)(n.thresh,0),V.XVV=n/o),(n=t.duotone&&t.duotone.c_)&&2<=n.length&&(V.createDuotoneIfNotExist(),V.duotone.color1.FromSJSOOModel(n[0]),V.duotone.color2.FromSJSOOModel(n[1])),t.grayscl&&(V._VV=!0),n=t.lum)&&(t=(0,e.getAttributeValueOrDefaultOfIntType)(n.bright,0),n=(0,e.getAttributeValueOrDefaultOfIntType)(n.contrast,0),V.oft=t/o,V.T1t=n/o)},A.prototype.ToOOModel=function(){var t,V,t=this,V={blipBlob:t.vsV()};return t.jsV(V),V},A.prototype.vsV=function(){var t,V,n,t,t=this,V={},n=t.SVV,t=t._ln;return t!==(V.blob=n)&&(V.src=t),V},A.prototype.jsV=function(t){var V,n,V=this;return t=t||{},(n=V.aft)!==c&&(t.alphaModFix={amt:a((1-n)*o)}),V.biLevel!==d&&(t.biLevel={thresh:a(V.biLevel*o)}),V.duotone!==d&&(t.duotone=[V.duotone.color1.ToOOModel(),V.duotone.color2.ToOOModel()]),V.grayscale&&(t.grayscl=!0),0===V.oft&&0===V.T1t||(t.lum={bright:a(V.oft*o),contrast:a(V.T1t*o)}),t},A.prototype.ToSJSOOModel=function(){var t,V,n,n,n,n,t=this,V={r_:[8]},n=t.SVV;return V.blipBlob={blob:n},t._ln!==n&&(V.lossless={src:t._ln}),(n=t.aft)!==c&&(V.alphaModFix={amt:a((1-n)*o)}),(n=t.biLevel)!==d&&(V.biLevel={thresh:a(n*o)}),(n=t.duotone)!==d&&(V.duotone={n_:"duotone",c_:[(0,e.toSJSColorNode)(n.color1),(0,e.toSJSColorNode)(n.color2)]}),t.grayscale&&(V.grayscl={}),0===t.oft&&0===t.T1t||(V.lum={bright:a(t.oft*o),contrast:a(t.T1t*o)}),V},h=A,Object.defineProperty(p.prototype,"blip",{get:function(){return this.EVV},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"crop",{get:function(){return this.D1t},set:function(t){var V=this;V.D1t={left:0,right:0,top:0,bottom:0},l(t&&t.left)&&(V.D1t.left=t.left),l(t&&t.right)&&(V.D1t.right=t.right),l(t&&t.top)&&(V.D1t.top=t.top),l(t&&t.bottom)&&(V.D1t.bottom=t.bottom)},enumerable:!1,configurable:!0}),p.prototype.FromOOModel=function(t){var V=this;V.EVV.FromOOModel(t&&t.blip),V.FromSrcRect(t&&t.srcRect)},p.prototype.FromSJSOOModel=function(t){var V=this;V.EVV.FromSJSOOModel(t&&t.blip),V.FromSJSSrcRect(t&&t.srcRect)},p.prototype.ToOOModel=function(t){var V,n,i,V=this,n,i;return{blip:V.EVV.ToOOModel(),srcRect:V.ToSrcRect(),stretch:{fillRect:{}}}},p.prototype.ToSJSOOModel=function(){var t,V,n,t=this,V,n;return{blip:t.EVV.ToSJSOOModel(),srcRect:t.ToSJSSrcRect(),stretch:{}}},p.prototype.FromSrcRect=function(t){var V=this.D1t;V.left=(t=t||{l:0,r:0,t:0,b:0}).l/r,V.right=t.r/r,V.top=t.t/r,V.bottom=t.b/r},p.prototype.FromSJSSrcRect=function(t){var V=this.D1t;V.left=(0,e.getAttributeValueOrDefaultOfIntType)((t=t||{l:0,r:0,t:0,b:0}).l,0)/r,V.right=(0,e.getAttributeValueOrDefaultOfIntType)(t.r,0)/r,V.top=(0,e.getAttributeValueOrDefaultOfIntType)(t.t,0)/r,V.bottom=(0,e.getAttributeValueOrDefaultOfIntType)(t.b,0)/r},p.prototype.ToSrcRect=function(){var t=this.D1t;return{l:a(t.left*r),r:a(t.right*r),t:a(t.top*r),b:a(t.bottom*r)}},p.prototype.ToSJSSrcRect=function(){return this.ToSrcRect()},u=p,f=e.ShapeBaseData,i(w,f),Object.defineProperty(w.prototype,"blipFill",{get:function(){return this.FVV},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"blip",{get:function(){return this.FVV.EVV},enumerable:!1,configurable:!0}),w.prototype.InitShapeFormat=function(){var t=this;t.InitFillFormat(),t.InitLineFormat()},w.prototype.InitFillFormat=function(){var t;this.Fill.Color.ColorType=0},w.prototype.InitLineFormat=function(){var t;this.Line.Color.ColorType=0},w.prototype.FromOOModel=function(t){var V=this;f.prototype.FromOOModel.call(this,t),V.FromCT_ShapeBase(t.pic),!1===t.isVisible&&(V._hidden=!0)},w.prototype.FromSJSOOModel=function(t,V){var n=this;f.prototype.FromSJSOOModel.call(this,t,V),n.FromSJSCT_ShapeBase(t)},w.prototype.ToOOModel=function(t,V){var n,i,n=this,i=f.prototype.ToOOModel.call(this,t);return i.pic=n.ToCT_ShapeBase(t,V),i},w.prototype.ToSJSOOModel=function(t,V){f.prototype.ToSJSOOModel.call(this,t,V),t.pic=this.ToSJSCT_ShapeBase()},w.prototype.FromCT_ShapeBase=function(t){var V;t&&((V=this).otV=t,V.FromCT_PicNonVisual(t.nvPicPr),V.FromCT_ShapeProperties(t.spPr),V.FVV.FromOOModel(t.blipFill))},w.prototype.FromSJSCT_ShapeBase=function(t){var V;t&&((V=this).FromSJSCT_PicNonVisual(t.nvPicPr),V.stV(t.spPr),V.FVV.FromSJSOOModel(t.blipFill))},w.prototype.ToCT_ShapeBase=function(t,V){var n,i,n=this;return(i=(t=!1!==t)&&n.otV||{shapeType:1}).nvPicPr=n.ToCT_PicNonVisual(t,V),i.spPr=n.ToCT_ShapeProperties(s.ShapeUtility.ToST_ShapeType(n.AutoShapeType),i.spPr||{},!0,t),i.blipFill=n.FVV.ToOOModel(t),i},w.prototype.ToSJSCT_ShapeBase=function(){var t,V,t=this,V={};return V.nvPicPr=t.ToSJSCT_PicNonVisual(),V.blipFill=t.FVV.ToSJSOOModel(),V.spPr=t.ToSJSCT_ShapeProperties(s.ShapeUtility.ToST_ShapeType(t.AutoShapeType),!0),V},w.prototype.FromCT_PicNonVisual=function(t){t&&(this.FromCT_NonVisualDrawingProps(t.cNvPr),this.FromCT_NonVisualDrawingPicProps(t.cNvPicPr))},w.prototype.FromSJSCT_PicNonVisual=function(t){t&&(this.FromSJSCT_NonVisualDrawingProps(t.cNvPr),this.FromSJSCT_NonVisualDrawingPicProps(t.cNvPicPr))},w.prototype.ToCT_PicNonVisual=function(t,V){var n,i,t,i,n=this,i=n.otV,t=!1!==t&&i&&i.nvPicPr||{},i=t.cNvPr||{};return t.cNvPr=n.ToCT_NonVisualDrawingProps(i,V),t.cNvPicPr=n.ToCT_NonVisualDrawingPicProps(t.cNvPicPr||{}),t},w.prototype.ToSJSCT_PicNonVisual=function(){var t,V,t=this,V={};return V.cNvPr=t.ToSJSCT_NonVisualDrawingProps(),V.cNvPicPr=t.ToSJSCT_NonVisualDrawingPicProps(),V},w.prototype.FromCT_NonVisualDrawingPicProps=function(t){this.FromAG_Locking(t&&t.picLocks)},w.prototype.FromSJSCT_NonVisualDrawingPicProps=function(t){this.FromSJSAG_Locking(t&&t.picLocks)},w.prototype.ToCT_NonVisualDrawingPicProps=function(t){return t.picLocks=this.ToAG_Locking(t.picLocks||{}),t},w.prototype.ToSJSCT_NonVisualDrawingPicProps=function(){return{picLocks:this.ToSJSAG_Locking({})}},V.PictureShapeData=w},"./dist/plugins/shape/pictureShapeView.js":function(t,V,n){var i,e,r,c,d,a,s,o,u,h,n,x,y,f,l,g,A,p,w,v,j,b,L,m;function C(t,V,n,i,e,r,c){var s,o,V,s=m.call(this)||this;return s.ttV=1,(o=s).Mf=t,V=V&&t.eeV(V)||t.eeV("Picture ",!0),o.ytV=new a.PictureShapeData(t,V,A,i||0,e||0,r||200,c||160),o.IiV=x(r)&&x(c),o.yiV=d.ResizeMode.aspect,o.ytV.noChangeAspect=!0,o.RiV=!0,n!==A&&o.tnV(),delete o.RiV,o.MiV(n),s}i=this&&this.__extends||(L=function(t,V){return(L=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}L(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.PictureShape=void 0,e=n("Common"),r=n("Core"),c=n("./dist/plugins/shape/drawingInterface.js"),d=n("./dist/plugins/shape/shape.interface.js"),a=n("./dist/plugins/shape/pictureShape.js"),s=n("./dist/plugins/shape/ui/util.js"),o=n("./dist/plugins/shape/shapeView.js"),u=n("./dist/plugins/shape/util/viewUtil.js"),h=n("./dist/plugins/shape/shapeStyleView.js"),n=e.Common.lt,x=n.ht,y=r.WAe.loadBase64ImageByUrl,f=c.ShapeUtility.getColorInfo,l=c.ShapeUtility.syncShapeOptions,g=c.ShapeUtility.syncShapeAdjustValues,A=void 0,p="src",w="rotate",v="angle",j="style",m=o.ShapeBase,i(C,m),C.prototype.rotate=function(t){var V=this;if((0,u.noArguments)(arguments))return V.ytV.Rotation;(0,u.rotateImp)(V,t)},C.prototype.style=function(t){var V,n,i,i,V=this;if((0,u.noArguments)(arguments))return V.getStyle(!0,!1);n=V.style(),V.DT("style",t,n),(i=t.fill)&&((0,u.adjustTransparentColor)(i),V.VeV(i)),(i=t.line)&&((0,u.adjustTransparentColor)(i),V.j0V(i)),V.enV("style",n),V.refresh()},C.prototype.getStyle=function(t,V){var n,i,n=this,i=new h.ShapeStyle;return i.fill=n.n0V(t,V),i.line=n.ydV(t,V),delete i.textEffect,delete i.textFrame,i},C.prototype.src=function(t){var V,n,V=this;if((0,u.noArguments)(arguments))return V.ytV.blip.src;n=V.src(),V.DT("src",t,n),(0,u.isFormula)(t)?t!==V.getFormula(p)&&(V.MiV(""),(0,u.setFormula)(V,p,t)):((0,u.removeFormula)(V,p),V.MiV(t)),V.enV("src",n)},C.prototype.getBase64Image=function(){var t,V,t=this,V=t.ytV.blip.base64Image;return V=!V&&t.ctV?t.ctV.getBase64Image():V},C.prototype.MiV=function(V){var n,t,i,i,n=this,t=n.ytV.blip,i=t.src;V!==i&&(i=n.AsV("pictureSource"),t.src=V,s.Common.isBase64ImageStr(V)?n.X0V(V):(0,s.isSparkLineValue)(V)?n.X0V(A):(0,u.isUrl)(V)?(n.X0V(A),y(V,function(t){n.crV(V,t)})):(t.src="",n.X0V(A)),n.usV("pictureSource",A,A,i),n.rrV(),n.refresh())},C.prototype.crV=function(t,V){var n=this;n.src()===t&&(n.X0V(V),n.rrV(),n.refresh())},C.prototype.X0V=function(t){var V=this;V.hvt=A,V.dvt=A,(V.ytV.blip.base64Image=t)&&s.Common.getBase64ImageSize(t,V.Y0V.bind(V))},C.prototype.pictureFormat=function(t){var V,n,i,e,r,c,s,o,d,a,h,t,c,V=this,n=V.ytV.blipFill,i=V.ytV.blip;if((0,u.noArguments)(arguments))return{transparency:i.transparency,crop:JSON.parse(JSON.stringify(n.crop)),brightness:i.brightness,contrast:i.contrast,grayscale:i.grayscale,blackAndWhite:i.biLevel,duotone:i.duotone&&{color1:f({Color:i.duotone.color1}).color,color2:f({Color:i.duotone.color2}).color}};e=V.pictureFormat(),V.DT("pictureFormat",t),r=V.AsV("pictureEffects"),c=t&&t.transparency,s=t&&t.crop,o=t&&t.brightness,d=t&&t.contrast,a=t&&t.grayscale,h=t&&t.blackAndWhite,t=t&&t.duotone,i.transparency=c||0,i.brightness=o||0,i.contrast=d||0,i.grayscale=!1,i.clearBiLevel(),i.clearDuotone(),a?i.grayscale=a:x(h)?x(t)||(i.createDuotoneIfNotExist(),i.duotone.color1.setColor(V.Mf,t.color1),i.duotone.color2.setColor(V.Mf,t.color2)):i.biLevel=h,V.usV("pictureEffects",A,A,r),c=V.AsV("pictureCrop"),n.crop=s,V.usV("pictureCrop",A,A,c),V.drV(),V.enV("pictureFormat",e),V.refresh()},C.prototype.getOriginalWidth=function(){return this.hvt},C.prototype.getOriginalHeight=function(){return this.dvt},C.prototype.Y0V=function(t,V){var n,i,n=this;n.Mf&&n.Mf.xT||(i={originWidth:n.hvt,height:n.dvt},n.hvt=t,n.dvt=V,n.IiV&&(n.width(n.hvt),n.height(n.dvt),n.IiV=!1),n.enV("originalSize",i))},C.prototype.geometryType=function(t){var V,n,i,e,V=this,n=V.ytV,i=n.AutoShapeType;if((0,u.noArguments)(arguments))return i;t!==i&&(V.DT("geometryType",t),e=V.AsV("presetGeometry"),n.AutoShapeType=t,V.usV("presetGeometry",A,A,e),V.enV("geometryType",i),t&&V.tnV(),V.GiV(),V.refresh())},C.prototype.adjustments=function(t){var V=this;if((0,u.noArguments)(arguments))return(0,u.getShapeAdjustments)(V);V.ndV((0,u.convertArrayValueToAdjustmentValue)(V.ytV,t))},C.prototype.VrV=function(t){this.MiV(t)},C.prototype.type=function(){return this.geometryType()},C.prototype.preProcessShapeDataFromJson=function(t){m.prototype.preProcessShapeDataFromJson.call(this,t),this.IiV=!1},C.prototype.EiV=function(t,V){m.prototype.EiV.call(this,t,V),this.IiV=!1},C.prototype.postProcessShapeDataToJson=function(t,V,n,i){m.prototype.postProcessShapeDataToJson.call(this,t,V,n,i),(0,u.processShapeEmptyBlipBlobWhenToJson)(this,V?t:t.shapeData.pic)},C.prototype.XiV=function(t,V,n,i,e){m.prototype.XiV.call(this,t,V,n,i,e),(0,u.processShapeEmptyBlipBlobWhenToJson)(this,t.pic)},C.prototype.postProcessShapeDataFromJson=function(t){var t,V;m.prototype.postProcessShapeDataFromJson.call(this,t),(V=(t=this).ytV.blip.base64Image)&&s.Common.getBase64ImageSize(V,t.Y0V.bind(t))},C.prototype.tnV=function(){var t,V,n,i,e,V,r,c,e,n,t=this,V=t.Mf,n=V.zoom();t.RiV=!0,t.VnV=!0,e=(i=t.ytV).ntV,V=V.shapeLayers[0],(r=t.aiV)||(c=(0,u.getBuiltInShapeModelWhenInit)(i,e,n)),e=(0,u.removeOldShapeUIWhenInitShapeUI)(t,V),l(c,i,V,r),n=V.createPictureShape(c),g(n,i),n.ttV=5,n.getShapeCenter(),n.hyperlink=i.ku,t.ZnV(n.id),i.ltV&&(t.flipX=!0),i.gtV&&(t.flipY=!0),(0,u.addNewShapeUIWhenInitShapeUI)(t,n,V,e),delete t.VnV,delete t.RiV,t.T0V()},C.prototype.QiV=function(t){var V=this;return t===p?(0,u.getFormula)(V,p):t===w?(0,u.getFormula)(V,v):t.substr(0,5)===j?(0,u.getStyleFormula)(V,t,!1):""},C.prototype.ziV=function(t,V){var n=this;t===p?n.src(V):t===w?n.rotate(V):t.substring(0,5)===j&&(0,u.setStyleFormula)(n,t,V,!1)},C.prototype.rsV=function(t){var V=this;t&&(t.angle&&V.rotate(t.angle),t.line&&V.j0V(t.line),t.fill&&V.VeV(t.fill),t.src)&&(0,s.setFormulaImp)(V,p,t.src)},C.prototype.T0V=function(){var t=this;t.rrV(),t.drV()},C.prototype.rrV=function(){var t,V,V,t=this;t.ctV&&(V=t.ytV.blip,V=(0,s.isSparkLineValue)(V.src)?V.src:V.base64Image,t.ctV.src(V))},C.prototype.drV=function(){var t=this;t.ctV&&t.ctV.pictureFormat(t.pictureFormat())},C.prototype.WiV=function(t){return new C(t)},C.prototype.OiV=function(t){return t.nvPicPr.cNvPr},C.prototype.DiV=function(t){return t.pic},C.prototype.urV=function(){m.prototype.urV.call(this);var t=this;(0,s.isImageSparkLineValue)(t.src())&&t.ctV&&t.ctV.yrV()},V.PictureShape=C},"./dist/plugins/shape/presetShapeModels.js":function(t,V){var V,n,i,e,r,c,s,o,d,a,h,u,x,y,f,l;Object.defineProperty(V,"__esModule",{value:!0}),V.TVV=void 0,V.TVV=l={none:{variables:{l:0,t:0,r:V="=width",b:n="=height"},connectionPoints:[{x:0,y:0},{x:V,y:n}],path:[[["M",0,0],["L",V,n],{}]]},line:{variables:{l:0,t:0,r:V,b:n},connectionPoints:[{x:0,y:0},{x:V,y:n}],path:[[["M",0,0],["L",V,n],{fillMode:"none"}]]},rectangle:{variables:{hc:y="=width/2",t:0,l:0,vc:f="=height/2",b:n,r:V},connectionPoints:[{x:e="=V.hc",y:0},{x:0,y:r="=V.vc"},{x:e,y:n},{x:V,y:r}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{}]]},parallelogram:{variables:{adj:25e3,ss:i="=MIN(width, height)",maxAdj:"=100000 * width / V.ss",a:"=MIN(MAX(0, V.adj), V.maxAdj)",x1:"=V.ss * V.a / 200000",x2:"=V.ss * V.a / 100000",r:V,x6:"=width - V.x1",x5:"=width - V.x2",x3:"=V.x5 / 2",x4:"=width - V.x3",wd2:y,il:"=V.wd2 * V.a / V.maxAdj",q1:"=5 * V.a / V.maxAdj",q2:"=(1 + V.q1) / 12",_il:"=V.q2 * width",it:"=V.q2 * height",ir:"=width - V._il",b:n,ib:"=height - V.it",hc:y,q3:"=height * V.hc / V.x2",y1:"=MIN(MAX(0, V.q3), height)",y2:"=height - V.y1",t:0,vc:f,l:0},adjustInfo:[["adj",25e3]],connectionPoints:[{x:e,y:d="=V.y2"},{x:"=V.x4",y:0},{x:"=V.x6",y:r},{x:"=V.x3",y:n},{x:e,y:o="=V.y1"},{x:c="=V.x1",y:r}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:"maxAdj",position:{x:"x2",y:"t"},point:[s="=V.x2",0]}],path:[[["M",0,n],["L",s,0],["L",V,0],["L","=V.x5",n],["Z"],{}]],textRect:{left:"=V._il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},trapezoid:{variables:{adj:25e3,ss:i,maxAdj:"=50000 * width / V.ss",a:"=MIN(MAX(0, V.adj), V.maxAdj)",x1:"=V.ss * V.a / 200000",x2:"=V.ss * V.a / 100000",r:V,x3:"=width - V.x2",x4:"=width - V.x1",wd3:"=width/3",il:"=V.wd3 * V.a / V.maxAdj",hd3:"=height/3",it:"=V.hd3 * V.a / V.maxAdj",ir:"=width - V.il",hc:y,t:0,vc:f,b:n,l:0},adjustInfo:[["adj",25e3]],connectionPoints:[{x:e,y:0},{x:c,y:r},{x:e,y:n},{x:"=V.x4",y:r}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:"maxAdj",position:{x:"x2",y:"t"},point:[s,0]}],path:[[["M",0,n],["L",s,0],["L","=V.x3",0],["L",V,n],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:n}},diamond:{variables:{ir:"=width * 3 / 4",ib:"=height * 3 / 4",hc:y,t:0,l:0,vc:f,b:n,r:V,wd4:"=width/4",hd4:"=height/4"},connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],path:[[["M",0,r],["L",e,0],["L",V,r],["L",e,n],["Z"],{}]],textRect:{left:"=V.wd4",top:"=V.hd4",right:"=V.ir",bottom:"=V.ib"}},roundedRectangle:{variables:{adj:16667,a:"=MIN(MAX(0, V.adj), 50000)",ss:i,x1:"=V.ss * V.a / 100000",r:V,x2:"=width - V.x1",b:n,y2:"=height - V.x1",il:"=V.x1 * 29289 / 100000",ir:"=width - V.il",ib:"=height - V.il",hc:y,t:0,l:0,vc:f,cd2:h=108e5,cd4:u=54e5,cx1:"=C(V.x1,V.l,A(V.x1,V.x1,V.cd2),true)",cy1:"=C(V.x1,V.x1,A(V.x1,V.x1,V.cd2))",_3cd4:x=162e5,cx2:"=C(V.x1,V.x2,A(V.x1,V.x1,V._3cd4),true)",cy2:"=C(V.x1,V.t,A(V.x1,V.x1,V._3cd4))",cx3:"=C(V.x1,V.r,A(V.x1,V.x1,0),true)",cy3:"=C(V.x1,V.y2,A(V.x1,V.x1,0))",cx4:"=C(V.x1,V.x1,A(V.x1,V.x1,V.cd4),true)",cy4:"=C(V.x1,V.b,A(V.x1,V.x1,V.cd4))"},adjustInfo:[["adj",16667]],connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[c,0]}],path:[[["M",0,c],["E","=V.cx1","=V.cy1",c,c,0,"=A(V.x1,V.x1,V.cd2)","=A(V.x1,V.x1,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",s,0],["E","=V.cx2","=V.cy2",c,c,0,"=A(V.x1,V.x1,V._3cd4)","=A(V.x1,V.x1,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",V,d],["E","=V.cx3","=V.cy3",c,c,0,"=A(V.x1,V.x1,0)","=A(V.x1,V.x1,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",c,n],["E","=V.cx4","=V.cy4",c,c,0,"=A(V.x1,V.x1,V.cd4)","=A(V.x1,V.x1,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.il",right:"=V.ir",bottom:"=V.ib"}},octagon:{variables:{adj:29289,a:"=MIN(MAX(0, V.adj), 50000)",ss:i,x1:"=V.ss * V.a / 100000",r:V,x2:"=width - V.x1",b:n,y2:"=height - V.x1",il:"=V.x1 / 2",ir:"=width - V.il",ib:"=height - V.il",l:0,t:0},adjustInfo:[["adj",29289]],connectionPoints:[{x:V,y:c},{x:V,y:d},{x:s,y:n},{x:c,y:n},{x:0,y:d},{x:0,y:c},{x:c,y:0},{x:s,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[c,0]}],path:[[["M",0,c],["L",c,0],["L",s,0],["L",V,c],["L",V,d],["L",s,n],["L",c,n],["L",0,d],["Z"],{}]],textRect:{left:"=V.il",top:"=V.il",right:"=V.ir",bottom:"=V.ib"}},isoscelesTriangle:{variables:{adj:5e4,a:"=MIN(MAX(0, V.adj), 100000)",x1:"=width * V.a / 200000",x2:"=width * V.a / 100000",wd2:y,x3:"=V.x1 + V.wd2",t:0,vc:f,l:0,b:n,r:V},adjustInfo:[["adj",5e4]],connectionPoints:[{x:s,y:0},{x:c,y:r},{x:0,y:n},{x:s,y:n},{x:V,y:n},{x:"=V.x3",y:r}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:1e5,position:{x:"x2",y:"t"},point:[s,0]}],path:[[["M",0,n],["L",s,0],["L",V,n],["Z"],{}]],textRect:{left:c,top:r,right:"=V.x3",bottom:n}},rightTriangle:{variables:{it:"=height * 7 / 12",ir:"=width * 7 / 12",ib:"=height * 11 / 12",l:0,t:0,vc:f,b:n,hc:y,r:V,wd12:"=width/12"},connectionPoints:[{x:0,y:0},{x:0,y:r},{x:0,y:n},{x:e,y:n},{x:V,y:n},{x:e,y:r}],path:[[["M",0,n],["L",0,0],["L",V,n],["Z"],{}]],textRect:{left:"=V.wd12",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},oval:{variables:{wd2:y,d2r:a=3437746.770784939,idx:"=V.wd2 * COS(2700000 / V.d2r)",hd2:f,idy:"=V.hd2 * SIN(2700000 / V.d2r)",hc:y,il:"=V.hc - V.idx",ir:"=V.hc + V.idx",vc:f,it:"=V.vc - V.idy",ib:"=V.vc + V.idy",t:0,l:0,b:n,r:V,cd2:h,cd4:u,cx1:"=C(V.wd2,V.l,A(V.wd2,V.hd2,V.cd2),true)",cy1:"=C(V.hd2,V.vc,A(V.wd2,V.hd2,V.cd2))",_3cd4:x,cx2:"=C(V.wd2,P(V.cx1,V.wd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4)),true),A(V.wd2,V.hd2,V._3cd4),true)",cy2:"=C(V.hd2,P(V.cy1,V.hd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4))),A(V.wd2,V.hd2,V._3cd4))",cx3:"=C(V.wd2,P(V.cx2,V.wd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4)),true),A(V.wd2,V.hd2,0),true)",cy3:"=C(V.hd2,P(V.cy2,V.hd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4))),A(V.wd2,V.hd2,0))",cx4:"=C(V.wd2,P(V.cx3,V.wd2,A(V.wd2,V.hd2,(V.cd4)),true),A(V.wd2,V.hd2,V.cd4),true)",cy4:"=C(V.hd2,P(V.cy3,V.hd2,A(V.wd2,V.hd2,(V.cd4))),A(V.wd2,V.hd2,V.cd4))"},connectionPoints:[{x:e,y:0},{x:"=V.il",y:"=V.it"},{x:0,y:r},{x:"=V.il",y:"=V.ib"},{x:e,y:n},{x:"=V.ir",y:"=V.ib"},{x:V,y:r},{x:"=V.ir",y:"=V.it"}],path:[[["M",0,r],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd2)","=A(V.wd2,V.hd2,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx2","=V.cy2","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V._3cd4)","=A(V.wd2,V.hd2,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx3","=V.cy3","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,0)","=A(V.wd2,V.hd2,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx4","=V.cy4","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd4)","=A(V.wd2,V.hd2,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},hexagon:{variables:{adj:25e3,vf:115470,ss:i,maxAdj:"=50000 * width / V.ss",a:"=MIN(MAX(0, V.adj), V.maxAdj)",hd2:f,shd2:"=V.hd2 * V.vf / 100000",x1:"=V.ss * V.a / 100000",r:V,x2:"=width - V.x1",d2r:a,dy1:"=V.shd2 * SIN(3600000 / V.d2r)",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc + V.dy1",q1:"=V.maxAdj * -1 / 2",q2:"=V.a + V.q1",q3:"=IF(V.q2 > 0, 4, 2)",q4:"=IF(V.q2 > 0, 3, 2)",q5:"=IF(V.q2 > 0, V.q1, 0)",q6:"=(V.a + V.q5) / V.q1",q7:"=V.q6 * V.q4 / -1",q8:"=V.q3 + V.q7",il:"=width * V.q8 / 24",it:"=height * V.q8 / 24",ir:"=width - V.il",b:n,ib:"=height - V.it",l:0,t:0},adjustInfo:[["adj",25e3],["vf",115470]],connectionPoints:[{x:V,y:r},{x:s,y:d},{x:c,y:d},{x:0,y:r},{x:c,y:o},{x:s,y:o}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:"maxAdj",position:{x:"x1",y:"t"},point:[c,0]}],path:[[["M",0,r],["L",c,o],["L",s,o],["L",V,r],["L",s,d],["L",c,d],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},cross:{variables:{adj:25e3,a:"=MIN(MAX(0, V.adj), 50000)",ss:i,x1:"=V.ss * V.a / 100000",r:V,x2:"=width - V.x1",b:n,y2:"=height - V.x1",d:"=width - height",l:0,il:"=IF(V.d > 0, V.l, V.x1)",ir:"=IF(V.d > 0, V.r, V.x2)",t:0,it:"=IF(V.d > 0, V.x1, V.t)",ib:"=IF(V.d > 0, V.y2, V.b)",hc:y,vc:f},adjustInfo:[["adj",25e3]],connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[c,0]}],path:[[["M",0,c],["L",c,c],["L",c,0],["L",s,0],["L",s,c],["L",V,c],["L",V,d],["L",s,d],["L",s,n],["L",c,n],["L",c,d],["L",0,d],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},regularPentagon:{variables:{hf:105146,vf:110557,wd2:y,swd2:"=V.wd2 * V.hf / 100000",hd2:f,shd2:"=V.hd2 * V.vf / 100000",vc:f,svc:"=V.vc * V.vf / 100000",d2r:a,dx1:"=V.swd2 * COS(1080000 / V.d2r)",dx2:"=V.swd2 * COS(18360000 / V.d2r)",dy1:"=V.shd2 * SIN(1080000 / V.d2r)",dy2:"=V.shd2 * SIN(18360000 / V.d2r)",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc - V.dx2",x3:"=V.hc + V.dx2",x4:"=V.hc + V.dx1",y1:"=V.svc - V.dy1",y2:"=V.svc - V.dy2",it:"=V.y1 * V.dx2 / V.dx1",t:0,b:n},adjustInfo:[["hf",105146],["vf",110557]],connectionPoints:[{x:e,y:0},{x:c,y:o},{x:s,y:d},{x:e,y:n},{x:"=V.x3",y:d},{x:"=V.x4",y:o}],path:[[["M",c,o],["L",e,0],["L","=V.x4",o],["L","=V.x3",d],["L",s,d],["Z"],{}]],textRect:{left:s,top:"=V.it",right:"=V.x3",bottom:d}},can:{variables:{adj:25e3,ss:i,maxAdj:"=50000 * height / V.ss",a:"=MIN(MAX(0, V.adj), V.maxAdj)",y1:"=V.ss * V.a / 200000",y2:"=V.y1 + V.y1",b:n,y3:"=height - V.y1",hc:y,t:0,l:0,vc:f,r:V,wd2:y,cd2:h,cx1:"=C(V.wd2,V.l,A(V.wd2,V.y1,V.cd2),true)",cy1:"=C(V.y1,V.y1,A(V.wd2,V.y1,V.cd2))",cx2:"=C(V.wd2,V.r,A(V.wd2,V.y1,0),true)",cy2:"=C(V.y1,V.y3,A(V.wd2,V.y1,0))",cx3:"=C(V.wd2,V.l,A(V.wd2,V.y1,V.cd2),true)",cy3:"=C(V.y1,V.y1,A(V.wd2,V.y1,V.cd2))",cx4:"=C(V.wd2,P(V.cx3,V.wd2,A(V.wd2,V.y1,(V.cd2 + V.cd2)),true),A(V.wd2,V.y1,0),true)",cy4:"=C(V.y1,P(V.cy3,V.y1,A(V.wd2,V.y1,(V.cd2 + V.cd2))),A(V.wd2,V.y1,0))",cx5:"=C(V.wd2,V.r,A(V.wd2,V.y1,0),true)",cy5:"=C(V.y1,V.y1,A(V.wd2,V.y1,0))",cx6:"=C(V.wd2,P(V.cx5,V.wd2,A(V.wd2,V.y1,(V.cd2)),true),A(V.wd2,V.y1,V.cd2),true)",cy6:"=C(V.y1,P(V.cy5,V.y1,A(V.wd2,V.y1,(V.cd2))),A(V.wd2,V.y1,V.cd2))",cx7:"=C(V.wd2,V.r,A(V.wd2,V.y1,0),true)",cy7:"=C(V.y1,V.y3,A(V.wd2,V.y1,0))"},adjustInfo:[["adj",25e3]],connectionPoints:[{x:e,y:d},{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:"maxAdj",position:{x:"hc",y:"y2"},point:[e,d]}],path:[[["M",0,o],["E","=V.cx1","=V.cy1","=V.wd2",o,0,"=A(V.wd2,V.y1,V.cd2)","=A(V.wd2,V.y1,(V.cd2 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L",V,"=V.y3"],["E","=V.cx2","=V.cy2","=V.wd2",o,0,"=A(V.wd2,V.y1,0)","=A(V.wd2,V.y1,(V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M",0,o],["E","=V.cx3","=V.cy3","=V.wd2",o,0,"=A(V.wd2,V.y1,V.cd2)","=A(V.wd2,V.y1,(V.cd2 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["E","=V.cx4","=V.cy4","=V.wd2",o,0,"=A(V.wd2,V.y1,0)","=A(V.wd2,V.y1,(V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["Z"],{fillMode:"lighten",strokeMode:"false"}],[["M",V,o],["E","=V.cx5","=V.cy5","=V.wd2",o,0,"=A(V.wd2,V.y1,0)","=A(V.wd2,V.y1,(V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["E","=V.cx6","=V.cy6","=V.wd2",o,0,"=A(V.wd2,V.y1,V.cd2)","=A(V.wd2,V.y1,(V.cd2 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L",V,"=V.y3"],["E","=V.cx7","=V.cy7","=V.wd2",o,0,"=A(V.wd2,V.y1,0)","=A(V.wd2,V.y1,(V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L",0,o],{fillMode:"none"}]],textRect:{left:0,top:d,right:V,bottom:"=V.y3"}},cube:{variables:{adj:25e3,a:"=MIN(MAX(0, V.adj), 100000)",ss:i,y1:"=V.ss * V.a / 100000",b:n,y4:"=height - V.y1",y2:"=V.y4 / 2",y3:"=(V.y1 + V.b) / 2",r:V,x4:"=width - V.y1",x2:"=V.x4 / 2",x3:"=(V.y1 + V.r) / 2",t:0,l:0},adjustInfo:[["adj",25e3]],connectionPoints:[{x:"=V.x3",y:0},{x:s,y:o},{x:0,y:"=V.y3"},{x:s,y:n},{x:"=V.x4",y:"=V.y3"},{x:V,y:d}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:1e5,position:{x:"l",y:"y1"},point:[0,o]}],path:[[["M",0,o],["L","=V.x4",o],["L","=V.x4",n],["L",0,n],["Z"],{strokeMode:"false"}],[["M","=V.x4",o],["L",V,0],["L",V,"=V.y4"],["L","=V.x4",n],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M",0,o],["L",o,0],["L",V,0],["L","=V.x4",o],["Z"],{fillMode:"lightenLess",strokeMode:"false"}],[["M",0,o],["L",o,0],["L",V,0],["L",V,"=V.y4"],["L","=V.x4",n],["L",0,n],["Z"],["M",0,o],["L","=V.x4",o],["L",V,0],["M","=V.x4",o],["L","=V.x4",n],{fillMode:"none"}]],textRect:{left:0,top:o,right:"=V.x4",bottom:n}},bevel:{variables:{adj:12500,a:"=MIN(MAX(0, V.adj), 50000)",ss:i,x1:"=V.ss * V.a / 100000",r:V,x2:"=width - V.x1",b:n,y2:"=height - V.x1",vc:f,hc:y,l:0,t:0},adjustInfo:[["adj",12500]],connectionPoints:[{x:V,y:r},{x:s,y:r},{x:e,y:n},{x:e,y:d},{x:0,y:r},{x:c,y:r},{x:e,y:0},{x:e,y:c}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[c,0]}],path:[[["M",c,c],["L",s,c],["L",s,d],["L",c,d],["Z"],{strokeMode:"false"}],[["M",0,0],["L",V,0],["L",s,c],["L",c,c],["Z"],{fillMode:"lightenLess",strokeMode:"false"}],[["M",0,n],["L",c,d],["L",s,d],["L",V,n],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M",0,0],["L",c,c],["L",c,d],["L",0,n],["Z"],{fillMode:"lighten",strokeMode:"false"}],[["M",V,0],["L",V,n],["L",s,d],["L",s,c],["Z"],{fillMode:"darken",strokeMode:"false"}],[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],["M",c,c],["L",s,c],["L",s,d],["L",c,d],["Z"],["M",0,0],["L",c,c],["M",0,n],["L",c,d],["M",V,0],["L",s,c],["M",V,n],["L",s,d],{fillMode:"none"}]],textRect:{left:c,top:c,right:s,bottom:d}},foldedCorner:{variables:{adj:16667,a:"=MIN(MAX(0, V.adj), 50000)",ss:i,dy2:"=V.ss * V.a / 100000",dy1:"=V.dy2 / 5",r:V,x1:"=width - V.dy2",x2:"=V.x1 + V.dy1",b:n,y2:"=height - V.dy2",y1:"=V.y2 + V.dy1",hc:y,t:0,l:0,vc:f},adjustInfo:[["adj",16667]],connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:5e4,position:{x:"x1",y:"b"},point:[c,n]}],path:[[["M",0,0],["L",V,0],["L",V,d],["L",c,n],["L",0,n],["Z"],{strokeMode:"false"}],[["M",c,n],["L",s,o],["L",V,d],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M",c,n],["L",s,o],["L",V,d],["L",c,n],["L",0,n],["L",0,0],["L",V,0],["L",V,d],{fillMode:"none"}]],textRect:{left:0,top:0,right:V,bottom:d}},smileyFace:{variables:{adj:4653,a:"=MIN(MAX(-4653, V.adj), 4653)",x1:"=width * 4969 / 21699",x2:"=width * 6215 / 21600",x3:"=width * 13135 / 21600",x4:"=width * 16640 / 21600",y1:"=height * 7570 / 21600",y3:"=height * 16515 / 21600",dy2:"=height * V.a / 100000",y2:"=V.y3 - V.dy2",y4:"=V.y3 + V.dy2",dy3:"=height * V.a / 50000",y5:"=V.y4 + V.dy3",wd2:y,d2r:a,idx:"=V.wd2 * COS(2700000 / V.d2r)",hd2:f,idy:"=V.hd2 * SIN(2700000 / V.d2r)",hc:y,il:"=V.hc - V.idx",ir:"=V.hc + V.idx",vc:f,it:"=V.vc - V.idy",ib:"=V.vc + V.idy",wR:"=width * 1125 / 21600",hR:"=height * 1125 / 21600",t:0,l:0,b:n,r:V,cd2:h,cx1:"=C(V.wd2,V.l,A(V.wd2,V.hd2,V.cd2),true)",cy1:"=C(V.hd2,V.vc,A(V.wd2,V.hd2,V.cd2))",cx2:"=C(V.wR,V.x2,A(V.wR,V.hR,V.cd2),true)",cy2:"=C(V.hR,V.y1,A(V.wR,V.hR,V.cd2))",cx3:"=C(V.wR,V.x3,A(V.wR,V.hR,V.cd2),true)",cy3:"=C(V.hR,V.y1,A(V.wR,V.hR,V.cd2))",cx4:"=C(V.wd2,V.l,A(V.wd2,V.hd2,V.cd2),true)",cy4:"=C(V.hd2,V.vc,A(V.wd2,V.hd2,V.cd2))"},adjustInfo:[["adj",4653]],connectionPoints:[{x:e,y:0},{x:"=V.il",y:"=V.it"},{x:0,y:r},{x:"=V.il",y:"=V.ib"},{x:e,y:n},{x:"=V.ir",y:"=V.ib"},{x:V,y:r},{x:"=V.ir",y:"=V.it"}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:-4653,maxY:4653,position:{x:"hc",y:"y4"},point:[e,"=V.y4"]}],path:[[["M",0,r],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd2)","=(A(V.wd2,V.hd2,V.cd2)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M",s,o],["E","=V.cx2","=V.cy2","=V.wR","=V.hR",0,"=A(V.wR,V.hR,V.cd2)","=(A(V.wR,V.hR,V.cd2)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["M","=V.x3",o],["E","=V.cx3","=V.cy3","=V.wR","=V.hR",0,"=A(V.wR,V.hR,V.cd2)","=(A(V.wR,V.hR,V.cd2)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],{fillMode:"darkenLess"}],[["M",c,d],["Q",e,"=V.y5","=V.x4",d],{fillMode:"none"}],[["M",0,r],["E","=V.cx4","=V.cy4","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd2)","=(A(V.wd2,V.hd2,V.cd2)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["Z"],{fillMode:"none"}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},donut:{variables:{adj:25e3,a:"=MIN(MAX(0, V.adj), 50000)",ss:i,dr:"=V.ss * V.a / 100000",wd2:y,iwd2:"=V.wd2 - V.dr",hd2:f,ihd2:"=V.hd2 - V.dr",d2r:a,idx:"=V.wd2 * COS(2700000 / V.d2r)",idy:"=V.hd2 * SIN(2700000 / V.d2r)",hc:y,il:"=V.hc - V.idx",ir:"=V.hc + V.idx",vc:f,it:"=V.vc - V.idy",ib:"=V.vc + V.idy",t:0,l:0,b:n,r:V,cd2:h,cd4:u,cx1:"=C(V.wd2,V.l,A(V.wd2,V.hd2,V.cd2),true)",cy1:"=C(V.hd2,V.vc,A(V.wd2,V.hd2,V.cd2))",_3cd4:x,cx2:"=C(V.wd2,P(V.cx1,V.wd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4)),true),A(V.wd2,V.hd2,V._3cd4),true)",cy2:"=C(V.hd2,P(V.cy1,V.hd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4))),A(V.wd2,V.hd2,V._3cd4))",cx3:"=C(V.wd2,P(V.cx2,V.wd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4)),true),A(V.wd2,V.hd2,0),true)",cy3:"=C(V.hd2,P(V.cy2,V.hd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4))),A(V.wd2,V.hd2,0))",cx4:"=C(V.wd2,P(V.cx3,V.wd2,A(V.wd2,V.hd2,(V.cd4)),true),A(V.wd2,V.hd2,V.cd4),true)",cy4:"=C(V.hd2,P(V.cy3,V.hd2,A(V.wd2,V.hd2,(V.cd4))),A(V.wd2,V.hd2,V.cd4))",cx5:"=C(V.iwd2,V.dr,A(V.iwd2,V.ihd2,V.cd2),true)",cy5:"=C(V.ihd2,V.vc,A(V.iwd2,V.ihd2,V.cd2))",cx6:"=C(V.iwd2,P(V.cx5,V.iwd2,A(V.iwd2,V.ihd2,(V.cd2 + -5400000)),true),A(V.iwd2,V.ihd2,V.cd4),true)",cy6:"=C(V.ihd2,P(V.cy5,V.ihd2,A(V.iwd2,V.ihd2,(V.cd2 + -5400000))),A(V.iwd2,V.ihd2,V.cd4))",cx7:"=C(V.iwd2,P(V.cx6,V.iwd2,A(V.iwd2,V.ihd2,(V.cd4 + -5400000)),true),A(V.iwd2,V.ihd2,0),true)",cy7:"=C(V.ihd2,P(V.cy6,V.ihd2,A(V.iwd2,V.ihd2,(V.cd4 + -5400000))),A(V.iwd2,V.ihd2,0))",cx8:"=C(V.iwd2,P(V.cx7,V.iwd2,A(V.iwd2,V.ihd2,(-5400000)),true),A(V.iwd2,V.ihd2,V._3cd4),true)",cy8:"=C(V.ihd2,P(V.cy7,V.ihd2,A(V.iwd2,V.ihd2,(-5400000))),A(V.iwd2,V.ihd2,V._3cd4))"},adjustInfo:[["adj",25e3]],connectionPoints:[{x:e,y:0},{x:"=V.il",y:"=V.it"},{x:0,y:r},{x:"=V.il",y:"=V.ib"},{x:e,y:n},{x:"=V.ir",y:"=V.ib"},{x:V,y:r},{x:"=V.ir",y:"=V.it"}],controlsInfo:[{type:"ahPolar",gdRefR:"adj",minR:0,maxR:5e4,position:{x:"dr",y:"vc"},point:["=V.dr",r]}],path:[[["M",0,r],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd2)","=A(V.wd2,V.hd2,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx2","=V.cy2","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V._3cd4)","=A(V.wd2,V.hd2,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx3","=V.cy3","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,0)","=A(V.wd2,V.hd2,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx4","=V.cy4","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd4)","=A(V.wd2,V.hd2,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],["M","=V.dr",r],["E","=V.cx5","=V.cy5","=V.iwd2","=V.ihd2",0,"=A(V.iwd2,V.ihd2,V.cd2)","=A(V.iwd2,V.ihd2,(V.cd2 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx6","=V.cy6","=V.iwd2","=V.ihd2",0,"=A(V.iwd2,V.ihd2,V.cd4)","=A(V.iwd2,V.ihd2,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx7","=V.cy7","=V.iwd2","=V.ihd2",0,"=A(V.iwd2,V.ihd2,0)","=A(V.iwd2,V.ihd2,(-5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx8","=V.cy8","=V.iwd2","=V.ihd2",0,"=A(V.iwd2,V.ihd2,V._3cd4)","=A(V.iwd2,V.ihd2,(V._3cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},noSymbol:{variables:{adj:18750,a:"=MIN(MAX(0, V.adj), 50000)",ss:i,dr:"=V.ss * V.a / 100000",wd2:y,iwd2:"=V.wd2 - V.dr",hd2:f,ihd2:"=V.hd2 - V.dr",d2r:a,ang:"=(ATAN2(width,height) * V.d2r)",ct:"=V.ihd2 * COS(V.ang / V.d2r)",st:"=V.iwd2 * SIN(V.ang / V.d2r)",m:"=SQRT(V.ct*V.ct + V.st*V.st)",n:"=V.iwd2 * V.ihd2 / V.m",drd2:"=V.dr / 2",dang:"=(ATAN2(V.n,V.drd2) * V.d2r)","2dang":"=V.dang * 2",swAng:"=-10800000 + V.2dang",t3:"=(ATAN2(width,height) * V.d2r)",stAng1:"=V.t3 - V.dang",cd2:h,stAng2:"=V.stAng1 - V.cd2",ct1:"=V.ihd2 * COS(V.stAng1 / V.d2r)",st1:"=V.iwd2 * SIN(V.stAng1 / V.d2r)",m1:"=SQRT(V.ct1*V.ct1 + V.st1*V.st1)",n1:"=V.iwd2 * V.ihd2 / V.m1",dx1:"=V.n1 * COS(V.stAng1 / V.d2r)",dy1:"=V.n1 * SIN(V.stAng1 / V.d2r)",hc:y,x1:"=V.hc + V.dx1",vc:f,y1:"=V.vc + V.dy1",x2:"=V.hc - V.dx1",y2:"=V.vc - V.dy1",idx:"=V.wd2 * COS(2700000 / V.d2r)",idy:"=V.hd2 * SIN(2700000 / V.d2r)",il:"=V.hc - V.idx",ir:"=V.hc + V.idx",it:"=V.vc - V.idy",ib:"=V.vc + V.idy",t:0,l:0,b:n,r:V,cd4:u,cx1:"=C(V.wd2,V.l,A(V.wd2,V.hd2,V.cd2),true)",cy1:"=C(V.hd2,V.vc,A(V.wd2,V.hd2,V.cd2))",_3cd4:x,cx2:"=C(V.wd2,P(V.cx1,V.wd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4)),true),A(V.wd2,V.hd2,V._3cd4),true)",cy2:"=C(V.hd2,P(V.cy1,V.hd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4))),A(V.wd2,V.hd2,V._3cd4))",cx3:"=C(V.wd2,P(V.cx2,V.wd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4)),true),A(V.wd2,V.hd2,0),true)",cy3:"=C(V.hd2,P(V.cy2,V.hd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4))),A(V.wd2,V.hd2,0))",cx4:"=C(V.wd2,P(V.cx3,V.wd2,A(V.wd2,V.hd2,(V.cd4)),true),A(V.wd2,V.hd2,V.cd4),true)",cy4:"=C(V.hd2,P(V.cy3,V.hd2,A(V.wd2,V.hd2,(V.cd4))),A(V.wd2,V.hd2,V.cd4))",cx5:"=C(V.iwd2,V.x1,A(V.iwd2,V.ihd2,V.stAng1),true)",cy5:"=C(V.ihd2,V.y1,A(V.iwd2,V.ihd2,V.stAng1))",cx6:"=C(V.iwd2,V.x2,A(V.iwd2,V.ihd2,V.stAng2),true)",cy6:"=C(V.ihd2,V.y2,A(V.iwd2,V.ihd2,V.stAng2))"},adjustInfo:[["adj",18750]],connectionPoints:[{x:e,y:0},{x:"=V.il",y:"=V.it"},{x:0,y:r},{x:"=V.il",y:"=V.ib"},{x:e,y:n},{x:"=V.ir",y:"=V.ib"},{x:V,y:r},{x:"=V.ir",y:"=V.it"}],controlsInfo:[{type:"ahPolar",gdRefR:"adj",minR:0,maxR:5e4,position:{x:"dr",y:"vc"},point:["=V.dr",r]}],path:[[["M",0,r],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd2)","=A(V.wd2,V.hd2,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx2","=V.cy2","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V._3cd4)","=A(V.wd2,V.hd2,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx3","=V.cy3","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,0)","=A(V.wd2,V.hd2,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx4","=V.cy4","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd4)","=A(V.wd2,V.hd2,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],["M",c,o],["E","=V.cx5","=V.cy5","=V.iwd2","=V.ihd2",0,"=A(V.iwd2,V.ihd2,V.stAng1)","=A(V.iwd2,V.ihd2,(V.stAng1 + V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["Z"],["M",s,d],["E","=V.cx6","=V.cy6","=V.iwd2","=V.ihd2",0,"=A(V.iwd2,V.ihd2,V.stAng2)","=A(V.iwd2,V.ihd2,(V.stAng2 + V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},blockArc:{variables:{adj1:h,adj2:0,adj3:25e3,stAng:"=MIN(MAX(0, V.adj1), 21599999)",istAng:"=MIN(MAX(0, V.adj2), 21599999)",a3:"=MIN(MAX(0, V.adj3), 50000)",sw11:"=V.istAng - V.stAng",sw12:"=V.sw11 + 21600000",swAng:"=IF(V.sw11 > 0, V.sw11, V.sw12)",iswAng:"=0 - V.swAng",wd2:y,d2r:a,wt1:"=V.wd2 * SIN(V.stAng / V.d2r)",hd2:f,ht1:"=V.hd2 * COS(V.stAng / V.d2r)",wt3:"=V.wd2 * SIN(V.istAng / V.d2r)",ht3:"=V.hd2 * COS(V.istAng / V.d2r)",dx1:"=V.wd2 * COS(ATAN2(V.ht1,V.wt1))",dy1:"=V.hd2 * SIN(ATAN2(V.ht1,V.wt1))",dx3:"=V.wd2 * COS(ATAN2(V.ht3,V.wt3))",dy3:"=V.hd2 * SIN(ATAN2(V.ht3,V.wt3))",hc:y,x1:"=V.hc + V.dx1",vc:f,y1:"=V.vc + V.dy1",x3:"=V.hc + V.dx3",y3:"=V.vc + V.dy3",ss:i,dr:"=V.ss * V.a3 / 100000",iwd2:"=V.wd2 - V.dr",ihd2:"=V.hd2 - V.dr",wt2:"=V.iwd2 * SIN(V.istAng / V.d2r)",ht2:"=V.ihd2 * COS(V.istAng / V.d2r)",wt4:"=V.iwd2 * SIN(V.stAng / V.d2r)",ht4:"=V.ihd2 * COS(V.stAng / V.d2r)",dx2:"=V.iwd2 * COS(ATAN2(V.ht2,V.wt2))",dy2:"=V.ihd2 * SIN(ATAN2(V.ht2,V.wt2))",dx4:"=V.iwd2 * COS(ATAN2(V.ht4,V.wt4))",dy4:"=V.ihd2 * SIN(ATAN2(V.ht4,V.wt4))",x2:"=V.hc + V.dx2",y2:"=V.vc + V.dy2",x4:"=V.hc + V.dx4",y4:"=V.vc + V.dy4",sw0:"=21600000 - V.stAng",da1:"=V.swAng - V.sw0",g1:"=MAX(V.x1, V.x2)",g2:"=MAX(V.x3, V.x4)",g3:"=MAX(V.g1, V.g2)",r:V,ir:"=IF(V.da1 > 0, V.r, V.g3)",cd4:u,sw1:"=V.cd4 - V.stAng",sw2:"=27000000 - V.stAng",sw3:"=IF(V.sw1 > 0, V.sw1, V.sw2)",da2:"=V.swAng - V.sw3",g5:"=MAX(V.y1, V.y2)",g6:"=MAX(V.y3, V.y4)",g7:"=MAX(V.g5, V.g6)",b:n,ib:"=IF(V.da2 > 0, V.b, V.g7)",cd2:h,sw4:"=V.cd2 - V.stAng",sw5:"=32400000 - V.stAng",sw6:"=IF(V.sw4 > 0, V.sw4, V.sw5)",da3:"=V.swAng - V.sw6",g9:"=MIN(V.x1, V.x2)",g10:"=MIN(V.x3, V.x4)",g11:"=MIN(V.g9, V.g10)",l:0,il:"=IF(V.da3 > 0, V.l, V.g11)",_3cd4:x,sw7:"=V._3cd4 - V.stAng",sw8:"=37800000 - V.stAng",sw9:"=IF(V.sw7 > 0, V.sw7, V.sw8)",da4:"=V.swAng - V.sw9",g13:"=MIN(V.y1, V.y2)",g14:"=MIN(V.y3, V.y4)",g15:"=MIN(V.g13, V.g14)",t:0,it:"=IF(V.da4 > 0, V.t, V.g15)",x5:"=(V.x1 + V.x4) / 2",y5:"=(V.y1 + V.y4) / 2",x6:"=(V.x3 + V.x2) / 2",y6:"=(V.y3 + V.y2) / 2",cang1:"=V.stAng - V.cd4",cang2:"=V.istAng + V.cd4",cang3:"=(V.cang1 + V.cang2) / 2",cx1:"=C(V.wd2,V.x1,A(V.wd2,V.hd2,V.stAng),true)",cy1:"=C(V.hd2,V.y1,A(V.wd2,V.hd2,V.stAng))",cx2:"=C(V.iwd2,V.x2,A(V.iwd2,V.ihd2,V.istAng),true)",cy2:"=C(V.ihd2,V.y2,A(V.iwd2,V.ihd2,V.istAng))"},adjustInfo:[["adj1",108e5],["adj2",0],["adj3",25e3]],connectionPoints:[{x:"=V.x5",y:"=V.y5"},{x:"=V.x6",y:"=V.y6"},{x:e,y:r}],controlsInfo:[{type:"ahPolar",gdRefAng:"adj1",minAng:0,maxAng:21599999,position:{x:"x1",y:"y1"},point:[c,o]},{type:"ahPolar",gdRefR:"adj3",minR:0,maxR:5e4,gdRefAng:"adj2",minAng:0,maxAng:21599999,position:{x:"x2",y:"y2"},point:[s,d]}],path:[[["M",c,o],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.stAng)","=A(V.wd2,V.hd2,(V.stAng + V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["L",s,d],["E","=V.cx2","=V.cy2","=V.iwd2","=V.ihd2",0,"=A(V.iwd2,V.ihd2,V.istAng)","=A(V.iwd2,V.ihd2,(V.istAng + V.iswAng))","=IF(V.iswAng > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},heart:{variables:{dx1:"=width * 49 / 48",dx2:"=width * 10 / 48",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc - V.dx2",x3:"=V.hc + V.dx2",x4:"=V.hc + V.dx1",t:0,hd3:"=height/3",y1:"=0 - V.hd3",il:"=width / 6",ir:"=width * 5 / 6",ib:"=height * 2 / 3",hd4:"=height/4",b:n},connectionPoints:[{x:e,y:"=V.hd4"},{x:e,y:n}],path:[[["M",e,"=V.hd4"],["B","=V.x3",o,"=V.x4","=V.hd4",e,n],["B",c,"=V.hd4",s,o,e,"=V.hd4"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.hd4",right:"=V.ir",bottom:"=V.ib"}},lightningBolt:{variables:{x1:"=width * 5022 / 21600",x3:"=width * 8472 / 21600",x4:"=width * 8757 / 21600",x5:"=width * 10012 / 21600",x8:"=width * 12860 / 21600",x9:"=width * 13917 / 21600",x11:"=width * 16577 / 21600",y1:"=height * 3890 / 21600",y2:"=height * 6080 / 21600",y4:"=height * 7437 / 21600",y6:"=height * 9705 / 21600",y7:"=height * 12007 / 21600",y10:"=height * 14277 / 21600",y11:"=height * 14915 / 21600",t:0,l:0,r:V,b:n,_scaleX1:"= width / 21600",_scaleY1:"= height / 21600"},connectionPoints:[{x:"=V.x3",y:0},{x:0,y:o},{x:c,y:"=V.y6"},{x:"=V.x5",y:"=V.y11"},{x:V,y:n},{x:"=V.x11",y:"=V.y7"},{x:"=V.x8",y:d}],path:[[["M","=8472 * V._scaleX1",0],["L","=12860 * V._scaleX1","=6080 * V._scaleY1"],["L","=11050 * V._scaleX1","=6797 * V._scaleY1"],["L","=16577 * V._scaleX1","=12007 * V._scaleY1"],["L","=14767 * V._scaleX1","=12877 * V._scaleY1"],["L",V,n],["L","=10012 * V._scaleX1","=14915 * V._scaleY1"],["L","=12222 * V._scaleX1","=13987 * V._scaleY1"],["L","=5022 * V._scaleX1","=9705 * V._scaleY1"],["L","=7602 * V._scaleX1","=8382 * V._scaleY1"],["L",0,"=3890 * V._scaleY1"],["Z"],{}]],textRect:{left:"=V.x4",top:"=V.y4",right:"=V.x9",bottom:"=V.y10"}},sun:{variables:{adj:25e3,a:"=MIN(MAX(12500, V.adj), 46875)",g0:"=50000 - V.a",g1:"=V.g0 * 30274 / 32768",g2:"=V.g0 * 12540 / 32768",g3:"=V.g1 + 50000",g4:"=V.g2 + 50000",g5:"=50000 - V.g1",g6:"=50000 - V.g2",g7:"=V.g0 * 23170 / 32768",g8:"=50000 + V.g7",g9:"=50000 - V.g7",g10:"=V.g5 * 3 / 4",g11:"=V.g6 * 3 / 4",g12:"=V.g10 + 3662",g13:"=V.g11 + 3662",g14:"=V.g11 + 12500",g15:"=100000 - V.g10",g16:"=100000 - V.g12",g17:"=100000 - V.g13",g18:"=100000 - V.g14",ox1:"=width * 18436 / 21600",oy1:"=height * 3163 / 21600",ox2:"=width * 3163 / 21600",oy2:"=height * 18436 / 21600",x8:"=width * V.g8 / 100000",x9:"=width * V.g9 / 100000",x10:"=width * V.g10 / 100000",x12:"=width * V.g12 / 100000",x13:"=width * V.g13 / 100000",x14:"=width * V.g14 / 100000",x15:"=width * V.g15 / 100000",x16:"=width * V.g16 / 100000",x17:"=width * V.g17 / 100000",x18:"=width * V.g18 / 100000",x19:"=width * V.a / 100000",wR:"=width * V.g0 / 100000",hR:"=height * V.g0 / 100000",y8:"=height * V.g8 / 100000",y9:"=height * V.g9 / 100000",y10:"=height * V.g10 / 100000",y12:"=height * V.g12 / 100000",y13:"=height * V.g13 / 100000",y14:"=height * V.g14 / 100000",y15:"=height * V.g15 / 100000",y16:"=height * V.g16 / 100000",y17:"=height * V.g17 / 100000",y18:"=height * V.g18 / 100000",hc:y,t:0,l:0,vc:f,b:n,r:V,cd2:h,cx1:"=C(V.wR,V.x19,A(V.wR,V.hR,V.cd2),true)",cy1:"=C(V.hR,V.vc,A(V.wR,V.hR,V.cd2))"},adjustInfo:[["adj",25e3]],connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:12500,maxX:46875,position:{x:"x19",y:"vc"},point:["=V.x19",r]}],path:[[["M",V,r],["L","=V.x15","=V.y18"],["L","=V.x15","=V.y14"],["Z"],["M","=V.ox1","=V.oy1"],["L","=V.x16","=V.y13"],["L","=V.x17","=V.y12"],["Z"],["M",e,0],["L","=V.x18","=V.y10"],["L","=V.x14","=V.y10"],["Z"],["M","=V.ox2","=V.oy1"],["L","=V.x13","=V.y12"],["L","=V.x12","=V.y13"],["Z"],["M",0,r],["L","=V.x10","=V.y14"],["L","=V.x10","=V.y18"],["Z"],["M","=V.ox2","=V.oy2"],["L","=V.x12","=V.y17"],["L","=V.x13","=V.y16"],["Z"],["M",e,n],["L","=V.x14","=V.y15"],["L","=V.x18","=V.y15"],["Z"],["M","=V.ox1","=V.oy2"],["L","=V.x17","=V.y16"],["L","=V.x16","=V.y17"],["Z"],["M","=V.x19",r],["E","=V.cx1","=V.cy1","=V.wR","=V.hR",0,"=A(V.wR,V.hR,V.cd2)","=(A(V.wR,V.hR,V.cd2)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.x9",top:"=V.y9",right:"=V.x8",bottom:"=V.y8"}},moon:{variables:{adj:5e4,a:"=MIN(MAX(0, V.adj), 87500)",ss:i,g0:"=V.ss * V.a / 100000",g0w:"=V.g0 * width / V.ss",g1:"=V.ss - V.g0",g2:"=V.g0 * V.g0 / V.g1",g3:"=V.ss * V.ss / V.g1",g4:"=V.g3 * 2",g5:"=V.g4 - V.g2",g6:"=V.g5 - V.g0",g6w:"=V.g6 * width / V.ss",g7:"=V.g5 / 2",g8:"=V.g7 - V.g0",hd2:f,dy1:"=V.g8 * V.hd2 / V.ss",vc:f,g10h:"=V.vc - V.dy1",g11h:"=V.vc + V.dy1",g12:"=V.g0 * 9598 / 32768",g12w:"=V.g12 * width / V.ss",g13:"=V.ss - V.g12",q1:"=V.ss * V.ss",q2:"=V.g13 * V.g13",q3:"=V.q1 - V.q2",q4:"=SQRT(V.q3)",dy4:"=V.q4 * V.hd2 / V.ss",g15h:"=V.vc - V.dy4",g16h:"=V.vc + V.dy4",g17w:"=V.g6w - V.g0w",g18w:"=V.g17w / 2",dx2p:"=V.g0w + V.g18w - width",dx2:"=V.dx2p * -1",dy2:"=V.hd2 * -1",d2r:a,stAng1:"=(ATAN2(V.dx2,V.dy2) * V.d2r)",enAngp1:"=(ATAN2(V.dx2,V.hd2) * V.d2r)",enAng1:"=V.enAngp1 - 21600000",swAng1:"=V.enAng1 - V.stAng1",r:V,t:0,l:0,b:n,cd4:u,cd2:h,cx1:"=C(width,V.r,A(width,V.hd2,V.cd4),true)",cy1:"=C(V.hd2,V.b,A(width,V.hd2,V.cd4))",cx2:"=C(V.g18w,P(V.cx1,width,A(width,V.hd2,(V.cd4 + V.cd2)),true),A(V.g18w,V.dy1,V.stAng1),true)",cy2:"=C(V.dy1,P(V.cy1,V.hd2,A(width,V.hd2,(V.cd4 + V.cd2))),A(V.g18w,V.dy1,V.stAng1))"},adjustInfo:[["adj",5e4]],connectionPoints:[{x:V,y:0},{x:0,y:r},{x:V,y:n},{x:"=V.g0w",y:r}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:87500,position:{x:"g0w",y:"vc"},point:["=V.g0w",r]}],path:[[["M",V,n],["E","=V.cx1","=V.cy1",V,"=V.hd2",0,"=A(width,V.hd2,V.cd4)","=A(width,V.hd2,(V.cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["E","=V.cx2","=V.cy2","=V.g18w","=V.dy1",0,"=A(V.g18w,V.dy1,V.stAng1)","=A(V.g18w,V.dy1,(V.stAng1 + V.swAng1))","=IF(V.swAng1 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.g12w",top:"=V.g15h",right:"=V.g0w",bottom:"=V.g16h"}},arc:{variables:{adj1:x,adj2:0,stAng:"=MIN(MAX(0, V.adj1), 21599999)",enAng:"=MIN(MAX(0, V.adj2), 21599999)",sw11:"=V.enAng - V.stAng",sw12:"=V.sw11 + 21600000",swAng:"=IF(V.sw11 > 0, V.sw11, V.sw12)",wd2:y,d2r:a,wt1:"=V.wd2 * SIN(V.stAng / V.d2r)",hd2:f,ht1:"=V.hd2 * COS(V.stAng / V.d2r)",dx1:"=V.wd2 * COS(ATAN2(V.ht1,V.wt1))",dy1:"=V.hd2 * SIN(ATAN2(V.ht1,V.wt1))",wt2:"=V.wd2 * SIN(V.enAng / V.d2r)",ht2:"=V.hd2 * COS(V.enAng / V.d2r)",dx2:"=V.wd2 * COS(ATAN2(V.ht2,V.wt2))",dy2:"=V.hd2 * SIN(ATAN2(V.ht2,V.wt2))",hc:y,x1:"=V.hc + V.dx1",vc:f,y1:"=V.vc + V.dy1",x2:"=V.hc + V.dx2",y2:"=V.vc + V.dy2",sw0:"=21600000 - V.stAng",da1:"=V.swAng - V.sw0",g1:"=MAX(V.x1, V.x2)",r:V,ir:"=IF(V.da1 > 0, V.r, V.g1)",cd4:u,sw1:"=V.cd4 - V.stAng",sw2:"=27000000 - V.stAng",sw3:"=IF(V.sw1 > 0, V.sw1, V.sw2)",da2:"=V.swAng - V.sw3",g5:"=MAX(V.y1, V.y2)",b:n,ib:"=IF(V.da2 > 0, V.b, V.g5)",cd2:h,sw4:"=V.cd2 - V.stAng",sw5:"=32400000 - V.stAng",sw6:"=IF(V.sw4 > 0, V.sw4, V.sw5)",da3:"=V.swAng - V.sw6",g9:"=MIN(V.x1, V.x2)",l:0,il:"=IF(V.da3 > 0, V.l, V.g9)",_3cd4:x,sw7:"=V._3cd4 - V.stAng",sw8:"=37800000 - V.stAng",sw9:"=IF(V.sw7 > 0, V.sw7, V.sw8)",da4:"=V.swAng - V.sw9",g13:"=MIN(V.y1, V.y2)",t:0,it:"=IF(V.da4 > 0, V.t, V.g13)",cang1:"=V.stAng - V.cd4",cang2:"=V.enAng + V.cd4",cang3:"=(V.cang1 + V.cang2) / 2",cx1:"=C(V.wd2,V.x1,A(V.wd2,V.hd2,V.stAng),true)",cy1:"=C(V.hd2,V.y1,A(V.wd2,V.hd2,V.stAng))",cx2:"=C(V.wd2,V.x1,A(V.wd2,V.hd2,V.stAng),true)",cy2:"=C(V.hd2,V.y1,A(V.wd2,V.hd2,V.stAng))"},adjustInfo:[["adj1",162e5],["adj2",0]],connectionPoints:[{x:c,y:o},{x:e,y:r},{x:s,y:d}],controlsInfo:[{type:"ahPolar",gdRefAng:"adj1",minAng:0,maxAng:21599999,position:{x:"x1",y:"y1"},point:[c,o]},{type:"ahPolar",gdRefAng:"adj2",minAng:0,maxAng:21599999,position:{x:"x2",y:"y2"},point:[s,d]}],path:[[["M",c,o],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.stAng)","=A(V.wd2,V.hd2,(V.stAng + V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["L",e,r],["Z"],{strokeMode:"false"}],[["M",c,o],["E","=V.cx2","=V.cy2","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.stAng)","=A(V.wd2,V.hd2,(V.stAng + V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],{fillMode:"none"}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},doubleBracket:{variables:{adj:16667,a:"=MIN(MAX(0, V.adj), 50000)",ss:i,x1:"=V.ss * V.a / 100000",r:V,x2:"=width - V.x1",b:n,y2:"=height - V.x1",il:"=V.x1 * 29289 / 100000",ir:"=width - V.il",ib:"=height - V.il",hc:y,t:0,l:0,vc:f,cd2:h,cd4:u,cx1:"=C(V.x1,V.l,A(V.x1,V.x1,V.cd2),true)",cy1:"=C(V.x1,V.x1,A(V.x1,V.x1,V.cd2))",_3cd4:x,cx2:"=C(V.x1,V.x2,A(V.x1,V.x1,V._3cd4),true)",cy2:"=C(V.x1,V.t,A(V.x1,V.x1,V._3cd4))",cx3:"=C(V.x1,V.r,A(V.x1,V.x1,0),true)",cy3:"=C(V.x1,V.y2,A(V.x1,V.x1,0))",cx4:"=C(V.x1,V.x1,A(V.x1,V.x1,V.cd4),true)",cy4:"=C(V.x1,V.b,A(V.x1,V.x1,V.cd4))",cx5:"=C(V.x1,V.x1,A(V.x1,V.x1,V.cd4),true)",cy5:"=C(V.x1,V.b,A(V.x1,V.x1,V.cd4))",cx6:"=C(V.x1,V.l,A(V.x1,V.x1,V.cd2),true)",cy6:"=C(V.x1,V.x1,A(V.x1,V.x1,V.cd2))",cx7:"=C(V.x1,V.x2,A(V.x1,V.x1,V._3cd4),true)",cy7:"=C(V.x1,V.t,A(V.x1,V.x1,V._3cd4))",cx8:"=C(V.x1,V.r,A(V.x1,V.x1,0),true)",cy8:"=C(V.x1,V.y2,A(V.x1,V.x1,0))"},adjustInfo:[["adj",16667]],connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"l",y:"x1"},point:[0,c]}],path:[[["M",0,c],["E","=V.cx1","=V.cy1",c,c,0,"=A(V.x1,V.x1,V.cd2)","=A(V.x1,V.x1,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",s,0],["E","=V.cx2","=V.cy2",c,c,0,"=A(V.x1,V.x1,V._3cd4)","=A(V.x1,V.x1,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",V,d],["E","=V.cx3","=V.cy3",c,c,0,"=A(V.x1,V.x1,0)","=A(V.x1,V.x1,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",c,n],["E","=V.cx4","=V.cy4",c,c,0,"=A(V.x1,V.x1,V.cd4)","=A(V.x1,V.x1,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M",c,n],["E","=V.cx5","=V.cy5",c,c,0,"=A(V.x1,V.x1,V.cd4)","=A(V.x1,V.x1,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",0,c],["E","=V.cx6","=V.cy6",c,c,0,"=A(V.x1,V.x1,V.cd2)","=A(V.x1,V.x1,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["M",s,0],["E","=V.cx7","=V.cy7",c,c,0,"=A(V.x1,V.x1,V._3cd4)","=A(V.x1,V.x1,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",V,d],["E","=V.cx8","=V.cy8",c,c,0,"=A(V.x1,V.x1,0)","=A(V.x1,V.x1,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],{fillMode:"none"}]],textRect:{left:"=V.il",top:"=V.il",right:"=V.ir",bottom:"=V.ib"}},doubleBrace:{variables:{adj:8333,a:"=MIN(MAX(0, V.adj), 25000)",ss:i,x1:"=V.ss * V.a / 100000",x2:"=V.ss * V.a / 50000",r:V,x3:"=width - V.x2",x4:"=width - V.x1",vc:f,y2:"=V.vc - V.x1",y3:"=V.vc + V.x1",b:n,y4:"=height - V.x1",it:"=V.x1 * 29289 / 100000",il:"=V.x1 + V.it",ir:"=width - V.il",ib:"=height - V.it",hc:y,t:0,l:0,cd4:u,cx1:"=C(V.x1,V.x2,A(V.x1,V.x1,V.cd4),true)",cy1:"=C(V.x1,V.b,A(V.x1,V.x1,V.cd4))",cx2:"=C(V.x1,V.x1,A(V.x1,V.x1,0),true)",cy2:"=C(V.x1,V.y3,A(V.x1,V.x1,0))",cx3:"=C(V.x1,P(V.cx2,V.x1,A(V.x1,V.x1,(-5400000)),true),A(V.x1,V.x1,V.cd4),true)",cy3:"=C(V.x1,P(V.cy2,V.x1,A(V.x1,V.x1,(-5400000))),A(V.x1,V.x1,V.cd4))",cd2:h,cx4:"=C(V.x1,V.x1,A(V.x1,V.x1,V.cd2),true)",cy4:"=C(V.x1,V.x1,A(V.x1,V.x1,V.cd2))",_3cd4:x,cx5:"=C(V.x1,V.x3,A(V.x1,V.x1,V._3cd4),true)",cy5:"=C(V.x1,V.t,A(V.x1,V.x1,V._3cd4))",cx6:"=C(V.x1,V.x4,A(V.x1,V.x1,V.cd2),true)",cy6:"=C(V.x1,V.y2,A(V.x1,V.x1,V.cd2))",cx7:"=C(V.x1,P(V.cx6,V.x1,A(V.x1,V.x1,(V.cd2 + -5400000)),true),A(V.x1,V.x1,V._3cd4),true)",cy7:"=C(V.x1,P(V.cy6,V.x1,A(V.x1,V.x1,(V.cd2 + -5400000))),A(V.x1,V.x1,V._3cd4))",cx8:"=C(V.x1,V.x4,A(V.x1,V.x1,0),true)",cy8:"=C(V.x1,V.y4,A(V.x1,V.x1,0))",cx9:"=C(V.x1,V.x2,A(V.x1,V.x1,V.cd4),true)",cy9:"=C(V.x1,V.b,A(V.x1,V.x1,V.cd4))",cx10:"=C(V.x1,V.x1,A(V.x1,V.x1,0),true)",cy10:"=C(V.x1,V.y3,A(V.x1,V.x1,0))",cx11:"=C(V.x1,P(V.cx10,V.x1,A(V.x1,V.x1,(-5400000)),true),A(V.x1,V.x1,V.cd4),true)",cy11:"=C(V.x1,P(V.cy10,V.x1,A(V.x1,V.x1,(-5400000))),A(V.x1,V.x1,V.cd4))",cx12:"=C(V.x1,V.x1,A(V.x1,V.x1,V.cd2),true)",cy12:"=C(V.x1,V.x1,A(V.x1,V.x1,V.cd2))",cx13:"=C(V.x1,V.x3,A(V.x1,V.x1,V._3cd4),true)",cy13:"=C(V.x1,V.t,A(V.x1,V.x1,V._3cd4))",cx14:"=C(V.x1,V.x4,A(V.x1,V.x1,V.cd2),true)",cy14:"=C(V.x1,V.y2,A(V.x1,V.x1,V.cd2))",cx15:"=C(V.x1,P(V.cx14,V.x1,A(V.x1,V.x1,(V.cd2 + -5400000)),true),A(V.x1,V.x1,V._3cd4),true)",cy15:"=C(V.x1,P(V.cy14,V.x1,A(V.x1,V.x1,(V.cd2 + -5400000))),A(V.x1,V.x1,V._3cd4))",cx16:"=C(V.x1,V.x4,A(V.x1,V.x1,0),true)",cy16:"=C(V.x1,V.y4,A(V.x1,V.x1,0))"},adjustInfo:[["adj",8333]],connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:25e3,position:{x:"l",y:"x1"},point:[0,c]}],path:[[["M",s,n],["E","=V.cx1","=V.cy1",c,c,0,"=A(V.x1,V.x1,V.cd4)","=A(V.x1,V.x1,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",c,"=V.y3"],["E","=V.cx2","=V.cy2",c,c,0,"=A(V.x1,V.x1,0)","=A(V.x1,V.x1,(-5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx3","=V.cy3",c,c,0,"=A(V.x1,V.x1,V.cd4)","=A(V.x1,V.x1,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",c,c],["E","=V.cx4","=V.cy4",c,c,0,"=A(V.x1,V.x1,V.cd2)","=A(V.x1,V.x1,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x3",0],["E","=V.cx5","=V.cy5",c,c,0,"=A(V.x1,V.x1,V._3cd4)","=A(V.x1,V.x1,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x4",d],["E","=V.cx6","=V.cy6",c,c,0,"=A(V.x1,V.x1,V.cd2)","=A(V.x1,V.x1,(V.cd2 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx7","=V.cy7",c,c,0,"=A(V.x1,V.x1,V._3cd4)","=A(V.x1,V.x1,(V._3cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.x4","=V.y4"],["E","=V.cx8","=V.cy8",c,c,0,"=A(V.x1,V.x1,0)","=A(V.x1,V.x1,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M",s,n],["E","=V.cx9","=V.cy9",c,c,0,"=A(V.x1,V.x1,V.cd4)","=A(V.x1,V.x1,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",c,"=V.y3"],["E","=V.cx10","=V.cy10",c,c,0,"=A(V.x1,V.x1,0)","=A(V.x1,V.x1,(-5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx11","=V.cy11",c,c,0,"=A(V.x1,V.x1,V.cd4)","=A(V.x1,V.x1,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",c,c],["E","=V.cx12","=V.cy12",c,c,0,"=A(V.x1,V.x1,V.cd2)","=A(V.x1,V.x1,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["M","=V.x3",0],["E","=V.cx13","=V.cy13",c,c,0,"=A(V.x1,V.x1,V._3cd4)","=A(V.x1,V.x1,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x4",d],["E","=V.cx14","=V.cy14",c,c,0,"=A(V.x1,V.x1,V.cd2)","=A(V.x1,V.x1,(V.cd2 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx15","=V.cy15",c,c,0,"=A(V.x1,V.x1,V._3cd4)","=A(V.x1,V.x1,(V._3cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.x4","=V.y4"],["E","=V.cx16","=V.cy16",c,c,0,"=A(V.x1,V.x1,0)","=A(V.x1,V.x1,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],{fillMode:"none"}]],textRect:{left:"=V.il",top:"=V.il",right:"=V.ir",bottom:"=V.ib"}},plaque:{variables:{adj:16667,a:"=MIN(MAX(0, V.adj), 50000)",ss:i,x1:"=V.ss * V.a / 100000",r:V,x2:"=width - V.x1",b:n,y2:"=height - V.x1",il:"=V.x1 * 70711 / 100000",ir:"=width - V.il",ib:"=height - V.il",hc:y,t:0,l:0,vc:f,cd4:u,cx1:"=C(V.x1,V.l,A(V.x1,V.x1,V.cd4),true)",cy1:"=C(V.x1,V.x1,A(V.x1,V.x1,V.cd4))",cd2:h,cx2:"=C(V.x1,V.x2,A(V.x1,V.x1,V.cd2),true)",cy2:"=C(V.x1,V.t,A(V.x1,V.x1,V.cd2))",_3cd4:x,cx3:"=C(V.x1,V.r,A(V.x1,V.x1,V._3cd4),true)",cy3:"=C(V.x1,V.y2,A(V.x1,V.x1,V._3cd4))",cx4:"=C(V.x1,V.x1,A(V.x1,V.x1,0),true)",cy4:"=C(V.x1,V.b,A(V.x1,V.x1,0))"},adjustInfo:[["adj",16667]],connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[c,0]}],path:[[["M",0,c],["E","=V.cx1","=V.cy1",c,c,0,"=A(V.x1,V.x1,V.cd4)","=A(V.x1,V.x1,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",s,0],["E","=V.cx2","=V.cy2",c,c,0,"=A(V.x1,V.x1,V.cd2)","=A(V.x1,V.x1,(V.cd2 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",V,d],["E","=V.cx3","=V.cy3",c,c,0,"=A(V.x1,V.x1,V._3cd4)","=A(V.x1,V.x1,(V._3cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",c,n],["E","=V.cx4","=V.cy4",c,c,0,"=A(V.x1,V.x1,0)","=A(V.x1,V.x1,(-5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.il",right:"=V.ir",bottom:"=V.ib"}},leftBracket:{variables:{adj:8333,ss:i,maxAdj:"=50000 * height / V.ss",a:"=MIN(MAX(0, V.adj), V.maxAdj)",y1:"=V.ss * V.a / 100000",b:n,y2:"=height - V.y1",d2r:a,dx1:"=width * COS(2700000 / V.d2r)",dy1:"=V.y1 * SIN(2700000 / V.d2r)",r:V,il:"=width - V.dx1",it:"=V.y1 - V.dy1",ib:"=height + V.dy1 - V.y1",t:0,l:0,vc:f,cd4:u,cx1:"=C(width,V.r,A(width,V.y1,V.cd4),true)",cy1:"=C(V.y1,V.b,A(width,V.y1,V.cd4))",cd2:h,cx2:"=C(width,V.l,A(width,V.y1,V.cd2),true)",cy2:"=C(V.y1,V.y1,A(width,V.y1,V.cd2))",cx3:"=C(width,V.r,A(width,V.y1,V.cd4),true)",cy3:"=C(V.y1,V.b,A(width,V.y1,V.cd4))",cx4:"=C(width,V.l,A(width,V.y1,V.cd2),true)",cy4:"=C(V.y1,V.y1,A(width,V.y1,V.cd2))"},adjustInfo:[["adj",8333]],connectionPoints:[{x:V,y:0},{x:0,y:r},{x:V,y:n}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:"maxAdj",position:{x:"l",y:"y1"},point:[0,o]}],path:[[["M",V,n],["E","=V.cx1","=V.cy1",V,o,0,"=A(width,V.y1,V.cd4)","=A(width,V.y1,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",0,o],["E","=V.cx2","=V.cy2",V,o,0,"=A(width,V.y1,V.cd2)","=A(width,V.y1,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M",V,n],["E","=V.cx3","=V.cy3",V,o,0,"=A(width,V.y1,V.cd4)","=A(width,V.y1,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",0,o],["E","=V.cx4","=V.cy4",V,o,0,"=A(width,V.y1,V.cd2)","=A(width,V.y1,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],{fillMode:"none"}]],textRect:{left:"=V.il",top:"=V.it",right:V,bottom:"=V.ib"}},rightBracket:{variables:{adj:8333,ss:i,maxAdj:"=50000 * height / V.ss",a:"=MIN(MAX(0, V.adj), V.maxAdj)",y1:"=V.ss * V.a / 100000",b:n,y2:"=height - V.y1",d2r:a,dx1:"=width * COS(2700000 / V.d2r)",dy1:"=V.y1 * SIN(2700000 / V.d2r)",l:0,ir:"=V.dx1",it:"=V.y1 - V.dy1",ib:"=height + V.dy1 - V.y1",t:0,r:V,vc:f,_3cd4:x,cd4:u,cx1:"=C(width,V.l,A(width,V.y1,V._3cd4),true)",cy1:"=C(V.y1,V.t,A(width,V.y1,V._3cd4))",cx2:"=C(width,V.r,A(width,V.y1,0),true)",cy2:"=C(V.y1,V.y2,A(width,V.y1,0))",cx3:"=C(width,V.l,A(width,V.y1,V._3cd4),true)",cy3:"=C(V.y1,V.t,A(width,V.y1,V._3cd4))",cx4:"=C(width,V.r,A(width,V.y1,0),true)",cy4:"=C(V.y1,V.y2,A(width,V.y1,0))"},adjustInfo:[["adj",8333]],connectionPoints:[{x:0,y:0},{x:0,y:n},{x:V,y:r}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:"maxAdj",position:{x:"r",y:"y1"},point:[V,o]}],path:[[["M",0,0],["E","=V.cx1","=V.cy1",V,o,0,"=A(width,V.y1,V._3cd4)","=A(width,V.y1,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",V,d],["E","=V.cx2","=V.cy2",V,o,0,"=A(width,V.y1,0)","=A(width,V.y1,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M",0,0],["E","=V.cx3","=V.cy3",V,o,0,"=A(width,V.y1,V._3cd4)","=A(width,V.y1,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",V,d],["E","=V.cx4","=V.cy4",V,o,0,"=A(width,V.y1,0)","=A(width,V.y1,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],{fillMode:"none"}]],textRect:{left:0,top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},leftBrace:{variables:{adj1:8333,adj2:5e4,a2:"=MIN(MAX(0, V.adj2), 100000)",q1:"=100000 - V.a2",q2:"=MIN(V.q1, V.a2)",q3:"=V.q2 / 2",ss:i,maxAdj1:"=V.q3 * height / V.ss",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",y1:"=V.ss * V.a1 / 100000",y3:"=height * V.a2 / 100000",y4:"=V.y3 + V.y1",wd2:y,d2r:a,dx1:"=V.wd2 * COS(2700000 / V.d2r)",dy1:"=V.y1 * SIN(2700000 / V.d2r)",r:V,il:"=width - V.dx1",it:"=V.y1 - V.dy1",b:n,ib:"=height + V.dy1 - V.y1",t:0,l:0,hc:y,cd4:u,cx1:"=C(V.wd2,V.r,A(V.wd2,V.y1,V.cd4),true)",cy1:"=C(V.y1,V.b,A(V.wd2,V.y1,V.cd4))",cx2:"=C(V.wd2,V.hc,A(V.wd2,V.y1,0),true)",cy2:"=C(V.y1,V.y4,A(V.wd2,V.y1,0))",cx3:"=C(V.wd2,P(V.cx2,V.wd2,A(V.wd2,V.y1,(-5400000)),true),A(V.wd2,V.y1,V.cd4),true)",cy3:"=C(V.y1,P(V.cy2,V.y1,A(V.wd2,V.y1,(-5400000))),A(V.wd2,V.y1,V.cd4))",cd2:h,cx4:"=C(V.wd2,V.hc,A(V.wd2,V.y1,V.cd2),true)",cy4:"=C(V.y1,V.y1,A(V.wd2,V.y1,V.cd2))",cx5:"=C(V.wd2,V.r,A(V.wd2,V.y1,V.cd4),true)",cy5:"=C(V.y1,V.b,A(V.wd2,V.y1,V.cd4))",cx6:"=C(V.wd2,V.hc,A(V.wd2,V.y1,0),true)",cy6:"=C(V.y1,V.y4,A(V.wd2,V.y1,0))",cx7:"=C(V.wd2,P(V.cx6,V.wd2,A(V.wd2,V.y1,(-5400000)),true),A(V.wd2,V.y1,V.cd4),true)",cy7:"=C(V.y1,P(V.cy6,V.y1,A(V.wd2,V.y1,(-5400000))),A(V.wd2,V.y1,V.cd4))",cx8:"=C(V.wd2,V.hc,A(V.wd2,V.y1,V.cd2),true)",cy8:"=C(V.y1,V.y1,A(V.wd2,V.y1,V.cd2))"},adjustInfo:[["adj1",8333],["adj2",5e4]],connectionPoints:[{x:V,y:0},{x:0,y:"=V.y3"},{x:V,y:n}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:"maxAdj1",position:{x:"hc",y:"y1"},point:[e,o]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:1e5,position:{x:"l",y:"y3"},point:[0,"=V.y3"]}],path:[[["M",V,n],["E","=V.cx1","=V.cy1","=V.wd2",o,0,"=A(V.wd2,V.y1,V.cd4)","=A(V.wd2,V.y1,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",e,"=V.y4"],["E","=V.cx2","=V.cy2","=V.wd2",o,0,"=A(V.wd2,V.y1,0)","=A(V.wd2,V.y1,(-5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx3","=V.cy3","=V.wd2",o,0,"=A(V.wd2,V.y1,V.cd4)","=A(V.wd2,V.y1,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",e,o],["E","=V.cx4","=V.cy4","=V.wd2",o,0,"=A(V.wd2,V.y1,V.cd2)","=A(V.wd2,V.y1,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M",V,n],["E","=V.cx5","=V.cy5","=V.wd2",o,0,"=A(V.wd2,V.y1,V.cd4)","=A(V.wd2,V.y1,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",e,"=V.y4"],["E","=V.cx6","=V.cy6","=V.wd2",o,0,"=A(V.wd2,V.y1,0)","=A(V.wd2,V.y1,(-5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx7","=V.cy7","=V.wd2",o,0,"=A(V.wd2,V.y1,V.cd4)","=A(V.wd2,V.y1,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",e,o],["E","=V.cx8","=V.cy8","=V.wd2",o,0,"=A(V.wd2,V.y1,V.cd2)","=A(V.wd2,V.y1,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],{fillMode:"none"}]],textRect:{left:"=V.il",top:"=V.it",right:V,bottom:"=V.ib"}},rightBrace:{variables:{adj1:8333,adj2:5e4,a2:"=MIN(MAX(0, V.adj2), 100000)",q1:"=100000 - V.a2",q2:"=MIN(V.q1, V.a2)",q3:"=V.q2 / 2",ss:i,maxAdj1:"=V.q3 * height / V.ss",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",y1:"=V.ss * V.a1 / 100000",y3:"=height * V.a2 / 100000",y2:"=V.y3 - V.y1",b:n,y4:"=height - V.y1",wd2:y,d2r:a,dx1:"=V.wd2 * COS(2700000 / V.d2r)",dy1:"=V.y1 * SIN(2700000 / V.d2r)",l:0,ir:"=V.dx1",it:"=V.y1 - V.dy1",ib:"=height + V.dy1 - V.y1",t:0,r:V,hc:y,_3cd4:x,cd4:u,cx1:"=C(V.wd2,V.l,A(V.wd2,V.y1,V._3cd4),true)",cy1:"=C(V.y1,V.t,A(V.wd2,V.y1,V._3cd4))",cd2:h,cx2:"=C(V.wd2,V.hc,A(V.wd2,V.y1,V.cd2),true)",cy2:"=C(V.y1,V.y2,A(V.wd2,V.y1,V.cd2))",cx3:"=C(V.wd2,P(V.cx2,V.wd2,A(V.wd2,V.y1,(V.cd2 + -5400000)),true),A(V.wd2,V.y1,V._3cd4),true)",cy3:"=C(V.y1,P(V.cy2,V.y1,A(V.wd2,V.y1,(V.cd2 + -5400000))),A(V.wd2,V.y1,V._3cd4))",cx4:"=C(V.wd2,V.hc,A(V.wd2,V.y1,0),true)",cy4:"=C(V.y1,V.y4,A(V.wd2,V.y1,0))",cx5:"=C(V.wd2,V.l,A(V.wd2,V.y1,V._3cd4),true)",cy5:"=C(V.y1,V.t,A(V.wd2,V.y1,V._3cd4))",cx6:"=C(V.wd2,V.hc,A(V.wd2,V.y1,V.cd2),true)",cy6:"=C(V.y1,V.y2,A(V.wd2,V.y1,V.cd2))",cx7:"=C(V.wd2,P(V.cx6,V.wd2,A(V.wd2,V.y1,(V.cd2 + -5400000)),true),A(V.wd2,V.y1,V._3cd4),true)",cy7:"=C(V.y1,P(V.cy6,V.y1,A(V.wd2,V.y1,(V.cd2 + -5400000))),A(V.wd2,V.y1,V._3cd4))",cx8:"=C(V.wd2,V.hc,A(V.wd2,V.y1,0),true)",cy8:"=C(V.y1,V.y4,A(V.wd2,V.y1,0))"},adjustInfo:[["adj1",8333],["adj2",5e4]],connectionPoints:[{x:0,y:0},{x:V,y:"=V.y3"},{x:0,y:n}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:"maxAdj1",position:{x:"hc",y:"y1"},point:[e,o]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:1e5,position:{x:"r",y:"y3"},point:[V,"=V.y3"]}],path:[[["M",0,0],["E","=V.cx1","=V.cy1","=V.wd2",o,0,"=A(V.wd2,V.y1,V._3cd4)","=A(V.wd2,V.y1,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",e,d],["E","=V.cx2","=V.cy2","=V.wd2",o,0,"=A(V.wd2,V.y1,V.cd2)","=A(V.wd2,V.y1,(V.cd2 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx3","=V.cy3","=V.wd2",o,0,"=A(V.wd2,V.y1,V._3cd4)","=A(V.wd2,V.y1,(V._3cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",e,"=V.y4"],["E","=V.cx4","=V.cy4","=V.wd2",o,0,"=A(V.wd2,V.y1,0)","=A(V.wd2,V.y1,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M",0,0],["E","=V.cx5","=V.cy5","=V.wd2",o,0,"=A(V.wd2,V.y1,V._3cd4)","=A(V.wd2,V.y1,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",e,d],["E","=V.cx6","=V.cy6","=V.wd2",o,0,"=A(V.wd2,V.y1,V.cd2)","=A(V.wd2,V.y1,(V.cd2 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx7","=V.cy7","=V.wd2",o,0,"=A(V.wd2,V.y1,V._3cd4)","=A(V.wd2,V.y1,(V._3cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",e,"=V.y4"],["E","=V.cx8","=V.cy8","=V.wd2",o,0,"=A(V.wd2,V.y1,0)","=A(V.wd2,V.y1,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],{fillMode:"none"}]],textRect:{left:0,top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},rightArrow:{variables:{adj1:5e4,adj2:5e4,ss:i,maxAdj2:"=100000 * width / V.ss",a1:"=MIN(MAX(0, V.adj1), 100000)",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",dx1:"=V.ss * V.a2 / 100000",r:V,x1:"=width - V.dx1",dy1:"=height * V.a1 / 200000",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc + V.dy1",hd2:f,dx2:"=V.y1 * V.dx1 / V.hd2",x2:"=V.x1 + V.dx2",t:0,l:0,b:n},adjustInfo:[["adj1",5e4],["adj2",5e4]],connectionPoints:[{x:c,y:0},{x:0,y:r},{x:c,y:n},{x:V,y:r}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:1e5,position:{x:"l",y:"y1"},point:[0,o]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:"maxAdj2",position:{x:"x1",y:"t"},point:[c,0]}],path:[[["M",0,o],["L",c,o],["L",c,0],["L",V,r],["L",c,n],["L",c,d],["L",0,d],["Z"],{}]],textRect:{left:0,top:o,right:s,bottom:d}},leftArrow:{variables:{adj1:5e4,adj2:5e4,ss:i,maxAdj2:"=100000 * width / V.ss",a1:"=MIN(MAX(0, V.adj1), 100000)",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",dx2:"=V.ss * V.a2 / 100000",l:0,x2:"=V.dx2",dy1:"=height * V.a1 / 200000",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc + V.dy1",hd2:f,dx1:"=V.y1 * V.dx2 / V.hd2",x1:"=V.x2 - V.dx1",t:0,b:n,r:V},adjustInfo:[["adj1",5e4],["adj2",5e4]],connectionPoints:[{x:s,y:0},{x:0,y:r},{x:s,y:n},{x:V,y:r}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:1e5,position:{x:"r",y:"y1"},point:[V,o]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:"maxAdj2",position:{x:"x2",y:"t"},point:[s,0]}],path:[[["M",0,r],["L",s,0],["L",s,o],["L",V,o],["L",V,d],["L",s,d],["L",s,n],["Z"],{}]],textRect:{left:c,top:o,right:V,bottom:d}},upArrow:{variables:{adj1:5e4,adj2:5e4,ss:i,maxAdj2:"=100000 * height / V.ss",a1:"=MIN(MAX(0, V.adj1), 100000)",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",dy1:"=V.ss * V.a2 / 100000",b:n,y1:"=height - V.dy1",dx1:"=width * V.a1 / 200000",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc + V.dx1",wd2:y,dy2:"=V.x1 * V.dy1 / V.wd2",y2:"=V.y1 + V.dy2",t:0,l:0,r:V},adjustInfo:[["adj1",5e4],["adj2",5e4]],connectionPoints:[{x:e,y:0},{x:0,y:o},{x:e,y:n},{x:V,y:o}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:1e5,position:{x:"x1",y:"b"},point:[c,n]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:"maxAdj2",position:{x:"l",y:"y1"},point:[0,o]}],path:[[["M",0,o],["L",e,0],["L",V,o],["L",s,o],["L",s,n],["L",c,n],["L",c,o],["Z"],{}]],textRect:{left:c,top:0,right:s,bottom:d}},downArrow:{variables:{adj1:5e4,adj2:5e4,ss:i,maxAdj2:"=100000 * height / V.ss",a1:"=MIN(MAX(0, V.adj1), 100000)",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",dy1:"=V.ss * V.a2 / 100000",b:n,y1:"=height - V.dy1",dx1:"=width * V.a1 / 200000",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc + V.dx1",wd2:y,dy2:"=V.x1 * V.dy1 / V.wd2",y2:"=V.y1 + V.dy2",t:0,l:0,r:V},adjustInfo:[["adj1",5e4],["adj2",5e4]],connectionPoints:[{x:e,y:0},{x:0,y:o},{x:e,y:n},{x:V,y:o}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:1e5,position:{x:"x1",y:"t"},point:[c,0]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:"maxAdj2",position:{x:"l",y:"y1"},point:[0,o]}],path:[[["M",0,o],["L",c,o],["L",c,0],["L",s,0],["L",s,o],["L",V,o],["L",e,n],["Z"],{}]],textRect:{left:c,top:0,right:s,bottom:d}},leftRightArrow:{variables:{adj1:5e4,adj2:5e4,ss:i,maxAdj2:"=50000 * width / V.ss",a1:"=MIN(MAX(0, V.adj1), 100000)",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",x2:"=V.ss * V.a2 / 100000",r:V,x3:"=width - V.x2",dy:"=height * V.a1 / 200000",vc:f,y1:"=V.vc - V.dy",y2:"=V.vc + V.dy",hd2:f,dx1:"=V.y1 * V.x2 / V.hd2",x1:"=V.x2 - V.dx1",x4:"=V.x3 + V.dx1",b:n,l:0,t:0},adjustInfo:[["adj1",5e4],["adj2",5e4]],connectionPoints:[{x:V,y:r},{x:"=V.x3",y:n},{x:s,y:n},{x:0,y:r},{x:s,y:0},{x:"=V.x3",y:0}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:1e5,position:{x:"x3",y:"y1"},point:["=V.x3",o]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:"maxAdj2",position:{x:"x2",y:"t"},point:[s,0]}],path:[[["M",0,r],["L",s,0],["L",s,o],["L","=V.x3",o],["L","=V.x3",0],["L",V,r],["L","=V.x3",n],["L","=V.x3",d],["L",s,d],["L",s,n],["Z"],{}]],textRect:{left:c,top:o,right:"=V.x4",bottom:d}},upDownArrow:{variables:{adj1:5e4,adj2:5e4,ss:i,maxAdj2:"=50000 * height / V.ss",a1:"=MIN(MAX(0, V.adj1), 100000)",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",y2:"=V.ss * V.a2 / 100000",b:n,y3:"=height - V.y2",dx1:"=width * V.a1 / 200000",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc + V.dx1",wd2:y,dy1:"=V.x1 * V.y2 / V.wd2",y1:"=V.y2 - V.dy1",y4:"=V.y3 + V.dy1",t:0,l:0,vc:f,r:V},adjustInfo:[["adj1",5e4],["adj2",5e4]],connectionPoints:[{x:e,y:0},{x:0,y:d},{x:c,y:r},{x:0,y:"=V.y3"},{x:e,y:n},{x:V,y:"=V.y3"},{x:s,y:r},{x:V,y:d}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:1e5,position:{x:"x1",y:"y3"},point:[c,"=V.y3"]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:"maxAdj2",position:{x:"l",y:"y2"},point:[0,d]}],path:[[["M",0,d],["L",e,0],["L",V,d],["L",s,d],["L",s,"=V.y3"],["L",V,"=V.y3"],["L",e,n],["L",0,"=V.y3"],["L",c,"=V.y3"],["L",c,d],["Z"],{}]],textRect:{left:c,top:o,right:s,bottom:"=V.y4"}},quadArrow:{variables:{adj1:22500,adj2:22500,adj3:22500,a2:"=MIN(MAX(0, V.adj2), 50000)",maxAdj1:"=V.a2 * 2",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",q1:"=100000 - V.maxAdj1",maxAdj3:"=V.q1 / 2",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",ss:i,x1:"=V.ss * V.a3 / 100000",dx2:"=V.ss * V.a2 / 100000",hc:y,x2:"=V.hc - V.dx2",x5:"=V.hc + V.dx2",dx3:"=V.ss * V.a1 / 200000",x3:"=V.hc - V.dx3",x4:"=V.hc + V.dx3",r:V,x6:"=width - V.x1",vc:f,y2:"=V.vc - V.dx2",y5:"=V.vc + V.dx2",y3:"=V.vc - V.dx3",y4:"=V.vc + V.dx3",b:n,y6:"=height - V.x1",il:"=V.dx3 * V.x1 / V.dx2",ir:"=width - V.il",t:0,l:0},adjustInfo:[["adj1",22500],["adj2",22500],["adj3",22500]],connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:"maxAdj1",position:{x:"x3",y:"x1"},point:["=V.x3",c]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:5e4,position:{x:"x2",y:"t"},point:[s,0]},{type:"ahXY",gdRefY:"adj3",minY:0,maxY:"maxAdj3",position:{x:"r",y:"x1"},point:[V,c]}],path:[[["M",0,r],["L",c,d],["L",c,"=V.y3"],["L","=V.x3","=V.y3"],["L","=V.x3",c],["L",s,c],["L",e,0],["L","=V.x5",c],["L","=V.x4",c],["L","=V.x4","=V.y3"],["L","=V.x6","=V.y3"],["L","=V.x6",d],["L",V,r],["L","=V.x6","=V.y5"],["L","=V.x6","=V.y4"],["L","=V.x4","=V.y4"],["L","=V.x4","=V.y6"],["L","=V.x5","=V.y6"],["L",e,n],["L",s,"=V.y6"],["L","=V.x3","=V.y6"],["L","=V.x3","=V.y4"],["L",c,"=V.y4"],["L",c,"=V.y5"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.y3",right:"=V.ir",bottom:"=V.y4"}},leftRightUpArrow:{variables:{adj1:25e3,adj2:25e3,adj3:25e3,a2:"=MIN(MAX(0, V.adj2), 50000)",maxAdj1:"=V.a2 * 2",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",q1:"=100000 - V.maxAdj1",maxAdj3:"=V.q1 / 2",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",ss:i,x1:"=V.ss * V.a3 / 100000",dx2:"=V.ss * V.a2 / 100000",hc:y,x2:"=V.hc - V.dx2",x5:"=V.hc + V.dx2",dx3:"=V.ss * V.a1 / 200000",x3:"=V.hc - V.dx3",x4:"=V.hc + V.dx3",r:V,x6:"=width - V.x1",dy2:"=V.ss * V.a2 / 50000",b:n,y2:"=height - V.dy2",y4:"=height - V.dx2",y3:"=V.y4 - V.dx3",y5:"=V.y4 + V.dx3",il:"=V.dx3 * V.x1 / V.dx2",ir:"=width - V.il",t:0,l:0},adjustInfo:[["adj1",25e3],["adj2",25e3],["adj3",25e3]],connectionPoints:[{x:e,y:0},{x:0,y:"=V.y4"},{x:e,y:"=V.y5"},{x:V,y:"=V.y4"}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:"maxAdj1",position:{x:"x3",y:"x1"},point:["=V.x3",c]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:5e4,position:{x:"x2",y:"t"},point:[s,0]},{type:"ahXY",gdRefY:"adj3",minY:0,maxY:"maxAdj3",position:{x:"r",y:"x1"},point:[V,c]}],path:[[["M",0,"=V.y4"],["L",c,d],["L",c,"=V.y3"],["L","=V.x3","=V.y3"],["L","=V.x3",c],["L",s,c],["L",e,0],["L","=V.x5",c],["L","=V.x4",c],["L","=V.x4","=V.y3"],["L","=V.x6","=V.y3"],["L","=V.x6",d],["L",V,"=V.y4"],["L","=V.x6",n],["L","=V.x6","=V.y5"],["L",c,"=V.y5"],["L",c,n],["Z"],{}]],textRect:{left:"=V.il",top:"=V.y3",right:"=V.ir",bottom:"=V.y5"}},bentArrow:{variables:{adj1:25e3,adj2:25e3,adj3:25e3,adj4:43750,a2:"=MIN(MAX(0, V.adj2), 50000)",maxAdj1:"=V.a2 * 2",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",a3:"=MIN(MAX(0, V.adj3), 50000)",ss:i,th:"=V.ss * V.a1 / 100000",aw2:"=V.ss * V.a2 / 100000",th2:"=V.th / 2",dh2:"=V.aw2 - V.th2",ah:"=V.ss * V.a3 / 100000",r:V,bw:"=width - V.ah",b:n,bh:"=height - V.dh2",bs:"=MIN(V.bw, V.bh)",maxAdj4:"=100000 * V.bs / V.ss",a4:"=MIN(MAX(0, V.adj4), V.maxAdj4)",bd:"=V.ss * V.a4 / 100000",bd3:"=V.bd - V.th",bd2:"=MAX(V.bd3, 0)",x3:"=V.th + V.bd2",x4:"=width - V.ah",y3:"=V.dh2 + V.th",y4:"=V.y3 + V.dh2",y5:"=V.dh2 + V.bd",y6:"=V.y3 + V.bd2",t:0,l:0,cd2:h,cd4:u,cx1:"=C(V.bd,V.l,A(V.bd,V.bd,V.cd2),true)",cy1:"=C(V.bd,V.y5,A(V.bd,V.bd,V.cd2))",_3cd4:x,cx2:"=C(V.bd2,V.x3,A(V.bd2,V.bd2,V._3cd4),true)",cy2:"=C(V.bd2,V.y3,A(V.bd2,V.bd2,V._3cd4))"},adjustInfo:[["adj1",25e3],["adj2",25e3],["adj3",25e3],["adj4",43750]],connectionPoints:[{x:"=V.x4",y:0},{x:"=V.x4",y:"=V.y4"},{x:"=V.th2",y:n},{x:V,y:"=V.aw2"}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:"maxAdj1",position:{x:"th",y:"b"},point:["=V.th",n]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:5e4,position:{x:"r",y:"y4"},point:[V,"=V.y4"]},{type:"ahXY",gdRefX:"adj3",minX:0,maxX:5e4,position:{x:"x4",y:"t"},point:["=V.x4",0]},{type:"ahXY",gdRefX:"adj4",minX:0,maxX:"maxAdj4",position:{x:"bd",y:"t"},point:["=V.bd",0]}],path:[[["M",0,n],["L",0,"=V.y5"],["E","=V.cx1","=V.cy1","=V.bd","=V.bd",0,"=A(V.bd,V.bd,V.cd2)","=A(V.bd,V.bd,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x4","=V.dh2"],["L","=V.x4",0],["L",V,"=V.aw2"],["L","=V.x4","=V.y4"],["L","=V.x4","=V.y3"],["L","=V.x3","=V.y3"],["E","=V.cx2","=V.cy2","=V.bd2","=V.bd2",0,"=A(V.bd2,V.bd2,V._3cd4)","=A(V.bd2,V.bd2,(V._3cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.th",n],["Z"],{}]]},uTurnArrow:{variables:{adj1:25e3,adj2:25e3,adj3:25e3,adj4:43750,adj5:75e3,a2:"=MIN(MAX(0, V.adj2), 25000)",maxAdj1:"=V.a2 * 2",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",ss:i,q2:"=V.a1 * V.ss / height",q3:"=100000 - V.q2",maxAdj3:"=V.q3 * height / V.ss",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",q1:"=V.a3 + V.a1",minAdj5:"=V.q1 * V.ss / height",a5:"=MIN(MAX(V.minAdj5, V.adj5), 100000)",th:"=V.ss * V.a1 / 100000",aw2:"=V.ss * V.a2 / 100000",th2:"=V.th / 2",dh2:"=V.aw2 - V.th2",y5:"=height * V.a5 / 100000",ah:"=V.ss * V.a3 / 100000",y4:"=V.y5 - V.ah",r:V,x9:"=width - V.dh2",bw:"=V.x9 / 2",bs:"=MIN(V.bw, V.y4)",maxAdj4:"=V.bs * 100000 / V.ss",a4:"=MIN(MAX(0, V.adj4), V.maxAdj4)",bd:"=V.ss * V.a4 / 100000",bd3:"=V.bd - V.th",bd2:"=MAX(V.bd3, 0)",x3:"=V.th + V.bd2",x8:"=width - V.aw2",x6:"=V.x8 - V.aw2",x7:"=V.x6 + V.dh2",x4:"=V.x9 - V.bd",x5:"=V.x7 - V.bd2",cx:"=(V.th + V.x7) / 2",t:0,b:n,l:0,cd2:h,cd4:u,cx1:"=C(V.bd,V.l,A(V.bd,V.bd,V.cd2),true)",cy1:"=C(V.bd,V.bd,A(V.bd,V.bd,V.cd2))",_3cd4:x,cx2:"=C(V.bd,V.x4,A(V.bd,V.bd,V._3cd4),true)",cy2:"=C(V.bd,V.t,A(V.bd,V.bd,V._3cd4))",cx3:"=C(V.bd2,V.x7,A(V.bd2,V.bd2,0),true)",cy3:"=C(V.bd2,V.x3,A(V.bd2,V.bd2,0))",cx4:"=C(V.bd2,V.x3,A(V.bd2,V.bd2,V._3cd4),true)",cy4:"=C(V.bd2,V.th,A(V.bd2,V.bd2,V._3cd4))"},adjustInfo:[["adj1",25e3],["adj2",25e3],["adj3",25e3],["adj4",43750],["adj5",75e3]],connectionPoints:[{x:"=V.x6",y:"=V.y4"},{x:"=V.x8",y:"=V.y5"},{x:V,y:"=V.y4"},{x:"=V.cx",y:0},{x:"=V.th2",y:n}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:"maxAdj1",position:{x:"th",y:"b"},point:["=V.th",n]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:25e3,position:{x:"x6",y:"b"},point:["=V.x6",n]},{type:"ahXY",gdRefY:"adj3",minY:0,maxY:"maxAdj3",position:{x:"x6",y:"y4"},point:["=V.x6","=V.y4"]},{type:"ahXY",gdRefX:"adj4",minX:0,maxX:"maxAdj4",position:{x:"bd",y:"t"},point:["=V.bd",0]},{type:"ahXY",gdRefY:"adj5",minY:"minAdj5",maxY:1e5,position:{x:"r",y:"y5"},point:[V,"=V.y5"]}],path:[[["M",0,n],["L",0,"=V.bd"],["E","=V.cx1","=V.cy1","=V.bd","=V.bd",0,"=A(V.bd,V.bd,V.cd2)","=A(V.bd,V.bd,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x4",0],["E","=V.cx2","=V.cy2","=V.bd","=V.bd",0,"=A(V.bd,V.bd,V._3cd4)","=A(V.bd,V.bd,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x9","=V.y4"],["L",V,"=V.y4"],["L","=V.x8","=V.y5"],["L","=V.x6","=V.y4"],["L","=V.x7","=V.y4"],["L","=V.x7","=V.x3"],["E","=V.cx3","=V.cy3","=V.bd2","=V.bd2",0,"=A(V.bd2,V.bd2,0)","=A(V.bd2,V.bd2,(-5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.x3","=V.th"],["E","=V.cx4","=V.cy4","=V.bd2","=V.bd2",0,"=A(V.bd2,V.bd2,V._3cd4)","=A(V.bd2,V.bd2,(V._3cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.th",n],["Z"],{}]]},leftUpArrow:{variables:{adj1:25e3,adj2:25e3,adj3:25e3,a2:"=MIN(MAX(0, V.adj2), 50000)",maxAdj1:"=V.a2 * 2",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",maxAdj3:"=100000 - V.maxAdj1",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",ss:i,x1:"=V.ss * V.a3 / 100000",dx2:"=V.ss * V.a2 / 50000",r:V,x2:"=width - V.dx2",b:n,y2:"=height - V.dx2",dx4:"=V.ss * V.a2 / 100000",x4:"=width - V.dx4",y4:"=height - V.dx4",dx3:"=V.ss * V.a1 / 200000",x3:"=V.x4 - V.dx3",x5:"=V.x4 + V.dx3",y3:"=V.y4 - V.dx3",y5:"=V.y4 + V.dx3",il:"=V.dx3 * V.x1 / V.dx4",cx1:"=(V.x1 + V.x5) / 2",cy1:"=(V.x1 + V.y5) / 2",t:0,l:0},adjustInfo:[["adj1",25e3],["adj2",25e3],["adj3",25e3]],connectionPoints:[{x:"=V.x4",y:0},{x:s,y:c},{x:c,y:d},{x:0,y:"=V.y4"},{x:c,y:n},{x:"=V.cx1",y:"=V.y5"},{x:"=V.x5",y:"=V.cy1"},{x:V,y:c}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:"maxAdj1",position:{x:"x3",y:"y3"},point:["=V.x3","=V.y3"]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:5e4,position:{x:"x2",y:"t"},point:[s,0]},{type:"ahXY",gdRefY:"adj3",minY:0,maxY:"maxAdj3",position:{x:"x3",y:"x1"},point:["=V.x3",c]}],path:[[["M",0,"=V.y4"],["L",c,d],["L",c,"=V.y3"],["L","=V.x3","=V.y3"],["L","=V.x3",c],["L",s,c],["L","=V.x4",0],["L",V,c],["L","=V.x5",c],["L","=V.x5","=V.y5"],["L",c,"=V.y5"],["L",c,n],["Z"],{}]],textRect:{left:"=V.il",top:"=V.y3",right:"=V.x4",bottom:"=V.y5"}},bentUpArrow:{variables:{adj1:25e3,adj2:25e3,adj3:25e3,a1:"=MIN(MAX(0, V.adj1), 50000)",a2:"=MIN(MAX(0, V.adj2), 50000)",a3:"=MIN(MAX(0, V.adj3), 50000)",ss:i,y1:"=V.ss * V.a3 / 100000",dx1:"=V.ss * V.a2 / 50000",r:V,x1:"=width - V.dx1",dx3:"=V.ss * V.a2 / 100000",x3:"=width - V.dx3",dx2:"=V.ss * V.a1 / 200000",x2:"=V.x3 - V.dx2",x4:"=V.x3 + V.dx2",dy2:"=V.ss * V.a1 / 100000",b:n,y2:"=height - V.dy2",x0:"=V.x4 / 2",y3:"=(V.y2 + V.b) / 2",y15:"=(V.y1 + V.b) / 2",t:0,l:0},adjustInfo:[["adj1",25e3],["adj2",25e3],["adj3",25e3]],connectionPoints:[{x:"=V.x3",y:0},{x:c,y:o},{x:0,y:"=V.y3"},{x:"=V.x0",y:n},{x:"=V.x4",y:"=V.y15"},{x:V,y:o}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:5e4,position:{x:"l",y:"y2"},point:[0,d]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[c,0]},{type:"ahXY",gdRefY:"adj3",minY:0,maxY:5e4,position:{x:"x2",y:"y1"},point:[s,o]}],path:[[["M",0,d],["L",s,d],["L",s,o],["L",c,o],["L","=V.x3",0],["L",V,o],["L","=V.x4",o],["L","=V.x4",n],["L",0,n],["Z"],{}]],textRect:{left:0,top:d,right:"=V.x4",bottom:n}},curvedRightArrow:{variables:{adj1:25e3,adj2:5e4,adj3:25e3,ss:i,maxAdj2:"=50000 * height / V.ss",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",a1:"=MIN(MAX(0, V.adj1), V.a2)",th:"=V.ss * V.a1 / 100000",aw:"=V.ss * V.a2 / 100000",q1:"=(V.th + V.aw) / 4",hd2:f,hR:"=V.hd2 - V.q1",q7:"=V.hR * 2",q8:"=V.q7 * V.q7",q9:"=V.th * V.th",q10:"=V.q8 - V.q9",q11:"=SQRT(V.q10)",idx:"=V.q11 * width / V.q7",maxAdj3:"=100000 * V.idx / V.ss",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",ah:"=V.ss * V.a3 / 100000",y3:"=V.hR + V.th",q2:"=width * width",q3:"=V.ah * V.ah",q4:"=V.q2 - V.q3",q5:"=SQRT(V.q4)",dy:"=V.q5 * V.hR / width",y5:"=V.hR + V.dy",y7:"=V.y3 + V.dy",q6:"=V.aw - V.th",dh:"=V.q6 / 2",y4:"=V.y5 - V.dh",y8:"=V.y7 + V.dh",aw2:"=V.aw / 2",b:n,y6:"=height - V.aw2",r:V,x1:"=width - V.ah",d2r:a,swAng:"=(ATAN2(V.ah,V.dy) * V.d2r)",cd2:h,stAng:"=V.cd2 - V.swAng",mswAng:"=0 - V.swAng",ix:"=width - V.idx",iy:"=(V.hR + V.y3) / 2",q12:"=V.th / 2",dang2:"=(ATAN2(V.idx,V.q12) * V.d2r)",cd4:u,swAng2:"=V.dang2 - V.cd4",swAng3:"=V.cd4 + V.dang2",stAng3:"=V.cd2 - V.dang2",l:0,cx1:"=C(width,V.l,A(width,V.hR,V.cd2),true)",cy1:"=C(V.hR,V.hR,A(width,V.hR,V.cd2))",cx2:"=C(width,V.x1,A(width,V.hR,V.stAng),true)",cy2:"=C(V.hR,V.y7,A(width,V.hR,V.stAng))",_3cd4:x,cx3:"=C(width,V.r,A(width,V.hR,V._3cd4),true)",cy3:"=C(V.hR,V.th,A(width,V.hR,V._3cd4))",cx4:"=C(width,P(V.cx3,width,A(width,V.hR,(V._3cd4 + V.swAng2)),true),A(width,V.hR,V.stAng3),true)",cy4:"=C(V.hR,P(V.cy3,V.hR,A(width,V.hR,(V._3cd4 + V.swAng2))),A(width,V.hR,V.stAng3))",cx5:"=C(width,V.l,A(width,V.hR,V.cd2),true)",cy5:"=C(V.hR,V.hR,A(width,V.hR,V.cd2))",cx6:"=C(width,V.x1,A(width,V.hR,V.stAng),true)",cy6:"=C(V.hR,V.y7,A(width,V.hR,V.stAng))",cx7:"=C(width,V.l,A(width,V.hR,V.cd2),true)",cy7:"=C(V.hR,V.hR,A(width,V.hR,V.cd2))",cx8:"=C(width,V.r,A(width,V.hR,V._3cd4),true)",cy8:"=C(V.hR,V.th,A(width,V.hR,V._3cd4))"},adjustInfo:[["adj1",25e3],["adj2",5e4],["adj3",25e3]],connectionPoints:[{x:0,y:"=V.iy"},{x:c,y:"=V.y8"},{x:V,y:"=V.y6"},{x:c,y:"=V.y4"},{x:V,y:"=V.q12"}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:"a2",position:{x:"x1",y:"y5"},point:[c,"=V.y5"]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:"maxAdj2",position:{x:"r",y:"y4"},point:[V,"=V.y4"]},{type:"ahXY",gdRefX:"adj3",minX:0,maxX:"maxAdj3",position:{x:"x1",y:"b"},point:[c,n]}],path:[[["M",0,"=V.hR"],["E","=V.cx1","=V.cy1",V,"=V.hR",0,"=A(width,V.hR,V.cd2)","=A(width,V.hR,(V.cd2 + V.mswAng))","=IF(V.mswAng > 0, FALSE, TRUE)"],["L",c,"=V.y4"],["L",V,"=V.y6"],["L",c,"=V.y8"],["L",c,"=V.y7"],["E","=V.cx2","=V.cy2",V,"=V.hR",0,"=A(width,V.hR,V.stAng)","=A(width,V.hR,(V.stAng + V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M",V,"=V.th"],["E","=V.cx3","=V.cy3",V,"=V.hR",0,"=A(width,V.hR,V._3cd4)","=A(width,V.hR,(V._3cd4 + V.swAng2))","=IF(V.swAng2 > 0, FALSE, TRUE)"],["E","=V.cx4","=V.cy4",V,"=V.hR",0,"=A(width,V.hR,V.stAng3)","=A(width,V.hR,(V.stAng3 + V.swAng3))","=IF(V.swAng3 > 0, FALSE, TRUE)"],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M",0,"=V.hR"],["E","=V.cx5","=V.cy5",V,"=V.hR",0,"=A(width,V.hR,V.cd2)","=A(width,V.hR,(V.cd2 + V.mswAng))","=IF(V.mswAng > 0, FALSE, TRUE)"],["L",c,"=V.y4"],["L",V,"=V.y6"],["L",c,"=V.y8"],["L",c,"=V.y7"],["E","=V.cx6","=V.cy6",V,"=V.hR",0,"=A(width,V.hR,V.stAng)","=A(width,V.hR,(V.stAng + V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["L",0,"=V.hR"],["E","=V.cx7","=V.cy7",V,"=V.hR",0,"=A(width,V.hR,V.cd2)","=A(width,V.hR,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",V,"=V.th"],["E","=V.cx8","=V.cy8",V,"=V.hR",0,"=A(width,V.hR,V._3cd4)","=A(width,V.hR,(V._3cd4 + V.swAng2))","=IF(V.swAng2 > 0, FALSE, TRUE)"],{fillMode:"none"}]]},curvedLeftArrow:{variables:{adj1:25e3,adj2:5e4,adj3:25e3,ss:i,maxAdj2:"=50000 * height / V.ss",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",a1:"=MIN(MAX(0, V.adj1), V.a2)",th:"=V.ss * V.a1 / 100000",aw:"=V.ss * V.a2 / 100000",q1:"=(V.th + V.aw) / 4",hd2:f,hR:"=V.hd2 - V.q1",q7:"=V.hR * 2",q8:"=V.q7 * V.q7",q9:"=V.th * V.th",q10:"=V.q8 - V.q9",q11:"=SQRT(V.q10)",idx:"=V.q11 * width / V.q7",maxAdj3:"=100000 * V.idx / V.ss",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",ah:"=V.ss * V.a3 / 100000",y3:"=V.hR + V.th",q2:"=width * width",q3:"=V.ah * V.ah",q4:"=V.q2 - V.q3",q5:"=SQRT(V.q4)",dy:"=V.q5 * V.hR / width",y5:"=V.hR + V.dy",y7:"=V.y3 + V.dy",q6:"=V.aw - V.th",dh:"=V.q6 / 2",y4:"=V.y5 - V.dh",y8:"=V.y7 + V.dh",aw2:"=V.aw / 2",b:n,y6:"=height - V.aw2",l:0,x1:"=V.ah",d2r:a,swAng:"=(ATAN2(V.ah,V.dy) * V.d2r)",mswAng:"=0 - V.swAng",ix:"=V.idx",iy:"=(V.hR + V.y3) / 2",q12:"=V.th / 2",dang2:"=(ATAN2(V.idx,V.q12) * V.d2r)",swAng2:"=V.dang2 - V.swAng",swAng3:"=V.swAng + V.dang2",stAng3:"=0 - V.dang2",r:V,cx1:"=C(width,V.x1,A(width,V.hR,V.swAng),true)",cy1:"=C(V.hR,V.y5,A(width,V.hR,V.swAng))",cx2:"=C(width,P(V.cx1,width,A(width,V.hR,(V.swAng + V.swAng2)),true),A(width,V.hR,V.stAng3),true)",cy2:"=C(V.hR,P(V.cy1,V.hR,A(width,V.hR,(V.swAng + V.swAng2))),A(width,V.hR,V.stAng3))",cx3:"=C(width,V.r,A(width,V.hR,0),true)",cy3:"=C(V.hR,V.y3,A(width,V.hR,0))",t:0,_3cd4:x,cd4:u,cx4:"=C(width,V.l,A(width,V.hR,V._3cd4),true)",cy4:"=C(V.hR,V.t,A(width,V.hR,V._3cd4))",cx5:"=C(width,V.r,A(width,V.hR,0),true)",cy5:"=C(V.hR,V.y3,A(width,V.hR,0))",cx6:"=C(width,V.l,A(width,V.hR,V._3cd4),true)",cy6:"=C(V.hR,V.t,A(width,V.hR,V._3cd4))",cx7:"=C(width,V.r,A(width,V.hR,0),true)",cy7:"=C(V.hR,V.y3,A(width,V.hR,0))",cx8:"=C(width,V.x1,A(width,V.hR,V.swAng),true)",cy8:"=C(V.hR,V.y5,A(width,V.hR,V.swAng))"},adjustInfo:[["adj1",25e3],["adj2",5e4],["adj3",25e3]],connectionPoints:[{x:0,y:"=V.q12"},{x:c,y:"=V.y4"},{x:0,y:"=V.y6"},{x:c,y:"=V.y8"},{x:V,y:"=V.iy"}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:"a2",position:{x:"x1",y:"y5"},point:[c,"=V.y5"]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:"maxAdj2",position:{x:"r",y:"y4"},point:[V,"=V.y4"]},{type:"ahXY",gdRefX:"adj3",minX:0,maxX:"maxAdj3",position:{x:"x1",y:"b"},point:[c,n]}],path:[[["M",0,"=V.y6"],["L",c,"=V.y4"],["L",c,"=V.y5"],["E","=V.cx1","=V.cy1",V,"=V.hR",0,"=A(width,V.hR,V.swAng)","=A(width,V.hR,(V.swAng + V.swAng2))","=IF(V.swAng2 > 0, FALSE, TRUE)"],["E","=V.cx2","=V.cy2",V,"=V.hR",0,"=A(width,V.hR,V.stAng3)","=A(width,V.hR,(V.stAng3 + V.swAng3))","=IF(V.swAng3 > 0, FALSE, TRUE)"],["L",c,"=V.y8"],["Z"],{strokeMode:"false"}],[["M",V,"=V.y3"],["E","=V.cx3","=V.cy3",V,"=V.hR",0,"=A(width,V.hR,0)","=A(width,V.hR,(-5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",0,0],["E","=V.cx4","=V.cy4",V,"=V.hR",0,"=A(width,V.hR,V._3cd4)","=A(width,V.hR,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M",V,"=V.y3"],["E","=V.cx5","=V.cy5",V,"=V.hR",0,"=A(width,V.hR,0)","=A(width,V.hR,(-5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",0,0],["E","=V.cx6","=V.cy6",V,"=V.hR",0,"=A(width,V.hR,V._3cd4)","=A(width,V.hR,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",V,"=V.y3"],["E","=V.cx7","=V.cy7",V,"=V.hR",0,"=A(width,V.hR,0)","=A(width,V.hR,(V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["L",c,"=V.y8"],["L",0,"=V.y6"],["L",c,"=V.y4"],["L",c,"=V.y5"],["E","=V.cx8","=V.cy8",V,"=V.hR",0,"=A(width,V.hR,V.swAng)","=A(width,V.hR,(V.swAng + V.swAng2))","=IF(V.swAng2 > 0, FALSE, TRUE)"],{fillMode:"none"}]]},curvedUpArrow:{variables:{adj1:25e3,adj2:5e4,adj3:25e3,ss:i,maxAdj2:"=50000 * width / V.ss",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",a1:"=MIN(MAX(0, V.adj1), 100000)",th:"=V.ss * V.a1 / 100000",aw:"=V.ss * V.a2 / 100000",q1:"=(V.th + V.aw) / 4",wd2:y,wR:"=V.wd2 - V.q1",q7:"=V.wR * 2",q8:"=V.q7 * V.q7",q9:"=V.th * V.th",q10:"=V.q8 - V.q9",q11:"=SQRT(V.q10)",idy:"=V.q11 * height / V.q7",maxAdj3:"=100000 * V.idy / V.ss",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",ah:"=V.ss * V.adj3 / 100000",x3:"=V.wR + V.th",q2:"=height * height",q3:"=V.ah * V.ah",q4:"=V.q2 - V.q3",q5:"=SQRT(V.q4)",dx:"=V.q5 * V.wR / height",x5:"=V.wR + V.dx",x7:"=V.x3 + V.dx",q6:"=V.aw - V.th",dh:"=V.q6 / 2",x4:"=V.x5 - V.dh",x8:"=V.x7 + V.dh",aw2:"=V.aw / 2",r:V,x6:"=width - V.aw2",t:0,y1:"=V.ah",d2r:a,swAng:"=(ATAN2(V.ah,V.dx) * V.d2r)",mswAng:"=0 - V.swAng",iy:"=V.idy",ix:"=(V.wR + V.x3) / 2",q12:"=V.th / 2",dang2:"=(ATAN2(V.idy,V.q12) * V.d2r)",swAng2:"=V.dang2 - V.swAng",mswAng2:"=0 - V.swAng2",cd4:u,stAng3:"=V.cd4 - V.swAng",swAng3:"=V.swAng + V.dang2",stAng2:"=V.cd4 - V.dang2",b:n,cx1:"=C(V.wR,V.x7,A(V.wR,height,V.stAng3),true)",cy1:"=C(height,V.y1,A(V.wR,height,V.stAng3))",cx2:"=C(V.wR,P(V.cx1,V.wR,A(V.wR,height,(V.stAng3 + V.swAng3)),true),A(V.wR,height,V.stAng2),true)",cy2:"=C(height,P(V.cy1,height,A(V.wR,height,(V.stAng3 + V.swAng3))),A(V.wR,height,V.stAng2))",cx3:"=C(V.wR,V.wR,A(V.wR,height,V.cd4),true)",cy3:"=C(height,V.b,A(V.wR,height,V.cd4))",cd2:h,cx4:"=C(V.wR,V.th,A(V.wR,height,V.cd2),true)",cy4:"=C(height,V.t,A(V.wR,height,V.cd2))",cx5:"=C(V.wR,V.ix,A(V.wR,height,V.stAng2),true)",cy5:"=C(height,V.iy,A(V.wR,height,V.stAng2))",cx6:"=C(V.wR,V.x7,A(V.wR,height,V.stAng3),true)",cy6:"=C(height,V.y1,A(V.wR,height,V.stAng3))",cx7:"=C(V.wR,V.wR,A(V.wR,height,V.cd4),true)",cy7:"=C(height,V.b,A(V.wR,height,V.cd4))",cx8:"=C(V.wR,V.th,A(V.wR,height,V.cd2),true)",cy8:"=C(height,V.t,A(V.wR,height,V.cd2))"},adjustInfo:[["adj1",25e3],["adj2",5e4],["adj3",25e3]],connectionPoints:[{x:"=V.x6",y:0},{x:"=V.x4",y:o},{x:"=V.q12",y:0},{x:"=V.ix",y:n},{x:"=V.x8",y:o}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:"a2",position:{x:"x7",y:"y1"},point:["=V.x7",o]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:"maxAdj2",position:{x:"x4",y:"t"},point:["=V.x4",0]},{type:"ahXY",gdRefY:"adj3",minY:0,maxY:"maxAdj3",position:{x:"r",y:"y1"},point:[V,o]}],path:[[["M","=V.x6",0],["L","=V.x8",o],["L","=V.x7",o],["E","=V.cx1","=V.cy1","=V.wR",n,0,"=A(V.wR,height,V.stAng3)","=A(V.wR,height,(V.stAng3 + V.swAng3))","=IF(V.swAng3 > 0, FALSE, TRUE)"],["E","=V.cx2","=V.cy2","=V.wR",n,0,"=A(V.wR,height,V.stAng2)","=A(V.wR,height,(V.stAng2 + V.swAng2))","=IF(V.swAng2 > 0, FALSE, TRUE)"],["L","=V.x4",o],["Z"],{strokeMode:"false"}],[["M","=V.wR",n],["E","=V.cx3","=V.cy3","=V.wR",n,0,"=A(V.wR,height,V.cd4)","=A(V.wR,height,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.th",0],["E","=V.cx4","=V.cy4","=V.wR",n,0,"=A(V.wR,height,V.cd2)","=A(V.wR,height,(V.cd2 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M","=V.ix","=V.iy"],["E","=V.cx5","=V.cy5","=V.wR",n,0,"=A(V.wR,height,V.stAng2)","=A(V.wR,height,(V.stAng2 + V.swAng2))","=IF(V.swAng2 > 0, FALSE, TRUE)"],["L","=V.x4",o],["L","=V.x6",0],["L","=V.x8",o],["L","=V.x7",o],["E","=V.cx6","=V.cy6","=V.wR",n,0,"=A(V.wR,height,V.stAng3)","=A(V.wR,height,(V.stAng3 + V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["L","=V.wR",n],["E","=V.cx7","=V.cy7","=V.wR",n,0,"=A(V.wR,height,V.cd4)","=A(V.wR,height,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.th",0],["E","=V.cx8","=V.cy8","=V.wR",n,0,"=A(V.wR,height,V.cd2)","=A(V.wR,height,(V.cd2 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],{fillMode:"none"}]]},curvedDownArrow:{variables:{adj1:25e3,adj2:5e4,adj3:25e3,ss:i,maxAdj2:"=50000 * width / V.ss",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",a1:"=MIN(MAX(0, V.adj1), 100000)",th:"=V.ss * V.a1 / 100000",aw:"=V.ss * V.a2 / 100000",q1:"=(V.th + V.aw) / 4",wd2:y,wR:"=V.wd2 - V.q1",q7:"=V.wR * 2",q8:"=V.q7 * V.q7",q9:"=V.th * V.th",q10:"=V.q8 - V.q9",q11:"=SQRT(V.q10)",idy:"=V.q11 * height / V.q7",maxAdj3:"=100000 * V.idy / V.ss",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",ah:"=V.ss * V.adj3 / 100000",x3:"=V.wR + V.th",q2:"=height * height",q3:"=V.ah * V.ah",q4:"=V.q2 - V.q3",q5:"=SQRT(V.q4)",dx:"=V.q5 * V.wR / height",x5:"=V.wR + V.dx",x7:"=V.x3 + V.dx",q6:"=V.aw - V.th",dh:"=V.q6 / 2",x4:"=V.x5 - V.dh",x8:"=V.x7 + V.dh",aw2:"=V.aw / 2",r:V,x6:"=width - V.aw2",b:n,y1:"=height - V.ah",d2r:a,swAng:"=(ATAN2(V.ah,V.dx) * V.d2r)",mswAng:"=0 - V.swAng",iy:"=height - V.idy",ix:"=(V.wR + V.x3) / 2",q12:"=V.th / 2",dang2:"=(ATAN2(V.idy,V.q12) * V.d2r)",_3cd4:x,stAng:"=V._3cd4 + V.swAng",stAng2:"=V._3cd4 - V.dang2",cd4:u,swAng2:"=V.dang2 - V.cd4",swAng3:"=V.cd4 + V.dang2",t:0,cx1:"=C(V.wR,V.x5,A(V.wR,height,V.stAng),true)",cy1:"=C(height,V.y1,A(V.wR,height,V.stAng))",cx2:"=C(V.wR,V.x3,A(V.wR,height,V._3cd4),true)",cy2:"=C(height,V.t,A(V.wR,height,V._3cd4))",cx3:"=C(V.wR,V.ix,A(V.wR,height,V.stAng2),true)",cy3:"=C(height,V.iy,A(V.wR,height,V.stAng2))",l:0,cd2:h,cx4:"=C(V.wR,V.l,A(V.wR,height,V.cd2),true)",cy4:"=C(height,V.b,A(V.wR,height,V.cd2))",cx5:"=C(V.wR,V.ix,A(V.wR,height,V.stAng2),true)",cy5:"=C(height,V.iy,A(V.wR,height,V.stAng2))",cx6:"=C(V.wR,V.l,A(V.wR,height,V.cd2),true)",cy6:"=C(height,V.b,A(V.wR,height,V.cd2))",cx7:"=C(V.wR,V.x3,A(V.wR,height,V._3cd4),true)",cy7:"=C(height,V.t,A(V.wR,height,V._3cd4))",cx8:"=C(V.wR,V.x5,A(V.wR,height,V.stAng),true)",cy8:"=C(height,V.y1,A(V.wR,height,V.stAng))"},adjustInfo:[["adj1",25e3],["adj2",5e4],["adj3",25e3]],connectionPoints:[{x:"=V.ix",y:0},{x:"=V.q12",y:n},{x:"=V.x4",y:o},{x:"=V.x6",y:n},{x:"=V.x8",y:o}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:"adj2",position:{x:"x7",y:"y1"},point:["=V.x7",o]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:"maxAdj2",position:{x:"x4",y:"b"},point:["=V.x4",n]},{type:"ahXY",gdRefY:"adj3",minY:0,maxY:"maxAdj3",position:{x:"r",y:"y1"},point:[V,o]}],path:[[["M","=V.x6",n],["L","=V.x4",o],["L","=V.x5",o],["E","=V.cx1","=V.cy1","=V.wR",n,0,"=A(V.wR,height,V.stAng)","=A(V.wR,height,(V.stAng + V.mswAng))","=IF(V.mswAng > 0, FALSE, TRUE)"],["L","=V.x3",0],["E","=V.cx2","=V.cy2","=V.wR",n,0,"=A(V.wR,height,V._3cd4)","=A(V.wR,height,(V._3cd4 + V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["L","=V.x8",o],["Z"],{strokeMode:"false"}],[["M","=V.ix","=V.iy"],["E","=V.cx3","=V.cy3","=V.wR",n,0,"=A(V.wR,height,V.stAng2)","=A(V.wR,height,(V.stAng2 + V.swAng2))","=IF(V.swAng2 > 0, FALSE, TRUE)"],["L",0,n],["E","=V.cx4","=V.cy4","=V.wR",n,0,"=A(V.wR,height,V.cd2)","=A(V.wR,height,(V.cd2 + V.swAng3))","=IF(V.swAng3 > 0, FALSE, TRUE)"],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M","=V.ix","=V.iy"],["E","=V.cx5","=V.cy5","=V.wR",n,0,"=A(V.wR,height,V.stAng2)","=A(V.wR,height,(V.stAng2 + V.swAng2))","=IF(V.swAng2 > 0, FALSE, TRUE)"],["L",0,n],["E","=V.cx6","=V.cy6","=V.wR",n,0,"=A(V.wR,height,V.cd2)","=A(V.wR,height,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x3",0],["E","=V.cx7","=V.cy7","=V.wR",n,0,"=A(V.wR,height,V._3cd4)","=A(V.wR,height,(V._3cd4 + V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["L","=V.x8",o],["L","=V.x6",n],["L","=V.x4",o],["L","=V.x5",o],["E","=V.cx8","=V.cy8","=V.wR",n,0,"=A(V.wR,height,V.stAng)","=A(V.wR,height,(V.stAng + V.mswAng))","=IF(V.mswAng > 0, FALSE, TRUE)"],{fillMode:"none"}]]},stripedRightArrow:{variables:{adj1:5e4,adj2:5e4,ss:i,maxAdj2:"=84375 * width / V.ss",a1:"=MIN(MAX(0, V.adj1), 100000)",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",x4:"=V.ss * 5 / 32",dx5:"=V.ss * V.a2 / 100000",r:V,x5:"=width - V.dx5",dy1:"=height * V.a1 / 200000",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc + V.dy1",hd2:f,dx6:"=V.dy1 * V.dx5 / V.hd2",x6:"=width - V.dx6",t:0,l:0,b:n,ssd32:"=V.ss / 32",ssd16:"=V.ss / 16",ssd8:"=V.ss / 8"},adjustInfo:[["adj1",5e4],["adj2",5e4]],connectionPoints:[{x:"=V.x5",y:0},{x:0,y:r},{x:"=V.x5",y:n},{x:V,y:r}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:1e5,position:{x:"l",y:"y1"},point:[0,o]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:"maxAdj2",position:{x:"x5",y:"t"},point:["=V.x5",0]}],path:[[["M",0,o],["L","=V.ssd32",o],["L","=V.ssd32",d],["L",0,d],["Z"],["M","=V.ssd16",o],["L","=V.ssd8",o],["L","=V.ssd8",d],["L","=V.ssd16",d],["Z"],["M","=V.x4",o],["L","=V.x5",o],["L","=V.x5",0],["L",V,r],["L","=V.x5",n],["L","=V.x5",d],["L","=V.x4",d],["Z"],{}]],textRect:{left:"=V.x4",top:o,right:"=V.x6",bottom:d}},notchedRightArrow:{variables:{adj1:5e4,adj2:5e4,ss:i,maxAdj2:"=100000 * width / V.ss",a1:"=MIN(MAX(0, V.adj1), 100000)",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",dx2:"=V.ss * V.a2 / 100000",r:V,x2:"=width - V.dx2",dy1:"=height * V.a1 / 200000",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc + V.dy1",hd2:f,x1:"=V.dy1 * V.dx2 / V.hd2",x3:"=width - V.x1",t:0,b:n,l:0},adjustInfo:[["adj1",5e4],["adj2",5e4]],connectionPoints:[{x:s,y:0},{x:c,y:r},{x:s,y:n},{x:V,y:r}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:1e5,position:{x:"r",y:"y1"},point:[V,o]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:"maxAdj2",position:{x:"x2",y:"t"},point:[s,0]}],path:[[["M",0,o],["L",s,o],["L",s,0],["L",V,r],["L",s,n],["L",s,d],["L",0,d],["L",c,r],["Z"],{}]],textRect:{left:c,top:o,right:"=V.x3",bottom:d}},pentagon:{variables:{adj:5e4,ss:i,maxAdj:"=100000 * width / V.ss",a:"=MIN(MAX(0, V.adj), V.maxAdj)",dx1:"=V.ss * V.a / 100000",r:V,x1:"=width - V.dx1",ir:"=(V.x1 + V.r) / 2",x2:"=V.x1 / 2",t:0,l:0,vc:f,b:n},adjustInfo:[["adj",5e4]],connectionPoints:[{x:s,y:0},{x:0,y:r},{x:c,y:n},{x:V,y:r}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:"maxAdj",position:{x:"x1",y:"t"},point:[c,0]}],path:[[["M",0,0],["L",c,0],["L",V,r],["L",c,n],["L",0,n],["Z"],{}]],textRect:{left:0,top:0,right:"=V.ir",bottom:n}},chevron:{variables:{adj:5e4,ss:i,maxAdj:"=100000 * width / V.ss",a:"=MIN(MAX(0, V.adj), V.maxAdj)",x1:"=V.ss * V.a / 100000",r:V,x2:"=width - V.x1",x3:"=V.x2 / 2",dx:"=V.x2 - V.x1",l:0,il:"=IF(V.dx > 0, V.x1, V.l)",ir:"=IF(V.dx > 0, V.x2, V.r)",t:0,vc:f,b:n},adjustInfo:[["adj",5e4]],connectionPoints:[{x:"=V.x3",y:0},{x:c,y:r},{x:"=V.x3",y:n},{x:V,y:r}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:"maxAdj",position:{x:"x2",y:"t"},point:[s,0]}],path:[[["M",0,0],["L",s,0],["L",V,r],["L",s,n],["L",0,n],["L",c,r],["Z"],{}]],textRect:{left:"=V.il",top:0,right:"=V.ir",bottom:n}},rightArrowCallout:{variables:{adj1:25e3,adj2:25e3,adj3:25e3,adj4:64977,ss:i,maxAdj2:"=50000 * height / V.ss",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",maxAdj1:"=V.a2 * 2",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",maxAdj3:"=100000 * width / V.ss",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",q2:"=V.a3 * V.ss / width",maxAdj4:"=100000 - V.q2",a4:"=MIN(MAX(0, V.adj4), V.maxAdj4)",dy1:"=V.ss * V.a2 / 100000",dy2:"=V.ss * V.a1 / 200000",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc - V.dy2",y3:"=V.vc + V.dy2",y4:"=V.vc + V.dy1",dx3:"=V.ss * V.a3 / 100000",r:V,x3:"=width - V.dx3",x2:"=width * V.a4 / 100000",x1:"=V.x2 / 2",t:0,l:0,b:n},adjustInfo:[["adj1",25e3],["adj2",25e3],["adj3",25e3],["adj4",64977]],connectionPoints:[{x:c,y:0},{x:0,y:r},{x:c,y:n},{x:V,y:r}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:"maxAdj1",position:{x:"x3",y:"y2"},point:["=V.x3",d]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:"maxAdj2",position:{x:"r",y:"y1"},point:[V,o]},{type:"ahXY",gdRefX:"adj3",minX:0,maxX:"maxAdj3",position:{x:"x3",y:"t"},point:["=V.x3",0]},{type:"ahXY",gdRefX:"adj4",minX:0,maxX:"maxAdj4",position:{x:"x2",y:"b"},point:[s,n]}],path:[[["M",0,0],["L",s,0],["L",s,d],["L","=V.x3",d],["L","=V.x3",o],["L",V,r],["L","=V.x3","=V.y4"],["L","=V.x3","=V.y3"],["L",s,"=V.y3"],["L",s,n],["L",0,n],["Z"],{}]],textRect:{left:0,top:0,right:s,bottom:n}},leftArrowCallout:{variables:{adj1:25e3,adj2:25e3,adj3:25e3,adj4:64977,ss:i,maxAdj2:"=50000 * height / V.ss",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",maxAdj1:"=V.a2 * 2",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",maxAdj3:"=100000 * width / V.ss",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",q2:"=V.a3 * V.ss / width",maxAdj4:"=100000 - V.q2",a4:"=MIN(MAX(0, V.adj4), V.maxAdj4)",dy1:"=V.ss * V.a2 / 100000",dy2:"=V.ss * V.a1 / 200000",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc - V.dy2",y3:"=V.vc + V.dy2",y4:"=V.vc + V.dy1",x1:"=V.ss * V.a3 / 100000",dx2:"=width * V.a4 / 100000",r:V,x2:"=width - V.dx2",x3:"=(V.x2 + V.r) / 2",t:0,l:0,b:n},adjustInfo:[["adj1",25e3],["adj2",25e3],["adj3",25e3],["adj4",64977]],connectionPoints:[{x:"=V.x3",y:0},{x:0,y:r},{x:"=V.x3",y:n},{x:V,y:r}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:"maxAdj1",position:{x:"x1",y:"y2"},point:[c,d]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:"maxAdj2",position:{x:"l",y:"y1"},point:[0,o]},{type:"ahXY",gdRefX:"adj3",minX:0,maxX:"maxAdj3",position:{x:"x1",y:"t"},point:[c,0]},{type:"ahXY",gdRefX:"adj4",minX:0,maxX:"maxAdj4",position:{x:"x2",y:"b"},point:[s,n]}],path:[[["M",0,r],["L",c,o],["L",c,d],["L",s,d],["L",s,0],["L",V,0],["L",V,n],["L",s,n],["L",s,"=V.y3"],["L",c,"=V.y3"],["L",c,"=V.y4"],["Z"],{}]],textRect:{left:s,top:0,right:V,bottom:n}},upArrowCallout:{variables:{adj1:25e3,adj2:25e3,adj3:25e3,adj4:64977,ss:i,maxAdj2:"=50000 * width / V.ss",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",maxAdj1:"=V.a2 * 2",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",maxAdj3:"=100000 * height / V.ss",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",q2:"=V.a3 * V.ss / height",maxAdj4:"=100000 - V.q2",a4:"=MIN(MAX(0, V.adj4), V.maxAdj4)",dx1:"=V.ss * V.a2 / 100000",dx2:"=V.ss * V.a1 / 200000",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc - V.dx2",x3:"=V.hc + V.dx2",x4:"=V.hc + V.dx1",y1:"=V.ss * V.a3 / 100000",dy2:"=height * V.a4 / 100000",b:n,y2:"=height - V.dy2",y3:"=(V.y2 + V.b) / 2",t:0,l:0,r:V},adjustInfo:[["adj1",25e3],["adj2",25e3],["adj3",25e3],["adj4",64977]],connectionPoints:[{x:e,y:0},{x:0,y:d},{x:e,y:n},{x:V,y:d}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:"maxAdj1",position:{x:"x2",y:"y1"},point:[s,o]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:"maxAdj2",position:{x:"x1",y:"t"},point:[c,0]},{type:"ahXY",gdRefY:"adj3",minY:0,maxY:"maxAdj3",position:{x:"r",y:"y1"},point:[V,o]},{type:"ahXY",gdRefY:"adj4",minY:0,maxY:"maxAdj4",position:{x:"l",y:"y2"},point:[0,d]}],path:[[["M",0,d],["L",s,d],["L",s,o],["L",c,o],["L",e,0],["L","=V.x4",o],["L","=V.x3",o],["L","=V.x3",d],["L",V,d],["L",V,n],["L",0,n],["Z"],{}]],textRect:{left:0,top:d,right:V,bottom:n}},downArrowCallout:{variables:{adj1:25e3,adj2:25e3,adj3:25e3,adj4:64977,ss:i,maxAdj2:"=50000 * width / V.ss",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",maxAdj1:"=V.a2 * 2",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",maxAdj3:"=100000 * height / V.ss",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",q2:"=V.a3 * V.ss / height",maxAdj4:"=100000 - V.q2",a4:"=MIN(MAX(0, V.adj4), V.maxAdj4)",dx1:"=V.ss * V.a2 / 100000",dx2:"=V.ss * V.a1 / 200000",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc - V.dx2",x3:"=V.hc + V.dx2",x4:"=V.hc + V.dx1",dy3:"=V.ss * V.a3 / 100000",b:n,y3:"=height - V.dy3",y2:"=height * V.a4 / 100000",y1:"=V.y2 / 2",t:0,l:0,r:V},adjustInfo:[["adj1",25e3],["adj2",25e3],["adj3",25e3],["adj4",64977]],connectionPoints:[{x:e,y:0},{x:0,y:o},{x:e,y:n},{x:V,y:o}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:"maxAdj1",position:{x:"x2",y:"y3"},point:[s,"=V.y3"]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:"maxAdj2",position:{x:"x1",y:"b"},point:[c,n]},{type:"ahXY",gdRefY:"adj3",minY:0,maxY:"maxAdj3",position:{x:"r",y:"y3"},point:[V,"=V.y3"]},{type:"ahXY",gdRefY:"adj4",minY:0,maxY:"maxAdj4",position:{x:"l",y:"y2"},point:[0,d]}],path:[[["M",0,0],["L",V,0],["L",V,d],["L","=V.x3",d],["L","=V.x3","=V.y3"],["L","=V.x4","=V.y3"],["L",e,n],["L",c,"=V.y3"],["L",s,"=V.y3"],["L",s,d],["L",0,d],["Z"],{}]],textRect:{left:0,top:0,right:V,bottom:d}},leftRightArrowCallout:{variables:{adj1:25e3,adj2:25e3,adj3:25e3,adj4:48123,ss:i,maxAdj2:"=50000 * height / V.ss",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",maxAdj1:"=V.a2 * 2",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",maxAdj3:"=50000 * width / V.ss",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",wd2:y,q2:"=V.a3 * V.ss / V.wd2",maxAdj4:"=100000 - V.q2",a4:"=MIN(MAX(0, V.adj4), V.maxAdj4)",dy1:"=V.ss * V.a2 / 100000",dy2:"=V.ss * V.a1 / 200000",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc - V.dy2",y3:"=V.vc + V.dy2",y4:"=V.vc + V.dy1",x1:"=V.ss * V.a3 / 100000",r:V,x4:"=width - V.x1",dx2:"=width * V.a4 / 200000",hc:y,x2:"=V.hc - V.dx2",x3:"=V.hc + V.dx2",t:0,l:0,b:n},adjustInfo:[["adj1",25e3],["adj2",25e3],["adj3",25e3],["adj4",48123]],connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:"maxAdj1",position:{x:"x1",y:"y2"},point:[c,d]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:"maxAdj2",position:{x:"l",y:"y1"},point:[0,o]},{type:"ahXY",gdRefX:"adj3",minX:0,maxX:"maxAdj3",position:{x:"x1",y:"t"},point:[c,0]},{type:"ahXY",gdRefX:"adj4",minX:0,maxX:"maxAdj4",position:{x:"x2",y:"b"},point:[s,n]}],path:[[["M",0,r],["L",c,o],["L",c,d],["L",s,d],["L",s,0],["L","=V.x3",0],["L","=V.x3",d],["L","=V.x4",d],["L","=V.x4",o],["L",V,r],["L","=V.x4","=V.y4"],["L","=V.x4","=V.y3"],["L","=V.x3","=V.y3"],["L","=V.x3",n],["L",s,n],["L",s,"=V.y3"],["L",c,"=V.y3"],["L",c,"=V.y4"],["Z"],{}]],textRect:{left:s,top:0,right:"=V.x3",bottom:n}},upDownArrowCallout:{variables:{adj1:25e3,adj2:25e3,adj3:25e3,adj4:48123,ss:i,maxAdj2:"=50000 * width / V.ss",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",maxAdj1:"=V.a2 * 2",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",maxAdj3:"=50000 * height / V.ss",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",hd2:f,q2:"=V.a3 * V.ss / V.hd2",maxAdj4:"=100000 - V.q2",a4:"=MIN(MAX(0, V.adj4), V.maxAdj4)",dx1:"=V.ss * V.a2 / 100000",dx2:"=V.ss * V.a1 / 200000",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc - V.dx2",x3:"=V.hc + V.dx2",x4:"=V.hc + V.dx1",y1:"=V.ss * V.a3 / 100000",b:n,y4:"=height - V.y1",dy2:"=height * V.a4 / 200000",vc:f,y2:"=V.vc - V.dy2",y3:"=V.vc + V.dy2",t:0,l:0,r:V},adjustInfo:[["adj1",25e3],["adj2",25e3],["adj3",25e3],["adj4",48123]],connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:"maxAdj1",position:{x:"x2",y:"y1"},point:[s,o]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:"maxAdj2",position:{x:"x1",y:"t"},point:[c,0]},{type:"ahXY",gdRefY:"adj3",minY:0,maxY:"maxAdj3",position:{x:"r",y:"y1"},point:[V,o]},{type:"ahXY",gdRefY:"adj4",minY:0,maxY:"maxAdj4",position:{x:"l",y:"y2"},point:[0,d]}],path:[[["M",0,d],["L",s,d],["L",s,o],["L",c,o],["L",e,0],["L","=V.x4",o],["L","=V.x3",o],["L","=V.x3",d],["L",V,d],["L",V,"=V.y3"],["L","=V.x3","=V.y3"],["L","=V.x3","=V.y4"],["L","=V.x4","=V.y4"],["L",e,n],["L",c,"=V.y4"],["L",s,"=V.y4"],["L",s,"=V.y3"],["L",0,"=V.y3"],["Z"],{}]],textRect:{left:0,top:d,right:V,bottom:"=V.y3"}},quadArrowCallout:{variables:{adj1:18515,adj2:18515,adj3:18515,adj4:48123,a2:"=MIN(MAX(0, V.adj2), 50000)",maxAdj1:"=V.a2 * 2",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",maxAdj3:"=50000 - V.a2",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",q2:"=V.a3 * 2",maxAdj4:"=100000 - V.q2",a4:"=MIN(MAX(V.a1, V.adj4), V.maxAdj4)",ss:i,dx2:"=V.ss * V.a2 / 100000",dx3:"=V.ss * V.a1 / 200000",ah:"=V.ss * V.a3 / 100000",dx1:"=width * V.a4 / 200000",dy1:"=height * V.a4 / 200000",r:V,x8:"=width - V.ah",hc:y,x2:"=V.hc - V.dx1",x7:"=V.hc + V.dx1",x3:"=V.hc - V.dx2",x6:"=V.hc + V.dx2",x4:"=V.hc - V.dx3",x5:"=V.hc + V.dx3",b:n,y8:"=height - V.ah",vc:f,y2:"=V.vc - V.dy1",y7:"=V.vc + V.dy1",y3:"=V.vc - V.dx2",y6:"=V.vc + V.dx2",y4:"=V.vc - V.dx3",y5:"=V.vc + V.dx3",t:0,l:0},adjustInfo:[["adj1",18515],["adj2",18515],["adj3",18515],["adj4",48123]],connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:"maxAdj1",position:{x:"x4",y:"ah"},point:["=V.x4","=V.ah"]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:5e4,position:{x:"x3",y:"t"},point:["=V.x3",0]},{type:"ahXY",gdRefY:"adj3",minY:0,maxY:"maxAdj3",position:{x:"r",y:"ah"},point:[V,"=V.ah"]},{type:"ahXY",gdRefY:"adj4",minY:"a1",maxY:"maxAdj4",position:{x:"l",y:"y2"},point:[0,d]}],path:[[["M",0,r],["L","=V.ah","=V.y3"],["L","=V.ah","=V.y4"],["L",s,"=V.y4"],["L",s,d],["L","=V.x4",d],["L","=V.x4","=V.ah"],["L","=V.x3","=V.ah"],["L",e,0],["L","=V.x6","=V.ah"],["L","=V.x5","=V.ah"],["L","=V.x5",d],["L","=V.x7",d],["L","=V.x7","=V.y4"],["L","=V.x8","=V.y4"],["L","=V.x8","=V.y3"],["L",V,r],["L","=V.x8","=V.y6"],["L","=V.x8","=V.y5"],["L","=V.x7","=V.y5"],["L","=V.x7","=V.y7"],["L","=V.x5","=V.y7"],["L","=V.x5","=V.y8"],["L","=V.x6","=V.y8"],["L",e,n],["L","=V.x3","=V.y8"],["L","=V.x4","=V.y8"],["L","=V.x4","=V.y7"],["L",s,"=V.y7"],["L",s,"=V.y5"],["L","=V.ah","=V.y5"],["L","=V.ah","=V.y6"],["Z"],{}]],textRect:{left:s,top:d,right:"=V.x7",bottom:"=V.y7"}},circularArrow:{variables:{adj1:12500,adj2:1142319,adj3:20457681,adj4:h,adj5:12500,a5:"=MIN(MAX(0, V.adj5), 25000)",maxAdj1:"=V.a5 * 2",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",enAng:"=MIN(MAX(1, V.adj3), 21599999)",stAng:"=MIN(MAX(0, V.adj4), 21599999)",ss:i,th:"=V.ss * V.a1 / 100000",thh:"=V.ss * V.a5 / 100000",th2:"=V.th / 2",wd2:y,rw1:"=V.wd2 + V.th2 - V.thh",hd2:f,rh1:"=V.hd2 + V.th2 - V.thh",rw2:"=V.rw1 - V.th",rh2:"=V.rh1 - V.th",rw3:"=V.rw2 + V.th2",rh3:"=V.rh2 + V.th2",d2r:a,wtH:"=V.rw3 * SIN(V.enAng / V.d2r)",htH:"=V.rh3 * COS(V.enAng / V.d2r)",dxH:"=V.rw3 * COS(ATAN2(V.htH,V.wtH))",dyH:"=V.rh3 * SIN(ATAN2(V.htH,V.wtH))",hc:y,xH:"=V.hc + V.dxH",vc:f,yH:"=V.vc + V.dyH",rI:"=MIN(V.rw2, V.rh2)",u1:"=V.dxH * V.dxH",u2:"=V.dyH * V.dyH",u3:"=V.rI * V.rI",u4:"=V.u1 - V.u3",u5:"=V.u2 - V.u3",u6:"=V.u4 * V.u5 / V.u1",u7:"=V.u6 / V.u2",u8:"=1 - V.u7",u9:"=SQRT(V.u8)",u10:"=V.u4 / V.dxH",u11:"=V.u10 / V.dyH",u12:"=(1 + V.u9) / V.u11",u13:"=(ATAN2(1,V.u12) * V.d2r)",u14:"=V.u13 + 21600000",u15:"=IF(V.u13 > 0, V.u13, V.u14)",u16:"=V.u15 - V.enAng",u17:"=V.u16 + 21600000",u18:"=IF(V.u16 > 0, V.u16, V.u17)",cd2:h,u19:"=V.u18 - V.cd2",u20:"=V.u18 - 21600000",u21:"=IF(V.u19 > 0, V.u20, V.u18)",maxAng:"=ABS(V.u21)",aAng:"=MIN(MAX(0, V.adj2), V.maxAng)",ptAng:"=V.enAng + V.aAng",wtA:"=V.rw3 * SIN(V.ptAng / V.d2r)",htA:"=V.rh3 * COS(V.ptAng / V.d2r)",dxA:"=V.rw3 * COS(ATAN2(V.htA,V.wtA))",dyA:"=V.rh3 * SIN(ATAN2(V.htA,V.wtA))",xA:"=V.hc + V.dxA",yA:"=V.vc + V.dyA",wtE:"=V.rw1 * SIN(V.stAng / V.d2r)",htE:"=V.rh1 * COS(V.stAng / V.d2r)",dxE:"=V.rw1 * COS(ATAN2(V.htE,V.wtE))",dyE:"=V.rh1 * SIN(ATAN2(V.htE,V.wtE))",xE:"=V.hc + V.dxE",yE:"=V.vc + V.dyE",dxG:"=V.thh * COS(V.ptAng / V.d2r)",dyG:"=V.thh * SIN(V.ptAng / V.d2r)",xG:"=V.xH + V.dxG",yG:"=V.yH + V.dyG",dxB:"=V.thh * COS(V.ptAng / V.d2r)",dyB:"=V.thh * SIN(V.ptAng / V.d2r)",xB:"=V.xH - V.dxB",yB:"=V.yH - V.dyB",sx1:"=V.xB - V.hc",sy1:"=V.yB - V.vc",sx2:"=V.xG - V.hc",sy2:"=V.yG - V.vc",rO:"=MIN(V.rw1, V.rh1)",x1O:"=V.sx1 * V.rO / V.rw1",y1O:"=V.sy1 * V.rO / V.rh1",x2O:"=V.sx2 * V.rO / V.rw1",y2O:"=V.sy2 * V.rO / V.rh1",dxO:"=V.x2O - V.x1O",dyO:"=V.y2O - V.y1O",dO:"=SQRT(V.dxO*V.dxO + V.dyO*V.dyO)",q1:"=V.x1O * V.y2O",q2:"=V.x2O * V.y1O",DO:"=V.q1 - V.q2",q3:"=V.rO * V.rO",q4:"=V.dO * V.dO",q5:"=V.q3 * V.q4",q6:"=V.DO * V.DO",q7:"=V.q5 - V.q6",q8:"=MAX(V.q7, 0)",sdelO:"=SQRT(V.q8)",ndyO:"=V.dyO * -1",sdyO:"=IF(V.ndyO > 0, -1, 1)",q9:"=V.sdyO * V.dxO",q10:"=V.q9 * V.sdelO",q11:"=V.DO * V.dyO",dxF1:"=(V.q11 + V.q10) / V.q4",q12:"=V.q11 - V.q10",dxF2:"=V.q12 / V.q4",adyO:"=ABS(V.dyO)",q13:"=V.adyO * V.sdelO",q14:"=V.DO * V.dxO / -1",dyF1:"=(V.q14 + V.q13) / V.q4",q15:"=V.q14 - V.q13",dyF2:"=V.q15 / V.q4",q16:"=V.x2O - V.dxF1",q17:"=V.x2O - V.dxF2",q18:"=V.y2O - V.dyF1",q19:"=V.y2O - V.dyF2",q20:"=SQRT(V.q16*V.q16 + V.q18*V.q18)",q21:"=SQRT(V.q17*V.q17 + V.q19*V.q19)",q22:"=V.q21 - V.q20",dxF:"=IF(V.q22 > 0, V.dxF1, V.dxF2)",dyF:"=IF(V.q22 > 0, V.dyF1, V.dyF2)",sdxF:"=V.dxF * V.rw1 / V.rO",sdyF:"=V.dyF * V.rh1 / V.rO",xF:"=V.hc + V.sdxF",yF:"=V.vc + V.sdyF",x1I:"=V.sx1 * V.rI / V.rw2",y1I:"=V.sy1 * V.rI / V.rh2",x2I:"=V.sx2 * V.rI / V.rw2",y2I:"=V.sy2 * V.rI / V.rh2",dxI:"=V.x2I - V.x1I",dyI:"=V.y2I - V.y1I",dI:"=SQRT(V.dxI*V.dxI + V.dyI*V.dyI)",v1:"=V.x1I * V.y2I",v2:"=V.x2I * V.y1I",DI:"=V.v1 - V.v2",v3:"=V.rI * V.rI",v4:"=V.dI * V.dI",v5:"=V.v3 * V.v4",v6:"=V.DI * V.DI",v7:"=V.v5 - V.v6",v8:"=MAX(V.v7, 0)",sdelI:"=SQRT(V.v8)",v9:"=V.sdyO * V.dxI",v10:"=V.v9 * V.sdelI",v11:"=V.DI * V.dyI",dxC1:"=(V.v11 + V.v10) / V.v4",v12:"=V.v11 - V.v10",dxC2:"=V.v12 / V.v4",adyI:"=ABS(V.dyI)",v13:"=V.adyI * V.sdelI",v14:"=V.DI * V.dxI / -1",dyC1:"=(V.v14 + V.v13) / V.v4",v15:"=V.v14 - V.v13",dyC2:"=V.v15 / V.v4",v16:"=V.x1I - V.dxC1",v17:"=V.x1I - V.dxC2",v18:"=V.y1I - V.dyC1",v19:"=V.y1I - V.dyC2",v20:"=SQRT(V.v16*V.v16 + V.v18*V.v18)",v21:"=SQRT(V.v17*V.v17 + V.v19*V.v19)",v22:"=V.v21 - V.v20",dxC:"=IF(V.v22 > 0, V.dxC1, V.dxC2)",dyC:"=IF(V.v22 > 0, V.dyC1, V.dyC2)",sdxC:"=V.dxC * V.rw2 / V.rI",sdyC:"=V.dyC * V.rh2 / V.rI",xC:"=V.hc + V.sdxC",yC:"=V.vc + V.sdyC",ist0:"=(ATAN2(V.sdxC,V.sdyC) * V.d2r)",ist1:"=V.ist0 + 21600000",istAng:"=IF(V.ist0 > 0, V.ist0, V.ist1)",isw1:"=V.stAng - V.istAng",isw2:"=V.isw1 - 21600000",iswAng:"=IF(V.isw1 > 0, V.isw2, V.isw1)",p1:"=V.xF - V.xC",p2:"=V.yF - V.yC",p3:"=SQRT(V.p1*V.p1 + V.p2*V.p2)",p4:"=V.p3 / 2",p5:"=V.p4 - V.thh",xGp:"=IF(V.p5 > 0, V.xF, V.xG)",yGp:"=IF(V.p5 > 0, V.yF, V.yG)",xBp:"=IF(V.p5 > 0, V.xC, V.xB)",yBp:"=IF(V.p5 > 0, V.yC, V.yB)",en0:"=(ATAN2(V.sdxF,V.sdyF) * V.d2r)",en1:"=V.en0 + 21600000",en2:"=IF(V.en0 > 0, V.en0, V.en1)",sw0:"=V.en2 - V.stAng",sw1:"=V.sw0 + 21600000",swAng:"=IF(V.sw0 > 0, V.sw0, V.sw1)",wtI:"=V.rw3 * SIN(V.stAng / V.d2r)",htI:"=V.rh3 * COS(V.stAng / V.d2r)",_dxI:"=V.rw3 * COS(ATAN2(V.htI,V.wtI))",_dyI:"=V.rh3 * SIN(ATAN2(V.htI,V.wtI))",xI:"=V.hc + V._dxI",yI:"=V.vc + V._dyI",cd4:u,aI:"=V.stAng - V.cd4",aA:"=V.ptAng + V.cd4",aB:"=V.ptAng + V.cd2",idx:"=V.rw1 * COS(2700000 / V.d2r)",idy:"=V.rh1 * SIN(2700000 / V.d2r)",il:"=V.hc - V.idx",ir:"=V.hc + V.idx",it:"=V.vc - V.idy",ib:"=V.vc + V.idy",cx1:"=C(V.rw1,V.xE,A(V.rw1,V.rh1,V.stAng),true)",cy1:"=C(V.rh1,V.yE,A(V.rw1,V.rh1,V.stAng))",cx2:"=C(V.rw2,V.xC,A(V.rw2,V.rh2,V.istAng),true)",cy2:"=C(V.rh2,V.yC,A(V.rw2,V.rh2,V.istAng))"},adjustInfo:[["adj1",12500],["adj2",1142319],["adj3",20457681],["adj4",108e5],["adj5",12500]],connectionPoints:[{x:"=V.xI",y:"=V.yI"},{x:"=V.xGp",y:"=V.yGp"},{x:"=V.xA",y:"=V.yA"},{x:"=V.xBp",y:"=V.yBp"}],controlsInfo:[{type:"ahPolar",gdRefAng:"adj2",minAng:0,maxAng:"maxAng",position:{x:"xA",y:"yA"},point:["=V.xA","=V.yA"]},{type:"ahPolar",gdRefAng:"adj4",minAng:0,maxAng:21599999,position:{x:"xE",y:"yE"},point:["=V.xE","=V.yE"]},{type:"ahPolar",gdRefR:"adj1",minR:0,maxR:"maxAdj1",gdRefAng:"adj3",minAng:0,maxAng:21599999,position:{x:"xF",y:"yF"},point:["=V.xF","=V.yF"]},{type:"ahPolar",gdRefR:"adj5",minR:0,maxR:25e3,position:{x:"xB",y:"yB"},point:["=V.xB","=V.yB"]}],path:[[["M","=V.xE","=V.yE"],["E","=V.cx1","=V.cy1","=V.rw1","=V.rh1",0,"=A(V.rw1,V.rh1,V.stAng)","=A(V.rw1,V.rh1,(V.stAng + V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["L","=V.xGp","=V.yGp"],["L","=V.xA","=V.yA"],["L","=V.xBp","=V.yBp"],["L","=V.xC","=V.yC"],["E","=V.cx2","=V.cy2","=V.rw2","=V.rh2",0,"=A(V.rw2,V.rh2,V.istAng)","=A(V.rw2,V.rh2,(V.istAng + V.iswAng))","=IF(V.iswAng > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},flowchartProcess:{variables:{hc:y,t:0,l:0,vc:f,b:n,r:V,_scaleX1:"= width",_scaleY1:"= height"},connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{}]]},flowchartAlternateProcess:{variables:{r:V,ss:i,ssd6:"=V.ss / 6",x2:"=width - V.ssd6",b:n,y2:"=height - V.ssd6",il:"=V.ssd6 * 29289 / 100000",ir:"=width - V.il",ib:"=height - V.il",hc:y,t:0,l:0,vc:f,cd2:h,cd4:u,cx1:"=C(V.ssd6,V.l,A(V.ssd6,V.ssd6,V.cd2),true)",cy1:"=C(V.ssd6,V.ssd6,A(V.ssd6,V.ssd6,V.cd2))",_3cd4:x,cx2:"=C(V.ssd6,V.x2,A(V.ssd6,V.ssd6,V._3cd4),true)",cy2:"=C(V.ssd6,V.t,A(V.ssd6,V.ssd6,V._3cd4))",cx3:"=C(V.ssd6,V.r,A(V.ssd6,V.ssd6,0),true)",cy3:"=C(V.ssd6,V.y2,A(V.ssd6,V.ssd6,0))",cx4:"=C(V.ssd6,V.ssd6,A(V.ssd6,V.ssd6,V.cd4),true)",cy4:"=C(V.ssd6,V.b,A(V.ssd6,V.ssd6,V.cd4))"},connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],path:[[["M",0,"=V.ssd6"],["E","=V.cx1","=V.cy1","=V.ssd6","=V.ssd6",0,"=A(V.ssd6,V.ssd6,V.cd2)","=A(V.ssd6,V.ssd6,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",s,0],["E","=V.cx2","=V.cy2","=V.ssd6","=V.ssd6",0,"=A(V.ssd6,V.ssd6,V._3cd4)","=A(V.ssd6,V.ssd6,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",V,d],["E","=V.cx3","=V.cy3","=V.ssd6","=V.ssd6",0,"=A(V.ssd6,V.ssd6,0)","=A(V.ssd6,V.ssd6,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.ssd6",n],["E","=V.cx4","=V.cy4","=V.ssd6","=V.ssd6",0,"=A(V.ssd6,V.ssd6,V.cd4)","=A(V.ssd6,V.ssd6,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.il",right:"=V.ir",bottom:"=V.ib"}},flowchartDecision:{variables:{ir:"=width * 3 / 4",ib:"=height * 3 / 4",hc:y,t:0,l:0,vc:f,b:n,r:V,_scaleX1:"= width / 2",_scaleY1:"= height / 2",wd4:"=width/4",hd4:"=height/4"},connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],path:[[["M",0,f],["L",y,0],["L",V,f],["L",y,n],["Z"],{}]],textRect:{left:"=V.wd4",top:"=V.hd4",right:"=V.ir",bottom:"=V.ib"}},flowchartData:{variables:{x3:"=width * 2 / 5",x4:"=width * 3 / 5",x5:"=width * 4 / 5",x6:"=width * 9 / 10",t:0,hc:y,wd10:"=width/10",vc:f,b:n,_scaleX1:"= width / 5",_scaleY1:"= height / 5",wd5:"=width/5"},connectionPoints:[{x:"=V.x4",y:0},{x:e,y:0},{x:"=V.wd10",y:r},{x:"=V.x3",y:n},{x:e,y:n},{x:"=V.x6",y:r}],path:[[["M",0,n],["L","=V._scaleX1",0],["L",V,0],["L","=4 * V._scaleX1",n],["Z"],{}]],textRect:{left:"=V.wd5",top:0,right:"=V.x5",bottom:n}},flowchartPredefinedProcess:{variables:{x2:"=width * 7 / 8",hc:y,t:0,l:0,vc:f,b:n,r:V,_scaleX1:"= width",_scaleY1:"= height",_scaleX2:"= width / 8",_scaleY2:"= height / 8",_scaleX3:"= width",_scaleY3:"= height",wd8:"=width/8"},connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{strokeMode:"false"}],[["M","=V._scaleX2",0],["L","=V._scaleX2",n],["M","=7 * V._scaleX2",0],["L","=7 * V._scaleX2",n],{fillMode:"none"}],[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{fillMode:"none"}]],textRect:{left:"=V.wd8",top:0,right:s,bottom:n}},flowchartInternalStorage:{variables:{hc:y,t:0,l:0,vc:f,b:n,r:V,_scaleX1:"= width",_scaleY1:"= height",_scaleX2:"= width / 8",_scaleY2:"= height / 8",_scaleX3:"= width",_scaleY3:"= height",wd8:"=width/8",hd8:"=height/8"},connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{strokeMode:"false"}],[["M","=V._scaleX2",0],["L","=V._scaleX2",n],["M",0,"=V._scaleY2"],["L",V,"=V._scaleY2"],{fillMode:"none"}],[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{fillMode:"none"}]],textRect:{left:"=V.wd8",top:"=V.hd8",right:V,bottom:n}},flowchartDocument:{variables:{y1:"=height * 17322 / 21600",y2:"=height * 20172 / 21600",hc:y,t:0,l:0,vc:f,r:V,_scaleX1:"= width / 21600",_scaleY1:"= height / 21600"},connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:d},{x:V,y:r}],path:[[["M",0,0],["L",V,0],["L",V,"=17322 * V._scaleY1"],["B",y,"=17322 * V._scaleY1",y,"=23922 * V._scaleY1",0,"=20172 * V._scaleY1"],["Z"],{}]],textRect:{left:0,top:0,right:V,bottom:o}},flowchartMultidocument:{variables:{y2:"=height * 3675 / 21600",y8:"=height * 20782 / 21600",x3:"=width * 9298 / 21600",x4:"=width * 12286 / 21600",x5:"=width * 18595 / 21600",t:0,l:0,vc:f,r:V,_scaleX1:"= width / 21600",_scaleY1:"= height / 21600",_scaleX2:"= width / 21600",_scaleY2:"= height / 21600",_scaleX3:"= width / 21600",_scaleY3:"= height / 21600"},connectionPoints:[{x:"=V.x4",y:0},{x:0,y:r},{x:"=V.x3",y:"=V.y8"},{x:V,y:r}],path:[[["M",0,"=20782 * V._scaleY1"],["B","=9298 * V._scaleX1","=23542 * V._scaleY1","=9298 * V._scaleX1","=18022 * V._scaleY1","=18595 * V._scaleX1","=18022 * V._scaleY1"],["L","=18595 * V._scaleX1","=3675 * V._scaleY1"],["L",0,"=3675 * V._scaleY1"],["Z"],["M","=1532 * V._scaleX1","=3675 * V._scaleY1"],["L","=1532 * V._scaleX1","=1815 * V._scaleY1"],["L","=20000 * V._scaleX1","=1815 * V._scaleY1"],["L","=20000 * V._scaleX1","=16252 * V._scaleY1"],["B","=19298 * V._scaleX1","=16252 * V._scaleY1","=18595 * V._scaleX1","=16352 * V._scaleY1","=18595 * V._scaleX1","=16352 * V._scaleY1"],["L","=18595 * V._scaleX1","=3675 * V._scaleY1"],["Z"],["M","=2972 * V._scaleX1","=1815 * V._scaleY1"],["L","=2972 * V._scaleX1",0],["L",V,0],["L",V,"=14392 * V._scaleY1"],["B","=20800 * V._scaleX1","=14392 * V._scaleY1","=20000 * V._scaleX1","=14467 * V._scaleY1","=20000 * V._scaleX1","=14467 * V._scaleY1"],["L","=20000 * V._scaleX1","=1815 * V._scaleY1"],["Z"],{strokeMode:"false"}],[["M",0,"=3675 * V._scaleY2"],["L","=18595 * V._scaleX2","=3675 * V._scaleY2"],["L","=18595 * V._scaleX2","=18022 * V._scaleY2"],["B","=9298 * V._scaleX2","=18022 * V._scaleY2","=9298 * V._scaleX2","=23542 * V._scaleY2",0,"=20782 * V._scaleY2"],["Z"],["M","=1532 * V._scaleX2","=3675 * V._scaleY2"],["L","=1532 * V._scaleX2","=1815 * V._scaleY2"],["L","=20000 * V._scaleX2","=1815 * V._scaleY2"],["L","=20000 * V._scaleX2","=16252 * V._scaleY2"],["B","=19298 * V._scaleX2","=16252 * V._scaleY2","=18595 * V._scaleX2","=16352 * V._scaleY2","=18595 * V._scaleX2","=16352 * V._scaleY2"],["M","=2972 * V._scaleX2","=1815 * V._scaleY2"],["L","=2972 * V._scaleX2",0],["L",V,0],["L",V,"=14392 * V._scaleY2"],["B","=20800 * V._scaleX2","=14392 * V._scaleY2","=20000 * V._scaleX2","=14467 * V._scaleY2","=20000 * V._scaleX2","=14467 * V._scaleY2"],{fillMode:"none"}],[["M",0,"=20782 * V._scaleY3"],["B","=9298 * V._scaleX3","=23542 * V._scaleY3","=9298 * V._scaleX3","=18022 * V._scaleY3","=18595 * V._scaleX3","=18022 * V._scaleY3"],["L","=18595 * V._scaleX3","=16352 * V._scaleY3"],["B","=18595 * V._scaleX3","=16352 * V._scaleY3","=19298 * V._scaleX3","=16252 * V._scaleY3","=20000 * V._scaleX3","=16252 * V._scaleY3"],["L","=20000 * V._scaleX3","=14467 * V._scaleY3"],["B","=20000 * V._scaleX3","=14467 * V._scaleY3","=20800 * V._scaleX3","=14392 * V._scaleY3",V,"=14392 * V._scaleY3"],["L",V,0],["L","=2972 * V._scaleX3",0],["L","=2972 * V._scaleX3","=1815 * V._scaleY3"],["L","=1532 * V._scaleX3","=1815 * V._scaleY3"],["L","=1532 * V._scaleX3","=3675 * V._scaleY3"],["L",0,"=3675 * V._scaleY3"],["Z"],{fillMode:"none",strokeMode:"false"}]],textRect:{left:0,top:d,right:"=V.x5",bottom:"=V.y8"}},flowchartTerminator:{variables:{il:"=width * 1018 / 21600",ir:"=width * 20582 / 21600",it:"=height * 3163 / 21600",ib:"=height * 18437 / 21600",hc:y,t:0,l:0,vc:f,b:n,r:V,_scaleX1:"= width / 21600",_scaleY1:"= height / 21600",_3cd4:x,cd2:h,cx1:"=C(3475,18125,A(3475,10800,V._3cd4),true)",cy1:"=C(10800,0,A(3475,10800,V._3cd4))",cd4:u,cx2:"=C(3475,3475,A(3475,10800,V.cd4),true)",cy2:"=C(10800,21600,A(3475,10800,V.cd4))"},connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],path:[[["M","=3475 * V._scaleX1",0],["L","=18125 * V._scaleX1",0],["E","=V.cx1 * V._scaleX1","=V.cy1 * V._scaleY1","=3475 * V._scaleX1",f,0,"=A(3475,10800,V._3cd4)","=A(3475,10800,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=3475 * V._scaleX1",n],["E","=V.cx2 * V._scaleX1","=V.cy2 * V._scaleY1","=3475 * V._scaleX1",f,0,"=A(3475,10800,V.cd4)","=A(3475,10800,(V.cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},flowchartPreparation:{variables:{x2:"=width * 4 / 5",hc:y,t:0,l:0,vc:f,b:n,r:V,_scaleX1:"= width / 10",_scaleY1:"= height / 10",wd5:"=width/5"},connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],path:[[["M",0,f],["L","=2 * V._scaleX1",0],["L","=8 * V._scaleX1",0],["L",V,f],["L","=8 * V._scaleX1",n],["L","=2 * V._scaleX1",n],["Z"],{}]],textRect:{left:"=V.wd5",top:0,right:s,bottom:n}},flowchartManualInput:{variables:{hc:y,hd10:"=height/10",l:0,vc:f,b:n,r:V,_scaleX1:"= width / 5",_scaleY1:"= height / 5",hd5:"=height/5"},connectionPoints:[{x:e,y:"=V.hd10"},{x:0,y:r},{x:e,y:n},{x:V,y:r}],path:[[["M",0,"=V._scaleY1"],["L",V,0],["L",V,n],["L",0,n],["Z"],{}]],textRect:{left:0,top:"=V.hd5",right:V,bottom:n}},flowchartManualOperation:{variables:{x3:"=width * 4 / 5",x4:"=width * 9 / 10",hc:y,t:0,wd10:"=width/10",vc:f,b:n,_scaleX1:"= width / 5",_scaleY1:"= height / 5",wd5:"=width/5"},connectionPoints:[{x:e,y:0},{x:"=V.wd10",y:r},{x:e,y:n},{x:"=V.x4",y:r}],path:[[["M",0,0],["L",V,0],["L","=4 * V._scaleX1",n],["L","=V._scaleX1",n],["Z"],{}]],textRect:{left:"=V.wd5",top:0,right:"=V.x3",bottom:n}},flowchartConnector:{variables:{wd2:y,d2r:a,idx:"=V.wd2 * COS(2700000 / V.d2r)",hd2:f,idy:"=V.hd2 * SIN(2700000 / V.d2r)",hc:y,il:"=V.hc - V.idx",ir:"=V.hc + V.idx",vc:f,it:"=V.vc - V.idy",ib:"=V.vc + V.idy",t:0,l:0,b:n,r:V,cd2:h,cd4:u,cx1:"=C(V.wd2,V.l,A(V.wd2,V.hd2,V.cd2),true)",cy1:"=C(V.hd2,V.vc,A(V.wd2,V.hd2,V.cd2))",_3cd4:x,cx2:"=C(V.wd2,P(V.cx1,V.wd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4)),true),A(V.wd2,V.hd2,V._3cd4),true)",cy2:"=C(V.hd2,P(V.cy1,V.hd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4))),A(V.wd2,V.hd2,V._3cd4))",cx3:"=C(V.wd2,P(V.cx2,V.wd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4)),true),A(V.wd2,V.hd2,0),true)",cy3:"=C(V.hd2,P(V.cy2,V.hd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4))),A(V.wd2,V.hd2,0))",cx4:"=C(V.wd2,P(V.cx3,V.wd2,A(V.wd2,V.hd2,(V.cd4)),true),A(V.wd2,V.hd2,V.cd4),true)",cy4:"=C(V.hd2,P(V.cy3,V.hd2,A(V.wd2,V.hd2,(V.cd4))),A(V.wd2,V.hd2,V.cd4))"},connectionPoints:[{x:e,y:0},{x:"=V.il",y:"=V.it"},{x:0,y:r},{x:"=V.il",y:"=V.ib"},{x:e,y:n},{x:"=V.ir",y:"=V.ib"},{x:V,y:r},{x:"=V.ir",y:"=V.it"}],path:[[["M",0,r],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd2)","=A(V.wd2,V.hd2,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx2","=V.cy2","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V._3cd4)","=A(V.wd2,V.hd2,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx3","=V.cy3","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,0)","=A(V.wd2,V.hd2,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx4","=V.cy4","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd4)","=A(V.wd2,V.hd2,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},flowchartOffpageConnector:{variables:{y1:"=height * 4 / 5",hc:y,t:0,l:0,vc:f,b:n,r:V,_scaleX1:"= width / 10",_scaleY1:"= height / 10"},connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],path:[[["M",0,0],["L",V,0],["L",V,"=8 * V._scaleY1"],["L",y,n],["L",0,"=8 * V._scaleY1"],["Z"],{}]],textRect:{left:0,top:0,right:V,bottom:o}},flowchartCard:{variables:{hc:y,t:0,l:0,vc:f,b:n,r:V,_scaleX1:"= width / 5",_scaleY1:"= height / 5",hd5:"=height/5"},connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],path:[[["M",0,"=V._scaleY1"],["L","=V._scaleX1",0],["L",V,0],["L",V,n],["L",0,n],["Z"],{}]],textRect:{left:0,top:"=V.hd5",right:V,bottom:n}},flowchartPunchedTape:{variables:{y2:"=height * 9 / 10",ib:"=height * 4 / 5",hc:y,hd10:"=height/10",l:0,vc:f,r:V,_scaleX1:"= width / 20",_scaleY1:"= height / 20",cd2:h,cx1:"=C(5,0,A(5,2,V.cd2),true)",cy1:"=C(2,2,A(5,2,V.cd2))",cx2:"=C(5,P(V.cx1,5,A(5,2,(V.cd2 + -10800000)),true),A(5,2,V.cd2),true)",cy2:"=C(2,P(V.cy1,2,A(5,2,(V.cd2 + -10800000))),A(5,2,V.cd2))",cx3:"=C(5,20,A(5,2,0),true)",cy3:"=C(2,18,A(5,2,0))",cx4:"=C(5,P(V.cx3,5,A(5,2,(-10800000)),true),A(5,2,0),true)",cy4:"=C(2,P(V.cy3,2,A(5,2,(-10800000))),A(5,2,0))",hd5:"=height/5"},connectionPoints:[{x:e,y:"=V.hd10"},{x:0,y:r},{x:e,y:d},{x:V,y:r}],path:[[["M",0,"=2 * V._scaleY1"],["E","=V.cx1 * V._scaleX1","=V.cy1 * V._scaleY1","=5 * V._scaleX1","=2 * V._scaleY1",0,"=A(5,2,V.cd2)","=A(5,2,(V.cd2 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["E","=V.cx2 * V._scaleX1","=V.cy2 * V._scaleY1","=5 * V._scaleX1","=2 * V._scaleY1",0,"=A(5,2,V.cd2)","=A(5,2,(V.cd2 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L",V,"=18 * V._scaleY1"],["E","=V.cx3 * V._scaleX1","=V.cy3 * V._scaleY1","=5 * V._scaleX1","=2 * V._scaleY1",0,"=A(5,2,0)","=A(5,2,(-10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["E","=V.cx4 * V._scaleX1","=V.cy4 * V._scaleY1","=5 * V._scaleX1","=2 * V._scaleY1",0,"=A(5,2,0)","=A(5,2,(V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:0,top:"=V.hd5",right:V,bottom:"=V.ib"}},flowchartSummingJunction:{variables:{wd2:y,d2r:a,idx:"=V.wd2 * COS(2700000 / V.d2r)",hd2:f,idy:"=V.hd2 * SIN(2700000 / V.d2r)",hc:y,il:"=V.hc - V.idx",ir:"=V.hc + V.idx",vc:f,it:"=V.vc - V.idy",ib:"=V.vc + V.idy",t:0,l:0,b:n,r:V,cd2:h,cd4:u,cx1:"=C(V.wd2,V.l,A(V.wd2,V.hd2,V.cd2),true)",cy1:"=C(V.hd2,V.vc,A(V.wd2,V.hd2,V.cd2))",_3cd4:x,cx2:"=C(V.wd2,P(V.cx1,V.wd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4)),true),A(V.wd2,V.hd2,V._3cd4),true)",cy2:"=C(V.hd2,P(V.cy1,V.hd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4))),A(V.wd2,V.hd2,V._3cd4))",cx3:"=C(V.wd2,P(V.cx2,V.wd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4)),true),A(V.wd2,V.hd2,0),true)",cy3:"=C(V.hd2,P(V.cy2,V.hd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4))),A(V.wd2,V.hd2,0))",cx4:"=C(V.wd2,P(V.cx3,V.wd2,A(V.wd2,V.hd2,(V.cd4)),true),A(V.wd2,V.hd2,V.cd4),true)",cy4:"=C(V.hd2,P(V.cy3,V.hd2,A(V.wd2,V.hd2,(V.cd4))),A(V.wd2,V.hd2,V.cd4))",cx5:"=C(V.wd2,V.l,A(V.wd2,V.hd2,V.cd2),true)",cy5:"=C(V.hd2,V.vc,A(V.wd2,V.hd2,V.cd2))",cx6:"=C(V.wd2,P(V.cx5,V.wd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4)),true),A(V.wd2,V.hd2,V._3cd4),true)",cy6:"=C(V.hd2,P(V.cy5,V.hd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4))),A(V.wd2,V.hd2,V._3cd4))",cx7:"=C(V.wd2,P(V.cx6,V.wd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4)),true),A(V.wd2,V.hd2,0),true)",cy7:"=C(V.hd2,P(V.cy6,V.hd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4))),A(V.wd2,V.hd2,0))",cx8:"=C(V.wd2,P(V.cx7,V.wd2,A(V.wd2,V.hd2,(V.cd4)),true),A(V.wd2,V.hd2,V.cd4),true)",cy8:"=C(V.hd2,P(V.cy7,V.hd2,A(V.wd2,V.hd2,(V.cd4))),A(V.wd2,V.hd2,V.cd4))"},connectionPoints:[{x:e,y:0},{x:"=V.il",y:"=V.it"},{x:0,y:r},{x:"=V.il",y:"=V.ib"},{x:e,y:n},{x:"=V.ir",y:"=V.ib"},{x:V,y:r},{x:"=V.ir",y:"=V.it"}],path:[[["M",0,r],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd2)","=A(V.wd2,V.hd2,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx2","=V.cy2","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V._3cd4)","=A(V.wd2,V.hd2,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx3","=V.cy3","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,0)","=A(V.wd2,V.hd2,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx4","=V.cy4","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd4)","=A(V.wd2,V.hd2,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M","=V.il","=V.it"],["L","=V.ir","=V.ib"],["M","=V.ir","=V.it"],["L","=V.il","=V.ib"],{fillMode:"none"}],[["M",0,r],["E","=V.cx5","=V.cy5","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd2)","=A(V.wd2,V.hd2,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx6","=V.cy6","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V._3cd4)","=A(V.wd2,V.hd2,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx7","=V.cy7","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,0)","=A(V.wd2,V.hd2,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx8","=V.cy8","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd4)","=A(V.wd2,V.hd2,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{fillMode:"none"}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},flowchartOr:{variables:{wd2:y,d2r:a,idx:"=V.wd2 * COS(2700000 / V.d2r)",hd2:f,idy:"=V.hd2 * SIN(2700000 / V.d2r)",hc:y,il:"=V.hc - V.idx",ir:"=V.hc + V.idx",vc:f,it:"=V.vc - V.idy",ib:"=V.vc + V.idy",t:0,l:0,b:n,r:V,cd2:h,cd4:u,cx1:"=C(V.wd2,V.l,A(V.wd2,V.hd2,V.cd2),true)",cy1:"=C(V.hd2,V.vc,A(V.wd2,V.hd2,V.cd2))",_3cd4:x,cx2:"=C(V.wd2,P(V.cx1,V.wd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4)),true),A(V.wd2,V.hd2,V._3cd4),true)",cy2:"=C(V.hd2,P(V.cy1,V.hd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4))),A(V.wd2,V.hd2,V._3cd4))",cx3:"=C(V.wd2,P(V.cx2,V.wd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4)),true),A(V.wd2,V.hd2,0),true)",cy3:"=C(V.hd2,P(V.cy2,V.hd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4))),A(V.wd2,V.hd2,0))",cx4:"=C(V.wd2,P(V.cx3,V.wd2,A(V.wd2,V.hd2,(V.cd4)),true),A(V.wd2,V.hd2,V.cd4),true)",cy4:"=C(V.hd2,P(V.cy3,V.hd2,A(V.wd2,V.hd2,(V.cd4))),A(V.wd2,V.hd2,V.cd4))",cx5:"=C(V.wd2,V.l,A(V.wd2,V.hd2,V.cd2),true)",cy5:"=C(V.hd2,V.vc,A(V.wd2,V.hd2,V.cd2))",cx6:"=C(V.wd2,P(V.cx5,V.wd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4)),true),A(V.wd2,V.hd2,V._3cd4),true)",cy6:"=C(V.hd2,P(V.cy5,V.hd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4))),A(V.wd2,V.hd2,V._3cd4))",cx7:"=C(V.wd2,P(V.cx6,V.wd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4)),true),A(V.wd2,V.hd2,0),true)",cy7:"=C(V.hd2,P(V.cy6,V.hd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4))),A(V.wd2,V.hd2,0))",cx8:"=C(V.wd2,P(V.cx7,V.wd2,A(V.wd2,V.hd2,(V.cd4)),true),A(V.wd2,V.hd2,V.cd4),true)",cy8:"=C(V.hd2,P(V.cy7,V.hd2,A(V.wd2,V.hd2,(V.cd4))),A(V.wd2,V.hd2,V.cd4))"},connectionPoints:[{x:e,y:0},{x:"=V.il",y:"=V.it"},{x:0,y:r},{x:"=V.il",y:"=V.ib"},{x:e,y:n},{x:"=V.ir",y:"=V.ib"},{x:V,y:r},{x:"=V.ir",y:"=V.it"}],path:[[["M",0,r],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd2)","=A(V.wd2,V.hd2,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx2","=V.cy2","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V._3cd4)","=A(V.wd2,V.hd2,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx3","=V.cy3","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,0)","=A(V.wd2,V.hd2,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx4","=V.cy4","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd4)","=A(V.wd2,V.hd2,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M",e,0],["L",e,n],["M",0,r],["L",V,r],{fillMode:"none"}],[["M",0,r],["E","=V.cx5","=V.cy5","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd2)","=A(V.wd2,V.hd2,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx6","=V.cy6","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V._3cd4)","=A(V.wd2,V.hd2,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx7","=V.cy7","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,0)","=A(V.wd2,V.hd2,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx8","=V.cy8","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd4)","=A(V.wd2,V.hd2,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{fillMode:"none"}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},flowchartCollate:{variables:{ir:"=width * 3 / 4",ib:"=height * 3 / 4",hc:y,t:0,vc:f,b:n,_scaleX1:"= width / 2",_scaleY1:"= height / 2",wd4:"=width/4",hd4:"=height/4"},connectionPoints:[{x:e,y:0},{x:e,y:r},{x:e,y:n}],path:[[["M",0,0],["L",V,0],["L",y,f],["L",V,n],["L",0,n],["L",y,f],["Z"],{}]],textRect:{left:"=V.wd4",top:"=V.hd4",right:"=V.ir",bottom:"=V.ib"}},flowchartSort:{variables:{ir:"=width * 3 / 4",ib:"=height * 3 / 4",hc:y,t:0,l:0,vc:f,b:n,r:V,_scaleX1:"= width / 2",_scaleY1:"= height / 2",_scaleX2:"= width / 2",_scaleX3:"= width / 2",_scaleY3:"= height / 2",wd4:"=width/4",hd4:"=height/4"},connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],path:[[["M",0,f],["L",y,0],["L",V,f],["L",y,n],["Z"],{strokeMode:"false"}],[["M",0,f],["L",V,f],{fillMode:"none"}],[["M",0,f],["L",y,0],["L",V,f],["L",y,n],["Z"],{fillMode:"none"}]],textRect:{left:"=V.wd4",top:"=V.hd4",right:"=V.ir",bottom:"=V.ib"}},flowchartExtract:{variables:{x2:"=width * 3 / 4",hc:y,t:0,wd4:"=width/4",vc:f,b:n,_scaleX1:"= width / 2",_scaleY1:"= height / 2"},connectionPoints:[{x:e,y:0},{x:"=V.wd4",y:r},{x:e,y:n},{x:s,y:r}],path:[[["M",0,n],["L",y,0],["L",V,n],["Z"],{}]],textRect:{left:"=V.wd4",top:r,right:s,bottom:n}},flowchartMerge:{variables:{x2:"=width * 3 / 4",hc:y,t:0,wd4:"=width/4",vc:f,b:n,_scaleX1:"= width / 2",_scaleY1:"= height / 2"},connectionPoints:[{x:e,y:0},{x:"=V.wd4",y:r},{x:e,y:n},{x:s,y:r}],path:[[["M",0,0],["L",V,0],["L",y,n],["Z"],{}]],textRect:{left:"=V.wd4",top:0,right:s,bottom:r}},flowchartStoredData:{variables:{x2:"=width * 5 / 6",hc:y,t:0,l:0,vc:f,b:n,_scaleX1:"= width / 6",_scaleY1:"= height / 6",_3cd4:x,cx1:"=C(1,6,A(1,3,V._3cd4),true)",cy1:"=C(3,0,A(1,3,V._3cd4))",cd4:u,cd2:h,cx2:"=C(1,1,A(1,3,V.cd4),true)",cy2:"=C(3,6,A(1,3,V.cd4))",wd6:"=width/6"},connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:s,y:r}],path:[[["M","=V._scaleX1",0],["L",V,0],["E","=V.cx1 * V._scaleX1","=V.cy1 * V._scaleY1","=V._scaleX1",f,0,"=A(1,3,V._3cd4)","=A(1,3,(V._3cd4 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L","=V._scaleX1",n],["E","=V.cx2 * V._scaleX1","=V.cy2 * V._scaleY1","=V._scaleX1",f,0,"=A(1,3,V.cd4)","=A(1,3,(V.cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.wd6",top:0,right:s,bottom:n}},flowchartDelay:{variables:{wd2:y,d2r:a,idx:"=V.wd2 * COS(2700000 / V.d2r)",hd2:f,idy:"=V.hd2 * SIN(2700000 / V.d2r)",hc:y,ir:"=V.hc + V.idx",vc:f,it:"=V.vc - V.idy",ib:"=V.vc + V.idy",t:0,l:0,b:n,r:V,_3cd4:x,cd2:h,cx1:"=C(V.wd2,V.hc,A(V.wd2,V.hd2,V._3cd4),true)",cy1:"=C(V.hd2,V.t,A(V.wd2,V.hd2,V._3cd4))"},connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],path:[[["M",0,0],["L",e,0],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V._3cd4)","=A(V.wd2,V.hd2,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L",0,n],["Z"],{}]],textRect:{left:0,top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},flowchartSequentialAccessStorage:{variables:{wd2:y,d2r:a,idx:"=V.wd2 * COS(2700000 / V.d2r)",hd2:f,idy:"=V.hd2 * SIN(2700000 / V.d2r)",hc:y,il:"=V.hc - V.idx",ir:"=V.hc + V.idx",vc:f,it:"=V.vc - V.idy",ib:"=V.vc + V.idy",ang1:"=(ATAN2(width,height) * V.d2r)",t:0,l:0,b:n,r:V,cd4:u,cx1:"=C(V.wd2,V.hc,A(V.wd2,V.hd2,V.cd4),true)",cy1:"=C(V.hd2,V.b,A(V.wd2,V.hd2,V.cd4))",cd2:h,cx2:"=C(V.wd2,P(V.cx1,V.wd2,A(V.wd2,V.hd2,(V.cd4 + V.cd4)),true),A(V.wd2,V.hd2,V.cd2),true)",cy2:"=C(V.hd2,P(V.cy1,V.hd2,A(V.wd2,V.hd2,(V.cd4 + V.cd4))),A(V.wd2,V.hd2,V.cd2))",_3cd4:x,cx3:"=C(V.wd2,P(V.cx2,V.wd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4)),true),A(V.wd2,V.hd2,V._3cd4),true)",cy3:"=C(V.hd2,P(V.cy2,V.hd2,A(V.wd2,V.hd2,(V.cd2 + V.cd4))),A(V.wd2,V.hd2,V._3cd4))",cx4:"=C(V.wd2,P(V.cx3,V.wd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4)),true),A(V.wd2,V.hd2,0),true)",cy4:"=C(V.hd2,P(V.cy3,V.hd2,A(V.wd2,V.hd2,(V._3cd4 + V.cd4))),A(V.wd2,V.hd2,0))"},connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],path:[[["M",e,n],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd4)","=A(V.wd2,V.hd2,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx2","=V.cy2","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd2)","=A(V.wd2,V.hd2,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx3","=V.cy3","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V._3cd4)","=A(V.wd2,V.hd2,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx4","=V.cy4","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,0)","=A(V.wd2,V.hd2,(V.ang1))","=IF(V.ang1 > 0, FALSE, TRUE)"],["L",V,"=V.ib"],["L",V,n],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},flowchartMagneticDisk:{variables:{y3:"=height * 5 / 6",hc:y,hd3:"=height/3",t:0,l:0,vc:f,b:n,r:V,_scaleX1:"= width / 6",_scaleY1:"= height / 6",cd2:h,cx1:"=C(3,0,A(3,1,V.cd2),true)",cy1:"=C(1,1,A(3,1,V.cd2))",cx2:"=C(3,6,A(3,1,0),true)",cy2:"=C(1,5,A(3,1,0))",_scaleX2:"= width / 6",_scaleY2:"= height / 6",cx3:"=C(3,6,A(3,1,0),true)",cy3:"=C(1,1,A(3,1,0))",_scaleX3:"= width / 6",_scaleY3:"= height / 6",cx4:"=C(3,0,A(3,1,V.cd2),true)",cy4:"=C(1,1,A(3,1,V.cd2))",cx5:"=C(3,6,A(3,1,0),true)",cy5:"=C(1,5,A(3,1,0))"},connectionPoints:[{x:e,y:"=V.hd3"},{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],path:[[["M",0,"=V._scaleY1"],["E","=V.cx1 * V._scaleX1","=V.cy1 * V._scaleY1",y,"=V._scaleY1",0,"=A(3,1,V.cd2)","=A(3,1,(V.cd2 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L",V,"=5 * V._scaleY1"],["E","=V.cx2 * V._scaleX1","=V.cy2 * V._scaleY1",y,"=V._scaleY1",0,"=A(3,1,0)","=A(3,1,(V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M",V,"=V._scaleY2"],["E","=V.cx3 * V._scaleX2","=V.cy3 * V._scaleY2",y,"=V._scaleY2",0,"=A(3,1,0)","=A(3,1,(V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],{fillMode:"none"}],[["M",0,"=V._scaleY3"],["E","=V.cx4 * V._scaleX3","=V.cy4 * V._scaleY3",y,"=V._scaleY3",0,"=A(3,1,V.cd2)","=A(3,1,(V.cd2 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L",V,"=5 * V._scaleY3"],["E","=V.cx5 * V._scaleX3","=V.cy5 * V._scaleY3",y,"=V._scaleY3",0,"=A(3,1,0)","=A(3,1,(V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["Z"],{fillMode:"none"}]],textRect:{left:0,top:"=V.hd3",right:V,bottom:"=V.y3"}},flowchartDirectAccessStorage:{variables:{x2:"=width * 2 / 3",hc:y,t:0,l:0,vc:f,b:n,r:V,_scaleX1:"= width / 6",_scaleY1:"= height / 6",_3cd4:x,cd2:h,cx1:"=C(1,5,A(1,3,V._3cd4),true)",cy1:"=C(3,0,A(1,3,V._3cd4))",cd4:u,cx2:"=C(1,1,A(1,3,V.cd4),true)",cy2:"=C(3,6,A(1,3,V.cd4))",_scaleX2:"= width / 6",_scaleY2:"= height / 6",cx3:"=C(1,5,A(1,3,V.cd4),true)",cy3:"=C(3,6,A(1,3,V.cd4))",_scaleX3:"= width / 6",_scaleY3:"= height / 6",cx4:"=C(1,5,A(1,3,V._3cd4),true)",cy4:"=C(3,0,A(1,3,V._3cd4))",cx5:"=C(1,1,A(1,3,V.cd4),true)",cy5:"=C(3,6,A(1,3,V.cd4))",wd6:"=width/6"},connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:s,y:r},{x:V,y:r}],path:[[["M","=V._scaleX1",0],["L","=5 * V._scaleX1",0],["E","=V.cx1 * V._scaleX1","=V.cy1 * V._scaleY1","=V._scaleX1",f,0,"=A(1,3,V._3cd4)","=A(1,3,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V._scaleX1",n],["E","=V.cx2 * V._scaleX1","=V.cy2 * V._scaleY1","=V._scaleX1",f,0,"=A(1,3,V.cd4)","=A(1,3,(V.cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M","=5 * V._scaleX2",n],["E","=V.cx3 * V._scaleX2","=V.cy3 * V._scaleY2","=V._scaleX2",f,0,"=A(1,3,V.cd4)","=A(1,3,(V.cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],{fillMode:"none"}],[["M","=V._scaleX3",0],["L","=5 * V._scaleX3",0],["E","=V.cx4 * V._scaleX3","=V.cy4 * V._scaleY3","=V._scaleX3",f,0,"=A(1,3,V._3cd4)","=A(1,3,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V._scaleX3",n],["E","=V.cx5 * V._scaleX3","=V.cy5 * V._scaleY3","=V._scaleX3",f,0,"=A(1,3,V.cd4)","=A(1,3,(V.cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["Z"],{fillMode:"none"}]],textRect:{left:"=V.wd6",top:0,right:s,bottom:n}},flowchartDisplay:{variables:{x2:"=width * 5 / 6",hc:y,t:0,l:0,vc:f,b:n,r:V,_scaleX1:"= width / 6",_scaleY1:"= height / 6",_3cd4:x,cd2:h,cx1:"=C(1,5,A(1,3,V._3cd4),true)",cy1:"=C(3,0,A(1,3,V._3cd4))",wd6:"=width/6"},connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],path:[[["M",0,f],["L","=V._scaleX1",0],["L","=5 * V._scaleX1",0],["E","=V.cx1 * V._scaleX1","=V.cy1 * V._scaleY1","=V._scaleX1",f,0,"=A(1,3,V._3cd4)","=A(1,3,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V._scaleX1",n],["Z"],{}]],textRect:{left:"=V.wd6",top:0,right:s,bottom:n}},explosion1:{variables:{x5:"=width * 4627 / 21600",x12:"=width * 8485 / 21600",x21:"=width * 16702 / 21600",x24:"=width * 14522 / 21600",y3:"=height * 6320 / 21600",y6:"=height * 8615 / 21600",y9:"=height * 13937 / 21600",y18:"=height * 13290 / 21600",t:0,l:0,b:n,r:V,_scaleX1:"= width / 21600",_scaleY1:"= height / 21600"},connectionPoints:[{x:"=V.x24",y:0},{x:0,y:"=V.y6"},{x:"=V.x12",y:n},{x:V,y:"=V.y18"}],path:[[["M",y,"=5800 * V._scaleY1"],["L","=14522 * V._scaleX1",0],["L","=14155 * V._scaleX1","=5325 * V._scaleY1"],["L","=18380 * V._scaleX1","=4457 * V._scaleY1"],["L","=16702 * V._scaleX1","=7315 * V._scaleY1"],["L","=21097 * V._scaleX1","=8137 * V._scaleY1"],["L","=17607 * V._scaleX1","=10475 * V._scaleY1"],["L",V,"=13290 * V._scaleY1"],["L","=16837 * V._scaleX1","=12942 * V._scaleY1"],["L","=18145 * V._scaleX1","=18095 * V._scaleY1"],["L","=14020 * V._scaleX1","=14457 * V._scaleY1"],["L","=13247 * V._scaleX1","=19737 * V._scaleY1"],["L","=10532 * V._scaleX1","=14935 * V._scaleY1"],["L","=8485 * V._scaleX1",n],["L","=7715 * V._scaleX1","=15627 * V._scaleY1"],["L","=4762 * V._scaleX1","=17617 * V._scaleY1"],["L","=5667 * V._scaleX1","=13937 * V._scaleY1"],["L","=135 * V._scaleX1","=14587 * V._scaleY1"],["L","=3722 * V._scaleX1","=11775 * V._scaleY1"],["L",0,"=8615 * V._scaleY1"],["L","=4627 * V._scaleX1","=7617 * V._scaleY1"],["L","=370 * V._scaleX1","=2295 * V._scaleY1"],["L","=7312 * V._scaleX1","=6320 * V._scaleY1"],["L","=8352 * V._scaleX1","=2295 * V._scaleY1"],["Z"],{}]],textRect:{left:"=V.x5",top:"=V.y3",right:"=V.x21",bottom:"=V.y9"}},explosion2:{variables:{x2:"=width * 9722 / 21600",x5:"=width * 5372 / 21600",x16:"=width * 11612 / 21600",x19:"=width * 14640 / 21600",y2:"=height * 1887 / 21600",y3:"=height * 6382 / 21600",y8:"=height * 12877 / 21600",y14:"=height * 19712 / 21600",y16:"=height * 18842 / 21600",y17:"=height * 15935 / 21600",y24:"=height * 6645 / 21600",l:0,r:V,_scaleX1:"= width / 21600",_scaleY1:"= height / 21600"},connectionPoints:[{x:s,y:d},{x:0,y:"=V.y8"},{x:"=V.x16",y:"=V.y16"},{x:V,y:"=V.y24"}],path:[[["M","=11462 * V._scaleX1","=4342 * V._scaleY1"],["L","=14790 * V._scaleX1",0],["L","=14525 * V._scaleX1","=5777 * V._scaleY1"],["L","=18007 * V._scaleX1","=3172 * V._scaleY1"],["L","=16380 * V._scaleX1","=6532 * V._scaleY1"],["L",V,"=6645 * V._scaleY1"],["L","=16985 * V._scaleX1","=9402 * V._scaleY1"],["L","=18270 * V._scaleX1","=11290 * V._scaleY1"],["L","=16380 * V._scaleX1","=12310 * V._scaleY1"],["L","=18877 * V._scaleX1","=15632 * V._scaleY1"],["L","=14640 * V._scaleX1","=14350 * V._scaleY1"],["L","=14942 * V._scaleX1","=17370 * V._scaleY1"],["L","=12180 * V._scaleX1","=15935 * V._scaleY1"],["L","=11612 * V._scaleX1","=18842 * V._scaleY1"],["L","=9872 * V._scaleX1","=17370 * V._scaleY1"],["L","=8700 * V._scaleX1","=19712 * V._scaleY1"],["L","=7527 * V._scaleX1","=18125 * V._scaleY1"],["L","=4917 * V._scaleX1",n],["L","=4805 * V._scaleX1","=18240 * V._scaleY1"],["L","=1285 * V._scaleX1","=17825 * V._scaleY1"],["L","=3330 * V._scaleX1","=15370 * V._scaleY1"],["L",0,"=12877 * V._scaleY1"],["L","=3935 * V._scaleX1","=11592 * V._scaleY1"],["L","=1172 * V._scaleX1","=8270 * V._scaleY1"],["L","=5372 * V._scaleX1","=7817 * V._scaleY1"],["L","=4502 * V._scaleX1","=3625 * V._scaleY1"],["L","=8550 * V._scaleX1","=6382 * V._scaleY1"],["L","=9722 * V._scaleX1","=1887 * V._scaleY1"],["Z"],{}]],textRect:{left:"=V.x5",top:"=V.y3",right:"=V.x19",bottom:"=V.y17"}},shape4pointStar:{variables:{adj:12500,a:"=MIN(MAX(0, V.adj), 50000)",wd2:y,iwd2:"=V.wd2 * V.a / 50000",hd2:f,ihd2:"=V.hd2 * V.a / 50000",d2r:a,sdx:"=V.iwd2 * COS(2700000 / V.d2r)",sdy:"=V.ihd2 * SIN(2700000 / V.d2r)",hc:y,sx1:"=V.hc - V.sdx",sx2:"=V.hc + V.sdx",vc:f,sy1:"=V.vc - V.sdy",sy2:"=V.vc + V.sdy",yAdj:"=V.vc - V.ihd2",t:0,l:0,b:n,r:V},adjustInfo:[["adj",12500]],connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"hc",y:"yAdj"},point:[e,"=V.yAdj"]}],path:[[["M",0,r],["L","=V.sx1","=V.sy1"],["L",e,0],["L","=V.sx2","=V.sy1"],["L",V,r],["L","=V.sx2","=V.sy2"],["L",e,n],["L","=V.sx1","=V.sy2"],["Z"],{}]],textRect:{left:"=V.sx1",top:"=V.sy1",right:"=V.sx2",bottom:"=V.sy2"}},shape5pointStar:{variables:{adj:19098,hf:105146,vf:110557,a:"=MIN(MAX(0, V.adj), 50000)",wd2:y,swd2:"=V.wd2 * V.hf / 100000",hd2:f,shd2:"=V.hd2 * V.vf / 100000",vc:f,svc:"=V.vc * V.vf / 100000",d2r:a,dx1:"=V.swd2 * COS(1080000 / V.d2r)",dx2:"=V.swd2 * COS(18360000 / V.d2r)",dy1:"=V.shd2 * SIN(1080000 / V.d2r)",dy2:"=V.shd2 * SIN(18360000 / V.d2r)",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc - V.dx2",x3:"=V.hc + V.dx2",x4:"=V.hc + V.dx1",y1:"=V.svc - V.dy1",y2:"=V.svc - V.dy2",iwd2:"=V.swd2 * V.a / 50000",ihd2:"=V.shd2 * V.a / 50000",sdx1:"=V.iwd2 * COS(20520000 / V.d2r)",sdx2:"=V.iwd2 * COS(3240000 / V.d2r)",sdy1:"=V.ihd2 * SIN(3240000 / V.d2r)",sdy2:"=V.ihd2 * SIN(20520000 / V.d2r)",sx1:"=V.hc - V.sdx1",sx2:"=V.hc - V.sdx2",sx3:"=V.hc + V.sdx2",sx4:"=V.hc + V.sdx1",sy1:"=V.svc - V.sdy1",sy2:"=V.svc - V.sdy2",sy3:"=V.svc + V.ihd2",yAdj:"=V.svc - V.ihd2",t:0},adjustInfo:[["adj",19098],["hf",105146],["vf",110557]],connectionPoints:[{x:e,y:0},{x:c,y:o},{x:s,y:d},{x:"=V.x3",y:d},{x:"=V.x4",y:o}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"hc",y:"yAdj"},point:[e,"=V.yAdj"]}],path:[[["M",c,o],["L","=V.sx2","=V.sy1"],["L",e,0],["L","=V.sx3","=V.sy1"],["L","=V.x4",o],["L","=V.sx4","=V.sy2"],["L","=V.x3",d],["L",e,"=V.sy3"],["L",s,d],["L","=V.sx1","=V.sy2"],["Z"],{}]],textRect:{left:"=V.sx1",top:"=V.sy1",right:"=V.sx4",bottom:"=V.sy3"}},shape8pointStar:{variables:{adj:37500,a:"=MIN(MAX(0, V.adj), 50000)",wd2:y,d2r:a,dx1:"=V.wd2 * COS(2700000 / V.d2r)",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc + V.dx1",hd2:f,dy1:"=V.hd2 * SIN(2700000 / V.d2r)",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc + V.dy1",iwd2:"=V.wd2 * V.a / 50000",ihd2:"=V.hd2 * V.a / 50000",sdx1:"=V.iwd2 * 92388 / 100000",sdx2:"=V.iwd2 * 38268 / 100000",sdy1:"=V.ihd2 * 92388 / 100000",sdy2:"=V.ihd2 * 38268 / 100000",sx1:"=V.hc - V.sdx1",sx2:"=V.hc - V.sdx2",sx3:"=V.hc + V.sdx2",sx4:"=V.hc + V.sdx1",sy1:"=V.vc - V.sdy1",sy2:"=V.vc - V.sdy2",sy3:"=V.vc + V.sdy2",sy4:"=V.vc + V.sdy1",yAdj:"=V.vc - V.ihd2",r:V,b:n,l:0,t:0},adjustInfo:[["adj",37500]],connectionPoints:[{x:V,y:r},{x:s,y:d},{x:e,y:n},{x:c,y:d},{x:0,y:r},{x:c,y:o},{x:e,y:0},{x:s,y:o}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"hc",y:"yAdj"},point:[e,"=V.yAdj"]}],path:[[["M",0,r],["L","=V.sx1","=V.sy2"],["L",c,o],["L","=V.sx2","=V.sy1"],["L",e,0],["L","=V.sx3","=V.sy1"],["L",s,o],["L","=V.sx4","=V.sy2"],["L",V,r],["L","=V.sx4","=V.sy3"],["L",s,d],["L","=V.sx3","=V.sy4"],["L",e,n],["L","=V.sx2","=V.sy4"],["L",c,d],["L","=V.sx1","=V.sy3"],["Z"],{}]],textRect:{left:"=V.sx1",top:"=V.sy1",right:"=V.sx4",bottom:"=V.sy4"}},shape16pointStar:{variables:{adj:37500,a:"=MIN(MAX(0, V.adj), 50000)",wd2:y,dx1:"=V.wd2 * 92388 / 100000",dx2:"=V.wd2 * 70711 / 100000",dx3:"=V.wd2 * 38268 / 100000",hd2:f,dy1:"=V.hd2 * 92388 / 100000",dy2:"=V.hd2 * 70711 / 100000",dy3:"=V.hd2 * 38268 / 100000",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc - V.dx2",x3:"=V.hc - V.dx3",x4:"=V.hc + V.dx3",x5:"=V.hc + V.dx2",x6:"=V.hc + V.dx1",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc - V.dy2",y3:"=V.vc - V.dy3",y4:"=V.vc + V.dy3",y5:"=V.vc + V.dy2",y6:"=V.vc + V.dy1",iwd2:"=V.wd2 * V.a / 50000",ihd2:"=V.hd2 * V.a / 50000",sdx1:"=V.iwd2 * 98079 / 100000",sdx2:"=V.iwd2 * 83147 / 100000",sdx3:"=V.iwd2 * 55557 / 100000",sdx4:"=V.iwd2 * 19509 / 100000",sdy1:"=V.ihd2 * 98079 / 100000",sdy2:"=V.ihd2 * 83147 / 100000",sdy3:"=V.ihd2 * 55557 / 100000",sdy4:"=V.ihd2 * 19509 / 100000",sx1:"=V.hc - V.sdx1",sx2:"=V.hc - V.sdx2",sx3:"=V.hc - V.sdx3",sx4:"=V.hc - V.sdx4",sx5:"=V.hc + V.sdx4",sx6:"=V.hc + V.sdx3",sx7:"=V.hc + V.sdx2",sx8:"=V.hc + V.sdx1",sy1:"=V.vc - V.sdy1",sy2:"=V.vc - V.sdy2",sy3:"=V.vc - V.sdy3",sy4:"=V.vc - V.sdy4",sy5:"=V.vc + V.sdy4",sy6:"=V.vc + V.sdy3",sy7:"=V.vc + V.sdy2",sy8:"=V.vc + V.sdy1",d2r:a,idx:"=V.iwd2 * COS(2700000 / V.d2r)",idy:"=V.ihd2 * SIN(2700000 / V.d2r)",il:"=V.hc - V.idx",it:"=V.vc - V.idy",ir:"=V.hc + V.idx",ib:"=V.vc + V.idy",yAdj:"=V.vc - V.ihd2",r:V,b:n,l:0,t:0},adjustInfo:[["adj",37500]],connectionPoints:[{x:"=V.x5",y:d},{x:"=V.x6",y:"=V.y3"},{x:V,y:r},{x:"=V.x6",y:"=V.y4"},{x:"=V.x5",y:"=V.y5"},{x:"=V.x4",y:"=V.y6"},{x:e,y:n},{x:"=V.x3",y:"=V.y6"},{x:s,y:"=V.y5"},{x:c,y:"=V.y4"},{x:0,y:r},{x:c,y:"=V.y3"},{x:s,y:d},{x:"=V.x3",y:o},{x:e,y:0},{x:"=V.x4",y:o}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"hc",y:"yAdj"},point:[e,"=V.yAdj"]}],path:[[["M",0,r],["L","=V.sx1","=V.sy4"],["L",c,"=V.y3"],["L","=V.sx2","=V.sy3"],["L",s,d],["L","=V.sx3","=V.sy2"],["L","=V.x3",o],["L","=V.sx4","=V.sy1"],["L",e,0],["L","=V.sx5","=V.sy1"],["L","=V.x4",o],["L","=V.sx6","=V.sy2"],["L","=V.x5",d],["L","=V.sx7","=V.sy3"],["L","=V.x6","=V.y3"],["L","=V.sx8","=V.sy4"],["L",V,r],["L","=V.sx8","=V.sy5"],["L","=V.x6","=V.y4"],["L","=V.sx7","=V.sy6"],["L","=V.x5","=V.y5"],["L","=V.sx6","=V.sy7"],["L","=V.x4","=V.y6"],["L","=V.sx5","=V.sy8"],["L",e,n],["L","=V.sx4","=V.sy8"],["L","=V.x3","=V.y6"],["L","=V.sx3","=V.sy7"],["L",s,"=V.y5"],["L","=V.sx2","=V.sy6"],["L",c,"=V.y4"],["L","=V.sx1","=V.sy5"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},shape24pointStar:{variables:{adj:37500,a:"=MIN(MAX(0, V.adj), 50000)",wd2:y,d2r:a,dx1:"=V.wd2 * COS(900000 / V.d2r)",dx2:"=V.wd2 * COS(1800000 / V.d2r)",dx3:"=V.wd2 * COS(2700000 / V.d2r)",wd4:"=width/4",dx4:"=V.wd4",dx5:"=V.wd2 * COS(4500000 / V.d2r)",hd2:f,dy1:"=V.hd2 * SIN(4500000 / V.d2r)",dy2:"=V.hd2 * SIN(3600000 / V.d2r)",dy3:"=V.hd2 * SIN(2700000 / V.d2r)",hd4:"=height/4",dy4:"=V.hd4",dy5:"=V.hd2 * SIN(900000 / V.d2r)",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc - V.dx2",x3:"=V.hc - V.dx3",x4:"=V.hc - V.dx4",x5:"=V.hc - V.dx5",x6:"=V.hc + V.dx5",x7:"=V.hc + V.dx4",x8:"=V.hc + V.dx3",x9:"=V.hc + V.dx2",x10:"=V.hc + V.dx1",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc - V.dy2",y3:"=V.vc - V.dy3",y4:"=V.vc - V.dy4",y5:"=V.vc - V.dy5",y6:"=V.vc + V.dy5",y7:"=V.vc + V.dy4",y8:"=V.vc + V.dy3",y9:"=V.vc + V.dy2",y10:"=V.vc + V.dy1",iwd2:"=V.wd2 * V.a / 50000",ihd2:"=V.hd2 * V.a / 50000",sdx1:"=V.iwd2 * 99144 / 100000",sdx2:"=V.iwd2 * 92388 / 100000",sdx3:"=V.iwd2 * 79335 / 100000",sdx4:"=V.iwd2 * 60876 / 100000",sdx5:"=V.iwd2 * 38268 / 100000",sdx6:"=V.iwd2 * 13053 / 100000",sdy1:"=V.ihd2 * 99144 / 100000",sdy2:"=V.ihd2 * 92388 / 100000",sdy3:"=V.ihd2 * 79335 / 100000",sdy4:"=V.ihd2 * 60876 / 100000",sdy5:"=V.ihd2 * 38268 / 100000",sdy6:"=V.ihd2 * 13053 / 100000",sx1:"=V.hc - V.sdx1",sx2:"=V.hc - V.sdx2",sx3:"=V.hc - V.sdx3",sx4:"=V.hc - V.sdx4",sx5:"=V.hc - V.sdx5",sx6:"=V.hc - V.sdx6",sx7:"=V.hc + V.sdx6",sx8:"=V.hc + V.sdx5",sx9:"=V.hc + V.sdx4",sx10:"=V.hc + V.sdx3",sx11:"=V.hc + V.sdx2",sx12:"=V.hc + V.sdx1",sy1:"=V.vc - V.sdy1",sy2:"=V.vc - V.sdy2",sy3:"=V.vc - V.sdy3",sy4:"=V.vc - V.sdy4",sy5:"=V.vc - V.sdy5",sy6:"=V.vc - V.sdy6",sy7:"=V.vc + V.sdy6",sy8:"=V.vc + V.sdy5",sy9:"=V.vc + V.sdy4",sy10:"=V.vc + V.sdy3",sy11:"=V.vc + V.sdy2",sy12:"=V.vc + V.sdy1",idx:"=V.iwd2 * COS(2700000 / V.d2r)",idy:"=V.ihd2 * SIN(2700000 / V.d2r)",il:"=V.hc - V.idx",it:"=V.vc - V.idy",ir:"=V.hc + V.idx",ib:"=V.vc + V.idy",yAdj:"=V.vc - V.ihd2",t:0,l:0,b:n,r:V},adjustInfo:[["adj",37500]],connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"hc",y:"yAdj"},point:[e,"=V.yAdj"]}],path:[[["M",0,r],["L","=V.sx1","=V.sy6"],["L",c,"=V.y5"],["L","=V.sx2","=V.sy5"],["L",s,"=V.y4"],["L","=V.sx3","=V.sy4"],["L","=V.x3","=V.y3"],["L","=V.sx4","=V.sy3"],["L","=V.x4",d],["L","=V.sx5","=V.sy2"],["L","=V.x5",o],["L","=V.sx6","=V.sy1"],["L",e,0],["L","=V.sx7","=V.sy1"],["L","=V.x6",o],["L","=V.sx8","=V.sy2"],["L","=V.x7",d],["L","=V.sx9","=V.sy3"],["L","=V.x8","=V.y3"],["L","=V.sx10","=V.sy4"],["L","=V.x9","=V.y4"],["L","=V.sx11","=V.sy5"],["L","=V.x10","=V.y5"],["L","=V.sx12","=V.sy6"],["L",V,r],["L","=V.sx12","=V.sy7"],["L","=V.x10","=V.y6"],["L","=V.sx11","=V.sy8"],["L","=V.x9","=V.y7"],["L","=V.sx10","=V.sy9"],["L","=V.x8","=V.y8"],["L","=V.sx9","=V.sy10"],["L","=V.x7","=V.y9"],["L","=V.sx8","=V.sy11"],["L","=V.x6","=V.y10"],["L","=V.sx7","=V.sy12"],["L",e,n],["L","=V.sx6","=V.sy12"],["L","=V.x5","=V.y10"],["L","=V.sx5","=V.sy11"],["L","=V.x4","=V.y9"],["L","=V.sx4","=V.sy10"],["L","=V.x3","=V.y8"],["L","=V.sx3","=V.sy9"],["L",s,"=V.y7"],["L","=V.sx2","=V.sy8"],["L",c,"=V.y6"],["L","=V.sx1","=V.sy7"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},shape32pointStar:{variables:{adj:37500,a:"=MIN(MAX(0, V.adj), 50000)",wd2:y,dx1:"=V.wd2 * 98079 / 100000",dx2:"=V.wd2 * 92388 / 100000",dx3:"=V.wd2 * 83147 / 100000",d2r:a,dx4:"=V.wd2 * COS(2700000 / V.d2r)",dx5:"=V.wd2 * 55557 / 100000",dx6:"=V.wd2 * 38268 / 100000",dx7:"=V.wd2 * 19509 / 100000",hd2:f,dy1:"=V.hd2 * 98079 / 100000",dy2:"=V.hd2 * 92388 / 100000",dy3:"=V.hd2 * 83147 / 100000",dy4:"=V.hd2 * SIN(2700000 / V.d2r)",dy5:"=V.hd2 * 55557 / 100000",dy6:"=V.hd2 * 38268 / 100000",dy7:"=V.hd2 * 19509 / 100000",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc - V.dx2",x3:"=V.hc - V.dx3",x4:"=V.hc - V.dx4",x5:"=V.hc - V.dx5",x6:"=V.hc - V.dx6",x7:"=V.hc - V.dx7",x8:"=V.hc + V.dx7",x9:"=V.hc + V.dx6",x10:"=V.hc + V.dx5",x11:"=V.hc + V.dx4",x12:"=V.hc + V.dx3",x13:"=V.hc + V.dx2",x14:"=V.hc + V.dx1",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc - V.dy2",y3:"=V.vc - V.dy3",y4:"=V.vc - V.dy4",y5:"=V.vc - V.dy5",y6:"=V.vc - V.dy6",y7:"=V.vc - V.dy7",y8:"=V.vc + V.dy7",y9:"=V.vc + V.dy6",y10:"=V.vc + V.dy5",y11:"=V.vc + V.dy4",y12:"=V.vc + V.dy3",y13:"=V.vc + V.dy2",y14:"=V.vc + V.dy1",iwd2:"=V.wd2 * V.a / 50000",ihd2:"=V.hd2 * V.a / 50000",sdx1:"=V.iwd2 * 99518 / 100000",sdx2:"=V.iwd2 * 95694 / 100000",sdx3:"=V.iwd2 * 88192 / 100000",sdx4:"=V.iwd2 * 77301 / 100000",sdx5:"=V.iwd2 * 63439 / 100000",sdx6:"=V.iwd2 * 47140 / 100000",sdx7:"=V.iwd2 * 29028 / 100000",sdx8:"=V.iwd2 * 9802 / 100000",sdy1:"=V.ihd2 * 99518 / 100000",sdy2:"=V.ihd2 * 95694 / 100000",sdy3:"=V.ihd2 * 88192 / 100000",sdy4:"=V.ihd2 * 77301 / 100000",sdy5:"=V.ihd2 * 63439 / 100000",sdy6:"=V.ihd2 * 47140 / 100000",sdy7:"=V.ihd2 * 29028 / 100000",sdy8:"=V.ihd2 * 9802 / 100000",sx1:"=V.hc - V.sdx1",sx2:"=V.hc - V.sdx2",sx3:"=V.hc - V.sdx3",sx4:"=V.hc - V.sdx4",sx5:"=V.hc - V.sdx5",sx6:"=V.hc - V.sdx6",sx7:"=V.hc - V.sdx7",sx8:"=V.hc - V.sdx8",sx9:"=V.hc + V.sdx8",sx10:"=V.hc + V.sdx7",sx11:"=V.hc + V.sdx6",sx12:"=V.hc + V.sdx5",sx13:"=V.hc + V.sdx4",sx14:"=V.hc + V.sdx3",sx15:"=V.hc + V.sdx2",sx16:"=V.hc + V.sdx1",sy1:"=V.vc - V.sdy1",sy2:"=V.vc - V.sdy2",sy3:"=V.vc - V.sdy3",sy4:"=V.vc - V.sdy4",sy5:"=V.vc - V.sdy5",sy6:"=V.vc - V.sdy6",sy7:"=V.vc - V.sdy7",sy8:"=V.vc - V.sdy8",sy9:"=V.vc + V.sdy8",sy10:"=V.vc + V.sdy7",sy11:"=V.vc + V.sdy6",sy12:"=V.vc + V.sdy5",sy13:"=V.vc + V.sdy4",sy14:"=V.vc + V.sdy3",sy15:"=V.vc + V.sdy2",sy16:"=V.vc + V.sdy1",idx:"=V.iwd2 * COS(2700000 / V.d2r)",idy:"=V.ihd2 * SIN(2700000 / V.d2r)",il:"=V.hc - V.idx",it:"=V.vc - V.idy",ir:"=V.hc + V.idx",ib:"=V.vc + V.idy",yAdj:"=V.vc - V.ihd2",t:0,l:0,b:n,r:V},adjustInfo:[["adj",37500]],connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"hc",y:"yAdj"},point:[e,"=V.yAdj"]}],path:[[["M",0,r],["L","=V.sx1","=V.sy8"],["L",c,"=V.y7"],["L","=V.sx2","=V.sy7"],["L",s,"=V.y6"],["L","=V.sx3","=V.sy6"],["L","=V.x3","=V.y5"],["L","=V.sx4","=V.sy5"],["L","=V.x4","=V.y4"],["L","=V.sx5","=V.sy4"],["L","=V.x5","=V.y3"],["L","=V.sx6","=V.sy3"],["L","=V.x6",d],["L","=V.sx7","=V.sy2"],["L","=V.x7",o],["L","=V.sx8","=V.sy1"],["L",e,0],["L","=V.sx9","=V.sy1"],["L","=V.x8",o],["L","=V.sx10","=V.sy2"],["L","=V.x9",d],["L","=V.sx11","=V.sy3"],["L","=V.x10","=V.y3"],["L","=V.sx12","=V.sy4"],["L","=V.x11","=V.y4"],["L","=V.sx13","=V.sy5"],["L","=V.x12","=V.y5"],["L","=V.sx14","=V.sy6"],["L","=V.x13","=V.y6"],["L","=V.sx15","=V.sy7"],["L","=V.x14","=V.y7"],["L","=V.sx16","=V.sy8"],["L",V,r],["L","=V.sx16","=V.sy9"],["L","=V.x14","=V.y8"],["L","=V.sx15","=V.sy10"],["L","=V.x13","=V.y9"],["L","=V.sx14","=V.sy11"],["L","=V.x12","=V.y10"],["L","=V.sx13","=V.sy12"],["L","=V.x11","=V.y11"],["L","=V.sx12","=V.sy13"],["L","=V.x10","=V.y12"],["L","=V.sx11","=V.sy14"],["L","=V.x9","=V.y13"],["L","=V.sx10","=V.sy15"],["L","=V.x8","=V.y14"],["L","=V.sx9","=V.sy16"],["L",e,n],["L","=V.sx8","=V.sy16"],["L","=V.x7","=V.y14"],["L","=V.sx7","=V.sy15"],["L","=V.x6","=V.y13"],["L","=V.sx6","=V.sy14"],["L","=V.x5","=V.y12"],["L","=V.sx5","=V.sy13"],["L","=V.x4","=V.y11"],["L","=V.sx4","=V.sy12"],["L","=V.x3","=V.y10"],["L","=V.sx3","=V.sy11"],["L",s,"=V.y9"],["L","=V.sx2","=V.sy10"],["L",c,"=V.y8"],["L","=V.sx1","=V.sy9"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},upRibbon:{variables:{adj1:16667,adj2:5e4,a1:"=MIN(MAX(0, V.adj1), 33333)",a2:"=MIN(MAX(25000, V.adj2), 75000)",r:V,wd8:"=width/8",x10:"=width - V.wd8",dx2:"=width * V.a2 / 200000",hc:y,x2:"=V.hc - V.dx2",x9:"=V.hc + V.dx2",wd32:"=width/32",x3:"=V.x2 + V.wd32",x8:"=V.x9 - V.wd32",x5:"=V.x2 + V.wd8",x6:"=V.x9 - V.wd8",x4:"=V.x5 - V.wd32",x7:"=V.x6 + V.wd32",dy1:"=height * V.a1 / 200000",b:n,y1:"=height - V.dy1",dy2:"=height * V.a1 / 100000",y2:"=height - V.dy2",t:0,y4:"=V.dy2",y3:"=(V.y4 + V.b) / 2",hR:"=height * V.a1 / 400000",y6:"=height - V.hR",y7:"=V.y1 - V.hR",l:0,cd4:u,cx1:"=C(V.wd32,V.x4,A(V.wd32,V.hR,V.cd4),true)",cy1:"=C(V.hR,V.b,A(V.wd32,V.hR,V.cd4))",cd2:h,cx2:"=C(V.wd32,V.x3,A(V.wd32,V.hR,V.cd4),true)",cy2:"=C(V.hR,V.y1,A(V.wd32,V.hR,V.cd4))",_3cd4:x,cx3:"=C(V.wd32,V.x8,A(V.wd32,V.hR,V._3cd4),true)",cy3:"=C(V.hR,V.y2,A(V.wd32,V.hR,V._3cd4))",cx4:"=C(V.wd32,V.x7,A(V.wd32,V.hR,V._3cd4),true)",cy4:"=C(V.hR,V.y1,A(V.wd32,V.hR,V._3cd4))",cx5:"=C(V.wd32,V.x9,A(V.wd32,V.hR,0),true)",cy5:"=C(V.hR,V.hR,A(V.wd32,V.hR,0))",cx6:"=C(V.wd32,V.x3,A(V.wd32,V.hR,V._3cd4),true)",cy6:"=C(V.hR,V.t,A(V.wd32,V.hR,V._3cd4))",cx7:"=C(V.wd32,V.x5,A(V.wd32,V.hR,0),true)",cy7:"=C(V.hR,V.y6,A(V.wd32,V.hR,0))",cx8:"=C(V.wd32,V.x3,A(V.wd32,V.hR,V.cd4),true)",cy8:"=C(V.hR,V.y1,A(V.wd32,V.hR,V.cd4))",cx9:"=C(V.wd32,V.x6,A(V.wd32,V.hR,V.cd2),true)",cy9:"=C(V.hR,V.y6,A(V.wd32,V.hR,V.cd2))",cx10:"=C(V.wd32,V.x8,A(V.wd32,V.hR,V.cd4),true)",cy10:"=C(V.hR,V.y1,A(V.wd32,V.hR,V.cd4))",cx11:"=C(V.wd32,V.x2,A(V.wd32,V.hR,V.cd2),true)",cy11:"=C(V.hR,V.hR,A(V.wd32,V.hR,V.cd2))",cx12:"=C(V.wd32,V.x8,A(V.wd32,V.hR,V._3cd4),true)",cy12:"=C(V.hR,V.t,A(V.wd32,V.hR,V._3cd4))",cx13:"=C(V.wd32,V.x7,A(V.wd32,V.hR,V.cd4),true)",cy13:"=C(V.hR,V.b,A(V.wd32,V.hR,V.cd4))",cx14:"=C(V.wd32,V.x8,A(V.wd32,V.hR,V.cd4),true)",cy14:"=C(V.hR,V.y1,A(V.wd32,V.hR,V.cd4))",cx15:"=C(V.wd32,V.x3,A(V.wd32,V.hR,V._3cd4),true)",cy15:"=C(V.hR,V.y2,A(V.wd32,V.hR,V._3cd4))",cx16:"=C(V.wd32,V.x4,A(V.wd32,V.hR,V._3cd4),true)",cy16:"=C(V.hR,V.y1,A(V.wd32,V.hR,V._3cd4))"},adjustInfo:[["adj1",16667],["adj2",5e4]],connectionPoints:[{x:e,y:0},{x:"=V.wd8",y:"=V.y3"},{x:e,y:d},{x:"=V.x10",y:"=V.y3"}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:33333,position:{x:"hc",y:"y2"},point:[e,d]},{type:"ahXY",gdRefX:"adj2",minX:25e3,maxX:75e3,position:{x:"x2",y:"b"},point:[s,n]}],path:[[["M",0,n],["L","=V.x4",n],["E","=V.cx1","=V.cy1","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd4)","=A(V.wd32,V.hR,(V.cd4 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L","=V.x3",o],["E","=V.cx2","=V.cy2","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd4)","=A(V.wd32,V.hR,(V.cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V.x8",d],["E","=V.cx3","=V.cy3","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V.x7",o],["E","=V.cx4","=V.cy4","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L",V,n],["L","=V.x10","=V.y3"],["L",V,"=V.y4"],["L","=V.x9","=V.y4"],["L","=V.x9","=V.hR"],["E","=V.cx5","=V.cy5","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,0)","=A(V.wd32,V.hR,(-5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.x3",0],["E","=V.cx6","=V.cy6","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",s,"=V.y4"],["L",0,"=V.y4"],["L","=V.wd8","=V.y3"],["Z"],{strokeMode:"false"}],[["M","=V.x5","=V.y6"],["E","=V.cx7","=V.cy7","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,0)","=A(V.wd32,V.hR,(-5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.x3",o],["E","=V.cx8","=V.cy8","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd4)","=A(V.wd32,V.hR,(V.cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V.x5",d],["Z"],["M","=V.x6","=V.y6"],["E","=V.cx9","=V.cy9","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd2)","=A(V.wd32,V.hR,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x8",o],["E","=V.cx10","=V.cy10","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd4)","=A(V.wd32,V.hR,(V.cd4 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L","=V.x6",d],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M",0,n],["L","=V.wd8","=V.y3"],["L",0,"=V.y4"],["L",s,"=V.y4"],["L",s,"=V.hR"],["E","=V.cx11","=V.cy11","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd2)","=A(V.wd32,V.hR,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x8",0],["E","=V.cx12","=V.cy12","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x9","=V.y4"],["L","=V.x9","=V.y4"],["L",V,"=V.y4"],["L","=V.x10","=V.y3"],["L",V,n],["L","=V.x7",n],["E","=V.cx13","=V.cy13","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd4)","=A(V.wd32,V.hR,(V.cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V.x8",o],["E","=V.cx14","=V.cy14","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd4)","=A(V.wd32,V.hR,(V.cd4 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L","=V.x3",d],["E","=V.cx15","=V.cy15","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L","=V.x4",o],["E","=V.cx16","=V.cy16","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["Z"],["M","=V.x5",d],["L","=V.x5","=V.y6"],["M","=V.x6","=V.y6"],["L","=V.x6",d],["M",s,"=V.y7"],["L",s,"=V.y4"],["M","=V.x9","=V.y4"],["L","=V.x9","=V.y7"],{fillMode:"none"}]],textRect:{left:s,top:0,right:"=V.x9",bottom:d}},downRibbon:{variables:{adj1:16667,adj2:5e4,a1:"=MIN(MAX(0, V.adj1), 33333)",a2:"=MIN(MAX(25000, V.adj2), 75000)",r:V,wd8:"=width/8",x10:"=width - V.wd8",dx2:"=width * V.a2 / 200000",hc:y,x2:"=V.hc - V.dx2",x9:"=V.hc + V.dx2",wd32:"=width/32",x3:"=V.x2 + V.wd32",x8:"=V.x9 - V.wd32",x5:"=V.x2 + V.wd8",x6:"=V.x9 - V.wd8",x4:"=V.x5 - V.wd32",x7:"=V.x6 + V.wd32",y1:"=height * V.a1 / 200000",y2:"=height * V.a1 / 100000",b:n,y4:"=height - V.y2",y3:"=V.y4 / 2",hR:"=height * V.a1 / 400000",y5:"=height - V.hR",y6:"=V.y2 - V.hR",t:0,l:0,_3cd4:x,cd2:h,cx1:"=C(V.wd32,V.x4,A(V.wd32,V.hR,V._3cd4),true)",cy1:"=C(V.hR,V.t,A(V.wd32,V.hR,V._3cd4))",cx2:"=C(V.wd32,V.x3,A(V.wd32,V.hR,V._3cd4),true)",cy2:"=C(V.hR,V.y1,A(V.wd32,V.hR,V._3cd4))",cd4:u,cx3:"=C(V.wd32,V.x8,A(V.wd32,V.hR,V.cd4),true)",cy3:"=C(V.hR,V.y2,A(V.wd32,V.hR,V.cd4))",cx4:"=C(V.wd32,V.x7,A(V.wd32,V.hR,V.cd4),true)",cy4:"=C(V.hR,V.y1,A(V.wd32,V.hR,V.cd4))",cx5:"=C(V.wd32,V.x9,A(V.wd32,V.hR,0),true)",cy5:"=C(V.hR,V.y5,A(V.wd32,V.hR,0))",cx6:"=C(V.wd32,V.x3,A(V.wd32,V.hR,V.cd4),true)",cy6:"=C(V.hR,V.b,A(V.wd32,V.hR,V.cd4))",cx7:"=C(V.wd32,V.x5,A(V.wd32,V.hR,0),true)",cy7:"=C(V.hR,V.hR,A(V.wd32,V.hR,0))",cx8:"=C(V.wd32,V.x3,A(V.wd32,V.hR,V._3cd4),true)",cy8:"=C(V.hR,V.y1,A(V.wd32,V.hR,V._3cd4))",cx9:"=C(V.wd32,V.x6,A(V.wd32,V.hR,V.cd2),true)",cy9:"=C(V.hR,V.hR,A(V.wd32,V.hR,V.cd2))",cx10:"=C(V.wd32,V.x8,A(V.wd32,V.hR,V._3cd4),true)",cy10:"=C(V.hR,V.y1,A(V.wd32,V.hR,V._3cd4))",cx11:"=C(V.wd32,V.x4,A(V.wd32,V.hR,V._3cd4),true)",cy11:"=C(V.hR,V.t,A(V.wd32,V.hR,V._3cd4))",cx12:"=C(V.wd32,V.x3,A(V.wd32,V.hR,V._3cd4),true)",cy12:"=C(V.hR,V.y1,A(V.wd32,V.hR,V._3cd4))",cx13:"=C(V.wd32,V.x8,A(V.wd32,V.hR,V.cd4),true)",cy13:"=C(V.hR,V.y2,A(V.wd32,V.hR,V.cd4))",cx14:"=C(V.wd32,V.x7,A(V.wd32,V.hR,V.cd4),true)",cy14:"=C(V.hR,V.y1,A(V.wd32,V.hR,V.cd4))",cx15:"=C(V.wd32,V.x9,A(V.wd32,V.hR,0),true)",cy15:"=C(V.hR,V.y5,A(V.wd32,V.hR,0))",cx16:"=C(V.wd32,V.x3,A(V.wd32,V.hR,V.cd4),true)",cy16:"=C(V.hR,V.b,A(V.wd32,V.hR,V.cd4))"},adjustInfo:[["adj1",16667],["adj2",5e4]],connectionPoints:[{x:e,y:d},{x:"=V.wd8",y:"=V.y3"},{x:e,y:n},{x:"=V.x10",y:"=V.y3"}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:33333,position:{x:"hc",y:"y2"},point:[e,d]},{type:"ahXY",gdRefX:"adj2",minX:25e3,maxX:75e3,position:{x:"x2",y:"t"},point:[s,0]}],path:[[["M",0,0],["L","=V.x4",0],["E","=V.cx1","=V.cy1","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V.x3",o],["E","=V.cx2","=V.cy2","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L","=V.x8",d],["E","=V.cx3","=V.cy3","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd4)","=A(V.wd32,V.hR,(V.cd4 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L","=V.x7",o],["E","=V.cx4","=V.cy4","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd4)","=A(V.wd32,V.hR,(V.cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L",V,0],["L","=V.x10","=V.y3"],["L",V,"=V.y4"],["L","=V.x9","=V.y4"],["L","=V.x9","=V.y5"],["E","=V.cx5","=V.cy5","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,0)","=A(V.wd32,V.hR,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x3",n],["E","=V.cx6","=V.cy6","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd4)","=A(V.wd32,V.hR,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",s,"=V.y4"],["L",0,"=V.y4"],["L","=V.wd8","=V.y3"],["Z"],{strokeMode:"false"}],[["M","=V.x5","=V.hR"],["E","=V.cx7","=V.cy7","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,0)","=A(V.wd32,V.hR,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x3",o],["E","=V.cx8","=V.cy8","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L","=V.x5",d],["Z"],["M","=V.x6","=V.hR"],["E","=V.cx9","=V.cy9","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd2)","=A(V.wd32,V.hR,(V.cd2 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.x8",o],["E","=V.cx10","=V.cy10","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V.x6",d],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M",0,0],["L","=V.x4",0],["E","=V.cx11","=V.cy11","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V.x3",o],["E","=V.cx12","=V.cy12","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L","=V.x8",d],["E","=V.cx13","=V.cy13","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd4)","=A(V.wd32,V.hR,(V.cd4 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L","=V.x7",o],["E","=V.cx14","=V.cy14","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd4)","=A(V.wd32,V.hR,(V.cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L",V,0],["L","=V.x10","=V.y3"],["L",V,"=V.y4"],["L","=V.x9","=V.y4"],["L","=V.x9","=V.y5"],["E","=V.cx15","=V.cy15","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,0)","=A(V.wd32,V.hR,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x3",n],["E","=V.cx16","=V.cy16","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd4)","=A(V.wd32,V.hR,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",s,"=V.y4"],["L",0,"=V.y4"],["L","=V.wd8","=V.y3"],["Z"],["M","=V.x5","=V.hR"],["L","=V.x5",d],["M","=V.x6",d],["L","=V.x6","=V.hR"],["M",s,"=V.y4"],["L",s,"=V.y6"],["M","=V.x9","=V.y6"],["L","=V.x9","=V.y4"],{fillMode:"none"}]],textRect:{left:s,top:d,right:"=V.x9",bottom:n}},curvedUpRibbon:{variables:{adj1:25e3,adj2:5e4,adj3:12500,a1:"=MIN(MAX(0, V.adj1), 100000)",a2:"=MIN(MAX(25000, V.adj2), 75000)",q10:"=100000 - V.a1",q11:"=V.q10 / 2",q12:"=V.a1 - V.q11",minAdj3:"=MAX(0, V.q12)",a3:"=MIN(MAX(V.minAdj3, V.adj3), V.a1)",dx2:"=width * V.a2 / 200000",hc:y,x2:"=V.hc - V.dx2",wd8:"=width/8",x3:"=V.x2 + V.wd8",r:V,x4:"=width - V.x3",x5:"=width - V.x2",x6:"=width - V.wd8",dy1:"=height * V.a3 / 100000",f1:"=4 * V.dy1 / width",q1:"=V.x3 * V.x3 / width",q2:"=V.x3 - V.q1",u1:"=V.f1 * V.q2",b:n,y1:"=height - V.u1",cx1:"=V.x3 / 2",cu1:"=V.f1 * V.cx1",cy1:"=height - V.cu1",cx2:"=width - V.cx1",_q1:"=height * V.a1 / 100000",dy3:"=V._q1 - V.dy1",q3:"=V.x2 * V.x2 / width",q4:"=V.x2 - V.q3",q5:"=V.f1 * V.q4",u3:"=V.q5 + V.dy3",y3:"=height - V.u3",q6:"=V.dy1 + V.dy3 - V.u3",q7:"=V.q6 + V.dy1",cu3:"=V.q7 + V.dy3",cy3:"=height - V.cu3",rh:"=height - V._q1",q8:"=V.dy1 * 14 / 16",u2:"=(V.q8 + V.rh) / 2",y2:"=height - V.u2",u5:"=V.q5 + V.rh",y5:"=height - V.u5",u6:"=V.u3 + V.rh",y6:"=height - V.u6",cx4:"=V.x2 / 2",q9:"=V.f1 * V.cx4",cu4:"=V.q9 + V.rh",cy4:"=height - V.cu4",cx5:"=width - V.cx4",cu6:"=V.cu3 + V.rh",cy6:"=height - V.cu6",u7:"=V.u1 + V.dy3",y7:"=height - V.u7",cu7:"=V._q1 + V._q1 - V.u7",cy7:"=height - V.cu7",t:0,l:0},adjustInfo:[["adj1",25e3],["adj2",5e4],["adj3",12500]],connectionPoints:[{x:e,y:0},{x:"=V.wd8",y:d},{x:e,y:"=V.rh"},{x:"=V.x6",y:d}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:1e5,position:{x:"hc",y:"rh"},point:[e,"=V.rh"]},{type:"ahXY",gdRefX:"adj2",minX:25e3,maxX:1e5,position:{x:"x2",y:"t"},point:[s,0]},{type:"ahXY",gdRefY:"adj3",minY:"minAdj3",maxY:"a1",position:{x:"l",y:"dy1"},point:[0,"=V.dy1"]}],path:[[["M",0,n],["Q","=V.cx1","=V.cy1","=V.x3",o],["L",s,"=V.y3"],["Q",e,"=V.cy3","=V.x5","=V.y3"],["L","=V.x4",o],["Q","=V.cx2","=V.cy1",V,n],["L","=V.x6",d],["L",V,"=V._q1"],["Q","=V.cx5","=V.cy4","=V.x5","=V.y5"],["L","=V.x5","=V.y6"],["Q",e,"=V.cy6",s,"=V.y6"],["L",s,"=V.y5"],["Q","=V.cx4","=V.cy4",0,"=V._q1"],["L","=V.wd8",d],["Z"],{strokeMode:"false"}],[["M","=V.x3","=V.y7"],["L","=V.x3",o],["L",s,"=V.y3"],["Q",e,"=V.cy3","=V.x5","=V.y3"],["L","=V.x4",o],["L","=V.x4","=V.y7"],["Q",e,"=V.cy7","=V.x3","=V.y7"],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M",0,n],["L","=V.wd8",d],["L",0,"=V._q1"],["Q","=V.cx4","=V.cy4",s,"=V.y5"],["L",s,"=V.y6"],["Q",e,"=V.cy6","=V.x5","=V.y6"],["L","=V.x5","=V.y5"],["Q","=V.cx5","=V.cy4",V,"=V._q1"],["L","=V.x6",d],["L",V,n],["Q","=V.cx2","=V.cy1","=V.x4",o],["L","=V.x5","=V.y3"],["Q",e,"=V.cy3",s,"=V.y3"],["L","=V.x3",o],["Q","=V.cx1","=V.cy1",0,n],["Z"],["M",s,"=V.y3"],["L",s,"=V.y5"],["M","=V.x5","=V.y5"],["L","=V.x5","=V.y3"],["M","=V.x3","=V.y7"],["L","=V.x3",o],["M","=V.x4",o],["L","=V.x4","=V.y7"],{fillMode:"none"}]],textRect:{left:s,top:"=V.y6",right:"=V.x5",bottom:"=V.rh"}},curvedDownRibbon:{variables:{adj1:25e3,adj2:5e4,adj3:12500,a1:"=MIN(MAX(0, V.adj1), 100000)",a2:"=MIN(MAX(25000, V.adj2), 75000)",q10:"=100000 - V.a1",q11:"=V.q10 / 2",q12:"=V.a1 - V.q11",minAdj3:"=MAX(0, V.q12)",a3:"=MIN(MAX(V.minAdj3, V.adj3), V.a1)",dx2:"=width * V.a2 / 200000",hc:y,x2:"=V.hc - V.dx2",wd8:"=width/8",x3:"=V.x2 + V.wd8",r:V,x4:"=width - V.x3",x5:"=width - V.x2",x6:"=width - V.wd8",dy1:"=height * V.a3 / 100000",f1:"=4 * V.dy1 / width",q1:"=V.x3 * V.x3 / width",q2:"=V.x3 - V.q1",y1:"=V.f1 * V.q2",cx1:"=V.x3 / 2",cy1:"=V.f1 * V.cx1",cx2:"=width - V.cx1",_q1:"=height * V.a1 / 100000",dy3:"=V._q1 - V.dy1",q3:"=V.x2 * V.x2 / width",q4:"=V.x2 - V.q3",q5:"=V.f1 * V.q4",y3:"=V.q5 + V.dy3",q6:"=V.dy1 + V.dy3 - V.y3",q7:"=V.q6 + V.dy1",cy3:"=V.q7 + V.dy3",b:n,rh:"=height - V._q1",q8:"=V.dy1 * 14 / 16",y2:"=(V.q8 + V.rh) / 2",y5:"=V.q5 + V.rh",y6:"=V.y3 + V.rh",cx4:"=V.x2 / 2",q9:"=V.f1 * V.cx4",cy4:"=V.q9 + V.rh",cx5:"=width - V.cx4",cy6:"=V.cy3 + V.rh",y7:"=V.y1 + V.dy3",cy7:"=V._q1 + V._q1 - V.y7",y8:"=height - V.dy1",l:0,t:0},adjustInfo:[["adj1",25e3],["adj2",5e4],["adj3",12500]],connectionPoints:[{x:e,y:"=V._q1"},{x:"=V.wd8",y:d},{x:e,y:n},{x:"=V.x6",y:d}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:1e5,position:{x:"hc",y:"_q1"},point:[e,"=V._q1"]},{type:"ahXY",gdRefX:"adj2",minX:25e3,maxX:75e3,position:{x:"x2",y:"b"},point:[s,n]},{type:"ahXY",gdRefY:"adj3",minY:"minAdj3",maxY:"a1",position:{x:"l",y:"y8"},point:[0,"=V.y8"]}],path:[[["M",0,0],["Q","=V.cx1","=V.cy1","=V.x3",o],["L",s,"=V.y3"],["Q",e,"=V.cy3","=V.x5","=V.y3"],["L","=V.x4",o],["Q","=V.cx2","=V.cy1",V,0],["L","=V.x6",d],["L",V,"=V.rh"],["Q","=V.cx5","=V.cy4","=V.x5","=V.y5"],["L","=V.x5","=V.y6"],["Q",e,"=V.cy6",s,"=V.y6"],["L",s,"=V.y5"],["Q","=V.cx4","=V.cy4",0,"=V.rh"],["L","=V.wd8",d],["Z"],{strokeMode:"false"}],[["M","=V.x3","=V.y7"],["L","=V.x3",o],["L",s,"=V.y3"],["Q",e,"=V.cy3","=V.x5","=V.y3"],["L","=V.x4",o],["L","=V.x4","=V.y7"],["Q",e,"=V.cy7","=V.x3","=V.y7"],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M",0,0],["Q","=V.cx1","=V.cy1","=V.x3",o],["L",s,"=V.y3"],["Q",e,"=V.cy3","=V.x5","=V.y3"],["L","=V.x4",o],["Q","=V.cx2","=V.cy1",V,0],["L","=V.x6",d],["L",V,"=V.rh"],["Q","=V.cx5","=V.cy4","=V.x5","=V.y5"],["L","=V.x5","=V.y6"],["Q",e,"=V.cy6",s,"=V.y6"],["L",s,"=V.y5"],["Q","=V.cx4","=V.cy4",0,"=V.rh"],["L","=V.wd8",d],["Z"],["M",s,"=V.y5"],["L",s,"=V.y3"],["M","=V.x5","=V.y3"],["L","=V.x5","=V.y5"],["M","=V.x3",o],["L","=V.x3","=V.y7"],["M","=V.x4","=V.y7"],["L","=V.x4",o],{fillMode:"none"}]],textRect:{left:s,top:"=V._q1",right:"=V.x5",bottom:"=V.y6"}},verticalScroll:{variables:{adj:12500,a:"=MIN(MAX(0, V.adj), 25000)",ss:i,ch:"=V.ss * V.a / 100000",ch2:"=V.ch / 2",ch4:"=V.ch / 4",x3:"=V.ch + V.ch2",x4:"=V.ch + V.ch",r:V,x6:"=width - V.ch",x7:"=width - V.ch2",x5:"=V.x6 - V.ch2",b:n,y3:"=height - V.ch",y4:"=height - V.ch2",hc:y,t:0,vc:f,l:0,cd4:u,cx1:"=C(V.ch2,V.ch2,A(V.ch2,V.ch2,V.cd4),true)",cy1:"=C(V.ch2,V.b,A(V.ch2,V.ch2,V.cd4))",cx2:"=C(V.ch4,V.ch2,A(V.ch4,V.ch4,V.cd4),true)",cy2:"=C(V.ch4,V.y4,A(V.ch4,V.ch4,V.cd4))",cd2:h,cx3:"=C(V.ch2,V.ch,A(V.ch2,V.ch2,V.cd2),true)",cy3:"=C(V.ch2,V.ch2,A(V.ch2,V.ch2,V.cd2))",_3cd4:x,cx4:"=C(V.ch2,V.x7,A(V.ch2,V.ch2,V._3cd4),true)",cy4:"=C(V.ch2,V.t,A(V.ch2,V.ch2,V._3cd4))",cx5:"=C(V.ch2,V.x6,A(V.ch2,V.ch2,0),true)",cy5:"=C(V.ch2,V.y4,A(V.ch2,V.ch2,0))",cx6:"=C(V.ch2,V.x4,A(V.ch2,V.ch2,0),true)",cy6:"=C(V.ch2,V.ch2,A(V.ch2,V.ch2,0))",cx7:"=C(V.ch4,P(V.cx6,V.ch2,A(V.ch2,V.ch2,(V.cd4)),true),A(V.ch4,V.ch4,V.cd4),true)",cy7:"=C(V.ch4,P(V.cy6,V.ch2,A(V.ch2,V.ch2,(V.cd4))),A(V.ch4,V.ch4,V.cd4))",cx8:"=C(V.ch2,V.x4,A(V.ch2,V.ch2,0),true)",cy8:"=C(V.ch2,V.ch2,A(V.ch2,V.ch2,0))",cx9:"=C(V.ch4,P(V.cx8,V.ch2,A(V.ch2,V.ch2,(V.cd4)),true),A(V.ch4,V.ch4,V.cd4),true)",cy9:"=C(V.ch4,P(V.cy8,V.ch2,A(V.ch2,V.ch2,(V.cd4))),A(V.ch4,V.ch4,V.cd4))",cx10:"=C(V.ch2,V.ch,A(V.ch2,V.ch2,0),true)",cy10:"=C(V.ch2,V.y4,A(V.ch2,V.ch2,0))",cx11:"=C(V.ch4,P(V.cx10,V.ch2,A(V.ch2,V.ch2,(V._3cd4)),true),A(V.ch4,V.ch4,V._3cd4),true)",cy11:"=C(V.ch4,P(V.cy10,V.ch2,A(V.ch2,V.ch2,(V._3cd4))),A(V.ch4,V.ch4,V._3cd4))",cx12:"=C(V.ch2,V.ch,A(V.ch2,V.ch2,V.cd2),true)",cy12:"=C(V.ch2,V.ch2,A(V.ch2,V.ch2,V.cd2))",cx13:"=C(V.ch2,V.x7,A(V.ch2,V.ch2,V._3cd4),true)",cy13:"=C(V.ch2,V.t,A(V.ch2,V.ch2,V._3cd4))",cx14:"=C(V.ch2,V.x6,A(V.ch2,V.ch2,0),true)",cy14:"=C(V.ch2,V.y4,A(V.ch2,V.ch2,0))",cx15:"=C(V.ch2,V.ch2,A(V.ch2,V.ch2,V.cd4),true)",cy15:"=C(V.ch2,V.b,A(V.ch2,V.ch2,V.cd4))",cx16:"=C(V.ch2,V.x3,A(V.ch2,V.ch2,V._3cd4),true)",cy16:"=C(V.ch2,V.t,A(V.ch2,V.ch2,V._3cd4))",cx17:"=C(V.ch4,P(V.cx16,V.ch2,A(V.ch2,V.ch2,(V._3cd4 + V.cd2)),true),A(V.ch4,V.ch4,V.cd4),true)",cy17:"=C(V.ch4,P(V.cy16,V.ch2,A(V.ch2,V.ch2,(V._3cd4 + V.cd2))),A(V.ch4,V.ch4,V.cd4))",cx18:"=C(V.ch4,V.ch2,A(V.ch4,V.ch4,V._3cd4),true)",cy18:"=C(V.ch4,V.y3,A(V.ch4,V.ch4,V._3cd4))",cx19:"=C(V.ch2,V.ch2,A(V.ch2,V.ch2,V.cd4),true)",cy19:"=C(V.ch2,V.b,A(V.ch2,V.ch2,V.cd4))"},adjustInfo:[["adj",12500]],connectionPoints:[{x:e,y:0},{x:"=V.ch",y:r},{x:e,y:n},{x:"=V.x6",y:r}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:25e3,position:{x:"l",y:"ch"},point:[0,"=V.ch"]}],path:[[["M","=V.ch2",n],["E","=V.cx1","=V.cy1","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V.cd4)","=A(V.ch2,V.ch2,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.ch2","=V.y4"],["E","=V.cx2","=V.cy2","=V.ch4","=V.ch4",0,"=A(V.ch4,V.ch4,V.cd4)","=A(V.ch4,V.ch4,(V.cd4 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L","=V.ch","=V.y3"],["L","=V.ch","=V.ch2"],["E","=V.cx3","=V.cy3","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V.cd2)","=A(V.ch2,V.ch2,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x7",0],["E","=V.cx4","=V.cy4","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V._3cd4)","=A(V.ch2,V.ch2,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V.x6","=V.ch"],["L","=V.x6","=V.y4"],["E","=V.cx5","=V.cy5","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,0)","=A(V.ch2,V.ch2,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],["M","=V.x4","=V.ch2"],["E","=V.cx6","=V.cy6","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,0)","=A(V.ch2,V.ch2,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx7","=V.cy7","=V.ch4","=V.ch4",0,"=A(V.ch4,V.ch4,V.cd4)","=A(V.ch4,V.ch4,(V.cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M","=V.x4","=V.ch2"],["E","=V.cx8","=V.cy8","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,0)","=A(V.ch2,V.ch2,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx9","=V.cy9","=V.ch4","=V.ch4",0,"=A(V.ch4,V.ch4,V.cd4)","=A(V.ch4,V.ch4,(V.cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["Z"],["M","=V.ch","=V.y4"],["E","=V.cx10","=V.cy10","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,0)","=A(V.ch2,V.ch2,(V._3cd4))","=IF(V._3cd4 > 0, FALSE, TRUE)"],["E","=V.cx11","=V.cy11","=V.ch4","=V.ch4",0,"=A(V.ch4,V.ch4,V._3cd4)","=A(V.ch4,V.ch4,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M","=V.ch","=V.y3"],["L","=V.ch","=V.ch2"],["E","=V.cx12","=V.cy12","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V.cd2)","=A(V.ch2,V.ch2,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x7",0],["E","=V.cx13","=V.cy13","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V._3cd4)","=A(V.ch2,V.ch2,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V.x6","=V.ch"],["L","=V.x6","=V.y4"],["E","=V.cx14","=V.cy14","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,0)","=A(V.ch2,V.ch2,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.ch2",n],["E","=V.cx15","=V.cy15","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V.cd4)","=A(V.ch2,V.ch2,(V.cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["Z"],["M","=V.x3",0],["E","=V.cx16","=V.cy16","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V._3cd4)","=A(V.ch2,V.ch2,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["E","=V.cx17","=V.cy17","=V.ch4","=V.ch4",0,"=A(V.ch4,V.ch4,V.cd4)","=A(V.ch4,V.ch4,(V.cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V.x4","=V.ch2"],["M","=V.x6","=V.ch"],["L","=V.x3","=V.ch"],["M","=V.ch2","=V.y3"],["E","=V.cx18","=V.cy18","=V.ch4","=V.ch4",0,"=A(V.ch4,V.ch4,V._3cd4)","=A(V.ch4,V.ch4,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V.ch","=V.y4"],["M","=V.ch2",n],["E","=V.cx19","=V.cy19","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V.cd4)","=A(V.ch2,V.ch2,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.ch","=V.y3"],{fillMode:"none"}]],textRect:{left:"=V.ch",top:"=V.ch",right:"=V.x6",bottom:"=V.y4"}},horizontalScroll:{variables:{adj:12500,a:"=MIN(MAX(0, V.adj), 25000)",ss:i,ch:"=V.ss * V.a / 100000",ch2:"=V.ch / 2",ch4:"=V.ch / 4",y3:"=V.ch + V.ch2",y4:"=V.ch + V.ch",b:n,y6:"=height - V.ch",y7:"=height - V.ch2",y5:"=V.y6 - V.ch2",r:V,x3:"=width - V.ch",x4:"=width - V.ch2",hc:y,l:0,vc:f,t:0,cd4:u,cx1:"=C(V.ch2,V.r,A(V.ch2,V.ch2,0),true)",cy1:"=C(V.ch2,V.ch2,A(V.ch2,V.ch2,0))",cd2:h,cx2:"=C(V.ch4,V.x4,A(V.ch4,V.ch4,0),true)",cy2:"=C(V.ch4,V.ch2,A(V.ch4,V.ch4,0))",_3cd4:x,cx3:"=C(V.ch2,V.ch2,A(V.ch2,V.ch2,V._3cd4),true)",cy3:"=C(V.ch2,V.ch,A(V.ch2,V.ch2,V._3cd4))",cx4:"=C(V.ch2,V.l,A(V.ch2,V.ch2,V.cd2),true)",cy4:"=C(V.ch2,V.y7,A(V.ch2,V.ch2,V.cd2))",cx5:"=C(V.ch2,V.x4,A(V.ch2,V.ch2,V.cd4),true)",cy5:"=C(V.ch2,V.y6,A(V.ch2,V.ch2,V.cd4))",cx6:"=C(V.ch2,V.ch2,A(V.ch2,V.ch2,V.cd4),true)",cy6:"=C(V.ch2,V.y4,A(V.ch2,V.ch2,V.cd4))",cx7:"=C(V.ch4,P(V.cx6,V.ch2,A(V.ch2,V.ch2,(V.cd4 + -5400000)),true),A(V.ch4,V.ch4,0),true)",cy7:"=C(V.ch4,P(V.cy6,V.ch2,A(V.ch2,V.ch2,(V.cd4 + -5400000))),A(V.ch4,V.ch4,0))",cx8:"=C(V.ch2,V.ch2,A(V.ch2,V.ch2,V.cd4),true)",cy8:"=C(V.ch2,V.y4,A(V.ch2,V.ch2,V.cd4))",cx9:"=C(V.ch4,P(V.cx8,V.ch2,A(V.ch2,V.ch2,(V.cd4 + -5400000)),true),A(V.ch4,V.ch4,0),true)",cy9:"=C(V.ch4,P(V.cy8,V.ch2,A(V.ch2,V.ch2,(V.cd4 + -5400000))),A(V.ch4,V.ch4,0))",cx10:"=C(V.ch2,V.x4,A(V.ch2,V.ch2,V.cd4),true)",cy10:"=C(V.ch2,V.ch,A(V.ch2,V.ch2,V.cd4))",cx11:"=C(V.ch4,P(V.cx10,V.ch2,A(V.ch2,V.ch2,(V.cd4 + -16200000)),true),A(V.ch4,V.ch4,V.cd2),true)",cy11:"=C(V.ch4,P(V.cy10,V.ch2,A(V.ch2,V.ch2,(V.cd4 + -16200000))),A(V.ch4,V.ch4,V.cd2))",cx12:"=C(V.ch2,V.l,A(V.ch2,V.ch2,V.cd2),true)",cy12:"=C(V.ch2,V.y3,A(V.ch2,V.ch2,V.cd2))",cx13:"=C(V.ch2,V.x3,A(V.ch2,V.ch2,V.cd2),true)",cy13:"=C(V.ch2,V.ch2,A(V.ch2,V.ch2,V.cd2))",cx14:"=C(V.ch2,V.r,A(V.ch2,V.ch2,0),true)",cy14:"=C(V.ch2,V.y5,A(V.ch2,V.ch2,0))",cx15:"=C(V.ch2,V.ch,A(V.ch2,V.ch2,0),true)",cy15:"=C(V.ch2,V.y7,A(V.ch2,V.ch2,0))",cx16:"=C(V.ch2,V.x4,A(V.ch2,V.ch2,V.cd4),true)",cy16:"=C(V.ch2,V.ch,A(V.ch2,V.ch2,V.cd4))",cx17:"=C(V.ch4,V.x4,A(V.ch4,V.ch4,0),true)",cy17:"=C(V.ch4,V.ch2,A(V.ch4,V.ch4,0))",cx18:"=C(V.ch4,V.ch2,A(V.ch4,V.ch4,V.cd2),true)",cy18:"=C(V.ch4,V.y3,A(V.ch4,V.ch4,V.cd2))",cx19:"=C(V.ch2,P(V.cx18,V.ch4,A(V.ch4,V.ch4,(V.cd2 + V.cd2)),true),A(V.ch2,V.ch2,0),true)",cy19:"=C(V.ch2,P(V.cy18,V.ch4,A(V.ch4,V.ch4,(V.cd2 + V.cd2))),A(V.ch2,V.ch2,0))"},adjustInfo:[["adj",12500]],connectionPoints:[{x:e,y:"=V.ch"},{x:0,y:r},{x:e,y:"=V.y6"},{x:V,y:r}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:25e3,position:{x:"ch",y:"t"},point:["=V.ch",0]}],path:[[["M",V,"=V.ch2"],["E","=V.cx1","=V.cy1","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,0)","=A(V.ch2,V.ch2,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x4","=V.ch2"],["E","=V.cx2","=V.cy2","=V.ch4","=V.ch4",0,"=A(V.ch4,V.ch4,0)","=A(V.ch4,V.ch4,(V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L","=V.x3","=V.ch"],["L","=V.ch2","=V.ch"],["E","=V.cx3","=V.cy3","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V._3cd4)","=A(V.ch2,V.ch2,(V._3cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",0,"=V.y7"],["E","=V.cx4","=V.cy4","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V.cd2)","=A(V.ch2,V.ch2,(V.cd2 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L","=V.ch","=V.y6"],["L","=V.x4","=V.y6"],["E","=V.cx5","=V.cy5","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V.cd4)","=A(V.ch2,V.ch2,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["Z"],["M","=V.ch2","=V.y4"],["E","=V.cx6","=V.cy6","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V.cd4)","=A(V.ch2,V.ch2,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx7","=V.cy7","=V.ch4","=V.ch4",0,"=A(V.ch4,V.ch4,0)","=A(V.ch4,V.ch4,(-10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M","=V.ch2","=V.y4"],["E","=V.cx8","=V.cy8","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V.cd4)","=A(V.ch2,V.ch2,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx9","=V.cy9","=V.ch4","=V.ch4",0,"=A(V.ch4,V.ch4,0)","=A(V.ch4,V.ch4,(-10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["Z"],["M","=V.x4","=V.ch"],["E","=V.cx10","=V.cy10","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V.cd4)","=A(V.ch2,V.ch2,(V.cd4 + -16200000))","=IF(-16200000 > 0, FALSE, TRUE)"],["E","=V.cx11","=V.cy11","=V.ch4","=V.ch4",0,"=A(V.ch4,V.ch4,V.cd2)","=A(V.ch4,V.ch4,(V.cd2 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M",0,"=V.y3"],["E","=V.cx12","=V.cy12","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V.cd2)","=A(V.ch2,V.ch2,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.x3","=V.ch"],["L","=V.x3","=V.ch2"],["E","=V.cx13","=V.cy13","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V.cd2)","=A(V.ch2,V.ch2,(V.cd2 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["L",V,"=V.y5"],["E","=V.cx14","=V.cy14","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,0)","=A(V.ch2,V.ch2,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.ch","=V.y6"],["L","=V.ch","=V.y7"],["E","=V.cx15","=V.cy15","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,0)","=A(V.ch2,V.ch2,(V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["Z"],["M","=V.x3","=V.ch"],["L","=V.x4","=V.ch"],["E","=V.cx16","=V.cy16","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,V.cd4)","=A(V.ch2,V.ch2,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["M","=V.x4","=V.ch"],["L","=V.x4","=V.ch2"],["E","=V.cx17","=V.cy17","=V.ch4","=V.ch4",0,"=A(V.ch4,V.ch4,0)","=A(V.ch4,V.ch4,(V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["M","=V.ch2","=V.y4"],["L","=V.ch2","=V.y3"],["E","=V.cx18","=V.cy18","=V.ch4","=V.ch4",0,"=A(V.ch4,V.ch4,V.cd2)","=A(V.ch4,V.ch4,(V.cd2 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["E","=V.cx19","=V.cy19","=V.ch2","=V.ch2",0,"=A(V.ch2,V.ch2,0)","=A(V.ch2,V.ch2,(V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["M","=V.ch","=V.y3"],["L","=V.ch","=V.y6"],{fillMode:"none"}]],textRect:{left:"=V.ch",top:"=V.ch",right:"=V.x4",bottom:"=V.y6"}},wave:{variables:{adj1:12500,adj2:0,a1:"=MIN(MAX(0, V.adj1), 20000)",a2:"=MIN(MAX(-10000, V.adj2), 10000)",y1:"=height * V.a1 / 100000",dy2:"=V.y1 * 10 / 3",y2:"=V.y1 - V.dy2",y3:"=V.y1 + V.dy2",b:n,y4:"=height - V.y1",y5:"=V.y4 - V.dy2",y6:"=V.y4 + V.dy2",dx1:"=width * V.a2 / 100000",of2:"=width * V.a2 / 50000",x1:"=ABS(V.dx1)",dx2:"=IF(V.of2 > 0, 0, V.of2)",l:0,x2:"=0 - V.dx2",dx5:"=IF(V.of2 > 0, V.of2, 0)",r:V,x5:"=width - V.dx5",dx3:"=(V.dx2 + V.x5) / 3",x3:"=V.x2 + V.dx3",x4:"=(V.x3 + V.x5) / 2",x6:"=V.dx5",x10:"=width + V.dx2",x7:"=V.x6 + V.dx3",x8:"=(V.x7 + V.x10) / 2",x9:"=width - V.x1",hc:y,xAdj:"=V.hc + V.dx1",xAdj2:"=V.hc - V.dx1",il:"=MAX(V.x2, V.x6)",ir:"=MIN(V.x5, V.x10)",it:"=height * V.a1 / 50000",ib:"=height - V.it",vc:f},adjustInfo:[["adj1",12500],["adj2",0]],connectionPoints:[{x:"=V.xAdj2",y:o},{x:c,y:r},{x:"=V.xAdj",y:"=V.y4"},{x:"=V.x9",y:r}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:2e4,position:{x:"l",y:"y1"},point:[0,o]},{type:"ahXY",gdRefX:"adj2",minX:-1e4,maxX:1e4,position:{x:"xAdj",y:"b"},point:["=V.xAdj",n]}],path:[[["M",s,o],["B","=V.x3",d,"=V.x4","=V.y3","=V.x5",o],["L","=V.x10","=V.y4"],["B","=V.x8","=V.y6","=V.x7","=V.y5","=V.x6","=V.y4"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},doubleWave:{variables:{adj1:6250,adj2:0,a1:"=MIN(MAX(0, V.adj1), 12500)",a2:"=MIN(MAX(-10000, V.adj2), 10000)",y1:"=height * V.a1 / 100000",dy2:"=V.y1 * 10 / 3",y2:"=V.y1 - V.dy2",y3:"=V.y1 + V.dy2",b:n,y4:"=height - V.y1",y5:"=V.y4 - V.dy2",y6:"=V.y4 + V.dy2",dx1:"=width * V.a2 / 100000",of2:"=width * V.a2 / 50000",x1:"=ABS(V.dx1)",dx2:"=IF(V.of2 > 0, 0, V.of2)",l:0,x2:"=0 - V.dx2",dx8:"=IF(V.of2 > 0, V.of2, 0)",r:V,x8:"=width - V.dx8",dx3:"=(V.dx2 + V.x8) / 6",x3:"=V.x2 + V.dx3",dx4:"=(V.dx2 + V.x8) / 3",x4:"=V.x2 + V.dx4",x5:"=(V.x2 + V.x8) / 2",x6:"=V.x5 + V.dx3",x7:"=(V.x6 + V.x8) / 2",x9:"=V.dx8",x15:"=width + V.dx2",x10:"=V.x9 + V.dx3",x11:"=V.x9 + V.dx4",x12:"=(V.x9 + V.x15) / 2",x13:"=V.x12 + V.dx3",x14:"=(V.x13 + V.x15) / 2",x16:"=width - V.x1",hc:y,xAdj:"=V.hc + V.dx1",il:"=MAX(V.x2, V.x9)",ir:"=MIN(V.x8, V.x15)",it:"=height * V.a1 / 50000",ib:"=height - V.it",vc:f},adjustInfo:[["adj1",6250],["adj2",0]],connectionPoints:[{x:"=V.x12",y:o},{x:c,y:r},{x:"=V.x5",y:"=V.y4"},{x:"=V.x16",y:r}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:12500,position:{x:"l",y:"y1"},point:[0,o]},{type:"ahXY",gdRefX:"adj2",minX:-1e4,maxX:1e4,position:{x:"xAdj",y:"b"},point:["=V.xAdj",n]}],path:[[["M",s,o],["B","=V.x3",d,"=V.x4","=V.y3","=V.x5",o],["B","=V.x6",d,"=V.x7","=V.y3","=V.x8",o],["L","=V.x15","=V.y4"],["B","=V.x14","=V.y6","=V.x13","=V.y5","=V.x12","=V.y4"],["B","=V.x11","=V.y6","=V.x10","=V.y5","=V.x9","=V.y4"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},rectangularCallout:{variables:{adj1:-20833,adj2:62500,dxPos:"=width * V.adj1 / 100000",dyPos:"=height * V.adj2 / 100000",hc:y,xPos:"=V.hc + V.dxPos",vc:f,yPos:"=V.vc + V.dyPos",dx:"=V.xPos - V.hc",dy:"=V.yPos - V.vc",dq:"=V.dxPos * height / width",ady:"=ABS(V.dyPos)",adq:"=ABS(V.dq)",dz:"=V.ady - V.adq",xg1:"=IF(V.dxPos > 0, 7, 2)",xg2:"=IF(V.dxPos > 0, 10, 5)",x1:"=width * V.xg1 / 12",x2:"=width * V.xg2 / 12",yg1:"=IF(V.dyPos > 0, 7, 2)",yg2:"=IF(V.dyPos > 0, 10, 5)",y1:"=height * V.yg1 / 12",y2:"=height * V.yg2 / 12",l:0,t1:"=IF(V.dxPos > 0, V.l, V.xPos)",xl:"=IF(V.dz > 0, V.l, V.t1)",t2:"=IF(V.dyPos > 0, V.x1, V.xPos)",xt:"=IF(V.dz > 0, V.t2, V.x1)",r:V,t3:"=IF(V.dxPos > 0, V.xPos, V.r)",xr:"=IF(V.dz > 0, V.r, V.t3)",t4:"=IF(V.dyPos > 0, V.xPos, V.x1)",xb:"=IF(V.dz > 0, V.t4, V.x1)",t5:"=IF(V.dxPos > 0, V.y1, V.yPos)",yl:"=IF(V.dz > 0, V.y1, V.t5)",t:0,t6:"=IF(V.dyPos > 0, V.t, V.yPos)",yt:"=IF(V.dz > 0, V.t6, V.t)",t7:"=IF(V.dxPos > 0, V.yPos, V.y1)",yr:"=IF(V.dz > 0, V.y1, V.t7)",b:n,t8:"=IF(V.dyPos > 0, V.yPos, V.b)",yb:"=IF(V.dz > 0, V.t8, V.b)"},adjustInfo:[["adj1",-20833],["adj2",62500]],connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r},{x:"=V.xPos",y:"=V.yPos"}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:-2147483647,maxX:2147483647,gdRefY:"adj2",minY:-2147483647,maxY:2147483647,position:{x:"xPos",y:"yPos"},point:["=V.xPos","=V.yPos"]}],path:[[["M",0,0],["L",c,0],["L","=V.xt","=V.yt"],["L",s,0],["L",V,0],["L",V,o],["L","=V.xr","=V.yr"],["L",V,d],["L",V,n],["L",s,n],["L","=V.xb","=V.yb"],["L",c,n],["L",0,n],["L",0,d],["L","=V.xl","=V.yl"],["L",0,o],["Z"],{}]]},roundedRectangularCallout:{variables:{adj1:-20833,adj2:62500,adj3:16667,dxPos:"=width * V.adj1 / 100000",dyPos:"=height * V.adj2 / 100000",hc:y,xPos:"=V.hc + V.dxPos",vc:f,yPos:"=V.vc + V.dyPos",dq:"=V.dxPos * height / width",ady:"=ABS(V.dyPos)",adq:"=ABS(V.dq)",dz:"=V.ady - V.adq",xg1:"=IF(V.dxPos > 0, 7, 2)",xg2:"=IF(V.dxPos > 0, 10, 5)",x1:"=width * V.xg1 / 12",x2:"=width * V.xg2 / 12",yg1:"=IF(V.dyPos > 0, 7, 2)",yg2:"=IF(V.dyPos > 0, 10, 5)",y1:"=height * V.yg1 / 12",y2:"=height * V.yg2 / 12",l:0,t1:"=IF(V.dxPos > 0, V.l, V.xPos)",xl:"=IF(V.dz > 0, V.l, V.t1)",t2:"=IF(V.dyPos > 0, V.x1, V.xPos)",xt:"=IF(V.dz > 0, V.t2, V.x1)",r:V,t3:"=IF(V.dxPos > 0, V.xPos, V.r)",xr:"=IF(V.dz > 0, V.r, V.t3)",t4:"=IF(V.dyPos > 0, V.xPos, V.x1)",xb:"=IF(V.dz > 0, V.t4, V.x1)",t5:"=IF(V.dxPos > 0, V.y1, V.yPos)",yl:"=IF(V.dz > 0, V.y1, V.t5)",t:0,t6:"=IF(V.dyPos > 0, V.t, V.yPos)",yt:"=IF(V.dz > 0, V.t6, V.t)",t7:"=IF(V.dxPos > 0, V.yPos, V.y1)",yr:"=IF(V.dz > 0, V.y1, V.t7)",b:n,t8:"=IF(V.dyPos > 0, V.yPos, V.b)",yb:"=IF(V.dz > 0, V.t8, V.b)",ss:i,u1:"=V.ss * V.adj3 / 100000",u2:"=width - V.u1",v2:"=height - V.u1",il:"=V.u1 * 29289 / 100000",ir:"=width - V.il",ib:"=height - V.il",cd2:h,cd4:u,cx1:"=C(V.u1,V.l,A(V.u1,V.u1,V.cd2),true)",cy1:"=C(V.u1,V.u1,A(V.u1,V.u1,V.cd2))",_3cd4:x,cx2:"=C(V.u1,V.u2,A(V.u1,V.u1,V._3cd4),true)",cy2:"=C(V.u1,V.t,A(V.u1,V.u1,V._3cd4))",cx3:"=C(V.u1,V.r,A(V.u1,V.u1,0),true)",cy3:"=C(V.u1,V.v2,A(V.u1,V.u1,0))",cx4:"=C(V.u1,V.u1,A(V.u1,V.u1,V.cd4),true)",cy4:"=C(V.u1,V.b,A(V.u1,V.u1,V.cd4))"},adjustInfo:[["adj1",-20833],["adj2",62500],["adj3",16667]],connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r},{x:"=V.xPos",y:"=V.yPos"}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:-2147483647,maxX:2147483647,gdRefY:"adj2",minY:-2147483647,maxY:2147483647,position:{x:"xPos",y:"yPos"},point:["=V.xPos","=V.yPos"]}],path:[[["M",0,"=V.u1"],["E","=V.cx1","=V.cy1","=V.u1","=V.u1",0,"=A(V.u1,V.u1,V.cd2)","=A(V.u1,V.u1,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",c,0],["L","=V.xt","=V.yt"],["L",s,0],["L","=V.u2",0],["E","=V.cx2","=V.cy2","=V.u1","=V.u1",0,"=A(V.u1,V.u1,V._3cd4)","=A(V.u1,V.u1,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",V,o],["L","=V.xr","=V.yr"],["L",V,d],["L",V,"=V.v2"],["E","=V.cx3","=V.cy3","=V.u1","=V.u1",0,"=A(V.u1,V.u1,0)","=A(V.u1,V.u1,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",s,n],["L","=V.xb","=V.yb"],["L",c,n],["L","=V.u1",n],["E","=V.cx4","=V.cy4","=V.u1","=V.u1",0,"=A(V.u1,V.u1,V.cd4)","=A(V.u1,V.u1,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",0,d],["L","=V.xl","=V.yl"],["L",0,o],["Z"],{}]],textRect:{left:"=V.il",top:"=V.il",right:"=V.ir",bottom:"=V.ib"}},ovalCallout:{variables:{adj1:-20833,adj2:62500,dxPos:"=width * V.adj1 / 100000",dyPos:"=height * V.adj2 / 100000",hc:y,xPos:"=V.hc + V.dxPos",vc:f,yPos:"=V.vc + V.dyPos",sdx:"=V.dxPos * height",sdy:"=V.dyPos * width",d2r:a,pang:"=(ATAN2(V.sdx,V.sdy) * V.d2r)",stAng:"=V.pang + 660000",enAng:"=V.pang - 660000",wd2:y,dx1:"=V.wd2 * COS(V.stAng / V.d2r)",hd2:f,dy1:"=V.hd2 * SIN(V.stAng / V.d2r)",x1:"=V.hc + V.dx1",y1:"=V.vc + V.dy1",dx2:"=V.wd2 * COS(V.enAng / V.d2r)",dy2:"=V.hd2 * SIN(V.enAng / V.d2r)",x2:"=V.hc + V.dx2",y2:"=V.vc + V.dy2",stAng1:"=(ATAN2(V.dx1,V.dy1) * V.d2r)",enAng1:"=(ATAN2(V.dx2,V.dy2) * V.d2r)",swAng1:"=V.enAng1 - V.stAng1",swAng2:"=V.swAng1 + 21600000",swAng:"=IF(V.swAng1 > 0, V.swAng1, V.swAng2)",idx:"=V.wd2 * COS(2700000 / V.d2r)",idy:"=V.hd2 * SIN(2700000 / V.d2r)",il:"=V.hc - V.idx",ir:"=V.hc + V.idx",it:"=V.vc - V.idy",ib:"=V.vc + V.idy",t:0,b:n,r:V,cx1:"=C(V.wd2,V.x1,A(V.wd2,V.hd2,V.stAng1),true)",cy1:"=C(V.hd2,V.y1,A(V.wd2,V.hd2,V.stAng1))"},adjustInfo:[["adj1",-20833],["adj2",62500]],connectionPoints:[{x:e,y:0},{x:"=V.il",y:"=V.it"},{x:"=V.il",y:"=V.ib"},{x:e,y:n},{x:"=V.ir",y:"=V.ib"},{x:V,y:r},{x:"=V.ir",y:"=V.it"},{x:"=V.xPos",y:"=V.yPos"}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:-2147483647,maxX:2147483647,gdRefY:"adj2",minY:-2147483647,maxY:2147483647,position:{x:"xPos",y:"yPos"},point:["=V.xPos","=V.yPos"]}],path:[[["M","=V.xPos","=V.yPos"],["L",c,o],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.stAng1)","=A(V.wd2,V.hd2,(V.stAng1 + V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},cloudCallout:{variables:{adj1:-20833,adj2:62500,dxPos:"=width * V.adj1 / 100000",dyPos:"=height * V.adj2 / 100000",hc:y,xPos:"=V.hc + V.dxPos",vc:f,yPos:"=V.vc + V.dyPos",hd2:f,ht:"=V.hd2 * COS(ATAN2(V.dxPos,V.dyPos))",wd2:y,wt:"=V.wd2 * SIN(ATAN2(V.dxPos,V.dyPos))",g2:"=V.wd2 * COS(ATAN2(V.ht,V.wt))",g3:"=V.hd2 * SIN(ATAN2(V.ht,V.wt))",g4:"=V.hc + V.g2",g5:"=V.vc + V.g3",g6:"=V.g4 - V.xPos",g7:"=V.g5 - V.yPos",g8:"=SQRT(V.g6*V.g6 + V.g7*V.g7)",ss:i,g9:"=V.ss * 6600 / 21600",g10:"=V.g8 - V.g9",g11:"=V.g10 / 3",g12:"=V.ss * 1800 / 21600",g13:"=V.g11 + V.g12",g14:"=V.g13 * V.g6 / V.g8",g15:"=V.g13 * V.g7 / V.g8",g16:"=V.g14 + V.xPos",g17:"=V.g15 + V.yPos",g18:"=V.ss * 4800 / 21600",g19:"=V.g11 * 2",g20:"=V.g18 + V.g19",g21:"=V.g20 * V.g6 / V.g8",g22:"=V.g20 * V.g7 / V.g8",g23:"=V.g21 + V.xPos",g24:"=V.g22 + V.yPos",g25:"=V.ss * 1200 / 21600",g26:"=V.ss * 600 / 21600",x23:"=V.xPos + V.g26",x24:"=V.g16 + V.g25",x25:"=V.g23 + V.g12",il:"=width * 2977 / 21600",it:"=height * 3262 / 21600",ir:"=width * 17087 / 21600",ib:"=height * 17337 / 21600",g27:"=width * 67 / 21600",g28:"=height * 21577 / 21600",g29:"=width * 21582 / 21600",g30:"=height * 1235 / 21600",d2r:a,pang:"=(ATAN2(V.dxPos,V.dyPos) * V.d2r)",_scaleX1:"= width / 43200",_scaleY1:"= height / 43200",cx1:"=C(6753,3900,A(6753,9190,-11429249),true)",cy1:"=C(9190,14370,A(6753,9190,-11429249))",cx2:"=C(5333,P(V.cx1,6753,A(6753,9190,(-11429249 + 7426832)),true),A(5333,7267,-8646143),true)",cy2:"=C(7267,P(V.cy1,9190,A(6753,9190,(-11429249 + 7426832))),A(5333,7267,-8646143))",cx3:"=C(4365,P(V.cx2,5333,A(5333,7267,(-8646143 + 5396714)),true),A(4365,5945,-8748475),true)",cy3:"=C(5945,P(V.cy2,7267,A(5333,7267,(-8646143 + 5396714))),A(4365,5945,-8748475))",cx4:"=C(4857,P(V.cx3,4365,A(4365,5945,(-8748475 + 5983381)),true),A(4857,6595,-7859164),true)",cy4:"=C(6595,P(V.cy3,5945,A(4365,5945,(-8748475 + 5983381))),A(4857,6595,-7859164))",cx5:"=C(5333,P(V.cx4,4857,A(4857,6595,(-7859164 + 7034504)),true),A(5333,7273,-4722533),true)",cy5:"=C(7273,P(V.cy4,6595,A(4857,6595,(-7859164 + 7034504))),A(5333,7273,-4722533))",cx6:"=C(6775,P(V.cx5,5333,A(5333,7273,(-4722533 + 6541615)),true),A(6775,9220,-2776035),true)",cy6:"=C(9220,P(V.cy5,7273,A(5333,7273,(-4722533 + 6541615))),A(6775,9220,-2776035))",cx7:"=C(5785,P(V.cx6,6775,A(6775,9220,(-2776035 + 7816140)),true),A(5785,7867,37501),true)",cy7:"=C(7867,P(V.cy6,9220,A(6775,9220,(-2776035 + 7816140))),A(5785,7867,37501))",cx8:"=C(6752,P(V.cx7,5785,A(5785,7867,(37501 + 6842000)),true),A(6752,9215,1347096),true)",cy8:"=C(9215,P(V.cy7,7867,A(5785,7867,(37501 + 6842000))),A(6752,9215,1347096))",cx9:"=C(7720,P(V.cx8,6752,A(6752,9215,(1347096 + 6910353)),true),A(7720,10543,3974558),true)",cy9:"=C(10543,P(V.cy8,9215,A(6752,9215,(1347096 + 6910353))),A(7720,10543,3974558))",cx10:"=C(4360,P(V.cx9,7720,A(7720,10543,(3974558 + 4542661)),true),A(4360,5918,-16496525),true)",cy10:"=C(5918,P(V.cy9,10543,A(7720,10543,(3974558 + 4542661))),A(4360,5918,-16496525))",cx11:"=C(4345,P(V.cx10,4360,A(4360,5918,(-16496525 + 8804134)),true),A(4345,5945,-14809710),true)",cy11:"=C(5945,P(V.cy10,5918,A(4360,5918,(-16496525 + 8804134))),A(4345,5945,-14809710))",cx12:"=C(V.g26,V.x23,A(V.g26,V.g26,0),true)",cy12:"=C(V.g26,V.yPos,A(V.g26,V.g26,0))",cx13:"=C(V.g25,V.x24,A(V.g25,V.g25,0),true)",cy13:"=C(V.g25,V.g17,A(V.g25,V.g25,0))",cx14:"=C(V.g12,V.x25,A(V.g12,V.g12,0),true)",cy14:"=C(V.g12,V.g24,A(V.g12,V.g12,0))",_scaleX2:"= width / 43200",_scaleY2:"= height / 43200",cx15:"=C(4345,4693,A(4345,5945,5204520),true)",cy15:"=C(5945,26177,A(4345,5945,5204520))",cx16:"=C(4360,6928,A(4360,5918,4416628),true)",cy16:"=C(5918,34899,A(4360,5918,4416628))",cx17:"=C(6752,16478,A(6752,9215,8257449),true)",cy17:"=C(9215,39090,A(6752,9215,8257449))",cx18:"=C(6752,28827,A(6752,9215,387196),true)",cy18:"=C(9215,34751,A(6752,9215,387196))",cx19:"=C(5785,34129,A(5785,7867,-4217541),true)",cy19:"=C(7867,22954,A(5785,7867,-4217541))",cx20:"=C(5333,41798,A(5333,7273,1819082),true)",cy20:"=C(7273,15354,A(5333,7273,1819082))",cx21:"=C(4857,38324,A(4857,6595,-824660),true)",cy21:"=C(6595,5426,A(4857,6595,-824660))",cx22:"=C(4857,29078,A(4857,6595,-8950887),true)",cy22:"=C(6595,3952,A(4857,6595,-8950887))",cx23:"=C(4365,22141,A(4365,5945,-9809656),true)",cy23:"=C(5945,4720,A(4365,5945,-9809656))",cx24:"=C(6753,14000,A(6753,9190,-4002417),true)",cy24:"=C(9190,5192,A(6753,9190,-4002417))",cx25:"=C(6753,4127,A(6753,9190,9459261),true)",cy25:"=C(9190,15789,A(6753,9190,9459261))"},adjustInfo:[["adj1",-20833],["adj2",62500]],connectionPoints:[{x:"=V.g27",y:r},{x:e,y:"=V.g28"},{x:"=V.g29",y:r},{x:e,y:"=V.g30"},{x:"=V.xPos",y:"=V.yPos"}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:-2147483647,maxX:2147483647,gdRefY:"adj2",minY:-2147483647,maxY:2147483647,position:{x:"xPos",y:"yPos"},point:["=V.xPos","=V.yPos"]}],path:[[["M","=3900 * V._scaleX1","=14370 * V._scaleY1"],["E","=V.cx1 * V._scaleX1","=V.cy1 * V._scaleY1","=6753 * V._scaleX1","=9190 * V._scaleY1",0,"=A(6753,9190,-11429249)","=A(6753,9190,(-11429249 + 7426832))","=IF(7426832 > 0, FALSE, TRUE)"],["E","=V.cx2 * V._scaleX1","=V.cy2 * V._scaleY1","=5333 * V._scaleX1","=7267 * V._scaleY1",0,"=A(5333,7267,-8646143)","=A(5333,7267,(-8646143 + 5396714))","=IF(5396714 > 0, FALSE, TRUE)"],["E","=V.cx3 * V._scaleX1","=V.cy3 * V._scaleY1","=4365 * V._scaleX1","=5945 * V._scaleY1",0,"=A(4365,5945,-8748475)","=A(4365,5945,(-8748475 + 5983381))","=IF(5983381 > 0, FALSE, TRUE)"],["E","=V.cx4 * V._scaleX1","=V.cy4 * V._scaleY1","=4857 * V._scaleX1","=6595 * V._scaleY1",0,"=A(4857,6595,-7859164)","=A(4857,6595,(-7859164 + 7034504))","=IF(7034504 > 0, FALSE, TRUE)"],["E","=V.cx5 * V._scaleX1","=V.cy5 * V._scaleY1","=5333 * V._scaleX1","=7273 * V._scaleY1",0,"=A(5333,7273,-4722533)","=A(5333,7273,(-4722533 + 6541615))","=IF(6541615 > 0, FALSE, TRUE)"],["E","=V.cx6 * V._scaleX1","=V.cy6 * V._scaleY1","=6775 * V._scaleX1","=9220 * V._scaleY1",0,"=A(6775,9220,-2776035)","=A(6775,9220,(-2776035 + 7816140))","=IF(7816140 > 0, FALSE, TRUE)"],["E","=V.cx7 * V._scaleX1","=V.cy7 * V._scaleY1","=5785 * V._scaleX1","=7867 * V._scaleY1",0,"=A(5785,7867,37501)","=A(5785,7867,(37501 + 6842000))","=IF(6842000 > 0, FALSE, TRUE)"],["E","=V.cx8 * V._scaleX1","=V.cy8 * V._scaleY1","=6752 * V._scaleX1","=9215 * V._scaleY1",0,"=A(6752,9215,1347096)","=A(6752,9215,(1347096 + 6910353))","=IF(6910353 > 0, FALSE, TRUE)"],["E","=V.cx9 * V._scaleX1","=V.cy9 * V._scaleY1","=7720 * V._scaleX1","=10543 * V._scaleY1",0,"=A(7720,10543,3974558)","=A(7720,10543,(3974558 + 4542661))","=IF(4542661 > 0, FALSE, TRUE)"],["E","=V.cx10 * V._scaleX1","=V.cy10 * V._scaleY1","=4360 * V._scaleX1","=5918 * V._scaleY1",0,"=A(4360,5918,-16496525)","=A(4360,5918,(-16496525 + 8804134))","=IF(8804134 > 0, FALSE, TRUE)"],["E","=V.cx11 * V._scaleX1","=V.cy11 * V._scaleY1","=4345 * V._scaleX1","=5945 * V._scaleY1",0,"=A(4345,5945,-14809710)","=A(4345,5945,(-14809710 + 9151131))","=IF(9151131 > 0, FALSE, TRUE)"],["Z"],{}],[["M","=V.x23","=V.yPos"],["E","=V.cx12","=V.cy12","=V.g26","=V.g26",0,"=A(V.g26,V.g26,0)","=(A(V.g26,V.g26,0)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["Z"],{}],[["M","=V.x24","=V.g17"],["E","=V.cx13","=V.cy13","=V.g25","=V.g25",0,"=A(V.g25,V.g25,0)","=(A(V.g25,V.g25,0)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["Z"],{}],[["M","=V.x25","=V.g24"],["E","=V.cx14","=V.cy14","=V.g12","=V.g12",0,"=A(V.g12,V.g12,0)","=(A(V.g12,V.g12,0)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["Z"],{}],[["M","=4693 * V._scaleX2","=26177 * V._scaleY2"],["E","=V.cx15 * V._scaleX2","=V.cy15 * V._scaleY2","=4345 * V._scaleX2","=5945 * V._scaleY2",0,"=A(4345,5945,5204520)","=A(4345,5945,(5204520 + 1585770))","=IF(1585770 > 0, FALSE, TRUE)"],["M","=6928 * V._scaleX2","=34899 * V._scaleY2"],["E","=V.cx16 * V._scaleX2","=V.cy16 * V._scaleY2","=4360 * V._scaleX2","=5918 * V._scaleY2",0,"=A(4360,5918,4416628)","=A(4360,5918,(4416628 + 686848))","=IF(686848 > 0, FALSE, TRUE)"],["M","=16478 * V._scaleX2","=39090 * V._scaleY2"],["E","=V.cx17 * V._scaleX2","=V.cy17 * V._scaleY2","=6752 * V._scaleX2","=9215 * V._scaleY2",0,"=A(6752,9215,8257449)","=A(6752,9215,(8257449 + 844866))","=IF(844866 > 0, FALSE, TRUE)"],["M","=28827 * V._scaleX2","=34751 * V._scaleY2"],["E","=V.cx18 * V._scaleX2","=V.cy18 * V._scaleY2","=6752 * V._scaleX2","=9215 * V._scaleY2",0,"=A(6752,9215,387196)","=A(6752,9215,(387196 + 959901))","=IF(959901 > 0, FALSE, TRUE)"],["M","=34129 * V._scaleX2","=22954 * V._scaleY2"],["E","=V.cx19 * V._scaleX2","=V.cy19 * V._scaleY2","=5785 * V._scaleX2","=7867 * V._scaleY2",0,"=A(5785,7867,-4217541)","=A(5785,7867,(-4217541 + 4255042))","=IF(4255042 > 0, FALSE, TRUE)"],["M","=41798 * V._scaleX2","=15354 * V._scaleY2"],["E","=V.cx20 * V._scaleX2","=V.cy20 * V._scaleY2","=5333 * V._scaleX2","=7273 * V._scaleY2",0,"=A(5333,7273,1819082)","=A(5333,7273,(1819082 + 1665090))","=IF(1665090 > 0, FALSE, TRUE)"],["M","=38324 * V._scaleX2","=5426 * V._scaleY2"],["E","=V.cx21 * V._scaleX2","=V.cy21 * V._scaleY2","=4857 * V._scaleX2","=6595 * V._scaleY2",0,"=A(4857,6595,-824660)","=A(4857,6595,(-824660 + 891534))","=IF(891534 > 0, FALSE, TRUE)"],["M","=29078 * V._scaleX2","=3952 * V._scaleY2"],["E","=V.cx22 * V._scaleX2","=V.cy22 * V._scaleY2","=4857 * V._scaleX2","=6595 * V._scaleY2",0,"=A(4857,6595,-8950887)","=A(4857,6595,(-8950887 + 1091722))","=IF(1091722 > 0, FALSE, TRUE)"],["M","=22141 * V._scaleX2","=4720 * V._scaleY2"],["E","=V.cx23 * V._scaleX2","=V.cy23 * V._scaleY2","=4365 * V._scaleX2","=5945 * V._scaleY2",0,"=A(4365,5945,-9809656)","=A(4365,5945,(-9809656 + 1061181))","=IF(1061181 > 0, FALSE, TRUE)"],["M","=14000 * V._scaleX2","=5192 * V._scaleY2"],["E","=V.cx24 * V._scaleX2","=V.cy24 * V._scaleY2","=6753 * V._scaleX2","=9190 * V._scaleY2",0,"=A(6753,9190,-4002417)","=A(6753,9190,(-4002417 + 739161))","=IF(739161 > 0, FALSE, TRUE)"],["M","=4127 * V._scaleX2","=15789 * V._scaleY2"],["E","=V.cx25 * V._scaleX2","=V.cy25 * V._scaleY2","=6753 * V._scaleX2","=9190 * V._scaleY2",0,"=A(6753,9190,9459261)","=A(6753,9190,(9459261 + 711490))","=IF(711490 > 0, FALSE, TRUE)"],{fillMode:"none"}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},lineCallout1:{variables:{adj1:18750,adj2:-8333,adj3:112500,adj4:-38333,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",112500],["adj4",-38333]],connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[c,o]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,d]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{}],[["M",c,o],["L",s,d],{fillMode:"none",strokeCompound:"line"}]]},lineCallout2:{variables:{adj1:18750,adj2:-8333,adj3:112500,adj4:-38333,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",112500],["adj4",-38333]],connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[c,o]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,d]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{}],[["M",c,o],["L",s,d],{fillMode:"none",strokeCompound:"line"}]]},lineCallout3:{variables:{adj1:18750,adj2:-8333,adj3:18750,adj4:-16667,adj5:112500,adj6:-46667,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",y3:"=height * V.adj5 / 100000",x3:"=width * V.adj6 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",18750],["adj4",-16667],["adj5",112500],["adj6",-46667]],connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[c,o]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,d]},{type:"ahXY",gdRefX:"adj6",minX:-2147483647,maxX:2147483647,gdRefY:"adj5",minY:-2147483647,maxY:2147483647,position:{x:"x3",y:"y3"},point:["=V.x3","=V.y3"]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{}],[["M",c,o],["L",s,d],["L","=V.x3","=V.y3"],{fillMode:"none",strokeCompound:"line"}]]},lineCallout4:{variables:{adj1:18750,adj2:-8333,adj3:18750,adj4:-16667,adj5:1e5,adj6:-16667,adj7:112963,adj8:-8333,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",y3:"=height * V.adj5 / 100000",x3:"=width * V.adj6 / 100000",y4:"=height * V.adj7 / 100000",x4:"=width * V.adj8 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",18750],["adj4",-16667],["adj5",1e5],["adj6",-16667],["adj7",112963],["adj8",-8333]],connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[c,o]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,d]},{type:"ahXY",gdRefX:"adj6",minX:-2147483647,maxX:2147483647,gdRefY:"adj5",minY:-2147483647,maxY:2147483647,position:{x:"x3",y:"y3"},point:["=V.x3","=V.y3"]},{type:"ahXY",gdRefX:"adj8",minX:-2147483647,maxX:2147483647,gdRefY:"adj7",minY:-2147483647,maxY:2147483647,position:{x:"x4",y:"y4"},point:["=V.x4","=V.y4"]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{}],[["M",c,o],["L",s,d],["L","=V.x3","=V.y3"],["L","=V.x4","=V.y4"],{fillMode:"none",strokeCompound:"line"}]]},lineCallout1AccentBar:{variables:{adj1:18750,adj2:-8333,adj3:112500,adj4:-38333,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",112500],["adj4",-38333]],connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[c,o]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,d]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{strokeMode:"false"}],[["M",c,o],["L",s,d],{fillMode:"none",strokeCompound:"line"}]]},lineCallout2AccentBar:{variables:{adj1:18750,adj2:-8333,adj3:112500,adj4:-38333,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",112500],["adj4",-38333]],connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[c,o]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,d]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{strokeMode:"false"}],[["M",c,0],["Z"],["L",c,n],{fillMode:"none",strokeCompound:"simple"}],[["M",c,o],["L",s,d],{fillMode:"none",strokeCompound:"line"}]]},lineCallout3AccentBar:{variables:{adj1:18750,adj2:-8333,adj3:18750,adj4:-16667,adj5:112500,adj6:-46667,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",y3:"=height * V.adj5 / 100000",x3:"=width * V.adj6 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",18750],["adj4",-16667],["adj5",112500],["adj6",-46667]],connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[c,o]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,d]},{type:"ahXY",gdRefX:"adj6",minX:-2147483647,maxX:2147483647,gdRefY:"adj5",minY:-2147483647,maxY:2147483647,position:{x:"x3",y:"y3"},point:["=V.x3","=V.y3"]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{strokeMode:"false"}],[["M",c,0],["Z"],["L",c,n],{fillMode:"none",strokeCompound:"simple"}],[["M",c,o],["L",s,d],["L","=V.x3","=V.y3"],{fillMode:"none",strokeCompound:"line"}]]},lineCallout4AccentBar:{variables:{adj1:18750,adj2:-8333,adj3:18750,adj4:-16667,adj5:1e5,adj6:-16667,adj7:112963,adj8:-8333,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",y3:"=height * V.adj5 / 100000",x3:"=width * V.adj6 / 100000",y4:"=height * V.adj7 / 100000",x4:"=width * V.adj8 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",18750],["adj4",-16667],["adj5",1e5],["adj6",-16667],["adj7",112963],["adj8",-8333]],connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[c,o]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,d]},{type:"ahXY",gdRefX:"adj6",minX:-2147483647,maxX:2147483647,gdRefY:"adj5",minY:-2147483647,maxY:2147483647,position:{x:"x3",y:"y3"},point:["=V.x3","=V.y3"]},{type:"ahXY",gdRefX:"adj8",minX:-2147483647,maxX:2147483647,gdRefY:"adj7",minY:-2147483647,maxY:2147483647,position:{x:"x4",y:"y4"},point:["=V.x4","=V.y4"]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{strokeMode:"false"}],[["M",c,0],["Z"],["L",c,n],{fillMode:"none",strokeCompound:"simple"}],[["M",c,o],["L",s,d],["L","=V.x3","=V.y3"],["L","=V.x4","=V.y4"],{fillMode:"none",strokeCompound:"line"}]]},lineCallout1NoBorder:{variables:{adj1:18750,adj2:-8333,adj3:112500,adj4:-38333,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",112500],["adj4",-38333]],connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[c,o]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,d]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{strokeMode:"false"}],[["M",c,o],["L",s,d],{fillMode:"none"}]]},lineCallout2NoBorder:{variables:{adj1:18750,adj2:-8333,adj3:112500,adj4:-38333,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",112500],["adj4",-38333]],connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[c,o]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,d]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{strokeMode:"false"}],[["M",c,o],["L",s,d],{fillMode:"none",strokeCompound:"line"}]]},lineCallout3NoBorder:{variables:{adj1:18750,adj2:-8333,adj3:18750,adj4:-16667,adj5:112500,adj6:-46667,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",y3:"=height * V.adj5 / 100000",x3:"=width * V.adj6 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",18750],["adj4",-16667],["adj5",112500],["adj6",-46667]],connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[c,o]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,d]},{type:"ahXY",gdRefX:"adj6",minX:-2147483647,maxX:2147483647,gdRefY:"adj5",minY:-2147483647,maxY:2147483647,position:{x:"x3",y:"y3"},point:["=V.x3","=V.y3"]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{strokeMode:"false"}],[["M",c,o],["L",s,d],["L","=V.x3","=V.y3"],{fillMode:"none",strokeCompound:"line"}]]},lineCallout4NoBorder:{variables:{adj1:18750,adj2:-8333,adj3:18750,adj4:-16667,adj5:1e5,adj6:-16667,adj7:112963,adj8:-8333,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",y3:"=height * V.adj5 / 100000",x3:"=width * V.adj6 / 100000",y4:"=height * V.adj7 / 100000",x4:"=width * V.adj8 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",18750],["adj4",-16667],["adj5",1e5],["adj6",-16667],["adj7",112963],["adj8",-8333]],connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[c,o]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,d]},{type:"ahXY",gdRefX:"adj6",minX:-2147483647,maxX:2147483647,gdRefY:"adj5",minY:-2147483647,maxY:2147483647,position:{x:"x3",y:"y3"},point:["=V.x3","=V.y3"]},{type:"ahXY",gdRefX:"adj8",minX:-2147483647,maxX:2147483647,gdRefY:"adj7",minY:-2147483647,maxY:2147483647,position:{x:"x4",y:"y4"},point:["=V.x4","=V.y4"]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{strokeMode:"false"}],[["M",c,o],["L",s,d],["L","=V.x3","=V.y3"],["L","=V.x4","=V.y4"],{strokeCompound:"line",fillMode:"none"}]]},lineCallout1BorderandAccentBar:{variables:{adj1:18750,adj2:-8333,adj3:112500,adj4:-38333,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",112500],["adj4",-38333]],connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[c,o]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,d]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{}],[["M",c,o],["L",s,d],{fillMode:"none"}]]},lineCallout2BorderandAccentBar:{variables:{adj1:18750,adj2:-8333,adj3:112500,adj4:-38333,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",112500],["adj4",-38333]],connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[c,o]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,d]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{}],[["M",c,0],["Z"],["L",c,n],{fillMode:"none",strokeCompound:"simple"}],[["M",c,o],["L",s,d],{fillMode:"none",strokeCompound:"line"}]]},lineCallout3BorderandAccentBar:{variables:{adj1:18750,adj2:-8333,adj3:18750,adj4:-16667,adj5:112500,adj6:-46667,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",y3:"=height * V.adj5 / 100000",x3:"=width * V.adj6 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",18750],["adj4",-16667],["adj5",112500],["adj6",-46667]],connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[c,o]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,d]},{type:"ahXY",gdRefX:"adj6",minX:-2147483647,maxX:2147483647,gdRefY:"adj5",minY:-2147483647,maxY:2147483647,position:{x:"x3",y:"y3"},point:["=V.x3","=V.y3"]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{}],[["M",c,0],["Z"],["L",c,n],{fillMode:"none",strokeCompound:"simple"}],[["M",c,o],["L",s,d],["L","=V.x3","=V.y3"],{fillMode:"none",strokeCompound:"line"}]]},lineCallout4BorderandAccentBar:{variables:{adj1:18750,adj2:-8333,adj3:18750,adj4:-16667,adj5:1e5,adj6:-16667,adj7:112963,adj8:-8333,y1:"=height * V.adj1 / 100000",x1:"=width * V.adj2 / 100000",y2:"=height * V.adj3 / 100000",x2:"=width * V.adj4 / 100000",y3:"=height * V.adj5 / 100000",x3:"=width * V.adj6 / 100000",y4:"=height * V.adj7 / 100000",x4:"=width * V.adj8 / 100000",r:V,vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj1",18750],["adj2",-8333],["adj3",18750],["adj4",-16667],["adj5",1e5],["adj6",-16667],["adj7",112963],["adj8",-8333]],connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj2",minX:-2147483647,maxX:2147483647,gdRefY:"adj1",minY:-2147483647,maxY:2147483647,position:{x:"x1",y:"y1"},point:[c,o]},{type:"ahXY",gdRefX:"adj4",minX:-2147483647,maxX:2147483647,gdRefY:"adj3",minY:-2147483647,maxY:2147483647,position:{x:"x2",y:"y2"},point:[s,d]},{type:"ahXY",gdRefX:"adj6",minX:-2147483647,maxX:2147483647,gdRefY:"adj5",minY:-2147483647,maxY:2147483647,position:{x:"x3",y:"y3"},point:["=V.x3","=V.y3"]},{type:"ahXY",gdRefX:"adj8",minX:-2147483647,maxX:2147483647,gdRefY:"adj7",minY:-2147483647,maxY:2147483647,position:{x:"x4",y:"y4"},point:["=V.x4","=V.y4"]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{}],[["M",c,0],["Z"],["L",c,n],{fillMode:"none",strokeCompound:"simple"}],[["M",c,o],["L",s,d],["L","=V.x3","=V.y3"],["L","=V.x4","=V.y4"],{fillMode:"none",strokeCompound:"line"}]]},actionButtonCustom:{variables:{r:V,vc:f,hc:y,b:n,l:0,t:0},connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{}]]},actionButtonHome:{variables:{ss:i,dx2:"=V.ss * 3 / 8",vc:f,g9:"=V.vc - V.dx2",g10:"=V.vc + V.dx2",hc:y,g11:"=V.hc - V.dx2",g12:"=V.hc + V.dx2",g13:"=V.ss * 3 / 4",g14:"=V.g13 / 16",g15:"=V.g13 / 8",g16:"=V.g13 * 3 / 16",g17:"=V.g13 * 5 / 16",g18:"=V.g13 * 7 / 16",g19:"=V.g13 * 9 / 16",g20:"=V.g13 * 11 / 16",g21:"=V.g13 * 3 / 4",g22:"=V.g13 * 13 / 16",g23:"=V.g13 * 7 / 8",g24:"=V.g9 + V.g14",g25:"=V.g9 + V.g16",g26:"=V.g9 + V.g17",g27:"=V.g9 + V.g21",g28:"=V.g11 + V.g15",g29:"=V.g11 + V.g18",g30:"=V.g11 + V.g19",g31:"=V.g11 + V.g20",g32:"=V.g11 + V.g22",g33:"=V.g11 + V.g23",r:V,b:n,l:0,t:0},connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],["M",e,"=V.g9"],["L","=V.g11",r],["L","=V.g28",r],["L","=V.g28","=V.g10"],["L","=V.g33","=V.g10"],["L","=V.g33",r],["L","=V.g12",r],["L","=V.g32","=V.g26"],["L","=V.g32","=V.g24"],["L","=V.g31","=V.g24"],["L","=V.g31","=V.g25"],["Z"],{strokeMode:"false"}],[["M","=V.g32","=V.g26"],["L","=V.g32","=V.g24"],["L","=V.g31","=V.g24"],["L","=V.g31","=V.g25"],["Z"],["M","=V.g28",r],["L","=V.g28","=V.g10"],["L","=V.g29","=V.g10"],["L","=V.g29","=V.g27"],["L","=V.g30","=V.g27"],["L","=V.g30","=V.g10"],["L","=V.g33","=V.g10"],["L","=V.g33",r],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M",e,"=V.g9"],["L","=V.g11",r],["L","=V.g12",r],["Z"],["M","=V.g29","=V.g27"],["L","=V.g30","=V.g27"],["L","=V.g30","=V.g10"],["L","=V.g29","=V.g10"],["Z"],{fillMode:"darken",strokeMode:"false"}],[["M",e,"=V.g9"],["L","=V.g31","=V.g25"],["L","=V.g31","=V.g24"],["L","=V.g32","=V.g24"],["L","=V.g32","=V.g26"],["L","=V.g12",r],["L","=V.g33",r],["L","=V.g33","=V.g10"],["L","=V.g28","=V.g10"],["L","=V.g28",r],["L","=V.g11",r],["Z"],["M","=V.g31","=V.g25"],["L","=V.g32","=V.g26"],["M","=V.g33",r],["L","=V.g28",r],["M","=V.g29","=V.g10"],["L","=V.g29","=V.g27"],["L","=V.g30","=V.g27"],["L","=V.g30","=V.g10"],{fillMode:"none"}],[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{fillMode:"none"}]]},actionButtonHelp:{variables:{ss:i,dx2:"=V.ss * 3 / 8",vc:f,g9:"=V.vc - V.dx2",hc:y,g11:"=V.hc - V.dx2",g13:"=V.ss * 3 / 4",g14:"=V.g13 / 7",g15:"=V.g13 * 3 / 14",g16:"=V.g13 * 2 / 7",g19:"=V.g13 * 3 / 7",g20:"=V.g13 * 4 / 7",g21:"=V.g13 * 17 / 28",g23:"=V.g13 * 21 / 28",g24:"=V.g13 * 11 / 14",g27:"=V.g9 + V.g16",g29:"=V.g9 + V.g21",g30:"=V.g9 + V.g23",g31:"=V.g9 + V.g24",g33:"=V.g11 + V.g15",g36:"=V.g11 + V.g19",g37:"=V.g11 + V.g20",g41:"=V.g13 / 14",g42:"=V.g13 * 3 / 28",r:V,b:n,l:0,t:0,cd2:h,cx1:"=C(V.g16,V.g33,A(V.g16,V.g16,V.cd2),true)",cy1:"=C(V.g16,V.g27,A(V.g16,V.g16,V.cd2))",cd4:u,cx2:"=C(V.g14,P(V.cx1,V.g16,A(V.g16,V.g16,(V.cd2 + V.cd2)),true),A(V.g14,V.g15,0),true)",cy2:"=C(V.g15,P(V.cy1,V.g16,A(V.g16,V.g16,(V.cd2 + V.cd2))),A(V.g14,V.g15,0))",_3cd4:x,cx3:"=C(V.g41,P(V.cx2,V.g14,A(V.g14,V.g15,(V.cd4)),true),A(V.g41,V.g42,V._3cd4),true)",cy3:"=C(V.g42,P(V.cy2,V.g15,A(V.g14,V.g15,(V.cd4))),A(V.g41,V.g42,V._3cd4))",cx4:"=C(V.g14,V.g36,A(V.g14,V.g15,V.cd2),true)",cy4:"=C(V.g15,V.g29,A(V.g14,V.g15,V.cd2))",cx5:"=C(V.g41,P(V.cx4,V.g14,A(V.g14,V.g15,(V.cd2 + V.cd4)),true),A(V.g41,V.g42,V.cd4),true)",cy5:"=C(V.g42,P(V.cy4,V.g15,A(V.g14,V.g15,(V.cd2 + V.cd4))),A(V.g41,V.g42,V.cd4))",cx6:"=C(V.g14,P(V.cx5,V.g41,A(V.g41,V.g42,(V.cd4 + -5400000)),true),A(V.g14,V.g14,0),true)",cy6:"=C(V.g14,P(V.cy5,V.g42,A(V.g41,V.g42,(V.cd4 + -5400000))),A(V.g14,V.g14,0))",cx7:"=C(V.g42,V.hc,A(V.g42,V.g42,V._3cd4),true)",cy7:"=C(V.g42,V.g31,A(V.g42,V.g42,V._3cd4))",cx8:"=C(V.g16,V.g33,A(V.g16,V.g16,V.cd2),true)",cy8:"=C(V.g16,V.g27,A(V.g16,V.g16,V.cd2))",cx9:"=C(V.g14,P(V.cx8,V.g16,A(V.g16,V.g16,(V.cd2 + V.cd2)),true),A(V.g14,V.g15,0),true)",cy9:"=C(V.g15,P(V.cy8,V.g16,A(V.g16,V.g16,(V.cd2 + V.cd2))),A(V.g14,V.g15,0))",cx10:"=C(V.g41,P(V.cx9,V.g14,A(V.g14,V.g15,(V.cd4)),true),A(V.g41,V.g42,V._3cd4),true)",cy10:"=C(V.g42,P(V.cy9,V.g15,A(V.g14,V.g15,(V.cd4))),A(V.g41,V.g42,V._3cd4))",cx11:"=C(V.g14,V.g36,A(V.g14,V.g15,V.cd2),true)",cy11:"=C(V.g15,V.g29,A(V.g14,V.g15,V.cd2))",cx12:"=C(V.g41,P(V.cx11,V.g14,A(V.g14,V.g15,(V.cd2 + V.cd4)),true),A(V.g41,V.g42,V.cd4),true)",cy12:"=C(V.g42,P(V.cy11,V.g15,A(V.g14,V.g15,(V.cd2 + V.cd4))),A(V.g41,V.g42,V.cd4))",cx13:"=C(V.g14,P(V.cx12,V.g41,A(V.g41,V.g42,(V.cd4 + -5400000)),true),A(V.g14,V.g14,0),true)",cy13:"=C(V.g14,P(V.cy12,V.g42,A(V.g41,V.g42,(V.cd4 + -5400000))),A(V.g14,V.g14,0))",cx14:"=C(V.g42,V.hc,A(V.g42,V.g42,V._3cd4),true)",cy14:"=C(V.g42,V.g31,A(V.g42,V.g42,V._3cd4))",cx15:"=C(V.g16,V.g33,A(V.g16,V.g16,V.cd2),true)",cy15:"=C(V.g16,V.g27,A(V.g16,V.g16,V.cd2))",cx16:"=C(V.g14,P(V.cx15,V.g16,A(V.g16,V.g16,(V.cd2 + V.cd2)),true),A(V.g14,V.g15,0),true)",cy16:"=C(V.g15,P(V.cy15,V.g16,A(V.g16,V.g16,(V.cd2 + V.cd2))),A(V.g14,V.g15,0))",cx17:"=C(V.g41,P(V.cx16,V.g14,A(V.g14,V.g15,(V.cd4)),true),A(V.g41,V.g42,V._3cd4),true)",cy17:"=C(V.g42,P(V.cy16,V.g15,A(V.g14,V.g15,(V.cd4))),A(V.g41,V.g42,V._3cd4))",cx18:"=C(V.g14,V.g36,A(V.g14,V.g15,V.cd2),true)",cy18:"=C(V.g15,V.g29,A(V.g14,V.g15,V.cd2))",cx19:"=C(V.g41,P(V.cx18,V.g14,A(V.g14,V.g15,(V.cd2 + V.cd4)),true),A(V.g41,V.g42,V.cd4),true)",cy19:"=C(V.g42,P(V.cy18,V.g15,A(V.g14,V.g15,(V.cd2 + V.cd4))),A(V.g41,V.g42,V.cd4))",cx20:"=C(V.g14,P(V.cx19,V.g41,A(V.g41,V.g42,(V.cd4 + -5400000)),true),A(V.g14,V.g14,0),true)",cy20:"=C(V.g14,P(V.cy19,V.g42,A(V.g41,V.g42,(V.cd4 + -5400000))),A(V.g14,V.g14,0))",cx21:"=C(V.g42,V.hc,A(V.g42,V.g42,V._3cd4),true)",cy21:"=C(V.g42,V.g31,A(V.g42,V.g42,V._3cd4))"},connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],["M","=V.g33","=V.g27"],["E","=V.cx1","=V.cy1","=V.g16","=V.g16",0,"=A(V.g16,V.g16,V.cd2)","=A(V.g16,V.g16,(V.cd2 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["E","=V.cx2","=V.cy2","=V.g14","=V.g15",0,"=A(V.g14,V.g15,0)","=A(V.g14,V.g15,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx3","=V.cy3","=V.g41","=V.g42",0,"=A(V.g41,V.g42,V._3cd4)","=A(V.g41,V.g42,(V._3cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.g37","=V.g30"],["L","=V.g36","=V.g30"],["L","=V.g36","=V.g29"],["E","=V.cx4","=V.cy4","=V.g14","=V.g15",0,"=A(V.g14,V.g15,V.cd2)","=A(V.g14,V.g15,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx5","=V.cy5","=V.g41","=V.g42",0,"=A(V.g41,V.g42,V.cd4)","=A(V.g41,V.g42,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx6","=V.cy6","=V.g14","=V.g14",0,"=A(V.g14,V.g14,0)","=A(V.g14,V.g14,(-10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["Z"],["M",e,"=V.g31"],["E","=V.cx7","=V.cy7","=V.g42","=V.g42",0,"=A(V.g42,V.g42,V._3cd4)","=(A(V.g42,V.g42,V._3cd4)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M","=V.g33","=V.g27"],["E","=V.cx8","=V.cy8","=V.g16","=V.g16",0,"=A(V.g16,V.g16,V.cd2)","=A(V.g16,V.g16,(V.cd2 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["E","=V.cx9","=V.cy9","=V.g14","=V.g15",0,"=A(V.g14,V.g15,0)","=A(V.g14,V.g15,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx10","=V.cy10","=V.g41","=V.g42",0,"=A(V.g41,V.g42,V._3cd4)","=A(V.g41,V.g42,(V._3cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.g37","=V.g30"],["L","=V.g36","=V.g30"],["L","=V.g36","=V.g29"],["E","=V.cx11","=V.cy11","=V.g14","=V.g15",0,"=A(V.g14,V.g15,V.cd2)","=A(V.g14,V.g15,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx12","=V.cy12","=V.g41","=V.g42",0,"=A(V.g41,V.g42,V.cd4)","=A(V.g41,V.g42,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx13","=V.cy13","=V.g14","=V.g14",0,"=A(V.g14,V.g14,0)","=A(V.g14,V.g14,(-10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["Z"],["M",e,"=V.g31"],["E","=V.cx14","=V.cy14","=V.g42","=V.g42",0,"=A(V.g42,V.g42,V._3cd4)","=(A(V.g42,V.g42,V._3cd4)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["Z"],{fillMode:"darken",strokeMode:"false"}],[["M","=V.g33","=V.g27"],["E","=V.cx15","=V.cy15","=V.g16","=V.g16",0,"=A(V.g16,V.g16,V.cd2)","=A(V.g16,V.g16,(V.cd2 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["E","=V.cx16","=V.cy16","=V.g14","=V.g15",0,"=A(V.g14,V.g15,0)","=A(V.g14,V.g15,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx17","=V.cy17","=V.g41","=V.g42",0,"=A(V.g41,V.g42,V._3cd4)","=A(V.g41,V.g42,(V._3cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.g37","=V.g30"],["L","=V.g36","=V.g30"],["L","=V.g36","=V.g29"],["E","=V.cx18","=V.cy18","=V.g14","=V.g15",0,"=A(V.g14,V.g15,V.cd2)","=A(V.g14,V.g15,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx19","=V.cy19","=V.g41","=V.g42",0,"=A(V.g41,V.g42,V.cd4)","=A(V.g41,V.g42,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["E","=V.cx20","=V.cy20","=V.g14","=V.g14",0,"=A(V.g14,V.g14,0)","=A(V.g14,V.g14,(-10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["Z"],["M",e,"=V.g31"],["E","=V.cx21","=V.cy21","=V.g42","=V.g42",0,"=A(V.g42,V.g42,V._3cd4)","=(A(V.g42,V.g42,V._3cd4)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["Z"],{fillMode:"none"}],[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{fillMode:"none"}]]},actionButtonInformation:{variables:{ss:i,dx2:"=V.ss * 3 / 8",vc:f,g9:"=V.vc - V.dx2",hc:y,g11:"=V.hc - V.dx2",g13:"=V.ss * 3 / 4",g14:"=V.g13 / 32",g17:"=V.g13 * 5 / 16",g18:"=V.g13 * 3 / 8",g19:"=V.g13 * 13 / 32",g20:"=V.g13 * 19 / 32",g22:"=V.g13 * 11 / 16",g23:"=V.g13 * 13 / 16",g24:"=V.g13 * 7 / 8",g25:"=V.g9 + V.g14",g28:"=V.g9 + V.g17",g29:"=V.g9 + V.g18",g30:"=V.g9 + V.g23",g31:"=V.g9 + V.g24",g32:"=V.g11 + V.g17",g34:"=V.g11 + V.g19",g35:"=V.g11 + V.g20",g37:"=V.g11 + V.g22",g38:"=V.g13 * 3 / 32",r:V,b:n,l:0,t:0,_3cd4:x,cx1:"=C(V.dx2,V.hc,A(V.dx2,V.dx2,V._3cd4),true)",cy1:"=C(V.dx2,V.g9,A(V.dx2,V.dx2,V._3cd4))",cx2:"=C(V.dx2,V.hc,A(V.dx2,V.dx2,V._3cd4),true)",cy2:"=C(V.dx2,V.g9,A(V.dx2,V.dx2,V._3cd4))",cx3:"=C(V.g38,V.hc,A(V.g38,V.g38,V._3cd4),true)",cy3:"=C(V.g38,V.g25,A(V.g38,V.g38,V._3cd4))",cx4:"=C(V.g38,V.hc,A(V.g38,V.g38,V._3cd4),true)",cy4:"=C(V.g38,V.g25,A(V.g38,V.g38,V._3cd4))",cx5:"=C(V.dx2,V.hc,A(V.dx2,V.dx2,V._3cd4),true)",cy5:"=C(V.dx2,V.g9,A(V.dx2,V.dx2,V._3cd4))",cx6:"=C(V.g38,V.hc,A(V.g38,V.g38,V._3cd4),true)",cy6:"=C(V.g38,V.g25,A(V.g38,V.g38,V._3cd4))"},connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],["M",e,"=V.g9"],["E","=V.cx1","=V.cy1","=V.dx2","=V.dx2",0,"=A(V.dx2,V.dx2,V._3cd4)","=(A(V.dx2,V.dx2,V._3cd4)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["Z"],{strokeMode:"false"}],[["M",e,"=V.g9"],["E","=V.cx2","=V.cy2","=V.dx2","=V.dx2",0,"=A(V.dx2,V.dx2,V._3cd4)","=(A(V.dx2,V.dx2,V._3cd4)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["Z"],["M",e,"=V.g25"],["E","=V.cx3","=V.cy3","=V.g38","=V.g38",0,"=A(V.g38,V.g38,V._3cd4)","=(A(V.g38,V.g38,V._3cd4)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["M","=V.g32","=V.g28"],["L","=V.g32","=V.g29"],["L","=V.g34","=V.g29"],["L","=V.g34","=V.g30"],["L","=V.g32","=V.g30"],["L","=V.g32","=V.g31"],["L","=V.g37","=V.g31"],["L","=V.g37","=V.g30"],["L","=V.g35","=V.g30"],["L","=V.g35","=V.g28"],["Z"],{fillMode:"darken",strokeMode:"false"}],[["M",e,"=V.g25"],["E","=V.cx4","=V.cy4","=V.g38","=V.g38",0,"=A(V.g38,V.g38,V._3cd4)","=(A(V.g38,V.g38,V._3cd4)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["M","=V.g32","=V.g28"],["L","=V.g35","=V.g28"],["L","=V.g35","=V.g30"],["L","=V.g37","=V.g30"],["L","=V.g37","=V.g31"],["L","=V.g32","=V.g31"],["L","=V.g32","=V.g30"],["L","=V.g34","=V.g30"],["L","=V.g34","=V.g29"],["L","=V.g32","=V.g29"],["Z"],{fillMode:"lighten",strokeMode:"false"}],[["M",e,"=V.g9"],["E","=V.cx5","=V.cy5","=V.dx2","=V.dx2",0,"=A(V.dx2,V.dx2,V._3cd4)","=(A(V.dx2,V.dx2,V._3cd4)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["Z"],["M",e,"=V.g25"],["E","=V.cx6","=V.cy6","=V.g38","=V.g38",0,"=A(V.g38,V.g38,V._3cd4)","=(A(V.g38,V.g38,V._3cd4)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["M","=V.g32","=V.g28"],["L","=V.g35","=V.g28"],["L","=V.g35","=V.g30"],["L","=V.g37","=V.g30"],["L","=V.g37","=V.g31"],["L","=V.g32","=V.g31"],["L","=V.g32","=V.g30"],["L","=V.g34","=V.g30"],["L","=V.g34","=V.g29"],["L","=V.g32","=V.g29"],["Z"],{fillMode:"none"}],[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{fillMode:"none"}]]},actionButtonBackorPrevious:{variables:{ss:i,dx2:"=V.ss * 3 / 8",vc:f,g9:"=V.vc - V.dx2",g10:"=V.vc + V.dx2",hc:y,g11:"=V.hc - V.dx2",g12:"=V.hc + V.dx2",r:V,b:n,l:0,t:0},connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],["M","=V.g11",r],["L","=V.g12","=V.g9"],["L","=V.g12","=V.g10"],["Z"],{strokeMode:"false"}],[["M","=V.g11",r],["L","=V.g12","=V.g9"],["L","=V.g12","=V.g10"],["Z"],{fillMode:"darken",strokeMode:"false"}],[["M","=V.g11",r],["L","=V.g12","=V.g9"],["L","=V.g12","=V.g10"],["Z"],{fillMode:"none"}],[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{fillMode:"none"}]]},actionButtonForwardorNext:{variables:{ss:i,dx2:"=V.ss * 3 / 8",vc:f,g9:"=V.vc - V.dx2",g10:"=V.vc + V.dx2",hc:y,g11:"=V.hc - V.dx2",g12:"=V.hc + V.dx2",r:V,b:n,l:0,t:0},connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],["M","=V.g12",r],["L","=V.g11","=V.g9"],["L","=V.g11","=V.g10"],["Z"],{strokeMode:"false"}],[["M","=V.g12",r],["L","=V.g11","=V.g9"],["L","=V.g11","=V.g10"],["Z"],{fillMode:"darken",strokeMode:"false"}],[["M","=V.g12",r],["L","=V.g11","=V.g10"],["L","=V.g11","=V.g9"],["Z"],{fillMode:"none"}],[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{fillMode:"none"}]]},actionButtonBeginning:{variables:{ss:i,dx2:"=V.ss * 3 / 8",vc:f,g9:"=V.vc - V.dx2",g10:"=V.vc + V.dx2",hc:y,g11:"=V.hc - V.dx2",g12:"=V.hc + V.dx2",g13:"=V.ss * 3 / 4",g14:"=V.g13 / 8",g15:"=V.g13 / 4",g16:"=V.g11 + V.g14",g17:"=V.g11 + V.g15",r:V,b:n,l:0,t:0},connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],["M","=V.g17",r],["L","=V.g12","=V.g9"],["L","=V.g12","=V.g10"],["Z"],["M","=V.g16","=V.g9"],["L","=V.g11","=V.g9"],["L","=V.g11","=V.g10"],["L","=V.g16","=V.g10"],["Z"],{strokeMode:"false"}],[["M","=V.g17",r],["L","=V.g12","=V.g9"],["L","=V.g12","=V.g10"],["Z"],["M","=V.g16","=V.g9"],["L","=V.g11","=V.g9"],["L","=V.g11","=V.g10"],["L","=V.g16","=V.g10"],["Z"],{fillMode:"darken",strokeMode:"false"}],[["M","=V.g17",r],["L","=V.g12","=V.g9"],["L","=V.g12","=V.g10"],["Z"],["M","=V.g16","=V.g9"],["L","=V.g16","=V.g10"],["L","=V.g11","=V.g10"],["L","=V.g11","=V.g9"],["Z"],{fillMode:"none"}],[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{fillMode:"none"}]]},actionButtonEnd:{variables:{ss:i,dx2:"=V.ss * 3 / 8",vc:f,g9:"=V.vc - V.dx2",g10:"=V.vc + V.dx2",hc:y,g11:"=V.hc - V.dx2",g12:"=V.hc + V.dx2",g13:"=V.ss * 3 / 4",g14:"=V.g13 * 3 / 4",g15:"=V.g13 * 7 / 8",g16:"=V.g11 + V.g14",g17:"=V.g11 + V.g15",r:V,b:n,l:0,t:0},connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],["M","=V.g16",r],["L","=V.g11","=V.g9"],["L","=V.g11","=V.g10"],["Z"],["M","=V.g17","=V.g9"],["L","=V.g12","=V.g9"],["L","=V.g12","=V.g10"],["L","=V.g17","=V.g10"],["Z"],{strokeMode:"false"}],[["M","=V.g16",r],["L","=V.g11","=V.g9"],["L","=V.g11","=V.g10"],["Z"],["M","=V.g17","=V.g9"],["L","=V.g12","=V.g9"],["L","=V.g12","=V.g10"],["L","=V.g17","=V.g10"],["Z"],{fillMode:"darken",strokeMode:"false"}],[["M","=V.g16",r],["L","=V.g11","=V.g10"],["L","=V.g11","=V.g9"],["Z"],["M","=V.g17","=V.g9"],["L","=V.g12","=V.g9"],["L","=V.g12","=V.g10"],["L","=V.g17","=V.g10"],["Z"],{fillMode:"none"}],[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{fillMode:"none"}]]},actionButtonReturn:{variables:{ss:i,dx2:"=V.ss * 3 / 8",vc:f,g9:"=V.vc - V.dx2",g10:"=V.vc + V.dx2",hc:y,g11:"=V.hc - V.dx2",g12:"=V.hc + V.dx2",g13:"=V.ss * 3 / 4",g14:"=V.g13 * 7 / 8",g15:"=V.g13 * 3 / 4",g16:"=V.g13 * 5 / 8",g17:"=V.g13 * 3 / 8",g18:"=V.g13 / 4",g19:"=V.g9 + V.g15",g20:"=V.g9 + V.g16",g21:"=V.g9 + V.g18",g22:"=V.g11 + V.g14",g23:"=V.g11 + V.g15",g24:"=V.g11 + V.g16",g25:"=V.g11 + V.g17",g26:"=V.g11 + V.g18",g27:"=V.g13 / 8",r:V,b:n,l:0,t:0,cd4:u,cx1:"=C(V.g27,V.g24,A(V.g27,V.g27,0),true)",cy1:"=C(V.g27,V.g20,A(V.g27,V.g27,0))",cx2:"=C(V.g27,V.g25,A(V.g27,V.g27,V.cd4),true)",cy2:"=C(V.g27,V.g19,A(V.g27,V.g27,V.cd4))",cd2:h,cx3:"=C(V.g17,V.g11,A(V.g17,V.g17,V.cd2),true)",cy3:"=C(V.g17,V.g20,A(V.g17,V.g17,V.cd2))",cx4:"=C(V.g17,V.hc,A(V.g17,V.g17,V.cd4),true)",cy4:"=C(V.g17,V.g10,A(V.g17,V.g17,V.cd4))",cx5:"=C(V.g27,V.g24,A(V.g27,V.g27,0),true)",cy5:"=C(V.g27,V.g20,A(V.g27,V.g27,0))",cx6:"=C(V.g27,V.g25,A(V.g27,V.g27,V.cd4),true)",cy6:"=C(V.g27,V.g19,A(V.g27,V.g27,V.cd4))",cx7:"=C(V.g17,V.g11,A(V.g17,V.g17,V.cd2),true)",cy7:"=C(V.g17,V.g20,A(V.g17,V.g17,V.cd2))",cx8:"=C(V.g17,V.hc,A(V.g17,V.g17,V.cd4),true)",cy8:"=C(V.g17,V.g10,A(V.g17,V.g17,V.cd4))",cx9:"=C(V.g17,V.g22,A(V.g17,V.g17,0),true)",cy9:"=C(V.g17,V.g20,A(V.g17,V.g17,0))",cx10:"=C(V.g17,V.g25,A(V.g17,V.g17,V.cd4),true)",cy10:"=C(V.g17,V.g10,A(V.g17,V.g17,V.cd4))",cx11:"=C(V.g27,V.g26,A(V.g27,V.g27,V.cd2),true)",cy11:"=C(V.g27,V.g20,A(V.g27,V.g27,V.cd2))",cx12:"=C(V.g27,V.hc,A(V.g27,V.g27,V.cd4),true)",cy12:"=C(V.g27,V.g19,A(V.g27,V.g27,V.cd4))"},connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],["M","=V.g12","=V.g21"],["L","=V.g23","=V.g9"],["L",e,"=V.g21"],["L","=V.g24","=V.g21"],["L","=V.g24","=V.g20"],["E","=V.cx1","=V.cy1","=V.g27","=V.g27",0,"=A(V.g27,V.g27,0)","=A(V.g27,V.g27,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.g25","=V.g19"],["E","=V.cx2","=V.cy2","=V.g27","=V.g27",0,"=A(V.g27,V.g27,V.cd4)","=A(V.g27,V.g27,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.g26","=V.g21"],["L","=V.g11","=V.g21"],["L","=V.g11","=V.g20"],["E","=V.cx3","=V.cy3","=V.g17","=V.g17",0,"=A(V.g17,V.g17,V.cd2)","=A(V.g17,V.g17,(V.cd2 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",e,"=V.g10"],["E","=V.cx4","=V.cy4","=V.g17","=V.g17",0,"=A(V.g17,V.g17,V.cd4)","=A(V.g17,V.g17,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.g22","=V.g21"],["Z"],{strokeMode:"false"}],[["M","=V.g12","=V.g21"],["L","=V.g23","=V.g9"],["L",e,"=V.g21"],["L","=V.g24","=V.g21"],["L","=V.g24","=V.g20"],["E","=V.cx5","=V.cy5","=V.g27","=V.g27",0,"=A(V.g27,V.g27,0)","=A(V.g27,V.g27,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.g25","=V.g19"],["E","=V.cx6","=V.cy6","=V.g27","=V.g27",0,"=A(V.g27,V.g27,V.cd4)","=A(V.g27,V.g27,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.g26","=V.g21"],["L","=V.g11","=V.g21"],["L","=V.g11","=V.g20"],["E","=V.cx7","=V.cy7","=V.g17","=V.g17",0,"=A(V.g17,V.g17,V.cd2)","=A(V.g17,V.g17,(V.cd2 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",e,"=V.g10"],["E","=V.cx8","=V.cy8","=V.g17","=V.g17",0,"=A(V.g17,V.g17,V.cd4)","=A(V.g17,V.g17,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.g22","=V.g21"],["Z"],{fillMode:"darken",strokeMode:"false"}],[["M","=V.g12","=V.g21"],["L","=V.g22","=V.g21"],["L","=V.g22","=V.g20"],["E","=V.cx9","=V.cy9","=V.g17","=V.g17",0,"=A(V.g17,V.g17,0)","=A(V.g17,V.g17,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.g25","=V.g10"],["E","=V.cx10","=V.cy10","=V.g17","=V.g17",0,"=A(V.g17,V.g17,V.cd4)","=A(V.g17,V.g17,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.g11","=V.g21"],["L","=V.g26","=V.g21"],["L","=V.g26","=V.g20"],["E","=V.cx11","=V.cy11","=V.g27","=V.g27",0,"=A(V.g27,V.g27,V.cd2)","=A(V.g27,V.g27,(V.cd2 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L",e,"=V.g19"],["E","=V.cx12","=V.cy12","=V.g27","=V.g27",0,"=A(V.g27,V.g27,V.cd4)","=A(V.g27,V.g27,(V.cd4 + -5400000))","=IF(-5400000 > 0, FALSE, TRUE)"],["L","=V.g24","=V.g21"],["L",e,"=V.g21"],["L","=V.g23","=V.g9"],["Z"],{fillMode:"none"}],[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{fillMode:"none"}]]},actionButtonDocument:{variables:{ss:i,dx2:"=V.ss * 3 / 8",vc:f,g9:"=V.vc - V.dx2",g10:"=V.vc + V.dx2",dx1:"=V.ss * 9 / 32",hc:y,g11:"=V.hc - V.dx1",g12:"=V.hc + V.dx1",g13:"=V.ss * 3 / 16",g14:"=V.g12 - V.g13",g15:"=V.g9 + V.g13",r:V,b:n,l:0,t:0},connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],["M","=V.g11","=V.g9"],["L","=V.g14","=V.g9"],["L","=V.g12","=V.g15"],["L","=V.g12","=V.g10"],["L","=V.g11","=V.g10"],["Z"],{strokeMode:"false"}],[["M","=V.g11","=V.g9"],["L","=V.g14","=V.g9"],["L","=V.g14","=V.g15"],["L","=V.g12","=V.g15"],["L","=V.g12","=V.g10"],["L","=V.g11","=V.g10"],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M","=V.g14","=V.g9"],["L","=V.g14","=V.g15"],["L","=V.g12","=V.g15"],["Z"],{fillMode:"darken",strokeMode:"false"}],[["M","=V.g11","=V.g9"],["L","=V.g14","=V.g9"],["L","=V.g12","=V.g15"],["L","=V.g12","=V.g10"],["L","=V.g11","=V.g10"],["Z"],["M","=V.g12","=V.g15"],["L","=V.g14","=V.g15"],["L","=V.g14","=V.g9"],{fillMode:"none"}],[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{fillMode:"none"}]]},actionButtonSound:{variables:{ss:i,dx2:"=V.ss * 3 / 8",vc:f,g9:"=V.vc - V.dx2",g10:"=V.vc + V.dx2",hc:y,g11:"=V.hc - V.dx2",g12:"=V.hc + V.dx2",g13:"=V.ss * 3 / 4",g14:"=V.g13 / 8",g15:"=V.g13 * 5 / 16",g16:"=V.g13 * 5 / 8",g17:"=V.g13 * 11 / 16",g18:"=V.g13 * 3 / 4",g19:"=V.g13 * 7 / 8",g20:"=V.g9 + V.g14",g21:"=V.g9 + V.g15",g22:"=V.g9 + V.g17",g23:"=V.g9 + V.g19",g24:"=V.g11 + V.g15",g25:"=V.g11 + V.g16",g26:"=V.g11 + V.g18",r:V,b:n,l:0,t:0},connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],["M","=V.g11","=V.g21"],["L","=V.g11","=V.g22"],["L","=V.g24","=V.g22"],["L","=V.g25","=V.g10"],["L","=V.g25","=V.g9"],["L","=V.g24","=V.g21"],["Z"],{strokeMode:"false"}],[["M","=V.g11","=V.g21"],["L","=V.g11","=V.g22"],["L","=V.g24","=V.g22"],["L","=V.g25","=V.g10"],["L","=V.g25","=V.g9"],["L","=V.g24","=V.g21"],["Z"],{fillMode:"darken",strokeMode:"false"}],[["M","=V.g11","=V.g21"],["L","=V.g24","=V.g21"],["L","=V.g25","=V.g9"],["L","=V.g25","=V.g10"],["L","=V.g24","=V.g22"],["L","=V.g11","=V.g22"],["Z"],["M","=V.g26","=V.g21"],["L","=V.g12","=V.g20"],["M","=V.g26",r],["L","=V.g12",r],["M","=V.g26","=V.g22"],["L","=V.g12","=V.g23"],{fillMode:"none"}],[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{fillMode:"none"}]]},actionButtonMovie:{variables:{ss:i,dx2:"=V.ss * 3 / 8",vc:f,g9:"=V.vc - V.dx2",g10:"=V.vc + V.dx2",hc:y,g11:"=V.hc - V.dx2",g12:"=V.hc + V.dx2",g13:"=V.ss * 3 / 4",g14:"=V.g13 * 1455 / 21600",g15:"=V.g13 * 1905 / 21600",g16:"=V.g13 * 2325 / 21600",g17:"=V.g13 * 16155 / 21600",g18:"=V.g13 * 17010 / 21600",g19:"=V.g13 * 19335 / 21600",g20:"=V.g13 * 19725 / 21600",g21:"=V.g13 * 20595 / 21600",g22:"=V.g13 * 5280 / 21600",g23:"=V.g13 * 5730 / 21600",g24:"=V.g13 * 6630 / 21600",g25:"=V.g13 * 7492 / 21600",g26:"=V.g13 * 9067 / 21600",g27:"=V.g13 * 9555 / 21600",g28:"=V.g13 * 13342 / 21600",g29:"=V.g13 * 14580 / 21600",g30:"=V.g13 * 15592 / 21600",g31:"=V.g11 + V.g14",g32:"=V.g11 + V.g15",g33:"=V.g11 + V.g16",g34:"=V.g11 + V.g17",g35:"=V.g11 + V.g18",g36:"=V.g11 + V.g19",g37:"=V.g11 + V.g20",g38:"=V.g11 + V.g21",g39:"=V.g9 + V.g22",g40:"=V.g9 + V.g23",g41:"=V.g9 + V.g24",g42:"=V.g9 + V.g25",g43:"=V.g9 + V.g26",g44:"=V.g9 + V.g27",g45:"=V.g9 + V.g28",g46:"=V.g9 + V.g29",g47:"=V.g9 + V.g30",g48:"=V.g9 + V.g31",r:V,b:n,l:0,t:0},connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],["M","=V.g11","=V.g39"],["L","=V.g11","=V.g44"],["L","=V.g31","=V.g44"],["L","=V.g32","=V.g43"],["L","=V.g33","=V.g43"],["L","=V.g33","=V.g47"],["L","=V.g35","=V.g47"],["L","=V.g35","=V.g45"],["L","=V.g36","=V.g45"],["L","=V.g38","=V.g46"],["L","=V.g12","=V.g46"],["L","=V.g12","=V.g41"],["L","=V.g38","=V.g41"],["L","=V.g37","=V.g42"],["L","=V.g35","=V.g42"],["L","=V.g35","=V.g41"],["L","=V.g34","=V.g40"],["L","=V.g32","=V.g40"],["L","=V.g31","=V.g39"],["Z"],{strokeMode:"false"}],[["M","=V.g11","=V.g39"],["L","=V.g11","=V.g44"],["L","=V.g31","=V.g44"],["L","=V.g32","=V.g43"],["L","=V.g33","=V.g43"],["L","=V.g33","=V.g47"],["L","=V.g35","=V.g47"],["L","=V.g35","=V.g45"],["L","=V.g36","=V.g45"],["L","=V.g38","=V.g46"],["L","=V.g12","=V.g46"],["L","=V.g12","=V.g41"],["L","=V.g38","=V.g41"],["L","=V.g37","=V.g42"],["L","=V.g35","=V.g42"],["L","=V.g35","=V.g41"],["L","=V.g34","=V.g40"],["L","=V.g32","=V.g40"],["L","=V.g31","=V.g39"],["Z"],{fillMode:"darken",strokeMode:"false"}],[["M","=V.g11","=V.g39"],["L","=V.g31","=V.g39"],["L","=V.g32","=V.g40"],["L","=V.g34","=V.g40"],["L","=V.g35","=V.g41"],["L","=V.g35","=V.g42"],["L","=V.g37","=V.g42"],["L","=V.g38","=V.g41"],["L","=V.g12","=V.g41"],["L","=V.g12","=V.g46"],["L","=V.g38","=V.g46"],["L","=V.g36","=V.g45"],["L","=V.g35","=V.g45"],["L","=V.g35","=V.g47"],["L","=V.g33","=V.g47"],["L","=V.g33","=V.g43"],["L","=V.g32","=V.g43"],["L","=V.g31","=V.g44"],["L","=V.g11","=V.g44"],["Z"],{fillMode:"none"}],[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],{fillMode:"none"}]]},balloon:{variables:{adj1:-20833,adj2:62500,adj3:16667,dxPos:"=width * V.adj1 / 100000",dyPos:"=height * V.adj2 / 100000",hc:y,xPos:"=V.hc + V.dxPos",vc:f,yPos:"=V.vc + V.dyPos",dq:"=V.dxPos * height / width",ady:"=ABS(V.dyPos)",adq:"=ABS(V.dq)",dz:"=V.ady - V.adq",xg1:"=IF(V.dxPos > 0, 7, 2)",xg2:"=IF(V.dxPos > 0, 10, 5)",x1:"=width * V.xg1 / 12",x2:"=width * V.xg2 / 12",yg1:"=IF(V.dyPos > 0, 7, 2)",yg2:"=IF(V.dyPos > 0, 10, 5)",y1:"=height * V.yg1 / 12",y2:"=height * V.yg2 / 12",l:0,t1:"=IF(V.dxPos > 0, V.l, V.xPos)",xl:"=IF(V.dz > 0, V.l, V.t1)",t2:"=IF(V.dyPos > 0, V.x1, V.xPos)",xt:"=IF(V.dz > 0, V.t2, V.x1)",r:V,t3:"=IF(V.dxPos > 0, V.xPos, V.r)",xr:"=IF(V.dz > 0, V.r, V.t3)",t4:"=IF(V.dyPos > 0, V.xPos, V.x1)",xb:"=IF(V.dz > 0, V.t4, V.x1)",t5:"=IF(V.dxPos > 0, V.y1, V.yPos)",yl:"=IF(V.dz > 0, V.y1, V.t5)",t:0,t6:"=IF(V.dyPos > 0, V.t, V.yPos)",yt:"=IF(V.dz > 0, V.t6, V.t)",t7:"=IF(V.dxPos > 0, V.yPos, V.y1)",yr:"=IF(V.dz > 0, V.y1, V.t7)",b:n,t8:"=IF(V.dyPos > 0, V.yPos, V.b)",yb:"=IF(V.dz > 0, V.t8, V.b)",ss:i,u1:"=V.ss * V.adj3 / 100000",u2:"=width - V.u1",v2:"=height - V.u1",il:"=V.u1 * 29289 / 100000",ir:"=width - V.il",ib:"=height - V.il",cd2:h,cd4:u,cx1:"=C(V.u1,V.l,A(V.u1,V.u1,V.cd2),true)",cy1:"=C(V.u1,V.u1,A(V.u1,V.u1,V.cd2))",_3cd4:x,cx2:"=C(V.u1,V.u2,A(V.u1,V.u1,V._3cd4),true)",cy2:"=C(V.u1,V.t,A(V.u1,V.u1,V._3cd4))",cx3:"=C(V.u1,V.r,A(V.u1,V.u1,0),true)",cy3:"=C(V.u1,V.v2,A(V.u1,V.u1,0))",cx4:"=C(V.u1,V.u1,A(V.u1,V.u1,V.cd4),true)",cy4:"=C(V.u1,V.b,A(V.u1,V.u1,V.cd4))"},adjustInfo:[["adj1",-20833],["adj2",62500],["adj3",16667]],connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r},{x:"=V.xPos",y:"=V.yPos"}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:-2147483647,maxX:2147483647,gdRefY:"adj2",minY:-2147483647,maxY:2147483647,position:{x:"xPos",y:"yPos"},point:["=V.xPos","=V.yPos"]}],path:[[["M",0,"=V.u1"],["E","=V.cx1","=V.cy1","=V.u1","=V.u1",0,"=A(V.u1,V.u1,V.cd2)","=A(V.u1,V.u1,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",c,0],["L","=V.xt","=V.yt"],["L",s,0],["L","=V.u2",0],["E","=V.cx2","=V.cy2","=V.u1","=V.u1",0,"=A(V.u1,V.u1,V._3cd4)","=A(V.u1,V.u1,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",V,o],["L","=V.xr","=V.yr"],["L",V,d],["L",V,"=V.v2"],["E","=V.cx3","=V.cy3","=V.u1","=V.u1",0,"=A(V.u1,V.u1,0)","=A(V.u1,V.u1,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",s,n],["L","=V.xb","=V.yb"],["L",c,n],["L","=V.u1",n],["E","=V.cx4","=V.cy4","=V.u1","=V.u1",0,"=A(V.u1,V.u1,V.cd4)","=A(V.u1,V.u1,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",0,d],["L","=V.xl","=V.yl"],["L",0,o],["Z"],{}]],textRect:{left:"=V.il",top:"=V.il",right:"=V.ir",bottom:"=V.ib"}},flowchartOfflineStorage:{variables:{x4:"=width * 3 / 4",vc:f,hc:y,b:n,wd4:"=width/4",t:0,_scaleX1:"= width / 2",_scaleY1:"= height / 2",_scaleX2:"= width / 5",_scaleY2:"= height / 5",_scaleX3:"= width / 2",_scaleY3:"= height / 2"},connectionPoints:[{x:"=V.x4",y:r},{x:e,y:n},{x:"=V.wd4",y:r},{x:e,y:0}],path:[[["M",0,0],["L",V,0],["L",y,n],["Z"],{strokeMode:"false"}],[["M","=2 * V._scaleX2","=4 * V._scaleY2"],["L","=3 * V._scaleX2","=4 * V._scaleY2"],{fillMode:"none"}],[["M",0,0],["L",V,0],["L",y,n],["Z"],{fillMode:"none"}]],textRect:{left:"=V.wd4",top:0,right:"=V.x4",bottom:r}},leftRightRibbon:{variables:{adj1:5e4,adj2:5e4,adj3:16667,a3:"=MIN(MAX(0, V.adj3), 33333)",maxAdj1:"=100000 - V.a3",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",wd2:y,wd32:"=width/32",w1:"=V.wd2 - V.wd32",ss:i,maxAdj2:"=100000 * V.w1 / V.ss",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",x1:"=V.ss * V.a2 / 100000",r:V,x4:"=width - V.x1",dy1:"=height * V.a1 / 200000",dy2:"=height * V.a3 / -200000",vc:f,ly1:"=V.vc + V.dy2 - V.dy1",ry4:"=V.vc + V.dy1 - V.dy2",ly2:"=V.ly1 + V.dy1",b:n,ry3:"=height - V.ly2",ly4:"=V.ly2 * 2",ry1:"=height - V.ly4",ly3:"=V.ly4 - V.ly1",ry2:"=height - V.ly3",hR:"=V.a3 * V.ss / 400000",hc:y,x2:"=V.hc - V.wd32",x3:"=V.hc + V.wd32",y1:"=V.ly1 + V.hR",y2:"=V.ry2 - V.hR",l:0,t:0,_3cd4:x,cd2:h,cx1:"=C(V.wd32,V.hc,A(V.wd32,V.hR,V._3cd4),true)",cy1:"=C(V.hR,V.ly1,A(V.wd32,V.hR,V._3cd4))",cx2:"=C(V.wd32,P(V.cx1,V.wd32,A(V.wd32,V.hR,(V._3cd4 + V.cd2)),true),A(V.wd32,V.hR,V._3cd4),true)",cy2:"=C(V.hR,P(V.cy1,V.hR,A(V.wd32,V.hR,(V._3cd4 + V.cd2))),A(V.wd32,V.hR,V._3cd4))",cd4:u,cx3:"=C(V.wd32,V.hc,A(V.wd32,V.hR,V.cd4),true)",cy3:"=C(V.hR,V.ry4,A(V.wd32,V.hR,V.cd4))",cx4:"=C(V.wd32,V.x3,A(V.wd32,V.hR,0),true)",cy4:"=C(V.hR,V.y1,A(V.wd32,V.hR,0))",cx5:"=C(V.wd32,P(V.cx4,V.wd32,A(V.wd32,V.hR,(V.cd4)),true),A(V.wd32,V.hR,V._3cd4),true)",cy5:"=C(V.hR,P(V.cy4,V.hR,A(V.wd32,V.hR,(V.cd4))),A(V.wd32,V.hR,V._3cd4))",cx6:"=C(V.wd32,V.hc,A(V.wd32,V.hR,V._3cd4),true)",cy6:"=C(V.hR,V.ly1,A(V.wd32,V.hR,V._3cd4))",cx7:"=C(V.wd32,P(V.cx6,V.wd32,A(V.wd32,V.hR,(V._3cd4 + V.cd2)),true),A(V.wd32,V.hR,V._3cd4),true)",cy7:"=C(V.hR,P(V.cy6,V.hR,A(V.wd32,V.hR,(V._3cd4 + V.cd2))),A(V.wd32,V.hR,V._3cd4))",cx8:"=C(V.wd32,V.hc,A(V.wd32,V.hR,V.cd4),true)",cy8:"=C(V.hR,V.ry4,A(V.wd32,V.hR,V.cd4))"},adjustInfo:[["adj1",5e4],["adj2",5e4],["adj3",16667]],connectionPoints:[{x:V,y:"=V.ry3"},{x:"=V.x4",y:n},{x:c,y:"=V.ly4"},{x:0,y:"=V.ly2"},{x:c,y:0},{x:"=V.x4",y:"=V.ry1"}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:"maxAdj1",position:{x:"x4",y:"ry2"},point:["=V.x4","=V.ry2"]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:"maxAdj2",position:{x:"x1",y:"t"},point:[c,0]},{type:"ahXY",gdRefY:"adj3",minY:0,maxY:33333,position:{x:"x3",y:"ry2"},point:["=V.x3","=V.ry2"]}],path:[[["M",0,"=V.ly2"],["L",c,0],["L",c,"=V.ly1"],["L",e,"=V.ly1"],["E","=V.cx1","=V.cy1","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["E","=V.cx2","=V.cy2","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L","=V.x4","=V.ry2"],["L","=V.x4","=V.ry1"],["L",V,"=V.ry3"],["L","=V.x4",n],["L","=V.x4","=V.ry4"],["L",e,"=V.ry4"],["E","=V.cx3","=V.cy3","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd4)","=A(V.wd32,V.hR,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",s,"=V.ly3"],["L",c,"=V.ly3"],["L",c,"=V.ly4"],["Z"],{strokeMode:"false"}],[["M","=V.x3",o],["E","=V.cx4","=V.cy4","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,0)","=A(V.wd32,V.hR,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx5","=V.cy5","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L","=V.x3","=V.ry2"],["Z"],{fillMode:"darkenLess",strokeMode:"false"}],[["M",0,"=V.ly2"],["L",c,0],["L",c,"=V.ly1"],["L",e,"=V.ly1"],["E","=V.cx6","=V.cy6","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + V.cd2))","=IF(V.cd2 > 0, FALSE, TRUE)"],["E","=V.cx7","=V.cy7","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V._3cd4)","=A(V.wd32,V.hR,(V._3cd4 + -10800000))","=IF(-10800000 > 0, FALSE, TRUE)"],["L","=V.x4","=V.ry2"],["L","=V.x4","=V.ry1"],["L",V,"=V.ry3"],["L","=V.x4",n],["L","=V.x4","=V.ry4"],["L",e,"=V.ry4"],["E","=V.cx8","=V.cy8","=V.wd32","=V.hR",0,"=A(V.wd32,V.hR,V.cd4)","=A(V.wd32,V.hR,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",s,"=V.ly3"],["L",c,"=V.ly3"],["L",c,"=V.ly4"],["Z"],["M","=V.x3",o],["L","=V.x3","=V.ry2"],["M",s,d],["L",s,"=V.ly3"],{fillMode:"none"}]],textRect:{left:c,top:"=V.ly1",right:"=V.x4",bottom:"=V.ry4"}},diagonalStripe:{variables:{adj:5e4,a:"=MIN(MAX(0, V.adj), 100000)",x2:"=width * V.a / 100000",x1:"=V.x2 / 2",r:V,x3:"=(V.x2 + V.r) / 2",y2:"=height * V.a / 100000",y1:"=V.y2 / 2",b:n,y3:"=(V.y2 + V.b) / 2",hc:y,vc:f,l:0,t:0},adjustInfo:[["adj",5e4]],connectionPoints:[{x:e,y:r},{x:0,y:"=V.y3"},{x:c,y:o},{x:"=V.x3",y:0}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:1e5,position:{x:"l",y:"y2"},point:[0,d]}],path:[[["M",0,d],["L",s,0],["L",V,0],["L",0,n],["Z"],{}]],textRect:{left:0,top:0,right:"=V.x3",bottom:"=V.y3"}},pie:{variables:{adj1:0,adj2:x,stAng:"=MIN(MAX(0, V.adj1), 21599999)",enAng:"=MIN(MAX(0, V.adj2), 21599999)",sw1:"=V.enAng - V.stAng",sw2:"=V.sw1 + 21600000",swAng:"=IF(V.sw1 > 0, V.sw1, V.sw2)",wd2:y,d2r:a,wt1:"=V.wd2 * SIN(V.stAng / V.d2r)",hd2:f,ht1:"=V.hd2 * COS(V.stAng / V.d2r)",dx1:"=V.wd2 * COS(ATAN2(V.ht1,V.wt1))",dy1:"=V.hd2 * SIN(ATAN2(V.ht1,V.wt1))",hc:y,x1:"=V.hc + V.dx1",vc:f,y1:"=V.vc + V.dy1",wt2:"=V.wd2 * SIN(V.enAng / V.d2r)",ht2:"=V.hd2 * COS(V.enAng / V.d2r)",dx2:"=V.wd2 * COS(ATAN2(V.ht2,V.wt2))",dy2:"=V.hd2 * SIN(ATAN2(V.ht2,V.wt2))",x2:"=V.hc + V.dx2",y2:"=V.vc + V.dy2",idx:"=V.wd2 * COS(2700000 / V.d2r)",idy:"=V.hd2 * SIN(2700000 / V.d2r)",il:"=V.hc - V.idx",ir:"=V.hc + V.idx",it:"=V.vc - V.idy",ib:"=V.vc + V.idy",r:V,b:n,l:0,t:0,cx1:"=C(V.wd2,V.x1,A(V.wd2,V.hd2,V.stAng),true)",cy1:"=C(V.hd2,V.y1,A(V.wd2,V.hd2,V.stAng))"},adjustInfo:[["adj1",0],["adj2",162e5]],connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],controlsInfo:[{type:"ahPolar",gdRefAng:"adj1",minAng:0,maxAng:21599999,position:{x:"x1",y:"y1"},point:[c,o]},{type:"ahPolar",gdRefAng:"adj2",minAng:0,maxAng:21599999,position:{x:"x2",y:"y2"},point:[s,d]}],path:[[["M",c,o],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.stAng)","=A(V.wd2,V.hd2,(V.stAng + V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["L",e,r],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},nonIsoscelesTrapezoid:{variables:{adj1:25e3,adj2:25e3,ss:i,maxAdj:"=50000 * width / V.ss",a1:"=MIN(MAX(0, V.adj1), V.maxAdj)",a2:"=MIN(MAX(0, V.adj2), V.maxAdj)",x1:"=V.ss * V.a1 / 200000",x2:"=V.ss * V.a1 / 100000",dx3:"=V.ss * V.a2 / 100000",r:V,x3:"=width - V.dx3",x4:"=(width + V.x3) / 2",wd3:"=width/3",il:"=V.wd3 * V.a1 / V.maxAdj",adjm:"=MAX(V.a1, V.a2)",hd3:"=height/3",it:"=V.hd3 * V.adjm / V.maxAdj",irt:"=V.wd3 * V.a2 / V.maxAdj",ir:"=width - V.irt",vc:f,hc:y,b:n,t:0,l:0},adjustInfo:[["adj1",25e3],["adj2",25e3]],connectionPoints:[{x:"=V.x4",y:r},{x:e,y:n},{x:c,y:r},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:"maxAdj",position:{x:"x2",y:"t"},point:[s,0]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:"maxAdj",position:{x:"x3",y:"t"},point:["=V.x3",0]}],path:[[["M",0,n],["L",s,0],["L","=V.x3",0],["L",V,n],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:n}},decagon:{variables:{vf:105146,hd2:f,shd2:"=V.hd2 * V.vf / 100000",wd2:y,d2r:a,dx1:"=V.wd2 * COS(2160000 / V.d2r)",dx2:"=V.wd2 * COS(4320000 / V.d2r)",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc - V.dx2",x3:"=V.hc + V.dx2",x4:"=V.hc + V.dx1",dy1:"=V.shd2 * SIN(4320000 / V.d2r)",dy2:"=V.shd2 * SIN(2160000 / V.d2r)",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc - V.dy2",y3:"=V.vc + V.dy2",y4:"=V.vc + V.dy1",r:V,l:0},adjustInfo:[["vf",105146]],connectionPoints:[{x:"=V.x4",y:d},{x:V,y:r},{x:"=V.x4",y:"=V.y3"},{x:"=V.x3",y:"=V.y4"},{x:s,y:"=V.y4"},{x:c,y:"=V.y3"},{x:0,y:r},{x:c,y:d},{x:s,y:o},{x:"=V.x3",y:o}],path:[[["M",0,r],["L",c,d],["L",s,o],["L","=V.x3",o],["L","=V.x4",d],["L",V,r],["L","=V.x4","=V.y3"],["L","=V.x3","=V.y4"],["L",s,"=V.y4"],["L",c,"=V.y3"],["Z"],{}]],textRect:{left:c,top:d,right:"=V.x4",bottom:"=V.y3"}},heptagon:{variables:{hf:102572,vf:105210,wd2:y,swd2:"=V.wd2 * V.hf / 100000",hd2:f,shd2:"=V.hd2 * V.vf / 100000",vc:f,svc:"=V.vc * V.vf / 100000",dx1:"=V.swd2 * 97493 / 100000",dx2:"=V.swd2 * 78183 / 100000",dx3:"=V.swd2 * 43388 / 100000",dy1:"=V.shd2 * 62349 / 100000",dy2:"=V.shd2 * 22252 / 100000",dy3:"=V.shd2 * 90097 / 100000",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc - V.dx2",x3:"=V.hc - V.dx3",x4:"=V.hc + V.dx3",x5:"=V.hc + V.dx2",x6:"=V.hc + V.dx1",y1:"=V.svc - V.dy1",y2:"=V.svc + V.dy2",y3:"=V.svc + V.dy3",b:n,ib:"=height - V.y1",t:0},adjustInfo:[["hf",102572],["vf",105210]],connectionPoints:[{x:"=V.x5",y:o},{x:"=V.x6",y:d},{x:"=V.x4",y:"=V.y3"},{x:"=V.x3",y:"=V.y3"},{x:c,y:d},{x:s,y:o},{x:e,y:0}],path:[[["M",c,d],["L",s,o],["L",e,0],["L","=V.x5",o],["L","=V.x6",d],["L","=V.x4","=V.y3"],["L","=V.x3","=V.y3"],["Z"],{}]],textRect:{left:s,top:o,right:"=V.x5",bottom:"=V.ib"}},dodecagon:{variables:{x1:"=width * 2894 / 21600",x2:"=width * 7906 / 21600",x3:"=width * 13694 / 21600",x4:"=width * 18706 / 21600",y1:"=height * 2894 / 21600",y2:"=height * 7906 / 21600",y3:"=height * 13694 / 21600",y4:"=height * 18706 / 21600",r:V,b:n,l:0,t:0},connectionPoints:[{x:"=V.x4",y:o},{x:V,y:d},{x:V,y:"=V.y3"},{x:"=V.x4",y:"=V.y4"},{x:"=V.x3",y:n},{x:s,y:n},{x:c,y:"=V.y4"},{x:0,y:"=V.y3"},{x:0,y:d},{x:c,y:o},{x:s,y:0},{x:"=V.x3",y:0}],path:[[["M",0,d],["L",c,o],["L",s,0],["L","=V.x3",0],["L","=V.x4",o],["L",V,d],["L",V,"=V.y3"],["L","=V.x4","=V.y4"],["L","=V.x3",n],["L",s,n],["L",c,"=V.y4"],["L",0,"=V.y3"],["Z"],{}]],textRect:{left:c,top:o,right:"=V.x4",bottom:"=V.y4"}},star6Point:{variables:{adj:28868,hf:115470,a:"=MIN(MAX(0, V.adj), 50000)",wd2:y,swd2:"=V.wd2 * V.hf / 100000",d2r:a,dx1:"=V.swd2 * COS(1800000 / V.d2r)",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc + V.dx1",vc:f,hd4:"=height/4",y2:"=V.vc + V.hd4",iwd2:"=V.swd2 * V.a / 50000",hd2:f,ihd2:"=V.hd2 * V.a / 50000",sdx2:"=V.iwd2 / 2",sx1:"=V.hc - V.iwd2",sx2:"=V.hc - V.sdx2",sx3:"=V.hc + V.sdx2",sx4:"=V.hc + V.iwd2",sdy1:"=V.ihd2 * SIN(3600000 / V.d2r)",sy1:"=V.vc - V.sdy1",sy2:"=V.vc + V.sdy1",yAdj:"=V.vc - V.ihd2",b:n,t:0},adjustInfo:[["adj",28868],["hf",115470]],connectionPoints:[{x:s,y:"=V.hd4"},{x:s,y:d},{x:e,y:n},{x:c,y:d},{x:c,y:"=V.hd4"},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"hc",y:"yAdj"},point:[e,"=V.yAdj"]}],path:[[["M",c,"=V.hd4"],["L","=V.sx2","=V.sy1"],["L",e,0],["L","=V.sx3","=V.sy1"],["L",s,"=V.hd4"],["L","=V.sx4",r],["L",s,d],["L","=V.sx3","=V.sy2"],["L",e,n],["L","=V.sx2","=V.sy2"],["L",c,d],["L","=V.sx1",r],["Z"],{}]],textRect:{left:"=V.sx1",top:"=V.sy1",right:"=V.sx4",bottom:"=V.sy2"}},star7Point:{variables:{adj:34601,hf:102572,vf:105210,a:"=MIN(MAX(0, V.adj), 50000)",wd2:y,swd2:"=V.wd2 * V.hf / 100000",hd2:f,shd2:"=V.hd2 * V.vf / 100000",vc:f,svc:"=V.vc * V.vf / 100000",dx1:"=V.swd2 * 97493 / 100000",dx2:"=V.swd2 * 78183 / 100000",dx3:"=V.swd2 * 43388 / 100000",dy1:"=V.shd2 * 62349 / 100000",dy2:"=V.shd2 * 22252 / 100000",dy3:"=V.shd2 * 90097 / 100000",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc - V.dx2",x3:"=V.hc - V.dx3",x4:"=V.hc + V.dx3",x5:"=V.hc + V.dx2",x6:"=V.hc + V.dx1",y1:"=V.svc - V.dy1",y2:"=V.svc + V.dy2",y3:"=V.svc + V.dy3",iwd2:"=V.swd2 * V.a / 50000",ihd2:"=V.shd2 * V.a / 50000",sdx1:"=V.iwd2 * 97493 / 100000",sdx2:"=V.iwd2 * 78183 / 100000",sdx3:"=V.iwd2 * 43388 / 100000",sx1:"=V.hc - V.sdx1",sx2:"=V.hc - V.sdx2",sx3:"=V.hc - V.sdx3",sx4:"=V.hc + V.sdx3",sx5:"=V.hc + V.sdx2",sx6:"=V.hc + V.sdx1",sdy1:"=V.ihd2 * 90097 / 100000",sdy2:"=V.ihd2 * 22252 / 100000",sdy3:"=V.ihd2 * 62349 / 100000",sy1:"=V.svc - V.sdy1",sy2:"=V.svc - V.sdy2",sy3:"=V.svc + V.sdy3",sy4:"=V.svc + V.ihd2",yAdj:"=V.svc - V.ihd2",t:0},adjustInfo:[["adj",34601],["hf",102572],["vf",105210]],connectionPoints:[{x:"=V.x5",y:o},{x:"=V.x6",y:d},{x:"=V.x4",y:"=V.y3"},{x:"=V.x3",y:"=V.y3"},{x:c,y:d},{x:s,y:o},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"hc",y:"yAdj"},point:[e,"=V.yAdj"]}],path:[[["M",c,d],["L","=V.sx1","=V.sy2"],["L",s,o],["L","=V.sx3","=V.sy1"],["L",e,0],["L","=V.sx4","=V.sy1"],["L","=V.x5",o],["L","=V.sx6","=V.sy2"],["L","=V.x6",d],["L","=V.sx5","=V.sy3"],["L","=V.x4","=V.y3"],["L",e,"=V.sy4"],["L","=V.x3","=V.y3"],["L","=V.sx2","=V.sy3"],["Z"],{}]],textRect:{left:"=V.sx2",top:"=V.sy1",right:"=V.sx5",bottom:"=V.sy3"}},star10Point:{variables:{adj:42533,hf:105146,a:"=MIN(MAX(0, V.adj), 50000)",wd2:y,swd2:"=V.wd2 * V.hf / 100000",dx1:"=V.swd2 * 95106 / 100000",dx2:"=V.swd2 * 58779 / 100000",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc - V.dx2",x3:"=V.hc + V.dx2",x4:"=V.hc + V.dx1",hd2:f,dy1:"=V.hd2 * 80902 / 100000",dy2:"=V.hd2 * 30902 / 100000",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc - V.dy2",y3:"=V.vc + V.dy2",y4:"=V.vc + V.dy1",iwd2:"=V.swd2 * V.a / 50000",ihd2:"=V.hd2 * V.a / 50000",sdx1:"=V.iwd2 * 80902 / 100000",sdx2:"=V.iwd2 * 30902 / 100000",sdy1:"=V.ihd2 * 95106 / 100000",sdy2:"=V.ihd2 * 58779 / 100000",sx1:"=V.hc - V.iwd2",sx2:"=V.hc - V.sdx1",sx3:"=V.hc - V.sdx2",sx4:"=V.hc + V.sdx2",sx5:"=V.hc + V.sdx1",sx6:"=V.hc + V.iwd2",sy1:"=V.vc - V.sdy1",sy2:"=V.vc - V.sdy2",sy3:"=V.vc + V.sdy2",sy4:"=V.vc + V.sdy1",yAdj:"=V.vc - V.ihd2",b:n,t:0},adjustInfo:[["adj",42533],["hf",105146]],connectionPoints:[{x:"=V.x4",y:d},{x:"=V.x4",y:"=V.y3"},{x:"=V.x3",y:"=V.y4"},{x:e,y:n},{x:s,y:"=V.y4"},{x:c,y:"=V.y3"},{x:c,y:d},{x:s,y:o},{x:e,y:0},{x:"=V.x3",y:o}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"hc",y:"yAdj"},point:[e,"=V.yAdj"]}],path:[[["M",c,d],["L","=V.sx2","=V.sy2"],["L",s,o],["L","=V.sx3","=V.sy1"],["L",e,0],["L","=V.sx4","=V.sy1"],["L","=V.x3",o],["L","=V.sx5","=V.sy2"],["L","=V.x4",d],["L","=V.sx6",r],["L","=V.x4","=V.y3"],["L","=V.sx5","=V.sy3"],["L","=V.x3","=V.y4"],["L","=V.sx4","=V.sy4"],["L",e,n],["L","=V.sx3","=V.sy4"],["L",s,"=V.y4"],["L","=V.sx2","=V.sy3"],["L",c,"=V.y3"],["L","=V.sx1",r],["Z"],{}]],textRect:{left:"=V.sx2",top:"=V.sy2",right:"=V.sx5",bottom:"=V.sy3"}},star12Point:{variables:{adj:37500,a:"=MIN(MAX(0, V.adj), 50000)",wd2:y,d2r:a,dx1:"=V.wd2 * COS(1800000 / V.d2r)",hd2:f,dy1:"=V.hd2 * SIN(3600000 / V.d2r)",hc:y,x1:"=V.hc - V.dx1",x3:"=width * 3 / 4",x4:"=V.hc + V.dx1",vc:f,y1:"=V.vc - V.dy1",y3:"=height * 3 / 4",y4:"=V.vc + V.dy1",iwd2:"=V.wd2 * V.a / 50000",ihd2:"=V.hd2 * V.a / 50000",sdx1:"=V.iwd2 * COS(900000 / V.d2r)",sdx2:"=V.iwd2 * COS(2700000 / V.d2r)",sdx3:"=V.iwd2 * COS(4500000 / V.d2r)",sdy1:"=V.ihd2 * SIN(4500000 / V.d2r)",sdy2:"=V.ihd2 * SIN(2700000 / V.d2r)",sdy3:"=V.ihd2 * SIN(900000 / V.d2r)",sx1:"=V.hc - V.sdx1",sx2:"=V.hc - V.sdx2",sx3:"=V.hc - V.sdx3",sx4:"=V.hc + V.sdx3",sx5:"=V.hc + V.sdx2",sx6:"=V.hc + V.sdx1",sy1:"=V.vc - V.sdy1",sy2:"=V.vc - V.sdy2",sy3:"=V.vc - V.sdy3",sy4:"=V.vc + V.sdy3",sy5:"=V.vc + V.sdy2",sy6:"=V.vc + V.sdy1",yAdj:"=V.vc - V.ihd2",hd4:"=height/4",r:V,b:n,wd4:"=width/4",l:0,t:0},adjustInfo:[["adj",37500]],connectionPoints:[{x:"=V.x4",y:"=V.hd4"},{x:V,y:r},{x:"=V.x4",y:"=V.y3"},{x:"=V.x3",y:"=V.y4"},{x:e,y:n},{x:"=V.wd4",y:"=V.y4"},{x:c,y:"=V.y3"},{x:0,y:r},{x:c,y:"=V.hd4"},{x:"=V.wd4",y:o},{x:e,y:0},{x:"=V.x3",y:o}],controlsInfo:[{type:"ahXY",gdRefY:"adj",minY:0,maxY:5e4,position:{x:"hc",y:"yAdj"},point:[e,"=V.yAdj"]}],path:[[["M",0,r],["L","=V.sx1","=V.sy3"],["L",c,"=V.hd4"],["L","=V.sx2","=V.sy2"],["L","=V.wd4",o],["L","=V.sx3","=V.sy1"],["L",e,0],["L","=V.sx4","=V.sy1"],["L","=V.x3",o],["L","=V.sx5","=V.sy2"],["L","=V.x4","=V.hd4"],["L","=V.sx6","=V.sy3"],["L",V,r],["L","=V.sx6","=V.sy4"],["L","=V.x4","=V.y3"],["L","=V.sx5","=V.sy5"],["L","=V.x3","=V.y4"],["L","=V.sx4","=V.sy6"],["L",e,n],["L","=V.sx3","=V.sy6"],["L","=V.wd4","=V.y4"],["L","=V.sx2","=V.sy5"],["L",c,"=V.y3"],["L","=V.sx1","=V.sy4"],["Z"],{}]],textRect:{left:"=V.sx2",top:"=V.sy2",right:"=V.sx5",bottom:"=V.sy5"}},round1Rectangle:{variables:{adj:16667,a:"=MIN(MAX(0, V.adj), 50000)",ss:i,dx1:"=V.ss * V.a / 100000",r:V,x1:"=width - V.dx1",idx:"=V.dx1 * 29289 / 100000",ir:"=width - V.idx",hc:y,t:0,l:0,vc:f,b:n,_3cd4:x,cd4:u,cx1:"=C(V.dx1,V.x1,A(V.dx1,V.dx1,V._3cd4),true)",cy1:"=C(V.dx1,V.t,A(V.dx1,V.dx1,V._3cd4))"},adjustInfo:[["adj",16667]],connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[c,0]}],path:[[["M",0,0],["L",c,0],["E","=V.cx1","=V.cy1","=V.dx1","=V.dx1",0,"=A(V.dx1,V.dx1,V._3cd4)","=A(V.dx1,V.dx1,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",V,n],["L",0,n],["Z"],{}]],textRect:{left:0,top:0,right:"=V.ir",bottom:n}},round2SameRectangle:{variables:{adj1:16667,adj2:0,a1:"=MIN(MAX(0, V.adj1), 50000)",a2:"=MIN(MAX(0, V.adj2), 50000)",ss:i,tx1:"=V.ss * V.a1 / 100000",r:V,tx2:"=width - V.tx1",bx1:"=V.ss * V.a2 / 100000",bx2:"=width - V.bx1",b:n,by1:"=height - V.bx1",d:"=V.tx1 - V.bx1",tdx:"=V.tx1 * 29289 / 100000",bdx:"=V.bx1 * 29289 / 100000",il:"=IF(V.d > 0, V.tdx, V.bdx)",ir:"=width - V.il",ib:"=height - V.bdx",vc:f,hc:y,l:0,t:0,_3cd4:x,cd4:u,cx1:"=C(V.tx1,V.tx2,A(V.tx1,V.tx1,V._3cd4),true)",cy1:"=C(V.tx1,V.t,A(V.tx1,V.tx1,V._3cd4))",cx2:"=C(V.bx1,V.r,A(V.bx1,V.bx1,0),true)",cy2:"=C(V.bx1,V.by1,A(V.bx1,V.bx1,0))",cx3:"=C(V.bx1,V.bx1,A(V.bx1,V.bx1,V.cd4),true)",cy3:"=C(V.bx1,V.b,A(V.bx1,V.bx1,V.cd4))",cd2:h,cx4:"=C(V.tx1,V.l,A(V.tx1,V.tx1,V.cd2),true)",cy4:"=C(V.tx1,V.tx1,A(V.tx1,V.tx1,V.cd2))"},adjustInfo:[["adj1",16667],["adj2",0]],connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:5e4,position:{x:"tx2",y:"t"},point:["=V.tx2",0]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:5e4,position:{x:"bx1",y:"b"},point:["=V.bx1",n]}],path:[[["M","=V.tx1",0],["L","=V.tx2",0],["E","=V.cx1","=V.cy1","=V.tx1","=V.tx1",0,"=A(V.tx1,V.tx1,V._3cd4)","=A(V.tx1,V.tx1,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",V,"=V.by1"],["E","=V.cx2","=V.cy2","=V.bx1","=V.bx1",0,"=A(V.bx1,V.bx1,0)","=A(V.bx1,V.bx1,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.bx1",n],["E","=V.cx3","=V.cy3","=V.bx1","=V.bx1",0,"=A(V.bx1,V.bx1,V.cd4)","=A(V.bx1,V.bx1,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",0,"=V.tx1"],["E","=V.cx4","=V.cy4","=V.tx1","=V.tx1",0,"=A(V.tx1,V.tx1,V.cd2)","=A(V.tx1,V.tx1,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.tdx",right:"=V.ir",bottom:"=V.ib"}},round2DiagRectangle:{variables:{adj1:16667,adj2:0,a1:"=MIN(MAX(0, V.adj1), 50000)",a2:"=MIN(MAX(0, V.adj2), 50000)",ss:i,x1:"=V.ss * V.a1 / 100000",b:n,y1:"=height - V.x1",a:"=V.ss * V.a2 / 100000",r:V,x2:"=width - V.a",y2:"=height - V.a",dx1:"=V.x1 * 29289 / 100000",dx2:"=V.a * 29289 / 100000",d:"=V.dx1 - V.dx2",dx:"=IF(V.d > 0, V.dx1, V.dx2)",ir:"=width - V.dx",ib:"=height - V.dx",vc:f,hc:y,l:0,t:0,_3cd4:x,cd4:u,cx1:"=C(V.a,V.x2,A(V.a,V.a,V._3cd4),true)",cy1:"=C(V.a,V.t,A(V.a,V.a,V._3cd4))",cx2:"=C(V.x1,V.r,A(V.x1,V.x1,0),true)",cy2:"=C(V.x1,V.y1,A(V.x1,V.x1,0))",cx3:"=C(V.a,V.a,A(V.a,V.a,V.cd4),true)",cy3:"=C(V.a,V.b,A(V.a,V.a,V.cd4))",cd2:h,cx4:"=C(V.x1,V.l,A(V.x1,V.x1,V.cd2),true)",cy4:"=C(V.x1,V.x1,A(V.x1,V.x1,V.cd2))"},adjustInfo:[["adj1",16667],["adj2",0]],connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[c,0]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:5e4,position:{x:"x2",y:"t"},point:[s,0]}],path:[[["M",c,0],["L",s,0],["E","=V.cx1","=V.cy1","=V.a","=V.a",0,"=A(V.a,V.a,V._3cd4)","=A(V.a,V.a,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",V,o],["E","=V.cx2","=V.cy2",c,c,0,"=A(V.x1,V.x1,0)","=A(V.x1,V.x1,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L","=V.a",n],["E","=V.cx3","=V.cy3","=V.a","=V.a",0,"=A(V.a,V.a,V.cd4)","=A(V.a,V.a,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",0,c],["E","=V.cx4","=V.cy4",c,c,0,"=A(V.x1,V.x1,V.cd2)","=A(V.x1,V.x1,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.dx",top:"=V.dx",right:"=V.ir",bottom:"=V.ib"}},snipRoundRectangle:{variables:{adj1:16667,adj2:16667,a1:"=MIN(MAX(0, V.adj1), 50000)",a2:"=MIN(MAX(0, V.adj2), 50000)",ss:i,x1:"=V.ss * V.a1 / 100000",dx2:"=V.ss * V.a2 / 100000",r:V,x2:"=width - V.dx2",il:"=V.x1 * 29289 / 100000",ir:"=(V.x2 + V.r) / 2",vc:f,hc:y,b:n,l:0,t:0,cd2:h,cd4:u,cx1:"=C(V.x1,V.l,A(V.x1,V.x1,V.cd2),true)",cy1:"=C(V.x1,V.x1,A(V.x1,V.x1,V.cd2))"},adjustInfo:[["adj1",16667],["adj2",16667]],connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[c,0]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:5e4,position:{x:"x2",y:"t"},point:[s,0]}],path:[[["M",c,0],["L",s,0],["L",V,"=V.dx2"],["L",V,n],["L",0,n],["L",0,c],["E","=V.cx1","=V.cy1",c,c,0,"=A(V.x1,V.x1,V.cd2)","=A(V.x1,V.x1,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.il",right:"=V.ir",bottom:n}},snip1Rectangle:{variables:{adj:16667,a:"=MIN(MAX(0, V.adj), 50000)",ss:i,dx1:"=V.ss * V.a / 100000",r:V,x1:"=width - V.dx1",it:"=V.dx1 / 2",ir:"=(V.x1 + V.r) / 2",vc:f,hc:y,b:n,l:0,t:0},adjustInfo:[["adj",16667]],connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[c,0]}],path:[[["M",0,0],["L",c,0],["L",V,"=V.dx1"],["L",V,n],["L",0,n],["Z"],{}]],textRect:{left:0,top:"=V.it",right:"=V.ir",bottom:n}},snip2SameRectangle:{variables:{adj1:16667,adj2:0,a1:"=MIN(MAX(0, V.adj1), 50000)",a2:"=MIN(MAX(0, V.adj2), 50000)",ss:i,tx1:"=V.ss * V.a1 / 100000",r:V,tx2:"=width - V.tx1",bx1:"=V.ss * V.a2 / 100000",bx2:"=width - V.bx1",b:n,by1:"=height - V.bx1",d:"=V.tx1 - V.bx1",dx:"=IF(V.d > 0, V.tx1, V.bx1)",il:"=V.dx / 2",ir:"=width - V.il",it:"=V.tx1 / 2",ib:"=(V.by1 + V.b) / 2",vc:f,hc:y,l:0,t:0},adjustInfo:[["adj1",16667],["adj2",0]],connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:5e4,position:{x:"tx2",y:"t"},point:["=V.tx2",0]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:5e4,position:{x:"bx1",y:"b"},point:["=V.bx1",n]}],path:[[["M","=V.tx1",0],["L","=V.tx2",0],["L",V,"=V.tx1"],["L",V,"=V.by1"],["L","=V.bx2",n],["L","=V.bx1",n],["L",0,"=V.by1"],["L",0,"=V.tx1"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},snip2DiagRectangle:{variables:{adj1:0,adj2:16667,a1:"=MIN(MAX(0, V.adj1), 50000)",a2:"=MIN(MAX(0, V.adj2), 50000)",ss:i,lx1:"=V.ss * V.a1 / 100000",r:V,lx2:"=width - V.lx1",b:n,ly1:"=height - V.lx1",rx1:"=V.ss * V.a2 / 100000",rx2:"=width - V.rx1",ry1:"=height - V.rx1",d:"=V.lx1 - V.rx1",dx:"=IF(V.d > 0, V.lx1, V.rx1)",il:"=V.dx / 2",ir:"=width - V.il",ib:"=height - V.il",vc:f,hc:y,l:0,t:0},adjustInfo:[["adj1",0],["adj2",16667]],connectionPoints:[{x:V,y:r},{x:e,y:n},{x:0,y:r},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:5e4,position:{x:"lx1",y:"t"},point:["=V.lx1",0]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:5e4,position:{x:"rx2",y:"t"},point:["=V.rx2",0]}],path:[[["M","=V.lx1",0],["L","=V.rx2",0],["L",V,"=V.rx1"],["L",V,"=V.ly1"],["L","=V.lx2",n],["L","=V.rx1",n],["L",0,"=V.ry1"],["L",0,"=V.lx1"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.il",right:"=V.ir",bottom:"=V.ib"}},frame:{variables:{adj1:12500,a1:"=MIN(MAX(0, V.adj1), 50000)",ss:i,x1:"=V.ss * V.a1 / 100000",r:V,x4:"=width - V.x1",b:n,y4:"=height - V.x1",hc:y,t:0,l:0,vc:f},adjustInfo:[["adj1",12500]],connectionPoints:[{x:e,y:0},{x:0,y:r},{x:e,y:n},{x:V,y:r}],controlsInfo:[{type:"ahXY",gdRefX:"adj1",minX:0,maxX:5e4,position:{x:"x1",y:"t"},point:[c,0]}],path:[[["M",0,0],["L",V,0],["L",V,n],["L",0,n],["Z"],["M",c,c],["L",c,"=V.y4"],["L","=V.x4","=V.y4"],["L","=V.x4",c],["Z"],{}]],textRect:{left:c,top:c,right:"=V.x4",bottom:"=V.y4"}},halfFrame:{variables:{adj1:33333,adj2:33333,ss:i,maxAdj2:"=100000 * width / V.ss",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",x1:"=V.ss * V.a2 / 100000",g1:"=height * V.x1 / width",g2:"=height - V.g1",maxAdj1:"=100000 * V.g2 / V.ss",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",y1:"=V.ss * V.a1 / 100000",dx2:"=V.y1 * width / height",r:V,x2:"=width - V.dx2",dy2:"=V.x1 * height / width",b:n,y2:"=height - V.dy2",cx1:"=V.x1 / 2",cy1:"=(V.y2 + V.b) / 2",cx2:"=(V.x2 + V.r) / 2",cy2:"=V.y1 / 2",l:0,vc:f,hc:y,t:0},adjustInfo:[["adj1",33333],["adj2",33333]],connectionPoints:[{x:"=V.cx2",y:"=V.cy2"},{x:"=V.cx1",y:"=V.cy1"},{x:0,y:r},{x:e,y:0}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:"maxAdj1",position:{x:"l",y:"y1"},point:[0,o]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:"maxAdj2",position:{x:"x1",y:"t"},point:[c,0]}],path:[[["M",0,0],["L",V,0],["L",s,o],["L",c,o],["L",c,d],["L",0,n],["Z"],{}]]},tear:{variables:{adj:1e5,a:"=MIN(MAX(0, V.adj), 200000)",r2:"=SQRT(2)",wd2:y,tw:"=V.wd2 * V.r2",hd2:f,th:"=V.hd2 * V.r2",sw:"=V.tw * V.a / 100000",sh:"=V.th * V.a / 100000",d2r:a,dx1:"=V.sw * COS(2700000 / V.d2r)",dy1:"=V.sh * SIN(2700000 / V.d2r)",hc:y,x1:"=V.hc + V.dx1",vc:f,y1:"=V.vc - V.dy1",x2:"=(V.hc + V.x1) / 2",y2:"=(V.vc + V.y1) / 2",idx:"=V.wd2 * COS(2700000 / V.d2r)",idy:"=V.hd2 * SIN(2700000 / V.d2r)",il:"=V.hc - V.idx",ir:"=V.hc + V.idx",it:"=V.vc - V.idy",ib:"=V.vc + V.idy",r:V,b:n,l:0,t:0,cd2:h,cd4:u,cx1:"=C(V.wd2,V.l,A(V.wd2,V.hd2,V.cd2),true)",cy1:"=C(V.hd2,V.vc,A(V.wd2,V.hd2,V.cd2))",cx2:"=C(V.wd2,V.r,A(V.wd2,V.hd2,0),true)",cy2:"=C(V.hd2,V.vc,A(V.wd2,V.hd2,0))",cx3:"=C(V.wd2,P(V.cx2,V.wd2,A(V.wd2,V.hd2,(V.cd4)),true),A(V.wd2,V.hd2,V.cd4),true)",cy3:"=C(V.hd2,P(V.cy2,V.hd2,A(V.wd2,V.hd2,(V.cd4))),A(V.wd2,V.hd2,V.cd4))"},adjustInfo:[["adj",1e5]],connectionPoints:[{x:V,y:r},{x:"=V.ir",y:"=V.ib"},{x:e,y:n},{x:"=V.il",y:"=V.ib"},{x:0,y:r},{x:"=V.il",y:"=V.it"},{x:e,y:0},{x:c,y:o}],controlsInfo:[{type:"ahXY",gdRefX:"adj",minX:0,maxX:2e5,position:{x:"x1",y:"t"},point:[c,0]}],path:[[["M",0,r],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd2)","=A(V.wd2,V.hd2,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Q",s,0,c,o],["Q",V,d,V,r],["E","=V.cx2","=V.cy2","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,0)","=A(V.wd2,V.hd2,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["E","=V.cx3","=V.cy3","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.cd4)","=A(V.wd2,V.hd2,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},chord:{variables:{adj1:27e5,adj2:x,stAng:"=MIN(MAX(0, V.adj1), 21599999)",enAng:"=MIN(MAX(0, V.adj2), 21599999)",sw1:"=V.enAng - V.stAng",sw2:"=V.sw1 + 21600000",swAng:"=IF(V.sw1 > 0, V.sw1, V.sw2)",wd2:y,d2r:a,wt1:"=V.wd2 * SIN(V.stAng / V.d2r)",hd2:f,ht1:"=V.hd2 * COS(V.stAng / V.d2r)",dx1:"=V.wd2 * COS(ATAN2(V.ht1,V.wt1))",dy1:"=V.hd2 * SIN(ATAN2(V.ht1,V.wt1))",wt2:"=V.wd2 * SIN(V.enAng / V.d2r)",ht2:"=V.hd2 * COS(V.enAng / V.d2r)",dx2:"=V.wd2 * COS(ATAN2(V.ht2,V.wt2))",dy2:"=V.hd2 * SIN(ATAN2(V.ht2,V.wt2))",hc:y,x1:"=V.hc + V.dx1",vc:f,y1:"=V.vc + V.dy1",x2:"=V.hc + V.dx2",y2:"=V.vc + V.dy2",x3:"=(V.x1 + V.x2) / 2",y3:"=(V.y1 + V.y2) / 2",midAng0:"=V.swAng / 2",cd2:h,midAng:"=V.stAng + V.midAng0 - V.cd2",idx:"=V.wd2 * COS(2700000 / V.d2r)",idy:"=V.hd2 * SIN(2700000 / V.d2r)",il:"=V.hc - V.idx",ir:"=V.hc + V.idx",it:"=V.vc - V.idy",ib:"=V.vc + V.idy",cx1:"=C(V.wd2,V.x1,A(V.wd2,V.hd2,V.stAng),true)",cy1:"=C(V.hd2,V.y1,A(V.wd2,V.hd2,V.stAng))"},adjustInfo:[["adj1",27e5],["adj2",162e5]],connectionPoints:[{x:c,y:o},{x:s,y:d},{x:"=V.x3",y:"=V.y3"}],controlsInfo:[{type:"ahPolar",gdRefAng:"adj1",minAng:0,maxAng:21599999,position:{x:"x1",y:"y1"},point:[c,o]},{type:"ahPolar",gdRefAng:"adj2",minAng:0,maxAng:21599999,position:{x:"x2",y:"y2"},point:[s,d]}],path:[[["M",c,o],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd2",0,"=A(V.wd2,V.hd2,V.stAng)","=A(V.wd2,V.hd2,(V.stAng + V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},corner:{variables:{adj1:5e4,adj2:5e4,ss:i,maxAdj1:"=100000 * height / V.ss",maxAdj2:"=100000 * width / V.ss",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",x1:"=V.ss * V.a2 / 100000",dy1:"=V.ss * V.a1 / 100000",b:n,y1:"=height - V.dy1",cx1:"=V.x1 / 2",cy1:"=(V.y1 + V.b) / 2",d:"=width - height",t:0,it:"=IF(V.d > 0, V.y1, V.t)",r:V,ir:"=IF(V.d > 0, V.r, V.x1)",hc:y,l:0,vc:f},adjustInfo:[["adj1",5e4],["adj2",5e4]],connectionPoints:[{x:V,y:"=V.cy1"},{x:e,y:n},{x:0,y:r},{x:"=V.cx1",y:0}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:"maxAdj1",position:{x:"l",y:"y1"},point:[0,o]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:"maxAdj2",position:{x:"x1",y:"t"},point:[c,0]}],path:[[["M",0,0],["L",c,0],["L",c,o],["L",V,o],["L",V,n],["L",0,n],["Z"],{}]],textRect:{left:0,top:"=V.it",right:"=V.ir",bottom:n}},mathPlus:{variables:{adj1:23520,a1:"=MIN(MAX(0, V.adj1), 73490)",dx1:"=width * 73490 / 200000",dy1:"=height * 73490 / 200000",ss:i,dx2:"=V.ss * V.a1 / 200000",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc - V.dx2",x3:"=V.hc + V.dx2",x4:"=V.hc + V.dx1",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc - V.dx2",y3:"=V.vc + V.dx2",y4:"=V.vc + V.dy1",l:0},adjustInfo:[["adj1",23520]],connectionPoints:[{x:"=V.x4",y:r},{x:e,y:"=V.y4"},{x:c,y:r},{x:e,y:o}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:73490,position:{x:"l",y:"y2"},point:[0,d]}],path:[[["M",c,d],["L",s,d],["L",s,o],["L","=V.x3",o],["L","=V.x3",d],["L","=V.x4",d],["L","=V.x4","=V.y3"],["L","=V.x3","=V.y3"],["L","=V.x3","=V.y4"],["L",s,"=V.y4"],["L",s,"=V.y3"],["L",c,"=V.y3"],["Z"],{}]],textRect:{left:c,top:d,right:"=V.x4",bottom:"=V.y3"}},mathMinus:{variables:{adj1:23520,a1:"=MIN(MAX(0, V.adj1), 100000)",dy1:"=height * V.a1 / 200000",dx1:"=width * 73490 / 200000",vc:f,y1:"=V.vc - V.dy1",y2:"=V.vc + V.dy1",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc + V.dx1",l:0},adjustInfo:[["adj1",23520]],connectionPoints:[{x:s,y:r},{x:e,y:d},{x:c,y:r},{x:e,y:o}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:1e5,position:{x:"l",y:"y1"},point:[0,o]}],path:[[["M",c,o],["L",s,o],["L",s,d],["L",c,d],["Z"],{}]],textRect:{left:c,top:o,right:s,bottom:d}},mathMultiply:{variables:{adj1:23520,a1:"=MIN(MAX(0, V.adj1), 51965)",ss:i,th:"=V.ss * V.a1 / 100000",d2r:a,a:"=(ATAN2(width,height) * V.d2r)",sa:"=SIN(V.a / V.d2r)",ca:"=COS(V.a / V.d2r)",ta:"=TAN(V.a / V.d2r)",dl:"=SQRT(width*width + height*height)",rw:"=V.dl * 51965 / 100000",lM:"=V.dl - V.rw",xM:"=V.ca * V.lM / 2",yM:"=V.sa * V.lM / 2",dxAM:"=V.sa * V.th / 2",dyAM:"=V.ca * V.th / 2",xA:"=V.xM - V.dxAM",yA:"=V.yM + V.dyAM",xB:"=V.xM + V.dxAM",yB:"=V.yM - V.dyAM",hc:y,xBC:"=V.hc - V.xB",yBC:"=V.xBC * V.ta",yC:"=V.yBC + V.yB",r:V,xD:"=width - V.xB",xE:"=width - V.xA",vc:f,yFE:"=V.vc - V.yA",xFE:"=V.yFE / V.ta",xF:"=V.xE - V.xFE",xL:"=V.xA + V.xFE",b:n,yG:"=height - V.yA",yH:"=height - V.yB",yI:"=height - V.yC",xC2:"=width - V.xM",yC3:"=height - V.yM",l:0},adjustInfo:[["adj1",23520]],connectionPoints:[{x:"=V.xM",y:"=V.yM"},{x:"=V.xC2",y:"=V.yM"},{x:"=V.xC2",y:"=V.yC3"},{x:"=V.xM",y:"=V.yC3"}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:51965,position:{x:"l",y:"th"},point:[0,"=V.th"]}],path:[[["M","=V.xA","=V.yA"],["L","=V.xB","=V.yB"],["L",e,"=V.yC"],["L","=V.xD","=V.yB"],["L","=V.xE","=V.yA"],["L","=V.xF",r],["L","=V.xE","=V.yG"],["L","=V.xD","=V.yH"],["L",e,"=V.yI"],["L","=V.xB","=V.yH"],["L","=V.xA","=V.yG"],["L","=V.xL",r],["Z"],{}]],textRect:{left:"=V.xA",top:"=V.yB",right:"=V.xE",bottom:"=V.yH"}},mathDivide:{variables:{adj1:23520,adj2:5880,adj3:11760,a1:"=MIN(MAX(1000, V.adj1), 36745)",ma1:"=0 - V.a1",ma3h:"=(73490 + V.ma1) / 4",ma3w:"=36745 * width / height",maxAdj3:"=MIN(V.ma3h, V.ma3w)",a3:"=MIN(MAX(1000, V.adj3), V.maxAdj3)",m4a3:"=-4 * V.a3",maxAdj2:"=73490 + V.m4a3 - V.a1",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",dy1:"=height * V.a1 / 200000",yg:"=height * V.a2 / 100000",rad:"=height * V.a3 / 100000",dx1:"=width * 73490 / 200000",vc:f,y3:"=V.vc - V.dy1",y4:"=V.vc + V.dy1",a:"=V.yg + V.rad",y2:"=V.y3 - V.a",y1:"=V.y2 - V.rad",b:n,y5:"=height - V.y1",hc:y,x1:"=V.hc - V.dx1",x3:"=V.hc + V.dx1",x2:"=V.hc - V.rad",l:0,r:V,t:0,_3cd4:x,cx1:"=C(V.rad,V.hc,A(V.rad,V.rad,V._3cd4),true)",cy1:"=C(V.rad,V.y1,A(V.rad,V.rad,V._3cd4))",cd4:u,cx2:"=C(V.rad,V.hc,A(V.rad,V.rad,V.cd4),true)",cy2:"=C(V.rad,V.y5,A(V.rad,V.rad,V.cd4))"},adjustInfo:[["adj1",23520],["adj2",5880],["adj3",11760]],connectionPoints:[{x:"=V.x3",y:r},{x:e,y:"=V.y5"},{x:c,y:r},{x:e,y:o}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:1e3,maxY:36745,position:{x:"l",y:"y3"},point:[0,"=V.y3"]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:"maxAdj2",position:{x:"r",y:"y2"},point:[V,d]},{type:"ahXY",gdRefX:"adj3",minX:1e3,maxX:"maxAdj3",position:{x:"x2",y:"t"},point:[s,0]}],path:[[["M",e,o],["E","=V.cx1","=V.cy1","=V.rad","=V.rad",0,"=A(V.rad,V.rad,V._3cd4)","=(A(V.rad,V.rad,V._3cd4)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["Z"],["M",e,"=V.y5"],["E","=V.cx2","=V.cy2","=V.rad","=V.rad",0,"=A(V.rad,V.rad,V.cd4)","=(A(V.rad,V.rad,V.cd4)+ 2*PI())","=IF(21600000 > 0, FALSE, TRUE)"],["Z"],["M",c,"=V.y3"],["L","=V.x3","=V.y3"],["L","=V.x3","=V.y4"],["L",c,"=V.y4"],["Z"],{}]],textRect:{left:c,top:"=V.y3",right:"=V.x3",bottom:"=V.y4"}},mathEqual:{variables:{adj1:23520,adj2:11760,a1:"=MIN(MAX(0, V.adj1), 36745)","2a1":"=V.a1 * 2",mAdj2:"=100000 - V.2a1",a2:"=MIN(MAX(0, V.adj2), V.mAdj2)",dy1:"=height * V.a1 / 100000",dy2:"=height * V.a2 / 200000",dx1:"=width * 73490 / 200000",vc:f,y2:"=V.vc - V.dy2",y3:"=V.vc + V.dy2",y1:"=V.y2 - V.dy1",y4:"=V.y3 + V.dy1",hc:y,x1:"=V.hc - V.dx1",x2:"=V.hc + V.dx1",yC1:"=(V.y1 + V.y2) / 2",yC2:"=(V.y3 + V.y4) / 2",l:0,r:V},adjustInfo:[["adj1",23520],["adj2",11760]],connectionPoints:[{x:s,y:"=V.yC1"},{x:s,y:"=V.yC2"},{x:e,y:"=V.y4"},{x:c,y:"=V.yC1"},{x:c,y:"=V.yC2"},{x:e,y:o}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:36745,position:{x:"l",y:"y1"},point:[0,o]},{type:"ahXY",gdRefY:"adj2",minY:0,maxY:"mAdj2",position:{x:"r",y:"y2"},point:[V,d]}],path:[[["M",c,o],["L",s,o],["L",s,d],["L",c,d],["Z"],["M",c,"=V.y3"],["L",s,"=V.y3"],["L",s,"=V.y4"],["L",c,"=V.y4"],["Z"],{}]],textRect:{left:c,top:o,right:s,bottom:"=V.y4"}},mathNotEqual:{variables:{adj1:23520,adj2:66e5,adj3:11760,a1:"=MIN(MAX(0, V.adj1), 50000)",crAng:"=MIN(MAX(4200000, V.adj2), 6600000)","2a1":"=V.a1 * 2",maxAdj3:"=100000 - V.2a1",a3:"=MIN(MAX(0, V.adj3), V.maxAdj3)",dy1:"=height * V.a1 / 100000",dy2:"=height * V.a3 / 200000",dx1:"=width * 73490 / 200000",hc:y,x1:"=V.hc - V.dx1",x8:"=V.hc + V.dx1",vc:f,y2:"=V.vc - V.dy2",y3:"=V.vc + V.dy2",y1:"=V.y2 - V.dy1",y4:"=V.y3 + V.dy1",cd4:u,cadj2:"=V.crAng - V.cd4",hd2:f,d2r:a,xadj2:"=V.hd2 * TAN(V.cadj2 / V.d2r)",len:"=SQRT(V.xadj2*V.xadj2 + V.hd2*V.hd2)",bhw:"=V.len * V.dy1 / V.hd2",bhw2:"=V.bhw / 2",x7:"=V.hc + V.xadj2 - V.bhw2",dx67:"=V.xadj2 * V.y1 / V.hd2",x6:"=V.x7 - V.dx67",dx57:"=V.xadj2 * V.y2 / V.hd2",x5:"=V.x7 - V.dx57",dx47:"=V.xadj2 * V.y3 / V.hd2",x4:"=V.x7 - V.dx47",dx37:"=V.xadj2 * V.y4 / V.hd2",x3:"=V.x7 - V.dx37",dx27:"=V.xadj2 * 2",x2:"=V.x7 - V.dx27",rx7:"=V.x7 + V.bhw",rx6:"=V.x6 + V.bhw",rx5:"=V.x5 + V.bhw",rx4:"=V.x4 + V.bhw",rx3:"=V.x3 + V.bhw",rx2:"=V.x2 + V.bhw",dx7:"=V.dy1 * V.hd2 / V.len",rxt:"=V.x7 + V.dx7",lxt:"=V.rx7 - V.dx7",rx:"=IF(V.cadj2 > 0, V.rxt, V.rx7)",lx:"=IF(V.cadj2 > 0, V.x7, V.lxt)",dy3:"=V.dy1 * V.xadj2 / V.len",dy4:"=0 - V.dy3",t:0,ry:"=IF(V.cadj2 > 0, V.dy3, V.t)",ly:"=IF(V.cadj2 > 0, V.t, V.dy4)",dlx:"=width - V.rx",drx:"=width - V.lx",dly:"=height - V.ry",dry:"=height - V.ly",xC1:"=(V.rx + V.lx) / 2",xC2:"=(V.drx + V.dlx) / 2",yC1:"=(V.ry + V.ly) / 2",yC2:"=(V.y1 + V.y2) / 2",yC3:"=(V.y3 + V.y4) / 2",yC4:"=(V.dry + V.dly) / 2",l:0,r:V},adjustInfo:[["adj1",23520],["adj2",66e5],["adj3",11760]],connectionPoints:[{x:"=V.x8",y:"=V.yC2"},{x:"=V.x8",y:"=V.yC3"},{x:"=V.xC2",y:"=V.yC4"},{x:c,y:"=V.yC2"},{x:c,y:"=V.yC3"},{x:"=V.xC1",y:"=V.yC1"}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:5e4,position:{x:"l",y:"y1"},point:[0,o]},{type:"ahPolar",gdRefAng:"adj2",minAng:42e5,maxAng:66e5,position:{x:"lx",y:"t"},point:["=V.lx",0]},{type:"ahXY",gdRefY:"adj3",minY:0,maxY:"maxAdj3",position:{x:"r",y:"y2"},point:[V,d]}],path:[[["M",c,o],["L","=V.x6",o],["L","=V.lx","=V.ly"],["L","=V.rx","=V.ry"],["L","=V.rx6",o],["L","=V.x8",o],["L","=V.x8",d],["L","=V.rx5",d],["L","=V.rx4","=V.y3"],["L","=V.x8","=V.y3"],["L","=V.x8","=V.y4"],["L","=V.rx3","=V.y4"],["L","=V.drx","=V.dry"],["L","=V.dlx","=V.dly"],["L","=V.x3","=V.y4"],["L",c,"=V.y4"],["L",c,"=V.y3"],["L","=V.x4","=V.y3"],["L","=V.x5",d],["L",c,d],["Z"],{}]],textRect:{left:c,top:o,right:"=V.x8",bottom:"=V.y4"}},cornerTabs:{variables:{md:"=SQRT(width*width + height*height)",dx:"=V.md / 20",b:n,y1:"=height - V.dx",r:V,x1:"=width - V.dx",l:0,t:0},connectionPoints:[{x:0,y:0},{x:0,y:"=V.dx"},{x:0,y:o},{x:0,y:n},{x:"=V.dx",y:0},{x:c,y:0},{x:"=V.dx",y:n},{x:c,y:n},{x:V,y:0},{x:V,y:"=V.dx"},{x:V,y:o},{x:V,y:n}],path:[[["M",0,0],["L","=V.dx",0],["L",0,"=V.dx"],["Z"],{}],[["M",0,o],["L","=V.dx",n],["L",0,n],["Z"],{}],[["M",c,0],["L",V,0],["L",V,"=V.dx"],["Z"],{}],[["M",V,o],["L",V,n],["L",c,n],["Z"],{}]],textRect:{left:"=V.dx",top:"=V.dx",right:c,bottom:o}},squareTabs:{variables:{md:"=SQRT(width*width + height*height)",dx:"=V.md / 20",b:n,y1:"=height - V.dx",r:V,x1:"=width - V.dx",l:0,t:0},connectionPoints:[{x:0,y:0},{x:0,y:"=V.dx"},{x:0,y:o},{x:0,y:n},{x:"=V.dx",y:"=V.dx"},{x:"=V.dx",y:c},{x:"=V.dx",y:0},{x:c,y:0},{x:"=V.dx",y:n},{x:c,y:n},{x:V,y:0},{x:V,y:"=V.dx"},{x:V,y:o},{x:V,y:n},{x:c,y:"=V.dx"},{x:c,y:o}],path:[[["M",0,0],["L","=V.dx",0],["L","=V.dx","=V.dx"],["L",0,"=V.dx"],["Z"],{}],[["M",0,o],["L","=V.dx",o],["L","=V.dx",n],["L",0,n],["Z"],{}],[["M",c,0],["L",V,0],["L",V,"=V.dx"],["L",c,"=V.dx"],["Z"],{}],[["M",c,o],["L",V,o],["L",V,n],["L",c,n],["Z"],{}]],textRect:{left:"=V.dx",top:"=V.dx",right:c,bottom:o}},plaqueTabs:{variables:{md:"=SQRT(width*width + height*height)",dx:"=V.md / 20",b:n,y1:"=height - V.dx",r:V,x1:"=width - V.dx",l:0,t:0,cd4:u,cx1:"=C(V.dx,V.dx,A(V.dx,V.dx,0),true)",cy1:"=C(V.dx,V.t,A(V.dx,V.dx,0))",_3cd4:x,cx2:"=C(V.dx,V.l,A(V.dx,V.dx,V._3cd4),true)",cy2:"=C(V.dx,V.y1,A(V.dx,V.dx,V._3cd4))",cx3:"=C(V.dx,V.r,A(V.dx,V.dx,V.cd4),true)",cy3:"=C(V.dx,V.dx,A(V.dx,V.dx,V.cd4))",cd2:h,cx4:"=C(V.dx,V.x1,A(V.dx,V.dx,V.cd2),true)",cy4:"=C(V.dx,V.b,A(V.dx,V.dx,V.cd2))"},connectionPoints:[{x:0,y:0},{x:0,y:"=V.dx"},{x:0,y:o},{x:0,y:n},{x:"=V.dx",y:0},{x:c,y:0},{x:"=V.dx",y:n},{x:c,y:n},{x:V,y:0},{x:V,y:"=V.dx"},{x:V,y:o},{x:V,y:n}],path:[[["M",0,0],["L","=V.dx",0],["E","=V.cx1","=V.cy1","=V.dx","=V.dx",0,"=A(V.dx,V.dx,0)","=A(V.dx,V.dx,(V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{}],[["M",0,o],["E","=V.cx2","=V.cy2","=V.dx","=V.dx",0,"=A(V.dx,V.dx,V._3cd4)","=A(V.dx,V.dx,(V._3cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",0,n],["Z"],{}],[["M",V,0],["L",V,"=V.dx"],["E","=V.cx3","=V.cy3","=V.dx","=V.dx",0,"=A(V.dx,V.dx,V.cd4)","=A(V.dx,V.dx,(V.cd4 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["Z"],{}],[["M",c,n],["E","=V.cx4","=V.cy4","=V.dx","=V.dx",0,"=A(V.dx,V.dx,V.cd2)","=A(V.dx,V.dx,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",V,n],["Z"],{}]],textRect:{left:"=V.dx",top:"=V.dx",right:c,bottom:o}},gear6:{variables:{adj1:15e3,adj2:3526,a1:"=MIN(MAX(0, V.adj1), 20000)",a2:"=MIN(MAX(0, V.adj2), 5358)",ss:i,th:"=V.ss * V.a1 / 100000",lFD:"=V.ss * V.a2 / 100000",th2:"=V.th / 2",l2:"=V.lFD / 2",l3:"=V.th2 + V.l2",hd2:f,rh:"=V.hd2 - V.th",wd2:y,rw:"=V.wd2 - V.th",dr:"=V.rw - V.rh",maxr:"=IF(V.dr > 0, V.rh, V.rw)",d2r:a,ha:"=(ATAN2(V.maxr,V.l3) * V.d2r)",aA1:"=19800000 - V.ha",aD1:"=19800000 + V.ha",ta11:"=V.rw * COS(V.aA1 / V.d2r)",ta12:"=V.rh * SIN(V.aA1 / V.d2r)",bA1:"=(ATAN2(V.ta11,V.ta12) * V.d2r)",cta1:"=V.rh * COS(V.bA1 / V.d2r)",sta1:"=V.rw * SIN(V.bA1 / V.d2r)",ma1:"=SQRT(V.cta1*V.cta1 + V.sta1*V.sta1)",na1:"=V.rw * V.rh / V.ma1",dxa1:"=V.na1 * COS(V.bA1 / V.d2r)",dya1:"=V.na1 * SIN(V.bA1 / V.d2r)",hc:y,xA1:"=V.hc + V.dxa1",vc:f,yA1:"=V.vc + V.dya1",td11:"=V.rw * COS(V.aD1 / V.d2r)",td12:"=V.rh * SIN(V.aD1 / V.d2r)",bD1:"=(ATAN2(V.td11,V.td12) * V.d2r)",ctd1:"=V.rh * COS(V.bD1 / V.d2r)",std1:"=V.rw * SIN(V.bD1 / V.d2r)",md1:"=SQRT(V.ctd1*V.ctd1 + V.std1*V.std1)",nd1:"=V.rw * V.rh / V.md1",dxd1:"=V.nd1 * COS(V.bD1 / V.d2r)",dyd1:"=V.nd1 * SIN(V.bD1 / V.d2r)",xD1:"=V.hc + V.dxd1",yD1:"=V.vc + V.dyd1",xAD1:"=V.xA1 - V.xD1",yAD1:"=V.yA1 - V.yD1",lAD1:"=SQRT(V.xAD1*V.xAD1 + V.yAD1*V.yAD1)",_a1:"=(ATAN2(V.yAD1,V.xAD1) * V.d2r)",dxF1:"=V.lFD * SIN(V._a1 / V.d2r)",dyF1:"=V.lFD * COS(V._a1 / V.d2r)",xF1:"=V.xD1 + V.dxF1",yF1:"=V.yD1 + V.dyF1",xE1:"=V.xA1 - V.dxF1",yE1:"=V.yA1 - V.dyF1",yC1t:"=V.th * SIN(V._a1 / V.d2r)",xC1t:"=V.th * COS(V._a1 / V.d2r)",yC1:"=V.yF1 + V.yC1t",xC1:"=V.xF1 - V.xC1t",yB1:"=V.yE1 + V.yC1t",xB1:"=V.xE1 - V.xC1t",_3cd4:x,aD6:"=V._3cd4 + V.ha",td61:"=V.rw * COS(V.aD6 / V.d2r)",td62:"=V.rh * SIN(V.aD6 / V.d2r)",bD6:"=(ATAN2(V.td61,V.td62) * V.d2r)",ctd6:"=V.rh * COS(V.bD6 / V.d2r)",std6:"=V.rw * SIN(V.bD6 / V.d2r)",md6:"=SQRT(V.ctd6*V.ctd6 + V.std6*V.std6)",nd6:"=V.rw * V.rh / V.md6",dxd6:"=V.nd6 * COS(V.bD6 / V.d2r)",dyd6:"=V.nd6 * SIN(V.bD6 / V.d2r)",xD6:"=V.hc + V.dxd6",yD6:"=V.vc + V.dyd6",xA6:"=V.hc - V.dxd6",xF6:"=V.xD6 - V.lFD",xE6:"=V.xA6 + V.lFD",yC6:"=V.yD6 - V.th",swAng1:"=V.bA1 - V.bD6",aA2:"=1800000 - V.ha",aD2:"=1800000 + V.ha",ta21:"=V.rw * COS(V.aA2 / V.d2r)",ta22:"=V.rh * SIN(V.aA2 / V.d2r)",bA2:"=(ATAN2(V.ta21,V.ta22) * V.d2r)",yA2:"=height - V.yD1",td21:"=V.rw * COS(V.aD2 / V.d2r)",td22:"=V.rh * SIN(V.aD2 / V.d2r)",bD2:"=(ATAN2(V.td21,V.td22) * V.d2r)",yD2:"=height - V.yA1",yC2:"=height - V.yB1",yB2:"=height - V.yC1",xB2:"=V.xC1",swAng2:"=V.bA2 - V.bD1",cd4:u,aD3:"=V.cd4 + V.ha",td31:"=V.rw * COS(V.aD3 / V.d2r)",td32:"=V.rh * SIN(V.aD3 / V.d2r)",bD3:"=(ATAN2(V.td31,V.td32) * V.d2r)",yD3:"=height - V.yD6",yB3:"=height - V.yC6",aD4:"=9000000 + V.ha",td41:"=V.rw * COS(V.aD4 / V.d2r)",td42:"=V.rh * SIN(V.aD4 / V.d2r)",bD4:"=(ATAN2(V.td41,V.td42) * V.d2r)",xD4:"=width - V.xD1",xC4:"=width - V.xC1",xB4:"=width - V.xB1",aD5:"=12600000 + V.ha",td51:"=V.rw * COS(V.aD5 / V.d2r)",td52:"=V.rh * SIN(V.aD5 / V.d2r)",bD5:"=(ATAN2(V.td51,V.td52) * V.d2r)",xD5:"=width - V.xA1",xC5:"=width - V.xB1",xB5:"=width - V.xC1",xCxn1:"=(V.xB1 + V.xC1) / 2",yCxn1:"=(V.yB1 + V.yC1) / 2",b:n,yCxn2:"=height - V.yCxn1",r:V,xCxn4:"=(width) / V.xCxn1",cx1:"=C(V.rw,V.xD1,A(V.rw,V.rh,V.bD1),true)",cy1:"=C(V.rh,V.yD1,A(V.rw,V.rh,V.bD1))",cx2:"=C(V.rw,V.xA1,A(V.rw,V.rh,V.bD2),true)",cy2:"=C(V.rh,V.yD2,A(V.rw,V.rh,V.bD2))",cx3:"=C(V.rw,V.xA6,A(V.rw,V.rh,V.bD3),true)",cy3:"=C(V.rh,V.yD3,A(V.rw,V.rh,V.bD3))",cx4:"=C(V.rw,V.xD4,A(V.rw,V.rh,V.bD4),true)",cy4:"=C(V.rh,V.yA2,A(V.rw,V.rh,V.bD4))",cx5:"=C(V.rw,V.xD5,A(V.rw,V.rh,V.bD5),true)",cy5:"=C(V.rh,V.yA1,A(V.rw,V.rh,V.bD5))",cx6:"=C(V.rw,V.xD6,A(V.rw,V.rh,V.bD6),true)",cy6:"=C(V.rh,V.yD6,A(V.rw,V.rh,V.bD6))"},adjustInfo:[["adj1",15e3],["adj2",3526]],connectionPoints:[{x:"=V.xCxn1",y:"=V.yCxn1"},{x:"=V.xCxn1",y:"=V.yCxn2"},{x:e,y:"=V.yB3"},{x:"=V.xCxn4",y:"=V.yCxn2"},{x:"=V.xCxn4",y:"=V.yCxn1"},{x:e,y:"=V.yC6"}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:2e4,position:{x:"xD6",y:"yD6"},point:["=V.xD6","=V.yD6"]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:5358,position:{x:"xA6",y:"yD6"},point:["=V.xA6","=V.yD6"]}],path:[[["M","=V.xA1","=V.yA1"],["L","=V.xB1","=V.yB1"],["L","=V.xC1","=V.yC1"],["L","=V.xD1","=V.yD1"],["E","=V.cx1","=V.cy1","=V.rw","=V.rh",0,"=A(V.rw,V.rh,V.bD1)","=A(V.rw,V.rh,(V.bD1 + V.swAng2))","=IF(V.swAng2 > 0, FALSE, TRUE)"],["L","=V.xC1","=V.yB2"],["L","=V.xB1","=V.yC2"],["L","=V.xA1","=V.yD2"],["E","=V.cx2","=V.cy2","=V.rw","=V.rh",0,"=A(V.rw,V.rh,V.bD2)","=A(V.rw,V.rh,(V.bD2 + V.swAng1))","=IF(V.swAng1 > 0, FALSE, TRUE)"],["L","=V.xF6","=V.yB3"],["L","=V.xE6","=V.yB3"],["L","=V.xA6","=V.yD3"],["E","=V.cx3","=V.cy3","=V.rw","=V.rh",0,"=A(V.rw,V.rh,V.bD3)","=A(V.rw,V.rh,(V.bD3 + V.swAng1))","=IF(V.swAng1 > 0, FALSE, TRUE)"],["L","=V.xB4","=V.yC2"],["L","=V.xC4","=V.yB2"],["L","=V.xD4","=V.yA2"],["E","=V.cx4","=V.cy4","=V.rw","=V.rh",0,"=A(V.rw,V.rh,V.bD4)","=A(V.rw,V.rh,(V.bD4 + V.swAng2))","=IF(V.swAng2 > 0, FALSE, TRUE)"],["L","=V.xB5","=V.yC1"],["L","=V.xC5","=V.yB1"],["L","=V.xD5","=V.yA1"],["E","=V.cx5","=V.cy5","=V.rw","=V.rh",0,"=A(V.rw,V.rh,V.bD5)","=A(V.rw,V.rh,(V.bD5 + V.swAng1))","=IF(V.swAng1 > 0, FALSE, TRUE)"],["L","=V.xE6","=V.yC6"],["L","=V.xF6","=V.yC6"],["L","=V.xD6","=V.yD6"],["E","=V.cx6","=V.cy6","=V.rw","=V.rh",0,"=A(V.rw,V.rh,V.bD6)","=A(V.rw,V.rh,(V.bD6 + V.swAng1))","=IF(V.swAng1 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.xD5",top:"=V.yA1",right:"=V.xA1",bottom:"=V.yD2"}},gear9:{variables:{adj1:1e4,adj2:1763,a1:"=MIN(MAX(0, V.adj1), 20000)",a2:"=MIN(MAX(0, V.adj2), 2679)",ss:i,th:"=V.ss * V.a1 / 100000",lFD:"=V.ss * V.a2 / 100000",th2:"=V.th / 2",l2:"=V.lFD / 2",l3:"=V.th2 + V.l2",hd2:f,rh:"=V.hd2 - V.th",wd2:y,rw:"=V.wd2 - V.th",dr:"=V.rw - V.rh",maxr:"=IF(V.dr > 0, V.rh, V.rw)",d2r:a,ha:"=(ATAN2(V.maxr,V.l3) * V.d2r)",aA1:"=18600000 - V.ha",aD1:"=18600000 + V.ha",ta11:"=V.rw * COS(V.aA1 / V.d2r)",ta12:"=V.rh * SIN(V.aA1 / V.d2r)",bA1:"=(ATAN2(V.ta11,V.ta12) * V.d2r)",cta1:"=V.rh * COS(V.bA1 / V.d2r)",sta1:"=V.rw * SIN(V.bA1 / V.d2r)",ma1:"=SQRT(V.cta1*V.cta1 + V.sta1*V.sta1)",na1:"=V.rw * V.rh / V.ma1",dxa1:"=V.na1 * COS(V.bA1 / V.d2r)",dya1:"=V.na1 * SIN(V.bA1 / V.d2r)",hc:y,xA1:"=V.hc + V.dxa1",vc:f,yA1:"=V.vc + V.dya1",td11:"=V.rw * COS(V.aD1 / V.d2r)",td12:"=V.rh * SIN(V.aD1 / V.d2r)",bD1:"=(ATAN2(V.td11,V.td12) * V.d2r)",ctd1:"=V.rh * COS(V.bD1 / V.d2r)",std1:"=V.rw * SIN(V.bD1 / V.d2r)",md1:"=SQRT(V.ctd1*V.ctd1 + V.std1*V.std1)",nd1:"=V.rw * V.rh / V.md1",dxd1:"=V.nd1 * COS(V.bD1 / V.d2r)",dyd1:"=V.nd1 * SIN(V.bD1 / V.d2r)",xD1:"=V.hc + V.dxd1",yD1:"=V.vc + V.dyd1",xAD1:"=V.xA1 - V.xD1",yAD1:"=V.yA1 - V.yD1",lAD1:"=SQRT(V.xAD1*V.xAD1 + V.yAD1*V.yAD1)",_a1:"=(ATAN2(V.yAD1,V.xAD1) * V.d2r)",dxF1:"=V.lFD * SIN(V._a1 / V.d2r)",dyF1:"=V.lFD * COS(V._a1 / V.d2r)",xF1:"=V.xD1 + V.dxF1",yF1:"=V.yD1 + V.dyF1",xE1:"=V.xA1 - V.dxF1",yE1:"=V.yA1 - V.dyF1",yC1t:"=V.th * SIN(V._a1 / V.d2r)",xC1t:"=V.th * COS(V._a1 / V.d2r)",yC1:"=V.yF1 + V.yC1t",xC1:"=V.xF1 - V.xC1t",yB1:"=V.yE1 + V.yC1t",xB1:"=V.xE1 - V.xC1t",aA2:"=21000000 - V.ha",aD2:"=21000000 + V.ha",ta21:"=V.rw * COS(V.aA2 / V.d2r)",ta22:"=V.rh * SIN(V.aA2 / V.d2r)",bA2:"=(ATAN2(V.ta21,V.ta22) * V.d2r)",cta2:"=V.rh * COS(V.bA2 / V.d2r)",sta2:"=V.rw * SIN(V.bA2 / V.d2r)",ma2:"=SQRT(V.cta2*V.cta2 + V.sta2*V.sta2)",na2:"=V.rw * V.rh / V.ma2",dxa2:"=V.na2 * COS(V.bA2 / V.d2r)",dya2:"=V.na2 * SIN(V.bA2 / V.d2r)",xA2:"=V.hc + V.dxa2",yA2:"=V.vc + V.dya2",td21:"=V.rw * COS(V.aD2 / V.d2r)",td22:"=V.rh * SIN(V.aD2 / V.d2r)",bD2:"=(ATAN2(V.td21,V.td22) * V.d2r)",ctd2:"=V.rh * COS(V.bD2 / V.d2r)",std2:"=V.rw * SIN(V.bD2 / V.d2r)",md2:"=SQRT(V.ctd2*V.ctd2 + V.std2*V.std2)",nd2:"=V.rw * V.rh / V.md2",dxd2:"=V.nd2 * COS(V.bD2 / V.d2r)",dyd2:"=V.nd2 * SIN(V.bD2 / V.d2r)",xD2:"=V.hc + V.dxd2",yD2:"=V.vc + V.dyd2",xAD2:"=V.xA2 - V.xD2",yAD2:"=V.yA2 - V.yD2",lAD2:"=SQRT(V.xAD2*V.xAD2 + V.yAD2*V.yAD2)",_a2:"=(ATAN2(V.yAD2,V.xAD2) * V.d2r)",dxF2:"=V.lFD * SIN(V._a2 / V.d2r)",dyF2:"=V.lFD * COS(V._a2 / V.d2r)",xF2:"=V.xD2 + V.dxF2",yF2:"=V.yD2 + V.dyF2",xE2:"=V.xA2 - V.dxF2",yE2:"=V.yA2 - V.dyF2",yC2t:"=V.th * SIN(V._a2 / V.d2r)",xC2t:"=V.th * COS(V._a2 / V.d2r)",yC2:"=V.yF2 + V.yC2t",xC2:"=V.xF2 - V.xC2t",yB2:"=V.yE2 + V.yC2t",xB2:"=V.xE2 - V.xC2t",swAng1:"=V.bA2 - V.bD1",aA3:"=1800000 - V.ha",aD3:"=1800000 + V.ha",ta31:"=V.rw * COS(V.aA3 / V.d2r)",ta32:"=V.rh * SIN(V.aA3 / V.d2r)",bA3:"=(ATAN2(V.ta31,V.ta32) * V.d2r)",cta3:"=V.rh * COS(V.bA3 / V.d2r)",sta3:"=V.rw * SIN(V.bA3 / V.d2r)",ma3:"=SQRT(V.cta3*V.cta3 + V.sta3*V.sta3)",na3:"=V.rw * V.rh / V.ma3",dxa3:"=V.na3 * COS(V.bA3 / V.d2r)",dya3:"=V.na3 * SIN(V.bA3 / V.d2r)",xA3:"=V.hc + V.dxa3",yA3:"=V.vc + V.dya3",td31:"=V.rw * COS(V.aD3 / V.d2r)",td32:"=V.rh * SIN(V.aD3 / V.d2r)",bD3:"=(ATAN2(V.td31,V.td32) * V.d2r)",ctd3:"=V.rh * COS(V.bD3 / V.d2r)",std3:"=V.rw * SIN(V.bD3 / V.d2r)",md3:"=SQRT(V.ctd3*V.ctd3 + V.std3*V.std3)",nd3:"=V.rw * V.rh / V.md3",dxd3:"=V.nd3 * COS(V.bD3 / V.d2r)",dyd3:"=V.nd3 * SIN(V.bD3 / V.d2r)",xD3:"=V.hc + V.dxd3",yD3:"=V.vc + V.dyd3",xAD3:"=V.xA3 - V.xD3",yAD3:"=V.yA3 - V.yD3",lAD3:"=SQRT(V.xAD3*V.xAD3 + V.yAD3*V.yAD3)",a3:"=(ATAN2(V.yAD3,V.xAD3) * V.d2r)",dxF3:"=V.lFD * SIN(V.a3 / V.d2r)",dyF3:"=V.lFD * COS(V.a3 / V.d2r)",xF3:"=V.xD3 + V.dxF3",yF3:"=V.yD3 + V.dyF3",xE3:"=V.xA3 - V.dxF3",yE3:"=V.yA3 - V.dyF3",yC3t:"=V.th * SIN(V.a3 / V.d2r)",xC3t:"=V.th * COS(V.a3 / V.d2r)",yC3:"=V.yF3 + V.yC3t",xC3:"=V.xF3 - V.xC3t",yB3:"=V.yE3 + V.yC3t",xB3:"=V.xE3 - V.xC3t",swAng2:"=V.bA3 - V.bD2",aA4:"=4200000 - V.ha",aD4:"=4200000 + V.ha",ta41:"=V.rw * COS(V.aA4 / V.d2r)",ta42:"=V.rh * SIN(V.aA4 / V.d2r)",bA4:"=(ATAN2(V.ta41,V.ta42) * V.d2r)",cta4:"=V.rh * COS(V.bA4 / V.d2r)",sta4:"=V.rw * SIN(V.bA4 / V.d2r)",ma4:"=SQRT(V.cta4*V.cta4 + V.sta4*V.sta4)",na4:"=V.rw * V.rh / V.ma4",dxa4:"=V.na4 * COS(V.bA4 / V.d2r)",dya4:"=V.na4 * SIN(V.bA4 / V.d2r)",xA4:"=V.hc + V.dxa4",yA4:"=V.vc + V.dya4",td41:"=V.rw * COS(V.aD4 / V.d2r)",td42:"=V.rh * SIN(V.aD4 / V.d2r)",bD4:"=(ATAN2(V.td41,V.td42) * V.d2r)",ctd4:"=V.rh * COS(V.bD4 / V.d2r)",std4:"=V.rw * SIN(V.bD4 / V.d2r)",md4:"=SQRT(V.ctd4*V.ctd4 + V.std4*V.std4)",nd4:"=V.rw * V.rh / V.md4",dxd4:"=V.nd4 * COS(V.bD4 / V.d2r)",dyd4:"=V.nd4 * SIN(V.bD4 / V.d2r)",xD4:"=V.hc + V.dxd4",yD4:"=V.vc + V.dyd4",xAD4:"=V.xA4 - V.xD4",yAD4:"=V.yA4 - V.yD4",lAD4:"=SQRT(V.xAD4*V.xAD4 + V.yAD4*V.yAD4)",a4:"=(ATAN2(V.yAD4,V.xAD4) * V.d2r)",dxF4:"=V.lFD * SIN(V.a4 / V.d2r)",dyF4:"=V.lFD * COS(V.a4 / V.d2r)",xF4:"=V.xD4 + V.dxF4",yF4:"=V.yD4 + V.dyF4",xE4:"=V.xA4 - V.dxF4",yE4:"=V.yA4 - V.dyF4",yC4t:"=V.th * SIN(V.a4 / V.d2r)",xC4t:"=V.th * COS(V.a4 / V.d2r)",yC4:"=V.yF4 + V.yC4t",xC4:"=V.xF4 - V.xC4t",yB4:"=V.yE4 + V.yC4t",xB4:"=V.xE4 - V.xC4t",swAng3:"=V.bA4 - V.bD3",aA5:"=6600000 - V.ha",aD5:"=6600000 + V.ha",ta51:"=V.rw * COS(V.aA5 / V.d2r)",ta52:"=V.rh * SIN(V.aA5 / V.d2r)",bA5:"=(ATAN2(V.ta51,V.ta52) * V.d2r)",td51:"=V.rw * COS(V.aD5 / V.d2r)",td52:"=V.rh * SIN(V.aD5 / V.d2r)",bD5:"=(ATAN2(V.td51,V.td52) * V.d2r)",xD5:"=width - V.xA4",xC5:"=width - V.xB4",xB5:"=width - V.xC4",swAng4:"=V.bA5 - V.bD4",aD6:"=9000000 + V.ha",td61:"=V.rw * COS(V.aD6 / V.d2r)",td62:"=V.rh * SIN(V.aD6 / V.d2r)",bD6:"=(ATAN2(V.td61,V.td62) * V.d2r)",xD6:"=width - V.xA3",xC6:"=width - V.xB3",xB6:"=width - V.xC3",aD7:"=11400000 + V.ha",td71:"=V.rw * COS(V.aD7 / V.d2r)",td72:"=V.rh * SIN(V.aD7 / V.d2r)",bD7:"=(ATAN2(V.td71,V.td72) * V.d2r)",xD7:"=width - V.xA2",xC7:"=width - V.xB2",xB7:"=width - V.xC2",aD8:"=13800000 + V.ha",td81:"=V.rw * COS(V.aD8 / V.d2r)",td82:"=V.rh * SIN(V.aD8 / V.d2r)",bD8:"=(ATAN2(V.td81,V.td82) * V.d2r)",xA8:"=width - V.xD1",xD8:"=width - V.xA1",xC8:"=width - V.xB1",xB8:"=width - V.xC1",_3cd4:x,aA9:"=V._3cd4 - V.ha",aD9:"=V._3cd4 + V.ha",td91:"=V.rw * COS(V.aD9 / V.d2r)",td92:"=V.rh * SIN(V.aD9 / V.d2r)",bD9:"=(ATAN2(V.td91,V.td92) * V.d2r)",ctd9:"=V.rh * COS(V.bD9 / V.d2r)",std9:"=V.rw * SIN(V.bD9 / V.d2r)",md9:"=SQRT(V.ctd9*V.ctd9 + V.std9*V.std9)",nd9:"=V.rw * V.rh / V.md9",dxd9:"=V.nd9 * COS(V.bD9 / V.d2r)",dyd9:"=V.nd9 * SIN(V.bD9 / V.d2r)",xD9:"=V.hc + V.dxd9",yD9:"=V.vc + V.dyd9",ta91:"=V.rw * COS(V.aA9 / V.d2r)",ta92:"=V.rh * SIN(V.aA9 / V.d2r)",bA9:"=(ATAN2(V.ta91,V.ta92) * V.d2r)",xA9:"=V.hc - V.dxd9",xF9:"=V.xD9 - V.lFD",xE9:"=V.xA9 + V.lFD",yC9:"=V.yD9 - V.th",swAng5:"=V.bA9 - V.bD8",xCxn1:"=(V.xB1 + V.xC1) / 2",yCxn1:"=(V.yB1 + V.yC1) / 2",xCxn2:"=(V.xB2 + V.xC2) / 2",yCxn2:"=(V.yB2 + V.yC2) / 2",xCxn3:"=(V.xB3 + V.xC3) / 2",yCxn3:"=(V.yB3 + V.yC3) / 2",xCxn4:"=(V.xB4 + V.xC4) / 2",yCxn4:"=(V.yB4 + V.yC4) / 2",r:V,xCxn5:"=(V.xB5 + V.xC5) / 2",xCxn6:"=(V.xB6 + V.xC6) / 2",xCxn7:"=(V.xB7 + V.xC7) / 2",xCxn8:"=(V.xB8 + V.xC8) / 2",cx1:"=C(V.rw,V.xD1,A(V.rw,V.rh,V.bD1),true)",cy1:"=C(V.rh,V.yD1,A(V.rw,V.rh,V.bD1))",cx2:"=C(V.rw,V.xD2,A(V.rw,V.rh,V.bD2),true)",cy2:"=C(V.rh,V.yD2,A(V.rw,V.rh,V.bD2))",cx3:"=C(V.rw,V.xD3,A(V.rw,V.rh,V.bD3),true)",cy3:"=C(V.rh,V.yD3,A(V.rw,V.rh,V.bD3))",cx4:"=C(V.rw,V.xD4,A(V.rw,V.rh,V.bD4),true)",cy4:"=C(V.rh,V.yD4,A(V.rw,V.rh,V.bD4))",cx5:"=C(V.rw,V.xD5,A(V.rw,V.rh,V.bD5),true)",cy5:"=C(V.rh,V.yA4,A(V.rw,V.rh,V.bD5))",cx6:"=C(V.rw,V.xD6,A(V.rw,V.rh,V.bD6),true)",cy6:"=C(V.rh,V.yA3,A(V.rw,V.rh,V.bD6))",cx7:"=C(V.rw,V.xD7,A(V.rw,V.rh,V.bD7),true)",cy7:"=C(V.rh,V.yA2,A(V.rw,V.rh,V.bD7))",cx8:"=C(V.rw,V.xD8,A(V.rw,V.rh,V.bD8),true)",cy8:"=C(V.rh,V.yA1,A(V.rw,V.rh,V.bD8))",cx9:"=C(V.rw,V.xD9,A(V.rw,V.rh,V.bD9),true)",cy9:"=C(V.rh,V.yD9,A(V.rw,V.rh,V.bD9))"},adjustInfo:[["adj1",1e4],["adj2",1763]],connectionPoints:[{x:"=V.xCxn1",y:"=V.yCxn1"},{x:"=V.xCxn2",y:"=V.yCxn2"},{x:"=V.xCxn3",y:"=V.yCxn3"},{x:"=V.xCxn4",y:"=V.yCxn4"},{x:"=V.xCxn5",y:"=V.yCxn4"},{x:"=V.xCxn6",y:"=V.yCxn3"},{x:"=V.xCxn7",y:"=V.yCxn2"},{x:"=V.xCxn8",y:"=V.yCxn1"},{x:e,y:"=V.yC9"}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:0,maxY:2e4,position:{x:"xD9",y:"yD9"},point:["=V.xD9","=V.yD9"]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:2679,position:{x:"xA9",y:"yD9"},point:["=V.xA9","=V.yD9"]}],path:[[["M","=V.xA1","=V.yA1"],["L","=V.xB1","=V.yB1"],["L","=V.xC1","=V.yC1"],["L","=V.xD1","=V.yD1"],["E","=V.cx1","=V.cy1","=V.rw","=V.rh",0,"=A(V.rw,V.rh,V.bD1)","=A(V.rw,V.rh,(V.bD1 + V.swAng1))","=IF(V.swAng1 > 0, FALSE, TRUE)"],["L","=V.xB2","=V.yB2"],["L","=V.xC2","=V.yC2"],["L","=V.xD2","=V.yD2"],["E","=V.cx2","=V.cy2","=V.rw","=V.rh",0,"=A(V.rw,V.rh,V.bD2)","=A(V.rw,V.rh,(V.bD2 + V.swAng2))","=IF(V.swAng2 > 0, FALSE, TRUE)"],["L","=V.xB3","=V.yB3"],["L","=V.xC3","=V.yC3"],["L","=V.xD3","=V.yD3"],["E","=V.cx3","=V.cy3","=V.rw","=V.rh",0,"=A(V.rw,V.rh,V.bD3)","=A(V.rw,V.rh,(V.bD3 + V.swAng3))","=IF(V.swAng3 > 0, FALSE, TRUE)"],["L","=V.xB4","=V.yB4"],["L","=V.xC4","=V.yC4"],["L","=V.xD4","=V.yD4"],["E","=V.cx4","=V.cy4","=V.rw","=V.rh",0,"=A(V.rw,V.rh,V.bD4)","=A(V.rw,V.rh,(V.bD4 + V.swAng4))","=IF(V.swAng4 > 0, FALSE, TRUE)"],["L","=V.xB5","=V.yC4"],["L","=V.xC5","=V.yB4"],["L","=V.xD5","=V.yA4"],["E","=V.cx5","=V.cy5","=V.rw","=V.rh",0,"=A(V.rw,V.rh,V.bD5)","=A(V.rw,V.rh,(V.bD5 + V.swAng3))","=IF(V.swAng3 > 0, FALSE, TRUE)"],["L","=V.xB6","=V.yC3"],["L","=V.xC6","=V.yB3"],["L","=V.xD6","=V.yA3"],["E","=V.cx6","=V.cy6","=V.rw","=V.rh",0,"=A(V.rw,V.rh,V.bD6)","=A(V.rw,V.rh,(V.bD6 + V.swAng2))","=IF(V.swAng2 > 0, FALSE, TRUE)"],["L","=V.xB7","=V.yC2"],["L","=V.xC7","=V.yB2"],["L","=V.xD7","=V.yA2"],["E","=V.cx7","=V.cy7","=V.rw","=V.rh",0,"=A(V.rw,V.rh,V.bD7)","=A(V.rw,V.rh,(V.bD7 + V.swAng1))","=IF(V.swAng1 > 0, FALSE, TRUE)"],["L","=V.xB8","=V.yC1"],["L","=V.xC8","=V.yB1"],["L","=V.xD8","=V.yA1"],["E","=V.cx8","=V.cy8","=V.rw","=V.rh",0,"=A(V.rw,V.rh,V.bD8)","=A(V.rw,V.rh,(V.bD8 + V.swAng5))","=IF(V.swAng5 > 0, FALSE, TRUE)"],["L","=V.xE9","=V.yC9"],["L","=V.xF9","=V.yC9"],["L","=V.xD9","=V.yD9"],["E","=V.cx9","=V.cy9","=V.rw","=V.rh",0,"=A(V.rw,V.rh,V.bD9)","=A(V.rw,V.rh,(V.bD9 + V.swAng5))","=IF(V.swAng5 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.xA8",top:"=V.yD1",right:"=V.xD1",bottom:"=V.yD3"}},funnel:{variables:{ss:i,d:"=V.ss / 20",wd2:y,rw2:"=V.wd2 - V.d",hd4:"=height/4",rh2:"=V.hd4 - V.d",d2r:a,t1:"=V.wd2 * COS(480000 / V.d2r)",t2:"=V.hd4 * SIN(480000 / V.d2r)",da:"=(ATAN2(V.t1,V.t2) * V.d2r)","2da":"=V.da * 2",cd2:h,stAng1:"=V.cd2 - V.da",swAng1:"=V.cd2 + V.2da",swAng3:"=V.cd2 - V.2da",rw3:"=V.wd2 / 4",rh3:"=V.hd4 / 4",ct1:"=V.hd4 * COS(V.stAng1 / V.d2r)",st1:"=V.wd2 * SIN(V.stAng1 / V.d2r)",m1:"=SQRT(V.ct1*V.ct1 + V.st1*V.st1)",n1:"=V.wd2 * V.hd4 / V.m1",dx1:"=V.n1 * COS(V.stAng1 / V.d2r)",dy1:"=V.n1 * SIN(V.stAng1 / V.d2r)",hc:y,x1:"=V.hc + V.dx1",y1:"=V.hd4 + V.dy1",ct3:"=V.rh3 * COS(V.da / V.d2r)",st3:"=V.rw3 * SIN(V.da / V.d2r)",m3:"=SQRT(V.ct3*V.ct3 + V.st3*V.st3)",n3:"=V.rw3 * V.rh3 / V.m3",dx3:"=V.n3 * COS(V.da / V.d2r)",dy3:"=V.n3 * SIN(V.da / V.d2r)",x3:"=V.hc + V.dx3",b:n,vc3:"=height - V.rh3",y2:"=V.vc3 + V.dy3",x2:"=V.wd2 - V.rw2",cd:"=V.cd2 * 2",cx1:"=C(V.wd2,V.x1,A(V.wd2,V.hd4,V.stAng1),true)",cy1:"=C(V.hd4,V.y1,A(V.wd2,V.hd4,V.stAng1))",cx2:"=C(V.rw3,V.x3,A(V.rw3,V.rh3,V.da),true)",cy2:"=C(V.rh3,V.y2,A(V.rw3,V.rh3,V.da))",cx3:"=C(V.rw2,V.x2,A(V.rw2,V.rh2,V.cd2),true)",cy3:"=C(V.rh2,V.hd4,A(V.rw2,V.rh2,V.cd2))"},path:[[["M",c,o],["E","=V.cx1","=V.cy1","=V.wd2","=V.hd4",0,"=A(V.wd2,V.hd4,V.stAng1)","=A(V.wd2,V.hd4,(V.stAng1 + V.swAng1))","=IF(V.swAng1 > 0, FALSE, TRUE)"],["L","=V.x3",d],["E","=V.cx2","=V.cy2","=V.rw3","=V.rh3",0,"=A(V.rw3,V.rh3,V.da)","=A(V.rw3,V.rh3,(V.da + V.swAng3))","=IF(V.swAng3 > 0, FALSE, TRUE)"],["Z"],["M",s,"=V.hd4"],["E","=V.cx3","=V.cy3","=V.rw2","=V.rh2",0,"=A(V.rw2,V.rh2,V.cd2)","=A(V.rw2,V.rh2,(V.cd2 + -21600000))","=IF(-21600000 > 0, FALSE, TRUE)"],["Z"],{}]]},pieWedge:{variables:{d2r:a,g1:"=width * COS(13500000 / V.d2r)",g2:"=height * SIN(13500000 / V.d2r)",r:V,x1:"=width + V.g1",b:n,y1:"=height + V.g2",vc:f,hc:y,l:0,cd2:h,cd4:u,cx1:"=C(width,V.l,A(width,height,V.cd2),true)",cy1:"=C(height,V.b,A(width,height,V.cd2))"},connectionPoints:[{x:V,y:r},{x:e,y:n}],path:[[["M",0,n],["E","=V.cx1","=V.cy1",V,n,0,"=A(width,height,V.cd2)","=A(width,height,(V.cd2 + V.cd4))","=IF(V.cd4 > 0, FALSE, TRUE)"],["L",V,n],["Z"],{}]],textRect:{left:c,top:o,right:V,bottom:n}},leftCircularArrow:{variables:{adj1:12500,adj2:-1142319,adj3:1142319,adj4:h,adj5:12500,a5:"=MIN(MAX(0, V.adj5), 25000)",maxAdj1:"=V.a5 * 2",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",enAng:"=MIN(MAX(1, V.adj3), 21599999)",stAng:"=MIN(MAX(0, V.adj4), 21599999)",ss:i,th:"=V.ss * V.a1 / 100000",thh:"=V.ss * V.a5 / 100000",th2:"=V.th / 2",wd2:y,rw1:"=V.wd2 + V.th2 - V.thh",hd2:f,rh1:"=V.hd2 + V.th2 - V.thh",rw2:"=V.rw1 - V.th",rh2:"=V.rh1 - V.th",rw3:"=V.rw2 + V.th2",rh3:"=V.rh2 + V.th2",d2r:a,wtH:"=V.rw3 * SIN(V.enAng / V.d2r)",htH:"=V.rh3 * COS(V.enAng / V.d2r)",dxH:"=V.rw3 * COS(ATAN2(V.htH,V.wtH))",dyH:"=V.rh3 * SIN(ATAN2(V.htH,V.wtH))",hc:y,xH:"=V.hc + V.dxH",vc:f,yH:"=V.vc + V.dyH",rI:"=MIN(V.rw2, V.rh2)",u1:"=V.dxH * V.dxH",u2:"=V.dyH * V.dyH",u3:"=V.rI * V.rI",u4:"=V.u1 - V.u3",u5:"=V.u2 - V.u3",u6:"=V.u4 * V.u5 / V.u1",u7:"=V.u6 / V.u2",u8:"=1 - V.u7",u9:"=SQRT(V.u8)",u10:"=V.u4 / V.dxH",u11:"=V.u10 / V.dyH",u12:"=(1 + V.u9) / V.u11",u13:"=(ATAN2(1,V.u12) * V.d2r)",u14:"=V.u13 + 21600000",u15:"=IF(V.u13 > 0, V.u13, V.u14)",u16:"=V.u15 - V.enAng",u17:"=V.u16 + 21600000",u18:"=IF(V.u16 > 0, V.u16, V.u17)",cd2:h,u19:"=V.u18 - V.cd2",u20:"=V.u18 - 21600000",u21:"=IF(V.u19 > 0, V.u20, V.u18)",u22:"=ABS(V.u21)",minAng:"=V.u22 * -1",u23:"=ABS(V.adj2)",a2:"=V.u23 * -1",aAng:"=MIN(MAX(V.minAng, V.a2), 0)",ptAng:"=V.enAng + V.aAng",wtA:"=V.rw3 * SIN(V.ptAng / V.d2r)",htA:"=V.rh3 * COS(V.ptAng / V.d2r)",dxA:"=V.rw3 * COS(ATAN2(V.htA,V.wtA))",dyA:"=V.rh3 * SIN(ATAN2(V.htA,V.wtA))",xA:"=V.hc + V.dxA",yA:"=V.vc + V.dyA",wtE:"=V.rw1 * SIN(V.stAng / V.d2r)",htE:"=V.rh1 * COS(V.stAng / V.d2r)",dxE:"=V.rw1 * COS(ATAN2(V.htE,V.wtE))",dyE:"=V.rh1 * SIN(ATAN2(V.htE,V.wtE))",xE:"=V.hc + V.dxE",yE:"=V.vc + V.dyE",wtD:"=V.rw2 * SIN(V.stAng / V.d2r)",htD:"=V.rh2 * COS(V.stAng / V.d2r)",dxD:"=V.rw2 * COS(ATAN2(V.htD,V.wtD))",dyD:"=V.rh2 * SIN(ATAN2(V.htD,V.wtD))",xD:"=V.hc + V.dxD",yD:"=V.vc + V.dyD",dxG:"=V.thh * COS(V.ptAng / V.d2r)",dyG:"=V.thh * SIN(V.ptAng / V.d2r)",xG:"=V.xH + V.dxG",yG:"=V.yH + V.dyG",dxB:"=V.thh * COS(V.ptAng / V.d2r)",dyB:"=V.thh * SIN(V.ptAng / V.d2r)",xB:"=V.xH - V.dxB",yB:"=V.yH - V.dyB",sx1:"=V.xB - V.hc",sy1:"=V.yB - V.vc",sx2:"=V.xG - V.hc",sy2:"=V.yG - V.vc",rO:"=MIN(V.rw1, V.rh1)",x1O:"=V.sx1 * V.rO / V.rw1",y1O:"=V.sy1 * V.rO / V.rh1",x2O:"=V.sx2 * V.rO / V.rw1",y2O:"=V.sy2 * V.rO / V.rh1",dxO:"=V.x2O - V.x1O",dyO:"=V.y2O - V.y1O",dO:"=SQRT(V.dxO*V.dxO + V.dyO*V.dyO)",q1:"=V.x1O * V.y2O",q2:"=V.x2O * V.y1O",DO:"=V.q1 - V.q2",q3:"=V.rO * V.rO",q4:"=V.dO * V.dO",q5:"=V.q3 * V.q4",q6:"=V.DO * V.DO",q7:"=V.q5 - V.q6",q8:"=MAX(V.q7, 0)",sdelO:"=SQRT(V.q8)",ndyO:"=V.dyO * -1",sdyO:"=IF(V.ndyO > 0, -1, 1)",q9:"=V.sdyO * V.dxO",q10:"=V.q9 * V.sdelO",q11:"=V.DO * V.dyO",dxF1:"=(V.q11 + V.q10) / V.q4",q12:"=V.q11 - V.q10",dxF2:"=V.q12 / V.q4",adyO:"=ABS(V.dyO)",q13:"=V.adyO * V.sdelO",q14:"=V.DO * V.dxO / -1",dyF1:"=(V.q14 + V.q13) / V.q4",q15:"=V.q14 - V.q13",dyF2:"=V.q15 / V.q4",q16:"=V.x2O - V.dxF1",q17:"=V.x2O - V.dxF2",q18:"=V.y2O - V.dyF1",q19:"=V.y2O - V.dyF2",q20:"=SQRT(V.q16*V.q16 + V.q18*V.q18)",q21:"=SQRT(V.q17*V.q17 + V.q19*V.q19)",q22:"=V.q21 - V.q20",dxF:"=IF(V.q22 > 0, V.dxF1, V.dxF2)",dyF:"=IF(V.q22 > 0, V.dyF1, V.dyF2)",sdxF:"=V.dxF * V.rw1 / V.rO",sdyF:"=V.dyF * V.rh1 / V.rO",xF:"=V.hc + V.sdxF",yF:"=V.vc + V.sdyF",x1I:"=V.sx1 * V.rI / V.rw2",y1I:"=V.sy1 * V.rI / V.rh2",x2I:"=V.sx2 * V.rI / V.rw2",y2I:"=V.sy2 * V.rI / V.rh2",dxI:"=V.x2I - V.x1I",dyI:"=V.y2I - V.y1I",dI:"=SQRT(V.dxI*V.dxI + V.dyI*V.dyI)",v1:"=V.x1I * V.y2I",v2:"=V.x2I * V.y1I",DI:"=V.v1 - V.v2",v3:"=V.rI * V.rI",v4:"=V.dI * V.dI",v5:"=V.v3 * V.v4",v6:"=V.DI * V.DI",v7:"=V.v5 - V.v6",v8:"=MAX(V.v7, 0)",sdelI:"=SQRT(V.v8)",v9:"=V.sdyO * V.dxI",v10:"=V.v9 * V.sdelI",v11:"=V.DI * V.dyI",dxC1:"=(V.v11 + V.v10) / V.v4",v12:"=V.v11 - V.v10",dxC2:"=V.v12 / V.v4",adyI:"=ABS(V.dyI)",v13:"=V.adyI * V.sdelI",v14:"=V.DI * V.dxI / -1",dyC1:"=(V.v14 + V.v13) / V.v4",v15:"=V.v14 - V.v13",dyC2:"=V.v15 / V.v4",v16:"=V.x1I - V.dxC1",v17:"=V.x1I - V.dxC2",v18:"=V.y1I - V.dyC1",v19:"=V.y1I - V.dyC2",v20:"=SQRT(V.v16*V.v16 + V.v18*V.v18)",v21:"=SQRT(V.v17*V.v17 + V.v19*V.v19)",v22:"=V.v21 - V.v20",dxC:"=IF(V.v22 > 0, V.dxC1, V.dxC2)",dyC:"=IF(V.v22 > 0, V.dyC1, V.dyC2)",sdxC:"=V.dxC * V.rw2 / V.rI",sdyC:"=V.dyC * V.rh2 / V.rI",xC:"=V.hc + V.sdxC",yC:"=V.vc + V.sdyC",ist0:"=(ATAN2(V.sdxC,V.sdyC) * V.d2r)",ist1:"=V.ist0 + 21600000",istAng0:"=IF(V.ist0 > 0, V.ist0, V.ist1)",isw1:"=V.stAng - V.istAng0",isw2:"=V.isw1 + 21600000",iswAng0:"=IF(V.isw1 > 0, V.isw1, V.isw2)",istAng:"=V.istAng0 + V.iswAng0",iswAng:"=0 - V.iswAng0",p1:"=V.xF - V.xC",p2:"=V.yF - V.yC",p3:"=SQRT(V.p1*V.p1 + V.p2*V.p2)",p4:"=V.p3 / 2",p5:"=V.p4 - V.thh",xGp:"=IF(V.p5 > 0, V.xF, V.xG)",yGp:"=IF(V.p5 > 0, V.yF, V.yG)",xBp:"=IF(V.p5 > 0, V.xC, V.xB)",yBp:"=IF(V.p5 > 0, V.yC, V.yB)",en0:"=(ATAN2(V.sdxF,V.sdyF) * V.d2r)",en1:"=V.en0 + 21600000",en2:"=IF(V.en0 > 0, V.en0, V.en1)",sw0:"=V.en2 - V.stAng",sw1:"=V.sw0 - 21600000",swAng:"=IF(V.sw0 > 0, V.sw1, V.sw0)",stAng0:"=V.stAng + V.swAng",swAng0:"=0 - V.swAng",wtI:"=V.rw3 * SIN(V.stAng / V.d2r)",htI:"=V.rh3 * COS(V.stAng / V.d2r)",_dxI:"=V.rw3 * COS(ATAN2(V.htI,V.wtI))",_dyI:"=V.rh3 * SIN(ATAN2(V.htI,V.wtI))",xI:"=V.hc + V._dxI",yI:"=V.vc + V._dyI",cd4:u,aI:"=V.stAng + V.cd4",aA:"=V.ptAng - V.cd4",aB:"=V.ptAng + V.cd2",idx:"=V.rw1 * COS(2700000 / V.d2r)",idy:"=V.rh1 * SIN(2700000 / V.d2r)",il:"=V.hc - V.idx",ir:"=V.hc + V.idx",it:"=V.vc - V.idy",ib:"=V.vc + V.idy",cx1:"=C(V.rw2,V.xD,A(V.rw2,V.rh2,V.istAng),true)",cy1:"=C(V.rh2,V.yD,A(V.rw2,V.rh2,V.istAng))",cx2:"=C(V.rw1,V.xF,A(V.rw1,V.rh1,V.stAng0),true)",cy2:"=C(V.rh1,V.yF,A(V.rw1,V.rh1,V.stAng0))"},adjustInfo:[["adj1",12500],["adj2",-1142319],["adj3",1142319],["adj4",108e5],["adj5",12500]],connectionPoints:[{x:"=V.xI",y:"=V.yI"},{x:"=V.xGp",y:"=V.yGp"},{x:"=V.xA",y:"=V.yA"},{x:"=V.xBp",y:"=V.yBp"}],controlsInfo:[{type:"ahPolar",gdRefAng:"adj2",minAng:"minAng",maxAng:0,position:{x:"xA",y:"yA"},point:["=V.xA","=V.yA"]},{type:"ahPolar",gdRefAng:"adj4",minAng:0,maxAng:21599999,position:{x:"xE",y:"yE"},point:["=V.xE","=V.yE"]},{type:"ahPolar",gdRefR:"adj1",minR:0,maxR:"maxAdj1",gdRefAng:"adj3",minAng:0,maxAng:21599999,position:{x:"xF",y:"yF"},point:["=V.xF","=V.yF"]},{type:"ahPolar",gdRefR:"adj5",minR:0,maxR:25e3,position:{x:"xB",y:"yB"},point:["=V.xB","=V.yB"]}],path:[[["M","=V.xE","=V.yE"],["L","=V.xD","=V.yD"],["E","=V.cx1","=V.cy1","=V.rw2","=V.rh2",0,"=A(V.rw2,V.rh2,V.istAng)","=A(V.rw2,V.rh2,(V.istAng + V.iswAng))","=IF(V.iswAng > 0, FALSE, TRUE)"],["L","=V.xBp","=V.yBp"],["L","=V.xA","=V.yA"],["L","=V.xGp","=V.yGp"],["L","=V.xF","=V.yF"],["E","=V.cx2","=V.cy2","=V.rw1","=V.rh1",0,"=A(V.rw1,V.rh1,V.stAng0)","=A(V.rw1,V.rh1,(V.stAng0 + V.swAng0))","=IF(V.swAng0 > 0, FALSE, TRUE)"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},leftRightCircularArrow:{variables:{adj1:12500,adj2:1142319,adj3:20457681,adj4:11942319,adj5:12500,a5:"=MIN(MAX(0, V.adj5), 25000)",maxAdj1:"=V.a5 * 2",a1:"=MIN(MAX(0, V.adj1), V.maxAdj1)",enAng:"=MIN(MAX(1, V.adj3), 21599999)",stAng:"=MIN(MAX(0, V.adj4), 21599999)",ss:i,th:"=V.ss * V.a1 / 100000",thh:"=V.ss * V.a5 / 100000",th2:"=V.th / 2",wd2:y,rw1:"=V.wd2 + V.th2 - V.thh",hd2:f,rh1:"=V.hd2 + V.th2 - V.thh",rw2:"=V.rw1 - V.th",rh2:"=V.rh1 - V.th",rw3:"=V.rw2 + V.th2",rh3:"=V.rh2 + V.th2",d2r:a,wtH:"=V.rw3 * SIN(V.enAng / V.d2r)",htH:"=V.rh3 * COS(V.enAng / V.d2r)",dxH:"=V.rw3 * COS(ATAN2(V.htH,V.wtH))",dyH:"=V.rh3 * SIN(ATAN2(V.htH,V.wtH))",hc:y,xH:"=V.hc + V.dxH",vc:f,yH:"=V.vc + V.dyH",rI:"=MIN(V.rw2, V.rh2)",u1:"=V.dxH * V.dxH",u2:"=V.dyH * V.dyH",u3:"=V.rI * V.rI",u4:"=V.u1 - V.u3",u5:"=V.u2 - V.u3",u6:"=V.u4 * V.u5 / V.u1",u7:"=V.u6 / V.u2",u8:"=1 - V.u7",u9:"=SQRT(V.u8)",u10:"=V.u4 / V.dxH",u11:"=V.u10 / V.dyH",u12:"=(1 + V.u9) / V.u11",u13:"=(ATAN2(1,V.u12) * V.d2r)",u14:"=V.u13 + 21600000",u15:"=IF(V.u13 > 0, V.u13, V.u14)",u16:"=V.u15 - V.enAng",u17:"=V.u16 + 21600000",u18:"=IF(V.u16 > 0, V.u16, V.u17)",cd2:h,u19:"=V.u18 - V.cd2",u20:"=V.u18 - 21600000",u21:"=IF(V.u19 > 0, V.u20, V.u18)",maxAng:"=ABS(V.u21)",aAng:"=MIN(MAX(0, V.adj2), V.maxAng)",ptAng:"=V.enAng + V.aAng",wtA:"=V.rw3 * SIN(V.ptAng / V.d2r)",htA:"=V.rh3 * COS(V.ptAng / V.d2r)",dxA:"=V.rw3 * COS(ATAN2(V.htA,V.wtA))",dyA:"=V.rh3 * SIN(ATAN2(V.htA,V.wtA))",xA:"=V.hc + V.dxA",yA:"=V.vc + V.dyA",dxG:"=V.thh * COS(V.ptAng / V.d2r)",dyG:"=V.thh * SIN(V.ptAng / V.d2r)",xG:"=V.xH + V.dxG",yG:"=V.yH + V.dyG",dxB:"=V.thh * COS(V.ptAng / V.d2r)",dyB:"=V.thh * SIN(V.ptAng / V.d2r)",xB:"=V.xH - V.dxB",yB:"=V.yH - V.dyB",sx1:"=V.xB - V.hc",sy1:"=V.yB - V.vc",sx2:"=V.xG - V.hc",sy2:"=V.yG - V.vc",rO:"=MIN(V.rw1, V.rh1)",x1O:"=V.sx1 * V.rO / V.rw1",y1O:"=V.sy1 * V.rO / V.rh1",x2O:"=V.sx2 * V.rO / V.rw1",y2O:"=V.sy2 * V.rO / V.rh1",dxO:"=V.x2O - V.x1O",dyO:"=V.y2O - V.y1O",dO:"=SQRT(V.dxO*V.dxO + V.dyO*V.dyO)",q1:"=V.x1O * V.y2O",q2:"=V.x2O * V.y1O",DO:"=V.q1 - V.q2",q3:"=V.rO * V.rO",q4:"=V.dO * V.dO",q5:"=V.q3 * V.q4",q6:"=V.DO * V.DO",q7:"=V.q5 - V.q6",q8:"=MAX(V.q7, 0)",sdelO:"=SQRT(V.q8)",ndyO:"=V.dyO * -1",sdyO:"=IF(V.ndyO > 0, -1, 1)",q9:"=V.sdyO * V.dxO",q10:"=V.q9 * V.sdelO",q11:"=V.DO * V.dyO",dxF1:"=(V.q11 + V.q10) / V.q4",q12:"=V.q11 - V.q10",dxF2:"=V.q12 / V.q4",adyO:"=ABS(V.dyO)",q13:"=V.adyO * V.sdelO",q14:"=V.DO * V.dxO / -1",dyF1:"=(V.q14 + V.q13) / V.q4",q15:"=V.q14 - V.q13",dyF2:"=V.q15 / V.q4",q16:"=V.x2O - V.dxF1",q17:"=V.x2O - V.dxF2",q18:"=V.y2O - V.dyF1",q19:"=V.y2O - V.dyF2",q20:"=SQRT(V.q16*V.q16 + V.q18*V.q18)",q21:"=SQRT(V.q17*V.q17 + V.q19*V.q19)",q22:"=V.q21 - V.q20",dxF:"=IF(V.q22 > 0, V.dxF1, V.dxF2)",dyF:"=IF(V.q22 > 0, V.dyF1, V.dyF2)",sdxF:"=V.dxF * V.rw1 / V.rO",sdyF:"=V.dyF * V.rh1 / V.rO",xF:"=V.hc + V.sdxF",yF:"=V.vc + V.sdyF",x1I:"=V.sx1 * V.rI / V.rw2",y1I:"=V.sy1 * V.rI / V.rh2",x2I:"=V.sx2 * V.rI / V.rw2",y2I:"=V.sy2 * V.rI / V.rh2",dxI:"=V.x2I - V.x1I",dyI:"=V.y2I - V.y1I",dI:"=SQRT(V.dxI*V.dxI + V.dyI*V.dyI)",v1:"=V.x1I * V.y2I",v2:"=V.x2I * V.y1I",DI:"=V.v1 - V.v2",v3:"=V.rI * V.rI",v4:"=V.dI * V.dI",v5:"=V.v3 * V.v4",v6:"=V.DI * V.DI",v7:"=V.v5 - V.v6",v8:"=MAX(V.v7, 0)",sdelI:"=SQRT(V.v8)",v9:"=V.sdyO * V.dxI",v10:"=V.v9 * V.sdelI",v11:"=V.DI * V.dyI",dxC1:"=(V.v11 + V.v10) / V.v4",v12:"=V.v11 - V.v10",dxC2:"=V.v12 / V.v4",adyI:"=ABS(V.dyI)",v13:"=V.adyI * V.sdelI",v14:"=V.DI * V.dxI / -1",dyC1:"=(V.v14 + V.v13) / V.v4",v15:"=V.v14 - V.v13",dyC2:"=V.v15 / V.v4",v16:"=V.x1I - V.dxC1",v17:"=V.x1I - V.dxC2",v18:"=V.y1I - V.dyC1",v19:"=V.y1I - V.dyC2",v20:"=SQRT(V.v16*V.v16 + V.v18*V.v18)",v21:"=SQRT(V.v17*V.v17 + V.v19*V.v19)",v22:"=V.v21 - V.v20",dxC:"=IF(V.v22 > 0, V.dxC1, V.dxC2)",dyC:"=IF(V.v22 > 0, V.dyC1, V.dyC2)",sdxC:"=V.dxC * V.rw2 / V.rI",sdyC:"=V.dyC * V.rh2 / V.rI",xC:"=V.hc + V.sdxC",yC:"=V.vc + V.sdyC",wtI:"=V.rw3 * SIN(V.stAng / V.d2r)",htI:"=V.rh3 * COS(V.stAng / V.d2r)",_dxI:"=V.rw3 * COS(ATAN2(V.htI,V.wtI))",_dyI:"=V.rh3 * SIN(ATAN2(V.htI,V.wtI))",xI:"=V.hc + V._dxI",yI:"=V.vc + V._dyI",lptAng:"=V.stAng - V.aAng",wtL:"=V.rw3 * SIN(V.lptAng / V.d2r)",htL:"=V.rh3 * COS(V.lptAng / V.d2r)",dxL:"=V.rw3 * COS(ATAN2(V.htL,V.wtL))",dyL:"=V.rh3 * SIN(ATAN2(V.htL,V.wtL))",xL:"=V.hc + V.dxL",yL:"=V.vc + V.dyL",dxK:"=V.thh * COS(V.lptAng / V.d2r)",dyK:"=V.thh * SIN(V.lptAng / V.d2r)",xK:"=V.xI + V.dxK",yK:"=V.yI + V.dyK",dxJ:"=V.thh * COS(V.lptAng / V.d2r)",dyJ:"=V.thh * SIN(V.lptAng / V.d2r)",xJ:"=V.xI - V.dxJ",yJ:"=V.yI - V.dyJ",p1:"=V.xF - V.xC",p2:"=V.yF - V.yC",p3:"=SQRT(V.p1*V.p1 + V.p2*V.p2)",p4:"=V.p3 / 2",p5:"=V.p4 - V.thh",xGp:"=IF(V.p5 > 0, V.xF, V.xG)",yGp:"=IF(V.p5 > 0, V.yF, V.yG)",xBp:"=IF(V.p5 > 0, V.xC, V.xB)",yBp:"=IF(V.p5 > 0, V.yC, V.yB)",en0:"=(ATAN2(V.sdxF,V.sdyF) * V.d2r)",en1:"=V.en0 + 21600000",en2:"=IF(V.en0 > 0, V.en0, V.en1)",od0:"=V.en2 - V.enAng",od1:"=V.od0 + 21600000",od2:"=IF(V.od0 > 0, V.od0, V.od1)",st0:"=V.stAng - V.od2",st1:"=V.st0 + 21600000",st2:"=IF(V.st0 > 0, V.st0, V.st1)",sw0:"=V.en2 - V.st2",sw1:"=V.sw0 + 21600000",swAng:"=IF(V.sw0 > 0, V.sw0, V.sw1)",ist0:"=(ATAN2(V.sdxC,V.sdyC) * V.d2r)",ist1:"=V.ist0 + 21600000",istAng:"=IF(V.ist0 > 0, V.ist0, V.ist1)",id0:"=V.istAng - V.enAng",id1:"=V.id0 - 21600000",id2:"=IF(V.id0 > 0, V.id1, V.id0)",ien0:"=V.stAng - V.id2",ien1:"=V.ien0 - 21600000",ien2:"=IF(V.ien1 > 0, V.ien1, V.ien0)",isw1:"=V.ien2 - V.istAng",isw2:"=V.isw1 - 21600000",iswAng:"=IF(V.isw1 > 0, V.isw2, V.isw1)",wtE:"=V.rw1 * SIN(V.st2 / V.d2r)",htE:"=V.rh1 * COS(V.st2 / V.d2r)",dxE:"=V.rw1 * COS(ATAN2(V.htE,V.wtE))",dyE:"=V.rh1 * SIN(ATAN2(V.htE,V.wtE))",xE:"=V.hc + V.dxE",yE:"=V.vc + V.dyE",wtD:"=V.rw2 * SIN(V.ien2 / V.d2r)",htD:"=V.rh2 * COS(V.ien2 / V.d2r)",dxD:"=V.rw2 * COS(ATAN2(V.htD,V.wtD))",dyD:"=V.rh2 * SIN(ATAN2(V.htD,V.wtD))",xD:"=V.hc + V.dxD",yD:"=V.vc + V.dyD",xKp:"=IF(V.p5 > 0, V.xE, V.xK)",yKp:"=IF(V.p5 > 0, V.yE, V.yK)",xJp:"=IF(V.p5 > 0, V.xD, V.xJ)",yJp:"=IF(V.p5 > 0, V.yD, V.yJ)",cd4:u,aL:"=V.lptAng - V.cd4",aA:"=V.ptAng + V.cd4",aB:"=V.ptAng + V.cd2",aJ:"=V.lptAng + V.cd2",idx:"=V.rw1 * COS(2700000 / V.d2r)",idy:"=V.rh1 * SIN(2700000 / V.d2r)",il:"=V.hc - V.idx",ir:"=V.hc + V.idx",it:"=V.vc - V.idy",ib:"=V.vc + V.idy",cx1:"=C(V.rw1,V.xE,A(V.rw1,V.rh1,V.st2),true)",cy1:"=C(V.rh1,V.yE,A(V.rw1,V.rh1,V.st2))",cx2:"=C(V.rw2,V.xC,A(V.rw2,V.rh2,V.istAng),true)",cy2:"=C(V.rh2,V.yC,A(V.rw2,V.rh2,V.istAng))"},adjustInfo:[["adj1",12500],["adj2",1142319],["adj3",20457681],["adj4",11942319],["adj5",12500]],connectionPoints:[{x:"=V.xL",y:"=V.yL"},{x:"=V.xKp",y:"=V.yKp"},{x:"=V.xGp",y:"=V.yGp"},{x:"=V.xA",y:"=V.yA"},{x:"=V.xBp",y:"=V.yBp"},{x:"=V.xJp",y:"=V.yJp"}],controlsInfo:[{type:"ahPolar",gdRefAng:"adj2",minAng:0,maxAng:"maxAng",position:{x:"xA",y:"yA"},point:["=V.xA","=V.yA"]},{type:"ahPolar",gdRefAng:"adj4",minAng:0,maxAng:21599999,position:{x:"xE",y:"yE"},point:["=V.xE","=V.yE"]},{type:"ahPolar",gdRefR:"adj1",minR:0,maxR:"maxAdj1",gdRefAng:"adj3",minAng:0,maxAng:21599999,position:{x:"xF",y:"yF"},point:["=V.xF","=V.yF"]},{type:"ahPolar",gdRefR:"adj5",minR:0,maxR:25e3,position:{x:"xB",y:"yB"},point:["=V.xB","=V.yB"]}],path:[[["M","=V.xL","=V.yL"],["L","=V.xKp","=V.yKp"],["L","=V.xE","=V.yE"],["E","=V.cx1","=V.cy1","=V.rw1","=V.rh1",0,"=A(V.rw1,V.rh1,V.st2)","=A(V.rw1,V.rh1,(V.st2 + V.swAng))","=IF(V.swAng > 0, FALSE, TRUE)"],["L","=V.xGp","=V.yGp"],["L","=V.xA","=V.yA"],["L","=V.xBp","=V.yBp"],["L","=V.xC","=V.yC"],["E","=V.cx2","=V.cy2","=V.rw2","=V.rh2",0,"=A(V.rw2,V.rh2,V.istAng)","=A(V.rw2,V.rh2,(V.istAng + V.iswAng))","=IF(V.iswAng > 0, FALSE, TRUE)"],["L","=V.xJp","=V.yJp"],["Z"],{}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},swooshArrow:{variables:{adj1:25e3,adj2:16667,a1:"=MIN(MAX(1, V.adj1), 75000)",ss:i,maxAdj2:"=70000 * width / V.ss",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",ad1:"=height * V.a1 / 100000",ad2:"=V.ss * V.a2 / 100000",r:V,xB:"=width - V.ad2",t:0,ssd8:"=V.ss / 8",yB:"=V.ssd8",cd4:u,alfa:"=V.cd4 / 14",d2r:a,dx0:"=V.ssd8 * TAN(V.alfa / V.d2r)",xC:"=V.xB - V.dx0",dx1:"=V.ad1 * TAN(V.alfa / V.d2r)",yF:"=V.yB + V.ad1",xF:"=V.xB + V.dx1",xE:"=V.xF + V.dx0",yE:"=V.yF + V.ssd8",dy2:"=V.yE",dy22:"=V.dy2 / 2",dy3:"=height / 20",yD:"=V.dy22 - V.dy3",hd6:"=height/6",dy4:"=V.hd6",yP1:"=V.hd6 + V.dy4",wd6:"=width/6",xP1:"=V.wd6",dy5:"=V.hd6 / 2",yP2:"=V.yF + V.dy5",wd4:"=width/4",xP2:"=V.wd4",l:0,b:n},adjustInfo:[["adj1",25e3],["adj2",16667]],connectionPoints:[{x:0,y:n},{x:"=V.xC",y:0},{x:V,y:"=V.yD"},{x:"=V.xE",y:"=V.yE"}],controlsInfo:[{type:"ahXY",gdRefY:"adj1",minY:1,maxY:75e3,position:{x:"xF",y:"yF"},point:["=V.xF","=V.yF"]},{type:"ahXY",gdRefX:"adj2",minX:0,maxX:"maxAdj2",position:{x:"xB",y:"yB"},point:["=V.xB","=V.yB"]}],path:[[["M",0,n],["Q","=V.xP1","=V.yP1","=V.xB","=V.yB"],["L","=V.xC",0],["L",V,"=V.yD"],["L","=V.xE","=V.yE"],["L","=V.xF","=V.yF"],["Q","=V.xP2","=V.yP2",0,n],["Z"],{}]]},cloud:{variables:{il:"=width * 2977 / 21600",it:"=height * 3262 / 21600",ir:"=width * 17087 / 21600",ib:"=height * 17337 / 21600",g27:"=width * 67 / 21600",g28:"=height * 21577 / 21600",g29:"=width * 21582 / 21600",g30:"=height * 1235 / 21600",vc:f,hc:y,_scaleX1:"= width / 43200",_scaleY1:"= height / 43200",cx1:"=C(6753,3900,A(6753,9190,-11429249),true)",cy1:"=C(9190,14370,A(6753,9190,-11429249))",cx2:"=C(5333,P(V.cx1,6753,A(6753,9190,(-11429249 + 7426832)),true),A(5333,7267,-8646143),true)",cy2:"=C(7267,P(V.cy1,9190,A(6753,9190,(-11429249 + 7426832))),A(5333,7267,-8646143))",cx3:"=C(4365,P(V.cx2,5333,A(5333,7267,(-8646143 + 5396714)),true),A(4365,5945,-8748475),true)",cy3:"=C(5945,P(V.cy2,7267,A(5333,7267,(-8646143 + 5396714))),A(4365,5945,-8748475))",cx4:"=C(4857,P(V.cx3,4365,A(4365,5945,(-8748475 + 5983381)),true),A(4857,6595,-7859164),true)",cy4:"=C(6595,P(V.cy3,5945,A(4365,5945,(-8748475 + 5983381))),A(4857,6595,-7859164))",cx5:"=C(5333,P(V.cx4,4857,A(4857,6595,(-7859164 + 7034504)),true),A(5333,7273,-4722533),true)",cy5:"=C(7273,P(V.cy4,6595,A(4857,6595,(-7859164 + 7034504))),A(5333,7273,-4722533))",cx6:"=C(6775,P(V.cx5,5333,A(5333,7273,(-4722533 + 6541615)),true),A(6775,9220,-2776035),true)",cy6:"=C(9220,P(V.cy5,7273,A(5333,7273,(-4722533 + 6541615))),A(6775,9220,-2776035))",cx7:"=C(5785,P(V.cx6,6775,A(6775,9220,(-2776035 + 7816140)),true),A(5785,7867,37501),true)",cy7:"=C(7867,P(V.cy6,9220,A(6775,9220,(-2776035 + 7816140))),A(5785,7867,37501))",cx8:"=C(6752,P(V.cx7,5785,A(5785,7867,(37501 + 6842000)),true),A(6752,9215,1347096),true)",cy8:"=C(9215,P(V.cy7,7867,A(5785,7867,(37501 + 6842000))),A(6752,9215,1347096))",cx9:"=C(7720,P(V.cx8,6752,A(6752,9215,(1347096 + 6910353)),true),A(7720,10543,3974558),true)",cy9:"=C(10543,P(V.cy8,9215,A(6752,9215,(1347096 + 6910353))),A(7720,10543,3974558))",cx10:"=C(4360,P(V.cx9,7720,A(7720,10543,(3974558 + 4542661)),true),A(4360,5918,-16496525),true)",cy10:"=C(5918,P(V.cy9,10543,A(7720,10543,(3974558 + 4542661))),A(4360,5918,-16496525))",cx11:"=C(4345,P(V.cx10,4360,A(4360,5918,(-16496525 + 8804134)),true),A(4345,5945,-14809710),true)",cy11:"=C(5945,P(V.cy10,5918,A(4360,5918,(-16496525 + 8804134))),A(4345,5945,-14809710))",_scaleX2:"= width / 43200",_scaleY2:"= height / 43200",cx12:"=C(4345,4693,A(4345,5945,5204520),true)",cy12:"=C(5945,26177,A(4345,5945,5204520))",cx13:"=C(4360,6928,A(4360,5918,4416628),true)",cy13:"=C(5918,34899,A(4360,5918,4416628))",cx14:"=C(6752,16478,A(6752,9215,8257449),true)",cy14:"=C(9215,39090,A(6752,9215,8257449))",cx15:"=C(6752,28827,A(6752,9215,387196),true)",cy15:"=C(9215,34751,A(6752,9215,387196))",cx16:"=C(5785,34129,A(5785,7867,-4217541),true)",cy16:"=C(7867,22954,A(5785,7867,-4217541))",cx17:"=C(5333,41798,A(5333,7273,1819082),true)",cy17:"=C(7273,15354,A(5333,7273,1819082))",cx18:"=C(4857,38324,A(4857,6595,-824660),true)",cy18:"=C(6595,5426,A(4857,6595,-824660))",cx19:"=C(4857,29078,A(4857,6595,-8950887),true)",cy19:"=C(6595,3952,A(4857,6595,-8950887))",cx20:"=C(4365,22141,A(4365,5945,-9809656),true)",cy20:"=C(5945,4720,A(4365,5945,-9809656))",cx21:"=C(6753,14000,A(6753,9190,-4002417),true)",cy21:"=C(9190,5192,A(6753,9190,-4002417))",cx22:"=C(6753,4127,A(6753,9190,9459261),true)",cy22:"=C(9190,15789,A(6753,9190,9459261))"},connectionPoints:[{x:"=V.g29",y:r},{x:e,y:"=V.g28"},{x:"=V.g27",y:r},{x:e,y:"=V.g30"}],path:[[["M","=3900 * V._scaleX1","=14370 * V._scaleY1"],["E","=V.cx1 * V._scaleX1","=V.cy1 * V._scaleY1","=6753 * V._scaleX1","=9190 * V._scaleY1",0,"=A(6753,9190,-11429249)","=A(6753,9190,(-11429249 + 7426832))","=IF(7426832 > 0, FALSE, TRUE)"],["E","=V.cx2 * V._scaleX1","=V.cy2 * V._scaleY1","=5333 * V._scaleX1","=7267 * V._scaleY1",0,"=A(5333,7267,-8646143)","=A(5333,7267,(-8646143 + 5396714))","=IF(5396714 > 0, FALSE, TRUE)"],["E","=V.cx3 * V._scaleX1","=V.cy3 * V._scaleY1","=4365 * V._scaleX1","=5945 * V._scaleY1",0,"=A(4365,5945,-8748475)","=A(4365,5945,(-8748475 + 5983381))","=IF(5983381 > 0, FALSE, TRUE)"],["E","=V.cx4 * V._scaleX1","=V.cy4 * V._scaleY1","=4857 * V._scaleX1","=6595 * V._scaleY1",0,"=A(4857,6595,-7859164)","=A(4857,6595,(-7859164 + 7034504))","=IF(7034504 > 0, FALSE, TRUE)"],["E","=V.cx5 * V._scaleX1","=V.cy5 * V._scaleY1","=5333 * V._scaleX1","=7273 * V._scaleY1",0,"=A(5333,7273,-4722533)","=A(5333,7273,(-4722533 + 6541615))","=IF(6541615 > 0, FALSE, TRUE)"],["E","=V.cx6 * V._scaleX1","=V.cy6 * V._scaleY1","=6775 * V._scaleX1","=9220 * V._scaleY1",0,"=A(6775,9220,-2776035)","=A(6775,9220,(-2776035 + 7816140))","=IF(7816140 > 0, FALSE, TRUE)"],["E","=V.cx7 * V._scaleX1","=V.cy7 * V._scaleY1","=5785 * V._scaleX1","=7867 * V._scaleY1",0,"=A(5785,7867,37501)","=A(5785,7867,(37501 + 6842000))","=IF(6842000 > 0, FALSE, TRUE)"],["E","=V.cx8 * V._scaleX1","=V.cy8 * V._scaleY1","=6752 * V._scaleX1","=9215 * V._scaleY1",0,"=A(6752,9215,1347096)","=A(6752,9215,(1347096 + 6910353))","=IF(6910353 > 0, FALSE, TRUE)"],["E","=V.cx9 * V._scaleX1","=V.cy9 * V._scaleY1","=7720 * V._scaleX1","=10543 * V._scaleY1",0,"=A(7720,10543,3974558)","=A(7720,10543,(3974558 + 4542661))","=IF(4542661 > 0, FALSE, TRUE)"],["E","=V.cx10 * V._scaleX1","=V.cy10 * V._scaleY1","=4360 * V._scaleX1","=5918 * V._scaleY1",0,"=A(4360,5918,-16496525)","=A(4360,5918,(-16496525 + 8804134))","=IF(8804134 > 0, FALSE, TRUE)"],["E","=V.cx11 * V._scaleX1","=V.cy11 * V._scaleY1","=4345 * V._scaleX1","=5945 * V._scaleY1",0,"=A(4345,5945,-14809710)","=A(4345,5945,(-14809710 + 9151131))","=IF(9151131 > 0, FALSE, TRUE)"],["Z"],{}],[["M","=4693 * V._scaleX2","=26177 * V._scaleY2"],["E","=V.cx12 * V._scaleX2","=V.cy12 * V._scaleY2","=4345 * V._scaleX2","=5945 * V._scaleY2",0,"=A(4345,5945,5204520)","=A(4345,5945,(5204520 + 1585770))","=IF(1585770 > 0, FALSE, TRUE)"],["M","=6928 * V._scaleX2","=34899 * V._scaleY2"],["E","=V.cx13 * V._scaleX2","=V.cy13 * V._scaleY2","=4360 * V._scaleX2","=5918 * V._scaleY2",0,"=A(4360,5918,4416628)","=A(4360,5918,(4416628 + 686848))","=IF(686848 > 0, FALSE, TRUE)"],["M","=16478 * V._scaleX2","=39090 * V._scaleY2"],["E","=V.cx14 * V._scaleX2","=V.cy14 * V._scaleY2","=6752 * V._scaleX2","=9215 * V._scaleY2",0,"=A(6752,9215,8257449)","=A(6752,9215,(8257449 + 844866))","=IF(844866 > 0, FALSE, TRUE)"],["M","=28827 * V._scaleX2","=34751 * V._scaleY2"],["E","=V.cx15 * V._scaleX2","=V.cy15 * V._scaleY2","=6752 * V._scaleX2","=9215 * V._scaleY2",0,"=A(6752,9215,387196)","=A(6752,9215,(387196 + 959901))","=IF(959901 > 0, FALSE, TRUE)"],["M","=34129 * V._scaleX2","=22954 * V._scaleY2"],["E","=V.cx16 * V._scaleX2","=V.cy16 * V._scaleY2","=5785 * V._scaleX2","=7867 * V._scaleY2",0,"=A(5785,7867,-4217541)","=A(5785,7867,(-4217541 + 4255042))","=IF(4255042 > 0, FALSE, TRUE)"],["M","=41798 * V._scaleX2","=15354 * V._scaleY2"],["E","=V.cx17 * V._scaleX2","=V.cy17 * V._scaleY2","=5333 * V._scaleX2","=7273 * V._scaleY2",0,"=A(5333,7273,1819082)","=A(5333,7273,(1819082 + 1665090))","=IF(1665090 > 0, FALSE, TRUE)"],["M","=38324 * V._scaleX2","=5426 * V._scaleY2"],["E","=V.cx18 * V._scaleX2","=V.cy18 * V._scaleY2","=4857 * V._scaleX2","=6595 * V._scaleY2",0,"=A(4857,6595,-824660)","=A(4857,6595,(-824660 + 891534))","=IF(891534 > 0, FALSE, TRUE)"],["M","=29078 * V._scaleX2","=3952 * V._scaleY2"],["E","=V.cx19 * V._scaleX2","=V.cy19 * V._scaleY2","=4857 * V._scaleX2","=6595 * V._scaleY2",0,"=A(4857,6595,-8950887)","=A(4857,6595,(-8950887 + 1091722))","=IF(1091722 > 0, FALSE, TRUE)"],["M","=22141 * V._scaleX2","=4720 * V._scaleY2"],["E","=V.cx20 * V._scaleX2","=V.cy20 * V._scaleY2","=4365 * V._scaleX2","=5945 * V._scaleY2",0,"=A(4365,5945,-9809656)","=A(4365,5945,(-9809656 + 1061181))","=IF(1061181 > 0, FALSE, TRUE)"],["M","=14000 * V._scaleX2","=5192 * V._scaleY2"],["E","=V.cx21 * V._scaleX2","=V.cy21 * V._scaleY2","=6753 * V._scaleX2","=9190 * V._scaleY2",0,"=A(6753,9190,-4002417)","=A(6753,9190,(-4002417 + 739161))","=IF(739161 > 0, FALSE, TRUE)"],["M","=4127 * V._scaleX2","=15789 * V._scaleY2"],["E","=V.cx22 * V._scaleX2","=V.cy22 * V._scaleY2","=6753 * V._scaleX2","=9190 * V._scaleY2",0,"=A(6753,9190,9459261)","=A(6753,9190,(9459261 + 711490))","=IF(711490 > 0, FALSE, TRUE)"],{fillMode:"none"}]],textRect:{left:"=V.il",top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},chartX:{variables:{_scaleX1:"= width / 10",_scaleY1:"= height / 10",_scaleX2:"= width / 10",_scaleY2:"= height / 10"},path:[[["M",0,0],["L",V,n],["M",0,n],["L",V,0],{fillMode:"none"}],[["M",0,0],["L",0,n],["L",V,n],["L",V,0],["Z"],{strokeMode:"false"}]]},chartStar:{variables:{_scaleX1:"= width / 10",_scaleY1:"= height / 10",_scaleX2:"= width / 10",_scaleY2:"= height / 10"},path:[[["M",0,0],["L",V,n],["M",0,n],["L",V,0],["M",y,0],["L",y,n],{fillMode:"none"}],[["M",0,0],["L",0,n],["L",V,n],["L",V,0],["Z"],{strokeMode:"false"}]]},chartPlus:{variables:{_scaleX1:"= width / 10",_scaleY1:"= height / 10",_scaleX2:"= width / 10",_scaleY2:"= height / 10"},path:[[["M",y,0],["L",y,n],["M",0,f],["L",V,f],{fillMode:"none"}],[["M",0,0],["L",0,n],["L",V,n],["L",V,0],["Z"],{strokeMode:"false"}]]},lineInverse:{variables:{l:0,b:n,r:V,t:0},connectionPoints:[{x:0,y:n},{x:V,y:0}],path:[[["M",0,n],["L",V,0],{fillMode:"none",strokeCompound:"line"}]]}}},"./dist/plugins/shape/shape-actions.js":function(O,t,V){var n,A,T,g,d,N,P,D,U,q,k,h,u,x,B,Z,H,z,V,p,y,f,e,r,c,s,o,a,l,Q,G,w,v,j,J,b,W,K,$,tt,Vt,nt,it,et,rt,ct,st,ot,L,dt,m,at,ht,ut,xt,yt,ft,lt,gt,At,pt,wt,vt,jt,bt,Lt,mt,Ct,Rt,It;function Mt(t,V,n){for(var i,e,r,i=t.length,e=[],r=0;r<i;r++)e.push({x:t[r].x+V,y:t[r].y+n});return e}function _t(t,V){var n,i,n=[];return n=V?(i=V.shapeLayers[0]).getConnectionLines(t.ctV):n}function Et(t,V){var n,i,e;4===t.ttV&&(t.startConnector(null),t.endConnector(null)),(n=_t(t,V))&&n.length&&(i=t.ctV.id,n.forEach(function(t){(e=t.JVV)&&(t.startConnector&&t.startConnector.id===i&&e.startConnector(null),t.endConnector)&&t.endConnector.id===i&&e.endConnector(null)})),3===t.ttV&&t.tin&&t.tin.forEach(function(t){Et(t,V)})}function St(t,V){var n=V.shapes.get(t);n?(Et(n,V),V.shapes.remove(t,!0)):Ft(V,t)}function Ft(t,V){var n;t.shapeLayers[0].shapes.forEach(function(t){t.JVV.name()===V&&(n=t)}),n&&t.shapeLayers.forEach(function(t){t.removeShape(n,!0)})}function Xt(t){for(var V=t.getRowCount()-1,n=t.getColumnCount()-1,i=0,e=0,r,c=t.zoom(),r=0;r<=V;r++)i+=t.Gt(r,3);for(r=0;r<=n;r++)e+=t.nn(r,3);return{maxColumnWidth:e/c,maxRowHeight:i/c}}function Yt(t,V,n,i,e,r,c){var s,o,t,c,s,o;return c.rotate&&0!==c.rotate()&&(o=t.zoom(),n=(s=(0,u.getActualBound)(c.ctV)).left/o,i=s.top/o,e=(s.right-s.left)/o,r=(s.bottom-s.top)/o),4===c.ttV&&(o=t.zoom(),n=(s=(0,d.getLineShapeBoundByPoints)(c.ctV.getPoints())).left/o,i=s.top/o),t=n,c=i,(s=V.maxColumnWidth)<n+e&&(n-=n+e-s),(o=V.maxRowHeight)<i+r&&(i-=i+r-o),{deltaX:(n=n<0?0:n)-t,deltaY:(i=i<0?0:i)-c}}function Ot(t,V){return JSON.stringify(t.toJSON(V))}function Tt(t){var V,V,n,V=4===t.ttV?(0,d.getLineShapeBoundByPoints)(t.KVV()):{left:V=t.x(),top:n=t.y(),right:V+t.width(),bottom:n+t.height()};return V}function Nt(V,t,n){var i,e,i,r,c,i,s,i=V.WVV(),e=i.fromSheet;return i.fromSheet=V,i.isCutting=n,(i=t.names).length?(r=[],c=[],i=i.map(function(t){var t=V.shapes.get(t);return r.push(t),c.push(Tt(t)),Ot(t,{isCopy:!n,isCut:n})}),s=(0,g.getShapeNameList)(r),e&&(e.$VV=L),A.Commands.fI(V.parent),V.$VV={shapeJsonList:i,bound:t.bound,boundList:c,names:t.names,allNameList:s},n&&(t.shapeJsonList=i.concat([])),!0):(V.$VV=L,!1)}function Pt(t){var t,V,t,t=t&&t.shapeData;if(t)return t.sp?V=t.sp.spPr:t.cxnSp?V=t.cxnSp.spPr:t.pic?V=t.pic.spPr:t.grpSp?V=t.grpSp.grpSpPr:t.graphicFrame&&(V=t.graphicFrame),(t=V&&V.xfrm.ext)?{width:t.cx,height:t.cy}:void 0}function Dt(t,V){var V,n,i,i,V=JSON.parse(V),i=V.shapeData;return i&&(n=i.sp&&i.sp.control?new U.FormControlShape(t):i.sp?new N.Shape(t):i.cxnSp?new P.ConnectorShape(t):i.grpSp?new q.GroupShape(t):i.pic?new(i.pic.cameraTool?k.CameraShape:D.PictureShape)(t):(Z.ShapeCollection.et(t.shapes,"createShapeWhenFromJSON",i={sheet:t,json:V}),i.shape))&&(t.LtV=[],n.fromJSON(V),delete t.LtV),n}function Ut(t,V,n){var i,e,r,i,i=A.mt.b_e(t),e=0,r=0;return r=0<i.length?(e=(i=Zt(t,i)).left,i.top):(e=(0,H.getX)(t,n,0),(0,H.getY)(t,V,0)),{x:e,y:r}}function qt(t,V,n,i){var e,r,c,s,o,d,e=15,r=.1,c=Ut(t,n,i),s=g.Common.calculateBoundByRects(V),o=t.shapes.all(),d=function(V,n){return o.some(function(t){return dt(t.x()-V)<=.1&&dt(t.y()-n)<=.1})};return V.map(function(t){var V,t,V=c.x+t.left-s.left,t=c.y+t.top-s.top;return d(V,t)&&(V+=15,t+=15),{x:V,y:t}})}function kt(t,V,n,i,e){var e,i,e,n,r,c,t;return V&&(4===V.ttV?V.tnV(!0):V.tnV(),V.formulaFromJSON(),3===V.ttV&&V.updateRelativeLocationSize&&V.updateRelativeLocationSize(),e&&(e=Pt(JSON.parse(i)))&&(V.getFormula("width")||V.width(e.width),V.getFormula("height")||V.height(e.height)),i=V.width(),e=V.height(),t.shapes.ZP(V,!0),V.isSelected(!0),V.VnV=!0,V.x(n.x),V.y(n.y),n=V.x(),r=V.y(),t=Yt(t,c=Xt(t),n,r,i,e,V),4===V.ttV?V.nnV(Mt(V.KVV(),t.deltaX,t.deltaY)):V.resize(n+t.deltaX,r+t.deltaY,i,e),delete V.VnV),V}function C(t,V){var t=t.shapes.all();Array.isArray(t)&&t.forEach(function(t){t.isSelected(V)})}function R(t,V,n,i,e){var r,c,s,o,d,e,a,r=t.parent,c=[];if(null==e)for(o=((s=null!=n)?n:i).length,d=0;d<o;d++)c.push(t.shapes.get(s?n[d].name:i[d]));else c=e;r&&V._oldPosition&&c[0]&&(e=c[0].startRow(),a=c[0].startColumn(),r.changeSelectionInCommandExecuting(V,e,a,[],c),V._oldPosition.X3=!0)}function i(t,V){return wt.call(this,t,V)||this}function I(t,V){return vt.call(this,t,V)||this}function Bt(t,V,n){var i,e,r,c,s,c;if(t&&V)for(e=0,r=(i=n?V.oldValues:V.values).length;e<r;e++)s=(c=i[e])[0],c=c[1],s===B.ADJUSTMENTS?t.ndV(c,!1):t[s]&&t[s].call(t,c)}function M(t,V){return jt.call(this,t,V)||this}function _(t,V){return bt.call(this,t,V)||this}function Zt(V,t){var n,t,t=t.map(function(t){if((n=V.shapes.get(t))&&n.ctV)return n.ctV});return(0,d.getBoundForHoldShapes)(t,!0)}function Ht(a){return function(t,V){var t,n,i,V,e,r,c,s,o,s,d,c,t=A.Commands.Tp(t,V),n=0;if(0===a?n=-1:2===a&&(n=1),i=0,1===a?i=-1:3===a&&(i=1),V=[],e=t.shapeLayers[0],(r=(0,h.getSelectedShapesUI)(t)).length<=0)return!1;for(c=t.shapes,s=(0<n?(0,u.getRightMostShape):(0,u.getLeftMostShape))(r),c.getSnapMode()!==T.SnapMode.none&&0!==n&&0!==(o=(0,x.getMoveOffsetByDirection)({targetShape:s,boundType:0<n?2:1,direction:0,moveDirection:0<n?0:1}))&&(n=o),s=(0<i?(0,u.getBottomMostShape):(0,u.getTopMostShape))(r),c.getSnapMode()!==T.SnapMode.none&&0!==i&&0!==(o=(0,x.getMoveOffsetByDirection)({targetShape:s,boundType:0<i?2:1,direction:1,moveDirection:0<i?0:1}))&&(i=o),d=0;d<r.length;d++)e.moveShape(r[d],n,i);return c=(c=e.getConnectionLines(r[0])).filter(function(t,V,n){return n.indexOf(t)===V}),V=V.concat(e.getMoveShapesChanges(r,c)),t.Qy().execute({cmd:f,sheetName:t.name(),changes:V})}}function E(t,V){return Lt.call(this,t,V)||this}function S(t,V){return mt.call(this,t,V)||this}function F(t,V){return Ct.call(this,t,V)||this}function X(t,V){return Rt.call(this,t,V)||this}function Y(t,V){return It.call(this,t,V)||this}n=this&&this.__extends||(pt=function(t,V){return(pt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}pt(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(t,"__esModule",{value:!0}),t.DragCopyShapesUndoAction=t.DeleteShapesUndoAction=t.PasteShapesUndoAction=t.CutShapesUndoAction=t.CopyShapesUndoAction=t.UpdateShapesPointsUndoAction=t.UpdateShapesUndoAction=t.RotateShapeUndoAction=t.MovingResizingShapeUndoAction=void 0,A=V("Core"),T=V("./dist/plugins/shape/shape.interface.js"),g=V("./dist/plugins/shape/ui/util.js"),d=V("./dist/plugins/shape/ui/compoundShape.js"),N=V("./dist/plugins/shape/shapeView.js"),P=V("./dist/plugins/shape/connectorView.js"),D=V("./dist/plugins/shape/pictureShapeView.js"),U=V("./dist/plugins/shape/formControlView.js"),q=V("./dist/plugins/shape/groupShapesView.js"),k=V("./dist/plugins/shape/cameraShapeView.js"),h=V("./dist/plugins/shape/shape-spreadjs.js"),u=V("./dist/plugins/shape/ui/shapes.js"),x=V("./dist/plugins/shape/ui/shape-alignment.js"),B=V("./dist/plugins/shape/geometryService/controlPointService.js"),Z=V("./dist/plugins/shape/shapeCollection.js"),H=V("./dist/plugins/shape/util/sheetUtil.js"),z=V("./dist/plugins/shape/util/viewUtil.js"),V=A.Commands.ActionBase,p=g.Common.Rh,y=A.Commands.zA,f="moveShapes",e="moveShapesUp",r="moveShapesDown",c="moveShapesLeft",s="moveShapesRight",o="navigationNextShape",a="navigationPreviousShape",l="isSelected",Q="selectAllShapes",G="unSelectAllShapes",w="copyShapes",v="pasteShapes",j="cutShapes",J="dragCopyShapes",b="deleteShapes",W="deleteShapesByBackspaceKey",K="resizeShapes",$="rotateShapes",tt="updateShapes",Vt="updateConnectShapePoints",nt="openTextEditor",it="submitShapeText",et="moveShapesByHAlign",rt="moveShapesByVAlign",ct="moveShapesByHDistribute",st="moveShapesByVDistribute",ot="downloadShapeBaseObjects",L=null,dt=Math.abs,n(i,wt=V),i.prototype.canExecute=function(){return!0},i.prototype.execute=function(){var t,V,n,f,l,g,i,e,r,t=this,V=!1,n=t.tT,f=n.changes,l=t.Mf;if(t.canExecute()&&Array.isArray(f)){for(l.shapes.V2(),R(l,n,f),A.Commands.startTransaction(this.Mf.getParent(),this.tT),g=Xt(l),i=function(t,V){var t,c,n,i,e,r,s,o,d,d,a,h,d,a,u,x,y,t=f[t],c=l.shapes.get(t.name),n=void 0,i=void 0,e=c.x()+t.offsetX,r=c.y()+t.offsetY,s=c.width()+t.offsetWidth,o=c.height()+t.offsetHeight,d=Yt(l,g,e,r,s,o,c);n=d.deltaX,i=d.deltaY,d=t.startConnector,a=t.endConnector,h=t.childrenChanges,void 0===d&&void 0===a||4!==c.ttV||(void 0!==d&&c.startConnector(d,!0),void 0!==a&&c.endConnector(a,!0)),t.points?(d=c.x(),a=c.y(),u=c.width(),x=c.height(),c.nnV(Mt(t.points,n,i)),0!==t.offsetX&&c.enV("x",d),0!==t.offsetY&&c.enV("y",a),0!==t.offsetWidth&&c.enV("width",u),0!==t.offsetHeight&&c.enV("height",x)):c.resize(e+n,r+i,s,o),t.lineChanges&&t.lineChanges.length&&(y=l.zoom(),t.lineChanges.forEach(function(t){var t,V,t=l.shapes.get(t.name);l.shapeLayers[0].layoutConnectionLine(t.ctV),V=t.ctV.getPoints().map(function(t){return{x:t.x/y,y:t.y/y}}),t.nnV(V)})),h&&0<h.length&&h.forEach(function(t){var t,V,n,i,e,r,t=c.find(t.name),V=c.x(),n=c.y(),i=c.width(),e=c.height();t&&(r=t.inV.map(function(t){return{x:V+t.relativeX*i,y:n+t.relativeY*e}}),t.nnV(r))})},e=0,r=f.length;e<r;e++)i(e,r);l.shapes.Y2(),A.Commands.endTransaction(this.Mf.getParent(),this.tT),V=0<f.length}return V},i.prototype.canUndo=function(){return!0},i.prototype.undo=function(){var t,V,n,i,e,r,c,s,o,d,t=this,V=t.Mf;if(t.canUndo()){for(n=A.Commands.TI(V.name()),V.Ut.undo(t.tT[n]),e=(i=t.tT).changes,r=V.shapeLayers[0],c=0,s=e.length;c<s;c++)o=e[c],d=V.shapes.get(o.name),o.lineChanges&&V&&d&&r.updateConnectionLinesLayout(d.ctV);return V.cnV(),!0}return!1},m=i,t.MovingResizingShapeUndoAction=m,n(I,vt=V),I.prototype.canExecute=function(){return!0},I.prototype.execute=function(){var t,V,n,i,e,r,c,s,o,d,d,t=this,V=!1,n=t.tT,i=n.changes,e=t.Mf;if(t.canExecute()&&Array.isArray(i)){for(R(e,n,i),A.Commands.startTransaction(this.Mf.getParent(),this.tT),r=0,c=i.length;r<c;r++)s=i[r],o=e.shapes.get(s.name),void 0!==(d=s.rotate)&&o.rotate&&(s.oldRotate=o.rotate(),o.Jli(d,!0)),(d=s.points)&&(s.oldPoints=o.KVV(),o.nnV(d));e.cnV(),A.Commands.endTransaction(this.Mf.getParent(),this.tT),V=0<i.length}return V},I.prototype.canUndo=function(){return!0},I.prototype.undo=function(){var t,V,n,t,t=this,V=t.tT,n=t.Mf;return!!t.canUndo()&&(t=A.Commands.TI(n.name()),n.Ut.undo(V[t]),n.cnV(),!0)},t.RotateShapeUndoAction=at=I,n(M,jt=V),M.prototype.applyChanges=function(t,V,n,i){for(var e,r,c,s,c,e=0,r=V.length;e<r;e++)c=V[e],s=t.shapes.get(c),(c=n&&n[c])&&Bt(s,c,i)},M.prototype.execute=function(){var t=this,V=!1,n=t.tT,i=n.shapes,e=n.values,r=t.Mf;return t.canExecute()&&Array.isArray(i)&&(R(r,n,null,i),t.applyChanges(r,i,e,!1),r.cnV(),V=0<i.length),V},M.prototype.canUndo=function(){return!0},M.prototype.undo=function(){var t=this,V=t.tT,n=V.shapes,V=V.values,i=t.Mf;return!!t.canUndo()&&(t.applyChanges(i,n,V,!0),i.cnV(),!0)},t.UpdateShapesUndoAction=ht=M,n(_,bt=V),_.prototype.canExecute=function(){return!0},_.prototype.execute=function(){var t,V,n,i,e,r,c,s,o,t=this,V=!1,n=t.tT,i=n.shapes,e=n.values,r=t.Mf;if(t.canExecute()&&e){for(R(r,n,null,i),A.Commands.startTransaction(this.Mf.getParent(),this.tT),c=0,s=i.length;c<s;c++)(o=r.shapes.get(i[c])).nnV(e[i].points);A.Commands.endTransaction(this.Mf.getParent(),this.tT),r.cnV(),V=0<i.length}return V},_.prototype.canUndo=function(){return!0},_.prototype.undo=function(){var t,V,n,t=this,V=t.Mf;return!!t.canUndo()&&(n=A.Commands.TI(V.name()),V.Ut.undo(t.tT[n]),V.cnV(),!0)},t.UpdateShapesPointsUndoAction=ut=_,A.Commands[c]=Ht(0),A.Commands[e]=Ht(1),A.Commands[s]=Ht(2),A.Commands[r]=Ht(3),A.Commands[f]={canUndo:!0,execute:function(t,V,n){return y(t,m,V,n)}},A.Commands[et]=(xt=function(d){return{canUndo:!0,execute:function(t,V,n){var i,e,r,c,s,o;if(!n){if(i=A.Commands.Tp(t,V),e=V.shapeNames.map(function(t){return i.shapes.get(t).ctV}),r=i.shapeLayers[0],e.length<=0)return!1;switch(s=!0,d){case 0:c=(0,x.align)(e,V.alignment,0);break;case 1:c=(s=!1,x.align)(e,V.alignment,1);break;case 2:c=(0,x.distribute)(e,0);break;case 3:c=(s=!1,x.distribute)(e,1)}if(c.length<1)return!1;o=[],c.forEach(function(t,V){var t,t=s?r.createShapeAlignChanges(r.getShapeById(t.id),e,t.offset,0):r.createShapeAlignChanges(r.getShapeById(t.id),e,0,t.offset);1===e[V].ttV?o.unshift(t):o.push(t)}),V.changes=o}return y(t,m,V,n)}}})(0),A.Commands[rt]=xt(1),A.Commands[ct]=xt(2),A.Commands[st]=xt(3),A.Commands[G]={canUndo:!1,execute:function(t,V){var t=A.Commands.Tp(t,V);return!!(0,h.hasSelectedShape)(t)&&(t.suspendPaint(),C(t,!1),t.resumePaint(),!0)}},A.Commands[Q]={canUndo:!1,execute:function(t,V){var t=A.Commands.Tp(t,V);return!!(0,h.hasSelectedShape)(t)&&(t.suspendPaint(),C(t,!0),t.resumePaint(),!0)}},A.Commands[o]={canUndo:!1,execute:function(t,V){var t,n,i,e,r,c,s,o,t=A.Commands.Tp(t,V);if((0,h.hasSelectedShape)(t)){if(t.suspendPaint(),r=e=i=n=void 0,(s=(c=t.shapes.all()).length)<2);else{for(r=0;r<s;r++){if(o=c[r],i=i||o,n){e=o;break}o&&o[l]()&&(n=o)}C(t,!1),(e=e||i)&&e.isSelected(!0)}return t.resumePaint(),!0}return!1}},A.Commands[a]={canUndo:!1,execute:function(t,V){var t,n,i,e,r,c,s,t=A.Commands.Tp(t,V);if((0,h.hasSelectedShape)(t)){if(t.suspendPaint(),e=i=n=void 0,(c=(r=t.shapes.all()).length)<2);else{for(e=0;e<c;e++)if(s=r[e],(n=n||s)[l]())i=s;else if(s[l]()||(i=s),s[l]())break;i&&(C(t,!1),i.isSelected(!0))}return t.resumePaint(),!0}return!1}},A.Commands[K]={canUndo:!0,execute:function(t,V,n){return y(t,m,V,n)}},A.Commands[$]={canUndo:!0,execute:function(t,V,n){return y(t,at,V,n)}},A.Commands[tt]={canUndo:!0,execute:function(t,V,n){return y(t,ht,V,n)}},A.Commands[Vt]={canUndo:!0,execute:function(t,V,n){return y(t,ut,V,n)}},A.Commands[nt]={canUndo:!1,execute:function(t,V){var t,n,i,V,V,t=A.Commands.Tp(t,V);return V.shapeName?(V=t.shapes.get(V.shapeName))&&(0,u.isCanEditTextShape)(V)&&(n=V.ctV,i=1):(n=(0,h.getFocusedShape)(t),i=2),!!n&&((V=u.ShapeTextEditor.getInstance()).isOpened||V.initEditor(n.JVV),V.showEditor(i),!0)}},A.Commands[it]={canUndo:!0,execute:function(t,V,n){return y(t,ht,V,n)}},n(E,Lt=V),E.prototype.canExecute=function(){return!0},E.prototype.execute=function(){var t,V,n,i,e,e,t=this,V=t.Mf,n=t.tT.copyData;if(t.canExecute()){if(i=n.names.map(function(t){return V.shapes.get(t)}),e={sheet:V,sheetName:V.name(),objects:i,isCutting:!1,cancel:!1,action:A.ClipboardActionType.copy},V.ki(A.Events.ClipboardChanging,e),!e.cancel)return e=Nt(V,n,!1),V.ki(A.Events.ClipboardChanged,{sheet:V,sheetName:V.name(),objects:i}),e;t.tT.JD=!0}return!1},E.prototype.canUndo=function(){return!1},t.CopyShapesUndoAction=yt=E,A.Commands[w]={canUndo:!1,execute:function(t,V,n){var i,e,e,i=A.Commands.Tp(t,V);return!!i&&0!==(e=A.mt.b_e(i)).length&&(V.copyData={names:e,bound:Zt(i,e)},(e=y(t,yt,V,n))&&i.dP&&(i.dP=L),e)}},n(S,mt=V),S.prototype.canExecute=function(){return 0<this.tT.copyData.names.length},S.prototype.execute=function(){var t,V,n,i,t,e,t=this,V=t.Mf,n=this.tT,i=n.copyData;if(t.canExecute()){if(R(V,n,null,i.names),A.Commands.startTransaction(this.Mf.getParent(),this.tT),t=i.names.map(function(t){return V.shapes.get(t)}),e={sheet:V,sheetName:V.name(),objects:t,isCutting:!0,cancel:!1,action:A.ClipboardActionType.cut},V.ki(A.Events.ClipboardChanging,e),!e.cancel)return i.names.forEach(function(t){St(t,V)}),V.cnV(),V.ki(A.Events.ClipboardChanged,{sheet:V,sheetName:V.name(),objects:t}),A.Commands.endTransaction(this.Mf.getParent(),this.tT),!0;n.JD=!0}return!1},S.prototype.canUndo=function(){return!0},S.prototype.undo=function(){var t,V,n,t=this,V=t.Mf,n=A.Commands.TI(V.name());return V.Ut.undo(t.tT[n]),V.cnV(),!0},t.CutShapesUndoAction=ft=S,A.Commands[j]={canUndo:!0,execute:function(t,V,n){var i,e,r,r,i=A.Commands.Tp(t,V),e=V.copyData;if(!e){if(0===(r=A.mt.b_e(i)).length)return!1;Nt(i,e={names:r,bound:Zt(i,r)},!0),V.copyData=e,V.cmd=j}return(r=y(t,ft,V,n))&&i.dP&&(i.dP=L),r}},n(F,Ct=V),F.prototype.canExecute=function(){return 0<this.tT.pasteData.shapeJsonList.length},F.prototype.execute=function(){var t,n,V,i,e,r,c,s,t,o,d,a,h,t,u,x,y,f,l,x,t=this,n=t.Mf,V=t.tT,i=V.pasteData,e=[];return!!t.canExecute()&&(A.Commands.startTransaction(this.Mf.getParent(),this.tT),n.suspendPaint(),s=i.positions,t=i.fromSheetName,d=(o=i.shapeJsonList).map(function(t){return Dt(n,t)}).filter(function(t){return!!t}),a=n.name()!==t,t=!(h=[]),(u=n.parent.Gm(i.fromSheetName))._gi===A.SheetType.reportSheet&&u.getSheet&&(u=u.getSheet()),x={sheet:n,sheetName:n.name(),objects:d,fromSheet:u,isCutting:i.isCutting,cancel:!1,action:i.isCutting?A.ClipboardActionType.cut:A.ClipboardActionType.copy},n.ki(A.Events.ClipboardPasting,x),x.cancel||(u!==n&&C(u,!1),C(n,!1),d.forEach(function(t,V){4===(t=kt(n,t,s[V],o[V],a)).ttV&&(r=t.startConnector(),c=t.endConnector(),r||c)&&h.push(t),3===t.ttV&&(h=h.concat((0,g.getLineShapeInGroup)(t))),e.push(t.name())}),0<h.length&&(y=i.allNameList,f=(0,g.getShapeNameList)(d),h.forEach(function(t){r=t.startConnector(),c=t.endConnector(),r&&(-1<(l=p(r.name,y))?t.startConnector({name:f[l],index:r.index},!0):-1<p(r.name,f)?t.startConnector(r,!0):t.startConnector(null)),c&&(-1<(l=p(c.name,y))?t.endConnector({name:f[l],index:c.index},!0):-1<p(c.name,f)?t.endConnector(c,!0):t.endConnector(null))})),R(n,V,null,null,d),x={sheet:n,sheetName:n.name(),objects:d,fromSheet:u,isCutting:i.isCutting,action:i.isCutting?A.ClipboardActionType.cut:A.ClipboardActionType.copy},n.ki(A.Events.ClipboardPasted,x),t=!0),A.Commands.endTransaction(this.Mf.getParent(),this.tT),i.names=e,n.resumePaint(),t||(V.JD=!0),t)},F.prototype.canUndo=function(){return!0},F.prototype.undo=function(){var t,V,n,t=this,V=t.Mf,n=A.Commands.TI(V.name());return V.Ut.undo(t.tT[n]),V.cnV(),!0},t.PasteShapesUndoAction=lt=F,A.Commands[v]={canUndo:!0,execute:function(t,V,n){var i,e,r,c,s,o,d,a,h,i=A.Commands.Tp(t,V),e=V.pasteData;if(V.cmd=v,!e){if(!(s=(c=(r=i.WVV()).fromSheet)&&c.$VV))return!1;o=i.getActiveRowIndex(),d=i.getActiveColumnIndex(),e={positions:h=qt(i,a=s.boundList,o,d),shapeJsonList:s.shapeJsonList.concat([]),allNameList:s.allNameList.concat([]),fromSheetName:c.name(),drawingDataMap:s.drawingDataMap,isCutting:r.isCutting},V.pasteData=e}return y(t,lt,V,n)}},n(X,Rt=V),X.prototype.canExecute=function(){return this.tT.deleteData&&0<this.tT.deleteData.names.length},X.prototype.execute=function(){var t=this,V=t.Mf,n=this.tT,i=n.deleteData;return!!t.canExecute()&&(t.X5(V,!0),R(V,n,null,i.names),A.Commands.startTransaction(this.Mf.getParent(),this.tT),i.names.forEach(function(t){St(t,V)}),A.Commands.endTransaction(this.Mf.getParent(),this.tT),t.q5(V,!0),!0)},X.prototype.canUndo=function(){return!0},X.prototype.undo=function(){var t,V,n,t=this,V=t.Mf,n=A.Commands.TI(V.name());return V.Ut.undo(t.tT[n]),V.cnV(),!0},t.DeleteShapesUndoAction=gt=X,A.Commands[b]={canUndo:!0,execute:function(t,V,n){var i,e,i;if(V.cmd=b,i=A.Commands.Tp(t,V),!(e=V.deleteData)){if(0===(i=A.mt.b_e(i)).length)return!1;V.deleteData=e={names:i}}return y(t,gt,V,n)}},n(Y,It=V),Y.prototype.canExecute=function(){return!0},Y.prototype.execute=function(){for(var t,V,n,i,e,r,c,s,o,d,t=this,V=t.tT,n=V.changes,i=t.Mf,s=0,o=n.length;s<o;s++)(e=i.shapes.get(n[s].name))||(e=i.shapes.get(n[s].oldShapeName).Gf(),i.shapes.ZP(e),e.name(n[s].name)),r=e.x(),c=e.y(),e.resize(r+n[s].offsetX,c+n[s].offsetY,e.width(),e.height()),3===e.ttV&&e.layoutChildren(),4===e.ttV&&(e.startConnector(e.startConnector(),!0),e.endConnector(e.endConnector(),!0));return R(i,V,n),V[d=A.Commands.TI(i.name())]=n.concat([]),!0},Y.prototype.canUndo=function(){return!0},Y.prototype.undo=function(){for(var t,V,n,i,e,r,t=this.Mf,n=A.Commands.TI(t.name()),i=this.tT[n],e=0,r=i.length;e<r;e++)t&&(t.shapes.remove(i[e].name),V=t.shapes.get(i[e].oldShapeName))&&V.isSelected(!0);return!0},t.DragCopyShapesUndoAction=At=Y,A.Commands[J]={canUndo:!0,execute:function(t,V,n){return y(t,At,V,n)}},A.Commands[ot]={canUndo:!1,execute:function(t,V){var n,i,V,V,n,e,n=V.shapes,i,V=V.sheet.zoom(),V=(0,z.getShapeBaseObjectsCanvas)(n,V),n=1===n.length?n[0].name():"SpreadShapes",e=document.createElement("a");return e.href=V.toDataURL("image/png"),e.download=n,e.click(),!0}},A.Commands.rnV=function(t){var V,n,i,n,V=A.mt.Tt,n=A.mt.Qf(),i=!n,n=n;t.register(f,A.Commands[f]),t.register(J,A.Commands[J]),t.register(e,A.Commands[e],38,!1,!1,!1,!1),t.register(r,A.Commands[r],40,!1,!1,!1,!1),t.register(c,A.Commands[c],37,!1,!1,!1,!1),t.register(s,A.Commands[s],39,!1,!1,!1,!1),t.register(o,A.Commands[o],9,!1,!1,!1,!1),t.register(a,A.Commands[a],9,!1,!0,!1,!1),t.register(G,A.Commands[G],27,!1,!1,!1,!1),t.register(Q,A.Commands[Q],65,i,!1,!1,n),V.msie||V.edge?(t.register(w,A.Commands[w],67,i,!1,!1,n),t.register(v,A.Commands[v],86,i,!1,!1,n),t.register(j,A.Commands[j],88,i,!1,!1,n)):(t.register(w,A.Commands[w]),t.register(v,A.Commands[v]),t.register(j,A.Commands[j])),t.register(b,A.Commands[b],46,!1,!1,!1,!1),t.register(W,A.Commands[b],8,!1,!1,!1,!1),t.register(K,A.Commands[K]),t.register($,A.Commands[$]),t.register(tt,A.Commands[tt]),t.register(Vt,A.Commands[Vt]),t.register(nt,A.Commands[nt],13,!1,!1,!1,!1),t.register(it,A.Commands[it]),t.register(et,A.Commands[et]),t.register(rt,A.Commands[rt]),t.register(ct,A.Commands[ct]),t.register(st,A.Commands[st]),t.register(ot,A.Commands[ot])}},"./dist/plugins/shape/shape-io.js":function(O,t,V){var x,n,i,h,u,e,y,f,l,a,g,A,p,w,v,s,j,b,L,r,m,C,R,c,o,d,T,N,P,D,U,q,k,B,Z,H,I,z,Q,G,M;function J(V,t,n,i){var e,r,c,s,o,i,d,t;(0,b.recalculateScroll)(V),(e=i&&!1===i.includeStyles)||(r=V.shapes,t.lossless&&Lt(r,t.lossless.shapeCollectionOption),(c=P(t,n))&&0!==c.c_.length&&(s=x.Util.Co(i),o=(0,l.readControlsNode)(t,n),i=z(t,G),d=i&&x.Util.Gr(t.rels,i[Q],n),t=r._sV,a.GeometryServiceManager.startCache(),t.suspendUpdateShapeUICache(),(0,b.updateWorksheetXYCoordinateCacheImp)(V,V.getRowCount(),V.getColumnCount()),V.LtV=[],j.ShapeCollection.et(r,"beforeFromSJSFormat"),c.c_.forEach(function(t){W(V,t,o,d,c,s,n)}),E(V),t.resumeUpdateShapeUICache(),(0,b.clearWorksheetXYCoordinateCache)(V),a.GeometryServiceManager.endCache()))}function W(t,V,n,i,e,r,c){var s,o,V,d,a,V,V,n,s=t.shapes;(V=V.AlternateContent?V.AlternateContent.Choice:V).twoCellAnchor?(d=V.twoCellAnchor,a=0):V.oneCellAnchor?(d=V.oneCellAnchor,a=1):V.absoluteAnchor&&(d=V.absoluteAnchor,a=2),d&&(V=d.sp?(o=d.sp,V=I(d.sp.nvSpPr.cNvPr.name),new((0,l.markSJSFormControl)(o,n,i)?p.FormControlShape:h.Shape)(t,V)):d.cxnSp?(o=d.cxnSp,new g.ConnectorShape(t,I(d.cxnSp.nvCxnSpPr.cNvPr.name))):d.grpSp?(o=d.grpSp,(0,l.markGroupChildrenSJSFormControl)(o,n,i),new w.GroupShape(t,I(d.grpSp.c_[f.NvGrpSpPrNodeIndex].nvGrpSpPr.cNvPr.name))):d.pic&&!(0,y.isFloatingObjectPicture)(d.pic)?(o=d.pic,V=I(d.pic.nvPicPr.cNvPr.name),new((0,u.isCameraShapeNode)(o)?v.CameraShape:A.PictureShape)(t,V)):(j.ShapeCollection.et(t.shapes,"createShapeWhenFromSJSFormat",n={anchorData:d,sheet:t}),o=n.drawingData,n.shape))&&(r&&N(t,d,M,c),d.anchorType=a,dt(d,e,i,c),V.yh(o,d),V.tnV(),V.leV(),s.ZP(V,!0),r)&&bt(t,V,c)}function K(t,V,n,i,e){var r,c,c,i,c,r;i&&!1===i.includeStyles||((c=mt(t.shapes))&&(V.lossless||(V.lossless={}),V.lossless.shapeCollectionOption=c),c=It(t,i),(i=t.shapes.all().filter(it)).length<=0&&c.length<=0)||(c=t.parent.Cp,U(V,c),(0,l.hasFormControl)(i)&&(k(V,c),V.c_.push((0,l.createEmptySheetControlsNode)()),V.r_||(V.r_=[]),V.r_.push(5,1)))}function $(t,s,V,o){var n,d,a,h,u,i,n;o&&!1===o.includeStyles||(d=o&&!1===o.includeFormulas,a=o&&o.gp,h=o&&o.newWorkSheetName,u={data:s,saveOptions:o},i={type:"shapes",sheets:[],fileType:null==o?void 0:o.fileType},x.Workbook.et(t,"getAdditionalWorksheetToSJSFormat",i),t.sheets.concat(i.sheets).forEach(function(t){var V,n,V,i,e,r,t,c,V=It(t,o);Rt(t),n=t.shapes.all().filter(it),(n=V.concat(n)).length<=0||(V=T(s,t.name()),i=(0,l.findControlsNode)(V),e=D(s,V),r=q(s,V),t=B(t.wp,r),c=e.c_,n.forEach(function(t){var t=t.wh(d,a,h,u);lt(t,e.rels,s,o),c.push(jt(t))}),(0,l.processFormControlsWhenToSJSFormat)(c,s,V,i,r,t))}))}function tt(V,t,n,i){var e,i,r,e;i&&i.ignoreStyle||((i=t.shapes)&&(a.GeometryServiceManager.startCache(),j.ShapeCollection.et(V.shapes,"beforeFromJSON"),V.LtV=[],i.forEach(function(t){(r=nt(V,t))&&V.shapes.ZP(r,!0)}),E(V),a.GeometryServiceManager.endCache()),Lt(V.shapes,t.shapeCollectionOption),(0,b.recalculateScroll)(V))}function Vt(t,V,n){var i,e,r,c,s,o,o,i;n&&n.ignoreStyle||(e=n&&n.ignoreFormula,r=n&&n.gp,c=n&&n.newWorkSheetName,s=n&&n.isServer,0<(o=t.shapes.all()).length&&(V.shapes=o.map(function(t){return t.toJSON({isServer:s,ignoreFormula:e,isPrint:r,newWorkSheetName:c,fileType:null==n?void 0:n.cb})})),!(o=mt(t.shapes)))||(V.shapeCollectionOption=o)}function nt(t,V){var n,i,e,e,i=V.name,e=V.shapeType;return 5===e?((n=new h.Shape(t,i)).fromJSON(V),n.tnV()):4===e?((n=new g.ConnectorShape(t,i)).fromJSON(V),n.tnV()):3===e?((n=new w.GroupShape(t,i)).fromJSON(V),n.tnV(),n.updateRelativeLocationSize()):1===e?((n=new(V.shapeData&&V.shapeData.pic&&V.shapeData.pic.cameraTool?v.CameraShape:A.PictureShape)(t,i)).fromJSON(V),n.tnV()):7===e?((n=new p.FormControlShape(t,i)).fromJSON(V),n.tnV()):(j.ShapeCollection.et(t.shapes,"createShapeWhenFromJSON",e={sheet:t,json:V}),(n=e.shape)&&(n.fromJSON(V),n.tnV())),n}function it(t){return!0}function _(t,V,n){var i,e,r,r;if(V=n&&n[V]||V,t)for(i=0,e=t.length;i<e;i++){if((r=t[i]).ytV.Id===V)return r;if(r=_(r.tin,V))return r}}function et(t,V){var n,i,e,e;if(t)for(n=0,i=t;n<i.length;n++){if((e=i[n]).getId()===V)return e;if(e instanceof w.GroupShape&&(e=et(e.tin,V)))return e}}function rt(t,V,n,i){return n?et(t,n):_(t,V,i)}function ct(t,V){return _(t,V.Id)}function E(t){var V,r,c,V=t.LtV;0<V.length&&(r=t.shapeLayers[0].model.idMaps,c=t.shapes.all(),V.forEach(function(t){var V,n,i,e,e,i,i,V=t.target,n=[void 0,void 0],i=rt(c,t.beginId,t.beginUUID,r);i&&(e=i.ytV.Name,V.wtV=e,n[0]={name:e,index:t.beginConnectionSite,shape:i}),(e=rt(c,t.endId,t.endUUID,r))&&(i=e.ytV.Name,V.ptV=i,n[1]={name:i,index:t.endConnectionSite,shape:e}),(i=ct(c,V.ytV))instanceof g.ConnectorShape&&(0,s.syncConnectors)(n,i)}))}function S(t,V,n){var t,t,t=t&&t.blipFill,t=t&&t.blip;t&&(t.blipBlob=Z(t["r:embed"],V,n))}function st(t,V){var V;t&&(V=o(V.c_,t["r:id"]))&&(t.Target=V.Target,t.TargetMode=V.TargetMode)}function F(t,V){var n;t&&st(t.hlinkClick||t.hlinkHover,V)}function ot(t,V,n){h.ShapeBase.et(r,"processRelationFilesWhenFromSJSFormat",{node:t,drawing:V,sjsCommonInfo:n})}function dt(t,V,n,i){var e=V.rels;t.sp?at(t.sp,V,n,i):t.cxnSp?ht(t.cxnSp,e,i):t.pic?ut(t.pic,e,i):t.grpSp?xt(t.grpSp,V,n,i):ot(t,V,i)}function at(t,V,n,i){var V=V.rels;S(t.spPr,V,i),F(t.nvSpPr.cNvPr,V)}function ht(t,V,n){S(t.spPr,V,n),F(t.nvCxnSpPr.cNvPr,V)}function ut(t,V,n){S(t,V,n),S(t.spPr,V,n),F(t.nvPicPr.cNvPr,V)}function xt(t,V,n,i){var e;t&&(e=V.rels,t.c_.forEach(function(t){t.nvGrpSpPr?F(t.nvGrpSpPr.cNvPr,e):t.grpSpPr?S(t.grpSpPr,e,i):t.sp?at(t.sp,V,n,i):t.cxnSp?ht(t.cxnSp,e,i):t.pic?ut(t.pic,e,i):t.n_===f.GrpSpNodeName?xt(t,V,n,i):ot(t,V,i)}))}function X(t,V,n){var t,t,i,i,i,t=t&&t.blipFill,t=t&&t.blip;t&&(i=(i=t.blipBlob)&&i.blob)&&(delete t.blipBlob,i=H(i,V,n))&&(t["r:embed"]=i)}function yt(t,V){var n,i,e,t;t&&(n=t.Target)&&(i=t.TargetMode,delete t.Target,delete t.TargetMode,e=x.XFileConstants.Rr+d(V),t["r:id"]=e,t.r_=[8],t={n_:x.XFileConstants.Lr,Id:e,Type:x.RelationshipConstants.pc,Target:n},i&&(t.TargetMode=i),V.c_.push(t))}function Y(t,V){var n;t&&yt(t.hlinkClick||t.hlinkHover,V)}function ft(t,V,n,i){h.ShapeBase.et(r,"processRelationFilesWhenToSJSFormat",{node:t,rels:V,data:n,saveOptions:i})}function lt(t,V,n,i){t.sp?gt(t.sp,V,n):t.cxnSp?At(t.cxnSp,V,n):t.pic?pt(t.pic,V,n):t.grpSp?wt(t.grpSp,V,n,i):ft(t,V,n,i)}function gt(t,V,n){X(t.spPr,V,n),Y(t.nvSpPr.cNvPr,V)}function At(t,V,n){X(t.spPr,V,n),Y(t.nvCxnSpPr.cNvPr,V)}function pt(t,V,n){X(t,V,n),X(t.spPr,V,n),Y(t.nvPicPr.cNvPr,V)}function wt(t,V,n,i){t&&t.c_.forEach(function(t){t.nvGrpSpPr?Y(t.nvGrpSpPr.cNvPr,V):t.grpSpPr?X(t.grpSpPr,V,n):t.sp?gt(t.sp,V,n):t.cxnSp?At(t.cxnSp,V,n):t.pic?pt(t.pic,V,n):(t.n_===f.GrpSpNodeName?wt:ft)(t,V,n,i)})}function vt(n){n.c_.forEach(function(t,V){t.sp&&(0,l.isSJSFormControlNode)(t.sp)||t.pic&&(0,u.isCameraShapeNode)(t.pic)?n.c_[V]=(0,l.wrapWithAlternateContentRequiresA14)(t):t.n_===f.GrpSpNodeName&&vt(t)})}function jt(t){var V={twoCellAnchor:t};return t.sp&&(0,l.isSJSFormControlNode)(t.sp)||t.pic&&(0,u.isCameraShapeNode)(t.pic)?V=(0,l.wrapWithAlternateContentRequiresA14)(V):t.grpSp&&vt(t.grpSp),V}function bt(t,V,n){var V,i,e,r,c,s,i,o,d,a,V,i,e;V.ctV&&(e=(i=(V=V.ctV).kg||{left:0,right:V.width,top:0,bottom:V.height}).left,r=i.right,c=i.top,s=i.bottom,e+=V.left,r+=V.left,c+=V.top,s+=V.top,0!=(i=V.angle%360)&&(o={x:e+(r-e)/2,y:c+(s-c)/2},d=R(i),(a=[{x:e,y:c},{x:e,y:s},{x:r,y:c},{x:r,y:s}]).forEach(function(t){var t=C(t,o,d);r=m(r,t.x),s=m(s,t.y)})),V=t.zoom(),i=(0,L.getRowAndRowOffset)(t,s/V,!0).row,e=(0,L.getColAndColOffset)(t,r/V,!0).col,x.Util.So(t,i+M,e+M,n))}function Lt(t,V){c(V)||c(V.snapMode)||(t.MU.snapMode=V.snapMode)}function mt(t){var V,t,V={},t=t.MU.snapMode;if(t!==e.SnapMode.none&&(V.snapMode=t),0<Object.keys(V).length)return V}function Ct(t,V){var t=new A.PictureShape(t,V.name,V.shapeBase64Data,V.x,V.y,V.width,V.height);return t.startRow(V.startRow),t.startRowOffset(V.startRowOffset),t.startColumn(V.startColumn),t.startColumnOffset(V.startColumnOffset),t.endRow(V.endRow),t.endRowOffset(V.endRowOffset),t.endColumn(V.endColumn),t.endColumnOffset(V.endColumnOffset),t}function Rt(t){delete t.ysV}function It(V,t){var n,t,n=V.ysV;return n||(x.Worksheet.et(V,"getExtraExportShapes",t={sheet:V,saveOptions:t,shapes:[]}),n=t.shapes.map(function(t){return Ct(V,t)}),V.ysV=n),n}Object.defineProperty(t,"__esModule",{value:!0}),t.toSJSAnchorWrapper=t.processDelaySetConnectors=t.shapeFromJSON=t.toJson=t.fromJson=t.toSJSFormatWhenWorkbook=t.toSJSFormat=t.shapeFromSJSFormat=t.fromSJSFormat=void 0,x=V("Core"),n=V("Common"),i=V("./dist/plugins/shape/ui/util.js"),h=V("./dist/plugins/shape/shapeView.js"),u=V("./dist/plugins/shape/cameraShape.js"),e=V("./dist/plugins/shape/shape.interface.js"),y=V("FloatingObject"),f=V("./dist/plugins/shape/groupShapes.js"),l=V("./dist/plugins/shape/formControl/formControl-io.js"),a=V("./dist/plugins/shape/geometryService/serviceManager.js"),g=V("./dist/plugins/shape/connectorView.js"),A=V("./dist/plugins/shape/pictureShapeView.js"),p=V("./dist/plugins/shape/formControlView.js"),w=V("./dist/plugins/shape/groupShapesView.js"),v=V("./dist/plugins/shape/cameraShapeView.js"),s=V("./dist/plugins/shape/util/viewUtil.js"),j=V("./dist/plugins/shape/shapeCollection.js"),b=V("./dist/plugins/shape/shape-spreadjs.js"),L=V("./dist/plugins/shape/util/sheetUtil.js"),r=void 0,m=Math.max,C=i.Common.rotatePoint,R=i.Common.toRadius,c=n.Common.lt.ht,o=x.Util.Sr,d=x.Util.wr,T=x.Util.ho,N=x.Util.To,P=x.Util.Ir,D=x.Util.Er,U=x.Util.jr,q=x.Util.Ur,k=x.Util.Hr,B=x.Util.qr,Z=x.Util.Zr,H=x.Util.Kr,I=x.util.n1,z=x.util.xr,Q=x.XFileConstants.Ki,G=x.XFileConstants.Qi,M=1,t.fromSJSFormat=J,t.shapeFromSJSFormat=W,t.toSJSFormat=K,t.toSJSFormatWhenWorkbook=$,t.fromJson=tt,t.toJson=Vt,t.shapeFromJSON=nt,t.processDelaySetConnectors=E,t.toSJSAnchorWrapper=jt},"./dist/plugins/shape/shape-spreadjs.js":function(O,t,V){var n,l,T,i,y,s,f,a,d,e,r,c,N,o,h,u,P,x,D,g,A,p,w,v,U,q,V,j,b,L,k,B,Z,H,z,Q,G,J,W,K,$,tt,Vt,nt,it,et,rt,ct,st,ot,dt,at,i,m,ht,C,ut,xt,V,yt,n,ft,R;function lt(t,V,n){return new s.Rect(t.x+V,t.y+n,t.width,t.height)}function gt(t,V,n){var n,V,i,e,t,r,i,c,e,c,e,n=t.yw(n),V=t.dw(V),i=n&&n.length,e=V&&V.length,t=t.options.rightToLeft;if(0<i&&0<e)return i=i-1,c=n[t?0:i],e=V[e-1],c=c.x+c.width-n[t?i:0].x,e=e.y+e.height-V[r=0].y,new s.Rect(n[t?i:0].x,V[0].y,c,e)}function At(t,V,n,i){var e,i;if(i&&(e=lt(i,-t.scrollLeft,-t.scrollTop)),n){if(!(i=V.getIntersectRect(n)))return e;i=lt(i,-V.x,-V.y),e=e?e.getIntersectRect(i):i}return e}function pt(t,V,n){for(var i,e,i=0,e=V;e<=n;e++)i+=t.Kt(e);return i}function wt(t,V,n){for(var i,e,i=0,e=V;e<=n;e++)i+=t.Gt(e);return i}function vt(t){return t.isPaintSuspended()||t.shapes&&t.shapes.UrV()}function jt(t,V,n){var i;0===V.changeType?(i="Object"===(i=V.shape).constructor.name?t.get(i.name):i)&&(Lt(i,!0),i.onV=!0,i.AP(V.value,n),delete i.onV,Lt(i,!1),i.anV()):1===V.changeType&&t.AP(V.value,n)}function bt(t,V,n){V&&t.setExpression(V.id,V.name,n?V.newExpression:V.expression)}function I(){return null!==R&&R.apply(this,arguments)||this}function Lt(t,V){t.snV=V,t.ttV===y.CT_ShapeType.CT_GroupShape&&t.tin.forEach(function(t){Lt(t,V)})}function mt(t){var V,V,t,V=t.shapes;V?V.forEach(mt):(V=t.JVV)&&(t=(0,h.getFormulaSettingItems)(t,V.hnV))&&V.unV(t,!0)}function Ct(t){var V;t.shapeLayers[0].model.shapes.forEach(mt)}function M(t,V){_(t,V),F(t),t.Lj(t,[{row:V}],d.LayoutChangeType.rowChanged)}function Rt(t,V,n){var i,e,i=0;for(1===n&&(i=-t.ly),e=0;e<V;e++)i+=t.Gt(e,3);return i}function It(t,V,n,i){var e,r,e=0;for(1===n&&(e=-t.my),r=0;r<V;r++)e+=t.nn(r,3);return e=t.options.rightToLeft?w(0,(0,D.getLastColumnX)(t)-e-i.width):e}function Mt(t){_(t),E(t)}function _(n,t){var i,e,i=n.isPaintSuspended(),e=j(t)?p:n.C0(t);n.shapeLayers.forEach(function(t,V){var V=v(V/3);(e===p||e<=V)&&(i?t.ssV=!0:Et(n,t,V))})}function E(n,t){var i,e,i=n.isPaintSuspended(),e=j(t)?p:n.S0(t);n.shapeLayers.forEach(function(t,V){var V=V%3;(e===p||e<=V)&&(i?t.dsV=!0:St(n,t,V))})}function _t(n){n.shapeLayers.forEach(function(t,V){t.ssV&&Et(n,t,v(V/3)),t.dsV&&St(n,t,V%3)})}function Et(t,V,n){var i=t.getViewportTopRow(n);V.Tb=i,V.scrollTop=Rt(t,i,n),V.ssV=!1}function St(t,V,n){var i=t.getViewportLeftColumn(n);V.Ab=i,V.scrollLeft=It(t,i,n,V),V.dsV=!1}function Ft(t,V){for(var n,i,n=0,i=0;i<V;i++)n+=t.Gt(i);return n}function Xt(t,V){for(var n,i,n=0,i=0;i<V;i++)n+=t.nn(i);return n}function Yt(t,V,n){var i,e,r,c,s,s,o,d,a,i=n.scrollTop,e=n.Tb,r=n.ly;if(0===V)e=t.Eve(),r=0,i=Ft(t,e);else if(1===V)if(c=n.Tb,s=n.ly,e=t.getViewportTopRow(V),s=-s,o=-(r=t.ly),(d=t.getRowCount())<c)i=Ft(t,e),i+=o;else if(c<e){for(i+=t.Gt(c)-s,a=c+1;a<e;a++)i+=t.Gt(a);i+=o}else if(e<c){for(i-=s,a=c-1;e<a;a--)i-=t.Gt(a);i-=t.Gt(e)-o}else i+=o-s;else if(2===V){if(c=n.Tb,e=t.getViewportTopRow(V),(d=t.getRowCount())<c)i=Ft(t,e);else if(c<e)for(a=c;a<e;a++)i+=t.Gt(a);else if(e<c)for(a=c-1;e<=a;a--)i-=t.Gt(a);r=0}n.scrollTop=i,n.Tb=e,n.ly=r}function Ot(t,V,n){var i,e,r,c,s,s,o,d,a;if(t.options.rightToLeft)St(t,n,V);else{if(i=n.scrollLeft,e=n.Ab,r=n.my,0===V)e=t.jve(),r=0,i=Xt(t,e);else if(1===V)if(c=n.Ab,s=n.my,e=t.getViewportLeftColumn(V),s=-s,o=-(r=t.my),(d=t.getColumnCount())<c)i=Xt(t,e),i+=r;else if(c<e){for(i+=t.nn(c)-s,a=c+1;a<e;a++)i+=t.nn(a);i+=o}else if(e<c){for(i-=s,a=c-1;e<a;a--)i-=t.nn(a);i-=t.nn(e)-o}else i+=o-s;else if(2===V){if(c=n.Ab,e=t.getViewportLeftColumn(V),(d=t.getColumnCount())<c)i=Xt(t,e),i+=r;else if(c<e)for(a=c;a<e;a++)i+=t.nn(a);else if(e<c)for(a=c-1;e<=a;a--)i-=t.nn(a);r=0}n.scrollLeft=i,n.Ab=e,n.my=r}}function Tt(t,V,n,i,e){var r=t.style;r.left===V+"px"&&r.top===n+"px"&&r.width===i+"px"&&r.height===e+"px"||(r.left=V+"px",r.top=n+"px",r.width=i+"px",r.height=e+"px",t.width=i,t.height=e,l.Bf.$l(t,i,e))}function Nt(t,V,n,i){var e,r,c,s,o,d,c,a,s,i,n,V,a,e=V.yw(i),r=V.dw(n),c=e&&e.length,s=r&&r.length,o=V.options.rightToLeft;0<c&&0<s&&(c=c-1,a=e[o?0:c],s=r[s-1],i=1===i?V.my:0,n=1===n?V.ly:0,V=a.x+a.width-(e[o?c:0].x-i),a=s.y+s.height-(r[d=0].y-n),t.width=Math.min(t.width,V),t.height=Math.min(t.height,a))}function S(t,V){var n=t.shapes;0!==n.all().length&&(t.options.rightToLeft||V)&&(n.all().forEach(function(t){t.ytV.xnV(),t.ytV.mtV(),t.lnV(),t.anV()}),V&&n.all().forEach(function(t){t.GiV()}),E(t),t.cnV())}function F(t){t.shapes.all().forEach(function(t){t.dynamicMove()?t.ytV.xnV():t.ytV.ynV(),t.dynamicSize()?t.ytV.mtV():t.ytV.fnV(),t.lnV(),t.anV()}),t.cnV()}function Pt(t){var V=0,n=0;return t.forEach(function(t){V=w(V,t.endRow()),n=w(n,t.endColumn())}),{row:V,col:n}}function Dt(t,V){for(var n,i,e,n=0,i=t.ddV=[],e=0;e<=V;e++)i[e]=n,n+=t.nn(e)}function Ut(t,V){for(var n,i,e,n=0,i=t.odV=[],e=0;e<=V;e++)i[e]=n,n+=t.Gt(e)}function qt(t,V){var V=Pt(V),n,i;kt(t,V.row,V.col)}function kt(t,V,n){Ut(t,V),Dt(t,n)}function Bt(t){t.ddV=A,t.odV=A}function Zt(t){Mt(t),o.GeometryServiceManager.startCache();var V=t.shapes.all();qt(t,V),V.forEach(function(t){t.gnV(),t.anV({layoutConnectionLine:!1})}),Bt(t),o.GeometryServiceManager.endCache()}function X(t){for(var V,n,i,e,V=!1,n=t.shapes.all(),i=n.length,e=0;e<i;e++)if(n[e]&&n[e].isSelected()){V=!0;break}return V}function Ht(t){var V=[];return t.shapes.all().forEach(function(t){t.isSelected()&&V.push(t.ctV)}),V}function zt(t){var t=Ht(t);return t&&1===t.length&&(0,f.isCanEditTextShape)(t[0].JVV)?t[0]:null}function Qt(t,V,n){var i,e,e,V,r,c,s,i=t.name();(0,f.needOpenTextEditor)(V.JVV)?(e={r:p},P.ShapeBase.et(V,"beforeOpenShapeTextEditor",e),e.r||n.execute({cmd:tt,sheetName:i,shapeName:V.JVV.name()})):3===V.ttV&&(e=V.JVV)&&(V="sjs://",r=e.range(),c=e.doubleClickCommand())&&("string"==typeof c?c===nt?(s=e.ytV.AnV)&&(Y(r,V)||(r=V+r),n.execute({cmd:Vt,sheetName:s.sheet.name()}),n.execute({cmd:nt,sheetName:i,url:r})):n.execute({cmd:c,sheetName:i}):"function"==typeof c&&c.call(p,t,e.name()))}function Gt(t){var V,n,i,t,V=t.startRow(),n=t.startColumn(),i=t.endRowOffset()<1?t.endRow()-1:t.endRow(),t=t.endColumnOffset()<1?t.endColumn()-1:t.endColumn();return new l.Range(V,n,(i=i<V?V:i)-V+1,(t=t<n?n:t)-n+1)}function Jt(t,V){var V,n,i,e,V,r,c,s,t,V=Gt(V);return!!t.intersect(V.row,V.col,V.rowCount,V.colCount)&&(n=V.row,i=V.col,e=V.row+V.rowCount-1,V=V.col+V.colCount-1,r=0<t.row?t.row-1:0,c=0<t.col?t.col-1:0,s=t.row+t.rowCount,t=t.col+t.colCount,r<=n)&&c<=i&&e<=s&&V<=t}function Wt(t,V,n,i){var e,r,n,e=1,r=n?" ":"_";for(n&&(n=V.lastIndexOf(" "),e=i+1,V=V.substr(0,n));t[V+r+e];)e++;return V+r+e}function Y(t,V,n){return(xt=xt||String.prototype.startsWith||function(t,V){return this.substr(!V||V<0?0:+V,t.length)===t}).call(t,V,n)}n=this&&this.__extends||(ft=function(t,V){return(ft=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}ft(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(t,"__esModule",{value:!0}),t.doubleClickProcess=t.getFocusedShape=t.getSelectedShapesUI=t.hasSelectedShape=t.clearWorksheetXYCoordinateCache=t.updateWorksheetXYCoordinateCacheImp=t.updateWorksheetXYCoordinateCache=t.adjustViewportRect=t.recalculateScrollLeft=t.recalculateScrollTop=t.recalculateScroll=t.getScrollLeft=t.getScrollTop=t.SheetModelManager=void 0,l=V("Core"),T=V("SheetsCalc"),i=V("Common"),y=V("./dist/plugins/shape/drawingInterface.js"),s=V("./dist/plugins/shape/ui/util.js"),f=V("./dist/plugins/shape/ui/shapes.js"),a=V("./dist/plugins/shape/ui/canvas.js"),d=V("./dist/plugins/shape/shape.interface.js"),e=V("Comment"),r=V("FloatingObject"),c=V("ConditionalFormatting"),N=V("./dist/plugins/shape/formControl/controls/comboFormControl.js"),o=V("./dist/plugins/shape/geometryService/serviceManager.js"),h=V("./dist/plugins/shape/util/viewUtil.js"),u=V("./dist/plugins/shape/shapeCollection.js"),P=V("./dist/plugins/shape/shapeView.js"),x=V("./dist/plugins/shape/shape-io.js"),D=V("./dist/plugins/shape/util/sheetUtil.js"),g=l.mt.vi,A=void 0,p=null,w=Math.max,v=Math.floor,U=i.Common.zf,q=r.Drawing.UnitHelper.IsNullOrEmpty,V=l.GC$.extend,j=i.Common.lt.ht,b="gc-spread-toolTip",L="shape-tooltip",k="margin",B="font",Z="padding",H="border",z="box-sizing",Q="z-index",G="background-color",J="content-box",W="background",K="white",$="color",tt="openTextEditor",Vt="unSelectAllShapes",nt="openUrl",it=l.UsedRangeUtil.vh,et=1,rt="options.stroke._",ct="options.endPoints.",st=["beginArrow","endArrow"],ot=["type","widthType","lengthType"],dt=["BegingArrowhead","EndArrowhead","Style","Width","Length"],V(l.Worksheet.prototype,at={QnV:function(t){var V=this.shapeLayers;V&&0<V.length&&V[0].layoutConnectionLine(t)},wdV:function(t,V,n,i){var t,V,e,r,c,c,s,r,o,r,d,c,t=t.getShapeById(V);t&&(e=(V=t.JVV)&&V.ytV,-1!==["left","top","width","height"].indexOf(n)?(t.updateCenterData(),"left"===n?V.bnV(i,e.A0):"top"===n?V.bnV(e.I0,i):"width"===n?V.$l(i,e.ZC):"height"===n&&V.$l(e.YC,i)):"angle"===n?e&&(e.Rotation=i):"range"===n&&3===t.ttV?V.GrV(i):"src"===n&&5===t.ttV?V.VrV(i):Y(n,"options.")?Y(n,c="options.textFormatOptions")?((0,h.updateOptionItemByPath)(t,n,i),"text"===(r=n.substr((c+".").length))?V.GnV(i):"font"===r?V.JnV(i):"fill.color"===r?V.adV(i):"fill.transparency"===r?V.KnV(i):"horizontalAlignment"===r?V.$nV(i):"verticalAlignment"===r&&V.teV(i)):Y(n,"options.fill.")?(n=n.substr("options.fill.".length),V.nrV(n,i)):e&&(c=e.Line,s=!0,Y(n,rt)?"capType"===(r=n.substr(rt.length))?c.CapStyle=i:"joinType"===r?c.JoinStyle=i:"compoundType"===r?c.Style=i:"lineStyle"===r?c.DashStyle=i:"width"===r?c.Weight=i:"color"===r?c.Color.setColor(V.Mf,i):"transparency"===r&&(c.Color.Transparency=i):Y(n,ct)?(r=n.substr(ct.length).split("."),o=st.indexOf(r[0]),r=ot.indexOf(r[1]),0<=o&&0<=r&&(c[d=dt[o]+dt[r+2]]=i),(0,h.updateOptionItemByPath)(t,n,i)):s=!1,s)&&y.ShapeUtility.syncShapeLineFormat(t.options,e):Y(n,"form_control.")&&(c=V.GtV)&&c.onFormulaValueChange&&c.onFormulaValueChange(n,i))},eeV:function(t,V){var n=this.RnV;return n&&(V&&" "===t[t.length-1]&&(t+="1"),n[t=n[t]?Wt(n,t,V,this.shapes.pnV()):t]=!0),t},csV:function(t,V){var n=this.RnV;n&&(n[t]=!1,n[V]=!0)},WVV:function(){var t=this,V=t.parent,n=t.uM,V=V&&V.uM,n;return n=n||(t.uM=V||{fromSheet:p,isCutting:!1})},ieV:function(){var t,V=this.WVV(),n=V&&V.fromSheet;n&&(n.$VV=p),V.fromSheet=p,V.isCutting=!1},ceV:function(V){var t=this.shapes.all();Array.isArray(t)&&t.forEach(function(t){t.isSelected(V)})},cnV:function(r){var c,s,c=this;vt(c)||(s=c.Fi(),c.shapeLayers.forEach(function(t,V){var n,V,i,e,n;0===V&&t.shapes.forEach(function(t){t.Oi=c.Oi}),n=(0,y.getWholeNumber)(V/3),n=At(t,i=s.c9(n,V=V%3),e=gt(c,n,V),r),t.paint(null,n)}))},isPasteShapes:function(){var t,V,n,t=this,V=t.WVV().fromSheet;return!!(n=V?(n=t.$VV)||V.$VV:n)},isShapeTextEditorOpened:function(){return f.ShapeTextEditor.getInstance().isOpened},reV:function(t){var V,n,i,t,V,V,e,r,t,V=this,n=new s.Rect(0,0,0,0),i=V.Jt,t=V.JS(t);return 1===t.rowCount&&1===t.colCount&&(V=V.getSpan(t.row,t.col))&&(t.rowCount=V.rowCount,t.colCount=V.colCount),V=t.row,e=t.row+t.rowCount-1,r=t.col,t=t.col+t.colCount-1,n.width=pt(i,r,t)+1,n.height=wt(i,V,e)+1,n}}),R=l.Y8,n(I,R),I.prototype.deV=function(t){var V=this.oeV;return!V||!V[t]},I.prototype.aeV=function(t){var V=this.oeV;V&&(V[t]=!0)},I.prototype.seV=function(t){var V,n,i,V=this,n=V.G8;n&&V.deV(t.id)&&(i=(i=n.shapeFormulaChanges)||(n.shapeFormulaChanges=[])).push(t)},I.prototype.heV=function(t,V){var n,i,e;if(t)if(i=(n=this).Mf.shapeLayers[0].model.calcSource_,V)for(e=0;e<t.length;e++)bt(i,t[e],V);else for(e=t.length-1;0<=e;e--)bt(i,t[e],V)},I.prototype.ueV=function(t,V){var n,i,e,n=this,i=n.G8;i&&n.deV(t.ctV.id)&&(e=(e=i.shapeChanges)||(i.shapeChanges=[])).push({shape:t,value:V,changeType:0})},I.prototype.HnV=function(t){var V,n,i,V,n=this.G8;n&&(i=(i=n.shapeChanges)||(n.shapeChanges=[])).push({value:t,changeType:1})},I.prototype.xeV=function(t,V){var n,i;if(t)if(n=this.tin,V)for(i=0;i<t.length;i++)jt(n,t[i],V);else for(i=t.length-1;0<=i;i--)jt(n,t[i],V)},t.SheetModelManager=i=I,l.Y8.prototype=i.prototype,i.ch("shape",{priority:5100,init:function(){this.tin=new u.ShapeCollection(this.Mf)},applyChanges:function(t){var V,n,i,e,e,r,c,s,o,d,a,h,u,V=this,n=t.changes,i=t.isUndo;if(n){if(e=n.shapeChanges)"Designer.shapeGroup"===t.command.cmd&&(e=e.filter(function(t){return 1===t.changeType&&("group"===t.value.type||"ungroup"===t.value.type)})),V.xeV(e,!i),(e=n.shapeFormulaChanges)&&V.heV(e,!i),Ct(V.Mf);else if("dragCopyShapes"===t.command.cmd)for(r=0;r<n.length;r++)c=n[r],i?V.tin.remove(c.name):(s=V.tin.get(c.oldShapeName),(o=JSON.parse(JSON.stringify(s.toJSON()))).name=c.name,(d=(0,x.shapeFromJSON)(V.Mf,o)).x(c.offsetX),d.y(c.offsetY),V.tin.ZP(d));else if("submitShapeText"===t.command.cmd)for(a=Object.keys(t.command.values),r=0;r<a.length;r++)h=a[r],u=t.command.values[h],s=V.tin.get(h),d=(i?u.oldValues:u.values)[0][1],s.text(d);V.Mf.cnV()}},undo:function(t){var V,n,n,V=this;V.oeV={},n=t.shapeChanges,V.xeV(n),(n=t.shapeFormulaChanges)&&V.heV(n),Ct(V.Mf),V.Mf.cnV(),delete V.oeV},startTransaction:function(){var V,t,n,V=this,t=V.Mf.shapeLayers;V.oeV={},t&&t.length&&((n=t[0].model.calcSource_).yeV=function(t){t.id&&0===t.id.indexOf("baseShape")||V.seV(t)})},endTransaction:function(){var t=this.Mf.shapeLayers;delete this.oeV,t&&t.length&&delete t[0].model.calcSource_.yeV}}),t.getScrollTop=Rt,t.getScrollLeft=It,t.recalculateScroll=Mt,t.recalculateScrollTop=_,t.recalculateScrollLeft=E,t.adjustViewportRect=Nt,t.updateWorksheetXYCoordinateCache=qt,t.updateWorksheetXYCoordinateCacheImp=kt,t.clearWorksheetXYCoordinateCache=Bt,t.hasSelectedShape=X,t.getSelectedShapesUI=Ht,t.getFocusedShape=zt,t.doubleClickProcess=Qt,m=".gcShape",ht="spanChanged",C={priority:1900,init:function(){var i,t,e,V,n,r,c,s,o,i=this;for(i.RnV={},t=[],e=a.Canvas.createShapeModel(),V=0;V<3;V++)for(n=0;n<3;n++)c=3*V+n,s=null,(r=i.shapeLayers)&&r[c]&&(s=r[c].host),(o=t[c]=new a.Canvas(e,s,V,n)).Mf=i;i.shapeLayers=t,e.onPropertyChangedByFormula=function(t,V,n){i.wdV(e,t,V,n)},i.shapes=i.Ut.tin,u.ShapeCollection.et(i.shapes,"init"),i._3(m),i.D3(l.Events.RangeChanged+m,function(t,V){V&&V.changedCells&&0<V.changedCells.length&&i.Lj(i,V.changedCells,d.LayoutChangeType.layoutChanged),i.celldirty=!0,i.suspendUpdate}),i.D3(l.Events.CellChanged+m,function(t,V){V&&3===V.sheetArea&&i.Lj(i,[{row:V.row,col:V.col}],d.LayoutChangeType.layoutChanged)}),i.D3(ht+m,function(t,V){V&&(3===V.sheetArea||j(V.sheetArea))&&i.Lj(i,[{row:V.row,col:V.col}],d.LayoutChangeType.layoutChanged)}),i.D3(l.Events.ColumnWidthChanged+m,function(t,V){E(i,V.colList[0]),F(i);var n=[];V.colList.forEach(function(t){n.push({col:t})}),i.Lj(i,n,d.LayoutChangeType.columnChanged)}),i.D3(l.Events.RowHeightChanged+m,function(t,V){_(i,V.rowList[0]),F(i);var n=[];V.rowList.forEach(function(t){n.push({row:t})}),i.Lj(i,n,d.LayoutChangeType.rowChanged)}),i.D3(l.Events.TableFiltered+m,function(t,V){var V=V.table.range().row;M(i,V)}),i.D3(l.Events.TableFilterCleared+m,function(t,V){var V=V.table.range().row;M(i,V)}),i.D3(l.Events.RangeFiltered+m,function(){var t=i.IB?i.IB.range.row:-1;M(i,t)}),i.D3(l.Events.RangeFilterCleared+m,function(){var t=i.IB?i.IB.range.row:-1;M(i,t)}),i.D3(l.Events.FloatingElementSelected+m,function(t,V){"shape"!==V.type&&X(i)&&(i.shapes.V2(),i.ceV(!1),i.shapes.Y2())}),i.D3(l.Events.RangeGroupStateChanged+m,function(t,V){(V.isRowGroup?_:E)(i),F(i)}),i.D3(l.Events.ShapeSelectionChanged+m,function(t,V){var V,n,V=zt(V.sheet),n=f.ShapeTextEditor.getInstance();n.hP()&&n.closeEditor(),V&&f.ShapeTextEditor.getInstance().RQt!==V.JVV&&n.initEditor(V.JVV)})},attach:function(t){var V=this,n,n=t instanceof l.Workbook?t.Lp:V.getCalcService();V.shapeLayers.forEach(function(t){t.model.name=V.name()+"shapes",t.model.setService(n)})},getRelatedCalcSources:function(t){var V=this.shapeLayers[0].model.calcSource_;V&&t.calcSources.push(V)},dispose:function(t){var i,t,t,V,e,i=this;!1!==t.clearCache&&(i.shapes.dispose(),i._3(m)),t.hasActiveSheet||(V=(t=(t=i.qc())&&(0,l.GC$)(t).find(".shapeWraper"))&&t.get(0),e=V&&V.getAttribute("sheet")===this.name(),i.shapeLayers&&i.shapeLayers.forEach(function(t){var V,n,t,V=t.host,n=V&&e;n&&l.Bf.th(i,V),t.setHost(null),t.Mf=null,t.dispose(),n&&(t=V.parentNode)&&t.removeChild(V)}),e&&t.remove(),f.ShapeTextEditor.getInstance().dispose(),N.ComboFormControlDomRender.dispose())},setHost:function(i){var e,r,e=this,r=i.parent().find(".shapeWraper").get(0);r?r.setAttribute("sheet",this.name()):((r=document.createElement("div")).setAttribute("class","shapeWraper"),r.style.position="relative",r.setAttribute("sheet",this.name()),i.parent().prepend(r)),e.shapeLayers.forEach(function(t,V){var V,n,V=i.attr("id")+"shapeHost"+V,n=i.parent().find("#"+V).get(0);if(!n){if(n=document.createElement("canvas"),l.Bf.Wl(n,p,e),!n)return;n.style.position="absolute",n.style.pointerEvents="none",n.style.width=0,n.style.height=0,n.width=0,n.height=0,n.style.zIndex=900,n.id=V,(0,l.GC$)(r).append(n)}t.setHost(n),t.onShapeSelected=function(){e.ki(l.Events.FloatingElementSelected,{type:"shape"})}})},onLayoutChanged:function(t){var d,V,n,i,e,t,r,a,c,h,u,x;!j(t.sheetArea)&&3!==t.sheetArea||(V=t.changeType,n=t.row,i=t.rowCount,e=t.col,t=t.colCount,r=(d=this).shapes,"invalidateLayout"!==V&&r.V2(),"addRows"===V?r.JO(n,i):"deleteRows"===V?r.xP(n,i):"addColumns"===V?(r.qO(e,t),S(d)):"deleteColumns"===V?(r.NP(e,t),S(d)):"setColumnCount"===V?(E(d),S(d)):"setRowCount"===V?_(d):"invalidateLayout"===V?(a=d.Fi(),u=h=0,x=f.ShapeTextEditor.getInstance(),d.shapeLayers.forEach(function(t,V){var n,V,i,e,r,c,s,o,n=(0,y.getWholeNumber)(V/3),V=V%3,i=t.host;i&&(Nt(e=a.c9(n,V),d,n,V),r=e.width,c=e.height,Tt(i,s=e.x+h,o=e.y+u,r,c),t.width=r,t.height=c,0<r&&0<c&&(Yt(d,n,t),Ot(d,V,t)),x.shouldRefreshPosition(n,V))&&x.refreshPosition(t.scrollLeft,t.scrollTop)})):"zoomSheet"===V?Zt(d):"rowFilterCleared"===V&&M(this,n=d.IB?d.IB.range.row:-1),"invalidateLayout"===V)||r.Y2()},onRowColInfoChanged:function(t){var V,n,V,i,t,n=this;!0!==(null==(V=this.parent)?void 0:V.Gie)&&(V=t.propertyName,i=t.row,t=t.col,j(i)?j(t)||"width"!==V&&"isVisible"!==V||(E(n,t),F(n),n.Lj(n,[{col:t}],d.LayoutChangeType.columnChanged)):"height"!==V&&"isVisible"!==V||M(n,i))},onCopyOrMoveRange:function(t){var a,V,n,h,u,x,y,i,e,r,t,i,c,e,f,a=this,V=t.srcSheet,n=t.isMove,h=t.fromRow,u=t.fromCol,x=t.toRow,y=t.toCol,i=t.rowCount,e=t.colCount,r;(t.copyToOption&l.CopyToOptions.shape)===l.CopyToOptions.shape&&(t=V.shapes,i=new l.Range(h,u,i,e),c=V.JS(i),e=t.all().filter(function(t){return!!t.dynamicMove()&&Jt(c,t)}),f=!n||a!==V,e.forEach(function(t){var V,n,i,e,r,c,s,o,d,V=t;f&&(V=t.Gf(a),a.shapes.ZP(V)),n=t.startRowOffset(),i=t.endRowOffset(),e=t.startColumnOffset(),r=t.endColumnOffset(),c=t.startRow()-h+x,s=t.startColumn()-u+y,o=c+t.endRow()-t.startRow(),d=s+t.endColumn()-t.startColumn(),V.startRow(c),V.startRowOffset(n),V.startColumn(s),V.startColumnOffset(e),t.dynamicSize()&&(V.endRow(o),V.endRowOffset(i),V.endColumn(d),V.endColumnOffset(r))}))},onImageLoaded:function(){var t;this.shapes.all().forEach(function(t){t.urV()})},onRightToLeftChanged:function(){this.shapes&&S(this,!0)},paint:function(t){var t=t&&t.clipRect;t&&(0===t.width||0===t.height)||this.cnV()},getUsedRange:function(t){var V,n,i;t.type&l.UsedRangeType.shape&&(i=(n=(V=this).shapes).getUsedRange(),it(t.range,i))},toJson:function(t,V){(0,x.toJson)(this,t,V)},fromJson:function(t,V,n){(0,x.fromJson)(this,t,V,n)},fromJsonAfterFormula:function(){var t=this;t.shapes.all().forEach(function(t){t.formulaFromJSON(!1,!1)}),u.ShapeCollection.et(t.shapes,"fromJsonAfterFormula",{sheet:t})},wh:function(t,V,n,i){(0,x.toSJSFormat)(this,t,V,n,i)},yh:function(t,V,n){(0,x.fromSJSFormat)(this,t,V,n)},fromJsonAfterSJSFormula:function(t,V,n){var i,e,i=this,e=l.Util.wo(n,i.parent.v2);i.shapes.all().forEach(function(t){t.formulaFromJSON(e,!0,V)}),u.ShapeCollection.et(i.shapes,"fromJsonAfterSJSFormula",{sheet:i})},afterRefSheetLazyLoaded:function(t){this.shapes.all().forEach(function(t){return t.afterRefSheetLazyLoaded()})},preProcessMouseDown:function(t){var V,n,i,e,i,e,V=this,n=t.e,i=V.uw(),e=V.FL(n.pageY-i.top),i=V.PL(n.pageX-i.left);e<0||2<e||i<0||2<i||(V.geV=e,V.AeV=i,(e=V.shapeLayers[3*e+i])&&(e.doMouseDown(n),V.working=t.r=!!e.hitTestAnyway,t.r&&(V.Zg(),V.rt.I1.focus()),V.Dn.E1()))},preProcessMouseMove:function(t){var V,n,i,e,r,i,e,r,c,s,o,d,d,V,t,s,o,i,V=this,n=t.e,i=V.uw(),e=V.geV;j(e)&&(e=V.FL(n.pageY-i.top)),r=V.AeV,j(r)&&(r=V.PL(n.pageX-i.left)),e<0||2<e||r<0||2<r||(i=V.shapeLayers[3*e+r])&&(i.hitTestResult||i.hitTestResultInProtectedMode?(V.suspendUpdate=!0,i.doMouseMove(n),t.r=!0):V.rt&&!0!==V.rt.u9&&!0!==V.rt.s9&&(e=V.Dg(),r=i.hitTest(n),i.jdV(r,n),c=e.mouseEnterShape,r?(s=a.Canvas.getCursorFromHitTest(r),e.style.cursor=s,t.r=!0,t.cursor=s,(o=(0,a.getShouldProcessControlShape)(r))&&o.onMouseMove(n,i),(d=V.parent).options.enableAccessibility&&d.n2(r.shape.JVV.alt())):(i.isSheetProtected()||V.shapeIsProtected&&V.shapeIsProtected())&&(r=i.hitTest(n,!0))&&(s=a.Canvas.getCursorFromHitLinkedTest(r,"",!0),e.style.cursor=s,t.r=!0,t.cursor=s,o=(0,a.getShouldProcessControlShape)(r))&&o.onMouseMove(n,i),d=r&&r.shape,V=a.Canvas.weV(r),d&&(t=d.JVV)&&(s=t.Mf,V&&V.hyperlink&&!q(V.hyperlink.tooltip)&&!d.isSelected?(c!==V&&s.parent.Tw(U.j0(V.hyperlink.tooltip),n.clientX,n.clientY+20,!0),(o=document.getElementsByClassName(b)[0])&&!o.classList.contains(L)&&(o.classList.add(L),(0,l.GC$)(o).css(k,0).css(Z,2).css(H,"1px #c0c0c0 solid").css("box-shadow","1px 2px 5px rgba(0,0,0,0.4)").css(z,J).css(Q,"920").css(G,K).css(B,"9pt Arial").css(W,K).css($,"black"))):(i=document.getElementsByClassName(b))&&0!==i.length&&s.parent.iy()),e.mouseEnterShape=V))},preProcessMouseUp:function(t){var V,n,i,e,i,V=this;V.suspendUpdate=!1,n=t.e,i=V.geV,e=V.AeV,j(i)||i<0||2<i||j(e)||e<0||2<e||(i=V.shapeLayers[3*i+e])&&(i.doMouseUp(n),V.working&&(V.working=!1,t.r=!0),V.celldirty&&i.shapes&&0<i.shapes.length&&(V.celldirty=!1),V.geV=null,V.AeV=null)},preProcessMouseOut:function(t){var V,n,i,e,i,e,i,e,i,V=this;V.suspendUpdate=!1,n=t.e,i=V.uw(),e=n.pageX-i.left,i=n.pageY-i.top,e<(e=(0,l.GC$)(V.Dg())).width()&&i<e.height()||(i=V.geV,e=V.AeV,j(i))||i<0||2<i||j(e)||e<0||2<e||(i=V.shapeLayers[3*i+e])&&(i.doMouseOut(n),V.working&&(V.working=!1,t.r=!0),V.celldirty&&(V.celldirty=!1,V.repaint()),V.geV=null,V.AeV=null)},processKeyDown:function(t){var V;X(this)&&(t.r=!0)},processCompositionStart:function(t){var V;zt(this)&&(t.r=!0)},needPaintSelection:function(t){t.nps=!X(this)},onGroupChanged:function(t){this.shapes.Udt(t.start,t.end,t.isRow,t.fromSetCollapsed)},preProcessMouseDbClick:function(t){var V,n,i,e,i,e,i,e,n,V=this,n=t.e,i=V.uw(),e=V.FL(n.pageY-i.top),i=V.PL(n.pageX-i.left);e<0||2<e||i<0||2<i||(V.geV=e,V.AeV=i,(e=V.shapeLayers[3*e+i])&&V.rt&&!0!==V.rt.u9&&!0!==V.rt.s9&&(e=(i=e.hitTest(n))&&i.shape,n=V.Qy(),e)&&(Qt(V,e,n),t.r=!0))},preProcessContextMenu:function(t){var V,n,n,n,n,n,V=f.ShapeTextEditor.editor,n=t.hitInfo,n=n&&n.worksheetHitInfo,n=n&&n.shapeHitInfo,n=n&&n.shape,n=n&&n.ctV;V&&n&&V.isOpened&&V.RQt===n&&(t.r=!0)},onThemeChanged:function(){this.shapes.all().forEach(function(t){t.sdV()})},onPaintSuspend:function(t){t.suspend||_t(this)},onFilterChanged:function(t){var V;null!=t&&t.table&&M(this,t.table.range().row)}},l.Worksheet.ch("shape",C),r.FloatingObjectRender&&r.FloatingObjectRender.ch("shape",{preProcessMouseDown:function(t){var V=this.Mf;C.preProcessMouseDown.call(V,t)},preProcessMouseMove:function(t){var V=this.Mf;C.preProcessMouseMove.call(V,t)},preProcessMouseUp:function(t){var V=this.Mf;C.preProcessMouseUp.call(V,t)}}),e&&e.hW.ch("shape",{preProcessMouseDownEdit:function(t){var V=this.TZ.Mf;C.preProcessMouseDown.call(V,t)},preProcessMouseDownDragResize:function(t){var V=this.TZ.Mf;C.preProcessMouseDown.call(V,t)},preProcessMouseMove:function(t){var V=this.TZ.Mf;C.preProcessMouseMove.call(V,t)},preProcessMouseUp:function(t){var V=this.TZ.Mf;C.preProcessMouseUp.call(V,t)}}),c&&c.ConditionalFormats.ch("shape",{onRuleAdded:function(t){this.Lj(this,t.ranges,d.LayoutChangeType.layoutChanged)},onRuleRemoved:function(t){this.Lj(this,t.ranges,d.LayoutChangeType.layoutChanged)},onRuleUpdated:function(t){this.Lj(this,t.ranges,d.LayoutChangeType.layoutChanged)}}),l.Workbook.ch("shape",ut={priority:1e3,init:function(){l.Commands.rnV(this.commandManager())},onCommandExecuting:function(t){var V;t.shapes.all().forEach(function(t){t.isSelected(!1)})},onCultureChanged:function(){(0,y.sR)()},fromJson:function(){var t=this.getActiveSheet(),V=t&&t.qc(),V=V&&(0,l.GC$)(V).find(".shapeWraper"),V=V&&V.get(0);V&&V.getAttribute("sheet")!==t.name()&&V.setAttribute("sheet",t.name())},wh:function(t,V,n){(0,x.toSJSFormatWhenWorkbook)(this,t,V,n)},dispose:function(){o.GeometryServiceManager.dispose()}}),V=T.SheetSource.prototype,yt=V.getCustomName,V.getCustomName=function(t){var V,n,V=yt.call(this,t);return!V&&(n=this.Mf)?n.shapeLayers[0].model.calcSource_.getCustomName(t):V},a.Canvas.ch("sheet",{preProcessMouseOut:function(t){var V,n,V,i,e,n,i,V=this;V.suspendUpdate=!1,n=t.e,(V=V.Mf)&&(i=V.uw(),e=n.pageX-i.left,n=n.pageY-i.top,i=(0,l.GC$)(V.Dg()))&&0<i.length&&0<e&&e<i.width()&&0<n&&n<i.height()&&(t.r=!0)}}),(n=l.mt.Tt).msie&&parseFloat(n.version)<=10&&a.Canvas.ch("sheet",{preProcessMouseDown:function(t){var V,n,i,e,r,c,s,r,s,c,r,s,o,V,n=this.Mf;n&&(i=n.uw(),e=t.e,(c=(r=n.comments)&&r.hitTest(e.pageX-i.left,e.pageY-i.top))?(s=c.comment,r=r.mW(s),"comment_editor"===c.area?r.lW(e):"comment_indicator"===c.area&&r.XZ(e)):(c=(s=n.WL)&&s.hitTest(e.pageX-i.left,e.pageY-i.top))?((s="Slicer"===(r=c.floatingObject).typeName&&r.gmi[0])&&s.mmi(e)?s:c.Dn).gg(e):!1===(o=n.B_(e))&&g(e),t.r=!0)},preProcessMouseMove:function(t){var V,n,i,e,r,c,s,r,s,c,r,c,s,r,o,V=this,n=V.Mf;n&&(i=n.uw(),e=t.e,(c=(r=n.comments)&&r.hitTest(e.pageX-i.left,e.pageY-i.top))?(s=c.comment,(r=r.mW(s)).pg(e),"comment_editor"===c.area?V.host.style.cursor="text":"comment_indicator"===c.area&&(s=r.wK(e),c=r.nQ,V.host.style.cursor=0<=s&&s<c.length?c[s].cursor:"move")):(c=(r=n.WL)&&r.hitTest(e.pageX-i.left,e.pageY-i.top))?(r="Slicer"===(s=c.floatingObject).typeName&&s.gmi[0])&&r.mmi(e)?(r.pg(e),V.host.style.cursor="default"):(c.Dn.pg(e),V.host.style.cursor=c.Dn.avt(e)||"move"):(!1===(o=n.L_(e))&&g(e),V.host.style.cursor=n.Dg().style.cursor),t.r=!0)},preProcessMouseUp:function(t){var V,n,i,e,r,c,c,s,r,c,r,i,o,V,n=this.Mf;n&&(i=n.uw(),e=t.e,(c=(r=n.comments)&&r.hitTest(e.pageX-i.left,e.pageY-i.top))?(c=c.comment,(s=r.mW(c)).bg(e)):(c=(r=n.WL)&&r.hitTest(e.pageX-i.left,e.pageY-i.top))?((i="Slicer"===(r=c.floatingObject).typeName&&r.gmi[0])&&i.mmi(e)?i:c.Dn).bg(e):!1===(o=n.F_(e))&&g(e),t.r=!0)},preProcessMouseWheel:function(t){var V,n,i,V,n=this.Mf;n&&(!1===(i=n.P_(t.e))&&g(t.e),t.r=!0)},preProcessMouseOut:function(t){var V,n,i,V,n=this.Mf;n&&!n.xT&&(!1===(i=n.G_(t.e))&&g(t.e),t.r=!0)},preProcessDbClick:function(t){var V,n,i,V,n=this.Mf;n&&(!1===(i=n.U_(t.e))&&g(t.e),t.r=!0)}})},"./dist/plugins/shape/shape-touch.js":function(t,V,n){var r,V,i,d,e,a,h,c,s;function o(t){var V,n,i,i,i,n,e,r,e,V=this,n=t.e.JZ,i=V.ANt(n.X,n.Y,!0),i=3*i.rowViewportIndex+i.colViewportIndex,i=V.Mf.shapeLayers[i];i&&(n=l(V.Mf,n),r=(e=i.hitTest(n))&&e.shape,e=e&&(0,d.getShouldProcessControlShape)(e),r&&r.isSelected||e&&e.processTouchStart())&&(V.peV=i,V.peV.doMouseDown(n),t.r=!0)}function u(t){var V,n,n,V=this,n=t.e.JZ;V.peV&&(n=g(V.Mf,n),V.peV.doMouseMove(n),t.r=!0)}function x(t){var V,n,n,V=this,n=t.e.JZ;V.peV&&(n=A(V.Mf,n),V.peV.doMouseUp(n),V.peV=null,t.r=!0)}function y(t){var V,n,i,i,e,i,r,c,s,o,c,n,V=this,n=t.e.JZ,i=V.ANt(n.X,n.Y,!0),i=3*i.rowViewportIndex+i.colViewportIndex,e=V.Mf.shapeLayers[i];e&&(i=l(V.Mf,n),(c=(r=e.hitTest(i))&&(0,d.getShouldProcessControlShape)(r))&&c.onMouseDown(i,e)?(c.onMouseUp(A(V.Mf,n),e),t.r=!0):(s=r&&r.shape)?(!s.isSelected&&s.hyperlink&&e.processHyperlink(s),e.shapes.forEach(function(t){e.setSelect(t,!1)}),e.setSelect(s,!0),e.onShapeSelected&&e.onShapeSelected(),(o=a.metroMode||h.ipad||h.iphone||h.android)||(a.msie?setTimeout(function(){e.veV(s,V.Mf)},400):e.veV(s,V.Mf)),t.r=!0):e.isSheetProtected()&&(n=(c=e.hitTest(i,!0))?c.shape:null)&&!n.isSelected&&n.hyperlink&&e.processHyperlink(n))}function f(t){var V,n,i,i,i,n,i,n,i,V,V=this,n=t.e.JZ,i=V.ANt(n.X,n.Y,!0),i=3*i.rowViewportIndex+i.colViewportIndex,i=V.Mf.shapeLayers[i];i&&(n=l(V.Mf,n),n=(i=i.hitTest(n))&&i.shape)&&(V=(i=V.Mf).Qy(),(0,e.doubleClickProcess)(i,n,V),t.r=!0)}function l(t,V){return p(t,V,"mousedown")}function g(t,V){return p(t,V,"mousemove")}function A(t,V){return p(t,V,"mouseup")}function p(t,V,n){var t,i,V,e,r,t=t.uw(),i=V.X+t.left,V=V.Y+t.top,e,r;return{type:n,pageX:i,pageY:V,clientX:i-(window.pageXOffset||document.documentElement.scrollLeft),clientY:V-(window.pageYOffset||document.documentElement.scrollTop)}}function w(t,V,n){var i,e,n,i=this;i.AZ=new r.IZ(i),i.xZ=new r.NZ(t,"Shape",i.AZ,2,200),i.kZ=n,i.DZ=new s(t,V),e=i.DZ,(n=i.xZ)._Z=function(){return!0},n.EZ=function(){return!0},n.jZ=function(t){return e.OZ(t)},n.RZ=function(t){return e.BZ(t)},n.LZ=function(t){return e.FZ(t)},n.PZ=function(t){return e.GZ(t)},n.UZ=function(t){return e.HZ(t)},n.ZAt=function(t){return e.WAt(t)}}function v(t,V){var n=this;n.zZ=t,n.LeV=V}Object.defineProperty(V,"__esModule",{value:!0}),r=n("Touch"),V=n("FloatingObject"),i=n("Core"),d=n("./dist/plugins/shape/ui/canvas.js"),e=n("./dist/plugins/shape/shape-spreadjs.js"),a=i.mt.Tt,h=i.mt.pi(),i.Of.touch&&(r.TouchEventHandler.ch("touch",{preProcessManipulationStarted:o,preProcessManipulationDelta:u,preProcessManipulationCompleted:x,preProcessTapped:y,preProcessDoubleTapped:f}),V.FloatingObjectTouchEventHandler.ch("touch",{preProcessTapped:function(t){var V=this.Llt.Mf.dW.DZ;y.call(V,t)}}),w.prototype.oW=function(){var t=this,V=t.kZ;V&&V.aW(t.xZ,!0)},w.prototype.uW=function(){var t=this,V=t.kZ;V&&V.aW(t.xZ,!1)},c=w,v.prototype.WZ=function(t){var t,V,n,t=new r.QZ(t.X,t.Y),V=(0,i.GC$)(this.zZ).offset();return V&&(n=document.body,t.X+=V.left+n.clientLeft||0,t.Y+=V.top+n.clientTop||0),t},v.prototype.jeV=function(t,V){var t=this.WZ(t);return t.X-=V.left,t.Y-=V.top,t},v.prototype.OZ=function(t){var V=this.LeV.Mf;if(V)return V.dW.DZ.OZ(t)},v.prototype.BZ=function(t){var V,n,i,e,e,V=this.LeV.Mf;if(V)return n=this.WZ(t.JZ),i=this.jeV(t.JZ,V.uw()),(e=(e=V.WL)&&e.hitTest(i.X,i.Y))?(this.beV=e,t.JZ=n,e.Dn.dW.DZ.BZ(t,!0)):(t.JZ=i,V.dW.DZ.BZ(t))},v.prototype.FZ=function(t){var V,n,i,V=this.LeV.Mf;if(V)return n=this.WZ(t.JZ),i=this.jeV(t.JZ,V.uw()),this.beV?(t.JZ=n,this.beV.Dn.dW.DZ.FZ(t,!0)):(t.JZ=i,V.dW.DZ.FZ(t))},v.prototype.GZ=function(t){var V,n,i,n,V=this.LeV.Mf;if(V)return n=this.WZ(t.JZ),i=this.jeV(t.JZ,V.uw()),this.beV?(t.JZ=n,n=this.beV.Dn.dW.DZ.GZ(t,!0),this.beV=null,n):(t.JZ=i,V.dW.DZ.GZ(t))},v.prototype.HZ=function(t){var V,n,i,e,e,V=this.LeV.Mf;if(V)return n=this.WZ(t.JZ),i=this.jeV(t.JZ,V.uw()),(e=(e=V.WL)&&e.hitTest(i.X,i.Y))?(t.JZ=n,e.Dn.dW.DZ.HZ(t,!0)):(t.JZ=i,V.dW.DZ.HZ(t))},v.prototype.WAt=function(t){var V=this.LeV.Mf;if(V)return t.JZ=this.jeV(t.JZ,V.uw()),V.dW.DZ.WAt(t)},s=v,a.msie)&&parseFloat(a.version)<=10&&d.Canvas.ch("sheetTouch",{setHost:function(t){var V,n,V=this;V.Mf&&(n=V.dW=new c(t,V,V.Mf.parent.kZ)).oW()},dispose:function(){var t=this.dW;t&&t.uW()}})},"./dist/plugins/shape/shape.entry.js":function(t,V,n){var i,e,r,i=this&&this.__createBinding||(Object.create?function(t,V,n,i){void 0===i&&(i=n);var e=Object.getOwnPropertyDescriptor(V,n);e&&("get"in e?V.__esModule:!e.writable&&!e.configurable)||(e={enumerable:!0,get:function(){return V[n]}}),Object.defineProperty(t,i,e)}:function(t,V,n,i){t[i=void 0===i?n:i]=V[n]}),e=this&&this.__exportStar||function(t,V){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(V,n)||i(V,t,n)};Object.defineProperty(V,"__esModule",{value:!0}),V.ShapeStyle=void 0,e(n("./dist/plugins/shape/drawingInterface.js"),V),e(n("./dist/plugins/shape/shapeInternal.interface.js"),V),e(n("./dist/plugins/shape/shape.interface.js"),V),e(n("./dist/plugins/shape/shapeCollection.js"),V),e(n("./dist/plugins/shape/ui/util.js"),V),e(n("./dist/plugins/shape/ui/options.js"),V),e(n("./dist/plugins/shape/ui/path.js"),V),e(n("./dist/plugins/shape/ui/shapes.js"),V),e(n("./dist/plugins/shape/ui/lines.js"),V),e(n("./dist/plugins/shape/ui/compoundShape.js"),V),e(n("./dist/plugins/shape/ui/canvas.js"),V),e(n("./dist/plugins/shape/ui/propertySource.js"),V),e(n("./dist/plugins/shape/ui/model.js"),V),e(n("./dist/plugins/shape/ui/control.js"),V),e(n("./dist/plugins/shape/shapeStyle.js"),V),r=n("./dist/plugins/shape/shapeStyleView.js"),Object.defineProperty(V,"ShapeStyle",{enumerable:!0,get:function(){return r.ShapeStyle}}),e(n("./dist/plugins/shape/shape.js"),V),e(n("./dist/plugins/shape/shapeView.js"),V),e(n("./dist/plugins/shape/groupShapes.js"),V),e(n("./dist/plugins/shape/groupShapesView.js"),V),e(n("./dist/plugins/shape/connector.js"),V),e(n("./dist/plugins/shape/connectorView.js"),V),e(n("./dist/plugins/shape/presetShapeModels.js"),V),e(n("./dist/plugins/shape/shape-spreadjs.js"),V),e(n("./dist/plugins/shape/shape-actions.js"),V),e(n("./dist/plugins/shape/cameraShape.js"),V),e(n("./dist/plugins/shape/cameraShapeView.js"),V),e(n("./dist/plugins/shape/pictureShapeView.js"),V),e(n("./dist/plugins/shape/pictureShape.js"),V),e(n("./dist/plugins/shape/util/viewUtil.js"),V),e(n("./dist/plugins/shape/shape-io.js"),V),e(n("./dist/plugins/shape/formControl/baseFormControl.js"),V),e(n("./dist/plugins/shape/formControl/formControl.js"),V),e(n("./dist/plugins/shape/formControl/formControlData.js"),V),e(n("./dist/plugins/shape/formControl/controls/scrollbar.js"),V),e(n("./dist/plugins/shape/formControl/controls/util.js"),V),e(n("./dist/plugins/shape/formControlView.js"),V),e(n("./dist/plugins/shape/formControl/radioGroupManager.js"),V),n("./dist/plugins/shape/shape-touch.js")},"./dist/plugins/shape/shape.interface.js":function(t,V,n){var i,e,r,c,s,o,d,a,h,u,x,n,n,n,n,n,n,n,n,n,n,n;Object.defineProperty(V,"__esModule",{value:!0}),V.LayoutChangeType=V.PointSource=V.BorderType=V.HitTestLineEnd=V.HitTestType=V.ResizeHandleType=V.ResizeMode=V.SnapMode=V.VerticalAlign=V.HorizontalAlign=V.ShapeFillType=void 0,n("./dist/plugins/shape/formControl/formControl.interface.js"),(n=i=V.ShapeFillType||(V.ShapeFillType={}))[n.none=0]="none",n[n.solid=1]="solid",(n=e=V.HorizontalAlign||(V.HorizontalAlign={}))[n.left=0]="left",n[n.center=1]="center",n[n.right=2]="right",(n=r=V.VerticalAlign||(V.VerticalAlign={}))[n.top=0]="top",n[n.middle=1]="middle",n[n.bottom=2]="bottom",(n=c=V.SnapMode||(V.SnapMode={}))[n.none=0]="none",n[n.grid=1]="grid",n[n.shape=2]="shape",(n=s=V.ResizeMode||(V.ResizeMode={}))[n.aspect=0]="aspect",n[n.horizontal=1]="horizontal",n[n.vertical=2]="vertical",(n=o=V.ResizeHandleType||(V.ResizeHandleType={})).topLeft="topLeft",n.topCenter="topCenter",n.topRight="topRight",n.middleLeft="middleLeft",n.middleRight="middleRight",n.bottomLeft="bottomLeft",n.bottomCenter="bottomCenter",n.bottomRight="bottomRight",(n=d=V.HitTestType||(V.HitTestType={})).body="body",n.border="border",n.lineEnd="lineEnd",n.rotate="rotate",n.resize="resize",n.connectionPoint="connectionPoint",n.adjustment="adjustment",(n=a=V.HitTestLineEnd||(V.HitTestLineEnd={})).head="head",n.tail="tail",(n=h=V.BorderType||(V.BorderType={}))[n.outter=0]="outter",n[n.inner=1]="inner",(n=u=V.PointSource||(V.PointSource={}))[n.lineTo=0]="lineTo",n[n.arcTo=1]="arcTo",n[n.fixed=2]="fixed",(n=x=V.LayoutChangeType||(V.LayoutChangeType={}))[n.layoutChanged=0]="layoutChanged",n[n.columnChanged=1]="columnChanged",n[n.rowChanged=2]="rowChanged"},"./dist/plugins/shape/shape.js":function(O,s,t){var V,n,o,T,i,e,r,A,N,P,D,U,q,k,B,Z,t,c,H,d,z,Q,a,h,u,G,J,x,y,f,W,K,l,$,tt,n,Vt,nt,it,et,n,t,g,rt,ct,st,p,ot,w,dt,v,j,at;function b(t){var V,n,i,e;function r(t,V){var t=parseInt(t.v_||0,10);return V?(0,s.emuToPixels)(t,6):t}return{row:V=r(t.row),col:n=r(t.col),rowOffset:i=r(t.rowOff,!0),colOffset:e=r(t.colOff,!0)}}function L(t,V,n,i){return{col:{v_:t},colOff:{v_:(0,s.pixelToEMU)(V)},row:{v_:n},rowOff:{v_:(0,s.pixelToEMU)(i)}}}function ht(t){return{x:(0,s.emuToPixels)((0,s.getAttributeValueOrDefaultOfIntType)(t.x),6),y:(0,s.emuToPixels)((0,s.getAttributeValueOrDefaultOfIntType)(t.y),6)}}function ut(t){return{width:(0,s.emuToPixels)((0,s.getAttributeValueOrDefaultOfIntType)(t.cx),6),height:(0,s.emuToPixels)((0,s.getAttributeValueOrDefaultOfIntType)(t.cy),6)}}function m(t){var t=t%360;return t<0&&(t+=360),t=45<=t&&t<135?90:135<=t&&t<225?180:225<=t&&t<315?270:0}function xt(t,V,n){return V?((t%=360)<0&&1===V&&(t+=360),t*=i.ANGLE_ADJUSTMENT_UNIT):t*=i.ADJUSTMENT_UNIT,n?x(t):t}function yt(t,V){return V?180<(t/=i.ANGLE_ADJUSTMENT_UNIT)&&(t-=360):t/=i.ADJUSTMENT_UNIT,t}function ft(t,V,n){var i;return n&&t&&t.Lp?((i=t.Lp.parse(t.Uw(),V,0,0,!1,!1,!1)).source&&(i.source.Wbt=n),t.Lp.unparse(t.Uw(),i,0,0,!1,!1)):V}function C(t){return Array.isArray(t)?t:y(t)?[]:[t]}function lt(t,V){for(var n=0;n<t.length;n++)if(V(t[n]))return t[n]}function gt(t,V){return lt(C(t&&t.ext),V)}function At(t,V){var n,n=(n=t.extLst)||(t.extLst={ext:[]});Array.isArray(n.ext)||(n.ext=C(n.ext)),n.ext.push(V)}function R(t,V,n,i,e){var r,n,c,s;return t-=i,V-=e,n=n*Math.PI/180,{x:(c=t*(r=G(n))-V*(n=J(n)))+i,y:(s=t*n+V*r)+e}}function I(t){var V,n,V=t.rowOffset;return y(t.rowOffsetEmu)||(V=(0,s.emuToPixels)(t.rowOffsetEmu,6)),n=t.colOffset,y(t.colOffsetEmu)||(n=(0,s.emuToPixels)(t.colOffsetEmu,6)),{row:t.row,col:t.col,rowOffset:V,colOffset:n}}function pt(t,V){for(var n in t)t.hasOwnProperty(n)&&void 0!==t[n]&&!V[n]&&(V[n]=t[n])}function wt(t,V){var n,i,e,r,c,V,n=V.solidFill,i=V.grpFill,e=V.pattFill,r=V.gradFill,c=V.blipFill,V=V.noFill;n?t.FromSJSOOModel(n,0):i?t.FromSJSOOModel(i,4):e?t.FromSJSOOModel(e,1):r?t.FromSJSOOModel(r,2):c?t.FromSJSOOModel(c,3):V&&(t.Color.ColorType=0)}function vt(t,V){var n,i;a(V),t.IsDirtyIncludingParent(!0)&&(i=(n=t.ToSJSOOModel()).colorFillType,t.Visible?0===i?V.solidFill=n:1===i?V.pattFill=n:2===i?V.gradFill=n:3===i?V.blipFill=n:4===i?V.grpFill={colorFillType:4}:5===i&&(V.noFill={}):V.noFill={},delete n.colorFillType)}function jt(t){var t=t.ToSJSOOModel();return delete t.colorFillType,t}function bt(t){var V,n,V={};return t.IsDirtyIncludingParent(!0)&&(n=t.ToSJSOOModel(),V=t.Visible?n:{noFill:{}}),V}function Lt(t,V){}function mt(t){return""+t}function Ct(t){return(0,s.xmlEncode)(f(t,"\n","
"))}function Rt(t){return(0,s.xmlDecode)(f(t,"
","\n"))}function It(t){return!(null==t||!t.options.rightToLeft)}function M(t,V,n){var t=p.call(this,t,V,n)||this;return Object.defineProperty(t,"Text",{get:function(){return y(this._text)?this.Type===c.TxLink?this.N0t.ReferingText:o.DrawingUtility.GetTextFieldTypeText(this.Type):this._text}}),t}function Mt(t,V){var t=ot.call(this,t,V)||this;return t.E0t=o.ST_TextAlignType.l,t}function _(t,V){var t,V,t=w.call(this,t,V)||this,V=t;return V.F0t={top:s.DEFAULT_TB_INS,bottom:s.DEFAULT_TB_INS,left:s.DEFAULT_LR_INS,right:s.DEFAULT_LR_INS},V.P0t=!1,V.G0t=o.ST_TextAnchoringType.t,V.U0t=o.ST_TextVerticalType.horz,V.lrt=o.ST_TextWrappingType.square,V.H0t=o.ST_TextHorzOverflowType.clip,V.z0t=o.ST_TextVertOverflowType.clip,t}function E(){return null!==dt&&dt.apply(this,arguments)||this}function S(t,V,n,i,e,r){this.itV=0,this.hVV=-1,this.uVV=0,this.xVV=-1,this.yVV=0,this.CtV=-1,this.RtV=0,this.ItV=-1,this.MtV=0;var c=this;c.assignId(),c.eJ=t,isNaN(i)||(c.A0=i,c.I0=n,c.YC=e,c.ZC=r)}function F(t,V,n,i,e,r){var t,n,t=v.call(this,t,V,n,i,e,r)||this;return t.ltV=!1,t.gtV=!1,t.jft=!0,t._hidden=!1,t.itn="",t.L0t=0,t.meV=!0,t.CeV=!1,t.ReV=!1,t.ntV=0,t.idV=[],t.oiV={},t.GVV=0,t.osV=0,t.asV=0,t.hsV=0,n=t,V&&(n.Name=V),isNaN(i)||(n.ynV(),n.fnV()),n.InitFormat(),t}function _t(t,V){var n,i,e,i=V.bodyPr,n=t.fzn;n!==i.anchor&&(i.anchor=n),(n=t.MeV)&&(i.lIns=(0,o.getWholeNumber)(n.left/g),i.rIns=(0,o.getWholeNumber)(n.right/g),i.tIns=(0,o.getWholeNumber)(n.top/g),i.bIns=(0,o.getWholeNumber)(n.bottom/g)),n=t.czn,y(n)||((e=V.p).forEach(function(t){t.pPr.algn=n}),isNaN(i.horzOverflow)&&(i.horzOverflow=1),isNaN(i.vertOverflow)&&(i.vertOverflow=2)),n=t.TrV,y(n)||(i.spAutoFit=n)}function Et(t,V){var n,i,i,e,r,c,n=V.bodyPr,i=o.ST_TextAnchoringType[t.fzn];i!==n.anchor&&(n.anchor=i),(i=t.MeV)&&(n.lIns=(0,o.getWholeNumber)(i.left/g),n.rIns=(0,o.getWholeNumber)(i.right/g),n.tIns=(0,o.getWholeNumber)(i.top/g),n.bIns=(0,o.getWholeNumber)(i.bottom/g)),e=o.ST_TextAlignType[t.czn],y(e)||(r=C(V.p)).forEach(function(t){(0,s.getTargetNodeByName)(t,"pPr").algn=e}),(c=t.TrV)&&(n.spAutoFit={})}function X(t,V,n,i,e,r,c){var t,V,t=j.call(this,t,V,i,e,r,c)||this,V=t;return V.AutoShapeType=n,V.ttV=0,V.InitShapeFormat(),V.itV=0,t}function Y(t,V,n,i,e,r){return at.call(this,t,V,n,i,e,r)||this}V=this&&this.__extends||(st=function(t,V){return(st=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}st(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(s,"__esModule",{value:!0}),s.LosslessShapeData=s.ShapeData=s.applyTextBodyProperties=s.ShapeBaseData=s.DrawingBaseData=s.isRightToLeftLayout=s.decodeDrawingName=s.encodeDrawingName=s.j=s.toSJSThreeDGroup=s.toSJSLine=s.toSJSColorNode=s.toSJSFillGroup=s.fromSJSFillGroup=s.readExcelIOAnchorPoint=s.addSJSExt=s.findSJSExt=s.find=s.convertToArray=s.adjustFormulaByNewWorkSheetName=s.convertAdjustmentValueToSJSUnit=s.convertAdjustmentValueToExcelUnit=s.getAvailableAngle=s.toSJSAnchorPoint=s.readSJSAnchorPoint=s.RELATIVE_DEFAULT_SIZE=s.DEFAULT_LR_INS=s.DEFAULT_TB_INS=s.SJS_False=s.SJS_True=s.xmlEncode=s.xmlDecode=s.getTargetNodeByName=s.pixelToEMU=s.emuToPixels=s.getActualRowHeight=s.getActualColumnWidth=s.getAttributeValueOrDefaultOfIntType=s.getAttrValueOrDefaultOfBooleanType=void 0,n=t("Common"),o=t("./dist/plugins/shape/drawingInterface.js"),T=t("./dist/plugins/shape/shapeStyle.js"),i=t("./dist/plugins/shape/geometryService/controlPointService.js"),e=t("Core"),r=t("FloatingObject"),A=t("./dist/plugins/shape/util/sheetUtil.js"),N=r.Drawing.ColorFormat,P=r.Drawing.LineFormat,D=r.Drawing.ShadowFormat,U=r.Drawing.GlowFormat,q=r.Drawing.FillFormat,k=r.Drawing.ReflectionFormat,B=r.Drawing.SoftEdgeFormat,Z=r.Drawing.ThreeDFormat,t=r.Drawing.DrawingText,c=r.Drawing.TextFieldType,H=r.Drawing.ARGBColor,d=r.Drawing.OOXMLFileHelper,z=r.Drawing.DrawingType,Q=r.Drawing.ThemeFont,a=o.DrawingUtility.Aft,h=o.ShapeConstants.PositiveFixedAngleConvert,u=null,G=Math.cos,J=Math.sin,x=Math.round,y=n.Common.lt.ht,s.getAttrValueOrDefaultOfBooleanType=e.NodeHelper.ur,s.getAttributeValueOrDefaultOfIntType=e.NodeHelper.sr,s.getActualColumnWidth=e.ExcelHelper.getActualColumnWidth,s.getActualRowHeight=e.ExcelHelper.getActualRowHeight,s.emuToPixels=e.ExcelHelper.emuToPixles,s.pixelToEMU=e.ExcelHelper.pixelToEMU,s.getTargetNodeByName=e.util.u1,s.xmlDecode=e.util.n1,s.xmlEncode=e.util.vo,s.SJS_True="1",s.SJS_False="0",f=e.Util.gr,W="Internal",K="External",l="sjs://",$="#",n=91440,s.DEFAULT_TB_INS=(0,s.emuToPixels)(tt=45720),s.DEFAULT_LR_INS=(0,s.emuToPixels)(n),s.RELATIVE_DEFAULT_SIZE=100,s.readSJSAnchorPoint=b,s.toSJSAnchorPoint=L,s.getAvailableAngle=m,s.convertAdjustmentValueToExcelUnit=xt,s.convertAdjustmentValueToSJSUnit=yt,s.adjustFormulaByNewWorkSheetName=ft,s.convertToArray=C,s.find=lt,s.findSJSExt=gt,s.addSJSExt=At,s.readExcelIOAnchorPoint=I,s.fromSJSFillGroup=wt,s.toSJSFillGroup=vt,s.toSJSColorNode=jt,s.toSJSLine=bt,s.toSJSThreeDGroup=Lt,s.j=mt,s.encodeDrawingName=Ct,s.decodeDrawingName=Rt,s.isRightToLeftLayout=It,p=r.Drawing.DrawingTextField,V(M,p),M.prototype.updateText=function(t){this._text=t},M.prototype.FromOOModel=function(t){p.prototype.FromOOModel.call(this,t),t&&t.t&&this.updateText(t.t)},M.prototype.FromSJSOOModel=function(t){p.prototype.FromSJSOOModel.call(this,t);var t=t&&t.t&&t.t.v_;t&&this.updateText((0,s.xmlDecode)(t))},Vt=M,ot=r.Drawing.DrawingTextParagraph,V(Mt,ot),Mt.prototype.CreateDrawingTextField=function(t,V){return new Vt(t,V,this)},nt=Mt,w=r.Drawing.DrawingTextBody,V(_,w),_.prototype.CreateDrawingTextParagraph=function(t){return new nt(t,this)},_.prototype.e1t=function(t){w.prototype.e1t.call(this,t);var V=this;y(t.vertOverflow)&&(V.z0t=o.ST_TextVertOverflowType.overflow),y(t.horzOverflow)&&(V.H0t=o.ST_TextHorzOverflowType.overflow)},_.prototype.i1t=function(t){w.prototype.i1t.call(this,t);var V=this;y(t.vertOverflow)&&(V.z0t=o.ST_TextVertOverflowType.overflow),y(t.horzOverflow)&&(V.H0t=o.ST_TextHorzOverflowType.overflow)},it=_,V(E,dt=t),E.prototype.CreateDrawingTextBody=function(t,V){return new it(t,V)},E.prototype.SetTextLinkInternal=function(){var t;this.v0t.Clear(),this.v0t.AddParagraph(void 0).AddField(r.Drawing.TextFieldType.TxLink)},E.prototype.UpdateTextLinkElementText=function(t){var V=this.GetTextLinkElement();V&&V.updateText(t)},E.prototype.HasTextLink=function(){return!!this.GetTextLinkElement()},E.prototype.GetTextLinkElement=function(){for(var t,V,n,i,e,r,c,t=this.v0t,V=0,n=t.Count;V<n;V++)for(e=0,r=(i=t.Get(V)).Count;e<r;e++)if(c=i.Get(e),this.IsTextLinkElement(c))return c},E.prototype.IsTextLinkElement=function(t){return t&&t instanceof r.Drawing.DrawingTextField&&t.Type===c.TxLink},et=E,Object.defineProperty(S.prototype,"Name",{get:function(){return this.Zc},set:function(t){var V,n,V=this;V.Zc===t||(n=V.checkNameUnique(t))||(V.Zc=t)},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"top",{get:function(){return this.A0},set:function(t){var V;t!==this.A0&&(V=this.AHr(),this.A0=t,this.b_r(V))},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"left",{get:function(){return this.I0},set:function(t){var V;t!==this.I0&&(V=this.AHr(),this.I0=t,this.b_r(V))},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"width",{get:function(){return this.YC},set:function(t){var V;t!==this.YC&&(V=this.AHr(),this.YC=t,this.b_r(V))},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"height",{get:function(){return this.ZC},set:function(t){var V;t!==this.ZC&&(V=this.AHr(),this.ZC=t,this.b_r(V))},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"topAnchorRow",{get:function(){return this.hVV},set:function(t){var V;t!==this.hVV&&(V=this.AHr(),this.hVV=t,this.b_r(V))},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"topAnchorRowOffset",{get:function(){return this.uVV},set:function(t){var V;t!==this.uVV&&(V=this.AHr(),this.uVV=t,this.b_r(V))},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"leftAnchorCol",{get:function(){return this.xVV},set:function(t){var V;t!==this.xVV&&(V=this.AHr(),this.xVV=t,this.b_r(V))},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"leftAnchorColOffset",{get:function(){return this.yVV},set:function(t){var V;t!==this.yVV&&(V=this.AHr(),this.yVV=t,this.b_r(V))},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"bottomAnchorRow",{get:function(){return this.CtV},set:function(t){var V;t!==this.CtV&&(V=this.AHr(),this.CtV=t,this.b_r(V))},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"bottomAnchorRowOffset",{get:function(){return this.RtV},set:function(t){var V;t!==this.RtV&&(V=this.AHr(),this.RtV=t,this.b_r(V))},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"rightAnchorCol",{get:function(){return this.ItV},set:function(t){var V;t!==this.ItV&&(V=this.AHr(),this.ItV=t,this.b_r(V))},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"rightAnchorColOffset",{get:function(){return this.MtV},set:function(t){var V;t!==this.MtV&&(V=this.AHr(),this.MtV=t,this.b_r(V))},enumerable:!1,configurable:!0}),S.prototype.AHr=function(){var t=this.eJ;return t.THr({type:"updateShapeTransform",sheet:t,shapeId:this.jKe()})},S.prototype.b_r=function(t){var V=this.eJ;V.$Dr({type:"updateShapeTransform",sheet:V,shapeId:this.jKe()},t)},S.prototype.xnV=function(){var t,V,n,n,t=this,V=t.eJ,n=(0,A.getY)(V,t.hVV,t.uVV);t.top=n,n=V.options.rightToLeft?(0,A.getX)(V,t.ItV,t.MtV):(0,A.getX)(V,t.xVV,t.yVV),t.left=n},S.prototype.mtV=function(){var t,V,n,n,t=this,V=t.eJ,n=(0,A.getY)(V,t.CtV,t.RtV)-t.A0;t.height=Math.max(0,n),n=V.options.rightToLeft?(0,A.getX)(V,t.xVV,t.yVV):(0,A.getX)(V,t.ItV,t.MtV),t.width=Math.max(0,n-t.I0)},S.prototype.ynV=function(t){var V,n,i,i,n,V=this,n=V.eJ,i=(0,A.getRowAndRowOffset)(n,V.A0,t);V.topAnchorRow=i.row,V.topAnchorRowOffset=i.rowOffset,i=It(n)?V.I0+V.YC:V.I0,n=(0,A.getColAndColOffset)(n,i,t),V.leftAnchorCol=n.col,V.leftAnchorColOffset=n.colOffset},S.prototype.fnV=function(t){var V,n,i,i,n,V=this,n=V.eJ,i=(0,A.getRowAndRowOffset)(n,V.ZC+V.A0,t);V.bottomAnchorRow=i.row,V.bottomAnchorRowOffset=i.rowOffset,i=It(n)?V.I0:V.I0+V.YC,n=(0,A.getColAndColOffset)(n,i,t),V.rightAnchorCol=n.col,V.rightAnchorColOffset=n.colOffset},S.prototype.FormulaFrom=function(){},S.prototype.FromSJSOOModel=function(t,V){this._eV(V)},S.prototype.ToSJSOOModel=function(t,V){this.EeV(t)},S.prototype.FromSJSCT_ShapeBase=function(t){},S.prototype.ToSJSCT_ShapeBase=function(t){},S.prototype._eV=function(t){var V,n,i,e,r,c,s,o,o,n,V=this,n=t.anchorType,i=function(t){V.hVV=t.row,V.uVV=t.rowOffset,V.xVV=t.col,V.yVV=t.colOffset,V.xnV()},e=function(t){V.CtV=t.row,V.RtV=t.rowOffset,V.ItV=t.col,V.MtV=t.colOffset,V.mtV()};0===(V.itV=n)?(i(b((r=t).from)),e(b(r.to))):1===n?(c=b((r=t).from),s=ut(r.ext),o=(0,A.getOriginXYByAnchorPoint)(V.eJ,c),o=(0,A.getAnchorPointByOriginXY)(V.eJ,o.x+s.width,o.y+s.height),i(c),e(o)):2===n&&(n=ht((r=t).pos),s=ut(r.ext),c=(0,A.getAnchorPointByOriginXY)(V.eJ,n.x,n.y),o=(0,A.getAnchorPointByOriginXY)(V.eJ,n.x+s.width,n.y+s.height),i(c),e(o))},S.prototype.EeV=function(t){var V=this;t.from=L(V.xVV,V.yVV,V.hVV,V.uVV),t.to=L(V.ItV,V.MtV,V.CtV,V.RtV)},S.prototype.checkNameUnique=function(t){if(this.eJ.shapes.get(t)){if(this.CVV)return!0;throw new Error((0,o.sR)().Exp_DuplicatedName)}},s.DrawingBaseData=n=S,(0,e.qDr)(n),(0,e.$e)(n),V(F,v=n),Object.defineProperty(F.prototype,"Parent",{get:function(){return this.eJ},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"Placement",{get:function(){return this.itV},set:function(t){this.itV=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"Title",{get:function(){return this.itn},set:function(t){this.itn=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"Rotation",{get:function(){return this.L0t},set:function(t){this.L0t=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"RotationWithoutParent",{get:function(){var t=this.L0t;return this.ParentGroup&&(t-=this.ParentGroup.Rotation),t},set:function(t){this.XtV&&(t+=this.XtV.Rotation),this.Rotation=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"Locked",{get:function(){return this.meV},set:function(t){this.meV=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"AutoShapeType",{get:function(){return this.ntV},set:function(t){var V,t,V=this;V.ntV=t,t=(0,i.getControlPointInfo)(t),V.idV=t.adjustValues,V.oiV=t.angleAdjustments},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"AdjustValues",{get:function(){return this.idV},set:function(t){this.idV=t},enumerable:!1,configurable:!0}),F.prototype.edV=function(t,V){var n,i,e,r,e;if(t&&0!==t.length)for(n=this.oiV,i=0;i<t.length;i++)r=(e=t[i])[0],e=+e[1],isNaN(e)||(V&&(e=xt(e,n[r],!1)),this.cdV(r,e))},F.prototype.cdV=function(V,t){var n=lt(this.idV,function(t){return t[0]===V});n&&(n[1]=x(t))},Object.defineProperty(F.prototype,"Connector",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"Fill",{get:function(){return this.S0t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"Line",{get:function(){return this.Tin},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"ParentGroup",{get:function(){return this.XtV},enumerable:!1,configurable:!0}),F.prototype.mVV=function(t){this.XtV=t},F.prototype.btV=function(t){this.Zc||(this.Name=t)},Object.defineProperty(F.prototype,"PictureFormat",{get:function(){var t,V=this.S0t;if(V&&(5===V.Type||3===V.Type))return V.PictureFormat},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"ThreeD",{get:function(){return this.Cin},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"Visible",{get:function(){return this.jft},set:function(t){this.jft=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"Hidden",{get:function(){return this._hidden},set:function(t){this._hidden=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"ShapeStyle",{get:function(){return this.MVV},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"IsTextBox",{get:function(){return this.CeV},set:function(t){this.CeV=t},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"noChangeAspect",{get:function(){return this.ReV},set:function(t){this.ReV=t},enumerable:!1,configurable:!0}),F.prototype.IsSpecialShape=function(){var t=this.AutoShapeType;return 25===t||26===t||27===t||29===t||30===t||31===t||32===t||182===t},F.prototype.InitFormat=function(){var t,V,V,t=this,V=t.MVV=t.CreateDefaultShapeStyle();t.S0t=new q(t,V.Fill,u,t),t.Tin=new P(t,V.Line),t.Tin.Style=0,V=V.Font,t.I0i=new et(t,V,"",{Size:V.Size}),t.Cin=new Z(t,t.XtV&&t.XtV.ThreeD),t.Ain=new D(t),t.Din=new U(t),t.SeV=new k(t),t.Pin=new B},F.prototype.CreateDefaultShapeStyle=function(){return new T.ShapeStyleData(this,1,2,0,1)},F.prototype.calcStartAndEndPoint=function(){var t,V,n,i,e,r,c,s,o,d,a,h,u,x,t,y,f,l,g,u,h,a,x,V,y,t=this,V=m(t.L0t),n=t.hVV,i=t.uVV,e=t.xVV,r=t.yVV,c=t.CtV,s=t.RtV,o=t.ItV,d=t.MtV;return 0!==V&&(a=t.A0,h=t.I0,u=t.YC,x=t.ZC,t=t.eJ,l=R(h,a,V,y=h+u/2,f=a+x/2),g=R(h+u,a+x,V,y,f),u=R(h+u,a,V,y,f),h=R(h,a+x,V,y,f),a=(0,A.getRowAndRowOffset)(t,Math.min(l.y,g.y,u.y,h.y)),x=(0,A.getColAndColOffset)(t,Math.min(l.x,g.x,u.x,h.x)),V=(0,A.getRowAndRowOffset)(t,Math.max(l.y,g.y,u.y,h.y)),y=(0,A.getColAndColOffset)(t,Math.max(l.x,g.x,u.x,h.x)),n=a.row,i=a.rowOffset,e=x.col,r=x.colOffset,c=V.row,s=V.rowOffset,o=y.col,d=y.colOffset),{startPoint:{row:n,col:e,rowOffset:i,colOffset:r},endPoint:{row:c,col:o,rowOffset:s,colOffset:d}}},F.prototype.fromAnchorWhenRot=function(t,V,n){var i,t,V,n,e,r,c,s,V,n,t,i=this,t=-m(t),V={y:(0,A.getY)(i.eJ,V.row,V.rowOffset),x:(0,A.getX)(i.eJ,V.col,V.colOffset)},n={y:(0,A.getY)(i.eJ,n.row,n.rowOffset),x:(0,A.getX)(i.eJ,n.col,n.colOffset)},e={x:(V.x+n.x)/2,y:(V.y+n.y)/2},r=R(V.x,V.y,t,e.x,e.y),c=R(n.x,n.y,t,e.x,e.y),s=R(V.x,n.y,t,e.x,e.y),V=R(V.x,n.y,t,e.x,e.y),n=Math.min(r.x,c.x,s.x,V.x),t=Math.min(r.y,c.y,s.y,V.y);i.I0=n,i.A0=t,i.YC=Math.abs(Math.max(r.x,c.x,s.x,V.x)-n),i.ZC=Math.abs(Math.max(r.y,c.y,s.y,V.y)-t),i.ynV(),i.fnV()},F.prototype.FromOOModel=function(t){var V,n,i,e,r,c,s,o,d,s,V=this;t&&(n=function(t){V.hVV=t.row,V.uVV=t.rowOffset,V.xVV=t.col,V.yVV=t.colOffset},i=function(t){V.CtV=t.row,V.RtV=t.rowOffset,V.ItV=t.col,V.MtV=t.colOffset},0===(e=t.anchorType)?(r=I(t.startPoint),c=I(t.endPoint),n(r),i(c),V.itV=t.editAs,o=void 0,d=0,(s=t.sp||t.cxnSp||t.grpSp||t.pic)&&s.spPr&&s.spPr.xfrm&&s.spPr.xfrm.rot&&(d=(o=s.spPr.xfrm).rot),0!==(d=s&&s.grpSpPr&&s.grpSpPr.xfrm&&s.grpSpPr.xfrm.rot?(o=s.grpSpPr.xfrm).rot:d)?V.fromAnchorWhenRot(d/6e4,r,c):(V.xnV(),V.mtV())):1===e?(V.itV=1,r=I(t.startPoint),s=(0,A.getOriginXYByAnchorPoint)(V.eJ,r),c=(0,A.getAnchorPointByOriginXY)(V.eJ,s.x+t.width,s.y+t.height),n(r),i(c),V.xnV(),V.mtV()):2===e&&(V.itV=2,r=(0,A.getAnchorPointByOriginXY)(V.eJ,t.x,t.y),c=(0,A.getAnchorPointByOriginXY)(V.eJ,t.x+t.width,t.y+t.height),n(r),i(c),V.xnV(),V.mtV()))},F.prototype.FromSJSOOModel=function(t,V){var n,t,V,i,e,i,t,i,e,V,r,c,s,i,e,t;v.prototype.FromSJSOOModel.call(this,t,V),n=this,t=t,0===V.anchorType&&(V=0,t&&((i=t.spPr)?(e=i.xfrm)&&(V=parseInt(e.rot||0,10)):(i=t.grpSpPr)&&(e=i.xfrm)&&(V=parseInt(e.rot||0,10))),0!==V?(t=-m(V/6e4),i={y:(0,A.getY)(n.eJ,n.hVV,n.uVV),x:(0,A.getX)(n.eJ,n.xVV,n.yVV)},e={y:(0,A.getY)(n.eJ,n.CtV,n.RtV),x:(0,A.getX)(n.eJ,n.ItV,n.MtV)},r=R(i.x,i.y,t,(V={x:(i.x+e.x)/2,y:(i.y+e.y)/2}).x,V.y),c=R(e.x,e.y,t,V.x,V.y),s=R(i.x,e.y,t,V.x,V.y),i=R(i.x,e.y,t,V.x,V.y),e=Math.min(r.x,c.x,s.x,i.x),t=Math.min(r.y,c.y,s.y,i.y),n.I0=e,n.A0=t,n.YC=Math.abs(Math.max(r.x,c.x,s.x,i.x)-e),n.ZC=Math.abs(Math.max(r.y,c.y,s.y,i.y)-t),n.ynV(),n.fnV()):(n.xnV(),n.mtV()))},F.prototype.ToOOModel=function(t,V){var n,i,e,n=this,i={anchorType:0},e=n.calcStartAndEndPoint();return i.startPoint=e.startPoint,i.endPoint=e.endPoint,i.editAs=n.itV,i},F.prototype.ToSJSOOModel=function(t,V){var V,n,i,e,r,c,V,s,o,d,a,r,e,i,c,n,s;v.prototype.ToSJSOOModel.call(this,t,V),0!==(n=m((V=this).L0t))&&(i=V.A0,e=V.I0,r=V.YC,c=V.ZC,V=V.eJ,d=R(e,i,n,s=e+r/2,o=i+c/2),a=R(e+r,i+c,n,s,o),r=R(e+r,i,n,s,o),e=R(e,i+c,n,s,o),i=(0,A.getRowAndRowOffset)(V,Math.min(d.y,a.y,r.y,e.y)),c=(0,A.getColAndColOffset)(V,Math.min(d.x,a.x,r.x,e.x)),n=(0,A.getRowAndRowOffset)(V,Math.max(d.y,a.y,r.y,e.y)),s=(0,A.getColAndColOffset)(V,Math.max(d.x,a.x,r.x,e.x)),t.from=L(c.col,c.colOffset,i.row,i.rowOffset),t.to=L(s.col,s.colOffset,n.row,n.rowOffset))},F.prototype.FromCT_ShapeBase=function(t){},F.prototype.ToCT_ShapeBase=function(t){},F.prototype.FromCT_ShapeProperties=function(t){var V,n,i,i,V=this,n=t.prstGeom,i=t.xfrm;V.bri=n&&0===n.prst,V.FromCT_Transform2D(i),delete V.bri,V.bsV(t),t.ln&&V.Tin.FromOOModel(t.ln),i=(i&&i.rot||0)/h,V.XtV&&(i+=V.XtV.Rotation),V.Rotation=i,n?V.FromCT_PresetGeometry2D(n):(V.AutoShapeType=0,V._hidden=!0),V.FromThreeDFormat(t),V.FromCT_EffectList(t.effectLst)},F.prototype.bsV=function(t){var V,n,V,n=this.S0t;t.solidFill?n.FromOOModel(t.solidFill,0):t.grpFill?n.FromOOModel(t.grpFill,4):t.pattFill?n.FromOOModel(t.pattFill,1):t.gradFill?n.FromOOModel(t.gradFill,2):t.blipFill?n.FromOOModel(t.blipFill,3):t.noFill&&(n.Color.ColorType=0)},F.prototype.stV=function(t){var V,n,i,e,r,e,V=this,n=t.prstGeom,i=t.xfrm;V.YeV(i),wt(V.S0t,t),(e=t.ln)&&V.Tin.FromSJSOOModel(e),i&&(e=(r=i.rot?parseInt(i.rot,10):0)/h,V.XtV&&(e+=V.XtV.Rotation),V.Rotation=e),n?V.FromSJSCT_PresetGeometry2D(n):(V.AutoShapeType=0,V._hidden=!0),V.TeV(t),V.$cV(t.effectLst)},F.prototype.ToCT_ShapeProperties=function(t,V,n,i){var e=this;return n=!1!==n,i=!1!==i,V.xfrm=e.ToCT_Transform2D(),n&&(V.prstGeom=e.ToCT_PresetGeometry2D(t,V.prstGeom)),V.extLst={ext:[]},e.LsV(V),e.msV(V),V.effectLst=e.ToCT_EffectList(i),e.CsV(V),V},F.prototype.LsV=function(t){var V,n,i,e;return a(t),(n=(V=this).S0t).IsDirtyIncludingParent(!0)&&(e=(i=n.ToOOModel()).colorFillType,n.Visible?0===e?t.solidFill=i:1===e?t.pattFill=i:2===e?t.gradFill=i:3===e?t.blipFill=i:4===e?t.grpFill={colorFillType:4}:5===e&&(t.noFill=!0):(t.noFill=!0,t.extLst.ext.push(V.ToFillProperties(i))),delete i.colorFillType),t},F.prototype.msV=function(t){var V,n,i,V,n=this.Tin;return n.IsDirtyIncludingParent(!0)&&(i=n.ToOOModel(),n.Visible?t.ln=i:(t.ln={},t.ln.noFill=!0,t.extLst.ext.push({uri:d.HiddenLineUri,Line:i}))),t},F.prototype.CsV=function(t){var V,n,V,V=this,n=V.Cin.ToOOModel();V.Cin.Visible?(t.scene3d=n.Scene3D,t.sp3d=n.Shape3D):(V=V.ToHiddenThreedFormatExt(n),[].push.apply(t.extLst.ext,V.ext))},F.prototype.ToSJSCT_ShapeProperties=function(t,V){var n,i,n=this,i={};return i.xfrm=n.ToSJSCT_Transform2D(),V&&(i.prstGeom=n.ToCT_PresetGeometry2D(o.ST_ShapeType[t],i.prstGeom)),vt(n.S0t,i),i.ln=bt(n.Tin),i.effectLst=n.KcV(),n.Cin,i},F.prototype.ToFillProperties=function(t){var V,n,i,V={};return V.uri=d.HiddenFillUri,n=V.Fill={},0===(i=t.colorFillType)?n.solidFill=t:1===i?n.pattFill=t:2===i?n.gradFill=t:3===i?n.blipFill=t:4===i?n.grpFill={colorFillType:4}:5===i&&(n.noFill=!0),delete t.colorFillType,V},F.prototype.ToHiddenThreedFormatExt=function(t){var V,n,n,V={ext:[]};return t.Scene3D&&((n={hiddenExtensionType:0}).uri=d.HiddenScene3dUri,n.Scene3d=t.Scene3D,V.ext.push(n)),t.Shape3D&&((n={hiddenExtensionType:3}).uri=d.HiddenSp3dUri,n.Shape3d=t.Shape3D,V.ext.push(n)),V},F.prototype.ToCT_OfficeArtExtensionList=function(){return{ext:[]}},F.prototype.FromCT_EffectList=function(t){var V=this;t?(t.innerShdw?V.Ain.FromOOModel(t.innerShdw):t.outerShdw?V.Ain.FromOOModel(t.outerShdw):t.prstShdw?V.Ain.FromOOModel(t.prstShdw):V.Ain.FromOOModel(),V.Din.FromOOModel(t.glow),V.Pin.FromOOModel(t.softEdge),V.SeV.FromOOModel(t.reflection)):(V.Ain=u,V.Din=u,V.Pin=u,V.SeV=u)},F.prototype.$cV=function(t){this.trV=t},F.prototype.ToCT_EffectList=function(t){var V,n,i,e,V,r,n,c,V=this,n=V.Ain,i=V.Din,e=V.Pin,V=V.SeV;if(n||i||e||V)return r={},n&&(n=n.ToOOModel())&&(0===(c=n.shadowEffectType)?r.outerShdw=n:1===c?r.innerShdw=n:2===c&&(r.prstShdw=n)),i&&(r.glow=i.ToOOModel()),e&&(r.softEdge=e.ToOOModel()),V&&(r.reflection=V.ToOOModel()),r},F.prototype.KcV=function(){return this.trV},F.prototype.FromThreeDFormat=function(t){var V,n,V={},n=this.Cin;t.scene3d||t.sp3d?(V.Scene3D=t.scene3d,V.Shape3D=t.sp3d):t.extLst&&t.extLst.ext&&0!==t.extLst.ext.length&&t.extLst.ext.forEach(function(t){0===t.hiddenExtensionType?V.Scene3D=t.Scene3d:3===t.hiddenExtensionType&&(V.Shape3D=t.Shape3d),(V.Scene3D||V.Shape3D)&&(n._InternalVisible=!1,n.Dirty(o.ThreeDFormatStates.Visible))}),n.FromOOModel(V)},F.prototype.TeV=function(t){var V,n,i,t,V=this.Cin,n=t.scene3d,i=t.sp3d,t=t.extLst;V.FromSJSOOModel(n,i,t)},F.prototype.FromCT_Transform2D=function(t){var V;t&&((V=this).FromCT_Transform2D_Flip(t),V.ParentGroup)&&(V.FromCT_Point2D(t.off,t.ext),V.FromCT_PositiveSize2D(t.ext),V.ynV(),V.fnV())},F.prototype.YeV=function(t){var V,n,t;t&&((V=this).FromCT_Transform2D_Flip(t),V.ParentGroup)&&(n=t.off,t=t.ext,V.FromSJSCT_Point2D(n,t),V.FromSJSCT_PositiveSize2D(t),V.ynV(),V.fnV())},F.prototype.FromCT_Transform2D_Flip=function(t){var V=this;V.ltV=t.flipH,V.gtV=t.flipV,V.ParentGroup&&(V.ltV=Boolean(Number(V.XtV.ltV)^Number(V.ltV)),V.gtV=Boolean(Number(V.XtV.gtV)^Number(V.gtV)))},F.prototype.ToCT_Transform2D=function(){var t=this,V,V=t.XtV?t.Rotation-t.XtV.Rotation:t.Rotation;return{flipH:t.ltV,flipV:t.gtV,rot:(0,o.getWholeNumber)(V*h),off:t.ToCT_Point2D(),ext:t.ToCT_PositiveSize2D()}},F.prototype.ToSJSCT_Transform2D=function(){var t,V,n,t=this,V=t.XtV?t.Rotation-t.XtV.Rotation:t.Rotation,n={};return t.ltV&&(n.flipH=s.SJS_True),t.gtV&&(n.flipV=s.SJS_True),0!==V&&(n.rot=String((0,o.getWholeNumber)(V*h))),n.off=t.ToSJSCT_Point2D(),n.ext=t.ToSJSCT_PositiveSize2D(),n},F.prototype.FromCT_PositiveSize2D=function(t){var V,n;t&&((n=(V=this).baseOffset)?(V.asV=t.cx/(n.chExtX||1),V.hsV=t.cy/(n.chExtY||1),V.YC=V.asV*n.extX,V.ZC=V.hsV*n.extY):(V.YC=t.cx,V.ZC=t.cy))},F.prototype.FromSJSCT_PositiveSize2D=function(t){var t={cx:(0,s.getAttributeValueOrDefaultOfIntType)(t.cx,0),cy:(0,s.getAttributeValueOrDefaultOfIntType)(t.cy,0)};this.FromCT_PositiveSize2D(t)},F.prototype.ToCT_PositiveSize2D=function(){var t,V,n,t=this.YC,V=this.ZC,n=this.ParentGroup;return n&&(0===n.YC&&(t=s.RELATIVE_DEFAULT_SIZE*this.asV),0===n.ZC)&&(V=s.RELATIVE_DEFAULT_SIZE*this.hsV),{cx:t,cy:V}},F.prototype.ToSJSCT_PositiveSize2D=function(){var t=this.ToCT_PositiveSize2D(),V=t.cx,t=t.cy;return{cx:(0,s.pixelToEMU)(V),cy:(0,s.pixelToEMU)(t)}},F.prototype.FromCT_Point2D=function(t,V){var n,i,e,r,c,s,o,d,a,h,u,x;t&&(c=r=e=i=0,o=s=1,(d=(n=this).baseOffset)?(a=(t.x-d.chOffX)/(d.chExtX||1),h=(t.y-d.chOffY)/(d.chExtY||1),u=a*d.extX,x=h*d.extY,n.GVV=a,n.osV=h,n.ParentGroup.ltV&&V?n.I0=d.offX+(d.extX-V.cx/(d.chExtX||1)*d.extX)-u:n.I0=d.offX+u,n.ParentGroup.gtV&&V?n.A0=d.offY+(d.extY-V.cy/(d.chExtY||1)*d.extY)-x:n.A0=d.offY+x):(n.I0=+t.x+0,n.A0=+t.y+0))},F.prototype.FromSJSCT_Point2D=function(t,V){var t,V,t={x:(0,s.getAttributeValueOrDefaultOfIntType)(t.x,0),y:(0,s.getAttributeValueOrDefaultOfIntType)(t.y,0)},V={cx:(0,s.getAttributeValueOrDefaultOfIntType)(V.cx,0),cy:(0,s.getAttributeValueOrDefaultOfIntType)(V.cy,0)};this.FromCT_Point2D(t,V)},F.prototype.ToCT_Point2D=function(){var t,V,n,t=this.I0,V=this.A0,n=this.ParentGroup;return n&&(0===n.YC&&(t+=s.RELATIVE_DEFAULT_SIZE*this.GVV),0===n.ZC)&&(V+=s.RELATIVE_DEFAULT_SIZE*this.osV),{x:t,y:V}},F.prototype.ToSJSCT_Point2D=function(){var t=this.ToCT_Point2D(),V=t.x,t=t.y;return{x:(0,s.pixelToEMU)(V),y:(0,s.pixelToEMU)(t)}},F.prototype.FromCT_AvLst=function(t){t&&t.gd&&this.edV(o.ShapeUtility.convertFromExcelAdjustValues(C(t.gd)),!1)},F.prototype.FromCT_PresetGeometry2D=function(t){var V=this;V.AutoShapeType=o.ShapeUtility.ToAutoShapeType(t.prst),V.FromCT_AvLst(t.avLst)},F.prototype.FromSJSCT_PresetGeometry2D=function(t){var V=this;V.AutoShapeType=o.ShapeUtility.ToAutoShapeType(o.ST_ShapeType[t.prst]),V.FromCT_AvLst(t.avLst)},F.prototype.ToCT_PresetGeometry2D=function(t,V){var n,V,t,n,n=this,V=V||{};return V.prst=t,t=V.avLst={},(n=o.ShapeUtility.convertToExcelAdjustValues(n.AdjustValues))&&(t.gd=n),V},F.prototype.FromCT_ShapeStyle=function(t){t&&this.MVV.FromOOModel(t)},F.prototype.atV=function(t,V){var n,i;t&&(i=(n=this.eJ).currentTheme(),this.MVV.OeV(t,V,i))},F.prototype.ToCT_ShapeStyle=function(t){var V,t,V=this;if(V.MVV.IsDirtyIncludingParent())return(t=V.MVV.ToOOModel(t)).effectRef||(t.effectRef=V.ToCT_StyleMatrixReference(0,4,-1)),t},F.prototype.ToSJSCT_ShapeStyle=function(){return this.MVV.PeV()},F.prototype.ToCT_StyleMatrixReference=function(t,V,n){var t={idx:t,ColorProp:{colorFillType:0,schemeClr:{val:V}}};return-1!==n&&(t.ColorProp.schemeClr.alpha={val:n}),t},F.prototype.FromCT_NonVisualDrawingProps=function(t,V){var n,V;t&&((n=this).Id=t.id,n.btV(t.name),n.Visible=!t.hidden,n.Title=t.title,n.ku=V||t.hlinkClick,V=t.__ID__)&&n.UKn(V)},F.prototype.FromSJSCT_NonVisualDrawingProps=function(t){var V;t&&((V=this).Id=+t.id,V.btV(Rt(t.name)),V.Visible=!(0,s.getAttrValueOrDefaultOfBooleanType)(t.hidden,!1),V.Title=(0,s.xmlDecode)(t.title),V.NeV(t))},F.prototype.ToCT_NonVisualDrawingProps=function(t,V){var n=this;return t.id=n.Id,t.name=n.Zc,t.hidden=!n.Visible,t.title=n.Title,t.hlinkClick=n.ku,null!=V&&V.isServer&&(delete t.id,t.__ID__=n.jKe()),t},F.prototype.ToSJSCT_NonVisualDrawingProps=function(){var t,V,t=this,V={};return V.id=t.Id+"",V.name=Ct(t.Zc),t.Visible||(V.hidden=s.SJS_True),t.Title&&(V.title=(0,s.xmlEncode)(t.Title)),t.DeV(V),V},F.prototype.FromAG_Locking=function(t){this.ReV=!(!t||!t.noChangeAspect)},F.prototype.FromSJSAG_Locking=function(t){this.ReV=(0,s.getAttrValueOrDefaultOfBooleanType)(t&&t.noChangeAspect,!1)},F.prototype.ToAG_Locking=function(t){return t.noChangeAspect=this.ReV,t},F.prototype.ToSJSAG_Locking=function(t){return t.noChangeAspect=this.ReV?s.SJS_True:s.SJS_False,t},F.prototype.NeV=function(t){var t,V,n,i,i,n,i,n;t.lossless&&t.lossless.hyperlink?this.ku=t.lossless.hyperlink:(t=t.hlinkClick||t.hlinkHover)&&(V={},(n=t.Target)&&("#"===(n=(0,s.xmlDecode)(n))[0]&&(n=n.substring(1)),i=t.TargetMode,V.url=n=i&&i!==W?n:l+n),i=t.invalidUrl,y(i)||(V.invalidUrl=i),n=t.action,y(n)||(V.action=n),i=t.tgtFrame,y(i)||(V.tgtFrame=i),n=t.tooltip,y(n)||(V.tooltip=n),V.history=(0,s.getAttrValueOrDefaultOfBooleanType)(t.history,!0),V.highlightClick=(0,s.getAttrValueOrDefaultOfBooleanType)(t.highlightClick,!1),V.endSnd=(0,s.getAttrValueOrDefaultOfBooleanType)(t.endSnd,!1),this.ku=V)},F.prototype.DeV=function(t){var V,n,i,V=this.ku;V&&(t.lossless||(t.lossless={}),(t.lossless.hyperlink=V).url)&&(n={},0===(i=V.url).indexOf(l)?n.Target="#"+(0,s.xmlEncode)(i.substring(l.length)):(n.Target=(0,s.xmlEncode)(i),n.TargetMode=K),V.action&&(n.action=V.action),V.tgtFrame&&(n.tgtFrame=V.tgtFrame),V.tooltip&&(n.tooltip=V.tooltip),!1===V.history&&(n.history="0"),V.highlightClick&&(n.highlightClick="1"),V.endSnd&&(n.endSnd="1"),t.hlinkClick=n)},F.prototype.Cft=function(t){var V,V,V=this.eJ;return V?(V=V.currentTheme(),o.DrawingUtility.Cft(V,t)):""},Object.defineProperty(F.prototype,"DrawingType",{get:function(){return z.Shape},enumerable:!1,configurable:!0}),F.prototype.sheet=function(){return this.eJ},s.ShapeBaseData=t=F,g=96/914400,s.applyTextBodyProperties=_t,V(X,j=t),Object.defineProperty(X.prototype,"Type",{get:function(){return o.ShapeType.AutoShape},enumerable:!1,configurable:!0}),X.prototype.InitShapeFormat=function(){var t=this;t.InitFillFormat(),t.InitLineFormat(),t.InitFontFormat()},X.prototype.FromOOModel=function(t){var V=this;j.prototype.FromOOModel.call(this,t),t.sp&&V.FromCT_ShapeBase(t.sp),!1===t.isVisible&&(V._hidden=!0)},X.prototype.FromSJSOOModel=function(t,V){var n;j.prototype.FromSJSOOModel.call(this,t,V),t&&this.FromSJSCT_ShapeBase(t)},X.prototype.ToOOModel=function(t,V){var n=j.prototype.ToOOModel.call(this,t);return n.sp=this.ToCT_ShapeBase(t,V),n},X.prototype.ToSJSOOModel=function(t,V){j.prototype.ToSJSOOModel.call(this,t,V),t.sp=this.ToSJSCT_ShapeBase(V)},X.prototype.FromCT_ShapeBase=function(t){var V,t;t&&(t=(V=this).otV=t,V.FromCT_ShapeNonVisual(t.nvSpPr),V.FromCT_ShapeStyle(t.style),V.FromCT_ShapeProperties(t.spPr),V.qeV(t.style,t.spPr),V.FromCT_TextBody(t.txBody,t.textlink))},X.prototype.FromSJSCT_ShapeBase=function(t){var V,n;t&&(n=(V=this).UeV=t,V.keV(t.nvSpPr),V.atV(n.style,t),V.stV(t.spPr),V.BeV(n.style,n.spPr),V.ZeV(n.txBody,n.textlink))},X.prototype.ToCT_ShapeBase=function(t,V){var n,i,n=this;return(i=(t=!1!==t)&&n.otV||{shapeType:5}).nvSpPr=n.ToCT_ShapeNonVisual(t,V),i.spPr=n.ToCT_ShapeProperties(o.ShapeUtility.ToST_ShapeType(n.AutoShapeType),i.spPr||{},0!==n.AutoShapeType,t),i.spPr.prstGeom&&(i.style=n.ToCT_ShapeStyle(t),i.txBody=n.ToCT_TextBody(),_t(n,i.txBody),n.ToTextLink(i,null==V?void 0:V.newWorkSheetName)),i},X.prototype.ToSJSCT_ShapeBase=function(t){var V,n,V=this,n={};return n.nvSpPr=V.ToSJSCT_ShapeNonVisual(),n.spPr=V.ToSJSCT_ShapeProperties(o.ShapeUtility.ToST_ShapeType(V.AutoShapeType),0!==V.AutoShapeType),n.spPr.prstGeom&&(n.style=V.ToSJSCT_ShapeStyle(),n.txBody=V.ToSJSCT_TextBody(),Et(V,n.txBody),V.ToSJSTextLink(n,t)),n},X.prototype.ToTextLink=function(t,V){var n,i,n=this,i=n.HeV;i&&(t.textlink=ft(n.eJ,i,V))},X.prototype.ToSJSTextLink=function(t,V){var n,i,n=this,i=n.HeV;i&&(t.textlink=(0,s.xmlEncode)(ft(n.eJ,i,V)))},X.prototype.FromCT_TextBody=function(t,V){var n,i,e,e,r,e;t&&((n=t.p&&t.p[0])&&((i=n.pPr)&&!i.defRPr&&(e=(e=n.elements&&n.elements[0])&&e.rPr)&&(i.defRPr=e),t.lstStyle)&&t.lstStyle.lvl1pPr&&(i||(n.pPr={}),n.pPr.defRPr?pt(t.lstStyle.lvl1pPr.defRPr,n.pPr.defRPr):n.pPr.defRPr=t.lstStyle.lvl1pPr.defRPr),this.I0i.FromOOModel(r={rich:t}),this.HeV=V,e=t.bodyPr)&&!y(e.spAutoFit)&&(this.TrV=e.spAutoFit)},X.prototype.ZeV=function(t,V){var n,n,i,e,e,e,r,n;t&&(n=t.p,y(n)||(n=Array.isArray(n)?n[0]:n)&&((i=(0,s.getTargetNodeByName)(n,"pPr"))&&!i.defRPr&&(e=(e=(0,s.getTargetNodeByName)(n,"r")||(0,s.getTargetNodeByName)(n,"br")||(0,s.getTargetNodeByName)(n,"fld"))&&e.rPr)&&(i.defRPr=e),e=t.lstStyle&&t.lstStyle.lvl1pPr)&&(i||n.c_.splice(0,0,{pPr:i={}}),i.defRPr?pt(e.defRPr,i.defRPr):i.defRPr=e.defRPr),this.I0i.FromSJSOOModel(r={rich:t}),this.HeV=(0,s.xmlDecode)(V),n=t.bodyPr)&&(this.TrV=!y(n.spAutoFit))},X.prototype.ToCT_TextBody=function(){var t,t,t=this.I0i;if(t)return(t=t.ToOOModel())&&t.rich},X.prototype.ToSJSCT_TextBody=function(){var t,t,t=this.I0i;if(t)return(t=t.ToSJSOOModel())&&t.rich},X.prototype.ToCT_TextBodyProperties=function(){return{rotField:0,spcFirstLastParaField:!1,numColField:0,spcColField:0,rtlColField:!1,fromWordArtField:!1,forceAAField:!1,uprightField:!1,compatLnSpcField:!1,horzOverflow:1,rtlCol:!1,anchor:0}},X.prototype.ToCT_ShapeNonVisual=function(t,V){var n,i,t,i,n=this,i=n.otV,t=!1!==t&&i&&i.nvSpPr||{},i=t.cNvPr||{};return t.cNvPr=n.ToCT_NonVisualDrawingProps(i,V),t.cNvSpPr=t.cNvSpPr||{},t.cNvSpPr.txBox=n.CeV,t.cNvSpPr.spLocks=n.ToAG_Locking(t.cNvSpPr.spLocks||{}),t},X.prototype.ToSJSCT_ShapeNonVisual=function(){var t,V,t=this,V={};return V.cNvPr=t.ToSJSCT_NonVisualDrawingProps(),V.cNvSpPr=t.ToSJSCT_NonVisualDrawingShapeProps(),V},X.prototype.FromCT_ShapeNonVisual=function(t){t&&(this.FromCT_NonVisualDrawingProps(t.cNvPr),this.FromCT_NonVisualDrawingShapeProps(t.cNvSpPr))},X.prototype.keV=function(t){t&&(this.FromSJSCT_NonVisualDrawingProps(t.cNvPr),this.FromSJSCT_NonVisualDrawingShapeProps(t.cNvSpPr))},X.prototype.FromCT_NonVisualDrawingShapeProps=function(t){t&&(this.CeV=t.txBox,this.FromAG_Locking(t.spLocks))},X.prototype.FromSJSCT_NonVisualDrawingShapeProps=function(t){t&&(this.CeV=(0,s.getAttrValueOrDefaultOfBooleanType)(t.txBox,!1),this.FromSJSAG_Locking(t.spLocks))},X.prototype.ToSJSCT_NonVisualDrawingShapeProps=function(){var t,V,t=this,V={};return t.CeV&&(V.txBox=s.SJS_True),V.spLocks=t.ToSJSAG_Locking({}),V},X.prototype.InitFillFormat=function(){var t=this.S0t;this.IsSpecialShape()?t.Color.ColorType=0:t.Color.ObjectThemeColor=4,t.PatternColor.ColorType=3,t.PatternColor.ObjectThemeColor=0},X.prototype.InitLineFormat=function(){var t=this.Tin;this.IsSpecialShape()?(t.Color.ObjectThemeColor=4,t.Weight=.5):(t.Color.ObjectThemeColor=4,t.Color.Shade=.5,t.Weight=1),t.PatternColor.RGB=H.FromArgb(16777215)},X.prototype.InitFontFormat=function(){var t=this,V,n=20===t.AutoShapeType||t.IsSpecialShape()?1:0;t.MVV.Font.Color.ObjectThemeColor=n,t.I0i.Font.Color.ObjectThemeColor=n},X.prototype.qeV=function(t,V){var n,i,e,n=this;0===n.S0t.Color.ColorType||(i=t&&t.fillRef||V.solidFill||V.grpFill||V.pattFill||V.gradFill||V.blipFill)||(n.S0t.Color.ColorType=0),0===n.Line.Color.ColorType||(e=t&&t.lnRef&&t.lnRef.ColorProp||V.ln&&(V.ln.solidFill||V.ln.pattFill||V.ln.gradFill))||(n.Line.Color.ColorType=0)},X.prototype.BeV=function(t,V){var n,i,t,e,t,n=this;0===n.S0t.Color.ColorType||(i=t&&t.fillRef||V.solidFill||V.grpFill||V.pattFill||V.gradFill||V.blipFill)||(n.S0t.Color.ColorType=0),0===n.Line.Color.ColorType||(e=(e=(t=t&&t.lnRef)&&(t.scrgbClr||t.srgbClr||t.hslClr||t.sysClr||t.schemeClr||t.prstClr||t.styleClr))||(t=V.ln)&&(t.solidFill||t.pattFill||t.gradFill))||(n.Line.Color.ColorType=0)},s.ShapeData=X,V(Y,at=t),Y.prototype.FromCT_ShapeBase=function(t){this.cft=t},Y.prototype.ToCT_ShapeBase=function(t){return!1!==t&&this.cft},s.LosslessShapeData=Y},"./dist/plugins/shape/shape.res.en.js":function(t,V){Object.defineProperty(V,"__esModule",{value:!0}),V.Exp_InvalidRange=V.Exp_EmptyName=V.Exp_DuplicatedName=V.Exp_InvalidConnectionSite=void 0,V.Exp_InvalidConnectionSite="Invalid connection site.",V.Exp_DuplicatedName="Duplicated name.",V.Exp_EmptyName="Empty name.",V.Exp_InvalidRange="Invalid range"},"./dist/plugins/shape/shapeCollection.js":function(O,t,V){var n,o,i,x,d,a,h,s,e,u,y,f,r,l,g,A,c,p,w,v,j,b,L,m,C,R,I,M,_,V;function T(t,V){for(var n,i,e,r,c,s,o,d,a,h,u,x,y,n=V.minX,i=V.minY,e=V.maxX,r=V.maxY,c=t.getRowCount(),s=t.getColumnCount(),o=t.zoom(),d=0,a=0,h=0,u={},x=0;x<c;x++)h=+t.getRowHeight(x)*o,d<i&&i<=d+h&&(u.minRow=x),d<=r&&r<=d+h&&(u.maxRow=x),d+=h;for(y=0;y<s;y++)h=+t.getColumnWidth(y)*o,a<n&&n<=a+h&&(u.minCol=y),a<=e&&e<=a+h&&(u.maxCol=y),a+=h;return u.minCol===w&&(u.minCol=0),u.minRow===w&&(u.minRow=0),u.maxCol===w&&(u.maxCol=s-1),u.maxRow===w&&(u.maxRow=c-1),u}function N(t,V,n){for(var i,e,r,c,s,o,d,c,i,e,c,i,e,r,c,s=0,o=V;s<o.length;s++)d=o[s],M[d.type()]&&(c=d.ctV)&&(i=c.left,e=c.top,c=c.kg)&&(i=i+c.left,e=e+c.top,r=i+c.width,c=e+c.height,I(n,T(t,{minX:i,minY:e,maxX:r,maxY:c}))),i=d.startRow(),e=d.startColumn(),r=d.endRow(),c=d.endColumn(),I(n,{minRow:i,minCol:e,maxRow:r,maxCol:c})}function P(t,V,n){for(var i,e,r,c,s,o,d,a,i={minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0},e=0,r=V;e<r.length;e++)for(o=0,d=s=(c=r[e]).KVV();o<d.length;o++)a=d[o],i.minX=b(i.minX,a.x),i.minY=b(i.minY,a.y),i.maxX=j(i.maxX,a.x),i.maxY=j(i.maxY,a.y);I(n,T(t,i))}function D(t,V,n){var i,e,r,n,i,i=n.x(),e=n.y(),r=n.ctV.getShapeCenter(),n=G(n),i=L({x:i,y:e},r,m(n)-V);return i=L(i,t,V),r=L(r,t,V),{x:(i=L(i,r,m(-n))).x,y:i.y}}function U(t,V,n){var i,e,r,c,s,i=n.getPoints(),e=n.getShapeCenter(),r=L({x:e.x,y:e.y},t,V),c=e.x-r.x,s=e.y-r.y;return i=i.map(function(t){return L({x:t.x-c,y:t.y-s},r,d.Common.toRadius(n.angle))}),n.setAngle(0),i}function q(t,V,n){return t[3*V+n]}function k(r,c){r.shapes.all().forEach(function(t){var V,n,i,e,t;t&&t.ctV&&c&&(V=t.ctV,n=(0,s.getY)(r,t.startRow(),t.startRowOffset()*c),i=(0,s.getY)(r,t.endRow(),t.endRowOffset()*c)-n,t=r.options.rightToLeft?(e=(0,s.getX)(r,t.endColumn(),t.endColumnOffset()*c),(0,s.getX)(r,t.startColumn(),t.startColumnOffset()*c)-e):(e=(0,s.getX)(r,t.startColumn(),t.startColumnOffset()*c),(0,s.getX)(r,t.endColumn(),t.endColumnOffset()*c)-e),V.resize(t,i),V.move(e,n))})}function E(t,V,n,i,e){var r,c,s,e,r=e.startRow(),c=e.startColumn(),s=e.endRow(),e=e.endColumn();return t<=r&&V<=c&&s<=n&&e<=i}function B(t,V){t&&(V(t),t instanceof r.GroupShape)&&t.tin.forEach(function(t){B(t,V)})}function Z(t,V,n){var i,e,i=t.EsV,e=t.SsV;B(V,function(t){n?(i.set(t.name(),t),e.set(t.getId(),t)):(i.delete(t.name()),e.delete(t.getId()))})}function H(t,V,n){var t,i,t=t.EsV,i=t.get(V);i&&(t.delete(V),t.set(n,i))}function z(t,V){var n,i,e;if(t)for(n=0,i=t;n<i.length;n++)switch((e=i[n]).ttV){case x.CT_ShapeType.CT_GroupShape:z(e.tin,V);break;case x.CT_ShapeType.CT_Connector:V.connector.push(e);break;default:V.auto.push(e)}}function S(t,n){t&&0<t.length&&t.forEach(function(t){var V=t.ctV;V&&(3===V.ttV?n.push(V):2===V.ttV&&S(t.tin,n))})}function Q(t){return 0===G(t)}function G(t){return t.vdV()&&t.rotate?t.rotate():0}function J(t){var V=n({},t);return t.shape&&(V.shape=t.shape.JVV),t.target&&(V.target=t.target.JVV),V}function F(V,t,n){var i=function(t){V.RnV[t.Name]=n,t instanceof c.GroupShapeData&&t.GroupItems.Items.forEach(function(t){i(t)})};i(t.ytV)}function X(t){this.FsV=0,this.XsV=[],this.mnV=t}function Y(t){var V=this;V.Mf=t,V.tin={},V.dnV=[],V.MU={snapMode:e.SnapMode.none},V.krV=0,V.EsV=new Map,V.SsV=new Map,V._sV=new _(V)}n=this&&this.__assign||function(){return(n=Object.assign||function(t){for(var V,n,i,e,n=1,i=arguments.length;n<i;n++)for(e in V=arguments[n])Object.prototype.hasOwnProperty.call(V,e)&&(t[e]=V[e]);return t}).apply(this,arguments)},Object.defineProperty(t,"__esModule",{value:!0}),t.ShapeCollection=t.CameraShapeUICacheManager=t.RsV=t.findCameraShape=t.isCoverRange=t.getLineShapePointsForUngroup=t.getShapeLocationForUnGroup=void 0,o=V("Core"),i=V("Common"),x=V("./dist/plugins/shape/drawingInterface.js"),d=V("./dist/plugins/shape/ui/util.js"),a=V("./dist/plugins/shape/ui/shapes.js"),h=V("./dist/plugins/shape/shapeView.js"),s=V("./dist/plugins/shape/util/sheetUtil.js"),e=V("./dist/plugins/shape/shape.interface.js"),u=V("./dist/plugins/shape/connectorView.js"),y=V("./dist/plugins/shape/pictureShapeView.js"),f=V("./dist/plugins/shape/formControlView.js"),r=V("./dist/plugins/shape/groupShapesView.js"),l=V("./dist/plugins/shape/cameraShapeView.js"),g=V("./dist/plugins/shape/shape-spreadjs.js"),A=V("./dist/plugins/shape/shape-io.js"),c=V("./dist/plugins/shape/groupShapes.js"),p=i.Common.Uf,w=void 0,v=null,j=Math.max,b=Math.min,L=d.Common.rotatePoint,m=d.Common.toRadius,C=d.Common.pointIsInRectangle,R=i.Common.lt.ht,I=o.UsedRangeUtil.vh,M={105:!0,106:!0,107:!0,108:!0,110:!0,111:!0,112:!0,114:!0,115:!0,116:!0,118:!0,119:!0,120:!0,122:!0,123:!0,124:!0,92:!0,44:!0,47:!0,48:!0,159:!0,177:!0},t.getShapeLocationForUnGroup=D,t.getLineShapePointsForUngroup=U,t.isCoverRange=E,t.findCameraShape=S,t.RsV=F,Object.defineProperty(X.prototype,"cameraShapes",{get:function(){return this.XsV},enumerable:!1,configurable:!0}),X.prototype.updateShapeUICache=function(){var t=this;0<this.FsV||(t.XsV=[],S(t.mnV.all(),t.XsV))},X.prototype.suspendUpdateShapeUICache=function(){this.FsV++},X.prototype.resumeUpdateShapeUICache=function(){var t=this;t.FsV--,t.FsV<=0&&(t.FsV=0,t.updateShapeUICache())},X.prototype.dispose=function(){this.XsV=[],this.FsV=0,this.mnV=v},_=X,t.CameraShapeUICacheManager=_,Y.prototype.add=function(t,V,n,i,e,r){var c,s,s,c=this,s=this.Mf,s=new h.Shape(s,t,V,n,i,e,r);return s.VnV=!0,c.ZP(s),delete s.VnV,s},Y.prototype.addCameraShape=function(t,V,n,i,e,r){var c,s,s,c=this,s=c.Mf,s=new l.CameraShape(s,t,V,n,i,e,r);return c.ZP(s),c.DT("addCameraShape",s.name(),s),s},Y.prototype.addFormControl=function(t,V,n,i,e,r){var c,s,s,c=this,s=this.Mf,s=new f.FormControlShape(s,t,V,n,i,e,r);return this.ZP(s),c.DT("addFormControlShape",s.name(),s),s},Y.prototype.addPictureShape=function(t,V,n,i,e,r){var c,s,s,c=this,s=this.Mf,s=new y.PictureShape(s,t,V,n,i,e,r);return this.ZP(s),c.DT("addPictureShape",s.name(),s),s},Y.prototype.wnV=function(t,V){var n,i=this.Mf;i&&i.ki(t,V)},Y.prototype.addConnector=function(t,V,n,i,e,r){var c,s,s,c=this,s=this.Mf,s=new u.ConnectorShape(s,t,V,n,i,e,r);return this.ZP(s),c.DT("addConnector",s.name(),s),s},Y.prototype.group=function(t){var V,n,n,V=this,n=V.Mf,n=new r.GroupShape(n,"");return V.rCt(t,n)},Y.prototype.snapMode=function(t){var V=this;if(0===arguments.length)return V.MU.snapMode;V.MU.snapMode=t},Y.prototype.zIndex=function(t,V){var n,i,e,r,c,c,i,n=this,i=n.dnV,e=p.hD(i,t);if(1===arguments.length)return e;!(r=n.get(t))||e<0||(c=n.pnV(),V=b(c-1,V),V=j(0,V),i.splice(e,1),i.splice(V,0,t),(i=(c=n.Mf).shapeLayers[0]).shapes.splice(e,1),i.shapes.splice(V,0,r.ctV),c.$Dr({type:"reorderShape",shapeId:r.getId(),targetIndex:V,sourceIndex:e}),n.DT("zIndex",{shapeName:t,zIndex:e,newIndex:V},r),n.Mf.ki(o.Events.DrawingElementZIndexChanged,{isGroup:!1,shapeName:t,oldZIndex:e,newZindex:V}),c.cnV())},Y.prototype.rCt=function(t,V){var n,i,i,n,e,r,c,s,n,o,i,e=this,r=t.length,c=-1,s=e.Mf.parent;for(null!=(n=null==s?void 0:s.collaboration)&&n.startBatchOp(),t.forEach(function(t,V){var n,i,n=t.name(),i=e.zIndex(n);c=j(c,i),e.DT("zIndex",{shapeName:n,zIndex:i,newIndex:V},t)}),n=e.dnV.length-c,o=0;o<r;o++)t[o].isSelected(!1),e.VP(t[o],!0,!0);for(V.vnV=!0,V.LnV=!0,null!=(i=null==s?void 0:s.suspendOp)&&i.call(s),o=0;o<r;o++)V.add(t[o],!0);return null!=(i=null==s?void 0:s.resumeOp)&&i.call(s),V.tnV(V.tin),e.ZP(V,w,w,e.dnV.length-n+1),i=V.name(),e.DT("group",i,V),delete V.vnV,delete V.LnV,null!=(n=null==s?void 0:s.collaboration)&&n.endBatchOp(),V},Y.prototype.ungroup=function(t){var V,V,V,n,n,V,i,e,r,c,s,V,o,d,a,h,u,i=this,r=i.Mf.parent;for(null!=(V=null==r?void 0:r.collaboration)&&V.startBatchOp(),c=t.tin.slice(0),s=i.zIndex(t.name()),V={groupShape:t,nameList:i.dnV,zIndex:s,shapes:c},i.DT("ungroup",V),o=t.ctV.getShapeCenter(),d=m(t.rotate()),a=[],0!==d&&c.forEach(function(t){4===t.ttV?a.push(U(o,d,t.ctV)):a.push(D(o,d,t))}),t.LnV=!0,i.VP(t,!0,!0),h=c.length,t.vnV=!0,null!=(V=null==r?void 0:r.suspendOp)&&V.call(r),e=h-1;0<=e;e--)t.remove(c[e]);for(null!=(V=null==r?void 0:r.resumeOp)&&V.call(r),delete t.vnV,delete t.LnV,t.jnV(),e=0;e<h;e++)u=c[e],0!==d&&(null!=(n=null==r?void 0:r.suspendOp)&&n.call(r),u.ttV===x.CT_ShapeType.CT_Connector?u.nnV(a[e]):u.bnV(a[e].x,a[e].y,!0,!1,!1,!0),null!=(n=null==r?void 0:r.resumeOp))&&n.call(r),i.ZP(u,w,!0,s+e),0!==d&&u.ttV===x.CT_ShapeType.CT_GroupShape&&u.ctV.move(a[e].x,a[e].y);null!=(V=r.collaboration)&&V.endBatchOp()},Y.prototype.ZP=function(i,t,V,e){var n=this,r=n.Mf,c=i.name();n.tin[c]||((i.mnV=n).DT("add",{shapeName:c,isGroup:V},i),n.tin[c]=i,0<=e?n.dnV.splice(e,0,c):n.dnV.push(c),r.shapeLayers.forEach(function(t){var V,n,V=i.ctV;V&&((n=t.model).CnV=!0,t.addShape(V,e),delete n.CnV)}),n.YsV(i),r.$Dr({type:"addShape",shape:i,index:0<=e?e:n.dnV.length-1}),Y.et(n,"shapeAdded",{shape:i,sheet:r}),t)||r.isPaintSuspended()||r.cnV()},Y.prototype.get=function(t){return t?this.EsV.get(t):w},Y.prototype.remove=function(t,V){this.xx(t,V)},Y.prototype.xx=function(t,V,n){var i,t,V,i=this,t=i.tin[t];t&&(i.DT("remove",t,t,i.zIndex(t.name())),i.VP(t,V,n),delete t.mnV,(V=i.Mf).isPaintSuspended()||V.cnV())},Y.prototype.VP=function(n,i,t){var V,e,r,c,t,s,r,V=this,e=V.Mf,r=n.name(),c=V.dnV,t={sheet:e,sheetName:e.name(),shape:n,cancel:!1,cancelEvent:!1,isGroup:t,ignoreModel:i};Y.et(V,"shapeRemoving",t),t.cancelEvent||V.wnV(o.Events.ShapeRemoving,t),!1===t.cancel&&(s=e.THr({type:"removeShape",shapeId:n.getId()}),e.shapeLayers.forEach(function(t){var V=n.ctV;V&&t.removeShape(V,i)}),delete V.tin[r],-1<(r=c.indexOf(r))&&c.splice(r,1),V.OsV(n),e.$Dr({type:"removeShape",shapeId:n.getId(),index:r},s),Y.et(V,"shapeRemoved",t),t.cancelEvent||V.wnV(o.Events.ShapeRemoved,{sheet:e,sheetName:e.name(),shape:n}))},Y.prototype.YsV=function(t){var V,n,V=this,n;F(V.Mf,t,!0),Z(V,t,!0),V._sV.updateShapeUICache()},Y.prototype.OsV=function(t){var V,n,V=this,n;F(V.Mf,t,!1),Z(V,t,!1),V._sV.updateShapeUICache()},Y.prototype.TsV=function(t,V){var n,i,e,i,n=this,i=n.tin,e=n.dnV;i[V]=i[t],delete i[t],H(n,t,V),-1<(i=e.indexOf(t))&&(e[i]=V)},Y.prototype.IsV=function(t){this.YsV(t)},Y.prototype.MsV=function(t){this.OsV(t)},Y.prototype.clear=function(){var n,i,t,n=this,i=n.tin,t=n.dnV;n.dnV=[],t.forEach(function(t){var V;i[t]&&n.remove(t)})},Y.prototype.all=function(){var t,V,n,t=this,V=t.tin,n=[];return t.dnV.forEach(function(t){var t=V[t];t&&n.push(t)}),n},Y.prototype.lEr=function(t){return this.SsV.get(t)},Y.prototype.xsV=function(t,V){var n,i,e,r,r;if(t.getId()===V)return t;if(3===t.ttV)for(i=0,e=n=t.all();i<e.length;i++)if(r=e[i],r=this.xsV(r,V))return r},Y.prototype.InV=function(t,V,n,i){for(var e,r,e=this,r=0;r<V.length;r++)n&&!0===n(V[r].ctV)||(3===V[r].ttV?(i&&t.push(V[r]),e.InV(t,V[r].tin)):t.push(V[r]))},Y.prototype.MnV=function(t){var V=this,n=[];return V.InV(n,V.all(),t),n},Y.prototype.getUsedRange=function(){var t,V,t,n,i,t=this,V=t.all(),t=t.Mf,n={},i={connector:[],auto:[]};return V&&(z(V,i),0<i.auto.length&&N(t,i.auto,n),0<i.connector.length)&&P(t,i.connector,n),n},Y.prototype.pnV=function(){return this.dnV.length},Y.prototype.JO=function(V,n){this.all().forEach(function(t){t.JO(V,n)})},Y.prototype.EnV=function(t,V){var n=this;t.forEach(function(t){n.remove(t,V)})},Y.prototype.xP=function(V,n){var i,t,e,i=[],t=this,e=t.Mf.getColumnCount();t.all().forEach(function(t){E(V,-1,V+n-1,e,t)&&t.dynamicSize()?i.push(t.name()):t.xP(V,n)}),t.EnV(i,!0)},Y.prototype.qO=function(V,n){this.all().forEach(function(t){t.qO(V,n)})},Y.prototype.NP=function(V,n){var i,t,e,i=[],t=this,e=t.Mf.getRowCount();t.all().forEach(function(t){E(-1,V,e,V+n-1,t)&&t.dynamicSize()?i.push(t.name()):t.NP(V,n)}),t.EnV(i,!0)},Y.prototype.Udt=function(i,e,r,t){var V=this.Mf;t&&(r?(0,g.recalculateScrollTop):(0,g.recalculateScrollLeft))(V,i),this.all().forEach(function(t){var V=r?t.startRow():t.startColumn(),n=r?t.endRow():t.endColumn();e<V||n<i||(t.FnV&&t.ytV.xnV(),t.SnV&&t.ytV.mtV(),t.anV())}),V.cnV()},Y.prototype.XnV=function(){var t,V,n,i,e,t,V,t,t=this,V=t.Mf,n=-1,e=[];return t.all().forEach(function(t){t.isVisible()&&t.canPrint()&&(Q(t)?n=j(n,t.endRow()):(i=(0,a.getActualBound)(t.ctV,!1),e.push(i.bottom)))}),0<e.length&&(t=j.apply(null,e),t=(V=(0,s.getRowAndRowOffset)(V,t)).row+(0===V.rowOffset?0:1),n=j(n,t)),n},Y.prototype.YnV=function(){var t,V,n,i,e,t,t,t,t=this,V=t.Mf,n=-1,e=[];return t.all().forEach(function(t){t.isVisible()&&t.canPrint()&&(Q(t)?n=j(n,t.endColumn()):(i=(0,a.getActualBound)(t.ctV,!1),V.options.rightToLeft?e.push(i.left):e.push(i.right)))}),0<e.length&&(t=void 0,t=(V.options.rightToLeft?b:j).apply(null,e),t=(t=(0,s.getColAndColOffset)(V,t)).col+(0===t.colOffset?0:1),n=j(n,t)),n},Y.prototype.TnV=function(t,V,n,i){var e,r,c,s,o,d,a,e=t.Fi(),r=t.options,c=0,s=0;for(r.rowHeaderVisible&&!t.options.rightToLeft&&(c+=e.b6),r.colHeaderVisible&&(s+=e.T6),Y.et(this,"beforePrintShapes",{sheet:t}),V.save(),V.beginPath(),V.rect(n.x+c,n.y+s,n.width,n.height),V.clip(),R(i)||1===i||(k(t,i),t.Lp.recalculateAll()),o=0;o<=2;o++)for(d=0;d<=2;d++)(a=n.getIntersectRect(e.c9(o,d)))&&this.OnV(t,V,o,d,i);V.restore()},Y.prototype.OnV=function(t,V,n,i,e){var r,c,s,o,o,d,d,r=t.Fi(),c=t.shapeLayers[3*n+i],s=r.c9(n,i);(0,g.adjustViewportRect)(s,t,n,i),c.width=s.width,c.height=s.height,o=t.getViewportTopRow(n),o=(0,g.getScrollTop)(t,o,n),d=t.getViewportLeftColumn(i),d=(0,g.getScrollLeft)(t,d,i,c),V.save(),V.beginPath(),V.rect(s.x,s.y,s.width,s.height),V.clip(),c.scrollTop=o-r.T6,t.options.rightToLeft?c.scrollLeft=d:c.scrollLeft=d-r.b6,c.PnV=s.x,c.NnV=s.y,1===n&&(c.scrollTop-=r.L6),1!==i||t.options.rightToLeft||(c.scrollLeft-=r.F6),c.paintForPrint(V,e),V.restore()},Y.prototype.DnV=function(t,i,e){var r=[],c=t.name();return t.shapes.all().forEach(function(t){var V=t.y(),n=t.x();r.push({type:"shapePosition",shape:t,offset:{x:n,y:V},sheetName:c}),t.x(n-i),t.y(V-e),t.resize(t.x(),t.y(),t.width(),t.height())}),r},Y.prototype.qnV=function(t,V,n,i){t&&(n?this.ZP(V,w,i):this.xx(t,!0,i))},Y.prototype.hitTest=function(t,V){var n,i,e,r,c,s,o,r,c,s,d,a,h,u,x,y,y,n,i=this.Mf,e=null,r=i.Fi(),c=i.FL(V),s=i.PL(t);if(!(c===v||s===v||c<0||2<c||s<0||2<s)&&(o=i.shapeLayers[3*c+s]))for(c=(r=r.c9(c,s)).x,s=r.y,d=t+o.scrollLeft-c,a=V+o.scrollTop-s,u=(h=i.shapes.all()).length-1;-1<u;u--)if((x=h[u])&&x.isVisible()&&x.ctV&&(!(y=x.ctV.getRenderBound())||C(y,d,a))&&(y=x.ctV.hitTest(d,a))&&y.shape){e=J(y);break}return e},Y.prototype.UnV=function(t,V,n){var i,n,e,r,c,s;if(t)if(i=this,n){for(n="string"==typeof V.name?V.name:V.name(),i.remove(n,!0),e=[],r=0;r<V.shapeData.grpSp.sp.length;r++)c=V.shapeData.grpSp.sp[r].nvSpPr.cNvPr.name,e.push(i.get(c));(s=i.group(e)).name(n)}else V=i.tin[t],i.ungroup(V)},Y.prototype.knV=function(t,V){var n,i,e,r,t,V,c;t&&(n=this,i=t.groupShape,e=t.nameList,r=t.zIndex,t=t.shapes,V?("Object"===i.constructor.name&&(i=n.get(i.name)),n.ungroup(i)):"Object"===i.constructor.name?(t=t.map(function(t){var t="string"==typeof t.name?t.name:t.name();return n.get(t)}),V=n.group(t),c="Object"===i.constructor.name?i.name:i.name(),V.name(c)):(t.forEach(function(t){i.add(t,!0)}),i.tnV(i.tin),n.ZP(i),n.zIndex(i.name(),r),n.dnV=e))},Y.prototype.BnV=function(t,V,n,i){V&&(n?this.remove(t,!0):V&&(V.ZnV(V.ctV.id,!0),V.ttV===x.CT_ShapeType.CT_GroupShape?V.tnV(V.tin):V.tnV(),this.ZP(V,w,w,i)))},Y.prototype.DT=function(t,V,n,i){var e,r,r,c,e,r=this.Mf;r&&(r=r.Ut).G8&&r.HnV(c={type:t,value:V,shape:n,zIndex:i})},Y.prototype.AP=function(t,V){var n,i,e,r,c,s,o;t&&(n=this,i=t.type,e=t.value,(r=t.shape)&&"Object"===r.constructor.name&&"group"!==i&&"ungroup"!==i&&(r=(c=n.get(r.name))||(0,A.shapeFromJSON)(n.Mf,r)),"add"===i||"addConnector"===i?(s=e,o=void 0,"add"===i&&(s=e.shapeName,o=e.isGroup),n.qnV(s,r,V,o)):"group"===i?n.UnV(e,r,V):"ungroup"===i?n.knV(e,V):"remove"===i?("object"==typeof e&&(e=e.name),n.BnV(e,r,V,t.zIndex)):"zIndex"===i&&n.zIndex(e.shapeName,V?e.newIndex:e.zIndex))},Y.prototype.getSnapMode=function(){return this.Mf.shapes.snapMode()},Y.prototype.isSnapToGrid=function(){var t;return(this.getSnapMode()&e.SnapMode.grid)===e.SnapMode.grid},Y.prototype.isSnapToShape=function(){var t;return(this.getSnapMode()&e.SnapMode.shape)===e.SnapMode.shape},Y.prototype.getShapePartLines=function(t){var V,n,i,e,r,c,s,s,V=this,n=[],i=[];if(V.isSnapToGrid()&&(e=V.Mf,n=n.concat((0,d.getHorizontalGridLine)(e)),i=i.concat((0,d.getVerticalGridLine)(e))),V.isSnapToShape())for(r=V.MnV(function(t){return t.JVV.isSelected()}),c=0;c<r.length;c++)s=r[c].ctV,-1===t.indexOf(s)&&(s=(0,a.getActualBound)(s),n.push(s.left),n.push(s.left+(s.right-s.left)/2),n.push(s.right),i.push(s.top),i.push(s.top+(s.bottom-s.top)/2),i.push(s.bottom));return n=(0,d.distinct)(n),i=(0,d.distinct)(i),{hLines:n.sort(d.ascSortFunc),vLines:i.sort(d.ascSortFunc)}},Y.prototype.V2=function(){this.krV++},Y.prototype.Y2=function(){var t=this;t.krV--,t.krV<=0&&(t.krV=0,t.Mf)&&t.Mf.cnV()},Y.prototype.UrV=function(){return 0<this.krV},Y.prototype.NsV=function(V,n,i){var t;this._sV.cameraShapes.forEach(function(t){t.PsV(V,n,i)})},Y.prototype.dispose=function(){var t=this;t.all().forEach(function(t){t.dispose()}),t.dnV=[],t.tin={},t.EsV.clear(),t.SsV.clear(),t._sV.dispose(),t.Mf=v},t.ShapeCollection=V=Y,(0,o.$e)(V)},"./dist/plugins/shape/shapeInternal.interface.js":function(t,V){Object.defineProperty(V,"__esModule",{value:!0})},"./dist/plugins/shape/shapeStyle.js":function(t,V,n){var i,e,r,c,s,o,d,a,h,u,x,y,f,l,g;function A(){return{r:0,g:0,b:0,invGammaField:[],gammaField:[],blueOffField:[],blueModField:[],blueField:[],greenOffField:[],greenModField:[],greenField:[],redOffField:[],redModField:[],redField:[],lumOffField:[],lumModField:[],lumField:[],satOffField:[],satModField:[],satField:[],hueOffField:[],hueModField:[],hueField:[],alphaOffField:[],alphaModField:[],alphaField:[],grayField:[],invField:[],compField:[],shadeField:[],tintField:[]}}function p(t){return void 0===t}function w(n,i){y.forEach(function(t){var V;p(i[t])&&(p(n[t])?p(V=o(n,""+t))||(i[t]=V):i[t]=n[t])})}function v(t,V){t&&w(t,V)}function j(t,V,n,i,e){var r,c;return void 0===V&&(V=0),void 0===n&&(n=0),void 0===i&&(i=0),(c=r=g.call(this)||this).DJ=t,c.QeV=V,c.zeV=n,c.GeV=i,c.JeV(e),r}i=this&&this.__extends||(l=function(t,V){return(l=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}l(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.ShapeStyleData=void 0,e=n("Core"),r=n("FloatingObject"),c=n("./dist/plugins/shape/drawingInterface.js"),s=e.NodeHelper.sr,o=e.util.xr,d=e.util.go,a=r.Drawing.LineFormat,h=r.Drawing.FontFormat,u=r.Drawing.FillFormat,x=["fillStyleLst","lnStyleLst","effectStyleLst","bgFillStyleLst"],y=["w","cap","cmpd","algn","prstDash","custDash","round","bevel","miter","headEnd","tailEnd"],g=c.StatefulBase,i(j,g),Object.defineProperty(j.prototype,"Fill",{get:function(){var t=this,V,V;return V=(V=t.S0t)||(t.S0t=new u(t.DJ))},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"Line",{get:function(){var t=this,V,V;return V=(V=t.Tin)||(t.Tin=new a(t.DJ))},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"Font",{get:function(){var t=this,V,V;return V=(V=t._font)||(t._font=new h(t.DJ))},enumerable:!1,configurable:!0}),j.prototype.WeV=function(t,V,n){var i,e,r,r,c,n,r;return n.Mv||(n.Mv={}),e=t+","+V,(r=(i=n.Mv)&&i[e])||((r=n&&n.fmtTheme())&&(c=r=(n=x[t])&&o(r,""+n))&&(1===t?r=d(r,"ln"):0===t&&(r=d(r,"items")),c=r[V]),i&&(i[e]=c),c)},j.prototype.KeV=function(t,V){var n,t,n,i,e,r,n=t&&t.style,t=t&&t.spPr;n&&(n=n.lnRef,r=e=void 0,i=(i=t.ln)||{},n)&&(e=n.idx)&&(v(r=this.WeV(1,e-1,V),i),t.ln=i)},j.prototype.FromOOModel=function(t){var V;t&&((V=this).O1t=t,V.FromFillFormat(t.fillRef),V.FromLineFormat(t.lnRef),V.FromFontFormat(t.fontRef))},j.prototype.OeV=function(t,V,n){var i;t&&((i=this).fft=t,i.KeV(V,n),i.$eV(t.fillRef),i.tiV(t.lnRef),i.ViV(t.fontRef))},j.prototype.ToOOModel=function(t,V){var n,t,n=this,t=!1!==t&&n.O1t||{};return t.fillRef=n.ToFillFormat(),t.lnRef=n.ToLineFormat(),t.fontRef=n.ToFontFormat(),t},j.prototype.PeV=function(){var t,V,n,i,e,t=this,V,n,i,e;return{lnRef:t.niV(),fillRef:t.eiV(),effectRef:t.iiV(),fontRef:t.ciV()}},j.prototype.JeV=function(t){var V=this.Font;0===t?V.ThemeFont=c.ThemeFont.Major:1===t&&(V.ThemeFont=c.ThemeFont.Minor),V.Size=44/3},j.prototype.FromFontFormat=function(t){t&&(this.Font.TextCharacterProperties_FromOOModel(t.TextCharacterProperties),this.JeV(t.idx))},j.prototype.ViV=function(t){t&&(this.Font.TextCharacterProperties_FromSJSOOModel({solidFill:t}),this.JeV(c.ST_FontCollectionIndex[t.idx]))},j.prototype.ToFontFormat=function(){var t,V,t={},V=this.Font;return t.TextCharacterProperties=V.TextCharacterProperties_ToOOModel(),V.ThemeFont===c.ThemeFont.Major?t.idx=c.ST_FontCollectionIndex.major:V.ThemeFont===c.ThemeFont.Minor&&(t.idx=c.ST_FontCollectionIndex.minor),t},j.prototype.ciV=function(){var t,V,n,n,V,t,V=this.Font,n=V.TextCharacterProperties_ToSJSOOModel(),n=n&&n.solidFill||{},V=V.ThemeFont===c.ThemeFont.Major?c.ST_FontCollectionIndex.major:c.ST_FontCollectionIndex.minor;return n.idx=c.ST_FontCollectionIndex[V],n},j.prototype.FromLineFormat=function(t){var V;t&&((V=this).zeV=t.idx,V.Line.FillInternal.FromOOModel(t.ColorProp,0),0===t.idx)&&(V.Line.Color.ColorType=0)},j.prototype.tiV=function(t){var V,n;t&&(V=this,n=s(t.idx),0===(V.zeV=n)?V.Line.Color.ColorType=0:V.Line.FillInternal.FromSJSOOModel(t,0))},j.prototype.ToLineFormat=function(){var t=this,V=t.O1t&&t.O1t.lnRef?t.O1t.lnRef:{};return 0===t.Line.Color.ColorType?(V.ColorProp={colorFillType:0},V.ColorProp.scrgbClr=A()):V.ColorProp=t.Line.FillInternal.ToOOModel(),V.idx=t.zeV,V},j.prototype.niV=function(){var t,V,t=this,V={};return 0!==t.Line.Color.ColorType&&delete(V=t.Line.FillInternal.ToSJSOOModel()).colorFillType,V.idx=t.zeV,V},j.prototype.FromFillFormat=function(t){var V;t&&((V=this).QeV=t.idx,0===t.idx?V.Fill.Color.ColorType=0:1===t.idx&&V.Fill.FromOOModel(t.ColorProp,0))},j.prototype.$eV=function(t){var V,n;t&&(V=this,n=s(t.idx),0===(V.QeV=n)?V.Fill.Color.ColorType=0:1===n&&V.Fill.FromSJSOOModel(t,0))},j.prototype.ToFillFormat=function(){var t=this,V=t.O1t&&t.O1t.fillRef?t.O1t.fillRef:{};return t.Fill.Type===c.FillType.Solid&&(0===t.Fill.Color.ColorType?(V.ColorProp={colorFillType:0},V.ColorProp.scrgbClr=A()):V.ColorProp=t.Fill.ToOOModel()),V.idx=t.QeV,V},j.prototype.eiV=function(){var t,V,t=this,V={};return t.Fill.Type===c.FillType.Solid&&0!==t.Fill.Color.ColorType&&delete(V=t.Fill.ToSJSOOModel()).colorFillType,V.idx=t.QeV,V},j.prototype.riV=function(t){this.GeV=t.idx},j.prototype.iiV=function(){return{idx:this.GeV,schemeClr:{val:"accent1"}}},j.prototype.IsDirtyIncludingParent=function(t){void 0===t&&(t=!1);var V=this;return!(!V.S0t||!V.S0t.IsDirtyIncludingParent())||!(!V.Tin||!V.Tin.IsDirtyIncludingParent())||!(!V._font||!V._font.IsDirtyIncludingParent())||g.prototype.IsDirtyIncludingParent.call(this,t)},V.ShapeStyleData=j},"./dist/plugins/shape/shapeStyleView.js":function(t,V,n){var i,e,n,r,c;function s(t,V){return r(t)?V:t}function o(t){var V,n,n,n,n,V=this,n=t&&t.fill;V.fill={type:s(n&&n.type,e.ShapeFillType.solid),color:s(n&&n.color,"accent 1"),transparency:s(n&&n.transparency,0)},n=t&&t.line,V.line={color:s(n&&n.color,"accent 1"),lineStyle:s(n&&n.lineStyle,0),width:s(n&&n.width,1),capType:s(n&&n.capType,2),joinType:s(n&&n.joinType,0),compoundType:s(n&&n.compoundType,0),transparency:s(n&&n.transparency,0),beginArrowheadStyle:s(n&&n.beginArrowheadStyle,0),beginArrowheadWidth:s(n&&n.beginArrowheadWidth,1),beginArrowheadLength:s(n&&n.beginArrowheadLength,1),endArrowheadStyle:s(n&&n.endArrowheadStyle,0),endArrowheadWidth:s(n&&n.endArrowheadWidth,1),endArrowheadLength:s(n&&n.endArrowheadLength,1)},n=t&&t.textEffect,V.textEffect={color:s(n&&n.color,"background 1"),transparency:s(n&&n.transparency,0),font:s(n&&n.font,"11pt Calibri")},n=t&&t.textFrame,V.textFrame={vAlign:s(n&&n.vAlign,0),hAlign:s(n&&n.hAlign,0),resizeToFitText:s(n&&n.resizeToFitText,!1)}}Object.defineProperty(V,"__esModule",{value:!0}),V.ShapeStyle=void 0,i=n("Common"),e=n("./dist/plugins/shape/shape.interface.js"),n=i.Common.lt,r=n.ht,V.ShapeStyle=o},"./dist/plugins/shape/shapeView.js":function(O,c,t){var V,n,r,T,s,o,a,e,N,h,t,u,i,d,P,x,y,D,f,l,g,A,p,w,U,v,q,k,B,n,j,b,L,Z,t,n,H,m,C,R;function I(t,V,n){t.setColor(n,V.color),z(t,V,n)}function z(t,V,n){var i=V.brightness,e=V.tint,r=V.shade,c=V.satMod;u(i)||(t.Brightness=i),u(e)||(t.TintAndShade=e),u(r)||(t.Shade=r),u(c)||(t.SatMod=V.satMod)}for(L in V=this&&this.__extends||(m=function(t,V){return(m=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}m(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(c,"__esModule",{value:!0}),c.Shape=c.ShapeBase=c.DrawingBase=c.SHAPE_TEXT_OPTIONS_PATH=void 0,n=t("Common"),r=t("Core"),T=t("SheetsCalc"),s=t("./dist/plugins/shape/drawingInterface.js"),o=t("./dist/plugins/shape/shape.interface.js"),a=t("./dist/plugins/shape/shape.js"),e=t("./dist/plugins/shape/ui/util.js"),N=t("./dist/plugins/shape/shapeStyleView.js"),h=t("./dist/plugins/shape/util/viewUtil.js"),t=n.Common.lt,u=t.ht,i=e.Common.isEnumValue,d=s.ShapeUtility.syncShapeAdjustValues,P=s.ShapeUtility.syncShapeOptions,x=s.ShapeUtility.syncShapeLineFormat,y=s.ShapeUtility.syncShapeFillFormat,D=s.ShapeUtility.getLineFormatInfo,f=s.ShapeUtility.getRGBAColor,l=s.ShapeUtility.getColorInfo,g=s.ShapeUtility.getColorData,A=Math.min,p=Math.max,w=void 0,U=e.Common.toRadius,v=r.NodeHelper.ur,q=Math.sin,k=Math.cos,B=["none","normal","lighten","lightenLess","darkenLess","darken"],c.SHAPE_TEXT_OPTIONS_PATH=(n="options.textFormatOptions")+".text",j=n+".fill.color",b={},s.AutoShapeType)s.AutoShapeType.hasOwnProperty(L)&&L!==parseInt(L,10)+""&&(b[s.AutoShapeType[L]]=L);function Q(t){return!t.dynamicMove()&&!t.dynamicSize()}function G(t,V,n,i,e){var r,c,s,o,r=this,c=t.call(r),s=V.call(r);i<=c?r.dynamicMove()&&(o=n.call(r),t.call(r,c+e),V.call(r,s+e),n.call(r,o)):i<s&&r.dynamicSize()&&V.call(r,s+e)}function J(t,V,n,i,e,r){var c,s,o,d,a,h,u,x,d,c=this,s=c.dynamicMove(),o=c.dynamicSize(),d=t.call(c),a=n.call(c),h=i.call(c),u=e+r-1;e<=d?u<d?s&&(t.call(c,d-r),n.call(c,a-r)):u<a?(d=a-d+1-(x=u-d+1),s&&(t.call(c,e),V.call(c,0)),o&&(n.call(c,e+d-1),i.call(c,h))):s&&(t.call(c,e),V.call(c,0)):e<=a&&(u<a?o&&n.call(c,a-r):o&&(n.call(c,e),i.call(c,0)))}function W(t){var V,n,V=parseFloat(t),n;return V="pt"===t.substring(t.length-2)?4*V/3:V}function K(t){var t,V,n,i,e,r,t=Z(t),V=t.fontFamily,n=W(t.fontSize),i=t.fontStyle,e=""!==i&&"normal"!==i;return{name:V,size:n,bold:r=0===(i=t.fontWeight).indexOf("bold")||700<=+i,italic:e}}function M(t,V){return(0,h.getFormula)(t,"options.fill."+V)}function $(t,V){var t,n,n,t=t.ctV;if(t)return(n=(n=t.getService())&&n.calcSource_)&&n.getExpression(t.id,V)}function tt(t,V,n){var V,t,n,i,V,V=$(t,V),t=t.Mf;if((V=V&&8===V.type?(0,e.getExpressionReferencedByNameExpr)(t,V,n):V)&&1===V.type)return n=V.source,i=Math.max(0,V.row),V=Math.max(0,V.column),(0,e.isExternalSource)(n)?n.getValue(i,V):(t=n&&n.getSheet?n.getSheet():t)?(t.nre&&t.nre(),t.getText(i,V)):void 0}function Vt(t,V){var t,V,t=t.Mf,V=(0,T.formulaToExpression)(t,V,void 0,void 0,!1);return(V=V&&8===V.type?(0,e.getExpressionReferencedByNameExpr)(t,V):V)&&1===V.type}function _(){this.uiV=!0,this.xiV=!0,this.FnV=!0,this.SnV=!0,this.yiV=!0,this.fiV=!0,this.liV=!0,this.giV=!0,this.AiV=""}function E(){var t,V,t=C.call(this)||this;return t.ni=!1,(V=t).ytV=new a.ShapeBaseData,V.ttV=5,t}function S(t,V){var t,t;if(t)return t=JSON.stringify(t),t=V?t.replace(/variables\./g,"V."):t.replace(/V\./g,"variables."),JSON.parse(t)}function F(t){return t&&t._error}function nt(t,V,n,i){return t=Number(t),isNaN(t)?i:(t=p(t,V),A(t,n))}function X(t){var V,n,i,e,r,c,V=t.pathFillOptions,n=t.path,i=n.length;if(V)for(e=0;e<i;e++)r=+V[e],isNaN(r)||(c=n[e],0==r?c.strokeMode="false":c.fillMode=B[r-1])}function Y(t,V,n,i,e,r,c){var s,o,d,n,n,s=R.call(this)||this,o=s,d=n;return"object"==typeof n&&(n=S(n,!0),d=-1,o.aiV=!0,X(n),o.hnV=n),n=V&&t.eeV(V)||t.eeV((b[d]||"Shape")+" ",!0),o.Mf=t,o.ytV=new a.ShapeData(t,n,d,i||0,e||0,r||200,c||160),o.RiV=!0,d&&o.tnV(),delete o.RiV,s}Z=r.W.Ne,_.prototype.yh=function(t,V){var n,i,n=this;u(V.anchorType)&&((i=V).from&&i.to?V.anchorType=0:i.from&&i.ext?V.anchorType=1:i.pos&&i.ext&&(V.anchorType=2)),n.EiV(t,V),n.ytV.FromSJSOOModel(t,V),n.FiV(t,V)},_.prototype.wh=function(t,V,n,i){var e,r,e=this,r={};return e.SiV(t,V,n),e.ytV.ToSJSOOModel(r,n),e.XiV(r,t,V,n,!1,i),r},_.prototype.EiV=function(t,V){var n=this;n.YiV(t),n.TiV(n.OiV(t)),n.PiV(V),n.NiV(V)},_.prototype.FiV=function(t,V,n){var i=this;n&&(i.YiV(t),i.TiV(i.OiV(t)))},_.prototype.SiV=function(t,V,n){},_.prototype.XiV=function(t,V,n,i,e,r){var c,s,c=this,s=c.DiV(t);c.qiV(s,V,n,i),c.UiV(s&&c.OiV(s)),e||(c.kiV(t),c.BiV(t))},_.prototype.OiV=function(t){},_.prototype.DiV=function(t){},_.prototype.TiV=function(t){var V,t;t&&(V=this,t=t.descr,u(t)||(V.AiV=(0,a.xmlDecode)(t)))},_.prototype.UiV=function(t){var V,n;t&&(n=(V=this).AiV)&&(t.descr=(0,a.xmlEncode)(n))},_.prototype.YiV=function(t){var V,t,V=this,t=t.lossless;u(t)||(V.czn=t.hAlign,V.fzn=t.vAlign,u(t.allowResize)||(V.yiV=t.allowResize),u(t.allowRotate)||(V.fiV=t.allowRotate),u(t.allowMove)||(V.liV=t.allowMove),u(t.showHandle))||(V.giV=t.showHandle)},_.prototype.qiV=function(t,V,n,i){var e,t,e=t.lossless;e=e||(t.lossless={}),(t=this).liV||(e.allowMove=!1),!0!==t.yiV&&t.yiV!==o.ResizeMode.aspect&&(e.allowResize=t.yiV),t.fiV||(e.allowRotate=!1),t.giV||(e.showHandle=!1)},_.prototype.PiV=function(t){var V,n,t,i,V=this,n=t.anchorType,t=t.editAs,i;switch(u(t)?n:s.ST_EditAs[t]){case s.ST_EditAs.twoCell:V.FnV=!0,V.SnV=!0;break;case s.ST_EditAs.oneCell:V.FnV=!0,V.SnV=!1;break;case s.ST_EditAs.absolute:V.FnV=!1,V.SnV=!1}},_.prototype.kiV=function(t){var V=this;V.FnV&&V.SnV||(V.FnV&&!V.SnV?t.editAs="oneCell":t.editAs="absolute")},_.prototype.NiV=function(t){var V,t,V=this,t=t.clientData;t&&(V.uiV=v(t.fLocksWithSheet,!0),V.xiV=v(t.fPrintsWithSheet,!0))},_.prototype.BiV=function(t){var V=this;t.clientData={},V.uiV||(t.clientData.fLocksWithSheet=a.SJS_False),V.xiV||(t.clientData.fPrintsWithSheet=a.SJS_False)},_.prototype.dispose=function(){},c.DrawingBase=t=_,V(E,C=t),Object.defineProperty(E.prototype,"relativeX",{get:function(){return this.ytV.GVV},set:function(t){this.ytV.GVV=t},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"relativeY",{get:function(){return this.ytV.osV},set:function(t){this.ytV.osV=t},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"relativeWidth",{get:function(){return this.ytV.asV},set:function(t){this.ytV.asV=t},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"relativeHeight",{get:function(){return this.ytV.hsV},set:function(t){this.ytV.hsV=t},enumerable:!1,configurable:!0}),E.prototype.alt=function(t){var V,n,V=this;return(0,h.noArguments)(arguments)?V.AiV:((n=V.AiV)!==t&&(V.DT("alt",t),V.AiV=t,V.usV("alt",t,n),V.enV("alt",n)),this)},E.prototype.isSelected=function(t){var V,n,i,V=this;return(0,h.noArguments)(arguments)?V.ni:((n=V.ni)!==t&&(V.DT("isSelected",t),V.ni=t,V.ctV&&(V.ctV.isSelected=t),(i=V.enV("isSelected",n))||V.ZiV(),V.refresh()),this)},E.prototype.isLocked=function(t){var V,n,V=this;return(0,h.noArguments)(arguments)?V.uiV:(n=V.uiV,V.DT("isLocked",t),V.uiV=t,V.usV("isLocked",t,n),V.enV("isLocked",n),this)},E.prototype.isVisible=function(t){var V,n,V=this;return(0,h.noArguments)(arguments)?V.ytV.Visible:((n=V.ytV.Visible)!==t&&(V.DT("isVisible",t),V.ytV.Visible=t,V.usV("hidden",!t,!n),t||V.isSelected(!1),V.enV("isVisible",n),V.refresh()),this)},E.prototype.HiV=function(){var t=this.ytV;return t.Visible&&!t.Hidden},E.prototype.canPrint=function(t){var V,n,V=this;return(0,h.noArguments)(arguments)?V.xiV:((n=V.xiV)!==t&&(V.DT("canPrint",t),V.xiV=t,V.usV("canPrint",t,n),V.enV("canPrint",n)),this)},E.prototype.dynamicMove=function(t){var V,n,n,V=this;return(0,h.noArguments)(arguments)?V.FnV:(n=V.FnV,V.DT("dynamicMove",t),V.FnV=t,V.usV("dynamicMove",t,n),V.enV("dynamicMove",n),t||(n=V.SnV,V.DT("dynamicSize",!1),V.SnV=!1,V.usV("dynamicSize",!1,n),V.enV("dynamicSize",n)),this)},E.prototype.dynamicSize=function(t){var V,n,V=this;return(0,h.noArguments)(arguments)?V.SnV:(V.FnV&&(n=V.SnV,!0===t&&!0===V.PrV()&&(V.DT("resizeToFitText",!0,!0),V.PrV(!1,!0)),V.DT("dynamicSize",t),V.SnV=t,V.usV("dynamicSize",t,n),V.enV("dynamicSize",n)),this)},E.prototype.allowResize=function(t){var V,n,V=this;return(0,h.noArguments)(arguments)?V.yiV:(n=V.yiV,V.DT("allowResize",t),V.yiV=t,V.ytV.noChangeAspect=t===o.ResizeMode.aspect,V.usV("allowResize",t,n),V.enV("allowResize",n),V.refresh(),this)},E.prototype.allowRotate=function(t){var V,n,V=this;return(0,h.noArguments)(arguments)?V.fiV:(V.vdV()&&(n=V.fiV,V.DT("allowRotate",t),V.fiV=t,V.usV("allowRotate",t,n),V.enV("allowRotate",n),V.refresh()),this)},E.prototype.allowMove=function(t){var V,n,V=this;return(0,h.noArguments)(arguments)?V.liV:(n=V.liV,V.DT("allowMove",t),V.liV=t,V.usV("allowMove",t,n),V.enV("allowMove",n),this)},E.prototype.showHandle=function(t){var V,n,V=this;return(0,h.noArguments)(arguments)?V.giV:(n=V.giV,V.DT("showHandle",t),V.giV=t,V.usV("showHandle",t,n),V.enV("showHandle",n),V.refresh(),this)},E.prototype.name=function(t){var V,n,i,e,V=this,n=V.ytV,i=n.Name;if((0,h.noArguments)(arguments))return i;if(u(t)||""===t)throw new Error((0,s.sR)().Exp_EmptyName);if(i!==t){if((e=V.Mf)&&e.shapes.get(t))throw new Error((0,s.sR)().Exp_DuplicatedName);V.DT("name",t),n.Name=t,V.usV("name",t,i),V.mnV&&V.mnV.TsV(i,t),V.Mf&&V.Mf.csV(i,t),V.enV("name",i)}return this},E.prototype.hyperlink=function(t){var V,n,i,i,e,V=this,n=V.ytV,i=V.ytV.ku;if((0,h.noArguments)(arguments))return i?{url:i.url,tooltip:i.tooltip,isVisited:i.isVisited,linkColor:i.linkColor,visitedLinkColor:i.visitedLinkColor,target:i.target,drawUnderline:i.drawUnderline,command:i.command}:null;i=V.hyperlink(),V.DT("hyperlink",t),e=V.AsV("hyperClick",t),n.ku=t,V.usV("hyperClick",w,w,e),V.ctV&&(V.ctV.hyperlink=n.ku),V.enV("hyperlink",i),V.refresh()},E.prototype.bnV=function(t,V,n,i,e,r){var c,s,i,t,c=this,s=c.ytV;s.left===t&&!i||(i=c.x(),r&&c.DT("x",t),s.left=t,n=!0,c.enV("x",i)),s.top===V&&!e||(t=c.y(),r&&c.DT("y",V),s.top=V,n=!0,c.enV("y",t)),n&&(s.ynV(),s.fnV(),c.hiV())},E.prototype.$l=function(t,V,n,i,e,r,c){var s,o,d,a,i,t,s=this,o=s.ytV,d=s.width(),a=s.height(),i=o.width!==t||i;i&&(r&&s.DT("width",t),o.width=t,n=!0),(t=o.height!==V||e)&&(c&&!0===s.ytV.TrV&&(s.DT("resizeToFitText",!0,!0),s.PrV(!1,!0)),r&&s.DT("height",V),o.height=V,n=!0),i&&s.enV("width",d),t&&s.enV("height",a),n&&(o.fnV(),s.hiV()),s.TrV()},E.prototype.getFormula=function(t){var V=this;return"x"===(t=t.toLowerCase())?(0,h.getFormula)(V,"left")||V.I0:"y"===t?(0,h.getFormula)(V,"top")||V.A0:"width"===t?(0,h.getFormula)(V,"width")||V.YC:"height"===t?(0,h.getFormula)(V,"height")||V.ZC:V.QiV(t)},E.prototype.QiV=function(t){return""},E.prototype.setFormula=function(t,V){var n=this;"x"===(t=t.toLowerCase())?n.x(V):"y"===t?n.y(V):"width"===t?n.width(V):"height"===t?n.height(V):n.ziV(t,V)},E.prototype.ziV=function(t,V){},E.prototype.x=function(t,V){var n=this,i=n.ytV,e=i.left;return(0,h.noArguments)(arguments)?e:((0,h.isFormula)(t)?(n.I0=t,t=(0,h.setFormula)(n,"left",t)):(n.I0&&delete n.I0,(0,h.removeFormula)(n,"left",t)),n.Mf&&n.Mf.parent&&n.Mf.parent.Gie&&(t/=n.Mf.zoom()),n.bnV(t,i.top,V,e!==t,!1,!0),n)},E.prototype.hiV=function(){var t=this;t.anV(),t.GiV(),t.refresh()},E.prototype.GiV=function(){var t=this;t.ctV&&1!==t.ctV.ttV&&!t.snV&&t.Mf.shapeLayers[0].updateConnectionLinesLayout(t.ctV)},E.prototype.y=function(t,V){var n=this,i=n.ytV,e=i.top;return(0,h.noArguments)(arguments)?e:((0,h.isFormula)(t)?(n.A0=t,t=(0,h.setFormula)(n,"top",t)):(n.A0&&delete n.A0,(0,h.removeFormula)(n,"top",t)),n.Mf&&n.Mf.parent&&n.Mf.parent.Gie&&(t/=n.Mf.zoom()),n.bnV(i.left,t,V,!1,e!==t,!0),n)},E.prototype.width=function(t,V){var n=this,i=n.ytV,e=i.width;return(0,h.noArguments)(arguments)?e:((0,h.isFormula)(t)?(n.YC=t,t=(0,h.setFormula)(n,"width",t)):(n.YC&&delete n.YC,(0,h.removeFormula)(n,"width",t)),n.Mf&&n.Mf.parent&&n.Mf.parent.Gie&&(t/=n.Mf.zoom()),n.$l(t,i.height,V,e!==t,!1,!0),n)},E.prototype.height=function(t,V){var n=this,i,e=n.ytV.height;return(0,h.noArguments)(arguments)?e:(this.DrV(t,V,!0),n)},E.prototype.DrV=function(t,V,n){var i=this,e=i.ytV,r=e.height;(0,h.isFormula)(t)?(i.ZC=t,t=(0,h.setFormula)(i,"height",t)):(i.ZC&&delete i.ZC,(0,h.removeFormula)(i,"height",t)),i.Mf&&i.Mf.parent&&i.Mf.parent.Gie&&(t/=i.Mf.zoom()),i.$l(e.width,t,V,!1,r!==t,!0,n)},E.prototype.startRow=function(t){var V=this;return(0,h.noArguments)(arguments)?V.ytV.topAnchorRow:(V.tsV(t),V)},E.prototype.tsV=function(t){var V,n,V=this;V.ytV.topAnchorRow!==t&&(n=V.y(),V.DT("startRow",t),V.ytV.topAnchorRow=t,V.ytV.xnV(),V.ytV.fnV(),V.enV("y",n),V.hiV())},E.prototype.startRowOffset=function(t){var V=this;return(0,h.noArguments)(arguments)?V.ytV.topAnchorRowOffset:(V.VsV(t),V)},E.prototype.VsV=function(t){var V,n,V=this;V.ytV.topAnchorRowOffset!==t&&(n=V.y(),V.DT("startRowOffset",t),V.ytV.topAnchorRowOffset=t,V.ytV.xnV(),V.ytV.fnV(),V.enV("y",n),V.hiV())},E.prototype.startColumn=function(t){var V=this;return(0,h.noArguments)(arguments)?V.ytV.leftAnchorCol:(V.nsV(t),V)},E.prototype.nsV=function(t){var V,n,V=this;V.ytV.leftAnchorCol!==t&&(n=V.x(),V.DT("startColumn",t),V.ytV.leftAnchorCol=t,(0,a.isRightToLeftLayout)(V.Mf)?V.ytV.mtV():(V.ytV.xnV(),V.ytV.fnV()),V.enV("x",n),V.hiV())},E.prototype.startColumnOffset=function(t){var V=this;return(0,h.noArguments)(arguments)?V.ytV.leftAnchorColOffset:(V.isV(t),V)},E.prototype.isV=function(t){var V,n,V=this;V.ytV.leftAnchorColOffset!==t&&(n=V.x(),V.DT("startColumnOffset",t),V.ytV.leftAnchorColOffset=t,(0,a.isRightToLeftLayout)(V.Mf)?V.ytV.mtV():(V.ytV.xnV(),V.ytV.fnV()),V.enV("x",n),V.hiV())},E.prototype.toImageSrc=function(){var t,V,t,V;return this.ctV.LFe().toDataURL("image/png")},E.prototype.toImageSrcAsync=function(){var t;return this.ctV.fsV().then(function(t){return t.toDataURL("image/png")})},E.prototype.endRow=function(t){var V,n,V=this;return(0,h.noArguments)(arguments)?V.ytV.bottomAnchorRow:(V.ytV.bottomAnchorRow!==t&&(n=V.height(),V.DT("endRow",t),V.ytV.bottomAnchorRow=t,V.ytV.mtV(),V.enV("height",n),V.hiV()),V)},E.prototype.endRowOffset=function(t){var V,n,V=this;return(0,h.noArguments)(arguments)?V.ytV.bottomAnchorRowOffset:(V.ytV.bottomAnchorRowOffset!==t&&(n=V.height(),V.DT("endRowOffset",t),V.ytV.bottomAnchorRowOffset=t,V.enV("height",n),V.ytV.mtV(),V.hiV()),V)},E.prototype.endColumn=function(t){var V,n,V=this;return(0,h.noArguments)(arguments)?V.ytV.rightAnchorCol:(V.ytV.rightAnchorCol!==t&&(n=V.width(),V.DT("endColumn",t),V.ytV.rightAnchorCol=t,(0,a.isRightToLeftLayout)(V.Mf)&&V.ytV.xnV(),V.ytV.mtV(),V.enV("width",n),V.hiV()),V)},E.prototype.endColumnOffset=function(t){var V,n,V=this;return(0,h.noArguments)(arguments)?V.ytV.rightAnchorColOffset:(V.ytV.rightAnchorColOffset!==t&&(n=V.width(),V.DT("endColumnOffset",t),V.ytV.rightAnchorColOffset=t,(0,a.isRightToLeftLayout)(V.Mf)&&V.ytV.xnV(),V.ytV.mtV(),V.enV("width",n),V.hiV()),V)},E.prototype.Jli=function(t,V){var n,i,V,i,e,n=this,i=n.ytV;n.yXn||(V&&n.DT("rotate",t),(V=i.Rotation)!==t&&(e=(i=n.Mf).THr({type:"updateShapeTransform",sheet:i,shape:n}),n.ytV.Rotation=t,i.$Dr({type:"updateShapeTransform",sheet:i,shape:n},e),n.ctV.setAngle(t),n.enV("rotate",V),n.GiV(),n.refresh()))},E.prototype.vdV=function(){return!0},E.prototype.resize=function(t,V,n,i){var e,r,c,s,e=this,r=e.Mf.zoom(),c=e.ctV;c.resize(n*r,i*r),c.move(t*r,V*r),(e.I0||e.A0||e.YC||e.ZC)&&(t=c.left/r,V=c.top/r,n=c.width/r,i=c.height/r),e.$l(n,i,s=!0,!1,!1,!0,!0),e.bnV(t,V,!0,!1,!1,!0),e.afterResize()},E.prototype.afterResize=function(){},E.prototype.preProcessShapeDataToJson=function(t,V){var V=(0,h.getFormulaSettingItems)(this.ctV,null,null==V?void 0:V.ignoreFormula,null==V?void 0:V.newWorkSheetName);V&&(t.formulaItems=V)},E.prototype.shapeDataToJson=function(t,V){var n=this,i=n.ytV;5===n.ttV&&(i.czn=n.czn,i.fzn=n.fzn),t.shapeData=n.ytV.ToOOModel(null,V)},E.prototype.postProcessShapeDataToJson=function(t,V,n,i){t.name=this.name(),t.shapeType=this.ttV},E.prototype.processShapePropsToJson=function(t){var V=this;t.isLocked=V.uiV,t.canPrint=V.xiV,t.dynamicMove=V.FnV,t.dynamicSize=V.SnV,t.allowResize=V.yiV,t.allowRotate=V.fiV,t.allowMove=V.liV,t.showHandle=V.giV},E.prototype.YiV=function(t){C.prototype.YiV.call(this,t);var t=t.lossless;t&&t.formulaItems&&(this.JiV=t.formulaItems)},E.prototype.qiV=function(t,V,n,i){var n,t;C.prototype.qiV.call(this,t,V,n,i),n=(n=t.lossless)||(t.lossless={}),(t=(0,h.getFormulaSettingItems)(this.ctV,null,V,i))&&(n.formulaItems=t)},E.prototype.toJSON=function(t){var V,n,V=this,n={};return n.isLocked=V.uiV,n.canPrint=V.xiV,n.dynamicMove=V.FnV,n.dynamicSize=V.SnV,n.allowResize=V.yiV,n.allowRotate=V.fiV,n.allowMove=V.liV,n.showHandle=V.giV,n.alt=V.AiV,V.preProcessShapeDataToJson(n,t),V.shapeDataToJson(n,t),V.postProcessShapeDataToJson(n,!1,w,t),n},E.prototype.preProcessShapeDataFromJson=function(t){var V=this;u(t.isLocked)||(V.uiV=t.isLocked),u(t.canPrint)||(V.xiV=t.canPrint),u(t.dynamicMove)||(V.FnV=t.dynamicMove),u(t.dynamicSize)||(V.SnV=t.dynamicSize),u(t.allowResize)||(V.yiV=t.allowResize),u(t.allowRotate)||(V.fiV=t.allowRotate),u(t.allowMove)||(V.liV=t.allowMove),u(t.showHandle)||(V.giV=t.showHandle),u(t.formulaItems)||(V.JiV=t.formulaItems)},E.prototype.adjustShapeDataFromJson=function(t){},E.prototype.shapeDataFromJson=function(t){var V;this.ytV.FromOOModel(t.shapeData),this.adjustShapeDataFromJson(t)},E.prototype.postProcessShapeDataFromJson=function(t){var V=this;u(t.allowResize)&&(V.yiV=!V.ytV.noChangeAspect||o.ResizeMode.aspect)},E.prototype.FiV=function(t,V,n){var V,n;C.prototype.FiV.call(this,t,V,n),V=this,n=t.lossless&&t.lossless.allowResize,u(n)&&(V.yiV=!V.ytV.noChangeAspect||o.ResizeMode.aspect)},E.prototype.fromJSON=function(t){var V=this;u(t.alt)||(V.AiV=t.alt),V.czn=t.hAlign,V.fzn=t.vAlign,V.preProcessShapeDataFromJson(t),V.shapeDataFromJson(t),V.postProcessShapeDataFromJson(t)},E.prototype.formulaFromJSON=function(t,V){var n=this;n.unV(n.JiV)},E.prototype.afterRefSheetLazyLoaded=function(){},E.prototype.WiV=function(t){return null},E.prototype.Gf=function(t){var V,n,V,V=this;if(t=t||V.Mf,n=JSON.stringify(V.toJSON({isClone:!0})),V=V.WiV(t))return t.LtV=[],V.fromJSON(JSON.parse(n)),delete t.LtV,V.tnV(),V.formulaFromJSON(),V.leV(),V.ytV.assignId(),V.ctV&&t.shapeLayers[0].removeShape(V.ctV),V},E.prototype.leV=function(){},E.prototype.JO=function(t,V){var n=this;n.A0||n.ZC||(G.call(n,n.startRow,n.endRow,n.endRowOffset,t,V),n.lnV(),n.anV())},E.prototype.xP=function(t,V){var n=this;n.getFormula("y")||n.getFormula("height")||(n.esV(),Q(n)?n.zrt():(J.call(n,n.startRow,n.startRowOffset,n.endRow,n.endRowOffset,t,V),n.lnV(),n.anV()))},E.prototype.qO=function(t,V){var n=this;n.I0||n.YC||(G.call(n,n.startColumn,n.endColumn,n.endColumnOffset,t,V),n.lnV(),n.anV())},E.prototype.NP=function(t,V){var n=this;n.getFormula("x")||n.getFormula("width")||(n.esV(),Q(n)?n.zrt():(J.call(n,n.startColumn,n.startColumnOffset,n.endColumn,n.endColumnOffset,t,V),n.lnV(),n.anV()))},E.prototype.lnV=function(){},E.prototype.urV=function(){var t,V,t=this,V=t.n0V(!1,!1);(0,e.isImageSparkLineValue)(V.src)&&t.ctV&&t.ctV.xrV()},E.prototype.sdV=function(){var t,t,V,t=this.ctV;t&&(t=t.options,V=this.ytV,y(t,V),x(t,V),t.textFormatOptions.fill.color=f(V.ShapeStyle.Font),t.textFormatOptions.font=s.ShapeUtility.getFontFromShapeData(V))},E.prototype.anV=function(t){var V,n,i,V=this;V.onV||(n=V.Mf.zoom(),(i=V.ctV)&&(1===i.ttV?i.setPoints(V.KVV(!0),n):(i.resize(V.width()*n,V.height()*n),i.move(V.x()*n,V.y()*n))),V.KiV(t))},E.prototype.KiV=function(t){},E.prototype.gnV=function(){var t,V,n,n,t=this,V=t.ctV,n=t.Mf;V&&n&&(n=n.zoom(),t.ytV.xnV(),t.ytV.mtV(),V.OtV=n,V.TtV=1!==n)},E.prototype.ZiV=function(){var t,V,t,t=this,V=t.Mf;V&&(t={sheet:V,sheetName:V.name(),shape:t},V.ki(r.Events.ShapeSelectionChanged,t))},E.prototype.enV=function(t,V){var n,i,e,e,n=this;if(!n.VnV&&(i=n.Mf)){if(e={sheet:i,sheetName:i.name(),shape:n,propertyName:t,stopThisFire:!1},E.et(n,"fireEvents",e),e.stopThisFire)return!1;e={sheet:i,sheetName:i.name(),shape:n,propertyName:t,oldValue:V},i.ki(r.Events.ShapeChanged,e)}},E.prototype.ZnV=function(t,V){var n,i,e,n=this,i=n.Mf;(V||n.RiV)&&(e=i.Ut).aeV(t)},E.prototype.DT=function(t,V,n){var i,e,e,r,c,i=this,e=i.Mf;!e||i.vnV||i.RiV||(e=e.Ut).G8&&(r=void 0,c=t,n===w&&(n=i[c]()),r=V!==w?{type:t,value:V,oldValue:n}:{name:c,value:i[c](),oldValue:n},e.ueV(i,r))},E.prototype.getId=function(){return this.ytV.jKe()},E.prototype.AsV=function(t,V){var n=this.Mf.shapes.get(this.ytV.Name);if(n)return this.Mf.THr({type:"updateShapeProp",shape:n,propName:t,value:V})},E.prototype.usV=function(t,V,n,i){var e=this.Mf.shapes.get(this.ytV.Name);e&&(u(n)||V!==n)&&(i?this.Mf.$Dr({type:"updateShapeProp",shape:e,propName:t,value:V},i):this.Mf.$Dr({type:"updateShapeProp",shape:e,propName:t,value:V,oldValue:n}))},E.prototype.AP=function(t,V){var n,i,V,t,e,r;t&&(i=t.type||t.name,V=V?t.value:t.oldValue,t=t.type,r=["startRow","startRowOffset","startColumn","startColumnOffset","endRow","endRowOffset","endColumn","endColumnOffset"],(n=this)[i]&&-1<(e="x|y|width|height|").indexOf(i+"|")?(n.ttV===s.CT_ShapeType.CT_GroupShape&&(n.$iV=!0),n[i](V),n.ttV===s.CT_ShapeType.CT_GroupShape&&delete n.$iV,n.zrt()):n[i]&&0<=r.indexOf(i)?(n.ttV===s.CT_ShapeType.CT_GroupShape&&(n.$iV=!0),n[i](V),n.ttV===s.CT_ShapeType.CT_GroupShape&&delete n.$iV,n.ytV.xnV(),n.ytV.mtV()):n[i]?n[i](V):n.t0V(t,V))},E.prototype.esV=function(){var t=this,V=t.ytV;t.DT("endRow",V.bottomAnchorRow),t.DT("endRowOffset",V.bottomAnchorRowOffset),t.DT("endColumn",V.rightAnchorCol),t.DT("endColumnOffset",V.rightAnchorColOffset),t.DT("startRow",V.topAnchorRow),t.DT("startRowOffset",V.topAnchorRowOffset),t.DT("startColumn",V.leftAnchorCol),t.DT("startColumnOffset",V.leftAnchorColOffset)},E.prototype.zrt=function(){var t=this.ytV;t.ynV(),t.fnV()},E.prototype.t0V=function(t,V){var n;"resizeToFitText"===t&&this.PrV(V)},E.prototype.refresh=function(t){var V,n,t,V=this.Mf;!this.onV&&V&&(n=this.ctV,t&&n?(t=n.getRenderBound(),V.cnV(new r.Rect(t.left,t.top,t.width,t.height))):V.cnV())},E.prototype.zrV=function(t){var V,n,i,t,e,V,r,c,V=this,n=U(V.ytV.L0t),i=q(n)*t/2,t=k(n)*t/2,e={x:V.x()+V.width()/2,y:V.y()+V.height()/2},V=(0,h.rotatePoint)({x:V.x(),y:V.y()},e,n),r,c;return(0,h.rotatePoint)(V,{x:e.x-i,y:e.y+t},-n)},E.prototype.TrV=function(){var t,V,n,i,n,V,V,t=this,V=t.ctV;t.ctV&&t.ctV.options&&t.ctV.options.textFormatOptions&&t.ctV.options.textFormatOptions.resizeToFitText&&(n=V.getShapeFitTextSize())&&(i=n.height,n=n.width,V.TtV&&(i/=V.OtV,n/=V.OtV),i===t.height()&&n===t.width()||(V=i-t.height(),V=t.zrV(V),t.$l(n,i,void 0,void 0,void 0,!0),t.bnV(V.x,V.y)))},E.prototype.getShapePoints=function(){var t=this,V=t.ctV;if(V&&4!==t.ttV)return V.V0V()},E.prototype.VeV=function(t){var V=this;if((0,h.noArguments)(arguments))return V.n0V(!0,!1);this.neV(t)},E.prototype.neV=function(t,V){var n,i,e;void 0===V&&(V=!0),n=this,u(t)||(i=n.AsV("fill",n.ytV.Fill),(0,h.adjustTransparentColor)(t),e=n.i0V(t),V&&(t=n.e0V(t)),(n.ytV.Fill.Type=e)===s.FillType.Solid?n.c0V(t):e===s.FillType.Gradient?n.r0V(t):e===s.FillType.Picture&&this.d0V(t),n.usV("fill",n.ytV.Fill,void 0,i),y(n.ctV.options,n.ytV))},E.prototype.i0V=function(t){var t,V,t=t,V=s.FillType.Solid;return u(t.stops)?u(t.src)||(V=s.FillType.Picture):V=s.FillType.Gradient,V},E.prototype.e0V=function(i){var e,r,c,s,t,n,t;return i=(0,h.simpleCloneObject)(i),r=!1,(e=this).S0t=i,c=e.ctV,s=c&&c.getService(),n=function(t,V,n){var n="options.fill.stops.".concat(n,".").concat(V);(0,h.isFormula)(t[V])?(r=!0,(0,h.setFormula)(e,n,t[V]),s&&(s.setValue(c.id,"options.fill.stops.isArray",!0),t[V]=s.getValue(c.id,n))):(0,h.removeFormula)(e,n,i[V],!0)},(t=function(t){var V="options.fill."+t;(0,h.isFormula)(i[t])?(r=!0,(0,h.setFormula)(e,V,i[t]),s&&(i[t]=s.getValue(c.id,V))):(0,h.removeFormula)(e,V,i[t],!0)})("type"),t("color"),t("transparency"),t("direction"),t("angle"),t("src"),t("tilePictureAsTexture"),t("offsetLeft"),t("offsetRight"),t("offsetTop"),t("offsetBottom"),t("offsetX"),t("offsetY"),t("scaleX"),t("scaleY"),t("alignment"),t("mirrorType"),t=i.stops,Array.isArray(t)&&t.forEach(function(t,V){n(t,"position",V),n(t,"color",V),n(t,"transparency",V),n(t,"brightness",V)}),r||delete e.S0t,i},E.prototype.nrV=function(t,V){var n,i,e,n=this,i=s.ShapeUtility.getFillType(n.ytV.Fill),e=n.n0V(!1,!1);(0,h.updateOptionItemByPath)(e,t,V),i===s.FillType.Solid?n.c0V(e):i===s.FillType.Gradient?n.r0V(e):i===s.FillType.Picture&&n.d0V(e),y(n.ctV.options,n.ytV)},E.prototype.n0V=function(t,V){var n,i,e,n=this,i=s.ShapeUtility.getFillType(n.ytV.Fill);return i===s.FillType.Solid?e=n.hdV(t,V):i===s.FillType.Gradient?e=n.udV(t,V):i===s.FillType.Picture&&(e=n.xdV(t)),e},E.prototype.hdV=function(t,V){var n,i,n=this,i=s.ShapeUtility.getFillFormatInfo(n.ytV).solid;return V&&Object.assign(i,g(n.ytV.Fill)),t&&n.S0t&&(i.type=M(n,"type")||i.type,i.color=M(n,"color")||i.color,i.transparency=M(n,"transparency")||i.transparency),i},E.prototype.udV=function(t,V){var n,i,e,n=this,i=s.ShapeUtility.getFillFormatInfo(n.ytV).gradient;return V&&(e=n.ytV.Fill.GradientStops,i.stops.forEach(function(t,V){Object.assign(t,g(e.Item(V)))})),t&&n.S0t&&(i.type=M(n,"type")||i.type,i.angle=M(n,"angle")||i.angle,i.direction=M(n,"direction")||i.direction,i.stops.forEach(function(t,V){t.color=M(n,"stops.".concat(V,".color"))||t.color,t.position=M(n,"stops.".concat(V,".position"))||t.position,t.transparency=M(n,"stops.".concat(V,".transparency"))||t.transparency,t.brightness=M(n,"stops.".concat(V,".brightness"))||t.brightness})),i},E.prototype.xdV=function(V){var n,i,t,e,n=this,i=s.ShapeUtility.getFillFormatInfo(n.ytV).picture,t=["src","transparency","tilePictureAsTexture"];return i.tilePictureAsTexture?t.push("offsetX","offsetY","scaleX","scaleY","alignment","mirrorType"):t.push("offsetLeft","offsetRight","offsetTop","offsetBottom"),e={},t.forEach(function(t){e[t]=i[t],V&&n.S0t&&(e[t]=M(n,t)||e[t])}),e},E.prototype.r0V=function(t){var V=this;u(t.type)||V.a0V(t.type),V.s0V(t.direction),u(t.angle)||V.h0V(t.angle),u(t.stops)||V.u0V(t.stops)},E.prototype.a0V=function(t){var V=this.ytV.Fill;t===s.GradientFillType.linear?(V.u0t=!0,V.Bft=w,this.s0V(w)):t===s.GradientFillType.radial&&(V.u0t=!1,V.Bft=s.ST_PathShadeType.circle)},E.prototype.h0V=function(t){var V,t,n,V=this.ytV.Fill,t=Number(t),n=s.ShapeUtility.getGradientFillType(V);isNaN(t)||n!==s.GradientFillType.linear||V.Rft||((t%=360)<0&&(t+=360),V.GradientAngle=t)},E.prototype.s0V=function(t){var V,n;t=Number(t),V=this.ytV.Fill,(n=s.ShapeUtility.getGradientFillType(V))===s.GradientFillType.radial?i(s.RadialGradientFillDirection,t)&&(t===s.RadialGradientFillDirection.fromCenter?(V.e0t(s.GradientStyle.GradientFromCenter),V.i0t(w)):(V.e0t(s.GradientStyle.GradientFromCorner),V.i0t(t)),V.Rft=!0):n===s.GradientFillType.linear&&(i(s.LinearGradientFillDirection,t)?(V.GradientAngle=t,V.Rft=!0):(V.Rft=!1,V.e0t(w),V.i0t(w)))},E.prototype.u0V=function(t){var V,n,i,e;if(Array.isArray(t)&&!(t.length<2)){for((n=(V=this).ytV.Fill.GradientStops).a1t=[],i=0;i<t.length;i++)e=t[i],n.Insert(0,0,0,-1,0),u(e)||(u(e.position)||V.x0V(i,e.position),u(e.color)||V.y0V(i,e),u(e.transparency))||V.f0V(i,e.transparency);V.ytV.Fill.n0t(n)}},E.prototype.x0V=function(t,V){var n,i,n,i=this.ytV.Fill.GradientStops;t<0||t>=i.Count||(i.Item(t).Position=Number(V))},E.prototype.y0V=function(t,V){var n,i,e,n=this,i=n.ytV.Fill.GradientStops;t<0||t>=i.Count||I(e=i.Item(t).Color,V,n.Mf)},E.prototype.f0V=function(t,V){var n,i,n,i=this.ytV.Fill.GradientStops;t<0||t>=i.Count||u(V)||(i.Item(t).Color.Transparency=Number(V))},E.prototype.l0V=function(t,V){var n,i,n,i=this.ytV.Fill.GradientStops;t<0||t>=i.Count||u(V)||(i.Item(t).Color.Brightness=Number(V))},E.prototype.c0V=function(t){var V,n,i,i,V=this,n=t.type,i=t.color;u(n)?u(i)||(""===i?this.g0V():this.A0V(t)):n===o.ShapeFillType.none?this.g0V():this.A0V(t),i=t.transparency,u(i)||V.w0V(i)},E.prototype.A0V=function(t){var V=this;I(V.ytV.Fill.Color,t,V.Mf)},E.prototype.g0V=function(){this.ytV.Fill.Color.ColorType=0},E.prototype.w0V=function(t){t=parseFloat(t),t=A(1,t),t=p(0,t),this.ytV.Fill.Transparency=t},E.prototype.d0V=function(t){var V,n,i,e,V=this,n,i=V.ytV.Fill.PictureFormat,e=t.tilePictureAsTexture?s.PictureFormatType.TextureFill:s.PictureFormatType.PictureFill;i.PictureFormatType=e,V.irV(t.src),i.Transparency=Number(t.transparency)||0,e===s.PictureFormatType.TextureFill?V.p0V(t):V.v0V(t)},E.prototype.irV=function(t){var V,n,i,V,n,i=this.ytV.Fill.PictureFormat;i.PicSrc=t,e.Common.isBase64ImageStr(t)?i.PicFill=t:((0,e.isSparkLineValue)(t)||(i.PicSrc=""),i.PicFill=w)},E.prototype.v0V=function(t){var V,n,i,e,t,V=this.ytV.Fill.PictureFormat,n=Number(t.offsetLeft)||0,i=Number(t.offsetRight)||0,e=Number(t.offsetTop)||0,t=Number(t.offsetBottom)||0;V.Stretch={left:n,right:i,top:e,bottom:t}},E.prototype.p0V=function(t){var V,n,i,e,r,c,t,V=this.ytV.Fill.PictureFormat,n=Number(t.offsetX)||0,i=Number(t.offsetY)||0,e=Number(t.alignment)||0,r=Number(t.mirrorType)||0,c=nt(t.scaleX,0,1,1),t=nt(t.scaleY,0,1,1);V.Tile={offsetX:n,offsetY:i,scaleX:c,scaleY:t,alignment:e,mirrorType:r}},E.prototype.L0V=function(t){var V=this;if((0,h.noArguments)(arguments))return V.j0V();t&&((0,h.adjustTransparentColor)(t),V.j0V(t))},E.prototype.j0V=function(t){var V,n,i,e,r,c,s,o,d,V=this,n=V.ytV.Line;if((0,h.noArguments)(arguments))return V.ydV(!0,!1);if("object"==typeof t){for(r in t=(0,h.simpleCloneObject)(t),e=V.AsV("line",V.ytV.Line),V.Tin=t)c=t[r],s="options.stroke._"+r,(o=(0,h.isFormula)(c))&&!i&&(i=!0),t[r]=(0,h.updateOptionsItem)(V,s,c,o);i||delete V.Tin,F(t.color)||(""===t.color||null===t.color?n.Color.ColorType=0:I(n.Color,t,V.Mf)),u(t.lineStyle)||F(t.lineStyle)||(n.DashStyle=t.lineStyle),u(t.width)||F(t.width)||(n.Weight=t.width),u(t.capType)||F(t.capType)||(n.CapStyle=t.capType),u(t.joinType)||F(t.joinType)||(n.JoinStyle=t.joinType),u(t.compoundType)||F(t.compoundType)||(n.Style=t.compoundType),d=t.transparency,isNaN(d)||(d=A(1,d),d=p(0,d),n.Transparency=d),V.usV("line",V.ytV.Line,void 0,e),x(V.ctV.options,V.ytV)}},E.prototype.ydV=function(t,V){var n,i,e,n=this,i=n.ytV.Line,e=D(i);return V&&Object.assign(e,g(i)),n.Tin&&t&&(e.color=(0,h.getFormula)(n,"options.stroke._color")||e.color,e.lineStyle=(0,h.getFormula)(n,"options.stroke._lineStyle")||e.lineStyle,e.width=(0,h.getFormula)(n,"options.stroke._width")||e.width,e.capType=(0,h.getFormula)(n,"options.stroke._capType")||e.capType,e.joinType=(0,h.getFormula)(n,"options.stroke._joinType")||e.joinType,e.compoundType=(0,h.getFormula)(n,"options.stroke._compoundType")||e.compoundType,e.transparency=(0,h.getFormula)(n,"options.stroke._transparency")||e.transparency),e},E.prototype.b0V=function(t){var V,n,i,i,i,V=this;if((0,h.noArguments)(arguments))return V.fdV(!0,!1);t&&(n=V.AsV("text"),i=t.color,u(i)||(V.ldV(i),z(V.ytV.ShapeStyle.Font.Color,t,V.Mf)),i=t.transparency,u(i)||V.C0V(i),i=t.font,u(i)||V.R0V(i),V.usV("text",w,w,n))},E.prototype.fdV=function(t,V){var n,t,n=this,t={color:n.gdV(t),transparency:n.C0V(),font:n.R0V()};return V&&Object.assign(t,g(n.ytV.I0i.Font)),t},E.prototype.ldV=function(t){var V,n,i,V=this;if((0,h.noArguments)(arguments))return V.gdV(!0);n=j,(0,h.isFormula)(t)?(V.viV=t,i=!0):(V.viV&&delete V.viV,(0,h.removeFormula)(V,n,t)),F(t=(0,h.updateOptionsItem)(V,n,t,i))||(V.adV(t),V.ctV.options.textFormatOptions.fill.color=f(V.ytV.ShapeStyle.Font))},E.prototype.gdV=function(t){var V=this;return t&&V.viV?(0,h.getFormula)(V,j):l(V.ytV.I0i.Font).color},E.prototype.adV=function(t){var V=this;""===t||null===t?V.ytV.ShapeStyle.Font.Color.ColorType=0:V.ytV.ShapeStyle.Font.Color.setColor(V.Mf,t)},E.prototype.C0V=function(t){var V,n,i,e,V=this,n="options.textFormatOptions.fill.transparency";if((0,h.noArguments)(arguments)||"boolean"==typeof t)return!t&&V.LiV?(0,h.getFormula)(V,n):(i=l(V.ytV.ShapeStyle.Font).transparency,Math.round(100*i)/100);(0,h.isFormula)(t)?(V.LiV=t,e=!0):(V.LiV&&delete V.LiV,(0,h.removeFormula)(V,n,t)),t=parseFloat((0,h.updateOptionsItem)(V,n,t,e)),isNaN(t)||(t=V.KnV(t),V.ctV.options.textFormatOptions.fill.transparency=t)},E.prototype.KnV=function(t){return t=A(1,t),t=p(0,t),this.ytV.ShapeStyle.Font.Color.Transparency=t},E.prototype.R0V=function(t){var V,n,i,e,V=this,n="options.textFormatOptions.font";if((0,h.noArguments)(arguments)||"boolean"==typeof t)return!t&&V.jiV?(0,h.getFormula)(V,n):(V._font=s.ShapeUtility.getFontFromShapeData(V.ytV),V._font);(0,h.isFormula)(t)?(V.jiV=t,i=!0):(V.jiV&&delete V.jiV,(0,h.removeFormula)(V,n,t)),(t=(0,h.updateOptionsItem)(V,n,t,i))&&!F(t)&&(e=V.JnV(t))&&(V.ctV.options.textFormatOptions.font=t,V._font=t)},E.prototype.JnV=function(t){var t,V,t=K(t),V=t.name;return!!V&&(this.ytV.I0i.TextBody.updateFont(V,t.size,t.bold,t.italic),!0)},E.prototype.I0V=function(t){var V,n,n,n,V=this;if((0,h.noArguments)(arguments))return V.AdV();t&&(n=t.vAlign,u(n)||V.M0V(n),n=t.hAlign,u(n)||V._0V(n),n=t.resizeToFitText,u(n)||V.PrV(n))},E.prototype.AdV=function(){var t=this;return{vAlign:t.M0V(),hAlign:t._0V(),resizeToFitText:t.PrV()}},E.prototype.M0V=function(t){var V,n,i,n,V=this,n="options.textFormatOptions.verticalAlignment";if((0,h.noArguments)(arguments)||"boolean"==typeof t)return!t&&V.miV?(0,h.getFormula)(V,n):V.ctV.options.textFormatOptions.verticalAlignment;(0,h.isFormula)(t)?(V.miV=t,i=!0):(V.miV&&delete V.miV,(0,h.removeFormula)(V,n,t)),F(t=(0,h.updateOptionsItem)(V,n,t,i))||(n=V.AsV("text"),V.ctV.options.textFormatOptions.verticalAlignment=t,V.ytV.fzn=t,V.teV(t),V.usV("text",w,w,n))},E.prototype.teV=function(t){this.fzn=t},E.prototype._0V=function(t){var V,n,i,n,V=this,n="options.textFormatOptions.horizontalAlignment";if((0,h.noArguments)(arguments)||"boolean"==typeof t)return!t&&V.biV?(0,h.getFormula)(V,n):V.ctV.options.textFormatOptions.horizontalAlignment;(0,h.isFormula)(t)?(V.biV=t,i=!0):(V.biV&&delete V.biV,(0,h.removeFormula)(V,n,t)),F(t=(0,h.updateOptionsItem)(V,n,t,i))||(n=V.AsV("text"),V.ctV.options.textFormatOptions.horizontalAlignment=t,V.ytV.czn=t,V.$nV(t),V.usV("text",w,w,n))},E.prototype.$nV=function(t){this.czn=t},E.prototype.PrV=function(t,V){var n,i,e,n,i,n,i,e=this,n="options.textFormatOptions.resizeToFitText";if((0,h.noArguments)(arguments))return!t&&e.NrV?(0,h.getFormula)(e,n):e.ytV.TrV;(0,h.isFormula)(t)?(e.NrV=t,i=!0):(e.NrV&&delete e.NrV,(0,h.removeFormula)(e,n,t)),F(t=(0,h.updateOptionsItem)(e,n,t,i))||((n=null==(i=null==(n=e.ctV)?void 0:n.options)?void 0:i.textFormatOptions)&&(n.resizeToFitText=t),i=e.ytV.TrV,e.ytV.TrV=t,e.usV("resizeToFitText",t,i))},E.prototype.E0V=function(e){var r,c,r=this,c="options.textFormatOptions.margins.";["left","right","top","bottom"].forEach(function(t){var V,n,i,V=e&&e[t];u(V)||(n=c+t,(0,h.isFormula)(V)?i=!0:(0,h.removeFormula)(r,n,V),"number"!=typeof(V=+(V=(0,h.updateOptionsItem)(r,n,V,i))))||isNaN(V)||(r.ctV.options.textFormatOptions.margins[t]=V,r.ytV.I0i.TextBody.Inset[t]=V)})},E.prototype.ndV=function(t,V){var n,i,e;void 0===V&&(V=!0),i=(0,h.getShapeAdjustments)(n=this),e=s.ShapeUtility.convertToExcelAdjustValues(n.ytV.AdjustValues),n.DT("adjustments",t),n.ytV.edV(t,V),d(n.ctV,n.ytV),n.usV("adjustments",s.ShapeUtility.convertToExcelAdjustValues(n.ytV.AdjustValues),e),n.enV("adjustments",i),n.refresh()},E.prototype.tnV=function(t,V){},E.prototype.unV=function(t,V){var n=this;t&&(V&&(n.VnV=!0),n.siV=!0,t.left&&n.x(t.left),t.top&&n.y(t.top),t.width&&n.width(t.width),t.height&&n.height(t.height),n.rsV(t),delete n.siV,V)&&delete n.VnV},E.prototype.rsV=function(t){},E.prototype.dispose=function(){var t=this;t.ctV&&t.ctV.dispose(),C.prototype.dispose.call(this)},c.ShapeBase=n=E,(0,r.$e)(n),V(Y,R=n),Y.prototype.type=function(t){var V,n,i,e,V=this,n=V.ytV,i=n.AutoShapeType;if((0,h.noArguments)(arguments))return i;t!==i&&(V.DT("type",t),e=V.AsV("presetGeometry"),n.AutoShapeType=t,V.usV("presetGeometry",w,w,e),V.enV("type",i),t&&V.tnV(),V.GiV(),V.TrV(),V.refresh())},Y.prototype.QiV=function(t){var V=this;return"rotate"===t?(0,h.getFormula)(V,"angle"):"text"===t?(0,h.getFormula)(V,c.SHAPE_TEXT_OPTIONS_PATH):"style"===t.substr(0,5)?(0,h.getStyleFormula)(V,t):""},Y.prototype.ziV=function(t,V){var n=this;"rotate"===t?n.rotate(V):"text"===t?n.text(V):"style"===t.substr(0,5)&&(0,h.setStyleFormula)(n,t,V)},Y.prototype.rotate=function(t){var V=this;if((0,h.noArguments)(arguments))return V.ytV.Rotation;(0,h.rotateImp)(V,t)},Y.prototype.text=function(t){var V,n,i,e,n,r,V=this;if((0,h.noArguments)(arguments))return V.ytV.I0i.Text;n=c.SHAPE_TEXT_OPTIONS_PATH,i=V.ytV.I0i,(e=!1,h.isFormula)(t)?(V._text=t,e=Vt(V,t)):(V._text&&delete V._text,(0,h.removeFormula)(V,n,t)),F(t=(0,h.updateOptionsItem)(V,n,t,!0))&&(t=t.toString()),n=V.text(),r=V.AsV("text"),V.DT("text",t,n),V.O0V(t,e),V.ctV.options.textFormatOptions.text=i.Text,V.usV("text",w,w,r),V.enV("text",n),V.TrV(),V.refresh()},Y.prototype.isTextBox=function(t){var V,n,V=this;if((0,h.noArguments)(arguments))return V.ytV.IsTextBox;n=V.ytV.IsTextBox,V.ytV.IsTextBox=t,V.usV("isTextBox",t,n)},Y.prototype.O0V=function(t,V){var n,i,n=this,i=n.ytV.I0i;V?(i.SetTextLinkInternal(),n.P0V(!0)):i.Text=t},Y.prototype.GnV=function(t){var V,n,V=this,n=V.ytV.I0i;n.HasTextLink()?V.P0V():n.Text=t,V.TrV()},Y.prototype.P0V=function(t){var V,t,V=this,t=tt(V,c.SHAPE_TEXT_OPTIONS_PATH,t);u(t)||V.ytV.I0i.UpdateTextLinkElementText(t),V.ctV&&(V.ctV.options.textFormatOptions.text=V.ytV.I0i.Text)},Y.prototype.rsV=function(t){var V=this;t&&(t.angle&&V.rotate(t.angle),t.line&&V.j0V(t.line),t.fill&&V.VeV(t.fill),t.text&&V.text(t.text),t.textColor&&V.ldV(t.textColor),t.textTransparency&&V.C0V(t.textTransparency),t.font&&V.R0V(t.font),t.vAlign&&V.M0V(t.vAlign),t.hAlign&&V._0V(t.hAlign),t.textMargins)&&V.E0V(t.textMargins)},Y.prototype.N0V=function(){var t,V,n,V,t=this,V=t.ytV,n=V.HeV,V=V.I0i;n&&V.HasTextLink()&&((0,h.updateOptionsItem)(t,c.SHAPE_TEXT_OPTIONS_PATH,"="+n,!1),t.P0V(!0))},Y.prototype.tnV=function(){var t,V,n,i,e,V,r,c,s,s,e,n,r,t=this,V=t.Mf,n=V.zoom();t.VnV=!0,e=(i=t.ytV).AutoShapeType,V=V.shapeLayers[0],(r=t.aiV)?(c=(0,h.simpleCloneObject)(t.hnV),isNaN(i.left)||!u(c.left)&&isNaN(+c.left)||(c.left=i.left*n),isNaN(i.top)||!u(c.top)&&isNaN(+c.top)||(c.top=i.top*n),isNaN(i.width)||!u(c.width)&&isNaN(+c.width)||(c.width=i.width*n),isNaN(i.height)||!u(c.height)&&isNaN(+c.height)||(c.height=i.height*n),!isNaN(i.Rotation)&&u(c.angle)&&(c.angle=i.Rotation),s=c.left,(0,h.isFormula)(s)&&(t.I0=s),s=c.top,(0,h.isFormula)(s)&&(t.A0=s),s=c.height,(0,h.isFormula)(s)&&(t.ZC=s),s=c.width,(0,h.isFormula)(s)&&(t.YC=s),s=c.angle,(0,h.isFormula)(s)&&(t.yXn=s)):(c=(0,h.getBuiltInShapeModelWhenInit)(i,e,n)).options={textFormatOptions:{text:t.text()||t.name()}},s=(0,h.removeOldShapeUIWhenInitShapeUI)(t,V),P(c,i,V,r),e=c.options,t._font=e.textFormatOptions.font,(n=t.czn=i.czn)&&(e.textFormatOptions.horizontalAlignment=n),(n=t.fzn=i.fzn)&&(e.textFormatOptions.verticalAlignment=n),r=V.createShape(c),d(r,i),r.getShapeCenter(),r.hyperlink=i.ku,this.ZnV(r.id),i.ltV&&(t.flipX=!0),i.gtV&&(t.flipY=!0),(0,h.addNewShapeUIWhenInitShapeUI)(t,r,V,s),delete t.VnV},Y.prototype.preProcessShapeDataFromJson=function(t){var V,t,V=this;R.prototype.preProcessShapeDataFromJson.apply(V,arguments),t.custom&&(t=S(t.modelData,!0),V.aiV=!0,X(V.hnV=t))},Y.prototype.YiV=function(t){var t,V,n;R.prototype.YiV.call(this,t),(t=t.lossless)&&(V=this,t.custom?(n=S(t.modelData,!0),V.aiV=!0,X(V.hnV=n)):t.formulaItems&&(V.JiV=t.formulaItems))},Y.prototype.qiV=function(t,V,n,i){var e,t,n,n;R.prototype.qiV.call(this,t,V,n,i),e=(e=t.lossless)||(t.lossless={}),(t=this).aiV?(e.custom=!0,n=(0,h.syncCustomShapeModel)(t,!n&&V,i),e.modelData=S(n,!1),delete e.modelData.id):(n=(0,h.getFormulaSettingItems)(t.ctV,null,V,i))&&(e.formulaItems=n)},Y.prototype.OiV=function(t){return t.nvSpPr.cNvPr},Y.prototype.DiV=function(t){return t.sp},Y.prototype.formulaFromJSON=function(t,V){R.prototype.formulaFromJSON.call(this,t,V);var V=this;V.D0V=t,V.ytV.FormulaFrom(),V.N0V(),delete V.D0V},Y.prototype.preProcessShapeDataToJson=function(t,V){var n,i,i;R.prototype.preProcessShapeDataToJson.call(this,t,V),(n=this).czn&&(t.hAlign=n.czn),n.fzn&&(t.vAlign=n.fzn),n.aiV&&(t.custom=!0,i=null==V?void 0:V.ignoreFormula,null!=V&&V.isPrint&&(i=!1),i=(0,h.syncCustomShapeModel)(n,i,null==V?void 0:V.newWorkSheetName),t.modelData=S(i,!1),delete t.modelData.id,delete t.formulaItems),n.q0V()},Y.prototype.SiV=function(t,V,n){R.prototype.SiV.call(this,t,V,n),this.q0V()},Y.prototype.q0V=function(){var t,V,t,t=this,V=t.ytV,t=t.getFormula("text");t&&V.I0i.HasTextLink()&&("="===t[0]&&(t=t.substring(1)),V.HeV=t)},Y.prototype.postProcessShapeDataToJson=function(t,V,n,i){R.prototype.postProcessShapeDataToJson.call(this,t,V,n,i),(0,h.processShapeEmptyBlipBlobWhenToJson)(this,V?t:t.shapeData.sp)},Y.prototype.XiV=function(t,V,n,i,e){R.prototype.XiV.call(this,t,V,n,i,e),(0,h.processShapeEmptyBlipBlobWhenToJson)(this,t.sp)},Y.prototype.adjustments=function(t){var V=this;if((0,h.noArguments)(arguments))return(0,h.getShapeAdjustments)(V);V.ndV((0,h.convertArrayValueToAdjustmentValue)(V.ytV,t))},Y.prototype.style=function(t){var V,n,V,n=this;if((0,h.noArguments)(arguments))return n.getStyle(!0,!1);!0===(null==(V=t.textFrame)?void 0:V.resizeToFitText)&&!0===n.SnV&&n.dynamicSize(!1),V=n.style(),n.DT("style",t),n.VeV(t.fill),n.L0V(t.line),n.b0V(t.textEffect),n.I0V(t.textFrame),n.enV("style",V),n.TrV(),n.refresh()},Y.prototype.getStyle=function(t,V){var n,i,n=this,i=new N.ShapeStyle;return i.fill=n.n0V(t,V),i.line=n.ydV(t,V),i.textEffect=n.fdV(t,V),i.textFrame=n.AdV(),i},Y.prototype.PrV=function(t,V){if((0,h.noArguments)(arguments))return R.prototype.PrV.call(this);var n=this.style();R.prototype.PrV.call(this,t,V),V&&this.enV("style",n)},Y.prototype.WiV=function(t){return new Y(t)},c.Shape=Y},"./dist/plugins/shape/staticModelCalcService/calcNode.js":function(t,V){var n;function i(t,V,n,i){this.name=t,this.value=V,this.formula=n,this.expr=i}function r(t){var V,n,i,e;if(!t)return[];for(;12===t.type;)t=t.value;for(;10===t.type;)t=t.value;for(;12===t.type;)t=t.value;if(V=[],9===t.type)V=V.concat(r(t.value)),t.value2&&(V=V.concat(r(t.value2)));else if(8===t.type)V.push(t.value);else if(7===t.type)for(i=(n=t.arguments).length,e=0;e<i;e++)V=V.concat(r(n[e]));return V}Object.defineProperty(V,"__esModule",{value:!0}),V.CalcNode=void 0,i.prototype.getDependencyIdentify=function(){return r(this.expr)},i.prototype.getDependencyCalcNode=function(V){var t;return this.getDependencyIdentify().map(function(t){return V[t]}).filter(function(t){return!!t})},i.prototype.getExternalDependencyIdentify=function(t){for(var V,n,i,e,r,V,n=[],i=0,e=this.getDependencyIdentify();i<e.length;i++)t[r=e[i]]||n.push(r);return n},V.CalcNode=i},"./dist/plugins/shape/staticModelCalcService/evaluateContext.js":function(t,V,n){var i,e,n,r,c,s,o;function d(){var t=null!==o&&o.apply(this,arguments)||this;return t.args={},t}i=this&&this.__extends||(s=function(t,V){return(s=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}s(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.StaticModelEvaluateContext=void 0,e=n("CalcEngine"),n=n("Common"),r=n.Common.lt.ht,o=e.EvaluateContext,i(d,o),d.prototype.getNameValue=function(t){var V,n,n,V=this.args||{};return r(V[t])?(n=(n=this.calcNodeMap)&&n[t])?n.value:void 0:V[t]},V.StaticModelEvaluateContext=d},"./dist/plugins/shape/staticModelCalcService/evaluator.js":function(t,V,n){var i,e,n,r,c,s,o,d;function a(){return null!==d&&d.apply(this,arguments)||this}i=this&&this.__extends||(o=function(t,V){return(o=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}o(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.StaticModelEvaluator=void 0,e=n("Common"),n=n("CalcEngine"),r=n.Errors.Name,c=e.Common.lt.ht,d=n.Evaluator,i(a,d),a.prototype.evaluateName=function(t,V,n,i){var V;return!V&&!V.getNameValue||(V=V.getNameValue(t.value),c(V))?r:V},V.StaticModelEvaluator=a},"./dist/plugins/shape/staticModelCalcService/parseContext.js":function(t,V,n){var i,n,e,r,c;function s(){return null!==c&&c.apply(this,arguments)||this}i=this&&this.__extends||(r=function(t,V){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}r(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.StaticModelParseContext=void 0,n=n("CalcEngine"),c=n.ParserContext,i(s,c),s.prototype.getResolvers=function(){return s.frV},s.frV=[new n.DefaultTokenResolver],V.StaticModelParseContext=s},"./dist/plugins/shape/staticModelCalcService/staticModelCalcService.js":function(t,V,n){var i,c,e,r,s,n,o,d;function a(t,V,n){this.RrV=t,this.j3t=V||a.parser,this.x3=n||a.parserContext,this.IrV(),this.MrV(),this._rV(),this.ErV()}function h(t,V){return t?"".concat(t,".").concat(V):V}function u(t){return null!==t&&"object"==typeof t}function x(V,n){var i;return V instanceof s.CalcNode?i=n(V):Array.isArray(V)?i=V.map(function(t){return x(t,n)}):u(V)&&(i={},Object.keys(V).forEach(function(t){i[t]=x(V[t],n)})),i}function y(V,n){V instanceof s.CalcNode?n(V):Array.isArray(V)?V.forEach(function(t){y(t,n)}):u(V)&&Object.keys(V).forEach(function(t){y(V[t],n)})}function f(t,r){var c,s,V,n,i;function o(t){var V,n,i,e;if(!s[t.name]){if(s[t.name]=!0,V=t.getDependencyCalcNode(r))for(n=0,i=V;n<i.length;n++)o(e=i[n]);c.push(t)}}for(c=[],s={},V=0,n=t;V<n.length;V++)o(i=n[V]);return c}function l(t){for(var V,n,i,e,r,c,s,V=[],n=0,i=t;n<i.length;n++)for(r=0,c=e=i[n];r<c.length;r++)s=c[r],-1===V.indexOf(s)&&V.push(s);return V}Object.defineProperty(V,"__esModule",{value:!0}),V.StaticModelCalcService=void 0,i=n("CalcEngine"),c=n("Core"),e=n("./dist/plugins/shape/staticModelCalcService/evaluateContext.js"),r=n("./dist/plugins/shape/staticModelCalcService/evaluator.js"),s=n("./dist/plugins/shape/staticModelCalcService/calcNode.js"),n=n("./dist/plugins/shape/staticModelCalcService/parseContext.js"),o=null,a.prototype.calculate=function(t){var V,n,V=this.FrV(t),n=a.evaluator;return this.SrV.forEach(function(t){t.value=n.evaluate(t.expr,V,!1,!1)}),this.getResultFromCalcNodeModel(this.XrV)},a.prototype.getExternalDependency=function(){return this.YrV},a.prototype.getResultFromCalcNodeModel=function(t){return x(t,function(t){return t.value})},a.prototype.getIdentity=function(t){return t},a.prototype.IrV=function(){var t,e,r,t=this.j3t,e=this.x3,r=function(V,n){var i;return Array.isArray(V)?i=V.map(function(t,V){return r(t,h(n,V+""))}):u(V)?(i={},Object.keys(V).forEach(function(t){i[t]=r(V[t],h(n,t))})):(i=new s.CalcNode(n,V),"string"==typeof V&&(0,c.kf)(V)&&(i.formula=V,i.expr=t.parse(e,V))),i};this.XrV=r(this.RrV,"")},a.prototype.MrV=function(){var n,i,n=this,i={};y(n.XrV,function(V){var t=n.getIdentity(V.name);Array.isArray(t)?t.forEach(function(t){i[t]=V}):t&&(i[t]=V)}),n.OrV=i},a.prototype._rV=function(){var V=[];y(this.XrV,function(t){t.expr&&V.push(t)}),this.SrV=f(V,this.OrV).filter(function(t){return!!t.expr})},a.prototype.ErV=function(){var t,V,t,t=this.SrV,V=this.OrV,t=t.map(function(t){return t.getExternalDependencyIdentify(V)});this.YrV=l(t)},a.prototype.FrV=function(t){var V=new e.StaticModelEvaluateContext(o);return V.args=t,V.calcNodeMap=this.OrV,V},a.parser=new i.Parser,a.parserContext=new n.StaticModelParseContext(o,!1),a.evaluator=new r.StaticModelEvaluator(new i.CalcService),V.StaticModelCalcService=a},"./dist/plugins/shape/textEditor/divTextEditor.js":function(t,V,n){var i,n,c,s,o,e,r,d;function a(t){this.Wc=t,this.BrV=this.ZrV(),this.Wc.appendChild(this.BrV),this.onKeydown=this.onKeydown.bind(this),this.onPaste=this.onPaste.bind(this),this.BrV.addEventListener("keydown",this.onKeydown),this.BrV.addEventListener("paste",this.onPaste)}function h(t){return t&&"BR"===t.tagName}function u(t,V){var n=V.endContainer;if(n instanceof Text){if(V.endOffset<n.length)return;n=n.nextSibling}if(!(n=n===t?n.childNodes[V.endOffset]:n))return 1;if(!h(n)&&!n.nextElementSibling){for(;n.nextSibling;)if(0<(n=n.nextSibling).length)return;return 1}}function x(t,V){var n,i,e,n,r,r,n=c.getSelection();0<n.rangeCount&&(i=s.createDocumentFragment(),e=s.createElement("br"),i.appendChild(e),(n=n.getRangeAt(0)).deleteContents(),u(V,n)&&(r=s.createElement("br"),i.appendChild(r)),n.insertNode(i),(n=s.createRange()).setStartAfter(e),n.collapse(!0),(r=c.getSelection()).removeAllRanges(),r.addRange(n),o(t),V.dispatchEvent(new Event("input")))}function y(t,V){var n,i,e,r,n=document.getSelection(),i=n.getRangeAt(0),e,r=document.createTextNode("\t");i.insertNode(r),i.setStartAfter(r),i.setEndAfter(r),n.removeAllRanges(),n.addRange(i),o(t),V.dispatchEvent(new Event("input"))}function f(t,V){var n,i,i,i;e.msie&&!e.edge&&c.clipboardData&&c.clipboardData.getData?n=c.clipboardData.getData("text"):t.clipboardData&&t.clipboardData.getData&&(n=t.clipboardData.getData("text/plain")),"\n"===(n=n.replace(/\r\n?/g,"\n").replace(/\u200B/g,""))[(i=n.length)-1]&&(n="\r"===n[i-2]?n.substr(0,i-2):n.substr(0,i-1)),n=r.j0(n),0<(i=window.getSelection()).rangeCount?((i=i.getRangeAt(0)).deleteContents(),i.insertNode(document.createTextNode(n)),i.collapse(!1)):V.innerHTML=n,o(t),V.dispatchEvent(new Event("input"))}Object.defineProperty(V,"__esModule",{value:!0}),V.DivTextEditor=void 0,i=n("Common"),n=n("Core"),c=window,s=document,o=n.mt.vi,e=n.mt.browser,r=i.Common.zf,a.prototype.ZrV=function(){var t=document.createElement("div");return t.tabIndex=-1,t.contentEditable="true",t},Object.defineProperty(a.prototype,"text",{get:function(){var t,V,t=this.BrV.innerText,V=t.length;return t=1<=V&&"\n"===t[V-1]?t.substring(0,V-1):t},set:function(t){var V=t.length;1<=V&&"\n"===t[V-1]&&(t+="\n"),this.BrV.innerText=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"className",{get:function(){return this.BrV.className},set:function(t){this.BrV.className=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"style",{get:function(){return{}},set:function(t){var V=this.BrV;V.style.font=t.font,V.style.color=t.color,V.style.lineHeight=t.lineHeight,V.style.textAlign=t.textAlign,V.style.verticalAlign=t.verticalAlign,V.style.padding=t.padding,V.style.width=t.width,V.style.maxWidth=t.maxWidth,V.style.transform=t.transform,V.style.opacity=t.opacity},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"isActive",{get:function(){return document.activeElement===this.BrV},enumerable:!1,configurable:!0}),a.prototype.focus=function(){this.BrV.focus()},a.prototype.blur=function(){this.BrV.blur()},a.prototype.select=function(t){var V=window.getSelection();if(V.selectAllChildren(this.BrV),0<V.rangeCount)switch(t){case 1:V.collapseToEnd();break;case 0:V.collapseToStart()}},a.prototype.onKeydown=function(t){var V,n,V=t.keyCode,n=this.BrV;13===V?x(t,n):9===V&&y(t,n)},a.prototype.onPaste=function(t){f(t,this.BrV)},a.prototype.addEventListener=function(t,V){this.BrV.addEventListener(t,V)},a.prototype.removeEventListener=function(t,V){this.BrV.removeEventListener(t,V)},V.DivTextEditor=a},"./dist/plugins/shape/ui/cameraShape.js":function(t,V,n){var i,s,r,d,n,a,h,o,e,u,c,x,y,f,l,g;function A(){return null!==l&&l.apply(this,arguments)||this}function p(){return null!==g&&g.apply(this,arguments)||this}function w(t,V,n,i,e){var n,r,n,V,t,n=t.reV(n),r=n.width,n=n.height;return t!==V&&(r*=V=v(V)/v(t),n*=V),t=1,t=0<r&&0<n?c(i/r,e/n):t}function v(t){var V,V,V;return null!=(V=null==(V=null==(V=t.parent)?void 0:V.sheetsPrintZoomFactor)?void 0:V[t.name()])?V:t.zoom()}i=this&&this.__extends||(f=function(t,V){return(f=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}f(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.CameraShapeUI=void 0,s=n("Core"),r=n("./dist/plugins/shape/ui/shapes.js"),d=n("CellTypes"),n=d&&d.qY,a=d&&d.$Y,h=d&&d.paintRangeTemplate,o=void 0,i(A,l=n),A.prototype.fZ=function(t,V){l.prototype.fZ.call(this,t,V),this.Mf=t},A.prototype.YY=function(t){var V,n,i,V=this,n=V.VY;try{V.VY=V.Mf,i=l.prototype.YY.call(this,t)}finally{V.VY=n}return i},e=A,u=null,c=Math.min,x="temp",g=r.ShapeUI,i(p,g),p.prototype.needApplyFillAfterStyleFill=function(){return!0},p.prototype.applyFillAfterStyleFill=function(t,V,n,i,e){this.renderCameraShape(t,V,n,{isPrint:(0,r.isPrintContext)(t),printZoomFactor:e})},p.prototype.getCameraCacheKey=function(t,V){return"".concat(t,"*").concat(V,"-").concat(s.Bf.Zl())},p.prototype.renderCameraShape=function(t,V,n,i){var e,r,c,s,r,r,s,e=this,r=e.JVV;r&&3===e.ttV&&(c=e.getCameraCacheKey(V,n),r=!!(s=r.Mf).backgroundImage()||r.ytV.isRangeContainsImage,i.isPrint?e.JcV(t,V,n,i):(e.cameraImageCache||(e.cameraImageCache={}),r?((r=s.BO().$h())||(e.cameraImageCache={}),e.cameraImageCache[c]||e.WcV(r?c:x,V,n,i)):e.cameraImageCache[c]||e.WcV(c,V,n,i),(s=e.cameraImageCache[c]||e.cameraImageCache.temp)&&t.drawImage(s,-V/2,-n/2,V,n)))},p.prototype.getTemplateDataResolve=function(t){var V=this,n;return V.templateDataResolveCache||(V.templateDataResolveCache={}),(n=V.templateDataResolveCache[t])||(n=new e,V.templateDataResolveCache={},V.templateDataResolveCache[t]=n),n},p.prototype.WcV=function(t,V,n,i){var e,r,c,e=this,r=e.cameraShapeBuffer=document.createElement("canvas"),c=r.getContext("2d");s.Bf.Wl(r,u,u),s.Bf.$l(r,V,n),e.transform(c,{x:V/2,y:n/2},!1),e.JcV(c,V,n,i),e.cameraImageCache={},e.cameraImageCache[t]=r},p.prototype.JcV=function(t,V,n,i){var e,r,c,s,r,e,s,o,r,V,e=this,r=e.JVV;r&&3===e.ttV&&(c=r.Mf,s=r.ytV.Z5,r=r.ytV.AnV)&&d&&(e=e.getTemplateDataResolve(s).yN(r.sheet,r.cellRange,!0),s=(new a).yN(r.sheet,r.cellRange),o={x:-V/2,y:-n/2,width:V-1,height:n-1},r=w(r.sheet,c,r.cellRange,V,n),V={sheet:c,sheetArea:3,row:0,col:0,needTopGridline:!0,needLeftGridline:!0,isPrinting:i.isPrint,printZoomFactor:i.printZoomFactor},h(t,o,null,V,e,s.eZ(),r))},p.prototype.JrV=function(){this.cameraImageCache=u},p.prototype.lsV=function(){var c=this;return new Promise(function(t){var V,V,V,n,i,e,r,V=null==(V=null==(V=c.JVV)?void 0:V.Mf)?void 0:V.BO();!V||(i=(n=document.createElement("canvas")).getContext("2d"),e=c.getRenderBound(!1),n.width=e.width,n.height=e.height,c.render(i,o,o,!1),V.$h())?t():r=V.registerLoadedCompleteListener(function(){r(),t()})})},p.prototype.gsV=function(){var t;return null==(t=this.JVV)?void 0:t.ytV.AnV},p.prototype.PsV=function(t,V,n){var i,e,r,t,c,s,o,i=this;if(i.cameraImageCache&&(e=i.JVV)&&(r=e.Mf._id,t=t._id,c=e.ytV.AnV)&&(r===t||c.sheet&&c.sheet._id===t))for(s=0;s<V.length;s++){if(o=c.cellRange,void 0!==V[s].row&&void 0===V[s].col&&2===n&&V[s].row>=o.row&&V[s].row<o.row+o.rowCount){i.cameraImageCache=null,e.ytV.rtV&&e.mtV();break}if(void 0===V[s].row&&void 0!==V[s].col&&1===n&&V[s].col>=o.col&&V[s].col<o.col+o.colCount){i.cameraImageCache=null,e.ytV.rtV&&e.mtV();break}if(0===n){if(void 0===V[s].rowCount&&void 0===V[s].colCount&&o.contains(V[s].row,V[s].col)){i.cameraImageCache=null;break}if(void 0!==V[s].rowCount&&void 0!==V[s].colCount&&o.intersect(V[s].row,V[s].col,V[s].rowCount,V[s].colCount)){i.cameraImageCache=null;break}}}},V.CameraShapeUI=p},"./dist/plugins/shape/ui/canvas.js":function(b,t,V){var i,A,L,y,R,f,I,m,C,D,U,q,k,d,B,Z,M,H,_,E,z,p,n,Q,G,e,r,S,F,w,X,J,W,c,K,u,s,$,tt,o,a,h,x,Vt,nt,it,l;function v(t,V){return+t.toFixed(V=V||3)}function et(t){var V,t,V=(0,i.GC$)(t).offset();return V?(V.top+=n.body.clientTop||0,V.left+=n.body.clientLeft||0):V={top:0,left:0},V=(t=t&&t.canvasOffset)?t:V}function rt(t){var V,n,i,V=t.Mf;return(!V.shapeIsProtected||!V.shapeIsProtected())&&(n=V.options,(i=!V.isActualProtected()||n.protectionOptions.allowEditObjects)||!t.isLocked())}function Y(t){return!1!==t.allowResize()}function ct(t,V){var n,i,e,r,c,s,n=t.left,i=t.top,e=t.width,r=t.height,c=e/2,s=r/2;return V===I.ResizeHandleType.topCenter?n+=c:V===I.ResizeHandleType.topRight?n+=e:V===I.ResizeHandleType.middleLeft?i+=s:V===I.ResizeHandleType.middleRight?(n+=e,i+=s):V===I.ResizeHandleType.bottomLeft?i+=r:V===I.ResizeHandleType.bottomCenter?(n+=c,i+=r):V===I.ResizeHandleType.bottomRight&&(n+=e,i+=r),a({x:n,y:i},t.Eot,o(t.angle))}function st(t,V,n,i){var e,r,c,s,n,s,n,r,e=t.resizeInfo;e=e||(t.resizeInfo={}),r=t.YC,c=t.ZC,s=n.YC,n=n.ZC,e.ratioX=0===s?0:r/s,e.ratioY=0===n?0:c/n,e.aspectRatio=0===c?0:r/c,e.relativePoint=ct(t,V),n=(s=h(i,o(t.angle))).x,r=s.y,e.relativePoint.x+=n*e.ratioX,e.relativePoint.y+=r*e.ratioY}function ot(t){var V=t.resizeInfo,V;(V=V||(t.resizeInfo={})).lineStartPoint=t.getStartPoint(),V.lineEndPoint=t.getEndPoint()}function dt(t,V){var n=!0;return t&&t.JVV&&(n=t.JVV.allowResize()),n=V&&!0===n?I.ResizeMode.aspect:n}function g(t,V,n,i,e){var r,c,t,e,s;return V===I.ResizeMode.aspect?(r=t.width,c=t.height,t=t.resizeInfo.aspectRatio,e&&t&&(e=S(e=r+n,(s=c+i)*t),s=S(s,e/t),(e<1||s<1)&&(1<=t?e=(s=1)*t:s=(e=1)/t),n=e-r,i=s-c)):V===I.ResizeMode.horizontal?i=0:V===I.ResizeMode.vertical&&(n=0),{deltaW:n,deltaH:i}}function at(t,V,n,i){var e,i,r,t,c,s,o;return!0===V?i:(e=i.x,i=i.y,r=t.resizeInfo.lineStartPoint,t=t.resizeInfo.lineEndPoint,V===I.ResizeMode.aspect?(c=t.x-r.x,s=t.y-r.y,0==c&&0==s||(0==c?e=r.x:i=0==s?r.y:(e-r.x)*(o=s/c)+r.y)):V===I.ResizeMode.horizontal?i=(n===I.HitTestLineEnd.head?r:t).y:V===I.ResizeMode.vertical&&(e=(n===I.HitTestLineEnd.head?r:t).x),{x:e,y:i})}function j(t,V,n,i,e,r){var V=g(t,V,n,i,!0);xt(t,V.deltaH,e),yt(t,V.deltaW,r)}function ht(t,V,n,i){var e;xt(t,g(t,V,0,n,!1).deltaH,i)}function ut(t,V,n,i){var e;yt(t,g(t,V,n,0,!1).deltaW,i)}function xt(t,V,n){var V=t.height+V;t.resizeHeight(V=V<=0?1:V,n)}function yt(t,V,n){var V=t.width+V;t.resizeWidth(V=V<=0?1:V,n)}function ft(t,V,n,i){V===I.HitTestLineEnd.head?t.moveStartPoint(n,i):V===I.HitTestLineEnd.tail&&t.moveEndPoint(n,i)}function lt(t,V){var n,V,n=i.Bf.Kl(V),V=i.Bf.Jl(V);t.x=e(t.x*n)/n,t.y=e(t.y*V)/V,t.width=r(t.width*n)/n,t.height=r(t.height*V)/V}function O(t){return t&&t instanceof Z.Shape&&t.isTextBox()}function gt(t){var t=t.options;return t&&t.textFormatOptions&&t.textFormatOptions.resizeToFitText}function T(t,V,n,i){this.rowViewportIndex=n,this.colViewportIndex=i,this.init(t),this.setHost(V)}function At(t){var V,n,n,i,e,V=t&&t.shape,n=t&&t.target;(pt(V)||pt(n))&&((e=(i=(n=V.JVV)&&n.Mf).Dg()).style.cursor=l.getCursorFromHitTest(t))}function pt(t){return t&&t.bdV}function N(t){var V=t.shape;if(V&&2===V.ttV){if(V.isSelected&&t.targetType===I.HitTestType.border)return;V=t.target}if(pt(V))return V}function wt(t){return t.filter(function(t,V,n){return n.indexOf(t)===V})}function vt(t,V){return t===V||!(!t||!V||t.id!==V.id||t.index!==V.index)}function jt(t){var V,n,i,n=t.startConnector;return vt(t.oldStartConnector,n)||(V=t.service&&n&&n.id?{name:i=t.service.getShapeById(n.id).JVV.name(),index:n.index}:X),delete t.oldStartConnector,V}function bt(t){var V,n;return vt(t.oldEndConnector,t.endConnector)||(V=t.service&&t.endConnector&&t.endConnector.id?{name:n=t.service.getShapeById(t.endConnector.id).JVV.name(),index:t.endConnector.index}:X),delete t.oldEndConnector,V}function Lt(t,V){var n,i,i,n,V,V,n=t.JVV,i=n.Mf.zoom(),i={name:n.name(),offsetX:t.left/i-n.x(),offsetY:t.top/i-n.y(),offsetWidth:t.width/i-n.width(),offsetHeight:t.height/i-n.height()},n=t.ttV;return 1===n?(i.points=mt(t),V&&(void 0!==(V=jt(t))&&(i.startConnector=V),void 0!==(V=bt(t)))&&(i.endConnector=V)):2===n&&(i.childrenChanges=Ct(t)),i}function mt(t,V,n){void 0===V&&(V=0),void 0===n&&(n=0);var i,e=t.JVV.Mf.zoom();return t.getPoints().map(function(t){return{x:(t.x+V)/e,y:(t.y+n)/e}})}function Ct(t,V,n){void 0===V&&(V=0),void 0===n&&(n=0);var i=[];return t.shapes.forEach(function(t){1===t.ttV&&i.push({name:t.JVV.name(),points:mt(t,V,n)})}),i}function P(t,V){var n,t,n=[],t=Lt(t,!0);return(0!==t.offsetX||0!==t.offsetY||0!==t.offsetWidth||0!==t.offsetHeight||t.startConnector||t.endConnector)&&(V&&(t.lineChanges=V.map(function(t){return Lt(t)})),n.push(t)),n}function Rt(t){var V,n,V,V=t.JVV,n=V.Mf.zoom(),V={name:V.name(),rotate:t.angle};return 1===t.ttV&&(V.points=t.getPoints().map(function(t){return{x:t.x/n,y:t.y/n}})),V}function It(t,V){var n=[];return n.push(Rt(t)),V&&V.forEach(function(t){n.push(Rt(t))}),n}function Mt(t,V,n){var i,t,i=X;return"ZipLine"===t?i=new y.ZipLine(V,n):"Line"===t&&(i=new y.Line(V,n),t=V&&V.points,i.setPoints(t)),i}function _t(t){var V=[];return t.shapes.all().forEach(function(t){t.isSelected()&&V.push(t.ctV)}),V}Object.defineProperty(t,"__esModule",{value:!0}),t.createLine=t.getShouldProcessControlShape=t.Canvas=void 0,i=V("Core"),A=V("./dist/plugins/shape/ui/util.js"),L=V("./dist/plugins/shape/ui/options.js"),y=V("./dist/plugins/shape/ui/lines.js"),R=V("./dist/plugins/shape/ui/shapes.js"),f=V("./dist/plugins/shape/ui/model.js"),I=V("./dist/plugins/shape/shape.interface.js"),m=V("./dist/plugins/shape/ui/pictureShape.js"),C=V("./dist/plugins/shape/ui/cameraShape.js"),D=V("./dist/plugins/shape/ui/formControl.js"),U=V("./dist/plugins/shape/ui/compoundShape.js"),q=V("Common"),k=V("FloatingObject"),d=V("./dist/plugins/shape/ui/shape-alignment.js"),B=V("./dist/plugins/shape/shape.js"),Z=V("./dist/plugins/shape/shapeView.js"),M=V("./dist/plugins/shape/geometryService/controlPointService.js"),H=A.Common.extend,_=A.Common.ocV,E=A.Common.arrayPush,z=A.Common.pointIsInRectangle,p=A.Common.Rh,n=document,Q=q.Common.zf.TY,G=Math.round,e=Math.floor,r=Math.ceil,S=Math.max,F=Math.min,w=Math.abs,X=null,J=5,W=window.open,c="openUrl",K="openTextEditor",u=k.Drawing.UnitHelper.IsNullOrEmpty,s="Shift",tt=$=1,o=A.Common.toRadius,a=A.Common.rotatePoint,h=A.Common.rotateVector,x=A.Common.getOptionValue,Vt=["nw-resize","ns-resize","ne-resize","ew-resize","se-resize","ns-resize","sw-resize","ew-resize"],nt=[I.ResizeHandleType.topLeft,I.ResizeHandleType.topCenter,I.ResizeHandleType.topRight,I.ResizeHandleType.middleRight,I.ResizeHandleType.bottomRight,I.ResizeHandleType.bottomCenter,I.ResizeHandleType.bottomLeft,I.ResizeHandleType.middleLeft],it=(0,L.getStyle)("default"),T.createShapeModel=function(){var c=new f.ShapeModel;return c.changed=function(t,V,n,i,e){var r;c.CnV||(r=c.getShapeById(t),"options"===V&&r&&delete r.optionsCache,e&&n!==i&&c.onPropertyChangedByFormula&&c.onPropertyChangedByFormula(t,V,n))},c},T.ch=function(t,V){var n,i,n=T.fh=T.fh?T.fh:[];for(V.name=t,V.priority=V.priority||5e3,i=0;;i++)if(i>=n.length||V.priority>n[i].priority){n.splice(i,0,V);break}},T.et=function(t,V,n,i){var e,r,c,e=T.fh;if(e)for(r=0;r<e.length&&((c=e[r][V])&&c.call(t,n),!i||!i());r++);},T.weV=function(t){if(t){var V=t.shape,t=t.target;if(t&&t.hyperlink)return t;if(V&&V.hyperlink)return V}return null},T.prototype.init=function(t){var n=this;n.scrollLeft=0,n.scrollTop=0,n.Tb=0,n.ly=0,n.Ab=0,n.my=0,n.model=t||T.createShapeModel(),Object.defineProperty(n,"shapes",{get:function(){return this.model.getShapes()}}),n.mouseDownFn=function(t){var V={e:t,r:X};T.et(n,"preProcessMouseDown",V),V.r||n.doMouseDown(t)},n.mouseMoveFn=function(t){var V={e:t,r:X};T.et(n,"preProcessMouseMove",V),V.r||n.doMouseMove(t)},n.mouseUpFn=function(t){var V={e:t,r:X};T.et(n,"preProcessMouseUp",V),V.r||n.doMouseUp(t)},n.mousewheelFn=function(t){var t={e:t,r:X};T.et(n,"preProcessMouseWheel",t)},n.mouseoutFn=function(t){var V={e:t,r:X};T.et(n,"preProcessMouseOut",V),V.r||n.doMouseOut(t)},n.dblclickFn=function(t){var t={e:t,r:X};T.et(n,"preProcessDbClick",t)},n.keyDownFn=function(t){var V={e:t,r:X};T.et(n,"preProcessKeyDown",V),V.r||n.doKeyDown(t)},n.keyUpFn=function(t){var V={e:t,r:X};T.et(n,"preProcessKeyUp",V),V.r||n.doKeyUp(t)}},T.prototype.setHost=function(t){var V=this,n=V.host;t!==n&&(n&&V.dispose(),V.host=t)&&(V.width=t.width,V.height=t.height,t.addEventListener("mousemove",V.mouseMoveFn),t.addEventListener("mousedown",V.mouseDownFn),t.addEventListener("mouseup",V.mouseUpFn),t.addEventListener("mousewheel",V.mousewheelFn),t.addEventListener("mouseout",V.mouseoutFn),t.addEventListener("dblclick",V.dblclickFn),document.addEventListener("mouseout",V.mouseoutFn),document.addEventListener("keydown",V.keyDownFn),document.addEventListener("keyup",V.keyUpFn),T.et(V,"setHost",t))},T.prototype.dispose=function(){var t=this,V=t.host;V&&(V.removeEventListener("mousedown",t.mouseDownFn),V.removeEventListener("mousemove",t.mouseMoveFn),V.removeEventListener("mouseup",t.mouseUpFn),V.removeEventListener("mousewheel",t.mousewheelFn),V.removeEventListener("mouseout",t.mouseoutFn),V.removeEventListener("dblclick",t.dblclickFn),document.removeEventListener("mouseout",t.mouseoutFn),document.removeEventListener("keydown",t.keyDownFn),document.removeEventListener("keyup",t.keyUpFn),T.et(t,"dispose",V))},T.prototype.getShapeById=function(t){return this.model.getShapeById(t)},T.prototype.getUniqueShapeId=function(t){return this.model.getUniqueShapeId(t)},T.prototype.ensureUniqueShapeId=function(t){return this.model.ensureUniqueShapeId(t)},T.prototype.temporaryMarkIdUsed=function(t){this.model.temporaryMarkIdUsed(t)},T.prototype.clearTemporaryMarkedIds=function(){this.model.clearTemporaryMarkedIds()},T.prototype.createShapeFromPath=function(t,V,n,i,e,r,c){return V=H({},it,V),this.createShape({path:t,options:V,left:n,top:i,width:e,height:r,angle:c||0})},T.prototype.createLine=function(t,V){var n,i,t,n=this.getModel(),i=X;return"ZipLine"===t?i=new y.ZipLine(V,n):"Line"===t&&(i=new y.Line(V,n),t=V&&V.points,i.setPoints(t)),i},T.prototype.createShape=function(t){var V,n,V,n=this.getModel();return(t=t||{}).id||(t.id=n.getUniqueShapeId()),(0,R.createShape)(t,n)},T.prototype.createPictureShape=function(t){var V,n,V,n=this.getModel();return(t=t||{}).id||(t.id=n.getUniqueShapeId()),new m.PictureShapeUI(t,n)},T.prototype.createCameraShape=function(t){var V,n,V,n=this.getModel();return(t=t||{}).id||(t.id=n.getUniqueShapeId()),new C.CameraShapeUI(t,n)},T.prototype.createFormControlShape=function(t){var V,n,V,n=this.getModel();return(t=t||{}).id||(t.id=n.getUniqueShapeId()),new D.FormControlShapeUI(t,n)},T.prototype.createOtherShapeUI=function(t,V){var n,i,n,i=this.getModel();return(t=t||{}).id||(t.id=i.getUniqueShapeId()),V(t,i)},T.prototype.getModel=function(){return this.model},T.prototype.addShape=function(t,V){var n;this.getModel().addShape(t,V),this.clearTemporaryMarkedIds()},T.prototype.removeShape=function(V,t){var n,i,n,e,r,n=this,i=n.getModel();t||((n=n.getConnectionLines(V))&&n.forEach(function(t){t&&(e=t.endConnector,r=t.startConnector,e&&e.id===V.id&&(V.removeConnectionLine(t.id),t.endConnector=X),r)&&r.id===V.id&&(V.removeConnectionLine(t.id),t.startConnector=X)}),1===V.ttV&&(V.updateStartConnector(X),V.updateEndConnector(X))),i.removeShape(V,t)},T.prototype.indexOf=function(t){return this.getModel().indexOf(t)},T.prototype.getPointer=function(t){var V,n,i,e,V=this,n=et(V.host),i,e;return{x:t.pageX-n.left+V.scrollLeft,y:t.pageY-n.top+V.scrollTop}},T.prototype.getRotatePoint=function(t,V){var n=V.Eot;return a({x:t.x-n.x,y:t.y-n.y},{x:0,y:0},-o(V.angle))},T.prototype.getDelta=function(t,V,n){var i,V,e,t,r,c,i=V.width/2,V=V.height/2,e=t.x,t=t.y,r=0,c=0;return n===I.ResizeHandleType.bottomRight?(c=t-V,r=e-i):n===I.ResizeHandleType.topLeft?(c=t+V,r=e+i):n===I.ResizeHandleType.topCenter?c=t+V:n===I.ResizeHandleType.bottomCenter?c=t-V:n===I.ResizeHandleType.middleLeft?r=e+i:n===I.ResizeHandleType.middleRight?r=e-i:n===I.ResizeHandleType.topRight?(c=t+V,r=e-i):n===I.ResizeHandleType.bottomLeft&&(c=t-V,r=e+i),{x:r,y:c}},T.prototype.hitTest=function(t,V){var n,t;return void 0===V&&(V=!1),t=(n=this).getPointer(t),n.hitTestByPoint(t.x,t.y,V)},T.prototype.hitTestByPoint=function(n,i,e){var r=X;return this.shapes.forEach(function(t){var V,V,V,V=t.JVV;if(V){if(!e&&!rt(V))return;if(!V.HiV())return}(V=t.getHitTestBound())&&!z(V,n,i)||!(V=t.hitTest(n,i))||!V.shape||r&&r.endPoint||(r=V)}),r&&(r.x=n,r.y=i),r},T.prototype.isSheetProtected=function(){var t,V,t,t=this,V=!1;return V=t.shapes&&0<t.shapes.length&&(t=t.shapes[0].JVV)?t.Mf.isActualProtected():V},T.prototype.paintLayerShapes=function(s,o,d,a){var t,h,u,t=this;s.translate(-1,-1),h=t.scrollLeft,u=t.scrollTop,(h||u)&&s.translate(-h,-u),t.shapes.forEach(function(t){var V,n,i,e,r,n,c,V,V,V=t.JVV,n=t.getRenderBound(),i=n.left-h,e=n.top-u,r=n.right-n.left,n=n.bottom-n.top,c=!V||V.HiV(),V=!V||V.canPrint(),V=!d||V;!t.parent&&(t.acV()||o.intersect(i,e,r,n))&&c&&V&&t.render(s,d,a)})},T.prototype.canPaintShape=function(t,V){return!0},T.prototype.paintForPrint=function(t,V){var n,i,e,i,n=this,i=n.width,e=n.height;i<=0||e<=0||(t.save(),i=new A.Rect(n.PnV||0,n.NnV||0,i,e),n.paintLayerShapes(t,i,!0,V),t.restore())},T.prototype.paint=function(t,V){var n=this,i=n.host,e=n.width,r=n.height;!i||e<=0||r<=0||(t=t||i.getContext("2d"),lt(V=V||new A.Rect(0,0,e,r),i),t.save(),t.beginPath(),t.rect(V.x,V.y,V.width,V.height),t.clip(),t.clearRect(V.x,V.y,V.width,V.height),n.paintLayerShapes(t,V),t.restore())},T.prototype.getConnectionPointLocation=function(t,V){var n,i,e,r,c,s,o,d,a,h,u,x,y,f,l,g,A,p;for(t.x=v(t.x),t.y=v(t.y),n=V.getActualCornerPoints(),c=r=e=i=X,n.forEach(function(t){(i===X||t.x<i)&&(i=t.x),(r===X||t.x>r)&&(r=t.x),(e===X||t.y<e)&&(e=t.y),(c===X||t.y>c)&&(c=t.y)}),s=v((i+r)/2),o=v((e+c)/2),a=(d=n[0]).x,h=d.y,u=d.x,x=d.y,A=g=l=f=y=0,p=_(n);A<p;A++)d=n[A],t.x<d.x+2&&t.x<s&&y++,t.y<d.y+2&&t.y<o&&f++,t.x>d.x-2&&t.x>s&&l++,t.y>d.y-2&&t.y>o&&g++,a>d.x&&(a=d.x),h>d.y&&(h=d.y),u<d.x&&(u=d.x),x<d.y&&(x=d.y);return 4===f&&(g=y=l=0),4===y&&(g=f=l=0),{left:y=4===(g=4===l?f=y=0:g)?f=l=0:y,top:f,right:l,bottom:g,x:a,y:h,width:u-a,height:x-h}},T.prototype.layoutConnectionLine=function(t){var V,n,i,i,e,r,n,c,s,n,o,d,s,e,d,n,r,V,a,h,u,x,y,f,l,g,A,e,p,w,v,j,b,L,m,C,R,V=this,n=1,i=t.JVV,i=20*(n=i&&i.Mf?i.Mf.zoom():n);if(t.parent||0===t.angle||t.setAngle(0),(!t.parent||!t.parent.shapes)&&(d=t.startConnector,s=t.endConnector,d||s)){if(d){if(!(e=(n=V.getShapeById(d.id)).getActualConnectorPoints())||0===_(e)||_(e)<=t.startConnector.index)return;e=e[d.index],c=V.getConnectionPointLocation(e,n)}else o=c={x:(e=t.getStartPoint()).x,y:e.y,width:0,height:0};if(n=d=void 0,s){if(!(r=(n=V.getShapeById(s.id)).getActualConnectorPoints())||0===_(r)||_(r)<=t.endConnector.index)return;r=r[s.index],d=V.getConnectionPointLocation(r,n)}else o=d={x:(r=t.getEndPoint()).x,y:r.y,width:0,height:0};s={left:c.x,top:c.y,width:c.width,height:c.height,right:c.x+c.width,bottom:c.y+c.height},V={left:d.x,top:d.y,width:d.width,height:d.height,right:d.x+d.width,bottom:d.y+d.height},n=[e],a=s.top-i,h=s.left-i,u=s.left+s.width+i,x=s.top+s.height+i,y=V.top-i,f=V.left-i,l=V.left+V.width+i,g=V.top+V.height+i,A=e.x,e=e.y,p=r.x,w=r.y,L=b=j=v=void 0,o&&(R=C=m=void 0,R=o===c?(m=d,C=A,V):(m=c,C=p,s),e<w?C>R.right?o.left=2:C<R.left&&(2<=m.right||2<=m.top)?o.right=2:o.bottom=2:C>R.right?2<=m.right||2<=m.top?o.top=2:o.left=2:C<R.left&&(2<=m.right||2<=m.bottom)?o.right=2:o.top=2),p<A?e<w?2<=c.top?(v=F(e-i,a),2<=d.left?(b=F(h,f,p-i),v=F(a,y),E(n,{x:A,y:v}),E(n,{x:b,y:v}),E(n,{x:b,y:w})):2<=d.top?s.left<p&&(v=S(e-i,a),E(n,{x:A,y:v}),b=S(u,l,p+i),E(n,{x:b,y:v}),E(n,{x:b,y:j=(x+y)/2}),E(n,{x:p,y:j})):2<=d.right?(v=S(e-i,a),b=p<s.left?(l+h)/2:S(u,l,p+i),E(n,{x:A,y:v}),E(n,{x:b,y:v}),E(n,{x:b,y:w})):(b=V.right<s.left?(V.right+s.left)/2:F(h,f,p-i),j=w+i,E(n,{x:A,y:v}),E(n,{x:b,y:v}),E(n,{x:b,y:j}),E(n,{x:p,y:j})),1===n.length&&(E(n,{x:A,y:v}),E(n,{x:p,y:v}))):2<=c.right?(b=S(u,A+i),2<=d.right?w<s.bottom?(v=x,L=(s.left+V.right)/2,E(n,{x:b,y:e}),E(n,{x:b,y:v}),E(n,{x:L,y:v}),E(n,{x:L,y:w})):(E(n,{x:b,y:e}),E(n,{x:b,y:w})):2<=d.left?(v=V.top<s.bottom&&s.top<V.top?F(a,y):(x+y)/2,L=p-i,E(n,{x:b,y:e}),E(n,{x:b,y:v}),E(n,{x:L,y:v}),E(n,{x:L,y:w})):v=2<=d.bottom?(A<V.right&&(b=S(l,u)),S(g,x)):((V.top<s.bottom&&p<h||V.top<s.bottom&&s.top<V.bottom&&p<s.right&&s.left<p)&&(v=F(a,y),E(n,{x:A+i,y:e}),E(n,{x:A+i,y:v}),E(n,{x:p,y:v}),E(n,{x:p,y:w})),(x+y)/2),1===n.length&&(E(n,{x:b,y:e}),E(n,{x:b,y:v}),E(n,{x:p,y:v}))):2<=c.bottom?(v=(e+V.top)/2,2<=d.right?E(n,{x:A,y:w}):2<=d.bottom?(j=w+i,A<V.right?(b=l,E(n,{x:A,y:v}),E(n,{x:b,y:v}),E(n,{x:b,y:j})):E(n,{x:A,y:j}),E(n,{x:p,y:j})):2<=d.left?(s.top<w?v=S(x,g):b=p-i,V.left<A?(E(n,{x:A,y:v=s.bottom<V.top?(s.bottom+V.top)/2:v}),E(n,{x:p-i,y:v}),E(n,{x:p-i,y:w})):(E(n,{x:A,y:v}),E(n,{x:b,y:v}),E(n,{x:b,y:w}))):(E(n,{x:A,y:v}),E(n,{x:p,y:v}))):2<=d.right?(b=(h+l)/2,h<l?(v=Math.max(y,(y+x)/2),b=F(h,A-i),L=p+i,E(n,{x:b,y:e}),E(n,{x:b,y:v}),E(n,{x:L,y:v}),E(n,{x:L,y:w})):(E(n,{x:b,y:e}),E(n,{x:b,y:w}))):2<=d.left?(b=F(h,f,p-i),V.top<e&&V.right<s.left?(L=f,E(n,{x:b=(s.left+V.right)/2,y:e}),E(n,{x:b,y:y}),E(n,{x:L,y:y}),E(n,{x:L,y:w})):(E(n,{x:b,y:e}),E(n,{x:b,y:w}))):2<=d.bottom&&(b=V.right<s.left?(h+l)/2:F(h,f),v=Math.max(w+i,s.bottom),E(n,{x:b,y:e}),E(n,{x:b,y:v}),E(n,{x:p,y:v})):2<=c.top?(v=(e+w)/2,2<=d.left?(b=p-i,E(n,{x:A,y:v=e<V.bottom?y:(V.bottom+e)/2}),E(n,{x:b,y:v}),E(n,{x:b,y:w})):2<=d.top?(v=F(w-i,a),A<V.right&&(b=F(f,A-i),E(n,{x:A,y:v=(e+g)/2}),E(n,{x:b,y:v}),E(n,{x:b,y:w-i}),E(n,{x:p,y:w-i}))):2<=d.right&&E(n,{x:A,y:w}),1===n.length&&(E(n,{x:A,y:v}),E(n,{x:p,y:v}))):2<=c.right?(b=S(u,A+i),2<=d.right?(E(n,{x:b,y:e}),e<g&&V.right<s.left?(L=(h+l)/2,E(n,{x:b,y:v=x}),E(n,{x:L,y:v}),E(n,{x:L,y:w})):E(n,{x:b,y:w})):2<=d.left?(v=y,L=p-i,b=S(u,l),E(n,{x:b,y:e}),E(n,{x:b,y:v}),E(n,{x:L,y:v}),E(n,{x:L,y:w})):(v=2<=d.bottom?V.bottom<s.top?(g+a)/2:x:(b=S(u,l),F(w,s.top)-i),E(n,{x:b,y:e}),E(n,{x:b,y:v}),E(n,{x:p,y:v}))):2<=c.bottom?2<=d.right?(b=s.left<V.right?u:(h+l)/2,E(n,{x:A,y:v=x}),E(n,{x:b,y:v}),E(n,{x:b,y:w})):2<=d.bottom?(v=x,s.left<p?(b=h,E(n,{x:A,y:v}),E(n,{x:b,y:v}),s.top<V.bottom?E(n,{x:b,y:w}):(E(n,{x:b,y:j=(g+a)/2}),E(n,{x:p,y:j}))):(E(n,{x:A,y:v}),E(n,{x:p,y:v}))):2<=d.left?(b=F(f,h),v=S(x,g),E(n,{x:A,y:v}),E(n,{x:b,y:v}),E(n,{x:b,y:w})):(b=s.left<V.right?F(h,f):(s.left+V.right)/2,E(n,{x:A,y:e+i}),E(n,{x:b,y:e+i}),E(n,{x:b,y:w-i}),E(n,{x:p,y:w-i})):2<=d.right?(b=(h+l)/2,s.left<V.right?(v=Math.max(y,(y+x)/2),b=F(h,A-i),L=p+i,E(n,{x:b,y:e}),E(n,{x:b,y:v}),E(n,{x:L,y:v}),E(n,{x:L,y:w})):(E(n,{x:b,y:e}),E(n,{x:b,y:w}))):2<=d.left?(b=F(h,f,p-i),e<V.bottom&&V.right<s.left?(b=(V.right+s.left)/2,L=F(h,f,p-i),E(n,{x:b,y:e}),E(n,{x:b,y:x}),E(n,{x:L,y:x}),E(n,{x:L,y:w})):(E(n,{x:b,y:e}),E(n,{x:b,y:w}))):2<=d.bottom?(b=V.right<s.left?(h+l)/2:p-i,v=Math.max(w+i,s.bottom),s.left<p?(E(n,{x:b,y:e}),E(n,{x:b,y:v}),E(n,{x:p,y:v})):E(n,{x:p,y:e})):(v=a,E(n,{x:b=f,y:e}),E(n,{x:b,y:v}),E(n,{x:p,y:v})):e<w?2<=c.top?(v=a,2<=d.left?(b=s.right<V.left?(u+f)/2:h,E(n,{x:A,y:v}),E(n,{x:b,y:v}),E(n,{x:b,y:w})):2<=d.top?p<u&&(E(n,{x:A,y:v}),E(n,{x:b=u,y:v}),E(n,{x:b,y:j=(x+y)/2}),E(n,{x:p,y:j})):2<=d.right?(v=F(y,a),b=S(u,p+i),E(n,{x:A,y:v}),E(n,{x:b,y:v}),E(n,{x:b,y:w})):(b=u<f?(u+f)/2:l,j=w+i,E(n,{x:A,y:v}),E(n,{x:b,y:v}),E(n,{x:b,y:j}),E(n,{x:p,y:j})),1===n.length&&(E(n,{x:A,y:v}),E(n,{x:p,y:v}))):2<=c.right?(b=S(u,l),2<=d.right?V.top<e&&s.right<V.left?(v=g,L=l,E(n,{x:b=(u+f)/2,y:e}),E(n,{x:b,y:v}),E(n,{x:L,y:v}),E(n,{x:L,y:w})):(E(n,{x:b,y:e}),E(n,{x:b,y:w})):2<=d.left?(E(n,{x:b=(A+p)/2,y:e}),E(n,{x:b,y:w})):2<=d.bottom?(v=g,E(n,{x:b=s.right<V.left?(u+f)/2:l,y:e}),E(n,{x:b,y:v}),E(n,{x:p,y:v})):E(n,{x:p,y:e})):2<=c.bottom?2<=d.right?(b=l,E(n,{x:A,y:v=s.bottom<V.top?(x+y)/2:g}),E(n,{x:b,y:v}),E(n,{x:b,y:w})):2<=d.bottom?(v=g,V.left<A?(b=F(h,f),v=s.bottom<V.top?(s.bottom+V.top)/2:(V.bottom+s.top)/2,j=S(g,x),E(n,{x:A,y:v}),E(n,{x:b,y:v}),E(n,{x:b,y:j}),E(n,{x:p,y:j})):(E(n,{x:A,y:v}),E(n,{x:p,y:v}))):2<=d.left?E(n,{x:A,y:w}):(E(n,{x:A,y:v=(e+w)/2}),E(n,{x:p,y:v})):(b=h,2<=d.right?(v=s.bottom<V.top?(x+y)/2:g,L=l,E(n,{x:b,y:e}),E(n,{x:b,y:v}),E(n,{x:L,y:v}),E(n,{x:L,y:w})):2<=d.left?(L=(s.right+V.left)/2,s.right<V.left&&w<s.bottom?(E(n,{x:b,y:e}),E(n,{x:b,y:x}),E(n,{x:L,y:x}),E(n,{x:L,y:w})):(E(n,{x:b,y:e}),E(n,{x:b,y:w}))):(2<=d.bottom?(v=S(x,g),b=F(h,f)):v=s.bottom<V.top?(x+y)/2:a,E(n,{x:b,y:e}),E(n,{x:b,y:v}),E(n,{x:p,y:v}))):2<=c.top?(2<=d.left?E(n,{x:A,y:w}):2<=d.top?(v=y,V.left<A&&(E(n,{x:A,y:v=(g+a)/2}),E(n,{x:h,y:v}),E(n,{x:h,y:w-i}),E(n,{x:p,y:w-i}))):2<=d.right?(b=l,E(n,{x:A,y:v=V.bottom<s.top?(g+a)/2:y}),E(n,{x:b,y:v}),E(n,{x:b,y:w})):v=(e+w)/2,1===n.length&&(E(n,{x:A,y:v}),E(n,{x:p,y:v}))):2<=c.right?(b=l,2<=d.right?e<g&&s.right<V.left?(v=y,L=l,E(n,{x:b=(f+u)/2,y:e}),E(n,{x:b,y:v}),E(n,{x:L,y:v}),E(n,{x:L,y:w})):(E(n,{x:b,y:e}),E(n,{x:b,y:w})):2<=d.left?(E(n,{x:b=(A+p)/2,y:e}),E(n,{x:b,y:w})):2<=d.bottom?E(n,{x:p,y:e}):(v=F(a,y),E(n,{x:b=s.right<V.left?(f+u)/2:l,y:e}),E(n,{x:b,y:v}),E(n,{x:p,y:v}))):2<=c.bottom?2<=d.right?(v=S(x,g),b=S(u,l),E(n,{x:A,y:v}),E(n,{x:b,y:v}),E(n,{x:b,y:w})):2<=d.bottom?(v=x,V.left<A?(b=F(h,f),j=s.bottom<V.top?(s.bottom+V.top)/2:(V.bottom+s.top)/2,E(n,{x:A,y:v}),E(n,{x:b,y:v}),E(n,{x:b,y:j}),E(n,{x:p,y:j})):(E(n,{x:A,y:v}),E(n,{x:p,y:v}))):2<=d.left?(b=s.right<V.left?(f+u)/2:h,E(n,{x:A,y:v=x}),E(n,{x:b,y:v}),E(n,{x:b,y:w})):(b=s.right<V.left?(f+u)/2:l,j=y,E(n,{x:A,y:v=x}),E(n,{x:b,y:v}),E(n,{x:b,y:j}),E(n,{x:p,y:j})):2<=d.right?(b=h,L=l,v=V.bottom<s.top?(s.top+V.bottom)/2:F(a,y),E(n,{x:b,y:e}),E(n,{x:b,y:v}),E(n,{x:L,y:v}),E(n,{x:L,y:w})):2<=d.left?(b=h,s.right<V.left&&s.top<w?(L=(u+f)/2,v=a,E(n,{x:b,y:e}),E(n,{x:b,y:v}),E(n,{x:L,y:v}),E(n,{x:L,y:w})):(E(n,{x:b,y:e}),E(n,{x:b,y:w}))):(2<=d.bottom?(v=V.bottom<s.top?(b=h,(w+s.top)/2):(b=F(h,f),S(x,g)),E(n,{x:b,y:e})):(v=y,E(n,{x:b=h,y:e})),E(n,{x:b,y:v}),E(n,{x:p,y:v})),1===n.length&&E(n,{x:p,y:e}),E(n,r),t.setPoints(n)}},T.prototype.moveStraightLineByDelta=function(t,n,i){var V=t.getPoints().map(function(t){var V=t.x,t=t.y;return{x:V+n,y:t+i}});t.setPoints(V)},T.prototype.updateConnectionLinesLayout=function(t,o,d,a){var h,V,u,x;void 0===a&&(a=!1),(V=(h=this).getConnectionLines(t))&&(u=t.getActualConnectorPoints(),x=t.id,V.forEach(function(t){var V,n,i,e,r,n,c,s,c,n,i,n,i,s,c;if(t){if(n=t.startConnector&&0<=t.startConnector.index&&t.startConnector.id===x,i=t.endConnector&&0<=t.endConnector.index&&t.endConnector.id===x,e=o&&n,r=o&&i,t instanceof y.Line)return t.parent&&t.parent.shapes?void 0:(n&&(V=u[t.startConnector.index],t.endConnector||a?t.moveStartPoint(V.x,V.y):(n=t.x1,c=t.y1,s=V.x-n,c=V.y-c,h.moveStraightLineByDelta(t,s,c))),void(i&&(V=u[t.endConnector.index],t.startConnector||a?t.moveEndPoint(V.x,V.y):(n=t.x2,i=t.y2,s=V.x-n,c=V.y-i,h.moveStraightLineByDelta(t,s,c)))));!o||t.startConnector||t.endConnector?o?(n=h.scV,s=!(i=void 0,f.findShapeInCollectionById)(n,t.id),(c=t.startConnector)&&(i=c.id,x===i||(0,f.findShapeInCollectionById)(n,i)||(h.layoutConnectionLine(t),s=!1)),(c=t.endConnector)&&(i=c.id,x===i||(0,f.findShapeInCollectionById)(n,i)||(h.layoutConnectionLine(t),s=!1)),s&&d&&-1===d.indexOf(t)&&d.push(t)):h.layoutConnectionLine(t):e?(V=u[t.startConnector.index],t.moveStartPoint(V.x,V.y)):r&&(V=u[t.endConnector.index],t.moveEndPoint(V.x,V.y))}})),t.shapes&&t.shapes.forEach(function(t){h.updateConnectionLinesLayout(t,o,d)})},T.prototype.getConnectionLines=function(t){var V,t,V=this;return 1!==t.ttV&&(t=t.connectionLines)?t.map(function(t){return V.getShapeById(t)}):[]},T.prototype.getContainerAt=function(t,V,n){var i,e,r,i=this,e=n.parent;if(e&&e.isContainer&&e.left<=t&&t<e.left+e.width&&e.top<=V&&V<e.top+e.height)return e;for(r=0;r<i.shapes.length;r++)if((e=i.shapes[r])!==n&&e.isContainer&&e.left<=t&&t<e.left+e.width&&e.top<=V&&V<e.top+e.height)return e;return X},T.prototype.moveShapes=function(t,V,n){var i,t,e,r,c,s,o,o,i=this;V&&0<V.length&&(t=i.getPointer(t),e=t.x-i.activeX,r=t.y-i.activeY,e||r)&&(c=[],s=V.map(function(t){return t.id}),(o=i.hcV(V[0]))&&o.getSnapMode()!==I.SnapMode.none&&(o=i.getSnapMoveOffset({shape:n,pos:t.x,allShapes:V},{shape:n,pos:t.y,allShapes:V}),e=o.x,r=o.y),V.forEach(function(t){i.moveShape(t,e,r,s,c)}),c.length&&c.forEach(function(t){t.move(t.left+e,t.top+r)}),i.activeX=t.x,i.activeY=t.y)},T.prototype.hcV=function(t){return t.JVV&&t.JVV.Mf.shapes},T.prototype.getSnapMoveOffset=function(t,V){var n,i,e,r,c,s,o,n=this,i=0,e=0,r=(0,R.getActualBound)(t.shape),c=(0,R.getActualBound)(V.shape),s=t.pos-n.pointerInfo.lastStartMoveX,o=V.pos-n.pointerInfo.lastStartMoveY;return 0<s&&t.pos>=r.left+n.pointerInfo.mouseDownOffsetX||s<0&&t.pos<=r.left+n.pointerInfo.mouseDownOffsetX?0!==(i=(0,d.getShapeMoveOffset)({moveShapes:t.allShapes,offset:s,direction:0}))&&(n.pointerInfo.lastStartMoveX=t.pos):(n.pointerInfo.lastStartMoveX=t.pos,i=0),0<o&&V.pos>=c.top+n.pointerInfo.mouseDownOffsetY||o<0&&V.pos<=c.top+n.pointerInfo.mouseDownOffsetY?0!==(e=(0,d.getShapeMoveOffset)({moveShapes:V.allShapes,offset:o,direction:1}))&&(n.pointerInfo.lastStartMoveY=V.pos):(n.pointerInfo.lastStartMoveY=V.pos,e=0),{x:i,y:e}},T.prototype.moveShape=function(t,V,n,i,e,r){var c,s;void 0===r&&(r=!1),c=this,!t||t.JVV&&!t.JVV.allowMove()||(t.move(t.left+V,t.top+n),t.updateCenterData(),t.endConnector&&"callout"!==t.type&&(s=c.getShapeById(t.endConnector.id),c.disConnectLine(s,t,!1)),t.startConnector&&(s=c.getShapeById(t.startConnector.id),c.disConnectLine(s,t)),c.updateConnectionLinesLayout(t,!0,e,r))},T.prototype.disConnectLine=function(t,V,n){void 0===n&&(n=!0),t&&(n?V.oldStartConnector=V.startConnector:V.oldEndConnector=V.endConnector,t.removeConnectionLine(V.id)),n?V.startConnector=X:V.endConnector=X},T.prototype.resizeShapes=function(t,n,i){var e,V,r,c,s,r,o,d,a,r,e=this,V=e.hitTestResult;V.lineEnd?(r=dt(V.shape,i),e.resizeShape(V.shape,n,"",r)):V.resizeHandle&&(c=V.resizeHandle.type,s=V.shape,r=e.getDelta(e.getRotatePoint(n,s),s,c),o=r.x,d=r.y,V.shape&&1!==V.shape.ttV&&(a=e.hcV(V.shape)).getSnapMode()!==I.SnapMode.none&&(r=e.getSnapResizeDelt(t,V.shape,n.x,n.y,c,(0,B.getAvailableAngle)(s.angle)),o=r.x,d=r.y),t.forEach(function(t){var V;t.isResizing||(t.isResizing=!0),1!==t.ttV&&(V=dt(t,i),t===s?e.resizeShape(t,n,c,V,o,d):e.resizeNonActiveShape(s,t,n,c,V))})),e.activeX=n.x,e.activeY=n.y},T.prototype.resizeNonActiveShape=function(t,V,n,i,e){var r,c,s,t,s,r=this,c=V.resizeInfo,s={x:n.x-r.activeX,y:n.y-r.activeY};0!==t.angle&&(s=h(s,-o(t.angle))),0!==V.angle&&(s=h(s,o(V.angle))),(t=c.relativePoint).x+=s.x*c.ratioX,t.y+=s.y*c.ratioY,(s=r.getDelta(r.getRotatePoint(t,V),V,i)).x=v(s.x),s.y=v(s.y),r.resizeShape(V,n,i,e,s.x,s.y)},T.prototype.resizeShape=function(t,V,n,i,e,r){var c,s,o,d,a,c=this;t&&(s=c.hitTestResult,t.JVV&&!Y(t.JVV)||(s.lineEnd?((o=c.hcV(t))&&o.getSnapMode()!==I.SnapMode.none&&(V=this.getSnapResizeResult([t],V.x,V.y)),c.ucV(V.x,V.y)||(V=at(t,i,s.lineEnd,V)),ft(t,s.lineEnd,V.x,V.y),s.lineEnd===I.HitTestLineEnd.tail&&t.endConnector&&(d=c.getShapeById(t.endConnector.id),c.disConnectLine(d,t,!1)),s.lineEnd===I.HitTestLineEnd.head&&t.startConnector&&(d=c.getShapeById(t.startConnector.id),c.disConnectLine(d,t)),c.layoutConnectionLine(t)):s.resizeHandle&&(c.xcV(t,e,r,n,i),c.updateConnectionLinesLayout(t),t.JVV)&&((a=t.JVV).ytV.rtV=!1),t.updateCenterData()),t.resetPathOffset())},T.prototype.ycV=function(t){var V,n,V=this,n=V.hitTestResult;n&&n.shape&&(V.resizeShapes(V.scV,{x:V.activeX,y:V.activeY},t),V.paint())},T.prototype.xcV=function(t,V,n,i,e){i===I.ResizeHandleType.bottomRight?j(t,e,V,n,!1,!1):i===I.ResizeHandleType.topLeft?j(t,e,-V,-n,!0,!0):i===I.ResizeHandleType.topCenter?ht(t,e,-n,!0):i===I.ResizeHandleType.bottomCenter?ht(t,e,n,!1):i===I.ResizeHandleType.middleLeft?ut(t,e,-V,!0):i===I.ResizeHandleType.middleRight?ut(t,e,V,!1):i===I.ResizeHandleType.topRight?j(t,e,V,-n,!0,!1):i===I.ResizeHandleType.bottomLeft&&j(t,e,-V,n,!1,!0)},T.prototype.getSnapRotatePoint=function(t,V,n,i){var e,r,e=this,r=V.Eot;switch(n){case I.ResizeHandleType.topLeft:case I.ResizeHandleType.topRight:case I.ResizeHandleType.bottomLeft:case I.ResizeHandleType.bottomRight:return e.getRotatePoint(t,V);case I.ResizeHandleType.topCenter:case I.ResizeHandleType.bottomCenter:return 90===i||270===i?{x:t.x,y:-(t.x-r.x)/Math.sin(o(V.angle))}:{x:t.x,y:(t.y-r.y)/Math.cos(o(V.angle))};case I.ResizeHandleType.middleLeft:case I.ResizeHandleType.middleRight:return 90===i||270===i?{x:(t.y-r.y)/Math.sin(o(V.angle)),y:t.y}:{x:(t.x-r.x)/Math.cos(o(V.angle)),y:t.y}}},T.prototype.getSnapResizeResult=function(t,V,n){var i,n,i,n={targetShapes:t,direction:1,pointerPos:n};return{x:(0,d.getResizeTarget)({targetShapes:t,direction:0,pointerPos:V}),y:(0,d.getResizeTarget)(n)}},T.prototype.getSnapResizeDelt=function(t,V,n,i,e,r){var c,t;return void 0===r&&(r=0),t=(c=this).getSnapResizeResult(t,n,i),c.getDelta(c.getSnapRotatePoint(t,V,e,r),V,e)},T.prototype.rotateShapes=function(t){var V,n,i,e,r,V=this,n=V.rotateShape(t),i=V.scV.length;if(V.scV&&1<i)for(r=0;r<i;r++)1!==(e=V.scV[r]).ttV&&e.JVV&&e.JVV.allowRotate()&&e.setAngle(n)},T.prototype.rotateShape=function(t){var V,t,n,i,e,e,r,e,r,e,c,e,r,V=this,t=V.getPointer(t),n,i=V.hitTestResult.shape;return i&&i.JVV&&i.JVV.allowRotate()&&(e=x(i.width,i),r=x(i.height,i),r=(e=i.getCenterPoint(e,r)).x,e=e.y,c=Math.atan2(V.activeY-e,V.activeX-r),e=Math.atan2(t.y-e,t.x-r),r=i.angle+180*(e-c)/Math.PI,i.setAngle(e=(r=r<0?360+r:r)%360),V.updateConnectionLinesLayout(i)),V.activeX=t.x,V.activeY=t.y,e},T.prototype.changeVariablePoint=function(t){var V,t,n,i,V=this,t=V.getPointer(t),n=V.hitTestResult,i=n.shape;i&&i.changeVariablePoint&&(i.changeVariablePoint(t,n),V.updateConnectionLinesLayout(i),V.paint()),V.activeX=t.x,V.activeY=t.y},T.prototype.setSelect=function(t,V,n){var i,e;t&&((i=t.JVV)&&(e=i.isSelected(),n=n&&e!==V,i.ni=V,n)&&(i.enV("isSelected",e),i.ZiV()),t.isSelected=V)},T.prototype.group=function(t){var V,n,V=this;return t&&1<_(t)?((n=new U.CompoundShape(t,{})).id=V.getUniqueShapeId(),V.addShape(n),t.forEach(function(t){V.setSelect(t,!1),t.parent=n}),n):X},T.prototype.ungroup=function(n){var i;n&&n.isCompoundShape&&(i=this,n.shapes.forEach(function(t){var V=a({x:t.left-n.left,y:t.top-n.top},{x:0,y:0},o(n.angle));t.left=n.left+V.x,t.top=n.top+V.y,t.angle+=n.angle,t.resetPathOffset(),t.isCompoundShape&&t.layoutChildren(),t.parent=X,i.addShape(t)}),n.shapes.splice(0,n.shapes.length),i.removeShape(n))},T.getCursorFromHitLinkedTest=function(t,V,n){var i,e,r,t;return t&&(i=t.shape,e=t.type,r=i.JVV,i)&&(!(t=T.weV(t))||!t.hyperlink||u(t.hyperlink.url)&&u(t.hyperlink.command)||!t.JVV||i.JVV.ni?0!==V.length||n||(O(r)&&(!r.isSelected||r.isSelected&&e===I.HitTestType.body)?V="text":(e!==I.HitTestType.rotate||e===I.HitTestType.rotate&&r&&r.allowRotate())&&(V="move")):V="pointer"),V},T.getCursorFromHitTest=function(t){var V,n,i,e,i,e,e,i,r,V="";return t&&(n=t.shape,(i=t.resizeHandle)&&(e=n.angle,i=((i=nt.indexOf(i.type))+G(e/45))%8,e=!0,n&&n.JVV&&!1===n.JVV.allowResize()&&(e=!1),0<=i)&&e&&(V=Vt[i]),(t.type===I.HitTestType.rotate&&n.JVV&&!0===n.JVV.allowRotate()||t.lineEnd||t.type===I.HitTestType.adjustment)&&(V="crosshair"),i=(e=N(t))&&e.getCursor(t),V=(r=T.getCursorFromHitLinkedTest(t,V=i?i:V,!1))||V),V},T.prototype.getMoveShapesChanges=function(t,n){var i=[];return t.forEach(function(t){var V;t&&t.JVV&&P(t,n).forEach(function(t){i.push(t)})}),i},T.prototype.createShapeAlignChanges=function(t,V,n,i){var e,r,c,s,e=this,r=t.JVV.Mf.zoom(),c={name:t.JVV.name(),offsetX:n/r,offsetY:i/r,offsetWidth:0,offsetHeight:0},s;return 1===t.ttV?(c.points=mt(t,n,i),-1!==V.indexOf(t)&&(c.startConnector=X,c.endConnector=X)):(c.lineChanges=[],e.getConnectionLines(t).forEach(function(t){-1===V.indexOf(t)&&c.lineChanges.push(e.createShapeAlignChanges(t,V,n,i))})),c},T.prototype.doMouseMove=function(t){var i,e,V,n,r,c,s,s,o,d,a,h,u,x,y,f,l,c,s,c,g,s,c,i=this,e=i.hitTestResult;e?(V=N(e))&&V.onMouseMove(t,i)||(n=i.getPointer(t),"rotate"===e.type?i.rotateShapes(t):e.resizeHandle||e.lineEnd?(e.lineEnd&&(r=X,i.shapes.forEach(function(t){if(1!==t.ttV){var t=t.hitTest(n.x,n.y);if(t&&t.shape&&t.shape!==e.shape)return r=t,!1}}),c=i.connectTarget,i.connectTarget=X,r&&(s=r.target||r.shape,(i.connectTarget=s).showConnectors=!0),c)&&i.connectTarget!==c&&(c.showConnectors=!1),i.resizeShapes(i.scV,n,t.shiftKey)):e.adjustmentHandle?i.changeVariablePoint(t):(s=5<w(i.activeX-n.x)||5<w(i.activeY-n.y),!i.t_&&t.ctrlKey?s&&(o=[],d=[],a=[],h=[],i.scV)&&i.scV.length&&(i.scV.forEach(function(t){var V,n,V=t.JVV;V&&(n=V.Gf(),V.Mf.shapes.ZP(n),i.setSelect(n.ctV,!0,!0),i.setSelect(V.ctV,!1,!0),t===e.shape&&(e.shape=n.ctV),o.push(V),a.push(n),d.push(n.ctV),4===n.ttV&&(u=n.startConnector(),x=n.endConnector(),u||x)&&h.push(n),3===n.ttV)&&(h=h.concat((0,A.getLineShapeInGroup)(n)))}),y=(0,A.getShapeNameList)(o),f=(0,A.getShapeNameList)(a),h&&h.length&&h.forEach(function(t){u=t.startConnector(),x=t.endConnector(),u&&(l=p(u.name,y),u=-1<l?{name:f[l],index:u.index}:-1<p(u.name,f)?{name:u.name,index:u.index}:null,t.startConnector(u)),x&&(l=p(x.name,y),x=-1<l?{name:f[l],index:x.index}:-1<p(x.name,f)?{name:x.name,index:x.index}:null,t.endConnector(x))}),i.t_=!0,i.scV=d,i.fcV=o):i.lcV&&i.moveShapes(t,i.scV,e.shape)),(c=(s=(c=e.shape)&&c.JVV)&&s.Mf)?c.cnV():i.paint()):i.hitTestResultInProtectedMode?(V=N(g=i.hitTestResultInProtectedMode))&&V.onMouseMove(t,i):(s=i.host,c=i.hitTest(t),i.jdV(c,t),s.style.cursor=T.getCursorFromHitTest(c))},T.prototype.doMouseDown=function(t){var V,n,n,i,e,r,c,s,s,o,s,s,d,a,s,h,V=this,n={e:t,r:X};if(T.et(V,"preProcessMouseDown",n),!n.r){if(n=V.getPointer(t),V.activeX=n.x,V.activeY=n.y,i=V.hitTest(t),e=V.hitTest(t,!0),r=i?i.shape:X){if((c=N(i))&&c.onMouseDown(t,V))return V.hitTestResult=i,void(V.hitTestAnyway=e);s=(0,R.getActualBound)(r),V.pointerInfo={mouseDownOffsetX:n.x-s.left,mouseDownOffsetY:n.y-s.top,lastStartMoveX:n.x,lastStartMoveY:n.y},s=r.isSelected,r.gcV=s,V.AcV=V.activeX,V.wcV=V.activeY,s||(o=T.weV(i),(0,R.needProcessHyperlink)(o)&&!t.ctrlKey&&2!==t.button?V.processHyperlink(o):(t.shiftKey||t.ctrlKey||V.shapes.forEach(function(t){t!==r&&V.setSelect(t,!1,!0)}),V.setSelect(r,!0,!0),V.onShapeSelected&&V.onShapeSelected()),!o)||2!==t.button||!o.hyperlink||u(o.hyperlink.url)&&u(o.hyperlink.command)||((d=(s=(s=o.JVV)&&s.Mf).Dg()).style.cursor="move",u(o.hyperlink.tooltip))||s.parent.iy()}else if(V.isSheetProtected()&&(a=e?e.shape:X)&&((o=T.weV(e))&&o.hyperlink&&2!==t.button&&V.processHyperlink(o),c=N(e))&&c.onMouseDown(t,V))return V.hitTestResultInProtectedMode=e,void(V.hitTestAnyway=e);2!==t.button&&(V.hitTestResult=i),V.hitTestAnyway=e,V.scV=V.shapes.filter(function(t){return t.isSelected}),r&&r.isSelected&&(V.lcV=!0),s=r&&r.JVV,r&&!1===r.gcV&&!0===r.isSelected&&!t.ctrlKey&&O(s)&&(V.lcV=!1),i&&(i.lineEnd?ot(r):i.resizeHandle&&(h=V.getDelta(V.getRotatePoint(n,r),r,i.resizeHandle.type),V.scV.forEach(function(t){st(t,i.resizeHandle.type,r,h)}))),At(i),V.paint()}},T.prototype.doMouseUp=function(t){var n,V,i,e,r,c,s,o,V,d,a,h,u,x,y,f,l,g,A,p,l,w,v,j,b,L,j,m,b,y,C,n=this,V={e:t,r:X};if(T.et(n,"preProcessMouseUp",V),!V.r){if((r=n.hitTestResult)&&r.shape){if(s=r.shape,o=wt(o=n.getConnectionLines(s)),d=(V=s.JVV)&&V.name(),a=(i=V&&V.Mf)&&i.name(),h=i&&i.Qy(),(u=N(r))&&u.onMouseUp(t,n))return n.hitTestResult=X,void(n.lcV=!1);if("rotate"===r.type)n.setSelect(s,!0),V&&V.allowRotate()&&(x=[],n.scV.forEach(function(t){t&&t.JVV&&(e=It(t,o)).forEach(function(t){x.push(t)})}),h.execute({cmd:"rotateShapes",sheetName:a,changes:x}));else if(r.adjustmentHandle&&V)y=s.getAdjustChanges(),f=V.Mf.zoom(),y&&1===s.ttV&&y.points&&0<y.points.length&&(y.points=y.points.map(function(t){return{x:t.x/f,y:t.y/f}})),y&&(l=void 0,g={},1===s.ttV?l="updateConnectShapePoints":(l="updateShapes",y.values=[[M.ADJUSTMENTS,y.values]],y.oldValues=[[M.ADJUSTMENTS,y.oldValues]]),g[d]=y,h.execute({cmd:l,sheetName:a,shapes:[d],values:g}));else if(r.resizeHandle)V&&Y(V)&&(A=[],p=r.resizeHandle.type===I.ResizeHandleType.bottomCenter||r.resizeHandle.type===I.ResizeHandleType.topCenter,n.scV.forEach(function(t){t&&t.JVV&&(t.isResizing=!1,(e=P(t,o)).forEach(function(t){!p&>(s)&&(t.offsetHeight=0),A.push(t)}))}),h.execute({cmd:"resizeShapes",sheetName:a,changes:A}));else if(r.resizeHandle||r.lineEnd||r.adjustmentHandle||n.AcV===n.activeX&&n.wcV===n.activeY)if(r.type===I.HitTestType.lineEnd&&r.lineEnd){for(v=0;v<n.shapes.length;v++)if((j=n.shapes[v])!==r.shape&&(c=n.getPointer(t),b=j.hitTest(c.x,c.y))&&b.shape===j&&b.type===I.HitTestType.connectionPoint){L=r.shape,m=(j=b.target||j).id,b=b.connectionPointIndex,r.lineEnd===I.HitTestLineEnd.tail?L.endConnector={id:m,index:b}:L.startConnector={id:m,index:b},j.addConnectionLine(L.id),n.layoutConnectionLine(L);break}V&&Y(V)&&h.execute({cmd:"resizeShapes",sheetName:a,changes:P(s,o)})}else(t.shiftKey||t.ctrlKey)&&r.shape.gcV&&n.setSelect(r.shape,!1,!0),c=n.getPointer(t),y=n.getContainerAt(c.x,c.y,s),s!==y&&y!==s.parent?(s.parent&&s.parent.removeShape(s,!0),y?(y.addShape(s,c),y.resetPathOffset(),s.parent.recalcChildren()):n.addShape(s)):s.parent&&s.parent.isContainer&&(s.parent.childMoved(s,c),s.parent.recalcChildren()),(0,R.needProcessHyperlink)(s)||"mouseup"!==t.type||t.shiftKey||t.ctrlKey||r.type!==I.HitTestType.body||!O(V)||(n.jrV(s),h.execute({cmd:K,sheetName:a,shapeName:d}));else V&&V.allowMove()&&!n.t_?(l=n.getMoveShapesChanges(n.scV,o),h.execute({cmd:"moveShapes",sheetName:a,changes:l})):V&&V.allowMove()&&n.t_&&(w=[],n.scV.forEach(function(t,V){t&&t.JVV&&(e=P(t,o)).forEach(function(t){w.push({oldShapeName:n.fcV[V].name(),name:t.name,offsetX:t.offsetX,offsetY:t.offsetY})})}),h.execute({cmd:"dragCopyShapes",sheetName:a,changes:w}),n.t_=!1,delete n.fcV);n.veV(s,i),At(r)}else if(n.hitTestResultInProtectedMode&&(u=N(C=n.hitTestResultInProtectedMode))&&u.onMouseUp(t,n))return n.hitTestResultInProtectedMode=X,void(n.lcV=!1);n.connectTarget&&(n.connectTarget.showConnectors=!1),n.hitTestResult=X,delete n.scV,n.lcV=!1,i?i.cnV():n.paint()}},T.prototype.doMouseOut=function(t){var V,n,V=this,n={e:t,r:X};T.et(V,"preProcessMouseOut",n),n.r||(V.doMouseUp(t),V.jdV(X,t),V.hitTestResult=X)},T.prototype.doKeyDown=function(t){var V,n,V=this,n={e:t,r:X};T.et(V,"preProcessKeyDown",n),n.r||t.key===s&&V.ycV(!0)},T.prototype.doKeyUp=function(t){var V,n,V=this,n={e:t,r:X};T.et(V,"preProcessKeyUp",n),n.r||t.key===s&&V.ycV(!1)},T.prototype.processHyperlink=function(t){var V,t,t,n,i,V=t.hyperlink,t=t.JVV;t&&(n=(t=t.Mf)&&t.Qy(),i=V.command,u(i)||i===c?u(V.url)||(n?t.getParent().commandManager().execute({cmd:c,sheetName:t.name(),url:V.url,target:V.target||0}):W(Q(V.url),["_blank","_self","_parent","_top"][V.target])):"string"==typeof i?t.getParent().commandManager().execute({cmd:i,sheetName:t.name()}):"function"==typeof i&&i.call(X,t))},T.prototype.jdV=function(t,V){var n,t,n=this,t=t&&N(t);t!==n.LdV&&(n.LdV&&n.LdV.onMouseLeave(V,n),t&&t.onMouseEnter(V,n),n.LdV=t)},T.prototype.veV=function(t,V){var t,V;t.JVV&&(t=_t(V),V=R.ShapeTextEditor.getInstance(),t)&&1===t.length&&!V.isOpened&&0===t[0].ttV&&V.initEditor(t[0].JVV)},T.prototype.ucV=function(t,V){var n,n,n=this.connectTarget;return!!n&&(n=n.hitTest(t,V))&&n.type===I.HitTestType.connectionPoint},T.prototype.jrV=function(t){var V,n,i,e,V=this,n=V.model.getShapes(),i=t.JVV.Mf;for(i.suspendPaint(),e=0;e<n.length;e++)n[e]!==t&&V.setSelect(n[e],!1,!0);i.resumePaint()},l=T,t.Canvas=l,(0,i.$e)(l),t.getShouldProcessControlShape=N,t.createLine=Mt},"./dist/plugins/shape/ui/compoundShape.js":function(t,V,n){var i,o,e,a,c,h,s,r,d,u,x,y,f,l,g,A,p,w;function v(t){var n,i,e,r;return t.forEach(function(t,V){0===V&&(n=e=t.x,i=r=t.y),n=y(t.x,n),e=f(t.x,e),i=y(t.y,i),r=f(t.y,r)}),{left:n,top:i,right:e,bottom:r}}function j(t,V,n){var i,e,r,c,s,o,d;if(t&&t.length){if(r=(e=(!0===n?(0,a.getActualBound):b)((i=function(t){return t instanceof h.ShapeBase?t.ctV:t})(t[0]),V)).left,c=e.right,s=e.top,o=e.bottom,1!==t.length)for(d=1;d<t.length;d++)(e=(!0===n?(0,a.getActualBound):b)(i(t[d]),V)).left<r&&(r=e.left),e.top<s&&(s=e.top),e.right>c&&(c=e.right),e.bottom>o&&(o=e.bottom);return{left:r,top:s,right:c,bottom:o}}return{left:0,top:0,right:0,bottom:0}}function b(t,V){return 1===t.ttV?v(t.getPoints()):(0,a.getActualBound)(t,V)}function L(t,V){var n,i,V,t,e,r,V,n=w.call(this)||this,i=n;return i.shapes=t,i.options=V,i.id=V.id,i.isCompoundShape=!0,i.ttV=2,t&&(t=(V=j(t,!0)).left,e=V.top,r=V.right,V=V.bottom,i.left=t,i.top=e,i.width=r-t,i.height=V-e,i.shapes.forEach(function(t){t.parent=i}),i.updateRelativeLocationAndSize(),i.path=[new c.Path]),n}i=this&&this.__extends||(p=function(t,V){return(p=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}p(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.CompoundShape=V.getBoundForHoldShapes=V.getLineShapeBoundByPoints=void 0,o=n("./dist/plugins/shape/shape.interface.js"),e=n("./dist/plugins/shape/ui/util.js"),a=n("./dist/plugins/shape/ui/shapes.js"),c=n("./dist/plugins/shape/ui/path.js"),h=n("./dist/plugins/shape/shapeView.js"),s=e.Common.defineProperty,r=e.Common.Array_remove,d=e.Common.rotateBound,u=e.Common.calculateBoundByRects,x=a.ShapeUI.prototype,y=Math.min,f=Math.max,l=null,g=void 0,V.getLineShapeBoundByPoints=v,V.getBoundForHoldShapes=j,w=a.ShapeUI,i(L,w),L.prototype.setBounds=function(){},L.prototype.setService=function(t){var n,V,i,e,r,c,c,n=this;n.service!==t&&(e=i=V=void 0,n.service&&(c=n.id,V=n.service.getOptions(c,!0),i=n.getGeoProperties(),e=n.connectionLines,r=n.parent,n.service.calcSource_.removeObject(c),n.service=l,n.model={},n.options=V,n.setGeoProperties(i),n.connectionLines=e,n.parent=r),t)&&(t.setValue(n.id,"isCompoundShape",!0),V=n.options,i=n.getGeoProperties(),e=n.connectionLines,r=n.parent,n.service=t,(c=Object.getOwnPropertyDescriptor(n,"options"))&&c.get||(a.ShapeProperties.forEach(function(V){s(n,V,{get:function(){var t=n.service;return t?t.getValue(n.id,V):n.model[V]},set:function(t){(0,a.setShapeProperty)(n,n.id,V,t)}})}),s(n,"options",{get:function(){var t,t,t=n.service;return t?(t=t.getOptions(n.id),n.optionsCache=(0,a.composite)({},t)):n.model.options},set:function(t){var V=n.service;V?V.setOptions(n.id,t):n.model.options=t}}),s(n,"connectionLines",{get:function(){var t=n.service;return t?t.getConnectionLines(n.id):n.model.connectionLines},set:function(t){var V=n.service;V?V.setConnectionLines(n.id,t):n.model.connectionLines=t}}),s(n,"parent",{get:function(){var t=n.service;return t?t.getShapeById(t.getValue(n.id,"parentId")):n.model.parentId},set:function(t){var V=n.service;V?V.setValueOrFormula(n.id,"parentId",t?t.id:void 0):n.model.parentId=t?t.id:void 0}})),n.setGeoProperties(i),n.connectionLines=e,n.parent=r,n.options=V||{}),n.setBounds()},L.prototype.zIndex=function(t,V,n){var i,e=this.shapes;e.splice(t,1),e.splice(V,0,n)},L.prototype.getZIndex=function(t){return this.shapes.indexOf(t)},L.prototype.render=function(i,e,r,c){var t,V,n,s,o,d,V,t=this,V=t.shapes,n=t.left,s=t.top,o=t.width,d=t.height;V&&0!==V.length&&(i.save(),t.transform(i,t.getCenterPoint(o,d)),i.translate(-n-o/2,-s-d/2),V.forEach(function(t){var V,n,V=t.JVV,n;V&&!V.HiV()||t.render(i,e,r,c)}),i.translate(n+o/2,s+d/2),V=t.JVV,!1!==c&&null!=V&&V.showHandle()&&t.paintSelection(i,n,s,o,d),i.restore())},L.prototype.setAngle=function(t){var V=this,n,i=t-V.angle;x.setAngle.call(V,t),V.shapes.forEach(function(t){var V=(t.angle+i)%360;V<0&&(V+=360),t.JVV&&1!==t.ttV&&(t.JVV.ytV.Rotation=V),t.setAngle(V)}),V.layoutChildren()},L.prototype.move=function(t,V,n){var i=this;x.move.call(i,t,V,n),i.layoutChildren()},L.prototype.layoutChildren=function(){var t,n,i,e,r,t=this,n=t.left,i=t.top,e=t.width,r=t.height;t.shapes.forEach(function(t){var V;1===t.ttV?(V=t.inV.map(function(t){return{x:n+t.relativeX*e,y:i+t.relativeY*r}}),t.setPoints(V)):(t.left=n+t.relativeX*e,t.top=i+t.relativeY*r,t.width=t.relativeWidth*e,t.height=t.relativeHeight*r,t.resetPathOffset(),t.updateCenterData(),t.layoutChildren&&t.layoutChildren())})},L.prototype.hitTest=function(V,n){var t,i,e,r,c,s,t=this,i=x.hitTest.call(t,V,n);return!i||i.type!==o.HitTestType.resize&&i.type!==o.HitTestType.rotate?(e=i.type,(r=(i=l,a.getCtx)()).save(),c=t.width,s=t.height,t.transformContext(r,t.getCenterPoint(c,s)),r.translate(-t.left-c/2,-t.top-s/2),t.shapes.forEach(function(t){var t=t.hitTest(V,n,r);if(t&&t.shape)return i=t,!1}),r.restore(),i&&i.shape?{type:i.type||o.HitTestType.body,shape:t,targetType:e,target:i.target||i.shape,connectionPointIndex:i.connectionPointIndex}:l):i},L.prototype.addShape=function(t,V,n){var n,i,i=this;t.parent=i,n!==g?i.shapes.splice(n,0,t):i.shapes.push(t),null!=(n=i.service)&&n.onAddedChildShape(t),V||i.update()},L.prototype.update=function(){var t,V,n,i,e,t=this,V=Number.MAX_VALUE,n=Number.MAX_VALUE,i=Number.MIN_VALUE,e=Number.MIN_VALUE;t.shapes.forEach(function(t){var t,t=1===t.ttV?v(t.getPoints()):(0,a.getActualBound)(t);t.left<V&&(V=t.left),t.top<n&&(n=t.top),t.right>i&&(i=t.right),t.bottom>e&&(e=t.bottom)}),t.left=V,t.top=n,t.width=i-V,t.height=e-n,t.updateCenterData(),t.updateRelativeLocationAndSize()},L.prototype.updateRelativeLocationAndSize=function(){var t,n,i,e,r,t=this,n=t.left,i=t.top,e=t.width,r=t.height;t.shapes.forEach(function(t){var V,V;1===t.ttV?t.inV=t.getPoints().map(function(t){return{relativeX:(t.x-n)/(e||1),relativeY:(t.y-i)/(r||1)}}):(V=null==(V=t.JVV)?void 0:V.ytV,e?(t.relativeX=(t.left-n)/e,t.relativeWidth=t.width/e):(t.relativeX===g&&(t.relativeX=V?V.GVV:0),t.relativeWidth===g&&(t.relativeWidth=V?V.asV:0)),r?(t.relativeY=(t.top-i)/r,t.relativeHeight=t.height/r):(t.relativeY===g&&(t.relativeY=V?V.osV:0),t.relativeHeight===g&&(t.relativeHeight=V?V.hsV:0)))})},L.prototype.removeShape=function(t,V){var n,i,i=this;delete t.parent,r(i.shapes,t),null!=(n=i.service)&&n.onRemovedChildShape(t),V||i.update()},L.prototype.pcV=function(t,V){var n=this;n.width=t,n.height=V},L.prototype.getRenderBound=function(t){var V,n,i,i,t,e,r,c,t;return t===g&&(t=this.isSelected),V=this.Eot,n=this.getShapeRotate(),i=this.shapes.map(function(t){var t=t.getRenderBound();return t=0!==n?d(t,V,n):t}),i=u(i),t&&(t=this.left,e=this.top,r=this.width,c=this.height,t=(0,a.expandBoundWithShapeSelected)({left:t,top:e,right:t+r,bottom:e+c},this.Oi),0!==n&&(t=d(t,V,n)),i=u([i,t])),i},L.prototype.lsV=function(){return Promise.all(this.shapes.map(function(t){return t.lsV()})).then(function(){})},Object.defineProperty(L.prototype,"isResizing",{get:function(){return this.Eb},set:function(V){this.Eb=V,this.shapes.forEach(function(t){t.isResizing=V})},enumerable:!1,configurable:!0}),V.CompoundShape=L},"./dist/plugins/shape/ui/control.js":function(t,V,n){var i,e,r,c,s,o;function d(){var t=null!==o&&o.apply(this,arguments)||this;return t.bdV=!0,t}i=this&&this.__extends||(s=function(t,V){return(s=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}s(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.ControlUI=void 0,e=n("./dist/plugins/shape/ui/shapes.js"),r=n("./dist/plugins/shape/ui/util.js"),o=e.ShapeUI,i(d,o),d.prototype.onMouseEnter=function(t,V){},d.prototype.onMouseLeave=function(t,V){},d.prototype.processTouchStart=function(){return!0},d.prototype.getPointerRelativeControl=function(t,V){var V,V=V?V.getPointer(t):(0,r.getPointerByMouseEvt)(this.JVV,t);return this.convertToRelativePoint(V)},d.prototype.convertToRelativePoint=function(t){return t.x-=this.left,t.y-=this.top,t},V.ControlUI=d},"./dist/plugins/shape/ui/formControl.js":function(t,V,n){var i,c,n,s,e,r,o;function d(){return null!==o&&o.apply(this,arguments)||this}i=this&&this.__extends||(r=function(t,V){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}r(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.FormControlShapeUI=void 0,c=n("./dist/plugins/shape/shape.interface.js"),n=n("./dist/plugins/shape/ui/control.js"),s={hAlign:0,vAlign:0,wrapText:!0},o=n.ControlUI,i(d,o),d.prototype.hitTest=function(t,V,n){var i,e,r,i=this,e=i.formControl,r=o.prototype.hitTest.call(this,t,V,n);return r&&r.type!==c.HitTestType.body?r:e&&e.hitTest({x:t,y:V})?i.isSelected?o.prototype.hitTest.call(this,t,V,n):{shape:i}:{}},d.prototype.Dn=function(t,V,n,i,e){var r,c,s,e,r=this,c=r.formControl,s=r.zoom;i&&void 0!==e&&(r.TtV=!0,r.OtV=e),e=r.zoom,c&&(r.vcV(t,V,n,i),t.save(),t.scale(e,e),c.render(t,i),t.restore()),r.OtV=s},d.prototype.Me=function(t,V,n){var i,e,r,i,i=this,e,r=i.formControl.styleSupportInfo();r.supportText&&(i.setTextRect(r.textRect),i=i.JVV&&i.JVV.ytV.Mfn||s,r.supportHAlign||(V.horizontalAlignment=i.hAlign),r.supportVAlign||(V.verticalAlignment=i.vAlign),r.supportWrapText||(V.wrapTextInShape=i.wrapText),o.prototype.Me.call(this,t,V,n))},d.prototype.vcV=function(t,V,n,i){var e,r,c,s,e=this,r=e.options;r&&((c=e.formControl.styleSupportInfo()).supportFill||c.supportLine)&&((s=r.stroke)&&!s.color&&(s.color="transparent"),t.save(),i?(t.isPrintContext=!0,c.supportFill&&e.renderPath(t,r,V,n,!1,!0,!0),c.supportLine&&e.renderPath(t,r,V,n,!0,!0,!1)):e.renderPath(t,r,V,n,!c.supportFill,!0,!c.supportLine),t.restore())},d.prototype.getCursor=function(t){var V=this.formControl;return V.isNeedControlCursorBySelf&&V.isNeedControlCursorBySelf()||this.isSelected?void 0:"default"},d.prototype.onMouseDown=function(t,V){var t={evt:t,canvas:V,cancelDefault:!1};return this.formControl.onMouseDown(t),t.cancelDefault},d.prototype.onMouseMove=function(t,V){var t={evt:t,canvas:V,cancelDefault:!1};return this.formControl.onMouseMove(t),t.cancelDefault},d.prototype.onMouseUp=function(t,V){var t={evt:t,canvas:V,cancelDefault:!1};return this.formControl.onMouseUp(t),t.cancelDefault},d.prototype.setTextRect=function(t){var V,n,n,V=this,n=V.zoom;t.x*=n,t.y*=n,t.w*=n,t.h*=n,n={left:t.x,top:t.y,width:t.w,height:t.h,right:t.x+t.w,bottom:t.y+t.h},V.textRect=n},Object.defineProperty(d.prototype,"zoom",{get:function(){var t=this;return t.TtV?t.OtV:1},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"formControl",{get:function(){var t;return this.JVV.GtV},enumerable:!1,configurable:!0}),V.FormControlShapeUI=d},"./dist/plugins/shape/ui/lines.js":function(t,V,n){var i,a,p,w,n,r,e,c,s,v,d,o,h,j,u,b,x,y,f,n,l,g,A,L,m,C;function R(t,V,n){var i,i,e,i=t.service;i!==V&&(i&&(t.model=i.getValues(t.id,"",!0)),V?(i=t.options,e=t.points,t.id||(t.id=V.getUniqueShapeId()),V.setValue(t.id,"type",n),t.service=V,t.options=i,t.points=e):t.service=V)}function I(){return null!==L&&L.apply(this,arguments)||this}function M(){return null!==m&&m.apply(this,arguments)||this}function _(t,V,n){for(var i,e,r,i=[],e=0,r=t.length;e<r;e++)i.push((t[e].x-V)/n);return i}function E(t,V){return+t.toFixed(V=V||3)}function S(t,V,n){for(var i,e,r,i=[],e=0,r=t.length;e<r;e++)i.push((t[e].y-V)/n);return i}function F(){return null!==C&&C.apply(this,arguments)||this}i=this&&this.__extends||(A=function(t,V){return(A=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}A(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.ZipLine=V.Line=void 0,a=n("./dist/plugins/shape/ui/util.js"),p=n("./dist/plugins/shape/ui/shapes.js"),w=n("./dist/plugins/shape/shape.interface.js"),n=n("./dist/plugins/shape/ui/options.js"),r=a.Common.extend,e=a.Common.getOptionValue,c=(0,n.getStyle)("defaultLine"),s=a.Common.defineProperty,v=a.Common.getPointToLine,d=a.Common.rotatePoint,o=a.Common.expandRectangle,h=a.Common.calculateBoundByPoints,j=a.Common.calculateRectangleCenterPoint,u=Math.max,b=Math.round,x=6,y=null,f=void 0,L=p.ShapeUI,i(I,L),I.prototype.jcV=function(t,V,n){var i,e,r,e,c,s,c,o,d,a,i,i=this;if(i.bcV())return r=(e=i.getStartPoint()).x,e=e.y,s=(c=i.getEndPoint()).x,c=c.y,o=i.left+i.width/2,d=i.top+i.height/2,a=y,t.beginPath(),i=i.Oi?20:7,t.rect(r-o-i,e-d-i,2*i,2*i),t.closePath(),t.isPointInPath(V,n)?a=w.HitTestLineEnd.head:(t.beginPath(),t.rect(s-o-i,c-d-i,2*i,2*i),t.closePath(),t.isPointInPath(V,n)&&(a=w.HitTestLineEnd.tail)),a},I.prototype.mcV=function(t,V,n){var i,e,r,c,i=this;i.bcV()&&(e=6,c=(r=i.getPoints()).length,t.save(),t.strokeStyle="gray",t.lineWidth=1,t.fillStyle="white",t.beginPath(),t.arc(r[0].x-i.left-V/2+.5,r[0].y-i.top-n/2+.5,3,0,2*Math.PI),t.fill(),t.arc(r[0].x-i.left-V/2+.5,r[0].y-i.top-n/2+.5,3,0,2*Math.PI),t.stroke(),t.beginPath(),t.arc(r[c-1].x-i.left-V/2+.5,r[c-1].y-i.top-n/2+.5,3,0,2*Math.PI),t.fill(),t.arc(r[c-1].x-i.left-V/2+.5,r[c-1].y-i.top-n/2+.5,3,0,2*Math.PI),t.stroke(),t.restore())},I.prototype.bcV=function(){var t=this.JVV;return t&&!1!==t.allowResize()},I.prototype.getPoints=function(){return[]},I.prototype.getRenderBound=function(t){var V,n,V,i,e,n;return t===f&&(t=this.isSelected),V=this.getPoints(),n=this.options,V=h(V),i=u(n.stroke.width,p.MIN_LINE_WIDTH),e=Math.ceil(i/2),n.endPoints&&(n=u(p.MIN_ARROW_LINE_WIDTH,i),e=u(e,n*p.MAX_ARROW_WIDTH_RATIO*p.ARROW_STEALTH_RATIO)),t&&(e=u(e,this.Oi?p.VARIABLE_RECT_SIZE_IN_TOUCH:p.VARIABLE_RECT_SIZE)),o(V,e+p.RENDER_BOUND_EPSILON)},i(M,m=n=I),M.prototype.CcV=function(t,V){var n,i,e,n=this;n.model=t||{},n.ttV=1,e=i=y,t&&(i=r({},c,t.options),e=t.points,n.id=t.id),n.setService(V),n.defineProperties(),n.showConnectors=!1,t&&(n.options=i,e)&&n.setPoints(e)},M.prototype.setService=function(t){R(this,t,"Line")},M.prototype.defineProperties=function(){var i,t,i=this;s(i,"options",{get:function(){var t,t,t;return i.optionsCache||(t=(t=i.service)?t.getOptions(i.id):i.model.options,i.optionsCache=r({},t))},set:function(t){delete i.optionsCache;var V=i.service;V?V.setOptions(i.id,t):i.model.options=t}}),s(i,"startConnector",{get:function(){var t,t,t=i.service;return t?(t=t.getValues(i.id,"startConnector"))&&t.startConnector:i.model.startConnector},set:function(t){var V=i.service;V?V.setValues(i.id,"startConnector",t):i.model.startConnector=t}}),s(i,"endConnector",{get:function(){var t,t,t=i.service;return t?(t=t.getValues(i.id,"endConnector"))&&t.endConnector:i.model.endConnector},set:function(t){var V=i.service;V?V.setValues(i.id,"endConnector",t):i.model.endConnector=t}}),(t=["x1","y1","x2","y2"]).forEach(function(n){s(i,n,{get:function(){var t=i.service;return t?t.getValue(i.id,n):i.model[n]},set:function(t){var V=i.service;V?V.setValue(i.id,n,t):i.model[n]=t}})})},M.prototype.setPoints=function(t,V){var n,i,t;!t||t.length<1||(isNaN(V)&&(V=1),i=t[0],t=t[t.length-1],(n=this).x1=i.x*V,n.y1=i.y*V,n.x2=t.x*V,n.y2=t.y*V,n.left=Math.min(n.x1,n.x2),n.top=Math.min(n.y1,n.y2),n.width=Math.max(n.x1,n.x2)-n.left,n.height=Math.max(n.y1,n.y2)-n.top,n.updateCenterData(),n.isFlipH=n.x1<n.x2,n.isFlipV=n.y1<n.y2)},M.prototype.getPoints=function(){var t=this;return[{x:t.x1,y:t.y1},{x:t.x2,y:t.y2}]},M.prototype.getStartPoint=function(){var t=this;return{x:t.x1,y:t.y1}},M.prototype.getEndPoint=function(){var t=this;return{x:t.x2,y:t.y2}},M.prototype.renderPath=function(t,V,n,i,e,r,c,s){var o,d,a,h,u,x,a,h,u,h,y,f,l,g,A,o=this,d=o.options,a=o.P5e(),h=a.left,u=a.top,x=a.width,a=a.height,h=j(h,u,x,a),u=h.x,h=h.y,y=b(o.x1),f=b(o.x2),l=b(o.y1),g=b(o.y2),A;(0,p.drawLineShape)(t,[{x:y-u,y:l-h},{x:f-u,y:g-h}],o,x,a,d,s)},M.prototype.hitTest=function(t,V){var n,i,e,r,e,i,e,c,n=this,i=n.width,e=n.height,r=(0,p.getCtx)();return r.save(),n.transformContext(r,n.getCenterPoint(i,e)),i={},(e=n.jcV(r,t,V))?(i.shape=n,i.type=w.HitTestType.lineEnd,i.lineEnd=e):(e=n.Oi?10:3,(c=v(t,V,n.x1,n.y1,n.x2,n.y2)<=e)&&(i.shape=n,i.type=w.HitTestType.body)),r.restore(),i},M.prototype.paintSelection=function(t){var V,n,i,V=this;V.isSelected&&(n=e(V.width+"",V),i=e(V.height+"",V),V.mcV(t,n,i))},M.prototype.move=function(t,V){var n,i,e,n=this,i=t-n.left,e=V-n.top;n.left=t,n.top=V,n.x1+=i,n.y1+=e,n.x2+=i,n.y2+=e,n.updateCenterData()},M.prototype.resizeHeight=function(t,V){var n,t,n=this,t=t-n.height;n.originalY1||(n.originalY1=n.y1),n.originalY2||(n.originalY2=n.y2),n.originalY2>n.originalY1?n.y2+=t:n.originalY2<n.originalY1&&(n.y1+=t),n.updateCenterData()},M.prototype.resizeWidth=function(t,V){var n,t,n=this,t=t-n.width;n.originalX1||(n.originalX1=n.x1),n.originalX2||(n.originalX2=n.x2),n.originalX2>n.originalX1?n.x2+=t:n.originalX2<n.originalX1&&(n.x1+=t),n.updateCenterData()},M.prototype.moveStartPoint=function(t,V){var n=this;n.setPoints([{x:t,y:V},{x:n.x2,y:n.y2}])},M.prototype.moveEndPoint=function(t,V){var n=this;n.setPoints([{x:n.x1,y:n.y1},{x:t,y:V}])},M.prototype.updateStartConnector=function(t){var V,n,i,e,V=this,n=V.startConnector;n&&(i=V.service.getShapeById(n.id)).removeConnectionLine(V.id),(V.startConnector=t)&&(e=V.service.getShapeById(t.id)).addConnectionLine(V.id)},M.prototype.updateEndConnector=function(t){var V,n,i,e,V=this,n=this.endConnector;n&&(i=V.service.getShapeById(n.id)).removeConnectionLine(V.id),(V.endConnector=t)&&(e=V.service.getShapeById(t.id)).addConnectionLine(V.id)},V.Line=M,i(F,C=n),F.prototype.CcV=function(t,V){var n,i,e,n=this;n.model=t||{},n.ttV=1,e=i=y,t&&(i=r({},c,t.options),e=t.points,n.id=t.id),n.setService(V),n.defineProperties(),n.showConnectors=!1,t&&(n.options=i,e)&&n.setPoints(e)},F.prototype.setService=function(t){R(this,t,"ZipLine")},F.prototype.defineProperties=function(){var n=this;s(n,"options",{get:function(){var t,V,V,t=n.optionsCache;return t||(V=(V=n.service)?V.getOptions(n.id):n.model.options,n.optionsCache=t=r({},V),t)},set:function(t){delete n.optionsCache;var V=n.service;V?V.setOptions(n.id,t):n.model.options=t}}),s(n,"points",{get:function(){var t,t,t=n.service;return t?(t=t.getValues(n.id,"points"))&&t.points:n.model.points},set:function(t){var V=n.service;V?V.setValues(n.id,"points",t):n.model.points=t}}),s(n,"startConnector",{get:function(){var t,t,t=n.service;return t?(t=t.getValues(n.id,"startConnector"))&&t.startConnector:n.model.startConnector},set:function(t){var V=n.service;V?V.setValues(n.id,"startConnector",t):n.model.startConnector=t}}),s(n,"endConnector",{get:function(){var t,t,t=n.service;return t?(t=t.getValues(n.id,"endConnector"))&&t.endConnector:n.model.endConnector},set:function(t){var V=n.service;V?V.setValues(n.id,"endConnector",t):n.model.endConnector=t}})},F.prototype.getStartPoint=function(){var t=this.getPoints();return{x:t[0].x,y:t[0].y}},F.prototype.getEndPoint=function(){var t=this.getPoints();return{x:t[t.length-1].x,y:t[t.length-1].y}},F.prototype.moveStartPoint=function(t,V){var n,i,V,i,n=this,i=n.getPoints(),V={x:t,y:V},i=i[i.length-1];t=(V.x+i.x)/2,n.setPoints([V,{x:t,y:V.y},{x:t,y:i.y},i])},F.prototype.getAdjustChanges=function(){var t,V,n,i,e,r,c,t=this,n=!1,i=t.RcV,e=t.points;if(t.RcV){for(r=0,c=e.length;r<c;r++)if(i[r].x!==e[r].x||i[r].y!==e[r].y){n=!0;break}n&&(V={oldPoints:i,points:e})}return delete t.RcV,V},F.prototype.moveEndPoint=function(t,V){var n,i,e,V,n=this,i,e=n.getPoints()[0],V={x:t,y:V};t=(e.x+V.x)/2,n.setPoints([e,{x:t,y:e.y},{x:t,y:V.y},V])},F.prototype.setPoints=function(t,V){var n,i,i,t,n=this,i=t.length;isNaN(V)&&(V=1),t=t.map(function(t){return{x:t.x*V,y:t.y*V}}),n.points=t,i<1||(i=t[0],t=t[t.length-1],n.left=Math.min(i.x,t.x),n.top=Math.min(i.y,t.y),n.width=Math.abs(i.x-t.x),n.height=Math.abs(i.y-t.y),n.updateCenterData())},F.prototype.getPoints=function(){for(var t,V,n,i,t=this.points,V=[],n=0,i=t.length;n<i;n++)V.push({x:t[n].x,y:t[n].y});return V},F.prototype.renderPath=function(t,V,n,i,e,r,c,s){var o,d,a,h,u,x,y,h,u,f,l,x,o=this,d=o.options,a=o.getPoints(),h=o.P5e(),u=h.left,x=h.top,y=h.width,h=h.height,u=j(u,x,y,h),f=u.x,l=u.y,x=a.map(function(t){return{x:b(t.x)-f,y:b(t.y)-l}});(0,p.drawLineShape)(t,x,o,y,h,d,s)},F.prototype.variableRects=function(t){var V,n,i,e,r,c,s,o,d,V=this,n=t&&V.Oi?p.VARIABLE_RECT_SIZE_IN_TOUCH:p.VARIABLE_RECT_SIZE,i=V.getPoints(),e=[],c=i.length;if(i&&c)for(s=i[1],o=2;o<c-1;o++)(d=i[o]).y===s.y?r=new a.Rect((s.x+d.x)/2-n/2,(s.y+d.y)/2-n/2,n,n):(r=new a.Rect((s.x+d.x)/2-n/2,(s.y+d.y)/2-n/2,n,n)).vertical=!0,r.index=o,e.push(r),s=d;return e},F.prototype.resizeHeight=function(t,V){for(var n,i,e,r,c,n=this,i=n.getPoints(),e=S(i,n.top,n.height),r=0,c=i.length;r<c;r++)i[r].y=n.top+e[r]*t;n.setPoints(i)},F.prototype.resizeWidth=function(t,V){for(var n,i,e,r,c,n=this,i=n.getPoints(),e=_(i,n.left,n.width),r=0,c=i.length;r<c;r++)i[r].x=n.left+e[r]*t;n.setPoints(i)},F.prototype.updateStartConnector=function(t){var V=this,n=V.startConnector,i=V.service;i&&(n&&i.getShapeById(n.id).removeConnectionLine(V.id),V.startConnector=t)&&i.getShapeById(t.id).addConnectionLine(V.id)},F.prototype.updateEndConnector=function(t){var V=this,n=V.endConnector,i=V.service;n&&i.getShapeById(n.id).removeConnectionLine(V.id),(V.endConnector=t)&&i.getShapeById(t.id).addConnectionLine(V.id)},F.prototype.changeVariablePoint=function(t,V){var n,i,t,V,e,V,r,c,s,o,i,t,c,n=this,i=t.x,t=t.y,V=V.adjustmentHandle,e=n.getPoints();n.RcV||(n.RcV=n.getPoints()),V=V.index,r=n.getShapeCenter(),c=e[V-1],s=e[V],o=Math.atan2(s.y-c.y,s.x-c.x),i=d({x:i,y:t},r,-o),t=d({x:c.x,y:c.y},r,-o),c=d({x:s.x,y:s.y},r,-o),E(t.x)===E(c.x)?(t.x=i.x,c.x=i.x):(t.y=i.y,c.y=i.y),e[V-1]=d(t,r,o),e[V]=d(c,r,o),n.setPoints(e)},F.prototype.hitTest=function(t,V){var n,i,e,r,c,s,o,e,d,a,h,u,x,y,f,l,g,A,n=this,i=n.getPoints(),e=n.width,r=n.height,c=(0,p.getCtx)();if(c.save(),n.transformContext(c,n.getCenterPoint(e,r)),s=e/2+n.left,o=r/2+n.top,d={},e=n.jcV(c,t,V))d.shape=n,d.type=w.HitTestType.lineEnd,d.lineEnd=e;else{for(c.beginPath(),u=i[0],x=n.Oi?10:2,y=!1,h=i.length,a=1;a<h;a++){if(f=i[a],v(t,V,u.x,u.y,f.x,f.y)<=x){y=!0;break}u=f}if(c.closePath(),y&&(d.shape=n,d.type=w.HitTestType.body,h=(g=n.variableRects(!0)).length,g)&&0<h)for(a=0;a<h;a++)if(A=g[a],c.beginPath(),c.rect(A.x-s,A.y-o,A.width,A.height),c.closePath(),c.isPointInPath(t,V)){d.type=w.HitTestType.adjustment,d.adjustmentHandle=A;break}}return c.restore(),d},F.prototype.paintSelection=function(t){var V,n,i,e,r,c,s,o,d,V=this;if(V.isSelected){if(t.save(),n=V.width,i=V.height,e=V.variableRects(!1),t.lineWidth=1,e)for(r=n/2+V.left,c=i/2+V.top,s=0,o=e.length;s<o;s++)d=e[s],t.fillStyle="yellow",t.fillRect(d.x-r,d.y-c,d.width,d.height),t.strokeStyle="grey",t.strokeRect(d.x-r,d.y-c,d.width,d.height);V.mcV(t,n,i),t.restore()}},F.prototype.move=function(t,V){var n,i,e,r,c,s,n=this,i=t-n.left,e=V-n.top;for(n.left=t,n.top=V,c=0,s=(r=n.getPoints()).length;c<s;c++)r[c].x+=i,r[c].y+=e;n.setPoints(r)},V.ZipLine=F},"./dist/plugins/shape/ui/model.js":function(t,V,n){var i,e,r;function c(t,V){var n,i,e,r;if(V&&t.id===V)return t;if(n=t.shapes)for(i=0,e=n.length;i<e;i++)if(r=c(n[i],V))return r}function s(t,V){return c({shapes:t},V)}function o(t){return"shape"+t}function d(t){var r=this;r.name=t,r.shapes=[],r.calcSource_=new i.PropertySource(r),r.calcSource_.changed=function(t,V,n,i,e){r.changed&&r.changed(t,V,n,i,e)},r.setService(r.getService()),r.resetIDInfos()}function a(t,V){var n,i,e;if(t&&(V(t),n=t.shapes))for(i=0,e=n.length;i<e;i++)a(n[i],V)}Object.defineProperty(V,"__esModule",{value:!0}),V.ShapeModel=V.getKeyForShapeId=V.findShapeInCollectionById=void 0,i=n("./dist/plugins/shape/ui/propertySource.js"),e=n("./dist/plugins/shape/ui/util.js"),V.findShapeInCollectionById=s,V.getKeyForShapeId=o,d.prototype.getName=function(){return this.name},d.prototype.getCalcService=function(){return this.getService()},d.prototype.getService=function(){return this.calcSource_.getCalcService()},d.prototype.getContext=function(t){return this.calcSource_.getContext(t)},d.prototype.setService=function(t){var V,n,V=this;t&&(n=V.getName(),V.calcSource_.id=n,V.calcModel_=new i.PropertySourceModel(V.calcSource_),t.setSourceModel({id:n},V.calcModel_))},d.prototype.getExpression=function(t,V){return this.calcSource_.getExpression(t,V)},d.prototype.getExpressions=function(t,V){return this.calcSource_.getExpressions(t,V)},d.prototype.addShape=function(t,V){var n,i,n=this,i=t.id;n.getShapeById(i)?0<=V&&n.setZIndex(t,V):(n.DsV(t,!0),n.attachShapeToModel(t),0<=V?n.shapes.splice(V,0,t):n.shapes.push(t))},d.prototype.removeShape=function(t,V){var n=this;e.Common.Array_remove(n.shapes,t),n.DsV(t,!1),V||n.detachShapeFromModel(t)},d.prototype.onAddedChildShape=function(t){this.DsV(t,!0)},d.prototype.onRemovedChildShape=function(t){this.DsV(t,!1)},d.prototype.DsV=function(t,V){var n=this.idToShapeMap;a(t,function(t){V?n.set(t.id,t):n.delete(t.id)})},d.prototype.indexOf=function(t){return this.shapes.indexOf(t)},d.prototype.setZIndex=function(t,V){var n,i,n=this,i=n.indexOf(t);-1!==i&&i!==V&&(n.shapes.splice(i,1),n.shapes.splice(V,0,t))},d.prototype.getShapes=function(){return this.shapes},d.prototype.getShapeById=function(t){return this.idToShapeMap.get(t)||this.IcV[t]},d.prototype.getUniqueShapeId=function(t){for(var V,n,i,V=this,n=V.idCount;i=o(n),n++,V.getShapeById(i););return V.idCount=n,t?{id:n-1,key:i}:i},d.prototype.resetIDInfos=function(){var t=this;t.idToShapeMap=new Map,t.idMaps={},t.IcV={},t.idCount=2},d.prototype.ensureUniqueShapeId=function(t){var V,n,n,V=this,n=o(t);return V.getShapeById(n)?(n=V.getUniqueShapeId(!0),V.idMaps[t]=n.id,n):(V.updateIdCount(t),{id:t,key:o(t)})},d.prototype.temporaryMarkIdUsed=function(t){this.IcV[t.id]=t},d.prototype.clearTemporaryMarkedIds=function(){this.IcV={}},d.prototype.updateIdCount=function(t){var V=this;V.idCount<=t&&(V.idCount=t+1)},d.prototype.detachShapeFromModel=function(t){var V,n,V=this;t.setService(null),V.remove(t.id),n=t.shapes,t.isCompoundShape&&n&&n.forEach(function(t){V.detachShapeFromModel(t)})},d.prototype.attachShapeToModel=function(t){var V=this,n=t.shapes;t.id||(t.id=V.getUniqueShapeId()),t.getService()!==V&&t.setService(V),t.isCompoundShape&&n&&n.forEach(function(t){V.attachShapeToModel(t)})},d.prototype.getCurrentObjectId=function(){var t;return this.calcSource_.getCurrentObjectId()},d.prototype.setCurrentObjectId=function(t){var V;this.calcSource_.setCurrentObjectId(t)},d.prototype.add=function(t,V){this.setValues(t,"",V)},d.prototype.remove=function(t){var V;this.calcSource_.removeObject(t)},d.prototype.getValues=function(t,V,n,i){var e;return this.calcSource_.getValuesForObject(t,V,n,i)},d.prototype.setValues=function(t,V,n,i){var e=this.calcSource_;i||e.clearValues(t,V),V&&0<V.length&&"."!==V[V.length-1]&&(V+="."),e.setObject(t,V,n)},d.prototype.getValue=function(t,V){var n;return this.calcSource_.getValue(t,V)},d.prototype.setValue=function(t,V,n){var i;this.calcSource_.setValue(t,V,n)},d.prototype.getNode=function(t,V){var n;return this.calcSource_.getNode(t,V)},d.prototype.getFormula=function(t,V,n){var i;return this.calcSource_.getFormula2(t,V,n)},d.prototype.setFormula=function(t,V,n,i,e,r,c){var s;this.calcSource_.setFormula(t,V,n,i,e,r,c)},d.prototype.removeFormula=function(t,V){var n;this.calcSource_.removeFormula(t,V)},d.prototype.clearValues=function(t,V){var n;this.calcSource_.clearValues(t,V)},d.prototype.clear=function(){var t;this.calcSource_.clear(),this.shapes=[]},d.prototype.dirty=function(t,V){var n;this.calcSource_.dirty(t,V)},d.prototype.dirtyAll=function(t){var V;this.calcSource_.dirtyAll(t)},d.prototype.setValueOrFormula=function(t,V,n,i,e){var r=this;n&&"="===n[0]?r.setFormula(t,V,n.substring(1),i,e):r.setValue(t,V,n)},d.prototype.setAngle=function(t,V){this.setValueOrFormula(t,"angle",V)},d.prototype.setOptions=function(t,V){this.setValues(t,"options",V)},d.prototype.setConnectionLines=function(t,V){this.setValues(t,"connectionLines",V)},d.prototype.getConnectionLines=function(t,V){var t=this.getValues(t,"connectionLines",V);return t&&t.connectionLines},d.prototype.getOptions=function(t,V,n){var t=this.getValues(t,"options",V,n);return t&&t.options},d.prototype.suspendCalc=function(){var t;this.calcSource_.suspendCalc()},d.prototype.resumeCalc=function(){var t;this.calcSource_.resumeCalc()},V.ShapeModel=d},"./dist/plugins/shape/ui/options.js":function(t,n){var V,r,i,c,s,e,o;function d(t,V,n){return{type:t||1,color:V||"black",width:n||1}}function a(t,V,n){return{type:t||1,color:V||"white",width:n||1}}function h(t,V,n,i,e){return{font:t||c,fill:V||r.black,allowTextToOverflowShape:e,textDirection:n||s,wrapTextInShape:!i}}function u(t,V){n.styles[t]=V}function x(t){return n.styles[t]}Object.defineProperty(n,"__esModule",{value:!0}),n.getStyle=n.styles=void 0,V={},r={},(i=["white","black","grey","blue","red","yellow","green","cyan"]).forEach(function(t){V[t]=d(1,t),r[t]=a(1,t)}),c="11pt Calibri",s="horizontal",n.styles={},u("default",e={stroke:V.grey,fill:r.white,textFormatOptions:h(c,r.white,s,!1,!1)}),u("defaultLine",o={stroke:{type:1,color:"blue"},endPoints:{beginArrow:{type:1,widthType:1,lengthType:1},endArrow:{type:3,widthType:1,lengthType:1}}}),n.getStyle=x},"./dist/plugins/shape/ui/path.js":function(t,V,n){var o,O,T,d,a,x,y,i;function N(t,V,n,i,e,r,c,s){for(var o,d,a,h,u,x,y,f,l,g,g,A,A,p,w,v,j,b,o=Math.sqrt,d=Math.abs,a=[],h=[[],[]],x=6*t-12*n+6*e,y=-3*t+9*n-9*e+3*c,f=3*n-3*t,l=0;l<2;++l)0<l&&(x=6*V-12*i+6*r,y=-3*V+9*i-9*r+3*s,f=3*i-3*V),d(y)<1e-12?d(x)<1e-12||0<(u=-f/x)&&u<1&&a.push(u):(g=x*x-4*f*y)<0||(0<(A=(-x+(g=o(g)))/(2*y))&&A<1&&a.push(A),0<(A=(-x-g)/(2*y))&&A<1&&a.push(A));for(w=p=a.length;p;)h[0][--p]=j=(v=1-(u=a[p]))*v*v*t+3*v*v*u*n+3*v*u*u*e+u*u*u*c,h[1][p]=b=v*v*v*V+3*v*v*u*i+3*v*u*u*r+u*u*u*s;return h[0][w]=t,h[1][w]=V,h[0][w+1]=c,h[1][w+1]=s,[{x:m(h[0]),y:m(h[1])},{x:L(h[0]),y:L(h[1])}]}function P(t,V,n,i,e,r,c,s){for(var o,d,a,h,u,o=[],d=l(r,c,s),a=y/180,h=s?-a:a,u=0;x(u)<=d;u+=h)o.push(f(t,V,n,i,e,r+u));return o.push(f(t,V,n,i,e,c)),o}function f(t,V,n,i,e,r){var c,s,n,c,s,n={x:n*a(r)+t,y:i*d(r)+V};return n=0!==e?o.Common.rotatePoint(n,{x:t,y:V},e):n}function l(t,V,n){var i,n,i=2*y;if(n){if(i<=t-V)return i}else if(i<=V-t)return i;return(t%=i)<0&&(t+=i),(V%=i)<0&&(V+=i),(n=n?t-V:V-t)<0&&(n+=i),n}function L(t,V){var n;return(V?O:T).apply(null,t)}function m(t){return L(t,!0)}function e(t){return-1<"mlhvcsqtaz".indexOf(t)}function D(t,V,n){return e(t)?V+n:n}function r(t){var V=this;V.pathCommands=[],t&&V.parse(t)}function c(t){for(var V,n,i,e,r,c,s,o,d,a,h,u,x,y,f,l,g,A,p,w,v,j,b,L,m,C,R,I,M,_,E,S,Y,F,X,V=1/0,n=1/0,i=-1/0,e=-1/0,c=0,s=0,o=0,d=0,a=[],h=0,u=t.length;h<u;++h){switch(x=(r=t[h])[0],y=r[1],f=r[2],l=r[3],g=r[4],A=r[5],p=r[6],x){case"V":case"v":d=D(x,d,y);break;case"H":case"h":o=D(x,o,y);break;case"L":case"l":o=D(x,o,y),d=D(x,d,f),a=[];break;case"M":case"m":c=o=D(x,o,y),s=d=D(x,d,f),a=[];break;case"B":case"C":case"c":a=N(w=o,v=d,j=D(x,o,y),b=D(x,d,f),L=D(x,o,l),m=D(x,d,g),o=D(x,o,A),d=D(x,d,p));break;case"Q":case"q":case"S":case"s":a=N(w=o,v=d,j=D(x,o,y),b=D(x,d,f),j,b,o=D(x,o,l),d=D(x,d,g));break;case"AT":case"T":j=D(x,o,y),b=D(x,d,f),o=D(x,o,l),d=D(x,d,g),a.push({x:j,y:b}),a.push({x:o,y:d});break;case"A":case"a":o=D(x,o,y),d=D(x,d,f),a.push({x:o,y:d}),C=l,R=g,I=A,M=Math.PI,a.push({x:o+C*Math.cos(R),y:d+C*Math.sin(R)}),a.push({x:o+C*Math.cos(I),y:d+C*Math.sin(I)}),0!==R&&I!==2*M||a.push({x:o+C,y:d}),(R<M/2||M/2<I)&&a.push({x:o,y:d+C}),(R<M||M<I)&&a.push({x:o-C,y:d}),(R<M+M/2||M+M/2<I)&&a.push({x:o,y:d-C});break;case"E":case"e":o=(a=P(o=D(x,o,y),d=D(x,d,f),l,g,A,p,F=r[7],X=r[8]))[0].x,d=a[0].y;break;case"Z":case"z":o=c,d=s}a.forEach(function(t){V=O(V,t.x),n=O(n,t.y),i=T(i,t.x),e=T(e,t.y)}),V=O(V,o),n=O(n,d),i=T(i,o),e=T(e,d)}return V=isFinite(V)?V:0,n=isFinite(n)?n:0,i=isFinite(i)?i:0,e=isFinite(e)?e:0,{left:V,top:n,right:i,bottom:e,width:i-V,height:e-n}}Object.defineProperty(V,"__esModule",{value:!0}),V.getBoundByPathCommands=V.Path=void 0,o=n("./dist/plugins/shape/ui/util.js"),O=Math.min,T=Math.max,d=Math.sin,a=Math.cos,x=Math.abs,y=Math.PI,r.prototype.parse=function(t){for(var V,n,i,e,r,c,s,V=t.split(";"),n=0,i=V.length;n<i;n++){for(e=V[n].trim().split(" "),(r=[]).push(e[0].trim()),c=1,s=e.length;c<s;c++)e[c]&&"="===e[c][0]?r.push(e[c]):r.push(parseFloat(e[c]));this.pathCommands.push(r)}},r.prototype.moveTo=function(t,V){var n=this;return n.pathCommands.push(["M",t,V]),n},r.prototype.lineTo=function(t,V){var n=this;return n.pathCommands.push(["L",t,V]),n},r.prototype.bezierCurveTo=function(t,V,n,i,e,r){var c=this;return c.pathCommands.push(["B",t,V,n,i,e,r]),c},r.prototype.quadraticCurveTo=function(t,V,n,i){var e=this;return e.pathCommands.push(["Q",t,V,n,i]),e},r.prototype.arc=function(t,V,n,i,e){this.pathCommands.push(["A",t,V,n,i,e])},r.prototype.arcTo=function(t,V,n,i,e){var r=this;return r.pathCommands.push(["AT",t,V,n,i,e]),r},r.prototype.beginPath=function(){},r.prototype.closePath=function(){var t=this;return t.pathCommands.push(["Z"]),t},r.prototype.parseDimensions=function(){return c(this.pathCommands)},V.Path=r,V.getBoundByPathCommands=c},"./dist/plugins/shape/ui/pictureFormat.js":function(t,V,n){var h,i,e,s,a,u,d;function x(t){return e(0,i(255,t))}function r(t,V,n){return.2126*t+.7152*V+.0722*n}function y(t,V,n){var i,e,r,c,s;function o(t){return t=((t+=c)-d)*e+d,x(a(t+=c))}for(i=t.data,e=0<=n?d/(d-n*d):(d+n*d)/d,c=(r=255*V)/2,s=0;s<i.length;s+=4)i[s]=o(i[s]),i[s+1]=o(i[s+1]),i[s+2]=o(i[s+2])}function f(t){for(var V,n,i,V=t.data,n=0;n<V.length;n+=4)i=s(r(V[n],V[n+1],V[n+2])),V[n]=i,V[n+1]=i,V[n+2]=i}function l(t,V,n){var i,e,r,c,s,r,o,d;for(f(t),i=[],e=0;e<=255;e++)c=V.r+a((n.r-V.r)*(r=e/255)),s=V.g+a((n.g-V.g)*r),r=V.b+a((n.b-V.b)*r),i.push([c,s,r]);for(o=t.data,e=0;e<o.length;e+=4)d=i[o[e]],o[e]=d[0],o[e+1]=d[1],o[e+2]=d[2]}function g(t,V){for(var n,i,e,e,n=t.data,i=0;i<n.length;i+=4)e=r(n[i]/255,n[i+1]/255,n[i+2]/255),n[i]=e=V<=e?255:0,n[i+1]=e,n[i+2]=e}function A(t,V){for(var n,i,e,n=t.data,i=1-V,e=0;e<n.length;e+=4)n[e+3]=x(s(n[e+3]*i))}function p(t,V){var n,i,e,r,c,n=0,i=0;if("lighten"===V?n=.4:"lightenLess"===V?n=.2:"darken"===V?i=-.4:"darkenLess"===V&&(i=-.2),0!==n||0!==i)for(e=function(t){return x(s(i?t*(1+i):255-(255-t)*n))},r=t.data,c=0;c<r.length;c+=4)r[c]=e(r[c]),r[c+1]=e(r[c+1]),r[c+2]=e(r[c+2])}function w(t){var V,n,i,e,r,c,t,s,V=t.brightness,n=t.contrast,i=t.transparency,e=t.grayscale,r=t.duotone,c=t.blackAndWhite,t=t.fillMode,s;return e||r||c!==u||V||n||i||("darken"===t||"darkenLess"===t||"lighten"===t||"lightenLess"===t)}function c(t,V){var n,t,i,e,r,c,s,o,V,d,a;w(V)&&(t=(n=t.getContext("2d")).getImageData(0,0,t.width,t.height),i=V.brightness,e=V.contrast,r=V.transparency,c=V.grayscale,s=V.duotone,o=V.blackAndWhite,V=V.fillMode,c&&f(t),s&&l(t,d=h.Color.fromString(s.color1).toIColor(),a=h.Color.fromString(s.color2).toIColor()),o!==u&&g(t,o),(i||e)&&y(t,i||0,e||0),r&&A(t,r),V&&p(t,V),n.putImageData(t,0,0))}Object.defineProperty(V,"__esModule",{value:!0}),V.applyPictureFormat=void 0,h=n("./dist/plugins/shape/drawingInterface.js"),i=Math.min,e=Math.max,s=Math.round,a=Math.floor,u=void 0,d=127.5,V.applyPictureFormat=c},"./dist/plugins/shape/ui/pictureShape.js":function(t,V,n){var i,e,r,c,s,o;function d(t,V){var t=o.call(this,t,V)||this;return t.McV={src:void 0,tilePictureAsTexture:!1,transparency:0,offsetLeft:0,offsetRight:0,offsetTop:0,offsetBottom:0,crop:{left:0,right:0,top:0,bottom:0},brightness:0,contrast:0,grayscale:!1},t}i=this&&this.__extends||(s=function(t,V){return(s=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}s(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(V,"__esModule",{value:!0}),V.PictureShapeUI=void 0,e=n("./dist/plugins/shape/ui/shapes.js"),r="pictureImageSource",o=e.ShapeUI,i(d,o),d.prototype.getBase64Image=function(){return this.erV(this.McV,r)},d.prototype.src=function(t){this.McV.src=t},d.prototype.pictureFormat=function(t){var V=this.McV;V.transparency=t.transparency,V.crop=t.crop,V.brightness=t.brightness,V.contrast=t.contrast,V.grayscale=t.grayscale,V.blackAndWhite=t.blackAndWhite,V.duotone=t.duotone},d.prototype.needApplyFillAfterStyleFill=function(){return!!this.McV.src},d.prototype.applyFillAfterStyleFill=function(t,V,n,i){(0,e.applyPictureOrTextureFillOptions)(t,this.McV,this,V,n,r,i)},d.prototype.yrV=function(){delete this[r]},d.prototype.lsV=function(){var i=this;return new Promise(function(t){var V,V,n,V,n=i.McV.src;n&&"string"==typeof n&&(V=null==(V=null==(V=i.JVV)?void 0:V.Mf)?void 0:V.BO())?V.addImage(n,void 0,{loadCallback:t}):t()})},V.PictureShapeUI=d},"./dist/plugins/shape/ui/propertySource.js":function(O,t,V){var n,o,i,e,y,r,c,s,d,a,h,u,x,f,T,N,l,g;function A(t,V,n){for(var i,e,r,c,s,i=V.split("."),e=i.length,r=t,c=0;c<e-1;c++)r[s=i[c]]||(r[s]={}),r=r[s];r[i[e-1]]=n}function p(t,V){var n=V.indexOf("#"),i;return 0<n?(i=V.substring(0,n),V=V.substring(n+1)):i=t.id||t.calcSource.getCurrentObjectId(),{id:i,name:V=V.replace(/V\./g,"variables.")}}function w(t){return t&&t.JVV&&t.JVV.Mf}function v(t,V,n,i,e){return n||2===V?t:(1===V&&(i+=1,--e),Math.max(i,Math.min(t,e)))}function j(t){var V,n,V,i,e,r,V=t.calcSource,n=V.getValue(t.id,"parentId"),V=V.getShapeById(n),i=V&&V.shapes;if(i)for(e=0,r=i.length;e<r;e++)if(i[e].id===t.id)return e+1;return-1}function b(t,V,n){var n=n/u;return s(t*r(n),V*c(n))}function L(t,V,n,i){var e;return V-t*(i?c:r)(n)}function m(t,V,n,i){var e;return t+V*(i?c:r)(n)}function C(t,V){var n=this;n.id=V,n.calcSource=t}function R(t,V,n){this.Zc=t,this.WK=V,this.source=n}function I(t,V){var n,t,n,t=F(t,null,!0,{},V);return 0===t.length?null:t}function M(t){return t instanceof o.Expression}function _(t){return 1===t.type}function E(t){return 8===t.type}function P(t){return 9===t.type}function D(t){return 7===t.type}function S(t){return 22===t.type}function F(V,t,n,i,e){for(var r,c,c,s,c,c,r=[];12===V.type;)V=V.value;for(;10===V.type;)V=V.value;for(;12===V.type;)V=V.value;if(13===V.type){if((c=V.getRange(0,0,!0))===h)return;V=1===c.rowCount&&1===c.colCount?(0,o.knt)(V.source,h,c.row,c.col,!1,!1):(0,o.lJ)(V.source,h,c.row,c.col,c.row+c.rowCount-1,c.col+c.colCount-1,!1,!1,!1,!1)}return _(V)?(c=V.source)&&c.getIdentity?(s=c.getIdentity(c,V),i[s]||(i[s]=!0,r.push({expr:V}))):c instanceof o.ErrorSource||r.push({expr:V}):E(V)?(s=(c=p(e,V.value)).id+"#"+c.name,i[s]||(i[s]=!0,r.push({expr:V}))):P(V)?(n||r.push(V),r=r.concat(F(V.value,V,n,i,e)),V.value2&&(r=r.concat(F(V.value2,V,n,i,e)))):D(V)?(n||r.push(V),(c=V.arguments)&&0<c.length&&c.forEach(function(t){r=r.concat(F(t,V,n,i,e))})):S(V)&&r.push({expr:V}),r}function X(t){var V,n,V=g.call(this)||this;return V.getEvaluatorContext=function(){var t,V,t=this,V=t.getName();return t.getContext(V)},(n=V).model=t,n.parser_=new o.Parser,n.context_=new x(t),n.Lbt=new o.CalcService,n.evaluator_=new o.Evaluator(n.Lbt),n.store_={},V}function Y(t){(this.propertySource=t)&&t.setCalcSourceModel2(this)}n=this&&this.__extends||(l=function(t,V){return(l=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,V){t.__proto__=V}:function(t,V){for(var n in V)Object.prototype.hasOwnProperty.call(V,n)&&(t[n]=V[n])}))(t,V)},function(t,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function n(){this.constructor=t}l(t,V),t.prototype=null===V?Object.create(V):(n.prototype=V.prototype,new n)}),Object.defineProperty(t,"__esModule",{value:!0}),t.PropertySourceModel=t.PropertySource=t.PropertyContext=void 0,o=V("CalcEngine"),i=V("Common"),e=V("SheetsCalc"),y=V("./dist/plugins/shape/ui/util.js"),r=Math.sin,c=Math.cos,s=Math.atan2,d=i.Common.lt.ht,a=void 0,h=null,u=108e5/Math.PI,C.prototype.setSource=function(t){this.calcSource=t},C.prototype.getExternalSource=function(t,V){var t,n,i,t=this.calcSource.getService().getExternalSource(t,V);return d(t)&&(i=(n=this.sheetSource)&&n.Mf&&n.Mf.parent)&&(0,e.isValidExternalReference)(V)?i._p.parseSource(V,n.G3):t},C.prototype.getResolvers=function(){return this.calcSource.getService().getResolvers()},C.prototype.getName=function(t){var V,n,i,i,V=this,n=p(V,t);return n.id&&n.name?(i=V.calcSource.getNode(n.id,n.name))?{type:2,value:i.value}:(i=w(V.calcSource.getShapeById(n.id)),V.WrV(i,t)):{type:5,value:"reference error"}},C.prototype.WrV=function(t,V){var t,n,t,t,t=t&&t.Uw(3);if(t)return n=(n=t.getCustomName(V))||(t=(t=t.op())&&t.getGlobalSourceModel())&&t.getSource().getCustomName(V)},C.prototype.getFunction=function(t){if(t){var V=new o.Functions.Function(t);switch(t){case"BOUND":V.evaluate=v;break;case"LISTORDER":V.evaluate=j,V.isContextSensitive=function(){return!0};break;case"A":V.evaluate=b;break;case"C":V.evaluate=L;break;case"P":V.evaluate=m;break;default:V=void 0}return V&&(V.minArgs=V.maxArgs=V.length),V}},C.prototype.getTableByName=function(t){var V,n,i,e,r,c,V=this.sheetSource&&this.sheetSource.Mf;if(!V)return h;if(i=!0,!(e=(n=V.tables)?n._bt(t,!0):h)&&(r=V.parent&&V.parent.sheets))for(c=0;c<r.length&&(!(n=r[c].tables)||!(e=n._bt(t,!0)));c++);return e||V.parent&&V.parent.Ofe(t)},C.prototype.getTableByIndex=function(t,V){var n,n,n=this.sheetSource&&this.sheetSource.Mf;return(n=n&&n.tables)?n.Hq(t,V,!0):h},C.prototype.getExternalSourceToken=function(t){return t.getName()},C.prototype.j8t=function(){return!1},C.prototype.O8t=function(){},C.prototype.R8t=function(){},C.prototype.E8t=function(t){return t},C.prototype.getReference=function(t,V){return t?this.E8t(t).getReference(V):o.Errors.Reference},x=C,t.PropertyContext=x,R.prototype.getName=function(){return this.Zc},R.prototype.getExpression=function(){return this.WK},f=R,g=o.CalcSource,n(X,g),X.prototype.getSource=function(){return this},X.prototype.getName=function(){return this.model.name},X.prototype.getCalcSourceModel=function(){return this.sourceModel},X.prototype.setCalcSourceModel2=function(t){this.sourceModel=t},X.prototype.getCalcService=function(){return this.Lbt},X.prototype.setCalcService=function(t){this.Lbt=t},X.prototype.startCalculation=function(){},X.prototype.endCalculation=function(){},X.prototype.Cde=function(t,V){!1!==t&&this.dirtyAll()},X.prototype.cyt=function(t,V,n){var i,V,e,r,i=this,V=i.getCalcObj(t,V,!1),e=V&&V.expression;e&&(r=i.getContext(t),i.KrV(V,e,n,t,r))},X.prototype.KrV=function(t,V,n,i,e){var r,c,s,o,d,a,h,u,x,a;if(V&&(r=this,c=I(V,e)))for(s=0,o=c.length;s<o;s++)a=(d=c[s].expr).source,(0,y.isExternalSource)(a)?a.cyt(t,n):S(d)?d.Iwt&&d.Iwt(t,n):_(d)?(u=(h=a&&a.getCalcSourceModel&&a.getCalcSourceModel()).getCalcObj(d,!0),r.$rV(t,u,n)):E(d)&&(a=p((x=a?{id:a.getName()}:null)||e,d.value),(u=r.getCalcObjFromNode(a,!1))?r.$rV(t,u,n):r.tdV(t,d,n,i,e))},X.prototype.tdV=function(t,V,n,i,e){var r,c,c,s,o,d,a,c,r=this,c=w(r.model.getShapeById(i)),c=c&&c.Uw(3);c&&((o=(s=r.Lbt.getGlobalSourceModel()||c.getCalcSourceModel()).getSource()).addUsedCustomName&&o.addUsedCustomName(V.value),(a=c.getCustomName(V.value))?d=c.getCalcSourceModel():(d=s,a=o.getCustomName(V.value)),a)&&(c=d.vwt(V.value,!0),r.$rV(t,c,n),r.KrV(t,a,n,i,e))},X.prototype.$rV=function(V,t,n){var i;t&&[].concat(t).forEach(function(t){t.Iwt("pathListeners",V,n)})},X.prototype.getParser=function(){return this.parser_},X.prototype.getEvaluator=function(){return this.evaluator_},X.prototype.getCurrentObjectId=function(){return this.objectId_},X.prototype.setCurrentObjectId=function(t){this.objectId_=t},X.prototype.getContext=function(t){var V=this;return t&&0<t.length?new x(V.model,t):V.context_},X.prototype.getCustomName=function(t){var V,n,n,V=this,n=t.indexOf("#");if(0<n&&(n=t.substring(0,n),V.store_[n]))return new f(t,{type:8,name:t,source:V,value:t},V)},X.prototype.getKey=function(t,V){return t+"#"+V},X.prototype.getNode=function(t,V,n){var i,e,i,i=this,e=i.store_[t];return i=!(i=(e=!e&&n?i.store_[t]={}:e)&&e[V])&&n?e[V]={}:i},X.prototype.getNodeValue=function(t,V){var t=this.getNode(t,V);return t&&t.value},X.prototype.setNodeValue=function(t,V,n,i){var e,r,c,e=this,r=e.getNode(t,V,!0),c=r.value;(r.value=n)!==c&&e.changed&&e.changed(t,V,n,c,i)},X.prototype.getCalcObj=function(t,V,n){var i,e,r,i=this,e=i.getNode(t,V,n),r=e&&e.calc;return r=!r&&n?e.calc=new o.PathCalc(i,t,V):r},X.prototype.getCalcObjFromNode=function(t,V){var n=t.id,t=t.name;return this.getCalcObj(n,t,V)},X.prototype.removeObject=function(t){var V,n,i,V=this,n=V.store_[t];for(i in n)n.hasOwnProperty(i)&&V.removeFormula(t,i);for(i in n)n.hasOwnProperty(i)&&delete n[i];delete V.store_[t]},X.prototype.clearValues=function(t,V){var n,i,e,n=this,e=n.store_[t];for(i in e)!e.hasOwnProperty(i)||0!==i.indexOf(V)||i.length!==V.length&&"."!==i[V.length]||n.removeFormula(t,i);for(i in e)!e.hasOwnProperty(i)||0!==i.indexOf(V)||i.length!==V.length&&"."!==i[V.length]||delete e[i]},X.prototype.clear=function(){this.store_={}},X.prototype.findListeners=function(t,n){var V,i,e,r;if(!t)return n;for(i=0,e=(V=t.aT).length;i<e;i++)(r=t[V[i]])&&r.forEach(function(t,V){n[V]||(n[V]=t,this.findListeners(t,n))})},X.prototype.suspendCalc=function(){this.calcSuspended=!0},X.prototype.resumeCalc=function(){this.calcSuspended=!1,this.calculateAll()},X.prototype.calculateAll=function(){var t,V,n,i,e,r,t=this;if(!t.calcSuspended)for(n in V=t.store_)if(V.hasOwnProperty(n))for(e in i=V[n])i.hasOwnProperty(e)&&(r=i[e].calc)&&r.k1&&t.calculate(r.id,r.name)},X.prototype.recalculateNode=function(t){var V,t,n,i,n,V=this,t=V.getCalcObj(t.id,t.name),n=t.expression;t&&n&&(i=V.getContext(t.id),n=V.evaluator_.evaluateExpression(n,i,a,a,t.acceptReference),V.setNodeValue(t.id,t.name,n,!0))},X.prototype.addListenersToDirty=function(t,V){for(var n=t.y3[V];n;n=n.C3)n.o_t()},X.prototype.initDelay=function(t,V){for(var n=t.y3[V];n;n=n.C3)n.delay=0},X.prototype.adjustDelayOfListeners=function(t,V,n){for(var i=t.y3[V];i;i=i.C3)i.a_t(n)},X.prototype.calculateDirtyNodes=function(t,V){for(var n,i,e,n=!1,i=t.y3[V];i;i=i.C3)0===i.delay&&((e=i.w3).recalculateNode(i),t.b_t(i,V),i.a_t(!1),n=!0);return n},X.prototype.calculateIterations=function(t,V){for(var n,i,n=t.y3[V];n;n=n.C3)(i=n.w3).recalculateNode(n)},X.prototype.clearValueCache=function(){},X.prototype.calculate=function(t,V){var n,t,n=this;n.calcSuspended||(t=n.getCalcObj(t,V))&&(t.vyt(),n.Lbt.recalculateAll(!1))},X.prototype.setValueOrFormula=function(t,V,n){var i=this;n&&"="===n[0]&&"options.textFormatOptions.text"!==V?i.setFormula(t,V,n.substring(1)):i.setValue(t,V,n)},X.prototype.setObject=function(t,V,n){var i,e,r,c,s;if(n){for(c in(i=this).setCurrentObjectId(t),r=V.length,n)n.hasOwnProperty(c)&&("object"!=typeof(s=n[c])?i.setValueOrFormula(t,e=0<r?V+c:c,s):s instanceof o.Expression?i.setExpression(t,e=0<r?V+c:c,s):i.setObject(t,e=0<r?V+c+".":c+".",s));Array.isArray(n)&&i.setValue(t,V+"isArray",!0)}},X.prototype.getExpressions=function(t,V){var n,i,e,r,c,n=this;if(n.setCurrentObjectId(t),i={},e=n.store_[t])for(r in i.id=t,e)e.hasOwnProperty(r)&&(!V||0<=r.indexOf(V))&&(n.ensureObjects(t,i,r),void 0!==(c=(c=n.getExpression(t,r))||n.getValue(t,r)))&&A(i,r,c);return i},X.prototype.ensureObjects=function(t,V,n){for(var i,e,r,c,s,o,i=V,e=n.split("."),r="",c=0;c<e.length-1;c++)r+=s=e[c],i[s]||(o=this.getValue(t,r+".isArray"),i[s]=o?[]:{}),r+=".",i=i[s]},X.prototype.getValuesForObject=function(t,V,n,i){var e,r,c,s,o,e=this;if(e.setCurrentObjectId(t),r={},c=e.store_[t])for(s in r.id=t,c)c.hasOwnProperty(s)&&(!V||0<=s.indexOf(V))&&(e.ensureObjects(t,r,s),void 0!==(o=(o=n?e.getFormula2(t,s,i):null)||e.getValue(t,s)))&&A(r,s,o);return r},X.prototype.getValue=function(t,V){return this.getNodeValue(t,V)},X.prototype.setValue=function(t,V,n){var i,e,r,c,i=this,e=i.getNode(t,V);e&&(r=e.value,c=e.calc),(c&&c.formula||r!==n)&&(i.setCurrentObjectId(t),i.removeFormula(t,V),i.setNodeValue(t,V,n),i.dirty(t,V),i.calculate(t,V))},X.prototype.getExpression=function(t,V){var t=this.getCalcObj(t,V);return t&&t.expression},X.prototype.getFormula2=function(t,V,n){var t,V,t=this.getCalcObj(t,V);return t&&t.expression&&!d(n)?(t.expression.source&&(t.expression.source.Wbt=n),V="="+this.unparseFormula(t.expression),t.expression.source&&delete t.expression.source.Wbt,V):t&&t.formula?"="+t.formula:void 0},X.prototype.setFormula=function(t,V,n,i,e,r,c){var s,o,d,d,i,c,s=this,o,d=n;s.getFormula2(t,V)===(d=d&&"="!==d[0]?"="+d:d)?i&&(s.dirty(t,V),s.calculate(t,V)):(d=!1,n&&0<n.length&&("="===n[0]&&(n=n.substring(1)),s.setCurrentObjectId(t),(i=s.getContext(t)).keepUnknownFormulas=c,i.sheetSource=e,c=s.parser_.parse(i,n),i.sheetSource=void 0,this.checkAndProcessExpression(c,e))&&(s.setExpression(t,V,c,r),d=!0),d||s.removeFormula(t,V))},X.prototype.removeFormula=function(t,V){var n,t,V,n,t=this.getNode(t,V),V=t&&t.calc;V&&(V.CMt(),delete V.expression,delete V.formula)},X.prototype.setExpression=function(t,V,n,i){var e,r,c,e=this;if(e.yeV&&(r=e.getCalcObj(t,V),e.yeV({id:t,name:V,expression:r&&r.expression})),e.removeFormula(t,V),!n)return null;c=e.unparseFormula(n),r=e.getCalcObj(t,V,!0),d(i)||(r.acceptReference=i),r.formula=c,r.expression=n,r.isCalculating=!1,r.yB(),e.dirty(t,V),e.calculate(t,V)},X.prototype.unparseFormula=function(t){var V,n,V=this.getParser(),n=this.getContext();return V.unparse(n,t)},X.prototype.evaluateExpression=function(t){var V,n,V=this.getEvaluator(),n=this.getContext();return V.evaluateExpression(t,n)},X.prototype.evaluate=function(t){var V,n,i,n,V=this,n=V.getParser(),i=V.getContext(),n=n.parse(i,t);return n&&V.getEvaluator().evaluateExpression(n,i)},X.prototype.dirty=function(t,V){var t=this.getCalcObj(t,V);t&&t.vyt()},X.prototype.dirtyAll=function(t){var e,V,n,e=this.store_,V=function(t){var V,n,i,V=e[t];if(V)for(n in V)V.hasOwnProperty(n)&&(i=V[n].calc)&&i.vyt()};if(d(t))for(n in e)e.hasOwnProperty(n)&&V(n);else V(t)},X.prototype.checkAndProcessExpression=function(t,V){var n,i,e,n=this;if(!t)return!1;if(1===t.type&&!t.source){if(!V)return!1;t.source=V}if(7===t.type){if(i=t.function,(e=t.arguments).some(function(t){return!n.checkAndProcessExpression(t,V)}))return!1;if(M(i)&&this.checkAndProcessExpression(i,V))return!1}else{if(M(t.value)&&!this.checkAndProcessExpression(t.value,V))return!1;if(M(t.value2)&&!this.checkAndProcessExpression(t.value2,V))return!1}return!0},X.prototype.getSheet=function(){},t.PropertySource=X,Y.prototype.getSource=function(){return this.propertySource},Y.prototype.Cde=function(t,V){this.propertySource.Cde(t,V)},Y.prototype.lwt=function(){return[]},Y.prototype._cV=function(){},Y.prototype.EcV=function(){},Y.prototype.getCalcObj=function(t,V){var n,i,e,i,n=this.propertySource,i=n.getContext(),e,i=p((t.source?{id:t.source.getName()}:null)||i,t.value);return n.getCalcObjFromNode(i,V)},Y.prototype.vwt=function(t,V){var n,i,e,n=this,i=null,e=t.indexOf("#");return 0<e?(i=t.substring(0,e),t=t.substring(e+1)):i=n.propertySource.getCurrentObjectId(),n.propertySource.getCalcObj(i,t,V)},Y.prototype.setCalcService=function(t){this.propertySource.setCalcService(t)},Y.prototype.getCalcService=function(){return this.propertySource.getCalcService()},Y.prototype.Ryt=function(){},t.PropertySourceModel=Y},"./dist/plugins/shape/ui/shape-alignment.js":function(O,t,V){var n,i,d,o,e,r,c,s,a,h;function u(t,V,n){var i,e,r;if(t.length<2)return[];switch(V){case 0:return i=X(t,n),t.map(function(t){return{id:t.id,offset:i-M(t,n)}});case 1:return e=T(t,n),t.map(function(t){return{id:t.id,offset:e-F(t,n)/2-M(t,n)}});case 2:return r=Y(t,n),t.map(function(t){return{id:t.id,offset:r-_(t,n)}});default:return[]}}function x(t,n){var V,i,e,r,c,s,o;if((t=t.filter(function(t){return 1!==t.ttV||null===t.JVV.startConnector()&&null===t.JVV.endConnector()})).length<3)return[];for(V=X(t,n),e=((i=Y(t,n))-V-(0,d.sum)(t,function(t){return F(t,n)}))/(t.length-1),t.sort(function(t,V){return M(t,n)-M(V,n)||E(t,n)-E(V,n)}),r=[{id:t[0].id,offset:0}],c=1,s=V+F(t[0],n);c<t.length-1;c++)o=t[c],r.push({id:o.id,offset:(s+=e)-M(o,n)}),s+=F(o,n);return r.push({id:t[t.length-1].id,offset:0}),r}function y(t){var V,n,t,i,V,t,V,V=t.moveShapes,n=t.offset,t=t.direction,i=f(V,t),V=l(V,t),t=0<n?0:1,V=g(V.map(function(t){return t+n}),i,t);return I(p(V.adjacent,V.curPos,n),t)}function f(t,V){var n,t;return!Array.isArray(t)||t.length<1?[]:(t=(n=N(t[0])).getShapePartLines(t),0===V?t.hLines:t.vLines)}function l(t,V){var n;return!Array.isArray(t)||t.length<1?[]:(n=[],t.forEach(function(t){n=n.concat(S(t,V))}),n)}function g(t,V,n){for(var i,e,r,c,s,o,i=h,e={adjacent:null},r=0;r<t.length;r++)(o=A(s=C(c=t[r],V,n),c,n))<i&&(i=o,e={curPos:c,adjacent:s});return e}function A(t,V,n){return 0===n?t.next===o?h:t.next-V:t.previous===o?h:V-t.previous}function p(t,V,n){var i,e;return null===t?n:(e=t.previous===o||t.next===o?(i=s,0):(i=R(t.previous,t.next),1),0<n&&t.next-(V+n)<=i?t.next-V+n:n<0&&V+n-t.previous<=i?t.previous-V+n:0===e?n:0)}function w(t){var V,n,i,t,e,V,n,i=f(t.targetShapes,t.direction),t=t.pointerPos;return-1!==i.indexOf(t)?t:v(e=C(t,i),t)}function v(t,V){return t.previous!==o&&t.next!==o?e(t.previous-V)<e(t.next-V)?t.previous:t.next:t.next!==o&&e(t.next-V)<s?t.next:t.previous!==o&&e(t.previous-V)<s?t.previous:V}function j(t){var V,n,i,t,e,r,c,s,V=t.targetShape,n=t.moveDirection,i=t.direction,t=t.boundType,e=f([V],i),r=L(V,i,t),c=C(r,e),s=b(c,n);return s!==o||(s=b(c=C(r=m(V,i,t),e),n))!==o?I(s-r,n):0}function b(t,V){return 1===V?t.previous:t.next}function L(t,V,n){return(1===n?M:_)(t,V)}function m(t,V,n){return(1===n?_:M)(t,V)}function C(t,V,n){for(var i,e,i={},e=0;e<V.length;e++){if(t<V[e])return i.next=V[e],0!==e&&(i.previous=V[e-1]),i;if(t===V[e])return 1===n?(i.next=V[e],0!==e&&(i.previous=V[e-1])):0===n?(e!==V.length-1&&(i.next=V[e+1]),i.previous=V[e]):(e!==V.length-1&&(i.next=V[e+1]),0!==e&&(i.previous=V[e-1])),i}return 0<V.length&&(i.previous=V[V.length-1]),i}function R(t,V){return(V-t)*a}function I(t,V){return(0===V?c:r)(t)}function M(t,V){return 0===V?(0,i.getActualBound)(t).left:(0,i.getActualBound)(t).top}function _(t,V){return 0===V?(0,i.getActualBound)(t).right:(0,i.getActualBound)(t).bottom}function E(t,V){return 0===V?(0,i.getActualBound)(t).top:(0,i.getActualBound)(t).left}function S(t,V){var n,t,n=t.angle%360,t=(0,d.getShapePoints)(t,n);return 0===V?t.map(function(t){return t.x}):t.map(function(t){return t.y})}function F(t,V){var t=(0,i.getActualBound)(t);return 0===V?t.right-t.left:t.bottom-t.top}function X(t,V){return 0===V?(0,n.getBoundForHoldShapes)(t,void 0,!0).left:(0,n.getBoundForHoldShapes)(t,void 0,!0).top}function Y(t,V){return 0===V?(0,n.getBoundForHoldShapes)(t,void 0,!0).right:(0,n.getBoundForHoldShapes)(t,void 0,!0).bottom}function T(t,V){var n,i,n=X(t,V),i;return(Y(t,V)-n)/2+n}function N(t){return t.JVV&&t.JVV.Mf.shapes}Object.defineProperty(t,"__esModule",{value:!0}),t.getMoveOffsetByDirection=t.getResizeTarget=t.getShapeMoveOffset=t.distribute=t.align=void 0,n=V("./dist/plugins/shape/ui/compoundShape.js"),i=V("./dist/plugins/shape/ui/shapes.js"),d=V("./dist/plugins/shape/ui/util.js"),o=void 0,e=Math.abs,r=Math.floor,c=Math.ceil,s=10,a=.2,h=Number.MAX_VALUE,t.align=u,t.distribute=x,t.getShapeMoveOffset=y,t.getResizeTarget=w,t.getMoveOffsetByDirection=j},"./dist/plugins/shape/ui/shape-parallelPath.js":function(O,t,V){var j,n,i,e,r,x,y,c,s,o,d,a;function f(t,V,n,i){var e,r,n,e=u(t,V),r=T(n,e),n=N(n,e);return{startPoint:{x:i===j.BorderType.outter?t.x-r:t.x+r,y:i===j.BorderType.outter?t.y-n:t.y+n},endPoint:{x:i===j.BorderType.outter?V.x-r:V.x+r,y:i===j.BorderType.outter?V.y-n:V.y+n}}}function l(t,V){var n=t.x,t=t.y,i=V.x,V=V.y;return{factorA:V-t,factorB:n-i,factorC:i*t-n*V}}function g(t,V){var n,i,t,e,r,V,c,s,n=t.factorA,i=t.factorB,t=t.factorC,e=V.factorA,r=V.factorB,V=V.factorC;return n*r-e*i==0||h(c=n/i,s=e/r)<.1?null:{x:(V*i-t*r)/(n*r-e*i),y:(t*e-V*n)/(n*r-e*i)}}function h(t,V){var t,V,t,n,t=o(t),V=o(V),t=Math.abs(t-V),n;return d(t,c-t)}function u(t,V){return-i(V.y-t.y,V.x-t.x)}function T(t,V){return t*e(V)}function N(t,V){return t*r(V)}function A(t,V){return y(x(t.x-V.x,2)+x(t.y-V.y,2))}function P(t,V,n){var i,e,i,e;return A(t,V)<A(t,n)?V:n}function D(t,V,n){return w(p(t,V,n))}function p(t,V,n){return(t=Y(t)).a=U(t,V,n),t.b=q(t,V,n),t}function w(t){return{startPoint:{x:t.a*r(t.startAngle)+t.center.x,y:t.b*e(t.startAngle)+t.center.y},endPoint:{x:t.a*r(t.endAngle)+t.center.x,y:t.b*e(t.endAngle)+t.center.y}}}function v(t,V,n){var i,e,r,c,s,t,o,V,d,a,o,V,o,n,h,u,i=V.center.x,e=V.center.y,r=t.startPoint.x-i,c=-(t.startPoint.y-e),s=t.endPoint.x-i,t=-(t.endPoint.y-e),o=V.a,V=V.b,d=x(s-r,2)/x(o,2)+x(t-c,2)/x(V,2),a=2*r*(s-r)/x(o,2)+2*c*(t-c)/x(V,2),o=x(r,2)/x(o,2)+x(c,2)/x(V,2)-1,V=x(a,2)-4*d*o;return V<0?null:P(n,h={x:r+(s-r)*(o=(-a+y(V))/(2*d))+i,y:-(c+(t-c)*o)+e},u={x:r+(s-r)*(n=(-a-y(V))/(2*d))+i,y:-(c+(t-c)*n)+e})}function U(t,V,n){return n===j.BorderType.outter?t.clockwise?t.a-V:t.a+V:t.clockwise?t.a+V:t.a-V}function q(t,V,n){return n===j.BorderType.outter?t.clockwise?t.b-V:t.b+V:t.clockwise?t.b+V:t.b-V}function b(t,V){var n,V,i,e,n=V.x-t.center.x,V=-(V.y-t.center.y),i=n/t.a;return 1<i?i=1:i<-1&&(i=-1),k(e=n===t.a&&0==V?0:0==n&&V===t.b?.5*c:n==-t.a&&0==V?c:0==n&&V==-t.b?1.5*c:0<V?s(i):2*c-s(i))}function k(t){var V,t,V=-t,t=2*c-t;return n(V)<n(t)?V:t}function B(t,V,n){var i,e,r,c,s,o,d,a,h,u,x,y,f,l,g,f,A,p,A,w,A,v,i=[],e=z(t,i),r=e.length,c=e[0].info,s=e[0].index;if(r<2)1===r&&(i[s]=c);else{for(o=e[1].info,d=e[1].index,a=e[r-2].index,u=G(c,h=e[r-1].info),x=o.origin===j.PointSource.arcTo,y=1;y<r;y++)f=e[y-1].info,l=e[y].info,g=e[y].index,f=F(f,l,V,n),1===y&&(i[0]={origin:j.PointSource.lineTo,point:f.startPoint}),y!==r-1?(A=e[y+1].info,A=K((p=i[e[y-1].index]).point,l,f,A,V,n),i[g]=A):u&&2!==r?1<i.length&&((A=J(f,c,o,V,n,w=i[s].point))&&(i[s]={origin:j.PointSource.lineTo,point:A},x)&&H(A,v=i[d].ellipseInfo),l.isAdditionAdded||(i[g]=S(l,A,i[a],V,n))):i[g]=S(l,f.endPoint,i[a],V,n);Z(i)}return i}function L(t,V){return t<1?V:L(t-1,C(V)).concat(L(t-1,C(V,!1)))}function m(t,V){var n,t;return t<1?V:(n=m(t-1,R(V)),t=m(t-1,R(V,!1)),n.concat(t))}function C(t,V){var n,t;return void 0===V&&(V=!0),n=M(a,t[0].x,t[1].x,t[2].x),t=M(a,t[0].y,t[1].y,t[2].y),V?I(n.firstSub,t.firstSub,3):I(n.secondSub,t.secondSub,3)}function R(t,V){var n,t;return void 0===V&&(V=!0),n=_(a,t[0].x,t[1].x,t[2].x,t[3].x),t=_(a,t[0].y,t[1].y,t[2].y,t[3].y),V?I(n.firstSub,t.firstSub,4):I(n.secondSub,t.secondSub,4)}function I(t,V,n){for(var i,e,i=[],e=0;e<n;e++)i.push({x:t[e],y:V[e]});return i}function M(t,V,n,i){return{firstSub:[V,t*n-(t-1)*V,x(t,2)*i-2*t*(t-1)*n+x(t-1,2)*V],secondSub:[x(t,2)*i-2*t*(t-1)*n+x(t-1,2)*V,t*i-(t-1)*n,i]}}function _(t,V,n,i,e){return{firstSub:[V,t*n-(t-1)*V,x(t,2)*i-2*t*(t-1)*n+x(t-1,2)*V,x(t,3)*e-3*x(t,2)*(t-1)*i+3*t*x(t-1,2)*n-x(t-1,3)*V],secondSub:[x(t,3)*e-3*x(t,2)*(t-1)*i+3*t*x(t-1,2)*n-x(t-1,3)*V,x(t,2)*e-2*t*(t-1)*i+x(t-1,2)*n,t*e-(t-1)*i,e]}}function Z(t){for(var V=0;V<t.length;V++)t[V].origin===j.PointSource.fixed&&t[V-1]&&(t[V].point=Y(t[V-1].point))}function H(t,V){var n,t,n;E(V)||(t=b(V,t),V.startAngle=t)}function E(t){var V=2*c;return!!(t.clockwise&&t.startAngle-t.endAngle>=V)||!t.clockwise&&t.endAngle-t.startAngle>=V}function S(t,V,n,i,e){var r,c,r={origin:t.origin,point:V};return t.origin!==j.PointSource.arcTo||(r.ellipseInfo=p(t.ellipseInfo,i,e),c=E(r.ellipseInfo))||(r.ellipseInfo.startAngle=b(r.ellipseInfo,n.point),r.ellipseInfo.endAngle=b(r.ellipseInfo,V)),r}function F(t,V,n,i){return V.origin===j.PointSource.lineTo?f(t.point,V.point,n,i):D(V.ellipseInfo,n,i)}function z(t,i){var e=[];return t.forEach(function(t,V,n){Q(n[V-1],n[V])?i[V]={origin:j.PointSource.fixed}:e.push({index:V,info:Y(t)})}),e}function Q(t,V){return V.origin===j.PointSource.arcTo&&(0===V.ellipseInfo.a||0===V.ellipseInfo.b)||!(!t||V.origin!==j.PointSource.lineTo||!X(t.point,V.point)&&!W(t.point,V.point))}function G(t,V){return X(t.point,V.point)}function J(t,V,n,i,e,r){var c,s,r,o;return n.origin===j.PointSource.arcTo?v(t,c=p(n.ellipseInfo,i,e),r):g(s=l(t.startPoint,t.endPoint),o=l((r=F(V,n,i,e)).startPoint,r.endPoint))}function X(t,V){return t.x===V.x&&t.y===V.y}function W(t,V){return n(t.x-V.x)<.1&&n(t.y-V.y)<.1}function K(t,V,n,i,e,r){var c,s,o,d,a,i,h,u,t,o;return V.origin===j.PointSource.lineTo&&i.origin===j.PointSource.arcTo?(c=v(n,p(i.ellipseInfo,e,r),n.endPoint),{origin:j.PointSource.lineTo,point:c||n.endPoint}):V.origin===j.PointSource.lineTo&&i.origin===j.PointSource.lineTo?(a=g(s=l(n.startPoint,n.endPoint),d=l((o=f(V.point,i.point,e,r)).startPoint,o.endPoint)),{origin:j.PointSource.lineTo,point:a||n.endPoint}):V.origin===j.PointSource.arcTo&&i.origin===j.PointSource.lineTo?(o=f(V.point,i.point,e,r),h=E(i=p(V.ellipseInfo,e,r)),t=b(i,t),o=b(i,a=(c=v(o,i,n.endPoint))||n.endPoint),h||(i.startAngle=t,i.endAngle=o),{origin:j.PointSource.arcTo,point:a,ellipseInfo:i}):{origin:j.PointSource.arcTo,point:n.endPoint,ellipseInfo:p(V.ellipseInfo,e,r)}}function Y(t){return JSON.parse(JSON.stringify(t))}Object.defineProperty(t,"__esModule",{value:!0}),t.getSubBezierPoints=t.getSubQuaBezierPoints=t.getParallelPathPoints=t.getLineArcIntersect=t.getArcPath=void 0,j=V("./dist/plugins/shape/shape.interface.js"),n=Math.abs,i=Math.atan2,e=Math.sin,r=Math.cos,x=Math.pow,y=Math.sqrt,c=Math.PI,s=Math.acos,o=Math.atan,d=Math.min,a=.5,t.getArcPath=w,t.getLineArcIntersect=v,t.getParallelPathPoints=B,t.getSubQuaBezierPoints=L,t.getSubBezierPoints=m},"./dist/plugins/shape/ui/shapes.js":function(r,j,t){var s,T,N,b,P,D,p,M,_,d,U,o,q,a,k,B,Z,H,z,c,Q,G,J,W,K,$,tt,Vt,nt,it,et,E,rt,S,v,F,m,ct,h,i,u,st,ot,dt,at,ht,ut,xt,yt,ft,lt,gt,At,e,pt,wt,vt,jt,bt,Lt,mt,Ct,X,Y,x,O,L,f,l,Rt,C,It,Mt,_t,Et,St,y,Ft,Xt,Yt,Ot,Tt,Nt,Pt,Dt,Ut,qt;function g(t){return parseInt(t,16)}function kt(t,V){var V,n,V=V?j.VARIABLE_RECT_SIZE_IN_TOUCH:j.VARIABLE_RECT_SIZE,n=O(V,Lt+2*mt);return c(t,n,V,V,V)}function Bt(t,V){return x(t[1],O(t[0],V))}function Zt(t,V,n,i,e){return"function"==typeof t.isPointInStroke?(t.beginPath(),t.lineWidth=e,t.rect(i.x,i.y,i.width,i.height),t.isPointInStroke(V,n)):(i.expand(e/2),t.beginPath(),t.rect(i.x,i.y,i.width,i.height),t.isPointInPath(V,n)&&(i.expand(-e),t.beginPath(),t.rect(i.x,i.y,i.width,i.height),!t.isPointInPath(V,n)))}function Ht(t,V){var t=It(t);return Mt.test(t)?"rgba("+g(_t.$1)+","+g(_t.$2)+","+g(_t.$3)+","+V+")":t}function zt(t,V){var n,i,e,r,c,t,t,n,V,n=It(t);if("#"===n[0])i=g(n.substr(1,2)),e=g(n.substr(3,2)),r=g(n.substr(5,2));else{if(!(t=t.match(Et))||5!==F(t))return n;if(i=+t[1],e=+t[2],r=+t[3],0===(c=+t[4]))return n}return t=[i,e,r],(n=St[V])&&(t=[(V=et.Cv({r:i,g:e,b:r},n)).r,V.g,V.b]),c&&t.push(c),(c?"rgba(":"rgb(")+t.join(",")+")"}function A(t,V){var n,i,t,n=S(t.color,V);return n&&(i=0,n=Ht(n,1-(i=(t=t.transparency)!==Y&&t!==X?S(t,V):i))),n}function Qt(t){var V,n,V="ui-parse-color-cache";return t[V]||((n=p.Color.fromString(t.color)).applyBrightness(t.brightness),n.transparency=t.transparency,t[V]=n.toRgbaString()),t[V]}function Gt(t){var t,V,t=t,V=p.FillType.Solid;return E(t.stops)?E(t.src)||(V=p.FillType.Picture):V=p.FillType.Gradient,V}function Jt(t,V,n,i,e,r){var c,c,s,V,c=null==(c=V.JVV)?void 0:c.Mf,s=null==c?void 0:c.parent,V=V.OtV||1;(0,B.paintSparklineEx)(s,n,t,i,e,{asyncPaintEndCallback:r,sheet:c,zoomFactor:V})}function Wt(t){var t=t%360;return t=(t+360)%360}function Kt(t,V,n){var i,e,r,c,s,o,i=0,e=0,r=0,c=0;return 0<=n&&n<=90?(s=tV(i,e,t,V,n),o=m(n),r=s*l(o),c=s*f(o)):90<n&&n<=180?(i=t,o=m(180-n),r=i-(s=tV(i,e,0,V,180-n))*l(o),c=e+s*f(o)):180<n&&n<=270?(i=t,e=V,o=m(n-180),r=i-(s=tV(i,e,0,0,n-180))*l(o),c=e-s*f(o)):270<n&&n<=360&&(e=V,o=m(360-n),r=i+(s=tV(i,e,t,0,360-n))*l(o),c=e-s*f(o)),{x0:i,y0:e,x1:r,y1:c}}function $t(t,V,n){var i,e,r,i=p.LinearGradientFillDirection,e=90-ct(u(V,t)),r=n;switch(n){case i.topLeftToBottomRight:r=e;break;case i.topRightToBottomLeft:r=180-e;break;case i.bottomRightToTopLeft:r=180+e;break;case i.bottomLeftToTopRight:r=360-e}return r}function tV(t,V,n,i,e){var n,t,i,V,e,t,n=L(n-t),t=L(i-V),i=st(n*n+t*t),V=m(e),e=u(t,n),t=L(V-e);return i*l(t)}function VV(t,V,n,i){var e,r,e,r;return _.Common.distance(n,i,t/2<n?0:t,V/2<i?0:V)}function nV(t,V,n){var i,e,r,i=p.RadialGradientFillDirection,e=0,r=0;switch(n.direction){case i.fromCenter:r=e=.5;break;case i.fromTopLeft:r=e=0;break;case i.fromTopRight:e=1;break;case i.fromBottomLeft:r=1;break;case i.fromBottomRight:r=e=1;break;default:return}return{x:e*=t,y:r*=V}}function iV(t){return t.isPrintContext}function eV(t){var t,t,t,V,n,t=t.JVV,t=t&&t.ytV,t=t&&t.ntV;return!E(t)&&!(V=-1===t)&&!(n=109<=t&&t<=124)}function rV(t){var t=t.JVV;return t&&t.Mf&&t.Mf.BO()}function cV(t,V){var V=rV(V);V&&V.addImage(t)}function sV(t,V){var V;if(K(t))return(V=rV(V))?(V.addImage(t),V.getImage(t)):document.createElement("img")}function oV(t,V){var V=rV(V);return V&&V.qh(t)}function dV(t,V,n,i,e){i/e!==n&&(e<i/n?e=i/n:i=e*n),t.width=i,t.height=e,t.getContext("2d").drawImage(V,0,0,i,e)}function aV(t,V,n,i,e){var r,c,s,o,e,d,a,h,r,d,h,u,x,c,o,y,f,r=e.crop||{},c=e.offsetLeft||0,s=e.offsetRight||0,o=e.offsetTop||0,e=e.offsetBottom||0,d=r.left||0,a=r.right||0,h=r.top||0,r=r.bottom||0,d=d*n,h=h*i,u,x,c=c*t,o=o*V,y,f;return{sx:d,sy:h,sw:Math.max(0,n-d-a*n),sh:Math.max(0,i-h-r*i),dx:c,dy:o,dw:Math.max(0,t-c-s*t),dh:Math.max(0,V-o-e*V)}}function hV(t,V,n,i,e){var r,e,c,s,r=e%3,e=Math.floor(e/3),c=0,s=0;return 1==r?c=(t-n)/2:2==r&&(c=t-n),1===e?s=(V-i)/2:2===e&&(s=V-i),{tx:c,ty:s}}function uV(t){var V,n,V=!1,n=!1;return t===p.TextureFillMirrorType.both?n=V=!0:t===p.TextureFillMirrorType.horizontal?V=!0:t===p.TextureFillMirrorType.vertical&&(n=!0),{needMirrorX:V,needMirrorY:n}}function xV(t,V){var n,V,i,e,n=V.scaleX,V=V.scaleY,i=1,e=t.OtV;return t.TtV&&e&&(n*=e,V*=e,i=e),{scaleX:n,scaleY:V,zoomScale:i}}function yV(t,V,n,i,e,r,c,s){t.save(),c&&(t.scale(-1,1),n=-(n+e)),s&&(t.scale(1,-1),i=-(i+r)),t.drawImage(V,n,i,e,r),t.restore()}function fV(t,V,n,i,e){var e,r,e,t,V;n<1||i<1||(r=(e=uV(e)).needMirrorX,e=e.needMirrorY,t=t.getContext("2d"),y.width=2*n,y.height=2*i,yV(t,V=V,0,0,n,i,!1,!1),yV(t,V,n,0,n,i,r,!1),yV(t,V,0,i,n,i,!1,e),yV(t,V,n,i,n,i,r,e))}function lV(){var t=document.createElement("canvas");return t.width=0,t.height=0,t}function gV(t,V){var t,n,t,i,t,V,e,V,t=t.options,n;return!t||t.brightness!==V.brightness||t.contrast!==V.contrast||t.grayscale!==V.grayscale||t.blackAndWhite!==V.blackAndWhite||t.transparency!==V.transparency||(i=(t=t.duotone)&&t.color1,t=t&&t.color2,e=(V=V.duotone)&&V.color1,V=V&&V.color2,i!==e)||t!==V}function AV(t,V,n,i){var e,r,c,e=t.bufferCanvas,r=t.options,c=V.src;if(t.bufferCanvasIsDirty)return!0;if(!e.width||!e.height)return!0;if(V.tilePictureAsTexture!==r.tilePictureAsTexture)return!0;if(V.transparency!==r.transparency)return!0;if(!0===V.tilePictureAsTexture&&V.mirrorType!==r.mirrorType)return!0;if(!1===V.tilePictureAsTexture){if((e.width<n||e.height<i)&&tt(c))return!0;if(gV(t,V))return!0}return!1}function pV(t,V,n,i){var e,r,c,s,o,d,r,c,e=t.bufferCanvas,r=t.imgWidth,c=t.imgHeight,s=V.src,o;AV(t,V,n,i)&&e instanceof HTMLCanvasElement&&(d=r/c,V.tilePictureAsTexture?(fV(y,t.originSource,r,c,V.mirrorType),e.width=2*r,e.height=2*c,e.getContext("2d").drawImage(y,0,0)):(r=r,c=c,tt(s)&&(r=1.5*Math.max(r,n),c=1.5*Math.max(c,i)),dV(e,t.originSource,d,r,c)),(0,U.applyPictureFormat)(e,V),t.options=OV(V),t.bufferCanvasIsDirty=!1,t.fillModeBufferCanvas={})}function wV(t,V){var n,t,i;t.fillModeBufferCanvas||(t.fillModeBufferCanvas={}),(n=t.fillModeBufferCanvas)[V]||(t=t.bufferCanvas,(i=document.createElement("canvas")).width=t.width,i.height=t.height,i.getContext("2d").drawImage(t,0,0),(0,U.applyPictureFormat)(i,{fillMode:V}),n[V]=i)}function vV(t,V,n,i,e,r,c,s){var o,d,e,r,a,h,u,x,o=y,d=o.getContext("2d"),e=O(V.width*e,1),r=O(V.height*r,1);for(0<(n%=e)&&(n-=e),0<(i%=r)&&(i-=r),h=s-i,o.width=a=c-n,o.height=h,d.drawImage(V,0,0,e,r),u=e,x=r;u<a||x<h;)d.drawImage(o,0,0,u,x,u,0,u,x),d.drawImage(o,0,0,u*=2,x,0,x,u,x),x*=2;t.drawImage(o,-n,-i,c,s,0,0,c,s)}function jV(t,V){return A(t,V)}function bV(t,V,n,i,e,r,c){var n,i,n,s,o;if(!E(e.direction))return s=VV(n,i,i=(n=nV(n,i,e)).x,n=n.y),o=t.createRadialGradient(i+=r,n+=c,0,i,n,s),e.stops.forEach(function(t){o.addColorStop(t.position,Qt(t))}),o}function LV(t,V,n,i,e,r,c){var s,o,e,n,i,s,e,d;if(E(e.angle)||(s=Wt(e.angle)),E(e.direction)||(s=$t(n,i,e.direction)),E(e.stops)||(o=e.stops),!E(s))return n=(e=Kt(n,i,s)).x0,i=e.y0,s=e.x1,e=e.y1,d=t.createLinearGradient(n+r,i+c,s+r,e+c),o.forEach(function(t){d.addColorStop(t.position,Qt(t))}),d}function mV(t,V,n,i){var e,r,c,r,c,s,n,i,n,o,d,a,h,u,x,y,e=0;for(V.angle&&(e=V.angle),r=t.left+n/2,c=t.top+i/2,r=t.left-r,c=t.top-c,s=f(m(e))*O(n,i),n=l(m(e))*O(n,i),i=r+L(n),n=c+L(s),90<e&&e<270&&(o=r,r=i,i=o),180<e&&(o=c,c=n,n=o),d=CV().createLinearGradient(r,c,i,n),a=V.stops,h=0,u=F(a);h<u;h++)x=S(a[h].color,t),y=S(a[h].position,t),d.addColorStop(y,x);return d}function CV(){var t,V,t=Xt;return t||((V=rt("canvas")).hidden=!0,V.width=1,V.height=1,document.body.appendChild(V),Xt=t=(Ft=V).getContext("2d")),t}function RV(t,V,n,i,e){var r,c,s,o;V&&(r=-i/2,c=-e/2,eV(n)&&(i=(s=n.kg).width,e=s.height,r+=s.left,c+=s.top),t.save(),V.type===p.GradientFillType.linear?o=LV(t,n,i,e,V,r,c):V.type===p.GradientFillType.radial&&(o=bV(t,n,i,e,V,r,c)),o&&(t.fillStyle=o,t.fill()),t.restore())}function IV(t,V,n,i,e,r,c){var r,c,i,e,V,s,o,d,a,c,r=r.fillModeBufferCanvas[c],c=aV(i,e,r.width,r.height,V),i=c.sx,e=c.sy,V=c.sw,s=c.sh,o=c.dx,d=c.dy,a=c.dw,c=c.dh;t.drawImage(r,i,e,V,s,o,d,a,c)}function MV(t,V,n,i,e,r,c){var s,o,d,a,h,n,V,u,n,a,h,d,a,s=V.offsetX,o=V.offsetY,d=V.alignment,a=r.imgWidth,h=r.imgHeight,n=xV(n,V),V=n.scaleX,u=n.scaleY,n=n.zoomScale,a=hV(i,e,a*V,h*u,d),h=a.tx,d=a.ty,a=r.fillModeBufferCanvas[c];h+=s*n,d+=o*n,V&&u?iV(t)?vV(t,a,h,d,V,u,i,e):(t.save(),t.translate(h,d),t.scale(V,u),t.fillStyle=t.createPattern(a,"repeat"),t.fill(),t.restore()):(t.fillStyle="transparent",t.fill())}function _V(t,V,n,i,e,r,c){var s,o,r,d,d,s=V.src,o=n[r];if((o=o&&0===o.type?o:n[r]={type:0,bufferCanvas:lV()}).options&&o.options.src===s||(o.originSource=sV(s,n),o.options=OV(V),o.originSourceIsDirty=!0),o.originSourceIsDirty){if(!oV(s,n))return;if(r=o.originSource,dt.mozilla&&0===r.naturalWidth&&0===r.naturalHeight&&$(s)&&(d=nt(s)))return void cV(V.src=d,n);if(!(d=Vt(r,s)).width||!d.height)return;o.imgWidth=d.width,o.imgHeight=d.height,o.originSourceIsDirty=!1,o.bufferCanvasIsDirty=!0}pV(o,V,i,e),wV(o,c),SV(t,V,n,i,e,o,c)}function EV(t,V,n,i,e,r,c){var s,o,r,s=V.src,o=n[r];(o=o&&1===o.type?o:n[r]={type:1,originSource:lV(),bufferCanvas:lV()}).options&&o.options.src===s&&o.imgWidth===i&&o.imgHeight===e||(o.options=OV(V),(r=o.originSource).width=i,r.height=e,Jt(r.getContext("2d"),n,s,i,e,function(){var t;o&&n&&!o.bufferCanvasIsDirty&&(o.bufferCanvasIsDirty=!0,null!=(t=n.JVV))&&t.refresh()}),o.imgWidth=i,o.imgHeight=e,o.bufferCanvasIsDirty=!0),pV(o,V,i,e),wV(o,c),SV(t,V,n,i,e,o,c)}function SV(t,V,n,i,e,r,c){var s,o,s=V.tilePictureAsTexture;t.save(),t.clip(),t.translate(-i/2,-e/2),eV(n)&&(o=n.kg,t.translate(o.left,o.top),i=o.width,e=o.height),(s?MV:IV)(t,V,n,i,e,r,c),t.restore()}function FV(t,V,n,i,e,r,c){var s=V.src;c=c||"norm",K(s)?_V(t,V,n,i,e,r,c):(0,_.isSparkLineValue)(s)?EV(t,V,n,i,e,r,c):(t.save(),t.fillStyle="transparent",t.fill(),t.restore())}function XV(t,V,n,i,e,r,c){var s,o;V&&((s=Gt(V))===p.FillType.Solid?(""===(o=jV(V,n))&&(o="transparent"),r&&(o=r(o)),t.fillStyle=o,t.fill()):s===p.FillType.Gradient?RV(t,V,n,i,e):s===p.FillType.Picture&&FV(t,V,n,i,e,wt,c))}function YV(t,V,n){var i,n,i=j.MIN_LINE_WIDTH;return E(n)||(i*=n),0<(n=t.width)?e(Math.max(i,n*V)):0}function R(t,V,n,i,e,r){var c,s,o,s,i,e,r,s;V&&(c=Y,c=(c=(s=V.gradient)&&0===s.type?mV(n,s,i,e):c)||A(V,n),o=n.TtV&&n.OtV||1,0<(s=YV(V,o=E(r)?o:r,r))&&(t.lineWidth=s),(i=S(V.dashType,n))&&F(i)&&(e=i.map(function(t){return t*o}),t.setLineDash(e)),(r=S(V.capType,n))&&(t.lineCap=r),(s=S(V.joinType,n))&&(t.lineJoin=s),c)&&(t.strokeStyle=c,t.stroke())}function w(t){return JSON.parse(JSON.stringify(t))}function OV(t){var V=w(t);return V.src=t.src,V}function TV(t,V,n,i,e){var r,r,V;V&&((r=S(V.blur,n))!==X&&(t.shadowBlur=r),V.color&&(t.shadowColor=A(V,n)),V.angle||V.distance)&&((r=S(V.angle,n))===X&&(r=90),(V=S(V.distance,n))===X&&(V=1),t.shadowOffsetX=V*l(m(r)),t.shadowOffsetY=V*f(m(r)))}function NV(t,V,n,i,e,r){var c,s,o,d,a,h,d,o;if(V&&(c=V.reflection)){for(h in s=S(c.distance,n),isNaN(s)&&(s=1),o=n.originalHeight,d=S(c.size,n),isNaN(d)||(o=d),t.save(),t.beginPath(),n.renderPath(t,V,i,e,!1,!1,!1),t.translate(0,s+n.height),t.scale(1,-1),t.clip(-i/2,s-o,i,O(2*s,n.top)+e),a={type:1},V.fill)a[h]=V.fill[h];d=.8,o=S(c.transparency,n),isNaN(o)||(d*=o),a.transparency=d,XV(t,a,n,i,e),xn(t,V.stroke,n,r),t.restore()}}function PV(t,V,n,i,e){var r,c;V&&(r=S(V.size,n),TV(t,c={blur:r=isNaN(r)?5:r,color:A(V,n),distance:0},n,i,e))}function DV(n,t,V,i,e){var r,c,s,e,o,d,a,h,r,u,x,r,y,f,l,g,A,p,w,v,j,b,L,m,C,r,R,s,c,i,r,c,r,i,r,c,L,I,u,s=t.JVV;return V?(e=E(e)?S(V.text,t):e,e=(e=""+(e=E(e)?"":e)).replace(/\t/g," "),o=S(t.width,t),d=S(t.height,t),h=a=0,(r=t.textRect)&&(u=r.width,x=r.height,a=r.left,h=r.top,o=u,d=x),y=(r=!E(i)||t.TtV)&&(i||t.OtV)||1,f=S(V.margins,t),l=(t.MeV=f=f||{left:10,top:5,right:10,bottom:5}).left*y,g=f.right*y,A=f.top*y,p=f.bottom*y,w=(w=S(V.verticalAlignment,t))||0,(!(v=S(V.horizontalAlignment,t))||2<v)&&(v=0),m=b=j=0,"vertical"===(L=(L=S(V.textDirection,t))===X?"horizontal":L)||"rotate90"===L?m=90:"rotate270"===L&&(m=270),(C=S(V.font,t))&&(r&&(C=(r=s&&s.Mf)?E(i)?r.Dn._n(C):M.W.V(C,i).font:((R=parseFloat(_.Common.getFontSize(C)))*y).toFixed(2)+C.substr(C.indexOf("px "))),H(n,C),C=n.font),d<(s=_.Common.getFontHeight(C))+A+p&&(0===w?p=0:1===w?(c=O(d-s,0),A=(r=it([A,p],c))[0],p=r[1]):2===w&&(A=0)),r=(i=n.measureText("W").width)+l+g,1===v?o<r&&(c=O(o-i,0),l=(c=it([l,g],c))[0],g=c[1]):o<r&&i+l<o?g=o-i-l:o<i+l&&i<o?(l=O(3,o-i),g=0):o<i&&(l=3,g=0),x=d-A-p,(u=o-l-g)<=0||x<=0?void 0:(c="top",r="start",0===m?(0!==w&&(1===w?b=x/2:2===w&&(b=x)),1===v?(r="center",j=u/2):2===v&&(r="right",j=u)):(2===v?b=-u/2+g:1!==v&&0===v&&(b=u/2-l),0===w?j=-x/2+A:1===w?r="center":2===w&&(r="right",j=x/2-p)),n.textAlign=r,n.textBaseline=c,i="horizontal"===L?u:x,r=V.wrapTextInShape?qV(e,i,V.wrapNewLineOnly,C):qV(e,i,!0,C),(c=F(r))&&(L=s*c,b-=m?L/2*(2-v):L/2*w),V.resizeToFitText&&!V.wrapTextInShape&&(I=r.reduce(function(t,V){return Math.max(t,n.measureText(V).width)},0),I+=(f.left+f.right)*y),{font:C,textHeight:s,width:o,height:d,left:a,top:h,marginLeft:l,marginTop:A,marginBottom:p,marginRight:g,angle:m,lines:r,x:j,y:b,textFitHeight:u=(0<(u=s*F(r))?u:s)+(f.top+f.bottom)*y,textFitWidth:V.wrapTextInShape?S(t.width,t):I})):Y}function UV(t,V,n,i){var i,e,r,c,s,o,d,a,h,u,x,y,f,l,g,i,A,p,w,A,i,A,i,v,A,o,j,d,V,b,L;if(S(n.text,V)&&(i=DV(t,V,n,i),!E(i))){for(e=i.font,r=i.textHeight,c=i.width,s=i.height,o=i.left,d=i.top,a=i.marginLeft,h=i.marginTop,u=i.marginBottom,x=i.marginRight,y=i.angle,f=i.lines,l=i.x,g=i.y,i=V.JVV,w=r/2-(A=parseFloat(_.Common.getFontSize(e)))/2+(p=8<A?Math.floor((A-8)/5+2):1)-1,t.save(),t.beginPath(),(A=i&&i.flipX)&&t.scale(A?-1:1,1),XV(t,n.fill,V,c,s),R(t,n.stroke,V,c,s),i=n.shadow,A=n.glow,i?TV(t,i,V,c,s):A&&PV(t,A,V,c,s),A=(i=o-V.width/2)+a,o=(v=d-V.height/2)+h,0===y&&(l+=A,g+=o),(j=S(n.allowTextToOverflowShape,V))||(d=c-a-x,V=s-h-u,M.W.T0r(e)?t.rect(i,o,c,V):t.rect(A,o,d,V),t.clip()),0!==y&&t.rotate(m(y)),b=0,L=F(f);b<L;b++)n.fill&&t.fillText(f[b],l,g+w/2),n.stroke&&t.strokeText(f[b],l,g+w/2),g+=r;t.restore()}}function qV(t,V,n,i){var e,r,c,s,o,d,e=[];if(t&&0<F(t)){if(r=t.split(/\r\n|\r|\n/),n)return r;for((c=CV()).save(),i&&(c.font=i),s=0,o=F(r);s<o;s++)(d=kV(c,r[s],V))&&(0===F(d)?v(e,""):d.forEach(function(t){v(e,t)}));c.restore()}return e}function kV(t,V,n){var i,e,r,c,s,o,d,a,h,u,x,y,i=(0,M.zt)(V),e=[],r="",c=0;if(1===V.length)return[V];for(s=0,o=F(i);s<o;s++)if(d=i[s],a=t.measureText(d).width,n<c+(h=t.measureText(d.trim()).width)&&0<c)v(e,r.trim()),c=0,r="",s--;else if(n<h){for(u=BV(t,i[s],n,a),x=void 0,x=0;x<u.length-1;x++)v(e,u[x]);y=u[x],c=t.measureText(y).width,r=y}else 0===c&&0===h||(c+=a,r+=d);return 0<F(r)&&v(e,r),e}function BV(t,V,n,i){var e,r,c,s,o,d,a,h,u;if(n<=0)return V?V.split(""):[];for(e=[],r=1,c=F(V),s=O(1,Math.floor(n/(i/c))),o=0;o<c;){if(a=x(s,d=c-o),h=V.substring(o,o+a),(u=t.measureText(h).width)<n)for(;a<d&&(h=V.substring(o,o+a+1),!(n<(u=t.measureText(h).width)));)a++;else if(n<u)for(;1<a&&(a--,h=V.substring(o,o+a),!((u=t.measureText(h).width)<n)););a=O(1,a),v(e,V.substring(o,o+a)),o+=a}return e}function ZV(t){switch(t){case"m":case"l":case"h":case"v":case"c":case"s":case"q":case"t":case"a":case"e":case"z":return 1}}function I(t,V,n){return ZV(t)?V+n:n}function HV(t,V){var n,i;if(V)for(n in V)V.hasOwnProperty(n)&&("object"!=typeof(i=V[n])?t[n]=i:(Array.isArray(i)?t[n]=Z([],t[n]):t[n]=Z({},t[n]),t[n]=HV(t[n],i)));return t}function zV(t,V,n,i){var e,r,e=t.service;e?(r=e.getFormula(V,n))||e.setValueOrFormula(V,n,i):t.model[n]=i}function QV(t){return t&&t.hyperlink&&!t.isSelected}function GV(t){return!QV(t.ctV)&&WV(t)}function JV(t){var t=t.GtV;return t&&t.styleSupportInfo().supportText}function WV(t){var V=t.ctV.ttV;return 0===V||4===V&&JV(t)&&t.isSelected()}function KV(t){return t!==p.AutoShapeType.rectangle}function V(){}function n(t,V){this.scaleX=1,this.scaleY=1,this.flipX=!1,this.flipY=!1,this.visible=!0,this.angle=0,this.lrV=!1,this.CcV(t,V)}function $V(t,V){return new Nt(t,V)}function tn(t,V,n,i){var i,i,i=Math.max(i,3*n/4);return n=4*i/3,i=Math.ceil(i*Dt[V]),{angle:Pt[3*t+V],radius:i,size:[n*Ut[V],n*Ut[t]]}}function Vn(t,V,n,i,e,r,c){var s,o,s,d,a,h,h,a,h,u,x,y,f,l,a,s=r.stroke,o=A(s,n),s=s.width,d=j.MIN_ARROW_LINE_WIDTH;(isNaN(s)||s<1)&&(s=1),a=n.OtV||1,h=n.TtV,E(c)?1!==a&&h&&(s*=a):(s*=c,d*=c),h=r.endPoints,o&&h&&(a=h.beginArrow,h=h.endArrow,l=y=x=u=void 0,(f=a&&a.type)&&(x=V[0],y=V[1],nn(t,x,u=Math.atan2(y.y-x.y,y.x-x.x),s,o,f,l=tn(a.widthType,a.lengthType,s,d))),f=h&&h.type)&&(x=V[(a=V.length)-1],y=V[a-2],nn(t,x,u=Math.atan2(y.y-x.y,y.x-x.x),s,o,f,l=tn(h.widthType,h.lengthType,s,d))),wn(t,r.stroke,n,{width:i,height:e,lineCompoundPoints:V},!0,c)}function nn(V,t,n,i,e,r,c){var s,o,d,a,h,u,x,y,f,l,g,A,c,s=t.x,o=t.y,a=c.radius,h=c.size;if(r===p.ArrowheadStyle.oval)V.fillStyle=e,V.beginPath(),(0,_.drawEllipse)(V,s,o,h[0],h[1],0,0,C,!1),V.fill();else{if(u=[],y=x=void 0,f=5===r,3===r)for(y=Math.PI/2,l=0;l<4;l++)g=n+y*l,x=h[l%2],u.push({x:s+x*Math.cos(g),y:o+x*Math.sin(g)});else u=(A=[n-(y=c.angle),n+y]).map(function(t){return{x:s+a*Math.cos(t),y:o+a*Math.sin(t)}}),2!==r&&1!==r||(x=a*j.ARROW_STEALTH_RATIO,d={x:s+x*Math.cos(n),y:o+x*Math.sin(n)},2===r&&u.push(d)),u.splice(1,0,t);c=u.shift(),V.beginPath(),V.moveTo(c.x,c.y),u.forEach(function(t){V.lineTo(t.x,t.y)}),f?(V.save(),V.lineWidth=i,V.lineCap="round",V.lineJoin="miter",V.strokeStyle=e,V.setLineDash([]),V.stroke(),V.restore()):(V.closePath(),V.fillStyle=e,V.fill(),d&&(t.x=d.x,t.y=d.y))}}function en(t,V){var V,t,V,V=V?0:t.angle%360,t=(0,_.getShapePoints)(t,V,!0);return 0==V?t:(V=t.splice(0,4),{left:x.apply(Y,V),top:x.apply(Y,t),right:O.apply(Y,V),bottom:O.apply(Y,t)})}function rn(t){var V;return dn(t).sort(function(t,V){return t.left-V.left})[0].shape}function cn(t){var V;return dn(t).sort(function(t,V){return V.right-t.right})[0].shape}function sn(t){var V;return dn(t).sort(function(t,V){return t.top-V.top})[0].shape}function on(t){var V;return dn(t).sort(function(t,V){return V.bottom-t.bottom})[0].shape}function dn(t,n){return t.map(function(t){var V=en(t,n);return s(s({shape:t},V),{width:V.right-V.left,height:V.bottom-V.top})})}function an(t){return E(t)||t===p.CompoundType.simple}function hn(t){var t=t.ttV;return 5===t||3===t}function un(t,V){var t=YV(t,V.TtV&&V.OtV||1);return 0<t&&t%2==1}function xn(t,V,n,i){i.lineCompoundPoints?wn(t,V,n,i,!1):(t.save(),un(V,n)&&an(V.compoundType)&&!hn(n)&&(t.translate(.5,.5),n.renderSinglePath(t,i)),yn(t,V,n,i),t.restore())}function yn(t,V,n,i){if(hn(n)&&(ln(n,i,V),an(V.compoundType))&&n.renderSinglePath(t,i),an(V.compoundType))R(t,V,n,i.width,i.height);else switch(V.compoundType){case p.CompoundType.double:return fn(t),void pn(t,V,n,i,{parallelType:b.BorderType.inner,offsetFactor:.3,widthFactor:.3},{parallelType:b.BorderType.outter,offsetFactor:.3,widthFactor:.3});case p.CompoundType.thickThin:return fn(t),void pn(t,V,n,i,{parallelType:b.BorderType.inner,offsetFactor:.4,widthFactor:.2},{parallelType:b.BorderType.outter,offsetFactor:.2,widthFactor:.6});case p.CompoundType.thinThick:return fn(t),void pn(t,V,n,i,{parallelType:b.BorderType.inner,offsetFactor:.2,widthFactor:.6},{parallelType:b.BorderType.outter,offsetFactor:.4,widthFactor:.2});case p.CompoundType.triple:An(t,V,n,i,.375),pn(t,V,n,i,{parallelType:b.BorderType.inner,offsetFactor:.4,widthFactor:.18},{parallelType:b.BorderType.outter,offsetFactor:.4,widthFactor:.18})}}function fn(t){iV(t)&&(t.save(),t.lineWidth=0,t.strokeStyle="transparent",t.stroke(),t.restore())}function ln(t,V,n){V.pathCommands=t.getParallelPathCommand(V.pathCommands,b.BorderType.outter,.5*n.width*t.OtV)}function gn(t,V,n,i,e){var r,c,r=i.pathCommands;"false"!==r.strokeMode&&(i=w(i),(c=w(V)).width=V.width*e.widthFactor,i.pathCommands=n.getParallelPathCommand(r,e.parallelType,V.width*e.offsetFactor*n.OtV),n.renderSinglePath(t,i),R(t,c,n,i.width,i.height))}function An(t,V,n,i,e){var r,c,r;"false"!==i.pathCommands.strokeMode&&((c=w(V)).width=V.width*e,R(t,c,n,i.width,i.height))}function pn(t,V,n,i,e,r){gn(t,V,n,i,e),gn(t,V,n,i,r)}function wn(t,V,n,i,e,r){var c,s;if(void 0===e&&(e=!0),c=i.lineCompoundPoints,s=i.simpleConnectorLine,E(V.compoundType)||V.compoundType===p.CompoundType.simple||s)jn(t,c),R(t,V,n,i.width,i.height,r);else switch(!e||V.compoundType!==p.CompoundType.thinThick&&V.compoundType!==p.CompoundType.thickThin||(c=vn(c)),V.compoundType){case p.CompoundType.double:Ln(t,V,n,i,c,{outterLineWidthFactor:.3,outterLineOffsetFactor:.3,innerLineWidthFactor:.3,innerLineOffsetFactor:.3});break;case p.CompoundType.thinThick:Ln(t,V,n,i,c,{outterLineWidthFactor:.6,outterLineOffsetFactor:.2,innerLineWidthFactor:.2,innerLineOffsetFactor:.4});break;case p.CompoundType.thickThin:Ln(t,V,n,i,c,{outterLineWidthFactor:.2,outterLineOffsetFactor:.4,innerLineWidthFactor:.6,innerLineOffsetFactor:.2});break;case p.CompoundType.triple:mn(t,V,n,i,c)}}function vn(t){var V,n,i;return!(t.length<2)&&(i=(V=t[t.length-1].y-t[0].y)/(n=t[t.length-1].x-t[0].x),2===t.length&&0<=i||2<t.length&&(L(t[0].x-t[1].x)<.1&&i<0||L(t[0].y-t[1].y)<.1&&0<i))?T([],t,!0).reverse():t}function jn(n,t){n.beginPath(),t.forEach(function(t,V){0===V?n.moveTo(t.x,t.y):n.lineTo(t.x,t.y)})}function bn(t,V,n){var i,e,r,i,r,c,i=s({},n),e=i.strokeOptions,r=i.points,i=i.shapePathInfo,r=r.map(function(t){return{point:t,origin:b.PointSource.lineTo}}),c;jn(t,(0,d.getParallelPathPoints)(r,n.offset*V.OtV,n.parallelType).map(function(t){return t.point})),R(t,e,V,i.width,i.height)}function Ln(t,V,n,i,e,r){var c,c,c=w(V);c.width=V.width*r.outterLineWidthFactor,bn(t,n,{points:e,shapePathInfo:i,strokeOptions:c,offset:V.width*r.outterLineOffsetFactor,parallelType:b.BorderType.outter}),(c=w(V)).width=V.width*r.innerLineWidthFactor,bn(t,n,{points:e,shapePathInfo:i,strokeOptions:c,offset:V.width*r.innerLineOffsetFactor,parallelType:b.BorderType.inner})}function mn(t,V,n,i,e){Ln(t,V,n,i,e,{outterLineWidthFactor:.15,outterLineOffsetFactor:.4,innerLineWidthFactor:.15,innerLineOffsetFactor:.4});var r=w(V);r.width=.3*V.width,jn(t,e),R(t,r,n,i.width,i.height)}s=this&&this.__assign||function(){return(s=Object.assign||function(t){for(var V,n,i,e,n=1,i=arguments.length;n<i;n++)for(e in V=arguments[n])Object.prototype.hasOwnProperty.call(V,e)&&(t[e]=V[e]);return t}).apply(this,arguments)},T=this&&this.__spreadArray||function(t,V,n){if(n||2===arguments.length)for(var i=0,e=V.length,r;i<e;i++)!r&&i in V||((r=r||Array.prototype.slice.call(V,0,i))[i]=V[i]);return t.concat(r||Array.prototype.slice.call(V))},Object.defineProperty(j,"__esModule",{value:!0}),j.getBottomMostShape=j.getTopMostShape=j.getRightMostShape=j.getLeftMostShape=j.getActualBound=j.drawLineShape=j.ARROW_STEALTH_RATIO=j.MAX_ARROW_WIDTH_RATIO=j.ShapeProperties=j.ShapeUI=j.createShape=j.ShapeTextEditor=j.isCanEditTextShape=j.isCanEditTextFormControlShape=j.needOpenTextEditor=j.needProcessHyperlink=j.setShapeProperty=j.composite=j.paintText=j.getPaintTextInfo=j.applySimpleStrokeOptions=j.applyFillOptions=j.applyPictureOrTextureFillOptions=j.getCtx=j.isPrintContext=j.getColorFromOption=j.expandBoundWithShapeSelected=j.RENDER_BOUND_EPSILON=j.MIN_ARROW_LINE_WIDTH=j.MIN_LINE_WIDTH=j.VARIABLE_RECT_SIZE_IN_TOUCH=j.VARIABLE_RECT_SIZE=j.EXPAND_SIZE_FOR_HIT_TEST=void 0,N=t("Common"),b=t("./dist/plugins/shape/shape.interface.js"),P=t("./dist/plugins/shape/ui/options.js"),D=t("./dist/plugins/shape/ui/path.js"),p=t("./dist/plugins/shape/drawingInterface.js"),M=t("Core"),_=t("./dist/plugins/shape/ui/util.js"),d=t("./dist/plugins/shape/ui/shape-parallelPath.js"),U=t("./dist/plugins/shape/ui/pictureFormat.js"),o=t("./dist/plugins/shape/geometryService/geometryService.js"),q=t("./dist/plugins/shape/geometryService/serviceManager.js"),a=t("./dist/plugins/shape/geometryService/controlPointService.js"),k=t("./dist/plugins/shape/textEditor/divTextEditor.js"),B=t("./dist/plugins/shape/ui/sparklineUtil.js"),Z=_.Common.extend,H=_.Common.setContextFont,z=_.Common.setRectSize,c=_.Common.expandRectangle,Q=_.Common.translateRectangle,G=_.Common.calculateBoundByRects,J=_.Common.calculateRectangleCenterPoint,W=_.Common.rotateBound,K=_.Common.isBase64ImageStr,$=_.Common.isSVGBase64ImageStr,tt=_.Common.isVectorBase64ImageStr,Vt=_.Common.getImgNaturalSize,nt=_.Common.fixSVGBase64ImageForFirefox,it=_.Common.distributeByWeight,et=N.Common.ft,E=N.Common.lt.ht,rt=_.Common.createElement,S=_.Common.getOptionValue,v=_.Common.arrayPush,F=_.Common.ocV,m=_.Common.toRadius,ct=_.Common.toAngle,h=_.Common.rotatePoint,i=_.Common.defineProperty,u=Math.atan2,st=Math.sqrt,ot=M.mt.yt,dt=M.mt.browser,at=["gcSpread","shape-editor-container"],ht="gcSpread shape-editor",ut="blur",xt="keydown",yt="compositionstart",ft="input",lt="copy",gt="cut",At=2,e=Math.round,pt=Math.pow,wt="pictureFillImageSource",vt=10,jt="miter",Lt=17,mt=5,j.EXPAND_SIZE_FOR_HIT_TEST=Ct=bt=3,j.VARIABLE_RECT_SIZE=6,j.VARIABLE_RECT_SIZE_IN_TOUCH=20,j.MIN_LINE_WIDTH=1,j.MIN_ARROW_LINE_WIDTH=2,j.RENDER_BOUND_EPSILON=2,Y=null,x=Math.min,O=Math.max,L=Math.abs,f=Math.sin,l=Math.cos,Rt=Math.ceil,C=2*Math.PI,j.expandBoundWithShapeSelected=kt,It=function(t){var V;return qt||(V=rt("canvas"))&&V.getContext&&(qt=V.getContext("2d")),qt&&(qt.fillStyle=t,t=qt.fillStyle),t},Mt=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i,_t=RegExp,Et=/rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*([\d\.]+))?/,St={darken:-.4,darkenLess:-.2,lightenLess:.2,lighten:.4},j.getColorFromOption=A,j.isPrintContext=iV,y=document.createElement("canvas"),j.getCtx=CV,j.applyPictureOrTextureFillOptions=FV,j.applyFillOptions=XV,j.applySimpleStrokeOptions=R,j.getPaintTextInfo=DV,j.paintText=UV,j.composite=HV,j.setShapeProperty=zV,Yt=(0,P.getStyle)("default"),Ot=["left","top","width","height","angle","isSelected","relativeX","relativeY","relativeWidth","relativeHeight","hyperlink","range"],j.ShapeProperties=Ot,j.needProcessHyperlink=QV,j.needOpenTextEditor=GV,j.isCanEditTextFormControlShape=JV,j.isCanEditTextShape=WV,V.getInstance=function(){return this.editor||(this.editor=new V),this.editor},V.prototype.initEditor=function(t){var V,t,V=this;dt.msie&&V.RQt&&V.RQt!==t?V.closeEditor():t&&WV(t)&&(M.hi.F1(t.Mf),V.RQt=t,V.Ti=t.Mf.parent.j2(),V.Ti)&&((t=V.Ti.querySelector("".concat(at.map(function(t){return"."+t}).join(""))))?(V.FcV=t,V.feV=V.FcV.HrV):V.ScV(),V.FcV.style.display="",V.feV.focus())},V.prototype.ScV=function(){var c,s,o,d,c=this,s=c.RQt.Mf,o=s&&s.name(),d=s&&s.Qy();c.FcV=document.createElement("div"),c.FcV.className=at.join(" "),c.feV=new k.DivTextEditor(c.FcV),c.feV.className=ht,c.FcV.HrV=c.feV,c.Ti.appendChild(c.FcV),c.XcV=function(t){var V,n,i,e,n,r;c.isOpened&&(V={},i=(n=c.RQt).name(),e=c.YcV(),n.text&&(n=n.text())!==e&&(V[i]=r={oldValues:[["text",n]],values:[["text",e]]},d.execute({cmd:"submitShapeText",sheetName:o,shapes:[i],values:V})),c.TcV(),c.isOpened=!1,s.cnV()),c.RQt=null},c.YH=function(t){var V,n,i,V=t.keyCode;27===V?c.closeEditor():(n=d.getShortcutKey(V,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey),!(i=d.getCommands(n))&&s.rt.Pi(t)&&(c.showEditor(229===V?0:1),M.hi.F1(Y)))},c.PcV=function(t){c.showEditor(0)},c.Fgt=function(){c.TrV()},c.QrV=function(){var t;c.RQt&&0!==window.getSelection().toString().length&&(t=c.RQt.Mf)&&t.ieV()},c.feV.addEventListener(ut,c.XcV),c.feV.addEventListener(xt,c.YH),c.feV.addEventListener(yt,c.PcV),c.feV.addEventListener(ft,c.Fgt),c.feV.addEventListener(lt,c.QrV),c.feV.addEventListener(gt,c.QrV)},V.prototype.qcV=function(t,V){var n,i,e,r,c,s,i,c,o,c,d,a,h,r,s,u,t,n=this,i=n.RQt.ctV,e=i.options&&i.options.textFormatOptions,r=S(e.margins,i),c=i.TtV,s=c&&i.OtV||1,i=S(e.font,i);i&&c&&(i=(c=n.RQt&&n.RQt.Mf)?c.Dn._n(i):((o=parseFloat(_.Common.getFontSize(i)))*s).toFixed(2)+i.substr(i.indexOf("px "))),c=_.Common.getFontHeight(i),d=(r=r||{left:10,top:3,right:10,bottom:5}).left*s,a=r.right*s,h=r.top*s,r=r.bottom*s,s=t-d-a,t=1,(u=e.fill&&e.fill.transparency)&&!isNaN(u)&&(t=1-u),n.feV.style={font:ot(i),lineHeight:"".concat(c,"px"),color:e.fill&&e.fill.color,opacity:t+"",textAlign:n.UcV(e.horizontalAlignment),verticalAlign:n.kcV(e.verticalAlignment),padding:"".concat(h,"px ").concat(a,"px ").concat(r,"px ").concat(d,"px"),width:"".concat(s,"px"),maxWidth:"".concat(s,"px"),transform:"translate(".concat(-V.x,"px, ").concat(-V.y,"px)")}},V.prototype.UcV=function(t){return 0===t?"left":1===t?"center":2===t?"right":"left"},V.prototype.kcV=function(t){return 0===t?"top":1===t?"middle":2===t?"bottom":"top"},V.prototype.BcV=function(){var t,V,n,t,i,e,t,r,t=this,V=new _.Point(0,0),n=t.RQt,t=t.RQt.Mf,i=t.Yy(2,3),e=t._y(2,3);return(0<t.frozenTrailingColumnCount()||0<t.frozenTrailingRowCount())&&(t=n.startRow(),r=n.startColumn(),t>=e[0].row&&(V.y=e.findRow(t).y,V.y+=n.startRowOffset()),r>=i[0].col)&&(V.x=i.findCol(r).x,V.x+=n.startColumnOffset()),V},V.prototype.shouldRefreshPosition=function(t,V){var n,i,e,i,n;return!!(this.RQt&&this.isOpened&&(n=this.RQt)&&(i=n.startRow(),e=n.startColumn(),i=n.Mf.C0(i),n=n.Mf.S0(e),t===i)&&V===n)},V.prototype.showEditor=function(t){var V,t,n,V=this;!V.isOpened&&V.RQt&&(V.isOpened=!0,V.DLn(),V.feV.select(t),M.hi.F1(Y),t=V.RQt,n=(0,_.getShapeStartLayer)(t),V.refreshPosition(n.scrollLeft,n.scrollTop),t.Mf.cnV())},V.prototype.refreshPosition=function(t,V){var n=this;n.VdV(t,V),n.TrV()},V.prototype.VdV=function(t,V){var n,t,V,i,e,r,c,s,o,d,a,h,o,u,x,y,f,u,l,h,o,y,d,t,r,n=this,t=t,V=V,i=n.FcV;n.RQt&&n.FcV&&n.isOpened&&(e=n.RQt.ctV,r=n.BcV(),c=n.RQt,d=(o=(s=n.RQt.Mf).Fi()).b6,a=o.T6,h=o.F6,o=o.L6,x=(u=e.textRect)?u.right-u.left:e.width,y=u?u.bottom-u.top:e.height,f=u?u.left:0,u=u?u.top:0,l=n.HcV(t,V,f,u),0!==t&&(t-=h),0!==V&&(V-=o),h=x-l.x,o=y-l.y,y=0!==r.x?r.x+f:e.left+f+d-(t||0)+l.x,d=0!==r.y?r.y+u:e.top+u+a-(V||0)+l.y,t=n.QcV(),r=c.rotate?c.rotate():0,s.options.rightToLeft&&(y=(0,_.getDomRectBaseSheetLayer)(n.RQt).x),(0,M.GC$)(i).css({width:"".concat(h,"px"),height:"".concat(o,"px"),"max-width":"".concat(h,"px"),left:"".concat(y,"px"),top:"".concat(d,"px"),overflow:"".concat(0!==l.x||0!==l.y?"hidden":"visible"),transform:"rotate(".concat(r,"deg)"),"transform-origin":"".concat(t.x-f,"px ").concat(t.y-u,"px"),"z-index":"950",position:"absolute"}),n.qcV(x,l))},V.prototype.QcV=function(){var t,V=this.RQt.ctV;return new _.Point(.5*V.width,.5*V.height)},V.prototype.TcV=function(){var t=this;t.FcV&&t.RQt&&((0,M.GC$)(t.FcV).removeAttr("style"),t.feV.style={},t.feV.text="",t.FcV.style.display="none")},V.prototype.closeEditor=function(){var t,V,V,t=this;t.RQt&&(V=(V=t.RQt)&&V.Mf)&&(t.feV.blur(),M.hi.F1(V))},V.prototype.YcV=function(){return this.feV.text},V.prototype.DLn=function(){var t,V,t=this,V=t.RQt;V&&2!==V.ctV.ttV&&(t.feV.text=V.text?V.text():"")},V.prototype.hP=function(){return this.feV&&this.feV.isActive},V.prototype.HcV=function(t,V,n,i){var e,r,c,s,e,s=this.RQt.ctV,r=c=0;return 0!==t&&t>s.left&&(r=t-s.left-n),0!==V&&V>s.top&&(c=V-s.top-i),new _.Point(r,c)},V.prototype.TrV=function(){var t,V,n,i,n,e,r,e,V,t=this,V=t.RQt.ctV;t.isOpened&&V&&(i=(n=V.options.textFormatOptions)&&n.resizeToFitText)&&(n=V.JVV,r=(e=V.getShapeFitTextSize(t.YcV())).height,e=e.width,V.height===r&&V.width===e||(V.resize(e,r),n.refresh(),V=(0,_.getShapeStartLayer)(n),t.VdV(V.scrollLeft,V.scrollTop)))},V.prototype.dispose=function(){var t=this;t.feV&&t.Ti&&(t.feV.removeEventListener(ut,t.XcV),t.feV.removeEventListener(xt,t.YH),t.feV.removeEventListener(yt,t.PcV),t.feV.removeEventListener(ft,t.TrV),t.feV.removeEventListener(gt,t.QrV),t.feV.removeEventListener(lt,t.QrV),t.Ti.removeChild(t.FcV),t.FcV=null,t.feV=null,t.isOpened=!1,t.RQt=null)},Tt=V,j.ShapeTextEditor=Tt,n.prototype.CcV=function(t,V){var n,i,n=this;n.model=t||{},n.ttV=0,t&&("string"==typeof t.path?((i=new D.Path).parse(t.path),t.path=[i.pathCommands]):t.path&&t.path.pathCommands&&(t.path=[t.path.pathCommands])),t&&n.defineProperties(),n.setService(V),n.showConnectors=!1,n.connectionLines=[],n.initAdjustmentInfo(t),n.initGeometryService(t),n.resetPathOffset()},n.prototype.getValueResolver=function(){return null},n.prototype.initGeometryService=function(t){var V=this;V.grV=q.GeometryServiceManager.getGeometryService(t),V.ArV=V.grV?V.grV.getDependency():{}},n.prototype.initAdjustmentInfo=function(t){t&&(E(t.autoShapeType)?this.initCustomShapeAdjustmentInfo(t):this.initBuiltInAdjustmentInfo(t))},n.prototype.initBuiltInAdjustmentInfo=function(t){var t,V,t=(0,a.getPresetShapeInfo)(t.autoShapeType);t&&(V=this,t.fnDefs&&(V.F0V=t.fnDefs,V.S0V=t.fnArgs),V.YtV=t.definition.adjustInfo)},n.prototype.initCustomShapeAdjustmentInfo=function(e){var r,c,s;e&&e.controls&&0!==e.controls.length&&(r=this,c=[],e.variables=e.variables||{},s=function(t){var V={width:r.width,height:r.height};return"number"==typeof t?t:o.GeometryService.evaluatorFormula(t,V)},e.controls.forEach(function(t){var V,n,i,V;0===t.xBehavior&&(V=(0,a.getNewAdjustName)(e.variables),n=(0,a.getBoundFnInfo)(t.x,"".concat(o.VARIABLES,".").concat(V,"*width/").concat(a.ADJUSTMENT_UNIT)),t.xRef=V,t.x=n.formula,i=s(n.value)/r.width*a.ADJUSTMENT_UNIT,e.variables[V]=i,r.setVariable(t.xRef,i),c.push(V)),0===t.yBehavior&&(V=(0,a.getNewAdjustName)(e.variables),n=(0,a.getBoundFnInfo)(t.y,"".concat(o.VARIABLES,".").concat(V,"*height/").concat(a.ADJUSTMENT_UNIT)),t.yRef=V,t.y=n.formula,i=s(n.value)/r.height*a.ADJUSTMENT_UNIT,e.variables[V]=i,r.setVariable(t.yRef,i),c.push(V))}),0<c.length)&&(r.YtV=c.map(function(t){return[t,r.getVariable(t)]}))},n.prototype.defineProperties=function(){var n=this;Ot.forEach(function(V){i(n,V,{get:function(){return n.service?n.service.getValue(n.id,V):n.model[V]},set:function(t){zV(n,n.id,V,t),n.ArV[V]&&n.resetPathOffset()}})}),i(n,"options",{get:function(){var t,V;return n.optionsCache||(V=Z({},Yt),t=n.service?n.service.getOptions(n.id):n.model.options,n.optionsCache=HV(V,t))},set:function(t){delete n.optionsCache,n.service?n.service.setOptions(n.id,t):n.model.options=t}}),i(n,"connectionLines",{get:function(){return n.service?n.service.getConnectionLines(n.id):n.model.connectionLines},set:function(t){n.service?n.service.setConnectionLines(n.id,t):n.model.connectionLines=t}}),i(n,"parent",{get:function(){var t;return n.service?(t=n.service.getValue(n.id,"parentId"))&&n.service.getShapeById(t):n.model.parentId},set:function(t){n.service?n.service.setValueOrFormula(n.id,"parentId",t?t.id:X):n.model.parentId=t?t.id:X}})},n.prototype.getGeoProperties=function(){var V,n,V=this,n={};return Ot.forEach(function(t){V[t]!==X&&(n[t]=V[t])}),n},n.prototype.setGeoProperties=function(V){var n=this;V&&Ot.forEach(function(t){V[t]!==X&&(n[t]=V[t])})},n.prototype.getService=function(){return this.service},n.prototype.setService=function(t){var V=this,n;V.service!==t&&(V.service&&(n=V.model=V.service.getValues(V.id,"",!0),V.optionsCache)&&(n.options=V.optionsCache),V.service=t,n=V.model)&&t&&(V.id=n.id||t.getUniqueShapeId(),t.CnV=!0,t.setValues(V.id,"",n),delete t.CnV,V.model={},V.optionsCache=Y)},n.prototype.getVariable=function(t){var V=this;return V.variables&&V.variables[t]},n.prototype.setVariable=function(t,V){var n,i,n=this,i=n.variables;(i=i||(n.variables={}))[t]=V,n.resetPathOffset(),n.JVV&&n.JVV.TrV()},n.prototype.getCornerPoints=function(){return(0,_.getShapePoints)(this,this.angle)},n.prototype.getActualCornerPoints=function(){var t,V,n,i,e,r,t=this,n=t.angle;if(t.parent)for(V=t.parent;V;)V.angle&&(V.savedAngle=V.angle,V.setAngle(0)),V=V.parent;if((r=t.getCornerPoints())&&0!==n)for(i=t.getCenterPoint(t.width,t.height),e=0;e<F(r);e++)r[e]=h(r[e],i,m(t.angle));if(t.parent)for(V=t.parent;V;){if(n=V.savedAngle,!isNaN(n)&&0!==n)for(i=V.getCenterPoint(V.width,V.height),e=0;e<F(r);e++)r[e]=h(r[e],i,m(n));V=V.parent}if(t.parent)for(V=t.parent;V;)V.savedAngle&&(V.setAngle(V.savedAngle),delete V.savedAngle),V=V.parent;return r},n.prototype.getConnectorPoints=function(V,n){var t,i,e,t,i=this.connectionPoints,e=[];return e=i?i.map(function(t){return{x:V+t.x,y:n+t.y}}):e},n.prototype.getActualConnectorPoints=function(){var t,V,t=this,V=t.getConnectorPoints(e(t.left),e(t.top));return V=t.rotatePoints(V)},n.prototype.rotatePoints=function(t){var V,n,i,e,r,c,V=t.length,n=this,i=n.getShapeCenter(),e=n.angle,r=n.parent;for(r&&(e-=r.angle),c=0;c<V;c++)t[c]=h(t[c],i,m(e));return t=r?n.parent.rotatePoints(t):t},n.prototype.V0V=function(){var t,V,n,i,e,r,c,r,s,o,d,a,e,V,n,t=this,V=t.width,n=t.height,i=V/2,e=n/2,r=t.angle,c=m(r),r={},o={x:i,y:e},d=t.left,a=t.top,e=[[0,0],[i,0],[V,0],[0,e],[V,e],[0,n],[i,n],[V,n]];return r.resizePoints=e.map(function(t){return{x:(s=h({x:t[0],y:t[1]},o,c)).x+d,y:s.y+a}}),s=h({x:i,y:-20},o,c),r.rotatePoint={x:s.x+d,y:s.y+a},(V=t.controls)&&(r.adjustPoints=V.map(function(t){return{x:(s=h({x:t.x,y:t.y},o,c)).x+d,y:s.y+a}})),(n=t.connectionPoints)&&(r.connectionPoints=n.map(function(t){return{x:(s=h({x:t.x,y:t.y},o,c)).x+d,y:s.y+a}})),r},n.prototype.addConnectionLine=function(t){var V;this.connectionLines&&(V=this.connectionLines,v(V,t),this.connectionLines=V)},n.prototype.removeConnectionLine=function(t){var V,t,V=this.connectionLines,t=V.indexOf(t);0<=t&&(V.splice(t,1),this.connectionLines=V)},n.prototype.suspendResetPath=function(){this.lrV=!0},n.prototype.resumeResetPath=function(t){void 0===t&&(t=!0),this.lrV=!1,t&&this.resetPathOffset()},n.prototype.resetPathOffset=function(){var t,V,V,t=this;!t.lrV&&t.grV&&(V=t.wrV(),V=t.grV.calculate(V),t.textRect=V.textRect,t.connectionPoints=V.connectionPoints,t.controls=V.controlPoints,t.path=V.path,t.kg=V.pathRect,z(t.textRect))},n.prototype.wrV=function(){var n,i,n=this,i={};return Object.keys(n.ArV).forEach(function(t){i[t]="width"===t||"height"===t?e(n[t]):n[t]}),n.YtV&&0<n.YtV.length&&n.YtV.forEach(function(t){var t=t[0],V=n.getVariable(t);i[o.VARIABLES_SHORT_NAME+"."+t]=V,i[o.VARIABLES+"."+t]=V}),i},n.prototype.getShapeCenter=function(t){var V,n,t,i,V=this,n=V.Eot;return!t&&n||(t=V.width,i=V.height,n={x:V.left+t/2,y:V.top+i/2},V.Eot=n,V.YC=t,V.ZC=i),n},n.prototype.updateCenterData=function(){this.getShapeCenter(!0)},n.prototype.bounds=function(t,V,n,i){var e=this;e.left=t,e.top=V,e.width=n,e.height=i,e.updateCenterData()},n.prototype.move=function(t,V,n){var i=this;i.left=t,i.top=V,i.updateCenterData()},n.prototype.pcV=function(t,V){var n,i,e,n=this,i=n.width,e=n.height;n.originalWidth||(n.originalWidth=S(i,n)),n.originalHeight||(n.originalHeight=S(e,n)),i&&isNaN(i)||(n.width=t,n.scaleX=t/n.originalWidth),e&&isNaN(e)||(n.height=V,n.scaleY=V/n.originalHeight),n.resetPathOffset(),n.updateCenterData()},n.prototype.resize=function(t,V,n,i){var e,V,e=this;e.suspendResetPath(),e.resizeHeight(V,n),e.resizeWidth(t,i),(V=e.JVV)&&(V.flipX=e.width<0,V.flipY=e.height<0),e.resumeResetPath()},n.prototype.resizeHeight=function(t,V){var n,i,e,r,i,c,s,o,d,n=this,i=t-n.height,e=m(n.angle),r=f(e)*i/2,i=l(e)*i/2,c=n.getShapeCenter(!0);V?(s=h({x:n.left,y:n.top+n.height},c,e),o={x:c.x+r,y:c.y-i},d=h(s,o,-e),n.pcV(n.width,t),n.move(d.x,d.y-t,!0)):(s=h({x:n.left,y:n.top},c,e),o={x:c.x-r,y:c.y+i},d=h(s,o,-e),n.pcV(n.width,t),n.move(d.x,d.y,!0))},n.prototype.resizeWidth=function(t,V){var n,i,e,r,i,c,s,o,d,n=this,i=t-n.width,e=m(n.angle),r=l(e)*i/2,i=f(e)*i/2,c=this.getShapeCenter(!0);V?(s=h({x:n.left+n.width,y:n.top},c,e),o={x:c.x-r,y:c.y-i},d=h(s,o,-e),n.pcV(t,n.height),n.move(d.x-t,d.y,!0)):(s=h({x:n.left,y:n.top},c,e),o={x:c.x+r,y:c.y+i},d=h(s,o,-e),n.pcV(t,n.height),n.move(d.x,d.y,!0))},n.prototype.getHitTestBound=function(){return c(this.getRenderBound(!0),j.EXPAND_SIZE_FOR_HIT_TEST)},n.prototype.P5e=function(){var t,V,n,i,t,t=this,V=e(t.left),n=e(t.top),i=e(t.width),t=e(t.height);return{left:V,top:n,width:i,height:t,right:V+i,bottom:n+t}},n.prototype.hitTest=function(t,V,n){var i,e,r,c,s,e,o,d,a,h,n,o,u,x,y,f,l,g,A,p,w,v,o,i=this,e=i.P5e(),r=e.left,c=e.top,s=e.width,e=e.height,o=J(r,c,s,e),d=s/2+r,a=e/2+c,h=n||CV();if(h.save(),i.transformContext(h,o),n=i.isSelected,o=new _.Rect(-s/2,-e/2,s,e),u={},n&&!1!==i.canRotate&&(h.beginPath(),h.moveTo(0,-o.height/2-11),h.arc(0,-o.height/2-20,i.Oi?10:5,0,C),h.isPointInPath(t,V))&&(u.shape=i,u.type=b.HitTestType.rotate),n&&!u.type&&(x=i.variableRects(!0))&&0<F(x))for(y=0;y<F(x);y++)if(f=x[y],h.beginPath(),h.rect(f.x-d,f.y-a,f.width,f.height),h.isPointInPath(t,V)){u.type=b.HitTestType.adjustment,u.adjustmentHandle=f,u.shape=i;break}if(!u.type&&(o.expand(j.EXPAND_SIZE_FOR_HIT_TEST),h.beginPath(),h.rect(o.x,o.y,o.width,o.height),h.isPointInPath(t,V))){if(n&&!u.type&&!u.adjustmentHandle)for(l=i.sizeRects(r,c,s,e),y=0;y<F(l);y++)if(g=l[y],A=i.Oi?10:4,h.beginPath(),h.rect(g.x-d-A,g.y-a-A,g.width+2*A,g.height+2*A),h.isPointInPath(t,V)){u.shape=i,u.type=b.HitTestType.resize,u.resizeHandle=g;break}if(!u.type)for(p=i.getConnectorPoints(r,c),w=i.Oi?20:6,y=0;y<F(p);y++)if(v=p[y],h.beginPath(),h.rect(v.x-d-w/2,v.y-a-w/2,w,w),h.isPointInPath(t,V)){u.shape=i,u.type=b.HitTestType.connectionPoint,u.connectionPointIndex=y;break}n&&!u.type&&(o=i.Oi?10:6,Zt(h,t,V,new _.Rect(-s/2,-e/2,s,e),o))&&(u.shape=i,u.type=b.HitTestType.border),u.type||(u.shape=i,u.type=b.HitTestType.body)}return h.restore(),u},n.prototype.sizeRects=function(t,V,n,i){var e,r,c,t;function s(t,V,n){var t=new _.Rect(t-r,V-r,2*r,2*r);return t.type=n,t}return r=3,c=(e=this).JVV.allowResize(),t=[s(t,V,b.ResizeHandleType.topLeft),s(t+n/2,V,b.ResizeHandleType.topCenter),s(t+n,V,b.ResizeHandleType.topRight),s(t,V+i/2,b.ResizeHandleType.middleLeft),s(t+n,V+i/2,b.ResizeHandleType.middleRight),s(t,V+i,b.ResizeHandleType.bottomLeft),s(t+n/2,V+i,b.ResizeHandleType.bottomCenter),s(t+n,V+i,b.ResizeHandleType.bottomRight)],c===b.ResizeMode.horizontal?[t[3],t[4]]:c===b.ResizeMode.vertical?[t[1],t[6]]:!1===c?[]:t},n.prototype.variableRects=function(t){var V,n,i,e,r,c,s,o,d,a,d,a,V=this,n=V.controls;if(n){for(i=t&&V.Oi?j.VARIABLE_RECT_SIZE_IN_TOUCH:j.VARIABLE_RECT_SIZE,e=V.left-i/2+.5,r=V.top-i/2+.5,c=[],s=0,o=F(n);s<o;s++)a=e+(d=n[s]).x,d=r+d.y,(a=new _.Rect(a,d,i,i)).index=s,v(c,a);return c}},n.prototype.getControlPointRange=function(t){var n=this;return t.map(function(t){var V=+t;return isNaN(V)?n.getVariable(t):V})},n.prototype.updateAdjustVariable=function(t,V){var n=this,i=n.zcV,e=n.GcV;i||(i=n.zcV={},e=n.GcV={}),e[t]||(e[t]=n.getVariable(t)),i[t]=V,n.setVariable(t,V)},n.prototype.getAdjustChanges=function(){var t,V,n,i,e,r,t=this,V=t.zcV;if(V){for(r in n=t.GcV,i=[],e=[],V)v(i,[r,V[r]]),v(e,[r,n[r]]);return t.zcV={},t.GcV={},{values:i,oldValues:e}}},n.prototype.updateAdjustValue=function(t,V,n,i,e){var r,c,t,c,r=this,c=[V],t=r.getControlPointRange([t.min,t.max]),c=(0,_.getAdjustValue)(c,n,i,e,X,t,r);c&&r.updateAdjustVariable(V,c.value)},n.prototype.updatePolarAdjustValue=function(t,V,n,i,e,r){var c,s,o,s,s,V,t,V,c=this;t.maxAngle&&(o=V[0],s=(0,_.getAdjustAngle)(c.angle,(s={x:n/2,y:i/2}).x,s.y,e,r,t.adjustInfo),s=Bt(c.getControlPointRange([t.minAngle,t.maxAngle]),s),c.updateAdjustVariable(o,s)),(o=V[1])&&(V=[o+"_x",o+"_y"],t=c.getControlPointRange([t.minRadius,t.maxRadius]),V=(0,_.getAdjustValue)(V,n,i,e,r,t,c))&&(s=V.value,c.updateAdjustVariable(o,s))},n.prototype.changeVariablePoint=function(t,V){var n,i,e,r,V,V,c,t,c,t,s,o,n=this,i=n.F0V,e=n.width,r=n.height,V=V.adjustmentHandle,V=n.controls[V.index],c=n.Eot,t=h({x:t.x-c.x,y:t.y-c.y},{x:0,y:0},-m(n.angle)),c=t.x+e/2,t=t.y+r/2,s=V.aRef,o=V.rRef;s||o?n.updatePolarAdjustValue(V,[s,o],e,r,c,t):(0===V.xBehavior&&(i?n.updateAdjustValue(V,V.xRef,e,r,c):n.setVariable(V.xRef,c/e*a.ADJUSTMENT_UNIT)),0===V.yBehavior&&(i?n.updateAdjustValue(V,V.yRef,e,r,t):n.setVariable(V.yRef,t/r*a.ADJUSTMENT_UNIT)))},n.prototype.getCenterPoint=function(t,V){var n=this,i=this.getShapeCenter(),e=n.YC,r=n.ZC;return e===t&&r===V||(i=n.Eot={x:i.x+(t-e)/2,y:i.y+(V-r)/2},n.YC=t,n.ZC=V),i},n.prototype.setAngle=function(t){this.angle=t},n.prototype.transformContext=function(t,V){var n,i,e,i,V,n,n=this,i=n.JVV,e=i&&i.flipX,i=i&&i.flipY;t.translate(V.x,V.y),V=n.angle,(n=n.parent)&&(V-=n.angle),V&&t.rotate(m(V)),(e||i)&&t.scale(e?-1:1,i?-1:1)},n.prototype.transform=function(t,V,n){var i,e,r,e,V;void 0===n&&(n=!0),r=(e=(i=this).JVV)&&e.flipX,e=e&&e.flipY,t.translate(V.x,V.y),(V=i.getShapeRotate())&&n&&t.rotate(V),(r||e)&&t.scale(r?-1:1,e?-1:1)},n.prototype.getShapeRotate=function(){var t,V,t,t=this,V=t.angle,t=t.parent;return t&&(V-=t.angle),m(V)},n.prototype.acV=function(){var t,V,n,i,e,t=this;if(2===t.ttV){for(V=!0,n=0,i=t.shapes;n<i.length;n++)if(!(e=i[n]).acV()){V=!1;break}}else V=1===t.ttV||0===t.ttV&&t.JVV&&(t.JVV.type()===p.AutoShapeType.line||t.JVV.type()===p.AutoShapeType.lineInverse);return V},n.prototype.render=function(t,V,n,i){var e,r,c,s,o,r,d,a,h,u,u,d,x,y,f,l,g,A,p,w,p,e=this,r=e.P5e(),c=r.left,s=r.top,o=r.width,r=r.height,d=J(c,s,o,r);if(o<0&&(e.width=o=-o,a=!0),r<0&&(e.height=r=-r,h=!0),(!(u=e.acV())||0!==o||0!==r)&&(u||0!==o&&0!==r)&&e.visible){if(t.save(),e.transform(t,d),e.Dn(t,o,r,V,n),(u=Tt.getInstance()).RQt===e.JVV&&u.isOpened||e.Me(t,e.options&&e.options.textFormatOptions,n),d=e.JVV,!1!==i&&null!=d&&d.showHandle()){if(e.paintSelection(t,c,s,o,r),!e.isSelected&&!1!==e.showConnectors&&(f=o/2,l=r/2,y=(x=e.getConnectorPoints(c,s))&&F(x)))for(g=4,t.beginPath(),A=0;A<y;A++)w=(p=x[A]).x-f-c,p=p.y-l-s,t.fillStyle="lightgrey",t.moveTo(w,p),t.arc(w,p,4,0,C),t.fill();e.renderControlPoints(t,o,r)}t.restore(),a&&(e.width=-o),h&&(e.height=-r)}},n.prototype.mrV=function(t,V){for(var n,n,i,e,r,c,s,o,d,a,h,u,x,y,f,l,i=1e6,e=this,r=0,c=1e6,s=0,o=1e6,d=1e3,a=e.wrV(),h=0;h<1e3;h++)x=(s+o)/2,a.height=u=(r+c)/2,a.width=x,V<(f=(y=e.grV.calculate(a).textRect).bottom-y.top)?c=u:r=u,t<(l=y.right-y.left)?o=x:s=x;return 1e6===s&&(s=t),{width:!1===(null==(n=null==(n=e.options)?void 0:n.textFormatOptions)?void 0:n.wrapTextInShape)?s:e.width,height:r=1e6===r?V:r}},n.prototype.getShapeFitTextSize=function(t){var V,t,V=this,t=DV(document.createElement("canvas").getContext("2d"),V,V.options&&V.options.textFormatOptions,void 0,t);return t?V.mrV(t.textFitWidth,t.textFitHeight):null},n.prototype.renderControlPoints=function(n,i,e){var t,t,V,t=this;t.isSelected&&(t=t.controls)&&(V=6,n.beginPath(),t.forEach(function(t){var V=t.x-3-i/2,t=t.y-3-e/2;n.fillStyle="yellow",n.fillRect(V,t,6,6),n.strokeStyle="grey",n.strokeRect(V,t,6,6)}))},n.prototype.paintSelection=function(t,V,n,i,e){var r,c,s,o,r=this;if(r.isSelected){for(t.strokeStyle="grey",t.lineWidth=1,t.fillStyle="white",t.beginPath(),t.strokeRect(-i/2+.5,-e/2+.5,i,e),c=r.sizeRects(V,n,i,e),s=0;s<F(c);s++)o=c[s],t.fillRect(o.x-r.left-i/2+.5,o.y-r.top-e/2+.5,o.width,o.height),t.strokeRect(o.x-r.left-i/2+.5,o.y-r.top-e/2+.5,o.width,o.height);!1!==r.canRotate&&r.JVV&&r.JVV.allowRotate()&&(t.fillStyle="grey",t.fillRect(-.5,-e/2-Lt+.5,1,15),t.strokeStyle="grey",t.arc(0,-e/2-20,mt,0,C),t.arc(0,-e/2-20,3,0,C),t.stroke())}},n.prototype.renderPath=function(r,c,s,o,d,a,h,u){var x,y,t,f,V,n,l,i,x=this,y=this,t=y.path;t&&(f=F(t)-1,r.save(),l=n=!(V=2),y.JVV&&(n=(i=y.JVV.type())===p.AutoShapeType.line||i===p.AutoShapeType.lineInverse,l=KV(i)),(s<=2||o<=2)&&!n?r.strokeRect(-s/2+.5,-o/2+.5,s,o):t.forEach(function(t,V){var n,i,V,e,t,i;V===f&&c.endPoints&&l&&(i=!0,n=[]),V={pathCommands:t.pathCommands,width:s,height:o,lineCompoundPoints:"line"===t.strokeCompound||"simple"===t.strokeCompound?[]:null,simpleConnectorLine:"simple"===t.strokeCompound&&(c.stroke.compoundType===p.CompoundType.thickThin||c.stroke.compoundType===p.CompoundType.thinThick),lineWithArrow:i,linePoints:n},x.renderSinglePath(r,V),n=V.linePoints,e=t.fillMode,t=t.strokeMode,(i=V.lineWithArrow)?Vn(r,n,y,s,o,c,u):"none"!==e&&(d||(i=void 0,XV(r,c.fill,y,s,o,i=e&&"norm"!==e?function(t){return zt(t,e)}:i,e)),!a&&y.needApplyFillAfterStyleFill()&&y.applyFillAfterStyleFill(r,s,o,e,u),h||"false"===t)||xn(r,c.stroke,y,V),c.shadow?TV(r,c.shadow,y,s,o):c.glow&&PV(r,c.glow,y,s,o),NV(r,c,y,s,o,V)}),r.restore())},n.prototype.LFe=function(){var t,V,n,i,t=this,V=document.createElement("canvas"),n=V.getContext("2d"),i=t.getRenderBound(!1);return V.width=i.width,V.height=i.height,n.translate(-i.left,-i.top),t.render(n,X,X,!1),V},n.prototype.fsV=function(){var t=this;return t.lsV().then(function(){return t.LFe()})},n.prototype.lsV=function(){return new Promise(function(t){t()})},n.prototype.needApplyFillAfterStyleFill=function(){return!1},n.prototype.applyFillAfterStyleFill=function(t,V,n,i,e){},n.prototype.renderSinglePath=function(t,V){var n,i,e,r,c,s,o,d,a,h,u,x,y,f,l,g,A,p,w,i=0,e=0,r=0,c=0,s=-V.width/2,o=-V.height/2;for(t.beginPath(),x=0,y=F(V.pathCommands);x<y;++x)switch(f=(n=V.pathCommands[x])[0],l=n[1],g=n[2],A=n[3],p=n[4],w=n[5],f){case"V":case"v":c=I(f,c,l),t.lineTo(r+s,c+o);break;case"H":case"h":r=I(f,r,l),t.lineTo(r+s,c+o);break;case"L":case"l":r=I(f,r,l),c=I(f,c,g),V.lineWithArrow?v(V.linePoints,{x:r+s,y:c+o}):t.lineTo(r+s,c+o),V.lineCompoundPoints&&V.lineCompoundPoints.push({x:r+s,y:c+o});break;case"M":case"m":i=r=I(f,r,l),e=c=I(f,c,g),V.lineWithArrow?v(V.linePoints,{x:r+s,y:c+o}):t.moveTo(r+s,c+o),V.lineCompoundPoints&&V.lineCompoundPoints.push({x:r+s,y:c+o});break;case"B":case"C":case"c":V.lineWithArrow=!1,d=I(f,r,l),a=I(f,c,g),h=I(f,r,A),u=I(f,c,p),r=I(f,r,w),c=I(f,c,n[6]),t.bezierCurveTo(d+s,a+o,h+s,u+o,r+s,c+o);break;case"Q":case"q":case"S":case"s":V.lineWithArrow=!1,d=I(f,r,l),a=I(f,c,g),r=I(f,r,A),c=I(f,c,p),t.quadraticCurveTo(d+s,a+o,r+s,c+o);break;case"AT":case"T":V.lineWithArrow=!1,d=I(f,r,l),a=I(f,c,g),r=I(f,r,A),c=I(f,c,p),t.arcTo(d+s,a+o,r+s,c+o,L(w));break;case"A":case"a":V.lineWithArrow=!1,r=I(f,r,l),c=I(f,c,g),t.arc(r+s,c+o,L(A),p,w);break;case"E":case"e":V.lineWithArrow=!1,r=I(f,r,l),c=I(f,c,g),(0,_.drawEllipse)(t,r+s,c+o,L(A),L(p),w,n[6],n[7],n[8]);break;case"Z":case"z":V.lineWithArrow=!1,r=i,c=e,t.closePath()}},n.prototype.getParallelPathCommand=function(t,V,n){var i,t,V,i=this,t=w(t),V=i.getAllParallelPoints(t,V,n);return i.updatePathCommand(t,V),t},n.prototype.getAllParallelPoints=function(t,n,i){var e,r,c,s,o,e=this,c=[],s=[],o=[];return t.forEach(function(t){var V,V;switch(t[0]){case"M":0<s.length&&(c=c.concat((0,d.getParallelPathPoints)(s,i,n)),s=[]),e.addLinePoints(s,t),r=s[0].point;break;case"L":e.addLinePoints(s,t);break;case"E":e.addEllipsePoints(s,t);break;case"Q":e.addQuaCurvePoints(s,o,t);break;case"B":e.addBezierCurvePoints(s,o,t);break;case"Z":V=s.length,V=s[V-1].point,e.isCloseToEnd(r,V)||s.push({origin:b.PointSource.lineTo,point:r,isAdditionAdded:!0})}}),0<s.length&&(c=c.concat((0,d.getParallelPathPoints)(s,i,n))),e.replaceBezierToSubPath(t,o),c},n.prototype.replaceBezierToSubPath=function(n,t){t.forEach(function(t){var V=n.indexOf(t.originPath);n.splice.apply(n,T([V,1],t.subPath,!1))})},n.prototype.addLinePoints=function(t,V){t.push({origin:b.PointSource.lineTo,point:{x:V[1],y:V[2]}})},n.prototype.addQuaCurvePoints=function(t,V,n){var i,e,i,e,i={x:n[1],y:n[2]},e={x:n[3],y:n[4]},i=[t[t.length-1].point,i,e],e=this;V.push({originPath:n,subPath:e.createSubBezierPath("Q")}),(0,d.getSubQuaBezierPoints)(2,i).forEach(e.addBezierPoints.bind(e,t,3))},n.prototype.addBezierCurvePoints=function(t,V,n){var i,e,r,i,e,c,i={x:n[1],y:n[2]},e={x:n[3],y:n[4]},r={x:n[5],y:n[6]},i=[t[t.length-1].point,i,e,r],e=this;V.push({originPath:n,subPath:e.createSubBezierPath("B")}),(c=(0,d.getSubBezierPoints)(2,i)).forEach(e.addBezierPoints.bind(e,t,4))},n.prototype.addBezierPoints=function(t,V,n,i){i%V!=0&&t.push({origin:b.PointSource.lineTo,point:n})},n.prototype.createSubBezierPath=function(t){for(var V,n,i,V=[],n=pt(2,2),i=0;i<n;i++)V.push([t]);return V},n.prototype.addEllipsePoints=function(t,V){var V,n,V={center:{x:V[1],y:V[2]},a:V[3],b:V[4],startAngle:V[6],endAngle:V[7],clockwise:V[8]},n=(0,d.getArcPath)(V).endPoint;t.push({origin:b.PointSource.arcTo,point:n,ellipseInfo:V})},n.prototype.isCloseToEnd=function(t,V){return!(!t||!V)&&Math.abs(t.x-V.x)<.1&&Math.abs(t.y-V.y)<.1},n.prototype.updatePathCommand=function(t,V){var n=this;t.forEach(function(t){switch(t[0]){case"M":case"L":n.updateLinePoints(t,V);break;case"E":n.updateEllipsePoints(t,V);break;case"Q":n.updateQuaCurvePoints(t,V);break;case"B":n.updateBezierCurvePoints(t,V)}})},n.prototype.updateLinePoints=function(t,V){var V=V&&V.shift();V&&V.point&&(t[1]=V.point.x,t[2]=V.point.y)},n.prototype.updateQuaCurvePoints=function(t,V){var n=V&&V.shift();n&&n.point&&(t[1]=n.point.x,t[2]=n.point.y),(n=V&&V.shift())&&(n.origin===b.PointSource.fixed?(t[3]=t[0],t[4]=t[1]):n.point&&(t[3]=n.point.x,t[4]=n.point.y))},n.prototype.updateBezierCurvePoints=function(t,V){var n=V&&V.shift();n&&n.point&&(t[1]=n.point.x,t[2]=n.point.y),(n=V&&V.shift())&&(n.origin===b.PointSource.fixed?(t[3]=t[1],t[4]=t[2]):n.point&&(t[3]=n.point.x,t[4]=n.point.y)),(n=V&&V.shift())&&(n.origin===b.PointSource.fixed?(t[5]=t[3],t[6]=t[4]):n.point&&(t[5]=n.point.x,t[6]=n.point.y))},n.prototype.updateEllipsePoints=function(t,V){var V=V&&V.shift();V&&V.ellipseInfo&&(t[3]=V.ellipseInfo.a,t[4]=V.ellipseInfo.b,t[6]=V.ellipseInfo.startAngle,t[7]=V.ellipseInfo.endAngle),V&&V.point&&V.origin===b.PointSource.fixed&&(t[1]=V.point.x,t[2]=V.point.y)},n.prototype.Dn=function(t,V,n,i,e){var r,c,s,r=this,c=r.options;c&&((s=c.stroke)&&!s.color&&(s.color="transparent"),t.save(),i?(t.isPrintContext=!0,r.JVV&&r.JVV.ytV.IsSpecialShape()?r.renderPath(t,c,V,n,!1,!1,!1,e):(r.renderPath(t,c,V,n,!1,!0,!0,e),r.needApplyFillAfterStyleFill()&&r.renderPath(t,c,V,n,!0,!1,!0,e),r.renderPath(t,c,V,n,!0,!0,!1,e))):r.renderPath(t,c,V,n,!1,!1,!1),t.restore())},n.prototype.Me=function(t,V,n){var i,e,i=this,e=i.JVV;e&&e.ytV.I0i.HasTextLink()&&e.P0V(),UV(t,i,V,n)},n.prototype.erV=function(t,V){var n,i,t,n=this;if(t=t||n.options.fill,V=V||wt,t&&_.Common.isBase64ImageStr(t.src))return t.src;if((t=n[V])&&1===t.type)try{i=t.originSource.toDataURL()}catch(t){}return i},n.prototype.xrV=function(){delete this[wt]},n.prototype.getRenderBound=function(t){var V,t,t;return t===X&&(t=this.isSelected),V=this.pdV(this.kg),t&&(t=kt({left:0,top:0,right:this.width,bottom:this.height},this.Oi),V=G([V,t])),V=Q(V,this.left,this.top),V=c(V,j.RENDER_BOUND_EPSILON),V=0!==(t=this.getShapeRotate())?W(V,this.Eot,t):V},n.prototype.pdV=function(t){var V,n,i,e,n,r,i,V=this,n=this.options.stroke,i=O(n.width,j.MIN_LINE_WIDTH),e=n.compoundType,n=n.joinType,r=Rt(i/2);return t=E(e)||e===p.CompoundType.simple?c(t,n===jt?Rt(10*r):r):(i=this.path.map(function(t){var t=V.getParallelPathCommand(t.pathCommands,b.BorderType.outter,r);return(0,D.getBoundByPathCommands)(t)}),G([t,G(i)]))},Object.defineProperty(n.prototype,"isResizing",{get:function(){return this.Eb},set:function(t){this.Eb=t},enumerable:!1,configurable:!0}),n.prototype.dispose=function(){},Nt=n,j.ShapeUI=Nt,j.createShape=$V,Pt=[u(1,2),u(1,3),u(1,5),u(1.5,2),u(1.5,3),u(1.5,5),u(2.5,2),u(2.5,3),u(2.5,5)],j.MAX_ARROW_WIDTH_RATIO=7,j.ARROW_STEALTH_RATIO=.6,Dt=[3,4,j.MAX_ARROW_WIDTH_RATIO],Ut=[1,1.5,2.5],j.drawLineShape=Vn,j.getActualBound=en,j.getLeftMostShape=rn,j.getRightMostShape=cn,j.getTopMostShape=sn,j.getBottomMostShape=on},"./dist/plugins/shape/ui/sparklineUtil.js":function(t,V){function n(t,V,n,i,e,r){var c,s,o,d,a;t&&(c=t.getSparklineEx(V.name))&&(s=r.sheet,o=r.zoomFactor,d=r.asyncPaintEndCallback,c.paint(n,V.value,0,0,i,e,{asyncResourcesLoadedCallback:a=function(){n.save(),n.clearRect(0,0,i,e),c.paint(n,V.value,0,0,i,e,{sheet:s,zoomFactor:o}),n.restore(),d()},sheet:s,zoomFactor:o}))}Object.defineProperty(V,"__esModule",{value:!0}),V.paintSparklineEx=void 0,V.paintSparklineEx=n},"./dist/plugins/shape/ui/util.js":function(O,n,t){var V,s,r,e,i,t,c,o,d,a,A,p,w,v,j,h,u,x,y,f,l,g,b,L,T,m,N,P,C,R,I,D,U;function q(t,n){return t.reduce(function(t,V){var V,V=("function"==typeof n?n:Number)(V);return t+V},0)}function k(t,V){return t-V}function B(t){var V,n,V={},n=[];return t.forEach(function(t){V[t]===b&&(V[t]=t,n.push(t))}),n}function Z(t,V){return"string"===V&&0<t.length&&"="===t[0]}function H(){var t,V;x||(t=document,(V=(x=t.createElement("span")).style).position="absolute",V.left="-10000px",V.top="-10000px",t.body.appendChild(x))}function z(t){return y[t]||(x||H(),t&&(x.style.font=t),x.innerHTML="H",y[t]=x.offsetHeight),y[t]}function Q(){var t=navigator.platform;return t&&-1<t.indexOf("Mac")}function G(t,V){var n,i;V&&(n=Q()?(n=l[V])||(l[V]=J(V)):V,t.font=n)}function J(t){if(0<=t.indexOf(g))return t;x||H();var V=x.style;return V.font=t,V.fontFamily=[].concat(V.fontFamily.split(","),g.split(",")).join(","),V.font}function W(t){var V,n;return f[t]||(x||(V=document,(n=(x=V.createElement("span")).style).position="absolute",n.left="-1000px",V.body.appendChild(x)),t&&(x.style.font=t),x.innerHTML="H",f[t]=x.style.fontSize),f[t]}function K(t){for(var V,n,i,e,r,c,s,V=[],n=1;n<arguments.length;n++)V[n-1]=arguments[n];for(i=Object(t),e=V.length,r=0;r<e;r++)if(null!=(c=V[r]))for(s in c)Object.prototype.hasOwnProperty.call(c,s)&&(i[s]=c[s]);return i}function M(t){return t/180*Math.PI}function $(t){return 180*t/Math.PI}function tt(t,V,n){var i,t,i,i=t.x,t=t.y,i=Vt({x:i-V.x,y:t-V.y},n);return{x:i.x+V.x,y:i.y+V.y}}function Vt(t,V){var n=Math.sin(V),V=Math.cos(V),i,e;return{x:t.x*V-t.y*n,y:t.x*n+t.y*V}}function nt(t,V,n){var i;return ct([{x:t.left,y:t.top},{x:t.right,y:t.top},{x:t.left,y:t.bottom},{x:t.right,y:t.bottom}].map(function(t){return tt(t,V,n)}))}function _(t){t.width=t.right-t.left,t.height=t.bottom-t.top}function it(t,V,n){var V={left:t.left+V,right:t.right+V,top:t.top+n,bottom:t.bottom+n};return _(V),V}function et(t,V,n,i,e){n===b&&i===b&&e===b?n=i=e=V:i===b&&e===b&&(i=V,e=n);var e={left:t.left-e,right:t.right+n,top:t.top-V,bottom:t.bottom+i};return _(e),e}function rt(t,V,n){return V>=t.left&&V<=t.right&&n>=t.top&&n<=t.bottom}function ct(t){var V,n,i,e,V=Number.MAX_VALUE,n=Number.MAX_VALUE,i=Number.MIN_VALUE,e=Number.MIN_VALUE;return t.forEach(function(t){V=h(V,t.x),n=h(n,t.y),i=u(i,t.x),e=u(e,t.y)}),{left:V,top:n,right:i,bottom:e,width:i-V,height:e-n}}function st(t){for(var V,n,i,e,r,c,V=Number.MAX_VALUE,n=Number.MIN_VALUE,i=Number.MAX_VALUE,e=Number.MIN_VALUE,r=0;r<t.length;r++)c=t[r],V=h(V,c.left),n=u(n,c.right),i=h(i,c.top),e=u(e,c.bottom);return{left:V,top:i,right:n,bottom:e,width:n-V,height:e-i}}function ot(t,V,n,i){return{x:t+n/2,y:V+i/2}}function dt(t,V){var n,i,n,n=typeof t;return"function"==n?t(V):"string"==typeof t&&Z(i=t,n)&&(n=V&&V.getValueResolver())?n.getValue(i).substring(1):t}function at(t){return JSON.parse(JSON.stringify(t))}function ht(t,V,n){n.configurable=!0,n.enumerable=!0,Object.defineProperty(t,V,n)}function ut(t){return t&&t.length}function xt(t,V,n){var i,e;if(V){if(e=[].indexOf)return e.call(V,t,n);for(i=V.length,n=(n=null==n?0:n)<0?Math.max(0,i+n):n;n<i;n++)if(void 0!==V[n]&&V[n]===t)return n}return-1}function yt(t,V){t.push(V)}function ft(t,V){var t,V,t=t,V=t.indexOf(V);0<=V&&t.splice(V,1)}function lt(t){return document.createElement(t)}function gt(t,V){return+t.toFixed(V=V||3)}function At(t,V,n,i,e,r){var c,s,n,i,t,o,c=0,s=E(n,i,e,r),n=E(n,i,t,V),i=E(t,V,e,r);if(i+n!==s){if(s<=1e-5)return c=n;if(s*s+n*n<=i*i)return c=n;if(s*s+i*i<=n*n)return c=i;t=(s+n+i)/2,c=2*(o=Math.sqrt(t*(t-s)*(t-n)*(t-i)))/s}return c}function pt(t,V){for(var n,i,n=Object.keys(t),i=0;i<n.length;i++)if(V===t[n[i]])return!0;return!1}function wt(t){return atob(t.slice(i.length))}function vt(t){var V,t;return t&&(t=(V=(new DOMParser).parseFromString(wt(t),"image/svg+xml")).documentElement)instanceof SVGSVGElement?t:void 0}function jt(t){var V,n,t,V=0,n=0,t=vt(t);return t&&(V=t.width.baseVal.value,n=t.height.baseVal.value),{width:V,height:n}}function bt(t,V){var n,i,n="data-size-cache";return a(t[n])?((i={width:t.naturalWidth,height:t.naturalHeight}).width&&i.height||c(V)&&(i=jt(V)),t[n]=i):t[n]}function Lt(t){var t,t,t=vt(t);if(t)return t.width.baseVal.valueAsString=t.width.baseVal.value.toString(),t.height.baseVal.valueAsString=t.height.baseVal.value.toString(),t=btoa((new XMLSerializer).serializeToString(t)),i+t}function mt(t,V){d(t,function(t){V(t.naturalWidth,t.naturalHeight)})}function E(t,V,n,i){return gt(Math.sqrt((t-n)*(t-n)+(V-i)*(V-i)))}function Ct(t,V){var n=t.reduce(function(t,V){return t+V},0);return t.map(function(t){return 0===n?0:t/n*V})}function S(t,V,n,i){var e=this;n<0&&(t-=n=-n),i<0&&(V-=i=-i),e.x=t,e.y=V,e.width=n,e.height=i}function F(t,V){var n=this;n.x=t,n.y=V}function Rt(){var t=this;return t._fn.apply(null,[].concat.apply([t.YC,t.ZC],arguments))}function It(t,V,n){var i;return Rt.bind({_fn:t,YC:V,ZC:n})}function X(t,V){var V=[V].concat(t.values);return t.apply(null,V)}function Mt(t,V,n,i,e,r,c){var s,r,o,d,a,h,d,u,d,x,V,n,t,y,a,d,x,n,a,f,l,g,A,p,w,v,s=r[0],r=r[1],o=r-s,d=c.F0V,a=c.S0V,h=d[t[0]],d=d[t[1]];if(h||d){if(u=It(h||d,V,n),1<(d=h?a[t[0]]:a[t[1]]).length&&(x=d.slice(1).map(function(t){return c.getVariable(t)})),u.values=x||[],y=(V=X(u,s))-(n=X(u,r)),a={min:x=(a=[V,n])[(d=(t=n<V)?1:0)%2],max:n=a[(1+d)%2],reversed:t},(g=h?i:e)<x)f=t?r:s;else if(n<g)f=t?s:r;else{for(v=w=0,l=(p=X(u,A=Math.abs((g-V)*o/y)+s))-g;Math.abs(l)>m&&!(v-(l=(p=X(u,A+=o*l/y))-g)<m)&&(v=l,!(100<++w)););f=A}return a.value=f,a}}function _t(t,V,n,i,e,r){var e=Math.atan2(e-n,i-V)*C;return r?r.toHalfCircle&&e<0?e+=I:r.toNegative&&0<e&&(e-=I):e<0&&(e+=R),e}function Et(t,V,n,i,e,r,c,s,o){t.ellipse?t.ellipse(V,n,i,e,r,c,s,o):(t.save(),t.translate(V,n),t.rotate(r),t.scale(i,e),t.arc(0,0,1,c,s,o),t.restore())}function St(t,V,n){var i,e,r,c,s,o,e,d,a,h,s,u,x,y,f,l,g,f,i=t.left,e=t.top,r=t.width,c=t.height;if(0===(V%=360))return s=i+r,o=e+c,n?{left:i,top:e,right:s,bottom:o}:[{x:i,y:e},{x:s,y:e},{x:s,y:o},{x:i,y:o}];for(V=M(V),d=(e=t.getShapeCenter()).x,a=e.y,h=w(r*r+c*c)/2,u=[],x=[],l=[s=v(c,r),-s,j-s,j+s],g=0;g<4;g++)y=u[g]=d+h*A(f=l[g]+V),f=u[g+4]=a+h*p(f),x.push({x:y,y:f});return n?u:x}function Ft(t){for(var V,n,i,e,V=0,n=[V],i=0;i<t.getRowCount(s.SheetArea.viewport);i++)e=t.Gt(i,s.SheetArea.viewport),n.push(V+e/2),n.push(V+=e);return n}function Xt(t){for(var V,n,i,e,V=0,n=[V],i=0;i<t.getColumnCount(s.SheetArea.viewport);i++)e=t.nn(i,s.SheetArea.viewport),n.push(V+e/2),n.push(V+=e);return n}function Yt(t){return t&&"object"==typeof t&&"SparklineExValue"===t.typeName}function Ot(t){return Yt(t)&&"IMAGE"===t.name}function Y(t){var V,n,t,n,t,V=t.Mf,n=t.startRow(),t=t.startColumn(),n=V.C0(n),t=V.S0(t);return V.shapeLayers[3*n+t]}function Tt(t,V){var n;return V&&t&&t.Lp?(n=t.Lp.parse(t.Uw(),V,0,0,!1,!1,!1),t.Lp.unparse(t.Uw(),n,0,0,!1,!1,1)):V}function Nt(t,V){var n,i;if(!a(V)&&""!==V&&"#REF!"!==V&&"=#REF!"!==V){try{n=(i=(0,e.formulaToExpression)(t.parent&&t.parent.getActiveSheet()||t,V,void 0,void 0,!1))&&Dt(t,i)}catch(t){n=b}return n}}function Pt(t,V){var n,i,e;if(t&&t instanceof r.CalcReference&&1===t.SDt)return n=t.$gt[0],{cellRange:i=new s.Range(n.row,n.col,n.rowCount||1,n.colCount||1),sheet:e=t.rT&&t.rT.Mf||V}}function Dt(t,V){var n,V;if(!(V.row<0||V.column<0||V.endRow<0||V.endColumn<0||void 0===V.row||void 0===V.column||V.dHr))return n=V.source,V=new s.Range(V.row,V.column,V.endRow?V.endRow-V.row+1:1,V.endColumn?V.endColumn-V.column+1:1),{sheet:n&&n.getSheet?n.getSheet():t,cellRange:V}}function Ut(t){var V,t,V=(0,e.rangeToFormula)(t.cellRange,0,0,0),t=(0,s.qTe)(t.sheet.name());return"=".concat(t,"!").concat(V)}function qt(t,V,n){var i,e,r;if(t){for(i={};V&&8===V.type;){if(!(e=V.value)||i[e])return;i[e]=!0,n&&t.parent&&t.parent.yC.addUsedCustomName(e),V=(r=!(r=t.getCustomName(e))&&t.parent?t.parent.getCustomName(e):r)&&r.getExpression()}return V}}function kt(t){return t&&t.ayt&&t.cyt}function Bt(t,V,n,i,e){var r,c,s,o,n,r=t.ctV,c=r&&r.getService();c&&(o=(s=t.Mf)&&s.Uw(),c.setFormula(r.id,V,n,i,o,e,s.options.keepUnknownFormulas),t.D0V&&o&&(n=Zt(s,c.getExpression(r.id,V)))&&o.addReferenceSheetName(n.name()),s.$Dr({type:"updateShapeFormula",shape:t,propName:V}))}function Zt(t,V){var V,V;return t&&V&&1===V.type&&(V=(V=V.source)&&V.getSheet&&V.getSheet())!==t?V:void 0}function Ht(t,V){var n,n;return(n=(n=zt(t,V))||Y(t)).getPointer(V)}function zt(t,V){var t,n,i,V,n,e,t=t.Mf,n=t.uw(),i=t.FL(V.pageY-n.top),V=t.PL(V.pageX-n.left),n=function(t,V,n){return V<=t&&t<=n};return e=n(i,0,2)&&n(V,0,2)?t.shapeLayers[3*i+V]:e}function Qt(t){var V,n,i,e,V,t,r,c,n,i,t,n,V=t.ctV,n=V.left,i=V.top,e=V.width,V=V.height,t=Y(t),r=(0,s.GC$)(t.host).offset(),n=n-t.scrollLeft||0,i=i-t.scrollTop||0,t=r.left+n,n=r.top+i;return new L(t,n,e,V)}function Gt(t){var V,t,V=Qt(t),t=(0,s.GC$)(t.Mf.parent.j2()).offset();return V.x-=t.left,V.y-=t.top,V.x=Math.max(V.x,0),V.y=Math.max(V.y,0),V}Object.defineProperty(n,"__esModule",{value:!0}),n.getDomRectBaseSheetLayer=n.getShapeLayerByMouseEvt=n.getPointerByMouseEvt=n.getReferenceSheetByExpression=n.setFormulaImp=n.isExternalSource=n.getExpressionReferencedByNameExpr=n.getRangeFormula=n.expressionToRangeInfo=n.convertCalcReferenceToRangeInfo=n.getRangeInfo=n.addWorkSheetNameIfNeed=n.getShapeStartLayer=n.isImageSparkLineValue=n.isSparkLineValue=n.getHorizontalGridLine=n.getVerticalGridLine=n.getShapePoints=n.Common=n.drawEllipse=n.getLineShapeInGroup=n.getShapeNameList=n.getAdjustAngle=n.getAdjustValue=n.Point=n.Rect=n.toRadius=n.distinct=n.ascSortFunc=n.sum=void 0,V=t("Common"),s=t("Core"),r=t("CalcEngine"),e=t("SheetsCalc"),i=s.WAe.SVG_IMAGE_DATA_URL_PREFIX,t=s.WAe.isBase64ImageStr,c=s.WAe.isSVGBase64ImageStr,o=s.WAe.isVectorBase64ImageStr,d=s.WAe.loadImageElement,a=V.Common.lt.ht,A=Math.cos,p=Math.sin,w=Math.sqrt,v=Math.atan2,j=Math.PI,h=Math.min,u=Math.max,y={},f={},l={},g='"Helvetica Neue", Arial, sans-serif',b=void 0,n.sum=q,n.ascSortFunc=k,n.distinct=B,n.toRadius=M,S.prototype.getIntersectRect=function(t){return this.getIntersect(t.x,t.y,t.width,t.height)},S.prototype.getIntersect=function(t,V,n,i){n<0&&(t-=n=-n),i<0&&(V-=i=-i);var e=this,r=e.x,c=e.y,s=e.x+e.width,e=e.y+e.height,o=t,d=V,t=t+n,n=V+i,V=Math.max(r,o),i=Math.max(c,d),a,h,u,x,r=Math.min(s,t)-V,o=Math.min(e,n)-i;if(0<r&&0<o)return new S(V,i,r,o)},S.prototype.intersect=function(t,V,n,i){var e=this;return n<0&&(t-=n=-n),i<0&&(V-=i=-i),t<e.x+e.width&&e.x<t+n&&V<e.y+e.height&&e.y<V+i},S.prototype.expand=function(t){var V=this;V.x-=t,V.y-=t,V.width+=2*t,V.height+=2*t},L=S,n.Rect=L,F.prototype.clone=function(){var t=this;return new F(t.x,t.y)},n.Point=F,m=1e-10,N=100,n.getAdjustValue=Mt,P=6e4,C=108e5/Math.PI,R=216e5,I=108e5,n.getAdjustAngle=_t,n.getShapeNameList=D=function(t){var V=[];return t.forEach(function(t){3===t.ttV?V=V.concat((0,n.getShapeNameList)(t.tin)):V.push(t.name())}),V},n.getLineShapeInGroup=U=function(t){var V=[];return t.tin.forEach(function(t){4===t.ttV&&V.push(t),3===t.ttV&&(V=V.concat((0,n.getLineShapeInGroup)(t)))}),V},n.drawEllipse=Et,n.Common={getFontHeight:z,setContextFont:G,getFontSize:W,extend:K,toRadius:M,toAngle:$,distance:E,distributeByWeight:Ct,isEnumValue:pt,isBase64ImageStr:t,isSVGBase64ImageStr:c,isVectorBase64ImageStr:o,getImgNaturalSize:bt,fixSVGBase64ImageForFirefox:Lt,getBase64ImageSize:mt,rotatePoint:tt,rotateVector:Vt,rotateBound:nt,setRectSize:_,translateRectangle:it,expandRectangle:et,pointIsInRectangle:rt,calculateBoundByPoints:ct,calculateBoundByRects:st,calculateRectangleCenterPoint:ot,getOptionValue:dt,cloneOptions:at,defineProperty:ht,ocV:ut,Rh:xt,arrayPush:yt,Array_remove:ft,createElement:lt,fixNumber:gt,getPointToLine:At},n.getShapePoints=St,n.getVerticalGridLine=Ft,n.getHorizontalGridLine=Xt,n.isSparkLineValue=Yt,n.isImageSparkLineValue=Ot,n.getShapeStartLayer=Y,n.addWorkSheetNameIfNeed=Tt,n.getRangeInfo=Nt,n.convertCalcReferenceToRangeInfo=Pt,n.expressionToRangeInfo=Dt,n.getRangeFormula=Ut,n.getExpressionReferencedByNameExpr=qt,n.isExternalSource=kt,n.setFormulaImp=Bt,n.getReferenceSheetByExpression=Zt,n.getPointerByMouseEvt=Ht,n.getShapeLayerByMouseEvt=zt,n.getDomRectBaseSheetLayer=Gt},"./dist/plugins/shape/util/sheetUtil.js":function(t,V,n){var n,s,o;function i(t,V,n){var i,e,r;if(V<0)return 0;for(e=i=0;e<V;e++)i+=t.getColumnWidth(e);return 0<(r=t.getColumnWidth(V))&&(i+=o(n,r)),i}function e(t,V,n){var i,e,r;if(V<0)return 0;for(e=i=0;e<V;e++)i+=t.getRowHeight(e);return 0<(r=t.getRowHeight(V))&&(i+=o(n,r)),i}function h(t){for(var V,n,i,V=t.getColumnCount(),n=0,i=0;i<V;i++)n+=t.nn(i);return n}function r(t,V,n){var i,e,r,e,c;if(V<0)return 0;if(i=0,(e=t.ddV)&&!s(e[V]))i=e[V];else for(r=0;r<V;r++)i+=t.nn(r);return e=t.zoom(),0<(c=t.getColumnWidth(V))&&(i+=o(n,c)*e),(i=t.options.rightToLeft?h(t)-i:i)/e}function c(t,V,n){var i,e,r,e,c;if(V<0)return 0;if(i=0,(e=t.odV)&&!s(e[V]))i=e[V];else for(r=0;r<V;r++)i+=t.Gt(r);return e=t.zoom(),0<(c=t.getRowHeight(V))&&(i+=o(n,c)*e),i/e}function d(t,V,n){var i,e,r,c,s,o,d;if(isNaN(V))return{col:0,colOffset:0};for(s=r=e=i=0,o=t.getColumnCount(),c=0;c<o;c++){if(V<r+(s=t.getColumnWidth(c,3))){i=c,e=V-r;break}r+=s}if(0!==V&&0===i&&0===e)if(n)if(d=t.defaults.colWidth){for(;r+s<V;)r+=d,c++;i=c,e=V-r}else e=V-(r-t.getColumnWidth(i=c-1,3));else i=o-1,e=s;return{col:i,colOffset:e}}function a(t,V,n){for(var i,e,r,c,s,o,d,i=0,e=0,r=0,s=0,o=t.getRowCount(),c=0;c<o;c++){if(V<r+(s=t.getRowHeight(c,3))){i=c,e=V-r;break}r+=s}if(0!==V&&0===i&&0===e)if(n)if(d=t.defaults.rowHeight){for(;r+s<V;)r+=d,c++;i=c,e=V-r}else e=V-(r-t.getRowHeight(i=c-1,3));else i=o-1,e=s;return{row:i,rowOffset:e}}function u(t,V,n){var i,e,r,c,s,o,d,a;if(isNaN(V))return{col:0,colOffset:0};for(t.options.rightToLeft&&(V=h(t)-V),s=r=e=i=0,o=t.getColumnCount(),V*=d=t.zoom(),c=0;c<o;c++){if(V<r+(s=t.nn(c,3))){i=c,e=V-r;break}r+=s}if(0!==V&&0===i&&0===e)if(n)if(a=t.defaults.colWidth){for(;r+s<V;)r+=a*d,c++;i=c,e=V-r}else e=V-(r-t.nn(i=c-1,3));else i=o-1,e=s;return{col:i,colOffset:e/d}}function x(t,V,n){var i,e,r,c,s,o,d,a,i=0,e=0,r=0,s=0,o=t.getRowCount(),d=t.zoom();for(V*=d,c=0;c<o;c++){if(V<r+(s=t.Gt(c,3))){i=c,e=V-r;break}r+=s}if(0!==V&&0===i&&0===e)if(n)if(a=t.defaults.rowHeight){for(;r+s<V;)r+=a*d,c++;i=c,e=V-r}else e=V-(r-t.Gt(i=c-1,3));else i=o-1,e=s;return{row:i,rowOffset:e/d}}function y(t,V){return{x:i(t,V.col,V.colOffset),y:e(t,V.row,V.rowOffset)}}function f(t,V,n){var V,i,V,t,e,r,V=d(t,V),i=V.col,V=V.colOffset,t=a(t,n),e,r;return{col:i,colOffset:V,row:t.row,rowOffset:t.rowOffset}}Object.defineProperty(V,"__esModule",{value:!0}),V.getAnchorPointByOriginXY=V.getOriginXYByAnchorPoint=V.getRowAndRowOffset=V.getColAndColOffset=V.getRowAndRowOffsetUseOriginY=V.getColAndColOffsetUseOriginX=V.getY=V.getX=V.getLastColumnX=V.getOriginY=V.getOriginX=void 0,n=n("Common"),s=n.Common.lt.ht,o=Math.min,V.getOriginX=i,V.getOriginY=e,V.getLastColumnX=h,V.getX=r,V.getY=c,V.getColAndColOffsetUseOriginX=d,V.getRowAndRowOffsetUseOriginY=a,V.getColAndColOffset=u,V.getRowAndRowOffset=x,V.getOriginXYByAnchorPoint=y,V.getAnchorPointByOriginXY=f},"./dist/plugins/shape/util/viewUtil.js":function(O,t,V){var n,x,i,e,c,d,y,V,f,a,h,r,u,l,g,A,p,w,v,j,b,L,m,C;function s(t,V,n){var V,i,e;t&&(i=(V=V.split(".")).pop(),e=t,V.forEach(function(t){e[t]||(e[t]={}),e=e[t]}),e[i]=n)}function R(t){var t;if(t)return t=JSON.stringify(t),JSON.parse(t)}function I(t){return 1<(null==t?void 0:t.length)&&"="===t[0]}function M(V){return!!I(V)||(Array.isArray(V)?V.some(M):!(!V||"object"!=typeof V)&&Object.keys(V).some(function(t){return M(V[t])}))}function _(t){var t,t,t=t.JVV,t=t&&t.ytV;return t&&t.I0i.HasTextLink()}function T(t){return 0===t.length}function N(t,V){var t,n,t=t.ctV;return t&&(n=t.getService())?n.getFormula(t.id,V):""}function P(t){return"string"==typeof t&&t}function o(t,V,n){t.aiV&&s(t.hnV,V,n)}function D(t,V,n,i){var e,r,c,e=t.ctV;return o(t,V,n),e&&(r=e.getService())&&(c=t.Mf&&t.Mf.Uw(),r.setValueOrFormula(e.id,V,n,t.siV,c),i)?r.getValue(e.id,V):n}function E(t,V,n){var i=t.ctV;return o(t,V,n),i?((0,c.setFormulaImp)(t,V,n,t.siV),i[V]):n}function S(t,V,n,i){var e,r,e=t.ctV,r=e&&e.getService();r&&(r.removeFormula(e.id,V),i)&&r.setValue(e.id,V,n),o(t,V,n)}function U(t,V){t.vdV()&&(I(V)?(t.yXn=V,V=E(t,"angle",V)):(t.yXn&&delete t.yXn,S(t,"angle",V)),t.Jli(V,!0),t.hiV())}function q(t,V,n){return{left:t.left*n,top:t.top*n,width:t.width*n,height:t.height*n,angle:t.Rotation,autoShapeType:V,options:{}}}function F(t,V,n,i,e,r,c,s){var o,d,o,a,h,u,d,r,c;V&&(d=(o=(c?V.getValue:V.getFormula).bind(V))(n,"left",s),f(d)||(t.left=d),d=o(n,"top",s),f(d)||(t.top=d),d=o(n,"width",s),f(d)||(t.width=d),d=o(n,"height",s),f(d)||(t.height=d),d=o(n,"angle",s),f(d)||(t.angle=d),d=o(n,w,s),f(d)||(t.src=d),o=t.options=R(V.getOptions(n,!c,s)),r&&!c?(t.Tin=R(r.options.stroke),t.S0t=R(r.options.fill)):(a=V.getValues(n,"options.stroke",!c,s),(h=a.options&&a.options.stroke)&&h[C[0]]&&(u={},C.forEach(function(t){u[t.substr(1)]=h[t]}),e?x.GC$.extend(t.options.stroke,u):t.Tin=u)),e||(o.fill&&M(o.fill)&&(t.S0t=R(o.fill)),o.textFormatOptions&&(d=o.textFormatOptions,r=i.textFormatOptions,a=d.text,(c=V.getFormula(n,y.SHAPE_TEXT_OPTIONS_PATH))&&(c.startsWith("=")||(c="=".concat(c)),t._text=c,d.text=r.text),I(a=d.fill.color)&&(t.viV=a,d.fill.color=r.fill.color),I(a=d.fill.transparency)&&(t.LiV=a,d.fill.transparency=r.fill.transparency),I(a=d.font)&&(t.jiV=a,d.font=r.font),I(a=d.horizontalAlignment)&&(t.biV=a,d.horizontalAlignment=r.horizontalAlignment),I(a=d.verticalAlignment)&&(t.miV=a,d.verticalAlignment=r.verticalAlignment),I(a=d.allowTextToOverflowShape)&&(t.CiV=a,d.allowTextToOverflowShape=r.allowTextToOverflowShape),I(a=d.wrapTextInShape)&&(t.lrt=a,d.wrapTextInShape=r.wrapTextInShape),I(a=d.resizeToFitText))&&(t.NrV=a,d.resizeToFitText=r.resizeToFitText)))}function k(t,V,n){var i,t,e,r,c,s,o,i=t.ctV,t=V?{}:R(t.hnV),e=t.controls,r=i.getService(),c=i.id;return r&&(V?(t.path=(0,d.mapPathInstanceToValue)(i.path),(o=r.getValues(c,"textRect",a,n))&&o.textRect&&(t.textRect=o.textRect)):e&&e.forEach(function(t,V){(s=r.getFormula(c,"controls."+V+".x",n))&&(t.x=s),(s=r.getFormula(c,"controls."+V+".y",n))&&(t.y=s)}),F(t,r,c,i.options,!0,null,V,n)),t}function X(t,V,n,i){var e,r,n,c,s,o,i,n,V,i;return n||!t?{}:(o=0,F(c={},e=t.getService(),r=t.id,t.options,!(s={}),V,n,i),n=c.left||V&&V.left,f(n)||(o++,s.left=n),n=c.top||V&&V.top,f(n)||(o++,s.top=n),n=c.width||V&&V.width,f(n)||(o++,s.width=n),n=c.height||V&&V.height,f(n)||(o++,s.height=n),n=c.angle||V&&V.angle,f(n)||(o++,s.angle=n),f(n=c.src)||(o++,s.src=c.src),c.Tin&&(o++,s.line=c.Tin),c.S0t&&(o++,s.fill=c.S0t),n=(i=V&&V.options)&&i.textFormatOptions,(V=c._text||n&&n.text)&&!_(t)&&(o++,s.text=V),i=n&&n.fill,(V=c.viV||i&&i.color)&&(o++,s.textColor=V),(V=c.LiV||i&&i.transparency)&&(o++,s.textTransparency=V),(V=c.jiV||n&&n.font)&&(o++,s.font=V),(V=c.miV||n&&n.verticalAlignment)&&(o++,s.vAlign=V),(V=c.biV||n&&n.horizontalAlignment)&&(o++,s.hAlign=V),V=c.CiV||n&&n.allowTextToOverflowShape,f(V)||(o++,s.overFlow=V),V=c.lrt||n&&n.wrapTextInShape,f(V)||(o++,s.wrap=V),(V=n&&n.margins)&&(s.textMargins=V,o++),o&&s)}function B(t,V){var n,i,e,r,c,s,o,t,n=t.ctV;if(n)return i=n.parent,r=n.relativeX,c=n.relativeY,s=n.relativeWidth,o=n.relativeHeight,t=X(n,t.hnV),i?(e=i.getZIndex(n),i.removeShape(n,!0)):(e=V.indexOf(n),V.removeShape(n)),{parent:i,zIndex:e,relativeX:r,relativeY:c,relativeWidth:s,relativeHeight:o,formulaItems:t}}function Z(t,V,n,i){var e,r,c,s,o,d;(V.JVV=t).ctV=V,i?(e=i.parent,r=i.zIndex,c=i.relativeX,s=i.relativeY,o=i.relativeWidth,d=i.relativeHeight,e?(V.relativeX=c,V.relativeY=s,V.relativeWidth=o,V.relativeHeight=d,e.addShape(V,!0,r)):(n.addShape(V,r),V.isSelected=t.isSelected()),i.formulaItems&&t.unV(i.formulaItems)):(n.temporaryMarkIdUsed(V),t.aiV&&t.unV(X(t.ctV,t.hnV))),t.gnV()}function H(t){var V,n,i,V=t.ctV;return 1===V.ttV?(i=t.Mf.zoom(),(n=(0,e.getLineShapeBoundByPoints)(V.getPoints().map(function(t){return{x:t.x/i,y:t.y/i}}))).width=n.right-n.left,n.height=n.bottom-n.top):((n={left:t.x(),top:t.y(),width:t.width(),height:t.height()}).right=n.left+n.width,n.bottom=n.top+n.height),n}function z(t){var V;!t||""!==(V=t.color)&&null!==V&&"transparent"!==V||(t.color="")}function Q(t){var V,n,V=t.ytV.AdjustValues,n=t.ytV.oiV;return(V||[]).map(function(t){return(0,i.convertAdjustmentValueToSJSUnit)(t[1],n[t[0]])})}function G(t,V){for(var n,i,e,r,n=(t.AdjustValues||[]).map(function(t){return t[0]}),i=Math.min(n.length,V.length),e=[],r=0;r<i;r++)e.push([n[r],V[r]]);return e}function Y(t,V){var t,t,t=t&&t.blip,t=t&&t.blipBlob;t&&!t.blob&&(t.blob=V())}function J(t,V){V&&t.ctV&&(V.blipFill&&Y(V.blipFill,function(){return t.ctV.getBase64Image()}),V.spPr)&&V.spPr.blipFill&&Y(V.spPr.blipFill,function(){return t.ctV.erV()})}function W(t,V,n){var V,i,e,r,t,c,s,o,d;if(void 0===n&&(n=!0),i=(V=V.split(".")).length,e=V[1],r=V[2],t=t.style(),e===v)return 3===i&&-1<u.indexOf(r)?I(c=t[e][r])?c:"":5===i&&r===j&&(s=parseInt(V[3],10),!isNaN(s))&&V[4]?I(c=(o=t.fill.stops)&&o[s]&&o[s][V[4]])?c:"":void 0;if(e===b){if(3===i&&-1<l.indexOf(r))return I(c=t[e][d=h[r]])?c:""}else if(e===m&&n){if(3===i&&-1<["color","transparency","font"].indexOf(r))return I(c=t.textEffect[r])?c:""}else if(e===L&&n&&3===i&&-1<A.indexOf(r))return I(c=t.textFrame[d=g[r]])?c:""}function K(t,V,n,i){var e,V,r,c,s,o,d,a;void 0===i&&(i=!0),e=t.style(),r=(V=V.split(".")).length,c=V[1],s=V[2],c===v?(o=e.fill,3===r&&-1<u.indexOf(s)?o.hasOwnProperty(s)&&(e.fill[s]=n):5===r&&s===j&&(d=parseInt(V[3],10),!isNaN(d))&&V[4]&&o.stops&&(o.stops[d][V[4]]=n)):c===b?3===r&&-1<l.indexOf(s)&&(e.line[a=h[s]]=n):c===m&&i?3===r&&-1<p.indexOf(s)&&(e.textEffect[s]=n):c===L&&i&&3===r&&-1<A.indexOf(s)&&(e.textFrame[a=g[s]]=n),t.style(e)}function $(t,V){V.ignoreLayoutConnection=!0,t[0]&&V.startConnector(t[0],!0),t[1]&&V.endConnector(t[1],!0),delete V.ignoreLayoutConnection}function tt(t,V){var n=Math.sin(V),V=Math.cos(V),i,e;return{x:t.x*V-t.y*n,y:t.x*n+t.y*V}}function Vt(t,V,n){t.x-=V.x,t.y-=V.y;var t=tt(t,n);return{x:t.x+V.x,y:t.y+V.y}}function nt(t,V){return+t.toFixed(V=V||3)}function it(t,V,n,i,e,r,c,s){var s,n,n=n?s-V+r:V+r,s=i?c-t+e:t+e;return{x:s,y:n}}function et(t,V){var n,i,V,t,e,t,r,n=document.createElement("canvas"),i=n.getContext("2d"),V=null!=V?V:1,t=t.map(function(t){return t.ctV}).filter(function(t){return!!t}),e=c.Common.calculateBoundByRects(t.map(function(t){return t.getRenderBound(!1)}));return n.width=e.width,n.height=e.height,i.translate(-e.left,-e.top),t.forEach(function(t){t.render(i,a,a,!1)}),r=(t=document.createElement("canvas")).getContext("2d"),t.width=e.width/V,t.height=e.height/V,r.drawImage(n,0,0,e.width,e.height,0,0,e.width/V,e.height/V),t}Object.defineProperty(t,"__esModule",{value:!0}),t.getShapeBaseObjectsCanvas=t.flipPoint=t.fixNumber=t.rotatePoint=t.syncConnectors=t.setStyleFormula=t.getStyleFormula=t.processShapeEmptyBlipBlobWhenToJson=t.convertArrayValueToAdjustmentValue=t.getShapeAdjustments=t.adjustTransparentColor=t.getShapeBound=t.addNewShapeUIWhenInitShapeUI=t.removeOldShapeUIWhenInitShapeUI=t.getFormulaSettingItems=t.syncCustomShapeModel=t.getBuiltInShapeModelWhenInit=t.rotateImp=t.removeFormula=t.setFormula=t.updateOptionsItem=t.isUrl=t.getFormula=t.noArguments=t.hasTextLink=t.hasFormulaItem=t.isFormula=t.simpleCloneObject=t.updateOptionItemByPath=void 0,n=V("Common"),x=V("Core"),i=V("./dist/plugins/shape/shape.js"),e=V("./dist/plugins/shape/ui/compoundShape.js"),c=V("./dist/plugins/shape/ui/util.js"),d=V("./dist/plugins/shape/geometryService/geometryService.js"),y=V("./dist/plugins/shape/shapeView.js"),V=n.Common.lt,f=V.ht,a=void 0,h={color:"color",linestyle:"lineStyle",width:"width",captype:"capType",jointype:"joinType",transparency:"transparency",compoundtype:"compoundType"},u=["color","transparency","type","angle","direction"].concat(r=["src","tilePictureAsTexture","offsetLeft","offsetRight","offsetTop","offsetBottom","offsetX","offsetY","scaleX","scaleY","alignment","mirrorType"]),l=["color","linestyle","width","captype","jointype","transparency","compoundtype"],g={valign:"vAlign",halign:"hAlign"},A=["valign","halign"],p=["color","transparency","font"],w="src",v="fill",j="stops",b="line",L="textframe",m="texteffect",t.updateOptionItemByPath=s,t.simpleCloneObject=R,t.isFormula=I,t.hasFormulaItem=M,t.hasTextLink=_,t.noArguments=T,t.getFormula=N,t.isUrl=P,t.updateOptionsItem=D,t.setFormula=E,t.removeFormula=S,t.rotateImp=U,t.getBuiltInShapeModelWhenInit=q,C=["_color","_lineStyle","_width","_capType","_joinType","_transparency","_compoundType"],t.syncCustomShapeModel=k,t.getFormulaSettingItems=X,t.removeOldShapeUIWhenInitShapeUI=B,t.addNewShapeUIWhenInitShapeUI=Z,t.getShapeBound=H,t.adjustTransparentColor=z,t.getShapeAdjustments=Q,t.convertArrayValueToAdjustmentValue=G,t.processShapeEmptyBlipBlobWhenToJson=J,t.getStyleFormula=W,t.setStyleFormula=K,t.syncConnectors=$,t.rotatePoint=Vt,t.fixNumber=nt,t.flipPoint=it,t.getShapeBaseObjectsCanvas=et},Common:function(t){t.exports=V.Spread},CalcEngine:function(t){t.exports=V.Spread.CalcEngine},Core:function(t){t.exports=V.Spread.Sheets},SheetsCalc:function(t){t.exports=V.Spread.Sheets.CalcEngine},CellTypes:function(t){t.exports=V.Spread.Sheets.CellTypes},Comment:function(t){t.exports=V.Spread.Sheets.Comments},ConditionalFormatting:function(t){t.exports=V.Spread.Sheets.ConditionalFormatting},FloatingObject:function(t){t.exports=V.Spread.Sheets.FloatingObjects},Touch:function(t){t.exports=V.Spread.Sheets.Touch}},i={},t=e("./dist/plugins/shape/shape.entry.js"),(((V=void 0===V?{}:V).Spread=V.Spread||{}).Sheets=V.Spread.Sheets||{}).Shapes=t}(),V.Spread.Common.CultureManager.reloadResources&&V.Spread.Common.CultureManager.reloadResources("Shapes")});