(self.webpackChunk=self.webpackChunk||[]).push([[2413],{89489:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return Ee}});var He=We(96663),gt=We(59301),oe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},Ze=oe,Ne=We(7657),ge=function(ye,De){return gt.createElement(Ne.Z,(0,He.Z)({},ye,{ref:De,icon:Ze}))},ce=gt.forwardRef(ge),Ee=ce},59477:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return Ee}});var He=We(96663),gt=We(59301),oe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},Ze=oe,Ne=We(7657),ge=function(ye,De){return gt.createElement(Ne.Z,(0,He.Z)({},ye,{ref:De,icon:Ze}))},ce=gt.forwardRef(ge),Ee=ce},40001:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return Ee}});var He=We(96663),gt=We(59301),oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},Ze=oe,Ne=We(7657),ge=function(ye,De){return gt.createElement(Ne.Z,(0,He.Z)({},ye,{ref:De,icon:Ze}))},ce=gt.forwardRef(ge),Ee=ce},26227:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return Ee}});var He=We(96663),gt=We(59301),oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},Ze=oe,Ne=We(7657),ge=function(ye,De){return gt.createElement(Ne.Z,(0,He.Z)({},ye,{ref:De,icon:Ze}))},ce=gt.forwardRef(ge),Ee=ce},49198:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return Ee}});var He=We(96663),gt=We(59301),oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},Ze=oe,Ne=We(7657),ge=function(ye,De){return gt.createElement(Ne.Z,(0,He.Z)({},ye,{ref:De,icon:Ze}))},ce=gt.forwardRef(ge),Ee=ce},41464:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return Ee}});var He=We(96663),gt=We(59301),oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 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:"download",theme:"outlined"},Ze=oe,Ne=We(7657),ge=function(ye,De){return gt.createElement(Ne.Z,(0,He.Z)({},ye,{ref:De,icon:Ze}))},ce=gt.forwardRef(ge),Ee=ce},87169:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return Ee}});var He=We(96663),gt=We(59301),oe={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"},Ze=oe,Ne=We(7657),ge=function(ye,De){return gt.createElement(Ne.Z,(0,He.Z)({},ye,{ref:De,icon:Ze}))},ce=gt.forwardRef(ge),Ee=ce},73331:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return Ee}});var He=We(96663),gt=We(59301),oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},Ze=oe,Ne=We(7657),ge=function(ye,De){return gt.createElement(Ne.Z,(0,He.Z)({},ye,{ref:De,icon:Ze}))},ce=gt.forwardRef(ge),Ee=ce},15277:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return Ee}});var He=We(96663),gt=We(59301),oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},Ze=oe,Ne=We(7657),ge=function(ye,De){return gt.createElement(Ne.Z,(0,He.Z)({},ye,{ref:De,icon:Ze}))},ce=gt.forwardRef(ge),Ee=ce},52671:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return Ee}});var He=We(96663),gt=We(59301),oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Ze=oe,Ne=We(7657),ge=function(ye,De){return gt.createElement(Ne.Z,(0,He.Z)({},ye,{ref:De,icon:Ze}))},ce=gt.forwardRef(ge),Ee=ce},8657:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return Ee}});var He=We(96663),gt=We(59301),oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Ze=oe,Ne=We(7657),ge=function(ye,De){return gt.createElement(Ne.Z,(0,He.Z)({},ye,{ref:De,icon:Ze}))},ce=gt.forwardRef(ge),Ee=ce},56082:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return Ee}});var He=We(96663),gt=We(59301),oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Ze=oe,Ne=We(7657),ge=function(ye,De){return gt.createElement(Ne.Z,(0,He.Z)({},ye,{ref:De,icon:Ze}))},ce=gt.forwardRef(ge),Ee=ce},61481:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return Ee}});var He=We(96663),gt=We(59301),oe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},Ze=oe,Ne=We(7657),ge=function(ye,De){return gt.createElement(Ne.Z,(0,He.Z)({},ye,{ref:De,icon:Ze}))},ce=gt.forwardRef(ge),Ee=ce},33853:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return Ee}});var He=We(96663),gt=We(59301),oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Ze=oe,Ne=We(7657),ge=function(ye,De){return gt.createElement(Ne.Z,(0,He.Z)({},ye,{ref:De,icon:Ze}))},ce=gt.forwardRef(ge),Ee=ce},15075:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return Ee}});var He=We(96663),gt=We(59301),oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},Ze=oe,Ne=We(7657),ge=function(ye,De){return gt.createElement(Ne.Z,(0,He.Z)({},ye,{ref:De,icon:Ze}))},ce=gt.forwardRef(ge),Ee=ce},43531:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return Ee}});var He=We(96663),gt=We(59301),oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},Ze=oe,Ne=We(7657),ge=function(ye,De){return gt.createElement(Ne.Z,(0,He.Z)({},ye,{ref:De,icon:Ze}))},ce=gt.forwardRef(ge),Ee=ce},61485:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return Ee}});var He=We(96663),gt=We(59301),oe={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:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},Ze=oe,Ne=We(7657),ge=function(ye,De){return gt.createElement(Ne.Z,(0,He.Z)({},ye,{ref:De,icon:Ze}))},ce=gt.forwardRef(ge),Ee=ce},38819:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return Ee}});var He=We(96663),gt=We(59301),oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Ze=oe,Ne=We(7657),ge=function(ye,De){return gt.createElement(Ne.Z,(0,He.Z)({},ye,{ref:De,icon:Ze}))},ce=gt.forwardRef(ge),Ee=ce},47472:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return Ee}});var He=We(96663),gt=We(59301),oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},Ze=oe,Ne=We(7657),ge=function(ye,De){return gt.createElement(Ne.Z,(0,He.Z)({},ye,{ref:De,icon:Ze}))},ce=gt.forwardRef(ge),Ee=ce},37036:function(){"use strict"},95625:function(){"use strict"},88010:function(Nn,fn){"use strict";fn.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},56615:function(Nn,fn){"use strict";fn.Z={modal:"modal___A9Ovz",colorBlue:"colorBlue___XSmR5",formWrap:"formWrap___wRvaA",flexRow:"flexRow___C40dc",flexColumn:"flexColumn___LkZfj",example:"example___bz7Hw",exampleImg:"exampleImg___gNkC_",colorOrange:"colorOrange___Ka6zf",uploader:"uploader___plQRr",uploadImg:"uploadImg___cjOpL",imageTip:"imageTip___p1_lZ",uploadTipIcon:"uploadTipIcon___SpsS2",uploadTip:"uploadTip___e9JlL",color05101a:"color05101a___CDEUv",viewLargerImg:"viewLargerImg___IclRX",footerWrap:"footerWrap___beWC6",note:"note___CXi9y",schoolHintWrap:"schoolHintWrap___Ma6ly",colorCDCDCD:"colorCDCDCD___D0UWo",color0152d9:"color0152d9___hF3Bb"}},93678:function(Nn,fn){"use strict";fn.Z={flex_box_center:"flex_box_center___fo_3c",flex_space_between:"flex_space_between___G46CO",flex_box_vertical_center:"flex_box_vertical_center___br3Kr",flex_box_center_end:"flex_box_center_end___Xdo94",flex_box_column:"flex_box_column___Bcnmr",wrp:"wrp___TY7QJ",bg:"bg___xiaSy",commonimg:"commonimg___a4R0Q",titlesize:"titlesize___Wdd_a",timesize:"timesize___OkfYO",flex1:"flex1___N6paY",buttonsize:"buttonsize___syL9V",myteam:"myteam___RTWAt",bootmdetail:"bootmdetail___taUGk",menuItem:"menuItem___Kww4S",flex6:"flex6___RuzJ4",spanprev:"spanprev___Cssg_",spannext:"spannext___jVFGE",divwidth:"divwidth___r5hE3",receiveclick:"receiveclick___BauOs",receivealready:"receivealready___Z7Wo0",bkfff:"bkfff___lHrcJ","ant-input":"ant-input___m4bn_",onediv:"onediv___xzZRa",onetop:"onetop___M4GfM",towdiv:"towdiv___yj3ds",towtop:"towtop___veKa4",threediv:"threediv___Ztz0D",threetop:"threetop___zDXIg",imgradius:"imgradius___r4uGN",prize:"prize___YNRD4",spanrightradius:"spanrightradius___tC6T5",bottomItem:"bottomItem___CHcMJ",myTeam:"myTeam___fm7KX",downloadpdf:"downloadpdf___a2NuA",pdfBut:"pdfBut___Drr6h",PerfectBut:"PerfectBut___wEhjV",PerfectCent:"PerfectCent___HD3Id",PerfectCentName:"PerfectCentName___smdJX",teamItem:"teamItem___mx2f3",dash:"dash___l6QH1",modal:"modal___yXh2H",maskText:"maskText___Tdh6h",box:"box___K2uQ4",open_style:"open_style___gLTB9",title_style:"title_style___j6zvN",colorhove:"colorhove___FKtzO"}},74413:function(){"use strict";function Nn(fe,z,ee,ae){ee===void 0&&(ee=0),ae===void 0&&(ae=1/0),this._name=fe,this._defaultValue=z,this._minimum=ee,this._maximum=ae}Object.defineProperty(Nn.prototype,"name",{get:function(){return this._name},set:function(fe){if(typeof fe!="string"||fe==="")throw new Error("Shape name must be a valid string.");this._name=fe}}),Object.defineProperty(Nn.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(fe){if(typeof fe!="number"||isNaN(fe))throw new Error("The default value must be a real number, not: "+fe);this._defaultValue=fe}}),Object.defineProperty(Nn.prototype,"minimum",{get:function(){return this._minimum},set:function(fe){if(typeof fe!="number"||isNaN(fe))throw new Error("Minimum must be a real number, not: "+fe);this._minimum=fe}}),Object.defineProperty(Nn.prototype,"maximum",{get:function(){return this._maximum},set:function(fe){if(typeof fe!="number"||isNaN(fe))throw new Error("Maximum must be a real number, not: "+fe);this._maximum=fe}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(fe,z){var ee=go.Shape._FigureParameters[fe];return ee?ee[z]:null},go.Shape.setFigureParameter=function(fe,z,ee){if(!(ee instanceof Nn))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+ee);if(ee.defaultValueee.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+ee.defaultValue);var ae=go.Shape._FigureParameters[fe];ae||(ae=[],go.Shape._FigureParameters[fe]=ae),ae[z]=ee};var fn=[];function We(fe,z){var ee=fn.pop();return ee===void 0?new go.Point(fe,z):(ee.x=fe,ee.y=z,ee)}function He(){var fe=fn.pop();return fe===void 0?new go.Point:fe}function gt(fe){fn.push(fe)}function oe(fe,z,ee,ae,re,le,ue,pe,Pe){Pe||(Pe=new go.Point);var be=fe-ee,Ie=re-ue,Me=NaN,Oe=NaN;if(be===0)if(Ie===0)fe===ee&&(Me=fe,Oe=z);else{var Te=(le-pe)/Ie,je=le-Te*re;Me=fe,Oe=Te*Me+je}else if(Ie===0){var ze=(z-ae)/be,$e=z-ze*fe;Me=re,Oe=ze*Me+$e}else{var ze=(z-ae)/be,Te=(le-pe)/Ie,$e=z-ze*fe,je=le-Te*re;Me=(je-$e)/(ze-Te),Oe=ze*Me+$e}return Pe.x=Me,Pe.y=Oe,Pe}function Ze(fe,z,ee,ae,re,le,ue,pe,Pe,be,Ie,Me,Oe,Te){var je=1-Pe,ze=Pe,$e=fe*je+ee*ze,Ue=z*je+ae*ze,qe=ee*je+re*ze,et=ae*je+le*ze,lt=re*je+ue*ze,ut=le*je+pe*ze,vt=$e*je+qe*ze,tt=Ue*je+et*ze,at=qe*je+lt*ze,dt=et*je+ut*ze,St=vt*je+at*ze,xt=tt*je+dt*ze;be.x=$e,be.y=Ue,Ie.x=vt,Ie.y=tt,Me.x=St,Me.y=xt,Oe.x=at,Oe.y=dt,Te.x=lt,Te.y=ut}var Ne=new go.Spot(.156,.156),ge=new go.Spot(.844,.844),ce=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Nn("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;(isNaN(ae)||ae<0)&&(ae=5),ae=Math.min(ae,z/3),ae=Math.min(ae,ee/3);var re=ae*ce,le=new go.Geometry().add(new go.PathFigure(ae,0,!0).add(new go.PathSegment(go.PathSegment.Line,z-ae,0)).add(new go.PathSegment(go.PathSegment.Bezier,z,ae,z-re,0,z,re)).add(new go.PathSegment(go.PathSegment.Line,z,ee-ae)).add(new go.PathSegment(go.PathSegment.Bezier,z-ae,ee,z,ee-re,z-re,ee)).add(new go.PathSegment(go.PathSegment.Line,ae,ee)).add(new go.PathSegment(go.PathSegment.Bezier,0,ee-ae,re,ee,0,ee-re)).add(new go.PathSegment(go.PathSegment.Line,0,ae)).add(new go.PathSegment(go.PathSegment.Bezier,ae,0,0,re,re,0).close()));return re>1&&(le.spot1=new go.Spot(0,0,re,re),le.spot2=new go.Spot(1,1,-re,-re)),le}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,z,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,0,ee).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,z,0)).add(new go.PathSegment(go.PathSegment.Line,.5*z,ee).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(z,ee).add(new go.PathSegment(go.PathSegment.Line,0,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,z,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(z,ee).add(new go.PathSegment(go.PathSegment.Line,0,ee)).add(new go.PathSegment(go.PathSegment.Line,.5*z,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(.5*z,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,.5*z,ee)).add(new go.PathSegment(go.PathSegment.Line,z,.5*ee).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(fe,z,ee){var ae=new go.Geometry(go.Geometry.Line);return ae.startX=0,ae.startY=ee/2,ae.endX=z,ae.endY=ee/2,ae}),go.Shape.defineFigureGenerator("LineV",function(fe,z,ee){var ae=new go.Geometry(go.Geometry.Line);return ae.startX=z/2,ae.startY=0,ae.endX=z/2,ae.endY=ee,ae}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(0,ee/2,!1).add(new go.PathSegment(go.PathSegment.Line,z,ee/2)).add(new go.PathSegment(go.PathSegment.Move,z/2,0)).add(new go.PathSegment(go.PathSegment.Line,z/2,ee)))}),go.Shape.defineFigureGenerator("XLine",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(0,ee,!1).add(new go.PathSegment(go.PathSegment.Line,z,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,z,ee)))}),go.Shape.defineFigureGenerator("LineRight",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(.25*z,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*z,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,.25*z,ee)))}),go.Shape.defineFigureGenerator("LineDown",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(0,.25*ee,!1).add(new go.PathSegment(go.PathSegment.Line,.5*z,.75*ee)).add(new go.PathSegment(go.PathSegment.Line,z,.25*ee)))}),go.Shape.defineFigureGenerator("LineLeft",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(.75*z,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*z,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,.75*z,ee)))}),go.Shape.defineFigureGenerator("LineUp",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(0,.75*ee,!1).add(new go.PathSegment(go.PathSegment.Line,.5*z,.25*ee)).add(new go.PathSegment(go.PathSegment.Line,z,.75*ee)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(fe,z,ee){var ae=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(ae*z,(1-ae)*ee,!1).add(new go.PathSegment(go.PathSegment.Line,(1-ae)*z,ae*ee)).add(new go.PathSegment(go.PathSegment.Move,ae*z,ae*ee)).add(new go.PathSegment(go.PathSegment.Line,(1-ae)*z,(1-ae)*ee)).add(new go.PathSegment(go.PathSegment.Move,0,ee/2)).add(new go.PathSegment(go.PathSegment.Line,z,ee/2)).add(new go.PathSegment(go.PathSegment.Move,z/2,0)).add(new go.PathSegment(go.PathSegment.Line,z/2,ee)))}),go.Shape.defineFigureGenerator("CircleLine",function(fe,z,ee){var ae=z/2,re=new go.Geometry().add(new go.PathFigure(z,z/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,ae,ae,ae,ae).close()));return re.spot1=Ne,re.spot2=ge,re.defaultStretch=go.GraphObject.Uniform,re}),go.Shape.defineFigureGenerator("Line1",function(fe,z,ee){var ae=new go.Geometry(go.Geometry.Line);return ae.startX=0,ae.startY=0,ae.endX=z,ae.endY=ee,ae}),go.Shape.defineFigureGenerator("Line2",function(fe,z,ee){var ae=new go.Geometry(go.Geometry.Line);return ae.startX=z,ae.startY=0,ae.endX=0,ae.endY=ee,ae}),go.Shape.defineFigureGenerator("Curve1",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,z,ee,ce*z,0,z,(1-ce)*ee)))}),go.Shape.defineFigureGenerator("Curve2",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,z,ee,0,ce*ee,(1-ce)*z,ee)))}),go.Shape.defineFigureGenerator("Curve3",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(z,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,ee,z,ce*ee,ce*z,ee)))}),go.Shape.defineFigureGenerator("Curve4",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(z,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,ee,(1-ce)*z,0,0,(1-ce)*ee)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,z,ee)).add(new go.PathSegment(go.PathSegment.Line,0,ee).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(z,0,!0).add(new go.PathSegment(go.PathSegment.Line,z,ee)).add(new go.PathSegment(go.PathSegment.Line,0,ee).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,z,0)).add(new go.PathSegment(go.PathSegment.Line,0,ee).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,z,0)).add(new go.PathSegment(go.PathSegment.Line,z,ee).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new Nn("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;isNaN(ae)?ae=.1:ae<-1?ae=-1:ae>1&&(ae=1);var re=Math.abs(ae)*z;if(ae===0){var le=new go.Geometry(go.Geometry.Rectangle);return le.startX=0,le.startY=0,le.endX=z,le.endY=ee,le}else{var le=new go.Geometry;return ae>0?le.add(new go.PathFigure(re,0).add(new go.PathSegment(go.PathSegment.Line,z,0)).add(new go.PathSegment(go.PathSegment.Line,z-re,ee)).add(new go.PathSegment(go.PathSegment.Line,0,ee).close())):le.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,z-re,0)).add(new go.PathSegment(go.PathSegment.Line,z,ee)).add(new go.PathSegment(go.PathSegment.Line,re,ee).close())),rez&&(ae=z);var re=Math.abs(ae);if(ae===0){var le=new go.Geometry(go.Geometry.Rectangle);return le.startX=0,le.startY=0,le.endX=z,le.endY=ee,le}else{var le=new go.Geometry;return ae>0?le.add(new go.PathFigure(re,0).add(new go.PathSegment(go.PathSegment.Line,z,0)).add(new go.PathSegment(go.PathSegment.Line,z-re,ee)).add(new go.PathSegment(go.PathSegment.Line,0,ee).close())):le.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,z-re,0)).add(new go.PathSegment(go.PathSegment.Line,z,ee)).add(new go.PathSegment(go.PathSegment.Line,re,ee).close())),re.5&&(ae=.5);var re=Math.abs(ae)*z;if(ae===0){var le=new go.Geometry(go.Geometry.Rectangle);return le.startX=0,le.startY=0,le.endX=z,le.endY=ee,le}else{var le=new go.Geometry;return ae>0?le.add(new go.PathFigure(re,0).add(new go.PathSegment(go.PathSegment.Line,z-re,0)).add(new go.PathSegment(go.PathSegment.Line,z,ee)).add(new go.PathSegment(go.PathSegment.Line,0,ee).close())):le.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,z,0)).add(new go.PathSegment(go.PathSegment.Line,z-re,ee)).add(new go.PathSegment(go.PathSegment.Line,re,ee).close())),rez&&(ae=z/2);var re=Math.abs(ae);if(ae===0){var le=new go.Geometry(go.Geometry.Rectangle);return le.startX=0,le.startY=0,le.endX=z,le.endY=ee,le}else{var le=new go.Geometry;return ae>0?le.add(new go.PathFigure(re,0).add(new go.PathSegment(go.PathSegment.Line,z-re,0)).add(new go.PathSegment(go.PathSegment.Line,z,ee)).add(new go.PathSegment(go.PathSegment.Line,0,ee).close())):le.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,z,0)).add(new go.PathSegment(go.PathSegment.Line,z-re,ee)).add(new go.PathSegment(go.PathSegment.Line,re,ee).close())),rez&&(ae=z/2);var re=Math.abs(ae);if(ae===0){var le=new go.Geometry(go.Geometry.Rectangle);return le.startX=0,le.startY=0,le.endX=z,le.endY=ee,le}else{var le=new go.Geometry;return ae>0?le.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,z,0)).add(new go.PathSegment(go.PathSegment.Line,z-re,ee)).add(new go.PathSegment(go.PathSegment.Line,re,ee).close())):le.add(new go.PathFigure(re,0).add(new go.PathSegment(go.PathSegment.Line,z-re,0)).add(new go.PathSegment(go.PathSegment.Line,z,ee)).add(new go.PathSegment(go.PathSegment.Line,0,ee).close())),re0&&(ue.add(new go.PathSegment(go.PathSegment.Move,z/2+pe,z/2)),ue.add(new go.PathSegment(go.PathSegment.Arc,0,-360,re,re,pe,pe).close())),le.spot1=Ne,le.spot2=ge,le.defaultStretch=go.GraphObject.Uniform,le}),go.Shape.defineFigureGenerator("Cloud",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(.08034461*z,.1944299*ee,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*z,.05349299*ee,-.09239631*z,.07836421*ee,.1406031*z,-.0542823*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*z,.074219*ee,.2450511*z,-.00697547*ee,.3776197*z,-.01112067*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*z,.07004196*ee,.4539471*z,0,.6066018*z,-.02526587*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*z,.08370865*ee,.6914277*z,-.01904177*ee,.8921095*z,-.01220843*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*z,.3194596*ee,1.036446*z,.04105738*ee,1.020377*z,.3022052*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*z,.562044*ee,1.04448*z,.360238*ee,.992256*z,.5219009*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*z,.8217117*ee,1.032337*z,.5771781*ee,1.018411*z,.8120651*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*z,.9156953*ee,1.028411*z,.9571472*ee,.8556702*z,1.052487*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*z,.9310455*ee,.7431877*z,1.009325*ee,.5624123*z,1.021761*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*z,.9344623*ee,.4820677*z,1.031761*ee,.3030112*z,1.002796*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*z,.870098*ee,.2329994*z,1.01518*ee,.03213784*z,1.01518*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*z,.6545475*ee,-.02812061*z,.9032597*ee,-.01205169*z,.6835638*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*z,.4265613*ee,-.01812061*z,.6089503*ee,-.00606892*z,.4555777*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*z,.1944299*ee,-.01606892*z,.3892545*ee,-.01205169*z,.1944299*ee))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(fe,z,ee){var ae=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(ae*z,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-ae)*z,0)).add(new go.PathSegment(go.PathSegment.Line,z,ae*ee)).add(new go.PathSegment(go.PathSegment.Line,z,(1-ae)*ee)).add(new go.PathSegment(go.PathSegment.Line,(1-ae)*z,ee)).add(new go.PathSegment(go.PathSegment.Line,ae*z,ee)).add(new go.PathSegment(go.PathSegment.Line,0,(1-ae)*ee)).add(new go.PathSegment(go.PathSegment.Line,0,ae*ee).close())).setSpots(ae/2,ae/2,1-ae/2,1-ae/2)}),go.Shape.setFigureParameter("Pie",0,new Nn("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Nn("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(fe,z,ee){var ae=fe?fe.parameter1:NaN,re=fe?fe.parameter2:NaN;isNaN(ae)&&(ae=0),isNaN(re)&&(re=315);var le=ae%360;le<0&&(le+=360);var ue=re%360,pe=Math.min(z,ee)/2;return new go.Geometry().add(new go.PathFigure(pe,pe).add(new go.PathSegment(go.PathSegment.Arc,le,ue,pe,pe,pe,pe).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(fe,z,ee){var ae=ce/Math.SQRT2*.5,re=Math.SQRT2/2,le=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(z,ee,!0).add(new go.PathSegment(go.PathSegment.Bezier,re*z,le*ee,z,(1-ae)*ee,(re+ae)*z,(le+ae)*ee)).add(new go.PathSegment(go.PathSegment.Line,0,ee).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Nn("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;(isNaN(ae)||ae<0)&&(ae=30);var re=Math.min(ae,z)/2,le=z/2,ue=ee/2;return new go.Geometry().add(new go.PathFigure(le-re,0,!0).add(new go.PathSegment(go.PathSegment.Line,le+re,0)).add(new go.PathSegment(go.PathSegment.Line,le+re,ue-re)).add(new go.PathSegment(go.PathSegment.Line,z,ue-re)).add(new go.PathSegment(go.PathSegment.Line,z,ue+re)).add(new go.PathSegment(go.PathSegment.Line,le+re,ue+re)).add(new go.PathSegment(go.PathSegment.Line,le+re,ee)).add(new go.PathSegment(go.PathSegment.Line,le-re,ee)).add(new go.PathSegment(go.PathSegment.Line,le-re,ue+re)).add(new go.PathSegment(go.PathSegment.Line,0,ue+re)).add(new go.PathSegment(go.PathSegment.Line,0,ue-re)).add(new go.PathSegment(go.PathSegment.Line,le-re,ue-re).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Nn("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;(isNaN(ae)||ae<0)&&(ae=10);var re=Math.min(ae,z)/2,le=z/2,ue=ee/2;return new go.Geometry().add(new go.PathFigure(le-re,0,!0).add(new go.PathSegment(go.PathSegment.Line,le+re,0)).add(new go.PathSegment(go.PathSegment.Line,le+re,ue-re)).add(new go.PathSegment(go.PathSegment.Line,z,ue-re)).add(new go.PathSegment(go.PathSegment.Line,z,ue+re)).add(new go.PathSegment(go.PathSegment.Line,le+re,ue+re)).add(new go.PathSegment(go.PathSegment.Line,le+re,ee)).add(new go.PathSegment(go.PathSegment.Line,le-re,ee)).add(new go.PathSegment(go.PathSegment.Line,le-re,ue+re)).add(new go.PathSegment(go.PathSegment.Line,0,ue+re)).add(new go.PathSegment(go.PathSegment.Line,0,ue-re)).add(new go.PathSegment(go.PathSegment.Line,le-re,ue-re).close()))}),go.Shape.setFigureParameter("ThickX",0,new Nn("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;if((isNaN(ae)||ae<0)&&(ae=30),z===0||ee===0){var re=new go.Geometry(go.Geometry.Rectangle);return re.startX=0,re.startY=0,re.endX=z,re.endY=ee,re}else{var le=z/2,ue=ee/2,pe=Math.atan2(ee,z),Pe=ae-Math.min(Math.cos(pe)*ae/2,le),be=ae-Math.min(Math.sin(pe)*ae/2,ue),re=new go.Geometry,Ie=new go.PathFigure(Pe,0,!0);return re.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Line,le,.2*ee)),Ie.add(new go.PathSegment(go.PathSegment.Line,z-Pe,0)),Ie.add(new go.PathSegment(go.PathSegment.Line,z,be)),Ie.add(new go.PathSegment(go.PathSegment.Line,.8*z,ue)),Ie.add(new go.PathSegment(go.PathSegment.Line,z,ee-be)),Ie.add(new go.PathSegment(go.PathSegment.Line,z-Pe,ee)),Ie.add(new go.PathSegment(go.PathSegment.Line,le,.8*ee)),Ie.add(new go.PathSegment(go.PathSegment.Line,Pe,ee)),Ie.add(new go.PathSegment(go.PathSegment.Line,0,ee-be)),Ie.add(new go.PathSegment(go.PathSegment.Line,.2*z,ue)),Ie.add(new go.PathSegment(go.PathSegment.Line,0,be).close()),re}}),go.Shape.setFigureParameter("ThinX",0,new Nn("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;(isNaN(ae)||ae<0)&&(ae=10);var re=new go.Geometry,le=new go.PathFigure(.1*z,0,!0);return re.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.5*z,.4*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.9*z,0)),le.add(new go.PathSegment(go.PathSegment.Line,z,.1*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.6*z,.5*ee)),le.add(new go.PathSegment(go.PathSegment.Line,z,.9*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.9*z,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.5*z,.6*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.1*z,ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,.9*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.4*z,.5*ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,.1*ee).close()),re}),go.Shape.setFigureParameter("SquareIBeam",0,new Nn("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;isNaN(ae)&&(ae=.2);var re=new go.Geometry,le=new go.PathFigure(0,0,!0);return re.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z,0)),le.add(new go.PathSegment(go.PathSegment.Line,z,ae*ee)),le.add(new go.PathSegment(go.PathSegment.Line,(.5+ae/2)*z,ae*ee)),le.add(new go.PathSegment(go.PathSegment.Line,(.5+ae/2)*z,(1-ae)*ee)),le.add(new go.PathSegment(go.PathSegment.Line,z,(1-ae)*ee)),le.add(new go.PathSegment(go.PathSegment.Line,z,ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,(1-ae)*ee)),le.add(new go.PathSegment(go.PathSegment.Line,(.5-ae/2)*z,(1-ae)*ee)),le.add(new go.PathSegment(go.PathSegment.Line,(.5-ae/2)*z,ae*ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,ae*ee).close()),re}),go.Shape.setFigureParameter("RoundedIBeam",0,new Nn("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;isNaN(ae)&&(ae=.5);var re=new go.Geometry,le=new go.PathFigure(0,0,!0);return re.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,z,ee,Math.abs(1-ae)*z,.25*ee,Math.abs(1-ae)*z,.75*ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,ee)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,0,ae*z,.75*ee,ae*z,.25*ee).close()),re}),go.Shape.defineFigureGenerator("HalfEllipse",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,z,.5*ee,ce*z,0,z,(.5-ce/2)*ee)).add(new go.PathSegment(go.PathSegment.Bezier,0,ee,z,(.5+ce/2)*ee,ce*z,ee).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,ee,z,0,z,ee)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*z,.75*ee,.5*z,.25*ee).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(.5*z,ee,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*ee,.1*z,.8*ee,0,.5*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.5*z,.3*ee,0,0,.45*z,0)).add(new go.PathSegment(go.PathSegment.Bezier,z,.3*ee,.55*z,0,z,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*z,ee,z,.5*ee,.9*z,.8*ee).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(.5*z,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*z,.01*ee)).add(new go.PathSegment(go.PathSegment.Bezier,z,.5*ee,.6*z,.2*ee,z,.25*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.55*z,.7*ee,z,.8*ee,.6*z,.8*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.75*z,ee,.5*z,.75*ee,.55*z,.95*ee)).add(new go.PathSegment(go.PathSegment.Line,.25*z,ee)).add(new go.PathSegment(go.PathSegment.Bezier,.45*z,.7*ee,.45*z,.95*ee,.5*z,.75*ee)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ee,.4*z,.8*ee,0,.8*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.49*z,.01*ee,0,.25*ee,.4*z,.2*ee).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(.4*z,.6*ee,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.15*z,ee,.5*z,.75*ee,.45*z,.95*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.85*z,ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.6*z,.6*ee,.55*z,.95*ee,.5*z,.75*ee));var le=.2,ue=.3,pe=0,Pe=le*ce;return re.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ue)*z,(.5+le+pe)*ee,(.5-le+ue)*z,(.5+Pe+pe)*ee,(.5-Pe+ue)*z,(.5+le+pe)*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+le+ue)*z,(.5+pe)*ee,(.5+Pe+ue)*z,(.5+le+pe)*ee,(.5+le+ue)*z,(.5+Pe+pe)*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ue)*z,(.5-le+pe)*ee,(1-.5+le+ue)*z,(.5-Pe+pe)*ee,(.5+Pe+ue)*z,(.5-le+pe)*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.65*z,.36771243*ee,(.5-Pe+ue)*z,(.5-le+pe)*ee,(.5-le+ue+.05)*z,(.5-Pe+pe-.02)*ee)),le=.2,ue=0,pe=-.3,Pe=le*ce,re.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+le+ue)*z,(.5+pe)*ee,(.5+Pe+ue)*z,(.5+le+pe)*ee,(.5+le+ue)*z,(.5+Pe+pe)*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ue)*z,(.5-le+pe)*ee,(1-.5+le+ue)*z,(.5-Pe+pe)*ee,(.5+Pe+ue)*z,(.5-le+pe)*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,(.5-le+ue)*z,(.5+pe)*ee,(.5-Pe+ue)*z,(.5-le+pe)*ee,(.5-le+ue)*z,(.5-Pe+pe)*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,(.5-Pe+ue)*z,(.5+le+pe)*ee,(.5-le+ue)*z,(.5+Pe+pe)*ee,(.5-Pe+ue)*z,(.5+le+pe)*ee)),le=.2,ue=-.3,pe=0,Pe=le*ce,re.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ue)*z,(.5-le+pe)*ee,(1-.5+le+ue-.05)*z,(.5-Pe+pe-.02)*ee,(.5+Pe+ue)*z,(.5-le+pe)*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,(.5-le+ue)*z,(.5+pe)*ee,(.5-Pe+ue)*z,(.5-le+pe)*ee,(.5-le+ue)*z,(.5-Pe+pe)*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ue)*z,(.5+le+pe)*ee,(.5-le+ue)*z,(.5+Pe+pe)*ee,(.5-Pe+ue)*z,(.5+le+pe)*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.4*z,.6*ee,(.5+Pe+ue)*z,(.5+le+pe)*ee,(.5+le+ue)*z,(.5+Pe+pe)*ee).close()),ae.setSpots(.06,.33,.93,.68),ae}),go.Shape.defineFigureGenerator("YinYang",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(z*.5,0,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Arc,270,180,z*.5,z*.5,z*.5,z*.5)),re.add(new go.PathSegment(go.PathSegment.Arc,90,-180,z*.5,z*.75,z*.25,z*.25)),re.add(new go.PathSegment(go.PathSegment.Arc,90,180,z*.5,z*.25,z*.25,z*.25));var le=.1,ue=.5,pe=.25;return re.add(new go.PathSegment(go.PathSegment.Move,(ue+le)*z,pe*ee)),re.add(new go.PathSegment(go.PathSegment.Arc,0,-360,z*ue,ee*pe,le*z,le*z).close()),re=new go.PathFigure(z*.5,0,!1),ae.add(re),re.add(new go.PathSegment(go.PathSegment.Arc,270,-180,z*.5,z*.5,z*.5,z*.5)),pe=.75,re=new go.PathFigure((ue+le)*z,pe*ee,!0),ae.add(re),re.add(new go.PathSegment(go.PathSegment.Arc,0,360,z*ue,ee*pe,le*z,le*z).close()),ae.defaultStretch=go.GraphObject.Uniform,ae}),go.Shape.defineFigureGenerator("Peace",function(fe,z,ee){var ae=.8535533905932737,re=.5*z,le=.5*ee;return new go.Geometry().add(new go.PathFigure(re,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,re,le,re,le)).add(new go.PathSegment(go.PathSegment.Line,re,ee)).add(new go.PathSegment(go.PathSegment.Move,re,le)).add(new go.PathSegment(go.PathSegment.Line,(1-ae)*z,ae*ee)).add(new go.PathSegment(go.PathSegment.Move,re,le)).add(new go.PathSegment(go.PathSegment.Line,ae*z,ae*ee)))}),go.Shape.defineFigureGenerator("NotAllowed",function(fe,z,ee){var ae=new go.Geometry,re=ce*.5,le=.5,ue=.5,pe=.5,Pe=new go.PathFigure(ue*z,(pe-le)*ee);ae.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue-le)*z,pe*ee,(ue-re)*z,(pe-le)*ee,(ue-le)*z,(pe-re)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ue*z,(pe+le)*ee,(ue-le)*z,(pe+re)*ee,(ue-re)*z,(pe+le)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+le)*z,pe*ee,(ue+re)*z,(pe+le)*ee,(ue+le)*z,(pe+re)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ue*z,(pe-le)*ee,(ue+le)*z,(pe-re)*ee,(ue+re)*z,(pe-le)*ee)),le=.4,re=ce*.4;var be=He(),Ie=He(),Me=He(),Oe=He();Ze(ue,pe-le,ue+re,pe-le,ue+le,pe-re,ue+le,pe,.42,be,Ie,Me,Oe,Oe);var Te=He(),je=He(),ze=He();Ze(ue,pe-le,ue+re,pe-le,ue+le,pe-re,ue+le,pe,.58,Oe,Oe,ze,Te,je);var $e=He(),Ue=He(),qe=He();Ze(ue,pe+le,ue-re,pe+le,ue-le,pe+re,ue-le,pe,.42,$e,Ue,qe,Oe,Oe);var et=He(),lt=He(),ut=He();return Ze(ue,pe+le,ue-re,pe+le,ue-le,pe+re,ue-le,pe,.58,Oe,Oe,ut,et,lt),Pe.add(new go.PathSegment(go.PathSegment.Move,ut.x*z,ut.y*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue-le)*z,pe*ee,et.x*z,et.y*ee,lt.x*z,lt.y*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ue*z,(pe-le)*ee,(ue-le)*z,(pe-re)*ee,(ue-re)*z,(pe-le)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,Me.x*z,Me.y*ee,be.x*z,be.y*ee,Ie.x*z,Ie.y*ee)),Pe.add(new go.PathSegment(go.PathSegment.Line,ut.x*z,ut.y*ee).close()),Pe.add(new go.PathSegment(go.PathSegment.Move,qe.x*z,qe.y*ee)),Pe.add(new go.PathSegment(go.PathSegment.Line,ze.x*z,ze.y*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+le)*z,pe*ee,Te.x*z,Te.y*ee,je.x*z,je.y*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ue*z,(pe+le)*ee,(ue+le)*z,(pe+re)*ee,(ue+re)*z,(pe+le)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,qe.x*z,qe.y*ee,$e.x*z,$e.y*ee,Ue.x*z,Ue.y*ee).close()),gt(be),gt(Ie),gt(Me),gt(Oe),gt(Te),gt(je),gt(ze),gt($e),gt(Ue),gt(qe),gt(et),gt(lt),gt(ut),ae.defaultStretch=go.GraphObject.Uniform,ae}),go.Shape.defineFigureGenerator("Fragile",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*z,0)).add(new go.PathSegment(go.PathSegment.Line,.2*z,.15*ee)).add(new go.PathSegment(go.PathSegment.Line,.3*z,.25*ee)).add(new go.PathSegment(go.PathSegment.Line,.29*z,.33*ee)).add(new go.PathSegment(go.PathSegment.Line,.35*z,.25*ee)).add(new go.PathSegment(go.PathSegment.Line,.3*z,.15*ee)).add(new go.PathSegment(go.PathSegment.Line,.4*z,0)).add(new go.PathSegment(go.PathSegment.Line,z,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*z,.5*ee,z,.25*ee,.75*z,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,.55*z,.9*ee)).add(new go.PathSegment(go.PathSegment.Line,.7*z,.9*ee)).add(new go.PathSegment(go.PathSegment.Line,.7*z,ee)).add(new go.PathSegment(go.PathSegment.Line,.3*z,ee)).add(new go.PathSegment(go.PathSegment.Line,.3*z,.9*ee)).add(new go.PathSegment(go.PathSegment.Line,.45*z,.9*ee)).add(new go.PathSegment(go.PathSegment.Line,.45*z,.5*ee)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*z,.5*ee,0,.25*ee).close()))}),go.Shape.setFigureParameter("HourGlass",0,new Nn("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;(isNaN(ae)||ae<0)&&(ae=30),ae>z&&(ae=z);var re=(z-ae)/2,le=re+ae;return new go.Geometry().add(new go.PathFigure(le,.5*ee).add(new go.PathSegment(go.PathSegment.Line,z,ee)).add(new go.PathSegment(go.PathSegment.Line,0,ee)).add(new go.PathSegment(go.PathSegment.Line,re,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,z,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(0,.55*ee).add(new go.PathSegment(go.PathSegment.Line,.6*z,0)).add(new go.PathSegment(go.PathSegment.Line,.3*z,.45*ee)).add(new go.PathSegment(go.PathSegment.Line,z,.45*ee)).add(new go.PathSegment(go.PathSegment.Line,.4*z,ee)).add(new go.PathSegment(go.PathSegment.Line,.7*z,.55*ee).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(fe,z,ee){var ae=new go.Geometry,re=ce*.4,le=.4,ue=.5,pe=.5,Pe=He(),be=He(),Ie=He(),Me=He(),Oe=new go.PathFigure((ue-le)*z,pe*ee,!1);ae.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,ue*z,(pe-le)*ee,(ue-le)*z,(pe-re)*ee,(ue-re)*z,(pe-le)*ee)),Ze(ue,pe-le,ue+re,pe-le,ue+le,pe-re,ue+le,pe,.44,Ie,Me,be,Pe,Pe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,be.x*z,be.y*ee,Ie.x*z,Ie.y*ee,Me.x*z,Me.y*ee));var Te=We(be.x,be.y);Ze(ue,pe-le,ue+re,pe-le,ue+le,pe-re,ue+le,pe,.56,Pe,Pe,be,Ie,Me);var je=We(be.x,be.y);Oe.add(new go.PathSegment(go.PathSegment.Line,(Te.x*.1+.95*.9)*z,Te.y*.1*ee)),Oe.add(new go.PathSegment(go.PathSegment.Line,.85*z,Te.y*.1*ee)),Oe.add(new go.PathSegment(go.PathSegment.Line,.85*z,0)),Oe.add(new go.PathSegment(go.PathSegment.Line,z,0)),Oe.add(new go.PathSegment(go.PathSegment.Line,z,.15*ee)),Oe.add(new go.PathSegment(go.PathSegment.Line,(je.x*.1+.9)*z,.15*ee)),Oe.add(new go.PathSegment(go.PathSegment.Line,(je.x*.1+.9)*z,(je.y*.1+.05*.9)*ee)),Oe.add(new go.PathSegment(go.PathSegment.Line,je.x*z,je.y*ee)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+le)*z,pe*ee,Ie.x*z,Ie.y*ee,Me.x*z,Me.y*ee)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,ue*z,(pe+le)*ee,(ue+le)*z,(pe+re)*ee,(ue+re)*z,(pe+le)*ee)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(ue-le)*z,pe*ee,(ue-re)*z,(pe+le)*ee,(ue-le)*z,(pe+re)*ee)),le=.35,re=ce*.35;var ze=new go.PathFigure(ue*z,(pe-le)*ee,!1);ae.add(ze),ze.add(new go.PathSegment(go.PathSegment.Bezier,(ue-le)*z,pe*ee,(ue-re)*z,(pe-le)*ee,(ue-le)*z,(pe-re)*ee)),ze.add(new go.PathSegment(go.PathSegment.Bezier,ue*z,(pe+le)*ee,(ue-le)*z,(pe+re)*ee,(ue-re)*z,(pe+le)*ee)),ze.add(new go.PathSegment(go.PathSegment.Bezier,(ue+le)*z,pe*ee,(ue+re)*z,(pe+le)*ee,(ue+le)*z,(pe+re)*ee)),ze.add(new go.PathSegment(go.PathSegment.Bezier,ue*z,(pe-le)*ee,(ue+le)*z,(pe-re)*ee,(ue+re)*z,(pe-le)*ee));var $e=new go.PathFigure((ue-le)*z,pe*ee,!1);return ae.add($e),gt(Pe),gt(be),gt(Ie),gt(Me),gt(Te),gt(je),ae.spot1=new go.Spot(.202,.257),ae.spot2=new go.Spot(.792,.739),ae.defaultStretch=go.GraphObject.Uniform,ae}),go.Shape.defineFigureGenerator("GenderFemale",function(fe,z,ee){var ae=new go.Geometry,re=.375,le=0,ue=-.125,pe=re*ce,Pe=new go.PathFigure((.525+le)*z,(.5+re+ue)*ee,!1);ae.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+re+le)*z,(.5+ue)*ee,(.5+pe+le)*z,(.5+re+ue)*ee,(.5+re+le)*z,(.5+pe+ue)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+le)*z,(.5-re+ue)*ee,(1-.5+re+le)*z,(.5-pe+ue)*ee,(.5+pe+le)*z,(.5-re+ue)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-re+le)*z,(.5+ue)*ee,(.5-pe+le)*z,(.5-re+ue)*ee,(.5-re+le)*z,(.5-pe+ue)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.475+le)*z,(.5+re+ue)*ee,(.5-re+le)*z,(.5+pe+ue)*ee,(.5-pe+le)*z,(.5+re+ue)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Line,.475*z,.85*ee)),Pe.add(new go.PathSegment(go.PathSegment.Line,.425*z,.85*ee)),Pe.add(new go.PathSegment(go.PathSegment.Line,.425*z,.9*ee)),Pe.add(new go.PathSegment(go.PathSegment.Line,.475*z,.9*ee)),Pe.add(new go.PathSegment(go.PathSegment.Line,.475*z,ee)),Pe.add(new go.PathSegment(go.PathSegment.Line,.525*z,ee)),Pe.add(new go.PathSegment(go.PathSegment.Line,.525*z,.9*ee)),Pe.add(new go.PathSegment(go.PathSegment.Line,.575*z,.9*ee)),Pe.add(new go.PathSegment(go.PathSegment.Line,.575*z,.85*ee)),Pe.add(new go.PathSegment(go.PathSegment.Line,.525*z,.85*ee).close()),re=.325,le=0,ue=-.125,pe=re*ce;var Pe=new go.PathFigure((1-.5+re+le)*z,(.5+ue)*ee,!1);ae.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+le)*z,(.5+re+ue)*ee,(.5+re+le)*z,(.5+pe+ue)*ee,(.5+pe+le)*z,(.5+re+ue)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-re+le)*z,(.5+ue)*ee,(.5-pe+le)*z,(.5+re+ue)*ee,(.5-re+le)*z,(.5+pe+ue)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+le)*z,(.5-re+ue)*ee,(.5-re+le)*z,(.5-pe+ue)*ee,(.5-pe+le)*z,(.5-re+ue)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+re+le)*z,(.5+ue)*ee,(.5+pe+le)*z,(.5-re+ue)*ee,(1-.5+re+le)*z,(.5-pe+ue)*ee));var Pe=new go.PathFigure((.525+le)*z,(.5+re+ue)*ee,!1);return ae.add(Pe),ae.spot1=new go.Spot(.232,.136),ae.spot2=new go.Spot(.682,.611),ae.defaultStretch=go.GraphObject.Uniform,ae}),go.Shape.defineFigureGenerator("LogicImplies",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;return isNaN(ae)&&(ae=.2),new go.Geometry().add(new go.PathFigure((1-ae)*z,0,!1).add(new go.PathSegment(go.PathSegment.Line,z,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,(1-ae)*z,ee)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,z,.5*ee))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;return isNaN(ae)&&(ae=.2),new go.Geometry().add(new go.PathFigure((1-ae)*z,0,!1).add(new go.PathSegment(go.PathSegment.Line,z,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,(1-ae)*z,ee)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,z,.5*ee)).add(new go.PathSegment(go.PathSegment.Move,ae*z,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,ae*z,ee))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,z,0)).add(new go.PathSegment(go.PathSegment.Line,z,ee)))}),go.Shape.defineFigureGenerator("LogicAnd",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(0,ee,!1).add(new go.PathSegment(go.PathSegment.Line,.5*z,0)).add(new go.PathSegment(go.PathSegment.Line,z,ee))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*z,ee)).add(new go.PathSegment(go.PathSegment.Line,z,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(fe,z,ee){var ae=new go.Geometry().add(new go.PathFigure(.5*z,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*z,ee)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,z,.5*ee)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*z,.5*ee,.5*z,.5*ee)));return ae.defaultStretch=go.GraphObject.Uniform,ae}),go.Shape.defineFigureGenerator("LogicTruth",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,z,0)).add(new go.PathSegment(go.PathSegment.Move,.5*z,0)).add(new go.PathSegment(go.PathSegment.Line,.5*z,ee)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(0,ee,!1).add(new go.PathSegment(go.PathSegment.Line,z,ee)).add(new go.PathSegment(go.PathSegment.Move,.5*z,ee)).add(new go.PathSegment(go.PathSegment.Line,.5*z,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,z,0)).add(new go.PathSegment(go.PathSegment.Line,z,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,0,.5*ee)).add(new go.PathSegment(go.PathSegment.Move,z,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,z,ee)).add(new go.PathSegment(go.PathSegment.Line,0,ee)))}),go.Shape.defineFigureGenerator("LogicForAll",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*z,ee)).add(new go.PathSegment(go.PathSegment.Line,z,0)).add(new go.PathSegment(go.PathSegment.Move,.25*z,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,.75*z,.5*ee))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,z,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,z,.5*ee)).add(new go.PathSegment(go.PathSegment.Move,0,ee)).add(new go.PathSegment(go.PathSegment.Line,z,ee))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(fe,z,ee){var ae=.5;return new go.Geometry().add(new go.PathFigure(0,ee,!1).add(new go.PathSegment(go.PathSegment.Line,0,ae*ee)).add(new go.PathSegment(go.PathSegment.Arc,180,180,ae*z,ae*ee,ae*z,ae*ee)).add(new go.PathSegment(go.PathSegment.Line,z,ee))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(fe,z,ee){var ae=.5;return new go.Geometry().add(new go.PathFigure(z,0,!1).add(new go.PathSegment(go.PathSegment.Line,z,ae*ee)).add(new go.PathSegment(go.PathSegment.Arc,0,180,ae*z,ae*ee,ae*z,ae*ee)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new Nn("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Nn("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;isNaN(ae)&&(ae=.3);var re=fe?fe.parameter2:NaN;isNaN(re)&&(re=.3);var le=(1-ae)*z,ue=(.5-re/2)*ee,pe=(.5+re/2)*ee,Pe=new go.Geometry,be=new go.PathFigure(0,ue,!0);Pe.add(be),be.add(new go.PathSegment(go.PathSegment.Line,le,ue)),be.add(new go.PathSegment(go.PathSegment.Line,le,0)),be.add(new go.PathSegment(go.PathSegment.Line,z,.5*ee)),be.add(new go.PathSegment(go.PathSegment.Line,le,ee)),be.add(new go.PathSegment(go.PathSegment.Line,le,pe)),be.add(new go.PathSegment(go.PathSegment.Line,0,pe).close()),Pe.spot1=new go.Spot(0,ue/ee);var Ie=oe(0,pe/ee,1,pe/ee,le/z,1,1,.5,He());return Pe.spot2=new go.Spot(Ie.x,Ie.y),gt(Ie),Pe}),go.Shape.setFigureParameter("Arrow2",0,new Nn("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Nn("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;isNaN(ae)&&(ae=30),ae>z&&(ae=z);var re=fe?fe.parameter2:NaN;isNaN(re)&&(re=30),re=Math.min(re,ee/2);var le=z-ae,ue=(ee-re)/2,pe=ue+re,Pe=new go.Geometry,be=new go.PathFigure(0,ue,!0);Pe.add(be),be.add(new go.PathSegment(go.PathSegment.Line,le,ue)),be.add(new go.PathSegment(go.PathSegment.Line,le,0)),be.add(new go.PathSegment(go.PathSegment.Line,z,.5*ee)),be.add(new go.PathSegment(go.PathSegment.Line,le,ee)),be.add(new go.PathSegment(go.PathSegment.Line,le,pe)),be.add(new go.PathSegment(go.PathSegment.Line,0,pe).close()),Pe.spot1=new go.Spot(0,ue/ee);var Ie=oe(0,pe/ee,1,pe/ee,le/z,1,1,.5,He());return Pe.spot2=new go.Spot(Ie.x,Ie.y),gt(Ie),Pe}),go.Shape.defineFigureGenerator("Chevron",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,0,!0);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,z,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,.5*ee).close()),ae}),go.Shape.defineFigureGenerator("DoubleArrow",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,0,!0);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.3*z,.214*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.3*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,1*z,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.3*z,1*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.3*z,.786*ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,1*ee).close()),ae}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Nn("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;isNaN(ae)&&(ae=.3);var re=(.5-ae/2)*ee,le=(.5+ae/2)*ee,ue=new go.Geometry,pe=new go.PathFigure(z,.5*ee,!0);ue.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.7*z,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*z,le)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*z,le)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*z,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.5*ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*z,0)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*z,re)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*z,re)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*z,0).close());var Pe=oe(0,.5,.3,0,0,re/ee,.1,re/ee,He());return ue.spot1=new go.Spot(Pe.x,Pe.y),Pe=oe(.7,1,1,.5,0,le/ee,1,le/ee,Pe),ue.spot2=new go.Spot(Pe.x,Pe.y),gt(Pe),ue}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Nn("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Nn("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;isNaN(ae)&&(ae=40);var re=fe?fe.parameter2:NaN;isNaN(re)&&(re=100);var le=(ee-ae)/2,ue=le+ae,pe=(ee-re)/2,Pe=pe+re;(ae>ee||re>ee)&&(re>ae?(ae=ae*ee/re,le=(ee-ae)/2,ue=le+ae,pe=0,Pe=ee):(le=0,ue=ee,pe=0,Pe=ee));var be=new go.Geometry,Ie=new go.PathFigure(z,.5*ee,!0);be.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Line,.7*z,Pe)),Ie.add(new go.PathSegment(go.PathSegment.Line,.7*z,ue)),Ie.add(new go.PathSegment(go.PathSegment.Line,.3*z,ue)),Ie.add(new go.PathSegment(go.PathSegment.Line,.3*z,Pe)),Ie.add(new go.PathSegment(go.PathSegment.Line,0,.5*ee)),Ie.add(new go.PathSegment(go.PathSegment.Line,.3*z,pe)),Ie.add(new go.PathSegment(go.PathSegment.Line,.3*z,le)),Ie.add(new go.PathSegment(go.PathSegment.Line,.7*z,le)),Ie.add(new go.PathSegment(go.PathSegment.Line,.7*z,pe).close());var Me=oe(0,.5,.3,pe/ee,0,le/ee,1,le/ee,He());return be.spot1=new go.Spot(Me.x,Me.y),Me=oe(.7,Pe/ee,1,.5,0,ue/ee,1,ue/ee,Me),be.spot2=new go.Spot(Me.x,Me.y),gt(Me),be}),go.Shape.setFigureParameter("IBeamArrow",0,new Nn("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;isNaN(ae)&&(ae=.3);var re=(.5-ae/2)*ee,le=(.5+ae/2)*ee,ue=new go.Geometry,pe=new go.PathFigure(z,.5*ee,!0);ue.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.7*z,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*z,le)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*z,le)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*z,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,0,0)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*z,0)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*z,re)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*z,re)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*z,0).close()),ue.spot1=new go.Spot(0,re/ee);var Pe=oe(.7,1,1,.5,0,le/ee,1,le/ee,He());return ue.spot2=new go.Spot(Pe.x,Pe.y),gt(Pe),ue}),go.Shape.setFigureParameter("IBeamArrow2",0,new Nn("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Nn("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;isNaN(ae)&&(ae=40);var re=fe?fe.parameter2:NaN;isNaN(re)&&(re=100);var le=(ee-ae)/2,ue=le+ae,pe=(ee-re)/2,Pe=pe+re;(ae>ee||re>ee)&&(re>ae?(ae=ae*ee/re,le=(ee-ae)/2,ue=le+ae,pe=0,Pe=ee):(le=0,ue=ee,pe=0,Pe=ee));var be=new go.Geometry,Ie=new go.PathFigure(z,.5*ee,!0);be.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Line,.7*z,Pe)),Ie.add(new go.PathSegment(go.PathSegment.Line,.7*z,ue)),Ie.add(new go.PathSegment(go.PathSegment.Line,.2*z,ue)),Ie.add(new go.PathSegment(go.PathSegment.Line,.2*z,Pe)),Ie.add(new go.PathSegment(go.PathSegment.Line,0,Pe)),Ie.add(new go.PathSegment(go.PathSegment.Line,0,pe)),Ie.add(new go.PathSegment(go.PathSegment.Line,.2*z,pe)),Ie.add(new go.PathSegment(go.PathSegment.Line,.2*z,le)),Ie.add(new go.PathSegment(go.PathSegment.Line,.7*z,le)),Ie.add(new go.PathSegment(go.PathSegment.Line,.7*z,pe).close()),be.spot1=new go.Spot(0,le/ee);var Me=oe(.7,Pe/ee,1,.5,0,ue/ee,1,ue/ee,He());return be.spot2=new go.Spot(Me.x,Me.y),gt(Me),be}),go.Shape.setFigureParameter("Pointer",0,new Nn("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;isNaN(ae)&&(ae=.1);var re=new go.Geometry,le=new go.PathFigure(z,.5*ee,!0);re.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,ee)),le.add(new go.PathSegment(go.PathSegment.Line,ae*z,.5*ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),re.spot1=new go.Spot(ae,.35);var ue=oe(.2,.65,1,.65,0,1,1,.5,He());return re.spot2=new go.Spot(ue.x,ue.y),gt(ue),re}),go.Shape.setFigureParameter("RoundedPointer",0,new Nn("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;isNaN(ae)&&(ae=.3);var re=new go.Geometry,le=new go.PathFigure(z,.5*ee,!0);re.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,ee)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,0,ae*z,.75*ee,ae*z,.25*ee).close()),re.spot1=new go.Spot(ae,.35);var ue=oe(0,.65,1,.65,0,1,1,.5,He());return re.spot2=new go.Spot(ue.x,ue.y),gt(ue),re}),go.Shape.setFigureParameter("SplitEndArrow",0,new Nn("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;isNaN(ae)&&(ae=.4);var re=(.5-ae/2)*ee,le=(.5+ae/2)*ee,ue=new go.Geometry,pe=new go.PathFigure(z,.5*ee,!0);ue.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.7*z,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*z,le)),pe.add(new go.PathSegment(go.PathSegment.Line,0,le)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*z,.5*ee)),pe.add(new go.PathSegment(go.PathSegment.Line,0,re)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*z,re)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*z,0).close()),ue.spot1=new go.Spot(.2,.3);var Pe=oe(.7,1,1,.5,0,le/ee,1,le/ee,He());return ue.spot2=new go.Spot(Pe.x,Pe.y),gt(Pe),ue}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Nn("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;isNaN(ae)&&(ae=50);var re=(ee-ae)/2,le=re+ae;ae>ee&&(re=0,le=ee);var ue=new go.Geometry,pe=new go.PathFigure(z,.5*ee,!0);ue.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.7*z,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*z,le)),pe.add(new go.PathSegment(go.PathSegment.Line,0,le)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*z,.5*ee)),pe.add(new go.PathSegment(go.PathSegment.Line,0,re)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*z,re)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*z,0).close()),ue.spot1=new go.Spot(.2,re/ee);var Pe=oe(.7,1,1,.5,0,le/ee,1,le/ee,He());return ue.spot2=new go.Spot(Pe.x,Pe.y),gt(Pe),ue}),go.Shape.setFigureParameter("SquareArrow",0,new Nn("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;isNaN(ae)&&(ae=.7);var re=new go.Geometry,le=new go.PathFigure(z,.5*ee,!0);return re.add(le),le.add(new go.PathSegment(go.PathSegment.Line,ae*z,ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Line,ae*z,0).close()),re.spot1=go.Spot.TopLeft,re.spot2=new go.Spot(ae,1),re}),go.Shape.defineFigureGenerator("Cone1",function(fe,z,ee){var ae=new go.Geometry,re=ce*.5,le=ce*.1,ue=new go.PathFigure(0,.9*ee,!0);return ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.5*z,0)),ue.add(new go.PathSegment(go.PathSegment.Line,z,.9*ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*z,ee,z,(.9+le)*ee,(.5+re)*z,ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ee,(.5-re)*z,ee,0,(.9+le)*ee).close()),ae.spot1=new go.Spot(.25,.5),ae.spot2=new go.Spot(.75,.97),ae}),go.Shape.defineFigureGenerator("Cone2",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,.9*ee,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,z,.9*ee,(1-.85/.9)*z,ee,.85/.9*z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,0,.9*ee).close());var le=new go.PathFigure(0,.9*ee,!1);return ae.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,z,.9*ee,(1-.85/.9)*z,.8*ee,.85/.9*z,.8*ee)),ae.spot1=new go.Spot(.25,.5),ae.spot2=new go.Spot(.75,.82),ae}),go.Shape.defineFigureGenerator("Cube1",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(.5*z,ee,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z,.85*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,.15*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,0,.15*ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,.85*ee).close());var le=new go.PathFigure(.5*z,ee,!1);return ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.5*z,.3*ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,.15*ee)),le.add(new go.PathSegment(go.PathSegment.Move,.5*z,.3*ee)),le.add(new go.PathSegment(go.PathSegment.Line,z,.15*ee)),ae.spot1=new go.Spot(0,.3),ae.spot2=new go.Spot(.5,.85),ae}),go.Shape.defineFigureGenerator("Cube2",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,.3*ee,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.7*z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,.7*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,0)),re.add(new go.PathSegment(go.PathSegment.Line,.3*z,0).close());var le=new go.PathFigure(0,.3*ee,!1);return ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*z,.3*ee)),le.add(new go.PathSegment(go.PathSegment.Line,z,0)),le.add(new go.PathSegment(go.PathSegment.Move,.7*z,.3*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.7*z,ee)),ae.spot1=new go.Spot(0,.3),ae.spot2=new go.Spot(.7,1),ae}),go.Shape.defineFigureGenerator("Cylinder1",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;isNaN(ae)&&(ae=5),ae=Math.min(ae,ee/3);var re=new go.Geometry,le=ce*.5,ue=new go.PathFigure(0,ae,!0);re.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*z,0,0,ce*ae,(.5-le)*z,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,1*z,ae,(.5+le)*z,0,1*z,ce*ae)),ue.add(new go.PathSegment(go.PathSegment.Line,z,ee-ae)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*z,1*ee,1*z,ee-ce*ae,(.5+le)*z,1*ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-ae,(.5-le)*z,1*ee,0,ee-ce*ae)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ae));var pe=new go.PathFigure(z,ae,!1);return re.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,.5*z,2*ae,1*z,2*ae-ce*ae,(.5+le)*z,2*ae)),pe.add(new go.PathSegment(go.PathSegment.Bezier,0,ae,(.5-le)*z,2*ae,0,2*ae-ce*ae)),re.spot1=new go.Spot(0,0,0,2*ae),re.spot2=new go.Spot(1,1),re}),go.Shape.defineFigureGenerator("Cylinder2",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;isNaN(ae)&&(ae=5),ae=Math.min(ae,ee/3);var re=new go.Geometry,le=ce*.5,ue=new go.PathFigure(0,ee-ae,!0);re.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,ae)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*z,0,0,ce*ae,(.5-le)*z,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,z,ae,(.5+le)*z,0,z,ce*ae)),ue.add(new go.PathSegment(go.PathSegment.Line,z,ee-ae)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*z,ee,z,ee-ce*ae,(.5+le)*z,ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-ae,(.5-le)*z,ee,0,ee-ce*ae));var pe=new go.PathFigure(0,ee-ae,!1);return re.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,.5*z,ee-2*ae,0,ee-ae-ce*ae,(.5-le)*z,ee-2*ae)),pe.add(new go.PathSegment(go.PathSegment.Bezier,z,ee-ae,(.5+le)*z,ee-2*ae,z,ee-ae-ce*ae)),re.spot1=new go.Spot(0,0),re.spot2=new go.Spot(1,1,0,-2*ae),re}),go.Shape.defineFigureGenerator("Cylinder3",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;isNaN(ae)&&(ae=5),ae=Math.min(ae,z/3);var re=new go.Geometry,le=ce*.5,ue=new go.PathFigure(ae,0,!0);re.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,z-ae,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,z,.5*ee,z-ce*ae,0,z,(.5-le)*ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,z-ae,ee,z,(.5+le)*ee,z-ce*ae,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,ae,ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ee,ce*ae,ee,0,(.5+le)*ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ae,0,0,(.5-le)*ee,ce*ae,0));var pe=new go.PathFigure(ae,0,!1);return re.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,2*ae,.5*ee,ae+ce*ae,0,2*ae,(.5-le)*ee)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ae,ee,2*ae,(.5+le)*ee,ae+ce*ae,ee)),re.spot1=new go.Spot(0,0,2*ae,0),re.spot2=new go.Spot(1,1),re}),go.Shape.defineFigureGenerator("Cylinder4",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;isNaN(ae)&&(ae=5),ae=Math.min(ae,z/3);var re=new go.Geometry,le=ce*.5,ue=new go.PathFigure(z-ae,0,!0);re.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,z,.5*ee,z-ce*ae,0,z,(.5-le)*ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,z-ae,ee,z,(.5+le)*ee,z-ce*ae,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,ae,ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ee,ce*ae,ee,0,(.5+le)*ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ae,0,0,(.5-le)*ee,ce*ae,0)),ue.add(new go.PathSegment(go.PathSegment.Line,z-ae,0));var pe=new go.PathFigure(z-ae,0,!1);return re.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,z-2*ae,.5*ee,z-ae-ce*ae,0,z-2*ae,(.5-le)*ee)),pe.add(new go.PathSegment(go.PathSegment.Bezier,z-ae,ee,z-2*ae,(.5+le)*ee,z-ae-ce*ae,ee)),re.spot1=new go.Spot(0,0),re.spot2=new go.Spot(1,1,-2*ae,0),re}),go.Shape.defineFigureGenerator("Prism1",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(.25*z,.25*ee,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.75*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,z,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee).close());var le=new go.PathFigure(.25*z,.25*ee,!1);return ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.5*z,ee)),ae.spot1=new go.Spot(.408,.172),ae.spot2=new go.Spot(.833,.662),ae}),go.Shape.defineFigureGenerator("Prism2",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,.25*ee,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.75*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,z,.25*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.75*z,.75*ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee).close());var le=new go.PathFigure(0,ee,!1);return ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.25*z,.5*ee)),le.add(new go.PathSegment(go.PathSegment.Line,z,.25*ee)),le.add(new go.PathSegment(go.PathSegment.Move,0,.25*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.25*z,.5*ee)),ae.spot1=new go.Spot(.25,.5),ae.spot2=new go.Spot(.75,.75),ae}),go.Shape.defineFigureGenerator("Pyramid1",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(.5*z,0,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z,.75*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,.75*ee).close());var le=new go.PathFigure(.5*z,0,!1);return ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.5*z,ee)),ae.spot1=new go.Spot(.25,.367),ae.spot2=new go.Spot(.75,.875),ae}),go.Shape.defineFigureGenerator("Pyramid2",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(.5*z,0,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z,.85*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,.85*ee).close());var le=new go.PathFigure(.5*z,0,!1);return ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.5*z,.7*ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,.85*ee)),le.add(new go.PathSegment(go.PathSegment.Move,.5*z,.7*ee)),le.add(new go.PathSegment(go.PathSegment.Line,z,.85*ee)),ae.spot1=new go.Spot(.25,.367),ae.spot2=new go.Spot(.75,.875),ae}),go.Shape.defineFigureGenerator("Actor",function(fe,z,ee){var ae=new go.Geometry,re=.2,le=.1,ue=ce*re,pe=ce*le,Pe=.5,be=.1,Ie=new go.PathFigure(Pe*z,(be+le)*ee,!0);ae.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-re)*z,be*ee,(Pe-ue)*z,(be+le)*ee,(Pe-re)*z,(be+pe)*ee)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,Pe*z,(be-le)*ee,(Pe-re)*z,(be-pe)*ee,(Pe-ue)*z,(be-le)*ee)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+re)*z,be*ee,(Pe+ue)*z,(be-le)*ee,(Pe+re)*z,(be-pe)*ee)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,Pe*z,(be+le)*ee,(Pe+re)*z,(be+pe)*ee,(Pe+ue)*z,(be+le)*ee));var Me=.05,Oe=ce*Me;Pe=.05,be=.25;var Te=new go.PathFigure(.5*z,.2*ee,!0);return ae.add(Te),Te.add(new go.PathSegment(go.PathSegment.Line,.95*z,.2*ee)),Pe=.95,be=.25,Te.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+Me)*z,be*ee,(Pe+Oe)*z,(be-Me)*ee,(Pe+Me)*z,(be-Oe)*ee)),Te.add(new go.PathSegment(go.PathSegment.Line,z,.6*ee)),Te.add(new go.PathSegment(go.PathSegment.Line,.85*z,.6*ee)),Te.add(new go.PathSegment(go.PathSegment.Line,.85*z,.35*ee)),Me=.025,Oe=ce*Me,Pe=.825,be=.35,Te.add(new go.PathSegment(go.PathSegment.Bezier,Pe*z,(be-Me)*ee,(Pe+Me)*z,(be-Oe)*ee,(Pe+Oe)*z,(be-Me)*ee)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-Me)*z,be*ee,(Pe-Oe)*z,(be-Me)*ee,(Pe-Me)*z,(be-Oe)*ee)),Te.add(new go.PathSegment(go.PathSegment.Line,.8*z,ee)),Te.add(new go.PathSegment(go.PathSegment.Line,.55*z,ee)),Te.add(new go.PathSegment(go.PathSegment.Line,.55*z,.7*ee)),Me=.05,Oe=ce*Me,Pe=.5,be=.7,Te.add(new go.PathSegment(go.PathSegment.Bezier,Pe*z,(be-Me)*ee,(Pe+Me)*z,(be-Oe)*ee,(Pe+Oe)*z,(be-Me)*ee)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-Me)*z,be*ee,(Pe-Oe)*z,(be-Me)*ee,(Pe-Me)*z,(be-Oe)*ee)),Te.add(new go.PathSegment(go.PathSegment.Line,.45*z,ee)),Te.add(new go.PathSegment(go.PathSegment.Line,.2*z,ee)),Te.add(new go.PathSegment(go.PathSegment.Line,.2*z,.35*ee)),Me=.025,Oe=ce*Me,Pe=.175,be=.35,Te.add(new go.PathSegment(go.PathSegment.Bezier,Pe*z,(be-Me)*ee,(Pe+Me)*z,(be-Oe)*ee,(Pe+Oe)*z,(be-Me)*ee)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-Me)*z,be*ee,(Pe-Oe)*z,(be-Me)*ee,(Pe-Me)*z,(be-Oe)*ee)),Te.add(new go.PathSegment(go.PathSegment.Line,.15*z,.6*ee)),Te.add(new go.PathSegment(go.PathSegment.Line,0,.6*ee)),Te.add(new go.PathSegment(go.PathSegment.Line,0,.25*ee)),Me=.05,Oe=ce*Me,Pe=.05,be=.25,Te.add(new go.PathSegment(go.PathSegment.Bezier,Pe*z,(be-Me)*ee,(Pe-Me)*z,(be-Oe)*ee,(Pe-Oe)*z,(be-Me)*ee)),Te.add(new go.PathSegment(go.PathSegment.Line,.5*z,.2*ee)),ae.spot1=new go.Spot(.2,.2),ae.spot2=new go.Spot(.8,.65),ae}),go.Shape.setFigureParameter("Card",0,new Nn("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;isNaN(ae)&&(ae=.2);var re=new go.Geometry,le=new go.PathFigure(z,0,!0);return re.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z,ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,ae*ee)),le.add(new go.PathSegment(go.PathSegment.Line,ae*z,0).close()),re.spot1=new go.Spot(0,ae),re.spot2=go.Spot.BottomRight,re}),go.Shape.defineFigureGenerator("Collate",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(.5*z,.5*ee,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Line,z,0)),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,.5*ee));var le=new go.PathFigure(.5*z,.5*ee,!0);return ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z,ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.5*z,.5*ee)),ae.spot1=new go.Spot(.25,0),ae.spot2=new go.Spot(.75,.25),ae}),go.Shape.defineFigureGenerator("CreateRequest",function(fe,z,ee){var ae=new go.Geometry,re=fe?fe.parameter1:NaN;isNaN(re)&&(re=.1);var le=new go.PathFigure(0,0,!0);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z,0)),le.add(new go.PathSegment(go.PathSegment.Line,z,ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,ee).close());var ue=new go.PathFigure(0,re*ee,!1);return ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,z,re*ee)),ue.add(new go.PathSegment(go.PathSegment.Move,0,(1-re)*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,z,(1-re)*ee)),ae}),go.Shape.defineFigureGenerator("Database",function(fe,z,ee){var ae=new go.Geometry,re=ce*.5,le=ce*.1,ue=new go.PathFigure(z,.1*ee,!0);ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,z,.9*ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*z,ee,z,(.9+le)*ee,(.5+re)*z,ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ee,(.5-re)*z,ee,0,(.9+le)*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.1*ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*z,0,0,(.1-le)*ee,(.5-re)*z,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,z,.1*ee,(.5+re)*z,0,z,(.1-le)*ee));var pe=new go.PathFigure(z,.1*ee,!1);return ae.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,.5*z,.2*ee,z,(.1+le)*ee,(.5+re)*z,.2*ee)),pe.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*ee,(.5-re)*z,.2*ee,0,(.1+le)*ee)),pe.add(new go.PathSegment(go.PathSegment.Move,z,.2*ee)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.5*z,.3*ee,z,(.2+le)*ee,(.5+re)*z,.3*ee)),pe.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*ee,(.5-re)*z,.3*ee,0,(.2+le)*ee)),pe.add(new go.PathSegment(go.PathSegment.Move,z,.3*ee)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.5*z,.4*ee,z,(.3+le)*ee,(.5+re)*z,.4*ee)),pe.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*ee,(.5-re)*z,.4*ee,0,(.3+le)*ee)),ae.spot1=new go.Spot(0,.4),ae.spot2=new go.Spot(1,.9),ae}),go.Shape.defineFigureGenerator("DataStorage",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,0,!0);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.75*z,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,.75*z,ee,z,0,z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*z,.9*ee,.25*z,.1*ee).close()),ae.spot1=new go.Spot(.226,0),ae.spot2=new go.Spot(.81,1),ae}),go.Shape.defineFigureGenerator("DiskStorage",function(fe,z,ee){var ae=new go.Geometry,re=ce*.5,le=ce*.1,ue=new go.PathFigure(z,.1*ee,!0);ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,z,.9*ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*z,ee,z,(.9+le)*ee,(.5+re)*z,ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ee,(.5-re)*z,ee,0,(.9+le)*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.1*ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*z,0,0,(.1-le)*ee,(.5-re)*z,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,z,.1*ee,(.5+re)*z,0,z,(.1-le)*ee));var pe=new go.PathFigure(z,.1*ee,!1);return ae.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,.5*z,.2*ee,z,(.1+le)*ee,(.5+re)*z,.2*ee)),pe.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*ee,(.5-re)*z,.2*ee,0,(.1+le)*ee)),pe.add(new go.PathSegment(go.PathSegment.Move,z,.2*ee)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.5*z,.3*ee,z,(.2+le)*ee,(.5+re)*z,.3*ee)),pe.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*ee,(.5-re)*z,.3*ee,0,(.2+le)*ee)),ae.spot1=new go.Spot(0,.3),ae.spot2=new go.Spot(1,.9),ae}),go.Shape.defineFigureGenerator("Display",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(.25*z,0,!0);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.75*z,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,.75*z,ee,z,0,z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.25*z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*ee).close()),ae.spot1=new go.Spot(.25,0),ae.spot2=new go.Spot(.75,1),ae}),go.Shape.defineFigureGenerator("DividedEvent",function(fe,z,ee){var ae=new go.Geometry,re=fe?fe.parameter1:NaN;isNaN(re)?re=.2:re<.15&&(re=.15);var le=ce*.2,ue=new go.PathFigure(0,.2*ee,!0);ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.2*z,0,0,(.2-le)*ee,(.2-le)*z,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*z,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,z,.2*ee,(.8+le)*z,0,z,(.2-le)*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,z,.8*ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.8*z,ee,z,(.8+le)*ee,(.8+le)*z,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*z,ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*ee,(.2-le)*z,ee,0,(.8+le)*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.2*ee));var pe=new go.PathFigure(0,re*ee,!1);return ae.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,z,re*ee)),ae}),go.Shape.defineFigureGenerator("DividedProcess",function(fe,z,ee){var ae=new go.Geometry,re=fe?fe.parameter1:NaN;(isNaN(re)||re<.1)&&(re=.1);var le=new go.PathFigure(0,0,!0);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z,0)),le.add(new go.PathSegment(go.PathSegment.Line,z,ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,ee).close());var ue=new go.PathFigure(0,re*ee,!1);return ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,z,re*ee)),ae}),go.Shape.defineFigureGenerator("Document",function(fe,z,ee){var ae=new go.Geometry;ee=ee/.8;var re=new go.PathFigure(0,.7*ee,!0);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Line,z,0)),re.add(new go.PathSegment(go.PathSegment.Line,z,.7*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ee,.5*z,.4*ee,.5*z,ee).close()),ae.spot1=go.Spot.TopLeft,ae.spot2=new go.Spot(1,.6),ae}),go.Shape.defineFigureGenerator("ExternalOrganization",function(fe,z,ee){var ae=new go.Geometry,re=fe?fe.parameter1:NaN;(isNaN(re)||re<.2)&&(re=.2);var le=new go.PathFigure(0,0,!0);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z,0)),le.add(new go.PathSegment(go.PathSegment.Line,z,ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,ee).close());var ue=new go.PathFigure(re*z,0,!1);return ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,re*ee)),ue.add(new go.PathSegment(go.PathSegment.Move,z,re*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,(1-re)*z,0)),ue.add(new go.PathSegment(go.PathSegment.Move,0,(1-re)*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,re*z,ee)),ue.add(new go.PathSegment(go.PathSegment.Move,(1-re)*z,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,z,(1-re)*ee)),ae}),go.Shape.defineFigureGenerator("ExternalProcess",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(.5*z,0,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*ee).close());var le=new go.PathFigure(.1*z,.4*ee,!1);return ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.1*z,.6*ee)),le.add(new go.PathSegment(go.PathSegment.Move,.9*z,.6*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.9*z,.4*ee)),le.add(new go.PathSegment(go.PathSegment.Move,.6*z,.1*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.4*z,.1*ee)),le.add(new go.PathSegment(go.PathSegment.Move,.4*z,.9*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.6*z,.9*ee)),ae.spot1=new go.Spot(.25,.25),ae.spot2=new go.Spot(.75,.75),ae}),go.Shape.defineFigureGenerator("File",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,0,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.75*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,z,.25*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee).close());var le=new go.PathFigure(.75*z,0,!1);return ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.75*z,.25*ee)),le.add(new go.PathSegment(go.PathSegment.Line,z,.25*ee)),ae.spot1=new go.Spot(0,.25),ae.spot2=go.Spot.BottomRight,ae}),go.Shape.defineFigureGenerator("Interrupt",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(z,.5*ee,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Line,z,.5*ee));var le=new go.PathFigure(z,.5*ee,!1);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z,ee));var ue=new go.PathFigure(z,.5*ee,!1);return ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,z,0)),ae.spot1=new go.Spot(0,.25),ae.spot2=new go.Spot(.5,.75),ae}),go.Shape.defineFigureGenerator("InternalStorage",function(fe,z,ee){var ae=new go.Geometry,re=fe?fe.parameter1:NaN,le=fe?fe.parameter2:NaN;isNaN(re)&&(re=.1),isNaN(le)&&(le=.1);var ue=new go.PathFigure(0,0,!0);ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,z,0)),ue.add(new go.PathSegment(go.PathSegment.Line,z,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ee).close());var pe=new go.PathFigure(re*z,0,!1);return ae.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,re*z,ee)),pe.add(new go.PathSegment(go.PathSegment.Move,0,le*ee)),pe.add(new go.PathSegment(go.PathSegment.Line,z,le*ee)),ae}),go.Shape.defineFigureGenerator("Junction",function(fe,z,ee){var ae=new go.Geometry,re=1/Math.SQRT2,le=(1-1/Math.SQRT2)/2,ue=ce*.5,pe=.5,Pe=new go.PathFigure(z,pe*ee,!0);ae.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,pe*z,ee,z,(pe+ue)*ee,(pe+ue)*z,ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,0,pe*ee,(pe-ue)*z,ee,0,(pe+ue)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,pe*z,0,0,(pe-ue)*ee,(pe-ue)*z,0)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,z,pe*ee,(pe+ue)*z,0,z,(pe-ue)*ee));var be=new go.PathFigure((le+re)*z,(le+re)*ee,!1);return ae.add(be),be.add(new go.PathSegment(go.PathSegment.Line,le*z,le*ee)),be.add(new go.PathSegment(go.PathSegment.Move,le*z,(le+re)*ee)),be.add(new go.PathSegment(go.PathSegment.Line,(le+re)*z,le*ee)),ae}),go.Shape.defineFigureGenerator("LinedDocument",function(fe,z,ee){var ae=new go.Geometry;ee=ee/.8;var re=new go.PathFigure(0,.7*ee,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Line,z,0)),re.add(new go.PathSegment(go.PathSegment.Line,z,.7*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ee,.5*z,.4*ee,.5*z,ee).close());var le=new go.PathFigure(.1*z,0,!1);return ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.1*z,.75*ee)),ae.spot1=new go.Spot(.1,0),ae.spot2=new go.Spot(1,.6),ae}),go.Shape.defineFigureGenerator("LoopLimit",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,ee,!0);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,.25*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.25*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,.75*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,z,.25*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,ee).close()),ae.spot1=new go.Spot(0,.25),ae.spot2=go.Spot.BottomRight,ae}),go.Shape.defineFigureGenerator("MagneticTape",function(fe,z,ee){var ae=new go.Geometry,re=ce*.5,le=.5,ue=new go.PathFigure(.5*z,ee,!0);return ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,le*ee,(le-re)*z,ee,0,(le+re)*ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,le*z,0,0,(le-re)*ee,(le-re)*z,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,z,le*ee,(le+re)*z,0,z,(le-re)*ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(le+.1)*z,.9*ee,z,(le+re)*ee,(le+re)*z,.9*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,z,.9*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,z,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*z,ee)),ae.spot1=new go.Spot(.15,.15),ae.spot2=new go.Spot(.85,.8),ae}),go.Shape.defineFigureGenerator("ManualInput",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(z,0,!0);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,.25*ee).close()),ae.spot1=new go.Spot(0,.25),ae.spot2=go.Spot.BottomRight,ae}),go.Shape.defineFigureGenerator("MessageFromUser",function(fe,z,ee){var ae=new go.Geometry,re=fe?fe.parameter1:NaN;isNaN(re)&&(re=.7);var le=new go.PathFigure(0,0,!0);return ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z,0)),le.add(new go.PathSegment(go.PathSegment.Line,re*z,.5*ee)),le.add(new go.PathSegment(go.PathSegment.Line,z,ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),ae.spot1=go.Spot.TopLeft,ae}),go.Shape.defineFigureGenerator("MicroformProcessing",function(fe,z,ee){var ae=new go.Geometry,re=fe?fe.parameter1:NaN;isNaN(re)&&(re=.25);var le=new go.PathFigure(0,0,!0);return ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.5*z,re*ee)),le.add(new go.PathSegment(go.PathSegment.Line,z,0)),le.add(new go.PathSegment(go.PathSegment.Line,z,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.5*z,(1-re)*ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),ae}),go.Shape.defineFigureGenerator("MicroformRecording",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,0,!0);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.75*z,.25*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,.15*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,.85*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.75*z,.75*ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),ae.spot1=new go.Spot(0,.25),ae.spot2=new go.Spot(1,.75),ae}),go.Shape.defineFigureGenerator("MultiDocument",function(fe,z,ee){var ae=new go.Geometry;ee=ee/.8;var re=new go.PathFigure(z,0,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.9*z,.44*ee,.96*z,.47*ee,.93*z,.45*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.9*z,.6*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.8*z,.54*ee,.86*z,.57*ee,.83*z,.55*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.8*z,.7*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ee,.4*z,.4*ee,.4*z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,.2*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.1*z,.2*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.1*z,.1*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.2*z,.1*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.2*z,0).close());var le=new go.PathFigure(.1*z,.2*ee,!1);return ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.8*z,.2*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.8*z,.54*ee)),le.add(new go.PathSegment(go.PathSegment.Move,.2*z,.1*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.9*z,.1*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.9*z,.44*ee)),ae.spot1=new go.Spot(0,.25),ae.spot2=new go.Spot(.8,.77),ae}),go.Shape.defineFigureGenerator("MultiProcess",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(.1*z,.1*ee,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.2*z,.1*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.2*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,z,0)),re.add(new go.PathSegment(go.PathSegment.Line,z,.8*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.9*z,.8*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.9*z,.9*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.8*z,.9*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.8*z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,.2*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.1*z,.2*ee).close());var le=new go.PathFigure(.2*z,.1*ee,!1);return ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.9*z,.1*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.9*z,.8*ee)),le.add(new go.PathSegment(go.PathSegment.Move,.1*z,.2*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.8*z,.2*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.8*z,.9*ee)),ae.spot1=new go.Spot(0,.2),ae.spot2=new go.Spot(.8,1),ae}),go.Shape.defineFigureGenerator("OfflineStorage",function(fe,z,ee){var ae=new go.Geometry,re=fe?fe.parameter1:NaN;isNaN(re)&&(re=.1);var le=1-re,ue=new go.PathFigure(0,0,!0);ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,z,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*z,ee).close());var pe=new go.PathFigure(.5*re*z,re*ee,!1);return ae.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,(1-.5*re)*z,re*ee)),ae}),go.Shape.defineFigureGenerator("OffPageConnector",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,0,!0);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.75*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,z,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.75*z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),ae.spot1=go.Spot.TopLeft,ae.spot2=new go.Spot(.75,1),ae}),go.Shape.defineFigureGenerator("Or",function(fe,z,ee){var ae=new go.Geometry,re=ce*.5,le=.5,ue=new go.PathFigure(z,le*ee,!0);ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,le*z,ee,z,(le+re)*ee,(le+re)*z,ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,le*ee,(le-re)*z,ee,0,(le+re)*ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,le*z,0,0,(le-re)*ee,(le-re)*z,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,z,le*ee,(le+re)*z,0,z,(le-re)*ee));var pe=new go.PathFigure(z,.5*ee,!1);return ae.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,0,.5*ee)),pe.add(new go.PathSegment(go.PathSegment.Move,.5*z,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.5*z,0)),ae}),go.Shape.defineFigureGenerator("PaperTape",function(fe,z,ee){var ae=new go.Geometry;ee=ee/.8;var re=new go.PathFigure(0,.7*ee,!0);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,.3*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,z,.3*ee,.5*z,.6*ee,.5*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,z,.7*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ee,.5*z,.4*ee,.5*z,ee).close()),ae.spot1=new go.Spot(0,.49),ae.spot2=new go.Spot(1,.75),ae}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(fe,z,ee){var ae=new go.Geometry,re=fe?fe.parameter1:NaN,le=fe?fe.parameter2:NaN;isNaN(re)&&(re=.1),isNaN(le)&&(le=.3);var ue=new go.PathFigure(0,0,!0);return ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,z,0)),ue.add(new go.PathSegment(go.PathSegment.Line,(1-le)*z,.5*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,z,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),ae}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(fe,z,ee){var ae=new go.Geometry,re=fe?fe.parameter1:NaN,le=fe?fe.parameter2:NaN;isNaN(re)&&(re=.1),isNaN(le)&&(le=.3);var ue=new go.PathFigure(0,0,!0);return ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,(1-le)*z,0)),ue.add(new go.PathSegment(go.PathSegment.Line,z,.5*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,(1-le)*z,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),ae}),go.Shape.defineFigureGenerator("Procedure",function(fe,z,ee){var ae=new go.Geometry,re=fe?fe.parameter1:NaN;isNaN(re)&&(re=.1);var le=new go.PathFigure(0,0,!0);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z,0)),le.add(new go.PathSegment(go.PathSegment.Line,z,ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,ee).close());var ue=new go.PathFigure((1-re)*z,0,!1);return ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,(1-re)*z,ee)),ue.add(new go.PathSegment(go.PathSegment.Move,re*z,0)),ue.add(new go.PathSegment(go.PathSegment.Line,re*z,ee)),ae}),go.Shape.defineFigureGenerator("Process",function(fe,z,ee){var ae=new go.Geometry,re=fe?fe.parameter1:NaN;isNaN(re)&&(re=.1);var le=new go.PathFigure(0,0,!0);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z,0)),le.add(new go.PathSegment(go.PathSegment.Line,z,ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,ee).close());var ue=new go.PathFigure(re*z,0,!1);return ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,re*z,ee)),ae.spot2=go.Spot.BottomRight,ae}),go.Shape.defineFigureGenerator("Sort",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(.5*z,0,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*ee).close());var le=new go.PathFigure(0,.5*ee,!1);return ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z,.5*ee)),ae.spot1=new go.Spot(.25,.25),ae.spot2=new go.Spot(.75,.5),ae}),go.Shape.defineFigureGenerator("Start",function(fe,z,ee){var ae=new go.Geometry,re=fe?fe.parameter1:NaN;isNaN(re)&&(re=.25);var le=new go.PathFigure(re*z,0,!0);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*z,.5*ee,.25*z,.5*ee)),le.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*z,.5*ee,.25*z,.5*ee));var ue=new go.PathFigure(re*z,0,!1);return ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,re*z,ee)),ue.add(new go.PathSegment(go.PathSegment.Move,(1-re)*z,0)),ue.add(new go.PathSegment(go.PathSegment.Line,(1-re)*z,ee)),ae.spot1=new go.Spot(re,0),ae.spot2=new go.Spot(1-re,1),ae}),go.Shape.defineFigureGenerator("Terminator",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(.25*z,0,!0);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*z,.5*ee,.25*z,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*z,.5*ee,.25*z,.5*ee)),ae.spot1=new go.Spot(.23,0),ae.spot2=new go.Spot(.77,1),ae}),go.Shape.defineFigureGenerator("TransmittalTape",function(fe,z,ee){var ae=new go.Geometry,re=fe?fe.parameter1:NaN;isNaN(re)&&(re=.1);var le=new go.PathFigure(0,0,!0);return ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z,0)),le.add(new go.PathSegment(go.PathSegment.Line,z,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.75*z,(1-re)*ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,(1-re)*ee).close()),ae.spot1=go.Spot.TopLeft,ae}),go.Shape.defineFigureGenerator("AndGate",function(fe,z,ee){var ae=new go.Geometry,re=ce*.5,le=new go.PathFigure(0,0,!0);return ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.5*z,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,z,.5*ee,(.5+re)*z,0,z,(.5-re)*ee)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*z,ee,z,(.5+re)*ee,(.5+re)*z,ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),ae.spot1=go.Spot.TopLeft,ae.spot2=new go.Spot(.55,1),ae}),go.Shape.defineFigureGenerator("Buffer",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,0,!0);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),ae.spot1=new go.Spot(0,.25),ae.spot2=new go.Spot(.5,.75),ae}),go.Shape.defineFigureGenerator("Clock",function(fe,z,ee){var ae=new go.Geometry,re=ce*.5,le=.5,ue=new go.PathFigure(z,le*ee,!0);ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,le*z,ee,z,(le+re)*ee,(le+re)*z,ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,le*ee,(le-re)*z,ee,0,(le+re)*ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,le*z,0,0,(le-re)*ee,(le-re)*z,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,z,le*ee,(le+re)*z,0,z,(le-re)*ee));var pe=new go.PathFigure(z,le*ee,!1);ae.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,z,le*ee));var Pe=new go.PathFigure(.8*z,.75*ee,!1);return ae.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.8*z,.25*ee)),Pe.add(new go.PathSegment(go.PathSegment.Line,.6*z,.25*ee)),Pe.add(new go.PathSegment(go.PathSegment.Line,.6*z,.75*ee)),Pe.add(new go.PathSegment(go.PathSegment.Line,.4*z,.75*ee)),Pe.add(new go.PathSegment(go.PathSegment.Line,.4*z,.25*ee)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*z,.25*ee)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*z,.75*ee)),ae}),go.Shape.defineFigureGenerator("Ground",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(.5*z,0,!1);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,.4*ee)),re.add(new go.PathSegment(go.PathSegment.Move,.2*z,.6*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.8*z,.6*ee)),re.add(new go.PathSegment(go.PathSegment.Move,.3*z,.8*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.7*z,.8*ee)),re.add(new go.PathSegment(go.PathSegment.Move,.4*z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.6*z,ee)),ae}),go.Shape.defineFigureGenerator("Inverter",function(fe,z,ee){var ae=new go.Geometry,re=ce*.1,le=.1,ue=.9,pe=.5,Pe=new go.PathFigure(.8*z,.5*ee,!0);ae.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,0,ee)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,0)),Pe.add(new go.PathSegment(go.PathSegment.Line,.8*z,.5*ee));var be=new go.PathFigure((ue+le)*z,pe*ee,!0);return ae.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ue*z,(pe+le)*ee,(ue+le)*z,(pe+re)*ee,(ue+re)*z,(pe+le)*ee)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ue-le)*z,pe*ee,(ue-re)*z,(pe+le)*ee,(ue-le)*z,(pe+re)*ee)),be.add(new go.PathSegment(go.PathSegment.Bezier,ue*z,(pe-le)*ee,(ue-le)*z,(pe-re)*ee,(ue-re)*z,(pe-le)*ee)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ue+le)*z,pe*ee,(ue+re)*z,(pe-le)*ee,(ue+le)*z,(pe-re)*ee)),ae.spot1=new go.Spot(0,.25),ae.spot2=new go.Spot(.4,.75),ae}),go.Shape.defineFigureGenerator("NandGate",function(fe,z,ee){var ae=new go.Geometry,re=ce*.5,le=ce*.4,ue=ce*.1,pe=.1,Pe=.9,be=.5,Ie=new go.PathFigure(.8*z,.5*ee,!0);ae.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Bezier,.4*z,ee,.8*z,(.5+le)*ee,(.4+re)*z,ee)),Ie.add(new go.PathSegment(go.PathSegment.Line,0,ee)),Ie.add(new go.PathSegment(go.PathSegment.Line,0,0)),Ie.add(new go.PathSegment(go.PathSegment.Line,.4*z,0)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,.8*z,.5*ee,(.4+re)*z,0,.8*z,(.5-le)*ee));var Me=new go.PathFigure((Pe+pe)*z,be*ee,!0);return ae.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,Pe*z,(be+pe)*ee,(Pe+pe)*z,(be+ue)*ee,(Pe+ue)*z,(be+pe)*ee)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-pe)*z,be*ee,(Pe-ue)*z,(be+pe)*ee,(Pe-pe)*z,(be+ue)*ee)),Me.add(new go.PathSegment(go.PathSegment.Bezier,Pe*z,(be-pe)*ee,(Pe-pe)*z,(be-ue)*ee,(Pe-ue)*z,(be-pe)*ee)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+pe)*z,be*ee,(Pe+ue)*z,(be-pe)*ee,(Pe+pe)*z,(be-ue)*ee)),ae.spot1=new go.Spot(0,.05),ae.spot2=new go.Spot(.55,.95),ae}),go.Shape.defineFigureGenerator("NorGate",function(fe,z,ee){var ae=new go.Geometry,re=.5,le=ce*re,ue=0,pe=.5,Pe=new go.PathFigure(.8*z,.5*ee,!0);ae.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,0,ee,.7*z,(pe+le)*ee,(ue+le)*z,(pe+re)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*z,.75*ee,.25*z,.25*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,.8*z,.5*ee,(ue+le)*z,(pe-re)*ee,.7*z,(pe-le)*ee)),re=.1,le=ce*.1,ue=.9,pe=.5;var be=new go.PathFigure((ue-re)*z,pe*ee,!0);return ae.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ue*z,(pe-re)*ee,(ue-re)*z,(pe-le)*ee,(ue-le)*z,(pe-re)*ee)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re)*z,pe*ee,(ue+le)*z,(pe-re)*ee,(ue+re)*z,(pe-le)*ee)),be.add(new go.PathSegment(go.PathSegment.Bezier,ue*z,(pe+re)*ee,(ue+re)*z,(pe+le)*ee,(ue+le)*z,(pe+re)*ee)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re)*z,pe*ee,(ue-le)*z,(pe+re)*ee,(ue-re)*z,(pe+le)*ee)),ae.spot1=new go.Spot(.2,.25),ae.spot2=new go.Spot(.6,.75),ae}),go.Shape.defineFigureGenerator("OrGate",function(fe,z,ee){var ae=new go.Geometry,re=.5,le=ce*re,ue=0,pe=.5,Pe=new go.PathFigure(0,0,!0);return ae.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,z,.5*ee,(ue+le+le)*z,(pe-re)*ee,.8*z,(pe-le)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,0,ee,.8*z,(pe+le)*ee,(ue+le+le)*z,(pe+re)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*z,.75*ee,.25*z,.25*ee).close()),ae.spot1=new go.Spot(.2,.25),ae.spot2=new go.Spot(.75,.75),ae}),go.Shape.defineFigureGenerator("XnorGate",function(fe,z,ee){var ae=new go.Geometry,re=.5,le=ce*re,ue=.2,pe=.5,Pe=new go.PathFigure(.1*z,0,!1);ae.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,.1*z,ee,.35*z,.25*ee,.35*z,.75*ee));var be=new go.PathFigure(.8*z,.5*ee,!0);ae.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,.2*z,ee,.7*z,(pe+le)*ee,(ue+le)*z,(pe+re)*ee)),be.add(new go.PathSegment(go.PathSegment.Bezier,.2*z,0,.45*z,.75*ee,.45*z,.25*ee)),be.add(new go.PathSegment(go.PathSegment.Bezier,.8*z,.5*ee,(ue+le)*z,(pe-re)*ee,.7*z,(pe-le)*ee)),re=.1,le=ce*.1,ue=.9,pe=.5;var Ie=new go.PathFigure((ue-re)*z,pe*ee,!0);return ae.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Bezier,ue*z,(pe-re)*ee,(ue-re)*z,(pe-le)*ee,(ue-le)*z,(pe-re)*ee)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re)*z,pe*ee,(ue+le)*z,(pe-re)*ee,(ue+re)*z,(pe-le)*ee)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,ue*z,(pe+re)*ee,(ue+re)*z,(pe+le)*ee,(ue+le)*z,(pe+re)*ee)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re)*z,pe*ee,(ue-le)*z,(pe+re)*ee,(ue-re)*z,(pe+le)*ee)),ae.spot1=new go.Spot(.4,.25),ae.spot2=new go.Spot(.65,.75),ae}),go.Shape.defineFigureGenerator("XorGate",function(fe,z,ee){var ae=new go.Geometry,re=.5,le=ce*re,ue=.2,pe=.5,Pe=new go.PathFigure(.1*z,0,!1);ae.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,.1*z,ee,.35*z,.25*ee,.35*z,.75*ee));var be=new go.PathFigure(.2*z,0,!0);return ae.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,z,.5*ee,(ue+le)*z,(pe-re)*ee,.9*z,(pe-le)*ee)),be.add(new go.PathSegment(go.PathSegment.Bezier,.2*z,ee,.9*z,(pe+le)*ee,(ue+le)*z,(pe+re)*ee)),be.add(new go.PathSegment(go.PathSegment.Bezier,.2*z,0,.45*z,.75*ee,.45*z,.25*ee).close()),ae.spot1=new go.Spot(.4,.25),ae.spot2=new go.Spot(.8,.75),ae}),go.Shape.defineFigureGenerator("Capacitor",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,0,!1);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,ee)),re.add(new go.PathSegment(go.PathSegment.Move,z,0)),re.add(new go.PathSegment(go.PathSegment.Line,z,ee)),ae}),go.Shape.defineFigureGenerator("Resistor",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,.5*ee,!1);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.1*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.3*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,.4*z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,.6*z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.7*z,.5*ee)),ae}),go.Shape.defineFigureGenerator("Inductor",function(fe,z,ee){var ae=new go.Geometry,re=ce*.1,le=.1,ue=.1,pe=.5,Pe=new go.PathFigure((ue-re*.5)*z,ee,!1);return ae.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+le)*z,0,(ue-re)*z,ee,(ue-le)*z,0)),ue=.3,Pe.add(new go.PathSegment(go.PathSegment.Bezier,ue*z,ee,(ue+le)*z,0,(ue+re)*z,ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+le)*z,0,(ue-re)*z,ee,(ue-le)*z,0)),ue=.5,Pe.add(new go.PathSegment(go.PathSegment.Bezier,ue*z,ee,(ue+le)*z,0,(ue+re)*z,ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+le)*z,0,(ue-re)*z,ee,(ue-le)*z,0)),ue=.7,Pe.add(new go.PathSegment(go.PathSegment.Bezier,ue*z,ee,(ue+le)*z,0,(ue+re)*z,ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+le)*z,0,(ue-re)*z,ee,(ue-le)*z,0)),ue=.9,Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re*.5)*z,ee,(ue+le)*z,0,(ue+re)*z,ee)),ae}),go.Shape.defineFigureGenerator("ACvoltageSource",function(fe,z,ee){var ae=new go.Geometry,re=ce*.5,le=.5,ue=.5,pe=.5,Pe=new go.PathFigure((ue-le)*z,pe*ee,!1);return ae.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ue*z,(pe-le)*ee,(ue-le)*z,(pe-re)*ee,(ue-re)*z,(pe-le)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+le)*z,pe*ee,(ue+re)*z,(pe-le)*ee,(ue+le)*z,(pe-re)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ue*z,(pe+le)*ee,(ue+le)*z,(pe+re)*ee,(ue+re)*z,(pe+le)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue-le)*z,pe*ee,(ue-re)*z,(pe+le)*ee,(ue-le)*z,(pe+re)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Move,(ue-le+.1)*z,pe*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+le-.1)*z,pe*ee,ue*z,(pe-le)*ee,ue*z,(pe+le)*ee)),ae}),go.Shape.defineFigureGenerator("DCvoltageSource",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,.75*ee,!1);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,.25*ee)),re.add(new go.PathSegment(go.PathSegment.Move,z,0)),re.add(new go.PathSegment(go.PathSegment.Line,z,ee)),ae}),go.Shape.defineFigureGenerator("Diode",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(z,0,!1);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Line,z,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,ee)),ae.spot1=new go.Spot(0,.25),ae.spot2=new go.Spot(.5,.75),ae}),go.Shape.defineFigureGenerator("Wifi",function(fe,z,ee){var ae=new go.Geometry,re=z,le=ee;z=z*.38,ee=ee*.6;var ue=ce*.8,pe=.8,Pe=0,be=.5,Ie=(re-z)/2,Me=(le-ee)/2,Oe=new go.PathFigure(Pe*z+Ie,(be+pe)*ee+Me,!0);ae.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-pe)*z+Ie,be*ee+Me,(Pe-ue)*z+Ie,(be+pe)*ee+Me,(Pe-pe)*z+Ie,(be+ue)*ee+Me)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,Pe*z+Ie,(be-pe)*ee+Me,(Pe-pe)*z+Ie,(be-ue)*ee+Me,(Pe-ue)*z+Ie,(be-pe)*ee+Me)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-pe+ue*.5)*z+Ie,be*ee+Me,Pe*z+Ie,(be-pe)*ee+Me,(Pe-pe+ue*.5)*z+Ie,(be-ue)*ee+Me)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,Pe*z+Ie,(be+pe)*ee+Me,(Pe-pe+ue*.5)*z+Ie,(be+ue)*ee+Me,Pe*z+Ie,(be+pe)*ee+Me).close()),ue=ce*.4,pe=.4,Pe=.2,be=.5;var Te=new go.PathFigure(Pe*z+Ie,(be+pe)*ee+Me,!0);ae.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-pe)*z+Ie,be*ee+Me,(Pe-ue)*z+Ie,(be+pe)*ee+Me,(Pe-pe)*z+Ie,(be+ue)*ee+Me)),Te.add(new go.PathSegment(go.PathSegment.Bezier,Pe*z+Ie,(be-pe)*ee+Me,(Pe-pe)*z+Ie,(be-ue)*ee+Me,(Pe-ue)*z+Ie,(be-pe)*ee+Me)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-pe+ue*.5)*z+Ie,be*ee+Me,Pe*z+Ie,(be-pe)*ee+Me,(Pe-pe+ue*.5)*z+Ie,(be-ue)*ee+Me)),Te.add(new go.PathSegment(go.PathSegment.Bezier,Pe*z+Ie,(be+pe)*ee+Me,(Pe-pe+ue*.5)*z+Ie,(be+ue)*ee+Me,Pe*z+Ie,(be+pe)*ee+Me).close()),ue=ce*.2,pe=.2,Pe=.5,be=.5;var je=new go.PathFigure((Pe-pe)*z+Ie,be*ee+Me,!0);ae.add(je),je.add(new go.PathSegment(go.PathSegment.Bezier,Pe*z+Ie,(be-pe)*ee+Me,(Pe-pe)*z+Ie,(be-ue)*ee+Me,(Pe-ue)*z+Ie,(be-pe)*ee+Me)),je.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+pe)*z+Ie,be*ee+Me,(Pe+ue)*z+Ie,(be-pe)*ee+Me,(Pe+pe)*z+Ie,(be-ue)*ee+Me)),je.add(new go.PathSegment(go.PathSegment.Bezier,Pe*z+Ie,(be+pe)*ee+Me,(Pe+pe)*z+Ie,(be+ue)*ee+Me,(Pe+ue)*z+Ie,(be+pe)*ee+Me)),je.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-pe)*z+Ie,be*ee+Me,(Pe-ue)*z+Ie,(be+pe)*ee+Me,(Pe-pe)*z+Ie,(be+ue)*ee+Me)),ue=ce*.4,pe=.4,Pe=.8,be=.5;var ze=new go.PathFigure(Pe*z+Ie,(be-pe)*ee+Me,!0);ae.add(ze),ze.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+pe)*z+Ie,be*ee+Me,(Pe+ue)*z+Ie,(be-pe)*ee+Me,(Pe+pe)*z+Ie,(be-ue)*ee+Me)),ze.add(new go.PathSegment(go.PathSegment.Bezier,Pe*z+Ie,(be+pe)*ee+Me,(Pe+pe)*z+Ie,(be+ue)*ee+Me,(Pe+ue)*z+Ie,(be+pe)*ee+Me)),ze.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+pe-ue*.5)*z+Ie,be*ee+Me,Pe*z+Ie,(be+pe)*ee+Me,(Pe+pe-ue*.5)*z+Ie,(be+ue)*ee+Me)),ze.add(new go.PathSegment(go.PathSegment.Bezier,Pe*z+Ie,(be-pe)*ee+Me,(Pe+pe-ue*.5)*z+Ie,(be-ue)*ee+Me,Pe*z+Ie,(be-pe)*ee+Me).close()),ue=ce*.8,pe=.8,Pe=1,be=.5;var $e=new go.PathFigure(Pe*z+Ie,(be-pe)*ee+Me,!0);return ae.add($e),$e.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+pe)*z+Ie,be*ee+Me,(Pe+ue)*z+Ie,(be-pe)*ee+Me,(Pe+pe)*z+Ie,(be-ue)*ee+Me)),$e.add(new go.PathSegment(go.PathSegment.Bezier,Pe*z+Ie,(be+pe)*ee+Me,(Pe+pe)*z+Ie,(be+ue)*ee+Me,(Pe+ue)*z+Ie,(be+pe)*ee+Me)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+pe-ue*.5)*z+Ie,be*ee+Me,Pe*z+Ie,(be+pe)*ee+Me,(Pe+pe-ue*.5)*z+Ie,(be+ue)*ee+Me)),$e.add(new go.PathSegment(go.PathSegment.Bezier,Pe*z+Ie,(be-pe)*ee+Me,(Pe+pe-ue*.5)*z+Ie,(be-ue)*ee+Me,Pe*z+Ie,(be-pe)*ee+Me).close()),ae}),go.Shape.defineFigureGenerator("Email",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,0,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z,0)),re.add(new go.PathSegment(go.PathSegment.Line,z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var le=new go.PathFigure(0,0,!1);return ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.5*z,.6*ee)),le.add(new go.PathSegment(go.PathSegment.Line,z,0)),le.add(new go.PathSegment(go.PathSegment.Move,0,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.45*z,.54*ee)),le.add(new go.PathSegment(go.PathSegment.Move,z,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.55*z,.54*ee)),ae}),go.Shape.defineFigureGenerator("Ethernet",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(.35*z,0,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.65*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,.65*z,.4*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.35*z,.4*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.35*z,0).close());var le=new go.PathFigure(.1*z,ee,!0,!0);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.4*z,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.4*z,.6*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.1*z,.6*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.1*z,ee).close());var ue=new go.PathFigure(.6*z,ee,!0,!0);ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.9*z,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.9*z,.6*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*z,.6*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*z,ee).close());var pe=new go.PathFigure(0,.5*ee,!1);return ae.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,z,.5*ee)),pe.add(new go.PathSegment(go.PathSegment.Move,.5*z,.5*ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.5*z,.4*ee)),pe.add(new go.PathSegment(go.PathSegment.Move,.75*z,.5*ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.75*z,.6*ee)),pe.add(new go.PathSegment(go.PathSegment.Move,.25*z,.5*ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.25*z,.6*ee)),ae}),go.Shape.defineFigureGenerator("Power",function(fe,z,ee){var ae=new go.Geometry,re=ce*.4,le=.4,ue=.5,pe=.5,Pe=He(),be=He(),Ie=He(),Me=He();Ze(ue,pe-le,ue+re,pe-le,ue+le,pe-re,ue+le,pe,.5,Pe,Pe,be,Ie,Me);var Oe=We(be.x,be.y),Te=new go.PathFigure(be.x*z,be.y*ee,!0);ae.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,(ue+le)*z,pe*ee,Ie.x*z,Ie.y*ee,Me.x*z,Me.y*ee)),Te.add(new go.PathSegment(go.PathSegment.Bezier,ue*z,(pe+le)*ee,(ue+le)*z,(pe+re)*ee,(ue+re)*z,(pe+le)*ee)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(ue-le)*z,pe*ee,(ue-re)*z,(pe+le)*ee,(ue-le)*z,(pe+re)*ee)),Ze(ue-le,pe,ue-le,pe-re,ue-re,pe-le,ue,pe-le,.5,Ie,Me,be,Pe,Pe),Te.add(new go.PathSegment(go.PathSegment.Bezier,be.x*z,be.y*ee,Ie.x*z,Ie.y*ee,Me.x*z,Me.y*ee)),re=ce*.3,le=.3,Ze(ue-le,pe,ue-le,pe-re,ue-re,pe-le,ue,pe-le,.5,Ie,Me,be,Pe,Pe),Te.add(new go.PathSegment(go.PathSegment.Line,be.x*z,be.y*ee)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(ue-le)*z,pe*ee,Me.x*z,Me.y*ee,Ie.x*z,Ie.y*ee)),Te.add(new go.PathSegment(go.PathSegment.Bezier,ue*z,(pe+le)*ee,(ue-le)*z,(pe+re)*ee,(ue-re)*z,(pe+le)*ee)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(ue+le)*z,pe*ee,(ue+re)*z,(pe+le)*ee,(ue+le)*z,(pe+re)*ee)),Ze(ue,pe-le,ue+re,pe-le,ue+le,pe-re,ue+le,pe,.5,Pe,Pe,be,Ie,Me),Te.add(new go.PathSegment(go.PathSegment.Bezier,be.x*z,be.y*ee,Me.x*z,Me.y*ee,Ie.x*z,Ie.y*ee).close());var Te=new go.PathFigure(.45*z,0,!0);return ae.add(Te),Te.add(new go.PathSegment(go.PathSegment.Line,.45*z,.5*ee)),Te.add(new go.PathSegment(go.PathSegment.Line,.55*z,.5*ee)),Te.add(new go.PathSegment(go.PathSegment.Line,.55*z,0).close()),gt(Pe),gt(be),gt(Ie),gt(Me),gt(Oe),ae.spot1=new go.Spot(.25,.45),ae.spot2=new go.Spot(.75,.8),ae}),go.Shape.defineFigureGenerator("Fallout",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,ee/2,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Arc,180,360,z/2,ee/2,z/2,ee/2));function le(ue,pe,Pe){ue.add(new go.PathSegment(go.PathSegment.Move,(.3+pe)*z,(.8+Pe)*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,(.5+pe)*z,(.5+Pe)*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,(.1+pe)*z,(.5+Pe)*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,(.3+pe)*z,(.8+Pe)*ee).close())}return le(re,0,0),le(re,.4,0),le(re,.2,-.3),ae}),go.Shape.defineFigureGenerator("IrritationHazard",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(.2*z,0,!0);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,.3*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.8*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,z,.2*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.7*z,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,.8*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.8*z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,.7*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.2*z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,.8*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.3*z,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,.2*ee).close()),ae.spot1=new go.Spot(.3,.3),ae.spot2=new go.Spot(.7,.7),ae}),go.Shape.defineFigureGenerator("ElectricalHazard",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(.37*z,0,!0);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,.11*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.77*z,.04*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.33*z,.49*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,.37*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.63*z,.86*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.77*z,.91*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.34*z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.34*z,.78*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.44*z,.8*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.65*z,.56*ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,.68*ee).close()),ae}),go.Shape.defineFigureGenerator("FireHazard",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(.1*z,ee,!0);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.29*z,0,-.25*z,.63*ee,.45*z,.44*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.51*z,.42*ee,.48*z,.17*ee,.54*z,.35*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.59*z,.18*ee,.59*z,.29*ee,.58*z,.28*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.75*z,.6*ee,.8*z,.34*ee,.88*z,.43*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.88*z,.31*ee,.87*z,.48*ee,.88*z,.43*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.9*z,ee,1.17*z,.76*ee,.82*z,.8*ee).close()),ae.spot1=new go.Spot(.07,.445),ae.spot2=new go.Spot(.884,.958),ae}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(fe,z,ee){var ae=new go.Geometry,re=.5,le=0,ue=0,pe=re*ce,Pe=.4*Math.SQRT2/2+.5,be=.5-.5*Math.SQRT2/2,Ie=1,Me=.5,Oe=.5,Te=0,je=new go.PathFigure(Pe*z,(1-be)*ee,!1);return ae.add(je),je.add(new go.PathSegment(go.PathSegment.Bezier,Ie*z,Me*ee,Ie*z,.7*ee,Ie*z,Me*ee)),je.add(new go.PathSegment(go.PathSegment.Bezier,(Oe+le)*z,(Te+le)*ee,(.5+re+le)*z,(.5-pe+le)*ee,(.5+pe+le)*z,(.5-re+le)*ee)),je.add(new go.PathSegment(go.PathSegment.Bezier,(.5-re+le)*z,(.5+ue)*ee,(.5-pe+le)*z,(.5-re+ue)*ee,(.5-re+le)*z,(.5-pe+ue)*ee)),je.add(new go.PathSegment(go.PathSegment.Bezier,(.35+le)*z,.9*ee,(.5-re+le)*z,(.5+pe+ue)*ee,(.5-pe+le)*z,.9*ee)),je.add(new go.PathSegment(go.PathSegment.Move,(.25+le)*z,.8*ee)),je.add(new go.PathSegment(go.PathSegment.Line,(.35+le)*z,.9*ee)),je.add(new go.PathSegment(go.PathSegment.Line,(.2+le)*z,.95*ee)),ae}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,0,!1);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,ee)),re.add(new go.PathSegment(go.PathSegment.Move,.5*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,ee)),re.add(new go.PathSegment(go.PathSegment.Move,z,0)),re.add(new go.PathSegment(go.PathSegment.Line,z,ee)),ae}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,0,!1);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z,0)),re.add(new go.PathSegment(go.PathSegment.Move,0,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Move,0,ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,ee)),ae}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,0,!1);ae.add(re);var le=new go.PathFigure(z,ee,!1);ae.add(le);var ue=new go.PathFigure(0,.5*ee,!1);return ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*z,.5*ee,.2*z,.35*ee,.3*z,.35*ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,z,.5*ee,.7*z,.65*ee,.8*z,.65*ee)),ae}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,.5*ee,!0);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,0)),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,ee).close()),ae}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,.2*ee,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z,.2*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,.8*ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,.8*ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,.8*ee).close());var re=new go.PathFigure(0,.2*ee,!1);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,.2*ee)),ae}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(.7*z,ee,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.3*z,ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.3*z,0,.6*z,.5*ee,0,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.7*z,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,.7*z,ee,.4*z,.5*ee,z,.5*ee).close());var le=new go.PathFigure(.45*z,.73*ee,!1);return ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*z,.73*ee)),le.add(new go.PathSegment(go.PathSegment.Move,.38*z,.5*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.63*z,.5*ee)),le.add(new go.PathSegment(go.PathSegment.Move,.31*z,.27*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.56*z,.27*ee)),ae}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,0,!1);ae.add(re);var le=new go.PathFigure(.335*z,(1-.555)*ee,!0);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.335*z,(1-.405)*ee)),le.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*z,(1-.405)*ee)),le.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*z,(1-.555)*ee)),le.add(new go.PathSegment(go.PathSegment.Bezier,z,.68*ee,(1-.12)*z,.46*ee,(1-.02)*z,.54*ee)),le.add(new go.PathSegment(go.PathSegment.Line,z,ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,.68*ee)),le.add(new go.PathSegment(go.PathSegment.Bezier,.335*z,(1-.555)*ee,.02*z,.54*ee,.12*z,.46*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.365*z,(1-.595)*ee));var ue=.5-.285,pe=.5,Pe=ue,be=Math.PI/4,Ie=4*(1-Math.cos(be))/(3*Math.sin(be)),Me=Ie*.5,Oe=ue,Te=ue,je=Ie*Oe,ze=Ie*Te;le.add(new go.PathSegment(go.PathSegment.Bezier,(pe-Oe)*z,Pe*ee,(pe-(je+Oe)/2)*z,(Pe+(Te+ze)/2)*ee,(pe-Oe)*z,(Pe+ze)*ee)),le.add(new go.PathSegment(go.PathSegment.Bezier,pe*z,(Pe-Te)*ee,(pe-Oe)*z,(Pe-ze)*ee,(pe-je)*z,(Pe-Te)*ee)),le.add(new go.PathSegment(go.PathSegment.Bezier,(pe+Oe)*z,Pe*ee,(pe+je)*z,(Pe-Te)*ee,(pe+Oe)*z,(Pe-ze)*ee)),le.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*z,(1-.595)*ee,(pe+Oe)*z,(Pe+ze)*ee,(pe+(je+Oe)/2)*z,(Pe+(Te+ze)/2)*ee)),le.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*z,(1-.595)*ee)),le.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*z,(1-.555)*ee)),le.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*z,(1-.405)*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.335*z,(1-.405)*ee));var $e=new go.PathFigure(.2*z,ee,!1);ae.add($e),$e.add(new go.PathSegment(go.PathSegment.Line,.2*z,.8*ee));var Ue=new go.PathFigure(.8*z,ee,!1);return ae.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Line,.8*z,.8*ee)),ae}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(.1*z,0,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.9*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,.9*z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.1*z,ee).close());var le=new go.PathFigure(.2*z,.2*ee,!1);return ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.8*z,.2*ee)),le.add(new go.PathSegment(go.PathSegment.Move,.2*z,.4*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.8*z,.4*ee)),le.add(new go.PathSegment(go.PathSegment.Move,.2*z,.6*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.8*z,.6*ee)),le.add(new go.PathSegment(go.PathSegment.Move,.2*z,.8*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.8*z,.8*ee)),ae}),go.Shape.defineFigureGenerator("BpmnEventError",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,ee,!0);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.33*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,.66*z,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,0)),re.add(new go.PathSegment(go.PathSegment.Line,.66*z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.33*z,.5*ee).close()),ae}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,0,!1);ae.add(re);var le=new go.PathFigure(z,ee,!1);ae.add(le);var ue=new go.PathFigure(.1*z,ee,!0);return ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.5*z,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.9*z,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*z,.5*ee).close()),ae}),go.Shape.defineFigureGenerator("Caution",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(.05*z,ee,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.1*z,.8*ee,0,ee,0,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.45*z,.1*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.55*z,.1*ee,.5*z,0,.5*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,.95*z,.9*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.9*z,ee,z,ee,z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.05*z,ee));var le=.05;return re.add(new go.PathSegment(go.PathSegment.Move,(.5-le)*z,.875*ee)),re.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*z,.875*ee,le*z,le*ee)),re.add(new go.PathSegment(go.PathSegment.Move,.5*z,.75*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*z,.325*ee,.575*z,.725*ee,.625*z,.375*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*z,.75*ee,.375*z,.375*ee,.425*z,.725*ee)),ae}),go.Shape.defineFigureGenerator("Recycle",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(.45*z,.95*ee,!1);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.2*z,.95*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.185*z,.85*ee,.17*z,.95*ee,.15*z,.9*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.235*z,.75*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.3*z,.625*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.35*z,.65*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.275*z,.45*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.05*z,.45*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.1*z,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.05*z,.575*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.1875*z,.95*ee,0,.675*ee,0,.7*ee)),re.add(new go.PathSegment(go.PathSegment.Move,.45*z,.95*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.45*z,.775*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.22*z,.775*ee));var le=new go.PathFigure(.475*z,.2*ee,!1);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.4*z,.4*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.225*z,.3*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.275*z,.175*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.325*z,.05*ee)),le.add(new go.PathSegment(go.PathSegment.Bezier,.4*z,.05*ee,.35*z,0,.375*z,0)),le.add(new go.PathSegment(go.PathSegment.Line,.575*z,.375*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.525*z,.4*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.75*z,.475*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.85*z,.315*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.8*z,.32*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.65*z,.05*ee)),le.add(new go.PathSegment(go.PathSegment.Bezier,.575*z,0,.65*z,.05*ee,.625*z,0)),le.add(new go.PathSegment(go.PathSegment.Line,.38*z,.0105*ee));var ue=new go.PathFigure(.675*z,.575*ee,!1);return ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.875*z,.525*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,z,.775*ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.85*z,.95*ee,z,.8*ee,z,.85*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.65*z,.95*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.65*z,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.55*z,.85*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.65*z,.725*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.65*z,.775*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*z,.775*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,z,.775*ee)),ue.add(new go.PathSegment(go.PathSegment.Move,.675*z,.575*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.775*z,.775*ee)),ae}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(fe,z,ee){var ae=new go.Geometry,re=.5,le=ce*.5,ue=new go.PathFigure(z,re*ee,!0);ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,re*z,ee,z,(re+le)*ee,(re+le)*z,ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,re*ee,(re-le)*z,ee,0,(re+le)*ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,re*z,0,0,(re-le)*ee,(re-le)*z,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,z,re*ee,(re+le)*z,0,z,(re-le)*ee));var pe=new go.PathFigure(re*z,0,!1);return ae.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,re*z,.15*ee)),pe.add(new go.PathSegment(go.PathSegment.Move,re*z,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,re*z,.85*ee)),pe.add(new go.PathSegment(go.PathSegment.Move,0,re*ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.15*z,re*ee)),pe.add(new go.PathSegment(go.PathSegment.Move,z,re*ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.85*z,re*ee)),pe.add(new go.PathSegment(go.PathSegment.Move,re*z,re*ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.58*z,.1*ee)),pe.add(new go.PathSegment(go.PathSegment.Move,re*z,re*ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.78*z,.54*ee)),ae}),go.Shape.defineFigureGenerator("Package",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,.15*ee,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z,.15*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee).close());var le=new go.PathFigure(0,.15*ee,!0);return ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Line,.6*z,0)),le.add(new go.PathSegment(go.PathSegment.Line,.65*z,.15*ee).close()),ae.spot1=new go.Spot(0,.1),ae.spot2=new go.Spot(1,1),ae}),go.Shape.defineFigureGenerator("Class",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,0,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z,0)),re.add(new go.PathSegment(go.PathSegment.Line,z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var le=new go.PathFigure(0,.2*ee,!1);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z,.2*ee).close());var ue=new go.PathFigure(0,.5*ee,!1);return ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,z,.5*ee).close()),ae}),go.Shape.defineFigureGenerator("Component",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(z,ee,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z,0)),re.add(new go.PathSegment(go.PathSegment.Line,.15*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,.15*z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,ee).close());var le=new go.PathFigure(0,.2*ee,!0);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.45*z,.2*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.45*z,.4*ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,.4*ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,.2*ee).close());var ue=new go.PathFigure(0,.6*ee,!0);return ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.45*z,.6*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.45*z,.8*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.8*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.6*ee).close()),ae}),go.Shape.defineFigureGenerator("Boat Shipment",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(.15*z,.6*ee,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.15*z,.6*ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,.6*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.15*z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.85*z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,.6*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.85*z,.6*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,.15*z,.6*ee));var le=new go.PathFigure(.15*z,.6*ee,!1);return ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.85*z,.6*ee)),ae}),go.Shape.defineFigureGenerator("Customer/Supplier",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(z,ee,!0);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z,0)),re.add(new go.PathSegment(go.PathSegment.Line,.66*z,.33*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.66*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,.33*z,.33*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.33*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,0,.33*ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,ee).close()),ae}),go.Shape.defineFigureGenerator("Workcell",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,ee,!0);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Line,z,0)),re.add(new go.PathSegment(go.PathSegment.Line,z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.65*z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.65*z,.4*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.35*z,.4*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.35*z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),ae}),go.Shape.defineFigureGenerator("Supermarket",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,0,!1);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z,0)),re.add(new go.PathSegment(go.PathSegment.Line,z,.33*ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,.33*ee)),re.add(new go.PathSegment(go.PathSegment.Move,z,.33*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,.66*ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,.66*ee)),re.add(new go.PathSegment(go.PathSegment.Move,z,.66*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ae}),go.Shape.defineFigureGenerator("TruckShipment",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,0,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.6*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,.6*z,.8*ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,.8*ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var le=new go.PathFigure(z,.8*ee,!0);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z,.4*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.6*z,.4*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.6*z,.8*ee)),le.add(new go.PathSegment(go.PathSegment.Line,z,.8*ee).close());var ue=.1,pe=ce*.1,Pe=.2,be=.9,Ie=new go.PathFigure((Pe-ue)*z,be*ee,!0);ae.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Bezier,Pe*z,(be-ue)*ee,(Pe-ue)*z,(be-pe)*ee,(Pe-pe)*z,(be-ue)*ee)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+ue)*z,be*ee,(Pe+pe)*z,(be-ue)*ee,(Pe+ue)*z,(be-pe)*ee)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,Pe*z,(be+ue)*ee,(Pe+ue)*z,(be+pe)*ee,(Pe+pe)*z,(be+ue)*ee)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-ue)*z,be*ee,(Pe-pe)*z,(be+ue)*ee,(Pe-ue)*z,(be+pe)*ee).close()),ue=.1,pe=ce*.1,Pe=.8,be=.9;var Me=new go.PathFigure((Pe-ue)*z,be*ee,!0);return ae.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,Pe*z,(be-ue)*ee,(Pe-ue)*z,(be-pe)*ee,(Pe-pe)*z,(be-ue)*ee)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+ue)*z,be*ee,(Pe+pe)*z,(be-ue)*ee,(Pe+ue)*z,(be-pe)*ee)),Me.add(new go.PathSegment(go.PathSegment.Bezier,Pe*z,(be+ue)*ee,(Pe+ue)*z,(be+pe)*ee,(Pe+pe)*z,(be+ue)*ee)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-ue)*z,be*ee,(Pe-pe)*z,(be+ue)*ee,(Pe-ue)*z,(be+pe)*ee).close()),ae}),go.Shape.defineFigureGenerator("KanbanPost",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(.2*z,0,!1);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.2*z,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.8*z,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.8*z,0)),re.add(new go.PathSegment(go.PathSegment.Move,.5*z,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.2*z,ee)),re.add(new go.PathSegment(go.PathSegment.Move,.5*z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.8*z,ee)),ae}),go.Shape.defineFigureGenerator("Forklift",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,0,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.4*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,0,0));var le=new go.PathFigure(0,.5*ee,!0);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,.8*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.5*z,.8*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.5*z,.5*ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,.5*ee));var ue=new go.PathFigure(.5*z,.8*ee,!0);ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.5*z,.1*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.55*z,.1*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.55*z,.8*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*z,.8*ee));var pe=new go.PathFigure(.5*z,.7*ee,!1);ae.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,z,.7*ee));var Pe=.1,be=ce*.1,Ie=.1,Me=.9,Oe=new go.PathFigure((Ie-Pe)*z,Me*ee,!0);ae.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,Ie*z,(Me-Pe)*ee,(Ie-Pe)*z,(Me-be)*ee,(Ie-be)*z,(Me-Pe)*ee)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(Ie+Pe)*z,Me*ee,(Ie+be)*z,(Me-Pe)*ee,(Ie+Pe)*z,(Me-be)*ee)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,Ie*z,(Me+Pe)*ee,(Ie+Pe)*z,(Me+be)*ee,(Ie+be)*z,(Me+Pe)*ee)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(Ie-Pe)*z,Me*ee,(Ie-be)*z,(Me+Pe)*ee,(Ie-Pe)*z,(Me+be)*ee)),Pe=.1,be=ce*.1,Ie=.4,Me=.9;var Te=new go.PathFigure((Ie-Pe)*z,Me*ee,!0);return ae.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,Ie*z,(Me-Pe)*ee,(Ie-Pe)*z,(Me-be)*ee,(Ie-be)*z,(Me-Pe)*ee)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(Ie+Pe)*z,Me*ee,(Ie+be)*z,(Me-Pe)*ee,(Ie+Pe)*z,(Me-be)*ee)),Te.add(new go.PathSegment(go.PathSegment.Bezier,Ie*z,(Me+Pe)*ee,(Ie+Pe)*z,(Me+be)*ee,(Ie+be)*z,(Me+Pe)*ee)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(Ie-Pe)*z,Me*ee,(Ie-be)*z,(Me+Pe)*ee,(Ie-Pe)*z,(Me+be)*ee)),ae}),go.Shape.defineFigureGenerator("RailShipment",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(.1*z,.4*ee,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.45*z,.4*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.45*z,.9*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.1*z,.9*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.1*z,.4*ee).close());var le=new go.PathFigure(.45*z,.7*ee,!1);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.55*z,.7*ee));var ue=new go.PathFigure(.55*z,.4*ee,!0);ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.9*z,.4*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.9*z,.9*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.55*z,.9*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.55*z,.4*ee).close());var Ie=.05,Me=ce*.05,Oe=.175,Te=.95,pe=new go.PathFigure((Oe-Ie)*z,Te*ee,!0);ae.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,Oe*z,(Te-Ie)*ee,(Oe-Ie)*z,(Te-Me)*ee,(Oe-Me)*z,(Te-Ie)*ee)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(Oe+Ie)*z,Te*ee,(Oe+Me)*z,(Te-Ie)*ee,(Oe+Ie)*z,(Te-Me)*ee)),pe.add(new go.PathSegment(go.PathSegment.Bezier,Oe*z,(Te+Ie)*ee,(Oe+Ie)*z,(Te+Me)*ee,(Oe+Me)*z,(Te+Ie)*ee)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(Oe-Ie)*z,Te*ee,(Oe-Me)*z,(Te+Ie)*ee,(Oe-Ie)*z,(Te+Me)*ee));var Ie=.05,Me=ce*.05,Oe=.375,Te=.95,Pe=new go.PathFigure((Oe-Ie)*z,Te*ee,!0);ae.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,Oe*z,(Te-Ie)*ee,(Oe-Ie)*z,(Te-Me)*ee,(Oe-Me)*z,(Te-Ie)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(Oe+Ie)*z,Te*ee,(Oe+Me)*z,(Te-Ie)*ee,(Oe+Ie)*z,(Te-Me)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,Oe*z,(Te+Ie)*ee,(Oe+Ie)*z,(Te+Me)*ee,(Oe+Me)*z,(Te+Ie)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(Oe-Ie)*z,Te*ee,(Oe-Me)*z,(Te+Ie)*ee,(Oe-Ie)*z,(Te+Me)*ee));var Ie=.05,Me=ce*.05,Oe=.625,Te=.95,be=new go.PathFigure((Oe-Ie)*z,Te*ee,!0);ae.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,Oe*z,(Te-Ie)*ee,(Oe-Ie)*z,(Te-Me)*ee,(Oe-Me)*z,(Te-Ie)*ee)),be.add(new go.PathSegment(go.PathSegment.Bezier,(Oe+Ie)*z,Te*ee,(Oe+Me)*z,(Te-Ie)*ee,(Oe+Ie)*z,(Te-Me)*ee)),be.add(new go.PathSegment(go.PathSegment.Bezier,Oe*z,(Te+Ie)*ee,(Oe+Ie)*z,(Te+Me)*ee,(Oe+Me)*z,(Te+Ie)*ee)),be.add(new go.PathSegment(go.PathSegment.Bezier,(Oe-Ie)*z,Te*ee,(Oe-Me)*z,(Te+Ie)*ee,(Oe-Ie)*z,(Te+Me)*ee));var Ie=.05,Me=ce*.05,Oe=.825,Te=.95,je=new go.PathFigure((Oe-Ie)*z,Te*ee,!0);ae.add(je),je.add(new go.PathSegment(go.PathSegment.Bezier,Oe*z,(Te-Ie)*ee,(Oe-Ie)*z,(Te-Me)*ee,(Oe-Me)*z,(Te-Ie)*ee)),je.add(new go.PathSegment(go.PathSegment.Bezier,(Oe+Ie)*z,Te*ee,(Oe+Me)*z,(Te-Ie)*ee,(Oe+Ie)*z,(Te-Me)*ee)),je.add(new go.PathSegment(go.PathSegment.Bezier,Oe*z,(Te+Ie)*ee,(Oe+Ie)*z,(Te+Me)*ee,(Oe+Me)*z,(Te+Ie)*ee)),je.add(new go.PathSegment(go.PathSegment.Bezier,(Oe-Ie)*z,Te*ee,(Oe-Me)*z,(Te+Ie)*ee,(Oe-Ie)*z,(Te+Me)*ee).close());var ze=new go.PathFigure(0,ee,!1);return ae.add(ze),ze.add(new go.PathSegment(go.PathSegment.Line,z,ee).close()),ae}),go.Shape.defineFigureGenerator("Warehouse",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,0,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z,0)),re.add(new go.PathSegment(go.PathSegment.Line,z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var le=new go.PathFigure(0,.2*ee,!1);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z,.2*ee).close());var ue=new go.PathFigure(.15*z,ee,!0);ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.15*z,.5*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*z,.5*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*z,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.15*z,ee).close());var pe=.05,Pe=ce*.05,be=.35,Ie=.775,Me=new go.PathFigure((be-pe)*z,Ie*ee,!0);return ae.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,be*z,(Ie-pe)*ee,(be-pe)*z,(Ie-Pe)*ee,(be-Pe)*z,(Ie-pe)*ee)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(be+pe)*z,Ie*ee,(be+Pe)*z,(Ie-pe)*ee,(be+pe)*z,(Ie-Pe)*ee)),Me.add(new go.PathSegment(go.PathSegment.Bezier,be*z,(Ie+pe)*ee,(be+pe)*z,(Ie+Pe)*ee,(be+Pe)*z,(Ie+pe)*ee)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(be-pe)*z,Ie*ee,(be-Pe)*z,(Ie+pe)*ee,(be-pe)*z,(Ie+Pe)*ee).close()),ae}),go.Shape.defineFigureGenerator("ControlCenter",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,ee,!0);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,.8*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.1*z,.8*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.1*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,.9*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,.9*z,.8*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,.8*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee)),re.add(new go.PathSegment(go.PathSegment.Move,.1*z,.8*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.9*z,.8*ee).close()),ae}),go.Shape.defineFigureGenerator("Bluetooth",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,.75*ee,!1);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,.75*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,.25*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,.75*ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,.25*ee)),ae}),go.Shape.defineFigureGenerator("Bookmark",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,0,!0);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,.6*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,0)),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Move,.2*z,.2*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.8*z,.2*ee)),re.add(new go.PathSegment(go.PathSegment.Move,.2*z,.4*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.8*z,.4*ee)),ae}),go.Shape.defineFigureGenerator("Bookmark",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,0,!0);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,.6*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,0)),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Move,.2*z,.2*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.8*z,.2*ee)),re.add(new go.PathSegment(go.PathSegment.Move,.2*z,.4*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.8*z,.4*ee)),ae}),go.Shape.defineFigureGenerator("Globe",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(.5*z,0,!1);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,ee)),re.add(new go.PathSegment(go.PathSegment.Move,0,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Move,.5*z,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,z,.5*ee,.75*z,0,z,.25*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*z,ee,z,.75*ee,.75*z,ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ee,.25*z,ee,0,.75*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*z,0,0,.25*ee,.25*z,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*z,ee,.15*z,.25*ee,.15*z,.75*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*z,0,.85*z,.75*ee,.85*z,.25*ee)),re.add(new go.PathSegment(go.PathSegment.Move,.1675*z,.15*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.8325*z,.15*ee,.35*z,.3*ee,.65*z,.3*ee)),re.add(new go.PathSegment(go.PathSegment.Move,.1675*z,.85*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.8325*z,.85*ee,.35*z,.7*ee,.65*z,.7*ee)),ae}),go.Shape.defineFigureGenerator("Wave",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,.25*ee,!1);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.3*z,.25*ee,.1*z,0,.2*z,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,.7*z,.25*ee,.425*z,.5*ee,.575*z,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,z,.25*ee,.8*z,0,.9*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,z,.75*ee)),re.add(new go.PathSegment(go.PathSegment.Move,0,.25*ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,.75*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.3*z,.75*ee,.1*z,.5*ee,.2*z,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.7*z,.75*ee,.425*z,ee,.575*z,ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,z,.75*ee,.8*z,.5*ee,.9*z,.5*ee)),ae}),go.Shape.defineFigureGenerator("Operator",function(fe,z,ee){var ae=new go.Geometry,re=.3,le=ce*.3,ue=.5,pe=.7,Pe=new go.PathFigure((ue-re)*z,pe*ee,!0);ae.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ue*z,(pe-re)*ee,(ue-re)*z,(pe-le)*ee,(ue-le)*z,(pe-re)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re)*z,pe*ee,(ue+le)*z,(pe-re)*ee,(ue+re)*z,(pe-le)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ue*z,(pe+re)*ee,(ue+re)*z,(pe+le)*ee,(ue+le)*z,(pe+re)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re)*z,pe*ee,(ue-le)*z,(pe+re)*ee,(ue-re)*z,(pe+le)*ee));var be=new go.PathFigure(0,.7*ee,!1);return ae.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,z,.7*ee,0,0,z,0)),ae}),go.Shape.defineFigureGenerator("TripleFanBlades",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(.5*z,0,!0);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*z,.65*ee,.65*z,.3*ee,.65*z,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*z,0,.35*z,.5*ee,.35*z,.3*ee)),re.add(new go.PathSegment(go.PathSegment.Move,.5*z,.65*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,ee,.3*z,.6*ee,.1*z,.8*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*z,.65*ee,.2*z,ee,.35*z,.95*ee)),re.add(new go.PathSegment(go.PathSegment.Move,.5*z,.65*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,z,ee,.7*z,.6*ee,.9*z,.8*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*z,.65*ee,.8*z,ee,.65*z,.95*ee)),ae}),go.Shape.defineFigureGenerator("CentrifugalPump",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(z,0,!0);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.4*z,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ee,0,.075*ee,0,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.4*z,ee,0,ee,.4*z,ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.8*z,.4*ee,.8*z,ee,.85*z,.6*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,.4*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,0)),ae}),go.Shape.defineFigureGenerator("Battery",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,ee,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,.1*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,.1*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee)),re.add(new go.PathSegment(go.PathSegment.Move,.4*z,.1*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.4*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,.6*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,.6*z,.1*ee));var le=new go.PathFigure(0,.6*ee,!1);return ae.add(le),le.add(new go.PathSegment(go.PathSegment.Move,0,.4*ee)),le.add(new go.PathSegment(go.PathSegment.Line,z,.4*ee)),ae}),go.Shape.defineFigureGenerator("Delete",function(fe,z,ee){var ae=new go.Geometry,re=.5,le=ce*.5,ue=.5,pe=.5,Pe=new go.PathFigure((ue-re)*z,pe*ee,!0);ae.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ue*z,(pe-re)*ee,(ue-re)*z,(pe-le)*ee,(ue-le)*z,(pe-re)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re)*z,pe*ee,(ue+le)*z,(pe-re)*ee,(ue+re)*z,(pe-le)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ue*z,(pe+re)*ee,(ue+re)*z,(pe+le)*ee,(ue+le)*z,(pe+re)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re)*z,pe*ee,(ue-le)*z,(pe+re)*ee,(ue-re)*z,(pe+le)*ee));var be=new go.PathFigure(.15*z,.5*ee,!1);return ae.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.85*z,.5*ee)),ae}),go.Shape.defineFigureGenerator("Flag",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,.1*ee,!0);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,ee)),re.add(new go.PathSegment(go.PathSegment.Move,0,.1*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*z,.1*ee,.15*z,0,.35*z,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,z,.1*ee,.65*z,.2*ee,.85*z,.2*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*z,.5*ee,.85*z,.6*ee,.65*z,.6*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ee,.35*z,.4*ee,.15*z,.4*ee).close()),ae}),go.Shape.defineFigureGenerator("Help",function(fe,z,ee){var ae=new go.Geometry,re=.5,le=ce*.5,ue=.5,pe=.5,Pe=new go.PathFigure((ue-re)*z,pe*ee,!1);ae.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ue*z,(pe-re)*ee,(ue-re)*z,(pe-le)*ee,(ue-le)*z,(pe-re)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re)*z,pe*ee,(ue+le)*z,(pe-re)*ee,(ue+re)*z,(pe-le)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ue*z,(pe+re)*ee,(ue+re)*z,(pe+le)*ee,(ue+le)*z,(pe+re)*ee)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re)*z,pe*ee,(ue-le)*z,(pe+re)*ee,(ue-re)*z,(pe+le)*ee).close()),re=.05,le=ce*.05,ue=.5,pe=.8;var be=new go.PathFigure((ue-re)*z,pe*ee,!1);return ae.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ue*z,(pe-re)*ee,(ue-re)*z,(pe-le)*ee,(ue-le)*z,(pe-re)*ee)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re)*z,pe*ee,(ue+le)*z,(pe-re)*ee,(ue+re)*z,(pe-le)*ee)),be.add(new go.PathSegment(go.PathSegment.Bezier,ue*z,(pe+re)*ee,(ue+re)*z,(pe+le)*ee,(ue+le)*z,(pe+re)*ee)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re)*z,pe*ee,(ue-le)*z,(pe+re)*ee,(ue-re)*z,(pe+le)*ee).close()),be.add(new go.PathSegment(go.PathSegment.Move,.5*z,.7*ee)),be.add(new go.PathSegment(go.PathSegment.Line,.5*z,.5*ee)),be.add(new go.PathSegment(go.PathSegment.Bezier,.5*z,.2*ee,.75*z,.475*ee,.75*z,.225*ee)),be.add(new go.PathSegment(go.PathSegment.Bezier,.3*z,.35*ee,.4*z,.2*ee,.3*z,.25*ee)),ae}),go.Shape.defineFigureGenerator("Location",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(.5*z,ee,!0).add(new go.PathSegment(go.PathSegment.Line,.75*z,.5*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.5*z,0,.975*z,.025*ee,.5*z,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*z,.5*ee,.5*z,0,.025*z,.025*ee).close()).add(new go.PathSegment(go.PathSegment.Move,.5*z,.2*ee)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*z,.3*ee,.1*z,.1*ee).close()))}),go.Shape.defineFigureGenerator("Lock",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,.5*ee,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*ee));var le=new go.PathFigure(.2*z,.5*ee,!1);return ae.add(le),le.add(new go.PathSegment(go.PathSegment.Move,.2*z,.5*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.2*z,.3*ee)),le.add(new go.PathSegment(go.PathSegment.Bezier,.8*z,.3*ee,.25*z,0,.75*z,0)),le.add(new go.PathSegment(go.PathSegment.Line,.8*z,.5*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.8*z,.3*ee)),ae}),go.Shape.defineFigureGenerator("Unlocked",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,.5*ee,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,.5*ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*ee));var le=new go.PathFigure(.2*z,.5*ee,!1);return ae.add(le),le.add(new go.PathSegment(go.PathSegment.Move,.2*z,.5*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.2*z,.3*ee)),le.add(new go.PathSegment(go.PathSegment.Bezier,.8*z,.3*ee,.25*z,0,.75*z,0)),le.add(new go.PathSegment(go.PathSegment.Line,.8*z,.35*ee)),ae}),go.Shape.defineFigureGenerator("Gear",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(.9375*z,.56246875*ee,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*z,.4375*ee)).add(new go.PathSegment(go.PathSegment.Line,.80621875*z,.4375*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.763*z,.3316875*ee,.79840625*z,.39915625*ee,.7834375*z,.3635*ee)).add(new go.PathSegment(go.PathSegment.Line,.8566875*z,.23796875*ee)).add(new go.PathSegment(go.PathSegment.Line,.76825*z,.14959375*ee)).add(new go.PathSegment(go.PathSegment.Line,.67596875*z,.24184375*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*z,.19378125*ee,.64228125*z,.2188125*ee,.603875*z,.2021875*ee)).add(new go.PathSegment(go.PathSegment.Line,.5625*z,.0625*ee)).add(new go.PathSegment(go.PathSegment.Line,.4375*z,.0625*ee)).add(new go.PathSegment(go.PathSegment.Line,.4375*z,.19378125*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*z,.239375*ee,.39759375*z,.20190625*ee,.36053125*z,.2176875*ee)).add(new go.PathSegment(go.PathSegment.Line,.2379375*z,.14959375*ee)).add(new go.PathSegment(go.PathSegment.Line,.14953125*z,.2379375*ee)).add(new go.PathSegment(go.PathSegment.Line,.23934375*z,.3278125*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*z,.4375*ee,.21765625*z,.36059375*ee,.201875*z,.397625*ee)).add(new go.PathSegment(go.PathSegment.Line,.0625*z,.4375*ee)).add(new go.PathSegment(go.PathSegment.Line,.0625*z,.5625*ee)).add(new go.PathSegment(go.PathSegment.Line,.1938125*z,.5625*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*z,.67596875*ee,.20221875*z,.603875*ee,.21884375*z,.64228125*ee)).add(new go.PathSegment(go.PathSegment.Line,.1495625*z,.76825*ee)).add(new go.PathSegment(go.PathSegment.Line,.238*z,.8566875*ee)).add(new go.PathSegment(go.PathSegment.Line,.3316875*z,.76296875*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*z,.80621875*ee,.36353125*z,.78340625*ee,.3991875*z,.79840625*ee)).add(new go.PathSegment(go.PathSegment.Line,.43753125*z,.9375*ee)).add(new go.PathSegment(go.PathSegment.Line,.5625*z,.9375*ee)).add(new go.PathSegment(go.PathSegment.Line,.5625*z,.80621875*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*z,.760625*ee,.602375*z,.79809375*ee,.63946875*z,.78234375*ee)).add(new go.PathSegment(go.PathSegment.Line,.76828125*z,.8566875*ee)).add(new go.PathSegment(go.PathSegment.Line,.85671875*z,.76825*ee)).add(new go.PathSegment(go.PathSegment.Line,.76065625*z,.67221875*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*z,.56246875*ee,.78234375*z,.63940625*ee,.798125*z,.602375*ee)).add(new go.PathSegment(go.PathSegment.Line,.9375*z,.56246875*ee).close()).add(new go.PathSegment(go.PathSegment.Move,.5*z,.6*ee)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*z,.5*ee,.1*z,.1*ee).close()))}),go.Shape.defineFigureGenerator("Hand",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,.5*ee,!0);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.1*z,.3*ee,0,.375*ee,.05*z,.325*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.45*z,.075*ee,.3*z,.225*ee,.4*z,.175*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.525*z,.075*ee,.46*z,.05*ee,.525*z,.05*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.3*z,.4*ee,.525*z,.275*ee,.475*z,.325*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.9*z,.4*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.9*z,.55*ee,z,.4*ee,z,.55*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.425*z,.55*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.6*z,.55*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.6*z,.7*ee,.675*z,.55*ee,.675*z,.7*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.4*z,.7*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.575*z,.7*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.575*z,.85*ee,.65*z,.7*ee,.65*z,.85*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.4*z,.85*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.525*z,.85*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.535*z,ee,.61*z,.85*ee,.61*z,ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ee,.435*z,ee,0,ee).close()),ae}),go.Shape.defineFigureGenerator("Map",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,.2*ee,!0);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.25*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,.2*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.75*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,z,.2*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.75*z,.8*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.25*z,.8*ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),re.add(new go.PathSegment(go.PathSegment.Move,.25*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,.25*z,.8*ee)),re.add(new go.PathSegment(go.PathSegment.Move,.5*z,.2*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,ee)),re.add(new go.PathSegment(go.PathSegment.Move,.75*z,0)),re.add(new go.PathSegment(go.PathSegment.Line,.75*z,.8*ee)),ae}),go.Shape.defineFigureGenerator("Eject",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,ee,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z,ee)),re.add(new go.PathSegment(go.PathSegment.Line,z,ee*.7)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee*.7).close());var le=new go.PathFigure(0,ee*.6,!0);return ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z,.6*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.5*z,0).close()),ae}),go.Shape.defineFigureGenerator("Pencil",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*z,.1*ee)).add(new go.PathSegment(go.PathSegment.Line,z,.9*ee)).add(new go.PathSegment(go.PathSegment.Line,.9*z,ee)).add(new go.PathSegment(go.PathSegment.Line,.1*z,.2*ee).close()))}),go.Shape.defineFigureGenerator("Building",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(z*1,ee*1,!1);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,ee*1)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee*.85)),re.add(new go.PathSegment(go.PathSegment.Line,.046*z,ee*.85)),re.add(new go.PathSegment(go.PathSegment.Line,.046*z,ee*.45)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee*.45)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee*.3)),re.add(new go.PathSegment(go.PathSegment.Line,.046*z,ee*.3)),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,ee*0)),re.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*z,ee*.3)),re.add(new go.PathSegment(go.PathSegment.Line,z,ee*.3)),re.add(new go.PathSegment(go.PathSegment.Line,z,ee*.45)),re.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*z,ee*.45)),re.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*z,ee*.85)),re.add(new go.PathSegment(go.PathSegment.Line,z,ee*.85).close());var le=new go.PathFigure(.126*z,.85*ee,!1);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.126*z,.45*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.322*z,.45*ee)),le.add(new go.PathSegment(go.PathSegment.Line,.322*z,.85*ee).close());var ue=new go.PathFigure(.402*z,.85*ee,!1);ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.402*z,.45*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.598*z,.45*ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.598*z,.85*ee).close());var pe=new go.PathFigure(.678*z,.85*ee,!1);ae.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.678*z,.45*ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.874*z,.45*ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.874*z,.85*ee).close());var Pe=new go.PathFigure(.5*z,.1*ee,!1);return ae.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*z,.3*ee)),Pe.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*z,.3*ee).close()),ae}),go.Shape.defineFigureGenerator("Staircase",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,ee*1,!0);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z*.2,ee*1)),re.add(new go.PathSegment(go.PathSegment.Line,z*.2,ee*.8)),re.add(new go.PathSegment(go.PathSegment.Line,z*.4,ee*.8)),re.add(new go.PathSegment(go.PathSegment.Line,z*.4,ee*.6)),re.add(new go.PathSegment(go.PathSegment.Line,z*.6,ee*.6)),re.add(new go.PathSegment(go.PathSegment.Line,z*.6,ee*.4)),re.add(new go.PathSegment(go.PathSegment.Line,z*.8,ee*.4)),re.add(new go.PathSegment(go.PathSegment.Line,z*.8,ee*.2)),re.add(new go.PathSegment(go.PathSegment.Line,z*1,ee*.2)),re.add(new go.PathSegment(go.PathSegment.Line,z*1,ee*.15)),re.add(new go.PathSegment(go.PathSegment.Line,z*.75,ee*.15)),re.add(new go.PathSegment(go.PathSegment.Line,z*.75,ee*.35)),re.add(new go.PathSegment(go.PathSegment.Line,z*.55,ee*.35)),re.add(new go.PathSegment(go.PathSegment.Line,z*.55,ee*.55)),re.add(new go.PathSegment(go.PathSegment.Line,z*.35,ee*.55)),re.add(new go.PathSegment(go.PathSegment.Line,z*.35,ee*.75)),re.add(new go.PathSegment(go.PathSegment.Line,z*.15,ee*.75)),re.add(new go.PathSegment(go.PathSegment.Line,z*.15,ee*.95)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee*.95).close()),ae}),go.Shape.defineFigureGenerator("5Bars",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,ee*1,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z*.184,ee*1)),re.add(new go.PathSegment(go.PathSegment.Line,z*.184,ee*(1-.184)).close());var le=new go.PathFigure(z*.204,ee,!0);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z*.204,ee*(1-.184))),le.add(new go.PathSegment(go.PathSegment.Line,z*.388,ee*(1-.184*2))),le.add(new go.PathSegment(go.PathSegment.Line,z*.388,ee*1).close());var ue=new go.PathFigure(z*.408,ee,!0);ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,z*.408,ee*(1-.184*2))),ue.add(new go.PathSegment(go.PathSegment.Line,z*.592,ee*(1-.184*3))),ue.add(new go.PathSegment(go.PathSegment.Line,z*.592,ee*1).close());var pe=new go.PathFigure(z*.612,ee,!0);ae.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,z*.612,ee*(1-.184*3))),pe.add(new go.PathSegment(go.PathSegment.Line,z*.796,ee*(1-.184*4))),pe.add(new go.PathSegment(go.PathSegment.Line,z*.796,ee*1).close());var Pe=new go.PathFigure(z*.816,ee,!0);return ae.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,z*.816,ee*(1-.184*4))),Pe.add(new go.PathSegment(go.PathSegment.Line,z*1,ee*(1-.184*5))),Pe.add(new go.PathSegment(go.PathSegment.Line,z*1,ee*1).close()),ae}),go.Shape.defineFigureGenerator("PC",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,0,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,ee*1)),re.add(new go.PathSegment(go.PathSegment.Line,z*.3,ee*1)),re.add(new go.PathSegment(go.PathSegment.Line,z*.3,0).close());var le=new go.PathFigure(z*.055,.07*ee,!0);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z*.245,ee*.07)),le.add(new go.PathSegment(go.PathSegment.Line,z*.245,ee*.1)),le.add(new go.PathSegment(go.PathSegment.Line,z*.055,ee*.1).close());var ue=new go.PathFigure(z*.055,.13*ee,!0);ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,z*.245,ee*.13)),ue.add(new go.PathSegment(go.PathSegment.Line,z*.245,ee*.16)),ue.add(new go.PathSegment(go.PathSegment.Line,z*.055,ee*.16).close());var pe=new go.PathFigure(z*.055,.18*ee,!0);ae.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,z*.245,ee*.18)),pe.add(new go.PathSegment(go.PathSegment.Line,z*.245,ee*.21)),pe.add(new go.PathSegment(go.PathSegment.Line,z*.055,ee*.21).close());var Pe=new go.PathFigure(z*1,0,!0);return ae.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,z*.4,0)),Pe.add(new go.PathSegment(go.PathSegment.Line,z*.4,ee*.65)),Pe.add(new go.PathSegment(go.PathSegment.Line,z*1,ee*.65).close()),ae}),go.Shape.defineFigureGenerator("Plane",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(.55*z,ee,!0);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.5*z,.6*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.4*z,.7*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.1*z,.475*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.35*z,.525*ee,0,.4*ee,.225*z,.45*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.4*z,.475*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.15*z,.35*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.2*z,.325*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.6*z,.325*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.85*z,.1*ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,.9*z,.2*ee,.975*z,0,z,.08*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.7*z,.45*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.6*z,.95*ee)),re.add(new go.PathSegment(go.PathSegment.Line,.55*z,ee).close()),ae}),go.Shape.defineFigureGenerator("Key",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(z*1,ee*.5,!0);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z*.9,.4*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z*.5,.4*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z*.5,.35*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z*.45,.35*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z*.3,.2*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z*.15,.2*ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,.35*ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,.65*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z*.15,.8*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z*.3,.8*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z*.45,.65*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z*.5,.65*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z*.5,.6*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z*.6,.6*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z*.65,.55*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z*.7,.6*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z*.75,.55*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z*.8,.6*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z*.85,.575*ee)),re.add(new go.PathSegment(go.PathSegment.Line,z*.9,.6*ee).close()),re.add(new go.PathSegment(go.PathSegment.Move,.17*z,.425*ee)),re.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*z,.5*ee,.075*z,.075*ee).close()),ae}),go.Shape.defineFigureGenerator("FilmTape",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(0,0,!1);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Arc,270,180,z*0,z*.3,z*.055)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee*1)),re.add(new go.PathSegment(go.PathSegment.Line,z*.08,ee*1)),re.add(new go.PathSegment(go.PathSegment.Line,z*.08,ee*.95)),re.add(new go.PathSegment(go.PathSegment.Line,z*(.08+.056*1),ee*.95)),re.add(new go.PathSegment(go.PathSegment.Line,z*(.08+.056*1),ee*1)),re.add(new go.PathSegment(go.PathSegment.Line,z*(.08+.056*2),ee*1)),re.add(new go.PathSegment(go.PathSegment.Line,z*(.08+.056*2),ee*.95)),re.add(new go.PathSegment(go.PathSegment.Line,z*(.08+.056*3),ee*.95)),re.add(new go.PathSegment(go.PathSegment.Line,z*(.08+.056*3),ee*1)),re.add(new go.PathSegment(go.PathSegment.Line,z*(.08+.056*4),ee*1)),re.add(new go.PathSegment(go.PathSegment.Line,z*(.08+.056*4),ee*.95)),re.add(new go.PathSegment(go.PathSegment.Line,z*(.08+.056*5),ee*.95)),re.add(new go.PathSegment(go.PathSegment.Line,z*(.08+.056*5),ee*1)),re.add(new go.PathSegment(go.PathSegment.Line,z*(.08+.056*6),ee*1)),re.add(new go.PathSegment(go.PathSegment.Line,z*(.08+.056*6),ee*.95)),re.add(new go.PathSegment(go.PathSegment.Line,z*(.08+.056*7),ee*.95)),re.add(new go.PathSegment(go.PathSegment.Line,z*(.08+.056*7),ee*1)),re.add(new go.PathSegment(go.PathSegment.Line,z*(.08+.056*8),ee*1)),re.add(new go.PathSegment(go.PathSegment.Line,z*(.08+.056*8),ee*.95)),re.add(new go.PathSegment(go.PathSegment.Line,z*(.08+.056*9),ee*.95)),re.add(new go.PathSegment(go.PathSegment.Line,z*(.08+.056*9),ee*1)),re.add(new go.PathSegment(go.PathSegment.Line,z*(.08+.056*10),ee*1)),re.add(new go.PathSegment(go.PathSegment.Line,z*(.08+.056*10),ee*.95)),re.add(new go.PathSegment(go.PathSegment.Line,z*(.08+.056*11),ee*.95)),re.add(new go.PathSegment(go.PathSegment.Line,z*(.08+.056*11),ee*1)),re.add(new go.PathSegment(go.PathSegment.Line,z*(.08+.056*12),ee*1)),re.add(new go.PathSegment(go.PathSegment.Line,z*(.08+.056*12),ee*.95)),re.add(new go.PathSegment(go.PathSegment.Line,z*(.08+.056*13),ee*.95)),re.add(new go.PathSegment(go.PathSegment.Line,z*(.08+.056*13),ee*1)),re.add(new go.PathSegment(go.PathSegment.Line,z*(.08+.056*14),ee*1)),re.add(new go.PathSegment(go.PathSegment.Line,z*(.08+.056*14),ee*.95)),re.add(new go.PathSegment(go.PathSegment.Line,z*(.08+.056*15),ee*.95)),re.add(new go.PathSegment(go.PathSegment.Line,z*(.08+.056*15),ee*1)),re.add(new go.PathSegment(go.PathSegment.Line,z*1,ee*1)),re.add(new go.PathSegment(go.PathSegment.Line,z*1,ee*1));var le=new go.PathFigure(0,0,!1);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z*1,ee*0)),le.add(new go.PathSegment(go.PathSegment.Arc,270,-180,z*1,z*.3,z*.055)),le.add(new go.PathSegment(go.PathSegment.Line,z*1,ee*1));var ue=new go.PathFigure(z*.11,ee*.1,!1);ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,z*(.11+.24133333*1+.028*0),ee*.1)),ue.add(new go.PathSegment(go.PathSegment.Line,z*(.11+.24133333*1+.028*0),ee*.8)),ue.add(new go.PathSegment(go.PathSegment.Line,z*.11,ee*.8).close());var pe=new go.PathFigure(z*(.11+.24133333*1+.028*1),ee*.1,!1);ae.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,z*(.11+.24133333*2+.028*1),ee*.1)),pe.add(new go.PathSegment(go.PathSegment.Line,z*(.11+.24133333*2+.028*1),ee*.8)),pe.add(new go.PathSegment(go.PathSegment.Line,z*(.11+.24133333*1+.028*1),ee*.8).close());var Pe=new go.PathFigure(z*(.11+.24133333*2+.028*2),ee*.1,!1);return ae.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,z*(.11+.24133333*3+.028*2),ee*.1)),Pe.add(new go.PathSegment(go.PathSegment.Line,z*(.11+.24133333*3+.028*2),ee*.8)),Pe.add(new go.PathSegment(go.PathSegment.Line,z*(.11+.24133333*2+.028*2),ee*.8).close()),ae}),go.Shape.defineFigureGenerator("FloppyDisk",function(fe,z,ee){var ae=new go.Geometry,re=8,le=re*ce,ue=new go.PathFigure(re,0,!1);ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,z*.86,0)),ue.add(new go.PathSegment(go.PathSegment.Line,z*1,ee*.14)),ue.add(new go.PathSegment(go.PathSegment.Line,z,ee-re)),ue.add(new go.PathSegment(go.PathSegment.Bezier,z-re,ee,z,ee-le,z-le,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,re,ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-re,le,ee,0,ee-le)),ue.add(new go.PathSegment(go.PathSegment.Line,0,re)),ue.add(new go.PathSegment(go.PathSegment.Bezier,re,0,0,le,le,0).close());var pe=new go.PathFigure(z*.83,0,!1);ae.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,z*.83,ee*.3)),pe.add(new go.PathSegment(go.PathSegment.Line,z*.17,ee*.3)),pe.add(new go.PathSegment(go.PathSegment.Line,z*.17,ee*0).close());var Pe=new go.PathFigure(z*.83,ee*1,!1);ae.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,z*.83,ee*.5)),Pe.add(new go.PathSegment(go.PathSegment.Line,z*.17,ee*.5)),Pe.add(new go.PathSegment(go.PathSegment.Line,z*.17,ee*1).close());var be=new go.PathFigure(z*.78,ee*.05,!1);return ae.add(be),be.add(new go.PathSegment(go.PathSegment.Line,z*.66,ee*.05)),be.add(new go.PathSegment(go.PathSegment.Line,z*.66,ee*.25)),be.add(new go.PathSegment(go.PathSegment.Line,z*.78,ee*.25).close()),ae}),go.Shape.defineFigureGenerator("SpeechBubble",function(fe,z,ee){var ae=fe?fe.parameter1:NaN;(isNaN(ae)||ae<0)&&(ae=15),ae=Math.min(ae,z/3),ae=Math.min(ae,ee/3);var re=ae*ce,le=ee*.8,ue=new go.Geometry,pe=new go.PathFigure(ae,0,!0);return ue.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,z-ae,0)),pe.add(new go.PathSegment(go.PathSegment.Bezier,z,ae,z-re,0,z,re)),pe.add(new go.PathSegment(go.PathSegment.Line,z,le-ae)),pe.add(new go.PathSegment(go.PathSegment.Bezier,z-ae,le,z,le-re,z-re,le)),pe.add(new go.PathSegment(go.PathSegment.Line,z*.7,le)),pe.add(new go.PathSegment(go.PathSegment.Line,z*.7,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,z*.55,le)),pe.add(new go.PathSegment(go.PathSegment.Line,ae,le)),pe.add(new go.PathSegment(go.PathSegment.Bezier,0,le-ae,re,le,0,le-re)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ae)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ae,0,0,re,re,0).close()),re>1?(ue.spot1=new go.Spot(0,0,re,re),ue.spot2=new go.Spot(1,.8,-re,-re)):(ue.spot1=go.Spot.TopLeft,ue.spot2=new go.Spot(1,.8)),ue}),go.Shape.defineFigureGenerator("Repeat",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(z*0,ee*.45,!0);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z*.25,ee*0)),re.add(new go.PathSegment(go.PathSegment.Line,z*.5,ee*.45)),re.add(new go.PathSegment(go.PathSegment.Line,z*.3,ee*.45)),re.add(new go.PathSegment(go.PathSegment.Line,z*.3,ee*.9)),re.add(new go.PathSegment(go.PathSegment.Line,z*.6,ee*.9)),re.add(new go.PathSegment(go.PathSegment.Line,z*.65,ee*1)),re.add(new go.PathSegment(go.PathSegment.Line,z*.2,ee*1)),re.add(new go.PathSegment(go.PathSegment.Line,z*.2,ee*.45).close());var le=new go.PathFigure(z*1,ee*.55,!0);return ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z*.75,ee*1)),le.add(new go.PathSegment(go.PathSegment.Line,z*.5,ee*.55)),le.add(new go.PathSegment(go.PathSegment.Line,z*.7,ee*.55)),le.add(new go.PathSegment(go.PathSegment.Line,z*.7,ee*.1)),le.add(new go.PathSegment(go.PathSegment.Line,z*.4,ee*.1)),le.add(new go.PathSegment(go.PathSegment.Line,z*.35,ee*0)),le.add(new go.PathSegment(go.PathSegment.Line,z*.8,ee*0)),le.add(new go.PathSegment(go.PathSegment.Line,z*.8,ee*.55).close()),ae}),go.Shape.defineFigureGenerator("Windows",function(fe,z,ee){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,z,0)).add(new go.PathSegment(go.PathSegment.Line,z,ee)).add(new go.PathSegment(go.PathSegment.Line,0,ee).close()).add(new go.PathSegment(go.PathSegment.Move,.4*z,.4*ee)).add(new go.PathSegment(go.PathSegment.Line,.4*z,.8*ee)).add(new go.PathSegment(go.PathSegment.Line,.9*z,.8*ee)).add(new go.PathSegment(go.PathSegment.Line,.9*z,.4*ee).close()).add(new go.PathSegment(go.PathSegment.Move,.2*z,.1*ee)).add(new go.PathSegment(go.PathSegment.Line,.2*z,.6*ee)).add(new go.PathSegment(go.PathSegment.Line,.7*z,.6*ee)).add(new go.PathSegment(go.PathSegment.Line,.7*z,.1*ee).close()).add(new go.PathSegment(go.PathSegment.Move,.1*z,.6*ee)).add(new go.PathSegment(go.PathSegment.Line,.1*z,.9*ee)).add(new go.PathSegment(go.PathSegment.Line,.5*z,.9*ee)).add(new go.PathSegment(go.PathSegment.Line,.5*z,.6*ee).close()))}),go.Shape.defineFigureGenerator("Terminal",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(z*0,ee*.1,!1);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z*1,ee*.1)),re.add(new go.PathSegment(go.PathSegment.Line,z*1,ee*.9)),re.add(new go.PathSegment(go.PathSegment.Line,z*0,ee*.9).close());var le=new go.PathFigure(z*.1,ee*.2,!0);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z*.1,ee*.25)),le.add(new go.PathSegment(go.PathSegment.Line,z*.22,ee*.285)),le.add(new go.PathSegment(go.PathSegment.Line,z*.1,ee*.32)),le.add(new go.PathSegment(go.PathSegment.Line,z*.1,ee*.37)),le.add(new go.PathSegment(go.PathSegment.Line,z*.275,ee*.32)),le.add(new go.PathSegment(go.PathSegment.Line,z*.275,ee*.25).close());var ue=new go.PathFigure(z*.28,ee*.37,!0);return ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,z*.45,ee*.37)),ue.add(new go.PathSegment(go.PathSegment.Line,z*.45,ee*.41)),ue.add(new go.PathSegment(go.PathSegment.Line,z*.28,ee*.41).close()),ae}),go.Shape.defineFigureGenerator("Beaker",function(fe,z,ee){var ae=new go.Geometry,re=15,le=re*ce,ue=new go.PathFigure(z*.62,ee*.475,!0);return ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,z,ee-re)),ue.add(new go.PathSegment(go.PathSegment.Bezier,z-re,ee,z,ee-le,z-le,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,re,ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-re,le,ee,0,ee-le)),ue.add(new go.PathSegment(go.PathSegment.Line,z*.38,ee*.475)),ue.add(new go.PathSegment(go.PathSegment.Line,z*.38,ee*.03)),ue.add(new go.PathSegment(go.PathSegment.Line,z*.36,ee*0)),ue.add(new go.PathSegment(go.PathSegment.Line,z*.64,ee*0)),ue.add(new go.PathSegment(go.PathSegment.Line,z*.62,ee*.03).close()),le>1?(ae.spot1=new go.Spot(0,0,le,le),ae.spot2=new go.Spot(1,1,-le,-le)):(ae.spot1=go.Spot.TopLeft,ae.spot2=go.Spot.BottomRight),ae}),go.Shape.defineFigureGenerator("Download",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(z*0,ee*1,!0);ae.add(re);var le=.1/.3;re.add(new go.PathSegment(go.PathSegment.Line,z*1,ee*1)),re.add(new go.PathSegment(go.PathSegment.Line,z*1,ee*(1-le))),re.add(new go.PathSegment(go.PathSegment.Line,z*.8,ee*0)),re.add(new go.PathSegment(go.PathSegment.Line,z*.66,ee*0)),re.add(new go.PathSegment(go.PathSegment.Line,z*.66,ee*.055)),re.add(new go.PathSegment(go.PathSegment.Line,z*.755,ee*.055)),re.add(new go.PathSegment(go.PathSegment.Line,z*.93,ee*(1-le))),re.add(new go.PathSegment(go.PathSegment.Line,z*.64,ee*(1-le))),re.add(new go.PathSegment(go.PathSegment.Line,z*.61,ee*.75)),re.add(new go.PathSegment(go.PathSegment.Line,z*.5,ee*.75)),re.add(new go.PathSegment(go.PathSegment.Line,z*.39,ee*.75)),re.add(new go.PathSegment(go.PathSegment.Line,z*.36,ee*(1-le))),re.add(new go.PathSegment(go.PathSegment.Line,z*.07,ee*(1-le))),re.add(new go.PathSegment(go.PathSegment.Line,z*(1-.755),ee*.055)),re.add(new go.PathSegment(go.PathSegment.Line,z*(1-.66),ee*.055)),re.add(new go.PathSegment(go.PathSegment.Line,z*(1-.66),ee*0)),re.add(new go.PathSegment(go.PathSegment.Line,z*(1-.8),ee*0)),re.add(new go.PathSegment(go.PathSegment.Line,z*0,ee*(1-le)).close());var ue=new go.PathFigure(z*.4,ee*0,!0);return ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,z*.4,ee*.44)),ue.add(new go.PathSegment(go.PathSegment.Line,z*.26,ee*.44)),ue.add(new go.PathSegment(go.PathSegment.Line,z*.5,ee*.66)),ue.add(new go.PathSegment(go.PathSegment.Line,z*(1-.26),ee*.44)),ue.add(new go.PathSegment(go.PathSegment.Line,z*.6,ee*.44)),ue.add(new go.PathSegment(go.PathSegment.Line,z*.6,ee*0).close()),ae}),go.Shape.defineFigureGenerator("Bin",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(z*0,ee*1,!0);ae.add(re);var le=.1/.3;return re.add(new go.PathSegment(go.PathSegment.Line,z*1,ee*1)),re.add(new go.PathSegment(go.PathSegment.Line,z*1,ee*(1-le))),re.add(new go.PathSegment(go.PathSegment.Line,z*.8,ee*0)),re.add(new go.PathSegment(go.PathSegment.Line,z*.66,ee*0)),re.add(new go.PathSegment(go.PathSegment.Line,z*.66,ee*.055)),re.add(new go.PathSegment(go.PathSegment.Line,z*.755,ee*.055)),re.add(new go.PathSegment(go.PathSegment.Line,z*.93,ee*(1-le))),re.add(new go.PathSegment(go.PathSegment.Line,z*.64,ee*(1-le))),re.add(new go.PathSegment(go.PathSegment.Line,z*.61,ee*.75)),re.add(new go.PathSegment(go.PathSegment.Line,z*.5,ee*.75)),re.add(new go.PathSegment(go.PathSegment.Line,z*.39,ee*.75)),re.add(new go.PathSegment(go.PathSegment.Line,z*.36,ee*(1-le))),re.add(new go.PathSegment(go.PathSegment.Line,z*.07,ee*(1-le))),re.add(new go.PathSegment(go.PathSegment.Line,z*(1-.755),ee*.055)),re.add(new go.PathSegment(go.PathSegment.Line,z*(1-.66),ee*.055)),re.add(new go.PathSegment(go.PathSegment.Line,z*(1-.66),ee*0)),re.add(new go.PathSegment(go.PathSegment.Line,z*(1-.8),ee*0)),re.add(new go.PathSegment(go.PathSegment.Line,z*0,ee*(1-le)).close()),ae}),go.Shape.defineFigureGenerator("Upload",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(z*0,ee*1,!0);ae.add(re);var le=.1/.3;re.add(new go.PathSegment(go.PathSegment.Line,z*1,ee*1)),re.add(new go.PathSegment(go.PathSegment.Line,z*1,ee*(1-le))),re.add(new go.PathSegment(go.PathSegment.Line,z*.8,ee*0)),re.add(new go.PathSegment(go.PathSegment.Line,z*.66,ee*0)),re.add(new go.PathSegment(go.PathSegment.Line,z*.66,ee*.055)),re.add(new go.PathSegment(go.PathSegment.Line,z*.755,ee*.055)),re.add(new go.PathSegment(go.PathSegment.Line,z*.93,ee*(1-le))),re.add(new go.PathSegment(go.PathSegment.Line,z*.64,ee*(1-le))),re.add(new go.PathSegment(go.PathSegment.Line,z*.61,ee*.75)),re.add(new go.PathSegment(go.PathSegment.Line,z*.5,ee*.75)),re.add(new go.PathSegment(go.PathSegment.Line,z*.39,ee*.75)),re.add(new go.PathSegment(go.PathSegment.Line,z*.36,ee*(1-le))),re.add(new go.PathSegment(go.PathSegment.Line,z*.07,ee*(1-le))),re.add(new go.PathSegment(go.PathSegment.Line,z*(1-.755),ee*.055)),re.add(new go.PathSegment(go.PathSegment.Line,z*(1-.66),ee*.055)),re.add(new go.PathSegment(go.PathSegment.Line,z*(1-.66),ee*0)),re.add(new go.PathSegment(go.PathSegment.Line,z*(1-.8),ee*0)),re.add(new go.PathSegment(go.PathSegment.Line,z*0,ee*(1-le)).close());var ue=new go.PathFigure(z*.5,ee*0,!0);return ae.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,z*.26,ee*.25)),ue.add(new go.PathSegment(go.PathSegment.Line,z*.4,ee*.25)),ue.add(new go.PathSegment(go.PathSegment.Line,z*.4,ee*.63)),ue.add(new go.PathSegment(go.PathSegment.Line,z*.6,ee*.63)),ue.add(new go.PathSegment(go.PathSegment.Line,z*.6,ee*.25)),ue.add(new go.PathSegment(go.PathSegment.Line,z*.74,ee*.25).close()),ae}),go.Shape.defineFigureGenerator("EmptyDrink",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(z*.15,ee*0,!1);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z*.85,ee*0)),re.add(new go.PathSegment(go.PathSegment.Line,z*.7,ee*1)),re.add(new go.PathSegment(go.PathSegment.Line,z*.3,ee*1).close()),ae}),go.Shape.defineFigureGenerator("Drink",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(z*.15,ee*0,!1);ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z*.85,ee*0)),re.add(new go.PathSegment(go.PathSegment.Line,z*.7,ee*1)),re.add(new go.PathSegment(go.PathSegment.Line,z*.3,ee*1).close());var le=new go.PathFigure(z*.235,ee*.28,!0);return ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,z*.765,ee*.28)),le.add(new go.PathSegment(go.PathSegment.Line,z*.655,ee*.97)),le.add(new go.PathSegment(go.PathSegment.Line,z*.345,ee*.97).close()),ae}),go.Shape.defineFigureGenerator("4Arrows",function(fe,z,ee){var ae=new go.Geometry,re=new go.PathFigure(z*.5,ee*0,!0);return ae.add(re),re.add(new go.PathSegment(go.PathSegment.Line,z*.65,ee*.25)),re.add(new go.PathSegment(go.PathSegment.Line,z*.55,ee*.25)),re.add(new go.PathSegment(go.PathSegment.Line,z*.55,ee*.45)),re.add(new go.PathSegment(go.PathSegment.Line,z*.75,ee*.45)),re.add(new go.PathSegment(go.PathSegment.Line,z*.75,ee*.35)),re.add(new go.PathSegment(go.PathSegment.Line,z*1,ee*.5)),re.add(new go.PathSegment(go.PathSegment.Line,z*.75,ee*.65)),re.add(new go.PathSegment(go.PathSegment.Line,z*.75,ee*.55)),re.add(new go.PathSegment(go.PathSegment.Line,z*.55,ee*.55)),re.add(new go.PathSegment(go.PathSegment.Line,z*.55,ee*.75)),re.add(new go.PathSegment(go.PathSegment.Line,z*.65,ee*.75)),re.add(new go.PathSegment(go.PathSegment.Line,z*.5,ee*1)),re.add(new go.PathSegment(go.PathSegment.Line,z*.35,ee*.75)),re.add(new go.PathSegment(go.PathSegment.Line,z*.45,ee*.75)),re.add(new go.PathSegment(go.PathSegment.Line,z*.45,ee*.55)),re.add(new go.PathSegment(go.PathSegment.Line,z*.25,ee*.55)),re.add(new go.PathSegment(go.PathSegment.Line,z*.25,ee*.65)),re.add(new go.PathSegment(go.PathSegment.Line,z*0,ee*.5)),re.add(new go.PathSegment(go.PathSegment.Line,z*.25,ee*.35)),re.add(new go.PathSegment(go.PathSegment.Line,z*.25,ee*.45)),re.add(new go.PathSegment(go.PathSegment.Line,z*.45,ee*.45)),re.add(new go.PathSegment(go.PathSegment.Line,z*.45,ee*.25)),re.add(new go.PathSegment(go.PathSegment.Line,z*.35,ee*.25).close()),ae}),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")},80727: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 Nn={},fn="5.0",We={},He=null,gt=!1,oe=!1,Ze=null,Ne=!1,ge=null,ce=null,Ee=0;Ee4?parseFloat(ft):5};Nn.setHTML5Codebase=function(ft,pt){ce=ft,dt(ft,pt)},Nn.setJavaCodebase=Nn.setJavaCodebaseVersion=Nn.isCompiledInstalled=Nn.setPreCompiledScriptPath=Nn.setPreCompiledResourcePath=function(){},Nn.setHTML5CodebaseVersion=function(ft,pt){var yt=parseFloat(ft);if(yt!==NaN&&yt<5){console.log("The GeoGebra HTML5 codebase version "+yt+" is deprecated. Using version latest instead.");return}ge=ft,at(ft,pt)},Nn.getHTML5CodebaseVersion=function(){return fe},Nn.getParameters=function(){return We},Nn.setFontsCSSURL=function(ft){ue=ft},Nn.setGiacJSURL=function(ft){},Nn.setJNLPFile=function(ft){ye=ft},Nn.setJNLPBaseDir=function(ft){},Nn.inject=function(){function ft(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var pt="auto",yt=We.id,Tt,At=!1,Gt=0;Gt=5)return!0;var ft=Nn.getAppletObject();return ft&&typeof ft.recalculateEnvironments=="function"?(ft.recalculateEnvironments(),!0):!1},Nn.startAnimation=function(){var ft=Nn.getAppletObject();return ft&&typeof ft.startAnimation=="function"?(ft.startAnimation(),!0):!1},Nn.stopAnimation=function(){var ft=Nn.getAppletObject();return ft&&typeof ft.stopAnimation=="function"?(ft.stopAnimation(),!0):!1},Nn.getAppletObject=function(){var ft=We.id!==void 0?We.id:"ggbApplet";return window[ft]},Nn.resize=function(){};var je=function(ft,pt,yt){var Tt=document.createElement("param");Tt.setAttribute("name",pt),Tt.setAttribute("value",yt),ft.appendChild(Tt)},ze=function(ft){return ft&&ft!=="false"},$e=function(ft,pt,yt){Pe(fe)<=4.2&&(yt=!0);var Tt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==fe||ggbHTML5LoadedCodebaseIsWebSimple&&!ee)&&(Tt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var At=document.createElement("div");At.classList.add("appletParameters","notranslate");var Gt=pt.width,wt=pt.height;if(pt.disableAutoScale=pt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():pt.disableAutoScale,pt.width!==void 0)if(Pe(fe)<=4.4)ze(pt.showToolBar)&&(pt.height-=7),ze(pt.showAlgebraInput)&&(pt.height-=37),pt.width<605&&ze(pt.showToolBar)&&(pt.width=605,Gt=605);else{var bt=100;(ze(pt.showToolBar)||ze(pt.showMenuBar))&&(pt.hasOwnProperty("customToolBar")&&(pt.customToolbar=pt.customToolBar),bt=ze(pt.showMenuBar)?245:155),Gt=5?(pt.appletOnLoad=function(mt){var Ft=ft.querySelector(".ggb_preview");Ft&&Ft.parentNode.removeChild(Ft),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(we),window.GGBT_wsf_view&&$(window).trigger("resize"),_e(mt)},Ce||we.appendChild(Ye)):At.appendChild(Ye),we.appendChild(At),Ce||ft.appendChild(we),setTimeout(function(){Nn.resize()},1)}else{var Je=document.createElement("div");Je.className="applet_scaler",Je.style.position="relative",Je.style.display="block",Je.appendChild(At),ft.appendChild(Je),pt.appletOnLoad=function(mt){Nn.resize(),_e(mt)}}function Le(mt,Ft){Ft&&typeof Ft.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(mt,Ft.appletOnLoad):renderGGBElement(mt),St("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Ft)}function Ge(mt,Ft){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:mt,params:Ft}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Kt){Le(Kt.article,Kt.params)}),html5AppletsToProcess=null)},Pe(fe)<5&&(mt.className+=" geogebraweb")):Le(mt,Ft)}if(Tt){scriptLoadStarted=!0;for(var Ke=0;Ke0?(it.remove(),we.attr("id","fullscreencontent").show(),jQuery(_e).append(we),window.dispatchEvent(new Event("resize"))):$e(it,pt,!1),window.GGBT_wsf_view.launchFullScreen(_e)}else xe=Tt,$e(ft,pt,!1);if(!window.GGBT_wsf_view)for(wt=0;wtft/4*3&&(it=ft/4*3),_e=it/5.8,bt.setAttribute("src",re),bt.setAttribute("width",it),bt.setAttribute("height",_e);var we=(ft-it)/2,Ce=(pt-_e)/2;bt.style.left=we+"px",bt.style.top=Ce+"px",At.appendChild(bt)}}return At.appendChild(wt),At},vt=function(ft){return ft=ft.toLowerCase(),ft==="html5"||ft==="screenshot"?ft:"html5"},tt=["web","webSimple","web3d","tablet","tablet3d","phone"],at=function(ft,pt){if(fe=ft,pt){dt(fe,!0);return}var yt=!gt;if(yt){var Tt=Pe(fe);!isNaN(Tt)&&Tt<4.4&&(yt=!1)}var At,Gt;window.location.protocol.substr(0,4)==="http"?At=window.location.protocol:At="http:";var wt=fe.indexOf("//");wt>0?Gt=fe:wt===0?Gt=At+fe:Gt="https://www.geogebra.org/apps/5.2.814.0/";for(var bt in tt)if(fe.slice(tt[bt].length*-1)===tt[bt]||fe.slice((tt[bt].length+1)*-1)===tt[bt]+"/"){dt(Gt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&yt&&!He.is3D&&!He.AV&&!He.SV&&!He.CV&&!He.EV2&&!He.CP&&!He.PC&&!He.DA&&!He.FI&&!He.PV&&!ze(We.showToolBar)&&!ze(We.showMenuBar)&&!ze(We.showAlgebraInput)&&!ze(We.enableRightClick)&&(!We.appName||We.appName=="classic")?Gt+="webSimple/":Gt+="web3d/",dt(Gt,!1)},dt=function(ft,pt){if(ft.requirejs){De=ft;return}ft.slice(-1)!=="/"&&(ft+="/"),De=ft,pt===null&&(pt=ft.indexOf("http")===-1),me=pt,z="web.nocache.js",ee=!1;var yt=De.split("/");yt.length>1&&(!pt&&yt[yt.length-2]==="webSimple"?(z="webSimple.nocache.js",ee=!0):tt.indexOf(yt[yt.length-2])>=0&&(z=yt[yt.length-2]+".nocache.js")),yt=ft.split("/"),fe=yt[yt.length-3],fe.substr(0,4)==="test"?fe=fe.substr(4,1)+"."+fe.substr(5,1):(fe.substr(0,3)==="war"||fe.substr(0,4)==="beta")&&(fe="5.0");var Tt=parseFloat(fe);Tt!==NaN&&Tt<5&&ft.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Tt+" is deprecated. Using version latest instead."),at("5.0",pt))},St=function(ft,pt){window.console&&window.console.log&&(!pt||typeof pt.showLogging=="undefined"||pt.showLogging&&pt.showLogging!=="false")&&console.log(ft)};We.material_id!==void 0?Me(xt):xt();function xt(){var ft=fn;ge!==null?ft=ge:parseFloat(ft)<5&&(ft="5.0"),at(ft,!1),ce!==null&&dt(ce,me),Ne=!0}return Nn},GGBAppletUtils=function(){"use strict";function Nn(){return window.GGBT_wsf_edit!==void 0}function fn(Ne,ge){ge!=1?(Ne.style.transformOrigin="0% 0% 0px",Ne.style.webkitTransformOrigin="0% 0% 0px",Ne.style.transform="scale("+ge+","+ge+")",Ne.style.webkitTransform="scale("+ge+","+ge+")",Ne.style.maxWidth="initial",Ne.querySelector(".ggb_preview")!==null&&(Ne.querySelector(".ggb_preview").style.maxWidth="initial"),Ne.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ne.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ne.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ne.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ne.style.transform="none",Ne.style.webkitTransform="none")}function We(Ne,ge,ce,Ee,Ae,ye){var De=null;if(ye!=null&&ye!="")for(var me=Ne.parentNode;me!=null;)if((" "+me.className+" ").indexOf(" "+ye+" ")>-1){De=me;break}else me=me.parentNode;var xe=0,fe=0,z=0,ee=0,ae=0,re=0,le=0;if(De)xe=De.offsetWidth,fe=Math.max(Ee?De.offsetWidth:0,De.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(xe=Math.min(window.innerWidth,document.documentElement.clientWidth),fe=Math.min(window.innerHeight,document.documentElement.clientHeight),z=xe):(xe=window.innerWidth,fe=window.innerHeight,z=window.innerWidth),Ne){var ue=Ne.getBoundingClientRect();ue.left>0&&ue.left<=xe&&(Ae===void 0||!Ae)&&(document.dir==="rtl"?(ae=xe-ue.width-ue.left,re=z<=480?10:30):(re=ue.left,ae=z<=480?10:30),ee=re+ae)}if(Ne&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var pe=Ne.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ee=40,le=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ee=0,le=40)}}return Ne&&((ce===void 0||!ce)&&ge>0&&ge+ee1&&(ye=!0)),ge&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ye=!0),!(Ne.hasOwnProperty("disableAutoScale")&&Ne.disableAutoScale))Ae=He(Ne,ge,ye,ce,Ne.scaleContainerClass);else return Ee;return ye&&(!Ne.hasOwnProperty("scale")||Ee===1)?Ae:Math.min(Ee,Ae)}function oe(Ne){var ge=Math.min(window.innerWidth,document.documentElement.clientWidth),ce=Math.min(window.innerHeight,document.documentElement.clientHeight),Ee=Ne.getBoundingClientRect(),Ae=(ge-Ee.width)/2,ye=(ce-Ee.height)/2;ye<0&&(ye=0),Ne.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ae<40?Ne.style.left="40px":Ne.style.left=Ae+"px",Ne.style.top=ye+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ye<40?Ne.style.top="40px":Ne.style.top=ye+"px",Ne.style.left=Ae+"px")}function Ze(Ne,ge){var ce=Ne.querySelector(".appletParameters");if(ce){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ge.id!==ce.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ne)}if(ce.parentElement&&/fullscreen/.test(ce.parentElement.className))return;var Ee=gt(ge,Ne);Nn()&&ce.setAttribute("data-param-scale",Ee);for(var Ae=null,ye=0;ye=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(Nn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Nn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Nn){var fn=c[Nn];return fn==null?null:fn},r=d,webModule.__errFn=e}function B(){function Nn(Ne){var ge=Ne.lastIndexOf(rb);ge==-1&&(ge=Ne.length);var ce=Ne.indexOf(sb);ce==-1&&(ce=Ne.length);var Ee=Ne.lastIndexOf(tb,Math.min(ce,ge));return Ee>=O?Ne.substring(O,Ee+P):W}function fn(Ne){if(!Ne.match(/^\w+:\/\//)){var ge=o.createElement(ub);ge.src=Ne+vb,Ne=Nn(ge.src)}return Ne}function We(){var Ne=__gwt_getMetaProperty(wb);return Ne!=null?Ne:W}function He(){for(var Ne=o.getElementsByTagName(_),ge=O;geO?Ne[Ne.length-P].href:W}function oe(){var Ne=o.location;return Ne.href==Ne.protocol+zb+Ne.host+Ne.pathname+Ne.search+Ne.hash}var Ze=We();return Ze==W&&(Ze=He()),Ze==W&&(Ze=gt()),Ze==W&&oe()&&(Ze=Nn(o.location.href)),Ze=fn(Ze),Ze}function C(Nn){return Nn.match(/^\//)||Nn.match(/^[a-zA-Z]+:\/\//)?Nn:webModule.__moduleBase+Nn}function D(){var Nn=[],fn=O,We=[],He=[];function gt(Ne){var ge=He[Ne](),ce=We[Ne];if(ge in ce)return ge;var Ee=[];for(var Ae in ce)Ee[ce[Ae]]=Ae;throw r&&r(Ne,Ee,ge),null}if(__gwt_isKnownPropertyValue=function(Ne,ge){return ge in We[Ne]},webModule.__getPropMap=function(){var Ne={};for(var ge in We)We.hasOwnProperty(ge)&&(Ne[ge]=gt(ge));return Ne},webModule.__computePropValue=gt,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var oe;try{oe=Cb;var Ze=oe.indexOf(Db);Ze!=-1&&(fn=parseInt(oe.substring(Ze+P),$),oe=oe.substring(O,Ze))}catch(Ne){}return webModule.__softPermutationId=fn,C(oe+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/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})()},77903:function(Nn,fn,We){"use strict";We.d(fn,{Ax:function(){return Ze},Ds:function(){return Ne},KI:function(){return ce},SI:function(){return oe},f1:function(){return gt}});var He=We(3294);function gt(Ee){let Ae=!0;if(Ee.length>0){for(let ye=0;ye{var re={};for(var le in ee)ye.call(ee,le)&&ae.indexOf(le)<0&&(re[le]=ee[le]);if(ee!=null&&Ae)for(var le of Ae(ee))ae.indexOf(le)<0&&De.call(ee,le)&&(re[le]=ee[le]);return re},xe=(ee,ae,re)=>new Promise((le,ue)=>{var pe=Ie=>{try{be(re.next(Ie))}catch(Me){ue(Me)}},Pe=Ie=>{try{be(re.throw(Ie))}catch(Me){ue(Me)}},be=Ie=>Ie.done?le(Ie.value):Promise.resolve(Ie.value).then(pe,Pe);be((re=re.apply(ee,ae)).next())});const fe=oe.default.TextArea,z=ee=>{var ae=ee,{account:re,globalSetting:le,loading:ue,dispatch:pe,schoolName:Pe,departmentName:be,visible:Ie,onClose:Me=()=>{},onSuccess:Oe=()=>{}}=ae,Te=me(ae,["account","globalSetting","loading","dispatch","schoolName","departmentName","visible","onClose","onSuccess"]);const[je]=Ze.default.useForm(),ze=(0,He.useRef)(),[$e,Ue]=(0,He.useState)(!1);(0,He.useEffect)(()=>{ze.current=Te.schoolId},[Te.schoolId]),(0,He.useEffect)(()=>{je.setFieldsValue({department:be})},[be]);const qe=et=>xe(void 0,null,function*(){var lt,ut,vt;const{department:tt,remarks:at}=et||{};Ue(!0);const dt=yield(0,Ee.ZP)("/api/add_department_applies/inspect.json",{method:"get",params:{name:tt,school_id:ze.current}});Ue(!1);const St=()=>xe(void 0,null,function*(){const xt=yield pe({type:"account/appplyDepartment",payload:{school_id:ze.current,name:tt,remarks:at}});(xt==null?void 0:xt.status)===0&&(Ne.ZP.success("\u65B0\u589E\u9662\u7CFB/\u90E8\u95E8\u6210\u529F\uFF01"),Oe(tt),Me())});if((dt==null?void 0:dt.status)===0){if((lt=dt==null?void 0:dt.data)!=null&<.name){ge.default.confirm({centered:!0,icon:null,width:500,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:He.createElement("div",null,He.createElement("div",{className:"mb10"},"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u7533\u8BF7\u65B0\u589E\u7684\u90E8\u95E8\u5DF2\u5B58\u5728\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u4E3A\u8BE5\u90E8\u95E8\uFF1F"),He.createElement(ce.default,{rowKey:"name",columns:[{title:"\u9662\u7CFB/\u90E8\u95E8",dataIndex:"name"},{title:"\u7528\u6237\u6570",dataIndex:"size"}],dataSource:[{name:(ut=dt==null?void 0:dt.data)==null?void 0:ut.name,size:(vt=dt==null?void 0:dt.data)==null?void 0:vt.size}],pagination:!1})),onOk:()=>{Oe(tt),Me()}});return}St()}});return He.createElement(ge.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:Ie,title:"\u7533\u8BF7\u6DFB\u52A0\u90E8\u95E8\u540D\u79F0",width:"600px",onCancel:Me,onOk:()=>je.submit(),confirmLoading:$e},He.createElement(Ze.default,{form:je,labelCol:{span:4},wrapperCol:{span:20},onFinish:qe},He.createElement(Ze.default.Item,{label:"\u5355\u4F4D\u540D\u79F0\uFF1A"},Pe),He.createElement(Ze.default.Item,{label:"\u90E8\u95E8\u540D\u79F0\uFF1A",name:"department",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u90E8\u95E8\u6216\u8005\u5B66\u9662\u540D\u79F0"}]},He.createElement(oe.default,{placeholder:"\u8BF7\u8F93\u5165\u90E8\u95E8\u6216\u8005\u5B66\u9662\u540D\u79F0"})),He.createElement(Ze.default.Item,{label:"\u8BF4\u660E\uFF1A",name:"remarks",style:{marginBottom:0}},He.createElement(fe,{placeholder:"\u518D\u6B21\u8BF4\u660E\u7279\u522B\u60C5\u51B5\uFF08\u9009\u586B\uFF09"}))))};fn.Z=(0,gt.connect)(({account:ee,loading:ae,globalSetting:re})=>({account:ee,globalSetting:re,loading:ae.effects}))(z)},6021:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return fe}});var He=We(3113),gt=We(59301),oe=Object.defineProperty,Ze=Object.defineProperties,Ne=Object.getOwnPropertyDescriptors,ge=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,Ae=(z,ee,ae)=>ee in z?oe(z,ee,{enumerable:!0,configurable:!0,writable:!0,value:ae}):z[ee]=ae,ye=(z,ee)=>{for(var ae in ee||(ee={}))ce.call(ee,ae)&&Ae(z,ae,ee[ae]);if(ge)for(var ae of ge(ee))Ee.call(ee,ae)&&Ae(z,ae,ee[ae]);return z},De=(z,ee)=>Ze(z,Ne(ee)),me=(z,ee)=>{var ae={};for(var re in z)ce.call(z,re)&&ee.indexOf(re)<0&&(ae[re]=z[re]);if(z!=null&&ge)for(var re of ge(z))ee.indexOf(re)<0&&Ee.call(z,re)&&(ae[re]=z[re]);return ae},xe=(z,ee,ae)=>new Promise((re,le)=>{var ue=be=>{try{Pe(ae.next(be))}catch(Ie){le(Ie)}},pe=be=>{try{Pe(ae.throw(be))}catch(Ie){le(Ie)}},Pe=be=>be.done?re(be.value):Promise.resolve(be.value).then(ue,pe);Pe((ae=ae.apply(z,ee)).next())});const fe=z=>{var ee=z,{children:ae}=ee,re=me(ee,["children"]);const[le,ue]=(0,gt.useState)(!1);return gt.createElement(He.ZP,De(ye({},re),{loading:le,onClick:pe=>xe(void 0,null,function*(){try{ue(!0),yield re.onClick(pe),ue(!1)}catch(Pe){console.error(Pe),ue(!1)}})}),ae)}},73633:function(Nn,fn,We){"use strict";var He=We(59301),gt=We(89070),oe=We(43418),Ze=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,ce=(Ae,ye)=>{var De={};for(var me in Ae)Ne.call(Ae,me)&&ye.indexOf(me)<0&&(De[me]=Ae[me]);if(Ae!=null&&Ze)for(var me of Ze(Ae))ye.indexOf(me)<0&&ge.call(Ae,me)&&(De[me]=Ae[me]);return De};const Ee=Ae=>{var ye=Ae,{shixunsDetail:De,globalSetting:me,loading:xe,dispatch:fe}=ye,z=ce(ye,["shixunsDetail","globalSetting","loading","dispatch"]);return He.createElement(oe.default,{centered:!0,keyboard:!1,closable:!1,zIndex:6666,title:"\u63D0\u793A",open:De.actionTabs.key==="Banner-Auth",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>{fe({type:"shixunsDetail/setActionTabs",payload:{}}),window.location.href="/account/certification"},onCancel:()=>{fe({type:"shixunsDetail/setActionTabs",payload:{}})}},He.createElement("p",{className:"tc font16"},"\u5F53\u524D\u7ADE\u8D5B\u9700\u8981\u5B9E\u540D\u8BA4\u8BC1\uFF0C\u8BF7\u5148\u5B8C\u6210\u5B9E\u540D\u8BA4\u8BC1\u540E\u518D\u62A5\u540D\u53C2\u8D5B",He.createElement("br",null),"\u8BF7\u95EE\u662F\u5426\u524D\u5F80\u8FDB\u884C\u8BA4\u8BC1\uFF1F"))};fn.Z=(0,gt.connect)(({shixunsDetail:Ae,loading:ye,globalSetting:De})=>({shixunsDetail:Ae,globalSetting:De,loading:ye.models.index}))(Ee)},73524:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return De}});var He=We(59301),gt={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},oe=We(92310),Ze=We.n(oe),Ne=We(71418),ge=We(2859),ce=We(99064),Ee=We(955),Ae=(me,xe,fe)=>new Promise((z,ee)=>{var ae=ue=>{try{le(fe.next(ue))}catch(pe){ee(pe)}},re=ue=>{try{le(fe.throw(ue))}catch(pe){ee(pe)}},le=ue=>ue.done?z(ue.value):Promise.resolve(ue.value).then(ae,re);le((fe=fe.apply(me,xe)).next())}),De=({data:me,className:xe,fullWidth:fe,style:z={},onClose:ee,onOk:ae,showFullTools:re,noAssociationId:le})=>{const ue=(0,He.useRef)(null),pe=(0,He.useRef)(null),Pe=(0,He.useRef)(null),be=(0,He.useRef)(null),[Ie,Me]=(0,He.useState)(!1),[Oe,Te]=(0,He.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,He.useEffect)(()=>(Pe.current||(Pe.current=document.createElement("style"),document.head.appendChild(Pe.current)),me!=null&&me.visible?(document.body.setAttribute("data-custom","y-hidden"),Pe.current.innerHTML=" html { overflow-y: hidden; }",me!=null&&me.src&&je()):(document.body.removeAttribute("data-custom"),Pe.current&&(document.head.removeChild(Pe.current),Pe.current=null)),()=>{document.body.removeAttribute("data-custom"),Pe.current&&(document.head.removeChild(Pe.current),Pe.current=null)}),[me==null?void 0:me.visible]);const je=()=>Ae(void 0,null,function*(){Me(!0),Te("\u6B63\u5728\u52A0\u8F7D\u4E2D");const qe=yield(0,Ee.ZJ)(me==null?void 0:me.src);ue.current.src="",ue.current.src=qe,ue.current.onload=function(){Ue()},Me(!1),Te("")}),ze=qe=>Ae(void 0,null,function*(){Me(!0),Te("\u6B63\u5728\u4FDD\u5B58\u4E2D");const et=yield(0,ce.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:me.title,file:qe.dataUrl}});et!=null&&et.id&&!le?(yield(0,ce.ZP)(`/api/attachments/${me.id}/add_subitem.json`,{method:"post",body:{subitem_id:et==null?void 0:et.id,settings:JSON.stringify(qe.state)}})).status===0&&ae():et!=null&&et.id&&ae(et),Me(!1),Te("")}),$e=()=>{const qe=document.querySelector('a[href="https://markerjs.com/"]');qe&&qe.parentNode&&(qe.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(lt=>{const ut=document.querySelector(lt.name);ut&&ut.setAttribute("title",lt.title)})},Ue=()=>{pe.current=new ge.hP(ue.current),pe.current.targetRoot=be.current,pe.current.addEventListener("render",ze),pe.current.addEventListener("beforeclose",ee),re&&(pe.current.availableMarkerTypes=pe.current.ALL_MARKER_TYPES,pe.current.uiStyleSettings.redoButtonVisible=!0,pe.current.uiStyleSettings.notesButtonVisible=!0,pe.current.uiStyleSettings.zoomButtonVisible=!0,pe.current.uiStyleSettings.zoomOutButtonVisible=!0,pe.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=pe.current.uiStyleSettings,pe.current.show(),me!=null&&me.snapshotData&&pe.current.restoreState(me.snapshotData),setTimeout(()=>{window.scrollTo(0,0),$e()},300)};return He.createElement(He.Fragment,null,(me==null?void 0:me.visible)&&He.createElement(Ne.Z,{spinning:Ie,tip:Oe,style:{position:"absolute",width:"100vw"}},He.createElement("div",{ref:be,className:Ze()(gt.imageDimensions,xe,fe?gt.fullWidth:""),style:z},He.createElement("img",{className:gt.img,ref:ue}))))}},41588:function(Nn,fn,We){"use strict";var He=We(59301),gt=We(95237),oe=We(43604),Ze=We(99313),Ne=We(3113),ge=We(85149),ce=We(88010),Ee=We(48136),Ae=We(59301);const ye=(0,He.forwardRef)(({callback:De,showSaveButton:me,value:xe=""},fe)=>{const z=(0,He.useRef)(),ee=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],ae=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r x=a + r\\text{cos}\\theta \\ \r y=b + r\\text{sin}\\theta \r \\end{matrix}\\right. `},{value:`\\begin{array}{l} \r \\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r \\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\left\\{\\begin{matrix} \r \\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r \\end{matrix}\\right. \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r \\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r \\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r a \\perp \\alpha \\ \r b \\perp \\alpha \r \\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r \\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r a \\parallel \\partial ,b \\parallel \\partial \r \\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r a \\perp m,a \\perp n \r \\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r \\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r a^{2}+b^{2}=c^{2} \r \\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r \\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r \\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r \\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r \\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r a,b \\in R^{+} \\ \r \\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r a,b \\in R \\ \r \\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r \\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r \\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r \\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r \\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r P \\left( \\emptyset \\right) =0 \\\\ \r P \\left( S \\right) =1 \r \\end{array}`},{value:`\\begin{array}{c} \r \\forall A \\in S \\\\ \r P \\left( A \\right) \\ge 0 \r \\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r \\end{array}`}]}]}],re=pe=>{z.current.setValue(z.current.getValue()+" "+pe.value+" ")},le=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Ae.createElement(gt.Z,{className:ce.Z.lists,gutter:[10,10]},ee.map((pe,Pe)=>Ae.createElement(oe.Z,{flex:"110px",className:ce.Z.item},Ae.createElement("div",null,Ae.createElement(ge.Z,{value:`$$${pe.value}$$`}),pe.name),Ae.createElement("div",{className:ce.Z.children},pe.children.map((be,Ie)=>Ae.createElement("div",{key:Ie},Ae.createElement("h1",null,be.name),Ae.createElement(gt.Z,{gutter:[10,10]},be.data.map((Me,Oe)=>Ae.createElement(oe.Z,{key:Oe,onClick:()=>re(Me),className:ce.Z.diamond},Ae.createElement(ge.Z,{value:"`$$"+Me.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Ae.createElement(gt.Z,{className:ce.Z.lists,gutter:[10,10]},ae.map((pe,Pe)=>Ae.createElement(oe.Z,{flex:"110px",className:ce.Z.item},Ae.createElement("div",null,Ae.createElement(ge.Z,{value:"`$$"+pe.value+"$$`"}),pe.name),Ae.createElement("div",{className:ce.Z.children},pe.children.map((be,Ie)=>Ae.createElement("div",{key:Ie},be.name&&Ae.createElement("h1",null,be.name),Ae.createElement(gt.Z,{gutter:[10,10]},be.data.map((Me,Oe)=>Ae.createElement(oe.Z,{key:Oe,onClick:()=>re(Me),className:ce.Z.diamond},Ae.createElement(ge.Z,{value:"`$$"+Me.value+"$$`"}))))))))))}],ue=()=>{var pe=document.createElement("div");pe.innerHTML=z.current.getValue();var Pe=pe.innerText;return De&&De(Pe),Pe};return(0,He.useImperativeHandle)(fe,()=>({getData:ue})),Ae.createElement("div",{className:ce.Z.mathWrap},Ae.createElement(Ze.default,{defaultActiveKey:"1",items:le}),Ae.createElement("math-field",{locale:"zh_cn",className:ce.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:z,style:{width:800,marginTop:30,fontSize:18}},xe||""),me&&Ae.createElement("div",{className:ce.Z.button},Ae.createElement(Ne.ZP,{size:"large",onClick:ue,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});fn.Z=ye},8797:function(Nn,fn,We){"use strict";var He=We(59301),gt=We(93314),oe=We(3113),Ze=Object.defineProperty,Ne=Object.defineProperties,ge=Object.getOwnPropertyDescriptors,ce=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,ye=(fe,z,ee)=>z in fe?Ze(fe,z,{enumerable:!0,configurable:!0,writable:!0,value:ee}):fe[z]=ee,De=(fe,z)=>{for(var ee in z||(z={}))Ee.call(z,ee)&&ye(fe,ee,z[ee]);if(ce)for(var ee of ce(z))Ae.call(z,ee)&&ye(fe,ee,z[ee]);return fe},me=(fe,z)=>Ne(fe,ge(z));const xe=({img:fe,buttonProps:z={},styles:ee={},customText:ae,ButtonText:re,ButtonClick:le,Buttonclass:ue,ButtonTwo:pe,imgStyles:Pe,loading:be=!1})=>He.createElement("section",{className:"tc animated fadeIn",style:De(De({},{color:"#999",margin:"100px auto",visibility:be?"hidden":"visible"}),ee)},He.createElement("img",{src:fe||gt,style:me(De({},Pe),{pointerEvents:"none",userSelect:"none"})}),He.createElement("p",{className:"mt20 font14"},ae||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),re&&He.createElement(oe.ZP,De({className:ue,onClick:le},z),re),pe&&pe);fn.Z=xe},23210:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return ue}});var He=We(59301),gt={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},oe=We(3113),Ze=We(70557),Ne=We(23954),ge=We(6848),ce=We(955),Ee=We(94941),Ae=We(8797),ye=We(3294),De=We(19381),me=We(59301),xe=Object.defineProperty,fe=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,ae=(pe,Pe,be)=>Pe in pe?xe(pe,Pe,{enumerable:!0,configurable:!0,writable:!0,value:be}):pe[Pe]=be,re=(pe,Pe)=>{for(var be in Pe||(Pe={}))z.call(Pe,be)&&ae(pe,be,Pe[be]);if(fe)for(var be of fe(Pe))ee.call(Pe,be)&&ae(pe,be,Pe[be]);return pe},le=(pe,Pe,be)=>new Promise((Ie,Me)=>{var Oe=ze=>{try{je(be.next(ze))}catch($e){Me($e)}},Te=ze=>{try{je(be.throw(ze))}catch($e){Me($e)}},je=ze=>ze.done?Ie(ze.value):Promise.resolve(ze.value).then(Oe,Te);je((be=be.apply(pe,Pe)).next())}),ue=({editOffice:pe="view",data:Pe,theme:be,type:Ie,filename:Me,monacoEditor:Oe,className:Te,style:je,close:ze,onClose:$e,hasMask:Ue,disabledDownload:qe,onImgDimensions:et,showNodata:lt,recordInfo:ut})=>{const[vt,tt]=(0,He.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[at,dt]=(0,He.useState)(""),[St,xt]=(0,He.useState)(),ft=window.ENV==="build"?"/react/build":"",pt=location.host.startsWith("localhost")?ye.Z.PROXY_SERVER:ye.Z.API_SERVER,Tt=10*(1024*1024),At=(0,He.useRef)();Pe!=null&&Pe.startsWith("/api")&&Ie!=="txt"&&(Pe=ye.Z.API_SERVER+Pe);const Gt=_e=>_e.substring(_e.lastIndexOf("/")+1).split(".").pop();Me&&Oe&&(Oe.filename=Me),(0,He.useEffect)(()=>{var _e,we;const Ce=(we=(_e=document.cookie)==null?void 0:_e.replace(/\s/g,""))==null?void 0:we.split(";");Ce==null||Ce.map(Ye=>{let Je=Ye.split("=");Je[0]==="_educoder_session"&&dt(Je[1])})},[]),(0,He.useEffect)(()=>{Ie==="office"&&(Pe.indexOf("bigfilescdn.")>-1||Pe.indexOf("bigfiles1")>-1?xt({url:Pe,fileType:Gt(Pe),model:Pe.indexOf("model=edit")?"edit":"view"}):wt())},[Ie,Pe]);const wt=()=>le(void 0,null,function*(){console.log("data:",Pe);let _e=Pe;Pe.startsWith("http")||(_e=location.origin+_e);let we=new URL(_e).pathname.split("/").pop();const Ce=yield(0,Ee.gJ)({attachment_id:we});Ce.url=pt+Ce.url,xt(Ce)}),bt=()=>{if(Pe.startsWith("http")||Pe.startsWith("blob:")){it();return}(0,ce.Sv)(Me||"educoder",Pe,Me)},it=()=>{ut&&(0,De.fc)({id:ut==null?void 0:ut.id,watch_type:1,course_id:ut==null?void 0:ut.course_id}),(0,ce.Nd)(Me||"educoder",decodeURIComponent(Pe))};return me.createElement("div",{style:re({},je||{}),className:`${Ue&>.bgBlack} ${Ie?gt.wrp:"hide"}`},ze&&me.createElement("div",{className:gt.close,ref:At},!!et&&me.createElement(ge.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>At.current},me.createElement("span",{onClick:()=>{$e(),et()}},me.createElement("i",{className:"icon-yulanpizhu"}))),!qe&&me.createElement(ge.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>At.current},me.createElement("span",{onClick:it},me.createElement("i",{className:"icon-quxiaozhiding"}))),me.createElement(ge.Z,{title:"\u5173\u95ED",getPopupContainer:()=>At.current},me.createElement("span",{className:"",onClick:$e},me.createElement("i",{className:"icon-guanbi1"})))),me.createElement("div",{className:`${gt[Te]} ${Te} ${gt.monaco} ${Ie==="txt"?"show":"hide"}`},Ie==="txt"&&me.createElement(me.Fragment,null,me.createElement(Ne.ZP,re({},Oe)))),Ie==="audio"&&me.createElement("audio",{src:`${(Pe==null?void 0:Pe.indexOf("http://"))>-1||(Pe==null?void 0:Pe.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${Pe}`,autoPlay:!0}),Ie==="video"&&me.createElement(me.Fragment,null,(Pe==null?void 0:Pe.indexOf("http"))>-1?me.createElement("video",{controls:!0,src:`${Pe}`,autoPlay:!0}):me.createElement("video",{controls:!0,src:`data:video/mp4;base64,${Pe}`,autoPlay:!0})),Ie==="office"&&St&&me.createElement("iframe",{src:`${ft}/office.html?key=${St.key}&url=${btoa(St.url)}&callbackUrl=${pt+(St.callbackUrl||"")}&fileType=${St.fileType}&title=${St.title||""}&model=${pe}&officeServer=${ye.Z.ONLYOFFICE}&disabledDownload=${!!qe}`}),Ie==="html"&&me.createElement("iframe",{src:Pe+"&disposition=inline"}),Ie==="pdf"&&me.createElement("iframe",{src:`${ft}/js/pdfview/index.html?filename=${Me||"educoder.pdf"}&url=${encodeURIComponent(Pe)}&disabledDownload=${!!qe}`}),Ie==="image"&&me.createElement("img",{src:`${(Pe==null?void 0:Pe.indexOf("http://"))>-1||(Pe==null?void 0:Pe.indexOf("https://"))>-1?"":"data:image/png;base64,"}${Pe}`}),(Ie==="other"||Ie==="download")&&me.createElement(me.Fragment,null,lt?me.createElement(Ae.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:me.createElement(oe.ZP,{icon:me.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:bt,disabled:qe},"\u4E0B\u8F7D")}):me.createElement(oe.ZP,{type:"primary",size:"middle",onClick:bt,disabled:qe},me.createElement(Ze.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},85149:function(Nn,fn,We){"use strict";We.d(fn,{z:function(){return Ie},Z:function(){return Me}});var He=We(59301),gt=We(50304),oe=We(24768),Ze=We(64018),Ne=We(40846),ge=We(3294),ce=We(955),Ee=We(15342),Ae=We(1012),ye=We(23210),De=We(59301),xe=({html:Oe})=>{const Te=(0,He.useRef)(null),je=(0,He.useRef)(null),ze=`.markdown-body p { margin: 0 0 16px 0 !important; line-height: 28px; white-space: pre-wrap; } ol, ul, li { list-style-type: none } ol, ul, dl { margin-bottom: 0px; } .markdown-body { -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #333; overflow: hidden; font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif; word-break: break-word; font-size: 16px; line-height: 1.6; white-space: normal; word-wrap: break-word; position: relative; } .markdown-body ul>li { list-style-type: disc; } .markdown-body ol>li { list-style-type: decimal; } .markdown-body a { background: transparent; } .markdown-body a:active, .markdown-body a:hover { outline: 0; } .markdown-body strong { font-weight: bold; } .markdown-body h1 { font-size: 2em; margin: 0.67em 0; } .markdown-body img { border: 0; } .markdown-body hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; } .markdown-body pre { overflow: auto; } .markdown-body code, .markdown-body kbd, .markdown-body pre { font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace; font-size: 1em; } .markdown-body input { color: inherit; font: inherit; margin: 0; } .markdown-body html input[disabled] { cursor: default; } .markdown-body input { line-height: normal; } .markdown-body input[type="checkbox"] { -moz-box-sizing: border-box; box-sizing: border-box; padding: 0; } .markdown-body table { border-collapse: collapse; border-spacing: 0; } .markdown-body td, .markdown-body th { padding: 0; } .markdown-body * { -moz-box-sizing: border-box; box-sizing: border-box; } .markdown-body input { font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"; } .markdown-body a { color: #4183c4; text-decoration: none; } .markdown-body a:hover, .markdown-body a:active { text-decoration: underline; } .markdown-body hr { height: 0; margin: 15px 0; overflow: hidden; background: transparent; border: 0; border-bottom: 1px solid #ddd; } .markdown-body hr:before { display: table; content: ""; } .markdown-body hr:after { display: table; clear: both; content: ""; } .markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 { margin-top: 15px; margin-bottom: 15px; line-height: 1.1; } .markdown-body h1 { font-size: 30px; } .markdown-body h2 { font-size: 21px; } .markdown-body h3 { font-size: 16px; } .markdown-body h4 { font-size: 14px; } .markdown-body h5 { font-size: 12px; } .markdown-body h6 { font-size: 11px; } .markdown-body blockquote { margin: 0; } .markdown-body ul, .markdown-body ol { padding: 0; margin-top: 0; margin-bottom: 0; } ul.linenums, ol.linenums { padding: 16px 0 0 36px !important; } .markdown-body ul, .markdown-body ol { padding-left: 2em; } .markdown-body ol ol, .markdown-body ul ol { list-style-type: lower-roman; } .markdown-body ul ul ol, .markdown-body ul ol ol, .markdown-body ol ul ol, .markdown-body ol ol ol { list-style-type: lower-alpha; } .markdown-body dd { margin-left: 0; } .markdown-body code { font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; } .markdown-body pre { margin-top: 0; margin-bottom: 0; font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace; } .markdown-body .octicon { font: normal normal 16px octicons-anchor; line-height: 1; display: inline-block; text-decoration: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .markdown-body .octicon-link:before { content: '\f05c'; } .markdown-body>*:first-child { margin-top: 0 !important; } .markdown-body>*:last-child { margin-bottom: 0 !important; } .markdown-body .anchor { position: absolute; top: 0; left: 0; display: block; padding-right: 6px; padding-left: 30px; margin-left: -30px; } .markdown-body .anchor:focus { outline: none; } .markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 { position: relative; margin-top: 1em; margin-bottom: 16px; font-weight: bold; line-height: 1.4; } .markdown-body h1 .octicon-link, .markdown-body h2 .octicon-link, .markdown-body h3 .octicon-link, .markdown-body h4 .octicon-link, .markdown-body h5 .octicon-link, .markdown-body h6 .octicon-link { display: none; color: #000; vertical-align: middle; } .markdown-body h1:hover .anchor, .markdown-body h2:hover .anchor, .markdown-body h3:hover .anchor, .markdown-body h4:hover .anchor, .markdown-body h5:hover .anchor, .markdown-body h6:hover .anchor { padding-left: 8px; margin-left: -30px; text-decoration: none; } .markdown-body h1:hover .anchor .octicon-link, .markdown-body h2:hover .anchor .octicon-link, .markdown-body h3:hover .anchor .octicon-link, .markdown-body h4:hover .anchor .octicon-link, .markdown-body h5:hover .anchor .octicon-link, .markdown-body h6:hover .anchor .octicon-link { display: inline-block; } .markdown-body h1 { padding-bottom: 0.3em; font-size: 2.25em; line-height: 1.2; border-bottom: 1px solid #eee; } .markdown-body h1 .anchor { line-height: 1; } .markdown-body h2 { padding-bottom: 0.3em; font-size: 1.75em; line-height: 1.225; border-bottom: 1px solid #eee; } .markdown-body h2 .anchor { line-height: 1; } .markdown-body h3 { font-size: 1.5em; line-height: 1.43; } .markdown-body h3 .anchor { line-height: 1.2; } .markdown-body h4 { font-size: 1.25em; } .markdown-body h4 .anchor { line-height: 1.2; } .markdown-body h5 { font-size: 1em; } .markdown-body h5 .anchor { line-height: 1.1; } .markdown-body h6 { font-size: 1em; color: #777; } .markdown-body h6 .anchor { line-height: 1.1; } .markdown-body p, .markdown-body blockquote, .markdown-body ul, .markdown-body ol, .markdown-body dl, .markdown-body table, .markdown-body pre { margin-top: 0; margin-bottom: 16px; } .markdown-body ul ul, .markdown-body ul ol, .markdown-body ol ol, .markdown-body ol ul { margin-top: 0; margin-bottom: 0; } .markdown-body li>p { margin-top: 16px; } .markdown-body dl { padding: 0; } .markdown-body dl dt { padding: 0; margin-top: 16px; font-size: 1em; font-style: italic; font-weight: bold; } .markdown-body dl dd { padding: 0 16px; margin-bottom: 16px; } .markdown-body blockquote { padding: 0 15px; color: #777; border-left: 4px solid #ddd; } .markdown-body blockquote> :first-child { margin-top: 0; } .markdown-body blockquote> :last-child { margin-bottom: 0; } .markdown-body table { display: block; width: 100%; overflow: auto; word-break: normal; word-break: keep-all; } .markdown-body table th { font-weight: bold; text-align: revert; } .markdown-body table th, .markdown-body table td { padding: 6px 13px; border: 1px solid #ddd; } .markdown-body table tr { background-color: #fff; border-top: 1px solid #ccc; } .markdown-body table tr:nth-child(2n) { background-color: #f8f8f8; } .markdown-body img { max-width: 100%; -moz-box-sizing: border-box; box-sizing: border-box; } .markdown-body code { padding: 0; padding-top: 0.2em; padding-bottom: 0.2em; margin: 0; font-size: 85%; background-color: rgba(0, 0, 0, 0.04); border-radius: 3px; } .markdown-body code:has(.katex) { background-color: transparent; } .markdown-body code:before, .markdown-body code:after { letter-spacing: -0.2em; content: "\\00a0"; } .markdown-body pre>code { padding: 0; margin: 0; font-size: 100%; word-break: normal; white-space: pre; background: transparent; border: 0; } .markdown-body .highlight { margin-bottom: 16px; } .markdown-body .highlight pre, .markdown-body pre { padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; background-color: #f7f7f7; border-radius: 3px; } .markdown-body .highlight pre { margin-bottom: 0; word-break: normal; } .markdown-body pre { word-wrap: normal; } .markdown-body pre code { display: inline; max-width: initial; padding: 0; margin: 0; overflow: initial; line-height: inherit; word-wrap: normal; background-color: transparent; border: 0; } .markdown-body pre code:before, .markdown-body pre code:after { content: normal; } .markdown-body kbd { display: inline-block; padding: 3px 5px; font-size: 11px; line-height: 10px; color: #555; vertical-align: middle; background-color: #fcfcfc; border: solid 1px #ccc; border-bottom-color: #bbb; border-radius: 3px; box-shadow: inset 0 -1px 0 #bbb; } .markdown-body .pl-c { color: #969896; } .markdown-body .pl-c1, .markdown-body .pl-mdh, .markdown-body .pl-mm, .markdown-body .pl-mp, .markdown-body .pl-mr, .markdown-body .pl-s1 .pl-v, .markdown-body .pl-s3, .markdown-body .pl-sc, .markdown-body .pl-sv { color: #0086b3; } .markdown-body .pl-e, .markdown-body .pl-en { color: #795da3; } .markdown-body .pl-s1 .pl-s2, .markdown-body .pl-smi, .markdown-body .pl-smp, .markdown-body .pl-stj, .markdown-body .pl-vo, .markdown-body .pl-vpf { color: #333; } .markdown-body .pl-ent { color: #63a35c; } .markdown-body .pl-k, .markdown-body .pl-s, .markdown-body .pl-st { color: #a71d5d; } .markdown-body .pl-pds, .markdown-body .pl-s1, .markdown-body .pl-s1 .pl-pse .pl-s2, .markdown-body .pl-sr, .markdown-body .pl-sr .pl-cce, .markdown-body .pl-sr .pl-sra, .markdown-body .pl-sr .pl-sre, .markdown-body .pl-src { color: #df5000; } .markdown-body .pl-mo, .markdown-body .pl-v { color: #1d3e81; } .markdown-body .pl-id { color: #b52a1d; } .markdown-body .pl-ii { background-color: #b52a1d; color: #f8f8f8; } .markdown-body .pl-sr .pl-cce { color: #63a35c; font-weight: bold; } .markdown-body .pl-ml { color: #693a17; } .markdown-body .pl-mh, .markdown-body .pl-mh .pl-en, .markdown-body .pl-ms { color: #1d3e81; font-weight: bold; } .markdown-body .pl-mq { color: #008080; } .markdown-body .pl-mi { color: #333; font-style: italic; } .markdown-body .pl-mb { color: #333; font-weight: bold; } .markdown-body .pl-md, .markdown-body .pl-mdhf { background-color: #ffecec; color: #bd2c00; } .markdown-body .pl-mdht, .markdown-body .pl-mi1 { background-color: #eaffea; color: #55a532; } .markdown-body .pl-mdr { color: #795da3; font-weight: bold; } .markdown-body kbd { display: inline-block; padding: 3px 5px; font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace; line-height: 10px; color: #555; vertical-align: middle; background-color: #fcfcfc; border: solid 1px #ccc; border-bottom-color: #bbb; border-radius: 3px; box-shadow: inset 0 -1px 0 #bbb; } .markdown-body .task-list-item { list-style-type: none; } .markdown-body .task-list-item+.task-list-item { margin-top: 3px; } .markdown-body .task-list-item input { float: left; margin: 0.3em 0 0.25em -1.6em; vertical-align: middle; } .markdown-body :checked+.radio-label { z-index: 1; position: relative; border-color: #4183c4; } /*! Pretty printing styles. Used with prettify.js. */ /* SPAN elements with the classes below are added by prettyprint. */ .pln { color: #000 } /* plain text */ @media screen { .str { color: #080 } /* string content */ .kwd { color: #008 } /* a keyword */ .com { color: #800 } /* a comment */ .typ { color: #606 } /* a type name */ .lit { color: #066 } /* a literal value */ /* punctuation, lisp open bracket, lisp close bracket */ .pun, .opn, .clo { color: #660 } .tag { color: #008 } /* a markup tag name */ .atn { color: #606 } /* a markup attribute name */ .atv { color: #080 } /* a markup attribute value */ .dec, .var { color: #606 } /* a declaration; a variable name */ .fun { color: red } /* a function name */ } /* Use higher contrast and text-weight for printable form. */ @media print, projection { .str { color: #060 } .kwd { color: #006; font-weight: bold } .com { color: #600; font-style: italic } .typ { color: #404; font-weight: bold } .lit { color: #044 } .pun, .opn, .clo { color: #440 } .tag { color: #006; font-weight: bold } .atn { color: #404 } .atv { color: #060 } } /* Put a border around prettyprinted code snippets. */ pre.prettyprint { padding: 2px; /* border: 1px solid #888 */ } /* Specify class=linenums on a pre to get line numbering */ ol.linenums { margin-top: 0; margin-bottom: 0 } /* IE indents via margin-left */ li.L0, li.L1, li.L2, li.L3, li.L5, li.L6, li.L7, li.L8 { list-style-type: none } /* Alternate shading for lines */ li.L1, li.L3, li.L5, li.L7, li.L9 { background: #eee } .markdown-body p, .markdown-body blockquote, .markdown-body ul, .markdown-body ol, .markdown-body dl, .markdown-body table, .markdown-body pre { margin-top: 0; margin-bottom: 16px; }`;return(0,He.useEffect)(()=>{const $e=Te.current.attachShadow({mode:"open"});je.current=document.createElement("div"),je.current.className="markdown-body",je.current.innerHTML=Oe,$e.appendChild(je.current);const Ue=document.createElement("style");return Ue.textContent=ze,$e.appendChild(Ue),()=>{$e.innerHTML=""}},[]),(0,He.useEffect)(()=>{je.current&&(je.current.innerHTML=Oe)},[Oe]),De.createElement("div",{ref:Te})},fe=Object.defineProperty,z=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,re=(Oe,Te,je)=>Te in Oe?fe(Oe,Te,{enumerable:!0,configurable:!0,writable:!0,value:je}):Oe[Te]=je,le=(Oe,Te)=>{for(var je in Te||(Te={}))ee.call(Te,je)&&re(Oe,je,Te[je]);if(z)for(var je of z(Te))ae.call(Te,je)&&re(Oe,je,Te[je]);return Oe};const ue="@\u2581\u2581@",pe="@\u2581@",Pe=/]*>/g;function be(Oe){let Te=document.createElement("div");return Te.innerHTML=Oe,Te.childNodes.length===0?"":Te.childNodes[0].nodeValue}const Ie=(Oe,Te)=>{Oe=Oe||"";const je=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,ze=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,$e=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Ue=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return Te?Oe.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(je,(qe,et,lt,ut,vt,tt,at)=>{const dt=et||ut||tt,St=lt||vt||at||"?";return ge.Z.API_SERVER+"/api/attachments/"+dt+St+"&t="+(0,ce.Jn)(dt,Date.now())+(qe.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(Oe=Oe.replace(Ue,(qe,et,lt,ut,vt,tt,at)=>{const dt=et||ut||tt,St=lt||vt||at||"?";return ge.Z.API_SERVER+"/attachments/download/"+dt+St+"&t="+(0,ce.Jn)(dt,Date.now())+(qe.indexOf(")")>-1?")":"&")}).replace(je,(qe,et,lt,ut,vt,tt,at)=>{const dt=et||ut||tt,St=lt||vt||at||"?";return ge.Z.API_SERVER+"/api/attachments/"+dt+St+"&t="+(0,ce.Jn)(dt,Date.now())+(qe.indexOf(")")>-1?")":"&")}).replace(ze,(qe,et,lt,ut,vt)=>{const tt=et||ut,at=lt||vt||"";return'"'+ge.Z.API_SERVER+"/api/attachments/"+tt+at+tt+at+"&t="+(0,ce.Jn)(tt,Date.now())}).replace($e,(qe,et,lt,ut,vt)=>{const tt=et||ut,at=lt||vt||"";return"("+ge.Z.API_SERVER+"/files/uploads/"+tt+at+tt+at+"&t="+(0,ce.Jn)(tt,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` `),Oe)};var Me=({value:Oe="",className:Te,showTextOnly:je,showLines:ze,style:$e={},stylesPrev:Ue={},highlightKeywords:qe,showProgramFill:et,isProgramFill:lt,disabledFill:ut=!1,programFillValue:vt,onFillChange:tt=St=>{},onFillBlur:at=()=>{},onFillFocus:dt=()=>{}})=>{let St=String(Oe);const[xt,ft]=(0,He.useState)(""),[pt,yt]=(0,He.useState)("office"),[Tt,At]=(0,He.useState)([]),Gt=(0,He.useRef)("a"+(0,Ae.Z)()),wt={},bt=(ht,Et,mt)=>{const Ft=document.createElement(ht===pe?"input":"textarea");Ft.style.width="100%",Ft.style.height=ht===pe?"40px":"151px",Ft.rows=5,Ft.spellcheck=!1,Ft.name="edu-program-fill",Ft.placeholder="\u8BF7\u8F93\u5165",Ft.dataset.id=Et;const Kt=Object.keys(wt).length;return wt[Kt]=Ft,`${Ft.outerHTML}`};function it(ht){return ht=ht.replace(/!\[.*?\]\(.*?\)/g,""),ht=ht.replace(/\[.*?\]\(.*?\)/g,""),ht=ht.replace(new RegExp("","gs"),""),ht=ht.replace(//g,""),ht=ht.replace(//g,""),ht=ht.replace(new RegExp(".*?<\\/video>","gs"),""),ht=ht.replace(new RegExp(".*?<\\/audio>","gs"),""),ht=ht.replace(new RegExp(".*?<\\/style>","gs"),""),ht=ht.replace(new RegExp(".*?<\\/script>","gs"),""),ht}const _e=ht=>ht.replace(/([\s\S]+?)<\/style>/gim,function(Et,mt){let Ft=mt.replace(/(\n|\r)/g,"").split("}"),Kt=[];return Ft.map(jt=>{jt!=""&&Kt.push(`.${Gt.current} ${jt}`)}),``}),we=(0,He.useMemo)(()=>{try{const Ft=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Kt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,jt=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Wt=/\(\/attachments\/download\//g;St=St.replace(Wt,"("+ge.Z.API_SERVER+"/attachments/download/").replace(Ft,"("+ge.Z.API_SERVER+"/api/attachments/").replace(Kt,'"'+ge.Z.API_SERVER+"/api/attachments/").replace(jt,'"'+ge.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` `)}catch(Ft){}if(et){let Ft=-1;return St=St.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(Kt,jt,Wt){var Vt;return++Ft,bt(Kt,Ft,(Vt=vt==null?void 0:vt[Ft])==null?void 0:Vt.value.replaceAll("<","<").replaceAll(">",">"))}),`
${_e(St||"")}
`}let ht=_e(St);ht=(0,oe.ZP)(ht);const Et=(0,oe.ez)();St.match(/\[TOC\]/)&&(ht=ht.replace("

[TOC]

",(0,oe.Qv)()),(0,oe.Iy)()),ht=ht.replace(/(__special_katext_id_\d+__)/g,(Ft,Kt)=>{const{type:jt,expression:Wt}=Et[Kt];return(0,Ee.renderToString)(be(Wt)||"",{displayMode:jt==="block",throwOnError:!1,output:"html"})}),ht=ht.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,oe.AL)();const mt=document.createElement("div");if(mt.innerHTML=ht,je)return mt.innerText;if(qe){const Ft=qe.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Le(mt,Ft),mt.innerHTML}return setTimeout(()=>Xe(),500),mt.innerHTML},[St,qe]);(0,He.useEffect)(()=>{Ge.current&&Ge.current.querySelectorAll(["input","textarea"]).forEach(Et=>{Et.oninput=Ce,Et.onblur=Ye,Et.onfocus=Je})},[Tt]),(0,He.useEffect)(()=>{var ht,Et,mt,Ft,Kt;if(vt!=null&&vt.length)try{const jt=Ge.current.querySelectorAll(".edu-program-fill-score"),Wt=Ge.current.querySelectorAll('[name="edu-program-fill"]');for(const[Vt,nn]of Wt.entries())nn.value=((ht=vt==null?void 0:vt[Vt])==null?void 0:ht.value)||"",((Et=vt==null?void 0:vt[Vt])==null?void 0:Et.type)==="warning"?nn.className="program-fill-warning":((mt=vt==null?void 0:vt[Vt])==null?void 0:mt.type)==="success"?nn.className="program-fill-success":nn.className="";for(const[Vt,nn]of jt.entries())nn.innerHTML=(Ft=vt==null?void 0:vt[Vt])!=null&&Ft.score?`${(Kt=vt==null?void 0:vt[Vt])==null?void 0:Kt.score}\u5206`:"";At(vt)}catch(jt){console.log(jt,"error")}},[vt]);const Ce=ht=>{Tt[ht.target.dataset.id]=Tt[ht.target.dataset.id]||{},Tt[ht.target.dataset.id].value=ht.target.value,At([...Tt]),tt(Tt,ht.target.dataset.id)},Ye=ht=>{Tt[ht.target.dataset.id]=Tt[ht.target.dataset.id]||{},Tt[ht.target.dataset.id].value=ht.target.value,At([...Tt]),at(Tt,ht.target.dataset.id)},Je=ht=>{Tt[ht.target.dataset.id]=Tt[ht.target.dataset.id]||{},Tt[ht.target.dataset.id].value=ht.target.value,At([...Tt]),dt(Tt,ht.target.dataset.id)};function Le(ht,Et){return ht.childNodes.forEach(mt=>{var Ft;if(mt.childNodes.length>0)Le(mt,Et);else if(mt.nodeName!=="IMG")if(mt.innerHTML)mt.innerHTML=(Ft=mt.innerHTML)==null?void 0:Ft.replace(new RegExp(Et,"gi"),'$&');else{const Kt=document.createElement("span");Kt.innerHTML=mt.textContent.replace(new RegExp(Et,"gi"),'$&'),mt.replaceWith(Kt)}})}const Ge=(0,He.useRef)();oe.jb.WebkitLineClamp=ze,ze&&($e=le(le({},$e),oe.jb));function Ke(ht){let Et=ht.target;if(Et.tagName.toUpperCase()==="A"){let mt=Et.getAttribute("href");if(mt.indexOf("office")>-1)ht.preventDefault(),ft(mt),yt("office");else if(mt.indexOf("application/pdf")>-1)ht.preventDefault(),ft(mt),yt("pdf");else if(mt.indexOf("text/html")>-1)ht.preventDefault(),ft(mt),yt("html");else if(mt.startsWith("#")){ht.preventDefault();let Ft=document.getElementById(mt.replace("#",""));Ft&&Ft.scrollIntoView(!0)}}}const Xe=()=>{var ht;const Et=(ht=Ge.current)==null?void 0:ht.querySelectorAll("video");Et==null||Et.forEach(mt=>{if(mt.oncontextmenu=()=>!1,mt.src.indexOf(".m3u8")>-1&&!mt.canPlayType("application/vnd.apple.mpegurl")){if(Ne.ZP.isSupported()){var Ft=new Ne.ZP;Ft.loadSource(mt.src),Ft.attachMedia(mt)}}})};(0,He.useEffect)(()=>{if(Ge.current&&we&&we.match(Pe)&&window.PR.prettyPrint(),Ge.current)return Ge.current.addEventListener("click",Ke),()=>{var ht;(ht=Ge.current)==null||ht.removeEventListener("click",Ke),(0,oe.AL)(),(0,oe.Iy)()}},[we,Ge.current,Ke]),(0,He.useEffect)(()=>{var ht;const Et=mt=>{mt.preventDefault(),mt.clipboardData.setData("text",window.getSelection().toString())};return(ht=Ge.current)==null||ht.addEventListener("copy",Et),()=>{var mt;(mt=Ge.current)==null||mt.removeEventListener("copy",Et)}},[Ge.current]);const Qe=ht=>//i.test(ht||"");return He.createElement(He.Fragment,null,je&&He.createElement("div",{ref:Ge},we),!je&&!Qe(we)&&He.createElement("div",{ref:Ge,style:le({},$e),className:`${Te||""} ${ut?"disabled-fill":""} markdown-body ${Gt.current}`,dangerouslySetInnerHTML:{__html:we}}),!je&&Qe(we)&&He.createElement(xe,{html:we}),He.createElement(ye.Z,{close:!0,data:xt,type:xt!=null&&xt.length?pt:"",style:le({},Ue),onClose:()=>ft("")}))}},81939:function(Nn,fn,We){"use strict";We.d(fn,{cT:function(){return Oe},pe:function(){return be}});var He=We(59301),gt=We(54580),oe=We(8591),Ze=We(99064),Ne=We(28209),ge=We.n(Ne),ce=We(1012),Ee=We(89070),Ae=We(47257),ye=We.n(Ae),De=Object.defineProperty,me=Object.defineProperties,xe=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,ae=(je,ze,$e)=>ze in je?De(je,ze,{enumerable:!0,configurable:!0,writable:!0,value:$e}):je[ze]=$e,re=(je,ze)=>{for(var $e in ze||(ze={}))z.call(ze,$e)&&ae(je,$e,ze[$e]);if(fe)for(var $e of fe(ze))ee.call(ze,$e)&&ae(je,$e,ze[$e]);return je},le=(je,ze)=>me(je,xe(ze)),ue=(je,ze)=>{var $e={};for(var Ue in je)z.call(je,Ue)&&ze.indexOf(Ue)<0&&($e[Ue]=je[Ue]);if(je!=null&&fe)for(var Ue of fe(je))ze.indexOf(Ue)<0&&ee.call(je,Ue)&&($e[Ue]=je[Ue]);return $e},pe=(je,ze,$e)=>new Promise((Ue,qe)=>{var et=vt=>{try{ut($e.next(vt))}catch(tt){qe(tt)}},lt=vt=>{try{ut($e.throw(vt))}catch(tt){qe(tt)}},ut=vt=>vt.done?Ue(vt.value):Promise.resolve(vt.value).then(et,lt);ut(($e=$e.apply(je,ze)).next())});const{Dragger:Pe}=gt.default,be=je=>{const ze="bf3c199c2470cb477d907b1e0917c17b",$e="5183666c72eec9e4";var Ue=ge().enc.Utf8.parse(ze);let qe=ge().enc.Utf8.parse($e);var et=ge().AES.decrypt(je,Ue,{iv:qe,mode:ge().mode.CBC});return et.toString(ge().enc.Utf8)};let Ie;const Me=je=>pe(void 0,[je],function*({identifier:ze,oldFilename:$e,newFilename:Ue}){var qe,et,lt,ut,vt,tt;const at=yield Fetch("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});at.data=JSON.parse(be(at.data));const dt=new OSS({endpoint:(qe=at==null?void 0:at.data)==null?void 0:qe.end_point,region:(et=at==null?void 0:at.data)==null?void 0:et.region,accessKeyId:(lt=at==null?void 0:at.data)==null?void 0:lt.access_key_id,accessKeySecret:(ut=at==null?void 0:at.data)==null?void 0:ut.access_key_secret,bucket:(vt=at==null?void 0:at.data)==null?void 0:vt.bucket,stsToken:(tt=at==null?void 0:at.data)==null?void 0:tt.security_token});return new Promise((St,xt)=>{console.log(11111,`${ze}/${$e}`,`${ze}/${Ue}`,at.data),dt.copy(`/${ze}/${$e}`,`/${ze}/${Ue}`).then(ft=>{console.log("\u62F7\u8D1D\u6210\u529F",ft)}).catch(ft=>{console.log(ft)})})}),Oe=(je,ze,$e)=>pe(void 0,null,function*(){var Ue,qe,et,lt,ut,vt;ze.file_name=je.name;const tt=yield(0,Ze.ZP)("/api/buckets/get_upload_token.json",{method:"get"});console.log("decrypt(res.data):",be(tt.data)),tt.data=JSON.parse(be(tt.data));const at=je.name.split(".");at.pop();const dt=ze.realFileName?at.join(""):(0,ce.Z)(),St=new(ye())({endpoint:(Ue=tt==null?void 0:tt.data)==null?void 0:Ue.end_point,region:(qe=tt==null?void 0:tt.data)==null?void 0:qe.region,accessKeyId:(et=tt==null?void 0:tt.data)==null?void 0:et.access_key_id,accessKeySecret:(lt=tt==null?void 0:tt.data)==null?void 0:lt.access_key_secret,bucket:(ut=tt==null?void 0:tt.data)==null?void 0:ut.bucket,stsToken:(vt=tt==null?void 0:tt.data)==null?void 0:vt.security_token});return new Promise((xt,ft)=>{var pt;St.multipartUpload(`${dt}`,new Blob([je],{type:je.type}),le(re({timeout:200*1e3,partSize:102400},$e),{callback:{url:(pt=tt==null?void 0:tt.data)==null?void 0:pt.callback_url,host:tt==null?void 0:tt.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,Ze.rz)(ze)}})).then(function(yt){var Tt;je.response=(Tt=yt.data)==null?void 0:Tt.data,xt(yt==null?void 0:yt.data)}).catch(function(yt){ft(yt),console.log("err:",yt)})})}),Te=je=>{var ze=je,{user:$e,cancelUpload:Ue}=ze,qe=ue(ze,["user","cancelUpload"]);const[et,lt]=(0,He.useState)([]);let[ut,vt]=(0,He.useState)();const tt={onRemove:dt=>{lt([...et.filter(St=>St.name!==dt.name)]),qe.onChange(et.filter(St=>St.name!==dt.name))},disabled:qe.disabled,multiple:!0,fileList:et==null?void 0:et.map(dt=>dt.file),customRequest:()=>{},beforeUpload:dt=>pe(void 0,null,function*(){let St=qe.maxSize||1073741824;if(et.filter(xt=>xt.name===dt.name).length){oe.ZP.info(`${dt.name}\u5DF2\u5B58\u5728\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9`);return}return(dt==null?void 0:dt.size)>St?(oe.ZP.info(`\u6587\u4EF6\u8D85\u8FC7${St/1024/1024/1024}GB\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42`),!1):(et.push({name:dt.name,file:dt}),lt([...et]),qe.onChange(et),!1)})},at=(dt,St)=>pe(void 0,null,function*(){var xt,ft,pt,yt,Tt,At;St.file_name=dt.name;const Gt=dt.name,wt=yield(0,Ze.ZP)("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});if(wt.data=JSON.parse(be(wt.data)),(wt==null?void 0:wt.status)!==0){et[et.findIndex(_e=>_e.name===Gt)].status="error",et[et.findIndex(_e=>_e.name===Gt)].file.status="error",qe.onChange(et),oe.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5");return}ut=new(ye())({endpoint:(xt=wt==null?void 0:wt.data)==null?void 0:xt.end_point,region:(ft=wt==null?void 0:wt.data)==null?void 0:ft.region,accessKeyId:(pt=wt==null?void 0:wt.data)==null?void 0:pt.access_key_id,accessKeySecret:(yt=wt==null?void 0:wt.data)==null?void 0:yt.access_key_secret,bucket:(Tt=wt==null?void 0:wt.data)==null?void 0:Tt.bucket,stsToken:(At=wt==null?void 0:wt.data)==null?void 0:At.security_token}),console.log(dt,"file"),vt(ut);const bt=dt.name.split(".");bt.pop();const it=Gt.indexOf(".")>-1?St.realFileName?bt.join("."):(0,ce.Z)():Gt;return new Promise((_e,we)=>{var Ce;try{ut.multipartUpload(`${qe.identifier}/${it}${Gt.indexOf(".")>-1?"."+Gt.split(".").pop():""}`,new Blob([dt.file],{type:dt.file.type}),{timeout:3600*1e3,partSize:1002400,progress:(Ye,Je,Le)=>{try{console.log("\u8FDB\u5EA6",Ye,Je,Le);const Ge=et.findIndex(Ke=>Ke.name===Gt);et[Ge].file.percent=Ye*100,et[Ge].tempCheckpoint=Je,lt([...et])}catch(Ge){}},checkpoint:et[et.findIndex(Ye=>Ye.name===Gt)].tempCheckpoint,callback:{customValue:{id:Gt+""},url:(Ce=wt==null?void 0:wt.data)==null?void 0:Ce.callback_url,host:wt==null?void 0:wt.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,Ze.rz)(St)}}).then(function(Ye){var Je,Le,Ge;const Ke=et.findIndex(Qe=>Qe.name===Gt);let Xe="done";if(((Je=Ye.data)==null?void 0:Je.status)===0){dt.response=(Le=Ye.data)==null?void 0:Le.data;const Qe=et.findIndex(ht=>ht.name===Gt);et[Qe].status="done",et[Qe].file.status="done"}else oe.ZP.warning((Ge=Ye.data)==null?void 0:Ge.message),Xe="error";et[Ke].status=Xe,et[Ke].file.status=Xe,qe.onChange(et),_e(Ye==null?void 0:Ye.data)}).catch(function(Ye){et[et.findIndex(Je=>Je.name===Gt)].status="error",et[et.findIndex(Je=>Je.name===Gt)].file.status="error",oe.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5"),lt([...et]),qe.onChange(et),we(Ye),console.log("err:",Ye)})}catch(Ye){}})});return(0,He.useEffect)(()=>{et.every(dt=>dt==="done"||dt==="error")&&qe.onComplete(et)},[et]),(0,He.useEffect)(()=>{Ue&&(ut==null||ut.cancel())},[Ue]),(0,He.useEffect)(()=>{qe.uploading&&et.map(dt=>pe(void 0,null,function*(){var St;if((!dt.status||dt.status==="error")&&!Ue){dt.status="uploading",dt.file.status="uploading";const xt=yield at(dt,{login:(St=$e==null?void 0:$e.userInfo)==null?void 0:St.login,container_type:qe.container_type,container_id:qe.container_id,description:qe.description,realFileName:qe.realFileName})}}))},[qe.uploading]),He.createElement(Pe,le(re({},tt),{height:qe.height,className:qe.className}),He.createElement("p",{className:"ant-upload-hint"},qe.text||"\u62D6\u62FD\u6587\u4EF6\u6216\u8005\u70B9\u51FB\u4E0A\u4F20"))};fn.ZP=(0,Ee.connect)(({loading:je,globalSetting:ze,user:$e})=>({globalSetting:ze,loading:je.models.competitions,user:$e}))(Te)},97692:function(Nn,fn,We){"use strict";We.d(fn,{h:function(){return pe}});var He=We(59301),gt=We(57809),oe=We(78241),Ze=We(3113),Ne=We(89780),ge=We.n(Ne),ce=We(37036),Ee=We(95625),Ae=Object.defineProperty,ye=Object.defineProperties,De=Object.getOwnPropertyDescriptors,me=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,z=(Pe,be,Ie)=>be in Pe?Ae(Pe,be,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):Pe[be]=Ie,ee=(Pe,be)=>{for(var Ie in be||(be={}))xe.call(be,Ie)&&z(Pe,Ie,be[Ie]);if(me)for(var Ie of me(be))fe.call(be,Ie)&&z(Pe,Ie,be[Ie]);return Pe},ae=(Pe,be)=>ye(Pe,De(be));const re=gt.default.Option,le={labelCol:{span:4},wrapperCol:{span:20}},ue={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};fn.Z=({callback:Pe,onCancel:be})=>{const[Ie,Me]=(0,He.useState)("python");function Oe(je){Me(ue[je][1])}function Te(je){Pe(je)}return He.createElement(oe.default,ae(ee({},le),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Te,style:{width:500}}),He.createElement(oe.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},He.createElement(gt.default,{getPopupContainer:je=>je.parentNode,onChange:Oe},Object.keys(ue).map(je=>He.createElement(re,{key:je,value:je},ue[je][0])))),He.createElement(oe.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},He.createElement(pe,{mode:Ie})),He.createElement("div",{className:"flex-container flex-end"},He.createElement(Ze.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),He.createElement(Ze.ZP,{type:"ghost",onClick:be},"\u53D6\u6D88")))};function pe({value:Pe,onChange:be,mode:Ie,options:Me={}}){const Oe=(0,He.useRef)(),[Te,je]=(0,He.useState)();return(0,He.useEffect)(()=>{if(Te){let ze=function($e){const Ue=$e.getValue();be&&be(Ue)};return Te.on("change",ze),()=>{Te.off("change",ze)}}},[Te,be]),(0,He.useEffect)(()=>{Te&&Te.setOption("mode",Ie)},[Te,Ie]),(0,He.useEffect)(()=>{Te&&(Pe!==Te.getValue()||Pe==="")&&setTimeout(()=>{Te.setValue(Pe||"")},300)},[Te,Pe]),(0,He.useEffect)(()=>{if(Oe.current&&!Te){const ze=ge().fromTextArea(Oe.current,ee({mode:Ie,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Me));je(ze)}},[Oe.current,Te]),He.createElement("div",{className:"my-codemirror-container"},He.createElement("textarea",{ref:Oe}))}},12290:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return Yn}});var He=We(59301),gt=We(89780),oe=We.n(gt),Ze=We(76374),Ne=We(37036),ge=We(6313),ce=We(25717),Ee=We(99498),Ae=We(25419),ye=We(67549),De=We(85149),me=({value:Qt="",className:Zt,showTextOnly:Pt,showLines:an,style:gn={}})=>{const Xt=(0,He.useMemo)(()=>"",[Qt]);return He.createElement(He.Fragment,null,He.createElement("div",{dangerouslySetInnerHTML:{__html:Xt}}))},xe=We(59301),fe=Object.defineProperty,z=Object.defineProperties,ee=Object.getOwnPropertyDescriptors,ae=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,ue=(Qt,Zt,Pt)=>Zt in Qt?fe(Qt,Zt,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):Qt[Zt]=Pt,pe=(Qt,Zt)=>{for(var Pt in Zt||(Zt={}))re.call(Zt,Pt)&&ue(Qt,Pt,Zt[Pt]);if(ae)for(var Pt of ae(Zt))le.call(Zt,Pt)&&ue(Qt,Pt,Zt[Pt]);return Qt},Pe=(Qt,Zt)=>z(Qt,ee(Zt));let be=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function Ie({onActionCallback:Qt,title:Zt,icon:Pt,actionName:an,className:gn="",children:Xt}){function Dt(){Qt(an)}return xe.createElement("a",{title:Zt,className:gn,onClick:Dt},xe.createElement("i",{className:`${Pt}`}),Xt)}var Me=({watch:Qt,showNullButton:Zt,showNullProgramButton:Pt,onActionCallback:an,fullScreen:gn,insertTemp:Xt,hidetoolBar:Dt,extraUse:cn})=>{const bn=[...be,{title:`${Qt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Qt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return xe.createElement("ul",{className:"markdown-toolbar-container"},!Dt&&bn.map((kn,Gn)=>xe.createElement("li",{key:Gn},kn.actionName?xe.createElement(Ie,Pe(pe({},kn),{onActionCallback:an})):xe.createElement("span",{className:"v-line"}))),Zt?xe.createElement("li",null,xe.createElement(Ie,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:an},xe.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Pt?xe.createElement(xe.Fragment,null,xe.createElement("li",null,xe.createElement(Ie,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:an},xe.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),xe.createElement("li",null,xe.createElement(Ie,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:an},xe.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Xt&&xe.createElement("li",null,xe.createElement(Ie,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Xt}`,onActionCallback:an},xe.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),cn&&xe.createElement("li",null,cn),xe.createElement("li",{className:"btn-full-screen"},xe.createElement(Ie,{icon:`${gn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:gn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:an})))},Oe=We(79346),Te=We(78241),je=We(92832),ze=We(3113),$e=Object.defineProperty,Ue=Object.defineProperties,qe=Object.getOwnPropertyDescriptors,et=Object.getOwnPropertySymbols,lt=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,vt=(Qt,Zt,Pt)=>Zt in Qt?$e(Qt,Zt,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):Qt[Zt]=Pt,tt=(Qt,Zt)=>{for(var Pt in Zt||(Zt={}))lt.call(Zt,Pt)&&vt(Qt,Pt,Zt[Pt]);if(et)for(var Pt of et(Zt))ut.call(Zt,Pt)&&vt(Qt,Pt,Zt[Pt]);return Qt},at=(Qt,Zt)=>Ue(Qt,qe(Zt));const dt={labelCol:{span:4},wrapperCol:{span:20}};var St=({callback:Qt,onCancel:Zt})=>{function Pt(an){Qt(an)}return He.createElement(Te.default,at(tt({},dt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Pt,style:{width:500}}),He.createElement(Te.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},He.createElement(je.default,null)),He.createElement(Te.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},He.createElement(je.default,null)),He.createElement("div",{className:"flex-container flex-end"},He.createElement(ze.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),He.createElement(ze.ZP,{type:"ghost",onClick:Zt},"\u53D6\u6D88")))},xt=We(97692),ft=We(28451),pt=We(43418),yt=We(95237),Tt=We(73524),At=We(59301),Gt=({callback:Qt,onCancel:Zt})=>{const Pt=document.createElement("canvas"),an=Pt.getContext("2d");Pt.width=1e3,Pt.height=800,an.fillStyle="#ffffff",an.fillRect(0,0,Pt.width,Pt.height);const gn=Pt.toDataURL("image/png");return At.createElement(pt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},At.createElement(yt.Z,{style:{height:"100vh"}},At.createElement(Tt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:gn,visible:!0,title:String(Date.now())},onOk:Xt=>{Qt({src:Xt.url})},onClose:Zt})))},wt=We(12378);function bt(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(bt,go.CommandHandler),bt.prototype.canAlignSelection=function(){var Qt=this.diagram;return!(Qt===null||Qt.isReadOnly||Qt.isModelReadOnly||Qt.selection.count<2)},bt.prototype.alignLeft=function(){var Qt=this.diagram;Qt.startTransaction("aligning left");var Zt=1/0;Qt.selection.each(function(Pt){Pt instanceof go.Link||(Zt=Math.min(Pt.position.x,Zt))}),Qt.selection.each(function(Pt){Pt instanceof go.Link||Pt.move(new go.Point(Zt,Pt.position.y))}),Qt.commitTransaction("aligning left")},bt.prototype.alignRight=function(){var Qt=this.diagram;Qt.startTransaction("aligning right");var Zt=-1/0;Qt.selection.each(function(Pt){if(!(Pt instanceof go.Link)){var an=Pt.actualBounds.x+Pt.actualBounds.width;Zt=Math.max(an,Zt)}}),Qt.selection.each(function(Pt){Pt instanceof go.Link||Pt.move(new go.Point(Zt-Pt.actualBounds.width,Pt.position.y))}),Qt.commitTransaction("aligning right")},bt.prototype.alignTop=function(){var Qt=this.diagram;Qt.startTransaction("alignTop");var Zt=1/0;Qt.selection.each(function(Pt){Pt instanceof go.Link||(Zt=Math.min(Pt.position.y,Zt))}),Qt.selection.each(function(Pt){Pt instanceof go.Link||Pt.move(new go.Point(Pt.position.x,Zt))}),Qt.commitTransaction("alignTop")},bt.prototype.alignBottom=function(){var Qt=this.diagram;Qt.startTransaction("aligning bottom");var Zt=-1/0;Qt.selection.each(function(Pt){if(!(Pt instanceof go.Link)){var an=Pt.actualBounds.y+Pt.actualBounds.height;Zt=Math.max(an,Zt)}}),Qt.selection.each(function(Pt){Pt instanceof go.Link||Pt.move(new go.Point(Pt.actualBounds.x,Zt-Pt.actualBounds.height))}),Qt.commitTransaction("aligning bottom")},bt.prototype.alignCenterX=function(){var Qt=this.diagram,Zt=Qt.selection.first();if(Zt){Qt.startTransaction("aligning Center X");var Pt=Zt.actualBounds.x+Zt.actualBounds.width/2;Qt.selection.each(function(an){an instanceof go.Link||an.move(new go.Point(Pt-an.actualBounds.width/2,an.actualBounds.y))}),Qt.commitTransaction("aligning Center X")}},bt.prototype.alignCenterY=function(){var Qt=this.diagram,Zt=Qt.selection.first();if(Zt){Qt.startTransaction("aligning Center Y");var Pt=Zt.actualBounds.y+Zt.actualBounds.height/2;Qt.selection.each(function(an){an instanceof go.Link||an.move(new go.Point(an.actualBounds.x,Pt-an.actualBounds.height/2))}),Qt.commitTransaction("aligning Center Y")}},bt.prototype.alignColumn=function(Qt){var Zt=this.diagram;Zt.startTransaction("align Column"),Qt===void 0&&(Qt=0),Qt=parseFloat(Qt);var Pt=new Array;Zt.selection.each(function(cn){cn instanceof go.Link||Pt.push(cn)});for(var an=0;an0){for(var cn=Xt.elt(Dt-1);cn!==null&&cn.isTreeExpanded&&!cn.isTreeLeaf;){var bn=this._sortTreeChildrenByY(cn);cn=bn.last()}cn!==null&&Qt.select(cn)}else Qt.select(gn)}}else if(Pt.key==="Down")if(Zt.isTreeExpanded&&!Zt.isTreeLeaf){var an=this._sortTreeChildrenByY(Zt).first();an!==null&&Qt.select(an)}else for(;Zt!==null;){var gn=Zt.findTreeParentNode();if(gn===null)break;var Xt=this._sortTreeChildrenByY(gn),Dt=Xt.indexOf(Zt);if(DtXt.y?1:gn.xXt.x?1:0}),Zt},bt.prototype.copyToClipboard=function(Qt){go.CommandHandler.prototype.copyToClipboard.call(this,Qt),this._lastPasteOffset.set(this.pasteOffset)},bt.prototype.pasteFromClipboard=function(){var Qt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Qt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Qt},Object.defineProperty(bt.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Qt){if(Qt!=="move"&&Qt!=="select"&&Qt!=="scroll"&&Qt!=="tree"&&Qt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Qt);this._arrowKeyBehavior=Qt}}),Object.defineProperty(bt.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Qt){if(!(Qt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Qt);this._pasteOffset.set(Qt)}});var it=bt,_e=We(74413),we=We(43604),Ce=We(99064),Ye={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Je=We(24065),Le=We(59301),Ge=(Qt,Zt,Pt)=>new Promise((an,gn)=>{var Xt=bn=>{try{cn(Pt.next(bn))}catch(kn){gn(kn)}},Dt=bn=>{try{cn(Pt.throw(bn))}catch(kn){gn(kn)}},cn=bn=>bn.done?an(bn.value):Promise.resolve(bn.value).then(Xt,Dt);cn((Pt=Pt.apply(Qt,Zt)).next())});function Ke({onCancel:Qt,callback:Zt}){let Pt=(0,He.useRef)(),an=(0,He.useRef)(),gn=(0,He.useRef)(),Xt=(0,He.useRef)(!1);const Dt=(0,He.useRef)(!1),[cn,bn]=(0,He.useState)(0);function kn(){const Ht=wt.bx.make,An={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};Pt.current=new wt.S0(an.current,{padding:20,grid:Ht(wt.s_,"Grid",Ht(wt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Ht(wt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Jn=>{var dr=Jn.diagram.commandHandler.addTopLevelParts(Jn.diagram.selection,!0);dr||Jn.diagram.currentTool.doCancel()},commandHandler:Ht(it),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Jn=>{var dr=Jn.subject;dr.location=dr.location.copy().snapToGridPoint(Jn.diagram.grid.gridOrigin,Jn.diagram.grid.gridCellSize),setTimeout(()=>{Jn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Jn=>{var dr=Jn.subject;setTimeout(()=>{Jn.diagram.commandHandler.editTextBlock()})},LinkRelinked:Jn=>{var dr=Jn.parameter.part;dr.invalidateConnectedLinks();var Ar=Jn.subject;Jn.diagram.toolManager.linkingTool.isForwards?Ar.toNode.invalidateConnectedLinks():Ar.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Pt.current.nodeTemplate=Ht(wt.NB,"Auto",{locationSpot:wt.z6.Center,locationObjectName:"SHAPE",desiredSize:new wt.$u(120,60),minSize:new wt.$u(40,40),resizable:!0,resizeCellSize:new wt.$u(10,10),rotatable:!0},new wt.KX("location","loc",wt.E9.parse).makeTwoWay(wt.E9.stringify),new wt.KX("desiredSize","size",wt.$u.parse).makeTwoWay(wt.$u.stringify),Ht(wt.bn,{name:"SHAPE",fill:An.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:wt.z6.AllSides,toSpot:wt.z6.AllSides},new wt.KX("figure"),new wt.KX("fill"),new wt.KX("stroke","borderColor"),new wt.KX("strokeWidth","thickness"),new wt.KX("strokeDashArray","dash")),Ht(wt.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Ht(wt.al,{margin:1,textAlign:"center",overflow:wt.al.OverflowEllipsis,editable:!0},new wt.KX("text").makeTwoWay(),new wt.KX("stroke","color"))),Pt.current.nodeTemplate.toolTip=Ht("ToolTip",Ht(wt.s_,"Vertical",{maxSize:new wt.$u(200,NaN)},Ht(wt.al,{font:"bold 10pt sans-serif",textAlign:"center"},new wt.KX("text")),Ht(wt.al,{font:"10pt sans-serif",textAlign:"center"},new wt.KX("text","details"))));function Kn(Jn,dr){var Ar=(fr,Ir)=>{fr.handled=!0,fr.diagram.model.commit(Gr=>{var Wr=Ir.part.adornedPart,br=new wt.E9().setRectSpot(Wr.actualBounds,Jn);br.subtract(Wr.location),br.scale(2,2),br.x+=Math.sign(br.x)*130,br.y+=Math.sign(br.y)*130,br.add(Wr.location),br.snapToGridPoint(fr.diagram.grid.gridOrigin,fr.diagram.grid.gridCellSize);var Kr=Gr.copyNodeData(Wr.data);Gr.setGroupKeyForNodeData(Kr,Gr.getGroupKeyForNodeData(Wr.data)),Gr.addNodeData(Kr);var Dn={from:Wr.key,to:Gr.getKeyForNodeData(Kr)};Gr.addLinkData(Dn);var Ei=fr.diagram.findNodeForData(Kr);Ei.location=br,fr.diagram.select(Ei),setTimeout(()=>{fr.diagram.commandHandler.editTextBlock()},20)})};return Ht(wt.bn,{figure:dr,alignment:Jn,alignmentFocus:Jn.opposite(),width:Jn.equals(wt.z6.Top)||Jn.equals(wt.z6.Bottom)?25:18,height:Jn.equals(wt.z6.Top)||Jn.equals(wt.z6.Bottom)?18:25,fill:"orange",stroke:An.white,strokeWidth:4,mouseEnter:(fr,Ir)=>Ir.fill="dodgerblue",mouseLeave:(fr,Ir)=>Ir.fill="orange",isActionable:!0,click:Ar,contextClick:Ar})}function ir(Jn){return Ht(wt.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(dr,Ar)=>Ar.fill="dodgerblue",mouseLeave:(dr,Ar)=>Ar.fill="orange",click:(dr,Ar)=>{dr.diagram.commandHandler.showContextMenu(Ar.part.adornedPart)}},Jn||{})}Pt.current.nodeTemplate.selectionAdornmentTemplate=Ht(wt.uz,"Spot",Ht(wt.Vm,{padding:10}),Kn(wt.z6.Top,"TriangleUp"),Kn(wt.z6.Left,"TriangleLeft"),Kn(wt.z6.Right,"TriangleRight"),Kn(wt.z6.Bottom,"TriangleDown"),ir({alignment:new wt.z6(.75,0)}));function sn(Jn,dr){return(Ar,fr)=>{Ar.handled=!0,Ar.diagram.model.commit(Ir=>{Ir.set(fr.part.adornedPart.data,Jn,dr)})}}function Cn(Jn,dr){return dr||(dr="color"),Ht(wt.bn,{width:16,height:16,stroke:"lightgray",fill:Jn,margin:1,background:"transparent",mouseEnter:(Ar,fr)=>fr.stroke="dodgerblue",mouseLeave:(Ar,fr)=>fr.stroke="lightgray",click:sn(dr,Jn),contextClick:sn(dr,Jn)})}function rn(){return[Ht("ContextMenuButton",Ht(wt.s_,"Horizontal",Cn(An.white,"fill"),Cn(An.beige,"fill"),Cn(An.extralightblue,"fill"),Cn(An.extralightred,"fill"))),Ht("ContextMenuButton",Ht(wt.s_,"Horizontal",Cn(An.lightgray,"fill"),Cn(An.lightgreen,"fill"),Cn(An.lightblue,"fill"),Cn(An.lightred,"fill")))]}function Sn(){return[Ht("ContextMenuButton",Ht(wt.s_,"Horizontal",Cn(An.black),Cn(An.green),Cn(An.blue),Cn(An.red))),Ht("ContextMenuButton",Ht(wt.s_,"Horizontal",Cn(An.white),Cn(An.magenta),Cn(An.purple),Cn(An.orange)))]}function vn(Jn,dr){return dr||(dr="thickness"),Ht(wt.bn,"LineH",{width:16,height:16,strokeWidth:Jn,margin:1,background:"transparent",mouseEnter:(Ar,fr)=>fr.background="dodgerblue",mouseLeave:(Ar,fr)=>fr.background="transparent",click:sn(dr,Jn),contextClick:sn(dr,Jn)})}function yn(Jn,dr){return dr||(dr="dash"),Ht(wt.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Jn,margin:1,background:"transparent",mouseEnter:(Ar,fr)=>fr.background="dodgerblue",mouseLeave:(Ar,fr)=>fr.background="transparent",click:sn(dr,Jn),contextClick:sn(dr,Jn)})}function Tn(){return[Ht("ContextMenuButton",Ht(wt.s_,"Horizontal",vn(1),vn(2),vn(3),vn(4))),Ht("ContextMenuButton",Ht(wt.s_,"Horizontal",yn(null),yn([2,4]),yn([4,4])))]}function Fn(Jn,dr){return dr||(dr="figure"),Ht(wt.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Jn,margin:1,background:"transparent",mouseEnter:(Ar,fr)=>fr.fill="dodgerblue",mouseLeave:(Ar,fr)=>fr.fill="lightgray",click:sn(dr,Jn),contextClick:sn(dr,Jn)})}Pt.current.nodeTemplate.contextMenu=Ht("ContextMenu",Ht("ContextMenuButton",Ht(wt.s_,"Horizontal",Fn("Rectangle"),Fn("RoundedRectangle"),Fn("Ellipse"),Fn("Diamond"))),Ht("ContextMenuButton",Ht(wt.s_,"Horizontal",Fn("Parallelogram2"),Fn("ManualOperation"),Fn("Procedure"),Fn("Cylinder1"))),Ht("ContextMenuButton",Ht(wt.s_,"Horizontal",Fn("Terminator"),Fn("CreateRequest"),Fn("Document"),Fn("TriangleDown"))),rn(),Sn(),Tn()),Pt.current.groupTemplate=Ht(wt.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:wt.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Jn,dr)=>{var Ar=dr.addMembers(dr.diagram.selection,!0);Ar||dr.diagram.currentTool.doCancel()},avoidable:!1},new wt.KX("location","loc",wt.E9.parse).makeTwoWay(wt.E9.stringify),Ht(wt.s_,"Auto",{name:"BODY"},Ht(wt.bn,{parameter1:10,fill:An.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:wt.z6.AllSides,toSpot:wt.z6.AllSides},new wt.KX("fill"),new wt.KX("stroke","color"),new wt.KX("strokeWidth","thickness"),new wt.KX("strokeDashArray","dash")),Ht(wt.Vm,{background:"transparent",margin:20})),Ht(wt.al,{alignment:wt.z6.Top,alignmentFocus:wt.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new wt.KX("text"),new wt.KX("stroke","color"))),Pt.current.groupTemplate.selectionAdornmentTemplate=Ht(wt.uz,"Spot",Ht(wt.s_,"Auto",Ht(wt.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Ht(wt.Vm,{margin:1.5})),ir({alignment:wt.z6.TopRight,alignmentFocus:wt.z6.BottomRight})),Pt.current.groupTemplate.contextMenu=Ht("ContextMenu",rn(),Sn(),Tn()),Pt.current.linkTemplate=Ht(wt.rU,{layerName:"Foreground",routing:wt.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new wt.KX("fromSpot","fromSpot",wt.z6.parse),new wt.KX("toSpot","toSpot",wt.z6.parse),new wt.KX("fromShortLength","dir",Jn=>Jn>=1?10:0),new wt.KX("toShortLength","dir",Jn=>Jn>=1?10:0),new wt.KX("points").makeTwoWay(),Ht(wt.bn,{strokeWidth:2},new wt.KX("stroke","color"),new wt.KX("strokeWidth","thickness"),new wt.KX("strokeDashArray","dash")),Ht(wt.bn,{segmentIndex:0,segmentOffset:new wt.E9(15,0),segmentOrientation:wt.rU.OrientAlong,alignmentFocus:wt.z6.Right,figure:"circle",width:10,strokeWidth:0},new wt.KX("fill","color"),new wt.KX("visible","dir",Jn=>Jn===1)),Ht(wt.bn,{segmentIndex:-1,segmentOffset:new wt.E9(-10,6),segmentOrientation:wt.rU.OrientPlus90,alignmentFocus:wt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new wt.KX("fill","color"),new wt.KX("visible","dir",Jn=>Jn>=1),new wt.KX("width","thickness",Jn=>7+3*Jn),new wt.KX("height","thickness",Jn=>7+3*Jn),new wt.KX("segmentOffset","thickness",Jn=>new wt.E9(-15,4+1.5*Jn))),Ht(wt.bn,{segmentIndex:0,segmentOffset:new wt.E9(15,-6),segmentOrientation:wt.rU.OrientMinus90,alignmentFocus:wt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new wt.KX("fill","color"),new wt.KX("visible","dir",Jn=>Jn===2),new wt.KX("width","thickness",Jn=>7+3*Jn),new wt.KX("height","thickness",Jn=>7+3*Jn),new wt.KX("segmentOffset","thickness",Jn=>new wt.E9(-15,4+1.5*Jn))),Ht(wt.al,{alignmentFocus:new wt.z6(0,1,-4,0),editable:!0},new wt.KX("text").makeTwoWay(),new wt.KX("stroke","color"))),Pt.current.linkTemplate.selectionAdornmentTemplate=Ht(wt.uz,Ht(wt.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:jn(2)},new wt.KX("pathPattern","thickness",jn)),ir({alignmentFocus:new wt.z6(0,0,-6,-4)}));function jn(Jn){return Ht(wt.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Jn+4).toString()+" H3"})}function Zn(Jn){var dr="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Jn===0?dr="M0 0 M16 16 M0 8 L16 8":Jn===2&&(dr="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Ht(wt.bn,{geometryString:dr,margin:2,background:"transparent",mouseEnter:(Ar,fr)=>fr.background="dodgerblue",mouseLeave:(Ar,fr)=>fr.background="transparent",click:sn("dir",Jn),contextClick:sn("dir",Jn)})}function gr(Jn){var dr=(Ar,fr)=>{Ar.handled=!0,Ar.diagram.model.commit(Ir=>{var Gr=fr.part.adornedPart;Ir.set(Gr.data,Jn?"toSpot":"fromSpot",wt.z6.stringify(wt.z6.AllSides)),(Jn?Gr.toNode:Gr.fromNode).invalidateConnectedLinks()})};return Ht(wt.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Ar,fr)=>fr.background="dodgerblue",mouseLeave:(Ar,fr)=>fr.background="transparent",click:dr,contextClick:dr})}function pn(Jn,dr){var Ar=0,fr=wt.z6.RightSide;Jn.equals(wt.z6.Top)?(Ar=270,fr=wt.z6.TopSide):Jn.equals(wt.z6.Left)?(Ar=180,fr=wt.z6.LeftSide):Jn.equals(wt.z6.Bottom)&&(Ar=90,fr=wt.z6.BottomSide),dr||(Ar-=180);var Ir=(Gr,Wr)=>{Gr.handled=!0,Gr.diagram.model.commit(br=>{var Kr=Wr.part.adornedPart;br.set(Kr.data,dr?"toSpot":"fromSpot",wt.z6.stringify(fr)),(dr?Kr.toNode:Kr.fromNode).invalidateConnectedLinks()})};return Ht(wt.bn,{alignment:Jn,alignmentFocus:Jn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Ar,background:"transparent",mouseEnter:(Gr,Wr)=>Wr.background="dodgerblue",mouseLeave:(Gr,Wr)=>Wr.background="transparent",click:Ir,contextClick:Ir})}Pt.current.linkTemplate.contextMenu=Ht("ContextMenu",Sn(),Tn(),Ht("ContextMenuButton",Ht(wt.s_,"Horizontal",Zn(0),Zn(1),Zn(2))),Ht("ContextMenuButton",Ht(wt.s_,"Horizontal",Ht(wt.s_,"Spot",gr(!1),pn(wt.z6.Top,!1),pn(wt.z6.Left,!1),pn(wt.z6.Right,!1),pn(wt.z6.Bottom,!1)),Ht(wt.s_,"Spot",{margin:new wt.Zt(0,0,0,2)},gr(!0),pn(wt.z6.Top,!0),pn(wt.z6.Left,!0),pn(wt.z6.Right,!0),pn(wt.z6.Bottom,!0)))));const Tr=`{ "class": "GraphLinksModel", "nodeDataArray": [ {"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3}, {"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"}, {"text":"What do our users want?","key":-11,"loc":"105 -334.305","group":-20,"figure":"Ellipse","fill":"#ffffff","color":"black"}, {"text":"Meetings","key":-12,"loc":"-65 -444.305","group":-16,"figure":"TriangleDown","fill":"#ffffff"}, {"text":"Reviews","key":-13,"loc":"105 -454.305","group":-20,"figure":"TriangleDown","fill":"#ffffff","color":"black"}, {"text":"Can we solve it?","key":-14,"loc":"190 -140","color":"#7d33ff","fill":"#ffffff","figure":"Diamond","size":"140 80","thickness":3}, {"isGroup":true,"text":"Internal","key":-16,"loc":"-65 -384.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22}, {"isGroup":true,"text":"External","key":-20,"loc":"105 -394.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22}, {"isGroup":true,"text":"Sources","key":-22,"loc":"20 -400","fill":"#a5d2fa","dash":[4,4],"color":"#3358ff"} ], "linkDataArray": [ {"from":-12,"to":-10,"points":[-65,-414.305,-65,-404.305,-65,-384.305,-65,-384.305,-65,-364.305,-65,-354.305],"dash":null,"dir":1}, {"from":-13,"to":-11,"points":[105,-424.305,105,-414.305,105,-394.305,105,-394.305,105,-374.305,105,-364.305],"dash":null,"color":"#000000","dir":1}, {"from":-10,"to":-9,"points":[-65,-294.305,-65,-284.305,-65,-232.1525,-40,-232.1525,-40,-180,-40,-170],"dir":2,"dash":[4,4]}, {"from":-11,"to":-9,"points":[105,-304.305,105,-294.305,105,-237.1525,0,-237.1525,0,-180,0,-170],"dash":[4,4],"dir":2}, {"from":-9,"to":-14,"points":[40,-150,58,-150,80,-150,80,-153.33333333333331,102,-153.33333333333331,120,-153.33333333333331],"dir":1,"color":"#3358ff"}, {"from":-14,"to":-9,"points":[190,-100,190,-90,-20,-90,-20,-95,-20,-100,-20,-110],"fromSpot":"BottomSide","toSpot":"BottomSide","text":"No","color":"#ff3333","thickness":2,"dir":1}, {"from":-9,"to":-14,"points":[40,-130,58,-130,80,-130,80,-126.66666666666666,102,-126.66666666666666,120,-126.66666666666666]} ]}`;var Ur=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function Nr(Jn){return console.log("shapeName:",Jn),Ur.indexOf(Jn)>=0}var wn=new wt.YI(gn.current,{maxSelectionCount:1,linkTemplate:Ht(wt.rU,{locationSpot:wt.z6.Center,selectionAdornmentTemplate:Ht(wt.uz,"Link",{locationSpot:wt.z6.Center},Ht(wt.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Ht(wt.bn,{toArrow:"Standard",stroke:null}))},{routing:wt.rU.AvoidsNodes,curve:wt.rU.JumpOver,corner:5,toShortLength:4},new wt.KX("points"),Ht(wt.bn,{isPanelMain:!0,strokeWidth:2}),Ht(wt.bn,{toArrow:"Standard",stroke:null})),model:new wt.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...wt.bn.getFigureGenerators().toArray().map(Jn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Jn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Pt.current.addDiagramListener("TextEdited",function(Jn){var dr;const Ar=Jn.subject.part;var fr=(dr=document.activeElement)==null?void 0:dr.value;typeof fr=="string"&&fr.trim()===""&&Pt.current.model.commit(function(Ir){Ir.set(Ar.data,"text","\u672A\u547D\u540D"),Pt.current.commandHandler.stopCommand()},"increment")}),wn.nodeTemplate=Ht(wt.NB,"Auto",{locationSpot:wt.z6.Center},new wt.KX("location","location",wt.E9.parse).makeTwoWay(wt.E9.stringify),Ht(wt.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new wt.KX("stroke").makeTwoWay(),new wt.KX("fill").makeTwoWay(),new wt.KX("figure")),Ht(wt.al,{margin:new wt.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new wt.$u(16,16),maxSize:new wt.$u(10,NaN),textAlign:"center",editable:!0},new wt.KX("key").makeTwoWay())),setTimeout(()=>{Pt.current.grid=Ht(wt.s_,"Grid",Ht(wt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Ht(wt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Pt.current.grid.visible=!0,Pt.current.grid.gridCellStroke="darkgray",Pt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Pt.current,Pt.current}const Gn=()=>Ge(this,null,function*(){var Ht,An=Pt.current.makeImage();const Kn=yield(0,Ce.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:An.src,file_data:JSON.stringify({login:(Ht=(0,Je.eY)())==null?void 0:Ht.login,data:JSON.parse(Pt.current.model.toJson())})}});Zt({src:Kn.url})});return(0,He.useEffect)(()=>(setTimeout(()=>{kn()},500),bn(cn+1),()=>{Pt.current=null}),[]),Le.createElement("div",{ref:Dt,className:Xt.current?`${Ye.maxH60} body-overflow-initial`:"body-overflow-initial"},Le.createElement(pt.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!cn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Le.createElement(yt.Z,null,Le.createElement(we.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Le.createElement(we.Z,{onClick:()=>{var Ht,An,Kn=Pt.current.selection.first();if(Xt.current=!Xt.current,document.activeElement&&Kn){let ir=(An=(Ht=document.activeElement)==null?void 0:Ht.value)==null?void 0:An.trim();typeof ir=="string"&&Pt.current.model.commit(function(sn){sn.set(Kn.data,"text",ir||"\u672A\u547D\u540D"),Pt.current.commandHandler.stopCommand()},"increment")}bn(cn+1)}},Le.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Qt},Le.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Ye.flowChartWrp},Le.createElement("div",{style:{display:"flex",height:"100%"}},Le.createElement("div",{style:{width:"300px",height:"100%"}},Le.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Le.createElement("div",{style:{height:"calc(100% - 50px)"},className:Ye.myPaletteDiv,ref:gn})),Le.createElement("div",{style:{flex:1,position:"relative"}},Le.createElement("div",{ref:an,style:{height:"80vh"}}))),Le.createElement("div",{className:"tr"},Le.createElement(ze.ZP,{size:"large",onClick:Gn,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Xe=Ke,Qe=We(5112),ht=We(5871);const Et=Qe.ZP.Group,mt={margin:"0 8px"};var Ft=({callback:Qt,onCancel:Zt})=>{function Pt(an){Qt(an)}return He.createElement(Te.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Pt},He.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},He.createElement("span",{style:mt},"\u5355\u5143\u683C\u6570\uFF1A"),He.createElement("span",{style:mt},"\u884C\u6570"),He.createElement(Te.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},He.createElement(ht.Z,null)),He.createElement("span",{style:mt},"\u5217\u6570"),He.createElement(Te.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},He.createElement(ht.Z,null))),He.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},He.createElement("span",{style:mt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),He.createElement(Te.default.Item,{name:"align"},He.createElement(Et,null,He.createElement(Qe.ZP,{value:"default"},He.createElement("i",{className:"fa fa-align-justify"})),He.createElement(Qe.ZP,{value:"left"},He.createElement("i",{className:"fa fa-align-left"})),He.createElement(Qe.ZP,{value:"center"},He.createElement("i",{className:"fa fa-align-center"})),He.createElement(Qe.ZP,{value:"right"},He.createElement("i",{className:"fa fa-align-right"}))))),He.createElement("div",{className:"flex-container flex-end"},He.createElement(ze.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),He.createElement(ze.ZP,{type:"ghost",onClick:Zt},"\u53D6\u6D88")))},Kt=We(78673),jt=We(80727),Wt=We.n(jt),nn=(0,He.forwardRef)(({use3d:Qt,width:Zt,height:Pt,callback:an,showSaveButton:gn},Xt)=>{const Dt=(0,He.useRef)(),cn=(0,He.useRef)(),[bn,kn]=(0,He.useState)(!1),Gn=(0,He.useRef)({id:Dt,appName:"graphing",width:Zt||1e3,height:Pt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,He.useEffect)(()=>{cn.current=new(Wt())(Gn.current,!0),window.onload=function(){cn.current.inject("applet_container")}},[]);const Ht=()=>{var An=window.ggbApplet.getPNGBase64(1,!0,72);return an&&an(An),An};return(0,He.useEffect)(()=>{Gn.current.appName=bn?"3D":"graphing",cn.current.inject("applet_container")},[bn]),(0,He.useEffect)(()=>{kn(Qt)},[Qt]),(0,He.useImperativeHandle)(Xt,()=>({getImgData:Ht})),He.createElement(He.Fragment,null,He.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Dt}),He.createElement(yt.Z,{align:"middle"},He.createElement(we.Z,{flex:1},He.createElement(Kt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:bn,onChange:An=>kn(An)})),He.createElement(we.Z,null,He.createElement(ze.ZP,{size:"large",onClick:Ht,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Bt=We(41588),_t=We(8591);const en="link",on="upload-image",xn="add-flowchart",zn="draw-image",tr="add-flowchart",er="code-block",ur="add-table",Dr="------------",Mr={default:Dr,left:`:${Dr}`,center:`:${Dr}:`,right:`${Dr}:`};var Br=We(58856);function qr(){}let Qr=0;const Lr=1e4,ei="\u2581",Er="@\u2581\u2581@",ot="@\u2581@",xi=` **\u6A21\u677F\u6807\u9898** \u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,gi=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function Ln(Qt){return/^\d+$/.test(Qt)?`${Qt}px`:Qt}const ar=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",vr={[ar+"-B"]:"bold",[ar+"-I"]:"italic"},Un={[en]:"\u6DFB\u52A0\u94FE\u63A5",[er]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[on]:"\u6DFB\u52A0\u56FE\u7247",[zn]:"\u6DFB\u52A0\u753B\u56FE",[xn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[ur]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Yn=({defaultValue:Qt="",onChange:Zt,width:Pt="100%",height:an=400,miniToolbar:gn=!1,isFocus:Xt=!1,watch:Dt,insertTemp:cn,mode:bn="markdown",id:kn="markdown-editor-id",showResizeBar:Gn=!1,noStorage:Ht=!1,showNullButton:An=!1,showNullProgramButton:Kn=!1,hidetoolBar:ir=!1,fullScreen:sn=!1,onBlur:Cn,onCMBeforeChange:rn,onFullScreen:Sn,className:vn="",disablePaste:yn=!1,disabled:Tn=!1,disabledFill:Fn=!1,placeholder:jn="",values:Zn="",extraUse:gr})=>{const[pn,Tr]=(0,He.useState)(null),[Ur,Nr]=(0,He.useState)(Qt),[wn,Jn]=(0,He.useState)(Dt),[dr,Ar]=(0,He.useState)(sn),[fr,Ir]=(0,He.useState)(""),[Gr,Wr]=(0,He.useState)(0),[br,Kr]=(0,He.useState)(an),[Dn,Ei]=(0,He.useState)(!1),[On,hi]=(0,He.useState)(0),[Ri,_r]=(0,He.useState)(0),Xi=(0,He.useRef)(),Oi=(0,He.useRef)(),Rr=(0,He.useRef)(),zr=(0,He.useRef)();(0,He.useEffect)(()=>{const Vr=window.scrollY||window.pageYOffset;Nr(Zn),pn==null||pn.setValue(Zn),window.scrollTo(0,Vr)},[Zn]),(0,He.useEffect)(()=>{Sn==null||Sn(dr)},[dr]),(0,He.useEffect)(()=>{if(Xi.current){let Vr=function(qn,li){var qi;if(yn){li.preventDefault();return}const Ro=li.clipboardData;if(Ro){const lo=Ro.types.toString(),Qi=Ro.items;if(lo==="Files"||Ro.types.indexOf("Files")>-1){if(li.preventDefault(),bn=="stex")return;try{let Do=Qi[1];((qi=Qi[0])==null?void 0:qi.kind)==="file"&&(Do=Qi[0]);const Oo=Do.getAsFile(),oa=Oo.name.split(".").pop();(0,ft.I)(Oo,la=>{var Ma,Mn,ha;la.id?((Ma=Oo==null?void 0:Oo.type)==null?void 0:Ma.indexOf("image"))>-1?Xr.replaceSelection(``):((Mn=Oo==null?void 0:Oo.type)==null?void 0:Mn.indexOf("video"))>-1?Xr.replaceSelection(``):((ha=Oo==null?void 0:Oo.type)==null?void 0:ha.indexOf("pdf"))>-1?Xr.replaceSelection(`${Oo.name}`):gi.includes(oa)?Xr.replaceSelection(`${Oo.name}`):Xr.replaceSelection(`[${Oo.name}](/api/attachments/${la.id}?type=${la.content_type})`):(la==null?void 0:la.status)===401&&(document.location.href="/user/login")})}catch(Do){_t.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Xr=oe().fromTextArea(Xi.current,{mode:bn,lineNumbers:!gn,lineWrapping:!0,value:Qt,autoCloseTags:!0,autoCloseBrackets:!0});return Xr.on("keyup",function(qn,li){li.keyCode===8&&(qn.getValue()==""?Xr.setOption("placeholder",jn):Xr.setOption("placeholder",null))}),Xr.on("keydown",function(qn,li){if(li.keyCode===8){var qi=ki(qn);qi&&li.preventDefault()}}),Xt&&Xr.focus(),Xr.on("paste",Vr),Tn&&Xr.on("beforeChange",function(qn,li){(li.origin==="paste"||li.origin==="+input")&&li.cancel()}),Tr(Xr),()=>{Xr.off("paste",Vr)}}},[]);const wi=(0,He.useCallback)(()=>{if(Oi.current)try{}catch(Vr){console.log(Vr,"---- to set md editor body height")}},[br,Oi,dr]);(0,He.useEffect)(()=>{function Vr(){let Xr=new Ze.Z(qn=>{for(let li of qn)(li.target.offsetHeight>0||li.target.offsetWidth>0)&&(wi(),pn.setSize("100%","100%"),pn.refresh())});return Xr.observe(Xi.current.parentElement),Xr}if(pn){const Xr=Vr();return()=>{var qn,li;(qn=Xi.current)!=null&&qn.parentElement&&Xr.unobserve((li=Xi.current)==null?void 0:li.parentElement)}}},[pn,wi]),(0,He.useEffect)(()=>{if(pn){let Vr=[];for(const[Xr,qn]of Object.entries(vr)){let li={[Xr]:()=>{pr(qn)}};Vr.push(li),pn.addKeyMap(li)}return()=>{for(let Xr of Vr)pn.removeKeyMap(Xr)}}},[pn]),(0,He.useEffect)(()=>{sn!==dr&&Ar(sn)},[sn]),(0,Br.Z)(()=>{if(!Ht&&Gr>0){let Vr=new Date().getTime(),Xr=window.sessionStorage.getItem(kn);Vr>=Gr+Lr&&(!Xr||Xr!==Ur)&&(window.sessionStorage.setItem(kn,Ur),Ei(!0))}},Lr),(0,He.useEffect)(()=>{Jn(Dt)},[pn,Dt]),(0,He.useEffect)(()=>{pn&&Xt&&pn.focus()},[pn,Xt]),(0,He.useEffect)(()=>{if(wn&&pn){let Vr=function(qn){let li=qn.target;if(zr.current){let qi=li.scrollTop/li.scrollHeight;zr.current.scrollTop=zr.current.scrollHeight*qi}};const Xr=pn.getScrollerElement();return Xr.addEventListener("scroll",Vr),()=>{Xr.removeEventListener("scroll",Vr)}}},[pn,wn]),(0,He.useEffect)(()=>{if(pn&&rn){let Vr=function(Xr,qn){rn(Xr,qn)};return pn.on("beforeChange",Vr),()=>{pn.off("beforeChange",Vr)}}},[pn,rn]),(0,He.useEffect)(()=>{if(pn&&Cn){let Vr=function(){Cn(pn.getValue())};return pn.on("blur",Vr),()=>{pn.off("blur",Vr)}}},[pn,Cn]);function ki(Vr,Xr){var qn=Vr.getDoc(),li=qn.getCursor(),qi=qn.getLine(li.line),Ro=qi.charAt(li.ch-1),lo=qi.lastIndexOf("@\u2581@",li.ch),Qi=qi.lastIndexOf("@\u2581\u2581@",li.ch),Do=lo>Qi?lo:Qi,Oo=lo>Qi?3:4;if(Er.indexOf(Ro)===-1)return null;if(console.log("change1:",Xr,Vr,qi,li,Do,lo,Qi,Ro),Do>=0&&li.ch-Do<5){var oa=Do+Oo;return qn.replaceRange("",{line:li.line,ch:Do},{line:li.line,ch:oa}),{line:li.line,ch:oa}}return null}(0,He.useEffect)(()=>{if(pn){let Vr=function(Xr,qn){const li=Xr.getValue();Nr(li),Wr(new Date().getTime()),Xr.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Zt&&(Kn?Zt(li,di(li)):Zt(li))};return pn.on("change",Vr),()=>{pn.off("change",Vr)}}},[pn,Zt]),(0,He.useEffect)(()=>{if(pn)if(Qt==null)pn.setValue(""),Nr("");else{const Vr=window.scrollY||window.pageYOffset;Qt!==pn.getValue()&&(pn.setValue(Qt),Nr(Qt),pn.setCursor(Tn?1:pn.lineCount(),0),window.scrollTo(0,Vr))}},[pn,Qt]);const pr=(0,He.useCallback)(Vr=>{const Xr=pn.getCursor(),qn=pn.getSelection();let li=qn.split(` `);switch(Vr){case"bold":return pn.replaceSelection("**"+qn+"**"),qn===""&&pn.setCursor(Xr.line,Xr.ch+2),pn.focus();case"italic":return pn.replaceSelection("*"+qn+"*"),qn===""&&pn.setCursor(Xr.line,Xr.ch+1),pn.focus();case"code":return pn.replaceSelection("`"+qn+"`"),qn===""&&pn.setCursor(Xr.line,Xr.ch+1),pn.focus();case"inline-latex":return Ir("inline-latex"),pn.focus();case"latex":return pn.replaceSelection("```latex\n"+qn+"\n```"),pn.setCursor(Xr.line+1,qn.length+1),pn.focus();case"line-break":return pn.replaceSelection(`
`),pn.focus();case"list-ul":return qn===""?pn.replaceSelection("- "+qn):pn.replaceSelection(li.map(qi=>qi===""?"":`- ${qi}`).join(` `)),pn.focus();case"list-ol":return qn===""?pn.replaceSelection("1. "+qn):pn.replaceSelection(li.map((qi,Ro)=>qi===""?"":`${Ro+1}. ${qi}`).join(` `)),pn.focus();case"add-null-ch":return qn===""&&pn.setCursor(Xr.line,Xr.ch),pn.replaceSelection(ei),pn.focus();case"add-signal":return qn===""&&pn.setCursor(Xr.line,Xr.ch),pn.replaceSelection(ot),pn.focus();case"add-multiple":return qn===""&&pn.setCursor(Xr.line,Xr.ch),pn.replaceSelection(Er),pn.focus();case"inster-template-1":return qn===""&&pn.setCursor(Xr.line,Xr.ch),pn.replaceSelection(xi),pn.focus();case"eraser":return pn.setValue(""),pn.focus();case"trigger-watch":return Jn(!wn),pn.focus();case"trigger-full-screen":return Ar(!dr),pn.focus();case en:Ir(en);return;case er:Ir(er);return;case on:Ir(on);return;case zn:Ir(zn);return;case"maths-latex":Ir("maths-latex");return;case xn:Ir(xn);return;case ur:Ir(ur);return;default:throw new Error}},[pn,wn,dr]),Lt=(0,He.useCallback)((Vr,Xr)=>{var qn,li,qi,Ro,lo,Qi;switch(Ir(""),fr){case en:const{title:Ma,link:Mn}=Vr;return pn.replaceSelection(`[${Ma}](${Mn})`),pn.focus();case er:const{language:ha,content:fu}=Vr;return pn.replaceSelection(["```"+ha,fu,"```"].join(` `)),pn.focus();case"maths-latex":for(var Do=atob(Vr),Oo=new Uint8Array(Do.length),oa=0;oa{Ci.id?pn.replaceSelection(`![,](/api/attachments/${Ci.id}?type=${Ci.content_type})`):(Ci==null?void 0:Ci.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":pn.replaceSelection("`$$"+Vr+"$$`");break;case on:case zn:case tr:const{src:xs,alt:bo}=Vr,_i=Xr,da=(qi=(li=(qn=_i==null?void 0:_i.name)==null?void 0:qn.split("."))==null?void 0:li.pop)==null?void 0:qi.call(li);return((Ro=_i==null?void 0:_i.type)==null?void 0:Ro.indexOf("image"))>-1||!(_i!=null&&_i.type)?_i!=null&&_i.align||_i!=null&&_i.width?pn.replaceSelection(`

${bo||

`):pn.replaceSelection(`${bo||`):((lo=_i==null?void 0:_i.type)==null?void 0:lo.indexOf("video"))>-1?pn.replaceSelection(``):((Qi=_i==null?void 0:_i.type)==null?void 0:Qi.indexOf("pdf"))>-1?pn.replaceSelection(`${_i.name}`):gi.includes(da)?pn.replaceSelection(`${_i.name}`):pn.replaceSelection(`[${_i.name}](${xs})`),pn.focus();case ur:const{row:Ao,col:eo,align:Bo}=Vr;let ws=` `;for(let Ci=0;Ci{switch(fr){case en:return He.createElement(St,{callback:Lt,onCancel:ao});case er:return He.createElement(xt.Z,{callback:Lt,onCancel:ao});case on:return He.createElement(ft.Z,{callback:Lt,onCancel:ao});case xn:return He.createElement(Xe,{callback:Lt,onCancel:ao});case ur:return He.createElement(Ft,{callback:Lt,onCancel:ao});case"maths-latex":return He.createElement(nn,{showSaveButton:!0,callback:Lt});case"inline-latex":return He.createElement(Bt.Z,{showSaveButton:!0,callback:Lt});default:return null}},[fr]);function ao(){Ir("")}(0,He.useEffect)(()=>{if(Rr.current){let Vr=function(lo){qi=!0,Ro=lo.pageY},Xr=function(){qi=!1},qn=function(lo){if(qi){let Qi=lo.pageY-Ro;Qi<0&&(Qi=0),Qi>300&&(Qi=300);let Do=an+Qi+"px";Kr(Do)}},li=Rr.current,qi=!1,Ro=0;return li.addEventListener("mousedown",Vr),document.addEventListener("mousemove",qn),document.addEventListener("mouseup",Xr),()=>{li.removeEventListener("mousedown",Vr),document.removeEventListener("mousemove",qn),document.removeEventListener("mouseup",Xr)}}},[pn,Rr]),(0,He.useEffect)(()=>{Kr(an)},[an]);const Pi=Ln(Pt),co=Ln(br),wo={width:Pi,height:co},ni=(0,He.useMemo)(()=>{if(Gr){let Vr=new Date(Gr),Xr=Vr.getHours(),qn=Vr.getMinutes(),li=Vr.getSeconds();return Xr=Xr<10?"0"+Xr:Xr,qn=qn<10?"0"+qn:qn,li=li<10?"0"+li:li,`${Xr}:${qn}:${li}`}return 0},[Gr]),di=Vr=>{const Xr=[];if(Kn){let qn=-1;Vr=Vr.replace(/(@▁▁@|@▁@)/g,function(li,qi,Ro){Xr.push({multiLine:li!==ot})})}return Xr};function Fi(){window.sessionStorage.removeItem(kn),Ei(!1),Wr(0)}function bi(){Ei(!1),Wr(0),pn.setValue(window.sessionStorage.getItem(kn))}(0,He.useEffect)(()=>{Un[fr]&&fr!==zn&&fr!==xn&&setTimeout(()=>{const Vr=document.getElementsByClassName("markdown-popup-form")[0],Xr=window.innerWidth/2-Vr.offsetWidth/2,qn=window.innerHeight/2-Vr.offsetHeight/2;hi(Xr),_r(qn)},0)},[fr]);const so=Vr=>{Vr.preventDefault();const Xr=Vr.clientX-On,qn=Vr.clientY-Ri;document.body.onmousemove=li=>{let qi=li.clientX-Xr,Ro=li.clientY-qn;const lo=document.getElementsByClassName("markdown-popup-form")[0],Qi=window.innerWidth-lo.offsetWidth,Do=window.innerHeight-lo.offsetHeight;qi=Math.max(0,Math.min(qi,Qi)),Ro=Math.max(0,Math.min(Ro,Do)),Po(li.clientX,li.clientY,Xr,qn)&&(hi(qi),_r(Ro))},document.body.onmouseup=function(){document.body.onmousemove=null}},Po=(Vr,Xr,qn,li)=>{const qi=document.body.clientHeight,Ro=document.body.clientWidth;return Vr<20&&qn>Vr||Vr>Ro-20&&qnXr||Xr>qi-20&&liTe in Oe?De(Oe,Te,{enumerable:!0,configurable:!0,writable:!0,value:je}):Oe[Te]=je,re=(Oe,Te)=>{for(var je in Te||(Te={}))z.call(Te,je)&&ae(Oe,je,Te[je]);if(fe)for(var je of fe(Te))ee.call(Te,je)&&ae(Oe,je,Te[je]);return Oe},le=(Oe,Te)=>me(Oe,xe(Te));const{useForm:ue}=He.default,pe={width:280,marginRight:10},Pe={labelCol:{span:5},wrapperCol:{span:19}};var be=({callback:Oe,onCancel:Te})=>{const[je]=ue();let ze=(0,Ae.useRef)();function $e(et){ze.current.width=je.getFieldValue("width"),ze.current.align=je.getFieldValue("align"),Oe(et,ze.current)}function Ue(et,lt){if(et.status===-1){gt.ZP.error(et.message);return}je.setFieldsValue({src:`/api/attachments/${et.id}`,type:lt.type})}function qe(et){let lt=et.target.files[0];ze.current=lt,Me(lt,Ue)}return ye.createElement(He.default,le(re({form:je},Pe),{className:"upload-image-panel",onFinish:$e,style:{width:470,overflow:"hidden"}}),ye.createElement(He.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ye.createElement("div",{className:"flex-container"},ye.createElement(He.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},ye.createElement(oe.default,{style:pe})),ye.createElement(Ie,{onFileChange:qe}))),ye.createElement(He.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ye.createElement(oe.default,{style:{width:264}})),ye.createElement(He.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ye.createElement(Ze.Z,null,ye.createElement(He.default.Item,{name:"width",style:{margin:0}},ye.createElement(Ne.Z,{style:{width:264}})),ye.createElement("span",{className:"ml8"},"%"))),ye.createElement(He.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ye.createElement(ge.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),ye.createElement("aside",null,ye.createElement(He.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ye.createElement(ce.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ye.createElement(ce.ZP,{type:"default",onClick:Te},"\u53D6\u6D88"))))};function Ie({onFileChange:Oe}){return ye.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ye.createElement("input",{type:"file",onChange:Oe}))}function Me(Oe,Te){if(!Oe)throw new String("\u6CA1\u6709\u6587\u4EF6");let je=new FormData;je.append("editormd-image-file",Oe),je.append("file_param_name","editormd-image-file"),je.append("byxhr","true");var ze=new window.XMLHttpRequest;ze.withCredentials=!0,ze.addEventListener("load",function($e){Te(JSON.parse($e.target.responseText),Oe)},!1),ze.addEventListener("error",function($e){console.error($e)},!1),ze.open("POST",`${Ee.KI}/api/attachments.json`),ze.send(je)}},79346:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return oe}});var He=We(59301),gt=We(4676);class oe extends He.Component{constructor(Ne){super(Ne);const ge=window.document;this.node=ge.createElement("div"),ge.body.appendChild(this.node)}render(){const{children:Ne}=this.props;return(0,gt.createPortal)(Ne,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},23954:function(Nn,fn,We){"use strict";We.d(fn,{SV:function(){return Ge},ZP:function(){return Le}});var He=We(59301),gt=We(76374);const oe={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},Ze={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(` `)},{label:"System.out.println",content:["System.out.println($0)"].join(` `)},{label:"System.out.print",content:["System.out.print($0)"].join(` `)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},Ne={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(` `)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(` `)},{label:"if",content:["if () {"," $0","}"].join(` `)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(` `)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(` `)},{label:"using namespace std;",content:["using namespace std;"].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)}]},ge={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(` `)}]},ce={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(` `)}]};var Ee=We(53184),Ae=We.n(Ee),ye=Object.defineProperty,De=Object.defineProperties,me=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,ee=(Ke,Xe,Qe)=>Xe in Ke?ye(Ke,Xe,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):Ke[Xe]=Qe,ae=(Ke,Xe)=>{for(var Qe in Xe||(Xe={}))fe.call(Xe,Qe)&&ee(Ke,Qe,Xe[Qe]);if(xe)for(var Qe of xe(Xe))z.call(Xe,Qe)&&ee(Ke,Qe,Xe[Qe]);return Ke},re=(Ke,Xe)=>De(Ke,me(Xe)),le=(Ke,Xe,Qe)=>new Promise((ht,Et)=>{var mt=jt=>{try{Kt(Qe.next(jt))}catch(Wt){Et(Wt)}},Ft=jt=>{try{Kt(Qe.throw(jt))}catch(Wt){Et(Wt)}},Kt=jt=>jt.done?ht(jt.value):Promise.resolve(jt.value).then(mt,Ft);Kt((Qe=Qe.apply(Ke,Xe)).next())});const ue={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},pe=(Ke,Xe)=>Xe.map(Qe=>({label:Qe,kind:Ke.languages.CompletionItemKind.Keyword,insertText:Qe})),Pe=Ke=>Object.keys(ue.tables).map(Xe=>({label:Xe,kind:Ke.languages.CompletionItemKind.Variable,insertText:Xe})),be=(Ke,Xe)=>{const Qe=ue.tables[Ke];return Qe?Qe.map(ht=>({label:ht,kind:Xe.languages.CompletionItemKind.Field,insertText:ht})):[]};function Ie(Ke,Xe,Qe,ht,Et){let mt=Xe.getWordUntilPosition(Qe),Ft={startLineNumber:Qe.lineNumber,endLineNumber:Qe.lineNumber,startColumn:mt.startColumn,endColumn:mt.endColumn},Kt=ht.map(jt=>({label:jt,kind:Ke.languages.CompletionItemKind.Keyword,insertText:jt,insertTextRules:Ke.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ft}));return Et.map(jt=>{Kt.push(re(ae({},jt),{range:Ft}))}),Kt}var Me=Ke=>{ue.languages.map(Et=>(Ke.languages.registerDocumentFormattingEditProvider(Et,{provideDocumentFormattingEdits(mt,Ft,Kt){return le(this,null,function*(){const jt=Ae()(mt.getValue(),{indent_size:"2",indent_char:" ",max_preserve_newlines:"2",preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:"0",indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:mt.getFullModelRange(),text:jt}]})}}),Et));const Xe=Ne.quickKey.map(Et=>({label:Et.label,kind:Ke.languages.CompletionItemKind.Method,insertText:Et.content,insertTextRules:Ke.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Qe=ge.quickKey.map(Et=>({label:Et.label,kind:Ke.languages.CompletionItemKind.Method,insertText:Et.content,insertTextRules:Ke.languages.CompletionItemInsertTextRule.InsertAsSnippet})),ht=Ze.quickKey.map(Et=>({label:Et.label,kind:Ke.languages.CompletionItemKind.Method,insertText:Et.content,insertTextRules:Ke.languages.CompletionItemInsertTextRule.InsertAsSnippet}));Ke.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(Et,mt){var Ft=Et.getWordUntilPosition(mt),Kt={startLineNumber:mt.lineNumber,endLineNumber:mt.lineNumber,startColumn:Ft.startColumn,endColumn:Ft.endColumn},jt=Et.getLineContent(mt.lineNumber).substring(Ft.startColumn-2,Ft.endColumn);return{suggestions:[...Ne.keywords.map(Wt=>({label:Wt,kind:Ke.languages.CompletionItemKind.Function,documentation:Wt,insertText:Wt,insertTextRules:Ke.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt})),...Ne.quickKey.map(Wt=>({label:Wt.label,kind:Ke.languages.CompletionItemKind.Function,documentation:Wt.content,insertText:jt.startsWith("#")?Wt.content.replace(/#/,""):Wt.content,insertTextRules:Ke.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt}))]}}}),Ke.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(Et,mt){var Ft=Et.getWordUntilPosition(mt),Kt={startLineNumber:mt.lineNumber,endLineNumber:mt.lineNumber,startColumn:Ft.startColumn,endColumn:Ft.endColumn};return{suggestions:[...oe.keywords.map(jt=>({label:jt,kind:Ke.languages.CompletionItemKind.Function,documentation:jt,insertText:jt,insertTextRules:Ke.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt}))]}}}),Ke.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(Et,mt){var Ft=Et.getWordUntilPosition(mt),Kt={startLineNumber:mt.lineNumber,endLineNumber:mt.lineNumber,startColumn:Ft.startColumn,endColumn:Ft.endColumn},jt=Et.getLineContent(mt.lineNumber).substring(Ft.startColumn-2,Ft.endColumn);return{suggestions:[...Ze.keywords.map(Wt=>({label:Wt,kind:Ke.languages.CompletionItemKind.Function,documentation:Wt,insertText:Wt,insertTextRules:Ke.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt})),...Ze.quickKey.map(Wt=>({label:Wt.label,kind:Ke.languages.CompletionItemKind.Function,documentation:Wt.content,insertText:jt.startsWith("#")?Wt.content.replace(/#/,""):Wt.content,insertTextRules:Ke.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt}))]}}}),Ke.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(Et,mt){var Ft=Et.getWordUntilPosition(mt),Kt={startLineNumber:mt.lineNumber,endLineNumber:mt.lineNumber,startColumn:Ft.startColumn,endColumn:Ft.endColumn},jt=Et.getLineContent(mt.lineNumber).substring(Ft.startColumn-2,Ft.endColumn);return{suggestions:[...ce.keywords.map(Wt=>({label:Wt,kind:Ke.languages.CompletionItemKind.Function,documentation:Wt,insertText:Wt,insertTextRules:Ke.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt})),...ce.quickKey.map(Wt=>({label:Wt.label,kind:Ke.languages.CompletionItemKind.Function,documentation:Wt.content,insertText:jt.startsWith("#")?Wt.content.replace(/#/,""):Wt.content,insertTextRules:Ke.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt}))]}}}),Ke.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(Et,mt){var Ft=Et.getWordUntilPosition(mt),Kt={startLineNumber:mt.lineNumber,endLineNumber:mt.lineNumber,startColumn:Ft.startColumn,endColumn:Ft.endColumn},jt=Et.getLineContent(mt.lineNumber).substring(Ft.startColumn-2,Ft.endColumn);return{suggestions:[...ge.keywords.map(Wt=>({label:Wt,kind:Ke.languages.CompletionItemKind.Function,documentation:Wt,insertText:Wt,insertTextRules:Ke.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt})),...ge.quickKey.map(Wt=>({label:Wt.label,kind:Ke.languages.CompletionItemKind.Function,documentation:Wt.content,insertText:jt.startsWith("#")?Wt.content.replace(/#/,""):Wt.content,insertTextRules:Ke.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt}))]}}})};const Oe="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var Te=Object.defineProperty,je=(Ke,Xe,Qe)=>Xe in Ke?Te(Ke,Xe,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):Ke[Xe]=Qe,ze=(Ke,Xe,Qe)=>je(Ke,typeof Xe!="symbol"?Xe+"":Xe,Qe);const $e=class mx{constructor(Xe,Qe,ht){this.placeholder=Xe,this.editor=Qe,this.monaco=ht,Qe.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return mx.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};ze($e,"ID","editor.widget.placeholderHint");var qe=$e,et=We(96236),lt=We(8591),ut=We(6848),vt=We(89392),tt=We(34604),at=We(56102),dt=Object.defineProperty,St=Object.defineProperties,xt=Object.getOwnPropertyDescriptors,ft=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,yt=Object.prototype.propertyIsEnumerable,Tt=(Ke,Xe,Qe)=>Xe in Ke?dt(Ke,Xe,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):Ke[Xe]=Qe,At=(Ke,Xe)=>{for(var Qe in Xe||(Xe={}))pt.call(Xe,Qe)&&Tt(Ke,Qe,Xe[Qe]);if(ft)for(var Qe of ft(Xe))yt.call(Xe,Qe)&&Tt(Ke,Qe,Xe[Qe]);return Ke},Gt=(Ke,Xe)=>St(Ke,xt(Xe)),wt=(Ke,Xe)=>{var Qe={};for(var ht in Ke)pt.call(Ke,ht)&&Xe.indexOf(ht)<0&&(Qe[ht]=Ke[ht]);if(Ke!=null&&ft)for(var ht of ft(Ke))Xe.indexOf(ht)<0&&yt.call(Ke,ht)&&(Qe[ht]=Ke[ht]);return Qe},bt=(Ke,Xe,Qe)=>new Promise((ht,Et)=>{var mt=jt=>{try{Kt(Qe.next(jt))}catch(Wt){Et(Wt)}},Ft=jt=>{try{Kt(Qe.throw(jt))}catch(Wt){Et(Wt)}},Kt=jt=>jt.done?ht(jt.value):Promise.resolve(jt.value).then(mt,Ft);Kt((Qe=Qe.apply(Ke,Xe)).next())});function it(Ke){return/^\d+$/.test(Ke)?`${Ke}px`:Ke}function _e(){}let we=!1;const Ce={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function Ye(Ke=[]){let Xe=Ke;if(Array.isArray(Ke)){for(let Qe=0;Qe{var Xe=Ke,{width:Qe="100%",height:ht="100%",value:Et,language:mt="javascript",style:Ft={},options:Kt={},overrideServices:jt={},theme:Wt="vs-dark",onEditBlur:Vt,isCopy:nn=!1,onSave:Bt,autoHeight:_t=!1,forbidCopy:en=!1,onChange:on=_e,editorDidMount:xn=_e,onFocus:zn=_e,onBreakPoint:tr=_e,breakPointValue:er=[],filename:ur="educoder.txt",errorLine:Dr,errorContent:Mr="",highlightLine:Br,openBreakPoint:qr=!1,placeholder:Qr=""}=Xe,Lr=wt(Xe,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const ei=(0,He.useRef)(),Er=(0,He.useRef)({}),ot=(0,He.useRef)(),xi=(0,He.useRef)(),gi=(0,He.useRef)([]),Ln=(0,He.useRef)(!1),hr=(0,He.useRef)(),ar=(0,He.useRef)(),vr=(0,He.useRef)(!1),[Un,Yn]=(0,He.useState)(!1);function Qt(){let sn;return ei.current&&(sn=new gt.Z(Cn=>{for(let rn of Cn)(rn.target.offsetHeight>0||rn.target.offsetWidth>0)&&Er.current.instance.layout()}),sn.observe(ei.current)),sn}function Zt(){lt.ZP.warning({content:decodeURIComponent(Oe),key:"monaco-editor-tip"})}const Pt=()=>{let sn=Er.current.instance;if(Et!=null&&sn&&Un){const Cn=sn.getModel();Cn&&Et!==Cn.getValue()&&(we=!0,Cn.setValue(Et),sn.layout(),we=!1)}};(0,He.useEffect)(()=>{const sn=tt.Z.subscribe("formatDocument",Cn=>{var rn;let Sn=Er.current.instance;(rn=Sn==null?void 0:Sn.getAction)==null||rn.call(Sn,"editor.action.formatDocument").run()});return window.updateMonacoValue=Cn=>{on(Cn)},sn},[]),(0,He.useEffect)(()=>{var sn;let Cn=Er.current.instance;xi.current&&clearTimeout(xi.current),xi.current=setTimeout(()=>{Pt()},500),Et&&(Et!=null&&Et.length)&&((sn=Cn==null?void 0:Cn.updateOptions)==null||sn.call(Cn,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(Et.split(/\r\n|\r|\n/g).length))+3,5)}))},[Et,Un,Er.current]),(0,He.useEffect)(()=>{if(Dr&&Er.current&&Er.current.instance){let Cn=Er.current.instance;Cn.changeViewZones(function(rn){var Sn=document.createElement("div");Sn.style.padding="10px 20px",Sn.style.width="calc(100% - 20px)",Sn.className="my-error-line-wrp",Sn.innerHTML=Mr,rn.addZone({afterLineNumber:Dr||11,heightInLines:3,domNode:Sn})});var sn={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};Cn.addOverlayWidget(sn),Cn.revealPositionInCenter({lineNumber:20,column:1})}},[Dr,Er.current,Un]);const an=(sn="",Cn)=>{if(!sn||sn.trim()==="")return!0;const Sn=Er.current.instance.getModel().getLineTokens(Cn);let vn=!1;for(let yn=0;yn<2;yn++)Sn.getStandardTokenType(yn)===1&&(vn=!0);return vn};(0,He.useEffect)(()=>{var sn;const Cn=(sn=Er.current)==null?void 0:sn.instance;if(Cn&&Un&&en){const rn=Cn.onDidBlurEditorWidget(()=>{vr.current=!1}),Sn=Cn.onDidFocusEditorText(()=>{vr.current=!0});return()=>{rn.dispose(),Sn.dispose()}}},[Er.current,Un,en]),(0,He.useEffect)(()=>{var sn;if((sn=Er.current)!=null&&sn.instance&&Un&&qr){let Cn=Er.current.instance,rn=Cn.getModel();if(!rn)return;(()=>{var Nr;let wn=[],Jn=[];const dr=rn.getAllDecorations();for(let fr of dr)fr.options.className==="highlighted-line"&&(wn.push((Nr=fr==null?void 0:fr.range)==null?void 0:Nr.startLineNumber),Jn.push(fr==null?void 0:fr.id));if(Br===wn[0])return;rn.deltaDecorations(Jn,[]);const Ar=rn.getLineCount();Br&&Br<=Ar&&(Cn.deltaDecorations([],[{range:new Je.Range(Br,1,Br,rn.getLineMaxColumn(Br)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Cn.revealLineInCenter(Br))})();const vn=(Nr=!1)=>{var wn;let Jn=[],dr=[];const Ar=rn.getAllDecorations();for(let fr of Ar)fr.options.linesDecorationsClassName==="breakpoints-select"&&(Jn.push((wn=fr==null?void 0:fr.range)==null?void 0:wn.startLineNumber),dr.push(fr==null?void 0:fr.id));if(Nr)return{lines:Jn,ids:dr};tr(Jn)},yn=Nr=>bt(void 0,null,function*(){let wn={range:new Je.Range(Nr,1,Nr,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield rn.deltaDecorations([],[wn]),vn()}),Tn=Nr=>bt(void 0,null,function*(){let wn=[];const Jn=Cn.getLineDecorations(Nr);for(let dr of Jn)dr.options.linesDecorationsClassName==="breakpoints-select"&&wn.push(dr.id);yield rn.deltaDecorations(wn,[]),vn()}),Fn=Nr=>{let wn=Cn.getLineDecorations(Nr);for(let Jn of wn)if(Jn.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,vt.isEqual)(er,vn(!0).lines)){rn.deltaDecorations(vn(!0).ids,[]);const Nr=er.map(wn=>({range:new Je.Range(wn,1,wn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));rn.deltaDecorations([],Nr)}const jn=Cn.onDidChangeModelContent(Nr=>{let wn=Cn.getPosition();if(wn){let Jn=wn.lineNumber;clearTimeout(ar.current),ar.current=setTimeout(()=>{an(rn.getLineContent(Jn),Jn)?Tn(Jn):Fn(Jn)?(Tn(Jn),yn(Jn)):vn()},100)}}),Zn=Cn.onMouseDown(Nr=>{var wn,Jn,dr;if(Nr.target.detail&&((dr=(Jn=(wn=Nr.target)==null?void 0:wn.element)==null?void 0:Jn.className)!=null&&dr.includes("line-numbers"))){let Ar=Nr.target.position.lineNumber;if(an(rn.getLineContent(Ar),Ar))return;Fn(Ar)?Tn(Ar):yn(Ar)}}),gr=Nr=>{let wn={range:new Je.Range(Nr,1,Nr,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};gi.current=Cn.deltaDecorations(gi.current,[wn])},pn=()=>{gi.current=Cn.deltaDecorations(gi.current,[])},Tr=Cn.onMouseMove(Nr=>{var wn,Jn,dr;if(pn(),Nr.target.detail&&((dr=(Jn=(wn=Nr.target)==null?void 0:wn.element)==null?void 0:Jn.className)!=null&&dr.includes("line-numbers"))){let Ar=Nr.target.position.lineNumber;if(an(rn.getLineContent(Ar),Ar))return;gr(Ar)}}),Ur=Cn.onMouseLeave(()=>{pn()});return()=>{jn.dispose(),Zn.dispose(),Tr.dispose(),Ur.dispose()}}},[Er.current,Un,er,Br,qr,mt]),(0,He.useEffect)(()=>{var sn;(sn=Er.current)!=null&&sn.instance&&qr&&Er.current.instance.setPosition({lineNumber:0,column:0})},[Br]);function gn(){let sn=Er.current.instance;if(sn){const Cn=sn.getSelection(),rn=Er.current.pastePos||{},Sn=new Je.Range(rn.startLineNumber||Cn.endLineNumber,rn.startColumn||Cn.endColumn,rn.endLineNumber||Cn.endLineNumber,rn.endColumn||Cn.endColumn);setTimeout(()=>{sn.executeEdits("",[{range:Sn,text:""}])},300)}}function Xt(sn){(window.navigator.platform.match("Mac")?sn.metaKey:sn.ctrlKey)&&sn.keyCode==83&&(sn.preventDefault(),Bt())}const Dt=()=>{if(_t&&Er.current.instance){const sn=Er.current.instance.getContentHeight();Kn(sn{if(!vr.current)return;const{keyCode:Cn,ctrlKey:rn,metaKey:Sn,target:vn,type:yn}=sn;return(yn==="paste"||(Cn===67||Cn===86)&&(Sn||rn))&&vn.nodeName==="TEXTAREA"&&(Zt(),sn.preventDefault()),!1};function kn(sn,Cn){var rn=window.URL||window.webkitURL||window,Sn=new Blob([Cn]),vn=document.createElementNS("http://www.w3.org/1999/xhtml","a");vn.href=rn.createObjectURL(Sn),vn.download=sn,cn(vn)}(0,He.useEffect)(()=>{Dt()},[Dt]),(0,He.useEffect)(()=>{ei.current&&!Un&&Promise.all([We.e(8909),We.e(3267)]).then(We.bind(We,71448)).then(sn=>{try{Je=sn,Er.current.instance=Je.editor.create(ei.current,{value:Et,language:Ye(mt),theme:Wt,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},jt);const Cn=Er.current.instance;let vn=[...et.BH._menuItems].find(jn=>jn[0]._debugName=="EditorContext")[1],yn=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Tn=(jn,Zn)=>{var gr,pn;let Tr=jn._first;do Zn.includes((pn=(gr=Tr.element)==null?void 0:gr.command)==null?void 0:pn.id)&&jn._remove(Tr);while(Tr=Tr.next)};if(xn(Cn,Je),setTimeout(()=>{Dt(),Er.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{kn(ur||"educoder.txt",Cn.getValue())}})},500),Er.current.subscription=Cn.onDidChangeModelContent(jn=>{Ln.current?clearTimeout(hr.current):(Dt(),on(Cn.getValue(),jn)),hr.current=setTimeout(()=>{Ln.current=!1},500)}),window.Monaco||Me(Je,Ye(mt)),en&&(Tn(vn,yn),ei.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",bn),window.removeEventListener("paste",bn),window.addEventListener("keydown",bn),window.addEventListener("paste",bn)),window.Monaco=Je,Vt&&Cn.onDidBlurEditorWidget(()=>{Vt(Cn.getValue())}),zn&&Cn.onDidFocusEditorText(()=>{zn(Cn.getValue())}),en)try{Cn.onDidPaste(jn=>{const Zn=Cn.getSelection(),gr=Er.current.pastePos||{},pn=new Je.Range(gr.startLineNumber||Zn.endLineNumber,gr.startColumn||Zn.endColumn,gr.endLineNumber||Zn.endLineNumber,gr.endColumn||Zn.endColumn);Cn.executeEdits("",[{range:jn.range,text:""}])})}catch(jn){}let Fn=Qt();return Qr&&typeof Qr=="string"&&new qe(Qr,Cn,Je),Yn(!0),()=>{const jn=Er.current.instance;jn.dispose();const Zn=jn.getModel();Zn&&Zn.dispose(),Er.current.subscription&&Er.current.subscription.dispose(),Fn.unobserve(ei.current)}}catch(Cn){}})},[]),(0,He.useEffect)(()=>{if(Er.current.instance&&Un)return document.addEventListener("keydown",Xt,!1),()=>{document.removeEventListener("keydown",Xt)}},[Bt,Un]),(0,He.useEffect)(()=>{let sn=Er.current.instance;if(sn&&Un){let Cn=Ye(mt);Je.editor.setModelLanguage(sn.getModel(),Cn)}},[mt,Un]),(0,He.useEffect)(()=>{Er.current.instance&&Un&&Je.editor.setTheme(Wt)},[Wt,Un]),(0,He.useEffect)(()=>{let sn=Er.current.instance;ot.current=Kt,sn&&Un&&(sn.updateOptions(At({},Kt)),setTimeout(()=>{sn.getModel().updateOptions(At({},Kt))},200))},[JSON.stringify(Kt),Un]),(0,He.useEffect)(()=>{let sn=Er.current.instance;sn&&Un&&sn.layout()},[Qe,ht,Un]);const[Gn,Ht]=(0,He.useState)(it(Qe)),[An,Kn]=(0,He.useState)(it(ht)),ir=Gt(At({},Ft),{width:Gn,height:An,position:"relative"});return He.createElement("div",{className:"my-monaco-editor",ref:ei,style:ir},nn&&He.createElement(at.CopyToClipboard,{text:Et,onCopy:()=>lt.ZP.success("\u590D\u5236\u6210\u529F")},He.createElement(ut.Z,{title:"\u590D\u5236\u4EE3\u7801"},He.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},He.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Ge({width:Ke="100%",height:Xe="100%",original:Qe,modified:ht,language:Et,options:mt={}}){const Ft=(0,He.useRef)(),[Kt,jt]=(0,He.useState)(null);function Wt(_t){let en;return Ft.current&&(en=new gt.Z(on=>{for(let xn of on)(xn.target.offsetHeight>0||xn.target.offsetWidth>0)&&_t.layout()}),en.observe(Ft.current)),en}(0,He.useEffect)(()=>(Ft.current&&Promise.all([We.e(8909),We.e(9404)]).then(We.bind(We,2550)).then(_t=>{Je=_t;const en=Je.editor.createDiffEditor(Ft.current,Gt(At({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},mt),{wordWrap:!0}));jt(en);let on=Wt(en);return()=>{en.dispose();const xn=en.getModel();xn&&xn.dispose(),on.unobserve(Ft.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,He.useEffect)(()=>{Kt&&Kt.setModel({original:Je.editor.createModel(Qe,Et),modified:Je.editor.createModel(ht,Et)})},[Qe,ht,Et,Kt]);const Vt=it(Ke),nn=it(Xe),Bt={width:Vt,height:nn};return He.createElement("div",{className:"my-diff-editor",ref:Ft,style:Bt})}},85057:function(Nn,fn,We){"use strict";We.d(fn,{jL:function(){return Ne},w9:function(){return pt},QD:function(){return on},cQ:function(){return at},op:function(){return Wt},O5:function(){return vr},_b:function(){return Dr},t7:function(){return re},Gi:function(){return bt},YG:function(){return Gt},qp:function(){return De},vr:function(){return tr},qE:function(){return Bt},Je:function(){return pe},wb:function(){return et},cq:function(){return Je},tp:function(){return fe}});var He=We(59301),gt={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},oe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhS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KuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Ne=({dataSource:Un=[],img:Yn,imgWidth:Qt=346,title:Zt,sunTitle:Pt,bannerExtraContent:an})=>He.createElement("div",{className:gt.banner},He.createElement("div",{className:gt.content},He.createElement("aside",null,He.createElement("p",null,He.createElement("b",null,Zt),He.createElement("span",null,Pt)),Un.length>0&&He.createElement("div",{className:gt.btns},Un.map((gn,Xt)=>He.createElement("div",{key:Xt,onClick:gn.click},gn.name,gn.sign?He.createElement("img",{src:oe,width:39}):null))),an),Yn&&He.createElement("img",{style:{marginTop:33,marginRight:38},src:Yn,width:Qt}))),ge={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},ce=We(92310),Ee=We.n(ce),Ae=We(89392),De=({dataSource:Un=[],value:Yn,onChange:Qt,onTitleChange:Zt,className:Pt,title:an,titleWidth:gn=41,style:Xt={},fontColor:Dt="#6A7283",showCount:cn})=>{const[bn,kn]=(0,He.useState)(0),[Gn,Ht]=(0,He.useState)(!1),An=(0,He.useRef)(null),Kn=(0,He.useRef)(null);return(0,He.useEffect)(()=>{var ir;Un.length!==0&&(((ir=An==null?void 0:An.current)==null?void 0:ir.clientHeight)>97?kn(1):kn(0)),Un.length===0&&kn(0),Ht(!1)},[Un]),He.createElement("div",{className:Ee()(ge.row,Pt),style:Xt},He.createElement("div",{onClick:(0,Ae.throttle)(()=>Zt==null?void 0:Zt(),2e3),style:{width:gn,marginTop:Gn?12:4},className:`${ge.title} ${Zt?"current":""}`},an),He.createElement("div",{className:Gn?`${ge.tagsWrap} ${ge.tagsBorderWrap}`:ge.tagsWrap},He.createElement("div",{className:ge.bar,ref:Kn,style:bn>0?{height:bn===1?97:"auto",overflow:bn===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},He.createElement("div",{className:ge.tag,ref:An},Un==null?void 0:Un.map(ir=>He.createElement("span",{onClick:()=>Qt(ir.id),key:ir.id,style:{color:Dt},className:Yn===ir.id?ge.active:""},He.createElement("span",{title:ir.name,className:ge.name},ir.name),!!cn&&He.createElement("span",{className:ge.num},ir.count))))),!!bn&&He.createElement(He.Fragment,null,bn===1?He.createElement("div",{onClick:()=>{var ir;kn(2),((ir=An==null?void 0:An.current)==null?void 0:ir.clientHeight)>245?Ht(!0):Ht(!1)},className:ge.action},"\u5C55\u5F00",He.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):He.createElement("div",{onClick:()=>{Kn.current.scrollTop=0,kn(1),Ht(!1)},className:ge.action},"\u6536\u8D77",He.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},me={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},fe=({dataSource:Un=[],value:Yn,onChange:Qt,className:Zt,style:Pt={}})=>He.createElement("div",{style:Pt,className:Ee()(me.tabs,Zt)},Un.map(an=>He.createElement("span",{onClick:()=>Qt(an.id),className:Yn===an.id?me.active:"",key:an.id},an.name))),z={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},ee=We(92832),re=({dataSource:Un=[],value:Yn="",onChange:Qt,onInputChange:Zt=()=>{},className:Pt,style:an={},placeholder:gn,allowClear:Xt=!1})=>{var Dt;const[cn,bn]=(0,He.useState)(""),[kn,Gn]=(0,He.useState)("");(0,He.useEffect)(()=>{var Kn;let ir=Yn;(Kn=JSON.stringify(Yn))!=null&&Kn.includes("{")&&(bn(Yn.id),ir=Yn.value||"");try{Gn(decodeURIComponent(ir||""))}catch(sn){Gn(decodeURIComponent(ir||""))}},[Yn]);const Ht=()=>{Qt(encodeURIComponent(kn),cn||null)},An=Kn=>{Kn!==cn&&(bn(Kn),Qt(encodeURIComponent(kn),Kn))};return He.createElement("div",{className:Ee()(z.input,Pt),style:an},!!Un.length&&He.createElement("div",{className:z.dropdown},He.createElement("div",{className:z.text},(Dt=Un.find(Kn=>Kn.id===cn))==null?void 0:Dt.name,He.createElement("i",{className:"iconfont icon-zhankai4"}),He.createElement("b",{className:z.b1}),He.createElement("b",{className:z.b2})),He.createElement("div",{className:z.menu},Un.map((Kn,ir)=>He.createElement("div",{key:ir,onClick:()=>An(Kn.id)},Kn.name)))),He.createElement(ee.default,{onPressEnter:Ht,value:kn,onChange:Kn=>{Gn(Kn.target.value),Zt(encodeURIComponent(Kn.target.value),cn||null)},bordered:!1,placeholder:gn}),He.createElement("i",{onClick:Ht,className:"iconfont icon-sousuo9 font14 pl10 current"}))},le={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},pe=({value:Un,onChange:Yn,className:Qt,total:Zt,pageSize:Pt,style:an={}})=>{const gn=Un<2,Xt=Un>=Math.ceil(Zt/Pt);return Zt<=Pt?He.createElement(He.Fragment,null):He.createElement("div",{className:Ee()(le.quickPager,Qt),style:an},He.createElement("div",{onClick:()=>{gn||Yn(Un-1,"prev")},className:gn?le.disabled:""},"\u4E0A\u4E00\u9875"),He.createElement("div",{onClick:()=>{Xt||Yn(Un+1,"next")},className:Xt?le.disabled:""},"\u4E0B\u4E00\u9875"))},Pe={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},be=We(71418),Ie=We(6848),Me=We(13570),Oe=We(3294),Te=We(955),je=We(96908),ze=We(57177),$e=We(81378),Ue=We(8797),et=({className:Un,dataSource:Yn=[],col:Qt=4,right:Zt,bottom:Pt=23,precision:an=0,wrapWidth:gn=1200,trackEventItems:Xt,loading:Dt})=>{const cn=Math.floor((gn-(Qt-1)*Zt)/Qt);return He.createElement(be.Z,{spinning:Dt},He.createElement("div",{className:Ee()(Pe.list,Un)},!!Yn.length&&Yn.map((bn,kn)=>{const{name:Gn,id:Ht,identifier:An,power:Kn,cover_image_id:ir,pic:sn}=bn;return He.createElement("div",{className:Pe.wrap,key:Ht,style:{width:cn,marginRight:(1+kn)%Qt===0?0:Zt+an,marginBottom:Pt}},He.createElement("a",{target:"_blank",href:`/shixuns/${An}/challenges`,className:Pe.li,onClick:Cn=>{Cn.preventDefault(),Xt&&(0,Te.L9)([Xt]),Kn&&(0,Te.xg)(`/shixuns/${An}/challenges`)}},He.createElement("div",{className:Pe.img},He.createElement("img",{className:Pe.cover,src:`${sn}`}),bn.is_jupyter&&He.createElement("img",{className:Pe.sign,src:je}),bn.is_jupyter_lab&&He.createElement("img",{className:Pe.sign,src:ze}),bn.is_unity_3d&&He.createElement("img",{className:Pe.sign,src:$e})),He.createElement("div",{className:Pe.name},He.createElement(Ie.Z,{title:Gn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},He.createElement("span",{className:Pe.e},Gn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),He.createElement("div",{className:Pe.tags},He.createElement(Ie.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},He.createElement("span",null,He.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),He.createElement("span",null,bn.challenges_count))),!!bn.myshixuns_count&&He.createElement(Ie.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},He.createElement("span",null,He.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),He.createElement("span",null,bn.myshixuns_count))),He.createElement(Ie.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},He.createElement("span",null,He.createElement("span",null,bn.level))),He.createElement("div",{className:Pe.rate},He.createElement(Me.Z,{allowHalf:!0,disabled:!0,defaultValue:bn.score_info}),He.createElement("span",null,"\xA0",bn.score_info?`${bn.score_info}\u5206`:"5\u5206")))),!Kn&&He.createElement("div",{className:Pe.lockWrap},He.createElement("img",{src:`${Oe.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),He.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Yn.length&&He.createElement(Ue.Z,null)))},lt={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf"},ut=We(24065),vt=We(59301),at=({className:Un,dataSource:Yn=[],col:Qt=4,right:Zt,bottom:Pt=23,precision:an=0,wrapWidth:gn=1200,trackEventItems:Xt,loading:Dt,onRemove:cn=()=>{},isCurrent:bn=!0,showAlias:kn=!1})=>{const Gn=Math.floor((gn-(Qt-1)*Zt)/Qt),Ht=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}];return vt.createElement(be.Z,{spinning:Dt},vt.createElement("div",{className:Ee()(lt.list,Un)},!!(Yn!=null&&Yn.length)&&(Yn==null?void 0:Yn.map((An,Kn)=>{var ir;const{name:sn,id:Cn,identifier:rn,featured:Sn,school_name:vn,image_url:yn,excellent:Tn,is_plan:Fn}=An;return vt.createElement("div",{key:Cn,className:lt.wrap,style:{width:Gn,marginRight:(1+Kn)%Qt===0?0:Zt+an,marginBottom:Pt}},vt.createElement("a",{className:lt.li,onClick:jn=>{jn.preventDefault(),jn.stopPropagation(),Xt&&(0,Te.L9)([Xt]),(0,Te.xg)(`/paths/${rn}`)}},vt.createElement("div",{className:lt.img},vt.createElement("img",{className:lt.cover,src:`${yn}`}),bn&&(0,ut.bg)()&&(An==null?void 0:An.studying)&&vt.createElement("div",{className:`${lt.movebq} user-path-items`,onClick:jn=>{jn.stopPropagation(),cn(An)}},vt.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),vt.createElement("span",{className:"c-red"},"\u79FB\u9664")),(ir=An==null?void 0:An.subject_tags)==null?void 0:ir.map((jn,Zn)=>{var gr,pn;if(Zn===0){const Ur=(gr=Ht.find(Nr=>Nr.name==jn))==null?void 0:gr.swimg;return vt.createElement("img",{className:lt.sign,src:Ur,style:{left:"-4px"}})}const Tr=(pn=Ht.find(Ur=>Ur.name==jn))==null?void 0:pn.ptimg;return vt.createElement("img",{className:lt.sign,src:Tr,style:{left:`${48+52*(Zn-1)+2*Zn}px`}})}),vt.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(An==null?void 0:An.excellent)&&vt.createElement("div",{className:lt.bq},"\u5F00\u653E\u8BFE\u7A0B"))),vt.createElement("div",{className:lt.name},vt.createElement(Ie.Z,{title:kn&&(An!=null&&An.excellent_alias_name)?vt.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${sn}`,vt.createElement("br",null),vt.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${An==null?void 0:An.excellent_alias_name}`)):sn},vt.createElement("span",{className:lt.e},kn&&(An==null?void 0:An.excellent_alias_name)||sn))),vt.createElement(Ie.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${vn}`},vt.createElement("div",{className:lt.unit},vt.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),vn)),vt.createElement("div",{className:lt.tags},vt.createElement("div",null,vt.createElement(Ie.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},vt.createElement("span",null,vt.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),vt.createElement("span",null,An.stages_count))),vt.createElement(Ie.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},vt.createElement("span",null,vt.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),vt.createElement("span",null,An.members_count)))))))})),!Yn.length&&vt.createElement(Ue.Z,null)))},dt={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"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LWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",xt=We(59301),pt=({className:Un,dataSource:Yn=[],col:Qt=4,right:Zt,bottom:Pt=23,precision:an=0,wrapWidth:gn=1200,trackEventItems:Xt,loading:Dt,handleVery:cn=()=>!0})=>{const bn=Math.floor((gn-(Qt-1)*Zt)/Qt);return xt.createElement(be.Z,{spinning:Dt},xt.createElement("div",{className:Ee()(dt.list,Un)},!!Yn.length&&Yn.map((kn,Gn)=>{const{subject_identifier:Ht,id:An,identifier:Kn,power:ir}=kn,sn=kn.is_public!=0&&kn.is_public;return xt.createElement("div",{className:dt.wrap,key:An,style:{width:bn,marginRight:(1+Gn)%Qt===0?0:Zt+an,marginBottom:Pt}},xt.createElement("a",{className:dt.li,onClick:Cn=>{Cn.preventDefault(),cn(kn==null?void 0:kn.first_category_url)&&(Xt&&(0,Te.L9)([Xt]),(0,Te.xg)(kn.first_category_url))}},xt.createElement("div",{className:dt.top},xt.createElement(Ie.Z,{title:kn.name},xt.createElement("div",{className:dt.name},kn.name)),xt.createElement("img",{className:dt.img,src:Oe.Z.IMG_SERVER+"/images/"+kn.avatar_url}),xt.createElement("div",{className:dt.text,title:kn.creator},kn.creator),Ht&&xt.createElement("div",{className:dt.btns},xt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),xt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),sn&&xt.createElement("div",{className:dt.sign},"\u516C\u5F00")),xt.createElement("div",{className:dt.bottom},kn.visits>0&&xt.createElement(Ie.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},xt.createElement("span",null,xt.createElement("i",{className:"iconfont icon-liulanyan"}),xt.createElement("span",null,kn.visits))),kn.course_members_count>0&&xt.createElement(Ie.Z,{title:"\u6210\u5458",placement:"bottom"},xt.createElement("span",null,xt.createElement("i",{className:"iconfont icon-chengyuan"}),kn.course_members_count)),kn.tasks_count>0&&xt.createElement(Ie.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},xt.createElement("span",null,xt.createElement("i",{className:"iconfont icon-zuoye"}),kn.tasks_count)),kn.is_end?xt.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):xt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!kn.is_accessible&&xt.createElement("div",{className:dt.lockWrap},xt.createElement("img",{src:`${Oe.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),xt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Yn.length&&xt.createElement(Ue.Z,null)))},yt={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},Tt=We(89070),Gt=({dataSource:Un=[],value:Yn,onChange:Qt,className:Zt,style:Pt={},tabBarExtraContent:an})=>He.createElement("div",{className:Ee()(yt.tabs,Zt),style:Pt},He.createElement("div",{className:yt.tabsWrap},Un.map((gn,Xt)=>!(gn!=null&&gn.hide)&&He.createElement("aside",{className:yt.tab,onClick:()=>{Qt(gn.id),gn.link&&Tt.history.push(gn.link)},key:Xt},He.createElement("div",{className:Yn===gn.id?yt.active:""},gn.name),(gn==null?void 0:gn.resetCount)==null&&(gn==null?void 0:gn.total)!==void 0&&He.createElement("span",null,"\uFF08",gn==null?void 0:gn.total,"\uFF09"),(gn==null?void 0:gn.resetCount)!==void 0&&(gn==null?void 0:gn.total)!==void 0&&He.createElement(Ie.Z,{title:(gn==null?void 0:gn.tip)!=null?gn==null?void 0:gn.tip:""},He.createElement("span",{style:{color:"#9096A3"}},"\uFF08",He.createElement("span",{style:{color:"#000"}},gn==null?void 0:gn.resetCount),"/",He.createElement("span",null,gn==null?void 0:gn.total),"\uFF09"))))),He.createElement("div",{className:yt.tabBar},an)),bt=({className:Un,style:Yn={},children:Qt})=>He.createElement("div",{className:Ee()(Un),style:Yn},Qt),it={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},_e=We(38854),we=We(20834);const Ce=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Je=({sortValue:Un,dropValue:Yn,className:Qt,onSort:Zt,onDrop:Pt,dataSource:an=Ce})=>{var gn;return He.createElement("div",{className:Ee()(it.orderWrap,Qt)},He.createElement(_e.Z,{dropdownRender:()=>He.createElement(we.default,null,an.map((Xt,Dt)=>He.createElement(we.default.Item,{key:Dt,onClick:()=>Pt(Xt.id)},Xt.name)))},He.createElement("span",{className:it.orderTextWrap},(gn=an.find(Xt=>Yn===Xt.id))==null?void 0:gn.name)),He.createElement("span",{className:it.orderIconWrap},He.createElement("span",{className:it.orderAsc},He.createElement("i",{className:Un==="asc"?`iconfont icon-sanjiaoxing-up font12 ${it.cursorPointer} ${it.active}`:`iconfont icon-sanjiaoxing-up font12 ${it.cursorPointer}`,onClick:()=>Zt(Un==="asc"?"desc":"asc")})),He.createElement("span",{className:it.orderDesc},He.createElement("i",{className:Un==="desc"?`iconfont icon-sanjiaoxing-down font12 ${it.cursorPointer} ${it.active}`:`iconfont icon-sanjiaoxing-down font12 ${it.cursorPointer}`,onClick:()=>Zt(Un==="asc"?"desc":"asc")}))))},Le={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},Ge=We(3113),Ke=Object.defineProperty,Xe=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,Et=(Un,Yn,Qt)=>Yn in Un?Ke(Un,Yn,{enumerable:!0,configurable:!0,writable:!0,value:Qt}):Un[Yn]=Qt,mt=(Un,Yn)=>{for(var Qt in Yn||(Yn={}))Qe.call(Yn,Qt)&&Et(Un,Qt,Yn[Qt]);if(Xe)for(var Qt of Xe(Yn))ht.call(Yn,Qt)&&Et(Un,Qt,Yn[Qt]);return Un},Ft=(Un,Yn)=>{var Qt={};for(var Zt in Un)Qe.call(Un,Zt)&&Yn.indexOf(Zt)<0&&(Qt[Zt]=Un[Zt]);if(Un!=null&&Xe)for(var Zt of Xe(Un))Yn.indexOf(Zt)<0&&ht.call(Un,Zt)&&(Qt[Zt]=Un[Zt]);return Qt},Kt=(Un,Yn,Qt)=>new Promise((Zt,Pt)=>{var an=Dt=>{try{Xt(Qt.next(Dt))}catch(cn){Pt(cn)}},gn=Dt=>{try{Xt(Qt.throw(Dt))}catch(cn){Pt(cn)}},Xt=Dt=>Dt.done?Zt(Dt.value):Promise.resolve(Dt.value).then(an,gn);Xt((Qt=Qt.apply(Un,Yn)).next())}),Wt=Un=>{var Yn=Un,{className:Qt,style:Zt,children:Pt,loading:an=!1,openLoading:gn,onClick:Xt=()=>{},size:Dt="middle",shape:cn="round"}=Yn,bn=Ft(Yn,["className","style","children","loading","openLoading","onClick","size","shape"]);const[kn,Gn]=(0,He.useState)(!1);return He.createElement(Ge.ZP,mt({onClick:(0,Ae.throttle)(Ht=>Kt(void 0,null,function*(){gn&&Gn(!0);try{yield Xt(Ht)}catch(An){console.log("error",An)}gn&&Gn(!1)}),2e3,{leading:!0,trailing:!1}),className:Ee()(Le.btn,Le[`${Dt}-${cn}`],Qt),style:Zt,size:Dt,shape:cn,loading:kn||an},bn),Pt)},Vt={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},Bt=({className:Un,style:Yn,children:Qt=null,onClick:Zt,title:Pt})=>He.createElement("div",{className:Ee()(Vt.head,Un),style:Yn},He.createElement("span",{className:"primary-hover",onClick:Zt},He.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),He.createElement("b",{title:Pt},Pt),He.createElement("div",{className:Vt.node},Qt)),_t={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},on=({confirmShow:Un=!0,confirmTitle:Yn,confirmClick:Qt,cancelShow:Zt=!0,cancelTitle:Pt,cancelClick:an,className:gn,style:Xt,confirmLoading:Dt=!1})=>He.createElement("div",{className:Ee()(_t.btns,gn),style:Xt},Un&&He.createElement(Ge.ZP,{loading:Dt,onClick:Qt,type:"primary",className:_t.confirm},Yn),Zt&&He.createElement(Ge.ZP,{onClick:an,className:_t.cancel},Pt)),xn={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},tr=({className:Un,style:Yn={},LeftContent:Qt,children:Zt,RightContent:Pt})=>He.createElement("div",{className:Ee()(xn.fixedBottom,Un),style:Yn},He.createElement("div",{className:xn.wrap},He.createElement("div",{className:xn.left},Qt),He.createElement("div",{className:xn.center},Zt),He.createElement("div",{className:xn.right},Pt))),er={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},Dr=({className:Un,style:Yn={},dataSource:Qt=[]})=>He.createElement("div",{className:Ee()(er.crumbs,Un),style:Yn},Qt.map((Zt,Pt)=>PtTt.history.push(Zt.path)},Zt.name):He.createElement("span",null,Zt.name),He.createElement("span",null,"\xA0",">","\xA0")):He.createElement("span",{key:Pt,style:{color:"#5F6368"}},Zt.name))),Mr=We(31797),Br=Object.defineProperty,qr=Object.defineProperties,Qr=Object.getOwnPropertyDescriptors,Lr=Object.getOwnPropertySymbols,ei=Object.prototype.hasOwnProperty,Er=Object.prototype.propertyIsEnumerable,ot=(Un,Yn,Qt)=>Yn in Un?Br(Un,Yn,{enumerable:!0,configurable:!0,writable:!0,value:Qt}):Un[Yn]=Qt,xi=(Un,Yn)=>{for(var Qt in Yn||(Yn={}))ei.call(Yn,Qt)&&ot(Un,Qt,Yn[Qt]);if(Lr)for(var Qt of Lr(Yn))Er.call(Yn,Qt)&&ot(Un,Qt,Yn[Qt]);return Un},gi=(Un,Yn)=>qr(Un,Qr(Yn)),Ln=(Un,Yn)=>{var Qt={};for(var Zt in Un)ei.call(Un,Zt)&&Yn.indexOf(Zt)<0&&(Qt[Zt]=Un[Zt]);if(Un!=null&&Lr)for(var Zt of Lr(Un))Yn.indexOf(Zt)<0&&Er.call(Un,Zt)&&(Qt[Zt]=Un[Zt]);return Qt};const{Countdown:hr}=Mr.default;var vr=Un=>{var Yn=Un,{onChange:Qt}=Yn,Zt=Ln(Yn,["onChange"]);const[Pt,an]=(0,He.useState)(null);(0,He.useEffect)(()=>{typeof Pt=="number"&&Pt>=0&&Qt(Pt)},[Pt]);const gn=Xt=>{const Dt=Math.floor(Xt/1e3);an(Dt)};return He.createElement(hr,gi(xi({},Zt),{onChange:gn}))}},58856:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return gt}});var He=We(59301);function gt(oe,Ze){const Ne=(0,He.useRef)();(0,He.useEffect)(()=>{Ne.current=oe}),(0,He.useEffect)(()=>{function ge(){Ne.current()}if(Ze!==null){let ce=setInterval(ge,Ze);return()=>clearInterval(ce)}},[Ze])}},53926:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return Ft}});var He=We(59301),gt=We(89070),oe=We(93678),Ze=We(6848),Ne=We(1710),ge=We(95237),ce=We(43604),Ee=We(52721),Ae=We(3294),ye=We(6021),De=(Kt,jt,Wt)=>new Promise((Vt,nn)=>{var Bt=on=>{try{en(Wt.next(on))}catch(xn){nn(xn)}},_t=on=>{try{en(Wt.throw(on))}catch(xn){nn(xn)}},en=on=>on.done?Vt(on.value):Promise.resolve(on.value).then(Bt,_t);en((Wt=Wt.apply(Kt,jt)).next())});function me({Prize:Kt}){var jt,Wt,Vt,nn,Bt,_t,en;const on=(0,gt.useParams)(),[xn,zn]=(0,He.useState)([{type:1,name:"\u56E2\u4F53\u5956\u8BC1\u4E66"},{type:2,name:"\u4E2A\u4EBA\u5956\u8BC1\u4E66"},{type:3,name:"\u4F18\u79C0\u6307\u5BFC\u6559\u5E08\u8BC1\u4E66"}]),tr=ur=>De(this,null,function*(){const Dr=yield(0,Ee.Ju)({type:ur.type,id:on.identifier});(Dr==null?void 0:Dr.status)===0&&(location.href=`/competitions/exports?id=${on.identifier}&type=${ur.type}`)}),er=[{title:"\u89D2\u8272",dataIndex:"role",align:"center",width:80,render:ur=>He.createElement(Ze.Z,{placement:"topLeft",title:ur},ur||"--")},{title:"\u59D3\u540D",dataIndex:"name",width:100,render:ur=>He.createElement(Ze.Z,{placement:"topLeft",title:ur},ur||"--")},{title:"\u5B9E\u540D\u8BA4\u8BC1",width:100,dataIndex:"real_name_auth",render:ur=>ur==="authed"?"\u5DF2\u8BA4\u8BC1":ur==="authing"?"\u5F85\u5BA1\u6838":"\u672A\u8BA4\u8BC1"},{title:"\u804C\u4E1A\u8BA4\u8BC1",width:100,dataIndex:"professional_auth",render:ur=>ur==="authed"?"\u5DF2\u8BA4\u8BC1":ur==="authing"?"\u5F85\u5BA1\u6838":"\u672A\u8BA4\u8BC1"},{title:"\u624B\u673A\u53F7",dataIndex:"phone_binded",width:100,render:ur=>ur?"\u5DF2\u7ED1\u5B9A":"\u672A\u7ED1\u5B9A"},{title:"\u90AE\u7BB1\u53F7",dataIndex:"email_binded",width:100,render:ur=>ur?"\u5DF2\u7ED1\u5B9A":"\u672A\u7ED1\u5B9A"},{title:"\u5F00\u6237\u884C\u53CA\u94F6\u884C\u5361\u53F7\u4FE1\u606F\uFF08\u961F\u957F\u586B\u5199\uFF09",dataIndex:"role",align:"center",render:(ur,Dr)=>{var Mr,Br,qr,Qr,Lr,ei;return(Dr==null?void 0:Dr.role)==="\u961F\u957F"?He.createElement("span",{style:{width:"50%",textAlign:"center"}},(Kt==null?void 0:Kt.teams)&&((Br=(Mr=Kt==null?void 0:Kt.teams[0])==null?void 0:Mr.bank_account)==null?void 0:Br.bank),(Kt==null?void 0:Kt.teams)&&((Qr=(qr=Kt==null?void 0:Kt.teams[0])==null?void 0:qr.bank_account)==null?void 0:Qr.second_bank),(Kt==null?void 0:Kt.teams)&&((ei=(Lr=Kt==null?void 0:Kt.teams[0])==null?void 0:Lr.bank_account)==null?void 0:ei.card_no)):"--"}}];return He.createElement("div",null,He.createElement("p",{className:oe.Z.downloadpdf},"\u6E29\u99A8\u63D0\u793A\uFF1A\u586B\u5199\u7684\u4E2A\u4EBA\u4FE1\u606F\u7ECF\u5BA1\u6279\u540E\uFF0C\u5C06\u63D0\u4F9B\u4E2A\u4EBA\u83B7\u5956\u8BC1\u4E66\u4E0B\u8F7D\uFF1B\u56E2\u961F\u961F\u5458\u4FE1\u606F\u5168\u90E8\u5BA1\u6279\u540E\uFF0C\u5C06\u63D0\u4F9B\u56E2\u961F\u83B7\u5956\u8BC1\u4E66\u4E0B\u8F7D\u3002"),He.createElement("p",{style:{marginTop:"30px",fontSize:"14px",color:"#232B40",fontWeight:"600"}},"\u8BC1\u4E66\u60C5\u51B5"),((jt=Kt==null?void 0:Kt.personal_certifications)==null?void 0:jt.length)>0?He.createElement("p",null,He.createElement("span",null,"\u4E2A\u4EBA\u8BC1\u4E66\uFF1A"),He.createElement("img",{src:Ae.Z.IMG_SERVER+"/images/educoder/pdfs.png"}),He.createElement("a",{style:{marginLeft:"5px"},href:Ae.Z.API_SERVER+`${(Wt=Kt==null?void 0:Kt.personal_certifications[0])==null?void 0:Wt.url}`},"\u7ACB\u5373\u4E0B\u8F7D")):He.createElement("p",null,He.createElement("span",null,"\u4E2A\u4EBA\u8BC1\u4E66\uFF1A",He.createElement("span",{style:{color:"#000"}},"\u6682\u672A\u751F\u6210")),He.createElement("span",{className:"c-red",style:{marginLeft:"20px"}},"\u539F\u56E0\uFF1A\u7EC4\u59D4\u4F1A\u672A\u5B8C\u6210\u8BC1\u4E66\u5BA1\u6279\uFF0C\u8BF7\u7A0D\u540E")),((Vt=Kt==null?void 0:Kt.team_certifications)==null?void 0:Vt.length)>0?He.createElement("p",null,He.createElement("span",null,"\u56E2\u961F\u8BC1\u4E66\uFF1A"),He.createElement("img",{src:Ae.Z.IMG_SERVER+"/images/educoder/pdfs.png"}),He.createElement("a",{style:{marginLeft:"5px"},href:Ae.Z.API_SERVER+`${(nn=Kt==null?void 0:Kt.team_certifications[0])==null?void 0:nn.url}`},"\u7ACB\u5373\u4E0B\u8F7D")):He.createElement("p",null,He.createElement("span",null,"\u56E2\u961F\u8BC1\u4E66\uFF1A",He.createElement("span",{style:{color:"#000"}},"\u6682\u672A\u751F\u6210"))),((Bt=Kt==null?void 0:Kt.teams)==null?void 0:Bt.length)>0&&He.createElement(He.Fragment,null,He.createElement("p",null,(Kt==null?void 0:Kt.teams)&&((_t=Kt==null?void 0:Kt.teams[0])==null?void 0:_t.name),"\u6218\u961F\u4FE1\u606F\u586B\u62A5\u6982\u51B5"),He.createElement(Ne.default,{columns:er,dataSource:(en=Kt==null?void 0:Kt.teams[0])==null?void 0:en.team_members,pagination:!1})),He.createElement(ge.Z,{style:{marginTop:"20px"},gutter:[20,20]},xn.map(function(ur,Dr){return He.createElement(ce.Z,{key:Dr},He.createElement(ye.Z,{icon:He.createElement("i",{className:"iconfont icon-xiazai5",style:{marginRight:"6px"}}),className:oe.Z.pdfBut,onClick:()=>De(this,null,function*(){return yield tr(ur)})},ur.name))})))}var xe=me,fe=We(54580),z=We(78241),ee=We(8591),ae=We(43418),re=We(71418),le=We(92832),ue=We(5112),pe=We(3113),Pe=We(955),be="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJwAAABgCAYAAADo6BsvAAAgAElEQVR4Xmy9CZheaVUu+u75n+uvKTVlqHSSTtLpeQS6G20QFRA8DTgdBccDCCUi0csgiCB4xIug0DTgeS4O96r4eBAUkJluhp479JCeMnRSGSuVmv/6pz3f513r25XS54QndJKq2v/e317fWu9617vWZwFwtmzbNv1zr37NG9428/Zf2b1nesKygDRDHqU58jyH59rIcyCOM8CyEPgWbJvfk8O25J9gyf+ALMmRA7Ad/bcMQJjliHLAzgHfsuA4AL8rzQBeMuM3gdey4NqAZ/Nv8k/yuVmunyH/xH/j91vQz+bXzPc4NmAjh2Wb782AlPdim/uT++TP53KfSZLCcSw4rtysXl/uOYft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IlQH9acCX2tJXStk1O1hoTZh4wqUvos85pSQAABuhESKu0AnuGoZT1CncngCoQN1ycTMncMWzfO9+kI22pezDnGahmjTfKhsQfKdeO8saeRejSSkQWQZUVj5xt6WQheYeOs69LrClVhYFSpDlAdQPVISBbjkg1jIue4QaBMt1JysrKszQIxe7D497k413tmUtCowqSCCGNiYPLBYa2YiESQEDIojGrYOBv8/PxehEDVSlmUwLp26aZrx07VPByozUIYGU8GE/gWKUrmf66UcFxUWhI0NdEOfm/pG1//11+98tr2h/kJVnZ2zvjEZ++557pbbv/0/N7evqCOULbcAUvrxg1xEG8ZxNpU3+Ye/CU2uuBYxODdRnwx5r1lSNZcCg4viSDRYWdoxvmZVMpZn3CgaJ2anwUaq9COJ9OT5s2Tmq+yrBKpKwMkuKMnksSTOmJRWqoHhXjlUcDWn+2ttNtcp8n6R8UAVQK87CxHJ7RVZwaVXaPjFJDpz2vhmGiy2lQGMc9YG5tYTSZpfGZ+qTcxqGzs4vfTNuw2fKkU1xlwzJr8WdbA3A037IGRhaaDpDPQVMJwrENIFztYLdGdLAeDjZ9TlMe6HccsZVgfhoOEeyPu9OzKJLtUeJoEBEzlmJiBK8tzNiCakwLVIh9i4vlCiEfIdyECmAI9fA4IKG2gXmY3zc9tFSn3qeMnJxuPPPJv7//LP//jd6YmJn76P8ED9U58gLSYAAAAAElFTkSuQmCC",Ie=We(56615),Me=Object.defineProperty,Oe=Object.defineProperties,Te=Object.getOwnPropertyDescriptors,je=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable,Ue=(Kt,jt,Wt)=>jt in Kt?Me(Kt,jt,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):Kt[jt]=Wt,qe=(Kt,jt)=>{for(var Wt in jt||(jt={}))ze.call(jt,Wt)&&Ue(Kt,Wt,jt[Wt]);if(je)for(var Wt of je(jt))$e.call(jt,Wt)&&Ue(Kt,Wt,jt[Wt]);return Kt},et=(Kt,jt)=>Oe(Kt,Te(jt)),lt=(Kt,jt)=>{var Wt={};for(var Vt in Kt)ze.call(Kt,Vt)&&jt.indexOf(Vt)<0&&(Wt[Vt]=Kt[Vt]);if(Kt!=null&&je)for(var Vt of je(Kt))jt.indexOf(Vt)<0&&$e.call(Kt,Vt)&&(Wt[Vt]=Kt[Vt]);return Wt},ut=(Kt,jt,Wt)=>new Promise((Vt,nn)=>{var Bt=on=>{try{en(Wt.next(on))}catch(xn){nn(xn)}},_t=on=>{try{en(Wt.throw(on))}catch(xn){nn(xn)}},en=on=>on.done?Vt(on.value):Promise.resolve(on.value).then(Bt,_t);en((Wt=Wt.apply(Kt,jt)).next())});const vt=fe.default.Dragger,tt=10,at=Kt=>{var jt=Kt,{user:Wt,account:Vt,globalSetting:nn,loading:Bt,dispatch:_t}=jt,en=lt(jt,["user","account","globalSetting","loading","dispatch"]);const[on]=z.default.useForm(),[xn,zn]=(0,He.useState)({}),[tr,er]=(0,He.useState)(!0),[ur,Dr]=(0,He.useState)(),[Mr,Br]=(0,He.useState)(),[qr,Qr]=(0,He.useState)(),[Lr,ei]=(0,He.useState)();(0,He.useEffect)(()=>{if(!Vt.basicInfo)return;const{basicInfo:ar}=Vt,vr={name:ar.show_realname?ar.name:(0,Pe.YA)(ar.name),gender:ar.gender};Dr(ar.name),er(ar.show_realname),on.setFieldsValue(vr),zn(vr)},[Vt.basicInfo]);const Er=ar=>{var vr;if(ar.file.status==="uploading"){ei(!0);return}ar.file.status==="done"&&(console.log(ar.file,ar.file.response),Qr((vr=ar.file.response)==null?void 0:vr.id),(0,Pe.y3)(ar.file.originFileObj,Un=>{Br(Un),ei(!1)}))},ot=ar=>{zn(qe({},on.getFieldsValue())),"name"in ar&&Dr(ar.name)},xi=()=>{const ar=!tr;er(ar);const vr=ar?ur:(0,Pe.YA)(ur);on.setFieldsValue({name:vr})},gi=ar=>ut(void 0,null,function*(){var vr,Un,Yn;const{name:Qt,gender:Zt,idNumber:Pt}=ar||{};if(!Mr){ee.ZP.info("\u8BF7\u5148\u4E0A\u4F20\u7167\u7247\uFF01");return}const an=yield _t({type:"account/applyRealNameAuth",payload:{id:((vr=Vt.basicInfo)==null?void 0:vr.id)||((Un=Wt.userInfo)==null?void 0:Un.login),name:Qt,gender:Zt,id_number:Pt,show_realname:tr,attachment_ids:[qr]}});Ln(),an&&(ee.ZP.info("\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u5BA1\u6838!"),_t({type:"account/getBasicInfo",payload:{login:(Yn=Wt.userInfo)==null?void 0:Yn.login}}))}),Ln=()=>{_t({type:"account/setActionTabs",payload:{}})},hr={data:{type:"real_name"},multiple:!0,showUploadList:!1,action:`${Ae.Z.API_SERVER}/api/attachments.json`,className:Ie.Z.uploader,onChange:Er,beforeUpload:ar=>{const vr=ar.type==="image/jpeg"||ar.type==="image/png"||ar.type==="image/jpg"||ar.type==="image/bmp";return vr||ee.ZP.info("\u8BF7\u4E0A\u4F20\u6B63\u786E\u6587\u4EF6\u683C\u5F0F"),vr}};return He.createElement(ae.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:Vt.actionTabs.key==="Account-RealNameAuth",title:"\u4FEE\u6539\u5B9E\u540D\u4FE1\u606F",width:"600px",footer:null},He.createElement(re.Z,{spinning:!!Lr},He.createElement(z.default,{className:Ie.Z.formWrap,form:on,layout:"horizontal",onValuesChange:ot,onFinish:gi},He.createElement(z.default.Item,{label:"\u59D3\u540D",name:"name",labelCol:{span:3},wrapperCol:{span:12},rules:[{required:!0,message:`\u8BF7\u8F93\u5165\u771F\u5B9E\u59D3\u540D\uFF0C\u6700\u5927\u9650\u5236${tt}\u4E2A\u5B57\u7B26`},{validator:Pe.HJ}],extra:He.createElement("span",null,tr?"\uFF08\u663E\u793A\uFF1A\u5E73\u53F0\u5C06\u663E\u793A\u60A8\u7684\u771F\u5B9E\u59D3\u540D\uFF09":"\uFF08\u9690\u85CF\uFF1A\u5E73\u53F0\u5C06\u663E\u793A\u4F60\u7684\u6635\u79F0\uFF09")},He.createElement(le.default,{disabled:!tr,placeholder:`\u8BF7\u8F93\u5165\u771F\u5B9E\u59D3\u540D\uFF0C\u6700\u5927\u9650\u5236${tt}\u4E2A\u5B57\u7B26`,maxLength:tt,addonAfter:He.createElement("i",{className:`iconfont ${tr?"icon-xianshi":"icon-yincang"} font18 ${Ie.Z.color0152d9}`,onClick:xi})})),He.createElement(z.default.Item,{label:"\u6027\u522B\uFF1A",name:"gender",labelCol:{span:3},wrapperCol:{span:12},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6027\u522B"}]},He.createElement(ue.ZP.Group,null,He.createElement(ue.ZP,{value:0},"\u7537"),He.createElement(ue.ZP,{value:1},"\u5973"))),He.createElement(z.default.Item,{label:"\u8BC1\u4EF6\u53F7\uFF1A",labelCol:{span:3},name:"idNumber",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BC1\u4EF6\u53F7"}]},He.createElement(le.default,{placeholder:"\u8BF7\u8F93\u5165\u8BC1\u4EF6\u53F7"})),He.createElement(z.default.Item,{label:"\u8EAB\u4EFD\u8BC1\u4E0A\u4F20",labelCol:{span:3}},He.createElement("div",{className:Ie.Z.flexRow},He.createElement("div",{className:`${Ie.Z.flexColumn} ${Ie.Z.example}`},He.createElement("span",{className:Ie.Z.exampleImg},He.createElement("img",{src:be})),He.createElement("span",{className:"tc"},He.createElement("p",null,"\u793A\u4F8B\u56FE\u7247"),He.createElement("p",{className:`${Ie.Z.colorOrange} font12`},"\uFF08png/jpg/bmp\u683C\u5F0F\uFF0C\u4E0D\u8D85\u8FC72MB\uFF09"))),He.createElement("div",{className:Ie.Z.flexColumn},He.createElement(vt,et(qe({},hr),{accept:".png,.jpg,.bmp,.jpeg"}),Mr?He.createElement("img",{src:Mr,className:Ie.Z.uploadImg}):He.createElement("div",{className:Ie.Z.imageTip},He.createElement("p",null,He.createElement("i",{className:`iconfont icon-cuban2shangchuanyunduan ${Ie.Z.uploadTipIcon}`})),He.createElement("p",{className:Ie.Z.uploadTip},He.createElement("a",{className:Ie.Z.color05101a},"\u70B9\u51FB\u6216\u62D6\u62FD\u4E0A\u4F20\u56FE\u7247")))),He.createElement("span",{className:"tc"},He.createElement("p",{className:Ie.Z.viewLargerImg},"\u67E5\u770B\u5927\u56FE"))))),He.createElement("div",{className:Ie.Z.footerWrap},He.createElement(z.default.Item,null,He.createElement(pe.ZP,{className:"mr5",size:"middle",onClick:Ln},"\u53D6\u6D88"),He.createElement(pe.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:Bt["account/applyRealNameAuth"]},"\u4FDD\u5B58"))),He.createElement("div",{className:Ie.Z.note},He.createElement("p",null,"\u8BA4\u8BC1\u987B\u77E5\uFF1A"),He.createElement("p",null,"1.\u4F60\u9700\u8981\u51C6\u5907\u6709\u6548\u7684\u8EAB\u4EFD\u8BC1\u6B63\u9762\uFF08\u4EBA\u50CF\u9762\uFF09\u7684\u8BC1\u4EF6\u7167\u7167\u7247\uFF0C\u8BF7\u786E\u4FDD\u8BC1\u4EF6\u7167\u7247\u6E05\u6670\u53EF\u89C1\uFF0C\u4E25\u7981PS\uFF1B"),He.createElement("p",null,"2.\u6211\u4EEC\u5C06\u5728\u4F60\u63D0\u4EA4\u8BA4\u8BC1\u4FE1\u606F\u540E\u768424\u5C0F\u65F6\uFF08\u4E0D\u5305\u542B\u8282\u5047\u65E5\uFF09\u5185\u5B8C\u6210\u5BA1\u6838\uFF0C\u5BA1\u6838\u7ED3\u679C\u5C06\u4F1A\u4EE5\u7CFB\u7EDF\u6D88\u606F\u7684\u5F62\u5F0F\u53D1\u9001\u7ED9\u4F60\uFF1B"),He.createElement("p",null,"3.\u5B9E\u540D\u8BA4\u8BC1\u5BA1\u6838\u5B8C\u6210\u540E\uFF0C\u65E0\u6CD5\u5220\u9664\uFF0C\u8BF7\u8C28\u614E\u586B\u5199\uFF1B"),He.createElement("p",null,"4.\u5B9E\u540D\u8BA4\u8BC1\u5BA1\u6838\u5B8C\u6210\u540E\uFF0C\u7CFB\u7EDF\u5C06\u81EA\u52A8\u53D1\u653E500\u4E2A\u91D1\u5E01\u4F5C\u4E3A\u5956\u52B1\uFF1B"),He.createElement("p",null,"5.\u6211\u4EEC\u4F1A\u786E\u4FDD\u4F60\u6240\u63D0\u4F9B\u7684\u4FE1\u606F\u5747\u5904\u4E8E\u4E25\u683C\u7684\u4FDD\u5BC6\u72B6\u6001\uFF0C\u4E0D\u4F1A\u6CC4\u9732\uFF1B"),He.createElement("p",null,"6.\u5982\u5B58\u5728\u6076\u610F\u4E71\u586B\u5199\u59D3\u540D\uFF0C\u8BC1\u4EF6\u53F7\uFF0C\u53CA\u4E0A\u4F20\u4E0E\u5B9E\u540D\u8BA4\u8BC1\u8BC1\u4EF6\u65E0\u5173\u56FE\u7247\u8005\uFF0C\u4E00\u7ECF\u53D1\u73B0\u5C06\u51BB\u7ED3EduCoder\u8D26\u53F7\u3002"),He.createElement("p",null,"7.\u63D0\u4EA4\u5B9E\u540D\u8BA4\u8BC1\u540E\u7CFB\u7EDF\u4F1A\u81EA\u52A8\u5C06\u72B6\u6001\u6539\u4E3A\u5DF2\u8BA4\u8BC1\uFF0C\u4F60\u5C06\u53EF\u4EE5\u4F53\u9A8C\u5E73\u53F0\u9700\u8981\u5B9E\u540D\u8BA4\u8BC1\u7684\u529F\u80FD\uFF1B\u5982\u679C\u5728\u8BA4\u8BC1\u540E\u7684\u4F7F\u7528\u8FC7\u7A0B\u4E2D\u672A\u901A\u8FC7\u5BA1\u6838\uFF0C\u4F60\u5C06\u4E0D\u80FD\u7EE7\u7EED\u4F53\u9A8C\u9700\u8981\u8BA4\u8BC1\u7684\u529F\u80FD\u3002")))))};var dt=(0,gt.connect)(({user:Kt,account:jt,loading:Wt,globalSetting:Vt})=>({user:Kt,account:jt,globalSetting:Vt,loading:Wt.effects}))(at),St=We(78110),xt=We(93735),ft=We.n(xt),pt=(Kt,jt,Wt)=>new Promise((Vt,nn)=>{var Bt=on=>{try{en(Wt.next(on))}catch(xn){nn(xn)}},_t=on=>{try{en(Wt.throw(on))}catch(xn){nn(xn)}},en=on=>on.done?Vt(on.value):Promise.resolve(on.value).then(Bt,_t);en((Wt=Wt.apply(Kt,jt)).next())});function yt({type:Kt,dispatch:jt,userid:Wt,isshow:Vt,setPhoneshow:nn,setEmailshow:Bt}){const _t="79e33abd4b6588941ab7622aed1e67e8",[en,on]=(0,He.useState)(""),[xn,zn]=(0,He.useState)("\u83B7\u53D6\u9A8C\u8BC1\u7801");let[tr,er]=(0,He.useState)(60);const[ur,Dr]=(0,He.useState)(!1),[Mr,Br]=(0,He.useState)("");function qr(){return pt(this,null,function*(){if(!en){Kt===3?ee.ZP.info("\u624B\u673A\u53F7\u4E0D\u80FD\u4E3A\u7A7A"):ee.ZP.info("\u90AE\u7BB1\u5730\u5740\u4E0D\u80FD\u4E3A\u7A7A");return}(yield jt({type:"competitions/getVerification",payload:{type:Kt,login:en,smscode:ft()(_t+en)}})).status===1&&(ee.ZP.info("\u83B7\u53D6\u9A8C\u8BC1\u7801\u6210\u529F"),Qr(),Dr(!0))})}function Qr(){er(60);let Er=setInterval(()=>{--tr,tr>-1?er(tr):(clearInterval(Er),Dr(!1))},1e3)}function Lr(){return pt(this,null,function*(){(yield jt({type:"competitions/PhoneBind",payload:{userid:Wt,code:Mr,phone:en}})).status===0&&(ee.ZP.info("\u7ED1\u5B9A\u6210\u529F"),nn("none"))})}function ei(){return pt(this,null,function*(){(yield jt({type:"competitions/EmailBind",payload:{userid:Wt,code:Mr,email:en}})).status===0&&(ee.ZP.info("\u7ED1\u5B9A\u6210\u529F"),Bt("none"))})}return He.createElement("div",{style:{display:Vt}},He.createElement("p",null,He.createElement(le.default,{value:en,onChange:Er=>on(Er.target.value),placeholder:Kt===3?"\u8BF7\u8F93\u5165\u624B\u673A\u53F7":"\u8BF7\u8F93\u5165\u90AE\u7BB1\u5730\u5740",style:{width:"370px"}})),He.createElement("span",null,He.createElement(le.default,{value:Mr,onChange:Er=>Br(Er.target.value),placeholder:Kt===3?"\u8BF7\u8F93\u5165\u624B\u673A\u83B7\u53D6\u7684\u9A8C\u8BC1\u7801":"\u8BF7\u8F93\u5165\u90AE\u7BB1\u83B7\u53D6\u7684\u9A8C\u8BC1\u7801",style:{width:"250px"}}))," ",He.createElement(pe.ZP,{disabled:ur,onClick:()=>qr(),type:"primary",style:{marginLeft:"20px",width:"100px"}},ur?`\u91CD\u65B0\u53D1\u9001${tr}s`:xn),He.createElement("p",{style:{marginTop:"30px",width:"370px",textAlign:"center"}},He.createElement(pe.ZP,{type:"primary",style:{marginRight:"15px"},onClick:()=>{if(!Mr){ee.ZP.info("\u9A8C\u8BC1\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}Kt===3?Lr():ei()}},"\u786E\u8BA4"),He.createElement(pe.ZP,{style:{marginLeft:"20px"},onClick:()=>{Kt===3?nn("none"):Bt("none")}},"\u53D6\u6D88")))}var Tt=yt,At=Object.defineProperty,Gt=Object.defineProperties,wt=Object.getOwnPropertyDescriptors,bt=Object.getOwnPropertySymbols,it=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,we=(Kt,jt,Wt)=>jt in Kt?At(Kt,jt,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):Kt[jt]=Wt,Ce=(Kt,jt)=>{for(var Wt in jt||(jt={}))it.call(jt,Wt)&&we(Kt,Wt,jt[Wt]);if(bt)for(var Wt of bt(jt))_e.call(jt,Wt)&&we(Kt,Wt,jt[Wt]);return Kt},Ye=(Kt,jt)=>Gt(Kt,wt(jt)),Je=(Kt,jt,Wt)=>new Promise((Vt,nn)=>{var Bt=on=>{try{en(Wt.next(on))}catch(xn){nn(xn)}},_t=on=>{try{en(Wt.throw(on))}catch(xn){nn(xn)}},en=on=>on.done?Vt(on.value):Promise.resolve(on.value).then(Bt,_t);en((Wt=Wt.apply(Kt,jt)).next())});function Le({dispatch:Kt,userid:jt}){const Wt={wrapperCol:{offset:3,span:21}},[Vt]=z.default.useForm(),{identifier:nn}=(0,gt.useParams)();return He.createElement("div",{style:{width:"500px"}},He.createElement(z.default,{form:Vt,name:"basic"},He.createElement(z.default.Item,Ye(Ce({},Wt),{label:He.createElement("div",{style:{width:"30px"}},"\u5F00\u6237\u884C"),name:"bank",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5F00\u6237\u884C"}]}),He.createElement(le.default,null)),He.createElement(z.default.Item,Ye(Ce({},Wt),{label:He.createElement("div",{style:{width:"30px"}},"\u652F\u884C"),name:"second_bank",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u652F\u884C"}]}),He.createElement(le.default,null)),He.createElement(z.default.Item,Ye(Ce({},Wt),{label:He.createElement("div",{style:{width:"30px"}},"\u8D26\u53F7"),name:"card_no",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8D26\u53F7"}]}),He.createElement(le.default,null)),He.createElement(z.default.Item,null,He.createElement(pe.ZP,{type:"primary",htmlType:"submit",onClick:()=>Je(this,null,function*(){Vt.validateFields().then(Bt=>Je(this,null,function*(){(yield Kt({type:"competitions/setleader",payload:Ce({identifier:nn,user_id:jt},Bt)})).status===0&&ee.ZP.info("\u63D0\u4EA4\u6210\u529F")}))})},"\u63D0\u4EA4"))))}var Ge=Le,Ke=(Kt,jt,Wt)=>new Promise((Vt,nn)=>{var Bt=on=>{try{en(Wt.next(on))}catch(xn){nn(xn)}},_t=on=>{try{en(Wt.throw(on))}catch(xn){nn(xn)}},en=on=>on.done?Vt(on.value):Promise.resolve(on.value).then(Bt,_t);en((Wt=Wt.apply(Kt,jt)).next())});const Xe={teacher:"\u6559\u5E08",student:"\u5B66\u751F",professional:"\u4E13\u4E1A\u4EBA\u58EB"};function Qe({Prize:Kt,Accounts:jt,dispatch:Wt,userid:Vt}){var nn,Bt,_t,en,on,xn,zn,tr;const[er,ur]=(0,He.useState)("none"),[Dr,Mr]=(0,He.useState)("none");function Br(qr){return Ke(this,null,function*(){let Qr;qr==="1"?Qr=yield Wt({type:"competitions/Authentication"}):Qr=yield Wt({type:"competitions/Professional"}),Qr.status===0&&ee.ZP.info("\u64A4\u9500\u6210\u529F")})}return He.createElement("div",null,He.createElement(ge.Z,{align:"middle"},He.createElement(ce.Z,null,He.createElement("span",{className:"c-red"},"*"),"\u5B9E\u540D\u4FE1\u606F"),(jt==null?void 0:jt.authentication)==="uncertified"&&He.createElement(ce.Z,{flex:1,className:"ml20"},He.createElement(ge.Z,{align:"middle",justify:"space-between"},He.createElement(ce.Z,{style:{marginLeft:"20px"}},"\u901A\u8FC7\u5B9E\u540D\u8BA4\u8BC1\u540E\u624D\u80FD\u83B7\u5F97\u8BC1\u4E66"),He.createElement(pe.ZP,{className:oe.Z.PerfectBut,onClick:()=>{Wt({type:"account/setActionTabs",payload:{key:"Account-RealNameAuth"}})}},"\u7ACB\u5373\u8BA4\u8BC1")))),He.createElement("div",{className:oe.Z.PerfectCent},He.createElement(ge.Z,null,He.createElement(ce.Z,{className:oe.Z.PerfectCentName},"\u59D3\u540D"),He.createElement(ce.Z,{className:"ml20"},jt==null?void 0:jt.name,(jt==null?void 0:jt.authentication)==="uncertified"?null:(jt==null?void 0:jt.authentication)==="applying"?He.createElement("span",null,He.createElement("span",null,"\u5F85\u5BA1\u6838"),He.createElement(pe.ZP,{type:"primary",onClick:()=>Br("1"),ghost:!0,style:{marginLeft:"20px"}},"\u64A4\u9500\u8BA4\u8BC1")):He.createElement("span",{style:{color:"#6ec76e"}},He.createElement("i",{className:"iconfont icon-wancheng font-14"})," \u5DF2\u8BA4\u8BC1"))),He.createElement(ge.Z,{className:"mt20"},He.createElement(ce.Z,{className:oe.Z.PerfectCentName},"\u6027\u522B"),He.createElement(ce.Z,{className:"ml20"},(jt==null?void 0:jt.gender)===0?"\u7537":"\u5973"))),He.createElement(ge.Z,{align:"middle"},He.createElement(ce.Z,null,He.createElement("span",{className:"c-red"},"*"),"\u804C\u4E1A\u4FE1\u606F"),(jt==null?void 0:jt.authentication)==="uncertified"&&He.createElement(ce.Z,{flex:1,className:"ml20"},He.createElement(ge.Z,{align:"middle",justify:"space-between"},He.createElement(ce.Z,{style:{marginLeft:"20px"}},"\u901A\u8FC7\u5B9E\u540D\u8BA4\u8BC1\u540E\u624D\u80FD\u83B7\u5F97\u8BC1\u4E66"),He.createElement(pe.ZP,{className:oe.Z.PerfectBut,onClick:()=>{Wt({type:"account/setActionTabs",payload:{key:"Account-ProfessionalAuth"}})}},"\u7ACB\u5373\u8BA4\u8BC1")))),He.createElement("div",{className:oe.Z.PerfectCent},He.createElement(ge.Z,null,He.createElement(ce.Z,{className:oe.Z.PerfectCentName},"\u804C\u4E1A"),He.createElement(ce.Z,{className:"ml20"},jt&&jt.identity&&Xe[jt.identity],(jt==null?void 0:jt.authentication)==="uncertified"?null:(jt==null?void 0:jt.authentication)==="applying"?He.createElement("span",null,He.createElement("span",null,"\u5F85\u5BA1\u6838"),He.createElement(pe.ZP,{type:"primary",onClick:()=>Br("2"),ghost:!0,style:{marginLeft:"20px"}},"\u64A4\u9500\u8BA4\u8BC1")):He.createElement("span",{style:{color:"#6ec76e"}},He.createElement("i",{className:"iconfont icon-wancheng font-14"})," \u5DF2\u8BA4\u8BC1",He.createElement(pe.ZP,{type:"primary",onClick:()=>{Wt({type:"account/setActionTabs",payload:{key:"Account-ProfessionalAuth"}})},ghost:!0,style:{marginLeft:"20px"}},"\u91CD\u65B0\u8BA4\u8BC1")))),He.createElement(ge.Z,{className:"mt20"},He.createElement(ce.Z,{className:oe.Z.PerfectCentName},"\u5B66\u53F7"),He.createElement(ce.Z,{className:"ml20"},(jt==null?void 0:jt.student_id)||"--")),He.createElement(ge.Z,{className:"mt20"},He.createElement(ce.Z,{className:oe.Z.PerfectCentName},"\u5B66\u6821"),He.createElement(ce.Z,{className:"ml20"},(jt==null?void 0:jt.school_name)||"--")),He.createElement(ge.Z,{className:"mt20"},He.createElement(ce.Z,{className:oe.Z.PerfectCentName},"\u9662\u7CFB"),He.createElement(ce.Z,{className:"ml20"},(jt==null?void 0:jt.department_name)||"--"))),He.createElement("p",null,He.createElement("span",{className:"c-red"},"*"),"\u8054\u7CFB\u65B9\u5F0F"),He.createElement("div",{className:oe.Z.PerfectCent},He.createElement(ge.Z,null,He.createElement(ce.Z,{className:oe.Z.PerfectCentName},"\u624B\u673A\u53F7"),He.createElement(ce.Z,{className:"ml20"},He.createElement(ge.Z,null,He.createElement(ce.Z,{style:{width:"150px"}},(jt==null?void 0:jt.phone)||"--"),er==="none"&&He.createElement(pe.ZP,{type:"link",className:"ml20",style:{color:"#165DFF"},onClick:()=>{ur("block")}},"\u66F4\u6362")))),He.createElement("div",{className:"mt10",style:{marginLeft:"74px"}},He.createElement(Tt,{type:3,dispatch:Wt,userid:jt==null?void 0:jt.id,isshow:er,setPhoneshow:ur,setEmailshow:Mr})),He.createElement(ge.Z,{className:"mt20"},He.createElement(ce.Z,{className:oe.Z.PerfectCentName},"Email"),He.createElement(ce.Z,{className:"ml20"},He.createElement(ge.Z,null,He.createElement(ce.Z,{style:{width:"150px"}},(jt==null?void 0:jt.mail)||"--"),Dr==="none"&&He.createElement(pe.ZP,{type:"link",className:"ml20",style:{color:"#165DFF"},onClick:()=>{Mr("block")}},"\u66F4\u6362")))),He.createElement("div",{className:"mt10",style:{marginLeft:"74px"}},He.createElement(Tt,{type:4,dispatch:Wt,userid:jt==null?void 0:jt.id,isshow:Dr,setEmailshow:Mr,setPhoneshow:ur}))),Kt!=null&&Kt.leader&&(Kt!=null&&Kt.teams)&&((Bt=(nn=Kt==null?void 0:Kt.teams[0])==null?void 0:nn.bank_account)!=null&&Bt.bank)?He.createElement(ge.Z,{align:"middle"},He.createElement(ce.Z,null,"\u7B7E/\u9886/\u5F00\u6237\u884C\u53CA\u94F6\u884C\u5361\u53F7"),He.createElement(ce.Z,{className:"ml20",style:{fontSize:"12px"}},"\u4E3A\u4FDD\u969C\u5956\u91D1\u7684\u53CA\u65F6\u53D1\u653E\uFF0C\u8BF7\u961F\u957F\u5982\u5B9E\u586B\u5199\u4F60\u540D\u4E0B\u7684\u94F6\u884C\u5361\u4FE1\u606F")):He.createElement("div",null,He.createElement(ge.Z,{align:"middle"},He.createElement(ce.Z,null,"\u7B7E/\u9886/\u5F00\u6237\u884C\u53CA\u94F6\u884C\u5361\u53F7"),He.createElement(ce.Z,{className:"ml20",style:{fontSize:"12px"}},"\u4E3A\u4FDD\u969C\u5956\u91D1\u7684\u53CA\u65F6\u53D1\u653E\uFF0C\u8BF7\u961F\u957F\u5982\u5B9E\u586B\u5199\u4F60\u540D\u4E0B\u7684\u94F6\u884C\u5361\u4FE1\u606F")),He.createElement(Ge,{dispatch:Wt,userid:Vt})),(Kt==null?void 0:Kt.leader)&&He.createElement("div",{className:oe.Z.PerfectCent,style:{border:0}},He.createElement(ge.Z,null,He.createElement(ce.Z,{className:oe.Z.PerfectCentName},"\u5F00\u6237\u884C"),He.createElement(ce.Z,{className:"ml20"},(Kt==null?void 0:Kt.teams)&&((en=(_t=Kt==null?void 0:Kt.teams[0])==null?void 0:_t.bank_account)==null?void 0:en.bank)||"--")),He.createElement(ge.Z,{className:"mt20"},He.createElement(ce.Z,{className:oe.Z.PerfectCentName},"\u652F\u884C"),He.createElement(ce.Z,{className:"ml20"},(Kt==null?void 0:Kt.teams)&&((xn=(on=Kt==null?void 0:Kt.teams[0])==null?void 0:on.bank_account)==null?void 0:xn.second_bank)||"--")),He.createElement(ge.Z,{className:"mt20"},He.createElement(ce.Z,{className:oe.Z.PerfectCentName},"\u8D26\u53F7"),He.createElement(ce.Z,{className:"ml20"},(Kt==null?void 0:Kt.teams)&&((tr=(zn=Kt==null?void 0:Kt.teams[0])==null?void 0:zn.bank_account)==null?void 0:tr.card_no)||"--"))),He.createElement(St.Z,{Scoid:jt==null?void 0:jt.school_id}),He.createElement(dt,null))}var ht=Qe,Et=We(85057);const mt=({Prize:Kt,Accounts:jt,getAccounts:Wt,dispatch:Vt,userid:nn})=>{const[Bt,_t]=(0,He.useState)("DownPdf");return He.createElement("div",{style:{margin:"15px 0"}},He.createElement(Et.tp,{dataSource:[{name:"\u83B7\u5956\u8BC1\u4E66\u4E0B\u8F7D",id:"DownPdf"},{name:"\u5B8C\u5584\u4E2A\u4EBA\u4FE1\u606F",id:"Perfect"}],value:Bt,onChange:en=>_t(en)}),Bt=="DownPdf"&&He.createElement(xe,{Prize:Kt}),Bt=="Perfect"&&He.createElement(ht,{userid:nn,dispatch:Vt,Prize:Kt,Accounts:jt}))};var Ft=(0,gt.connect)(({})=>({}))(mt)},27268:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return Ie}});var He=We(59301),gt=We(43418),oe=We(8591),Ze=We(6848),Ne=We(3113),ge=We(93678),ce=We(89070),Ee=We(85149),Ae=We(46474),ye=We(49692),De=We(99064),me=Object.defineProperty,xe=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,ee=(Me,Oe,Te)=>Oe in Me?me(Me,Oe,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Me[Oe]=Te,ae=(Me,Oe)=>{for(var Te in Oe||(Oe={}))fe.call(Oe,Te)&&ee(Me,Te,Oe[Te]);if(xe)for(var Te of xe(Oe))z.call(Oe,Te)&&ee(Me,Te,Oe[Te]);return Me};const re=Me=>React.createElement("svg",ae({className:"jieduanguanka_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:20,height:20},Me),React.createElement("path",{d:"M128 0h768c70.4 0 128 57.6 128 128v768c0 70.4-57.6 128-128 128H128A128.358 128.358 0 0 1 0 896V128C0 57.6 57.6 0 128 0z",fill:"#165DFF",fillOpacity:.14}),React.createElement("path",{d:"M294.4 377.6 160 480c-6.4 6.4-12.8 12.8-12.8 25.6v57.6c0 12.8 6.4 19.2 19.2 32l134.4 96c12.8 12.8 38.4 12.8 51.2 0l6.4-6.4c6.4-6.4 12.8-19.2 6.4-32s-6.4-25.6-19.2-32l-115.2-83.2 121.6-96c6.4-6.4 12.8-19.2 12.8-25.6 0-12.8 0-19.2-6.4-32-19.2-19.2-44.8-25.6-64-6.4zm275.2-12.8c-12.8 6.4-19.2 12.8-25.6 19.2L409.6 633.6a40.806 40.806 0 0 0 0 38.4c6.4 12.8 19.2 19.2 38.4 19.2 12.8 0 25.6-6.4 32-19.2l134.4-249.6c6.4-6.4 6.4-19.2 6.4-32s-12.8-19.2-19.2-25.6h-32zm128 0c-12.8 0-19.2 6.4-25.6 12.8-12.8 19.2-12.8 44.8 6.4 57.6l121.6 96-121.6 89.6c-19.2 12.8-19.2 38.4-12.8 51.2l6.4 6.4c12.8 19.2 38.4 19.2 57.6 6.4l134.4-96c6.4-6.4 12.8-19.2 19.2-25.6v-57.6c0-12.8-6.4-19.2-12.8-25.6L736 377.6c-19.2-12.8-32-12.8-38.4-12.8z",fill:"#165DFF"}));var le="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAiIGhlaWdodD0iMjAiPjxwYXRoIGQ9Ik0xMjggMGg3NjhjNzAuNCAwIDEyOCA1Ny42IDEyOCAxMjh2NzY4YzAgNzAuNC01Ny42IDEyOC0xMjggMTI4SDEyOEExMjguMzU4IDEyOC4zNTggMCAwIDEgMCA4OTZWMTI4QzAgNTcuNiA1Ny42IDAgMTI4IDB6IiBmaWxsPSIjMTY1REZGIiBmaWxsLW9wYWNpdHk9Ii4xNCIvPjxwYXRoIGQ9Ik0yOTQuNCAzNzcuNiAxNjAgNDgwYy02LjQgNi40LTEyLjggMTIuOC0xMi44IDI1LjZ2NTcuNmMwIDEyLjggNi40IDE5LjIgMTkuMiAzMmwxMzQuNCA5NmMxMi44IDEyLjggMzguNCAxMi44IDUxLjIgMGw2LjQtNi40YzYuNC02LjQgMTIuOC0xOS4yIDYuNC0zMnMtNi40LTI1LjYtMTkuMi0zMmwtMTE1LjItODMuMiAxMjEuNi05NmM2LjQtNi40IDEyLjgtMTkuMiAxMi44LTI1LjYgMC0xMi44IDAtMTkuMi02LjQtMzItMTkuMi0xOS4yLTQ0LjgtMjUuNi02NC02LjR6bTI3NS4yLTEyLjhjLTEyLjggNi40LTE5LjIgMTIuOC0yNS42IDE5LjJMNDA5LjYgNjMzLjZhNDAuODA2IDQwLjgwNiAwIDAgMCAwIDM4LjRjNi40IDEyLjggMTkuMiAxOS4yIDM4LjQgMTkuMiAxMi44IDAgMjUuNi02LjQgMzItMTkuMmwxMzQuNC0yNDkuNmM2LjQtNi40IDYuNC0xOS4yIDYuNC0zMnMtMTIuOC0xOS4yLTE5LjItMjUuNmgtMzJ6bTEyOCAwYy0xMi44IDAtMTkuMiA2LjQtMjUuNiAxMi44LTEyLjggMTkuMi0xMi44IDQ0LjggNi40IDU3LjZsMTIxLjYgOTYtMTIxLjYgODkuNmMtMTkuMiAxMi44LTE5LjIgMzguNC0xMi44IDUxLjJsNi40IDYuNGMxMi44IDE5LjIgMzguNCAxOS4yIDU3LjYgNi40bDEzNC40LTk2YzYuNC02LjQgMTIuOC0xOS4yIDE5LjItMjUuNnYtNTcuNmMwLTEyLjgtNi40LTE5LjItMTIuOC0yNS42TDczNiAzNzcuNmMtMTkuMi0xMi44LTMyLTEyLjgtMzguNC0xMi44eiIgZmlsbD0iIzE2NURGRiIvPjwvc3ZnPg==",ue=We(24065),pe=(Me,Oe,Te)=>new Promise((je,ze)=>{var $e=et=>{try{qe(Te.next(et))}catch(lt){ze(lt)}},Ue=et=>{try{qe(Te.throw(et))}catch(lt){ze(lt)}},qe=et=>et.done?je(et.value):Promise.resolve(et.value).then($e,Ue);qe((Te=Te.apply(Me,Oe)).next())});const Pe=Me=>{let Oe=["\u96F6","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D"],Te=["","\u5341","\u767E","\u5343","\u4E07"];Me=parseInt(Me);let je=Ue=>{let qe=Ue.toString().split("").reverse(),et="";for(var lt=0;lt0&&qe[lt]==0&&qe[lt-1]==0?"":Oe[qe[lt]]+(qe[lt]==0?Te[0]:Te[lt]))+et;return et},ze=Math.floor(Me/1e4),$e=Me%1e4;return $e.toString().length<4&&($e="0"+$e),ze?je(ze)+"\u4E07"+je($e):je(Me)};function be({item:Me,Header:Oe,index:Te,StaffDetail:je,dispatch:ze}){var $e,Ue,qe,et,lt,ut,vt;const[tt,at]=(0,He.useState)(!0),[dt,St]=(0,He.useState)(!0),[xt,ft]=(0,He.useState)(!1),pt=(0,He.useRef)(),[yt,Tt]=(0,He.useState)(!1),{identifier:At}=(0,ce.useParams)();(0,He.useEffect)(()=>{setTimeout(()=>{pt.current.children[0].clientHeight>88&&ft(!0)},10)},[]);const Gt=it=>{var _e,we;if((0,Ae.tJ)(ze,!0)){if((it==null?void 0:it.shixun_status)>1&&Tt(!0),it!=null&&it.is_jupyter||it!=null&&it.is_jupyter_lab){ze({type:"shixunsDetail/execJupyter",payload:{id:(_e=it==null?void 0:it.shixun)==null?void 0:_e.identifier}}).then(Ce=>{Tt(!1),Ce!=null&&Ce.identifier&&window.open(`/tasks/${Ce.identifier}/jupyter?competition_entry_id=${it==null?void 0:it.id}&type=competitions`)});return}ze({type:"shixunsDetail/execShixun",payload:{id:(we=it==null?void 0:it.shixun)==null?void 0:we.identifier}}).then(Ce=>{if(Tt(!1),Ce!=null&&Ce.game_identifier){window.open(`/tasks/${Ce.game_identifier}?competition_entry_id=${it==null?void 0:it.id}&type=competitions`);return}(Ce==null?void 0:Ce.status)===2?wt(Ce==null?void 0:Ce.message):(Ce==null?void 0:Ce.status)===3&&bt(Ce==null?void 0:Ce.message)})}},wt=it=>{it=it!=null&&it.includes(".json")?it:`${it}.json`,gt.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:He.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>pe(this,null,function*(){const _e=yield(0,ye.$Q)({url:it});if(!_e)return;oe.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const we=yield(0,ye.Ir)({id:_e.shixun_identifier});if(we!=null&&we.game_identifier){window.open(`/tasks/${we.game_identifier}`);return}(we==null?void 0:we.status)===2?wt(we==null?void 0:we.message):(we==null?void 0:we.status)===3&&bt(we==null?void 0:we.message)})})},bt=it=>{gt.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:He.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",it,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})};return He.createElement("div",{className:ge.Z.box},He.createElement("div",{style:{justifyContent:"space-between",display:"flex",padding:"0 10px"}},He.createElement("span",{className:ge.Z.title_style,style:{color:"#333333",fontWeight:500,fontSize:"14px"}},Oe!=null&&Oe.is_new?"\u8D5B\u9898":"\u4EFB\u52A1",Te+1),He.createElement("span",{style:{color:"#9096A3",marginLeft:"auto",fontSize:"12px"}},"\u4F5C\u54C1\u63D0\u4EA4\u65F6\u95F4",He.createElement("span",{style:{color:"#232B40",marginLeft:5}},Oe==null?void 0:Oe.start_time,"~",Oe==null?void 0:Oe.end_time))),He.createElement("div",{style:{padding:10,display:"flex",position:"relative"}},He.createElement("img",{src:Me==null?void 0:Me.pic,style:{width:220,height:130,borderRadius:"4px"}}),He.createElement("div",{style:{marginLeft:20,width:"75%"}},He.createElement("div",{style:{justifyContent:"space-between",display:"flex"}},He.createElement("div",null,He.createElement(Ze.Z,{title:(Me==null?void 0:Me.name)||(($e=Me==null?void 0:Me.shixun)==null?void 0:$e.name)},He.createElement("span",{style:{color:"#333333",fontWeight:"500",fontSize:"14px"}},(Me==null?void 0:Me.name)||((Ue=Me==null?void 0:Me.shixun)==null?void 0:Ue.name))),He.createElement("span",{style:{color:"#9096A3",marginLeft:40}},"\u5173\u5361",He.createElement("span",{style:{color:"#333333",marginLeft:5}},(Me==null?void 0:Me.challenges_count)||((qe=Me==null?void 0:Me.shixun)==null?void 0:qe.challenges_count)))),He.createElement("span",{style:{marginLeft:"auto"}},((je==null?void 0:je.enrolled)&&(Oe==null?void 0:Oe.competition_status)!=="ended"||(0,ue.eB)()||((et=Oe.permission)==null?void 0:et.editable))&&He.createElement(Ne.ZP,{loading:yt,onClick:()=>pe(this,null,function*(){var it,_e;if(Oe!=null&&Oe.is_new){let we=yield(0,De.ZP)(`/api/competitions/${At}/check_team_member.json`,{method:"post"});if((we==null?void 0:we.status)===0){Gt(Me);let Ce=yield(0,De.ZP)(`/api/competitions/${At}/enter_competition_question.json`,{method:"post",body:{competition_stage_id:Me==null?void 0:Me.competition_stage_id,competition_stage_section_id:Me==null?void 0:Me.competition_stage_section_id,competition_entry_id:Me==null?void 0:Me.id,shixun_id:(it=Me==null?void 0:Me.shixun)==null?void 0:it.id}})}}else window.open(`/shixuns/${(Me==null?void 0:Me.identifier)||((_e=Me==null?void 0:Me.shixun)==null?void 0:_e.identifier)}/challenges`)}),style:{marginLeft:30,borderRadius:14,fontSize:12,width:88},type:"primary"},"\u5F00\u542F\u6311\u6218"))),He.createElement("div",{ref:pt,style:{maxHeight:tt&&100,position:"relative",overflow:"hidden"}},He.createElement(Ee.Z,{style:{fontSize:"14px",color:"#9096A3",marginTop:20,position:"relative"},value:(Me==null?void 0:Me.description)||""}),xt&&tt&&He.createElement("div",{className:ge.Z.maskText})),xt&&He.createElement("div",{className:ge.Z.colorhove,style:{textAlign:"end",cursor:"pointer"},onClick:()=>{at(!tt)}},tt?"\u9605\u8BFB\u5168\u6587 ":"\u6536\u8D77\u5168\u6587 ",He.createElement("i",{className:`iconfont font14 ${tt?"icon-jiantou9":"icon-changyongtubiao-xianxingdaochu-zhuanqu-"}`})),He.createElement("div",{style:{marginTop:14,maxHeight:dt&&58,overflow:"hidden"}},(lt=Me==null?void 0:Me.challenges)==null?void 0:lt.map((it,_e)=>He.createElement("div",{style:{marginTop:_e===0?0:12}},He.createElement("img",{src:le,style:{width:20,height:20}}),He.createElement("span",{style:{marginLeft:10}},"\u7B2C",_e+1,"\u5173",it==null?void 0:it.challenge_name))),(ut=Me==null?void 0:Me.challenge_settings)==null?void 0:ut.map((it,_e)=>He.createElement("div",{style:{marginTop:_e===0?0:12}},He.createElement("img",{src:le,style:{width:20,height:20}}),He.createElement("span",{style:{marginLeft:10}},"\u7B2C",_e+1,"\u5173",it==null?void 0:it.challenge_name)))),He.createElement("div",{className:ge.Z.colorhove,style:{position:"absolute",bottom:14,right:10,cursor:"pointer"}},((Me==null?void 0:Me.challenges_count)||((vt=Me==null?void 0:Me.shixun)==null?void 0:vt.challenges_count))>2&&He.createElement("span",{onClick:()=>{St(!dt)}},dt?"\u5C55\u5F00":"\u6536\u8D77"," ",He.createElement("i",{className:`iconfont font14 ${dt?"icon-jiantou9":"icon-changyongtubiao-xianxingdaochu-zhuanqu-"}`}))))))}var Ie=be},78110:function(Nn,fn,We){"use strict";We.d(fn,{Z:function(){return _e}});var He=We(59301),gt=We(89070),oe=We(57809),Ze=We(54580),Ne=We(78241),ge=We(8591),ce=We(43418),Ee=We(95237),Ae=We(43604),ye=We(71418),De=We(92832),me=We(88522),xe=We(3113),fe=We(3294),z=We(51941),ee=We(56615),ae=We(955),re=We(60302),le=We(19842),ue=We(29679),pe=We(19248),Pe=We(16979),be={flexRow:"flexRow___jGYtM",flexColumn:"flexColumn___NPMB3",formWrap:"formWrap___vwH9N",example:"example____BmJC",footerWrap:"footerWrap___lp1L0"},Ie=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,Te=(we,Ce)=>{var Ye={};for(var Je in we)Me.call(we,Je)&&Ce.indexOf(Je)<0&&(Ye[Je]=we[Je]);if(we!=null&&Ie)for(var Je of Ie(we))Ce.indexOf(Je)<0&&Oe.call(we,Je)&&(Ye[Je]=we[Je]);return Ye},je=(we,Ce,Ye)=>new Promise((Je,Le)=>{var Ge=Qe=>{try{Xe(Ye.next(Qe))}catch(ht){Le(ht)}},Ke=Qe=>{try{Xe(Ye.throw(Qe))}catch(ht){Le(ht)}},Xe=Qe=>Qe.done?Je(Qe.value):Promise.resolve(Qe.value).then(Ge,Ke);Xe((Ye=Ye.apply(we,Ce)).next())});const ze=(we,Ce)=>Ce.some(Ye=>Ye.label.toLowerCase().indexOf(we.toLowerCase())>-1),$e=De.default.TextArea,Ue=we=>{var Ce=we,{account:Ye,globalSetting:Je,loading:Le,dispatch:Ge,schoolName:Ke,visible:Xe,onClose:Qe=()=>{},onSuccess:ht=()=>{}}=Ce,Et=Te(Ce,["account","globalSetting","loading","dispatch","schoolName","visible","onClose","onSuccess"]);const[mt]=Ne.default.useForm();(0,He.useEffect)(()=>{mt.setFieldsValue({name:Ke})},[Ke]);const Ft=Kt=>je(void 0,null,function*(){const{name:jt,city:Wt=[],address:Vt,remarks:nn}=Kt||{},Bt=yield Ge({type:"account/appplySchool",payload:{name:jt,province:Wt[0],city:Wt[1],address:Vt,remarks:nn}});Qe(),Bt&&(ge.ZP.success("\u65B0\u589E\u5B66\u6821/\u5355\u4F4D\u6210\u529F\uFF01"),ht(jt))});return He.createElement(ce.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:Xe,title:"\u7533\u8BF7\u6DFB\u52A0\u5355\u4F4D\u540D\u79F0",width:"600px",footer:null},He.createElement(Ne.default,{className:be.formWrap,form:mt,labelCol:{span:4},wrapperCol:{span:20},onFinish:Ft},He.createElement(Ne.default.Item,{label:"\u5355\u4F4D\u5168\u79F0\uFF1A",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B66\u6821\u6216\u5DE5\u4F5C\u5355\u4F4D"}]},He.createElement(De.default,{placeholder:"\u5B66\u6821\u6216\u5DE5\u4F5C\u5355\u4F4D"})),He.createElement("div",{className:`${be.flexRow} ${be.example}`},He.createElement("div",null,"\u793A\u4F8B\uFF1A"),He.createElement("div",{className:be.flexColumn},He.createElement("div",null,He.createElement(ue.Z,{style:{color:"rgb(82, 196, 26)"}}),He.createElement("span",{className:"font14 ml5"},"\u6B63\u786E\u793A\u4F8B\uFF1A\u6570\u636E\u7ED3\u6784")),He.createElement("div",null,He.createElement(pe.Z,{style:{color:"red"}}),He.createElement("span",{className:"font14 ml5"},"\u9519\u8BEF\u793A\u4F8B\uFF1A\u6570\u636E\u7ED3\u67842019\u6625")))),He.createElement(Ne.default.Item,{label:"\u5730\u533A\uFF1A",name:"city"},He.createElement(le.Z,{allowClear:!0,size:"middle",options:Pe.P,placeholder:"\u8BF7\u9009\u62E9\u6240\u5728\u5730",showSearch:{matchInputWidth:!0,filter:ze}})),He.createElement(Ne.default.Item,{label:"\u8BE6\u7EC6\u5730\u5740\uFF1A",name:"address"},He.createElement(De.default,{placeholder:"\u8BF7\u586B\u5199\u5B8C\u6574\u7684\u5730\u5740\u4FE1\u606F"})),He.createElement(Ne.default.Item,{label:"\u8BF4\u660E\uFF1A",name:"remarks"},He.createElement($e,{placeholder:"\u518D\u6B21\u8BF4\u660E\u7279\u522B\u60C5\u51B5\uFF08\u9009\u586B\uFF09"})),He.createElement("div",{className:be.footerWrap},He.createElement(Ne.default.Item,null,He.createElement(xe.ZP,{className:"mr5",size:"middle",onClick:()=>{Qe()}},"\u53D6\u6D88"),He.createElement(xe.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:Le["account/appplySchool"]},"\u4FDD\u5B58")))))};var qe=(0,gt.connect)(({account:we,loading:Ce,globalSetting:Ye})=>({account:we,globalSetting:Ye,loading:Ce.effects}))(Ue),et=We(1),lt=We(89392),ut=We(59301),vt=Object.defineProperty,tt=Object.defineProperties,at=Object.getOwnPropertyDescriptors,dt=Object.getOwnPropertySymbols,St=Object.prototype.hasOwnProperty,xt=Object.prototype.propertyIsEnumerable,ft=(we,Ce,Ye)=>Ce in we?vt(we,Ce,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):we[Ce]=Ye,pt=(we,Ce)=>{for(var Ye in Ce||(Ce={}))St.call(Ce,Ye)&&ft(we,Ye,Ce[Ye]);if(dt)for(var Ye of dt(Ce))xt.call(Ce,Ye)&&ft(we,Ye,Ce[Ye]);return we},yt=(we,Ce)=>tt(we,at(Ce)),Tt=(we,Ce)=>{var Ye={};for(var Je in we)St.call(we,Je)&&Ce.indexOf(Je)<0&&(Ye[Je]=we[Je]);if(we!=null&&dt)for(var Je of dt(we))Ce.indexOf(Je)<0&&xt.call(we,Je)&&(Ye[Je]=we[Je]);return Ye},At=(we,Ce,Ye)=>new Promise((Je,Le)=>{var Ge=Qe=>{try{Xe(Ye.next(Qe))}catch(ht){Le(ht)}},Ke=Qe=>{try{Xe(Ye.throw(Qe))}catch(ht){Le(ht)}},Xe=Qe=>Qe.done?Je(Qe.value):Promise.resolve(Qe.value).then(Ge,Ke);Xe((Ye=Ye.apply(we,Ce)).next())});const Gt=oe.default.Option,wt=Ze.default.Dragger;var bt=(we=>(we[we.Professor=1]="Professor",we[we.AssistantProfessor=2]="AssistantProfessor",we[we.Student=3]="Student",we))(bt||{});const it=we=>{var Ce=we,{user:Ye,account:Je,globalSetting:Le,loading:Ge,dispatch:Ke,Scoid:Xe}=Ce,Qe=Tt(Ce,["user","account","globalSetting","loading","dispatch","Scoid"]),ht,Et;const[mt]=Ne.default.useForm(),[Ft,Kt]=(0,He.useState)({}),[jt,Wt]=(0,He.useState)([]),[Vt,nn]=(0,He.useState)([]),[Bt,_t]=(0,He.useState)([]),[en,on]=(0,He.useState)([]),[xn,zn]=(0,He.useState)(),[tr,er]=(0,He.useState)(),[ur,Dr]=(0,He.useState)(),[Mr,Br]=(0,He.useState)(),[qr,Qr]=(0,He.useState)(),Lr=(0,He.useRef)((0,lt.throttle)(Zt=>ei(Zt),1200,{leading:!0,trailing:!0})).current;(0,He.useEffect)(()=>{},[]),(0,He.useEffect)(()=>{At(void 0,null,function*(){if(!Xe)return;const Zt=yield Er(Xe);_t(Zt==null?void 0:Zt.departments)})},[Xe]);const ei=Zt=>At(void 0,null,function*(){var Pt,an;const gn=yield Ke({type:"account/getSchoolOption",payload:{keyword:Zt,limit:10}});Wt(gn==null?void 0:gn.schools),Zt&&Zt!=""&&(nn((Pt=gn==null?void 0:gn.schools)==null?void 0:Pt.filter(Dt=>Dt.name.includes(Zt))),(((an=gn==null?void 0:gn.schools)==null?void 0:an.find(Dt=>Dt.name===Zt))||{}).id?hr(Zt,null,gn==null?void 0:gn.schools):(mt.setFieldsValue({department:""}),Kt(pt(pt({},Ft),{school:Zt,department:""}))))}),Er=Zt=>{if(Zt)return Ke({type:"account/getDepartmentOption",payload:{id:Zt}})};(0,He.useEffect)(()=>{if(!Je.basicInfo)return;const{basicInfo:Zt}=Je,Pt={identity:Zt.identity,school:Zt.school_name,department:Zt.department_name,studentNo:Zt.student_id,jobTitle:Zt.identity=="teacher"?Zt.technical_title:"\u6559\u6388",manager:Zt.identity=="professional"?Zt.technical_title:"\u4F01\u4E1A\u7BA1\u7406\u8005"};mt.setFieldsValue(Pt),Kt(Pt)},[Je.basicInfo]);const ot=()=>{Br(!0)},xi=()=>{if(!jt.find(Zt=>Zt.name===Ft.school)){ge.ZP.info("\u8BF7\u5148\u9009\u62E9\u6B63\u786E\u7684\u5355\u4F4D\u6216\u8005\u5B66\u6821\uFF01");return}Qr(!0)},gi=Zt=>{Kt(pt({},mt.getFieldsValue())),"school"in Zt&&(nn(jt.filter(an=>an.name.includes(Zt.school))),(jt.find(an=>an.name===Zt.school)||{}).id?hr(Zt.school):(mt.setFieldsValue({department:""}),Kt(pt(pt({},Ft),{school:Zt.school,department:""}))))},Ln=(Zt,Pt)=>{if(Je.actionTabs.checkedList.includes(1)){ce.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:ut.createElement("div",{className:"tc"},Pt||"\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u5BA1\u6838"),onOk:()=>{window.location.href=`/classrooms/${Zt}/students`}});return}window.location.href=`/classrooms/${Zt}/students`},hr=(Zt,Pt,an)=>At(void 0,null,function*(){var gn,Xt,Dt;const cn=(gn=(an||jt).find(Gn=>Gn.name===Zt))==null?void 0:gn.id,bn=(yield Er(cn))||{};_t(bn==null?void 0:bn.departments);const kn=Pt||((Dt=(Xt=bn==null?void 0:bn.departments)==null?void 0:Xt[0])==null?void 0:Dt.name);mt.setFieldsValue({department:kn}),Kt(pt(pt({},Ft),{school:Zt,department:kn}))}),ar=Zt=>At(void 0,null,function*(){yield ei(),mt.setFieldsValue({school:Zt,department:""}),Kt(pt(pt({},Ft),{school:Zt,department:""}))}),vr=Zt=>{var Pt;if(Zt.file.status==="uploading"){Dr(!0);return}Zt.file.status==="done"&&(console.log(Zt.file,Zt.file.response),er((Pt=Zt.file.response)==null?void 0:Pt.id),(0,ae.y3)(Zt.file.originFileObj,an=>{zn(an),Dr(!1)}))},Un=Zt=>At(void 0,null,function*(){var Pt,an,gn,Xt,Dt;const{school:cn,department:bn,identity:kn,studentNo:Gn,jobTitle:Ht,manager:An}=Zt||{};if(!xn){ge.ZP.info("\u8BF7\u5148\u4E0A\u4F20\u7167\u7247\uFF01");return}const Kn=(Pt=jt.find(rn=>rn.name===cn))==null?void 0:Pt.id,ir=(an=Bt.find(rn=>rn.name===bn))==null?void 0:an.id;let sn;kn==="student"?sn=Gn:kn==="teacher"?sn=Ht:sn=An;const Cn=yield Ke({type:"account/applyProfessionalAuth",payload:{id:((gn=Je.basicInfo)==null?void 0:gn.id)||((Xt=Ye.userInfo)==null?void 0:Xt.login),school_id:Kn,department_id:ir,identity:kn,extra:sn,attachment_ids:[tr]}});if(Je.actionTabs.code){let rn=yield(0,et.cR)({invite_code:Je.actionTabs.code,professor:Je.actionTabs.checkedList.includes(1)?1:null,assistant_professor:Je.actionTabs.checkedList.includes(2)?1:null,student:Je.actionTabs.checkedList.includes(3)?1:null});rn.message==="\u52A0\u5165\u6210\u529F"&&(rn!=null&&rn.course_id?Ln(rn.course_id,rn.message):ge.ZP.success(rn.message))}Yn(),Cn&&(ge.ZP.info("\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u5BA1\u6838!"),Ke({type:"account/getBasicInfo",payload:{login:(Dt=Ye.userInfo)==null?void 0:Dt.login}}))}),Yn=()=>{Ke({type:"account/setActionTabs",payload:{}})},Qt={data:{type:"professional"},multiple:!0,showUploadList:!1,action:`${fe.Z.API_SERVER}/api/attachments.json`,className:ee.Z.uploader,onChange:vr,beforeUpload:Zt=>{const Pt=Zt.type==="image/jpeg"||Zt.type==="image/png"||Zt.type==="image/jpg"||Zt.type==="image/bmp";return Pt||ge.ZP.info("\u8BF7\u4E0A\u4F20\u6B63\u786E\u6587\u4EF6\u683C\u5F0F"),Pt}};return ut.createElement(ce.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,className:ee.Z.modal,open:Je.actionTabs.key==="Account-ProfessionalAuth",title:ut.createElement(Ee.Z,{style:{padding:"25px"},align:"middle",justify:"space-between"},ut.createElement(Ae.Z,null,"\u804C\u4E1A\u8BA4\u8BC1"),ut.createElement(Ae.Z,null,ut.createElement("i",{className:"iconfont icon-guanbi11",style:{color:"#979797",cursor:"pointer"},onClick:Yn}))),width:"660px",footer:null},ut.createElement(ye.Z,{spinning:!!ur},ut.createElement(Ne.default,{className:ee.Z.formWrap,form:mt,colon:!1,onValuesChange:gi,onFinish:Un},ut.createElement(Ee.Z,{gutter:[10,0]},ut.createElement(Ae.Z,{flex:"300px"},ut.createElement(Ne.default.Item,{label:"\u804C\u4E1A",name:"identity",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u4E1A"}]},ut.createElement(oe.default,null,ut.createElement(Gt,{value:"teacher"},"\u6559\u5E08"),ut.createElement(Gt,{value:"student"},"\u5B66\u751F"),ut.createElement(Gt,{value:"professional"},"\u4E13\u4E1A\u4EBA\u58EB")))),Ft.identity==="student"&&ut.createElement(Ae.Z,{flex:"200px"},ut.createElement(Ne.default.Item,{initialValue:Ft.studentNo,name:"studentNo",rules:[{required:!0,message:"\u8BF7\u5148\u8F93\u5165\u5B66\u53F7"}]},ut.createElement(De.default,{type:"text",placeholder:"\u8BF7\u8F93\u5165\u5B66\u53F7"}))),Ft.identity==="teacher"&&ut.createElement(Ae.Z,{flex:"200px"},ut.createElement(Ne.default.Item,{initialValue:Ft.jobTitle,name:"jobTitle",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u79F0"}]},ut.createElement(oe.default,null,ut.createElement(Gt,{value:"\u6559\u6388"},"\u6559\u6388"),ut.createElement(Gt,{value:"\u526F\u6559\u6388"},"\u526F\u6559\u6388"),ut.createElement(Gt,{value:"\u8BB2\u5E08"},"\u8BB2\u5E08"),ut.createElement(Gt,{value:"\u52A9\u6559"},"\u52A9\u6559")))),Ft.identity==="professional"&&ut.createElement(Ae.Z,{flex:"200px"},ut.createElement(Ne.default.Item,{initialValue:Ft.manager,name:"manager",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u79F0"}]},ut.createElement(oe.default,null,ut.createElement(Gt,{value:"\u4F01\u4E1A\u7BA1\u7406\u8005"},"\u4F01\u4E1A\u7BA1\u7406\u8005"),ut.createElement(Gt,{value:"\u90E8\u95E8\u7BA1\u7406\u8005"},"\u90E8\u95E8\u7BA1\u7406\u8005"),ut.createElement(Gt,{value:"\u9AD8\u7EA7\u5DE5\u7A0B\u5E08"},"\u9AD8\u7EA7\u5DE5\u7A0B\u5E08"),ut.createElement(Gt,{value:"\u5DE5\u7A0B\u5E08"},"\u5DE5\u7A0B\u5E08"),ut.createElement(Gt,{value:"\u52A9\u7406\u5DE5\u7A0B\u5E08"},"\u52A9\u7406\u5DE5\u7A0B\u5E08"))))),ut.createElement(Ne.default.Item,{label:"\u5B66\u6821/\u5355\u4F4D",name:"school",extra:Ft.school&&!(jt!=null&&jt.find(Zt=>Zt.name===Ft.school))&&ut.createElement("div",{className:ee.Z.schoolHintWrap},ut.createElement("span",{className:ee.Z.colorCDCDCD},"\u672A\u627E\u5230\u5305\u542B\u201C",Ft.school,"\u201D\u7684\u9AD8\u6821\uFF0C"),ut.createElement("span",{className:`${ee.Z.color0152d9} current`,onClick:ot},"\u7533\u8BF7\u65B0\u589E")),rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u5B66\u6821/\u5355\u4F4D"}]},ut.createElement(me.Z,{showSearch:!0,onSearch:Lr,options:Vt==null?void 0:Vt.map(Zt=>({value:Zt.name}))})),ut.createElement(Ne.default.Item,{label:"\u9662\u7CFB/\u90E8\u95E8",name:"department",extra:Ft.department&&!(Bt!=null&&Bt.find(Zt=>Zt.name===Ft.department))&&ut.createElement("div",{className:ee.Z.schoolHintWrap},ut.createElement("span",{className:ee.Z.colorCDCDCD},Ft.department?`\u672A\u627E\u5230\u5305\u542B\u201C${Ft.department}\u201D\u7684\u9AD8\u6821\uFF0C`:"\u672A\u627E\u5230\u9662\u7CFB\uFF0C"),ut.createElement("span",{className:`${ee.Z.color0152d9} current`,onClick:xi},"\u7533\u8BF7\u65B0\u589E")),rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u9662\u7CFB/\u90E8\u95E8"}]},ut.createElement(me.Z,{showSearch:!0,onChange:Zt=>on(Bt.filter(Pt=>Pt.name.includes(Zt))),options:en==null?void 0:en.map(Zt=>({value:Zt.name}))})),ut.createElement(Ne.default.Item,{label:"\u804C\u4E1A\u8BC1\u4E0A\u4F20"},ut.createElement("div",{className:ee.Z.flexRow},ut.createElement("div",{className:ee.Z.flexColumn},ut.createElement(wt,yt(pt({},Qt),{accept:".png,.jpg,.bmp,.jpeg"}),xn?ut.createElement("img",{src:xn,className:ee.Z.uploadImg}):ut.createElement("div",{className:ee.Z.imageTip},ut.createElement("p",null,ut.createElement("i",{className:`iconfont icon-cuban2shangchuanyunduan ${ee.Z.uploadTipIcon}`})),ut.createElement("p",{className:ee.Z.uploadTip},ut.createElement("a",{className:ee.Z.color05101a},"\u70B9\u51FB\u6216\u62D6\u62FD\u4E0A\u4F20\u56FE\u7247")))),ut.createElement("span",{className:"tc"},ut.createElement("p",{className:ee.Z.viewLargerImg},"\u67E5\u770B\u5927\u56FE"))),ut.createElement("div",{className:`${ee.Z.flexColumn} ${ee.Z.example}`},ut.createElement("span",{className:ee.Z.exampleImg},ut.createElement("img",{src:z})),ut.createElement("span",{className:"tc"},ut.createElement("p",null,"\u793A\u4F8B\u56FE\u7247"),ut.createElement("p",{className:`${ee.Z.colorOrange} font12`},"\uFF08png/jpg/bmp\u683C\u5F0F\uFF0C\u4E0D\u8D85\u8FC72MB\uFF09"))))),ut.createElement("div",{className:ee.Z.footerWrap},ut.createElement(Ne.default.Item,null,ut.createElement(xe.ZP,{className:"mr5",size:"middle",onClick:Yn},"\u53D6\u6D88"),ut.createElement(xe.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:Ge["account/applyProfessionalAuth"]},"\u4FDD\u5B58"))),ut.createElement("div",{className:ee.Z.note},ut.createElement("p",null,"\u8BA4\u8BC1\u987B\u77E5\uFF1A"),ut.createElement("p",null,"1.\u6839\u636E\u804C\u4E1A\u4E0A\u4F20\u76F8\u5E94\u7684\u8BC1\u4EF6\u7167\uFF1A\u6559\u5E08\uFF08\u6559\u5E08\u8BC1\uFF09\uFF0C\u4E13\u4E1A\u4EBA\u58EB\uFF08\u5458\u5DE5\u8BC1\uFF09\u3001\u5B66\u751F\uFF08\u5B66\u751F\u8BC1\uFF09\uFF0C\u8BF7\u786E\u4FDD\u8BC1\u4EF6\u7167\u5185\u5BB9\u5B8C\u6574\u5E76\u4E14\u6E05\u6670\u53EF\u89C1\uFF0C\u4E25\u7981PS\uFF1B"),ut.createElement("p",null,"2.\u6211\u4EEC\u5C06\u5728\u4F60\u63D0\u4EA4\u804C\u4E1A\u8BC1\u4FE1\u606F\u540E\u768424\u5C0F\u65F6\uFF08\u4E0D\u5305\u542B\u8282\u5047\u65E5\uFF09\u5185\u5B8C\u6210\u5BA1\u6838\uFF0C\u5BA1\u6838\u7ED3\u679C\u5C06\u4F1A\u4EE5\u7CFB\u7EDF\u6D88\u606F\u7684\u5F62\u5F0F\u53D1\u9001\u7ED9\u4F60\uFF1B"),ut.createElement("p",null,"3.\u804C\u4E1A\u8BA4\u8BC1\u5BA1\u6838\u5B8C\u6210\u540E\uFF0C\u65E0\u6CD5\u5220\u9664\uFF0C\u8BF7\u8C28\u614E\u586B\u5199\uFF1B\u804C\u4E1A\u53D8\u66F4\u8BF7\u9009\u62E9\u91CD\u65B0\u8BA4\u8BC1\uFF1B"),ut.createElement("p",null,"4.\u804C\u4E1A\u8BA4\u8BC1\u5BA1\u6838\u5B8C\u6210\u540E\uFF0C\u7CFB\u7EDF\u5C06\u81EA\u52A8\u53D1\u653E500\u4E2A\u91D1\u5E01\u4F5C\u4E3A\u5956\u52B1\uFF1B"),ut.createElement("p",null,"5.\u6211\u4EEC\u4F1A\u786E\u4FDD\u4F60\u6240\u63D0\u4F9B\u7684\u4FE1\u606F\u5747\u5904\u4E8E\u4E25\u683C\u7684\u4FDD\u5BC6\u72B6\u6001\uFF0C\u4E0D\u4F1A\u6CC4\u9732\uFF1B"),ut.createElement("p",null,"6.\u5982\u5B58\u5728\u6076\u610F\u4E71\u586B\u5199\u59D3\u540D\uFF0C\u5B66\u53F7\uFF0C\u53CA\u4E0A\u4F20\u4E0E\u804C\u4E1A\u8BC1\u4EF6\u65E0\u5173\u56FE\u7247\u8005\uFF0C\u4E00\u7ECF\u53D1\u73B0\u5C06\u51BB\u7ED3",!((ht=Le==null?void 0:Le.setting)!=null&&ht.is_local)&&"EduCoder","\u8D26\u53F7\u3002"),ut.createElement("p",null,"7.\u975E\u8001\u5E08\u8EAB\u4EFD\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1\u540E\u7CFB\u7EDF\u4F1A\u81EA\u52A8\u5C06\u72B6\u6001\u6539\u4E3A\u5DF2\u8BA4\u8BC1\uFF0C\u4F60\u5C06\u53EF\u4EE5\u4F53\u9A8C\u5E73\u53F0\u9700\u8981\u804C\u4E1A\u8BA4\u8BC1\u7684\u529F\u80FD\uFF1B\u5982\u679C\u5728\u8BA4\u8BC1\u540E\u7684\u4F7F\u7528\u8FC7\u7A0B\u4E2D\u672A\u901A\u8FC7\u5BA1\u6838\uFF0C\u4F60\u5C06\u4E0D\u80FD\u7EE7\u7EED\u4F53\u9A8C\u9700\u8981\u8BA4\u8BC1\u7684\u529F\u80FD\u3002")))),ut.createElement(qe,{visible:Mr,onClose:()=>Br(!1),schoolName:Ft.school,onSuccess:ar}),ut.createElement(re.Z,{visible:qr,onClose:()=>Qr(!1),schoolId:(Et=jt.find(Zt=>Zt.name===Ft.school))==null?void 0:Et.id,schoolName:Ft.school,departmentName:Ft.department,onSuccess:Zt=>hr(Ft.school,Zt)}))};var _e=(0,gt.connect)(({user:we,account:Ce,loading:Ye,globalSetting:Je})=>({user:we,account:Ce,globalSetting:Je,loading:Ye.effects}))(it)},89033:function(Nn,fn,We){"use strict";var He=We(59301),gt=We(8591),oe=We(43418),Ze=We(92832),Ne=We(3113),ge=We(99064),ce=We(1957),Ee=We(955),Ae=We(3294),ye=We(59301),De=(fe,z,ee)=>new Promise((ae,re)=>{var le=Pe=>{try{pe(ee.next(Pe))}catch(be){re(be)}},ue=Pe=>{try{pe(ee.throw(Pe))}catch(be){re(be)}},pe=Pe=>Pe.done?ae(Pe.value):Promise.resolve(Pe.value).then(le,ue);pe((ee=ee.apply(fe,z)).next())});const me=/^1\d{10}$/;function xe({isShowPhone:fe,setIsShowPhone:z,user:ee,dispatch:ae,onOK:re,isopen:le,setisopen:ue,datas:pe,Header:Pe}){const[be,Ie]=(0,He.useState)(""),[Me,Oe]=(0,He.useState)(""),[Te,je]=(0,He.useState)(60),[ze,$e]=(0,He.useState)(),[Ue,qe]=(0,He.useState)(!1),[et,lt]=(0,He.useState)(!1),[ut,vt]=(0,He.useState)(""),tt=(0,He.useRef)();(0,He.useEffect)(()=>()=>{tt.current&&clearInterval(tt.current)},[]),(0,ce.Y)(()=>{if(ze)je(60);else return;Te>0?je(Te-1):(je(60),$e(!1),tt.current&&clearInterval(tt.current))},1e3);const at=()=>De(this,null,function*(){var dt;let St=yield(0,ge.ZP)(`/api/users/accounts/${(dt=ee.userInfo)==null?void 0:dt.login}/valid_phone.json`,{method:"get",params:{phone:be}});if((St==null?void 0:St.status)===-1)return;if(St!=null&&St.is_exists){qe(!0);return}let xt=(0,Ee.M)(be);(yield ae({type:"account/getCode",payload:{login:be,type:3,smscode:xt}})).status===1&&(gt.ZP.info("\u9A8C\u8BC1\u7801\u5DF2\u53D1\u9001\uFF0C\u8BF7\u6CE8\u610F\u67E5\u6536"),$e(!0))});return ye.createElement("div",null,ye.createElement(oe.default,{title:"\u5F3A\u5236\u89E3\u7ED1",open:et,onCancel:()=>lt(!1),onOk:()=>De(this,null,function*(){var dt;if(!ut){gt.ZP.info("\u9A8C\u8BC1\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}let St=yield(0,ge.ZP)(`/api/users/accounts/${(dt=ee==null?void 0:ee.userInfo)==null?void 0:dt.login}/phone_force_unbind.json`,{method:"POST",body:{code:ut,phone:be}});(St==null?void 0:St.status)===0&&(gt.ZP.info("\u89E3\u7ED1\u6210\u529F"),$e(!1),lt(!1),re(),z(!1),vt(""))})},ye.createElement("div",{style:{padding:"8px 24px"}},ye.createElement("p",null,"\u82E5\u539F\u8D26\u53F7\u53EA\u6709\u7ED1\u5B9A\u4E86\u624B\u673A\u53F7\u4E00\u79CD\u767B\u5F55\u65B9\u5F0F\uFF0C\u5F3A\u5236\u89E3\u7ED1\u540E\u4F1A\u5BFC\u81F4\u539F\u8D26\u53F7\u65E0\u6CD5\u767B\u5F55\uFF0C\u8BF7\u786E\u5B9A\u662F\u5426\u5F3A\u5236\u89E3\u7ED1"),ye.createElement("p",null,"\u4F60\u7684\u624B\u673A\u53F7\uFF1A",be),ye.createElement("p",null,"\u624B\u673A\u9A8C\u8BC1\u7801\uFF1A",ye.createElement(Ze.default,{value:ut,size:"middle",onChange:dt=>vt(dt.target.value),style:{width:"240px"}})," ",ye.createElement(Ne.ZP,{disabled:ze,type:"primary",size:"middle",onClick:()=>De(this,null,function*(){let dt=(0,Ee.M)(be);(yield ae({type:"account/getCode",payload:{login:be,type:10,smscode:dt}})).status===1&&(gt.ZP.info("\u9A8C\u8BC1\u7801\u5DF2\u53D1\u9001\uFF0C\u8BF7\u6CE8\u610F\u67E5\u6536"),$e(!0))})},ze?`\u91CD\u65B0\u53D1\u9001${Te}s`:"\u83B7\u53D6\u9A8C\u8BC1\u7801")))),ye.createElement(oe.default,{title:"\u63D0\u793A",open:Ue,onCancel:()=>{qe(!1)},okText:"\u8FDB\u884C\u5F3A\u5236\u89E3\u7ED1",okButtonProps:{type:"primary",ghost:!0,style:{width:"124px"}},onOk:()=>{lt(!0),qe(!1)}},ye.createElement("div",{style:{padding:"7px 24px"}},ye.createElement("span",null,"\u8BE5\u624B\u673A\u53F7\u5DF2\u7ECF\u88AB\u7ED1\u5B9A\u8D26\u53F7\uFF0C\u5982\u679C\u9700\u8981\u5C06\u8BE5\u624B\u673A\u53F7\u7ED1\u5B9A\u5728\u5F53\u524D\u8D26\u53F7\u4E0A\uFF0C\u4F60\u53EF\u4EE5\u8FDB\u884C\u4E0B\u65B9\u4EFB\u610F\u4E00\u79CD\u89E3\u7ED1\u64CD\u4F5C\uFF1A"),ye.createElement("br",null),ye.createElement("p",{style:{marginTop:"1em",display:"flex"}},ye.createElement("span",{style:{flex:"1"}},"1\u3001\u4F7F\u7528\u8BE5\u624B\u673A\u53F7\u767B\u5F55\u5E73\u53F0\u8FDB\u884C\u89E3\u7ED1\uFF0C\u518D\u5C06\u624B\u673A\u53F7\u7ED1\u5B9A\u5F53\u524D\u8D26\u53F7\u4E0A\u3002")),ye.createElement("p",{style:{marginTop:"1em",display:"flex"}},ye.createElement("span",{style:{flex:"1"}},"2\u3001\u5F3A\u5236\u89E3\u7ED1\uFF08\u5F3A\u5236\u89E3\u7ED1\u53EF\u80FD\u4F1A\u5BFC\u81F4\u89E3\u7ED1\u8D26\u53F7\u65E0\u6CD5\u767B\u5F55\uFF09")))),ye.createElement(oe.default,{title:"\u7ED1\u5B9A\u624B\u673A\u53F7",open:fe,onCancel:()=>z(!1),onOk:()=>De(this,null,function*(){if(!me.test(be)){gt.ZP.info("\u8BF7\u8F93\u5165\u6709\u6548\u768411\u4F4D\u624B\u673A\u53F7\u7801");return}if(!Me){gt.ZP.info("\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801");return}const{login:dt}=ee.userInfo||{},St=yield ae({type:"account/bindPhone",payload:{login:dt,phone:be,code:Me}});(St==null?void 0:St.status)===0&&(z(!1),re())})},ye.createElement("div",{style:{padding:"8px 24px"}},ye.createElement("p",null,"\u5E73\u53F0\u5DF2\u68C0\u6D4B\u5230\u60A8\u672A\u7ED1\u5B9A\u624B\u673A\u53F7\uFF0C\u4E3A\u4E86\u4E0D\u5F71\u54CD\u4F7F\u7528\u62A5\u540D\u529F\u80FD\uFF0C\u8BF7\u5148\u7ED1\u5B9A\u624B\u673A\u53F7\u7801"),ye.createElement("p",null,"\u4F60\u7684\u624B\u673A\u53F7\uFF1A",ye.createElement(Ze.default,{size:"middle",value:be,onChange:dt=>Ie(dt.target.value),style:{width:"240px"}})),ye.createElement("p",null,"\u624B\u673A\u9A8C\u8BC1\u7801\uFF1A",ye.createElement(Ze.default,{size:"middle",value:Me,onChange:dt=>Oe(dt.target.value),style:{width:"240px"}})," ",ye.createElement(Ne.ZP,{disabled:ze,type:"primary",size:"middle",onClick:()=>De(this,null,function*(){if(!me.test(be)){gt.ZP.info("\u8BF7\u8F93\u5165\u6709\u6548\u768411\u4F4D\u624B\u673A\u53F7\u7801");return}at()})},ze?`\u91CD\u65B0\u53D1\u9001${Te}s`:"\u83B7\u53D6\u9A8C\u8BC1\u7801")))),ye.createElement(oe.default,{open:le,footer:!1,onCancel:()=>ue(!1),centered:!0,width:460},ye.createElement("div",null,ye.createElement("div",{style:{marginTop:50,fontSize:26,color:"#3d3d3d",textAlign:"center",marginBottom:20}},ye.createElement("i",{style:{fontSize:26,color:"#52C41A"},className:"iconfont icon-tongguo"})," \u62A5\u540D\u6210\u529F"),ye.createElement("div",{style:{alignItems:"center",textAlign:"center"}},(Pe==null?void 0:Pe.is_show_picture)&&ye.createElement("img",{style:{width:180,border:"1px solid #eeeeef",padding:10,marginBottom:20},src:Ae.Z.IMG_SERVER+(pe==null?void 0:pe.QR_code)}),ye.createElement("p",{style:{color:"#AAAAAA"}},(Pe==null?void 0:Pe.apply_success_tips)||"\u53C2\u8D5B\u8005\u53EF\u626B\u7801\u52A0\u5165\u5927\u8D5B\u5B98\u65B9\u4EA4\u6D41\u7FA4\uFF0C\u83B7\u53D6\u6700\u65B0\u7ADE\u8D5B\u901A\u77E5")))))}fn.Z=xe},16979:function(Nn,fn,We){"use strict";We.d(fn,{P:function(){return He}});const He=[{value:"\u5317\u4EAC",label:"\u5317\u4EAC",children:[{value:"\u4E1C\u57CE",label:"\u4E1C\u57CE"},{value:"\u897F\u57CE",label:"\u897F\u57CE"},{value:"\u671D\u9633",label:"\u671D\u9633"},{value:"\u4E30\u53F0",label:"\u4E30\u53F0"},{value:"\u77F3\u666F\u5C71",label:"\u77F3\u666F\u5C71"},{value:"\u6D77\u6DC0",label:"\u6D77\u6DC0"},{value:"\u95E8\u5934\u6C9F",label:"\u95E8\u5934\u6C9F"},{value:"\u623F\u5C71",label:"\u623F\u5C71"},{value:"\u901A\u5DDE",label:"\u901A\u5DDE"},{value:"\u987A\u4E49",label:"\u987A\u4E49"},{value:"\u660C\u5E73",label:"\u660C\u5E73"},{value:"\u5927\u5174",label:"\u5927\u5174"},{value:"\u5E73\u8C37",label:"\u5E73\u8C37"},{value:"\u6000\u67D4",label:"\u6000\u67D4"},{value:"\u5BC6\u4E91",label:"\u5BC6\u4E91"},{value:"\u5EF6\u5E86",label:"\u5EF6\u5E86"}]},{value:"\u4E0A\u6D77",label:"\u4E0A\u6D77",children:[{value:"\u5D07\u660E",label:"\u5D07\u660E"},{value:"\u9EC4\u6D66",label:"\u9EC4\u6D66"},{value:"\u5362\u6E7E",label:"\u5362\u6E7E"},{value:"\u5F90\u6C47",label:"\u5F90\u6C47"},{value:"\u957F\u5B81",label:"\u957F\u5B81"},{value:"\u9759\u5B89",label:"\u9759\u5B89"},{value:"\u666E\u9640",label:"\u666E\u9640"},{value:"\u95F8\u5317",label:"\u95F8\u5317"},{value:"\u8679\u53E3",label:"\u8679\u53E3"},{value:"\u6768\u6D66",label:"\u6768\u6D66"},{value:"\u95F5\u884C",label:"\u95F5\u884C"},{value:"\u5B9D\u5C71",label:"\u5B9D\u5C71"},{value:"\u5609\u5B9A",label:"\u5609\u5B9A"},{value:"\u6D66\u4E1C",label:"\u6D66\u4E1C"},{value:"\u91D1\u5C71",label:"\u91D1\u5C71"},{value:"\u677E\u6C5F",label:"\u677E\u6C5F"},{value:"\u9752\u6D66",label:"\u9752\u6D66"},{value:"\u5357\u6C47",label:"\u5357\u6C47"},{value:"\u5949\u8D24",label:"\u5949\u8D24"}]},{value:"\u5E7F\u4E1C",label:"\u5E7F\u4E1C",children:[{value:"\u5E7F\u5DDE",label:"\u5E7F\u5DDE"},{value:"\u6DF1\u5733",label:"\u6DF1\u5733"},{value:"\u73E0\u6D77",label:"\u73E0\u6D77"},{value:"\u4E1C\u839E",label:"\u4E1C\u839E"},{value:"\u4E2D\u5C71",label:"\u4E2D\u5C71"},{value:"\u4F5B\u5C71",label:"\u4F5B\u5C71"},{value:"\u60E0\u5DDE",label:"\u60E0\u5DDE"},{value:"\u6CB3\u6E90",label:"\u6CB3\u6E90"},{value:"\u6F6E\u5DDE",label:"\u6F6E\u5DDE"},{value:"\u6C5F\u95E8",label:"\u6C5F\u95E8"},{value:"\u63ED\u9633",label:"\u63ED\u9633"},{value:"\u8302\u540D",label:"\u8302\u540D"},{value:"\u6885\u5DDE",label:"\u6885\u5DDE"},{value:"\u6E05\u8FDC",label:"\u6E05\u8FDC"},{value:"\u6C55\u5934",label:"\u6C55\u5934"},{value:"\u6C55\u5C3E",label:"\u6C55\u5C3E"},{value:"\u97F6\u5173",label:"\u97F6\u5173"},{value:"\u987A\u5FB7",label:"\u987A\u5FB7"},{value:"\u9633\u6C5F",label:"\u9633\u6C5F"},{value:"\u4E91\u6D6E",label:"\u4E91\u6D6E"},{value:"\u6E5B\u6C5F",label:"\u6E5B\u6C5F"},{value:"\u8087\u5E86",label:"\u8087\u5E86"}]},{value:"\u6C5F\u82CF",label:"\u6C5F\u82CF",children:[{value:"\u5357\u4EAC",label:"\u5357\u4EAC"},{value:"\u5E38\u719F",label:"\u5E38\u719F"},{value:"\u5E38\u5DDE",label:"\u5E38\u5DDE"},{value:"\u6D77\u95E8",label:"\u6D77\u95E8"},{value:"\u6DEE\u5B89",label:"\u6DEE\u5B89"},{value:"\u6C5F\u90FD",label:"\u6C5F\u90FD"},{value:"\u6C5F\u9634",label:"\u6C5F\u9634"},{value:"\u6606\u5C71",label:"\u6606\u5C71"},{value:"\u8FDE\u4E91\u6E2F",label:"\u8FDE\u4E91\u6E2F"},{value:"\u5357\u901A",label:"\u5357\u901A"},{value:"\u542F\u4E1C",label:"\u542F\u4E1C"},{value:"\u6CAD\u9633",label:"\u6CAD\u9633"},{value:"\u5BBF\u8FC1",label:"\u5BBF\u8FC1"},{value:"\u82CF\u5DDE",label:"\u82CF\u5DDE"},{value:"\u592A\u4ED3",label:"\u592A\u4ED3"},{value:"\u6CF0\u5DDE",label:"\u6CF0\u5DDE"},{value:"\u540C\u91CC",label:"\u540C\u91CC"},{value:"\u65E0\u9521",label:"\u65E0\u9521"},{value:"\u5F90\u5DDE",label:"\u5F90\u5DDE"},{value:"\u76D0\u57CE",label:"\u76D0\u57CE"},{value:"\u626C\u5DDE",label:"\u626C\u5DDE"},{value:"\u5B9C\u5174",label:"\u5B9C\u5174"},{value:"\u4EEA\u5F81",label:"\u4EEA\u5F81"},{value:"\u5F20\u5BB6\u6E2F",label:"\u5F20\u5BB6\u6E2F"},{value:"\u9547\u6C5F",label:"\u9547\u6C5F"}]},{value:"\u91CD\u5E86",label:"\u91CD\u5E86",children:[{value:"\u4E07\u5DDE",label:"\u4E07\u5DDE"},{value:"\u6DAA\u9675",label:"\u6DAA\u9675"},{value:"\u6E1D\u4E2D",label:"\u6E1D\u4E2D"},{value:"\u5927\u6E21\u53E3",label:"\u5927\u6E21\u53E3"},{value:"\u6C5F\u5317",label:"\u6C5F\u5317"},{value:"\u6C99\u576A\u575D",label:"\u6C99\u576A\u575D"},{value:"\u4E5D\u9F99\u5761",label:"\u4E5D\u9F99\u5761"},{value:"\u5357\u5CB8",label:"\u5357\u5CB8"},{value:"\u5317\u789A",label:"\u5317\u789A"},{value:"\u4E07\u76DB",label:"\u4E07\u76DB"},{value:"\u53CC\u6322",label:"\u53CC\u6322"},{value:"\u6E1D\u5317",label:"\u6E1D\u5317"},{value:"\u5DF4\u5357",label:"\u5DF4\u5357"},{value:"\u9ED4\u6C5F",label:"\u9ED4\u6C5F"},{value:"\u957F\u5BFF",label:"\u957F\u5BFF"},{value:"\u7DA6\u6C5F",label:"\u7DA6\u6C5F"},{value:"\u6F7C\u5357",label:"\u6F7C\u5357"},{value:"\u94DC\u6881",label:"\u94DC\u6881"},{value:"\u5927\u8DB3",label:"\u5927\u8DB3"},{value:"\u8363\u660C",label:"\u8363\u660C"},{value:"\u58C1\u5C71",label:"\u58C1\u5C71"},{value:"\u6881\u5E73",label:"\u6881\u5E73"},{value:"\u57CE\u53E3",label:"\u57CE\u53E3"},{value:"\u4E30\u90FD",label:"\u4E30\u90FD"},{value:"\u57AB\u6C5F",label:"\u57AB\u6C5F"},{value:"\u6B66\u9686",label:"\u6B66\u9686"},{value:"\u5FE0\u53BF",label:"\u5FE0\u53BF"},{value:"\u5F00\u53BF",label:"\u5F00\u53BF"},{value:"\u4E91\u9633",label:"\u4E91\u9633"},{value:"\u5949\u8282",label:"\u5949\u8282"},{value:"\u5DEB\u5C71",label:"\u5DEB\u5C71"},{value:"\u5DEB\u6EAA",label:"\u5DEB\u6EAA"},{value:"\u77F3\u67F1",label:"\u77F3\u67F1"},{value:"\u79C0\u5C71",label:"\u79C0\u5C71"},{value:"\u9149\u9633",label:"\u9149\u9633"},{value:"\u5F6D\u6C34",label:"\u5F6D\u6C34"},{value:"\u6C5F\u6D25",label:"\u6C5F\u6D25"},{value:"\u5408\u5DDD",label:"\u5408\u5DDD"},{value:"\u6C38\u5DDD",label:"\u6C38\u5DDD"},{value:"\u5357\u5DDD",label:"\u5357\u5DDD"}]},{value:"\u5B89\u5FBD",label:"\u5B89\u5FBD",children:[{value:"\u5408\u80A5",label:"\u5408\u80A5"},{value:"\u5B89\u5E86",label:"\u5B89\u5E86"},{value:"\u868C\u57E0",label:"\u868C\u57E0"},{value:"\u4EB3\u5DDE",label:"\u4EB3\u5DDE"},{value:"\u5DE2\u6E56",label:"\u5DE2\u6E56"},{value:"\u6EC1\u5DDE",label:"\u6EC1\u5DDE"},{value:"\u961C\u9633",label:"\u961C\u9633"},{value:"\u8D35\u6C60",label:"\u8D35\u6C60"},{value:"\u6DEE\u5317",label:"\u6DEE\u5317"},{value:"\u6DEE\u5316",label:"\u6DEE\u5316"},{value:"\u6DEE\u5357",label:"\u6DEE\u5357"},{value:"\u9EC4\u5C71",label:"\u9EC4\u5C71"},{value:"\u4E5D\u534E\u5C71",label:"\u4E5D\u534E\u5C71"},{value:"\u516D\u5B89",label:"\u516D\u5B89"},{value:"\u9A6C\u978D\u5C71",label:"\u9A6C\u978D\u5C71"},{value:"\u5BBF\u5DDE",label:"\u5BBF\u5DDE"},{value:"\u94DC\u9675",label:"\u94DC\u9675"},{value:"\u5C6F\u6EAA",label:"\u5C6F\u6EAA"},{value:"\u829C\u6E56",label:"\u829C\u6E56"},{value:"\u5BA3\u57CE",label:"\u5BA3\u57CE"}]},{value:"\u798F\u5EFA",label:"\u798F\u5EFA",children:[{value:"\u798F\u5DDE",label:"\u798F\u5DDE"},{value:"\u53A6\u95E8",label:"\u53A6\u95E8"},{value:"\u6CC9\u5DDE",label:"\u6CC9\u5DDE"},{value:"\u6F33\u5DDE",label:"\u6F33\u5DDE"},{value:"\u9F99\u5CA9",label:"\u9F99\u5CA9"},{value:"\u5357\u5E73",label:"\u5357\u5E73"},{value:"\u5B81\u5FB7",label:"\u5B81\u5FB7"},{value:"\u8386\u7530",label:"\u8386\u7530"},{value:"\u4E09\u660E",label:"\u4E09\u660E"}]},{value:"\u7518\u8083",label:"\u7518\u8083",children:[{value:"\u5170\u5DDE",label:"\u5170\u5DDE"},{value:"\u5609\u5CEA\u5173",label:"\u5609\u5CEA\u5173"},{value:"\u767D\u94F6",label:"\u767D\u94F6"},{value:"\u5B9A\u897F",label:"\u5B9A\u897F"},{value:"\u6566\u714C",label:"\u6566\u714C"},{value:"\u7518\u5357",label:"\u7518\u5357"},{value:"\u91D1\u660C",label:"\u91D1\u660C"},{value:"\u9152\u6CC9",label:"\u9152\u6CC9"},{value:"\u4E34\u590F",label:"\u4E34\u590F"},{value:"\u5E73\u51C9",label:"\u5E73\u51C9"},{value:"\u5929\u6C34",label:"\u5929\u6C34"},{value:"\u9647\u5357",label:"\u9647\u5357"},{value:"\u6B66\u5A01",label:"\u6B66\u5A01"},{value:"\u897F\u5CF0",label:"\u897F\u5CF0"},{value:"\u5F20\u6396",label:"\u5F20\u6396"}]},{value:"\u5E7F\u897F",label:"\u5E7F\u897F",children:[{value:"\u5357\u5B81",label:"\u5357\u5B81"},{value:"\u6765\u5BBE",label:"\u6765\u5BBE"},{value:"\u767E\u8272",label:"\u767E\u8272"},{value:"\u5317\u6D77",label:"\u5317\u6D77"},{value:"\u6842\u6797",label:"\u6842\u6797"},{value:"\u9632\u57CE\u6E2F",label:"\u9632\u57CE\u6E2F"},{value:"\u8D35\u6E2F",label:"\u8D35\u6E2F"},{value:"\u6CB3\u6C60",label:"\u6CB3\u6C60"},{value:"\u8D3A\u5DDE",label:"\u8D3A\u5DDE"},{value:"\u67F3\u5DDE",label:"\u67F3\u5DDE"},{value:"\u94A6\u5DDE",label:"\u94A6\u5DDE"},{value:"\u68A7\u5DDE",label:"\u68A7\u5DDE"},{value:"\u7389\u6797",label:"\u7389\u6797"}]},{value:"\u8D35\u5DDE",label:"\u8D35\u5DDE",children:[{value:"\u8D35\u9633",label:"\u8D35\u9633"},{value:"\u5B89\u987A",label:"\u5B89\u987A"},{value:"\u6BD5\u8282",label:"\u6BD5\u8282"},{value:"\u90FD\u5300",label:"\u90FD\u5300"},{value:"\u51EF\u91CC",label:"\u51EF\u91CC"},{value:"\u516D\u76D8\u6C34",label:"\u516D\u76D8\u6C34"},{value:"\u94DC\u4EC1",label:"\u94DC\u4EC1"},{value:"\u5174\u4E49",label:"\u5174\u4E49"},{value:"\u7389\u5C4F",label:"\u7389\u5C4F"},{value:"\u9075\u4E49",label:"\u9075\u4E49"}]},{value:"\u6D77\u5357",label:"\u6D77\u5357",children:[{value:"\u6D77\u53E3",label:"\u6D77\u53E3"},{value:"\u510B\u53BF",label:"\u510B\u53BF"},{value:"\u9675\u6C34",label:"\u9675\u6C34"},{value:"\u743C\u6D77",label:"\u743C\u6D77"},{value:"\u4E09\u4E9A",label:"\u4E09\u4E9A"},{value:"\u901A\u4EC0",label:"\u901A\u4EC0"},{value:"\u4E07\u5B81",label:"\u4E07\u5B81"}]},{value:"\u6CB3\u5317",label:"\u6CB3\u5317",children:[{value:"\u77F3\u5BB6\u5E84",label:"\u77F3\u5BB6\u5E84"},{value:"\u4FDD\u5B9A",label:"\u4FDD\u5B9A"},{value:"\u5317\u6234\u6CB3",label:"\u5317\u6234\u6CB3"},{value:"\u6CA7\u5DDE",label:"\u6CA7\u5DDE"},{value:"\u627F\u5FB7",label:"\u627F\u5FB7"},{value:"\u4E30\u6DA6",label:"\u4E30\u6DA6"},{value:"\u90AF\u90F8",label:"\u90AF\u90F8"},{value:"\u8861\u6C34",label:"\u8861\u6C34"},{value:"\u5ECA\u574A",label:"\u5ECA\u574A"},{value:"\u5357\u6234\u6CB3",label:"\u5357\u6234\u6CB3"},{value:"\u79E6\u7687\u5C9B",label:"\u79E6\u7687\u5C9B"},{value:"\u5510\u5C71",label:"\u5510\u5C71"},{value:"\u65B0\u57CE",label:"\u65B0\u57CE"},{value:"\u90A2\u53F0",label:"\u90A2\u53F0"},{value:"\u5F20\u5BB6\u53E3",label:"\u5F20\u5BB6\u53E3"}]},{value:"\u9ED1\u9F99\u6C5F",label:"\u9ED1\u9F99\u6C5F",children:[{value:"\u54C8\u5C14\u6EE8",label:"\u54C8\u5C14\u6EE8"},{value:"\u5317\u5B89",label:"\u5317\u5B89"},{value:"\u5927\u5E86",label:"\u5927\u5E86"},{value:"\u5927\u5174\u5B89\u5CAD",label:"\u5927\u5174\u5B89\u5CAD"},{value:"\u9E64\u5C97",label:"\u9E64\u5C97"},{value:"\u9ED1\u6CB3",label:"\u9ED1\u6CB3"},{value:"\u4F73\u6728\u65AF",label:"\u4F73\u6728\u65AF"},{value:"\u9E21\u897F",label:"\u9E21\u897F"},{value:"\u7261\u4E39\u6C5F",label:"\u7261\u4E39\u6C5F"},{value:"\u9F50\u9F50\u54C8\u5C14",label:"\u9F50\u9F50\u54C8\u5C14"},{value:"\u4E03\u53F0\u6CB3",label:"\u4E03\u53F0\u6CB3"},{value:"\u53CC\u9E2D\u5C71",label:"\u53CC\u9E2D\u5C71"},{value:"\u7EE5\u5316",label:"\u7EE5\u5316"},{value:"\u4F0A\u6625",label:"\u4F0A\u6625"}]},{value:"\u6CB3\u5357",label:"\u6CB3\u5357",children:[{value:"\u90D1\u5DDE",label:"\u90D1\u5DDE"},{value:"\u5B89\u9633",label:"\u5B89\u9633"},{value:"\u9E64\u58C1",label:"\u9E64\u58C1"},{value:"\u6F62\u5DDD",label:"\u6F62\u5DDD"},{value:"\u7126\u4F5C",label:"\u7126\u4F5C"},{value:"\u6D4E\u6E90",label:"\u6D4E\u6E90"},{value:"\u5F00\u5C01",label:"\u5F00\u5C01"},{value:"\u6F2F\u6CB3",label:"\u6F2F\u6CB3"},{value:"\u6D1B\u9633",label:"\u6D1B\u9633"},{value:"\u5357\u9633",label:"\u5357\u9633"},{value:"\u5E73\u9876\u5C71",label:"\u5E73\u9876\u5C71"},{value:"\u6FEE\u9633",label:"\u6FEE\u9633"},{value:"\u4E09\u95E8\u5CE1",label:"\u4E09\u95E8\u5CE1"},{value:"\u5546\u4E18",label:"\u5546\u4E18"},{value:"\u65B0\u4E61",label:"\u65B0\u4E61"},{value:"\u4FE1\u9633",label:"\u4FE1\u9633"},{value:"\u8BB8\u660C",label:"\u8BB8\u660C"},{value:"\u5468\u53E3",label:"\u5468\u53E3"},{value:"\u9A7B\u9A6C\u5E97",label:"\u9A7B\u9A6C\u5E97"}]},{value:"\u9999\u6E2F",label:"\u9999\u6E2F",children:[{value:"\u9999\u6E2F",label:"\u9999\u6E2F"},{value:"\u4E5D\u9F99",label:"\u4E5D\u9F99"},{value:"\u65B0\u754C",label:"\u65B0\u754C"}]},{value:"\u6E56\u5317",label:"\u6E56\u5317",children:[{value:"\u6B66\u6C49",label:"\u6B66\u6C49"},{value:"\u5929\u95E8",label:"\u5929\u95E8"},{value:"\u6069\u65BD",label:"\u6069\u65BD"},{value:"\u9102\u5DDE",label:"\u9102\u5DDE"},{value:"\u9EC4\u5188",label:"\u9EC4\u5188"},{value:"\u9EC4\u77F3",label:"\u9EC4\u77F3"},{value:"\u8346\u95E8",label:"\u8346\u95E8"},{value:"\u8346\u5DDE",label:"\u8346\u5DDE"},{value:"\u6F5C\u6C5F",label:"\u6F5C\u6C5F"},{value:"\u5341\u5830",label:"\u5341\u5830"},{value:"\u968F\u5DDE",label:"\u968F\u5DDE"},{value:"\u6B66\u7A74",label:"\u6B66\u7A74"},{value:"\u4ED9\u6843",label:"\u4ED9\u6843"},{value:"\u54B8\u5B81",label:"\u54B8\u5B81"},{value:"\u8944\u9633",label:"\u8944\u9633"},{value:"\u8944\u6A0A",label:"\u8944\u6A0A"},{value:"\u5B5D\u611F",label:"\u5B5D\u611F"},{value:"\u5B9C\u660C",label:"\u5B9C\u660C"}]},{value:"\u6E56\u5357",label:"\u6E56\u5357",children:[{value:"\u957F\u6C99",label:"\u957F\u6C99"},{value:"\u5E38\u5FB7",label:"\u5E38\u5FB7"},{value:"\u90F4\u5DDE",label:"\u90F4\u5DDE"},{value:"\u8861\u9633",label:"\u8861\u9633"},{value:"\u6000\u5316",label:"\u6000\u5316"},{value:"\u5409\u9996",label:"\u5409\u9996"},{value:"\u5A04\u5E95",label:"\u5A04\u5E95"},{value:"\u90B5\u9633",label:"\u90B5\u9633"},{value:"\u6E58\u6F6D",label:"\u6E58\u6F6D"},{value:"\u76CA\u9633",label:"\u76CA\u9633"},{value:"\u5CB3\u9633",label:"\u5CB3\u9633"},{value:"\u6C38\u5DDE",label:"\u6C38\u5DDE"},{value:"\u5F20\u5BB6\u754C",label:"\u5F20\u5BB6\u754C"},{value:"\u682A\u6D32",label:"\u682A\u6D32"}]},{value:"\u6C5F\u897F",label:"\u6C5F\u897F",children:[{value:"\u5357\u660C",label:"\u5357\u660C"},{value:"\u629A\u5DDE",label:"\u629A\u5DDE"},{value:"\u8D63\u5DDE",label:"\u8D63\u5DDE"},{value:"\u5409\u5B89",label:"\u5409\u5B89"},{value:"\u666F\u5FB7\u9547",label:"\u666F\u5FB7\u9547"},{value:"\u4E95\u5188\u5C71",label:"\u4E95\u5188\u5C71"},{value:"\u4E5D\u6C5F",label:"\u4E5D\u6C5F"},{value:"\u5E90\u5C71",label:"\u5E90\u5C71"},{value:"\u840D\u4E61",label:"\u840D\u4E61"},{value:"\u4E0A\u9976",label:"\u4E0A\u9976"},{value:"\u65B0\u4F59",label:"\u65B0\u4F59"},{value:"\u5B9C\u6625",label:"\u5B9C\u6625"},{value:"\u9E70\u6F6D",label:"\u9E70\u6F6D"}]},{value:"\u5409\u6797",label:"\u5409\u6797",children:[{value:"\u957F\u6625",label:"\u957F\u6625"},{value:"\u5409\u6797",label:"\u5409\u6797"},{value:"\u767D\u57CE",label:"\u767D\u57CE"},{value:"\u767D\u5C71",label:"\u767D\u5C71"},{value:"\u73F2\u6625",label:"\u73F2\u6625"},{value:"\u8FBD\u6E90",label:"\u8FBD\u6E90"},{value:"\u6885\u6CB3",label:"\u6885\u6CB3"},{value:"\u56DB\u5E73",label:"\u56DB\u5E73"},{value:"\u677E\u539F",label:"\u677E\u539F"},{value:"\u901A\u5316",label:"\u901A\u5316"},{value:"\u5EF6\u5409",label:"\u5EF6\u5409"}]},{value:"\u8FBD\u5B81",label:"\u8FBD\u5B81",children:[{value:"\u6C88\u9633",label:"\u6C88\u9633"},{value:"\u978D\u5C71",label:"\u978D\u5C71"},{value:"\u672C\u6EAA",label:"\u672C\u6EAA"},{value:"\u671D\u9633",label:"\u671D\u9633"},{value:"\u5927\u8FDE",label:"\u5927\u8FDE"},{value:"\u4E39\u4E1C",label:"\u4E39\u4E1C"},{value:"\u629A\u987A",label:"\u629A\u987A"},{value:"\u961C\u65B0",label:"\u961C\u65B0"},{value:"\u846B\u82A6\u5C9B",label:"\u846B\u82A6\u5C9B"},{value:"\u9526\u5DDE",label:"\u9526\u5DDE"},{value:"\u8FBD\u9633",label:"\u8FBD\u9633"},{value:"\u76D8\u9526",label:"\u76D8\u9526"},{value:"\u94C1\u5CAD",label:"\u94C1\u5CAD"},{value:"\u8425\u53E3",label:"\u8425\u53E3"}]},{value:"\u6FB3\u95E8",label:"\u6FB3\u95E8",children:[{value:"\u6FB3\u95E8",label:"\u6FB3\u95E8"}]},{value:"\u5185\u8499\u53E4",label:"\u5185\u8499\u53E4",children:[{value:"\u547C\u548C\u6D69\u7279",label:"\u547C\u548C\u6D69\u7279"},{value:"\u963F\u62C9\u5584\u76DF",label:"\u963F\u62C9\u5584\u76DF"},{value:"\u5305\u5934",label:"\u5305\u5934"},{value:"\u8D64\u5CF0",label:"\u8D64\u5CF0"},{value:"\u4E1C\u80DC",label:"\u4E1C\u80DC"},{value:"\u6D77\u62C9\u5C14",label:"\u6D77\u62C9\u5C14"},{value:"\u96C6\u5B81",label:"\u96C6\u5B81"},{value:"\u4E34\u6CB3",label:"\u4E34\u6CB3"},{value:"\u901A\u8FBD",label:"\u901A\u8FBD"},{value:"\u4E4C\u6D77",label:"\u4E4C\u6D77"},{value:"\u4E4C\u5170\u6D69\u7279",label:"\u4E4C\u5170\u6D69\u7279"},{value:"\u9521\u6797\u6D69\u7279",label:"\u9521\u6797\u6D69\u7279"}]},{value:"\u5B81\u590F",label:"\u5B81\u590F",children:[{value:"\u94F6\u5DDD",label:"\u94F6\u5DDD"},{value:"\u56FA\u6E90",label:"\u56FA\u6E90"},{value:"\u77F3\u5634\u5C71",label:"\u77F3\u5634\u5C71"},{value:"\u5434\u5FE0",label:"\u5434\u5FE0"}]},{value:"\u9752\u6D77",label:"\u9752\u6D77",children:[{value:"\u897F\u5B81",label:"\u897F\u5B81"},{value:"\u5FB7\u4EE4\u54C8",label:"\u5FB7\u4EE4\u54C8"},{value:"\u683C\u5C14\u6728",label:"\u683C\u5C14\u6728"},{value:"\u5171\u548C",label:"\u5171\u548C"},{value:"\u6D77\u4E1C",label:"\u6D77\u4E1C"},{value:"\u6D77\u664F",label:"\u6D77\u664F"},{value:"\u739B\u6C81",label:"\u739B\u6C81"},{value:"\u540C\u4EC1",label:"\u540C\u4EC1"},{value:"\u7389\u6811",label:"\u7389\u6811"}]},{value:"\u5C71\u4E1C",label:"\u5C71\u4E1C",children:[{value:"\u6D4E\u5357",label:"\u6D4E\u5357"},{value:"\u6EE8\u5DDE",label:"\u6EE8\u5DDE"},{value:"\u5156\u5DDE",label:"\u5156\u5DDE"},{value:"\u5FB7\u5DDE",label:"\u5FB7\u5DDE"},{value:"\u4E1C\u8425",label:"\u4E1C\u8425"},{value:"\u83CF\u6CFD",label:"\u83CF\u6CFD"},{value:"\u6D4E\u5B81",label:"\u6D4E\u5B81"},{value:"\u83B1\u829C",label:"\u83B1\u829C"},{value:"\u804A\u57CE",label:"\u804A\u57CE"},{value:"\u4E34\u6C82",label:"\u4E34\u6C82"},{value:"\u84EC\u83B1",label:"\u84EC\u83B1"},{value:"\u9752\u5C9B",label:"\u9752\u5C9B"},{value:"\u66F2\u961C",label:"\u66F2\u961C"},{value:"\u65E5\u7167",label:"\u65E5\u7167"},{value:"\u6CF0\u5B89",label:"\u6CF0\u5B89"},{value:"\u6F4D\u574A",label:"\u6F4D\u574A"},{value:"\u5A01\u6D77",label:"\u5A01\u6D77"},{value:"\u70DF\u53F0",label:"\u70DF\u53F0"},{value:"\u67A3\u5E84",label:"\u67A3\u5E84"},{value:"\u6DC4\u535A",label:"\u6DC4\u535A"}]},{value:"\u5C71\u897F",label:"\u5C71\u897F",children:[{value:"\u592A\u539F",label:"\u592A\u539F"},{value:"\u5415\u6881",label:"\u5415\u6881"},{value:"\u957F\u6CBB",label:"\u957F\u6CBB"},{value:"\u5927\u540C",label:"\u5927\u540C"},{value:"\u5019\u9A6C",label:"\u5019\u9A6C"},{value:"\u664B\u57CE",label:"\u664B\u57CE"},{value:"\u79BB\u77F3",label:"\u79BB\u77F3"},{value:"\u4E34\u6C7E",label:"\u4E34\u6C7E"},{value:"\u5B81\u6B66",label:"\u5B81\u6B66"},{value:"\u6714\u5DDE",label:"\u6714\u5DDE"},{value:"\u5FFB\u5DDE",label:"\u5FFB\u5DDE"},{value:"\u9633\u6CC9",label:"\u9633\u6CC9"},{value:"\u6986\u6B21",label:"\u6986\u6B21"},{value:"\u664B\u4E2D",label:"\u664B\u4E2D"},{value:"\u8FD0\u57CE",label:"\u8FD0\u57CE"}]},{value:"\u9655\u897F",label:"\u9655\u897F",children:[{value:"\u897F\u5B89",label:"\u897F\u5B89"},{value:"\u5B89\u5EB7",label:"\u5B89\u5EB7"},{value:"\u5B9D\u9E21",label:"\u5B9D\u9E21"},{value:"\u6C49\u4E2D",label:"\u6C49\u4E2D"},{value:"\u6E2D\u5357",label:"\u6E2D\u5357"},{value:"\u5546\u5DDE",label:"\u5546\u5DDE"},{value:"\u7EE5\u5FB7",label:"\u7EE5\u5FB7"},{value:"\u94DC\u5DDD",label:"\u94DC\u5DDD"},{value:"\u54B8\u9633",label:"\u54B8\u9633"},{value:"\u5EF6\u5B89",label:"\u5EF6\u5B89"},{value:"\u6986\u6797",label:"\u6986\u6797"}]},{value:"\u56DB\u5DDD",label:"\u56DB\u5DDD",children:[{value:"\u6210\u90FD",label:"\u6210\u90FD"},{value:"\u5DF4\u4E2D",label:"\u5DF4\u4E2D"},{value:"\u8FBE\u5DDD",label:"\u8FBE\u5DDD"},{value:"\u5FB7\u9633",label:"\u5FB7\u9633"},{value:"\u90FD\u6C5F\u5830",label:"\u90FD\u6C5F\u5830"},{value:"\u5CE8\u7709\u5C71",label:"\u5CE8\u7709\u5C71"},{value:"\u6DAA\u9675",label:"\u6DAA\u9675"},{value:"\u5E7F\u5B89",label:"\u5E7F\u5B89"},{value:"\u5E7F\u5143",label:"\u5E7F\u5143"},{value:"\u4E5D\u5BE8\u6C9F",label:"\u4E5D\u5BE8\u6C9F"},{value:"\u5EB7\u5B9A",label:"\u5EB7\u5B9A"},{value:"\u4E50\u5C71",label:"\u4E50\u5C71"},{value:"\u6CF8\u5DDE",label:"\u6CF8\u5DDE"},{value:"\u9A6C\u5C14\u5EB7",label:"\u9A6C\u5C14\u5EB7"},{value:"\u7EF5\u9633",label:"\u7EF5\u9633"},{value:"\u7709\u5C71",label:"\u7709\u5C71"},{value:"\u5357\u5145",label:"\u5357\u5145"},{value:"\u5185\u6C5F",label:"\u5185\u6C5F"},{value:"\u6500\u679D\u82B1",label:"\u6500\u679D\u82B1"},{value:"\u9042\u5B81",label:"\u9042\u5B81"},{value:"\u6C76\u5DDD",label:"\u6C76\u5DDD"},{value:"\u897F\u660C",label:"\u897F\u660C"},{value:"\u96C5\u5B89",label:"\u96C5\u5B89"},{value:"\u5B9C\u5BBE",label:"\u5B9C\u5BBE"},{value:"\u81EA\u8D21",label:"\u81EA\u8D21"},{value:"\u8D44\u9633",label:"\u8D44\u9633"}]},{value:"\u53F0\u6E7E",label:"\u53F0\u6E7E",children:[{value:"\u53F0\u5317",label:"\u53F0\u5317"},{value:"\u57FA\u9686",label:"\u57FA\u9686"},{value:"\u53F0\u5357",label:"\u53F0\u5357"},{value:"\u53F0\u4E2D",label:"\u53F0\u4E2D"},{value:"\u9AD8\u96C4",label:"\u9AD8\u96C4"},{value:"\u5C4F\u4E1C",label:"\u5C4F\u4E1C"},{value:"\u5357\u6295",label:"\u5357\u6295"},{value:"\u4E91\u6797",label:"\u4E91\u6797"},{value:"\u65B0\u7AF9",label:"\u65B0\u7AF9"},{value:"\u5F70\u5316",label:"\u5F70\u5316"},{value:"\u82D7\u6817",label:"\u82D7\u6817"},{value:"\u5609\u4E49",label:"\u5609\u4E49"},{value:"\u6843\u56ED",label:"\u6843\u56ED"},{value:"\u5B9C\u5170",label:"\u5B9C\u5170"},{value:"\u53F0\u4E1C",label:"\u53F0\u4E1C"},{value:"\u91D1\u95E8",label:"\u91D1\u95E8"},{value:"\u9A6C\u7956",label:"\u9A6C\u7956"},{value:"\u6F8E\u6E56",label:"\u6F8E\u6E56"}]},{value:"\u5929\u6D25",label:"\u5929\u6D25",children:[{value:"\u5929\u6D25",label:"\u5929\u6D25"},{value:"\u548C\u5E73",label:"\u548C\u5E73"},{value:"\u4E1C\u4E3D",label:"\u4E1C\u4E3D"},{value:"\u6CB3\u4E1C",label:"\u6CB3\u4E1C"},{value:"\u897F\u9752",label:"\u897F\u9752"},{value:"\u6CB3\u897F",label:"\u6CB3\u897F"},{value:"\u6D25\u5357",label:"\u6D25\u5357"},{value:"\u5357\u5F00",label:"\u5357\u5F00"},{value:"\u5317\u8FB0",label:"\u5317\u8FB0"},{value:"\u6CB3\u5317",label:"\u6CB3\u5317"},{value:"\u6B66\u6E05",label:"\u6B66\u6E05"},{value:"\u7EA2\u6322",label:"\u7EA2\u6322"},{value:"\u5858\u6CBD",label:"\u5858\u6CBD"},{value:"\u6C49\u6CBD",label:"\u6C49\u6CBD"},{value:"\u5927\u6E2F",label:"\u5927\u6E2F"},{value:"\u5B81\u6CB3",label:"\u5B81\u6CB3"},{value:"\u9759\u6D77",label:"\u9759\u6D77"},{value:"\u5B9D\u577B",label:"\u5B9D\u577B"},{value:"\u84DF\u53BF",label:"\u84DF\u53BF"}]},{value:"\u65B0\u7586",label:"\u65B0\u7586",children:[{value:"\u4E4C\u9C81\u6728\u9F50",label:"\u4E4C\u9C81\u6728\u9F50"},{value:"\u963F\u514B\u82CF",label:"\u963F\u514B\u82CF"},{value:"\u963F\u52D2\u6CF0",label:"\u963F\u52D2\u6CF0"},{value:"\u963F\u56FE\u4EC0",label:"\u963F\u56FE\u4EC0"},{value:"\u535A\u4E50",label:"\u535A\u4E50"},{value:"\u660C\u5409",label:"\u660C\u5409"},{value:"\u4E1C\u5C71",label:"\u4E1C\u5C71"},{value:"\u54C8\u5BC6",label:"\u54C8\u5BC6"},{value:"\u548C\u7530",label:"\u548C\u7530"},{value:"\u5580\u4EC0",label:"\u5580\u4EC0"},{value:"\u514B\u62C9\u739B\u4F9D",label:"\u514B\u62C9\u739B\u4F9D"},{value:"\u5E93\u8F66",label:"\u5E93\u8F66"},{value:"\u5E93\u5C14\u52D2",label:"\u5E93\u5C14\u52D2"},{value:"\u594E\u5C6F",label:"\u594E\u5C6F"},{value:"\u77F3\u6CB3\u5B50",label:"\u77F3\u6CB3\u5B50"},{value:"\u5854\u57CE",label:"\u5854\u57CE"},{value:"\u5410\u9C81\u756A",label:"\u5410\u9C81\u756A"},{value:"\u4F0A\u5B81",label:"\u4F0A\u5B81"}]},{value:"\u897F\u85CF",label:"\u897F\u85CF",children:[{value:"\u62C9\u8428",label:"\u62C9\u8428"},{value:"\u963F\u91CC",label:"\u963F\u91CC"},{value:"\u660C\u90FD",label:"\u660C\u90FD"},{value:"\u6797\u829D",label:"\u6797\u829D"},{value:"\u90A3\u66F2",label:"\u90A3\u66F2"},{value:"\u65E5\u5580\u5219",label:"\u65E5\u5580\u5219"},{value:"\u5C71\u5357",label:"\u5C71\u5357"}]},{value:"\u4E91\u5357",label:"\u4E91\u5357",children:[{value:"\u6606\u660E",label:"\u6606\u660E"},{value:"\u5927\u7406",label:"\u5927\u7406"},{value:"\u4FDD\u5C71",label:"\u4FDD\u5C71"},{value:"\u695A\u96C4",label:"\u695A\u96C4"},{value:"\u5927\u7406",label:"\u5927\u7406"},{value:"\u4E1C\u5DDD",label:"\u4E1C\u5DDD"},{value:"\u4E2A\u65E7",label:"\u4E2A\u65E7"},{value:"\u666F\u6D2A",label:"\u666F\u6D2A"},{value:"\u5F00\u8FDC",label:"\u5F00\u8FDC"},{value:"\u4E34\u6CA7",label:"\u4E34\u6CA7"},{value:"\u4E3D\u6C5F",label:"\u4E3D\u6C5F"},{value:"\u516D\u5E93",label:"\u516D\u5E93"},{value:"\u6F5E\u897F",label:"\u6F5E\u897F"},{value:"\u66F2\u9756",label:"\u66F2\u9756"},{value:"\u601D\u8305",label:"\u601D\u8305"},{value:"\u6587\u5C71",label:"\u6587\u5C71"},{value:"\u897F\u53CC\u7248\u7EB3",label:"\u897F\u53CC\u7248\u7EB3"},{value:"\u7389\u6EAA",label:"\u7389\u6EAA"},{value:"\u4E2D\u7538",label:"\u4E2D\u7538"},{value:"\u662D\u901A",label:"\u662D\u901A"}]},{value:"\u6D59\u6C5F",label:"\u6D59\u6C5F",children:[{value:"\u676D\u5DDE",label:"\u676D\u5DDE"},{value:"\u6E29\u5DDE",label:"\u6E29\u5DDE"},{value:"\u5B89\u5409",label:"\u5B89\u5409"},{value:"\u6148\u6EAA",label:"\u6148\u6EAA"},{value:"\u5B9A\u6D77",label:"\u5B9A\u6D77"},{value:"\u5949\u5316",label:"\u5949\u5316"},{value:"\u6D77\u76D0",label:"\u6D77\u76D0"},{value:"\u9EC4\u5CA9",label:"\u9EC4\u5CA9"},{value:"\u6E56\u5DDE",label:"\u6E56\u5DDE"},{value:"\u5609\u5174",label:"\u5609\u5174"},{value:"\u91D1\u534E",label:"\u91D1\u534E"},{value:"\u4E34\u5B89",label:"\u4E34\u5B89"},{value:"\u4E34\u6D77",label:"\u4E34\u6D77"},{value:"\u4E3D\u6C34",label:"\u4E3D\u6C34"},{value:"\u5B81\u6CE2",label:"\u5B81\u6CE2"},{value:"\u74EF\u6D77",label:"\u74EF\u6D77"},{value:"\u5E73\u6E56",label:"\u5E73\u6E56"},{value:"\u5343\u5C9B\u6E56",label:"\u5343\u5C9B\u6E56"},{value:"\u8862\u5DDE",label:"\u8862\u5DDE"},{value:"\u6C5F\u5C71",label:"\u6C5F\u5C71"},{value:"\u745E\u5B89",label:"\u745E\u5B89"},{value:"\u7ECD\u5174",label:"\u7ECD\u5174"},{value:"\u5D4A\u5DDE",label:"\u5D4A\u5DDE"},{value:"\u53F0\u5DDE",label:"\u53F0\u5DDE"},{value:"\u6E29\u5CAD",label:"\u6E29\u5CAD"},{value:"\u4F59\u59DA",label:"\u4F59\u59DA"},{value:"\u821F\u5C71",label:"\u821F\u5C71"}]},{value:"\u6D77\u5916",label:"\u6D77\u5916",children:[{value:"\u7F8E\u56FD",label:"\u7F8E\u56FD"},{value:"\u65E5\u672C",label:"\u65E5\u672C"},{value:"\u82F1\u56FD",label:"\u82F1\u56FD"},{value:"\u6CD5\u56FD",label:"\u6CD5\u56FD"},{value:"\u5FB7\u56FD",label:"\u5FB7\u56FD"},{value:"\u5176\u4ED6",label:"\u5176\u4ED6"}]}]},1957:function(Nn,fn,We){"use strict";We.d(fn,{Y:function(){return gt}});var He=We(59301);function gt(oe,Ze){const Ne=(0,He.useRef)(),ge=(0,He.useRef)();(0,He.useEffect)(()=>{Ne.current=oe}),(0,He.useEffect)(()=>{function ce(){Ne.current()}if(Ze!==null){let Ee=setInterval(ce,Ze);return ge.current=Ee,()=>clearInterval(Ee)}},[Ze])}},24768:function(Nn,fn,We){"use strict";We.d(fn,{AL:function(){return pe},Iy:function(){return De},Qv:function(){return fe},ez:function(){return ue},jb:function(){return me}});var He=We(32834),gt=We.n(He),oe=We(11690),Ze=We.n(oe);let Ne=1;function ge(Oe,Te){const je=Oe.match(/^(\s+)(?:```)/);if(je===null)return Te;const ze=je[1];return Te.split(` `).map($e=>{const Ue=$e.match(/^\s+/);if(Ue===null)return $e;const[qe]=Ue;return qe.length>=ze.length?$e.slice(ze.length):$e}).join(` `)}let ce=[],Ee=["