diff --git a/index.html b/index.html index 35b46f2ae1..561d26d79d 100644 --- a/index.html +++ b/index.html @@ -172,7 +172,7 @@ display: block !important; } - + \ No newline at end of file diff --git a/p__Classrooms__Lists__Exercise__Review__index.56e937d0.async.js b/p__Classrooms__Lists__Exercise__Review__index.56e937d0.async.js new file mode 100644 index 0000000000..58ae239672 --- /dev/null +++ b/p__Classrooms__Lists__Exercise__Review__index.56e937d0.async.js @@ -0,0 +1,426 @@ +!(function(){var kf=Object.defineProperty,Hf=Object.defineProperties;var Gf=Object.getOwnPropertyDescriptors;var zc=Object.getOwnPropertySymbols;var Pf=Object.prototype.hasOwnProperty,xf=Object.prototype.propertyIsEnumerable;var Sf=(Rt,bt,ve)=>bt in Rt?kf(Rt,bt,{enumerable:!0,configurable:!0,writable:!0,value:ve}):Rt[bt]=ve,qA=(Rt,bt)=>{for(var ve in bt||(bt={}))Pf.call(bt,ve)&&Sf(Rt,ve,bt[ve]);if(zc)for(var ve of zc(bt))xf.call(bt,ve)&&Sf(Rt,ve,bt[ve]);return Rt},cf=(Rt,bt)=>Hf(Rt,Gf(bt));var Ff=(Rt,bt)=>{var ve={};for(var ce in Rt)Pf.call(Rt,ce)&&bt.indexOf(ce)<0&&(ve[ce]=Rt[ce]);if(Rt!=null&&zc)for(var ce of zc(Rt))bt.indexOf(ce)<0&&xf.call(Rt,ce)&&(ve[ce]=Rt[ce]);return ve};(self.webpackChunk=self.webpackChunk||[]).push([[8085],{33863:function(Rt,bt,ve){"use strict";ve.d(bt,{Z:function(){return le}});var ce=ve(87462),ke=ve(67294),b={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},me=b,fe=ve(74643),ue=function(se,ae){return ke.createElement(fe.Z,(0,ce.Z)({},se,{ref:ae,icon:me}))},le=ke.forwardRef(ue)},55304:function(Rt,bt,ve){"use strict";ve.d(bt,{Z:function(){return le}});var ce=ve(87462),ke=ve(67294),b={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},me=b,fe=ve(74643),ue=function(se,ae){return ke.createElement(fe.Z,(0,ce.Z)({},se,{ref:ae,icon:me}))},le=ke.forwardRef(ue)},22913:function(Rt,bt,ve){"use strict";ve.d(bt,{Z:function(){return le}});var ce=ve(87462),ke=ve(67294),b={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"},me=b,fe=ve(74643),ue=function(se,ae){return ke.createElement(fe.Z,(0,ce.Z)({},se,{ref:ae,icon:me}))},le=ke.forwardRef(ue)},54262:function(Rt,bt,ve){"use strict";ve.d(bt,{Z:function(){return le}});var ce=ve(87462),ke=ve(67294),b={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},me=b,fe=ve(74643),ue=function(se,ae){return ke.createElement(fe.Z,(0,ce.Z)({},se,{ref:ae,icon:me}))},le=ke.forwardRef(ue)},71736:function(Rt,bt){"use strict";bt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},88261:function(Rt,bt){"use strict";bt.Z={flex_box_center:"flex_box_center___GW1u0",flex_space_between:"flex_space_between___XhK9z",flex_box_vertical_center:"flex_box_vertical_center___NKIbp",flex_box_center_end:"flex_box_center_end___V3qhT",flex_box_column:"flex_box_column___b4G29",bg:"bg___exMJB",paginationWrapper:"paginationWrapper___ROsRI",totalText:"totalText___PGE6D",num:"num___jLrBF",title:"title___yiXeD",questionIcons:"questionIcons___v75Tz",green:"green___HRGef",orange:"orange___tdW4E",greenTip:"greenTip___f2SpQ",redTip:"redTip___jc8UE",orangeTip:"orangeTip___VMO_s",flexRow:"flexRow___Jshv2",simpleWrap:"simpleWrap___ul6oi",divider:"divider___Of_8z",modal:"modal___oAD7F",programTitle:"programTitle___ybswa",simpleBg:"simpleBg___yLrQy",exportBtn:"exportBtn___x5fcE",exportBtns:"exportBtns___EmvhF",export_type_modal:"export_type_modal___hmW4i",export_type_modal_con:"export_type_modal_con___R2S3f",type_item:"type_item___NsmrH",img_warp:"img_warp___LUfHa",img_warp_active:"img_warp_active____uL7y",divname:"divname___wdaL2"}},1446:function(Rt,bt){"use strict";bt.Z={flex_box_center:"flex_box_center___VAUts",flex_space_between:"flex_space_between___gx5ZV",flex_box_vertical_center:"flex_box_vertical_center___HV_tL",flex_box_center_end:"flex_box_center_end___fVsIw",flex_box_column:"flex_box_column___F5DHk",shixunWrp:"shixunWrp___pinaF",s:"s___mtpV4",fillComment:"fillComment___WEgkI",commentContent:"commentContent___v_Ebo",commentText:"commentText___fyDle",simpleWrap:"simpleWrap___uwIie",fillBg:"fillBg___iyMsm",tip:"tip___V6oDj",simpleBg:"simpleBg___UqElF",lookCode:"lookCode___xKifS"}},37729:function(Rt,bt){"use strict";bt.Z={flex_box_center:"flex_box_center___D6Qly",flex_space_between:"flex_space_between___ZA98O",flex_box_vertical_center:"flex_box_vertical_center___aST6E",flex_box_center_end:"flex_box_center_end___kJ_eQ",flex_box_column:"flex_box_column___ZOkyZ",bg:"bg___rbSyL",circularBlue:"circularBlue___qvnla",circularRed:"circularRed___jo0FU",circularOrange:"circularOrange___GteY7",circularGreen:"circularGreen___PW_tz",circularGrey:"circularGrey___Nt7Wc",title:"title___Volf5",questionIcons:"questionIcons___MIxzq",grey:"grey___XquYB",green:"green___sjsXt",blue:"blue___Jwa9H",orange:"orange___cGfa7",red:"red___NensB",greenTip:"greenTip___lDmky",redTip:"redTip___Yp9nM",cccTip:"cccTip___Uzudc",orangeTip:"orangeTip___gA104",flexRow:"flexRow___GsOMs",simpleWrap:"simpleWrap___jppmP",userPhoto:"userPhoto___LUsoO",CCCIcons:"CCCIcons___STbxr",buttonFixed:"buttonFixed___aUnd3",progress:"progress___w_inO",typeTitle:"typeTitle___i1hJu",answerResult:"answerResult___kLknn",questionsInfo:"questionsInfo___spnx1",leftBar:"leftBar___AjrjB",greenBg:"greenBg___nlTOV",blueBg:"blueBg___nYACT",redBg:"redBg___WTgtT",orangeBg:"orangeBg___mMAXu",greyBg:"greyBg___eAdgQ",commentText:"commentText___smAVm",full:"full____Rgkm",answerInfo:"answerInfo___iSSvg",listType:"listType___fUHyn",userInfo:"userInfo___sc77e",userImg:"userImg___mL2tk",userInfoTitle:"userInfoTitle___U2d5B",userInfoValue:"userInfoValue___DBOCD",status:"status___yZSrO",result:"result___TOeTF",evaluate:"evaluate___CJGFj",analysis:"analysis___NuY61",userInfoModel:"userInfoModel___jHeA_",width:"width___UtVF4",Title:"Title___BfkeS",Value:"Value___sj9SB",userInfoModelbody:"userInfoModelbody___nQNbP",answerError:"answerError___kJTJu",export_type_modal:"export_type_modal___UwY7W",export_type_modal_con:"export_type_modal_con___iD92j",type_item:"type_item___hBzOc",img_warp:"img_warp___ijcxd",img_warp_active:"img_warp_active___VUIa8",scoreByBlankRadio:"scoreByBlankRadio___Z7ZDy",newProgramBg:"newProgramBg___zKYmY",score:"score___Sk80M",drawerWrap:"drawerWrap___VuX5c",top:"top___EnYnP",middle:"middle___LNYBi",listwrap:"listwrap___l6Z3o",btns:"btns___hFvQ6",sign:"sign___vATdV"}},11579:function(Rt,bt){"use strict";bt.Z={footer:"footer___bruwa",whiteFooter:"whiteFooter___mR7kn",error:"error___KO0Jg",case:"case___L0pNc","resize-y-bar":"resize-y-bar___NK0gI",unfoldBtn:"unfoldBtn___aMmZw",caseHead:"caseHead___EuMPr",dot:"dot___Iky9k",text:"text___lMSx6",pass:"pass___XjijC",noPass:"noPass___JxpWk",btns:"btns___FPIaK",result:"result___oRj1h",title:"title___IhMSa",left:"left___XlC98",leftNode:"leftNode___NGHgx",right:"right____fIu_",node:"node___MwdH7",elseNode:"elseNode___WjFIg",nameWrap:"nameWrap___bEdbD",scroll:"scroll___ylWYt",scrollBox:"scrollBox___hWkc9",action:"action___xBwDi",whiteCase:"whiteCase___AZiDR",disabled:"disabled___lWQU2",codeHead:"codeHead___l8q5R",navWrap:"navWrap___xdWQe",nav:"nav___JKPVX",active:"active___DTAtT",whiteCodeHead:"whiteCodeHead___wDOny",header:"header___VjNh9",timepiece:"timepiece___yuqJC",btn_edit:"btn_edit___ozzux",whiteHeader:"whiteHeader___REV3m",djs:"djs___v0Ru7",myProblems:"myProblems___DKSbs",whiteMyProblems:"whiteMyProblems___k0QS3",fullMask:"fullMask___QZH1M"}},12867:function(){"use strict"},31686:function(Rt,bt,ve){"use strict";var ce=ve(67294),ke=Object.defineProperty,b=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,ue=(se,ae,oe)=>ae in se?ke(se,ae,{enumerable:!0,configurable:!0,writable:!0,value:oe}):se[ae]=oe,le=(se,ae)=>{for(var oe in ae||(ae={}))me.call(ae,oe)&&ue(se,oe,ae[oe]);if(b)for(var oe of b(ae))fe.call(ae,oe)&&ue(se,oe,ae[oe]);return se};const ie=se=>React.createElement("svg",le({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",style:{enableBackground:"new 0 0 1024 1024"},xmlSpace:"preserve",width:60,height:80},se),React.createElement("path",{fill:"#fff",d:"M749.4 373.9H710v-78.8c0-108.7-88.2-197-197-197-108.7 0-197 88.2-197 197v78.8h-39.4c-43.5 0-78.8 35.3-78.8 78.8v393.9c0 43.5 35.3 78.8 78.8 78.8h472.7c43.5 0 78.8-35.3 78.8-78.8V452.7c.1-43.5-35.2-78.8-78.7-78.8zM513 728.5c-43.5 0-78.8-35.3-78.8-78.8s35.3-78.8 78.8-78.8 78.8 35.3 78.8 78.8-35.3 78.8-78.8 78.8zm122.1-354.6H390.9v-78.8c0-67.4 54.8-122.1 122.1-122.1 67.4 0 122.1 54.8 122.1 122.1v78.8zm0 0"}));bt.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEwMjQgMTAyNCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjYwIiBoZWlnaHQ9IjgwIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNNzQ5LjQgMzczLjlINzEwdi03OC44YzAtMTA4LjctODguMi0xOTctMTk3LTE5Ny0xMDguNyAwLTE5NyA4OC4yLTE5NyAxOTd2NzguOGgtMzkuNGMtNDMuNSAwLTc4LjggMzUuMy03OC44IDc4Ljh2MzkzLjljMCA0My41IDM1LjMgNzguOCA3OC44IDc4LjhoNDcyLjdjNDMuNSAwIDc4LjgtMzUuMyA3OC44LTc4LjhWNDUyLjdjLjEtNDMuNS0zNS4yLTc4LjgtNzguNy03OC44ek01MTMgNzI4LjVjLTQzLjUgMC03OC44LTM1LjMtNzguOC03OC44czM1LjMtNzguOCA3OC44LTc4LjggNzguOCAzNS4zIDc4LjggNzguOC0zNS4zIDc4LjgtNzguOCA3OC44em0xMjIuMS0zNTQuNkgzOTAuOXYtNzguOGMwLTY3LjQgNTQuOC0xMjIuMSAxMjIuMS0xMjIuMSA2Ny40IDAgMTIyLjEgNTQuOCAxMjIuMSAxMjIuMXY3OC44em0wIDAiLz48L3N2Zz4="},22707:function(Rt,bt,ve){"use strict";var ce=ve(67294),ke=Object.defineProperty,b=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,ue=(se,ae,oe)=>ae in se?ke(se,ae,{enumerable:!0,configurable:!0,writable:!0,value:oe}):se[ae]=oe,le=(se,ae)=>{for(var oe in ae||(ae={}))me.call(ae,oe)&&ue(se,oe,ae[oe]);if(b)for(var oe of b(ae))fe.call(ae,oe)&&ue(se,oe,ae[oe]);return se};const ie=se=>React.createElement("svg",le({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},se),React.createElement("title",null,"\u5360\u7528\u5185\u5B58"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fillOpacity:.01,fill:"#FFF",d:"M0 0h30v30H0z"}),React.createElement("path",{d:"M6.866 26.928h-1.28a2.561 2.561 0 0 1-2.562-2.561V5.585a2.561 2.561 0 0 1 2.561-2.56h1.28v4.268a2.561 2.561 0 0 0 2.562 2.56h3.842a2.561 2.561 0 0 0 2.56-2.56V3.024h2.915l8.184 8.184v13.159a2.561 2.561 0 0 1-2.561 2.561h-1.28v-5.976c0-.943-.765-1.707-1.708-1.707H8.573c-.943 0-1.707.764-1.707 1.707v5.976Z",fill:"#B6D0FC"}),React.createElement("path",{d:"M8.573 3.024h5.55v4.269a.854.854 0 0 1-.854.853H9.427a.854.854 0 0 1-.854-.853V3.024ZM8.573 26.928v-5.976H21.38v5.976z",fill:"#1890FF"})));bt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},8861:function(Rt,bt,ve){"use strict";var ce=ve(67294),ke=Object.defineProperty,b=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,ue=(se,ae,oe)=>ae in se?ke(se,ae,{enumerable:!0,configurable:!0,writable:!0,value:oe}):se[ae]=oe,le=(se,ae)=>{for(var oe in ae||(ae={}))me.call(ae,oe)&&ue(se,oe,ae[oe]);if(b)for(var oe of b(ae))fe.call(ae,oe)&&ue(se,oe,ae[oe]);return se};const ie=se=>React.createElement("svg",le({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},se),React.createElement("title",null,"\u8FD0\u884C\u65F6\u95F4"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M30 15c0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15Z",fill:"#BAFFF0"}),React.createElement("path",{d:"M25.5 15c0 5.8-4.7 10.5-10.5 10.5S4.5 20.8 4.5 15 9.2 4.5 15 4.5 25.5 9.2 25.5 15Z",fill:"#44D7B6"}),React.createElement("path",{d:"M13.5 9a1.5 1.5 0 0 1 1.5 1.5v4.379l3.56 3.56a1.5 1.5 0 0 1-2.12 2.122l-4-4A1.5 1.5 0 0 1 12 15.5v-5A1.5 1.5 0 0 1 13.5 9Z",fill:"#FFF"})));bt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},18023:function(){"use strict";function Rt(ee,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=ee,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(Rt.prototype,"name",{get:function(){return this._name},set:function(ee){if(typeof ee!="string"||ee==="")throw new Error("Shape name must be a valid string.");this._name=ee}}),Object.defineProperty(Rt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ee){if(typeof ee!="number"||isNaN(ee))throw new Error("The default value must be a real number, not: "+ee);this._defaultValue=ee}}),Object.defineProperty(Rt.prototype,"minimum",{get:function(){return this._minimum},set:function(ee){if(typeof ee!="number"||isNaN(ee))throw new Error("Minimum must be a real number, not: "+ee);this._minimum=ee}}),Object.defineProperty(Rt.prototype,"maximum",{get:function(){return this._maximum},set:function(ee){if(typeof ee!="number"||isNaN(ee))throw new Error("Maximum must be a real number, not: "+ee);this._maximum=ee}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ee,a){var y=go.Shape._FigureParameters[ee];return y?y[a]:null},go.Shape.setFigureParameter=function(ee,a,y){if(!(y instanceof Rt))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValuey.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var x=go.Shape._FigureParameters[ee];x||(x=[],go.Shape._FigureParameters[ee]=x),x[a]=y};var bt=[];function ve(ee,a){var y=bt.pop();return y===void 0?new go.Point(ee,a):(y.x=ee,y.y=a,y)}function ce(){var ee=bt.pop();return ee===void 0?new go.Point:ee}function ke(ee){bt.push(ee)}function b(ee,a,y,x,E,z,te,Ae,ge){ge||(ge=new go.Point);var he=ee-y,de=E-te,pe=NaN,Ee=NaN;if(he===0)if(de===0)ee===y&&(pe=ee,Ee=a);else{var ye=(z-Ae)/de,we=z-ye*E;pe=ee,Ee=ye*pe+we}else if(de===0){var Se=(a-x)/he,Me=a-Se*ee;pe=E,Ee=Se*pe+Me}else{var Se=(a-x)/he,ye=(z-Ae)/de,Me=a-Se*ee,we=z-ye*E;pe=(we-Me)/(Se-ye),Ee=Se*pe+Me}return ge.x=pe,ge.y=Ee,ge}function me(ee,a,y,x,E,z,te,Ae,ge,he,de,pe,Ee,ye){var we=1-ge,Se=ge,Me=ee*we+y*Se,Le=a*we+x*Se,Ne=y*we+E*Se,Ie=x*we+z*Se,Qe=E*we+te*Se,Re=z*we+Ae*Se,Ze=Me*we+Ne*Se,Te=Le*we+Ie*Se,it=Ne*we+Qe*Se,ct=Ie*we+Re*Se,nt=Ze*we+it*Se,ft=Te*we+ct*Se;he.x=Me,he.y=Le,de.x=Ze,de.y=Te,pe.x=nt,pe.y=ft,Ee.x=it,Ee.y=ct,ye.x=Qe,ye.y=Re}var fe=new go.Spot(.156,.156),ue=new go.Spot(.844,.844),le=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Rt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var E=x*le,z=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-E,0,a,E)).add(new go.PathSegment(go.PathSegment.Line,a,y-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,y-E,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,x,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,E,y,0,y-E)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,E,E,0).close()));return E>1&&(z.spot1=new go.Spot(0,0,E,E),z.spot2=new go.Spot(1,1,-E,-E)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ee,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=y/2,x.endX=a,x.endY=y/2,x}),go.Shape.defineFigureGenerator("LineV",function(ee,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a/2,x.startY=0,x.endX=a/2,x.endY=y,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,y/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("XLine",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LineRight",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)))}),go.Shape.defineFigureGenerator("LineDown",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,.25*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Line,a,.25*y)))}),go.Shape.defineFigureGenerator("LineLeft",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,y)))}),go.Shape.defineFigureGenerator("LineUp",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,.75*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,a,.75*y)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ee,a,y){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*a,(1-x)*y,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Move,0,y/2)).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("CircleLine",function(ee,a,y){var x=a/2,E=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return E.spot1=fe,E.spot2=ue,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Line1",function(ee,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}),go.Shape.defineFigureGenerator("Line2",function(ee,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a,x.startY=0,x.endX=0,x.endY=y,x}),go.Shape.defineFigureGenerator("Curve1",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,le*a,0,a,(1-le)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,le*y,(1-le)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,le*y,le*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-le)*a,0,0,(1-le)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new Rt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var E=Math.abs(x)*a;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),Ea&&(x=a);var E=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),E.5&&(x=.5);var E=Math.abs(x)*a;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),Ea&&(x=a/2);var E=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())),Ea&&(x=a/2);var E=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-E,y)).add(new go.PathSegment(go.PathSegment.Line,E,y).close())):z.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),E0&&(te.add(new go.PathSegment(go.PathSegment.Move,a/2+Ae,a/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E,E,Ae,Ae).close())),z.spot1=fe,z.spot2=ue,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*y,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*y,-.09239631*a,.07836421*y,.1406031*a,-.0542823*y)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*y,.2450511*a,-.00697547*y,.3776197*a,-.01112067*y)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*y,.4539471*a,0,.6066018*a,-.02526587*y)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*y,.6914277*a,-.01904177*y,.8921095*a,-.01220843*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*y,1.036446*a,.04105738*y,1.020377*a,.3022052*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*y,1.04448*a,.360238*y,.992256*a,.5219009*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*y,1.032337*a,.5771781*y,1.018411*a,.8120651*y)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*y,1.028411*a,.9571472*y,.8556702*a,1.052487*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*y,.7431877*a,1.009325*y,.5624123*a,1.021761*y)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*y,.4820677*a,1.031761*y,.3030112*a,1.002796*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*y,.2329994*a,1.01518*y,.03213784*a,1.01518*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*y,-.02812061*a,.9032597*y,-.01205169*a,.6835638*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*y,-.01812061*a,.6089503*y,-.00606892*a,.4555777*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*y,-.01606892*a,.3892545*y,-.01205169*a,.1944299*y))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ee,a,y){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,x*y).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new Rt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Rt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ee,a,y){var x=ee?ee.parameter1:NaN,E=ee?ee.parameter2:NaN;isNaN(x)&&(x=0),isNaN(E)&&(E=315);var z=x%360;z<0&&(z+=360);var te=E%360,Ae=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(Ae,Ae).add(new go.PathSegment(go.PathSegment.Arc,z,te,Ae,Ae,Ae,Ae).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ee,a,y){var x=le/Math.SQRT2*.5,E=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,E*a,z*y,a,(1-x)*y,(E+x)*a,(z+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Rt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var E=Math.min(x,a)/2,z=a/2,te=y/2;return new go.Geometry().add(new go.PathFigure(z-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+E,0)).add(new go.PathSegment(go.PathSegment.Line,z+E,te-E)).add(new go.PathSegment(go.PathSegment.Line,a,te-E)).add(new go.PathSegment(go.PathSegment.Line,a,te+E)).add(new go.PathSegment(go.PathSegment.Line,z+E,te+E)).add(new go.PathSegment(go.PathSegment.Line,z+E,y)).add(new go.PathSegment(go.PathSegment.Line,z-E,y)).add(new go.PathSegment(go.PathSegment.Line,z-E,te+E)).add(new go.PathSegment(go.PathSegment.Line,0,te+E)).add(new go.PathSegment(go.PathSegment.Line,0,te-E)).add(new go.PathSegment(go.PathSegment.Line,z-E,te-E).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Rt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var E=Math.min(x,a)/2,z=a/2,te=y/2;return new go.Geometry().add(new go.PathFigure(z-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+E,0)).add(new go.PathSegment(go.PathSegment.Line,z+E,te-E)).add(new go.PathSegment(go.PathSegment.Line,a,te-E)).add(new go.PathSegment(go.PathSegment.Line,a,te+E)).add(new go.PathSegment(go.PathSegment.Line,z+E,te+E)).add(new go.PathSegment(go.PathSegment.Line,z+E,y)).add(new go.PathSegment(go.PathSegment.Line,z-E,y)).add(new go.PathSegment(go.PathSegment.Line,z-E,te+E)).add(new go.PathSegment(go.PathSegment.Line,0,te+E)).add(new go.PathSegment(go.PathSegment.Line,0,te-E)).add(new go.PathSegment(go.PathSegment.Line,z-E,te-E).close()))}),go.Shape.setFigureParameter("ThickX",0,new Rt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ee,a,y){var x=ee?ee.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||y===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var z=a/2,te=y/2,Ae=Math.atan2(y,a),ge=x-Math.min(Math.cos(Ae)*x/2,z),he=x-Math.min(Math.sin(Ae)*x/2,te),E=new go.Geometry,de=new go.PathFigure(ge,0,!0);return E.add(de),de.add(new go.PathSegment(go.PathSegment.Line,z,.2*y)),de.add(new go.PathSegment(go.PathSegment.Line,a-ge,0)),de.add(new go.PathSegment(go.PathSegment.Line,a,he)),de.add(new go.PathSegment(go.PathSegment.Line,.8*a,te)),de.add(new go.PathSegment(go.PathSegment.Line,a,y-he)),de.add(new go.PathSegment(go.PathSegment.Line,a-ge,y)),de.add(new go.PathSegment(go.PathSegment.Line,z,.8*y)),de.add(new go.PathSegment(go.PathSegment.Line,ge,y)),de.add(new go.PathSegment(go.PathSegment.Line,0,y-he)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),de.add(new go.PathSegment(go.PathSegment.Line,0,he).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new Rt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var E=new go.Geometry,z=new go.PathFigure(.1*a,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),E}),go.Shape.setFigureParameter("SquareIBeam",0,new Rt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.2);var E=new go.Geometry,z=new go.PathFigure(0,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),E}),go.Shape.setFigureParameter("RoundedIBeam",0,new Rt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.5);var E=new go.Geometry,z=new go.PathFigure(0,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),E}),go.Shape.defineFigureGenerator("HalfEllipse",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,le*a,0,a,(.5-le/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+le/2)*y,le*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,0,a,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*y,.5*a,.25*y).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,.1*a,.8*y,0,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.5*y,.9*a,.8*y).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*y)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.6*a,.2*y,a,.25*y)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*y,a,.8*y,.6*a,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,.5*a,.75*y,.55*a,.95*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*y,.45*a,.95*y,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.4*a,.8*y,0,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*y,0,.25*y,.4*a,.2*y).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.4*a,.6*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var z=.2,te=.3,Ae=0,ge=z*le;return E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+z+Ae)*y,(.5-z+te)*a,(.5+ge+Ae)*y,(.5-ge+te)*a,(.5+z+Ae)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*a,(.5+Ae)*y,(.5+ge+te)*a,(.5+z+Ae)*y,(.5+z+te)*a,(.5+ge+Ae)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-z+Ae)*y,(1-.5+z+te)*a,(.5-ge+Ae)*y,(.5+ge+te)*a,(.5-z+Ae)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-ge+te)*a,(.5-z+Ae)*y,(.5-z+te+.05)*a,(.5-ge+Ae-.02)*y)),z=.2,te=0,Ae=-.3,ge=z*le,E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*a,(.5+Ae)*y,(.5+ge+te)*a,(.5+z+Ae)*y,(.5+z+te)*a,(.5+ge+Ae)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-z+Ae)*y,(1-.5+z+te)*a,(.5-ge+Ae)*y,(.5+ge+te)*a,(.5-z+Ae)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*a,(.5+Ae)*y,(.5-ge+te)*a,(.5-z+Ae)*y,(.5-z+te)*a,(.5-ge+Ae)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ge+te)*a,(.5+z+Ae)*y,(.5-z+te)*a,(.5+ge+Ae)*y,(.5-ge+te)*a,(.5+z+Ae)*y)),z=.2,te=-.3,Ae=0,ge=z*le,E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-z+Ae)*y,(1-.5+z+te-.05)*a,(.5-ge+Ae-.02)*y,(.5+ge+te)*a,(.5-z+Ae)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*a,(.5+Ae)*y,(.5-ge+te)*a,(.5-z+Ae)*y,(.5-z+te)*a,(.5-ge+Ae)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+z+Ae)*y,(.5-z+te)*a,(.5+ge+Ae)*y,(.5-ge+te)*a,(.5+z+Ae)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+ge+te)*a,(.5+z+Ae)*y,(.5+z+te)*a,(.5+ge+Ae)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*.5,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),E.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var z=.1,te=.5,Ae=.25;return E.add(new go.PathSegment(go.PathSegment.Move,(te+z)*a,Ae*y)),E.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*te,y*Ae,z*a,z*a).close()),E=new go.PathFigure(a*.5,0,!1),x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),Ae=.75,E=new go.PathFigure((te+z)*a,Ae*y,!0),x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*te,y*Ae,z*a,z*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ee,a,y){var x=.8535533905932737,E=.5*a,z=.5*y;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,E,z,E,z)).add(new go.PathSegment(go.PathSegment.Line,E,y)).add(new go.PathSegment(go.PathSegment.Move,E,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,E,z)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ee,a,y){var x=new go.Geometry,E=le*.5,z=.5,te=.5,Ae=.5,ge=new go.PathFigure(te*a,(Ae-z)*y);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,Ae*y,(te-E)*a,(Ae-z)*y,(te-z)*a,(Ae-E)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(Ae+z)*y,(te-z)*a,(Ae+E)*y,(te-E)*a,(Ae+z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,Ae*y,(te+E)*a,(Ae+z)*y,(te+z)*a,(Ae+E)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(Ae-z)*y,(te+z)*a,(Ae-E)*y,(te+E)*a,(Ae-z)*y)),z=.4,E=le*.4;var he=ce(),de=ce(),pe=ce(),Ee=ce();me(te,Ae-z,te+E,Ae-z,te+z,Ae-E,te+z,Ae,.42,he,de,pe,Ee,Ee);var ye=ce(),we=ce(),Se=ce();me(te,Ae-z,te+E,Ae-z,te+z,Ae-E,te+z,Ae,.58,Ee,Ee,Se,ye,we);var Me=ce(),Le=ce(),Ne=ce();me(te,Ae+z,te-E,Ae+z,te-z,Ae+E,te-z,Ae,.42,Me,Le,Ne,Ee,Ee);var Ie=ce(),Qe=ce(),Re=ce();return me(te,Ae+z,te-E,Ae+z,te-z,Ae+E,te-z,Ae,.58,Ee,Ee,Re,Ie,Qe),ge.add(new go.PathSegment(go.PathSegment.Move,Re.x*a,Re.y*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,Ae*y,Ie.x*a,Ie.y*y,Qe.x*a,Qe.y*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(Ae-z)*y,(te-z)*a,(Ae-E)*y,(te-E)*a,(Ae-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*a,pe.y*y,he.x*a,he.y*y,de.x*a,de.y*y)),ge.add(new go.PathSegment(go.PathSegment.Line,Re.x*a,Re.y*y).close()),ge.add(new go.PathSegment(go.PathSegment.Move,Ne.x*a,Ne.y*y)),ge.add(new go.PathSegment(go.PathSegment.Line,Se.x*a,Se.y*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,Ae*y,ye.x*a,ye.y*y,we.x*a,we.y*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(Ae+z)*y,(te+z)*a,(Ae+E)*y,(te+E)*a,(Ae+z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,Ne.x*a,Ne.y*y,Me.x*a,Me.y*y,Le.x*a,Le.y*y).close()),ke(he),ke(de),ke(pe),ke(Ee),ke(ye),ke(we),ke(Se),ke(Me),ke(Le),ke(Ne),ke(Ie),ke(Qe),ke(Re),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*y)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*y,a,.25*y,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*y,0,.25*y).close()))}),go.Shape.setFigureParameter("HourGlass",0,new Rt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var E=(a-x)/2,z=E+x;return new go.Geometry().add(new go.PathFigure(z,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,E,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,.55*y).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*y).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ee,a,y){var x=new go.Geometry,E=le*.4,z=.4,te=.5,Ae=.5,ge=ce(),he=ce(),de=ce(),pe=ce(),Ee=new go.PathFigure((te-z)*a,Ae*y,!1);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(Ae-z)*y,(te-z)*a,(Ae-E)*y,(te-E)*a,(Ae-z)*y)),me(te,Ae-z,te+E,Ae-z,te+z,Ae-E,te+z,Ae,.44,de,pe,he,ge,ge),Ee.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,de.x*a,de.y*y,pe.x*a,pe.y*y));var ye=ve(he.x,he.y);me(te,Ae-z,te+E,Ae-z,te+z,Ae-E,te+z,Ae,.56,ge,ge,he,de,pe);var we=ve(he.x,he.y);Ee.add(new go.PathSegment(go.PathSegment.Line,(ye.x*.1+.95*.9)*a,ye.y*.1*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,ye.y*.1*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),Ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),Ee.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,(we.x*.1+.9)*a,.15*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,(we.x*.1+.9)*a,(we.y*.1+.05*.9)*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,we.x*a,we.y*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,Ae*y,de.x*a,de.y*y,pe.x*a,pe.y*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(Ae+z)*y,(te+z)*a,(Ae+E)*y,(te+E)*a,(Ae+z)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,Ae*y,(te-E)*a,(Ae+z)*y,(te-z)*a,(Ae+E)*y)),z=.35,E=le*.35;var Se=new go.PathFigure(te*a,(Ae-z)*y,!1);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,Ae*y,(te-E)*a,(Ae-z)*y,(te-z)*a,(Ae-E)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(Ae+z)*y,(te-z)*a,(Ae+E)*y,(te-E)*a,(Ae+z)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,Ae*y,(te+E)*a,(Ae+z)*y,(te+z)*a,(Ae+E)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(Ae-z)*y,(te+z)*a,(Ae-E)*y,(te+E)*a,(Ae-z)*y));var Me=new go.PathFigure((te-z)*a,Ae*y,!1);return x.add(Me),ke(ge),ke(he),ke(de),ke(pe),ke(ye),ke(we),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(ee,a,y){var x=new go.Geometry,E=.375,z=0,te=-.125,Ae=E*le,ge=new go.PathFigure((.525+z)*a,(.5+E+te)*y,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*a,(.5+te)*y,(.5+Ae+z)*a,(.5+E+te)*y,(.5+E+z)*a,(.5+Ae+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-E+te)*y,(1-.5+E+z)*a,(.5-Ae+te)*y,(.5+Ae+z)*a,(.5-E+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*a,(.5+te)*y,(.5-Ae+z)*a,(.5-E+te)*y,(.5-E+z)*a,(.5-Ae+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*a,(.5+E+te)*y,(.5-E+z)*a,(.5+Ae+te)*y,(.5-Ae+z)*a,(.5+E+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),ge.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),ge.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),E=.325,z=0,te=-.125,Ae=E*le;var ge=new go.PathFigure((1-.5+E+z)*a,(.5+te)*y,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+E+te)*y,(.5+E+z)*a,(.5+Ae+te)*y,(.5+Ae+z)*a,(.5+E+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*a,(.5+te)*y,(.5-Ae+z)*a,(.5+E+te)*y,(.5-E+z)*a,(.5+Ae+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-E+te)*y,(.5-E+z)*a,(.5-Ae+te)*y,(.5-Ae+z)*a,(.5-E+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*a,(.5+te)*y,(.5+Ae+z)*a,(.5-E+te)*y,(1-.5+E+z)*a,(.5-Ae+te)*y));var ge=new go.PathFigure((.525+z)*a,(.5+E+te)*y,!1);return x.add(ge),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(ee,a,y){var x=ee?ee.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ee,a,y){var x=ee?ee.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ee,a,y){var x=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*y,.5*a,.5*y)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Move,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Move,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,0,y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ee,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*y)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ee,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new Rt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Rt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var E=ee?ee.parameter2:NaN;isNaN(E)&&(E=.3);var z=(1-x)*a,te=(.5-E/2)*y,Ae=(.5+E/2)*y,ge=new go.Geometry,he=new go.PathFigure(0,te,!0);ge.add(he),he.add(new go.PathSegment(go.PathSegment.Line,z,te)),he.add(new go.PathSegment(go.PathSegment.Line,z,0)),he.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),he.add(new go.PathSegment(go.PathSegment.Line,z,y)),he.add(new go.PathSegment(go.PathSegment.Line,z,Ae)),he.add(new go.PathSegment(go.PathSegment.Line,0,Ae).close()),ge.spot1=new go.Spot(0,te/y);var de=b(0,Ae/y,1,Ae/y,z/a,1,1,.5,ce());return ge.spot2=new go.Spot(de.x,de.y),ke(de),ge}),go.Shape.setFigureParameter("Arrow2",0,new Rt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Rt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var E=ee?ee.parameter2:NaN;isNaN(E)&&(E=30),E=Math.min(E,y/2);var z=a-x,te=(y-E)/2,Ae=te+E,ge=new go.Geometry,he=new go.PathFigure(0,te,!0);ge.add(he),he.add(new go.PathSegment(go.PathSegment.Line,z,te)),he.add(new go.PathSegment(go.PathSegment.Line,z,0)),he.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),he.add(new go.PathSegment(go.PathSegment.Line,z,y)),he.add(new go.PathSegment(go.PathSegment.Line,z,Ae)),he.add(new go.PathSegment(go.PathSegment.Line,0,Ae).close()),ge.spot1=new go.Spot(0,te/y);var de=b(0,Ae/y,1,Ae/y,z/a,1,1,.5,ce());return ge.spot2=new go.Spot(de.x,de.y),ke(de),ge}),go.Shape.defineFigureGenerator("Chevron",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Rt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var E=(.5-x/2)*y,z=(.5+x/2)*y,te=new go.Geometry,Ae=new go.PathFigure(a,.5*y,!0);te.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),Ae.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),Ae.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),Ae.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var ge=b(0,.5,.3,0,0,E/y,.1,E/y,ce());return te.spot1=new go.Spot(ge.x,ge.y),ge=b(.7,1,1,.5,0,z/y,1,z/y,ge),te.spot2=new go.Spot(ge.x,ge.y),ke(ge),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Rt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Rt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=40);var E=ee?ee.parameter2:NaN;isNaN(E)&&(E=100);var z=(y-x)/2,te=z+x,Ae=(y-E)/2,ge=Ae+E;(x>y||E>y)&&(E>x?(x=x*y/E,z=(y-x)/2,te=z+x,Ae=0,ge=y):(z=0,te=y,Ae=0,ge=y));var he=new go.Geometry,de=new go.PathFigure(a,.5*y,!0);he.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ge)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,ge)),de.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,Ae)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,Ae).close());var pe=b(0,.5,.3,Ae/y,0,z/y,1,z/y,ce());return he.spot1=new go.Spot(pe.x,pe.y),pe=b(.7,ge/y,1,.5,0,te/y,1,te/y,pe),he.spot2=new go.Spot(pe.x,pe.y),ke(pe),he}),go.Shape.setFigureParameter("IBeamArrow",0,new Rt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var E=(.5-x/2)*y,z=(.5+x/2)*y,te=new go.Geometry,Ae=new go.PathFigure(a,.5*y,!0);te.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,y)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,0)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(0,E/y);var ge=b(.7,1,1,.5,0,z/y,1,z/y,ce());return te.spot2=new go.Spot(ge.x,ge.y),ke(ge),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new Rt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Rt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=40);var E=ee?ee.parameter2:NaN;isNaN(E)&&(E=100);var z=(y-x)/2,te=z+x,Ae=(y-E)/2,ge=Ae+E;(x>y||E>y)&&(E>x?(x=x*y/E,z=(y-x)/2,te=z+x,Ae=0,ge=y):(z=0,te=y,Ae=0,ge=y));var he=new go.Geometry,de=new go.PathFigure(a,.5*y,!0);he.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ge)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,ge)),de.add(new go.PathSegment(go.PathSegment.Line,0,ge)),de.add(new go.PathSegment(go.PathSegment.Line,0,Ae)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,Ae)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,Ae).close()),he.spot1=new go.Spot(0,z/y);var pe=b(.7,ge/y,1,.5,0,te/y,1,te/y,ce());return he.spot2=new go.Spot(pe.x,pe.y),ke(pe),he}),go.Shape.setFigureParameter("Pointer",0,new Rt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.1);var E=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),E.spot1=new go.Spot(x,.35);var te=b(.2,.65,1,.65,0,1,1,.5,ce());return E.spot2=new go.Spot(te.x,te.y),ke(te),E}),go.Shape.setFigureParameter("RoundedPointer",0,new Rt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var E=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),E.spot1=new go.Spot(x,.35);var te=b(0,.65,1,.65,0,1,1,.5,ce());return E.spot2=new go.Spot(te.x,te.y),ke(te),E}),go.Shape.setFigureParameter("SplitEndArrow",0,new Rt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.4);var E=(.5-x/2)*y,z=(.5+x/2)*y,te=new go.Geometry,Ae=new go.PathFigure(a,.5*y,!0);te.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,z)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(.2,.3);var ge=b(.7,1,1,.5,0,z/y,1,z/y,ce());return te.spot2=new go.Spot(ge.x,ge.y),ke(ge),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Rt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=50);var E=(y-x)/2,z=E+x;x>y&&(E=0,z=y);var te=new go.Geometry,Ae=new go.PathFigure(a,.5*y,!0);te.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,z)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),Ae.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(.2,E/y);var ge=b(.7,1,1,.5,0,z/y,1,z/y,ce());return te.spot2=new go.Spot(ge.x,ge.y),ke(ge),te}),go.Shape.setFigureParameter("SquareArrow",0,new Rt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.7);var E=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(x,1),E}),go.Shape.defineFigureGenerator("Cone1",function(ee,a,y){var x=new go.Geometry,E=le*.5,z=le*.1,te=new go.PathFigure(0,.9*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+z)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.9*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var z=new go.PathFigure(0,.9*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var z=new go.PathFigure(.5*a,y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.3*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var z=new go.PathFigure(0,.3*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var E=new go.Geometry,z=le*.5,te=new go.PathFigure(0,x,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,le*x,(.5-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+z)*a,0,1*a,le*x)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-le*x,(.5+z)*a,1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,1*y,0,y-le*x)),te.add(new go.PathSegment(go.PathSegment.Line,0,x));var Ae=new go.PathFigure(a,x,!1);return E.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-le*x,(.5+z)*a,2*x)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*a,2*x,0,2*x-le*x)),E.spot1=new go.Spot(0,0,0,2*x),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var E=new go.Geometry,z=le*.5,te=new go.PathFigure(0,y-x,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,le*x,(.5-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+z)*a,0,a,le*x)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-le*x,(.5+z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,y,0,y-le*x));var Ae=new go.PathFigure(0,y-x,!1);return E.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-le*x,(.5-z)*a,y-2*x)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+z)*a,y-2*x,a,y-x-le*x)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,0,-2*x),E}),go.Shape.defineFigureGenerator("Cylinder3",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var E=new go.Geometry,z=le*.5,te=new go.PathFigure(x,0,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-le*x,0,a,(.5-z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-le*x,y)),te.add(new go.PathSegment(go.PathSegment.Line,x,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,le*x,y,0,(.5+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,le*x,0));var Ae=new go.PathFigure(x,0,!1);return E.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+le*x,0,2*x,(.5-z)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+z)*y,x+le*x,y)),E.spot1=new go.Spot(0,0,2*x,0),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder4",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var E=new go.Geometry,z=le*.5,te=new go.PathFigure(a-x,0,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-le*x,0,a,(.5-z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-le*x,y)),te.add(new go.PathSegment(go.PathSegment.Line,x,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,le*x,y,0,(.5+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,le*x,0)),te.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var Ae=new go.PathFigure(a-x,0,!1);return E.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-le*x,0,a-2*x,(.5-z)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+z)*y,a-x-le*x,y)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,-2*x,0),E}),go.Shape.defineFigureGenerator("Prism1",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.25*a,.25*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(.25*a,.25*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.25*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(ee,a,y){var x=new go.Geometry,E=.2,z=.1,te=le*E,Ae=le*z,ge=.5,he=.1,de=new go.PathFigure(ge*a,(he+z)*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(ge-E)*a,he*y,(ge-te)*a,(he+z)*y,(ge-E)*a,(he+Ae)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(he-z)*y,(ge-E)*a,(he-Ae)*y,(ge-te)*a,(he-z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ge+E)*a,he*y,(ge+te)*a,(he-z)*y,(ge+E)*a,(he-Ae)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(he+z)*y,(ge+E)*a,(he+Ae)*y,(ge+te)*a,(he+z)*y));var pe=.05,Ee=le*pe;ge=.05,he=.25;var ye=new go.PathFigure(.5*a,.2*y,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),ge=.95,he=.25,ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge+pe)*a,he*y,(ge+Ee)*a,(he-pe)*y,(ge+pe)*a,(he-Ee)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),pe=.025,Ee=le*pe,ge=.825,he=.35,ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(he-pe)*y,(ge+pe)*a,(he-Ee)*y,(ge+Ee)*a,(he-pe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge-pe)*a,he*y,(ge-Ee)*a,(he-pe)*y,(ge-pe)*a,(he-Ee)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),pe=.05,Ee=le*pe,ge=.5,he=.7,ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(he-pe)*y,(ge+pe)*a,(he-Ee)*y,(ge+Ee)*a,(he-pe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge-pe)*a,he*y,(ge-Ee)*a,(he-pe)*y,(ge-pe)*a,(he-Ee)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),pe=.025,Ee=le*pe,ge=.175,he=.35,ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(he-pe)*y,(ge+pe)*a,(he-Ee)*y,(ge+Ee)*a,(he-pe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge-pe)*a,he*y,(ge-Ee)*a,(he-pe)*y,(ge-pe)*a,(he-Ee)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),pe=.05,Ee=le*pe,ge=.05,he=.25,ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(he-pe)*y,(ge-pe)*a,(he-Ee)*y,(ge-Ee)*a,(he-pe)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new Rt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.2);var E=new go.Geometry,z=new go.PathFigure(a,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),E.spot1=new go.Spot(0,x),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Collate",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,.5*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var z=new go.PathFigure(.5*a,.5*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,E*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*y)),x}),go.Shape.defineFigureGenerator("Database",function(ee,a,y){var x=new go.Geometry,E=le*.5,z=le*.1,te=new go.PathFigure(a,.1*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+z)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+E)*a,0,a,(.1-z)*y));var Ae=new go.PathFigure(a,.1*y,!1);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+z)*y,(.5+E)*a,.2*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-E)*a,.2*y,0,(.1+z)*y)),Ae.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+z)*y,(.5+E)*a,.3*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-E)*a,.3*y,0,(.2+z)*y)),Ae.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+z)*y,(.5+E)*a,.4*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-E)*a,.4*y,0,(.3+z)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*y,.25*a,.1*y).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(ee,a,y){var x=new go.Geometry,E=le*.5,z=le*.1,te=new go.PathFigure(a,.1*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-E)*a,y,0,(.9+z)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+E)*a,0,a,(.1-z)*y));var Ae=new go.PathFigure(a,.1*y,!1);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+z)*y,(.5+E)*a,.2*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-E)*a,.2*y,0,(.1+z)*y)),Ae.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+z)*y,(.5+E)*a,.3*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-E)*a,.3*y,0,(.2+z)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.25*a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)?E=.2:E<.15&&(E=.15);var z=le*.2,te=new go.PathFigure(0,.2*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-z)*y,(.2-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+z)*a,0,a,(.2-z)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+z)*y,(.8+z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-z)*a,y,0,(.8+z)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var Ae=new go.PathFigure(0,E*y,!1);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;(isNaN(E)||E<.1)&&(E=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,E*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),x}),go.Shape.defineFigureGenerator("Document",function(ee,a,y){var x=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;(isNaN(E)||E<.2)&&(E=.2);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(E*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,E*y)),te.add(new go.PathSegment(go.PathSegment.Move,a,E*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*y)),te.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,(1-E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var z=new go.PathFigure(.1*a,.4*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(.75*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a,.5*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var z=new go.PathFigure(a,.5*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y));var te=new go.PathFigure(a,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN,z=ee?ee.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(z)&&(z=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var Ae=new go.PathFigure(E*a,0,!1);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),Ae.add(new go.PathSegment(go.PathSegment.Move,0,z*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,a,z*y)),x}),go.Shape.defineFigureGenerator("Junction",function(ee,a,y){var x=new go.Geometry,E=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,te=le*.5,Ae=.5,ge=new go.PathFigure(a,Ae*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,y,a,(Ae+te)*y,(Ae+te)*a,y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,Ae*y,(Ae-te)*a,y,0,(Ae+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,0,0,(Ae-te)*y,(Ae-te)*a,0)),ge.add(new go.PathSegment(go.PathSegment.Bezier,a,Ae*y,(Ae+te)*a,0,a,(Ae-te)*y));var he=new go.PathFigure((z+E)*a,(z+E)*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,z*a,z*y)),he.add(new go.PathSegment(go.PathSegment.Move,z*a,(z+E)*y)),he.add(new go.PathSegment(go.PathSegment.Line,(z+E)*a,z*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(ee,a,y){var x=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var z=new go.PathFigure(.1*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(ee,a,y){var x=new go.Geometry,E=le*.5,z=.5,te=new go.PathFigure(.5*a,y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-E)*a,y,0,(z+E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-E)*y,(z-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+E)*a,0,a,(z-E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*a,.9*y,a,(z+E)*y,(z+E)*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.7);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,E*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.25);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,E*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(ee,a,y){var x=new go.Geometry;y=y/.8;var E=new go.PathFigure(a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var z=new go.PathFigure(.1*a,.2*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.1*a,.1*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var z=new go.PathFigure(.2*a,.1*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.1);var z=1-E,te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var Ae=new go.PathFigure(.5*E*a,E*y,!1);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,(1-.5*E)*a,E*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(ee,a,y){var x=new go.Geometry,E=le*.5,z=.5,te=new go.PathFigure(a,z*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+E)*y,(z+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-E)*a,y,0,(z+E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-E)*y,(z-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+E)*a,0,a,(z-E)*y));var Ae=new go.PathFigure(a,.5*y,!1);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),Ae.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(ee,a,y){var x=new go.Geometry;y=y/.8;var E=new go.PathFigure(0,.7*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.3*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.5*a,.6*y,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN,z=ee?ee.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN,z=ee?ee.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure((1-E)*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,E*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(E*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.25);var z=new go.PathFigure(E*a,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var te=new go.PathFigure(E*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,(1-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)),x.spot1=new go.Spot(E,0),x.spot2=new go.Spot(1-E,1),x}),go.Shape.defineFigureGenerator("Terminator",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.25*a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(ee,a,y){var x=new go.Geometry,E=ee?ee.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(ee,a,y){var x=new go.Geometry,E=le*.5,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+E)*a,0,a,(.5-E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+E)*y,(.5+E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(ee,a,y){var x=new go.Geometry,E=le*.5,z=.5,te=new go.PathFigure(a,z*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+E)*y,(z+E)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-E)*a,y,0,(z+E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-E)*y,(z-E)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+E)*a,0,a,(z-E)*y));var Ae=new go.PathFigure(a,z*y,!1);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,a,z*y));var ge=new go.PathFigure(.8*a,.75*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Move,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),x}),go.Shape.defineFigureGenerator("Inverter",function(ee,a,y){var x=new go.Geometry,E=le*.1,z=.1,te=.9,Ae=.5,ge=new go.PathFigure(.8*a,.5*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,0,y)),ge.add(new go.PathSegment(go.PathSegment.Line,0,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var he=new go.PathFigure((te+z)*a,Ae*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(Ae+z)*y,(te+z)*a,(Ae+E)*y,(te+E)*a,(Ae+z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,Ae*y,(te-E)*a,(Ae+z)*y,(te-z)*a,(Ae+E)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(Ae-z)*y,(te-z)*a,(Ae-E)*y,(te-E)*a,(Ae-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,Ae*y,(te+E)*a,(Ae-z)*y,(te+z)*a,(Ae-E)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(ee,a,y){var x=new go.Geometry,E=le*.5,z=le*.4,te=le*.1,Ae=.1,ge=.9,he=.5,de=new go.PathFigure(.8*a,.5*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+z)*y,(.4+E)*a,y)),de.add(new go.PathSegment(go.PathSegment.Line,0,y)),de.add(new go.PathSegment(go.PathSegment.Line,0,0)),de.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),de.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+E)*a,0,.8*a,(.5-z)*y));var pe=new go.PathFigure((ge+Ae)*a,he*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(he+Ae)*y,(ge+Ae)*a,(he+te)*y,(ge+te)*a,(he+Ae)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge-Ae)*a,he*y,(ge-te)*a,(he+Ae)*y,(ge-Ae)*a,(he+te)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(he-Ae)*y,(ge-Ae)*a,(he-te)*y,(ge-te)*a,(he-Ae)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge+Ae)*a,he*y,(ge+te)*a,(he-Ae)*y,(ge+Ae)*a,(he-te)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(ee,a,y){var x=new go.Geometry,E=.5,z=le*E,te=0,Ae=.5,ge=new go.PathFigure(.8*a,.5*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(Ae+z)*y,(te+z)*a,(Ae+E)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(te+z)*a,(Ae-E)*y,.7*a,(Ae-z)*y)),E=.1,z=le*.1,te=.9,Ae=.5;var he=new go.PathFigure((te-E)*a,Ae*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(Ae-E)*y,(te-E)*a,(Ae-z)*y,(te-z)*a,(Ae-E)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,Ae*y,(te+z)*a,(Ae-E)*y,(te+E)*a,(Ae-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(Ae+E)*y,(te+E)*a,(Ae+z)*y,(te+z)*a,(Ae+E)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,Ae*y,(te-z)*a,(Ae+E)*y,(te-E)*a,(Ae+z)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(ee,a,y){var x=new go.Geometry,E=.5,z=le*E,te=0,Ae=.5,ge=new go.PathFigure(0,0,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(te+z+z)*a,(Ae-E)*y,.8*a,(Ae-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(Ae+z)*y,(te+z+z)*a,(Ae+E)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(ee,a,y){var x=new go.Geometry,E=.5,z=le*E,te=.2,Ae=.5,ge=new go.PathFigure(.1*a,0,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var he=new go.PathFigure(.8*a,.5*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(Ae+z)*y,(te+z)*a,(Ae+E)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(te+z)*a,(Ae-E)*y,.7*a,(Ae-z)*y)),E=.1,z=le*.1,te=.9,Ae=.5;var de=new go.PathFigure((te-E)*a,Ae*y,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(Ae-E)*y,(te-E)*a,(Ae-z)*y,(te-z)*a,(Ae-E)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,Ae*y,(te+z)*a,(Ae-E)*y,(te+E)*a,(Ae-z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(Ae+E)*y,(te+E)*a,(Ae+z)*y,(te+z)*a,(Ae+E)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,Ae*y,(te-z)*a,(Ae+E)*y,(te-E)*a,(Ae+z)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(ee,a,y){var x=new go.Geometry,E=.5,z=le*E,te=.2,Ae=.5,ge=new go.PathFigure(.1*a,0,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var he=new go.PathFigure(.2*a,0,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(te+z)*a,(Ae-E)*y,.9*a,(Ae-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(Ae+z)*y,(te+z)*a,(Ae+E)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Resistor",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.5*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),x}),go.Shape.defineFigureGenerator("Inductor",function(ee,a,y){var x=new go.Geometry,E=le*.1,z=.1,te=.1,Ae=.5,ge=new go.PathFigure((te-E*.5)*a,y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-E)*a,y,(te-z)*a,0)),te=.3,ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+z)*a,0,(te+E)*a,y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-E)*a,y,(te-z)*a,0)),te=.5,ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+z)*a,0,(te+E)*a,y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-E)*a,y,(te-z)*a,0)),te=.7,ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+z)*a,0,(te+E)*a,y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-E)*a,y,(te-z)*a,0)),te=.9,ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+E*.5)*a,y,(te+z)*a,0,(te+E)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ee,a,y){var x=new go.Geometry,E=le*.5,z=.5,te=.5,Ae=.5,ge=new go.PathFigure((te-z)*a,Ae*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(Ae-z)*y,(te-z)*a,(Ae-E)*y,(te-E)*a,(Ae-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,Ae*y,(te+E)*a,(Ae-z)*y,(te+z)*a,(Ae-E)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(Ae+z)*y,(te+z)*a,(Ae+E)*y,(te+E)*a,(Ae+z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,Ae*y,(te-E)*a,(Ae+z)*y,(te-z)*a,(Ae+E)*y)),ge.add(new go.PathSegment(go.PathSegment.Move,(te-z+.1)*a,Ae*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z-.1)*a,Ae*y,te*a,(Ae-z)*y,te*a,(Ae+z)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.75*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Diode",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(ee,a,y){var x=new go.Geometry,E=a,z=y;a=a*.38,y=y*.6;var te=le*.8,Ae=.8,ge=0,he=.5,de=(E-a)/2,pe=(z-y)/2,Ee=new go.PathFigure(ge*a+de,(he+Ae)*y+pe,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ge-Ae)*a+de,he*y+pe,(ge-te)*a+de,(he+Ae)*y+pe,(ge-Ae)*a+de,(he+te)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+de,(he-Ae)*y+pe,(ge-Ae)*a+de,(he-te)*y+pe,(ge-te)*a+de,(he-Ae)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ge-Ae+te*.5)*a+de,he*y+pe,ge*a+de,(he-Ae)*y+pe,(ge-Ae+te*.5)*a+de,(he-te)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+de,(he+Ae)*y+pe,(ge-Ae+te*.5)*a+de,(he+te)*y+pe,ge*a+de,(he+Ae)*y+pe).close()),te=le*.4,Ae=.4,ge=.2,he=.5;var ye=new go.PathFigure(ge*a+de,(he+Ae)*y+pe,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge-Ae)*a+de,he*y+pe,(ge-te)*a+de,(he+Ae)*y+pe,(ge-Ae)*a+de,(he+te)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+de,(he-Ae)*y+pe,(ge-Ae)*a+de,(he-te)*y+pe,(ge-te)*a+de,(he-Ae)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge-Ae+te*.5)*a+de,he*y+pe,ge*a+de,(he-Ae)*y+pe,(ge-Ae+te*.5)*a+de,(he-te)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+de,(he+Ae)*y+pe,(ge-Ae+te*.5)*a+de,(he+te)*y+pe,ge*a+de,(he+Ae)*y+pe).close()),te=le*.2,Ae=.2,ge=.5,he=.5;var we=new go.PathFigure((ge-Ae)*a+de,he*y+pe,!0);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+de,(he-Ae)*y+pe,(ge-Ae)*a+de,(he-te)*y+pe,(ge-te)*a+de,(he-Ae)*y+pe)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ge+Ae)*a+de,he*y+pe,(ge+te)*a+de,(he-Ae)*y+pe,(ge+Ae)*a+de,(he-te)*y+pe)),we.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+de,(he+Ae)*y+pe,(ge+Ae)*a+de,(he+te)*y+pe,(ge+te)*a+de,(he+Ae)*y+pe)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ge-Ae)*a+de,he*y+pe,(ge-te)*a+de,(he+Ae)*y+pe,(ge-Ae)*a+de,(he+te)*y+pe)),te=le*.4,Ae=.4,ge=.8,he=.5;var Se=new go.PathFigure(ge*a+de,(he-Ae)*y+pe,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ge+Ae)*a+de,he*y+pe,(ge+te)*a+de,(he-Ae)*y+pe,(ge+Ae)*a+de,(he-te)*y+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+de,(he+Ae)*y+pe,(ge+Ae)*a+de,(he+te)*y+pe,(ge+te)*a+de,(he+Ae)*y+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ge+Ae-te*.5)*a+de,he*y+pe,ge*a+de,(he+Ae)*y+pe,(ge+Ae-te*.5)*a+de,(he+te)*y+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+de,(he-Ae)*y+pe,(ge+Ae-te*.5)*a+de,(he-te)*y+pe,ge*a+de,(he-Ae)*y+pe).close()),te=le*.8,Ae=.8,ge=1,he=.5;var Me=new go.PathFigure(ge*a+de,(he-Ae)*y+pe,!0);return x.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,(ge+Ae)*a+de,he*y+pe,(ge+te)*a+de,(he-Ae)*y+pe,(ge+Ae)*a+de,(he-te)*y+pe)),Me.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+de,(he+Ae)*y+pe,(ge+Ae)*a+de,(he+te)*y+pe,(ge+te)*a+de,(he+Ae)*y+pe)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(ge+Ae-te*.5)*a+de,he*y+pe,ge*a+de,(he+Ae)*y+pe,(ge+Ae-te*.5)*a+de,(he+te)*y+pe)),Me.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+de,(he-Ae)*y+pe,(ge+Ae-te*.5)*a+de,(he-te)*y+pe,ge*a+de,(he-Ae)*y+pe).close()),x}),go.Shape.defineFigureGenerator("Email",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.35*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var z=new go.PathFigure(.1*a,y,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var te=new go.PathFigure(.6*a,y,!0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var Ae=new go.PathFigure(0,.5*y,!1);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),Ae.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),Ae.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),Ae.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(ee,a,y){var x=new go.Geometry,E=le*.4,z=.4,te=.5,Ae=.5,ge=ce(),he=ce(),de=ce(),pe=ce();me(te,Ae-z,te+E,Ae-z,te+z,Ae-E,te+z,Ae,.5,ge,ge,he,de,pe);var Ee=ve(he.x,he.y),ye=new go.PathFigure(he.x*a,he.y*y,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,Ae*y,de.x*a,de.y*y,pe.x*a,pe.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(Ae+z)*y,(te+z)*a,(Ae+E)*y,(te+E)*a,(Ae+z)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,Ae*y,(te-E)*a,(Ae+z)*y,(te-z)*a,(Ae+E)*y)),me(te-z,Ae,te-z,Ae-E,te-E,Ae-z,te,Ae-z,.5,de,pe,he,ge,ge),ye.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,de.x*a,de.y*y,pe.x*a,pe.y*y)),E=le*.3,z=.3,me(te-z,Ae,te-z,Ae-E,te-E,Ae-z,te,Ae-z,.5,de,pe,he,ge,ge),ye.add(new go.PathSegment(go.PathSegment.Line,he.x*a,he.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,Ae*y,pe.x*a,pe.y*y,de.x*a,de.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(Ae+z)*y,(te-z)*a,(Ae+E)*y,(te-E)*a,(Ae+z)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,Ae*y,(te+E)*a,(Ae+z)*y,(te+z)*a,(Ae+E)*y)),me(te,Ae-z,te+E,Ae-z,te+z,Ae-E,te+z,Ae,.5,ge,ge,he,de,pe),ye.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,pe.x*a,pe.y*y,de.x*a,de.y*y).close());var ye=new go.PathFigure(.45*a,0,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),ke(ge),ke(he),ke(de),ke(pe),ke(Ee),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y/2,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function z(te,Ae,ge){te.add(new go.PathSegment(go.PathSegment.Move,(.3+Ae)*a,(.8+ge)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+Ae)*a,(.5+ge)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+Ae)*a,(.5+ge)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+Ae)*a,(.8+ge)*y).close())}return z(E,0,0),z(E,.4,0),z(E,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.2*a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.37*a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*y)),E.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.37*y)),E.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*y)),E.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*y)),E.add(new go.PathSegment(go.PathSegment.Line,.34*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*y)),E.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.68*y).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.1*a,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*y,.45*a,.44*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*y,.48*a,.17*y,.54*a,.35*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*y,.59*a,.29*y,.58*a,.28*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*y,.8*a,.34*y,.88*a,.43*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*y,.87*a,.48*y,.88*a,.43*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,1.17*a,.76*y,.82*a,.8*y).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ee,a,y){var x=new go.Geometry,E=.5,z=0,te=0,Ae=E*le,ge=.4*Math.SQRT2/2+.5,he=.5-.5*Math.SQRT2/2,de=1,pe=.5,Ee=.5,ye=0,we=new go.PathFigure(ge*a,(1-he)*y,!1);return x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,de*a,pe*y,de*a,.7*y,de*a,pe*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+z)*a,(ye+z)*y,(.5+E+z)*a,(.5-Ae+z)*y,(.5+Ae+z)*a,(.5-E+z)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*a,(.5+te)*y,(.5-Ae+z)*a,(.5-E+te)*y,(.5-E+z)*a,(.5-Ae+te)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*a,.9*y,(.5-E+z)*a,(.5+Ae+te)*y,(.5-Ae+z)*a,.9*y)),we.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*a,.8*y)),we.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*a,.9*y)),we.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Move,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);x.add(E);var z=new go.PathFigure(a,y,!1);x.add(z);var te=new go.PathFigure(0,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.2*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y).close());var E=new go.PathFigure(0,.2*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.7*a,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var z=new go.PathFigure(.45*a,.73*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),z.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),z.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);x.add(E);var z=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),z.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var te=.5-.285,Ae=.5,ge=te,he=Math.PI/4,de=4*(1-Math.cos(he))/(3*Math.sin(he)),pe=de*.5,Ee=te,ye=te,we=de*Ee,Se=de*ye;z.add(new go.PathSegment(go.PathSegment.Bezier,(Ae-Ee)*a,ge*y,(Ae-(we+Ee)/2)*a,(ge+(ye+Se)/2)*y,(Ae-Ee)*a,(ge+Se)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,Ae*a,(ge-ye)*y,(Ae-Ee)*a,(ge-Se)*y,(Ae-we)*a,(ge-ye)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(Ae+Ee)*a,ge*y,(Ae+we)*a,(ge-ye)*y,(Ae+Ee)*a,(ge-Se)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(Ae+Ee)*a,(ge+Se)*y,(Ae+(we+Ee)/2)*a,(ge+(ye+Se)/2)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var Me=new go.PathFigure(.2*a,y,!1);x.add(Me),Me.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Le=new go.PathFigure(.8*a,y,!1);return x.add(Le),Le.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.1*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var z=new go.PathFigure(.2*a,.2*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);x.add(E);var z=new go.PathFigure(a,y,!1);x.add(z);var te=new go.PathFigure(.1*a,y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.05*a,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var z=.05;return E.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*a,.875*y)),E.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,z*a,z*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),x}),go.Shape.defineFigureGenerator("Recycle",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.45*a,.95*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),E.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),E.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var z=new go.PathFigure(.475*a,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),z.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),z.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var te=new go.PathFigure(.675*a,.575*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),te.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ee,a,y){var x=new go.Geometry,E=.5,z=le*.5,te=new go.PathFigure(a,E*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,E*a,y,a,(E+z)*y,(E+z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-z)*a,y,0,(E+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-z)*y,(E-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+z)*a,0,a,(E-z)*y));var Ae=new go.PathFigure(E*a,0,!1);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,E*a,.15*y)),Ae.add(new go.PathSegment(go.PathSegment.Move,E*a,y)),Ae.add(new go.PathSegment(go.PathSegment.Line,E*a,.85*y)),Ae.add(new go.PathSegment(go.PathSegment.Move,0,E*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.15*a,E*y)),Ae.add(new go.PathSegment(go.PathSegment.Move,a,E*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.85*a,E*y)),Ae.add(new go.PathSegment(go.PathSegment.Move,E*a,E*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),Ae.add(new go.PathSegment(go.PathSegment.Move,E*a,E*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.15*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,.15*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var te=new go.PathFigure(0,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var z=new go.PathFigure(0,.2*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var te=new go.PathFigure(0,.6*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.15*a,.6*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var z=new go.PathFigure(.15*a,.6*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.35*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,.33*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.66*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.66*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,.66*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(a,.8*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var te=.1,Ae=le*.1,ge=.2,he=.9,de=new go.PathFigure((ge-te)*a,he*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(he-te)*y,(ge-te)*a,(he-Ae)*y,(ge-Ae)*a,(he-te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ge+te)*a,he*y,(ge+Ae)*a,(he-te)*y,(ge+te)*a,(he-Ae)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(he+te)*y,(ge+te)*a,(he+Ae)*y,(ge+Ae)*a,(he+te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ge-te)*a,he*y,(ge-Ae)*a,(he+te)*y,(ge-te)*a,(he+Ae)*y).close()),te=.1,Ae=le*.1,ge=.8,he=.9;var pe=new go.PathFigure((ge-te)*a,he*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(he-te)*y,(ge-te)*a,(he-Ae)*y,(ge-Ae)*a,(he-te)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge+te)*a,he*y,(ge+Ae)*a,(he-te)*y,(ge+te)*a,(he-Ae)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(he+te)*y,(ge+te)*a,(he+Ae)*y,(ge+Ae)*a,(he+te)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge-te)*a,he*y,(ge-Ae)*a,(he+te)*y,(ge-te)*a,(he+Ae)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.2*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),x}),go.Shape.defineFigureGenerator("Forklift",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0));var z=new go.PathFigure(0,.5*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var te=new go.PathFigure(.5*a,.8*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var Ae=new go.PathFigure(.5*a,.7*y,!1);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var ge=.1,he=le*.1,de=.1,pe=.9,Ee=new go.PathFigure((de-ge)*a,pe*y,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(pe-ge)*y,(de-ge)*a,(pe-he)*y,(de-he)*a,(pe-ge)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(de+ge)*a,pe*y,(de+he)*a,(pe-ge)*y,(de+ge)*a,(pe-he)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(pe+ge)*y,(de+ge)*a,(pe+he)*y,(de+he)*a,(pe+ge)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(de-ge)*a,pe*y,(de-he)*a,(pe+ge)*y,(de-ge)*a,(pe+he)*y)),ge=.1,he=le*.1,de=.4,pe=.9;var ye=new go.PathFigure((de-ge)*a,pe*y,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(pe-ge)*y,(de-ge)*a,(pe-he)*y,(de-he)*a,(pe-ge)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(de+ge)*a,pe*y,(de+he)*a,(pe-ge)*y,(de+ge)*a,(pe-he)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(pe+ge)*y,(de+ge)*a,(pe+he)*y,(de+he)*a,(pe+ge)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(de-ge)*a,pe*y,(de-he)*a,(pe+ge)*y,(de-ge)*a,(pe+he)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.1*a,.4*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var z=new go.PathFigure(.45*a,.7*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var te=new go.PathFigure(.55*a,.4*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var de=.05,pe=le*.05,Ee=.175,ye=.95,Ae=new go.PathFigure((Ee-de)*a,ye*y,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(ye-de)*y,(Ee-de)*a,(ye-pe)*y,(Ee-pe)*a,(ye-de)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+de)*a,ye*y,(Ee+pe)*a,(ye-de)*y,(Ee+de)*a,(ye-pe)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(ye+de)*y,(Ee+de)*a,(ye+pe)*y,(Ee+pe)*a,(ye+de)*y)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(Ee-de)*a,ye*y,(Ee-pe)*a,(ye+de)*y,(Ee-de)*a,(ye+pe)*y));var de=.05,pe=le*.05,Ee=.375,ye=.95,ge=new go.PathFigure((Ee-de)*a,ye*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(ye-de)*y,(Ee-de)*a,(ye-pe)*y,(Ee-pe)*a,(ye-de)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+de)*a,ye*y,(Ee+pe)*a,(ye-de)*y,(Ee+de)*a,(ye-pe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(ye+de)*y,(Ee+de)*a,(ye+pe)*y,(Ee+pe)*a,(ye+de)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(Ee-de)*a,ye*y,(Ee-pe)*a,(ye+de)*y,(Ee-de)*a,(ye+pe)*y));var de=.05,pe=le*.05,Ee=.625,ye=.95,he=new go.PathFigure((Ee-de)*a,ye*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(ye-de)*y,(Ee-de)*a,(ye-pe)*y,(Ee-pe)*a,(ye-de)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+de)*a,ye*y,(Ee+pe)*a,(ye-de)*y,(Ee+de)*a,(ye-pe)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(ye+de)*y,(Ee+de)*a,(ye+pe)*y,(Ee+pe)*a,(ye+de)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(Ee-de)*a,ye*y,(Ee-pe)*a,(ye+de)*y,(Ee-de)*a,(ye+pe)*y));var de=.05,pe=le*.05,Ee=.825,ye=.95,we=new go.PathFigure((Ee-de)*a,ye*y,!0);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(ye-de)*y,(Ee-de)*a,(ye-pe)*y,(Ee-pe)*a,(ye-de)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+de)*a,ye*y,(Ee+pe)*a,(ye-de)*y,(Ee+de)*a,(ye-pe)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,Ee*a,(ye+de)*y,(Ee+de)*a,(ye+pe)*y,(Ee+pe)*a,(ye+de)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(Ee-de)*a,ye*y,(Ee-pe)*a,(ye+de)*y,(Ee-de)*a,(ye+pe)*y).close());var Se=new go.PathFigure(0,y,!1);return x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var te=new go.PathFigure(.15*a,y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var Ae=.05,ge=le*.05,he=.35,de=.775,pe=new go.PathFigure((he-Ae)*a,de*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(de-Ae)*y,(he-Ae)*a,(de-ge)*y,(he-ge)*a,(de-Ae)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(he+Ae)*a,de*y,(he+ge)*a,(de-Ae)*y,(he+Ae)*a,(de-ge)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(de+Ae)*y,(he+Ae)*a,(de+ge)*y,(he+ge)*a,(de+Ae)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(he-Ae)*a,de*y,(he-ge)*a,(de+Ae)*y,(he-Ae)*a,(de+ge)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.75*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Globe",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.75*a,0,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.75*y,.75*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.25*a,y,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*y,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,.15*a,.25*y,.15*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*y,.85*a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*y,.35*a,.3*y,.65*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*y,.35*a,.7*y,.65*a,.7*y)),x}),go.Shape.defineFigureGenerator("Wave",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.25*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*y,.1*a,0,.2*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*y,.425*a,.5*y,.575*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*y,.8*a,0,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*y,.1*a,.5*y,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*y,.425*a,y,.575*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*y,.8*a,.5*y,.9*a,.5*y)),x}),go.Shape.defineFigureGenerator("Operator",function(ee,a,y){var x=new go.Geometry,E=.3,z=le*.3,te=.5,Ae=.7,ge=new go.PathFigure((te-E)*a,Ae*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(Ae-E)*y,(te-E)*a,(Ae-z)*y,(te-z)*a,(Ae-E)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,Ae*y,(te+z)*a,(Ae-E)*y,(te+E)*a,(Ae-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(Ae+E)*y,(te+E)*a,(Ae+z)*y,(te+z)*a,(Ae+E)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,Ae*y,(te-z)*a,(Ae+E)*y,(te-E)*a,(Ae+z)*y));var he=new go.PathFigure(0,.7*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.5*a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.65*a,.3*y,.65*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*y,.35*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.3*a,.6*y,.1*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.2*a,y,.35*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,y,.7*a,.6*y,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.8*a,y,.65*a,.95*y)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,0,.075*y,0,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,0,y,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*y,.8*a,y,.85*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),x}),go.Shape.defineFigureGenerator("Battery",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var z=new go.PathFigure(0,.6*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(ee,a,y){var x=new go.Geometry,E=.5,z=le*.5,te=.5,Ae=.5,ge=new go.PathFigure((te-E)*a,Ae*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(Ae-E)*y,(te-E)*a,(Ae-z)*y,(te-z)*a,(Ae-E)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,Ae*y,(te+z)*a,(Ae-E)*y,(te+E)*a,(Ae-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(Ae+E)*y,(te+E)*a,(Ae+z)*y,(te+z)*a,(Ae+E)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,Ae*y,(te-z)*a,(Ae+E)*y,(te-E)*a,(Ae+z)*y));var he=new go.PathFigure(.15*a,.5*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.1*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*y,.15*a,0,.35*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,.65*a,.2*y,.85*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.85*a,.6*y,.65*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.35*a,.4*y,.15*a,.4*y).close()),x}),go.Shape.defineFigureGenerator("Help",function(ee,a,y){var x=new go.Geometry,E=.5,z=le*.5,te=.5,Ae=.5,ge=new go.PathFigure((te-E)*a,Ae*y,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(Ae-E)*y,(te-E)*a,(Ae-z)*y,(te-z)*a,(Ae-E)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,Ae*y,(te+z)*a,(Ae-E)*y,(te+E)*a,(Ae-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(Ae+E)*y,(te+E)*a,(Ae+z)*y,(te+z)*a,(Ae+E)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,Ae*y,(te-z)*a,(Ae+E)*y,(te-E)*a,(Ae+z)*y).close()),E=.05,z=le*.05,te=.5,Ae=.8;var he=new go.PathFigure((te-E)*a,Ae*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(Ae-E)*y,(te-E)*a,(Ae-z)*y,(te-z)*a,(Ae-E)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*a,Ae*y,(te+z)*a,(Ae-E)*y,(te+E)*a,(Ae-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(Ae+E)*y,(te+E)*a,(Ae+z)*y,(te+z)*a,(Ae+E)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*a,Ae*y,(te-z)*a,(Ae+E)*y,(te-E)*a,(Ae+z)*y).close()),he.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),he.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),x}),go.Shape.defineFigureGenerator("Location",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*y,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*y,.5*a,0,.025*a,.025*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Lock",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.2*a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.2*a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*y,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*y,.79840625*a,.39915625*y,.7834375*a,.3635*y)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*y)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*y,.64228125*a,.2188125*y,.603875*a,.2021875*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*y,.39759375*a,.20190625*y,.36053125*a,.2176875*y)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*y)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*y,.21765625*a,.36059375*y,.201875*a,.397625*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*y,.20221875*a,.603875*y,.21884375*a,.64228125*y)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*y,.36353125*a,.78340625*y,.3991875*a,.79840625*y)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*y,.602375*a,.79809375*y,.63946875*a,.78234375*y)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*y,.78234375*a,.63940625*y,.798125*a,.602375*y)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*y)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Hand",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.5*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*y,0,.375*y,.05*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*y,.3*a,.225*y,.4*a,.175*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*y,.46*a,.05*y,.525*a,.05*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*y,.525*a,.275*y,.475*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*y,a,.4*y,a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*y,.675*a,.55*y,.675*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*y,.65*a,.7*y,.65*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,y,.61*a,.85*y,.61*a,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,.435*a,y,0,y).close()),x}),go.Shape.defineFigureGenerator("Map",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,.2*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),E.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),x}),go.Shape.defineFigureGenerator("Eject",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var z=new go.PathFigure(0,y*.6,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close()))}),go.Shape.defineFigureGenerator("Building",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*1,y*1,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),E.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var z=new go.PathFigure(.126*a,.85*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var te=new go.PathFigure(.402*a,.85*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var Ae=new go.PathFigure(.678*a,.85*y,!1);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),Ae.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var ge=new go.PathFigure(.5*a,.1*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),ge.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y*1,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.8)),E.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.8)),E.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.6)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.6)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.4)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.4)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.2)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.2)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.15)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.15)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,y*1,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var z=new go.PathFigure(a*.204,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var te=new go.PathFigure(a*.408,y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var Ae=new go.PathFigure(a*.612,y,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),Ae.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),Ae.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var ge=new go.PathFigure(a*.816,y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),ge.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),ge.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var z=new go.PathFigure(a*.055,.07*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var te=new go.PathFigure(a*.055,.13*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),te.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var Ae=new go.PathFigure(a*.055,.18*y,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),Ae.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),Ae.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var ge=new go.PathFigure(a*1,0,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),ge.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(.55*a,y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*y,0,.4*y,.225*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*y)),E.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*y,.975*a,0,a,.08*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*y)),E.add(new go.PathSegment(go.PathSegment.Line,.55*a,y).close()),x}),go.Shape.defineFigureGenerator("Key",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*1,y*.5,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.35*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*y)),E.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*y).close()),E.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*y)),E.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*y,.075*a,.075*y).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),E.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var te=new go.PathFigure(a*.11,y*.1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),te.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var Ae=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),Ae.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),Ae.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var ge=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),ge.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),ge.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(ee,a,y){var x=new go.Geometry,E=8,z=E*le,te=new go.PathFigure(E,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-E)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,y-z,a-z,y)),te.add(new go.PathSegment(go.PathSegment.Line,E,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,z,y,0,y-z)),te.add(new go.PathSegment(go.PathSegment.Line,0,E)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,z,z,0).close());var Ae=new go.PathFigure(a*.83,0,!1);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),Ae.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),Ae.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var ge=new go.PathFigure(a*.83,y*1,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var he=new go.PathFigure(a*.78,y*.05,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),he.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),he.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var E=x*le,z=y*.8,te=new go.Geometry,Ae=new go.PathFigure(x,0,!0);return te.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-E,0,a,E)),Ae.add(new go.PathSegment(go.PathSegment.Line,a,z-x)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,a-x,z,a,z-E,a-E,z)),Ae.add(new go.PathSegment(go.PathSegment.Line,a*.7,z)),Ae.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),Ae.add(new go.PathSegment(go.PathSegment.Line,a*.55,z)),Ae.add(new go.PathSegment(go.PathSegment.Line,x,z)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,E,z,0,z-E)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,x)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,E,E,0).close()),E>1?(te.spot1=new go.Spot(0,0,E,E),te.spot2=new go.Spot(1,.8,-E,-E)):(te.spot1=go.Spot.TopLeft,te.spot2=new go.Spot(1,.8)),te}),go.Shape.defineFigureGenerator("Repeat",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*0,y*.45,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var z=new go.PathFigure(a*1,y*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*y).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*0,y*.1,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var z=new go.PathFigure(a*.1,y*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var te=new go.PathFigure(a*.28,y*.37,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),te.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),te.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(ee,a,y){var x=new go.Geometry,E=15,z=E*le,te=new go.PathFigure(a*.62,y*.475,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y-E)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,y-z,a-z,y)),te.add(new go.PathSegment(go.PathSegment.Line,E,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,z,y,0,y-z)),te.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),te.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),te.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),z>1?(x.spot1=new go.Spot(0,0,z,z),x.spot2=new go.Spot(1,1,-z,-z)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);x.add(E);var z=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-z)).close());var te=new go.PathFigure(a*.4,y*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),te.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);x.add(E);var z=.1/.3;return E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-z)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*0,y*1,!0);x.add(E);var z=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-z)).close());var te=new go.PathFigure(a*.5,y*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*.15,y*0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*.15,y*0,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var z=new go.PathFigure(a*.235,y*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),z.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),z.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(ee,a,y){var x=new go.Geometry,E=new go.PathFigure(a*.5,y*0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),E.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),E.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),E.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},61016:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var Rt={},bt="5.0",ve={},ce=null,ke=!1,b=!1,me=null,fe=!1,ue=null,le=null,ie=0;ie4?parseFloat(at):5};Rt.setHTML5Codebase=function(at,_e){le=at,ct(at,_e)},Rt.setJavaCodebase=Rt.setJavaCodebaseVersion=Rt.isCompiledInstalled=Rt.setPreCompiledScriptPath=Rt.setPreCompiledResourcePath=function(){},Rt.setHTML5CodebaseVersion=function(at,_e){var et=parseFloat(at);if(et!==NaN&&et<5){console.log("The GeoGebra HTML5 codebase version "+et+" is deprecated. Using version latest instead.");return}ue=at,it(at,_e)},Rt.getHTML5CodebaseVersion=function(){return ee},Rt.getParameters=function(){return ve},Rt.setFontsCSSURL=function(at){te=at},Rt.setGiacJSURL=function(at){},Rt.setJNLPFile=function(at){ae=at},Rt.setJNLPBaseDir=function(at){},Rt.inject=function(){function at(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var _e="auto",et=ve.id,mt,ht=!1,Lt=0;Lt=5)return!0;var at=Rt.getAppletObject();return at&&typeof at.recalculateEnvironments=="function"?(at.recalculateEnvironments(),!0):!1},Rt.startAnimation=function(){var at=Rt.getAppletObject();return at&&typeof at.startAnimation=="function"?(at.startAnimation(),!0):!1},Rt.stopAnimation=function(){var at=Rt.getAppletObject();return at&&typeof at.stopAnimation=="function"?(at.stopAnimation(),!0):!1},Rt.getAppletObject=function(){var at=ve.id!==void 0?ve.id:"ggbApplet";return window[at]},Rt.resize=function(){};var we=function(at,_e,et){var mt=document.createElement("param");mt.setAttribute("name",_e),mt.setAttribute("value",et),at.appendChild(mt)},Se=function(at){return at&&at!=="false"},Me=function(at,_e,et){ge(ee)<=4.2&&(et=!0);var mt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ee||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(mt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var ht=document.createElement("div");ht.classList.add("appletParameters","notranslate");var Lt=_e.width,ut=_e.height;if(_e.disableAutoScale=_e.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():_e.disableAutoScale,_e.width!==void 0)if(ge(ee)<=4.4)Se(_e.showToolBar)&&(_e.height-=7),Se(_e.showAlgebraInput)&&(_e.height-=37),_e.width<605&&Se(_e.showToolBar)&&(_e.width=605,Lt=605);else{var lt=100;(Se(_e.showToolBar)||Se(_e.showMenuBar))&&(_e.hasOwnProperty("customToolBar")&&(_e.customToolbar=_e.customToolBar),lt=Se(_e.showMenuBar)?245:155),Lt=5?(_e.appletOnLoad=function(At){var zt=at.querySelector(".ggb_preview");zt&&zt.parentNode.removeChild(zt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Ge),window.GGBT_wsf_view&&$(window).trigger("resize"),gt(At)},$e||Ge.appendChild(Ft)):ht.appendChild(Ft),Ge.appendChild(ht),$e||at.appendChild(Ge),setTimeout(function(){Rt.resize()},1)}else{var xt=document.createElement("div");xt.className="applet_scaler",xt.style.position="relative",xt.style.display="block",xt.appendChild(ht),at.appendChild(xt),_e.appletOnLoad=function(At){Rt.resize(),gt(At)}}function Et(At,zt){zt&&typeof zt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(At,zt.appletOnLoad):renderGGBElement(At),nt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",zt)}function Xe(At,zt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:At,params:zt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(cn){Et(cn.article,cn.params)}),html5AppletsToProcess=null)},ge(ee)<5&&(At.className+=" geogebraweb")):Et(At,zt)}if(mt){scriptLoadStarted=!0;for(var Oe=0;Oe0?(Ke.remove(),Ge.attr("id","fullscreencontent").show(),jQuery(gt).append(Ge),window.dispatchEvent(new Event("resize"))):Me(Ke,_e,!1),window.GGBT_wsf_view.launchFullScreen(gt)}else ne=mt,Me(at,_e,!1);if(!window.GGBT_wsf_view)for(ut=0;utat/4*3&&(Ke=at/4*3),gt=Ke/5.8,lt.setAttribute("src",E),lt.setAttribute("width",Ke),lt.setAttribute("height",gt);var Ge=(at-Ke)/2,$e=(_e-gt)/2;lt.style.left=Ge+"px",lt.style.top=$e+"px",ht.appendChild(lt)}}return ht.appendChild(ut),ht},Ze=function(at){return at=at.toLowerCase(),at==="html5"||at==="screenshot"?at:"html5"},Te=["web","webSimple","web3d","tablet","tablet3d","phone"],it=function(at,_e){if(ee=at,_e){ct(ee,!0);return}var et=!ke;if(et){var mt=ge(ee);!isNaN(mt)&&mt<4.4&&(et=!1)}var ht,Lt;window.location.protocol.substr(0,4)==="http"?ht=window.location.protocol:ht="http:";var ut=ee.indexOf("//");ut>0?Lt=ee:ut===0?Lt=ht+ee:Lt="https://www.geogebra.org/apps/5.2.814.0/";for(var lt in Te)if(ee.slice(Te[lt].length*-1)===Te[lt]||ee.slice((Te[lt].length+1)*-1)===Te[lt]+"/"){ct(Lt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&et&&!ce.is3D&&!ce.AV&&!ce.SV&&!ce.CV&&!ce.EV2&&!ce.CP&&!ce.PC&&!ce.DA&&!ce.FI&&!ce.PV&&!Se(ve.showToolBar)&&!Se(ve.showMenuBar)&&!Se(ve.showAlgebraInput)&&!Se(ve.enableRightClick)&&(!ve.appName||ve.appName=="classic")?Lt+="webSimple/":Lt+="web3d/",ct(Lt,!1)},ct=function(at,_e){if(at.requirejs){oe=at;return}at.slice(-1)!=="/"&&(at+="/"),oe=at,_e===null&&(_e=at.indexOf("http")===-1),re=_e,a="web.nocache.js",y=!1;var et=oe.split("/");et.length>1&&(!_e&&et[et.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Te.indexOf(et[et.length-2])>=0&&(a=et[et.length-2]+".nocache.js")),et=at.split("/"),ee=et[et.length-3],ee.substr(0,4)==="test"?ee=ee.substr(4,1)+"."+ee.substr(5,1):(ee.substr(0,3)==="war"||ee.substr(0,4)==="beta")&&(ee="5.0");var mt=parseFloat(ee);mt!==NaN&&mt<5&&at.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+mt+" is deprecated. Using version latest instead."),it("5.0",_e))},nt=function(at,_e){window.console&&window.console.log&&(!_e||typeof _e.showLogging=="undefined"||_e.showLogging&&_e.showLogging!=="false")&&console.log(at)};ve.material_id!==void 0?pe(ft):ft();function ft(){var at=bt;ue!==null?at=ue:parseFloat(at)<5&&(at="5.0"),it(at,!1),le!==null&&ct(le,re),fe=!0}return Rt},GGBAppletUtils=function(){"use strict";function Rt(){return window.GGBT_wsf_edit!==void 0}function bt(fe,ue){ue!=1?(fe.style.transformOrigin="0% 0% 0px",fe.style.webkitTransformOrigin="0% 0% 0px",fe.style.transform="scale("+ue+","+ue+")",fe.style.webkitTransform="scale("+ue+","+ue+")",fe.style.maxWidth="initial",fe.querySelector(".ggb_preview")!==null&&(fe.querySelector(".ggb_preview").style.maxWidth="initial"),fe.querySelectorAll(".ggb_preview img")[0]!==void 0&&(fe.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),fe.querySelectorAll(".ggb_preview img")[1]!==void 0&&(fe.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(fe.style.transform="none",fe.style.webkitTransform="none")}function ve(fe,ue,le,ie,se,ae){var oe=null;if(ae!=null&&ae!="")for(var re=fe.parentNode;re!=null;)if((" "+re.className+" ").indexOf(" "+ae+" ")>-1){oe=re;break}else re=re.parentNode;var ne=0,ee=0,a=0,y=0,x=0,E=0,z=0;if(oe)ne=oe.offsetWidth,ee=Math.max(ie?oe.offsetWidth:0,oe.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ne=Math.min(window.innerWidth,document.documentElement.clientWidth),ee=Math.min(window.innerHeight,document.documentElement.clientHeight),a=ne):(ne=window.innerWidth,ee=window.innerHeight,a=window.innerWidth),fe){var te=fe.getBoundingClientRect();te.left>0&&te.left<=ne&&(se===void 0||!se)&&(document.dir==="rtl"?(x=ne-te.width-te.left,E=a<=480?10:30):(E=te.left,x=a<=480?10:30),y=E+x)}if(fe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var Ae=fe.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,z=40)}}return fe&&((le===void 0||!le)&&ue>0&&ue+y1&&(ae=!0)),ue&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ae=!0),!(fe.hasOwnProperty("disableAutoScale")&&fe.disableAutoScale))se=ce(fe,ue,ae,le,fe.scaleContainerClass);else return ie;return ae&&(!fe.hasOwnProperty("scale")||ie===1)?se:Math.min(ie,se)}function b(fe){var ue=Math.min(window.innerWidth,document.documentElement.clientWidth),le=Math.min(window.innerHeight,document.documentElement.clientHeight),ie=fe.getBoundingClientRect(),se=(ue-ie.width)/2,ae=(le-ie.height)/2;ae<0&&(ae=0),fe.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(se<40?fe.style.left="40px":fe.style.left=se+"px",fe.style.top=ae+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ae<40?fe.style.top="40px":fe.style.top=ae+"px",fe.style.left=se+"px")}function me(fe,ue){var le=fe.querySelector(".appletParameters");if(le){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ue.id!==le.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(fe)}if(le.parentElement&&/fullscreen/.test(le.parentElement.className))return;var ie=ke(ue,fe);Rt()&&le.setAttribute("data-param-scale",ie);for(var se=null,ae=0;ae=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(Rt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Rt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Rt){var bt=c[Rt];return bt==null?null:bt},r=d,webModule.__errFn=e}function B(){function Rt(fe){var ue=fe.lastIndexOf(rb);ue==-1&&(ue=fe.length);var le=fe.indexOf(sb);le==-1&&(le=fe.length);var ie=fe.lastIndexOf(tb,Math.min(le,ue));return ie>=O?fe.substring(O,ie+P):W}function bt(fe){if(!fe.match(/^\w+:\/\//)){var ue=o.createElement(ub);ue.src=fe+vb,fe=Rt(ue.src)}return fe}function ve(){var fe=__gwt_getMetaProperty(wb);return fe!=null?fe:W}function ce(){for(var fe=o.getElementsByTagName(_),ue=O;ueO?fe[fe.length-P].href:W}function b(){var fe=o.location;return fe.href==fe.protocol+zb+fe.host+fe.pathname+fe.search+fe.hash}var me=ve();return me==W&&(me=ce()),me==W&&(me=ke()),me==W&&b()&&(me=Rt(o.location.href)),me=bt(me),me}function C(Rt){return Rt.match(/^\//)||Rt.match(/^[a-zA-Z]+:\/\//)?Rt:webModule.__moduleBase+Rt}function D(){var Rt=[],bt=O,ve=[],ce=[];function ke(fe){var ue=ce[fe](),le=ve[fe];if(ue in le)return ue;var ie=[];for(var se in le)ie[le[se]]=se;throw r&&r(fe,ie,ue),null}if(__gwt_isKnownPropertyValue=function(fe,ue){return ue in ve[fe]},webModule.__getPropMap=function(){var fe={};for(var ue in ve)ve.hasOwnProperty(ue)&&(fe[ue]=ke(ue));return fe},webModule.__computePropValue=ke,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var b;try{b=Cb;var me=b.indexOf(Db);me!=-1&&(bt=parseInt(b.substring(me+P),$),b=b.substring(O,me))}catch(fe){}return webModule.__softPermutationId=bt,C(b+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},15476:function(Rt,bt,ve){"use strict";ve.d(bt,{Ax:function(){return me},Ds:function(){return fe},KI:function(){return le},SI:function(){return b},f1:function(){return ke}});var ce=ve(11320);function ke(ie){let se=!0;if(ie.length>0){for(let ae=0;aey in a?b(a,y,{enumerable:!0,configurable:!0,writable:!0,value:x}):a[y]=x,ae=(a,y)=>{for(var x in y||(y={}))le.call(y,x)&&se(a,x,y[x]);if(ue)for(var x of ue(y))ie.call(y,x)&&se(a,x,y[x]);return a},oe=(a,y)=>me(a,fe(y)),re=(a,y)=>{var x={};for(var E in a)le.call(a,E)&&y.indexOf(E)<0&&(x[E]=a[E]);if(a!=null&&ue)for(var E of ue(a))y.indexOf(E)<0&&ie.call(a,E)&&(x[E]=a[E]);return x},ne=(a,y,x)=>new Promise((E,z)=>{var te=he=>{try{ge(x.next(he))}catch(de){z(de)}},Ae=he=>{try{ge(x.throw(he))}catch(de){z(de)}},ge=he=>he.done?E(he.value):Promise.resolve(he.value).then(te,Ae);ge((x=x.apply(a,y)).next())});const ee=a=>{var y=a,{children:x}=y,E=re(y,["children"]);const[z,te]=(0,ke.useState)(!1);return ke.createElement(ce.ZP,oe(ae({},E),{loading:z,onClick:Ae=>ne(void 0,null,function*(){try{te(!0),yield E.onClick(Ae),te(!1)}catch(ge){console.error(ge),te(!1)}})}),x)}},446:function(Rt,bt,ve){"use strict";ve.d(bt,{ij:function(){return z},_s:function(){return E},Uf:function(){return x},ZP:function(){return Ae}});var ce=ve(67294),ke={flex_box_center:"flex_box_center___swvFl",flex_space_between:"flex_space_between___AqPFV",flex_box_vertical_center:"flex_box_vertical_center___XWInJ",flex_box_center_end:"flex_box_center_end___GB61t",flex_box_column:"flex_box_column___dJnz1",analysis:"analysis___xyV_c",title:"title___DQ3VK",itemWrap:"itemWrap___vFE5r",item:"item___NjeOt",list:"list___BbMrm",wrap:"wrap___UQTTb",img:"img___tNvUo",tips:"tips___Eu4wH",footer:"footer___ZbR9W",noData:"noData___mLlw0"},b=ve(94184),me=ve.n(b),fe=ve(50976),ue=ve(83062),le=ve(46303),ie=ve(57953),se=ve(26194),ae=ve(11320),oe=Object.defineProperty,re=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,a=(ge,he,de)=>he in ge?oe(ge,he,{enumerable:!0,configurable:!0,writable:!0,value:de}):ge[he]=de,y=(ge,he)=>{for(var de in he||(he={}))ne.call(he,de)&&a(ge,de,he[de]);if(re)for(var de of re(he))ee.call(he,de)&&a(ge,de,he[de]);return ge};const x=(ge={})=>{var he,de,pe,Ee;let ye=(he=ge==null?void 0:ge.emotion)==null?void 0:he.map(Le=>y({value:Le==null?void 0:Le.rate},Le)),we=(de=ge==null?void 0:ge.focus)==null?void 0:de.map(Le=>y({value:Le==null?void 0:Le.rate},Le)),Se=(pe=ge==null?void 0:ge.action)==null?void 0:pe.map(Le=>y({value:Le==null?void 0:Le.rate},Le)),Me=(Ee=ge==null?void 0:ge.intention)==null?void 0:Ee.map(Le=>y({value:Le==null?void 0:Le.rate},Le));return[{title:"\u8868\u60C5\u5360\u6BD4",color:["#f7ca2e","#4ccf71","#3791ee","#f9ac95","#4f74ee","#f0e999"],data:ye||[]},{title:"\u4E13\u6CE8\u5EA6\u5360\u6BD4",color:["#4f74ee","#f9ac95","#9cb5fe","#eaa170","#3791ee","#a39bed"],data:we||[]},{title:"\u884C\u4E3A\u5360\u6BD4\u60C5\u51B5",color:["#5eca9c","#a39bed","#f68238","#f0e999","#eaa170","#f9ac95"],data:Se||[]},{title:"\u610F\u56FE\u5360\u6BD4\u60C5\u51B5",color:["#eaa170","#739fcb","#f0e999","#f9ac95","#4f74ee","#5eca9c"],data:Me||[]}]},E=({className:ge,dataSource:he=[],col:de=4,right:pe,bottom:Ee=23,precision:ye=0,wrapWidth:we=1200})=>{const Se=(Le="",Ne,Ie="--")=>Le?(Le==null?void 0:Le.length)>Ne?(Le==null?void 0:Le.slice(0,Ne-1))+"...":Le:Ie,Me=Math.floor((we-(de-1)*pe)/de);return ce.createElement("div",{className:me()(ke.list,ge)},!!(he!=null&&he.length)&&(he==null?void 0:he.map((Le,Ne)=>{const{cover_pic:Ie,created_at:Qe,emotion:Re,action:Ze,intention:Te,focus:it}=Le;return ce.createElement("div",{key:Ne,className:ke.wrap,style:{width:Me,marginRight:(1+Ne)%de===0?0:pe+ye,marginBottom:Ee}},ce.createElement("div",{className:ke.img},ce.createElement("img",{src:`${ae.Z.API_SERVER}${Ie}`}),ce.createElement("div",{className:ke.tips},ce.createElement("div",null,ce.createElement("i",{className:"iconfont icon-paisheshijian mr5 font14"})," \u62CD\u6444\u65F6\u95F4"),ce.createElement("span",null,Qe))),ce.createElement("div",{className:ke.footer},ce.createElement("ul",null,ce.createElement("li",null,ce.createElement("i",{className:"iconfont icon-biaoqing"}),ce.createElement("span",null,"\u8868\u60C5\uFF1A",ce.createElement(ue.Z,{title:Re},ce.createElement("span",{className:"c-grey-333"},Se(Re,4))))),ce.createElement("li",null,ce.createElement("i",{className:"iconfont icon-hangwei"}),ce.createElement("span",null,"\u884C\u4E3A\uFF1A",ce.createElement(ue.Z,{title:Ze},ce.createElement("span",{className:"c-grey-333"},Se(Ze,4)))))),ce.createElement("ul",null,ce.createElement("li",null,ce.createElement("i",{className:"iconfont icon-yitu"}),ce.createElement("span",null,"\u610F\u56FE\uFF1A",ce.createElement(ue.Z,{title:Te},ce.createElement("span",{className:"c-grey-333"},Se(Te,4))))),ce.createElement("li",null,ce.createElement("i",{className:"iconfont icon-zhuangtai"}),ce.createElement("span",null,"\u4E13\u6CE8\u5EA6\uFF1A",ce.createElement(ue.Z,{title:it},ce.createElement("span",{className:"c-grey-333"},Se(it,3))))))))})))},z=({className:ge,style:he,title:de,hideBar:pe=!1,children:Ee,customText:ye="",noDataText:we="",emptyData:Se=[],loading:Me,actionAnalysis:Le})=>{var Ne,Ie;const Qe=((Ne=Se==null?void 0:Se[0])==null?void 0:Ne.every(Ze=>{var Te;return!((Te=Ze==null?void 0:Ze.data)!=null&&Te.length)}))&&!((Ie=Se==null?void 0:Se[1])!=null&&Ie.length)||!Le,Re=Le?we:ye;return ce.createElement(le.Z,{loading:Me,active:!0},Qe&&ce.createElement("div",{className:me()(ke.noData,ge),style:he},!!de&&ce.createElement("div",{className:ke.title},!pe&&ce.createElement("b",null),ce.createElement("span",null,de)),ce.createElement("div",{className:ke.itemWrap},ce.createElement(se.Z,{customText:Re}))),!Qe&&Ee)};var Ae=({className:ge,style:he,data:de=[],title:pe,hideBar:Ee=!1,loading:ye=!1})=>ce.createElement("div",{className:me()(ke.analysis,ge),style:he},!!pe&&ce.createElement("div",{className:ke.title},!Ee&&ce.createElement("b",null),ce.createElement("span",null,pe)),ce.createElement(ie.Z,{spinning:ye},ce.createElement("div",{className:ke.itemWrap},de==null?void 0:de.map((we,Se)=>ce.createElement("div",{className:ke.item,key:Se},ce.createElement(fe.Z,{option:{tooltip:{trigger:"item",formatter:"{a}
{b}: {c}%"},title:{left:"center",bottom:15,text:we==null?void 0:we.title},legend:{top:10,right:10,orient:"vertical",show:!0,align:"left",icon:"circle",itemWidth:10,itemHeight:10,formatter:function(Me){for(let Le in we==null?void 0:we.data)if(Me==(we==null?void 0:we.data[Le].name))return Me+" "+(we==null?void 0:we.data[Le].value)+"%"},textStyle:{color:"#767676",fontSize:12}},color:we==null?void 0:we.color,series:[{type:"pie",radius:["20%","35%"],center:["20%","40%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},data:we==null?void 0:we.data}]},style:{height:145}}))))))},56243:function(Rt,bt,ve){"use strict";var ce=ve(17187),ke=ve.n(ce),b=Object.defineProperty,me=(ie,se,ae)=>se in ie?b(ie,se,{enumerable:!0,configurable:!0,writable:!0,value:ae}):ie[se]=ae,fe=(ie,se,ae)=>me(ie,typeof se!="symbol"?se+"":se,ae),ue=(ie,se,ae)=>new Promise((oe,re)=>{var ne=y=>{try{a(ae.next(y))}catch(x){re(x)}},ee=y=>{try{a(ae.throw(y))}catch(x){re(x)}},a=y=>y.done?oe(y.value):Promise.resolve(y.value).then(ne,ee);a((ae=ae.apply(ie,se)).next())});class le extends ce.EventEmitter{constructor(se,ae){super(),fe(this,"url"),fe(this,"body"),fe(this,"fullContent",""),fe(this,"controller",null),fe(this,"buffer",""),this.url=se,this.body=ae}startStream(){return ue(this,null,function*(){this.controller=new AbortController;const{signal:se}=this.controller;try{const ae=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:se});if(!ae.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${ae.status}`);const oe=ae.headers.get("content-type");if(!oe)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(oe.includes("application/json")){const ee=yield ae.json();this.emit("error",ee);return}if(!oe.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const re=ae.body.getReader(),ne=new TextDecoder("utf-8");for(;;){const{done:ee,value:a}=yield re.read();if(ee)break;const y=ne.decode(a,{stream:!0});this.buffer+=y;const x=this.buffer.split(` +`);this.buffer=x.pop()||"";for(const E of x)if(E.startsWith("data:")){const z=E.slice(5).trim();if(z==="[DONE]")break;try{const te=JSON.parse(z);te.data&&this.handleData(te.data)}catch(te){this.buffer=E+` +`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",te)}}}this.emit("done",this.fullContent)}catch(ae){ae.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",ae.message)}})}handleData(se){se.content&&(this.fullContent+=se.content,this.emit("data",{chunk:se,full:this.fullContent}))}cancelRequest(){var se;(se=this.controller)==null||se.abort()}}bt.Z=le},21826:function(Rt,bt,ve){"use strict";ve.d(bt,{Z:function(){return Te}});var ce=ve(67294),ke=ve(94668),b=ve(91733),me=ve(17274),fe=ve(86032),ue=ve(74855),le={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},ie=ve(2453),se=ve(99398),ae=ve(36576),oe=ve(41807),re=ve(67127),ne=ve(81897),ee=ve(72565),a=ve(71230),y=ve(15746),x={smartWrp:"smartWrp___NjRcB"},E=ve(36295),z=ve(86583),te=ve(60580),Ae=ve(67294),ge=(it,ct,nt)=>new Promise((ft,at)=>{var _e=ht=>{try{mt(nt.next(ht))}catch(Lt){at(Lt)}},et=ht=>{try{mt(nt.throw(ht))}catch(Lt){at(Lt)}},mt=ht=>ht.done?ft(ht.value):Promise.resolve(ht.value).then(_e,et);mt((nt=nt.apply(it,ct)).next())});const he=` + + + + + \u5FEB\u901F\u6392\u5E8F\u6F14\u793A + + + +

\u5FEB\u901F\u6392\u5E8F\u7B97\u6CD5\u6F14\u793A

+ +
+ +